@vectoriox/iox-builder 11.40.0 → 11.42.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
@@ -1831,6 +1831,77 @@ declare class SelectoCanvasService {
1831
1831
  static ɵprov: i0.ɵɵInjectableDeclaration<SelectoCanvasService>;
1832
1832
  }
1833
1833
 
1834
+ /**
1835
+ * A page's address params as `planDataSource(ds, routeParams, queryParams)` reads them. Preview opens a page with
1836
+ * them (`?slug=…`, the param prompt); the editing canvas has none (vectoriox/iox-ui#164).
1837
+ */
1838
+ interface PageParams {
1839
+ route: Readonly<Record<string, unknown>>;
1840
+ query: Readonly<Record<string, unknown>>;
1841
+ }
1842
+ /** No address params — design time: a route filter falls back to `defaultId`, a query filter to its `defaultValue`. */
1843
+ declare const NO_PAGE_PARAMS: PageParams;
1844
+ /** How a PAGE binding (one bound outside any list row) reads its source's value. */
1845
+ declare enum PageBindingRead {
1846
+ /** As the SSR engine's `resolveProps`: path + pipes on the source's value itself. A list read outside a row
1847
+ * answers nothing, so the part keeps its own default. Preview reads this way — it must draw what the site draws. */
1848
+ AsEngine = "asEngine",
1849
+ /** The editing canvas's design aid: a list source is read as its FIRST row, so a part bound to a list outside a
1850
+ * Repeater still shows a real value while the owner designs it. */
1851
+ FirstRow = "firstRow"
1852
+ }
1853
+ /**
1854
+ * ONE value rule for a page binding — `undefined` means "leave the part as it is". `AsEngine` mirrors the engine's
1855
+ * `resolveProps` (a null or undefined value is not written); `FirstRow` is the canvas reading the Bindings panel did
1856
+ * before it delegated here. Both go through the shared `resolveBoundValue` (path, then pipes).
1857
+ */
1858
+ declare function pageBindingValue(raw: unknown, binding: Pick<IoxBinding, 'path' | 'pipes'>, read: PageBindingRead): unknown;
1859
+ /**
1860
+ * The aliases a list's ROWS bind to — the engine's row scope (`{ [source]: item, [itemAlias]: item }`): the source it
1861
+ * repeats, and the item alias named after the repeated path's last segment (`product.gallery` → `gallery`). Empty for a
1862
+ * node that repeats nothing. Reads the `source` binding first, then the `source` / `sourcePath` traits — the engine's
1863
+ * `repeaterSource` / `repeaterItemAlias` order.
1864
+ */
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;
1891
+ /**
1892
+ * Every node inside a list's template → the aliases its enclosing lists own (nested lists add up). A binding to one of
1893
+ * them is the LIST's to apply per row (the Repeater writes row 1, its copies carry the rest), never the page's.
1894
+ */
1895
+ declare function listOwnedAliases(nodes: Iterable<ComponentNode>): Map<ComponentNode, Set<string>>;
1896
+ /**
1897
+ * A node's PAGE bindings — the ones the page resolver writes: not a list's `source` binding (the render applies it,
1898
+ * #162), not one without a source, not one whose source is `skip`ped (an enclosing list's alias, a variable — the
1899
+ * context engine writes those).
1900
+ */
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;
1904
+
1834
1905
  /**
1835
1906
  * Page-scoped registry that holds the current page's data sources.
1836
1907
  * Scoped to PageUiComponent.providers[] so every builder service
@@ -1849,6 +1920,13 @@ declare class DataSourceRegistryService {
1849
1920
  label: string;
1850
1921
  value: string;
1851
1922
  }[];
1923
+ private _params$;
1924
+ /** The page's address params (vectoriox/iox-ui#164): Preview sets the route params it opened with (`?slug=…`, the
1925
+ * param prompt) so a route-filtered source resolves to THAT item, as the engine resolves it. The editing canvas
1926
+ * never sets them — design time keeps `planDataSource`'s fallbacks (`defaultId`, the first item). */
1927
+ readonly pageParams$: rxjs.Observable<PageParams>;
1928
+ get pageParams(): PageParams;
1929
+ setPageParams(params: Partial<PageParams> | null | undefined): void;
1852
1930
  static ɵfac: i0.ɵɵFactoryDeclaration<DataSourceRegistryService, never>;
1853
1931
  static ɵprov: i0.ɵɵInjectableDeclaration<DataSourceRegistryService>;
1854
1932
  }
@@ -2273,6 +2351,12 @@ interface LayoutPresetDef {
2273
2351
  childResponsive?: Array<Partial<Record<Breakpoint, LayoutPresetChildStyles>>>;
2274
2352
  }
2275
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>>;
2276
2360
  /** Set a style trait's value on a node built from a component config. */
2277
2361
  declare function setStyleTrait(node: ComponentNode, name: string, value: any): void;
