@vectoriox/iox-builder 11.39.0 → 11.41.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.
@@ -17,11 +17,11 @@ import { TooltipModule } from 'primeng/tooltip';
17
17
  import * as i20 from 'primeng/dialog';
18
18
  import { DialogModule } from 'primeng/dialog';
19
19
  import * as i2$1 from '@vectoriox/iox-ui';
20
- import { nodeCssId, needsGroupName, resolveBoundValue, isBoundStyleProp, STRUCTURAL_STATES as STRUCTURAL_STATES$1, VALIDATION_STATES as VALIDATION_STATES$1, VALIDATION_STATE_CLASS as VALIDATION_STATE_CLASS$1, DEFAULT_WIDTH_BY_TYPE, TEXT_DIRECTION_KEY, TEXT_ALIGN_KEY, TextAlign, COLOR_SCHEME_TRAIT, COLOR_SCHEMES, ColorScheme, LinkType, MAX_LINES_KEY, A11yTrait, BREAKPOINTS, Breakpoint, withSchemeInk, stripSuppressedProps, DeclarationContext, planPartRule, gateHoverRule, planResponsiveRules, resolveStyleProps, planStateRule, splitOuterProps, OUTER_STYLE_PROPS, siteColumnOf, compileTokenCssBlocks, catalogFontId, fontsForTokens, GOOGLE_FONTS_FILE_ORIGIN, googleFontHref, compileDeclarations, isLastEmittedStateKey, wrapInBreakpointQuery, BreakpointQueryKind, NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, applyElementStyle, planDataSource, dataSourcePlanToRequest, normalizeCollectionResult, resolveRepeaterItems, getByPath, computeRelative, PROGRESS_ATTRIBUTE, interactionMarkerAttributes, cascadeChain, attachScrollProgress, ContextStore, ENTRANCE_ACTION_TYPES, EXIT_ACTION_TYPES, ComponentInstanceRegistryService, syncInteractionMarkers, entranceStartsHidden, isActionEnabled, restoreCountUp, SCROLL_PROGRESS_TRIGGER, armInteractionCounts, splitPressFeedback, isHoverPointer, isContextAction, contextActionEffect, resolveContextValue, effectiveActionType, INTERACTION_HIDDEN_ATTRIBUTE, COUNT_UP_ACTION, motionAllowed, reducedEntranceRun, settleInteraction, settleModeFor, SettleMode, playInteraction, entranceDelay, repeatedRowIndex, resolveInteractionEasing, entrancePreStateStyle, buildInteractionKeyframes, showToast, declaredInputNames, emptyImagePlaceholder, syncNodeDesignClasses, nodeTraitValue, syncNodeA11yAttributes, nodeA11yAttributes, safeSetInput, colorSchemeOf, withStateTransitions, composeVirtualTraits, stateNamesIn, partClassName, applyBoundStyles, applyBoundStyle, switchElementStyle, releaseElementStyle, countOverrides, setOverride, breakpointDef, breakpointForWidth, FormRenderState, collectContextSlotKeys, withContextSlots, needsAccessibleName, resolveInputs, setInputOverride, barReserveClass, compilePageStyle, nodeUsesContext, attachTooltips, showToastDesign, TOOLTIP_ATTRIBUTE, hidingHeadersIn, HeaderRuntime, inkFollowingHeadersIn, HeaderInkRuntime, isScrolled, SCROLLED_ATTRIBUTE, syncSubmitButtons, IS_PREVIEW, buttonBlockHref, layerFrame, rectInLayer, placeFloating, FloatingAlign, popoverSide, bootSlider, IoxPageModule, PALETTE_PRESETS, elementStyleById, PART_CLASS_NAMES } from '@vectoriox/iox-ui';
20
+ import { nodeCssId, needsGroupName, resolveBoundValue, isBoundStyleProp, STRUCTURAL_STATES as STRUCTURAL_STATES$1, VALIDATION_STATES as VALIDATION_STATES$1, VALIDATION_STATE_CLASS as VALIDATION_STATE_CLASS$1, DEFAULT_WIDTH_BY_TYPE, TEXT_DIRECTION_KEY, TEXT_ALIGN_KEY, TextAlign, COLOR_SCHEME_TRAIT, COLOR_SCHEMES, ColorScheme, LinkType, MAX_LINES_KEY, A11yTrait, BREAKPOINTS, Breakpoint, withSchemeInk, stripSuppressedProps, DeclarationContext, planPartRule, gateHoverRule, planResponsiveRules, resolveStyleProps, planStateRule, splitOuterProps, OUTER_STYLE_PROPS, siteColumnOf, compileTokenCssBlocks, catalogFontId, fontsForTokens, GOOGLE_FONTS_FILE_ORIGIN, googleFontHref, compileDeclarations, isLastEmittedStateKey, wrapInBreakpointQuery, BreakpointQueryKind, NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, applyElementStyle, planDataSource, dataSourcePlanToRequest, normalizeCollectionResult, resolveRepeaterItems, getByPath, computeRelative, PROGRESS_ATTRIBUTE, interactionMarkerAttributes, cascadeChain, attachScrollProgress, ContextStore, ENTRANCE_ACTION_TYPES, EXIT_ACTION_TYPES, ComponentInstanceRegistryService, syncInteractionMarkers, entranceStartsHidden, isActionEnabled, restoreCountUp, SCROLL_PROGRESS_TRIGGER, armInteractionCounts, splitPressFeedback, isHoverPointer, isContextAction, contextActionEffect, resolveContextValue, effectiveActionType, INTERACTION_HIDDEN_ATTRIBUTE, COUNT_UP_ACTION, motionAllowed, reducedEntranceRun, settleInteraction, settleModeFor, SettleMode, playInteraction, entranceDelay, repeatedRowIndex, resolveInteractionEasing, entrancePreStateStyle, buildInteractionKeyframes, showToast, applyBoundStyle, safeSetInput, IS_PREVIEW, declaredInputNames, emptyImagePlaceholder, syncNodeDesignClasses, nodeTraitValue, syncNodeA11yAttributes, nodeA11yAttributes, colorSchemeOf, withStateTransitions, composeVirtualTraits, stateNamesIn, partClassName, applyBoundStyles, switchElementStyle, releaseElementStyle, countOverrides, setOverride, breakpointDef, breakpointForWidth, FormRenderState, collectContextSlotKeys, withContextSlots, needsAccessibleName, resolveInputs, setInputOverride, barReserveClass, compilePageStyle, nodeUsesContext, attachTooltips, showToastDesign, TOOLTIP_ATTRIBUTE, hidingHeadersIn, HeaderRuntime, inkFollowingHeadersIn, HeaderInkRuntime, isScrolled, SCROLLED_ATTRIBUTE, syncSubmitButtons, buttonBlockHref, layerFrame, rectInLayer, placeFloating, FloatingAlign, popoverSide, bootSlider, IoxPageModule, PALETTE_PRESETS, elementStyleById, PART_CLASS_NAMES } from '@vectoriox/iox-ui';
21
21
  export { ComponentInstanceRegistryService, VIRTUAL_TRAIT_KEYS, composeVirtualTraits } from '@vectoriox/iox-ui';
