@vectoriox/iox-builder 4.18.3 → 4.19.0

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.
package/index.d.ts CHANGED
@@ -801,7 +801,14 @@ declare enum PanelEventTypes {
801
801
  /** CLICK-TO-INSERT (B2): a components-panel entry was clicked. Carries the same payload a drag
802
802
  * would (`string` component type, or a block / symbol object). The builder resolves WHERE from
803
803
  * the current selection — see `resolveInsertTarget`. */
804
- INSERT_COMPONENT = "insertcomponent"
804
+ INSERT_COMPONENT = "insertcomponent",
805
+ /** A panel wants to select a NODE it already has a reference to (e.g. the Form's nested field
806
+ * list). Carries `{ node }`. `OverlayService.setSelect()` alone only updates the overlay's own
807
+ * visual state — `selectedItem`/`selectedPath` (breadcrumb) and every other panel's idea of
808
+ * "what's selected" stay stale unless the SAME `_emitElementSelect` a real canvas click goes
809
+ * through also runs. This event is that path for code outside `BuilderComponent` itself,
810
+ * mirroring what `onTreeNodeSelect`/`onCrumbSelect` already do internally. */
811
+ SELECT_NODE = "selectnode"
805
812
  }
806
813
  interface PanelEvent {
807
814
  type: PanelEventTypes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "4.18.3",
3
+ "version": "4.19.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",