2278
2362
  /**
@@ -2783,6 +2867,12 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
2783
2867
  /** "Delete tab and its panel": both go, ONE undo step. */
2784
2868
  confirmPairRemoval(): void;
2785
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;
2786
2876
  /** The pair-removal confirm's words, in the host's language. */
2787
2877
  pairRemovalText(key: string): string;
2788
2878
  confirmSaveBlock(): void;
@@ -2891,6 +2981,8 @@ declare class RenderDirective implements OnInit, OnDestroy {
2891
2981
  private readonly designState;
2892
2982
  private readonly compositeCanvas;
2893
2983
  private readonly sceneCanvas;
2984
+ /** The page's binding resolver, when the host provides one (the canvas, Preview — vectoriox/iox-ui#164). */
2985
+ private readonly pageBindings;
2894
2986
  /** The Scene root this directive drives. */
2895
2987
  private sceneRootEl;
2896
2988
  /** The node this directive attached a composite runtime for (an accordion root). */
@@ -3380,24 +3472,24 @@ declare class BuilderDataSourceService {
3380
3472
  get isConfigured(): boolean;
3381
3473
  /**
3382
3474
  * Resolve a data source to the value its MODE describes: the item for a `single` source, the
3383
- * array for a `list`. The builder is design time — there are no live route or query params — so
3384
- * a route filter falls back to `defaultId` and a query filter to its `defaultValue`, which is
3385
- * exactly what `planDataSource` does with empty params.
3475
+ * array for a `list`. `params` are the page's address params — Preview passes the ones it opened with
3476
+ * (vectoriox/iox-ui#164); the editing canvas has none, so a route filter falls back to `defaultId` and
3477
+ * a query filter to its `defaultValue`, exactly what `planDataSource` does with empty params.
3386
3478
  *
3387
3479
  * Callers pass the source itself (resolved from their own page-scoped
3388
3480
  * `DataSourceRegistryService`) rather than an alias: this service is module-scoped and must not
3389
3481
  * capture a registry from the wrong injector. Emits `null` when the source resolves to no
3390
3482
  * request or the fetch fails — the canvas degrades to an empty preview, it never throws.
3391
3483
  */
3392
- fetch(ds: IoxDataSource | undefined): Observable<any>;
3484
+ fetch(ds: IoxDataSource | undefined, params?: PageParams): Observable<any>;
3393
3485
  /** Same fetch, always as an array — for the canvas components that repeat over the source. */
3394
- fetchItems(ds: IoxDataSource | undefined): Observable<any[]>;
3486
+ fetchItems(ds: IoxDataSource | undefined, params?: PageParams): Observable<any[]>;
3395
3487
  /**
3396
3488
  * Items a Repeater/Slider iterates over. With `sourcePath` it repeats over an array PROPERTY of a
3397
3489
  * SINGLE-resource source (e.g. `product.gallery`); without it the source itself is the list.
3398
3490
  * Uses the SHARED `resolveRepeaterItems` so the canvas preview matches the SSR engine.
3399
3491
  */
3400
- fetchRepeaterItems(ds: IoxDataSource | undefined, sourcePath?: string): Observable<any[]>;
3492
+ fetchRepeaterItems(ds: IoxDataSource | undefined, sourcePath?: string, params?: PageParams): Observable<any[]>;
3401
3493
  /**
3402
3494
  * Resolve a data source BY ALIAS, following `derived` aliases (a VIEW into another variable:
3403
3495
  * resolve the parent, then getByPath) and `relative` aliases (route-context — `$current`/
@@ -3407,15 +3499,64 @@ declare class BuilderDataSourceService {
3407
3499
  * The builder is design time: `relative` sources resolve their dependency aliases (subject +
3408
3500
  * collection) — a single source falls back to its `defaultId`, a list to the whole collection —
3409
3501
  * then run the SHARED `computeRelative`, so the canvas shows the SAME neighbours the SSR engine
3410
- * bakes into the live page. `$route` has no live params at design time → `{}`.
3502
+ * bakes into the live page. `$route` is the page's route params (`{}` at design time).
3411
3503
  */
3412
- fetchByAlias(alias: string, findByAlias: (a: string) => IoxDataSource | undefined): Observable<any>;
3504
+ fetchByAlias(alias: string, findByAlias: (a: string) => IoxDataSource | undefined, params?: PageParams): Observable<any>;
3413
3505
  /** Repeater items for an alias (follows derived aliases + applies an optional sourcePath). */
3414
- fetchRepeaterItemsByAlias(alias: string, findByAlias: (a: string) => IoxDataSource | undefined, sourcePath?: string): Observable<any[]>;
3506
+ fetchRepeaterItemsByAlias(alias: string, findByAlias: (a: string) => IoxDataSource | undefined, sourcePath?: string, params?: PageParams): Observable<any[]>;
3415
3507
  static ɵfac: i0.ɵɵFactoryDeclaration<BuilderDataSourceService, [null, { optional: true; }]>;
3416
3508
  static ɵprov: i0.ɵɵInjectableDeclaration<BuilderDataSourceService>;
3417
3509
  }
3418
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
+
3419
3560
  declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestroy {
3420
3561
  private dragEngine;
3421
3562
  private overlayService;
@@ -3426,6 +3567,7 @@ declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestr
3426
3567
  private interactionEngine;
3427
3568
  private labels?;
3428
3569
  private typeLabels?;
3570
+ private pageBindings?;
3429
3571
  private _children;
3430
3572
  get children(): ComponentNode[];
3431
3573
  /** RenderDirective sets `source` (→ fetchData) BEFORE `children`. With an async source the response
@@ -3477,11 +3619,12 @@ declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestr
3477
3619
  set sourcePath(value: string);
3478
3620
  get limit(): number;
3479
3621
  set limit(value: number);
3480
- 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);
3481
3623
  ngOnInit(): void;
3482
3624
  /** The definition the last fetch ran on — compared to the registry's to refetch only on a real change. */
3483
3625
  private fetchedDefinition;
3484
3626
  private sourceSub?;
3627
+ private pageSub?;
3485
3628
  private sourceDefinition;
3486
3629
  ngAfterViewInit(): void;
3487
3630
  ngOnDestroy(): void;
@@ -3497,6 +3640,8 @@ declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestr
3497
3640
  private announceRows;
3498
3641
  private isInTemplate;
3499
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;
3500
3645
  private applyFirstItemToTemplate;
3501
3646
  /** Apply item[0]'s bound values to the live template row, walking the WHOLE subtree — not just
3502
3647
  * direct children. A bound node can sit any level deep once a template child is wrapped in a
@@ -3505,7 +3650,7 @@ declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestr
3505
3650
  /** Rebuild preview rows after the template STRUCTURE changed (e.g. a child was wrapped, deleted,
3506
3651
  * or moved). Deferred so the new DOM + overlay refs exist before bindings are re-applied. */
3507
3652
  refreshTemplate(): void;
3508
- 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; }]>;
3509
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>;
3510
3655
  }
