@vectoriox/iox-builder 11.41.0 → 11.42.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 +331 -221
- package/fesm2022/vectoriox-iox-builder.mjs.map +1 -1
- package/index.d.ts +102 -49
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1863,6 +1863,31 @@ declare function pageBindingValue(raw: unknown, binding: Pick<IoxBinding, 'path'
|
|
|
1863
1863
|
* `repeaterSource` / `repeaterItemAlias` order.
|
|
1864
1864
|
*/
|
|
1865
1865
|
declare function listScopeAliases(node: ComponentNode): string[];
|
|
1866
|
+
/**
|
|
1867
|
+
* The row scope of a list repeating `source` (over `path` inside it, if any): the source alias, and the item alias the
|
|
1868
|
+
* engine names after the path's last segment (`product.gallery` → `gallery`). A list component that already knows its
|
|
1869
|
+
* resolved `source` / `sourcePath` asks this; a node asks `listScopeAliases`.
|
|
1870
|
+
*/
|
|
1871
|
+
declare function rowScopeAliases(source: string, path?: string): string[];
|
|
1872
|
+
/**
|
|
1873
|
+
* What a list's row knows (vectoriox/iox-ui#165): the aliases its item answers to, and — for a part bound to ANY other
|
|
1874
|
+
* source — how to read the page's value of it. The engine's row scope is `{ ...resolvedData, [source]: item,
|
|
1875
|
+
* [itemAlias]: item }`, so a part inside a row bound to another page source (a card's footer bound to `site.name`)
|
|
1876
|
+
* still reads THAT source, never `item.name`.
|
|
1877
|
+
*/
|
|
1878
|
+
interface RowScope {
|
|
1879
|
+
readonly aliases: ReadonlySet<string>;
|
|
1880
|
+
/** The page's value for an out-of-row binding, `undefined` while it has none (the page resolver's `valueFor`). */
|
|
1881
|
+
readonly pageValue?: (binding: IoxBinding) => unknown;
|
|
1882
|
+
}
|
|
1883
|
+
/** Is `binding` the ROW's to fill — its source one of the list's own aliases? */
|
|
1884
|
+
declare function isRowBinding(binding: Pick<IoxBinding, 'source'> | null | undefined, scope: Pick<RowScope, 'aliases'>): boolean;
|
|
1885
|
+
/**
|
|
1886
|
+
* The value a row's copy carries for `binding`, `undefined` meaning "keep the template's": a row binding reads the
|
|
1887
|
+
* item (path + pipes); any other binding reads the page's value — never the item. A nested list's `source` binding
|
|
1888
|
+
* out of the row is the nested list's own to apply (#162), so it is never baked.
|
|
1889
|
+
*/
|
|
1890
|
+
declare function rowBindingValue(binding: IoxBinding, item: unknown, scope: RowScope): unknown;
|
|
1866
1891
|
/**
|
|
1867
1892
|
* Every node inside a list's template → the aliases its enclosing lists own (nested lists add up). A binding to one of
|
|
1868
1893
|
* them is the LIST's to apply per row (the Repeater writes row 1, its copies carry the rest), never the page's.
|
|
@@ -1874,6 +1899,8 @@ declare function listOwnedAliases(nodes: Iterable<ComponentNode>): Map<Component
|
|
|
1874
1899
|
* context engine writes those).
|
|
1875
1900
|
*/
|
|
1876
1901
|
declare function pageBindingsOf(node: ComponentNode, skip?: ReadonlySet<string>): IoxBinding[];
|
|
1902
|
+
/** Does any node of a list's template bind `alias` OUTSIDE the row — so its copies must be re-baked when it lands? */
|
|
1903
|
+
declare function templateReadsPageAlias(nodes: readonly ComponentNode[] | undefined, alias: string, scope: Pick<RowScope, 'aliases'>): boolean;
|
|
1877
1904
|
|
|
1878
1905
|
/**
|
|
1879
1906
|
* Page-scoped registry that holds the current page's data sources.
|
|
@@ -2324,6 +2351,12 @@ interface LayoutPresetDef {
|
|
|
2324
2351
|
childResponsive?: Array<Partial<Record<Breakpoint, LayoutPresetChildStyles>>>;
|
|
2325
2352
|
}
|
|
2326
2353
|
declare const LAYOUT_PRESETS: readonly LayoutPresetDef[];
|
|
2354
|
+
/** The chrome key of a preset's name — the empty-page starter speaks the admin's language (iox-ui#163). */
|
|
2355
|
+
declare const layoutPresetNameKey: (id: string) => string;
|
|
2356
|
+
/** The chrome key of a preset's one-line description. */
|
|
2357
|
+
declare const layoutPresetDescriptionKey: (id: string) => string;
|
|
2358
|
+
/** Every preset's English words by chrome key — spread into `BUILDER_CHROME_EN`, the hosts' translation contract. */
|
|
2359
|
+
declare const LAYOUT_PRESET_WORDS_EN: Readonly<Record<string, string>>;
|
|
2327
2360
|
/** Set a style trait's value on a node built from a component config. */
|
|
2328
2361
|
declare function setStyleTrait(node: ComponentNode, name: string, value: any): void;
|
|
2329
2362
|
/**
|
|
@@ -2834,6 +2867,12 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
2834
2867
|
/** "Delete tab and its panel": both go, ONE undo step. */
|
|
2835
2868
|
confirmPairRemoval(): void;
|
|
2836
2869
|
cancelPairRemoval(): void;
|
|
2870
|
+
/** A chrome word in the host's language (the empty-page starter, iox-ui#163) — read at render, so a locale that
|
|
2871
|
+
* lands late still reaches it; an unknown key reads as itself, never blank. */
|
|
2872
|
+
chromeWord(key: string): string;
|
|
2873
|
+
/** A starter's name and one-line description, in the host's language. */
|
|
2874
|
+
starterName(def: LayoutPresetDef): string;
|
|
2875
|
+
starterDescription(def: LayoutPresetDef): string;
|
|
2837
2876
|
/** The pair-removal confirm's words, in the host's language. */
|
|
2838
2877
|
pairRemovalText(key: string): string;
|
|
2839
2878
|
confirmSaveBlock(): void;
|
|
@@ -3469,6 +3508,55 @@ declare class BuilderDataSourceService {
|
|
|
3469
3508
|
static ɵprov: i0.ɵɵInjectableDeclaration<BuilderDataSourceService>;
|
|
3470
3509
|
}
|
|
3471
3510
|
|
|
3511
|
+
/**
|
|
3512
|
+
* Draws a page's bindings — every part bound OUTSIDE a list row (a detail page's title bound to `piece`, a heading bound
|
|
3513
|
+
* to a single source) — on the canvas and in Preview alike (vectoriox/iox-ui#164). Before it, only the admin's Bindings
|
|
3514
|
+
* PANEL did this, so Preview (which mounts no panel) drew those parts empty, and no fetch ever saw the page's route
|
|
3515
|
+
* params.
|
|
3516
|
+
*
|
|
3517
|
+
* Page-scoped: a host provides it beside `DataSourceRegistryService`; the RenderDirective tells it when a node is drawn,
|
|
3518
|
+
* and it applies the page bindings of every registered node in ONE deferred pass. Values come through the library's
|
|
3519
|
+
* `BuilderDataSourceService.fetchByAlias` with the registry's page params, once per alias, cached until the page's
|
|
3520
|
+
* sources or params change. What it leaves alone: a list's `source` binding (the render applies it, #162), a binding an
|
|
3521
|
+
* enclosing list owns (its rows), and a variable (the context engine fills it at run time).
|
|
3522
|
+
*/
|
|
3523
|
+
declare class PageBindingResolverService implements OnDestroy {
|
|
3524
|
+
private readonly overlay;
|
|
3525
|
+
private readonly registry;
|
|
3526
|
+
private readonly dataSources;
|
|
3527
|
+
/** How a list source reads outside a row: as the engine (Preview) or as its first row (the canvas design aid). */
|
|
3528
|
+
readonly read: PageBindingRead;
|
|
3529
|
+
private readonly cache;
|
|
3530
|
+
private readonly inFlight;
|
|
3531
|
+
private readonly resolvedSubject;
|
|
3532
|
+
/** The alias whose value just landed — the panel re-reads its selected node's bound rows on it. */
|
|
3533
|
+
readonly resolved$: Observable<string>;
|
|
3534
|
+
private readonly sub;
|
|
3535
|
+
private fingerprint;
|
|
3536
|
+
private passTimer;
|
|
3537
|
+
private destroyed;
|
|
3538
|
+
constructor(overlay: OverlayService, registry: DataSourceRegistryService, dataSources: BuilderDataSourceService, isPreview: boolean | null);
|
|
3539
|
+
/** A node was drawn (the RenderDirective calls this): apply the page's bindings in one deferred pass. */
|
|
3540
|
+
nodeRendered(): void;
|
|
3541
|
+
/** The resolved value of `alias`, `undefined` until it lands. */
|
|
3542
|
+
valueOf(alias: string): unknown;
|
|
3543
|
+
/** Make sure `alias` is fetched (a panel row reads its fields before any part binds to it). */
|
|
3544
|
+
ensure(alias: string): void;
|
|
3545
|
+
/**
|
|
3546
|
+
* The page's value for ONE binding, read as this page reads (`read`) — for a part the pass never reaches: a list's
|
|
3547
|
+
* preview copy bakes it in (rows 2..n, vectoriox/iox-ui#165). Asks for the alias if it has not landed (`resolved$`
|
|
3548
|
+
* says when); always `undefined` for a variable (the context engine's) and a list's `source` binding (#162).
|
|
3549
|
+
*/
|
|
3550
|
+
valueFor(binding: Pick<IoxBinding, 'source' | 'prop' | 'path' | 'pipes'>): unknown;
|
|
3551
|
+
/** Apply every registered node's page bindings now (the deferred pass; public for hosts and specs). */
|
|
3552
|
+
applyAll(): void;
|
|
3553
|
+
ngOnDestroy(): void;
|
|
3554
|
+
private schedule;
|
|
3555
|
+
private reset;
|
|
3556
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageBindingResolverService, [null, null, null, { optional: true; }]>;
|
|
3557
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PageBindingResolverService>;
|
|
3558
|
+
}
|
|
3559
|
+
|
|
3472
3560
|
declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
3473
3561
|
private dragEngine;
|
|
3474
3562
|
private overlayService;
|
|
@@ -3479,6 +3567,7 @@ declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
3479
3567
|
private interactionEngine;
|
|
3480
3568
|
private labels?;
|
|
3481
3569
|
private typeLabels?;
|
|
3570
|
+
private pageBindings?;
|
|
3482
3571
|
private _children;
|
|
3483
3572
|
get children(): ComponentNode[];
|
|
3484
3573
|
/** RenderDirective sets `source` (→ fetchData) BEFORE `children`. With an async source the response
|
|
@@ -3530,11 +3619,12 @@ declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
3530
3619
|
set sourcePath(value: string);
|
|
3531
3620
|
get limit(): number;
|
|
3532
3621
|
set limit(value: number);
|
|
3533
|
-
constructor(dragEngine: DragEngineService, overlayService: OverlayService, dataSourceService: BuilderDataSourceService, dsRegistry: DataSourceRegistryService, panelEventService: PanelEventService, cdr: ChangeDetectorRef, interactionEngine: InteractionEngineService, labels?: BuilderLabelResolver | undefined, typeLabels?: ContentTypeLabelResolver | undefined, preview?: boolean | null);
|
|
3622
|
+
constructor(dragEngine: DragEngineService, overlayService: OverlayService, dataSourceService: BuilderDataSourceService, dsRegistry: DataSourceRegistryService, panelEventService: PanelEventService, cdr: ChangeDetectorRef, interactionEngine: InteractionEngineService, labels?: BuilderLabelResolver | undefined, typeLabels?: ContentTypeLabelResolver | undefined, preview?: boolean | null, pageBindings?: (PageBindingResolverService | null) | undefined);
|
|
3534
3623
|
ngOnInit(): void;
|
|
3535
3624
|
/** The definition the last fetch ran on — compared to the registry's to refetch only on a real change. */
|
|
3536
3625
|
private fetchedDefinition;
|
|
3537
3626
|
private sourceSub?;
|
|
3627
|
+
private pageSub?;
|
|
3538
3628
|
private sourceDefinition;
|
|
3539
3629
|
ngAfterViewInit(): void;
|
|
3540
3630
|
ngOnDestroy(): void;
|
|
@@ -3550,6 +3640,8 @@ declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
3550
3640
|
private announceRows;
|
|
3551
3641
|
private isInTemplate;
|
|
3552
3642
|
private refreshPreviews;
|
|
3643
|
+
/** The engine's row scope (#165): the aliases this list's item answers to; any other source is the PAGE's value. */
|
|
3644
|
+
private rowScope;
|
|
3553
3645
|
private applyFirstItemToTemplate;
|
|
3554
3646
|
/** Apply item[0]'s bound values to the live template row, walking the WHOLE subtree — not just
|
|
3555
3647
|
* direct children. A bound node can sit any level deep once a template child is wrapped in a
|
|
@@ -3558,7 +3650,7 @@ declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
3558
3650
|
/** Rebuild preview rows after the template STRUCTURE changed (e.g. a child was wrapped, deleted,
|
|
3559
3651
|
* or moved). Deferred so the new DOM + overlay refs exist before bindings are re-applied. */
|
|
3560
3652
|
refreshTemplate(): void;
|
|
3561
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BuilderRepeaterComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
3653
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuilderRepeaterComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
3562
3654
|
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderRepeaterComponent, "app-builder-repeater", never, { "children": { "alias": "children"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "source": { "alias": "source"; "required": false; }; "sourcePath": { "alias": "sourcePath"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
|
|
3563
3655
|
}
|
|
3564
3656
|
|
|
@@ -3792,6 +3884,7 @@ declare class SliderContainerComponent implements OnInit, AfterViewInit, OnChang
|
|
|
3792
3884
|
private dataSourceService;
|
|
3793
3885
|
private dsRegistry;
|
|
3794
3886
|
private panelEventService;
|
|
3887
|
+
private pageBindings;
|
|
3795
3888
|
private _children;
|
|
3796
3889
|
/** Every child — the slides AND the control parts (CC3). Split once per change, never in a getter. */
|
|
3797
3890
|
set children(value: ComponentNode[]);
|
|
@@ -3887,13 +3980,14 @@ declare class SliderContainerComponent implements OnInit, AfterViewInit, OnChang
|
|
|
3887
3980
|
_swiper: any;
|
|
3888
3981
|
private _initRafId;
|
|
3889
3982
|
private _bindingSub?;
|
|
3983
|
+
private _pageSub?;
|
|
3890
3984
|
private instanceRegistry;
|
|
3891
3985
|
private interactionEngine;
|
|
3892
3986
|
private ngZone;
|
|
3893
3987
|
/** The canvas's (and Preview's) ONE scene driver — it plays a slider the scroll plays. */
|
|
3894
3988
|
private sceneCanvas;
|
|
3895
3989
|
private sceneAttached;
|
|
3896
|
-
constructor(dragEngine: DragEngineService, cdr: ChangeDetectorRef, isPreview: boolean, overlayService: OverlayService, dataSourceService: BuilderDataSourceService | null, dsRegistry: DataSourceRegistryService, panelEventService: PanelEventService);
|
|
3990
|
+
constructor(dragEngine: DragEngineService, cdr: ChangeDetectorRef, isPreview: boolean, overlayService: OverlayService, dataSourceService: BuilderDataSourceService | null, dsRegistry: DataSourceRegistryService, panelEventService: PanelEventService, pageBindings: PageBindingResolverService | null);
|
|
3897
3991
|
ngOnInit(): void;
|
|
3898
3992
|
ngAfterViewInit(): void;
|
|
3899
3993
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -3906,6 +4000,8 @@ declare class SliderContainerComponent implements OnInit, AfterViewInit, OnChang
|
|
|
3906
4000
|
* same decision the SSR engine runs, so the canvas preview matches the published page. */
|
|
3907
4001
|
private fetchData;
|
|
3908
4002
|
private refreshPreviews;
|
|
4003
|
+
/** The engine's row scope (#165): the slider repeats `source` itself; any other source is the PAGE's value. */
|
|
4004
|
+
private rowScope;
|
|
3909
4005
|
private applyFirstItemToTemplate;
|
|
3910
4006
|
private applyItemToNodes;
|
|
3911
4007
|
private _isInTemplate;
|
|
@@ -3914,7 +4010,7 @@ declare class SliderContainerComponent implements OnInit, AfterViewInit, OnChang
|
|
|
3914
4010
|
private swiperInputs;
|
|
3915
4011
|
private _destroySwiper;
|
|
3916
4012
|
private _onSwiperEvent;
|
|
3917
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SliderContainerComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
4013
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderContainerComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
3918
4014
|
static ɵcmp: i0.ɵɵComponentDeclaration<SliderContainerComponent, "app-slider-container", never, { "children": { "alias": "children"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "slidesPerView": { "alias": "slidesPerView"; "required": false; }; "slidesPerGroup": { "alias": "slidesPerGroup"; "required": false; }; "loop": { "alias": "loop"; "required": false; }; "centeredSlides": { "alias": "centeredSlides"; "required": false; }; "spaceBetween": { "alias": "spaceBetween"; "required": false; }; "initialSlide": { "alias": "initialSlide"; "required": false; }; "autoHeight": { "alias": "autoHeight"; "required": false; }; "grabCursor": { "alias": "grabCursor"; "required": false; }; "slideToClickedSlide": { "alias": "slideToClickedSlide"; "required": false; }; "effect": { "alias": "effect"; "required": false; }; "creativePreset": { "alias": "creativePreset"; "required": false; }; "speed": { "alias": "speed"; "required": false; }; "scrollPlays": { "alias": "scrollPlays"; "required": false; }; "enableNavigation": { "alias": "enableNavigation"; "required": false; }; "navigationColor": { "alias": "navigationColor"; "required": false; }; "navigationSize": { "alias": "navigationSize"; "required": false; }; "enablePagination": { "alias": "enablePagination"; "required": false; }; "paginationColor": { "alias": "paginationColor"; "required": false; }; "paginationType": { "alias": "paginationType"; "required": false; }; "paginationClickable": { "alias": "paginationClickable"; "required": false; }; "paginationDynamicBullets": { "alias": "paginationDynamicBullets"; "required": false; }; "enableAutoplay": { "alias": "enableAutoplay"; "required": false; }; "autoplayDelay": { "alias": "autoplayDelay"; "required": false; }; "autoplayPauseOnMouseEnter": { "alias": "autoplayPauseOnMouseEnter"; "required": false; }; "autoplayDisableOnInteraction": { "alias": "autoplayDisableOnInteraction"; "required": false; }; "enableScrollbar": { "alias": "enableScrollbar"; "required": false; }; "freeMode": { "alias": "freeMode"; "required": false; }; "enableKeyboard": { "alias": "enableKeyboard"; "required": false; }; "enableMousewheel": { "alias": "enableMousewheel"; "required": false; }; "enableZoom": { "alias": "enableZoom"; "required": false; }; "enableParallax": { "alias": "enableParallax"; "required": false; }; "enableGrid": { "alias": "enableGrid"; "required": false; }; "gridRows": { "alias": "gridRows"; "required": false; }; "breakpoints": { "alias": "breakpoints"; "required": false; }; "source": { "alias": "source"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
|
|
3919
4015
|
}
|
|
3920
4016
|
|
|
@@ -4301,49 +4397,6 @@ declare class BuilderHistoryService {
|
|
|
4301
4397
|
static ɵprov: i0.ɵɵInjectableDeclaration<BuilderHistoryService>;
|
|
4302
4398
|
}
|
|
4303
4399
|
|
|
4304
|
-
/**
|
|
4305
|
-
* Draws a page's bindings — every part bound OUTSIDE a list row (a detail page's title bound to `piece`, a heading bound
|
|
4306
|
-
* to a single source) — on the canvas and in Preview alike (vectoriox/iox-ui#164). Before it, only the admin's Bindings
|
|
4307
|
-
* PANEL did this, so Preview (which mounts no panel) drew those parts empty, and no fetch ever saw the page's route
|
|
4308
|
-
* params.
|
|
4309
|
-
*
|
|
4310
|
-
* Page-scoped: a host provides it beside `DataSourceRegistryService`; the RenderDirective tells it when a node is drawn,
|
|
4311
|
-
* and it applies the page bindings of every registered node in ONE deferred pass. Values come through the library's
|
|
4312
|
-
* `BuilderDataSourceService.fetchByAlias` with the registry's page params, once per alias, cached until the page's
|
|
4313
|
-
* sources or params change. What it leaves alone: a list's `source` binding (the render applies it, #162), a binding an
|
|
4314
|
-
* enclosing list owns (its rows), and a variable (the context engine fills it at run time).
|
|
4315
|
-
*/
|
|
4316
|
-
declare class PageBindingResolverService implements OnDestroy {
|
|
4317
|
-
private readonly overlay;
|
|
4318
|
-
private readonly registry;
|
|
4319
|
-
private readonly dataSources;
|
|
4320
|
-
/** How a list source reads outside a row: as the engine (Preview) or as its first row (the canvas design aid). */
|
|
4321
|
-
readonly read: PageBindingRead;
|
|
4322
|
-
private readonly cache;
|
|
4323
|
-
private readonly inFlight;
|
|
4324
|
-
private readonly resolvedSubject;
|
|
4325
|
-
/** The alias whose value just landed — the panel re-reads its selected node's bound rows on it. */
|
|
4326
|
-
readonly resolved$: Observable<string>;
|
|
4327
|
-
private readonly sub;
|
|
4328
|
-
private fingerprint;
|
|
4329
|
-
private passTimer;
|
|
4330
|
-
private destroyed;
|
|
4331
|
-
constructor(overlay: OverlayService, registry: DataSourceRegistryService, dataSources: BuilderDataSourceService, isPreview: boolean | null);
|
|
4332
|
-
/** A node was drawn (the RenderDirective calls this): apply the page's bindings in one deferred pass. */
|
|
4333
|
-
nodeRendered(): void;
|
|
4334
|
-
/** The resolved value of `alias`, `undefined` until it lands. */
|
|
4335
|
-
valueOf(alias: string): unknown;
|
|
4336
|
-
/** Make sure `alias` is fetched (a panel row reads its fields before any part binds to it). */
|
|
4337
|
-
ensure(alias: string): void;
|
|
4338
|
-
/** Apply every registered node's page bindings now (the deferred pass; public for hosts and specs). */
|
|
4339
|
-
applyAll(): void;
|
|
4340
|
-
ngOnDestroy(): void;
|
|
4341
|
-
private schedule;
|
|
4342
|
-
private reset;
|
|
4343
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageBindingResolverService, [null, null, null, { optional: true; }]>;
|
|
4344
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PageBindingResolverService>;
|
|
4345
|
-
}
|
|
4346
|
-
|
|
4347
4400
|
/**
|
|
4348
4401
|
* The composites' runtimes ON THE CANVAS (CC2, CC4a) — the canvas is a live runtime, so an Accordion (and a Disclosure,
|
|
4349
4402
|
* CC2.1) opens and closes, and Tabs switch, on the canvas exactly as on the site: the SAME composite-core runtimes the
|
|
@@ -5328,5 +5381,5 @@ declare class TextBlockComponentConfig extends ComponentConfig {
|
|
|
5328
5381
|
constructor();
|
|
5329
5382
|
}
|
|
5330
5383
|
|
|
5331
|
-
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, CanvasShowGroup, 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, FOOTER_MIX_TRAIT, FORM_STATE_BLOCK_TYPES, FORM_TYPE, FORM_WORD_TYPES, 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, IOX_RENDER_DISPLAY_ONLY, InsertRefusal, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LAYOUT_PRESETS, LIST_MIX_TRAIT, LayerTreeComponent, LayoutGroupStyleConfig, ListGroupStyleConfig, NO_PAGE_PARAMS, NodeAction, OPENING_MIX_TRAIT, OverlayComponent, OverlayService, PAGE_TRANSITION_EASING_OPTIONS, PALETTE_PRESET_DEFS, POPOVER_PLACEMENT_OPTIONS, POPOVER_SHEET_MAX_WIDTH, PageBindingRead, PageBindingResolverService, 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, SLIDER_CREATIVE_PRESET_TRAIT, 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, channelLabel, collapseColumnsProps, columnCountOf, compositeStructureFindings, defaultBuilderLabels, defaultPageSettings, deleteTabPair, displayTrigger, displayTriggerOf, dropChildren, dropSectionStamps, dropTargetLabel, duplicateTabPair, escapesRoot, essentialTraitsFor, findNodeByIdInEither, findNodeLocation, findParentOf, flattenLayerTree, flattenSchemaFields, fluidiseProps, followsScroll, formChannelOf, generateNodeId, globalCanvasLayer, hiddenAtBase, hiddenUntilItemOn, inPhoneMenuContext, insertRefusal, insertRefusalLabel, interactionTargets, isDisplayOnlyNode, isHiddenAt, isHiddenAtRest, isPhoneMenuOpener, isPinnedGlobal, isReadingBar, isSpecimen, itemsOnAtRest, listOwnedAliases, listScopeAliases, markSpecimen, matchesControlSearch, nearestFormNode, neverShown, nodeAncestorPath, nodeAncestorPathInEither, nodeDescriptor, nodeStyleMap, overlayGlobals, pageBindingValue, pageBindingsOf, pathToNode, phoneMenuOf, phoneMenuShowsAt, refreshSubtree, regenerateNodeIds, removalRefusal, reorderProps, repeaterSourceAlias, repeaterSubLabel, resolveDragData, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, retypeNode, rootEscapeBand, rootZone, rowInsertIndex, selectionRevealOf, setChannelAddress, setOverlayPreview, setStyleTrait, setTrait, shortDescriptor, showCanvasToast, shownBeforeControl, sourceContentType, sourceTypeLabel, stackChildrenProps, summarise, syncEmptyImagePlaceholder, syncNodeDesign, syncNodeInputs, tabPairLabel, tabsRootForPart, textNode, upsertNodeStyles, visibilityProps, walkNodes, wearFormWords, wrapNode };
|
|
5332
|
-
export type { AuditFinding, AuditNode, BreakpointPresentation, BuilderClipboard, BuilderLabelResolver, BusinessSpecimenCopy, BusinessSpecimenOptions, CanvasDesignSnapshot, CanvasScrollLinkOptions, ComponentEventDef, ComponentMethodDef, ComponentNode, ComponentTrait, CompositePresetDef, ConsentPreset, ConsentPresetOptions, ContentTypeLabelResolver, CreateConfig, Crumb, DesignSpecimenCopy, DragPayload, DsFilterByQueryParam, DsFilterByRouteParam, ElementState, FieldKindDef, FormChannelWords, FormStateSnapshot, GlobalLayerSource, HiddenAtRestNode, HistoryChange, HistoryEntry, HistoryStep, InsertRefusedEvent, InsertTarget, InteractionAction, InteractionActionType, InteractionPreset, InteractionTrigger, IoxBinding, IoxDataSource, IoxDragData, IoxDropEvent, IoxInteraction, IoxSymbol, LayerMoreRows, LayerRepeaterRows, LayerTreeContext, LayerTreeRow, LayoutPresetChildStyles, LayoutPresetDef, NodeRef, OverlayBoxModel, OverlayBoxSpacing, OverlayEntry, OverlayGlobals, OverlayTwins, PageParams, PageRouteAnimationSettings, PageSettings, PalettePresetDef, PanelEvent, PhoneMenuTarget, QuadSizeSegment, RootEscapeMemory, RouteAnimationPreset, SceneCanvasFrame, ScreenWidthOption, ScrollCardShape, SelectionBadge, ShownBeforeControl, StyleMap, StylePart, StylePreset, StyleTrait, StyleTraitGroup, TraitOptionMap, TraitSelectOption, TraitShowCondition, TreePathNode, UpsertTokensOptions, ViewportState, ZoomOption };
|
|
5384
|
+
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, CanvasShowGroup, 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, FOOTER_MIX_TRAIT, FORM_STATE_BLOCK_TYPES, FORM_TYPE, FORM_WORD_TYPES, 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, IOX_RENDER_DISPLAY_ONLY, InsertRefusal, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LAYOUT_PRESETS, LAYOUT_PRESET_WORDS_EN, LIST_MIX_TRAIT, LayerTreeComponent, LayoutGroupStyleConfig, ListGroupStyleConfig, NO_PAGE_PARAMS, NodeAction, OPENING_MIX_TRAIT, OverlayComponent, OverlayService, PAGE_TRANSITION_EASING_OPTIONS, PALETTE_PRESET_DEFS, POPOVER_PLACEMENT_OPTIONS, POPOVER_SHEET_MAX_WIDTH, PageBindingRead, PageBindingResolverService, 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, SLIDER_CREATIVE_PRESET_TRAIT, 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, channelLabel, collapseColumnsProps, columnCountOf, compositeStructureFindings, defaultBuilderLabels, defaultPageSettings, deleteTabPair, displayTrigger, displayTriggerOf, dropChildren, dropSectionStamps, dropTargetLabel, duplicateTabPair, escapesRoot, essentialTraitsFor, findNodeByIdInEither, findNodeLocation, findParentOf, flattenLayerTree, flattenSchemaFields, fluidiseProps, followsScroll, formChannelOf, generateNodeId, globalCanvasLayer, hiddenAtBase, hiddenUntilItemOn, inPhoneMenuContext, insertRefusal, insertRefusalLabel, interactionTargets, isDisplayOnlyNode, isHiddenAt, isHiddenAtRest, isPhoneMenuOpener, isPinnedGlobal, isReadingBar, isRowBinding, isSpecimen, itemsOnAtRest, layoutPresetDescriptionKey, layoutPresetNameKey, listOwnedAliases, listScopeAliases, markSpecimen, matchesControlSearch, nearestFormNode, neverShown, nodeAncestorPath, nodeAncestorPathInEither, nodeDescriptor, nodeStyleMap, overlayGlobals, pageBindingValue, pageBindingsOf, pathToNode, phoneMenuOf, phoneMenuShowsAt, refreshSubtree, regenerateNodeIds, removalRefusal, reorderProps, repeaterSourceAlias, repeaterSubLabel, resolveDragData, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, retypeNode, rootEscapeBand, rootZone, rowBindingValue, rowInsertIndex, rowScopeAliases, selectionRevealOf, setChannelAddress, setOverlayPreview, setStyleTrait, setTrait, shortDescriptor, showCanvasToast, shownBeforeControl, sourceContentType, sourceTypeLabel, stackChildrenProps, summarise, syncEmptyImagePlaceholder, syncNodeDesign, syncNodeInputs, tabPairLabel, tabsRootForPart, templateReadsPageAlias, textNode, upsertNodeStyles, visibilityProps, walkNodes, wearFormWords, wrapNode };
|
|
5385
|
+
export type { AuditFinding, AuditNode, BreakpointPresentation, BuilderClipboard, BuilderLabelResolver, BusinessSpecimenCopy, BusinessSpecimenOptions, CanvasDesignSnapshot, CanvasScrollLinkOptions, ComponentEventDef, ComponentMethodDef, ComponentNode, ComponentTrait, CompositePresetDef, ConsentPreset, ConsentPresetOptions, ContentTypeLabelResolver, CreateConfig, Crumb, DesignSpecimenCopy, DragPayload, DsFilterByQueryParam, DsFilterByRouteParam, ElementState, FieldKindDef, FormChannelWords, FormStateSnapshot, GlobalLayerSource, HiddenAtRestNode, HistoryChange, HistoryEntry, HistoryStep, InsertRefusedEvent, InsertTarget, InteractionAction, InteractionActionType, InteractionPreset, InteractionTrigger, IoxBinding, IoxDataSource, IoxDragData, IoxDropEvent, IoxInteraction, IoxSymbol, LayerMoreRows, LayerRepeaterRows, LayerTreeContext, LayerTreeRow, LayoutPresetChildStyles, LayoutPresetDef, NodeRef, OverlayBoxModel, OverlayBoxSpacing, OverlayEntry, OverlayGlobals, OverlayTwins, PageParams, PageRouteAnimationSettings, PageSettings, PalettePresetDef, PanelEvent, PhoneMenuTarget, QuadSizeSegment, RootEscapeMemory, RouteAnimationPreset, RowScope, SceneCanvasFrame, ScreenWidthOption, ScrollCardShape, 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.42.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.195.0",
|
|
10
10
|
"interactjs": "^1.10.27",
|
|
11
11
|
"primeng": ">=20.0.0",
|
|
12
12
|
"swiper": ">=12.0.0",
|