@vectoriox/iox-builder 1.4.19 → 1.4.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "1.4.19",
3
+ "version": "1.4.20",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -156,6 +156,10 @@ interface ComponentNode {
156
156
  * property map that is compiled to `.iox-node-{id}:hover { … }` etc.
157
157
  */
158
158
  stateStyles?: Partial<Record<ElementState, Record<string, any>>>;
159
+ /** User-defined display name for this node. Used in the layer tree and as an
160
+ * interaction target identifier. Only nodes with a label appear in the
161
+ * interaction target picker. */
162
+ label?: string;
159
163
  }
160
164
  /**
161
165
  * Build a full StyleTraitGroup[] schema populated with values from a flat
@@ -1298,6 +1302,8 @@ declare class LayerTreeComponent implements OnInit, OnDestroy {
1298
1302
  flatGlobalTree: TreeNode[];
1299
1303
  selectedNodeId: string | null;
1300
1304
  hoveredNodeId: string | null;
1305
+ editingNodeId: string | null;
1306
+ editingValue: string;
1301
1307
  /** Cache: component type → icon class */
1302
1308
  private iconMap;
1303
1309
  private selectSub?;
@@ -1316,6 +1322,9 @@ declare class LayerTreeComponent implements OnInit, OnDestroy {
1316
1322
  toggleExpand(treeNode: TreeNode, event: MouseEvent): void;
1317
1323
  onDeleteNode(treeNode: TreeNode, event: MouseEvent): void;
1318
1324
  onDuplicateNode(treeNode: TreeNode, event: MouseEvent): void;
1325
+ startRename(treeNode: TreeNode, event: MouseEvent): void;
1326
+ saveRename(treeNode: TreeNode): void;
1327
+ cancelRename(): void;
1319
1328
  /**
1320
1329
  * CDK drop handler for tree reorder.
1321
1330
  * Works on the flat tree indices — maps back to parent arrays to do the move.
@@ -1364,6 +1373,7 @@ declare class InteractionsPanelComponent implements OnInit, OnDestroy {
1364
1373
  constructor(overlayService: OverlayService);
1365
1374
  ngOnInit(): void;
1366
1375
  refreshNodeOptions(): void;
1376
+ getTargetLabel(value: string): string;
1367
1377
  ngOnDestroy(): void;
1368
1378
  getTriggerLabel(trigger: InteractionTrigger): string;
1369
1379
  getTriggerIcon(trigger: InteractionTrigger): string;