22
22
  import { StructureEdit, isAccordionPart, isDisclosurePart, isSliderPart, isTabsPart, isSegmentedPart, structureRefusal, StructureRefusal, SegmentedRole, SEGMENTED_MAX_OPTIONS, AccordionRole, SEGMENTED_MIN_OPTIONS, isExclusiveItemPart, TabsRole, ITEM_OPEN_STATE, readStyle, isSegmentedRoot, segmentedDefaultOn, segmentedOptions, isTabsRoot, isTabsFromContent, tabsTriggers, isAccordionRoot, isAccordionFromContent, accordionItems, initialAccordionOpen, accordionBehaviour, exclusiveItemLabel, exclusiveRootOf, tabTriggerOf, tabLabel, removeTabPair, tabPanelOf, tabsListOf, tabsPanelsOf, nextTabKey, CompositeBehaviourTrait, ACCORDION_DEFAULT_ONS, TabsBehaviourTrait, TABS_ACTIVATE_ONS, TABS_ORIENTATIONS, MarqueeTrait, MarqueeSpeed, MarqueeDirection, PopupTrait, PopupKind, PopupForm, PopupArrive, PopupAgain, DIALOG_MODAL_TRAIT, DisclosureRole, isExclusiveTrigger, onCompositeItemState, isCompositeItemOn, runAccountAction, ShopActionType, runShopAction, runCompositeItemAction, shouldScrollToItem, rowIndexOf as rowIndexOf$1, slideIndexForRow, isMarqueeRoot, compositeScopeId, compositeRowKeys, isExclusiveRoot, ExclusiveRuntime, exclusiveDefaultOf, exclusiveLabelOf, exclusiveBehaviourOf, exclusiveKindOf, compositeKindOfRole, AccordionRuntime, isToggleKind, MarqueeRuntime, closestAccordionItem, isAnyCompositeRoot, SceneRole, isExclusiveList, buildCardRecipe, buildBadge, buildChip, buildAccordionRecipe, buildDisclosureRecipe, buildTabsRecipe, buildSegmentedRecipe, buildLightboxRecipe, buildMarqueeRecipe, buildCounterRecipe, buildReadingBarRecipe, SHOP_RECIPES, ShopRecipe, ACCOUNT_RECIPES, AccountRecipe, NO_ELEMENT_STYLE, CompositeKind, PopupRole, SliderRole, accordionItemLabel, segmentedOptionLabel, isExclusivePanels, isLockedPart, attachShop, ShopRole, attachAccount, AccountRole, accordionRootOf, accordionItemOf, addAccordionItem, addTabPair, segmentedAddRefusal, addSegmentedOption, isCompositeItem, accordionHeadingLevel, isCompositePanel, isCompositeTrigger, popupFormOf, splitSliderChildren, hasSliderParts, buildConsentRecipe, SLIDE_CAPTION_TRAIT, SLIDER_SCROLL_PLAYS_TRAIT, SLIDER_PLACEMENT_TRAIT, SliderPlacement, SliderFlag } from '@vectoriox/iox-ui/composite-core';
23
23
  import { formContentInHost, isInteractiveHost, findFormContentInHosts, formPresetById, presetFormActions, busyWord, fieldKindWords, channelWords, FORM_CHANNEL_ROLE, channelHref, channelOpensNewTab, FORM_ACTIONS_ROLE, SUBMIT_BUTTON_NODE_TYPE, FORM_NODE_TYPE, FIELD_NODE_TYPE, formWordIn, DEFAULT_BUSY_WORDS, FORM_AFTER_SEND_TRAIT, FormAfterSend, baselineFormWords } from '@vectoriox/iox-ui/forms-core';
24
- import { Subject, BehaviorSubject, of, forkJoin } from 'rxjs';
24
+ import { Subject, BehaviorSubject, of, forkJoin, combineLatest } from 'rxjs';
25
25
  import interact from 'interactjs';
26
26
  import { HeaderTrait, HeaderBehaviour, HeaderEdge, HeaderInk, SECTION_EDGE_TRAIT, SECTION_EDGES, SECTION_SHAPE_TRAIT, SectionShape, MenuTrait, MenuForm, MenuReveal, MenuHover, MenuPhoneForm, MenuButtonKind, localeDirection, pageColumn, pageOpeningScheme, menuDialogAttributes, MenuAttribute } from '@vectoriox/iox-ui/design-core';
27
27
  import { map, catchError, skip } from 'rxjs/operators';
@@ -30,6 +30,7 @@ import { SAMPLE_PRODUCT, productInScope, simulatedCartTransport, storefrontCatal
30
30
  import { POPOVER_ACTION_TYPE_SET, TOAST_ACTION_TYPES, itemActionOf, BEHAVIOUR_ACTION_TYPES, SHOP_ACTION_TYPES, ACCOUNT_ACTION_TYPES, SERVER_ELEMENT_ACTION_TYPES, CONSENT_ACTION_TYPES, opensAtClickedItem, openedDialogId, DIALOG_CLOSING_ATTRIBUTE, cancelExit, runExitMotion, dialogOpenersSelector, dialogDomId, revealOrigin, holdClosedWhile, revealOriginStyle, popoverOpenersSelector, popoverDomId } from '@vectoriox/iox-ui/actions-core';
31
31
  import { NavRole, navShapeBreakpoint, isScrubbedEntrance, ENTRANCE_TRIGGER, entranceInteraction, entranceAction, sectionEntrances, EntrancePart } from '@vectoriox/iox-ui/generation-core';
32
32
  import { ScrollDriver, syncSceneAttributes, SCENE_LAND_TRIGGER, onSceneLand, watchArrival, arrivedWithin, buildSceneRecipe } from '@vectoriox/iox-ui/scene-core';
33
+ import { variableAliases } from '@vectoriox/iox-ui/data-core';
33
34
  import Lenis from 'lenis';
34
35
  import { simulatedSiteAuthTransport } from '@vectoriox/iox-ui/identity-core';
35
36
  import Moveable from 'moveable';
@@ -4134,6 +4135,95 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
4134
4135
  args: [IOX_BUILDER_LABELS]
4135
4136
  }] }] });
4136
4137
 
