@vectoriox/iox-builder 4.26.0 → 4.27.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
|
@@ -131,7 +131,7 @@ interface IoxDataSource {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
type InteractionTrigger = 'pageLoad' | 'click' | 'hover' | 'viewportEnter' | 'scrollProgress' | 'pageLeave' | 'pageEnter' | 'swiperSlideChange' | 'swiperReachBeginning' | 'swiperReachEnd' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperSlideActive' | 'swiperSlideInactive';
|
|
134
|
-
type InteractionActionType = 'fadeIn' | 'fadeOut' | 'moveUp' | 'moveDown' | 'moveLeft' | 'moveRight' | 'scaleIn' | 'scaleOut' | 'rotate' | 'show' | 'hide' | 'toggleVisibility' | 'setContext' | 'clearContext' | 'openDialog' | 'closeDialog' | 'toggleDialog' | 'swiperNext' | 'swiperPrev' | 'swiperGoToSlide' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperAutoplayPause';
|
|
134
|
+
type InteractionActionType = 'fadeIn' | 'fadeOut' | 'moveUp' | 'moveDown' | 'moveLeft' | 'moveRight' | 'scaleIn' | 'scaleOut' | 'rotate' | 'show' | 'hide' | 'toggleVisibility' | 'setContext' | 'clearContext' | 'openDialog' | 'closeDialog' | 'toggleDialog' | 'navigate' | 'scrollTo' | 'submitForm' | 'copyToClipboard' | 'swiperNext' | 'swiperPrev' | 'swiperGoToSlide' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperAutoplayPause';
|
|
135
135
|
interface InteractionAction {
|
|
136
136
|
type: InteractionActionType;
|
|
137
137
|
/** 'self' targets the node that owns the interaction; otherwise a node ID. */
|
|
@@ -1395,6 +1395,7 @@ declare class InteractionEngineService {
|
|
|
1395
1395
|
private rowItemFor;
|
|
1396
1396
|
/** Resolved data for the canvas, kept current by the repeater as it fetches. */
|
|
1397
1397
|
setContextData(data: Record<string, any>): void;
|
|
1398
|
+
private executeBehaviourAction;
|
|
1398
1399
|
private executeDialogAction;
|
|
1399
1400
|
private executeSwiperAction;
|
|
1400
1401
|
private resolveTarget;
|
|
@@ -1881,6 +1882,12 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
1881
1882
|
private updatePreviewVh;
|
|
1882
1883
|
private initLenis;
|
|
1883
1884
|
private destroyLenis;
|
|
1885
|
+
/**
|
|
1886
|
+
* K5 (actions plan): actions need NAMED targets — the panel lists only labeled nodes, so an
|
|
1887
|
+
* unlabeled Dialog is unpickable. Every insert path labels the node "<Type>" or "<Type> N",
|
|
1888
|
+
* counting existing labels of that family across the whole tree.
|
|
1889
|
+
*/
|
|
1890
|
+
private autoLabel;
|
|
1884
1891
|
addComponent(name: string): void;
|
|
1885
1892
|
onDrop(event: IoxDropEvent): void;
|
|
1886
1893
|
onModeChange(mode: BuilderMode): void;
|