@vectoriox/iox-builder 11.14.0 → 11.15.1
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/fesm2022/vectoriox-iox-builder.mjs +520 -20
- package/fesm2022/vectoriox-iox-builder.mjs.map +1 -1
- package/index.d.ts +148 -15
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ComponentRef, Type, InjectionToken, ChangeDetectorRef, OnInit, AfterViewInit, OnChanges, OnDestroy, EventEmitter, ElementRef, ApplicationRef, SimpleChanges, ViewContainerRef, Injector, EnvironmentInjector, NgZone, TemplateRef, AfterContentInit, QueryList } from '@angular/core';
|
|
3
3
|
import { SceneTrack } from '@vectoriox/iox-ui/scene-core';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i31 from '@vectoriox/iox-ui';
|
|
5
5
|
import { ResponsiveOverrides, RelativeSourceSpec, Breakpoint, PageStyleSettings, FormRenderState, AdoptContext, DesignTokenLike, DesignMode, ComponentInstanceRegistryService, DataSourceEndpoints, LinkType, PalettePreset, syncNodeDesignClasses } from '@vectoriox/iox-ui';
|
|
6
6
|
export { ComponentInstanceRegistryService, IoxContextSlot, PageStyleSettings, SetContextParams, VIRTUAL_TRAIT_KEYS, composeVirtualTraits } from '@vectoriox/iox-ui';
|
|
7
7
|
import * as rxjs from 'rxjs';
|
|
8
8
|
import { Subject, Subscription, BehaviorSubject, Observable } from 'rxjs';
|
|
9
9
|
import * as _vectoriox_iox_builder from '@vectoriox/iox-builder';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i26 from 'primeng/popover';
|
|
11
11
|
import { Popover } from 'primeng/popover';
|
|
12
12
|
import { HttpClient } from '@angular/common/http';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i23 from '@angular/cdk/drag-drop';
|
|
14
14
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
22
|
-
import * as
|
|
15
|
+
import * as i21 from '@angular/common';
|
|
16
|
+
import * as i22 from '@angular/forms';
|
|
17
|
+
import * as i24 from 'primeng/accordion';
|
|
18
|
+
import * as i25 from 'primeng/button';
|
|
19
|
+
import * as i27 from 'primeng/inputtext';
|
|
20
|
+
import * as i28 from 'primeng/select';
|
|
21
|
+
import * as i29 from 'primeng/tooltip';
|
|
22
|
+
import * as i30 from 'primeng/dialog';
|
|
23
23
|
import { AccordionRuntime, ExclusiveRuntime, CompositeNodeFactory, CompositeNode } from '@vectoriox/iox-ui/composite-core';
|
|
24
24
|
import { FormPresetChannel, FormPresetDef, ChannelKind } from '@vectoriox/iox-ui/forms-core';
|
|
25
25
|
|
|
@@ -134,7 +134,7 @@ interface IoxDataSource {
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
type InteractionTrigger = 'pageLoad' | 'click' | 'hover' | 'viewportEnter' | 'scrollProgress' | 'pageLeave' | 'pageEnter' | 'swiperSlideChange' | 'swiperReachBeginning' | 'swiperReachEnd' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperSlideActive' | 'swiperSlideInactive' | 'itemOn' | 'itemOff';
|
|
137
|
-
type InteractionActionType = 'fadeIn' | 'fadeOut' | 'moveUp' | 'moveDown' | 'moveLeft' | 'moveRight' | 'scaleIn' | 'scaleOut' | 'rotate' | 'clipReveal' | 'zoomOut' | 'revealText' | 'show' | 'hide' | 'toggleVisibility' | 'setContext' | 'clearContext' | 'openDialog' | 'closeDialog' | 'toggleDialog' | 'openItem' | 'closeItem' | 'toggleItem' | 'navigate' | 'scrollTo' | 'submitForm' | 'copyToClipboard' | 'grantConsent' | 'denyConsent' | 'setConsentCategory' | 'openConsentPreferences' | 'swiperNext' | 'swiperPrev' | 'swiperGoToSlide' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperAutoplayPause';
|
|
137
|
+
type InteractionActionType = 'fadeIn' | 'fadeOut' | 'moveUp' | 'moveDown' | 'moveLeft' | 'moveRight' | 'scaleIn' | 'scaleOut' | 'rotate' | 'clipReveal' | 'zoomOut' | 'revealText' | 'show' | 'hide' | 'toggleVisibility' | 'setContext' | 'clearContext' | 'openDialog' | 'closeDialog' | 'toggleDialog' | 'openPopover' | 'closePopover' | 'togglePopover' | 'showToast' | 'openItem' | 'closeItem' | 'toggleItem' | 'navigate' | 'scrollTo' | 'submitForm' | 'copyToClipboard' | 'grantConsent' | 'denyConsent' | 'setConsentCategory' | 'openConsentPreferences' | 'swiperNext' | 'swiperPrev' | 'swiperGoToSlide' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperAutoplayPause';
|
|
138
138
|
interface InteractionAction {
|
|
139
139
|
type: InteractionActionType;
|
|
140
140
|
/** 'self' targets the node that owns the interaction; otherwise a node ID. */
|
|
@@ -933,6 +933,11 @@ interface CanvasDesignSnapshot {
|
|
|
933
933
|
/** The phone menu the selection belongs to (the Navigation bar, its drawer or bar, anything inside them), or null:
|
|
934
934
|
* the canvas's Menu chip and the Bindings ▸ Phone menu group read it (CC1.3). */
|
|
935
935
|
menu: PhoneMenuTarget | null;
|
|
936
|
+
/** Premium M5: the controls whose TOOLTIP the canvas holds open for styling (Bindings ▸ Tooltip ▸ Showing on canvas). */
|
|
937
|
+
tooltips: ReadonlySet<string>;
|
|
938
|
+
/** Premium M5: the words of the TOAST the canvas holds up for styling (a form's After sending, a showToast action's
|
|
939
|
+
* row), or null. One at a time — the look's toast is one element style. */
|
|
940
|
+
toast: string | null;
|
|
936
941
|
}
|
|
937
942
|
/**
|
|
938
943
|
* The canvas's DESIGN state (complex-components R2; composite plan §5a's CompositeDesignStateService,
|
|
@@ -982,6 +987,14 @@ declare class CanvasDesignStateService {
|
|
|
982
987
|
isTriggeredBySelection(triggerId: string | null | undefined): boolean;
|
|
983
988
|
/** True when the part is shown only because the selection is inside it (the switcher's hint line). */
|
|
984
989
|
isRevealedBySelection(nodeId: string | null | undefined): boolean;
|
|
990
|
+
/** Hold a control's tooltip open on the canvas (true), or let it go. */
|
|
991
|
+
setTooltipShown(nodeId: string | null | undefined, on: boolean): void;
|
|
992
|
+
/** True while the canvas holds the control's tooltip open. */
|
|
993
|
+
tooltipShown(nodeId: string | null | undefined): boolean;
|
|
994
|
+
/** Hold a toast up on the canvas with these words, or take it down (null). */
|
|
995
|
+
setToastShown(words: string | null): void;
|
|
996
|
+
/** The words of the toast the canvas holds up, or null. */
|
|
997
|
+
get toastShown(): string | null;
|
|
985
998
|
/** A new page on the canvas: nothing is revealed or switched open. */
|
|
986
999
|
reset(): void;
|
|
987
1000
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasDesignStateService, never>;
|
|
@@ -1890,6 +1903,7 @@ declare class InteractionEngineService {
|
|
|
1890
1903
|
private executeItemAction;
|
|
1891
1904
|
private executeConsentAction;
|
|
1892
1905
|
private executeDialogAction;
|
|
1906
|
+
private executePopoverAction;
|
|
1893
1907
|
/** The slider inside the opened dialog (its canvas twin renders on the next passes) → the row's slide. */
|
|
1894
1908
|
private slideDialogToRow;
|
|
1895
1909
|
private executeSwiperAction;
|
|
@@ -1919,6 +1933,12 @@ declare class InteractionEngineService {
|
|
|
1919
1933
|
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionEngineService, never>;
|
|
1920
1934
|
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionEngineService>;
|
|
1921
1935
|
}
|
|
1936
|
+
/** The canvas's token scopes: the page frame and the globals' overlay (each declares the org's tokens). */
|
|
1937
|
+
declare const CANVAS_TOKEN_SCOPE = ".iox-token-scope";
|
|
1938
|
+
/** The floating layer's home on the canvas for an element: the token scope (the zoomed frame) it sits in. */
|
|
1939
|
+
declare function canvasFloatingContainer(from: Element | null | undefined): Element | null;
|
|
1940
|
+
/** Raise a toast on the canvas (a showToast action the canvas runs): inside the frame, never over the builder. */
|
|
1941
|
+
declare function showCanvasToast(text: unknown, edge: unknown, from: Element | null): void;
|
|
1922
1942
|
|
|
1923
1943
|
interface ViewportState {
|
|
1924
1944
|
/**
|
|
@@ -2245,6 +2265,12 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
2245
2265
|
private labels;
|
|
2246
2266
|
private readonly sceneCanvas;
|
|
2247
2267
|
private sceneFramesSub?;
|
|
2268
|
+
/** Premium M5: the canvas's tooltips (the live site's runtime, placed in the zoomed frame) and what the design
|
|
2269
|
+
* state holds up for styling — a control's tooltip, a toast. */
|
|
2270
|
+
private canvasTooltips;
|
|
2271
|
+
private floatingSub?;
|
|
2272
|
+
private pinnedTooltips;
|
|
2273
|
+
private shownToast;
|
|
2248
2274
|
/**
|
|
2249
2275
|
* Re-apply context-bound inputs on the CANVAS when a slot changes — the builder twin of the
|
|
2250
2276
|
* engine's effect. The canvas is a live runtime, so hovering a repeater row while editing must
|
|
@@ -2460,6 +2486,16 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
2460
2486
|
* `safeSetInput` so an undeclared input can never trigger NG0303.
|
|
2461
2487
|
*/
|
|
2462
2488
|
private applyContextBindings;
|
|
2489
|
+
/**
|
|
2490
|
+
* Premium M5 — the floating family on the canvas. Tooltips run live (the canvas is a live runtime): hover with a
|
|
2491
|
+
* mouse, keyboard focus, placed in the token scope's layer inside the zoomed frame, never over the builder. The design
|
|
2492
|
+
* state holds a control's tooltip open (Bindings ▸ Tooltip ▸ Showing on canvas) and a toast up (After sending, a
|
|
2493
|
+
* showToast row) so the author styles them on the canvas — never saved, never an undo step.
|
|
2494
|
+
*/
|
|
2495
|
+
private attachCanvasFloating;
|
|
2496
|
+
private applyFloatingDesign;
|
|
2497
|
+
/** The element carrying a node's tooltip on the canvas (its host or the element inside it the a11y sync wrote on). */
|
|
2498
|
+
private tooltipTriggerOf;
|
|
2463
2499
|
ngOnDestroy(): void;
|
|
2464
2500
|
/**
|
|
2465
2501
|
* Cancel the browser's default navigation for any link clicked on the editing canvas.
|
|
@@ -2927,6 +2963,8 @@ declare class OverlayComponent implements OnInit, OnDestroy {
|
|
|
2927
2963
|
/** Boards A4/A5: a closed dialog has NO canvas presence — this toolbar eye (and the layer
|
|
2928
2964
|
* tree row) is how an author opens and closes it for design. The Menu drawer has the Menu chip instead. */
|
|
2929
2965
|
get isDialog(): boolean;
|
|
2966
|
+
/** Premium M5: a Popover is closed on the canvas until something opens it — the same eye opens it for design. */
|
|
2967
|
+
get isPopover(): boolean;
|
|
2930
2968
|
/** CC1.3: the phone menu the selection belongs to, while the canvas is at a width where it shows — the toolbar's
|
|
2931
2969
|
* Menu chip previews its drawer (the same design state as Bindings ▸ Phone menu ▸ Preview on canvas). */
|
|
2932
2970
|
menuChip: PhoneMenuTarget | null;
|
|
@@ -3079,6 +3117,8 @@ declare class BuilderContainerComponent implements OnInit, OnDestroy {
|
|
|
3079
3117
|
set formState(state: string);
|
|
3080
3118
|
get formState(): string;
|
|
3081
3119
|
private _formState;
|
|
3120
|
+
/** A form's After sending (premium M5): `toast` keeps its fields — the Form trait, read on a form host only. */
|
|
3121
|
+
afterSend: string;
|
|
3082
3122
|
childClick: EventEmitter<any>;
|
|
3083
3123
|
childMouseEnter: EventEmitter<any>;
|
|
3084
3124
|
childMouseLeave: EventEmitter<void>;
|
|
@@ -3093,7 +3133,7 @@ declare class BuilderContainerComponent implements OnInit, OnDestroy {
|
|
|
3093
3133
|
get listOrientation(): 'horizontal' | 'vertical';
|
|
3094
3134
|
onDrop(event: IoxDropEvent): void;
|
|
3095
3135
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuilderContainerComponent, never>;
|
|
3096
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderContainerComponent, "div[iox-container],section[iox-container],article[iox-container],header[iox-container],footer[iox-container],main[iox-container],nav[iox-container],ul[iox-container],ol[iox-container],li[iox-container],form[iox-container]", never, { "children": { "alias": "children"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "htmlTag": { "alias": "htmlTag"; "required": false; }; "start": { "alias": "start"; "required": false; }; "reversed": { "alias": "reversed"; "required": false; }; "formClass": { "alias": "formClass"; "required": false; }; "formState": { "alias": "formState"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
|
|
3136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderContainerComponent, "div[iox-container],section[iox-container],article[iox-container],header[iox-container],footer[iox-container],main[iox-container],nav[iox-container],ul[iox-container],ol[iox-container],li[iox-container],form[iox-container]", never, { "children": { "alias": "children"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "htmlTag": { "alias": "htmlTag"; "required": false; }; "start": { "alias": "start"; "required": false; }; "reversed": { "alias": "reversed"; "required": false; }; "formClass": { "alias": "formClass"; "required": false; }; "formState": { "alias": "formState"; "required": false; }; "afterSend": { "alias": "afterSend"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
|
|
3097
3137
|
}
|
|
3098
3138
|
|
|
3099
3139
|
declare class BuilderLinkedContainerComponent implements OnInit, OnDestroy {
|
|
@@ -3388,6 +3428,82 @@ declare class BuilderDialogComponent implements OnInit, OnDestroy {
|
|
|
3388
3428
|
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderDialogComponent, "app-builder-dialog", never, { "children": { "alias": "children"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
|
|
3389
3429
|
}
|
|
3390
3430
|
|
|
3431
|
+
/** A frame this narrow is a phone: the popover is a bottom sheet there (iox-ui FLOATING_SHEET_QUERY's width). */
|
|
3432
|
+
declare const POPOVER_SHEET_MAX_WIDTH = 767;
|
|
3433
|
+
/**
|
|
3434
|
+
* The Popover's CANVAS twin (premium components M5, N4). Two render strategies, one model, like the Dialog's: the live
|
|
3435
|
+
* site uses a top-layer `popover="manual"` panel (iox-ui `popover.runtime`); here a fixed STAGE fills the transformed page
|
|
3436
|
+
* frame (a transform contains fixed descendants, at every zoom) and holds a PIN placed by the SAME `placeFloating`, in
|
|
3437
|
+
* the frame's own px, beside the element that opened it — the surface inside the pin carries both node classes (the
|
|
3438
|
+
* compiled node rule forces `position: static`, so the pin is what moves). The stage takes no pointer: the page around a
|
|
3439
|
+
* non-modal popover stays live. A frame of a phone's width shows the sheet.
|
|
3440
|
+
*
|
|
3441
|
+
* CLOSED IT RENDERS NOTHING (the Dialog's board A4): its handles are the layer-tree row, the selection toolbar's eye and
|
|
3442
|
+
* Bindings ▸ Popover ▸ Showing on canvas. Selecting it (or anything in it) opens it; its opener's action opens it on the
|
|
3443
|
+
* canvas too (the canvas is a live runtime) and a press outside, or Esc, closes that.
|
|
3444
|
+
*/
|
|
3445
|
+
declare class BuilderPopoverComponent implements OnInit, OnDestroy {
|
|
3446
|
+
private dragEngine;
|
|
3447
|
+
private instanceRegistry;
|
|
3448
|
+
private host;
|
|
3449
|
+
private cdr;
|
|
3450
|
+
private designState;
|
|
3451
|
+
private zone?;
|
|
3452
|
+
children: ComponentNode[];
|
|
3453
|
+
nodeId: string;
|
|
3454
|
+
dropListId: string;
|
|
3455
|
+
set placement(value: string);
|
|
3456
|
+
get placement(): string;
|
|
3457
|
+
private _placement;
|
|
3458
|
+
childClick: EventEmitter<any>;
|
|
3459
|
+
childMouseEnter: EventEmitter<any>;
|
|
3460
|
+
childMouseLeave: EventEmitter<void>;
|
|
3461
|
+
/** Canvas-only visibility. Never serialised; the live site always starts closed. */
|
|
3462
|
+
designOpen: boolean;
|
|
3463
|
+
top: number;
|
|
3464
|
+
left: number;
|
|
3465
|
+
origin: string;
|
|
3466
|
+
side: string;
|
|
3467
|
+
sheet: boolean;
|
|
3468
|
+
private stageRef?;
|
|
3469
|
+
private pinRef?;
|
|
3470
|
+
private closing;
|
|
3471
|
+
/** Opened by an action on the canvas: stays until a press outside, Esc, the eye or a close action. */
|
|
3472
|
+
private runtimeOpen;
|
|
3473
|
+
/** Closed while the selection or the switcher still shows it: hidden until either changes. */
|
|
3474
|
+
private dismissed;
|
|
3475
|
+
/** The element whose action opened it (the canvas's live runtime hands it over). */
|
|
3476
|
+
private opener;
|
|
3477
|
+
private stateSub?;
|
|
3478
|
+
private frame;
|
|
3479
|
+
private readonly cleanups;
|
|
3480
|
+
constructor(dragEngine: DragEngineService, instanceRegistry: ComponentInstanceRegistryService, host: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, designState: CanvasDesignStateService | null, zone?: (NgZone | null) | undefined);
|
|
3481
|
+
/** Open on the canvas right now (an exit that is playing counts as closed). */
|
|
3482
|
+
get isOpen(): boolean;
|
|
3483
|
+
ngOnInit(): void;
|
|
3484
|
+
ngOnDestroy(): void;
|
|
3485
|
+
onDrop(event: IoxDropEvent): void;
|
|
3486
|
+
/** The canvas runs interactions OUTSIDE Angular's zone; what they open still has to reach the panels. */
|
|
3487
|
+
private inZone;
|
|
3488
|
+
private openRuntime;
|
|
3489
|
+
private closeRuntime;
|
|
3490
|
+
/** Shown when an action opened it, or the canvas design state shows it (selection inside / switched open). */
|
|
3491
|
+
private recompute;
|
|
3492
|
+
private playExit;
|
|
3493
|
+
private finishExit;
|
|
3494
|
+
/** The opener it is anchored to: the one whose action opened it, else the first element on the canvas announcing it. */
|
|
3495
|
+
private anchor;
|
|
3496
|
+
/** Beside its opener in the frame's own px — the ONE placeFloating; a phone-wide frame shows the sheet. */
|
|
3497
|
+
private place;
|
|
3498
|
+
private schedulePlace;
|
|
3499
|
+
/** While open: a press outside it (and outside its opener) or Esc closes what an action opened; the page scrolling
|
|
3500
|
+
* or the frame resizing places it again. */
|
|
3501
|
+
private wire;
|
|
3502
|
+
private unwire;
|
|
3503
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuilderPopoverComponent, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
3504
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderPopoverComponent, "app-builder-popover", never, { "children": { "alias": "children"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
|
|
3505
|
+
}
|
|
3506
|
+
|
|
3391
3507
|
declare class SliderContainerComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
3392
3508
|
private dragEngine;
|
|
3393
3509
|
private cdr;
|
|
@@ -3798,7 +3914,7 @@ declare class AuditPanelComponent {
|
|
|
3798
3914
|
|
|
3799
3915
|
declare class IoxBuilderModule {
|
|
3800
3916
|
static ɵfac: i0.ɵɵFactoryDeclaration<IoxBuilderModule, never>;
|
|
3801
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IoxBuilderModule, [typeof BuilderComponent, typeof RenderDirective, typeof IoxDraggableDirective, typeof IoxDropzoneDirective, typeof OverlayComponent, typeof ToolbarComponent, typeof SectionComponent, typeof BuilderContainerComponent, typeof BuilderLinkedContainerComponent, typeof BuilderRepeaterComponent, typeof BuilderButtonBlockComponent, typeof BuilderDialogComponent, typeof SliderContainerComponent, typeof SliderSlideComponent, typeof PanelComponent, typeof PanelChildComponent, typeof LayerTreeComponent, typeof BreadcrumbBarComponent, typeof AuditPanelComponent], [typeof
|
|
3917
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IoxBuilderModule, [typeof BuilderComponent, typeof RenderDirective, typeof IoxDraggableDirective, typeof IoxDropzoneDirective, typeof OverlayComponent, typeof ToolbarComponent, typeof SectionComponent, typeof BuilderContainerComponent, typeof BuilderLinkedContainerComponent, typeof BuilderRepeaterComponent, typeof BuilderButtonBlockComponent, typeof BuilderDialogComponent, typeof BuilderPopoverComponent, typeof SliderContainerComponent, typeof SliderSlideComponent, typeof PanelComponent, typeof PanelChildComponent, typeof LayerTreeComponent, typeof BreadcrumbBarComponent, typeof AuditPanelComponent], [typeof i21.CommonModule, typeof i22.FormsModule, typeof i23.DragDropModule, typeof i24.AccordionModule, typeof i25.ButtonModule, typeof i26.PopoverModule, typeof i27.InputTextModule, typeof i28.SelectModule, typeof i29.TooltipModule, typeof i30.DialogModule, typeof i31.IoxPageModule], [typeof i21.CommonModule, typeof i22.FormsModule, typeof i23.DragDropModule, typeof i24.AccordionModule, typeof i25.ButtonModule, typeof i26.PopoverModule, typeof i27.InputTextModule, typeof i28.SelectModule, typeof i29.TooltipModule, typeof i30.DialogModule, typeof i31.IoxPageModule, typeof BuilderComponent, typeof RenderDirective, typeof IoxDraggableDirective, typeof IoxDropzoneDirective, typeof OverlayComponent, typeof ToolbarComponent, typeof SectionComponent, typeof BuilderContainerComponent, typeof BuilderLinkedContainerComponent, typeof BuilderRepeaterComponent, typeof BuilderButtonBlockComponent, typeof BuilderDialogComponent, typeof BuilderPopoverComponent, typeof SliderContainerComponent, typeof SliderSlideComponent, typeof PanelComponent, typeof PanelChildComponent, typeof LayerTreeComponent, typeof BreadcrumbBarComponent, typeof AuditPanelComponent]>;
|
|
3802
3918
|
static ɵinj: i0.ɵɵInjectorDeclaration<IoxBuilderModule>;
|
|
3803
3919
|
}
|
|
3804
3920
|
|
|
@@ -4567,6 +4683,23 @@ declare class DialogComponentConfig extends ComponentConfig {
|
|
|
4567
4683
|
constructor();
|
|
4568
4684
|
}
|
|
4569
4685
|
|
|
4686
|
+
/** The sides a popover may take beside its opener — Below unless the author picks another; flipped at the screen's edge. */
|
|
4687
|
+
declare const POPOVER_PLACEMENT_OPTIONS: {
|
|
4688
|
+
label: string;
|
|
4689
|
+
value: string;
|
|
4690
|
+
}[];
|
|
4691
|
+
/**
|
|
4692
|
+
* Popover (premium components M5, N4) — an ordinary container whose children are normal nodes, opened BESIDE the element
|
|
4693
|
+
* that opens it (its `openPopover` / `togglePopover` action) and closed by `closePopover`, Esc or a press outside. NOT
|
|
4694
|
+
* modal: the page stays live around it. On the live site it is a top-layer `popover="manual"` panel placed by the ONE
|
|
4695
|
+
* `placeFloating` (iox-ui `popover.runtime`), a bottom sheet on a phone; on the CANVAS it is a pin in a fixed stage that
|
|
4696
|
+
* the transformed frame contains, placed by the same function in the frame's own px. Ships CLOSED on the live site;
|
|
4697
|
+
* on the canvas the selection, the eye and Bindings ▸ Popover ▸ Showing on canvas open it.
|
|
4698
|
+
*/
|
|
4699
|
+
declare class PopoverComponentConfig extends ComponentConfig {
|
|
4700
|
+
constructor();
|
|
4701
|
+
}
|
|
4702
|
+
|
|
4570
4703
|
declare class BuilderButtonComponentConfig extends ComponentConfig {
|
|
4571
4704
|
constructor();
|
|
4572
4705
|
}
|
|
@@ -4729,5 +4862,5 @@ declare class TextBlockComponentConfig extends ComponentConfig {
|
|
|
4729
4862
|
constructor();
|
|
4730
4863
|
}
|
|
4731
4864
|
|
|
4732
|
-
export { ACTION_TYPE_OPTIONS, AuditCode, AuditPanelComponent, AuditSeverity, BODY_CRUMB_LABEL, BOUND_ICON, BREAKPOINT_PRESENTATION, BUILDER_CANVAS_CONTAINER, BUILDER_CHROME_EN, BUILDER_FONT_LINK_ATTR, BUILDER_TOKEN_SCOPE_CLASS, BackgroundGroupStyleConfig, BorderGroupStyleConfig, BreadcrumbBarComponent, BuilderButtonBlockComponent, BuilderButtonComponentConfig, BuilderClipboardService, BuilderComponent, BuilderContainerComponent, BuilderContainerComponentConfig, BuilderDataSourceService, BuilderDialogComponent, BuilderDividerComponentConfig, BuilderHeadingComponentConfig, BuilderHistoryService, BuilderIconComponentConfig, BuilderImageComponentConfig, BuilderLinkComponentConfig, BuilderLinkedContainerComponent, BuilderLinkedContainerConfig, BuilderListComponentConfig, BuilderListItemComponentConfig, BuilderMode, BuilderRepeaterComponent, BuilderSpacerComponentConfig, BusinessSpecimenView, ButtonBlockComponentConfig, CANVAS_EMPTY_IMAGE_LABEL_EN, CANVAS_EMPTY_IMAGE_LABEL_KEY, CANVAS_ROOT_RESET_CSS, COMPOSITE_PRESETS, CanvasDesignStateService, CanvasShowState, CardComponentConfig, ChildLayoutGroupStyleConfig, ComponentConfig, ComponentRegistryService, CompositeCanvasService, CompositePaletteGroup, CompositePresetId, DEFAULT_ESSENTIAL_TRAITS, DESCRIPTOR_MAX_LENGTH, DRAG_HANDLE_ATTR, DROP_REFUSED_CLASS, DataSourceRegistryService, DataSourceType, DialogComponentConfig, DimensionsGroupStyleConfig, DragEngineService, EASING_OPTIONS, EDITOR_CHROME_ATTRIBUTE, ESSENTIAL_TRAITS_BY_TYPE, EffectsGroupStyleConfig, FIELD_KIND_PRESETS, FIELD_PARTS, FORM_STATE_BLOCK_TYPES, FORM_TYPE, FieldComponentConfig, FieldGroupComponentConfig, FieldTrait, FormComponentConfig, FormErrorComponentConfig, FormStateService, FormSuccessComponentConfig, GLOBALS_AFTER_CLASS, GalleryConfig, GlobalCanvasLayer, GroupStyleConfig, HIDDEN_AT_REST_LABEL_KEY, HIDDEN_AT_REST_ROLES, HIDDEN_AT_REST_TYPES, INSERT_REFUSAL_LABEL_KEYS, INTERACTION_STATES, INVERSE_ACTION, IOX_BUILDER_CANVAS, IOX_BUILDER_LABELS, IOX_CONTENT_TYPE_LABELS, IOX_DATA_SOURCE_ENDPOINTS, InsertRefusal, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LAYOUT_PRESETS, LayerTreeComponent, LayoutGroupStyleConfig, ListGroupStyleConfig, NodeAction, OverlayComponent, OverlayService, PAGE_TRANSITION_EASING_OPTIONS, PALETTE_PRESET_DEFS, PanelChildComponent, PanelComponent, PanelEventService, PanelEventTypes, PanelTypes, PhoneMenuOpenerAction, PositionGroupStyleConfig, PresetRegistryService, RELATIONAL_STATES, RELATIONAL_STATE_BASE, REPEATER_SOURCE_PROP, REPEATER_TYPE, REVEALED_WHILE_SELECTED_ROLES, ROOT_ESCAPE_PX, ROUTE_ANIMATION_OPTIONS, RenderDirective, RepeaterComponentConfig, RootZone, SCREEN_WIDTH_OPTIONS, SENT_LABEL_TRAIT, SILENT_REFUSALS, STRUCTURAL_STATES, SUPPORTED_STATES, SceneCanvasService, SectionComponent, SectionComponentConfig, SelectionReveal, SizeGroupStyleConfig, SliderContainerComponent, SliderContainerConfig, SliderSlideComponent, SliderSlideConfig, SpacingGroupStyleConfig, StructureFix, StyleCategory, StyleRegistryService, TraitConfig as StyleTraitConfig, SubmitButtonComponentConfig, SymbolRegistryService, TARGETED_STATES, TARGETED_STATE_BASE, TOGGLE_PART_ROLES, TRIGGER_OPTIONS, TextBlockComponentConfig, ToolbarAction, ToolbarComponent, TraitConfig, TraitInputType, TypographyGroupStyleConfig, UNITS_ALL, UNITS_DEG, UNITS_FIXED, UNITS_NO_VW, VALIDATION_STATES, VALIDATION_STATE_CLASS, VideoConfig, ViewportService, ZOOM_OPTIONS, addFormChannel, arrayItemSchemaFields, arraySchemaFields, auditNodes, bindingLabel, bindingLabels, buildBusinessSpecimen, buildCompositePreset, buildConsentPreset, buildElementStyleSpecimen, buildFieldKindPreset, buildFlavorSpecimen, buildFormActionsRow, buildFormChannel, buildFormPreset, buildFullStyleTraits, buildLayoutPreset, buildPalettePreset, buildPresetStyleTraits, builderCompositeFactory, canFluidise, canvasEmptyImageLabel, canvasHostDisplay, collapseColumnsProps, columnCountOf, compositeStructureFindings, defaultBuilderLabels, defaultPageSettings, deleteTabPair, displayTriggerOf, dropChildren, dropTargetLabel, duplicateTabPair, escapesRoot, essentialTraitsFor, findNodeByIdInEither, findNodeLocation, findParentOf, flattenLayerTree, flattenSchemaFields, fluidiseProps, formChannelOf, generateNodeId, globalCanvasLayer, hiddenAtBase, hiddenUntilItemOn, inPhoneMenuContext, insertRefusal, insertRefusalLabel, interactionTargets, isHiddenAt, isHiddenAtRest, isPhoneMenuOpener, isPinnedGlobal, isSpecimen, itemsOnAtRest, markSpecimen, matchesControlSearch, nearestFormNode, neverShown, nodeAncestorPath, nodeAncestorPathInEither, nodeDescriptor, nodeStyleMap, overlayGlobals, pathToNode, phoneMenuOf, phoneMenuShowsAt, refreshSubtree, regenerateNodeIds, removalRefusal, reorderProps, repeaterSourceAlias, repeaterSubLabel, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, retypeNode, rootEscapeBand, rootZone, selectionRevealOf, setChannelAddress, setOverlayPreview, setStyleTrait, setTrait, shortDescriptor, shownBeforeControl, sourceContentType, sourceTypeLabel, stackChildrenProps, summarise, syncEmptyImagePlaceholder, syncNodeDesign, syncNodeInputs, tabPairLabel, tabsRootForPart, textNode, upsertNodeStyles, visibilityProps, walkNodes, wrapNode };
|
|
4865
|
+
export { ACTION_TYPE_OPTIONS, AuditCode, AuditPanelComponent, AuditSeverity, BODY_CRUMB_LABEL, BOUND_ICON, BREAKPOINT_PRESENTATION, BUILDER_CANVAS_CONTAINER, BUILDER_CHROME_EN, BUILDER_FONT_LINK_ATTR, BUILDER_TOKEN_SCOPE_CLASS, BackgroundGroupStyleConfig, BorderGroupStyleConfig, BreadcrumbBarComponent, BuilderButtonBlockComponent, BuilderButtonComponentConfig, BuilderClipboardService, BuilderComponent, BuilderContainerComponent, BuilderContainerComponentConfig, BuilderDataSourceService, BuilderDialogComponent, BuilderDividerComponentConfig, BuilderHeadingComponentConfig, BuilderHistoryService, BuilderIconComponentConfig, BuilderImageComponentConfig, BuilderLinkComponentConfig, BuilderLinkedContainerComponent, BuilderLinkedContainerConfig, BuilderListComponentConfig, BuilderListItemComponentConfig, BuilderMode, BuilderPopoverComponent, BuilderRepeaterComponent, BuilderSpacerComponentConfig, BusinessSpecimenView, ButtonBlockComponentConfig, CANVAS_EMPTY_IMAGE_LABEL_EN, CANVAS_EMPTY_IMAGE_LABEL_KEY, CANVAS_ROOT_RESET_CSS, CANVAS_TOKEN_SCOPE, COMPOSITE_PRESETS, CanvasDesignStateService, CanvasShowState, CardComponentConfig, ChildLayoutGroupStyleConfig, ComponentConfig, ComponentRegistryService, CompositeCanvasService, CompositePaletteGroup, CompositePresetId, DEFAULT_ESSENTIAL_TRAITS, DESCRIPTOR_MAX_LENGTH, DRAG_HANDLE_ATTR, DROP_REFUSED_CLASS, DataSourceRegistryService, DataSourceType, DialogComponentConfig, DimensionsGroupStyleConfig, DragEngineService, EASING_OPTIONS, EDITOR_CHROME_ATTRIBUTE, ESSENTIAL_TRAITS_BY_TYPE, EffectsGroupStyleConfig, FIELD_KIND_PRESETS, FIELD_PARTS, FORM_STATE_BLOCK_TYPES, FORM_TYPE, FieldComponentConfig, FieldGroupComponentConfig, FieldTrait, FormComponentConfig, FormErrorComponentConfig, FormStateService, FormSuccessComponentConfig, GLOBALS_AFTER_CLASS, GalleryConfig, GlobalCanvasLayer, GroupStyleConfig, HIDDEN_AT_REST_LABEL_KEY, HIDDEN_AT_REST_ROLES, HIDDEN_AT_REST_TYPES, INSERT_REFUSAL_LABEL_KEYS, INTERACTION_STATES, INVERSE_ACTION, IOX_BUILDER_CANVAS, IOX_BUILDER_LABELS, IOX_CONTENT_TYPE_LABELS, IOX_DATA_SOURCE_ENDPOINTS, InsertRefusal, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LAYOUT_PRESETS, LayerTreeComponent, LayoutGroupStyleConfig, ListGroupStyleConfig, NodeAction, OverlayComponent, OverlayService, PAGE_TRANSITION_EASING_OPTIONS, PALETTE_PRESET_DEFS, POPOVER_PLACEMENT_OPTIONS, POPOVER_SHEET_MAX_WIDTH, PanelChildComponent, PanelComponent, PanelEventService, PanelEventTypes, PanelTypes, PhoneMenuOpenerAction, PopoverComponentConfig, PositionGroupStyleConfig, PresetRegistryService, RELATIONAL_STATES, RELATIONAL_STATE_BASE, REPEATER_SOURCE_PROP, REPEATER_TYPE, REVEALED_WHILE_SELECTED_ROLES, ROOT_ESCAPE_PX, ROUTE_ANIMATION_OPTIONS, RenderDirective, RepeaterComponentConfig, RootZone, SCREEN_WIDTH_OPTIONS, SENT_LABEL_TRAIT, SILENT_REFUSALS, STRUCTURAL_STATES, SUPPORTED_STATES, SceneCanvasService, SectionComponent, SectionComponentConfig, SelectionReveal, SizeGroupStyleConfig, SliderContainerComponent, SliderContainerConfig, SliderSlideComponent, SliderSlideConfig, SpacingGroupStyleConfig, StructureFix, StyleCategory, StyleRegistryService, TraitConfig as StyleTraitConfig, SubmitButtonComponentConfig, SymbolRegistryService, TARGETED_STATES, TARGETED_STATE_BASE, TOGGLE_PART_ROLES, TRIGGER_OPTIONS, TextBlockComponentConfig, ToolbarAction, ToolbarComponent, TraitConfig, TraitInputType, TypographyGroupStyleConfig, UNITS_ALL, UNITS_DEG, UNITS_FIXED, UNITS_NO_VW, VALIDATION_STATES, VALIDATION_STATE_CLASS, VideoConfig, ViewportService, ZOOM_OPTIONS, addFormChannel, arrayItemSchemaFields, arraySchemaFields, auditNodes, bindingLabel, bindingLabels, buildBusinessSpecimen, buildCompositePreset, buildConsentPreset, buildElementStyleSpecimen, buildFieldKindPreset, buildFlavorSpecimen, buildFormActionsRow, buildFormChannel, buildFormPreset, buildFullStyleTraits, buildLayoutPreset, buildPalettePreset, buildPresetStyleTraits, builderCompositeFactory, canFluidise, canvasEmptyImageLabel, canvasFloatingContainer, canvasHostDisplay, collapseColumnsProps, columnCountOf, compositeStructureFindings, defaultBuilderLabels, defaultPageSettings, deleteTabPair, displayTriggerOf, dropChildren, dropTargetLabel, duplicateTabPair, escapesRoot, essentialTraitsFor, findNodeByIdInEither, findNodeLocation, findParentOf, flattenLayerTree, flattenSchemaFields, fluidiseProps, formChannelOf, generateNodeId, globalCanvasLayer, hiddenAtBase, hiddenUntilItemOn, inPhoneMenuContext, insertRefusal, insertRefusalLabel, interactionTargets, isHiddenAt, isHiddenAtRest, isPhoneMenuOpener, isPinnedGlobal, isSpecimen, itemsOnAtRest, markSpecimen, matchesControlSearch, nearestFormNode, neverShown, nodeAncestorPath, nodeAncestorPathInEither, nodeDescriptor, nodeStyleMap, overlayGlobals, pathToNode, phoneMenuOf, phoneMenuShowsAt, refreshSubtree, regenerateNodeIds, removalRefusal, reorderProps, repeaterSourceAlias, repeaterSubLabel, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, retypeNode, rootEscapeBand, rootZone, selectionRevealOf, setChannelAddress, setOverlayPreview, setStyleTrait, setTrait, shortDescriptor, showCanvasToast, shownBeforeControl, sourceContentType, sourceTypeLabel, stackChildrenProps, summarise, syncEmptyImagePlaceholder, syncNodeDesign, syncNodeInputs, tabPairLabel, tabsRootForPart, textNode, upsertNodeStyles, visibilityProps, walkNodes, wrapNode };
|
|
4733
4866
|
export type { AuditFinding, AuditNode, BreakpointPresentation, BuilderClipboard, BuilderLabelResolver, BusinessSpecimenCopy, BusinessSpecimenOptions, CanvasDesignSnapshot, ComponentEventDef, ComponentMethodDef, ComponentNode, ComponentTrait, CompositePresetDef, ConsentPreset, ContentTypeLabelResolver, CreateConfig, Crumb, DesignSpecimenCopy, DragPayload, DsFilterByQueryParam, DsFilterByRouteParam, ElementState, FieldKindDef, FormStateSnapshot, GlobalLayerSource, HistoryChange, HistoryEntry, HistoryStep, InsertRefusedEvent, InsertTarget, InteractionAction, InteractionActionType, InteractionPreset, InteractionTrigger, IoxBinding, IoxDataSource, IoxDropEvent, IoxInteraction, IoxSymbol, LayerMoreRows, LayerRepeaterRows, LayerTreeContext, LayerTreeRow, LayoutPresetChildStyles, LayoutPresetDef, NodeRef, OverlayBoxModel, OverlayBoxSpacing, OverlayEntry, OverlayGlobals, OverlayTwins, PageRouteAnimationSettings, PageSettings, PalettePresetDef, PanelEvent, PhoneMenuTarget, QuadSizeSegment, RootEscapeMemory, RouteAnimationPreset, SceneCanvasFrame, ScreenWidthOption, SelectionBadge, ShownBeforeControl, StyleMap, StylePart, StylePreset, StyleTrait, StyleTraitGroup, TraitOptionMap, TraitSelectOption, TraitShowCondition, TreePathNode, UpsertTokensOptions, ViewportState, ZoomOption };
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectoriox/iox-builder",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.15.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=20.0.0",
|
|
6
6
|
"@angular/core": ">=20.0.0",
|
|
7
7
|
"@angular/animations": ">=20.0.0",
|
|
8
8
|
"@angular/cdk": ">=20.0.0",
|
|
9
|
-
"@vectoriox/iox-ui": ">=5.
|
|
9
|
+
"@vectoriox/iox-ui": ">=5.86.0",
|
|
10
10
|
"interactjs": "^1.10.27",
|
|
11
11
|
"primeng": ">=20.0.0",
|
|
12
12
|
"swiper": ">=12.0.0",
|