@bpmn-io/form-js-editor 1.0.0-alpha.3 → 1.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/index.cjs +8 -2
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.es.js +8 -2
  4. package/dist/index.es.js.map +1 -1
  5. package/package.json +3 -3
  6. package/dist/types/features/assistant/AssistantPrompter.d.ts +0 -20
  7. package/dist/types/features/assistant/AssistantPrompterLayout.d.ts +0 -20
  8. package/dist/types/features/assistant/AssistantPrompterLayoutV2.d.ts +0 -20
  9. package/dist/types/features/assistant/AssistantRenderer.d.ts +0 -34
  10. package/dist/types/features/assistant/components/Assistant.d.ts +0 -10
  11. package/dist/types/features/assistant/data/minischema.d.ts +0 -1
  12. package/dist/types/features/assistant/index.d.ts +0 -7
  13. package/dist/types/features/assistant/model/AssistantPrompterLayoutV2/AssistantPrompterLayoutV2.d.ts +0 -20
  14. package/dist/types/features/assistant/model/AssistantPrompterLayoutV2/Prompts.d.ts +0 -4
  15. package/dist/types/features/assistant/util/CleanupUtil.d.ts +0 -1
  16. package/dist/types/features/form-generation-ui/FormGenerationUIModule.d.ts +0 -3
  17. package/dist/types/features/form-generation-ui/components/FormGeneration.d.ts +0 -2
  18. package/dist/types/features/form-generation-ui/components/GPTModal.d.ts +0 -2
  19. package/dist/types/features/form-generation-ui/dist/index.d.cts +0 -63
  20. package/dist/types/features/form-generation-ui/dist/index.es.d.ts +0 -60
  21. package/dist/types/features/form-generation-ui/index.d.ts +0 -2
  22. package/dist/types/features/form-generation-ui/inject.d.ts +0 -7
  23. package/dist/types/features/palette/PaletteRenderer.d.ts +0 -33
  24. package/dist/types/features/properties-panel/PropertiesPanelRenderer.d.ts +0 -37
  25. package/dist/types/features/properties-panel/context/FormPropertiesPanelContext.d.ts +0 -11
  26. package/dist/types/features/properties-panel/context/index.d.ts +0 -1
  27. package/dist/types/features/properties-panel/entries/ExpressionValidationEntry.d.ts +0 -44
  28. package/dist/types/features/properties-panel/groups/ExpressionValidationsGroup.d.ts +0 -53
  29. package/dist/types/features/properties-panel/hooks/usePropertiesPanelService.d.ts +0 -1
  30. package/dist/types/features/properties-panel/icons/index.d.ts +0 -1
  31. package/dist/types/features/render-injection/TestInjection.d.ts +0 -7
  32. package/dist/types/features/render-injection/components/TestInjectionComponent.d.ts +0 -2
  33. package/dist/types/features/util/renderManagerBuilder.d.ts +0 -45
package/dist/index.es.js CHANGED
@@ -9621,9 +9621,15 @@ class SectionModuleBase {
9621
9621
  * Circumvents timing issues.
9622
9622
  */
9623
9623
  _onceSectionRendered(callback) {
9624
- this.isSectionRendered ? callback() : this._eventBus.once(`${this._sectionKey}.section.rendered`, () => {
9624
+ if (this.isSectionRendered) {
9625
9625
  callback();
9626
- });
9626
+ } else {
9627
+ const onSectionRendered = () => {
9628
+ callback();
9629
+ this._eventBus.off(`${this._sectionKey}.section.rendered`, onSectionRendered);
9630
+ };
9631
+ this._eventBus.on(`${this._sectionKey}.section.rendered`, onSectionRendered);
9632
+ }
9627
9633
  }
9628
9634
  }
9629
9635