4138
+ /** The binding prop that names the data source a list (Repeater, SliderContainer) repeats. */
4139
+ const SOURCE_BINDING_PROP = 'source';
4140
+ /**
4141
+ * A node's `source` binding — the canonical carrier of what a list repeats (the composer writes it, the engine reads it
4142
+ * first: `repeaterSource`). Its value is the ALIAS itself, never data, so the render applies it the moment the node is
4143
+ * drawn (vectoriox/iox-ui#162): the canvas once took it from the Bindings PANEL alone, and Preview, which mounts no
4144
+ * panel, drew a composed list unsourced — one empty card. Null when the node has no source binding.
4145
+ */
4146
+ function sourceBindingOf(node) {
4147
+ const binding = node?.bindings?.find(b => b?.prop === SOURCE_BINDING_PROP && !!b.source);
4148
+ return binding ? { source: binding.source, path: binding.path ?? '' } : null;
4149
+ }
4150
+
4151
+ /** No address params — design time: a route filter falls back to `defaultId`, a query filter to its `defaultValue`. */
4152
+ const NO_PAGE_PARAMS = Object.freeze({ route: Object.freeze({}), query: Object.freeze({}) });
4153
+ /** How a PAGE binding (one bound outside any list row) reads its source's value. */
4154
+ var PageBindingRead;
4155
+ (function (PageBindingRead) {
4156
+ /** As the SSR engine's `resolveProps`: path + pipes on the source's value itself. A list read outside a row
4157
+ * answers nothing, so the part keeps its own default. Preview reads this way — it must draw what the site draws. */
4158
+ PageBindingRead["AsEngine"] = "asEngine";
4159
+ /** The editing canvas's design aid: a list source is read as its FIRST row, so a part bound to a list outside a
4160
+ * Repeater still shows a real value while the owner designs it. */
4161
+ PageBindingRead["FirstRow"] = "firstRow";
4162
+ })(PageBindingRead || (PageBindingRead = {}));
4163
+ /**
4164
+ * ONE value rule for a page binding — `undefined` means "leave the part as it is". `AsEngine` mirrors the engine's
4165
+ * `resolveProps` (a null or undefined value is not written); `FirstRow` is the canvas reading the Bindings panel did
4166
+ * before it delegated here. Both go through the shared `resolveBoundValue` (path, then pipes).
4167
+ */
4168
+ function pageBindingValue(raw, binding, read) {
4169
+ const data = read === PageBindingRead.FirstRow && Array.isArray(raw) ? raw[0] : raw;
4170
+ if (data == null)
4171
+ return undefined;
4172
+ const value = resolveBoundValue(data, binding);
4173
+ return value == null ? undefined : value;
4174
+ }
4175
+ /** The trait a SliderContainer stores what it repeats in (a Repeater's `source` binding is canonical, #162). */
4176
+ const SOURCE_PATH_PROP = 'sourcePath';
4177
+ function traitDefault(node, name) {
4178
+ const value = node.traits?.find(t => t.name === name)?.default;
4179
+ return typeof value === 'string' ? value : '';
4180
+ }
4181
+ /**
4182
+ * The aliases a list's ROWS bind to — the engine's row scope (`{ [source]: item, [itemAlias]: item }`): the source it
4183
+ * repeats, and the item alias named after the repeated path's last segment (`product.gallery` → `gallery`). Empty for a
4184
+ * node that repeats nothing. Reads the `source` binding first, then the `source` / `sourcePath` traits — the engine's
4185
+ * `repeaterSource` / `repeaterItemAlias` order.
4186
+ */
4187
+ function listScopeAliases(node) {
4188
+ const bound = sourceBindingOf(node);
4189
+ const source = bound?.source ?? traitDefault(node, SOURCE_BINDING_PROP);
4190
+ if (!source)
4191
+ return [];
4192
+ const path = bound ? bound.path : traitDefault(node, SOURCE_PATH_PROP);
4193
+ const itemAlias = path.split('.').filter(Boolean).pop() || source;
4194
+ return itemAlias === source ? [source] : [source, itemAlias];
4195
+ }
4196
+ /**
4197
+ * Every node inside a list's template → the aliases its enclosing lists own (nested lists add up). A binding to one of
4198
+ * them is the LIST's to apply per row (the Repeater writes row 1, its copies carry the rest), never the page's.
4199
+ */
4200
+ function listOwnedAliases(nodes) {
4201
+ const owned = new Map();
4202
+ const mark = (children, aliases) => {
4203
+ for (const child of children ?? []) {
4204
+ const set = owned.get(child) ?? new Set();
4205
+ aliases.forEach(a => set.add(a));
4206
+ owned.set(child, set);
4207
+ const inner = listScopeAliases(child);
4208
+ mark(child.children, inner.length ? new Set([...set, ...inner]) : set);
4209
+ }
4210
+ };
4211
+ for (const node of nodes) {
4212
+ const aliases = listScopeAliases(node);
4213
+ if (aliases.length)
4214
+ mark(node.children, new Set([...(owned.get(node) ?? []), ...aliases]));
4215
+ }
4216
+ return owned;
4217
+ }
4218
+ /**
4219
+ * A node's PAGE bindings — the ones the page resolver writes: not a list's `source` binding (the render applies it,
4220
+ * #162), not one without a source, not one whose source is `skip`ped (an enclosing list's alias, a variable — the
4221
+ * context engine writes those).
4222
+ */
4223
+ function pageBindingsOf(node, skip = new Set()) {
4224
+ return (node.bindings ?? []).filter(b => !!b?.source && b.prop !== SOURCE_BINDING_PROP && !skip.has(b.source));
4225
+ }
4226
+
4137
4227
  /**
4138
4228
  * Public content bases the builder canvas resolves data against — the SAME `@Public()` controllers
4139
4229
  * the live storefront (SSR engine) hits, so the canvas preview shows what the published page shows.
@@ -4160,19 +4250,19 @@ class BuilderDataSourceService {
4160
4250
  get isConfigured() { return !!this.endpoints; }
4161
4251
  /**
4162
4252
  * Resolve a data source to the value its MODE describes: the item for a `single` source, the
4163
- * array for a `list`. The builder is design time — there are no live route or query params — so
4164
- * a route filter falls back to `defaultId` and a query filter to its `defaultValue`, which is
4165
- * exactly what `planDataSource` does with empty params.
4253
+ * array for a `list`. `params` are the page's address params — Preview passes the ones it opened with
4254
+ * (vectoriox/iox-ui#164); the editing canvas has none, so a route filter falls back to `defaultId` and
4255
+ * a query filter to its `defaultValue`, exactly what `planDataSource` does with empty params.
4166
4256
  *
4167
4257
  * Callers pass the source itself (resolved from their own page-scoped
4168
4258
  * `DataSourceRegistryService`) rather than an alias: this service is module-scoped and must not
4169
4259
  * capture a registry from the wrong injector. Emits `null` when the source resolves to no
4170
4260
  * request or the fetch fails — the canvas degrades to an empty preview, it never throws.
4171
4261
  */
4172
- fetch(ds) {
4262
+ fetch(ds, params = NO_PAGE_PARAMS) {
4173
4263
  if (!ds)
4174
4264
  return of(null);
4175
- const plan = planDataSource(ds);
4265
+ const plan = planDataSource(ds, params.route, params.query);
4176
4266
  if (plan.kind === 'static')
4177
4267
  return of(plan.data);
4178
4268
  if (plan.kind === 'none' || !this.endpoints)
@@ -4189,16 +4279,16 @@ class BuilderDataSourceService {
4189
4279
  : normalizeCollectionResult(mode, data)), catchError(() => of(null)));
4190
4280
  }
4191
4281
  /** Same fetch, always as an array — for the canvas components that repeat over the source. */
