@vectoriox/iox-builder 1.4.19 → 1.4.21
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
|
@@ -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
|
|
@@ -581,6 +585,12 @@ declare class DataSourceRegistryService {
|
|
|
581
585
|
declare class InteractionEngineService {
|
|
582
586
|
private overlayService;
|
|
583
587
|
private attached;
|
|
588
|
+
/** Elements that have had pre-state applied (hidden by attach). */
|
|
589
|
+
private preStatedElements;
|
|
590
|
+
/** Action types that animate an element from hidden → visible. */
|
|
591
|
+
private readonly ENTRANCE_TYPES;
|
|
592
|
+
/** Action types that animate an element from visible → hidden. */
|
|
593
|
+
private readonly EXIT_TYPES;
|
|
584
594
|
constructor(overlayService: OverlayService);
|
|
585
595
|
/** Wire all interactions for a node to its rendered DOM element. */
|
|
586
596
|
attach(node: ComponentNode): void;
|
|
@@ -604,15 +614,15 @@ declare class InteractionEngineService {
|
|
|
604
614
|
private executeAction;
|
|
605
615
|
/**
|
|
606
616
|
* Freeze an element at the animation's starting frame immediately, before any
|
|
607
|
-
* trigger fires.
|
|
608
|
-
*
|
|
609
|
-
* causing a visible-then-disappear-then-animate flicker.
|
|
617
|
+
* trigger fires. Called for ALL entrance-type actions regardless of trigger so
|
|
618
|
+
* that a click-triggered fadeIn on a menu overlay also starts it hidden.
|
|
610
619
|
*
|
|
611
|
-
*
|
|
612
|
-
*
|
|
613
|
-
*
|
|
620
|
+
* Also sets pointer-events:none so the invisible element does not block clicks
|
|
621
|
+
* on other content beneath it. Pointer events are restored in executeAction()
|
|
622
|
+
* once the entrance animation finishes.
|
|
614
623
|
*/
|
|
615
624
|
private applyPreState;
|
|
625
|
+
private clearInlineAnimationStyles;
|
|
616
626
|
private reverseAction;
|
|
617
627
|
private buildAnimation;
|
|
618
628
|
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionEngineService, never>;
|
|
@@ -1298,6 +1308,8 @@ declare class LayerTreeComponent implements OnInit, OnDestroy {
|
|
|
1298
1308
|
flatGlobalTree: TreeNode[];
|
|
1299
1309
|
selectedNodeId: string | null;
|
|
1300
1310
|
hoveredNodeId: string | null;
|
|
1311
|
+
editingNodeId: string | null;
|
|
1312
|
+
editingValue: string;
|
|
1301
1313
|
/** Cache: component type → icon class */
|
|
1302
1314
|
private iconMap;
|
|
1303
1315
|
private selectSub?;
|
|
@@ -1316,6 +1328,9 @@ declare class LayerTreeComponent implements OnInit, OnDestroy {
|
|
|
1316
1328
|
toggleExpand(treeNode: TreeNode, event: MouseEvent): void;
|
|
1317
1329
|
onDeleteNode(treeNode: TreeNode, event: MouseEvent): void;
|
|
1318
1330
|
onDuplicateNode(treeNode: TreeNode, event: MouseEvent): void;
|
|
1331
|
+
startRename(treeNode: TreeNode, event: MouseEvent): void;
|
|
1332
|
+
saveRename(treeNode: TreeNode): void;
|
|
1333
|
+
cancelRename(): void;
|
|
1319
1334
|
/**
|
|
1320
1335
|
* CDK drop handler for tree reorder.
|
|
1321
1336
|
* Works on the flat tree indices — maps back to parent arrays to do the move.
|
|
@@ -1364,6 +1379,7 @@ declare class InteractionsPanelComponent implements OnInit, OnDestroy {
|
|
|
1364
1379
|
constructor(overlayService: OverlayService);
|
|
1365
1380
|
ngOnInit(): void;
|
|
1366
1381
|
refreshNodeOptions(): void;
|
|
1382
|
+
getTargetLabel(value: string): string;
|
|
1367
1383
|
ngOnDestroy(): void;
|
|
1368
1384
|
getTriggerLabel(trigger: InteractionTrigger): string;
|
|
1369
1385
|
getTriggerIcon(trigger: InteractionTrigger): string;
|