(extraComps?: string[])
| 407 | } |
| 408 | |
| 409 | toData(extraComps?: string[]) { |
| 410 | const node = this.export(TRANSFORM_STAGE.SAVE) |
| 411 | const data = { |
| 412 | componentsMap: this.getComponentsMap(extraComps), |
| 413 | // utils: this.getUtilsMap(), |
| 414 | componentsTree: [node], |
| 415 | } |
| 416 | return data |
| 417 | } |
| 418 | |
| 419 | onReady(listener: () => void) { |
| 420 | const dispose = this.designer.onEvent(DOCUMENT_EVENT.OPEN, listener) |
nothing calls this directly
no test coverage detected