()
| 428 | } |
| 429 | |
| 430 | private setupAutoruns() { |
| 431 | const { autoruns } = this.componentMeta.advanced; |
| 432 | if (!autoruns || autoruns.length < 1) { |
| 433 | return; |
| 434 | } |
| 435 | this.autoruns = autoruns.map((item) => { |
| 436 | return autorun(() => { |
| 437 | item.autorun(this.props.getNode().settingEntry.get(item.name)?.internalToShellField()); |
| 438 | }); |
| 439 | }); |
| 440 | } |
| 441 | |
| 442 | private initialChildren(children: IPublicTypeNodeData | IPublicTypeNodeData[] | undefined): IPublicTypeNodeData[] { |
| 443 | const { initialChildren } = this.componentMeta.advanced; |
no test coverage detected