4192
- fetchItems(ds) {
4193
- return this.fetchRepeaterItems(ds);
4282
+ fetchItems(ds, params = NO_PAGE_PARAMS) {
4283
+ return this.fetchRepeaterItems(ds, undefined, params);
4194
4284
  }
4195
4285
  /**
4196
4286
  * Items a Repeater/Slider iterates over. With `sourcePath` it repeats over an array PROPERTY of a
4197
4287
  * SINGLE-resource source (e.g. `product.gallery`); without it the source itself is the list.
4198
4288
  * Uses the SHARED `resolveRepeaterItems` so the canvas preview matches the SSR engine.
4199
4289
  */
4200
- fetchRepeaterItems(ds, sourcePath) {
4201
- return this.fetch(ds).pipe(map(value => resolveRepeaterItems(value, sourcePath)));
4290
+ fetchRepeaterItems(ds, sourcePath, params = NO_PAGE_PARAMS) {
4291
+ return this.fetch(ds, params).pipe(map(value => resolveRepeaterItems(value, sourcePath)));
4202
4292
  }
4203
4293
  /**
4204
4294
  * Resolve a data source BY ALIAS, following `derived` aliases (a VIEW into another variable:
@@ -4209,9 +4299,9 @@ class BuilderDataSourceService {
4209
4299
  * The builder is design time: `relative` sources resolve their dependency aliases (subject +
4210
4300
  * collection) — a single source falls back to its `defaultId`, a list to the whole collection —
4211
4301
  * then run the SHARED `computeRelative`, so the canvas shows the SAME neighbours the SSR engine
4212
- * bakes into the live page. `$route` has no live params at design time → `{}`.
4302
+ * bakes into the live page. `$route` is the page's route params (`{}` at design time).
4213
4303
  */
4214
- fetchByAlias(alias, findByAlias) {
4304
+ fetchByAlias(alias, findByAlias, params = NO_PAGE_PARAMS) {
4215
4305
  const ds = findByAlias(alias);
4216
4306
  if (!ds)
4217
4307
  return of(null);
@@ -4219,26 +4309,26 @@ class BuilderDataSourceService {
4219
4309
  const d = ds.request?.derived;
4220
4310
  if (!d?.from)
4221
4311
  return of(null);
4222
- return this.fetchByAlias(d.from, findByAlias).pipe(map(parent => getByPath(parent, d.path ?? '')));
4312
+ return this.fetchByAlias(d.from, findByAlias, params).pipe(map(parent => getByPath(parent, d.path ?? '')));
4223
4313
  }
4224
4314
  if (ds.type === 'relative') {
4225
4315
  const spec = ds.request?.relative;
4226
4316
  if (!spec)
4227
4317
  return of(null);
4228
4318
  if (spec.kind === 'route')
4229
- return of({});
4319
+ return of(computeRelative(spec, { routeParams: params.route }));
4230
4320
  const subjectAlias = spec.kind === 'current' ? spec.from : (spec.subjectFrom ?? spec.from);
4231
4321
  const needsCollection = spec.kind === 'siblings' || spec.kind === 'related';
4232
4322
  return forkJoin({
4233
- subject: subjectAlias ? this.fetchByAlias(subjectAlias, findByAlias) : of(undefined),
4234
- collection: needsCollection && spec.from ? this.fetchByAlias(spec.from, findByAlias) : of(undefined),
4235
- }).pipe(map(({ subject, collection }) => computeRelative(spec, { subject, collection, routeParams: {} })));
4323
+ subject: subjectAlias ? this.fetchByAlias(subjectAlias, findByAlias, params) : of(undefined),
4324
+ collection: needsCollection && spec.from ? this.fetchByAlias(spec.from, findByAlias, params) : of(undefined),
4325
+ }).pipe(map(({ subject, collection }) => computeRelative(spec, { subject, collection, routeParams: params.route })));
4236
4326
  }
4237
- return this.fetch(ds);
4327
+ return this.fetch(ds, params);
4238
4328
  }
4239
4329
  /** Repeater items for an alias (follows derived aliases + applies an optional sourcePath). */
4240
- fetchRepeaterItemsByAlias(alias, findByAlias, sourcePath) {
4241
- return this.fetchByAlias(alias, findByAlias).pipe(map(value => resolveRepeaterItems(value, sourcePath)));
4330
+ fetchRepeaterItemsByAlias(alias, findByAlias, sourcePath, params = NO_PAGE_PARAMS) {
4331
+ return this.fetchByAlias(alias, findByAlias, params).pipe(map(value => resolveRepeaterItems(value, sourcePath)));
4242
4332
  }
4243
4333
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderDataSourceService, deps: [{ token: i1.HttpClient }, { token: IOX_DATA_SOURCE_ENDPOINTS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
4244
4334
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderDataSourceService }); }
@@ -4264,6 +4354,11 @@ class DataSourceRegistryService {
4264
4354
  constructor() {
4265
4355
  this._ds$ = new BehaviorSubject([]);
4266
4356
  this.dataSources$ = this._ds$.asObservable();
4357
+ this._params$ = new BehaviorSubject(NO_PAGE_PARAMS);
4358
+ /** The page's address params (vectoriox/iox-ui#164): Preview sets the route params it opened with (`?slug=…`, the
4359
+ * param prompt) so a route-filtered source resolves to THAT item, as the engine resolves it. The editing canvas
4360
+ * never sets them — design time keeps `planDataSource`'s fallbacks (`defaultId`, the first item). */
4361
+ this.pageParams$ = this._params$.asObservable();
4267
4362
  }
4268
4363
  setDataSources(ds) {
4269
4364
  this._ds$.next(ds);
@@ -4277,6 +4372,12 @@ class DataSourceRegistryService {
4277
4372
  getAliasOptions() {
4278
4373
  return this._ds$.value.map(ds => ({ label: ds.alias, value: ds.alias }));
4279
4374
  }
4375
+ get pageParams() {
4376
+ return this._params$.value;
4377
+ }
4378
+ setPageParams(params) {
4379
+ this._params$.next({ route: { ...(params?.route ?? {}) }, query: { ...(params?.query ?? {}) } });
4380
+ }
4280
4381
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: DataSourceRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4281
4382
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: DataSourceRegistryService }); }
4282
4383
  }
@@ -5633,6 +5734,129 @@ function showCanvasToast(text, edge, from) {
5633
5734
  showToast(doc, typeof text === 'string' ? text : '', { edge: typeof edge === 'string' ? edge : null, from, topLayer: false, container: canvasFloatingContainer(from) });
5634
5735
  }
5635
5736
 