3511
3656
 
@@ -3739,6 +3884,7 @@ declare class SliderContainerComponent implements OnInit, AfterViewInit, OnChang
3739
3884
  private dataSourceService;
3740
3885
  private dsRegistry;
3741
3886
  private panelEventService;
3887
+ private pageBindings;
3742
3888
  private _children;
3743
3889
  /** Every child — the slides AND the control parts (CC3). Split once per change, never in a getter. */
3744
3890
  set children(value: ComponentNode[]);
@@ -3834,13 +3980,14 @@ declare class SliderContainerComponent implements OnInit, AfterViewInit, OnChang
3834
3980
  _swiper: any;
3835
3981
  private _initRafId;
3836
3982
  private _bindingSub?;
3983
+ private _pageSub?;
3837
3984
  private instanceRegistry;
3838
3985
  private interactionEngine;
3839
3986
  private ngZone;
3840
3987
  /** The canvas's (and Preview's) ONE scene driver — it plays a slider the scroll plays. */
3841
3988
  private sceneCanvas;
3842
3989
  private sceneAttached;
3843
- 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);
3844
3991
  ngOnInit(): void;
3845
3992
  ngAfterViewInit(): void;
3846
3993
  ngOnChanges(changes: SimpleChanges): void;
@@ -3853,6 +4000,8 @@ declare class SliderContainerComponent implements OnInit, AfterViewInit, OnChang
3853
4000
  * same decision the SSR engine runs, so the canvas preview matches the published page. */
3854
4001
  private fetchData;
3855
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;
3856
4005
  private applyFirstItemToTemplate;
3857
4006
  private applyItemToNodes;
3858
4007
  private _isInTemplate;
@@ -3861,7 +4010,7 @@ declare class SliderContainerComponent implements OnInit, AfterViewInit, OnChang
3861
4010
  private swiperInputs;
3862
4011
  private _destroySwiper;
3863
4012
  private _onSwiperEvent;
3864
- 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; }]>;
3865
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>;
3866
4015
  }
3867
4016
 
@@ -5232,5 +5381,5 @@ declare class TextBlockComponentConfig extends ComponentConfig {
5232
5381
  constructor();
5233
5382
  }
5234
5383
 
5235
- 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, NodeAction, OPENING_MIX_TRAIT, 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, 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, markSpecimen, matchesControlSearch, nearestFormNode, neverShown, nodeAncestorPath, nodeAncestorPathInEither, nodeDescriptor, nodeStyleMap, overlayGlobals, 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 };
5236
- 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, 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "11.40.0",
3
+ "version": "11.42.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",