5737
+ /**
5738
+ * Draws a page's bindings — every part bound OUTSIDE a list row (a detail page's title bound to `piece`, a heading bound
5739
+ * to a single source) — on the canvas and in Preview alike (vectoriox/iox-ui#164). Before it, only the admin's Bindings
5740
+ * PANEL did this, so Preview (which mounts no panel) drew those parts empty, and no fetch ever saw the page's route
5741
+ * params.
5742
+ *
5743
+ * Page-scoped: a host provides it beside `DataSourceRegistryService`; the RenderDirective tells it when a node is drawn,
5744
+ * and it applies the page bindings of every registered node in ONE deferred pass. Values come through the library's
5745
+ * `BuilderDataSourceService.fetchByAlias` with the registry's page params, once per alias, cached until the page's
5746
+ * sources or params change. What it leaves alone: a list's `source` binding (the render applies it, #162), a binding an
5747
+ * enclosing list owns (its rows), and a variable (the context engine fills it at run time).
5748
+ */
5749
+ class PageBindingResolverService {
5750
+ constructor(overlay, registry, dataSources, isPreview) {
5751
+ this.overlay = overlay;
5752
+ this.registry = registry;
5753
+ this.dataSources = dataSources;
5754
+ this.cache = new Map();
5755
+ this.inFlight = new Map();
5756
+ this.resolvedSubject = new Subject();
5757
+ /** The alias whose value just landed — the panel re-reads its selected node's bound rows on it. */
5758
+ this.resolved$ = this.resolvedSubject.asObservable();
5759
+ this.fingerprint = '';
5760
+ this.passTimer = null;
5761
+ this.destroyed = false;
5762
+ this.read = isPreview ? PageBindingRead.AsEngine : PageBindingRead.FirstRow;
5763
+ this.sub = combineLatest([registry.dataSources$, registry.pageParams$]).subscribe(([sources, params]) => {
5764
+ // A new definition or new params change what every alias resolves to (a derived or relative alias follows
5765
+ // others), so the whole page refetches; an identical re-emit (the panel re-seeds the registry) does not.
5766
+ const next = JSON.stringify([sources, params]);
5767
+ if (next === this.fingerprint)
5768
+ return;
5769
+ this.fingerprint = next;
5770
+ this.reset();
5771
+ this.schedule();
5772
+ });
5773
+ }
5774
+ /** A node was drawn (the RenderDirective calls this): apply the page's bindings in one deferred pass. */
5775
+ nodeRendered() {
5776
+ this.schedule();
5777
+ }
5778
+ /** The resolved value of `alias`, `undefined` until it lands. */
5779
+ valueOf(alias) {
5780
+ return this.cache.get(alias);
5781
+ }
5782
+ /** Make sure `alias` is fetched (a panel row reads its fields before any part binds to it). */
5783
+ ensure(alias) {
5784
+ if (!alias || this.cache.has(alias) || this.inFlight.has(alias) || !this.registry.findByAlias(alias))
5785
+ return;
5786
+ const sub = this.dataSources
5787
+ .fetchByAlias(alias, a => this.registry.findByAlias(a), this.registry.pageParams)
5788
+ .subscribe(value => {
5789
+ this.inFlight.delete(alias);
5790
+ if (this.destroyed)
5791
+ return;
5792
+ this.cache.set(alias, value);
5793
+ this.resolvedSubject.next(alias);
5794
+ this.schedule();
5795
+ });
5796
+ // A synchronous answer (a static source, `$route`) has already landed and removed itself.
5797
+ if (!this.cache.has(alias))
5798
+ this.inFlight.set(alias, sub);
5799
+ }
5800
+ /** Apply every registered node's page bindings now (the deferred pass; public for hosts and specs). */
5801
+ applyAll() {
5802
+ const entries = Array.from(this.overlay.getAllNodeEntries());
5803
+ const owned = listOwnedAliases(entries.map(([node]) => node));
5804
+ const variables = variableAliases(this.registry.getDataSources());
5805
+ for (const [node, ref] of entries) {
5806
+ if (!ref?.componentRef?.instance || node.__previewClone)
5807
+ continue;
5808
+ const skip = new Set([...variables, ...(owned.get(node) ?? [])]);
5809
+ for (const binding of pageBindingsOf(node, skip)) {
5810
+ if (!this.cache.has(binding.source)) {
5811
+ this.ensure(binding.source);
5812
+ continue;
5813
+ }
5814
+ const value = pageBindingValue(this.cache.get(binding.source), binding, this.read);
5815
+ if (value === undefined)
5816
+ continue;
5817
+ // A `style:` binding is written on the element (the shared carrier), never pushed into an input.
5818
+ if (applyBoundStyle(ref.element, binding.prop, value))
5819
+ continue;
5820
+ safeSetInput(ref.componentRef, binding.prop, value);
5821
+ ref.componentRef.changeDetectorRef.markForCheck();
5822
+ }
5823
+ }
5824
+ }
5825
+ ngOnDestroy() {
5826
+ this.destroyed = true;
5827
+ if (this.passTimer)
5828
+ clearTimeout(this.passTimer);
5829
+ this.sub.unsubscribe();
5830
+ this.reset();
5831
+ this.resolvedSubject.complete();
5832
+ }
5833
+ schedule() {
5834
+ if (this.destroyed || this.passTimer)
5835
+ return;
5836
+ // Nodes render in bursts (first load, a drop): one pass after the burst, never one per node.
5837
+ this.passTimer = setTimeout(() => {
5838
+ this.passTimer = null;
5839
+ if (!this.destroyed)
5840
+ this.applyAll();
5841
+ }, 0);
5842
+ }
5843
+ reset() {
5844
+ this.inFlight.forEach(sub => sub.unsubscribe());
5845
+ this.inFlight.clear();
5846
+ this.cache.clear();
5847
+ }
5848
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: PageBindingResolverService, deps: [{ token: OverlayService }, { token: DataSourceRegistryService }, { token: BuilderDataSourceService }, { token: IS_PREVIEW, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
5849
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: PageBindingResolverService }); }
5850
+ }
5851
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: PageBindingResolverService, decorators: [{
5852
+ type: Injectable
5853
+ }], ctorParameters: () => [{ type: OverlayService }, { type: DataSourceRegistryService }, { type: BuilderDataSourceService }, { type: undefined, decorators: [{
5854
+ type: Optional
5855
+ }, {
5856
+ type: Inject,
5857
+ args: [IS_PREVIEW]
5858
+ }] }] });
5859
+
5636
5860
  // Virtual trait composition now lives in @vectoriox/iox-ui so the SSR engine (which does NOT depend
5637
5861
  // on iox-builder) can use the SAME logic — otherwise the engine emitted raw virtual keys
5638
5862
  // (translate-x, filter-blur…) as invalid CSS. This is a re-export passthrough to keep existing
@@ -5967,6 +6191,8 @@ class RenderDirective {
5967
6191
  this.designState = inject(CanvasDesignStateService, { optional: true });
5968
6192
  this.compositeCanvas = inject(CompositeCanvasService, { optional: true });
5969
6193
  this.sceneCanvas = inject(SceneCanvasService, { optional: true });
6194
+ /** The page's binding resolver, when the host provides one (the canvas, Preview — vectoriox/iox-ui#164). */
6195
+ this.pageBindings = inject(PageBindingResolverService, { optional: true });
5970
6196
  /** The Scene root this directive drives. */
5971
6197
  this.sceneRootEl = null;
5972
6198
  /** The node this directive attached a composite runtime for (an accordion root). */
@@ -6150,6 +6376,16 @@ class RenderDirective {
6150
6376
  // safeSetInput for every component that does not declare it.
6151
6377
  if (node.responsive)
6152
6378
  safeSetInput(componentRef, 'responsive', node.responsive);
6379
+ // A list's `source` BINDING is the node's own — the alias, never data — so it lands here, as the node is drawn,
6380
+ // on every surface (vectoriox/iox-ui#162). It used to land only through the Bindings PANEL: Preview mounts none,
6381
+ // so a composed list (the composer binds its source) drew unsourced there — one empty card where the site lists
6382
+ // its items. Before `children` (the Repeater's order: source → children). A preview row's own lists keep what
6383
+ // the panel gave them (nothing — they repeat with their row).
6384
+ const sourceBinding = isDisplayOnlyNode(node, this.displayOnly) ? null : sourceBindingOf(node);
6385
+ if (sourceBinding) {
6386
+ safeSetInput(componentRef, 'sourcePath', sourceBinding.path);
6387
+ safeSetInput(componentRef, 'source', sourceBinding.source);
6388
+ }
6153
6389
  // A Date field's design-time Open state (premium N8): "Showing on canvas ▸ Open" draws its calendar under it so
6154
6390
  // the author can style the Calendar parts — the R2 state every hidden-at-rest part reads (CC1.3 / CC2).
6155
6391
  if (node.type === FIELD_TYPE && this.designState && node.id) {
@@ -6345,6 +6581,8 @@ class RenderDirective {
6345
6581
  // ComponentRef — needed after cross-container drag where Angular
6346
6582
  // creates a fresh instance that hasn't had bindings pushed to it yet.
6347
6583
  this.panelEventService.emit(PanelEventTypes.NODE_RENDERED, { node });
6584
+ // …and the page's resolver, which draws every part bound outside a list row (Preview has no panel, #164).
6585
+ this.pageBindings?.nodeRendered();
6348
6586
  nativeEl.addEventListener('mouseenter', (event) => {
6349
6587
  if (event._fromClick)
6350
6588
  return;
@@ -6540,6 +6778,14 @@ class BuilderRepeaterComponent {
6540
6778
  if (this.items.length)
6541
6779
  setTimeout(() => this.refreshPreviews());
6542
6780
  }
6781
+ /**
6782
+ * Whether the template row is drawn. The canvas always draws it — it is what the author edits. Preview draws it only
6783
+ * once the source answered with rows, as the engine draws a list (`repeaterItems`: no source or no rows → no row): a
6784
+ * list with nothing to show drew ONE empty card there — an empty picture under the scrim, no words (iox-ui#162).
6785
+ */
6786
+ get drawsTemplate() {
6787
+ return !this.isPreview || this.items.length > 0;
6788
+ }
6543
6789
  /** A composite whose source answered with no rows: the placeholder takes the template's place. */
6544
6790
  get showsEmptySource() {
6545
6791
  // An Accordion's — or a Tabs' list (CC4a; its panels holder says nothing twice) — source that came back empty.
@@ -6590,7 +6836,7 @@ class BuilderRepeaterComponent {
6590
6836
  this.fetchData();
6591
6837
  }
6592
6838
  }
6593
- constructor(dragEngine, overlayService, dataSourceService, dsRegistry, panelEventService, cdr, interactionEngine, labels, typeLabels) {
6839
+ constructor(dragEngine, overlayService, dataSourceService, dsRegistry, panelEventService, cdr, interactionEngine, labels, typeLabels, preview) {
6594
6840
  this.dragEngine = dragEngine;
6595
6841
  this.overlayService = overlayService;
6596
6842
  this.dataSourceService = dataSourceService;
@@ -6614,6 +6860,8 @@ class BuilderRepeaterComponent {
6614
6860
  this.node = null;
6615
6861
  /** Set once a fetch has answered — an empty source is a FINDING only after it said so. */
6616
6862
  this.fetched = false;
6863
+ this.viewReady = false;
6864
+ this.destroyed = false;
6617
6865
  /** Bound reference passed to [ioxDropzonePostDrop] so the directive can call it. */
6618
6866
  this.refreshPreviewsBound = () => { setTimeout(() => this.refreshPreviews()); };
6619
6867
  this._source = '';
@@ -6625,6 +6873,7 @@ class BuilderRepeaterComponent {
6625
6873
  * each firing a fetch; the transient mismatched one (old source + new path, or vice-versa) must not
6626
6874
  * clobber the correct result if it resolves last. Only the newest fetch's response is applied. */
6627
6875
  this._fetchSeq = 0;
6876
+ this.isPreview = !!preview;
6628
6877
  }
6629
6878
  ngOnInit() {
6630
6879
  this.bindingSub = this.panelEventService.subscribe(event => {
@@ -6652,7 +6901,11 @@ class BuilderRepeaterComponent {
6652
6901
  sourceDefinition() {
6653
6902
  return JSON.stringify(this.dsRegistry.findByAlias(this._source) ?? null);
6654
6903
  }
6904
+ ngAfterViewInit() {
6905
+ this.viewReady = true;
6906
+ }
6655
6907
  ngOnDestroy() {
6908
+ this.destroyed = true;
6656
6909
  this.bindingSub?.unsubscribe();
6657
6910
  this.sourceSub?.unsubscribe();
6658
6911
  }
@@ -6671,7 +6924,8 @@ class BuilderRepeaterComponent {
6671
6924
  this.cdr.markForCheck();
6672
6925
  // Resolve BY ALIAS so `derived` sources (e.g. galleryImages = product.gallery) follow their
6673
6926
  // parent. `sourcePath` (legacy/back-compat) still repeats over an array property inline.
6674
- this.dataSourceService.fetchRepeaterItemsByAlias(this._source, (a) => this.dsRegistry.findByAlias(a), this._sourcePath).subscribe(items => {
6927
+ // The page's address params (Preview's `?slug=…`, iox-ui#164); none on the editing canvas.
6928
+ this.dataSourceService.fetchRepeaterItemsByAlias(this._source, (a) => this.dsRegistry.findByAlias(a), this._sourcePath, this.dsRegistry.pageParams).subscribe(items => {
6675
6929
  if (seq !== this._fetchSeq)
6676
6930
  return; // a newer fetch superseded this one — ignore stale items
6677
6931
  this.items = items.slice(0, this._limit);
@@ -6679,6 +6933,10 @@ class BuilderRepeaterComponent {
6679
6933
  // Row markers store a REFERENCE (source + index); the engine needs the array to resolve
6680
6934
  // it back to an item, exactly as the SSR runtime uses resolvedData.
6681
6935
  this.interactionEngine.setContextData({ [this._source]: this.items });
6936
+ // Preview drew no template row while there were no rows (drawsTemplate): draw it NOW, so row 1 takes item[0]'s
6937
+ // values in this same turn — never an empty card first.
6938
+ if (this.isPreview && this.viewReady && !this.destroyed)
6939
+ this.cdr.detectChanges();
6682
6940
  this.refreshPreviews();
6683
6941
  this.isLoading = false;
6684
6942
  this.cdr.markForCheck();
@@ -6744,7 +7002,7 @@ class BuilderRepeaterComponent {
6744
7002
  if (this.items.length)
6745
7003
  setTimeout(() => this.refreshPreviews());
6746
7004
  }
6747
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderRepeaterComponent, deps: [{ token: DragEngineService }, { token: OverlayService }, { token: BuilderDataSourceService }, { token: DataSourceRegistryService }, { token: PanelEventService }, { token: i0.ChangeDetectorRef }, { token: InteractionEngineService }, { token: IOX_BUILDER_LABELS, optional: true }, { token: IOX_CONTENT_TYPE_LABELS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
7005
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderRepeaterComponent, deps: [{ token: DragEngineService }, { token: OverlayService }, { token: BuilderDataSourceService }, { token: DataSourceRegistryService }, { token: PanelEventService }, { token: i0.ChangeDetectorRef }, { token: InteractionEngineService }, { token: IOX_BUILDER_LABELS, optional: true }, { token: IOX_CONTENT_TYPE_LABELS, optional: true }, { token: IS_PREVIEW, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
6748
7006
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: BuilderRepeaterComponent, isStandalone: false, selector: "app-builder-repeater", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId", source: "source", sourcePath: "sourcePath", limit: "limit" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, ngImport: i0, template: `
6749
7007
  <ng-template #badgeContent>
6750
7008
  <i class="ph-thin ph-repeat"></i>
@@ -6763,7 +7021,7 @@ class BuilderRepeaterComponent {
6763
7021
  In empty state, .repeater-badge lives inside .repeater-root (no items
6764
7022
  to count, so :nth-child is irrelevant there).
6765
7023
  -->
6766
- <div class="repeater-wrapper" [class.has-children]="children.length > 0">
7024
+ <div class="repeater-wrapper" [class.has-children]="children.length > 0" [class.is-preview]="isPreview">
6767
7025
 
6768
7026
  <!-- HAS-CHILDREN: badge outside root, absolute over wrapper -->
6769
7027
  <div *ngIf="children.length > 0" class="repeater-badge" data-iox-chrome>
@@ -6797,7 +7055,7 @@ class BuilderRepeaterComponent {
6797
7055
  <strong>{{ emptySourceTitle }}</strong>
6798
7056
  <span>{{ emptySourceHint }}</span>
6799
7057
  </div>
6800
- } @else {
7058
+ } @else if (drawsTemplate) {
6801
7059
  <!-- Template items — DIRECT children of repeater-root.
6802
7060
  :first-child / :nth-child(odd) etc. now correctly target these
6803
7061
  as siblings of the preview items below. -->
@@ -6835,7 +7093,7 @@ class BuilderRepeaterComponent {
6835
7093
  </ng-container>
6836
7094
  </div>
6837
7095
  </div>
6838
- `, isInline: true, styles: [".repeater-wrapper{position:relative;box-sizing:border-box}.repeater-badge{display:flex;align-items:center;gap:.4rem;padding:4px 8px;font-size:11px;color:#cb9090;background:#cb909014;border:1px dashed rgba(203,144,144,.4);border-bottom:none;border-radius:4px 4px 0 0;-webkit-user-select:none;user-select:none}.repeater-wrapper.has-children>.repeater-badge{position:absolute;top:0;inset-inline-start:0;z-index:10;border-radius:0 0 4px;border:1px solid rgba(203,144,144,.5);opacity:0;pointer-events:none;transition:opacity .15s}.repeater-wrapper.has-children:hover>.repeater-badge{opacity:1}.repeater-badge i{font-size:13px}.repeater-badge-empty{opacity:.55}.repeater-badge-count{margin-left:auto;font-weight:600}.repeater-badge-loading i{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.repeater-root{box-sizing:border-box}.repeater-wrapper:not(.has-children) .repeater-root{outline:1px dashed rgba(203,144,144,.4);outline-offset:-1px;min-height:40px}.repeater-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1.5rem 1rem;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none}.repeater-placeholder i{font-size:20px}.repeater-placeholder--source{border:1px dashed rgba(203,144,144,.5);border-radius:4px;text-align:center;color:#475569d9;font-size:13px;line-height:1.5}.repeater-placeholder--source strong{font-weight:600;color:#1e293be6}.repeater-item-template{min-width:0}.repeater-preview-child{opacity:.55;pointer-events:none;min-width:0}:host(.iox-role-accordion) .repeater-preview-child,:host(.iox-role-tabs-list) .repeater-preview-child,:host(.iox-role-tabs-panels) .repeater-preview-child{pointer-events:auto}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RenderDirective, selector: "[ioxRender]", inputs: ["ioxRender", "ioxDragSourceId", "ioxPhrasing"], outputs: ["onClick", "onMouseEnter", "onMouseLeave"] }, { kind: "directive", type: IoxDraggableDirective, selector: "[ioxDraggable]", inputs: ["ioxDragData", "ioxDragSourceId", "ioxDragDisabled"] }, { kind: "directive", type: IoxDropzoneDirective, selector: "[ioxDropzone]", inputs: ["ioxDropzoneId", "ioxDropzoneData", "ioxDropzonePostDrop"], outputs: ["ioxDrop"] }] }); }
7096
+ `, isInline: true, styles: [".repeater-wrapper{position:relative;box-sizing:border-box}.repeater-badge{display:flex;align-items:center;gap:.4rem;padding:4px 8px;font-size:11px;color:#cb9090;background:#cb909014;border:1px dashed rgba(203,144,144,.4);border-bottom:none;border-radius:4px 4px 0 0;-webkit-user-select:none;user-select:none}.repeater-wrapper.has-children>.repeater-badge{position:absolute;top:0;inset-inline-start:0;z-index:10;border-radius:0 0 4px;border:1px solid rgba(203,144,144,.5);opacity:0;pointer-events:none;transition:opacity .15s}.repeater-wrapper.has-children:hover>.repeater-badge{opacity:1}.repeater-badge i{font-size:13px}.repeater-badge-empty{opacity:.55}.repeater-badge-count{margin-left:auto;font-weight:600}.repeater-badge-loading i{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.repeater-root{box-sizing:border-box}.repeater-wrapper:not(.has-children) .repeater-root{outline:1px dashed rgba(203,144,144,.4);outline-offset:-1px;min-height:40px}.repeater-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1.5rem 1rem;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none}.repeater-placeholder i{font-size:20px}.repeater-placeholder--source{border:1px dashed rgba(203,144,144,.5);border-radius:4px;text-align:center;color:#475569d9;font-size:13px;line-height:1.5}.repeater-placeholder--source strong{font-weight:600;color:#1e293be6}.repeater-item-template{min-width:0}.repeater-preview-child{opacity:.55;pointer-events:none;min-width:0}.repeater-wrapper.is-preview .repeater-preview-child{opacity:1;pointer-events:auto}:host(.iox-role-accordion) .repeater-preview-child,:host(.iox-role-tabs-list) .repeater-preview-child,:host(.iox-role-tabs-panels) .repeater-preview-child{pointer-events:auto}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RenderDirective, selector: "[ioxRender]", inputs: ["ioxRender", "ioxDragSourceId", "ioxPhrasing"], outputs: ["onClick", "onMouseEnter", "onMouseLeave"] }, { kind: "directive", type: IoxDraggableDirective, selector: "[ioxDraggable]", inputs: ["ioxDragData", "ioxDragSourceId", "ioxDragDisabled"] }, { kind: "directive", type: IoxDropzoneDirective, selector: "[ioxDropzone]", inputs: ["ioxDropzoneId", "ioxDropzoneData", "ioxDropzonePostDrop"], outputs: ["ioxDrop"] }] }); }
6839
7097
  }
6840
7098
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderRepeaterComponent, decorators: [{
6841
7099
  type: Component,
@@ -6857,7 +7115,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
6857
7115
  In empty state, .repeater-badge lives inside .repeater-root (no items
6858
7116
  to count, so :nth-child is irrelevant there).
6859
7117
  -->
6860
- <div class="repeater-wrapper" [class.has-children]="children.length > 0">
7118
+ <div class="repeater-wrapper" [class.has-children]="children.length > 0" [class.is-preview]="isPreview">
6861
7119
 
6862
7120
  <!-- HAS-CHILDREN: badge outside root, absolute over wrapper -->
6863
7121
  <div *ngIf="children.length > 0" class="repeater-badge" data-iox-chrome>
@@ -6891,7 +7149,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
6891
7149
  <strong>{{ emptySourceTitle }}</strong>
6892
7150
  <span>{{ emptySourceHint }}</span>
6893
7151
  </div>
6894
- } @else {
7152
+ } @else if (drawsTemplate) {
6895
7153
  <!-- Template items — DIRECT children of repeater-root.
6896
7154
  :first-child / :nth-child(odd) etc. now correctly target these
6897
7155
  as siblings of the preview items below. -->
@@ -6929,7 +7187,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
6929
7187
  </ng-container>
6930
7188
  </div>
6931
7189
  </div>
6932
- `, standalone: false, styles: [".repeater-wrapper{position:relative;box-sizing:border-box}.repeater-badge{display:flex;align-items:center;gap:.4rem;padding:4px 8px;font-size:11px;color:#cb9090;background:#cb909014;border:1px dashed rgba(203,144,144,.4);border-bottom:none;border-radius:4px 4px 0 0;-webkit-user-select:none;user-select:none}.repeater-wrapper.has-children>.repeater-badge{position:absolute;top:0;inset-inline-start:0;z-index:10;border-radius:0 0 4px;border:1px solid rgba(203,144,144,.5);opacity:0;pointer-events:none;transition:opacity .15s}.repeater-wrapper.has-children:hover>.repeater-badge{opacity:1}.repeater-badge i{font-size:13px}.repeater-badge-empty{opacity:.55}.repeater-badge-count{margin-left:auto;font-weight:600}.repeater-badge-loading i{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.repeater-root{box-sizing:border-box}.repeater-wrapper:not(.has-children) .repeater-root{outline:1px dashed rgba(203,144,144,.4);outline-offset:-1px;min-height:40px}.repeater-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1.5rem 1rem;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none}.repeater-placeholder i{font-size:20px}.repeater-placeholder--source{border:1px dashed rgba(203,144,144,.5);border-radius:4px;text-align:center;color:#475569d9;font-size:13px;line-height:1.5}.repeater-placeholder--source strong{font-weight:600;color:#1e293be6}.repeater-item-template{min-width:0}.repeater-preview-child{opacity:.55;pointer-events:none;min-width:0}:host(.iox-role-accordion) .repeater-preview-child,:host(.iox-role-tabs-list) .repeater-preview-child,:host(.iox-role-tabs-panels) .repeater-preview-child{pointer-events:auto}\n"] }]
7190
+ `, standalone: false, styles: [".repeater-wrapper{position:relative;box-sizing:border-box}.repeater-badge{display:flex;align-items:center;gap:.4rem;padding:4px 8px;font-size:11px;color:#cb9090;background:#cb909014;border:1px dashed rgba(203,144,144,.4);border-bottom:none;border-radius:4px 4px 0 0;-webkit-user-select:none;user-select:none}.repeater-wrapper.has-children>.repeater-badge{position:absolute;top:0;inset-inline-start:0;z-index:10;border-radius:0 0 4px;border:1px solid rgba(203,144,144,.5);opacity:0;pointer-events:none;transition:opacity .15s}.repeater-wrapper.has-children:hover>.repeater-badge{opacity:1}.repeater-badge i{font-size:13px}.repeater-badge-empty{opacity:.55}.repeater-badge-count{margin-left:auto;font-weight:600}.repeater-badge-loading i{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.repeater-root{box-sizing:border-box}.repeater-wrapper:not(.has-children) .repeater-root{outline:1px dashed rgba(203,144,144,.4);outline-offset:-1px;min-height:40px}.repeater-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1.5rem 1rem;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none}.repeater-placeholder i{font-size:20px}.repeater-placeholder--source{border:1px dashed rgba(203,144,144,.5);border-radius:4px;text-align:center;color:#475569d9;font-size:13px;line-height:1.5}.repeater-placeholder--source strong{font-weight:600;color:#1e293be6}.repeater-item-template{min-width:0}.repeater-preview-child{opacity:.55;pointer-events:none;min-width:0}.repeater-wrapper.is-preview .repeater-preview-child{opacity:1;pointer-events:auto}:host(.iox-role-accordion) .repeater-preview-child,:host(.iox-role-tabs-list) .repeater-preview-child,:host(.iox-role-tabs-panels) .repeater-preview-child{pointer-events:auto}\n"] }]
6933
7191
  }], ctorParameters: () => [{ type: DragEngineService }, { type: OverlayService }, { type: BuilderDataSourceService }, { type: DataSourceRegistryService }, { type: PanelEventService }, { type: i0.ChangeDetectorRef }, { type: InteractionEngineService }, { type: undefined, decorators: [{
6934
7192
  type: Optional
6935
7193
  }, {
@@ -6940,6 +7198,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
6940
7198
  }, {
6941
7199
  type: Inject,
6942
7200
  args: [IOX_CONTENT_TYPE_LABELS]
7201
+ }] }, { type: undefined, decorators: [{
7202
+ type: Optional
7203
+ }, {
7204
+ type: Inject,
7205
+ args: [IS_PREVIEW]
6943
7206
  }] }], propDecorators: { children: [{
6944
7207
  type: Input
6945
7208
  }], style: [{
@@ -9537,7 +9800,7 @@ const DEFAULT_ICON = 'ph-thin ph-cube';
9537
9800
  const BOUND_ICON = 'ph-thin ph-plug';
9538
9801
  /** The alias a Repeater repeats — its `source` binding (canonical), else its `source` trait. */
9539
9802
  function repeaterSourceAlias(node) {
9540
- const bound = node.bindings?.find(b => b.prop === REPEATER_SOURCE_PROP)?.source;
9803
+ const bound = sourceBindingOf(node)?.source;
9541
9804
  if (bound)
9542
9805
  return bound;
9543
9806
  const trait = node.traits?.find(t => t.name === REPEATER_SOURCE_PROP)?.default;
@@ -13625,6 +13888,8 @@ class SliderContainerComponent {
13625
13888
  this.items = [];
13626
13889
  this.previewSlides = [];
13627
13890
  this.isLoading = false;
13891
+ this.viewReady = false;
13892
+ this.destroyed = false;
13628
13893
  this.childClick = new EventEmitter();
13629
13894
  this.childMouseEnter = new EventEmitter();
13630
13895
  this.childMouseLeave = new EventEmitter();
@@ -13653,6 +13918,7 @@ class SliderContainerComponent {
13653
13918
  }
13654
13919
  }
13655
13920
  ngAfterViewInit() {
13921
+ this.viewReady = true;
13656
13922
  // Run outside Angular's zone so Swiper's internal ResizeObserver, MutationObserver,
13657
13923
  // and RAF-based animation loops don't trigger unnecessary CD ticks.
13658
13924
  this.ngZone.runOutsideAngular(() => {
@@ -13691,6 +13957,7 @@ class SliderContainerComponent {
13691
13957
  }
13692
13958
  }
13693
13959
  ngOnDestroy() {
13960
+ this.destroyed = true;
13694
13961
  cancelAnimationFrame(this._initRafId);
13695
13962
  this._destroySwiper();
13696
13963
  this.syncSceneDriver(false);
@@ -13729,8 +13996,12 @@ class SliderContainerComponent {
13729
13996
  return;
13730
13997
  this.isLoading = true;
13731
13998
  this.cdr.markForCheck();
13732
- this.dataSourceService.fetchItems(this.dsRegistry.findByAlias(this._source)).subscribe(items => {
13999
+ this.dataSourceService.fetchItems(this.dsRegistry.findByAlias(this._source), this.dsRegistry.pageParams).subscribe(items => {
13733
14000
  this.items = items.slice(0, this._limit);
14001
+ // Preview draws its template slide only once there are rows: draw it NOW, so slide 1 takes item[0]'s values
14002
+ // in this same turn — never an empty slide first (iox-ui#162).
14003
+ if (this.isPreview && this.viewReady && !this.destroyed)
14004
+ this.cdr.detectChanges();
13734
14005
  this.refreshPreviews();
13735
14006
  this.isLoading = false;
13736
14007
  this.cdr.markForCheck();
@@ -13986,9 +14257,11 @@ class SliderContainerComponent {
13986
14257
  </ng-container>
13987
14258
  </div>
13988
14259
  </ng-container>
13989
- <!-- REPEAT: template slide + preview slides; each is a row (a lightbox opens at the clicked one) -->
14260
+ <!-- REPEAT: template slide + preview slides; each is a row (a lightbox opens at the clicked one). Preview is the
14261
+ visitor's page: the template slide is drawn once the source answered with rows, never as an empty
14262
+ slide (iox-ui#162 — the engine draws a bound slider's rows and nothing else). -->
13990
14263
  <ng-container *ngIf="source">
13991
- <div *ngIf="slides.length"
14264
+ <div *ngIf="slides.length && items.length"
13992
14265
  class="swiper-slide"
13993
14266
  [attr.data-iox-row-idx]="0"
13994
14267
  [ngClass]="['iox-outer-' + (slides[0].styleId ?? slides[0].id)]">
@@ -14165,9 +14438,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
14165
14438
  </ng-container>
14166
14439
  </div>
14167
14440
  </ng-container>
14168
- <!-- REPEAT: template slide + preview slides; each is a row (a lightbox opens at the clicked one) -->
14441
+ <!-- REPEAT: template slide + preview slides; each is a row (a lightbox opens at the clicked one). Preview is the
14442
+ visitor's page: the template slide is drawn once the source answered with rows, never as an empty
14443
+ slide (iox-ui#162 — the engine draws a bound slider's rows and nothing else). -->
14169
14444
  <ng-container *ngIf="source">
14170
- <div *ngIf="slides.length"
14445
+ <div *ngIf="slides.length && items.length"
14171
14446
  class="swiper-slide"
14172
14447
  [attr.data-iox-row-idx]="0"
14173
14448
  [ngClass]="['iox-outer-' + (slides[0].styleId ?? slides[0].id)]">
@@ -16561,5 +16836,5 @@ class BuilderSpacerComponentConfig extends ComponentConfig {
16561
16836
  * Generated bundle index. Do not edit.
16562
16837
  */
16563
16838
 
16564
- 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 };
16839
+ 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 };
16565
16840
  //# sourceMappingURL=vectoriox-iox-builder.mjs.map