@vectoriox/iox-builder 11.47.0 → 11.49.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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Injectable, Optional, Inject, inject, NgZone, EventEmitter, createComponent, Output, Input, Directive, Component, ChangeDetectionStrategy, ViewChild, untracked, effect, ContentChildren, NO_ERRORS_SCHEMA, NgModule } from '@angular/core';
2
+ import { InjectionToken, Injectable, Optional, Inject, inject, NgZone, EventEmitter, createComponent, Output, Input, Directive, Component, ChangeDetectionStrategy, ViewChild, untracked, effect, ViewEncapsulation, ContentChildren, NO_ERRORS_SCHEMA, NgModule } from '@angular/core';
3
3
  import * as i2 from '@angular/common';
4
4
  import { DOCUMENT, CommonModule } from '@angular/common';
5
5
  import * as i17 from '@angular/forms';
@@ -17,7 +17,7 @@ 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 { Breakpoint, setOverride, nodeCssId, needsGroupName, resolveBoundValue, isBoundStyleProp, applyBoundStyle, safeSetInput, 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, 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, motionAllowed, effectiveActionType, INTERACTION_HIDDEN_ATTRIBUTE, COUNT_UP_ACTION, reducedEntranceRun, settleInteraction, settleModeFor, SettleMode, playInteraction, entranceDelay, repeatedRowIndex, resolveInteractionEasing, entrancePreStateStyle, buildInteractionKeyframes, showToast, IS_PREVIEW, declaredInputNames, emptyImagePlaceholder, syncNodeDesignClasses, nodeTraitValue, syncNodeA11yAttributes, nodeA11yAttributes, colorSchemeOf, withStateTransitions, composeVirtualTraits, stateNamesIn, partClassName, applyBoundStyles, switchElementStyle, releaseElementStyle, countOverrides, breakpointDef, breakpointForWidth, FormRenderState, collectContextSlotKeys, withContextSlots, needsAccessibleName, resolveInputs, setInputOverride, barReserveClass, groundHeadersIn, watchHeaderHeight, compilePageStyle, nodeUsesContext, attachTooltips, showToastDesign, TOOLTIP_ATTRIBUTE, hidingHeadersIn, HeaderRuntime, inkFollowingHeadersIn, HeaderInkRuntime, isScrolled, SCROLLED_ATTRIBUTE, syncSubmitButtons, buttonBlockHref, pageLanguageOf, layerFrame, rectInLayer, placeFloating, FloatingAlign, popoverSide, bootSlider, IoxPageModule, PALETTE_PRESETS, elementStyleById, PART_CLASS_NAMES } from '@vectoriox/iox-ui';
20
+ import { Breakpoint, setOverride, nodeCssId, needsGroupName, resolveBoundValue, isBoundStyleProp, applyBoundStyle, safeSetInput, 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, isLastEmittedStateKey, orderStatesForEmit, withSchemeInk, stripSuppressedProps, DeclarationContext, planPartRule, gateHoverRule, compileStackedChildren, BreakpointQueryKind, planResponsiveRules, resolveStyleProps, planStateRule, splitOuterProps, OUTER_STYLE_PROPS, siteColumnOf, compileTokenCssBlocks, catalogFontId, fontsForTokens, GOOGLE_FONTS_FILE_ORIGIN, googleFontHref, compileDeclarations, wrapInBreakpointQuery, 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, motionAllowed, effectiveActionType, INTERACTION_HIDDEN_ATTRIBUTE, COUNT_UP_ACTION, reducedEntranceRun, settleInteraction, settleModeFor, SettleMode, playInteraction, entranceDelay, repeatedRowIndex, resolveInteractionEasing, entrancePreStateStyle, buildInteractionKeyframes, showToast, IS_PREVIEW, declaredInputNames, emptyImagePlaceholder, syncNodeDesignClasses, nodeTraitValue, syncNodeA11yAttributes, nodeA11yAttributes, stampSelectorAttributes, colorSchemeOf, withStateTransitions, composeVirtualTraits, stateNamesIn, partClassName, applyBoundStyles, switchElementStyle, releaseElementStyle, countOverrides, breakpointDef, breakpointForWidth, FormRenderState, collectContextSlotKeys, withContextSlots, needsAccessibleName, resolveInputs, setInputOverride, barReserveClass, groundHeadersIn, watchHeaderHeight, compilePageStyle, nodeUsesContext, attachTooltips, showToastDesign, TOOLTIP_ATTRIBUTE, hidingHeadersIn, HeaderRuntime, inkFollowingHeadersIn, HeaderInkRuntime, isScrolled, SCROLLED_ATTRIBUTE, syncSubmitButtons, buttonBlockHref, pageLanguageOf, 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';
@@ -289,6 +289,23 @@ const BUILDER_CHROME_EN = Object.freeze({
289
289
  'builder.chrome.compositeMoreRow': '{count} more row from {alias} — edit the template',
290
290
  'builder.chrome.repeaterMoreRowsHint': 'Rows from the source are not layers: edit the template above',
291
291
  'builder.chrome.layersPage': 'Page',
292
+ // iox-ui#209: the breadcrumb's page crumb, its title and the bar's name.
293
+ 'builder.chrome.bodyCrumb': 'Body',
294
+ 'builder.chrome.bodyCrumbTitle': 'The page surface — background and typography',
295
+ 'builder.chrome.crumbsAria': 'Selected element path',
296
+ // iox-ui#214: the breadcrumb's state badges ({count}: a number)
297
+ 'builder.chrome.badgeBindings': '{count} data bindings',
298
+ 'builder.chrome.badgeBinding': '{count} data binding',
299
+ 'builder.chrome.badgeInteractions': '{count} interactions',
300
+ 'builder.chrome.badgeInteraction': '{count} interaction',
301
+ 'builder.chrome.badgeSymbol': 'Symbol',
302
+ 'builder.chrome.badgeSymbolTitle': 'Linked symbol instance — edits propagate to every instance',
303
+ 'builder.chrome.badgeDetached': 'Detached',
304
+ 'builder.chrome.badgeDetachedTitle': 'Detached from its symbol — edits no longer propagate',
305
+ 'builder.chrome.badgePreset': 'Preset',
306
+ 'builder.chrome.badgePresetTitle': 'Styled by a shared style preset',
307
+ 'builder.chrome.badgeGlobal': 'Global',
308
+ 'builder.chrome.badgeGlobalTitle': 'Global element — rendered on every page',
292
309
  'builder.chrome.layersGlobal': 'Global',
293
310
  'builder.chrome.layersEmpty': 'No layers yet',
294
311
  'builder.chrome.layersGlobalEmpty': 'No global elements',
@@ -299,6 +316,12 @@ const BUILDER_CHROME_EN = Object.freeze({
299
316
  'builder.chrome.startTitle': 'Start with a layout',
300
317
  'builder.chrome.startSub': 'Each one already adapts to tablet and phone. You can edit or take it apart afterwards.',
301
318
  'builder.chrome.startSingle': 'Or start from a single element',
319
+ // The empty-box slot (board ad0b A, AD0b-Q3): both ways to fill a box — a drop, or select it and pick one.
320
+ 'builder.chrome.emptyBoxDrop': 'Drop an element here',
321
+ 'builder.chrome.emptyBoxMore': 'or select this box and pick one in Components',
322
+ 'builder.chrome.emptySectionDrop': 'An empty section. Drop an element here',
323
+ 'builder.chrome.emptySectionMore': 'or select it and pick one in Components',
324
+ 'builder.chrome.emptyMorePhone': 'or pick one in Components',
302
325
  ...LAYOUT_PRESET_WORDS_EN,
303
326
  });
304
327
  /** The layer tree's eye-slash title on a part hidden at rest (a closed drawer, R2). */
@@ -1924,6 +1947,11 @@ class PositionGroupStyleConfig extends GroupStyleConfig {
1924
1947
  new TraitConfig('right', 'R', TraitInputType.Scrub, { min: -9999, max: 9999, step: 1, units: UNITS_ALL, allowAuto: true }, 'auto', true, { trait: 'position', values: NON_STATIC_POSITIONS }),
1925
1948
  new TraitConfig('bottom', 'B', TraitInputType.Scrub, { min: -9999, max: 9999, step: 1, units: UNITS_ALL, allowAuto: true }, 'auto', true, { trait: 'position', values: NON_STATIC_POSITIONS }),
1926
1949
  new TraitConfig('left', 'L', TraitInputType.Scrub, { min: -9999, max: 9999, step: 1, units: UNITS_ALL, allowAuto: true }, 'auto', true, { trait: 'position', values: NON_STATIC_POSITIONS }),
1950
+ // AD0b C3: the sides that FOLLOW the reading direction — Start is the left in English and the right in Hebrew,
1951
+ // so one positioned box (a caption pill, a badge on a picture) mirrors with its page. `auto` is the CSS initial
1952
+ // and a compiler no-op. A box that sets both Start and Left: the later one in the rule (Start) wins.
1953
+ new TraitConfig('insetInlineStart', 'Start', TraitInputType.Scrub, { min: -9999, max: 9999, step: 1, units: UNITS_ALL, allowAuto: true }, 'auto', true, { trait: 'position', values: NON_STATIC_POSITIONS }),
1954
+ new TraitConfig('insetInlineEnd', 'End', TraitInputType.Scrub, { min: -9999, max: 9999, step: 1, units: UNITS_ALL, allowAuto: true }, 'auto', true, { trait: 'position', values: NON_STATIC_POSITIONS }),
1927
1955
  new TraitConfig('zIndex', 'Z', TraitInputType.Scrub, { min: -99, max: 9999, step: 1, units: [''] }, '0', false, { trait: 'position', values: NON_STATIC_POSITIONS }),
1928
1956
  ]);
1929
1957
  }
@@ -1978,6 +2006,16 @@ class LayoutGroupStyleConfig extends GroupStyleConfig {
1978
2006
  { value: 'space-around', label: 'Space Around', icon: 'ph-thin ph-dots-three' },
1979
2007
  { value: 'stretch', label: 'Stretch', icon: 'ph-thin ph-arrows-vertical' },
1980
2008
  ], 'stretch', false, { trait: 'display', values: 'grid' }),
2009
+ // ── Scroll snap (AD0b C6) ─────────────────────────────────────────
2010
+ // A flex/grid row that scrolls (Overflow ▸ Auto) stops on its children: Horizontal for a swipe row of
2011
+ // cards, Vertical for a stack of full-height panels. Vertical is `proximity`, never `mandatory` — a
2012
+ // mandatory page-height snap traps a reader whose panel is taller than the screen. `none` is the CSS
2013
+ // initial and a compiler no-op, so a component baseline that snaps (a carousel track) is never undone.
2014
+ new TraitConfig('scrollSnapType', 'Scroll Snap', TraitInputType.Select, [
2015
+ { label: 'None', value: 'none' },
2016
+ { label: 'Horizontal', value: 'x mandatory' },
2017
+ { label: 'Vertical', value: 'y proximity' },
2018
+ ], 'none', false, { trait: 'display', values: ['flex', 'inline-flex', 'grid'] }),
1981
2019
  // ── Direction (always visible) ────────────────────────────────────
1982
2020
  // No default: a node follows its parent until the author picks one (iox-ui#14). Clicking
1983
2021
  // the active option again clears it.
@@ -2017,6 +2055,15 @@ class ChildLayoutGroupStyleConfig extends GroupStyleConfig {
2017
2055
  { value: 'end', label: 'End', icon: 'ph-thin ph-align-bottom' },
2018
2056
  ], 'auto', false, PARENT_FLEX_OR_GRID),
2019
2057
  new TraitConfig('order', 'Order', TraitInputType.Scrub, { min: -99, max: 99, step: 1, units: [''] }, '0', false, PARENT_FLEX_OR_GRID),
2058
+ // AD0b C6: where this child stops when its row scroll-snaps (the row's Layout ▸ Scroll Snap). Parent-scoped
2059
+ // visibility only knows the parent's display, so it shows for any flex/grid child; on a row that does not
2060
+ // snap it is inert. Logical (start/end follow the reading direction), so a Hebrew row stops on its right edge.
2061
+ new TraitConfig('scrollSnapAlign', 'Snap To', TraitInputType.Select, [
2062
+ { label: 'None', value: 'none' },
2063
+ { label: 'Start', value: 'start' },
2064
+ { label: 'Center', value: 'center' },
2065
+ { label: 'End', value: 'end' },
2066
+ ], 'none', false, PARENT_FLEX_OR_GRID),
2020
2067
  // ── Flex-only child ───────────────────────────────────────────────
2021
2068
  new TraitConfig('flexGrow', 'Grow', TraitInputType.Scrub, { min: 0, max: 10, step: 1, units: [''] }, '0', false, PARENT_FLEX),
2022
2069
  new TraitConfig('flexShrink', 'Shrink', TraitInputType.Scrub, { min: 0, max: 10, step: 1, units: [''] }, '1', false, PARENT_FLEX),
@@ -2050,6 +2097,20 @@ class SizeGroupStyleConfig extends GroupStyleConfig {
2050
2097
  // object-fit is a style trait (applies to replaced elements, e.g. images). Lives here so
2051
2098
  // it flows through the CSS engine (styleProps) instead of a per-component inline binding.
2052
2099
  new TraitConfig('objectFit', 'Object Fit', TraitInputType.Select, ['cover', 'contain', 'fill', 'none', 'scale-down'], 'cover'),
2100
+ // AD0b C2: which part of a cropped picture stays in view (a face near the top of a portrait). PHYSICAL on
2101
+ // purpose — the subject of a photograph does not mirror in a right-to-left page. `center` is the CSS initial
2102
+ // (`50% 50%`) and a compiler no-op.
2103
+ new TraitConfig('objectPosition', 'Object Position', TraitInputType.Select, [
2104
+ { label: 'Center', value: 'center' },
2105
+ { label: 'Top', value: 'top' },
2106
+ { label: 'Bottom', value: 'bottom' },
2107
+ { label: 'Left', value: 'left' },
2108
+ { label: 'Right', value: 'right' },
2109
+ { label: 'Top left', value: 'left top' },
2110
+ { label: 'Top right', value: 'right top' },
2111
+ { label: 'Bottom left', value: 'left bottom' },
2112
+ { label: 'Bottom right', value: 'right bottom' },
2113
+ ], 'center'),
2053
2114
  // overflow — how content that exceeds the box is handled. `visible` is the CSS initial
2054
2115
  // (dropped as a no-op by the compiler); other values emit. Applies to the node's own box
2055
2116
  // (inner element), so it is NOT an OUTER_PROP.
@@ -2074,6 +2135,14 @@ class BackgroundGroupStyleConfig extends GroupStyleConfig {
2074
2135
  ]);
2075
2136
  }
2076
2137
  }
2138
+ /**
2139
+ * AD0b C4: ONE side on its own — Top, Bottom, and the inline sides that follow the reading direction (Start / End). EMPTY
2140
+ * by default (no value, nothing emitted): a `0px` default would zero that side of the four-value control above on every
2141
+ * node. A side that is set wins over the four values (the compiler writes a shorthand before its own sides).
2142
+ */
2143
+ const sideTraits = (box, min) => [
2144
+ ['Top', 'Top'], ['Bottom', 'Bottom'], ['InlineStart', 'Start'], ['InlineEnd', 'End'],
2145
+ ].map(([side, label]) => new TraitConfig(`${box}${side}`, label, TraitInputType.Scrub, { min, max: 9999, step: 1, units: UNITS_ALL, blankWhenEmpty: true }, '', true));
2077
2146
  class SpacingGroupStyleConfig extends GroupStyleConfig {
2078
2147
  constructor() {
2079
2148
  super(StyleCategory.Spacing, [
@@ -2086,7 +2155,13 @@ class SpacingGroupStyleConfig extends GroupStyleConfig {
2086
2155
  allowNegative: false,
2087
2156
  allowLinkedSlider: true,
2088
2157
  slider: { min: 0, max: 200, step: 1 }
2089
- }, '0px 0px 0px 0px')
2158
+ }, '0px 0px 0px 0px'),
2159
+ // Each SectionLabel opens a folded sub-section (an "add" row while unused), so the four-value controls stay
2160
+ // the group's basics and the sides are there when a designer needs one.
2161
+ new TraitConfig('_sep_margin_sides', 'Margin per side', TraitInputType.SectionLabel),
2162
+ ...sideTraits('margin', -9999),
2163
+ new TraitConfig('_sep_padding_sides', 'Padding per side', TraitInputType.SectionLabel),
2164
+ ...sideTraits('padding', 0),
2090
2165
  ]);
2091
2166
  }
2092
2167
  }
@@ -2142,6 +2217,22 @@ class TypographyGroupStyleConfig extends GroupStyleConfig {
2142
2217
  { label: 'lowercase', value: 'lowercase' },
2143
2218
  { label: 'Capitalize', value: 'capitalize' },
2144
2219
  ], 'none'),
2220
+ // AD0b C1: how a line breaks. "Default" is the element's own: a Text keeps typed spaces and line breaks
2221
+ // (its zero-weight `pre-wrap`), a Heading joins them. Line Breaks comes BEFORE Wrap on purpose: `white-space` is a shorthand that
2222
+ // also sets the wrap MODE, so the later `text-wrap` keeps the author's No Wrap. Balance evens a headline's
2223
+ // lines; Pretty keeps a paragraph's last line from holding one word. Both are inherited and their defaults
2224
+ // are the CSS initials (compiler no-ops), the same trade-off as Case.
2225
+ new TraitConfig('whiteSpace', 'Line Breaks', TraitInputType.Select, [
2226
+ { label: 'Default', value: 'normal' },
2227
+ { label: 'Keep Line Breaks', value: 'pre-line' },
2228
+ { label: 'Keep Spaces', value: 'pre-wrap' },
2229
+ ], 'normal'),
2230
+ new TraitConfig('textWrap', 'Wrap', TraitInputType.Select, [
2231
+ { label: 'Wrap', value: 'wrap' },
2232
+ { label: 'Balance', value: 'balance' },
2233
+ { label: 'Pretty', value: 'pretty' },
2234
+ { label: 'No Wrap', value: 'nowrap' },
2235
+ ], 'wrap'),
2145
2236
  // Logical (iox-ui#16): Start is the left in LTR and the right in RTL. A saved `left` was this
2146
2237
  // trait's old serialised default and compiles as `start` (shared composeVirtualTraits); a
2147
2238
  // saved `right` was chosen and stays physical.
@@ -2176,6 +2267,16 @@ class EffectsGroupStyleConfig extends GroupStyleConfig {
2176
2267
  'auto', 'default', 'pointer', 'text', 'move', 'not-allowed',
2177
2268
  'grab', 'grabbing', 'crosshair', 'zoom-in', 'zoom-out', 'none',
2178
2269
  ], 'auto'),
2270
+ // AD0b C5: the box fades out at its edges (a marquee's soft ends, a picture melting into the page). A closed
2271
+ // list — the stored value is a word, never a colour (the compiler writes `mask-image` + its -webkit- twin) —
2272
+ // and every fade is symmetric or top / bottom, so nothing needs mirroring in Hebrew. `none` is a no-op.
2273
+ new TraitConfig('maskFade', 'Fade Edges', TraitInputType.Select, [
2274
+ { label: 'None', value: 'none' },
2275
+ { label: 'Both Sides', value: 'sides' },
2276
+ { label: 'Top and Bottom', value: 'top-bottom' },
2277
+ { label: 'Top', value: 'top' },
2278
+ { label: 'Bottom', value: 'bottom' },
2279
+ ], 'none'),
2179
2280
  // ── Shadow ────────────────────────────────────────────
2180
2281
  new TraitConfig('_sep_shadow', 'Shadow', TraitInputType.SectionLabel),
2181
2282
  new TraitConfig('boxShadow', 'Box Shadow', TraitInputType.Text, undefined, ''),
@@ -2666,6 +2767,19 @@ const BUILDER_FONT_LINK_ATTR = 'data-iox-font';
2666
2767
  *
2667
2768
  * Scoped to PageUiComponent.providers[] — one stylesheet per builder instance.
2668
2769
  */
2770
+ const HOVER = 'hover';
2771
+ /**
2772
+ * A canvas rule key's emit rank — 2 a focus rule (`isLastEmittedStateKey`), 1 a state the shared `orderStatesForEmit`
2773
+ * emits after `hover` (a chosen state: on, current, selected… — AD0 A4), 0 the rest (a node's base, its pointer states).
2774
+ * Asked of the shared functions, never re-listed here: the builder compiles against the PUBLISHED iox-ui.
2775
+ */
2776
+ function ruleEmitRank(key) {
2777
+ if (isLastEmittedStateKey(key))
2778
+ return 2;
2779
+ const at = key.lastIndexOf(':');
2780
+ const state = at < 0 ? '' : key.slice(at + 1);
2781
+ return state && state !== HOVER && orderStatesForEmit([state, HOVER])[0] === HOVER ? 1 : 0;
2782
+ }
2669
2783
  class StyleRegistryService {
2670
2784
  constructor() {
2671
2785
  this.changes$ = new Subject();
@@ -2677,6 +2791,9 @@ class StyleRegistryService {
2677
2791
  /** Which breakpoint rule keys each node owns — so re-emitting one node's rules is O(its rules),
2678
2792
  * not a scan of every breakpoint rule on the page (this runs on every node render). */
2679
2793
  this.responsiveKeys = new Map();
2794
+ /** B-D4: per css id, the shared `compileStackedChildren` blocks of a row that stacks — flushed after every base rule and
2795
+ * BEFORE the breakpoint rules of their width, so a child the author sized there keeps its size. */
2796
+ this.stackedChildren = new Map();
2680
2797
  this.stateScopes = new Map();
2681
2798
  /** Node type per css id — the compiler strips the props a type's renderer owns (a Dialog's
2682
2799
  * positioning, an Icon's line-height) from EVERY rule of that node, whoever upserts it. */
@@ -2823,6 +2940,9 @@ class StyleRegistryService {
2823
2940
  const input = this.responsiveInputs.get(nodeId);
2824
2941
  if (!input)
2825
2942
  return;
2943
+ const stacked = compileStackedChildren(nodeId, input.styleProps, input.responsive, BreakpointQueryKind.Container, BUILDER_CANVAS_CONTAINER);
2944
+ if (stacked.length)
2945
+ this.stackedChildren.set(nodeId, stacked);
2826
2946
  for (const layer of planResponsiveRules(input.styleProps, input.stateStyles, input.responsive)) {
2827
2947
  const bp = layer.breakpoint;
2828
2948
  const layerProps = this.ownProps(nodeId, layer.styleProps);
@@ -2857,6 +2977,7 @@ class StyleRegistryService {
2857
2977
  for (const [bp, key] of this.responsiveKeys.get(nodeId) ?? [])
2858
2978
  this.responsiveRules.get(bp)?.delete(key);
2859
2979
  this.responsiveKeys.delete(nodeId);
2980
+ this.stackedChildren.delete(nodeId);
2860
2981
  }
2861
2982
  isOutOfFlow(styles) {
2862
2983
  const pos = String(styles['position'] ?? '');
@@ -2963,6 +3084,7 @@ class StyleRegistryService {
2963
3084
  this.responsiveRules.clear();
2964
3085
  this.responsiveInputs.clear();
2965
3086
  this.responsiveKeys.clear();
3087
+ this.stackedChildren.clear();
2966
3088
  this.stateScopes.clear();
2967
3089
  this.nodeTypes.clear();
2968
3090
  this.nodeSchemes.clear();
@@ -3063,20 +3185,25 @@ class StyleRegistryService {
3063
3185
  this._flushPending = false;
3064
3186
  if (!this.styleEl)
3065
3187
  return;
3066
- // The token base first, so variables are available to all subsequent rules. A node's FOCUS rule comes after
3067
- // its other state rules (CC4b): `on` and `focus` tie on specificity, so a focused option that is on keeps its
3068
- // focus ring — the order the engine emits too (shared `isLastEmittedStateKey`).
3069
- const entries = Array.from(this.rules.entries());
3070
- const rest = [
3071
- ...entries.filter(([key]) => !isLastEmittedStateKey(key)).map(([, css]) => css),
3072
- ...entries.filter(([key]) => isLastEmittedStateKey(key)).map(([, css]) => css),
3073
- ];
3074
- // Breakpoint rules LAST, widest → narrowest, each as a canvas container query.
3188
+ // The token base first, so variables are available to all subsequent rules. Then the rules in their emit rank
3189
+ // (`ruleEmitRank`, asked of the shared order the engine emits in): a node's chosen states (on, current, selected…)
3190
+ // after its hover (AD0 A4 — the ON tab keeps its ground on hover), its FOCUS rule after them all (CC4b: a
3191
+ // focused option that is on keeps its focus ring). Stable within a rank.
3192
+ const rest = Array.from(this.rules.entries())
3193
+ .map(([key, css], i) => ({ css, i, rank: ruleEmitRank(key) }))
3194
+ .sort((a, b) => a.rank - b.rank || a.i - b.i)
3195
+ .map(r => r.css);
3196
+ // Breakpoint rules LAST, widest → narrowest, each as a canvas container query — each width's B-D4 stacked
3197
+ // children first (the shared default), then the nodes' own rules of that width (the author's, which win).
3198
+ const stacked = Array.from(this.stackedChildren.values()).flat();
3075
3199
  const breakpoints = BREAKPOINTS
3076
3200
  .map(({ id }) => this.responsiveRules.get(id))
3077
- .map((bucket, i) => bucket?.size
3078
- ? wrapInBreakpointQuery(BREAKPOINTS[i].id, Array.from(bucket.values()).join('\n'), BreakpointQueryKind.Container, BUILDER_CANVAS_CONTAINER)
3079
- : '');
3201
+ .map((bucket, i) => [
3202
+ ...stacked.filter(b => b.breakpoint === BREAKPOINTS[i].id).map(b => b.css),
3203
+ bucket?.size
3204
+ ? wrapInBreakpointQuery(BREAKPOINTS[i].id, Array.from(bucket.values()).join('\n'), BreakpointQueryKind.Container, BUILDER_CANVAS_CONTAINER)
3205
+ : '',
3206
+ ].filter(Boolean).join('\n'));
3080
3207
  // …and the token dark half LAST (the appended-last contract the engine also keeps).
3081
3208
  const nodeCss = [...rest, ...breakpoints].filter(Boolean).join('\n');
3082
3209
  this.styleEl.textContent = [this.tokenCss.base, CANVAS_ROOT_RESET_CSS, nodeCss, this.tokenCss.dark].filter(Boolean).join('\n');
@@ -3094,6 +3221,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
3094
3221
  class ComponentRegistryService {
3095
3222
  constructor() {
3096
3223
  this.components = {};
3224
+ this.paletteNames = new Map();
3097
3225
  }
3098
3226
  getComponent(type) {
3099
3227
  return this.components[type]?.component ?? null;
@@ -3157,6 +3285,17 @@ class ComponentRegistryService {
3157
3285
  }
3158
3286
  register(type, component, config) {
3159
3287
  this.components[type] = { type, component, config };
3288
+ this.paletteNames.delete(type);
3289
+ }
3290
+ /** The palette's ENGLISH name for a type — its config's `label` (ButtonBlock → "Button"), else the type itself
3291
+ * (iox-ui#209: the words the chip, the breadcrumb and the layer tree translate). Read once per type. */
3292
+ paletteName(type) {
3293
+ let name = this.paletteNames.get(type);
3294
+ if (name === undefined) {
3295
+ name = this.createBaseConfig(type)?.label || type;
3296
+ this.paletteNames.set(type, name);
3297
+ }
3298
+ return name;
3160
3299
  }
3161
3300
  getAll() {
3162
3301
  return Object.values(this.components);
@@ -3539,7 +3678,7 @@ const GLOBALS_AFTER_CLASS = 'iox-canvas-globals-after';
3539
3678
  /** A container's children that are not drop positions: placeholders, previews, the indicator, the dragged
3540
3679
  * source, and the page's after-globals. */
3541
3680
  const NON_DROP_CHILD_CLASSES = [
3542
- 'section-placeholder', 'container-placeholder', 'repeater-placeholder',
3681
+ 'iox-empty-slot', 'section-placeholder', 'container-placeholder', 'linked-container-placeholder', 'repeater-placeholder',
3543
3682
  'repeater-badge', 'repeater-preview-row', 'iox-insert-indicator',
3544
3683
  'iox-drag-active-source', GLOBALS_AFTER_CLASS,
3545
3684
  ];
@@ -6620,11 +6759,13 @@ class RenderDirective {
6620
6759
  // comment anchor — directly inside the parent element. No wrapper div is created.
6621
6760
  // Variable-tag directive-hosts (Heading/Text/ButtonBlock) list every allowed tag in their
6622
6761
  // selector, so vcr.createComponent would always pick the FIRST — create them on an explicit
6623
- // hostElement of the right tag and insert that view instead (mirrors the SSR engine).
6762
+ // hostElement of the right tag and insert that view instead (mirrors the SSR engine). Angular writes the
6763
+ // selector's attribute (`p[iox-text]`) only on a host it creates, so we stamp it: the component's own CSS
6764
+ // (a Text's white-space: pre-wrap) selects it, on the canvas as on the live site (engine#44).
6624
6765
  const tag = this.variableTag(node);
6625
6766
  let componentRef;
6626
6767
  if (tag) {
6627
- const hostElement = this.doc.createElement(tag);
6768
+ const hostElement = stampSelectorAttributes(this.doc.createElement(tag), componentClass);
6628
6769
  componentRef = createComponent(componentClass, {
6629
6770
  environmentInjector: this.envInjector,
6630
6771
  elementInjector: this.injector,
@@ -7918,6 +8059,76 @@ function overlayGlobals(globals) {
7918
8059
  return { before, pinnedAfter };
7919
8060
  }
7920
8061
 
8062
+ /**
8063
+ * A node TYPE's name in the admin's language (iox-ui#209) — the word the Components palette shows for it, so the
8064
+ * selection chip, the breadcrumb and the layer tree never say "Container" where the palette says מכל.
8065
+ *
8066
+ * The palette names a type by its config's `label` (ButtonBlock → "Button"), else the type, and the host translates
8067
+ * that English name under `builder.label.<camelCase>` (iox-cms-client `builderLabel` pipe). The library reaches the
8068
+ * same keys through `IOX_BUILDER_LABELS`; unprovided, the English name.
8069
+ */
8070
+ const BUILDER_LABEL_PREFIX = 'builder.label.';
8071
+ /** "Text Direction" → `builder.label.textDirection`; "Auto (slide width)" → `builder.label.autoSlideWidth`; "" → "". */
8072
+ function builderLabelKey(label) {
8073
+ const words = String(label ?? '').normalize('NFKD').replace(/[^A-Za-z0-9]+/g, ' ').trim().split(/\s+/).filter(Boolean);
8074
+ if (!words.length)
8075
+ return '';
8076
+ // An all-caps word is an acronym ("HTML", "URL"): it reads as one word, `htmlTag`, never `hTMLTag`.
8077
+ const word = (w) => (w.length > 1 && w === w.toUpperCase() ? w.toLowerCase() : w);
8078
+ const camel = words.map(word).map((w, i) => (i === 0 ? w.charAt(0).toLowerCase() + w.slice(1) : w.charAt(0).toUpperCase() + w.slice(1))).join('');
8079
+ return BUILDER_LABEL_PREFIX + camel;
8080
+ }
8081
+ /** The palette's name for a type (`paletteName`, its config's label — else the type) in the host's language. */
8082
+ function typeDisplayName(type, paletteName, labels) {
8083
+ const name = paletteName || type;
8084
+ const key = builderLabelKey(name);
8085
+ return key ? labels(key, name) : name;
8086
+ }
8087
+ /** The joins a composed name is built with: "opening · heading (lead)", "Header — centred · drawer". */
8088
+ const NAME_JOIN = /( · | — |\(|\))/;
8089
+ /** A word with a count after it ("screen 2", "step 3") or before it ("3 screens wide"): the count stays as written. */
8090
+ const TRAILING_COUNT = /^(.*?\D)(\s+\d+)$/;
8091
+ const LEADING_COUNT = /^(\d+\s+)(\D.*)$/;
8092
+ /** One word or phrase of a name in the host's language, or as written when the host has no key for it. */
8093
+ function namePart(part, labels) {
8094
+ const word = part.trim();
8095
+ const counted = TRAILING_COUNT.exec(word) ?? LEADING_COUNT.exec(word);
8096
+ const head = counted ? (TRAILING_COUNT.test(word) ? counted[1] : counted[2]) : word;
8097
+ const key = builderLabelKey(head);
8098
+ if (!key)
8099
+ return part;
8100
+ const said = labels(key, head);
8101
+ if (said === head)
8102
+ return part;
8103
+ const whole = counted ? (TRAILING_COUNT.test(word) ? `${said}${counted[2]}` : `${counted[1]}${said}`) : said;
8104
+ return part.replace(word, whole);
8105
+ }
8106
+ /**
8107
+ * A node's LAYER NAME in the admin's language (iox-ui#214) — translated where it is shown, never stamped into the data.
8108
+ * The names the platform writes are English: a recipe's parts ("Card", "Drawer header"), a pattern's name ("Cards, three
8109
+ * across"), the composer's laid parts ("opening · heading (lead)", "Header — centred · drawer"). The whole name asks its
8110
+ * `builder.label.<camelCase>` key first; a composed name with no key of its own is translated part by part between its
8111
+ * joins, and a part the host has no word for (a section's id, a page's name — the site's own words) stays as written.
8112
+ * A name the author typed has no key, so it is shown exactly as typed; a Hebrew name has no Latin word to key.
8113
+ */
8114
+ function labelDisplayName(label, labels) {
8115
+ const key = builderLabelKey(label);
8116
+ if (!key)
8117
+ return label;
8118
+ const whole = labels(key, label);
8119
+ if (whole !== label)
8120
+ return whole;
8121
+ const parts = label.split(NAME_JOIN);
8122
+ if (parts.length === 1)
8123
+ return namePart(label, labels);
8124
+ return parts.map(part => (NAME_JOIN.test(part) ? part : namePart(part, labels))).join('');
8125
+ }
8126
+ /** What a node is called wherever the builder names it (breadcrumb, hover chip, layer tree): its layer name in the
8127
+ * admin's language, else its type's palette word. */
8128
+ function nodeDisplayName(node, typeName, labels) {
8129
+ return node.label ? labelDisplayName(node.label, labels) : typeName(node.type);
8130
+ }
8131
+
7921
8132
  /** Counts for ONE node (the selection). Breakpoints with nothing overridden are omitted. */
7922
8133
  function nodeBreakpointCounts(node) {
7923
8134
  const counts = {};
@@ -10206,7 +10417,7 @@ function walk(nodes, depth, out, ctx, inTemplate, templateOf, ancestors) {
10206
10417
  const isRepeater = node.type === REPEATER_TYPE;
10207
10418
  const rows = isRepeater ? (ctx.repeaterRows(node) ?? { alias: repeaterSourceAlias(node), count: 0 }) : null;
10208
10419
  const bound = inTemplate && !!node.bindings?.some(b => b.prop !== REPEATER_SOURCE_PROP && b.source);
10209
- const label = node.label ?? node.type;
10420
+ const label = node.label ? (ctx.labelOf?.(node.label) ?? node.label) : (ctx.nameOf?.(node.type) ?? node.type);
10210
10421
  // An accordion item shows no text of its own: it names its question (board 3 "Item · Do you take pro…").
10211
10422
  const descriptor = rows ? null : (nodeDescriptor(node, label) ?? compositePartSub(node, ancestors));
10212
10423
  out.push({
@@ -10278,6 +10489,8 @@ class LayerTreeComponent {
10278
10489
  this.editingValue = '';
10279
10490
  this.activeSection = 'page';
10280
10491
  this.labels = inject(IOX_BUILDER_LABELS);
10492
+ /** A type's palette word in the admin's language (iox-ui#209). */
10493
+ this.typeName = (type) => typeDisplayName(type, this.registry.paletteName?.(type), this.labels);
10281
10494
  this.panelEvents = inject(PanelEventService);
10282
10495
  this.typeLabels = inject(IOX_CONTENT_TYPE_LABELS);
10283
10496
  this.dataSources = inject(DataSourceRegistryService, { optional: true });
@@ -10380,12 +10593,15 @@ class LayerTreeComponent {
10380
10593
  startRename(treeNode, event) {
10381
10594
  event.stopPropagation();
10382
10595
  this.editingNodeId = treeNode.node.id ?? null;
10383
- this.editingValue = treeNode.node.label ?? '';
10596
+ // The name as the row shows it (iox-ui#214: a platform name reads in the admin's language)…
10597
+ this.editingValue = treeNode.label;
10384
10598
  }
10385
10599
  saveRename(treeNode) {
10386
10600
  const val = this.editingValue.trim();
10387
- treeNode.node.label = val || undefined;
10388
- treeNode.label = treeNode.node.label ?? treeNode.node.type;
10601
+ // …so saving it unchanged writes nothing: a translated platform name is never stamped into the page.
10602
+ if (val !== treeNode.label)
10603
+ treeNode.node.label = val || undefined;
10604
+ treeNode.label = nodeDisplayName(treeNode.node, this.typeName, this.labels);
10389
10605
  this.editingNodeId = null;
10390
10606
  this.editingValue = '';
10391
10607
  }
@@ -10449,6 +10665,8 @@ class LayerTreeComponent {
10449
10665
  }
10450
10666
  const ctx = {
10451
10667
  iconOf: (type) => this.iconMap.get(type),
10668
+ nameOf: this.typeName,
10669
+ labelOf: (label) => labelDisplayName(label, this.labels),
10452
10670
  isExpanded: (node) => (node.id ? (this.expandedState.get(node.id) ?? true) : true),
10453
10671
  repeaterRows: (node) => this.repeaterRows(node),
10454
10672
  fromContentLabel: (rows) => rows.alias
@@ -10486,10 +10704,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
10486
10704
 
10487
10705
  /** Label of the always-present root crumb. The page surface itself, not a layout node. */
10488
10706
  const BODY_CRUMB_LABEL = 'Body';
10707
+ /** iox-ui#209: the bar's own words, in the host's language (`IOX_BUILDER_LABELS`). */
10708
+ const BODY_CRUMB_KEY = 'builder.chrome.bodyCrumb';
10709
+ const BODY_CRUMB_TITLE_KEY = 'builder.chrome.bodyCrumbTitle';
10710
+ const CRUMBS_ARIA_KEY = 'builder.chrome.crumbsAria';
10489
10711
  /** A node's crumb: its layer name, and an accordion item's question after it ("Item · How long does…") — a tab's and a
10490
10712
  * panel's words likewise ("Panel · Kitchens"). `ancestors` = the crumbs before it. */
10491
- function crumbLabel(node, ancestors = []) {
10492
- const name = node.label || node.type;
10713
+ function crumbLabel(node, ancestors, typeName, labels) {
10714
+ const name = nodeDisplayName(node, typeName, labels);
10493
10715
  const sub = compositePartSub(node, ancestors);
10494
10716
  return sub ? `${name} · ${sub}` : name;
10495
10717
  }
@@ -10510,6 +10732,9 @@ function crumbIcon(node) {
10510
10732
  */
10511
10733
  class BreadcrumbBarComponent {
10512
10734
  constructor() {
10735
+ this.labels = inject(IOX_BUILDER_LABELS);
10736
+ this.nodes = [];
10737
+ this.nameOfType = type => type;
10513
10738
  /** Emitted when a crumb is clicked — the builder selects that node. */
10514
10739
  this.nodeSelect = new EventEmitter();
10515
10740
  /** Emitted when the Body crumb is clicked — the builder clears the selection and opens
@@ -10520,6 +10745,10 @@ class BreadcrumbBarComponent {
10520
10745
  this.crumbs = [];
10521
10746
  this.badges = [];
10522
10747
  }
10748
+ /** The page crumb's title and the bar's name, in the host's language — read when drawn, never precomputed (a host's
10749
+ * `instant()` answers the key until its locale lands). */
10750
+ get bodyTitle() { return this.labels(BODY_CRUMB_TITLE_KEY, BUILDER_CHROME_EN[BODY_CRUMB_TITLE_KEY]); }
10751
+ get ariaLabel() { return this.labels(CRUMBS_ARIA_KEY, BUILDER_CHROME_EN[CRUMBS_ARIA_KEY]); }
10523
10752
  /**
10524
10753
  * Root → selected node. Empty when nothing is selected.
10525
10754
  *
@@ -10527,13 +10756,23 @@ class BreadcrumbBarComponent {
10527
10756
  * so the path is never empty and the page itself is one click away from any depth.
10528
10757
  */
10529
10758
  set path(value) {
10530
- const nodes = value ?? [];
10759
+ this.nodes = value ?? [];
10760
+ this.build();
10761
+ }
10762
+ /** A type's name when its node has no layer name — the palette's word in the admin's language (iox-ui#209).
10763
+ * Unbound: the type itself. */
10764
+ set typeName(value) {
10765
+ this.nameOfType = value ?? (type => type);
10766
+ this.build();
10767
+ }
10768
+ build() {
10769
+ const nodes = this.nodes;
10531
10770
  const last = nodes.length - 1;
10532
10771
  this.crumbs = [
10533
- { node: null, label: BODY_CRUMB_LABEL, icon: null, isCurrent: nodes.length === 0, key: BODY_CRUMB_LABEL },
10772
+ { node: null, label: this.labels(BODY_CRUMB_KEY, BODY_CRUMB_LABEL), icon: null, isCurrent: nodes.length === 0, key: BODY_CRUMB_LABEL },
10534
10773
  ...nodes.map((node, i) => ({
10535
10774
  node,
10536
- label: crumbLabel(node, nodes.slice(0, i)),
10775
+ label: crumbLabel(node, nodes.slice(0, i), this.nameOfType, this.labels),
10537
10776
  icon: crumbIcon(node),
10538
10777
  isCurrent: i === last,
10539
10778
  key: node,
@@ -10569,32 +10808,32 @@ class BreadcrumbBarComponent {
10569
10808
  return [];
10570
10809
  const interactions = node.interactions?.length ?? 0;
10571
10810
  const bindings = node.bindings?.length ?? 0;
10811
+ // iox-ui#214: every badge's word and title in the host's language (`builder.chrome.badge*`).
10812
+ const say = (key, count) => this.labels(key, BUILDER_CHROME_EN[key]).replace('{count}', String(count ?? ''));
10572
10813
  const rows = [
10573
10814
  [bindings > 0, 'ph-thin ph-plugs-connected', String(bindings),
10574
- `${bindings} data binding${bindings === 1 ? '' : 's'}`],
10815
+ say(bindings === 1 ? 'builder.chrome.badgeBinding' : 'builder.chrome.badgeBindings', bindings)],
10575
10816
  [interactions > 0, 'ph-thin ph-lightning', String(interactions),
10576
- `${interactions} interaction${interactions === 1 ? '' : 's'}`],
10577
- [!!node.symbolId, 'ph-thin ph-diamond', 'Symbol',
10578
- 'Linked symbol instance — edits propagate to every instance'],
10579
- [!node.symbolId && !!node.detachedSymbolId, 'ph-thin ph-link-break', 'Detached',
10580
- 'Detached from its symbol — edits no longer propagate'],
10581
- [!!node.stylePresetId, 'ph-thin ph-palette', 'Preset',
10582
- 'Styled by a shared style preset'],
10583
- [!!node.isGlobal, 'ph-thin ph-globe-hemisphere-west', 'Global',
10584
- 'Global element — rendered on every page'],
10817
+ say(interactions === 1 ? 'builder.chrome.badgeInteraction' : 'builder.chrome.badgeInteractions', interactions)],
10818
+ [!!node.symbolId, 'ph-thin ph-diamond', say('builder.chrome.badgeSymbol'), say('builder.chrome.badgeSymbolTitle')],
10819
+ [!node.symbolId && !!node.detachedSymbolId, 'ph-thin ph-link-break', say('builder.chrome.badgeDetached'), say('builder.chrome.badgeDetachedTitle')],
10820
+ [!!node.stylePresetId, 'ph-thin ph-palette', say('builder.chrome.badgePreset'), say('builder.chrome.badgePresetTitle')],
10821
+ [!!node.isGlobal, 'ph-thin ph-globe-hemisphere-west', say('builder.chrome.badgeGlobal'), say('builder.chrome.badgeGlobalTitle')],
10585
10822
  ];
10586
10823
  return rows
10587
10824
  .filter(([on]) => on)
10588
10825
  .map(([, icon, label, title]) => ({ icon, label, title }));
10589
10826
  }
10590
10827
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BreadcrumbBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10591
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: BreadcrumbBarComponent, isStandalone: false, selector: "app-breadcrumb-bar", inputs: { path: "path" }, outputs: { nodeSelect: "nodeSelect", rootSelect: "rootSelect", nodePeek: "nodePeek" }, ngImport: i0, template: "<!-- Floats over the canvas gutter, so the bar itself must not eat clicks aimed at the\n canvas behind it. Only the crumbs and badges take pointer events. -->\n<nav class=\"breadcrumb-bar\" aria-label=\"Selected element path\">\n <ol class=\"crumbs\" #crumbList>\n @for (crumb of crumbs; track trackCrumb($index, crumb)) {\n <li class=\"crumb-item\">\n @if (!$first) {\n <i class=\"crumb-sep ph-thin ph-caret-right\" aria-hidden=\"true\"></i>\n }\n <button type=\"button\"\n class=\"crumb\"\n [class.crumb--current]=\"crumb.isCurrent\"\n [class.crumb--root]=\"!crumb.node\"\n [attr.aria-current]=\"crumb.isCurrent ? 'true' : null\"\n [title]=\"crumb.node ? crumb.label : 'The page surface \u2014 background and typography'\"\n (mouseenter)=\"onPeek(crumb)\"\n (mouseleave)=\"onPeekEnd()\"\n (focus)=\"onPeek(crumb)\"\n (blur)=\"onPeekEnd()\"\n (click)=\"onSelect(crumb)\">@if (crumb.icon) {<i [class]=\"crumb.icon\" class=\"crumb-icon\" aria-hidden=\"true\"></i>}{{ crumb.label }}</button>\n </li>\n }\n </ol>\n\n @if (badges.length) {\n <div class=\"badges\">\n @for (badge of badges; track trackBadge($index, badge)) {\n <span class=\"badge\" [title]=\"badge.title\">\n <i [class]=\"badge.icon\" aria-hidden=\"true\"></i>\n <span class=\"badge-label\">{{ badge.label }}</span>\n </span>\n }\n </div>\n }\n</nav>\n", styles: [".breadcrumb-bar{display:flex;align-items:center;gap:10px;max-inline-size:100%;overflow:hidden;pointer-events:none}.crumbs{display:flex;align-items:center;gap:2px;flex:1;min-inline-size:0;margin:0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none;pointer-events:auto}.crumbs::-webkit-scrollbar{display:none}.crumb-item{display:flex;align-items:center;gap:2px;flex:none}.crumb-sep{font-size:11px;color:var(--p-text-muted-color);opacity:.6}.crumb--root{font-style:italic}.crumb-icon{margin-inline-end:4px;font-size:12px;vertical-align:-1px}.crumb{max-inline-size:180px;padding:3px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--p-text-muted-color);font-family:inherit;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;background:var(--p-content-background);transition:background-color .15s ease,color .15s ease}.crumb:hover{background:var(--p-content-hover-background);color:var(--p-text-color)}.crumb:focus-visible{outline:2px solid #cb9090;outline-offset:1px}.crumb--current{background:#cb909029;border-color:#cb9090;color:var(--p-text-color);font-weight:600}.badges{display:flex;align-items:center;gap:5px;flex:none;pointer-events:auto}.badge{display:inline-flex;background:var(--p-content-background);align-items:center;gap:4px;padding:2px 7px;border:1px solid var(--p-content-border-color);border-radius:20px;color:var(--p-text-muted-color);font-size:10px;white-space:nowrap}.badge i{font-size:12px}.badge-label{line-height:1.4}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10828
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: BreadcrumbBarComponent, isStandalone: false, selector: "app-breadcrumb-bar", inputs: { path: "path", typeName: "typeName" }, outputs: { nodeSelect: "nodeSelect", rootSelect: "rootSelect", nodePeek: "nodePeek" }, ngImport: i0, template: "<!-- Floats over the canvas gutter, so the bar itself must not eat clicks aimed at the\n canvas behind it. Only the crumbs and badges take pointer events. -->\n<nav class=\"breadcrumb-bar\" [attr.aria-label]=\"ariaLabel\">\n <ol class=\"crumbs\" #crumbList>\n @for (crumb of crumbs; track trackCrumb($index, crumb)) {\n <li class=\"crumb-item\">\n @if (!$first) {\n <i class=\"crumb-sep ph-thin ph-caret-right\" aria-hidden=\"true\"></i>\n }\n <button type=\"button\"\n class=\"crumb\"\n [class.crumb--current]=\"crumb.isCurrent\"\n [class.crumb--root]=\"!crumb.node\"\n [attr.aria-current]=\"crumb.isCurrent ? 'true' : null\"\n [title]=\"crumb.node ? crumb.label : bodyTitle\"\n (mouseenter)=\"onPeek(crumb)\"\n (mouseleave)=\"onPeekEnd()\"\n (focus)=\"onPeek(crumb)\"\n (blur)=\"onPeekEnd()\"\n (click)=\"onSelect(crumb)\">@if (crumb.icon) {<i [class]=\"crumb.icon\" class=\"crumb-icon\" aria-hidden=\"true\"></i>}{{ crumb.label }}</button>\n </li>\n }\n </ol>\n\n @if (badges.length) {\n <div class=\"badges\">\n @for (badge of badges; track trackBadge($index, badge)) {\n <span class=\"badge\" [title]=\"badge.title\">\n <i [class]=\"badge.icon\" aria-hidden=\"true\"></i>\n <span class=\"badge-label\">{{ badge.label }}</span>\n </span>\n }\n </div>\n }\n</nav>\n", styles: [".breadcrumb-bar{display:flex;align-items:center;gap:10px;max-inline-size:100%;overflow:hidden;pointer-events:none}.crumbs{display:flex;align-items:center;gap:2px;flex:1;min-inline-size:0;margin:0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none;pointer-events:auto}.crumbs::-webkit-scrollbar{display:none}.crumb-item{display:flex;align-items:center;gap:2px;flex:none}.crumb-sep{font-size:11px;color:var(--p-text-muted-color);opacity:.6}.crumb--root{font-style:italic}.crumb-icon{margin-inline-end:4px;font-size:12px;vertical-align:-1px}.crumb{max-inline-size:180px;padding:3px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--p-text-muted-color);font-family:inherit;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;background:var(--p-content-background);transition:background-color .15s ease,color .15s ease}.crumb:hover{background:var(--p-content-hover-background);color:var(--p-text-color)}.crumb:focus-visible{outline:2px solid #cb9090;outline-offset:1px}.crumb--current{background:#cb909029;border-color:#cb9090;color:var(--p-text-color);font-weight:600}.badges{display:flex;align-items:center;gap:5px;flex:none;pointer-events:auto}.badge{display:inline-flex;background:var(--p-content-background);align-items:center;gap:4px;padding:2px 7px;border:1px solid var(--p-content-border-color);border-radius:20px;color:var(--p-text-muted-color);font-size:10px;white-space:nowrap}.badge i{font-size:12px}.badge-label{line-height:1.4}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10592
10829
  }
10593
10830
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BreadcrumbBarComponent, decorators: [{
10594
10831
  type: Component,
10595
- args: [{ selector: 'app-breadcrumb-bar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<!-- Floats over the canvas gutter, so the bar itself must not eat clicks aimed at the\n canvas behind it. Only the crumbs and badges take pointer events. -->\n<nav class=\"breadcrumb-bar\" aria-label=\"Selected element path\">\n <ol class=\"crumbs\" #crumbList>\n @for (crumb of crumbs; track trackCrumb($index, crumb)) {\n <li class=\"crumb-item\">\n @if (!$first) {\n <i class=\"crumb-sep ph-thin ph-caret-right\" aria-hidden=\"true\"></i>\n }\n <button type=\"button\"\n class=\"crumb\"\n [class.crumb--current]=\"crumb.isCurrent\"\n [class.crumb--root]=\"!crumb.node\"\n [attr.aria-current]=\"crumb.isCurrent ? 'true' : null\"\n [title]=\"crumb.node ? crumb.label : 'The page surface \u2014 background and typography'\"\n (mouseenter)=\"onPeek(crumb)\"\n (mouseleave)=\"onPeekEnd()\"\n (focus)=\"onPeek(crumb)\"\n (blur)=\"onPeekEnd()\"\n (click)=\"onSelect(crumb)\">@if (crumb.icon) {<i [class]=\"crumb.icon\" class=\"crumb-icon\" aria-hidden=\"true\"></i>}{{ crumb.label }}</button>\n </li>\n }\n </ol>\n\n @if (badges.length) {\n <div class=\"badges\">\n @for (badge of badges; track trackBadge($index, badge)) {\n <span class=\"badge\" [title]=\"badge.title\">\n <i [class]=\"badge.icon\" aria-hidden=\"true\"></i>\n <span class=\"badge-label\">{{ badge.label }}</span>\n </span>\n }\n </div>\n }\n</nav>\n", styles: [".breadcrumb-bar{display:flex;align-items:center;gap:10px;max-inline-size:100%;overflow:hidden;pointer-events:none}.crumbs{display:flex;align-items:center;gap:2px;flex:1;min-inline-size:0;margin:0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none;pointer-events:auto}.crumbs::-webkit-scrollbar{display:none}.crumb-item{display:flex;align-items:center;gap:2px;flex:none}.crumb-sep{font-size:11px;color:var(--p-text-muted-color);opacity:.6}.crumb--root{font-style:italic}.crumb-icon{margin-inline-end:4px;font-size:12px;vertical-align:-1px}.crumb{max-inline-size:180px;padding:3px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--p-text-muted-color);font-family:inherit;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;background:var(--p-content-background);transition:background-color .15s ease,color .15s ease}.crumb:hover{background:var(--p-content-hover-background);color:var(--p-text-color)}.crumb:focus-visible{outline:2px solid #cb9090;outline-offset:1px}.crumb--current{background:#cb909029;border-color:#cb9090;color:var(--p-text-color);font-weight:600}.badges{display:flex;align-items:center;gap:5px;flex:none;pointer-events:auto}.badge{display:inline-flex;background:var(--p-content-background);align-items:center;gap:4px;padding:2px 7px;border:1px solid var(--p-content-border-color);border-radius:20px;color:var(--p-text-muted-color);font-size:10px;white-space:nowrap}.badge i{font-size:12px}.badge-label{line-height:1.4}\n"] }]
10832
+ args: [{ selector: 'app-breadcrumb-bar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<!-- Floats over the canvas gutter, so the bar itself must not eat clicks aimed at the\n canvas behind it. Only the crumbs and badges take pointer events. -->\n<nav class=\"breadcrumb-bar\" [attr.aria-label]=\"ariaLabel\">\n <ol class=\"crumbs\" #crumbList>\n @for (crumb of crumbs; track trackCrumb($index, crumb)) {\n <li class=\"crumb-item\">\n @if (!$first) {\n <i class=\"crumb-sep ph-thin ph-caret-right\" aria-hidden=\"true\"></i>\n }\n <button type=\"button\"\n class=\"crumb\"\n [class.crumb--current]=\"crumb.isCurrent\"\n [class.crumb--root]=\"!crumb.node\"\n [attr.aria-current]=\"crumb.isCurrent ? 'true' : null\"\n [title]=\"crumb.node ? crumb.label : bodyTitle\"\n (mouseenter)=\"onPeek(crumb)\"\n (mouseleave)=\"onPeekEnd()\"\n (focus)=\"onPeek(crumb)\"\n (blur)=\"onPeekEnd()\"\n (click)=\"onSelect(crumb)\">@if (crumb.icon) {<i [class]=\"crumb.icon\" class=\"crumb-icon\" aria-hidden=\"true\"></i>}{{ crumb.label }}</button>\n </li>\n }\n </ol>\n\n @if (badges.length) {\n <div class=\"badges\">\n @for (badge of badges; track trackBadge($index, badge)) {\n <span class=\"badge\" [title]=\"badge.title\">\n <i [class]=\"badge.icon\" aria-hidden=\"true\"></i>\n <span class=\"badge-label\">{{ badge.label }}</span>\n </span>\n }\n </div>\n }\n</nav>\n", styles: [".breadcrumb-bar{display:flex;align-items:center;gap:10px;max-inline-size:100%;overflow:hidden;pointer-events:none}.crumbs{display:flex;align-items:center;gap:2px;flex:1;min-inline-size:0;margin:0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none;pointer-events:auto}.crumbs::-webkit-scrollbar{display:none}.crumb-item{display:flex;align-items:center;gap:2px;flex:none}.crumb-sep{font-size:11px;color:var(--p-text-muted-color);opacity:.6}.crumb--root{font-style:italic}.crumb-icon{margin-inline-end:4px;font-size:12px;vertical-align:-1px}.crumb{max-inline-size:180px;padding:3px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--p-text-muted-color);font-family:inherit;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;background:var(--p-content-background);transition:background-color .15s ease,color .15s ease}.crumb:hover{background:var(--p-content-hover-background);color:var(--p-text-color)}.crumb:focus-visible{outline:2px solid #cb9090;outline-offset:1px}.crumb--current{background:#cb909029;border-color:#cb9090;color:var(--p-text-color);font-weight:600}.badges{display:flex;align-items:center;gap:5px;flex:none;pointer-events:auto}.badge{display:inline-flex;background:var(--p-content-background);align-items:center;gap:4px;padding:2px 7px;border:1px solid var(--p-content-border-color);border-radius:20px;color:var(--p-text-muted-color);font-size:10px;white-space:nowrap}.badge i{font-size:12px}.badge-label{line-height:1.4}\n"] }]
10596
10833
  }], propDecorators: { path: [{
10597
10834
  type: Input
10835
+ }], typeName: [{
10836
+ type: Input
10598
10837
  }], nodeSelect: [{
10599
10838
  type: Output
10600
10839
  }], rootSelect: [{
@@ -10898,7 +11137,7 @@ class BuilderComponent {
10898
11137
  if (!node)
10899
11138
  return;
10900
11139
  this._withNodeRef(node, ref => {
10901
- this.overlayService.setSelect(ref.element, node.type, this.activeMode, node, ref.componentRef);
11140
+ this.overlayService.setSelect(ref.element, this.typeName(node.type), this.activeMode, node, ref.componentRef);
10902
11141
  this._emitElementSelect(node, ref.componentRef);
10903
11142
  });
10904
11143
  }
@@ -11156,6 +11395,8 @@ class BuilderComponent {
11156
11395
  this.styleRegistry = styleRegistry;
11157
11396
  this.contextStore = inject(ContextStore);
11158
11397
  this.labels = inject(IOX_BUILDER_LABELS);
11398
+ /** iox-ui#209: a type's name in the admin's language — the palette's word (the chip, the breadcrumb). */
11399
+ this.typeName = (type) => typeDisplayName(type, this.registry.paletteName?.(type), this.labels);
11159
11400
  this.sceneCanvas = inject(SceneCanvasService, { optional: true });
11160
11401
  /** Premium M5: the canvas's tooltips (the live site's runtime, placed in the zoomed frame) and what the design
11161
11402
  * state holds up for styling — a control's tooltip, a toast. */
@@ -12068,7 +12309,7 @@ class BuilderComponent {
12068
12309
  if (isInsideExit(event.element))
12069
12310
  return;
12070
12311
  this.selectedItem = event.node;
12071
- this.overlayService.setSelect(event.element, event.node.type, this.activeMode, event.node, event.componentRef, event.fromRow ?? null);
12312
+ this.overlayService.setSelect(event.element, this.typeName(event.node.type), this.activeMode, event.node, event.componentRef, event.fromRow ?? null);
12072
12313
  this.selectPanelForElement();
12073
12314
  this._emitElementSelect(event.node, event.componentRef);
12074
12315
  }
@@ -12082,7 +12323,7 @@ class BuilderComponent {
12082
12323
  this.cdr.detectChanges();
12083
12324
  setTimeout(() => this._withNodeRef(node, ref => {
12084
12325
  this.selectedItem = node;
12085
- this.overlayService.setSelect(ref.element, node.type, this.activeMode, node, ref.componentRef);
12326
+ this.overlayService.setSelect(ref.element, this.typeName(node.type), this.activeMode, node, ref.componentRef);
12086
12327
  this._emitElementSelect(node, ref.componentRef);
12087
12328
  this.cdr.markForCheck();
12088
12329
  }));
@@ -12119,7 +12360,7 @@ class BuilderComponent {
12119
12360
  if (!ref)
12120
12361
  return;
12121
12362
  this.selectedItem = node;
12122
- this.overlayService.setSelect(ref.element, node.type, this.activeMode, node, ref.componentRef);
12363
+ this.overlayService.setSelect(ref.element, this.typeName(node.type), this.activeMode, node, ref.componentRef);
12123
12364
  this.selectPanelForElement();
12124
12365
  this._emitElementSelect(node, ref.componentRef);
12125
12366
  });
@@ -12128,7 +12369,7 @@ class BuilderComponent {
12128
12369
  if (this.isDragging || this.activeMode === BuilderMode.Pan)
12129
12370
  return;
12130
12371
  cancelAnimationFrame(this.hoverHideRaf);
12131
- this.overlayService.setHover(event.element, event.node.type, this.activeMode);
12372
+ this.overlayService.setHover(event.element, this.typeName(event.node.type), this.activeMode);
12132
12373
  }
12133
12374
  handleMouseLeave() {
12134
12375
  if (this.isDragging || this.activeMode === BuilderMode.Pan)
@@ -12164,7 +12405,7 @@ class BuilderComponent {
12164
12405
  const ref = opener ? this.overlayService.getNodeRef(opener) : null;
12165
12406
  if (opener && ref?.element?.isConnected) {
12166
12407
  this.selectedItem = opener;
12167
- this.overlayService.setSelect(ref.element, opener.type, this.activeMode, opener, ref.componentRef);
12408
+ this.overlayService.setSelect(ref.element, this.typeName(opener.type), this.activeMode, opener, ref.componentRef);
12168
12409
  this._emitElementSelect(opener, ref.componentRef);
12169
12410
  return;
12170
12411
  }
@@ -12177,7 +12418,7 @@ class BuilderComponent {
12177
12418
  onCrumbSelect(node) {
12178
12419
  this._withNodeRef(node, ref => {
12179
12420
  this.selectedItem = node;
12180
- this.overlayService.setSelect(ref.element, node.type, this.activeMode, node, ref.componentRef);
12421
+ this.overlayService.setSelect(ref.element, this.typeName(node.type), this.activeMode, node, ref.componentRef);
12181
12422
  this._emitElementSelect(node, ref.componentRef);
12182
12423
  });
12183
12424
  }
@@ -12203,12 +12444,12 @@ class BuilderComponent {
12203
12444
  }
12204
12445
  const ref = this.overlayService.getNodeRef(node);
12205
12446
  if (ref)
12206
- this.overlayService.setHover(ref.element, node.label || node.type, this.activeMode);
12447
+ this.overlayService.setHover(ref.element, nodeDisplayName(node, this.typeName, this.labels), this.activeMode);
12207
12448
  }
12208
12449
  onTreeNodeSelect(node) {
12209
12450
  this.selectedItem = node;
12210
12451
  this._withNodeRef(node, ref => {
12211
- this.overlayService.setSelect(ref.element, node.type, this.activeMode, node, ref.componentRef);
12452
+ this.overlayService.setSelect(ref.element, this.typeName(node.type), this.activeMode, node, ref.componentRef);
12212
12453
  this._emitElementSelect(node, ref.componentRef);
12213
12454
  });
12214
12455
  this.selectPanelForElement();
@@ -12343,7 +12584,7 @@ class BuilderComponent {
12343
12584
  const ref = this.overlayService.getNodeRef(parentNode);
12344
12585
  if (ref) {
12345
12586
  this.selectedItem = parentNode;
12346
- this.overlayService.setSelect(ref.element, parentNode.type, this.activeMode, parentNode, ref.componentRef);
12587
+ this.overlayService.setSelect(ref.element, this.typeName(parentNode.type), this.activeMode, parentNode, ref.componentRef);
12347
12588
  this._emitElementSelect(parentNode, ref.componentRef);
12348
12589
  }
12349
12590
  }
@@ -12811,7 +13052,7 @@ class BuilderComponent {
12811
13052
  if (node)
12812
13053
  this._withNodeRef(node, ref => {
12813
13054
  this.selectedItem = node;
12814
- this.overlayService.setSelect(ref.element, node.type, this.activeMode, node, ref.componentRef);
13055
+ this.overlayService.setSelect(ref.element, this.typeName(node.type), this.activeMode, node, ref.componentRef);
12815
13056
  this._emitElementSelect(node, ref.componentRef);
12816
13057
  });
12817
13058
  return;
@@ -12840,11 +13081,11 @@ class BuilderComponent {
12840
13081
  }
12841
13082
  }
12842
13083
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderComponent, deps: [{ token: ComponentRegistryService }, { token: OverlayService }, { token: PanelEventService }, { token: DragEngineService }, { token: DataSourceRegistryService }, { token: ViewportService }, { token: FormStateService }, { token: CanvasDesignStateService }, { token: InteractionEngineService }, { token: InteractionPresetRegistryService }, { token: BuilderClipboardService }, { token: SymbolRegistryService }, { token: i0.ChangeDetectorRef }, { token: i0.ApplicationRef }, { token: MoveableCanvasService }, { token: SelectoCanvasService }, { token: StyleRegistryService }], target: i0.ɵɵFactoryTarget.Component }); }
12843
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: BuilderComponent, isStandalone: false, selector: "app-builder", inputs: { layout: "layout", dataSources: "dataSources", orgId: "orgId", routeParams: "routeParams", pageName: "pageName", isSaving: "isSaving", pageStatus: "pageStatus", publishChecking: "publishChecking", pageSettings: "pageSettings", globalElements: "globalElements", pagePath: "pagePath", canUndo: "canUndo", canRedo: "canRedo", canvasLocale: "canvasLocale", moveableMode: "moveableMode" }, outputs: { save: "save", undo: "undo", redo: "redo", back: "back", preview: "preview", publishToggle: "publishToggle", pageSettingsChange: "pageSettingsChange", applyAnimationToAll: "applyAnimationToAll", saveBlock: "saveBlock", globalElementsChange: "globalElementsChange" }, providers: [{ provide: IOX_BUILDER_CANVAS, useValue: true }], viewQueries: [{ propertyName: "previewCanvas", first: true, predicate: ["previewCanvas"], descendants: true }, { propertyName: "previewScrollRef", first: true, predicate: ["previewScroll"], descendants: true }, { propertyName: "lenisContentRef", first: true, predicate: ["lenisContent"], descendants: true }, { propertyName: "globalOverlayRef", first: true, predicate: ["globalOverlay"], descendants: true }, { propertyName: "globalsBeforeRef", first: true, predicate: ["globalsBefore"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"builder\">\n\n <div class=\"builder-main\" [class.panel-open]=\"isPanelOpen\">\n <!-- The switcher is the panel's OWN tab bar. It used to live in the header, at the\n maximum possible distance from the thing it controls; attached, the column and the\n panel are one card with one shadow. See board D2. -->\n <aside class=\"sidebar\">\n <div class=\"sidebar-switcher\">\n <button (click)=\"activeSidebar = 'pages'\" [class.active]=\"activeSidebar === 'pages'\" title=\"Pages\" aria-label=\"Pages\">\n <i class=\"ph-thin ph-browsers\"></i>\n </button>\n <button (click)=\"activeSidebar = 'components'\" [class.active]=\"activeSidebar === 'components'\" title=\"Components\" aria-label=\"Components\">\n <i class=\"ph-thin ph-cube\"></i>\n </button>\n <button (click)=\"activeSidebar = 'tree'\" [class.active]=\"activeSidebar === 'tree'\" title=\"Layers\" aria-label=\"Layers\">\n <i class=\"ph-thin ph-tree-structure\"></i>\n </button>\n <button (click)=\"activeSidebar = 'tokens'\" [class.active]=\"activeSidebar === 'tokens'\" title=\"Design Tokens\" aria-label=\"Design Tokens\">\n <i class=\"ph-thin ph-circles-three\"></i>\n </button>\n </div>\n <div class=\"sidebar-body\">\n @if (activeSidebar === 'pages') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderPages]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'components') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderComponents]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'tokens') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderTokens]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'tree') {\n <app-layer-tree\n [layout]=\"layout\"\n [globalElements]=\"globalElements\"\n (nodeSelect)=\"onTreeNodeSelect($event)\"\n (nodeAction)=\"onTreeNodeAction($event)\"\n (nodeMove)=\"onTreeNodeMove()\"></app-layer-tree>\n }\n </div>\n </aside>\n\n <!-- \u26A0\uFE0F The strips are SIBLINGS of .preview, not children of it. Board D2 floated them\n over the canvas and that is what they did \u2014 over the page being edited, which is the\n one thing in the builder that must stay clear. They keep their pill shape and their\n centre alignment; they just take their own row.\n\n Siblings, specifically, rather than a wrapper INSIDE .preview: `previewCanvas` is the\n overlay container and the coordinate origin for the selection box, the drag clone,\n Lenis and the zoom maths (nine call sites). Nesting anything between it and the canvas\n would shift every one of them by the strip's height. -->\n <div class=\"canvas-column\" [style.margin-left.px]=\"coverSide === CoverSide.Left ? (coverInset || null) : null\" [style.margin-right.px]=\"coverSide === CoverSide.Right ? (coverInset || null) : null\">\n <!-- \u2460 THE ACTION STRIP \u2014 floating, top-centre (board D2). It was a solid\n full-width header bar costing 56px of height on every screen; the canvas now\n starts at the top of the viewport and the strip hovers over it.\n stopPropagation for the same reason the breadcrumb does: .preview's (click)\n is \"you clicked empty canvas, drop the selection\". -->\n <div class=\"toolbar-strip\" (click)=\"$event.stopPropagation()\">\n <app-toolbar\n [activeMode]=\"activeMode\"\n [activeBreakpoint]=\"activeBreakpoint\"\n [breakpointCounts]=\"breakpointCounts\"\n [auditCount]=\"auditFindings.length || structureFindings.length\"\n [auditOpen]=\"auditOpen\"\n [activeZoom]=\"activeZoom\"\n [activeScreenWidth]=\"activeScreenWidth\"\n [isSaving]=\"isSaving\"\n [pageStatus]=\"pageStatus\"\n [publishChecking]=\"publishChecking\"\n [canUndo]=\"canUndo\"\n [canRedo]=\"canRedo\"\n (modeChange)=\"handleToolbarModeChange($event)\"\n (breakpointChange)=\"handleToolbarBreakpointChange($event)\"\n (auditToggle)=\"toggleAudit()\"\n (zoomChange)=\"handleToolbarZoomChange($event)\"\n (screenWidthChange)=\"handleToolbarScreenWidthChange($event)\"\n (save)=\"save.emit()\"\n (preview)=\"preview.emit()\"\n (publishToggle)=\"publishToggle.emit()\"\n (undo)=\"undo.emit()\"\n (redo)=\"redo.emit()\">\n <ng-content select=\"[builderToolbarActions]\"></ng-content>\n </app-toolbar>\n </div>\n\n <main #previewCanvas class=\"preview\"\n [class.grab-mode]=\"activeMode === builderModes.Pan\"\n [class.grabbing]=\"isPanning\"\n (click)=\"handleCanvasClick()\"\n (mousedown)=\"onBoardMouseDown($event)\"\n (mousemove)=\"onBoardMouseMove($event)\"\n (mouseup)=\"onBoardMouseUp()\"\n (mouseleave)=\"onBoardMouseUp()\"\n (dragstart)=\"onNativeDragStart($event)\">\n <app-overlay (toolbarAction)=\"onToolbarAction($event)\"></app-overlay>\n\n <!-- Responsive audit (A5) \u2014 floats over the canvas, right gutter. -->\n @if (auditOpen) {\n <div class=\"audit-dock\" (click)=\"$event.stopPropagation()\">\n <app-audit-panel\n [findings]=\"auditFindings\"\n [breakpointLabel]=\"auditBreakpointLabel\"\n [running]=\"auditRunning\"\n (select)=\"selectAuditNode($event)\"\n (fix)=\"applyAuditFix($event)\"\n (fixAll)=\"applyAllAuditFixes()\"\n (rerun)=\"runAudit()\"\n (closePanel)=\"toggleAudit()\"></app-audit-panel>\n </div>\n }\n\n <!-- Empty page (B4): a starting point beats a blank canvas. Each starter is a responsive layout preset \u2014\n ordinary nodes, editable afterwards. It is builder CHROME (iox-ui#168): it floats over the canvas like the\n audit dock \u2014 absolutely placed, so nothing in .preview moves \u2014 and never inside the zoomed frame, so its\n words are drawn at their own size in the admin's font (inside iox-page-component they took the frame's\n zoom, 11px \u2192 ~6px at 57%, and the page's font). The words are the builder's own (IOX_BUILDER_LABELS,\n iox-ui#163): `dir=\"auto\"` reads their direction \u2014 the ADMIN's language \u2014 whatever the page's is. Click and\n press stop here: .preview's (click) drops the selection, its (mousedown) starts a pan. -->\n @if (isPageEmpty) {\n <div class=\"empty-canvas\" dir=\"auto\" (click)=\"$event.stopPropagation()\" (mousedown)=\"$event.stopPropagation()\">\n <h2 class=\"empty-title\">{{ chromeWord('builder.chrome.startTitle') }}</h2>\n <p class=\"empty-sub\">{{ chromeWord('builder.chrome.startSub') }}</p>\n <div class=\"empty-grid\">\n @for (starter of starterLayouts; track starter.id) {\n <button type=\"button\" class=\"empty-card\" (click)=\"startWithLayout(starter)\">\n <i [class]=\"starter.icon\" aria-hidden=\"true\"></i>\n <span class=\"empty-card-name\">{{ starterName(starter) }}</span>\n <span class=\"empty-card-desc\">{{ starterDescription(starter) }}</span>\n </button>\n }\n </div>\n <button type=\"button\" class=\"empty-link\" (click)=\"browseComponents()\">{{ chromeWord('builder.chrome.startSingle') }}</button>\n </div>\n }\n\n <!-- Custom Lenis scrollbar \u2014 lives in .preview (not .preview-scroll) so it\n stays in the right gutter and never overlaps the canvas at large widths.\n No translateY counteract needed since it isn't inside the Lenis wrapper. -->\n <div class=\"canvas-scrollbar\"\n [class.visible]=\"isScrollbarVisible\">\n <div class=\"canvas-scrollbar-thumb\"\n [style.height.px]=\"scrollThumbHeight\"\n [style.top.px]=\"scrollThumbTop\">\n </div>\n </div>\n\n <!-- Global elements overlay \u2014 outside Lenis so position:fixed children\n stay pinned to the canvas viewport rather than scrolling with content.\n Shares viewportTransform so elements scale correctly at any zoom level.\n Height is the frame a pinned global sits in (globalOverlayHeight: the canvas\n slot, or the page on a short page), bound in px so position:fixed + inset:0\n fills it (CSS calc(100%) would give the wrong containing-block height). -->\n @if (globalElements.length) {\n <div\n #globalOverlay\n class=\"global-elements-overlay iox-token-scope\"\n [attr.dir]=\"canvasDir\"\n [attr.lang]=\"canvasLocale || null\"\n [attr.data-iox-column]=\"columnWord\"\n [ngStyle]=\"globalLayerCss\"\n [style.width.px]=\"viewportWidth\"\n [style.height.px]=\"globalOverlayHeight\"\n [style.transform]=\"viewportTransform\">\n <!-- BEFORE globals stay here, in the frame (a Dialog inside a header must fill the frame,\n not scroll away with the page). Their wrapper's height is what the in-flow ones take,\n and the page reserves it at its top (canvasHeaderReserve, iox-ui#19). A header standing on a\n ground over a pictured opening (data-iox-opening-media) gives its height back, so the reserve\n drops by it and the picture starts at the top, under the bar (HI3-D7, T1). -->\n @if (globalElementsBefore.length) {\n <div #globalsBefore class=\"iox-canvas-globals-before\" [attr.data-iox-opening]=\"openingScheme\" [attr.data-iox-opening-media]=\"openingMedia\">\n @for (item of globalElementsBefore; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n <!-- The PINNED after globals (a fixed bottom bar, a Dialog). An in-flow AFTER global (a\n footer) is drawn in the page, after its content (iox-ui#12). -->\n @for (item of globalElementsPinnedAfter; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n\n <div class=\"preview-scroll\"\n #previewScroll\n [style.width.px]=\"viewportScaledWidth\"\n [class.pan-mode]=\"activeMode === builderModes.Pan\">\n\n <!-- Lenis content proxy: height = realContentHeight \u00D7 scale.\n Lenis scrolls against this value so scroll range is always in\n visual px \u2014 correct at any zoom level. -->\n <div class=\"preview-lenis-content\" #lenisContent\n [style.height.px]=\"scaledContentHeight\">\n\n <!-- iox-token-scope: the ORG's design tokens are declared on this class, not :root\n (StyleRegistryService.upsertTokens), so they never repaint the admin chrome. -->\n <iox-page-component class=\"iox-token-scope\"\n [attr.dir]=\"canvasDir\"\n [attr.lang]=\"canvasLocale || null\"\n [attr.data-iox-column]=\"columnWord\"\n [style.width.px]=\"viewportWidth\"\n [style.height.px]=\"canvasFrameHeight || viewportHeight\"\n [style.transform]=\"viewportTransform\">\n\n <!-- ngStyle carries the page's own background/typography (pageSettings.style),\n compiled by the SAME function the engine applies to <body>. Inline wins over\n the #canvas-preview white default, which stays as the unset fallback. -->\n <div class=\"canvas-viewport\"\n id=\"canvas-preview\"\n [attr.data-bar-reserve]=\"canvasBarReserve\"\n [attr.data-iox-opening-media]=\"openingMedia\"\n [style.padding-block-start.px]=\"canvasHeaderReserve || null\"\n [ngStyle]=\"pageStyleCss\"\n [style.min-height.px]=\"canvasMinHeight\">\n\n <!-- WRAPPER COLLAPSE (task 9c): top-level nodes render DIRECTLY into the\n canvas viewport \u2014 no .preview-node wrapper; iox-outer + drag move to the\n host (RenderDirective, via ioxDragSourceId). -->\n @for (item of layout; track item) {\n <ng-container\n [ioxRender]=\"item\"\n [ioxDragSourceId]=\"'canvas-preview'\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n\n <!-- In-flow AFTER globals (a footer) follow the page's content, inside the page's\n ground, as on the live site (iox-ui#12). Not part of the layout: the drag\n engine skips this wrapper (GLOBALS_AFTER_CLASS). -->\n @if (globalElementsInPage.length) {\n <div [class]=\"globalsAfterClass\">\n @for (item of globalElementsInPage; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n </div>\n </iox-page-component>\n </div>\n </div>\n </main>\n <!-- \u2462 THE ELEMENT PATH \u2014 a thin floating strip, BOTTOM-CENTRE (board D2). It is\n pinned to the PREVIEW VIEWPORT, not to the canvas frame: the frame pans and\n scales, so a breadcrumb tracking its edge would drift off-screen and shrink with\n zoom. It used to sit in the top gutter, which is where the eye is least often \u2014\n and where the floating action strip now lives.\n\n \u26A0\uFE0F stopPropagation is REQUIRED, not defensive. This element lives inside .preview,\n whose (click) is handleCanvasClick() \u2014 \"you clicked empty canvas, drop the\n selection\". Without it, picking an ancestor crumb selects that node and then\n immediately bubbles into the canvas handler, which clears it: the selection and the\n layer-tree highlight both fall back to Body. Same reason .audit-dock stops its own. -->\n <app-breadcrumb-bar\n (click)=\"$event.stopPropagation()\"\n [path]=\"selectedPath\"\n (nodeSelect)=\"onCrumbSelect($event)\"\n (rootSelect)=\"onCrumbRootSelect()\"\n (nodePeek)=\"onCrumbPeek($event)\">\n </app-breadcrumb-bar>\n\n <!-- \u2463 THE SCENE TIMELINE (premium sites SC2, board G) \u2014 its own row under the canvas, projected from the host\n like every panel, and only there while the page holds a Scene. A sibling of .preview for the reason above. -->\n <ng-content select=\"[builderTimeline]\"></ng-content>\n\n </div>\n\n <!-- Same rule as the sidebar: the switcher belongs to the panel it drives, as a\n tab ROW across its top. -->\n <div class=\"panel-dock\">\n <div class=\"panel-switcher\">\n <button (click)=\"selectPanel(panelTypes.BINDINGS)\" [class.active]=\"activePanel === panelTypes.BINDINGS\" title=\"Bindings\">\n <i class=\"ph-thin ph-plugs-connected\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.STYLES)\" [class.active]=\"activePanel === panelTypes.STYLES\" title=\"Styles\">\n <i class=\"ph-thin ph-paint-brush\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.PAGE)\" [class.active]=\"activePanel === panelTypes.PAGE\" title=\"Page settings\" aria-label=\"Page settings\">\n <i class=\"ph-thin ph-gear-six\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.INTERACTIONS)\" [class.active]=\"activePanel === panelTypes.INTERACTIONS\" title=\"Interactions\">\n <i class=\"ph-thin ph-lightning\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.ASK)\" [class.active]=\"activePanel === panelTypes.ASK\" title=\"Ask AI\" aria-label=\"Ask AI\" data-panel-tab=\"ask\">\n <i class=\"ph-thin ph-sparkle\"></i>\n </button>\n </div>\n <ng-content select=\"[builderPanel]\"></ng-content>\n </div>\n </div>\n\n <!-- Save as Reusable Block dialog -->\n <!-- A tab or a panel deleted alone (CC4a \u2014 composite T18): the pair goes together, so the delete is offered for\n both. Every delete path asks the one guard; this is its answer. -->\n <p-dialog [visible]=\"!!pendingPairRemoval\" (visibleChange)=\"$event || cancelPairRemoval()\" [modal]=\"true\" [closable]=\"true\"\n [draggable]=\"false\" [resizable]=\"false\" [header]=\"pairRemovalText('builder.chrome.deletePairTitle')\" styleClass=\"iox-pair-removal-dialog\"\n appendTo=\"body\" [style]=\"{ width: '400px' }\">\n <p class=\"pair-removal-body\">{{ pairRemovalText('builder.chrome.deletePairBody') }}</p>\n <ng-template pTemplate=\"footer\">\n <p-button size=\"small\" severity=\"secondary\" [label]=\"pairRemovalText('builder.chrome.cancel')\" (onClick)=\"cancelPairRemoval()\"></p-button>\n <p-button size=\"small\" severity=\"danger\" [label]=\"pairRemovalText('builder.chrome.deletePair')\" (onClick)=\"confirmPairRemoval()\"></p-button>\n </ng-template>\n </p-dialog>\n\n @if (showSaveBlockDialog) {\n <div class=\"save-block-backdrop\" (click)=\"cancelSaveBlock()\"></div>\n <div class=\"save-block-dialog\" (click)=\"$event.stopPropagation()\">\n <h4 class=\"save-block-title\">Save as Reusable Block</h4>\n <input class=\"save-block-input\"\n type=\"text\"\n placeholder=\"Block name...\"\n [(ngModel)]=\"saveBlockName\"\n (keydown.enter)=\"confirmSaveBlock()\"\n (keydown.escape)=\"cancelSaveBlock()\"\n autofocus>\n <div class=\"save-block-actions\">\n <p-button size=\"small\" severity=\"secondary\" label=\"Cancel\" (click)=\"cancelSaveBlock()\"></p-button>\n <p-button size=\"small\" label=\"Save\" [disabled]=\"!saveBlockName.trim()\" (click)=\"confirmSaveBlock()\"></p-button>\n </div>\n </div>\n }\n</div>", styles: ["@charset \"UTF-8\";:host{display:flex;flex:1;min-height:0;overflow:hidden}.builder{display:flex;flex-direction:column;direction:ltr;width:100%;height:100%;min-height:0;border-radius:0;overflow:hidden;position:relative}.builder .toolbar-strip{flex:none;align-self:center;max-inline-size:100%;display:flex;align-items:center;padding:6px 8px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:999px;box-shadow:0 6px 20px #101b421a;max-inline-size:calc(100% - 40px);overflow-x:auto;scrollbar-width:none}.builder .toolbar-strip::-webkit-scrollbar{display:none}.builder .sidebar-switcher,.builder .panel-switcher{flex:none;display:flex;flex-direction:row;align-items:center;gap:.375rem;padding:7px 10px;background:var(--p-surface-0);border-block-end:1px solid var(--iox-neutral-100, #EDEFF3)}.builder .sidebar-switcher button,.builder .panel-switcher button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;border:none;background:var(--iox-surface-3, #F6F7F9);color:var(--p-text-muted-color);cursor:pointer;font-size:1rem;transition:background .15s ease-out,color .15s ease-out}.builder .sidebar-switcher button i,.builder .panel-switcher button i{pointer-events:none}.builder .sidebar-switcher button:hover,.builder .panel-switcher button:hover{background:var(--iox-rose-100, #F8EAEA);color:var(--p-text-color)}.builder .sidebar-switcher button.active,.builder .panel-switcher button.active{background:var(--iox-grad-brand, linear-gradient(135deg, #9B4458 0%, #8A3A72 50%, #63347F 100%));color:#fff}.builder .panel-dock{display:grid;grid-template-rows:auto minmax(0,1fr);flex:none;min-height:0;background:var(--p-surface-0);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:var(--iox-radius-card, 20px);box-shadow:var(--iox-elev-1, 0 0 12px rgba(16, 27, 66, .05));overflow:hidden}.builder .builder-main{display:flex;flex:1 1 0;min-height:0;position:relative;overflow:hidden;gap:12px;padding:14px;background:transparent}.builder .sidebar{display:flex;flex-direction:column;inline-size:260px;min-inline-size:260px;background:var(--p-surface-0);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:var(--iox-radius-card, 20px);box-shadow:var(--iox-elev-1, 0 0 12px rgba(16, 27, 66, .05));overflow:hidden;flex-shrink:0;min-block-size:0}.builder .sidebar .sidebar-body{flex:1;min-inline-size:0;overflow-y:auto;overflow-x:hidden}.builder .sidebar:dir(rtl),.builder .panel-dock:dir(rtl){direction:rtl}.builder .canvas-column{flex:1 1 0;min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px}.builder .preview{flex:1 1 0;min-width:0;min-height:0;position:relative;overflow:hidden;background:transparent}.builder .preview.grab-mode{cursor:grab}.builder .preview.grab-mode iox-page-component{pointer-events:none}.builder .preview.grabbing{cursor:grabbing}.builder .canvas-scrollbar{position:absolute;right:4px;top:20px;bottom:20px;width:6px;z-index:20;opacity:0;transition:opacity .2s ease;pointer-events:none}.builder .canvas-scrollbar.visible{opacity:1}.builder .canvas-scrollbar-thumb{position:absolute;left:0;width:100%;background:#00000059;border-radius:3px;transition:top .05s linear}.builder .preview-scroll{position:absolute;inset:20px auto;inset-inline-start:50%;transform:translate(-50%);max-width:calc(100% - 40px);height:calc(100% - 40px);overflow:hidden}.builder .preview-lenis-content{position:relative;width:100%;overflow:hidden;contain:paint}.builder iox-page-component{position:absolute!important;top:0;bottom:auto!important;right:auto!important;left:50%;transform-origin:top center;overflow:visible!important;direction:ltr}.builder iox-page-component[dir=rtl]{direction:rtl}.builder iox-page-component{container:iox-canvas/inline-size;box-shadow:0 1px 4px #00000014,0 4px 16px #0000000a;transition:width .25s ease,transform .25s ease}.builder iox-page-component ::ng-deep .iox-page-wrapper{height:auto!important;overflow:visible!important}.builder #canvas-preview{background:#fff}.builder #canvas-preview[data-bar-reserve=iox-bar-reserve]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}@container iox-canvas (max-width: 1200px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-laptop]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 991px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-tablet]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 767px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-mobile]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 479px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-small]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}.builder .empty-canvas{position:absolute;inset-block-start:40px;inset-inline:0;margin-inline:auto;z-index:11;inline-size:min(560px,100% - 80px);max-block-size:calc(100% - 80px);overflow-y:auto;box-sizing:border-box;padding:24px;text-align:center;color:var(--iox-text-2, #535D6E);background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:20px;box-shadow:0 6px 20px #101b421a;cursor:default}.builder .empty-title{margin:0;font-size:14px;font-weight:600;line-height:1.4;color:var(--iox-text-1, #101B42)}.builder .empty-sub{margin:6px 0 16px;font-size:12px;line-height:1.5;color:var(--iox-text-2, #535D6E)}.builder .empty-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.builder .empty-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;border:1px solid var(--iox-border-1, #DDE1E8);border-radius:14px;background:#fff;cursor:pointer;font:inherit;transition:border-color .15s ease-out,box-shadow .15s ease-out,transform .12s cubic-bezier(.23,1,.32,1)}@media(hover:hover)and (pointer:fine){.builder .empty-card:hover{border-color:#cb9090;box-shadow:0 2px 10px #0000000f}}.builder .empty-card:active{transform:scale(.97)}.builder .empty-card:focus-visible{outline:2px solid #cb9090;outline-offset:2px}.builder .empty-card i{font-size:20px;color:var(--iox-accent-text, #A05C5C)}.builder .empty-card-name{font-size:12px;font-weight:600;color:var(--iox-text-1, #101B42)}.builder .empty-card-desc{font-size:11px;line-height:1.4;color:var(--iox-text-2, #535D6E)}.builder .empty-link{margin-block-start:16px;padding:0;border:none;background:none;font:inherit;font-size:12px;color:var(--iox-accent-text, #A05C5C);cursor:pointer}@media(hover:hover)and (pointer:fine){.builder .empty-link:hover{text-decoration:underline}}.builder .empty-link:focus-visible{outline:2px solid #cb9090;outline-offset:2px}.builder app-breadcrumb-bar{flex:none;align-self:center;max-inline-size:100%;display:flex;align-items:center;padding:5px 13px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:999px;box-shadow:0 6px 20px #101b421a;max-inline-size:calc(100% - 112px);pointer-events:none}.builder .audit-dock{position:absolute;inset-block-start:20px;inset-inline-end:16px;z-index:20}.builder .global-elements-overlay{position:absolute;top:20px;left:50%;transform-origin:top center;pointer-events:none;z-index:9;overflow:hidden;container:iox-canvas/inline-size;direction:ltr}.builder .global-elements-overlay[dir=rtl]{direction:rtl}.builder .global-elements-overlay ::ng-deep>*{pointer-events:auto}.builder .global-elements-overlay .iox-canvas-globals-before{display:flow-root;pointer-events:none}.builder .global-elements-overlay .iox-canvas-globals-before ::ng-deep>*{pointer-events:auto}.builder .preview-node.is-selected{cursor:grab}.builder .empty-state{min-height:240px;border:1px dashed var(--p-surface-200);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--p-text-muted-color);text-align:center;padding:1rem}.save-block-backdrop{position:fixed;inset:0;z-index:1000;background:#00000040}.save-block-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1001;background:#fff;border-radius:8px;box-shadow:0 8px 32px #0000002e;padding:24px;width:320px}.save-block-dialog .save-block-title{margin:0 0 16px;font-size:14px;font-weight:600;color:var(--p-text-color, #333)}.save-block-dialog .save-block-input{width:100%;padding:8px 10px;border:1px solid var(--p-surface-300, #d1d5db);border-radius:6px;font-size:13px;outline:none;box-sizing:border-box;margin-bottom:16px}.save-block-dialog .save-block-input:focus{border-color:#cb9090;box-shadow:0 0 0 2px #cb909033}.save-block-dialog .save-block-actions{display:flex;justify-content:flex-end;gap:8px}::ng-deep .moveable-control-box.iox-moveable-silent{z-index:1000!important}::ng-deep .moveable-control-box.iox-moveable-silent .moveable-line,::ng-deep .moveable-control-box.iox-moveable-silent .moveable-rotation,::ng-deep .moveable-control-box.iox-moveable-silent .moveable-rotation-line{display:none!important}::ng-deep .moveable-control-box.iox-moveable-silent .moveable-control{display:block!important;width:10px!important;height:10px!important;margin-top:-5px!important;margin-inline-start:-5px!important;background:#fff!important;border:1.5px solid #cb9090!important;border-radius:2px!important;box-shadow:0 1px 3px #0003!important}\n"], dependencies: [{ kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i17.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i17.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i17.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i18.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i19.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i20.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "component", type: i2$1.IoxPageComponent, selector: "iox-page-component", inputs: ["class", "scroll"], outputs: ["scrollEvent"] }, { kind: "directive", type: RenderDirective, selector: "[ioxRender]", inputs: ["ioxRender", "ioxDragSourceId", "ioxPhrasing"], outputs: ["onClick", "onMouseEnter", "onMouseLeave"] }, { kind: "component", type: OverlayComponent, selector: "app-overlay", outputs: ["toolbarAction"] }, { kind: "component", type: ToolbarComponent, selector: "app-toolbar", inputs: ["activeMode", "activeBreakpoint", "breakpointCounts", "auditCount", "auditOpen", "activeZoom", "activeScreenWidth", "canUndo", "canRedo", "isSaving", "pageStatus", "publishChecking"], outputs: ["modeChange", "breakpointChange", "auditToggle", "zoomChange", "screenWidthChange", "undo", "redo", "save", "preview", "publishToggle"] }, { kind: "component", type: LayerTreeComponent, selector: "app-layer-tree", inputs: ["layout", "globalElements"], outputs: ["nodeSelect", "nodeAction", "nodeMove"] }, { kind: "component", type: BreadcrumbBarComponent, selector: "app-breadcrumb-bar", inputs: ["path"], outputs: ["nodeSelect", "rootSelect", "nodePeek"] }, { kind: "component", type: AuditPanelComponent, selector: "app-audit-panel", inputs: ["findings", "breakpointLabel", "running"], outputs: ["select", "fix", "fixAll", "rerun", "closePanel"] }] }); }
13084
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: BuilderComponent, isStandalone: false, selector: "app-builder", inputs: { layout: "layout", dataSources: "dataSources", orgId: "orgId", routeParams: "routeParams", pageName: "pageName", isSaving: "isSaving", pageStatus: "pageStatus", publishChecking: "publishChecking", pageSettings: "pageSettings", globalElements: "globalElements", pagePath: "pagePath", canUndo: "canUndo", canRedo: "canRedo", canvasLocale: "canvasLocale", moveableMode: "moveableMode" }, outputs: { save: "save", undo: "undo", redo: "redo", back: "back", preview: "preview", publishToggle: "publishToggle", pageSettingsChange: "pageSettingsChange", applyAnimationToAll: "applyAnimationToAll", saveBlock: "saveBlock", globalElementsChange: "globalElementsChange" }, providers: [{ provide: IOX_BUILDER_CANVAS, useValue: true }], viewQueries: [{ propertyName: "previewCanvas", first: true, predicate: ["previewCanvas"], descendants: true }, { propertyName: "previewScrollRef", first: true, predicate: ["previewScroll"], descendants: true }, { propertyName: "lenisContentRef", first: true, predicate: ["lenisContent"], descendants: true }, { propertyName: "globalOverlayRef", first: true, predicate: ["globalOverlay"], descendants: true }, { propertyName: "globalsBeforeRef", first: true, predicate: ["globalsBefore"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"builder\">\n\n <div class=\"builder-main\" [class.panel-open]=\"isPanelOpen\">\n <!-- The switcher is the panel's OWN tab bar. It used to live in the header, at the\n maximum possible distance from the thing it controls; attached, the column and the\n panel are one card with one shadow. See board D2. -->\n <aside class=\"sidebar\">\n <div class=\"sidebar-switcher\">\n <button (click)=\"activeSidebar = 'pages'\" [class.active]=\"activeSidebar === 'pages'\" title=\"Pages\" aria-label=\"Pages\">\n <i class=\"ph-thin ph-browsers\"></i>\n </button>\n <button (click)=\"activeSidebar = 'components'\" [class.active]=\"activeSidebar === 'components'\" title=\"Components\" aria-label=\"Components\">\n <i class=\"ph-thin ph-cube\"></i>\n </button>\n <button (click)=\"activeSidebar = 'tree'\" [class.active]=\"activeSidebar === 'tree'\" title=\"Layers\" aria-label=\"Layers\">\n <i class=\"ph-thin ph-tree-structure\"></i>\n </button>\n <button (click)=\"activeSidebar = 'tokens'\" [class.active]=\"activeSidebar === 'tokens'\" title=\"Design Tokens\" aria-label=\"Design Tokens\">\n <i class=\"ph-thin ph-circles-three\"></i>\n </button>\n </div>\n <div class=\"sidebar-body\">\n @if (activeSidebar === 'pages') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderPages]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'components') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderComponents]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'tokens') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderTokens]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'tree') {\n <app-layer-tree\n [layout]=\"layout\"\n [globalElements]=\"globalElements\"\n (nodeSelect)=\"onTreeNodeSelect($event)\"\n (nodeAction)=\"onTreeNodeAction($event)\"\n (nodeMove)=\"onTreeNodeMove()\"></app-layer-tree>\n }\n </div>\n </aside>\n\n <!-- \u26A0\uFE0F The strips are SIBLINGS of .preview, not children of it. Board D2 floated them\n over the canvas and that is what they did \u2014 over the page being edited, which is the\n one thing in the builder that must stay clear. They keep their pill shape and their\n centre alignment; they just take their own row.\n\n Siblings, specifically, rather than a wrapper INSIDE .preview: `previewCanvas` is the\n overlay container and the coordinate origin for the selection box, the drag clone,\n Lenis and the zoom maths (nine call sites). Nesting anything between it and the canvas\n would shift every one of them by the strip's height. -->\n <div class=\"canvas-column\" [style.margin-left.px]=\"coverSide === CoverSide.Left ? (coverInset || null) : null\" [style.margin-right.px]=\"coverSide === CoverSide.Right ? (coverInset || null) : null\">\n <!-- \u2460 THE ACTION STRIP \u2014 floating, top-centre (board D2). It was a solid\n full-width header bar costing 56px of height on every screen; the canvas now\n starts at the top of the viewport and the strip hovers over it.\n stopPropagation for the same reason the breadcrumb does: .preview's (click)\n is \"you clicked empty canvas, drop the selection\". -->\n <div class=\"toolbar-strip\" (click)=\"$event.stopPropagation()\">\n <app-toolbar\n [activeMode]=\"activeMode\"\n [activeBreakpoint]=\"activeBreakpoint\"\n [breakpointCounts]=\"breakpointCounts\"\n [auditCount]=\"auditFindings.length || structureFindings.length\"\n [auditOpen]=\"auditOpen\"\n [activeZoom]=\"activeZoom\"\n [activeScreenWidth]=\"activeScreenWidth\"\n [isSaving]=\"isSaving\"\n [pageStatus]=\"pageStatus\"\n [publishChecking]=\"publishChecking\"\n [canUndo]=\"canUndo\"\n [canRedo]=\"canRedo\"\n (modeChange)=\"handleToolbarModeChange($event)\"\n (breakpointChange)=\"handleToolbarBreakpointChange($event)\"\n (auditToggle)=\"toggleAudit()\"\n (zoomChange)=\"handleToolbarZoomChange($event)\"\n (screenWidthChange)=\"handleToolbarScreenWidthChange($event)\"\n (save)=\"save.emit()\"\n (preview)=\"preview.emit()\"\n (publishToggle)=\"publishToggle.emit()\"\n (undo)=\"undo.emit()\"\n (redo)=\"redo.emit()\">\n <ng-content select=\"[builderToolbarActions]\"></ng-content>\n </app-toolbar>\n </div>\n\n <main #previewCanvas class=\"preview\"\n [class.grab-mode]=\"activeMode === builderModes.Pan\"\n [class.grabbing]=\"isPanning\"\n (click)=\"handleCanvasClick()\"\n (mousedown)=\"onBoardMouseDown($event)\"\n (mousemove)=\"onBoardMouseMove($event)\"\n (mouseup)=\"onBoardMouseUp()\"\n (mouseleave)=\"onBoardMouseUp()\"\n (dragstart)=\"onNativeDragStart($event)\">\n <app-overlay (toolbarAction)=\"onToolbarAction($event)\"></app-overlay>\n\n <!-- Responsive audit (A5) \u2014 floats over the canvas, right gutter. -->\n @if (auditOpen) {\n <div class=\"audit-dock\" (click)=\"$event.stopPropagation()\">\n <app-audit-panel\n [findings]=\"auditFindings\"\n [breakpointLabel]=\"auditBreakpointLabel\"\n [running]=\"auditRunning\"\n (select)=\"selectAuditNode($event)\"\n (fix)=\"applyAuditFix($event)\"\n (fixAll)=\"applyAllAuditFixes()\"\n (rerun)=\"runAudit()\"\n (closePanel)=\"toggleAudit()\"></app-audit-panel>\n </div>\n }\n\n <!-- Empty page (B4): a starting point beats a blank canvas. Each starter is a responsive layout preset \u2014\n ordinary nodes, editable afterwards. It is builder CHROME (iox-ui#168): it floats over the canvas like the\n audit dock \u2014 absolutely placed, so nothing in .preview moves \u2014 and never inside the zoomed frame, so its\n words are drawn at their own size in the admin's font (inside iox-page-component they took the frame's\n zoom, 11px \u2192 ~6px at 57%, and the page's font). The words are the builder's own (IOX_BUILDER_LABELS,\n iox-ui#163): `dir=\"auto\"` reads their direction \u2014 the ADMIN's language \u2014 whatever the page's is. Click and\n press stop here: .preview's (click) drops the selection, its (mousedown) starts a pan. -->\n @if (isPageEmpty) {\n <div class=\"empty-canvas\" dir=\"auto\" (click)=\"$event.stopPropagation()\" (mousedown)=\"$event.stopPropagation()\">\n <h2 class=\"empty-title\">{{ chromeWord('builder.chrome.startTitle') }}</h2>\n <p class=\"empty-sub\">{{ chromeWord('builder.chrome.startSub') }}</p>\n <div class=\"empty-grid\">\n @for (starter of starterLayouts; track starter.id) {\n <button type=\"button\" class=\"empty-card\" (click)=\"startWithLayout(starter)\">\n <i [class]=\"starter.icon\" aria-hidden=\"true\"></i>\n <span class=\"empty-card-name\">{{ starterName(starter) }}</span>\n <span class=\"empty-card-desc\">{{ starterDescription(starter) }}</span>\n </button>\n }\n </div>\n <button type=\"button\" class=\"empty-link\" (click)=\"browseComponents()\">{{ chromeWord('builder.chrome.startSingle') }}</button>\n </div>\n }\n\n <!-- Custom Lenis scrollbar \u2014 lives in .preview (not .preview-scroll) so it\n stays in the right gutter and never overlaps the canvas at large widths.\n No translateY counteract needed since it isn't inside the Lenis wrapper. -->\n <div class=\"canvas-scrollbar\"\n [class.visible]=\"isScrollbarVisible\">\n <div class=\"canvas-scrollbar-thumb\"\n [style.height.px]=\"scrollThumbHeight\"\n [style.top.px]=\"scrollThumbTop\">\n </div>\n </div>\n\n <!-- Global elements overlay \u2014 outside Lenis so position:fixed children\n stay pinned to the canvas viewport rather than scrolling with content.\n Shares viewportTransform so elements scale correctly at any zoom level.\n Height is the frame a pinned global sits in (globalOverlayHeight: the canvas\n slot, or the page on a short page), bound in px so position:fixed + inset:0\n fills it (CSS calc(100%) would give the wrong containing-block height). -->\n @if (globalElements.length) {\n <div\n #globalOverlay\n class=\"global-elements-overlay iox-token-scope\"\n [attr.dir]=\"canvasDir\"\n [attr.lang]=\"canvasLocale || null\"\n [attr.data-iox-column]=\"columnWord\"\n [ngStyle]=\"globalLayerCss\"\n [style.width.px]=\"viewportWidth\"\n [style.height.px]=\"globalOverlayHeight\"\n [style.transform]=\"viewportTransform\">\n <!-- BEFORE globals stay here, in the frame (a Dialog inside a header must fill the frame,\n not scroll away with the page). Their wrapper's height is what the in-flow ones take,\n and the page reserves it at its top (canvasHeaderReserve, iox-ui#19). A header standing on a\n ground over a pictured opening (data-iox-opening-media) gives its height back, so the reserve\n drops by it and the picture starts at the top, under the bar (HI3-D7, T1). -->\n @if (globalElementsBefore.length) {\n <div #globalsBefore class=\"iox-canvas-globals-before\" [attr.data-iox-opening]=\"openingScheme\" [attr.data-iox-opening-media]=\"openingMedia\">\n @for (item of globalElementsBefore; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n <!-- The PINNED after globals (a fixed bottom bar, a Dialog). An in-flow AFTER global (a\n footer) is drawn in the page, after its content (iox-ui#12). -->\n @for (item of globalElementsPinnedAfter; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n\n <div class=\"preview-scroll\"\n #previewScroll\n [style.width.px]=\"viewportScaledWidth\"\n [class.pan-mode]=\"activeMode === builderModes.Pan\">\n\n <!-- Lenis content proxy: height = realContentHeight \u00D7 scale.\n Lenis scrolls against this value so scroll range is always in\n visual px \u2014 correct at any zoom level. -->\n <div class=\"preview-lenis-content\" #lenisContent\n [style.height.px]=\"scaledContentHeight\">\n\n <!-- iox-token-scope: the ORG's design tokens are declared on this class, not :root\n (StyleRegistryService.upsertTokens), so they never repaint the admin chrome. -->\n <iox-page-component class=\"iox-token-scope\"\n [attr.dir]=\"canvasDir\"\n [attr.lang]=\"canvasLocale || null\"\n [attr.data-iox-column]=\"columnWord\"\n [style.width.px]=\"viewportWidth\"\n [style.height.px]=\"canvasFrameHeight || viewportHeight\"\n [style.transform]=\"viewportTransform\">\n\n <!-- ngStyle carries the page's own background/typography (pageSettings.style),\n compiled by the SAME function the engine applies to <body>. Inline wins over\n the #canvas-preview white default, which stays as the unset fallback. -->\n <div class=\"canvas-viewport\"\n id=\"canvas-preview\"\n [attr.data-bar-reserve]=\"canvasBarReserve\"\n [attr.data-iox-opening-media]=\"openingMedia\"\n [style.padding-block-start.px]=\"canvasHeaderReserve || null\"\n [ngStyle]=\"pageStyleCss\"\n [style.min-height.px]=\"canvasMinHeight\">\n\n <!-- WRAPPER COLLAPSE (task 9c): top-level nodes render DIRECTLY into the\n canvas viewport \u2014 no .preview-node wrapper; iox-outer + drag move to the\n host (RenderDirective, via ioxDragSourceId). -->\n @for (item of layout; track item) {\n <ng-container\n [ioxRender]=\"item\"\n [ioxDragSourceId]=\"'canvas-preview'\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n\n <!-- In-flow AFTER globals (a footer) follow the page's content, inside the page's\n ground, as on the live site (iox-ui#12). Not part of the layout: the drag\n engine skips this wrapper (GLOBALS_AFTER_CLASS). -->\n @if (globalElementsInPage.length) {\n <div [class]=\"globalsAfterClass\">\n @for (item of globalElementsInPage; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n </div>\n </iox-page-component>\n </div>\n </div>\n </main>\n <!-- \u2462 THE ELEMENT PATH \u2014 a thin floating strip, BOTTOM-CENTRE (board D2). It is\n pinned to the PREVIEW VIEWPORT, not to the canvas frame: the frame pans and\n scales, so a breadcrumb tracking its edge would drift off-screen and shrink with\n zoom. It used to sit in the top gutter, which is where the eye is least often \u2014\n and where the floating action strip now lives.\n\n \u26A0\uFE0F stopPropagation is REQUIRED, not defensive. This element lives inside .preview,\n whose (click) is handleCanvasClick() \u2014 \"you clicked empty canvas, drop the\n selection\". Without it, picking an ancestor crumb selects that node and then\n immediately bubbles into the canvas handler, which clears it: the selection and the\n layer-tree highlight both fall back to Body. Same reason .audit-dock stops its own. -->\n <app-breadcrumb-bar\n (click)=\"$event.stopPropagation()\"\n [path]=\"selectedPath\"\n [typeName]=\"typeName\"\n (nodeSelect)=\"onCrumbSelect($event)\"\n (rootSelect)=\"onCrumbRootSelect()\"\n (nodePeek)=\"onCrumbPeek($event)\">\n </app-breadcrumb-bar>\n\n <!-- \u2463 THE SCENE TIMELINE (premium sites SC2, board G) \u2014 its own row under the canvas, projected from the host\n like every panel, and only there while the page holds a Scene. A sibling of .preview for the reason above. -->\n <ng-content select=\"[builderTimeline]\"></ng-content>\n\n </div>\n\n <!-- Same rule as the sidebar: the switcher belongs to the panel it drives, as a\n tab ROW across its top. -->\n <div class=\"panel-dock\">\n <div class=\"panel-switcher\">\n <button (click)=\"selectPanel(panelTypes.BINDINGS)\" [class.active]=\"activePanel === panelTypes.BINDINGS\" title=\"Bindings\">\n <i class=\"ph-thin ph-plugs-connected\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.STYLES)\" [class.active]=\"activePanel === panelTypes.STYLES\" title=\"Styles\">\n <i class=\"ph-thin ph-paint-brush\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.PAGE)\" [class.active]=\"activePanel === panelTypes.PAGE\" title=\"Page settings\" aria-label=\"Page settings\">\n <i class=\"ph-thin ph-gear-six\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.INTERACTIONS)\" [class.active]=\"activePanel === panelTypes.INTERACTIONS\" title=\"Interactions\">\n <i class=\"ph-thin ph-lightning\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.ASK)\" [class.active]=\"activePanel === panelTypes.ASK\" title=\"Ask AI\" aria-label=\"Ask AI\" data-panel-tab=\"ask\">\n <i class=\"ph-thin ph-sparkle\"></i>\n </button>\n </div>\n <ng-content select=\"[builderPanel]\"></ng-content>\n </div>\n </div>\n\n <!-- Save as Reusable Block dialog -->\n <!-- A tab or a panel deleted alone (CC4a \u2014 composite T18): the pair goes together, so the delete is offered for\n both. Every delete path asks the one guard; this is its answer. -->\n <p-dialog [visible]=\"!!pendingPairRemoval\" (visibleChange)=\"$event || cancelPairRemoval()\" [modal]=\"true\" [closable]=\"true\"\n [draggable]=\"false\" [resizable]=\"false\" [header]=\"pairRemovalText('builder.chrome.deletePairTitle')\" styleClass=\"iox-pair-removal-dialog\"\n appendTo=\"body\" [style]=\"{ width: '400px' }\">\n <p class=\"pair-removal-body\">{{ pairRemovalText('builder.chrome.deletePairBody') }}</p>\n <ng-template pTemplate=\"footer\">\n <p-button size=\"small\" severity=\"secondary\" [label]=\"pairRemovalText('builder.chrome.cancel')\" (onClick)=\"cancelPairRemoval()\"></p-button>\n <p-button size=\"small\" severity=\"danger\" [label]=\"pairRemovalText('builder.chrome.deletePair')\" (onClick)=\"confirmPairRemoval()\"></p-button>\n </ng-template>\n </p-dialog>\n\n @if (showSaveBlockDialog) {\n <div class=\"save-block-backdrop\" (click)=\"cancelSaveBlock()\"></div>\n <div class=\"save-block-dialog\" (click)=\"$event.stopPropagation()\">\n <h4 class=\"save-block-title\">Save as Reusable Block</h4>\n <input class=\"save-block-input\"\n type=\"text\"\n placeholder=\"Block name...\"\n [(ngModel)]=\"saveBlockName\"\n (keydown.enter)=\"confirmSaveBlock()\"\n (keydown.escape)=\"cancelSaveBlock()\"\n autofocus>\n <div class=\"save-block-actions\">\n <p-button size=\"small\" severity=\"secondary\" label=\"Cancel\" (click)=\"cancelSaveBlock()\"></p-button>\n <p-button size=\"small\" label=\"Save\" [disabled]=\"!saveBlockName.trim()\" (click)=\"confirmSaveBlock()\"></p-button>\n </div>\n </div>\n }\n</div>", styles: ["@charset \"UTF-8\";:host{display:flex;flex:1;min-height:0;overflow:hidden}.builder{display:flex;flex-direction:column;direction:ltr;width:100%;height:100%;min-height:0;border-radius:0;overflow:hidden;position:relative}.builder .toolbar-strip{flex:none;align-self:center;max-inline-size:100%;display:flex;align-items:center;padding:6px 8px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:999px;box-shadow:0 6px 20px #101b421a;max-inline-size:calc(100% - 40px);overflow-x:auto;scrollbar-width:none}.builder .toolbar-strip::-webkit-scrollbar{display:none}.builder .sidebar-switcher,.builder .panel-switcher{flex:none;display:flex;flex-direction:row;align-items:center;gap:.375rem;padding:7px 10px;background:var(--p-surface-0);border-block-end:1px solid var(--iox-neutral-100, #EDEFF3)}.builder .sidebar-switcher button,.builder .panel-switcher button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;border:none;background:var(--iox-surface-3, #F6F7F9);color:var(--p-text-muted-color);cursor:pointer;font-size:1rem;transition:background .15s ease-out,color .15s ease-out}.builder .sidebar-switcher button i,.builder .panel-switcher button i{pointer-events:none}.builder .sidebar-switcher button:hover,.builder .panel-switcher button:hover{background:var(--iox-rose-100, #F8EAEA);color:var(--p-text-color)}.builder .sidebar-switcher button.active,.builder .panel-switcher button.active{background:var(--iox-grad-brand, linear-gradient(135deg, #9B4458 0%, #8A3A72 50%, #63347F 100%));color:#fff}.builder .panel-dock{display:grid;grid-template-rows:auto minmax(0,1fr);flex:none;min-height:0;background:var(--p-surface-0);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:var(--iox-radius-card, 20px);box-shadow:var(--iox-elev-1, 0 0 12px rgba(16, 27, 66, .05));overflow:hidden}.builder .builder-main{display:flex;flex:1 1 0;min-height:0;position:relative;overflow:hidden;gap:12px;padding:14px;background:transparent}.builder .sidebar{display:flex;flex-direction:column;inline-size:260px;min-inline-size:260px;background:var(--p-surface-0);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:var(--iox-radius-card, 20px);box-shadow:var(--iox-elev-1, 0 0 12px rgba(16, 27, 66, .05));overflow:hidden;flex-shrink:0;min-block-size:0}.builder .sidebar .sidebar-body{flex:1;min-inline-size:0;overflow-y:auto;overflow-x:hidden}.builder .sidebar:dir(rtl),.builder .panel-dock:dir(rtl){direction:rtl}.builder .canvas-column{flex:1 1 0;min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px}.builder .preview{flex:1 1 0;min-width:0;min-height:0;position:relative;overflow:hidden;background:transparent}.builder .preview.grab-mode{cursor:grab}.builder .preview.grab-mode iox-page-component{pointer-events:none}.builder .preview.grabbing{cursor:grabbing}.builder .canvas-scrollbar{position:absolute;right:4px;top:20px;bottom:20px;width:6px;z-index:20;opacity:0;transition:opacity .2s ease;pointer-events:none}.builder .canvas-scrollbar.visible{opacity:1}.builder .canvas-scrollbar-thumb{position:absolute;left:0;width:100%;background:#00000059;border-radius:3px;transition:top .05s linear}.builder .preview-scroll{position:absolute;inset:20px auto;inset-inline-start:50%;transform:translate(-50%);max-width:calc(100% - 40px);height:calc(100% - 40px);overflow:hidden}.builder .preview-lenis-content{position:relative;width:100%;overflow:hidden;contain:paint}.builder iox-page-component{position:absolute!important;top:0;bottom:auto!important;right:auto!important;left:50%;transform-origin:top center;overflow:visible!important;direction:ltr}.builder iox-page-component[dir=rtl]{direction:rtl}.builder iox-page-component{container:iox-canvas/inline-size;box-shadow:0 1px 4px #00000014,0 4px 16px #0000000a;transition:width .25s ease,transform .25s ease}.builder iox-page-component ::ng-deep .iox-page-wrapper{height:auto!important;overflow:visible!important}.builder #canvas-preview{background:#fff}.builder #canvas-preview[data-bar-reserve=iox-bar-reserve]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}@container iox-canvas (max-width: 1200px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-laptop]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 991px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-tablet]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 767px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-mobile]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 479px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-small]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}.builder .empty-canvas{position:absolute;inset-block-start:40px;inset-inline:0;margin-inline:auto;z-index:11;inline-size:min(560px,100% - 80px);max-block-size:calc(100% - 80px);overflow-y:auto;box-sizing:border-box;padding:24px;text-align:center;color:var(--iox-text-2, #535D6E);background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:20px;box-shadow:0 6px 20px #101b421a;cursor:default}.builder .empty-title{margin:0;font-size:14px;font-weight:600;line-height:1.4;color:var(--iox-text-1, #101B42)}.builder .empty-sub{margin:6px 0 16px;font-size:12px;line-height:1.5;color:var(--iox-text-2, #535D6E)}.builder .empty-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.builder .empty-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;border:1px solid var(--iox-border-1, #DDE1E8);border-radius:14px;background:#fff;cursor:pointer;font:inherit;transition:border-color .15s ease-out,box-shadow .15s ease-out,transform .12s cubic-bezier(.23,1,.32,1)}@media(hover:hover)and (pointer:fine){.builder .empty-card:hover{border-color:#cb9090;box-shadow:0 2px 10px #0000000f}}.builder .empty-card:active{transform:scale(.97)}.builder .empty-card:focus-visible{outline:2px solid #cb9090;outline-offset:2px}.builder .empty-card i{font-size:20px;color:var(--iox-accent-text, #A05C5C)}.builder .empty-card-name{font-size:12px;font-weight:600;color:var(--iox-text-1, #101B42)}.builder .empty-card-desc{font-size:11px;line-height:1.4;color:var(--iox-text-2, #535D6E)}.builder .empty-link{margin-block-start:16px;padding:0;border:none;background:none;font:inherit;font-size:12px;color:var(--iox-accent-text, #A05C5C);cursor:pointer}@media(hover:hover)and (pointer:fine){.builder .empty-link:hover{text-decoration:underline}}.builder .empty-link:focus-visible{outline:2px solid #cb9090;outline-offset:2px}.builder app-breadcrumb-bar{flex:none;align-self:center;max-inline-size:100%;display:flex;align-items:center;padding:5px 13px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:999px;box-shadow:0 6px 20px #101b421a;max-inline-size:calc(100% - 112px);pointer-events:none}.builder .audit-dock{position:absolute;inset-block-start:20px;inset-inline-end:16px;z-index:20}.builder .global-elements-overlay{position:absolute;top:20px;left:50%;transform-origin:top center;pointer-events:none;z-index:9;overflow:hidden;container:iox-canvas/inline-size;direction:ltr}.builder .global-elements-overlay[dir=rtl]{direction:rtl}.builder .global-elements-overlay ::ng-deep>*{pointer-events:auto}.builder .global-elements-overlay .iox-canvas-globals-before{display:flow-root;pointer-events:none}.builder .global-elements-overlay .iox-canvas-globals-before ::ng-deep>*{pointer-events:auto}.builder .preview-node.is-selected{cursor:grab}.builder .empty-state{min-height:240px;border:1px dashed var(--p-surface-200);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--p-text-muted-color);text-align:center;padding:1rem}.save-block-backdrop{position:fixed;inset:0;z-index:1000;background:#00000040}.save-block-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1001;background:#fff;border-radius:8px;box-shadow:0 8px 32px #0000002e;padding:24px;width:320px}.save-block-dialog .save-block-title{margin:0 0 16px;font-size:14px;font-weight:600;color:var(--p-text-color, #333)}.save-block-dialog .save-block-input{width:100%;padding:8px 10px;border:1px solid var(--p-surface-300, #d1d5db);border-radius:6px;font-size:13px;outline:none;box-sizing:border-box;margin-bottom:16px}.save-block-dialog .save-block-input:focus{border-color:#cb9090;box-shadow:0 0 0 2px #cb909033}.save-block-dialog .save-block-actions{display:flex;justify-content:flex-end;gap:8px}::ng-deep .moveable-control-box.iox-moveable-silent{z-index:1000!important}::ng-deep .moveable-control-box.iox-moveable-silent .moveable-line,::ng-deep .moveable-control-box.iox-moveable-silent .moveable-rotation,::ng-deep .moveable-control-box.iox-moveable-silent .moveable-rotation-line{display:none!important}::ng-deep .moveable-control-box.iox-moveable-silent .moveable-control{display:block!important;width:10px!important;height:10px!important;margin-top:-5px!important;margin-inline-start:-5px!important;background:#fff!important;border:1.5px solid #cb9090!important;border-radius:2px!important;box-shadow:0 1px 3px #0003!important}\n"], dependencies: [{ kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i17.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i17.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i17.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i18.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i19.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i20.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "component", type: i2$1.IoxPageComponent, selector: "iox-page-component", inputs: ["class", "scroll"], outputs: ["scrollEvent"] }, { kind: "directive", type: RenderDirective, selector: "[ioxRender]", inputs: ["ioxRender", "ioxDragSourceId", "ioxPhrasing"], outputs: ["onClick", "onMouseEnter", "onMouseLeave"] }, { kind: "component", type: OverlayComponent, selector: "app-overlay", outputs: ["toolbarAction"] }, { kind: "component", type: ToolbarComponent, selector: "app-toolbar", inputs: ["activeMode", "activeBreakpoint", "breakpointCounts", "auditCount", "auditOpen", "activeZoom", "activeScreenWidth", "canUndo", "canRedo", "isSaving", "pageStatus", "publishChecking"], outputs: ["modeChange", "breakpointChange", "auditToggle", "zoomChange", "screenWidthChange", "undo", "redo", "save", "preview", "publishToggle"] }, { kind: "component", type: LayerTreeComponent, selector: "app-layer-tree", inputs: ["layout", "globalElements"], outputs: ["nodeSelect", "nodeAction", "nodeMove"] }, { kind: "component", type: BreadcrumbBarComponent, selector: "app-breadcrumb-bar", inputs: ["path", "typeName"], outputs: ["nodeSelect", "rootSelect", "nodePeek"] }, { kind: "component", type: AuditPanelComponent, selector: "app-audit-panel", inputs: ["findings", "breakpointLabel", "running"], outputs: ["select", "fix", "fixAll", "rerun", "closePanel"] }] }); }
12844
13085
  }
12845
13086
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderComponent, decorators: [{
12846
13087
  type: Component,
12847
- args: [{ selector: 'app-builder', standalone: false, providers: [{ provide: IOX_BUILDER_CANVAS, useValue: true }], template: "<div class=\"builder\">\n\n <div class=\"builder-main\" [class.panel-open]=\"isPanelOpen\">\n <!-- The switcher is the panel's OWN tab bar. It used to live in the header, at the\n maximum possible distance from the thing it controls; attached, the column and the\n panel are one card with one shadow. See board D2. -->\n <aside class=\"sidebar\">\n <div class=\"sidebar-switcher\">\n <button (click)=\"activeSidebar = 'pages'\" [class.active]=\"activeSidebar === 'pages'\" title=\"Pages\" aria-label=\"Pages\">\n <i class=\"ph-thin ph-browsers\"></i>\n </button>\n <button (click)=\"activeSidebar = 'components'\" [class.active]=\"activeSidebar === 'components'\" title=\"Components\" aria-label=\"Components\">\n <i class=\"ph-thin ph-cube\"></i>\n </button>\n <button (click)=\"activeSidebar = 'tree'\" [class.active]=\"activeSidebar === 'tree'\" title=\"Layers\" aria-label=\"Layers\">\n <i class=\"ph-thin ph-tree-structure\"></i>\n </button>\n <button (click)=\"activeSidebar = 'tokens'\" [class.active]=\"activeSidebar === 'tokens'\" title=\"Design Tokens\" aria-label=\"Design Tokens\">\n <i class=\"ph-thin ph-circles-three\"></i>\n </button>\n </div>\n <div class=\"sidebar-body\">\n @if (activeSidebar === 'pages') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderPages]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'components') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderComponents]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'tokens') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderTokens]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'tree') {\n <app-layer-tree\n [layout]=\"layout\"\n [globalElements]=\"globalElements\"\n (nodeSelect)=\"onTreeNodeSelect($event)\"\n (nodeAction)=\"onTreeNodeAction($event)\"\n (nodeMove)=\"onTreeNodeMove()\"></app-layer-tree>\n }\n </div>\n </aside>\n\n <!-- \u26A0\uFE0F The strips are SIBLINGS of .preview, not children of it. Board D2 floated them\n over the canvas and that is what they did \u2014 over the page being edited, which is the\n one thing in the builder that must stay clear. They keep their pill shape and their\n centre alignment; they just take their own row.\n\n Siblings, specifically, rather than a wrapper INSIDE .preview: `previewCanvas` is the\n overlay container and the coordinate origin for the selection box, the drag clone,\n Lenis and the zoom maths (nine call sites). Nesting anything between it and the canvas\n would shift every one of them by the strip's height. -->\n <div class=\"canvas-column\" [style.margin-left.px]=\"coverSide === CoverSide.Left ? (coverInset || null) : null\" [style.margin-right.px]=\"coverSide === CoverSide.Right ? (coverInset || null) : null\">\n <!-- \u2460 THE ACTION STRIP \u2014 floating, top-centre (board D2). It was a solid\n full-width header bar costing 56px of height on every screen; the canvas now\n starts at the top of the viewport and the strip hovers over it.\n stopPropagation for the same reason the breadcrumb does: .preview's (click)\n is \"you clicked empty canvas, drop the selection\". -->\n <div class=\"toolbar-strip\" (click)=\"$event.stopPropagation()\">\n <app-toolbar\n [activeMode]=\"activeMode\"\n [activeBreakpoint]=\"activeBreakpoint\"\n [breakpointCounts]=\"breakpointCounts\"\n [auditCount]=\"auditFindings.length || structureFindings.length\"\n [auditOpen]=\"auditOpen\"\n [activeZoom]=\"activeZoom\"\n [activeScreenWidth]=\"activeScreenWidth\"\n [isSaving]=\"isSaving\"\n [pageStatus]=\"pageStatus\"\n [publishChecking]=\"publishChecking\"\n [canUndo]=\"canUndo\"\n [canRedo]=\"canRedo\"\n (modeChange)=\"handleToolbarModeChange($event)\"\n (breakpointChange)=\"handleToolbarBreakpointChange($event)\"\n (auditToggle)=\"toggleAudit()\"\n (zoomChange)=\"handleToolbarZoomChange($event)\"\n (screenWidthChange)=\"handleToolbarScreenWidthChange($event)\"\n (save)=\"save.emit()\"\n (preview)=\"preview.emit()\"\n (publishToggle)=\"publishToggle.emit()\"\n (undo)=\"undo.emit()\"\n (redo)=\"redo.emit()\">\n <ng-content select=\"[builderToolbarActions]\"></ng-content>\n </app-toolbar>\n </div>\n\n <main #previewCanvas class=\"preview\"\n [class.grab-mode]=\"activeMode === builderModes.Pan\"\n [class.grabbing]=\"isPanning\"\n (click)=\"handleCanvasClick()\"\n (mousedown)=\"onBoardMouseDown($event)\"\n (mousemove)=\"onBoardMouseMove($event)\"\n (mouseup)=\"onBoardMouseUp()\"\n (mouseleave)=\"onBoardMouseUp()\"\n (dragstart)=\"onNativeDragStart($event)\">\n <app-overlay (toolbarAction)=\"onToolbarAction($event)\"></app-overlay>\n\n <!-- Responsive audit (A5) \u2014 floats over the canvas, right gutter. -->\n @if (auditOpen) {\n <div class=\"audit-dock\" (click)=\"$event.stopPropagation()\">\n <app-audit-panel\n [findings]=\"auditFindings\"\n [breakpointLabel]=\"auditBreakpointLabel\"\n [running]=\"auditRunning\"\n (select)=\"selectAuditNode($event)\"\n (fix)=\"applyAuditFix($event)\"\n (fixAll)=\"applyAllAuditFixes()\"\n (rerun)=\"runAudit()\"\n (closePanel)=\"toggleAudit()\"></app-audit-panel>\n </div>\n }\n\n <!-- Empty page (B4): a starting point beats a blank canvas. Each starter is a responsive layout preset \u2014\n ordinary nodes, editable afterwards. It is builder CHROME (iox-ui#168): it floats over the canvas like the\n audit dock \u2014 absolutely placed, so nothing in .preview moves \u2014 and never inside the zoomed frame, so its\n words are drawn at their own size in the admin's font (inside iox-page-component they took the frame's\n zoom, 11px \u2192 ~6px at 57%, and the page's font). The words are the builder's own (IOX_BUILDER_LABELS,\n iox-ui#163): `dir=\"auto\"` reads their direction \u2014 the ADMIN's language \u2014 whatever the page's is. Click and\n press stop here: .preview's (click) drops the selection, its (mousedown) starts a pan. -->\n @if (isPageEmpty) {\n <div class=\"empty-canvas\" dir=\"auto\" (click)=\"$event.stopPropagation()\" (mousedown)=\"$event.stopPropagation()\">\n <h2 class=\"empty-title\">{{ chromeWord('builder.chrome.startTitle') }}</h2>\n <p class=\"empty-sub\">{{ chromeWord('builder.chrome.startSub') }}</p>\n <div class=\"empty-grid\">\n @for (starter of starterLayouts; track starter.id) {\n <button type=\"button\" class=\"empty-card\" (click)=\"startWithLayout(starter)\">\n <i [class]=\"starter.icon\" aria-hidden=\"true\"></i>\n <span class=\"empty-card-name\">{{ starterName(starter) }}</span>\n <span class=\"empty-card-desc\">{{ starterDescription(starter) }}</span>\n </button>\n }\n </div>\n <button type=\"button\" class=\"empty-link\" (click)=\"browseComponents()\">{{ chromeWord('builder.chrome.startSingle') }}</button>\n </div>\n }\n\n <!-- Custom Lenis scrollbar \u2014 lives in .preview (not .preview-scroll) so it\n stays in the right gutter and never overlaps the canvas at large widths.\n No translateY counteract needed since it isn't inside the Lenis wrapper. -->\n <div class=\"canvas-scrollbar\"\n [class.visible]=\"isScrollbarVisible\">\n <div class=\"canvas-scrollbar-thumb\"\n [style.height.px]=\"scrollThumbHeight\"\n [style.top.px]=\"scrollThumbTop\">\n </div>\n </div>\n\n <!-- Global elements overlay \u2014 outside Lenis so position:fixed children\n stay pinned to the canvas viewport rather than scrolling with content.\n Shares viewportTransform so elements scale correctly at any zoom level.\n Height is the frame a pinned global sits in (globalOverlayHeight: the canvas\n slot, or the page on a short page), bound in px so position:fixed + inset:0\n fills it (CSS calc(100%) would give the wrong containing-block height). -->\n @if (globalElements.length) {\n <div\n #globalOverlay\n class=\"global-elements-overlay iox-token-scope\"\n [attr.dir]=\"canvasDir\"\n [attr.lang]=\"canvasLocale || null\"\n [attr.data-iox-column]=\"columnWord\"\n [ngStyle]=\"globalLayerCss\"\n [style.width.px]=\"viewportWidth\"\n [style.height.px]=\"globalOverlayHeight\"\n [style.transform]=\"viewportTransform\">\n <!-- BEFORE globals stay here, in the frame (a Dialog inside a header must fill the frame,\n not scroll away with the page). Their wrapper's height is what the in-flow ones take,\n and the page reserves it at its top (canvasHeaderReserve, iox-ui#19). A header standing on a\n ground over a pictured opening (data-iox-opening-media) gives its height back, so the reserve\n drops by it and the picture starts at the top, under the bar (HI3-D7, T1). -->\n @if (globalElementsBefore.length) {\n <div #globalsBefore class=\"iox-canvas-globals-before\" [attr.data-iox-opening]=\"openingScheme\" [attr.data-iox-opening-media]=\"openingMedia\">\n @for (item of globalElementsBefore; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n <!-- The PINNED after globals (a fixed bottom bar, a Dialog). An in-flow AFTER global (a\n footer) is drawn in the page, after its content (iox-ui#12). -->\n @for (item of globalElementsPinnedAfter; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n\n <div class=\"preview-scroll\"\n #previewScroll\n [style.width.px]=\"viewportScaledWidth\"\n [class.pan-mode]=\"activeMode === builderModes.Pan\">\n\n <!-- Lenis content proxy: height = realContentHeight \u00D7 scale.\n Lenis scrolls against this value so scroll range is always in\n visual px \u2014 correct at any zoom level. -->\n <div class=\"preview-lenis-content\" #lenisContent\n [style.height.px]=\"scaledContentHeight\">\n\n <!-- iox-token-scope: the ORG's design tokens are declared on this class, not :root\n (StyleRegistryService.upsertTokens), so they never repaint the admin chrome. -->\n <iox-page-component class=\"iox-token-scope\"\n [attr.dir]=\"canvasDir\"\n [attr.lang]=\"canvasLocale || null\"\n [attr.data-iox-column]=\"columnWord\"\n [style.width.px]=\"viewportWidth\"\n [style.height.px]=\"canvasFrameHeight || viewportHeight\"\n [style.transform]=\"viewportTransform\">\n\n <!-- ngStyle carries the page's own background/typography (pageSettings.style),\n compiled by the SAME function the engine applies to <body>. Inline wins over\n the #canvas-preview white default, which stays as the unset fallback. -->\n <div class=\"canvas-viewport\"\n id=\"canvas-preview\"\n [attr.data-bar-reserve]=\"canvasBarReserve\"\n [attr.data-iox-opening-media]=\"openingMedia\"\n [style.padding-block-start.px]=\"canvasHeaderReserve || null\"\n [ngStyle]=\"pageStyleCss\"\n [style.min-height.px]=\"canvasMinHeight\">\n\n <!-- WRAPPER COLLAPSE (task 9c): top-level nodes render DIRECTLY into the\n canvas viewport \u2014 no .preview-node wrapper; iox-outer + drag move to the\n host (RenderDirective, via ioxDragSourceId). -->\n @for (item of layout; track item) {\n <ng-container\n [ioxRender]=\"item\"\n [ioxDragSourceId]=\"'canvas-preview'\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n\n <!-- In-flow AFTER globals (a footer) follow the page's content, inside the page's\n ground, as on the live site (iox-ui#12). Not part of the layout: the drag\n engine skips this wrapper (GLOBALS_AFTER_CLASS). -->\n @if (globalElementsInPage.length) {\n <div [class]=\"globalsAfterClass\">\n @for (item of globalElementsInPage; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n </div>\n </iox-page-component>\n </div>\n </div>\n </main>\n <!-- \u2462 THE ELEMENT PATH \u2014 a thin floating strip, BOTTOM-CENTRE (board D2). It is\n pinned to the PREVIEW VIEWPORT, not to the canvas frame: the frame pans and\n scales, so a breadcrumb tracking its edge would drift off-screen and shrink with\n zoom. It used to sit in the top gutter, which is where the eye is least often \u2014\n and where the floating action strip now lives.\n\n \u26A0\uFE0F stopPropagation is REQUIRED, not defensive. This element lives inside .preview,\n whose (click) is handleCanvasClick() \u2014 \"you clicked empty canvas, drop the\n selection\". Without it, picking an ancestor crumb selects that node and then\n immediately bubbles into the canvas handler, which clears it: the selection and the\n layer-tree highlight both fall back to Body. Same reason .audit-dock stops its own. -->\n <app-breadcrumb-bar\n (click)=\"$event.stopPropagation()\"\n [path]=\"selectedPath\"\n (nodeSelect)=\"onCrumbSelect($event)\"\n (rootSelect)=\"onCrumbRootSelect()\"\n (nodePeek)=\"onCrumbPeek($event)\">\n </app-breadcrumb-bar>\n\n <!-- \u2463 THE SCENE TIMELINE (premium sites SC2, board G) \u2014 its own row under the canvas, projected from the host\n like every panel, and only there while the page holds a Scene. A sibling of .preview for the reason above. -->\n <ng-content select=\"[builderTimeline]\"></ng-content>\n\n </div>\n\n <!-- Same rule as the sidebar: the switcher belongs to the panel it drives, as a\n tab ROW across its top. -->\n <div class=\"panel-dock\">\n <div class=\"panel-switcher\">\n <button (click)=\"selectPanel(panelTypes.BINDINGS)\" [class.active]=\"activePanel === panelTypes.BINDINGS\" title=\"Bindings\">\n <i class=\"ph-thin ph-plugs-connected\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.STYLES)\" [class.active]=\"activePanel === panelTypes.STYLES\" title=\"Styles\">\n <i class=\"ph-thin ph-paint-brush\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.PAGE)\" [class.active]=\"activePanel === panelTypes.PAGE\" title=\"Page settings\" aria-label=\"Page settings\">\n <i class=\"ph-thin ph-gear-six\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.INTERACTIONS)\" [class.active]=\"activePanel === panelTypes.INTERACTIONS\" title=\"Interactions\">\n <i class=\"ph-thin ph-lightning\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.ASK)\" [class.active]=\"activePanel === panelTypes.ASK\" title=\"Ask AI\" aria-label=\"Ask AI\" data-panel-tab=\"ask\">\n <i class=\"ph-thin ph-sparkle\"></i>\n </button>\n </div>\n <ng-content select=\"[builderPanel]\"></ng-content>\n </div>\n </div>\n\n <!-- Save as Reusable Block dialog -->\n <!-- A tab or a panel deleted alone (CC4a \u2014 composite T18): the pair goes together, so the delete is offered for\n both. Every delete path asks the one guard; this is its answer. -->\n <p-dialog [visible]=\"!!pendingPairRemoval\" (visibleChange)=\"$event || cancelPairRemoval()\" [modal]=\"true\" [closable]=\"true\"\n [draggable]=\"false\" [resizable]=\"false\" [header]=\"pairRemovalText('builder.chrome.deletePairTitle')\" styleClass=\"iox-pair-removal-dialog\"\n appendTo=\"body\" [style]=\"{ width: '400px' }\">\n <p class=\"pair-removal-body\">{{ pairRemovalText('builder.chrome.deletePairBody') }}</p>\n <ng-template pTemplate=\"footer\">\n <p-button size=\"small\" severity=\"secondary\" [label]=\"pairRemovalText('builder.chrome.cancel')\" (onClick)=\"cancelPairRemoval()\"></p-button>\n <p-button size=\"small\" severity=\"danger\" [label]=\"pairRemovalText('builder.chrome.deletePair')\" (onClick)=\"confirmPairRemoval()\"></p-button>\n </ng-template>\n </p-dialog>\n\n @if (showSaveBlockDialog) {\n <div class=\"save-block-backdrop\" (click)=\"cancelSaveBlock()\"></div>\n <div class=\"save-block-dialog\" (click)=\"$event.stopPropagation()\">\n <h4 class=\"save-block-title\">Save as Reusable Block</h4>\n <input class=\"save-block-input\"\n type=\"text\"\n placeholder=\"Block name...\"\n [(ngModel)]=\"saveBlockName\"\n (keydown.enter)=\"confirmSaveBlock()\"\n (keydown.escape)=\"cancelSaveBlock()\"\n autofocus>\n <div class=\"save-block-actions\">\n <p-button size=\"small\" severity=\"secondary\" label=\"Cancel\" (click)=\"cancelSaveBlock()\"></p-button>\n <p-button size=\"small\" label=\"Save\" [disabled]=\"!saveBlockName.trim()\" (click)=\"confirmSaveBlock()\"></p-button>\n </div>\n </div>\n }\n</div>", styles: ["@charset \"UTF-8\";:host{display:flex;flex:1;min-height:0;overflow:hidden}.builder{display:flex;flex-direction:column;direction:ltr;width:100%;height:100%;min-height:0;border-radius:0;overflow:hidden;position:relative}.builder .toolbar-strip{flex:none;align-self:center;max-inline-size:100%;display:flex;align-items:center;padding:6px 8px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:999px;box-shadow:0 6px 20px #101b421a;max-inline-size:calc(100% - 40px);overflow-x:auto;scrollbar-width:none}.builder .toolbar-strip::-webkit-scrollbar{display:none}.builder .sidebar-switcher,.builder .panel-switcher{flex:none;display:flex;flex-direction:row;align-items:center;gap:.375rem;padding:7px 10px;background:var(--p-surface-0);border-block-end:1px solid var(--iox-neutral-100, #EDEFF3)}.builder .sidebar-switcher button,.builder .panel-switcher button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;border:none;background:var(--iox-surface-3, #F6F7F9);color:var(--p-text-muted-color);cursor:pointer;font-size:1rem;transition:background .15s ease-out,color .15s ease-out}.builder .sidebar-switcher button i,.builder .panel-switcher button i{pointer-events:none}.builder .sidebar-switcher button:hover,.builder .panel-switcher button:hover{background:var(--iox-rose-100, #F8EAEA);color:var(--p-text-color)}.builder .sidebar-switcher button.active,.builder .panel-switcher button.active{background:var(--iox-grad-brand, linear-gradient(135deg, #9B4458 0%, #8A3A72 50%, #63347F 100%));color:#fff}.builder .panel-dock{display:grid;grid-template-rows:auto minmax(0,1fr);flex:none;min-height:0;background:var(--p-surface-0);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:var(--iox-radius-card, 20px);box-shadow:var(--iox-elev-1, 0 0 12px rgba(16, 27, 66, .05));overflow:hidden}.builder .builder-main{display:flex;flex:1 1 0;min-height:0;position:relative;overflow:hidden;gap:12px;padding:14px;background:transparent}.builder .sidebar{display:flex;flex-direction:column;inline-size:260px;min-inline-size:260px;background:var(--p-surface-0);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:var(--iox-radius-card, 20px);box-shadow:var(--iox-elev-1, 0 0 12px rgba(16, 27, 66, .05));overflow:hidden;flex-shrink:0;min-block-size:0}.builder .sidebar .sidebar-body{flex:1;min-inline-size:0;overflow-y:auto;overflow-x:hidden}.builder .sidebar:dir(rtl),.builder .panel-dock:dir(rtl){direction:rtl}.builder .canvas-column{flex:1 1 0;min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px}.builder .preview{flex:1 1 0;min-width:0;min-height:0;position:relative;overflow:hidden;background:transparent}.builder .preview.grab-mode{cursor:grab}.builder .preview.grab-mode iox-page-component{pointer-events:none}.builder .preview.grabbing{cursor:grabbing}.builder .canvas-scrollbar{position:absolute;right:4px;top:20px;bottom:20px;width:6px;z-index:20;opacity:0;transition:opacity .2s ease;pointer-events:none}.builder .canvas-scrollbar.visible{opacity:1}.builder .canvas-scrollbar-thumb{position:absolute;left:0;width:100%;background:#00000059;border-radius:3px;transition:top .05s linear}.builder .preview-scroll{position:absolute;inset:20px auto;inset-inline-start:50%;transform:translate(-50%);max-width:calc(100% - 40px);height:calc(100% - 40px);overflow:hidden}.builder .preview-lenis-content{position:relative;width:100%;overflow:hidden;contain:paint}.builder iox-page-component{position:absolute!important;top:0;bottom:auto!important;right:auto!important;left:50%;transform-origin:top center;overflow:visible!important;direction:ltr}.builder iox-page-component[dir=rtl]{direction:rtl}.builder iox-page-component{container:iox-canvas/inline-size;box-shadow:0 1px 4px #00000014,0 4px 16px #0000000a;transition:width .25s ease,transform .25s ease}.builder iox-page-component ::ng-deep .iox-page-wrapper{height:auto!important;overflow:visible!important}.builder #canvas-preview{background:#fff}.builder #canvas-preview[data-bar-reserve=iox-bar-reserve]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}@container iox-canvas (max-width: 1200px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-laptop]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 991px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-tablet]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 767px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-mobile]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 479px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-small]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}.builder .empty-canvas{position:absolute;inset-block-start:40px;inset-inline:0;margin-inline:auto;z-index:11;inline-size:min(560px,100% - 80px);max-block-size:calc(100% - 80px);overflow-y:auto;box-sizing:border-box;padding:24px;text-align:center;color:var(--iox-text-2, #535D6E);background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:20px;box-shadow:0 6px 20px #101b421a;cursor:default}.builder .empty-title{margin:0;font-size:14px;font-weight:600;line-height:1.4;color:var(--iox-text-1, #101B42)}.builder .empty-sub{margin:6px 0 16px;font-size:12px;line-height:1.5;color:var(--iox-text-2, #535D6E)}.builder .empty-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.builder .empty-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;border:1px solid var(--iox-border-1, #DDE1E8);border-radius:14px;background:#fff;cursor:pointer;font:inherit;transition:border-color .15s ease-out,box-shadow .15s ease-out,transform .12s cubic-bezier(.23,1,.32,1)}@media(hover:hover)and (pointer:fine){.builder .empty-card:hover{border-color:#cb9090;box-shadow:0 2px 10px #0000000f}}.builder .empty-card:active{transform:scale(.97)}.builder .empty-card:focus-visible{outline:2px solid #cb9090;outline-offset:2px}.builder .empty-card i{font-size:20px;color:var(--iox-accent-text, #A05C5C)}.builder .empty-card-name{font-size:12px;font-weight:600;color:var(--iox-text-1, #101B42)}.builder .empty-card-desc{font-size:11px;line-height:1.4;color:var(--iox-text-2, #535D6E)}.builder .empty-link{margin-block-start:16px;padding:0;border:none;background:none;font:inherit;font-size:12px;color:var(--iox-accent-text, #A05C5C);cursor:pointer}@media(hover:hover)and (pointer:fine){.builder .empty-link:hover{text-decoration:underline}}.builder .empty-link:focus-visible{outline:2px solid #cb9090;outline-offset:2px}.builder app-breadcrumb-bar{flex:none;align-self:center;max-inline-size:100%;display:flex;align-items:center;padding:5px 13px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:999px;box-shadow:0 6px 20px #101b421a;max-inline-size:calc(100% - 112px);pointer-events:none}.builder .audit-dock{position:absolute;inset-block-start:20px;inset-inline-end:16px;z-index:20}.builder .global-elements-overlay{position:absolute;top:20px;left:50%;transform-origin:top center;pointer-events:none;z-index:9;overflow:hidden;container:iox-canvas/inline-size;direction:ltr}.builder .global-elements-overlay[dir=rtl]{direction:rtl}.builder .global-elements-overlay ::ng-deep>*{pointer-events:auto}.builder .global-elements-overlay .iox-canvas-globals-before{display:flow-root;pointer-events:none}.builder .global-elements-overlay .iox-canvas-globals-before ::ng-deep>*{pointer-events:auto}.builder .preview-node.is-selected{cursor:grab}.builder .empty-state{min-height:240px;border:1px dashed var(--p-surface-200);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--p-text-muted-color);text-align:center;padding:1rem}.save-block-backdrop{position:fixed;inset:0;z-index:1000;background:#00000040}.save-block-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1001;background:#fff;border-radius:8px;box-shadow:0 8px 32px #0000002e;padding:24px;width:320px}.save-block-dialog .save-block-title{margin:0 0 16px;font-size:14px;font-weight:600;color:var(--p-text-color, #333)}.save-block-dialog .save-block-input{width:100%;padding:8px 10px;border:1px solid var(--p-surface-300, #d1d5db);border-radius:6px;font-size:13px;outline:none;box-sizing:border-box;margin-bottom:16px}.save-block-dialog .save-block-input:focus{border-color:#cb9090;box-shadow:0 0 0 2px #cb909033}.save-block-dialog .save-block-actions{display:flex;justify-content:flex-end;gap:8px}::ng-deep .moveable-control-box.iox-moveable-silent{z-index:1000!important}::ng-deep .moveable-control-box.iox-moveable-silent .moveable-line,::ng-deep .moveable-control-box.iox-moveable-silent .moveable-rotation,::ng-deep .moveable-control-box.iox-moveable-silent .moveable-rotation-line{display:none!important}::ng-deep .moveable-control-box.iox-moveable-silent .moveable-control{display:block!important;width:10px!important;height:10px!important;margin-top:-5px!important;margin-inline-start:-5px!important;background:#fff!important;border:1.5px solid #cb9090!important;border-radius:2px!important;box-shadow:0 1px 3px #0003!important}\n"] }]
13088
+ args: [{ selector: 'app-builder', standalone: false, providers: [{ provide: IOX_BUILDER_CANVAS, useValue: true }], template: "<div class=\"builder\">\n\n <div class=\"builder-main\" [class.panel-open]=\"isPanelOpen\">\n <!-- The switcher is the panel's OWN tab bar. It used to live in the header, at the\n maximum possible distance from the thing it controls; attached, the column and the\n panel are one card with one shadow. See board D2. -->\n <aside class=\"sidebar\">\n <div class=\"sidebar-switcher\">\n <button (click)=\"activeSidebar = 'pages'\" [class.active]=\"activeSidebar === 'pages'\" title=\"Pages\" aria-label=\"Pages\">\n <i class=\"ph-thin ph-browsers\"></i>\n </button>\n <button (click)=\"activeSidebar = 'components'\" [class.active]=\"activeSidebar === 'components'\" title=\"Components\" aria-label=\"Components\">\n <i class=\"ph-thin ph-cube\"></i>\n </button>\n <button (click)=\"activeSidebar = 'tree'\" [class.active]=\"activeSidebar === 'tree'\" title=\"Layers\" aria-label=\"Layers\">\n <i class=\"ph-thin ph-tree-structure\"></i>\n </button>\n <button (click)=\"activeSidebar = 'tokens'\" [class.active]=\"activeSidebar === 'tokens'\" title=\"Design Tokens\" aria-label=\"Design Tokens\">\n <i class=\"ph-thin ph-circles-three\"></i>\n </button>\n </div>\n <div class=\"sidebar-body\">\n @if (activeSidebar === 'pages') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderPages]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'components') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderComponents]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'tokens') {\n <div class=\"sidebar-slot\">\n <ng-content select=\"[builderTokens]\"></ng-content>\n </div>\n }\n @if (activeSidebar === 'tree') {\n <app-layer-tree\n [layout]=\"layout\"\n [globalElements]=\"globalElements\"\n (nodeSelect)=\"onTreeNodeSelect($event)\"\n (nodeAction)=\"onTreeNodeAction($event)\"\n (nodeMove)=\"onTreeNodeMove()\"></app-layer-tree>\n }\n </div>\n </aside>\n\n <!-- \u26A0\uFE0F The strips are SIBLINGS of .preview, not children of it. Board D2 floated them\n over the canvas and that is what they did \u2014 over the page being edited, which is the\n one thing in the builder that must stay clear. They keep their pill shape and their\n centre alignment; they just take their own row.\n\n Siblings, specifically, rather than a wrapper INSIDE .preview: `previewCanvas` is the\n overlay container and the coordinate origin for the selection box, the drag clone,\n Lenis and the zoom maths (nine call sites). Nesting anything between it and the canvas\n would shift every one of them by the strip's height. -->\n <div class=\"canvas-column\" [style.margin-left.px]=\"coverSide === CoverSide.Left ? (coverInset || null) : null\" [style.margin-right.px]=\"coverSide === CoverSide.Right ? (coverInset || null) : null\">\n <!-- \u2460 THE ACTION STRIP \u2014 floating, top-centre (board D2). It was a solid\n full-width header bar costing 56px of height on every screen; the canvas now\n starts at the top of the viewport and the strip hovers over it.\n stopPropagation for the same reason the breadcrumb does: .preview's (click)\n is \"you clicked empty canvas, drop the selection\". -->\n <div class=\"toolbar-strip\" (click)=\"$event.stopPropagation()\">\n <app-toolbar\n [activeMode]=\"activeMode\"\n [activeBreakpoint]=\"activeBreakpoint\"\n [breakpointCounts]=\"breakpointCounts\"\n [auditCount]=\"auditFindings.length || structureFindings.length\"\n [auditOpen]=\"auditOpen\"\n [activeZoom]=\"activeZoom\"\n [activeScreenWidth]=\"activeScreenWidth\"\n [isSaving]=\"isSaving\"\n [pageStatus]=\"pageStatus\"\n [publishChecking]=\"publishChecking\"\n [canUndo]=\"canUndo\"\n [canRedo]=\"canRedo\"\n (modeChange)=\"handleToolbarModeChange($event)\"\n (breakpointChange)=\"handleToolbarBreakpointChange($event)\"\n (auditToggle)=\"toggleAudit()\"\n (zoomChange)=\"handleToolbarZoomChange($event)\"\n (screenWidthChange)=\"handleToolbarScreenWidthChange($event)\"\n (save)=\"save.emit()\"\n (preview)=\"preview.emit()\"\n (publishToggle)=\"publishToggle.emit()\"\n (undo)=\"undo.emit()\"\n (redo)=\"redo.emit()\">\n <ng-content select=\"[builderToolbarActions]\"></ng-content>\n </app-toolbar>\n </div>\n\n <main #previewCanvas class=\"preview\"\n [class.grab-mode]=\"activeMode === builderModes.Pan\"\n [class.grabbing]=\"isPanning\"\n (click)=\"handleCanvasClick()\"\n (mousedown)=\"onBoardMouseDown($event)\"\n (mousemove)=\"onBoardMouseMove($event)\"\n (mouseup)=\"onBoardMouseUp()\"\n (mouseleave)=\"onBoardMouseUp()\"\n (dragstart)=\"onNativeDragStart($event)\">\n <app-overlay (toolbarAction)=\"onToolbarAction($event)\"></app-overlay>\n\n <!-- Responsive audit (A5) \u2014 floats over the canvas, right gutter. -->\n @if (auditOpen) {\n <div class=\"audit-dock\" (click)=\"$event.stopPropagation()\">\n <app-audit-panel\n [findings]=\"auditFindings\"\n [breakpointLabel]=\"auditBreakpointLabel\"\n [running]=\"auditRunning\"\n (select)=\"selectAuditNode($event)\"\n (fix)=\"applyAuditFix($event)\"\n (fixAll)=\"applyAllAuditFixes()\"\n (rerun)=\"runAudit()\"\n (closePanel)=\"toggleAudit()\"></app-audit-panel>\n </div>\n }\n\n <!-- Empty page (B4): a starting point beats a blank canvas. Each starter is a responsive layout preset \u2014\n ordinary nodes, editable afterwards. It is builder CHROME (iox-ui#168): it floats over the canvas like the\n audit dock \u2014 absolutely placed, so nothing in .preview moves \u2014 and never inside the zoomed frame, so its\n words are drawn at their own size in the admin's font (inside iox-page-component they took the frame's\n zoom, 11px \u2192 ~6px at 57%, and the page's font). The words are the builder's own (IOX_BUILDER_LABELS,\n iox-ui#163): `dir=\"auto\"` reads their direction \u2014 the ADMIN's language \u2014 whatever the page's is. Click and\n press stop here: .preview's (click) drops the selection, its (mousedown) starts a pan. -->\n @if (isPageEmpty) {\n <div class=\"empty-canvas\" dir=\"auto\" (click)=\"$event.stopPropagation()\" (mousedown)=\"$event.stopPropagation()\">\n <h2 class=\"empty-title\">{{ chromeWord('builder.chrome.startTitle') }}</h2>\n <p class=\"empty-sub\">{{ chromeWord('builder.chrome.startSub') }}</p>\n <div class=\"empty-grid\">\n @for (starter of starterLayouts; track starter.id) {\n <button type=\"button\" class=\"empty-card\" (click)=\"startWithLayout(starter)\">\n <i [class]=\"starter.icon\" aria-hidden=\"true\"></i>\n <span class=\"empty-card-name\">{{ starterName(starter) }}</span>\n <span class=\"empty-card-desc\">{{ starterDescription(starter) }}</span>\n </button>\n }\n </div>\n <button type=\"button\" class=\"empty-link\" (click)=\"browseComponents()\">{{ chromeWord('builder.chrome.startSingle') }}</button>\n </div>\n }\n\n <!-- Custom Lenis scrollbar \u2014 lives in .preview (not .preview-scroll) so it\n stays in the right gutter and never overlaps the canvas at large widths.\n No translateY counteract needed since it isn't inside the Lenis wrapper. -->\n <div class=\"canvas-scrollbar\"\n [class.visible]=\"isScrollbarVisible\">\n <div class=\"canvas-scrollbar-thumb\"\n [style.height.px]=\"scrollThumbHeight\"\n [style.top.px]=\"scrollThumbTop\">\n </div>\n </div>\n\n <!-- Global elements overlay \u2014 outside Lenis so position:fixed children\n stay pinned to the canvas viewport rather than scrolling with content.\n Shares viewportTransform so elements scale correctly at any zoom level.\n Height is the frame a pinned global sits in (globalOverlayHeight: the canvas\n slot, or the page on a short page), bound in px so position:fixed + inset:0\n fills it (CSS calc(100%) would give the wrong containing-block height). -->\n @if (globalElements.length) {\n <div\n #globalOverlay\n class=\"global-elements-overlay iox-token-scope\"\n [attr.dir]=\"canvasDir\"\n [attr.lang]=\"canvasLocale || null\"\n [attr.data-iox-column]=\"columnWord\"\n [ngStyle]=\"globalLayerCss\"\n [style.width.px]=\"viewportWidth\"\n [style.height.px]=\"globalOverlayHeight\"\n [style.transform]=\"viewportTransform\">\n <!-- BEFORE globals stay here, in the frame (a Dialog inside a header must fill the frame,\n not scroll away with the page). Their wrapper's height is what the in-flow ones take,\n and the page reserves it at its top (canvasHeaderReserve, iox-ui#19). A header standing on a\n ground over a pictured opening (data-iox-opening-media) gives its height back, so the reserve\n drops by it and the picture starts at the top, under the bar (HI3-D7, T1). -->\n @if (globalElementsBefore.length) {\n <div #globalsBefore class=\"iox-canvas-globals-before\" [attr.data-iox-opening]=\"openingScheme\" [attr.data-iox-opening-media]=\"openingMedia\">\n @for (item of globalElementsBefore; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n <!-- The PINNED after globals (a fixed bottom bar, a Dialog). An in-flow AFTER global (a\n footer) is drawn in the page, after its content (iox-ui#12). -->\n @for (item of globalElementsPinnedAfter; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n\n <div class=\"preview-scroll\"\n #previewScroll\n [style.width.px]=\"viewportScaledWidth\"\n [class.pan-mode]=\"activeMode === builderModes.Pan\">\n\n <!-- Lenis content proxy: height = realContentHeight \u00D7 scale.\n Lenis scrolls against this value so scroll range is always in\n visual px \u2014 correct at any zoom level. -->\n <div class=\"preview-lenis-content\" #lenisContent\n [style.height.px]=\"scaledContentHeight\">\n\n <!-- iox-token-scope: the ORG's design tokens are declared on this class, not :root\n (StyleRegistryService.upsertTokens), so they never repaint the admin chrome. -->\n <iox-page-component class=\"iox-token-scope\"\n [attr.dir]=\"canvasDir\"\n [attr.lang]=\"canvasLocale || null\"\n [attr.data-iox-column]=\"columnWord\"\n [style.width.px]=\"viewportWidth\"\n [style.height.px]=\"canvasFrameHeight || viewportHeight\"\n [style.transform]=\"viewportTransform\">\n\n <!-- ngStyle carries the page's own background/typography (pageSettings.style),\n compiled by the SAME function the engine applies to <body>. Inline wins over\n the #canvas-preview white default, which stays as the unset fallback. -->\n <div class=\"canvas-viewport\"\n id=\"canvas-preview\"\n [attr.data-bar-reserve]=\"canvasBarReserve\"\n [attr.data-iox-opening-media]=\"openingMedia\"\n [style.padding-block-start.px]=\"canvasHeaderReserve || null\"\n [ngStyle]=\"pageStyleCss\"\n [style.min-height.px]=\"canvasMinHeight\">\n\n <!-- WRAPPER COLLAPSE (task 9c): top-level nodes render DIRECTLY into the\n canvas viewport \u2014 no .preview-node wrapper; iox-outer + drag move to the\n host (RenderDirective, via ioxDragSourceId). -->\n @for (item of layout; track item) {\n <ng-container\n [ioxRender]=\"item\"\n [ioxDragSourceId]=\"'canvas-preview'\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n\n <!-- In-flow AFTER globals (a footer) follow the page's content, inside the page's\n ground, as on the live site (iox-ui#12). Not part of the layout: the drag\n engine skips this wrapper (GLOBALS_AFTER_CLASS). -->\n @if (globalElementsInPage.length) {\n <div [class]=\"globalsAfterClass\">\n @for (item of globalElementsInPage; track item) {\n <ng-container [ioxRender]=\"item\"\n (onClick)=\"handleClick($event)\"\n (onMouseEnter)=\"handleMouseEnter($event)\"\n (onMouseLeave)=\"handleMouseLeave()\">\n </ng-container>\n }\n </div>\n }\n </div>\n </iox-page-component>\n </div>\n </div>\n </main>\n <!-- \u2462 THE ELEMENT PATH \u2014 a thin floating strip, BOTTOM-CENTRE (board D2). It is\n pinned to the PREVIEW VIEWPORT, not to the canvas frame: the frame pans and\n scales, so a breadcrumb tracking its edge would drift off-screen and shrink with\n zoom. It used to sit in the top gutter, which is where the eye is least often \u2014\n and where the floating action strip now lives.\n\n \u26A0\uFE0F stopPropagation is REQUIRED, not defensive. This element lives inside .preview,\n whose (click) is handleCanvasClick() \u2014 \"you clicked empty canvas, drop the\n selection\". Without it, picking an ancestor crumb selects that node and then\n immediately bubbles into the canvas handler, which clears it: the selection and the\n layer-tree highlight both fall back to Body. Same reason .audit-dock stops its own. -->\n <app-breadcrumb-bar\n (click)=\"$event.stopPropagation()\"\n [path]=\"selectedPath\"\n [typeName]=\"typeName\"\n (nodeSelect)=\"onCrumbSelect($event)\"\n (rootSelect)=\"onCrumbRootSelect()\"\n (nodePeek)=\"onCrumbPeek($event)\">\n </app-breadcrumb-bar>\n\n <!-- \u2463 THE SCENE TIMELINE (premium sites SC2, board G) \u2014 its own row under the canvas, projected from the host\n like every panel, and only there while the page holds a Scene. A sibling of .preview for the reason above. -->\n <ng-content select=\"[builderTimeline]\"></ng-content>\n\n </div>\n\n <!-- Same rule as the sidebar: the switcher belongs to the panel it drives, as a\n tab ROW across its top. -->\n <div class=\"panel-dock\">\n <div class=\"panel-switcher\">\n <button (click)=\"selectPanel(panelTypes.BINDINGS)\" [class.active]=\"activePanel === panelTypes.BINDINGS\" title=\"Bindings\">\n <i class=\"ph-thin ph-plugs-connected\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.STYLES)\" [class.active]=\"activePanel === panelTypes.STYLES\" title=\"Styles\">\n <i class=\"ph-thin ph-paint-brush\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.PAGE)\" [class.active]=\"activePanel === panelTypes.PAGE\" title=\"Page settings\" aria-label=\"Page settings\">\n <i class=\"ph-thin ph-gear-six\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.INTERACTIONS)\" [class.active]=\"activePanel === panelTypes.INTERACTIONS\" title=\"Interactions\">\n <i class=\"ph-thin ph-lightning\"></i>\n </button>\n <button (click)=\"selectPanel(panelTypes.ASK)\" [class.active]=\"activePanel === panelTypes.ASK\" title=\"Ask AI\" aria-label=\"Ask AI\" data-panel-tab=\"ask\">\n <i class=\"ph-thin ph-sparkle\"></i>\n </button>\n </div>\n <ng-content select=\"[builderPanel]\"></ng-content>\n </div>\n </div>\n\n <!-- Save as Reusable Block dialog -->\n <!-- A tab or a panel deleted alone (CC4a \u2014 composite T18): the pair goes together, so the delete is offered for\n both. Every delete path asks the one guard; this is its answer. -->\n <p-dialog [visible]=\"!!pendingPairRemoval\" (visibleChange)=\"$event || cancelPairRemoval()\" [modal]=\"true\" [closable]=\"true\"\n [draggable]=\"false\" [resizable]=\"false\" [header]=\"pairRemovalText('builder.chrome.deletePairTitle')\" styleClass=\"iox-pair-removal-dialog\"\n appendTo=\"body\" [style]=\"{ width: '400px' }\">\n <p class=\"pair-removal-body\">{{ pairRemovalText('builder.chrome.deletePairBody') }}</p>\n <ng-template pTemplate=\"footer\">\n <p-button size=\"small\" severity=\"secondary\" [label]=\"pairRemovalText('builder.chrome.cancel')\" (onClick)=\"cancelPairRemoval()\"></p-button>\n <p-button size=\"small\" severity=\"danger\" [label]=\"pairRemovalText('builder.chrome.deletePair')\" (onClick)=\"confirmPairRemoval()\"></p-button>\n </ng-template>\n </p-dialog>\n\n @if (showSaveBlockDialog) {\n <div class=\"save-block-backdrop\" (click)=\"cancelSaveBlock()\"></div>\n <div class=\"save-block-dialog\" (click)=\"$event.stopPropagation()\">\n <h4 class=\"save-block-title\">Save as Reusable Block</h4>\n <input class=\"save-block-input\"\n type=\"text\"\n placeholder=\"Block name...\"\n [(ngModel)]=\"saveBlockName\"\n (keydown.enter)=\"confirmSaveBlock()\"\n (keydown.escape)=\"cancelSaveBlock()\"\n autofocus>\n <div class=\"save-block-actions\">\n <p-button size=\"small\" severity=\"secondary\" label=\"Cancel\" (click)=\"cancelSaveBlock()\"></p-button>\n <p-button size=\"small\" label=\"Save\" [disabled]=\"!saveBlockName.trim()\" (click)=\"confirmSaveBlock()\"></p-button>\n </div>\n </div>\n }\n</div>", styles: ["@charset \"UTF-8\";:host{display:flex;flex:1;min-height:0;overflow:hidden}.builder{display:flex;flex-direction:column;direction:ltr;width:100%;height:100%;min-height:0;border-radius:0;overflow:hidden;position:relative}.builder .toolbar-strip{flex:none;align-self:center;max-inline-size:100%;display:flex;align-items:center;padding:6px 8px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:999px;box-shadow:0 6px 20px #101b421a;max-inline-size:calc(100% - 40px);overflow-x:auto;scrollbar-width:none}.builder .toolbar-strip::-webkit-scrollbar{display:none}.builder .sidebar-switcher,.builder .panel-switcher{flex:none;display:flex;flex-direction:row;align-items:center;gap:.375rem;padding:7px 10px;background:var(--p-surface-0);border-block-end:1px solid var(--iox-neutral-100, #EDEFF3)}.builder .sidebar-switcher button,.builder .panel-switcher button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;border:none;background:var(--iox-surface-3, #F6F7F9);color:var(--p-text-muted-color);cursor:pointer;font-size:1rem;transition:background .15s ease-out,color .15s ease-out}.builder .sidebar-switcher button i,.builder .panel-switcher button i{pointer-events:none}.builder .sidebar-switcher button:hover,.builder .panel-switcher button:hover{background:var(--iox-rose-100, #F8EAEA);color:var(--p-text-color)}.builder .sidebar-switcher button.active,.builder .panel-switcher button.active{background:var(--iox-grad-brand, linear-gradient(135deg, #9B4458 0%, #8A3A72 50%, #63347F 100%));color:#fff}.builder .panel-dock{display:grid;grid-template-rows:auto minmax(0,1fr);flex:none;min-height:0;background:var(--p-surface-0);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:var(--iox-radius-card, 20px);box-shadow:var(--iox-elev-1, 0 0 12px rgba(16, 27, 66, .05));overflow:hidden}.builder .builder-main{display:flex;flex:1 1 0;min-height:0;position:relative;overflow:hidden;gap:12px;padding:14px;background:transparent}.builder .sidebar{display:flex;flex-direction:column;inline-size:260px;min-inline-size:260px;background:var(--p-surface-0);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:var(--iox-radius-card, 20px);box-shadow:var(--iox-elev-1, 0 0 12px rgba(16, 27, 66, .05));overflow:hidden;flex-shrink:0;min-block-size:0}.builder .sidebar .sidebar-body{flex:1;min-inline-size:0;overflow-y:auto;overflow-x:hidden}.builder .sidebar:dir(rtl),.builder .panel-dock:dir(rtl){direction:rtl}.builder .canvas-column{flex:1 1 0;min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px}.builder .preview{flex:1 1 0;min-width:0;min-height:0;position:relative;overflow:hidden;background:transparent}.builder .preview.grab-mode{cursor:grab}.builder .preview.grab-mode iox-page-component{pointer-events:none}.builder .preview.grabbing{cursor:grabbing}.builder .canvas-scrollbar{position:absolute;right:4px;top:20px;bottom:20px;width:6px;z-index:20;opacity:0;transition:opacity .2s ease;pointer-events:none}.builder .canvas-scrollbar.visible{opacity:1}.builder .canvas-scrollbar-thumb{position:absolute;left:0;width:100%;background:#00000059;border-radius:3px;transition:top .05s linear}.builder .preview-scroll{position:absolute;inset:20px auto;inset-inline-start:50%;transform:translate(-50%);max-width:calc(100% - 40px);height:calc(100% - 40px);overflow:hidden}.builder .preview-lenis-content{position:relative;width:100%;overflow:hidden;contain:paint}.builder iox-page-component{position:absolute!important;top:0;bottom:auto!important;right:auto!important;left:50%;transform-origin:top center;overflow:visible!important;direction:ltr}.builder iox-page-component[dir=rtl]{direction:rtl}.builder iox-page-component{container:iox-canvas/inline-size;box-shadow:0 1px 4px #00000014,0 4px 16px #0000000a;transition:width .25s ease,transform .25s ease}.builder iox-page-component ::ng-deep .iox-page-wrapper{height:auto!important;overflow:visible!important}.builder #canvas-preview{background:#fff}.builder #canvas-preview[data-bar-reserve=iox-bar-reserve]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}@container iox-canvas (max-width: 1200px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-laptop]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 991px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-tablet]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 767px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-mobile]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}@container iox-canvas (max-width: 479px){.builder #canvas-preview[data-bar-reserve=iox-bar-reserve-small]{padding-block-end:calc(var(--iox-tabbar-height, 64px) + var(--iox-border-width, 1px) + var(--iox-tabbar-inset, 0px) * 2)}}.builder .empty-canvas{position:absolute;inset-block-start:40px;inset-inline:0;margin-inline:auto;z-index:11;inline-size:min(560px,100% - 80px);max-block-size:calc(100% - 80px);overflow-y:auto;box-sizing:border-box;padding:24px;text-align:center;color:var(--iox-text-2, #535D6E);background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:20px;box-shadow:0 6px 20px #101b421a;cursor:default}.builder .empty-title{margin:0;font-size:14px;font-weight:600;line-height:1.4;color:var(--iox-text-1, #101B42)}.builder .empty-sub{margin:6px 0 16px;font-size:12px;line-height:1.5;color:var(--iox-text-2, #535D6E)}.builder .empty-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.builder .empty-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;border:1px solid var(--iox-border-1, #DDE1E8);border-radius:14px;background:#fff;cursor:pointer;font:inherit;transition:border-color .15s ease-out,box-shadow .15s ease-out,transform .12s cubic-bezier(.23,1,.32,1)}@media(hover:hover)and (pointer:fine){.builder .empty-card:hover{border-color:#cb9090;box-shadow:0 2px 10px #0000000f}}.builder .empty-card:active{transform:scale(.97)}.builder .empty-card:focus-visible{outline:2px solid #cb9090;outline-offset:2px}.builder .empty-card i{font-size:20px;color:var(--iox-accent-text, #A05C5C)}.builder .empty-card-name{font-size:12px;font-weight:600;color:var(--iox-text-1, #101B42)}.builder .empty-card-desc{font-size:11px;line-height:1.4;color:var(--iox-text-2, #535D6E)}.builder .empty-link{margin-block-start:16px;padding:0;border:none;background:none;font:inherit;font-size:12px;color:var(--iox-accent-text, #A05C5C);cursor:pointer}@media(hover:hover)and (pointer:fine){.builder .empty-link:hover{text-decoration:underline}}.builder .empty-link:focus-visible{outline:2px solid #cb9090;outline-offset:2px}.builder app-breadcrumb-bar{flex:none;align-self:center;max-inline-size:100%;display:flex;align-items:center;padding:5px 13px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--iox-border-1, #DDE1E8);border-radius:999px;box-shadow:0 6px 20px #101b421a;max-inline-size:calc(100% - 112px);pointer-events:none}.builder .audit-dock{position:absolute;inset-block-start:20px;inset-inline-end:16px;z-index:20}.builder .global-elements-overlay{position:absolute;top:20px;left:50%;transform-origin:top center;pointer-events:none;z-index:9;overflow:hidden;container:iox-canvas/inline-size;direction:ltr}.builder .global-elements-overlay[dir=rtl]{direction:rtl}.builder .global-elements-overlay ::ng-deep>*{pointer-events:auto}.builder .global-elements-overlay .iox-canvas-globals-before{display:flow-root;pointer-events:none}.builder .global-elements-overlay .iox-canvas-globals-before ::ng-deep>*{pointer-events:auto}.builder .preview-node.is-selected{cursor:grab}.builder .empty-state{min-height:240px;border:1px dashed var(--p-surface-200);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--p-text-muted-color);text-align:center;padding:1rem}.save-block-backdrop{position:fixed;inset:0;z-index:1000;background:#00000040}.save-block-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1001;background:#fff;border-radius:8px;box-shadow:0 8px 32px #0000002e;padding:24px;width:320px}.save-block-dialog .save-block-title{margin:0 0 16px;font-size:14px;font-weight:600;color:var(--p-text-color, #333)}.save-block-dialog .save-block-input{width:100%;padding:8px 10px;border:1px solid var(--p-surface-300, #d1d5db);border-radius:6px;font-size:13px;outline:none;box-sizing:border-box;margin-bottom:16px}.save-block-dialog .save-block-input:focus{border-color:#cb9090;box-shadow:0 0 0 2px #cb909033}.save-block-dialog .save-block-actions{display:flex;justify-content:flex-end;gap:8px}::ng-deep .moveable-control-box.iox-moveable-silent{z-index:1000!important}::ng-deep .moveable-control-box.iox-moveable-silent .moveable-line,::ng-deep .moveable-control-box.iox-moveable-silent .moveable-rotation,::ng-deep .moveable-control-box.iox-moveable-silent .moveable-rotation-line{display:none!important}::ng-deep .moveable-control-box.iox-moveable-silent .moveable-control{display:block!important;width:10px!important;height:10px!important;margin-top:-5px!important;margin-inline-start:-5px!important;background:#fff!important;border:1.5px solid #cb9090!important;border-radius:2px!important;box-shadow:0 1px 3px #0003!important}\n"] }]
12848
13089
  }], ctorParameters: () => [{ type: ComponentRegistryService }, { type: OverlayService }, { type: PanelEventService }, { type: DragEngineService }, { type: DataSourceRegistryService }, { type: ViewportService }, { type: FormStateService }, { type: CanvasDesignStateService }, { type: InteractionEngineService }, { type: InteractionPresetRegistryService }, { type: BuilderClipboardService }, { type: SymbolRegistryService }, { type: i0.ChangeDetectorRef }, { type: i0.ApplicationRef }, { type: MoveableCanvasService }, { type: SelectoCanvasService }, { type: StyleRegistryService }], propDecorators: { layout: [{
12849
13090
  type: Input
12850
13091
  }], dataSources: [{
@@ -12912,6 +13153,117 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
12912
13153
  args: ['globalsBefore']
12913
13154
  }] } });
12914
13155
 
13156
+ /** Which empty box the slot sits in — a Section reads as a section (its own words, its taller slot). */
13157
+ var EmptySlotKind;
13158
+ (function (EmptySlotKind) {
13159
+ EmptySlotKind["Box"] = "box";
13160
+ EmptySlotKind["Section"] = "section";
13161
+ EmptySlotKind["Link"] = "link";
13162
+ })(EmptySlotKind || (EmptySlotKind = {}));
13163
+ /** The slot's words per kind: the first line, the laptop's second line, the phone's (shorter) second line. */
13164
+ const EMPTY_SLOT_WORDS = Object.freeze({
13165
+ [EmptySlotKind.Box]: { line: 'builder.chrome.emptyBoxDrop', more: 'builder.chrome.emptyBoxMore', morePhone: 'builder.chrome.emptyMorePhone' },
13166
+ [EmptySlotKind.Link]: { line: 'builder.chrome.emptyBoxDrop', more: 'builder.chrome.emptyBoxMore', morePhone: 'builder.chrome.emptyMorePhone' },
13167
+ [EmptySlotKind.Section]: { line: 'builder.chrome.emptySectionDrop', more: 'builder.chrome.emptySectionMore', morePhone: 'builder.chrome.emptyMorePhone' },
13168
+ });
13169
+ const EMPTY_SLOT_ICONS = Object.freeze({
13170
+ [EmptySlotKind.Box]: 'ph-thin ph-plus',
13171
+ [EmptySlotKind.Link]: 'ph-thin ph-link',
13172
+ [EmptySlotKind.Section]: 'ph-thin ph-rows',
13173
+ });
13174
+ /** The style values that give a box its own height — a saved box that stores one keeps it, and the slot fills it. */
13175
+ const FLOOR_PROPS = ['minHeight', 'height'];
13176
+ const NO_FLOOR = new Set(['', 'auto', '0', '0px', 'none', 'fit-content', 'min-content', 'max-content']);
13177
+ /**
13178
+ * True when a box gives itself a height (a saved Container's stored 200px, an author's 320px) — read from the node's LIVE
13179
+ * style values (its style traits, what the Style panel edits), so clearing the floor turns the slot back into the box's room.
13180
+ */
13181
+ function boxHasOwnHeight(node) {
13182
+ for (const group of node?.styleTraits ?? []) {
13183
+ for (const trait of group.traits) {
13184
+ if (FLOOR_PROPS.includes(trait.name) && !NO_FLOOR.has(String(trait.default ?? '').trim().toLowerCase()))
13185
+ return true;
13186
+ }
13187
+ }
13188
+ return false;
13189
+ }
13190
+ /**
13191
+ * The empty-box slot (board ad0b A, AD0b-Q1…Q3): what lets a Container, LinkedContainer or Section lose its 200px floor.
13192
+ * While a box holds no child, the slot is IN FLOW and gives the box its room on the canvas only — 96px (a Section 160px),
13193
+ * 72 / 120 on a phone canvas — faintly there at rest, waking on hover (mouse only) and on a drag over the box — an opacity fade kept under reduced motion. Builder
13194
+ * chrome (`data-iox-chrome`): never saved, never in Preview or on the live site (an empty box is 0 tall there), never in a
13195
+ * display-only specimen. A box with a height of its own (a saved 200px) keeps it, and the slot fills it as before.
13196
+ *
13197
+ * It takes no pointer events: a click falls through and SELECTS the box (the components panel then inserts inside it).
13198
+ * The live drop and refused frames are the overlay's (`.iox-drop-target-overlay`), drawn over the box as for any target.
13199
+ */
13200
+ class EmptySlotComponent {
13201
+ constructor(canvas, displayOnly, labels) {
13202
+ this.canvas = canvas;
13203
+ this.displayOnly = displayOnly;
13204
+ this.labels = labels;
13205
+ this.kind = EmptySlotKind.Box;
13206
+ /** The box has a height of its own (`boxHasOwnHeight`): the slot fills it instead of giving it one. */
13207
+ this.fill = false;
13208
+ }
13209
+ /** Only on the editing canvas — never in Preview, on the live site or in a specimen. */
13210
+ get shown() {
13211
+ return !!this.canvas && !this.displayOnly;
13212
+ }
13213
+ get icon() { return EMPTY_SLOT_ICONS[this.kindKey]; }
13214
+ get line() { return this.label(EMPTY_SLOT_WORDS[this.kindKey].line); }
13215
+ get more() { return this.label(EMPTY_SLOT_WORDS[this.kindKey].more); }
13216
+ get morePhone() { return this.label(EMPTY_SLOT_WORDS[this.kindKey].morePhone); }
13217
+ get kindKey() {
13218
+ return Object.values(EmptySlotKind).includes(this.kind) ? this.kind : EmptySlotKind.Box;
13219
+ }
13220
+ label(key) {
13221
+ return (this.labels ?? defaultBuilderLabels)(key, BUILDER_CHROME_EN[key]);
13222
+ }
13223
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: EmptySlotComponent, deps: [{ token: IOX_BUILDER_CANVAS, optional: true }, { token: IOX_RENDER_DISPLAY_ONLY, optional: true }, { token: IOX_BUILDER_LABELS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
13224
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: EmptySlotComponent, isStandalone: false, selector: "iox-empty-slot", inputs: { kind: "kind", fill: "fill" }, host: { attributes: { "data-iox-chrome": "", "aria-hidden": "true" }, properties: { "class.iox-empty-slot--section": "kind === 'section'", "class.iox-empty-slot--fill": "fill", "class.iox-empty-slot--off": "!shown" }, classAttribute: "iox-empty-slot" }, ngImport: i0, template: `
13225
+ <i [class]="icon" aria-hidden="true"></i>
13226
+ <span class="iox-empty-slot__line">{{ line }}</span>
13227
+ <small class="iox-empty-slot__more">{{ more }}</small>
13228
+ <small class="iox-empty-slot__more-phone">{{ morePhone }}</small>
13229
+ `, isInline: true, styles: [".iox-empty-slot{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-block-size:96px;inline-size:100%;flex:1 1 100%;align-self:stretch;grid-column:1 / -1;padding:10px 12px;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#535d6e;font:400 12px/1.4 Poppins,system-ui,sans-serif;letter-spacing:normal;text-transform:none;text-align:center;white-space:normal;pointer-events:none;-webkit-user-select:none;user-select:none}.iox-empty-slot--section{min-block-size:160px}.iox-empty-slot--fill{position:absolute;inset:0;min-block-size:0}.iox-empty-slot--off{display:none}.iox-empty-slot>i{font-size:18px}.iox-empty-slot--section>i{font-size:22px}.iox-empty-slot__more,.iox-empty-slot__more-phone{font-size:11px;color:#6e7889}.iox-empty-slot__more-phone{display:none}.iox-empty-slot:after{content:\"\";position:absolute;inset:-1.5px;border:1.5px dashed rgba(203,144,144,.7);border-radius:inherit;opacity:0;transition:opacity .1s cubic-bezier(.23,1,.32,1)}.iox-drag-over>.iox-empty-slot:after,.iox-is-target>.iox-empty-slot:after{opacity:1;transition-duration:.15s}.iox-drag-over>.iox-empty-slot,.iox-is-target>.iox-empty-slot{color:#8a4a4a}@media(hover:hover)and (pointer:fine){:is(.container-root,.section-root,.linked-container-root):hover>.iox-empty-slot:after{opacity:1;transition-duration:.15s}:is(.container-root,.section-root,.linked-container-root):hover>.iox-empty-slot{color:#8a4a4a}}@container iox-canvas (max-width: 767px){.iox-empty-slot{min-block-size:72px}.iox-empty-slot--section{min-block-size:120px}.iox-empty-slot--fill{min-block-size:0}.iox-empty-slot__more{display:none}.iox-empty-slot__more-phone{display:block}}\n"], encapsulation: i0.ViewEncapsulation.None }); }
13230
+ }
13231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: EmptySlotComponent, decorators: [{
13232
+ type: Component,
13233
+ args: [{ selector: 'iox-empty-slot', template: `
13234
+ <i [class]="icon" aria-hidden="true"></i>
13235
+ <span class="iox-empty-slot__line">{{ line }}</span>
13236
+ <small class="iox-empty-slot__more">{{ more }}</small>
13237
+ <small class="iox-empty-slot__more-phone">{{ morePhone }}</small>
13238
+ `, host: {
13239
+ 'class': 'iox-empty-slot',
13240
+ 'data-iox-chrome': '',
13241
+ 'aria-hidden': 'true',
13242
+ '[class.iox-empty-slot--section]': "kind === 'section'",
13243
+ '[class.iox-empty-slot--fill]': 'fill',
13244
+ '[class.iox-empty-slot--off]': '!shown',
13245
+ }, encapsulation: ViewEncapsulation.None, standalone: false, styles: [".iox-empty-slot{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-block-size:96px;inline-size:100%;flex:1 1 100%;align-self:stretch;grid-column:1 / -1;padding:10px 12px;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#535d6e;font:400 12px/1.4 Poppins,system-ui,sans-serif;letter-spacing:normal;text-transform:none;text-align:center;white-space:normal;pointer-events:none;-webkit-user-select:none;user-select:none}.iox-empty-slot--section{min-block-size:160px}.iox-empty-slot--fill{position:absolute;inset:0;min-block-size:0}.iox-empty-slot--off{display:none}.iox-empty-slot>i{font-size:18px}.iox-empty-slot--section>i{font-size:22px}.iox-empty-slot__more,.iox-empty-slot__more-phone{font-size:11px;color:#6e7889}.iox-empty-slot__more-phone{display:none}.iox-empty-slot:after{content:\"\";position:absolute;inset:-1.5px;border:1.5px dashed rgba(203,144,144,.7);border-radius:inherit;opacity:0;transition:opacity .1s cubic-bezier(.23,1,.32,1)}.iox-drag-over>.iox-empty-slot:after,.iox-is-target>.iox-empty-slot:after{opacity:1;transition-duration:.15s}.iox-drag-over>.iox-empty-slot,.iox-is-target>.iox-empty-slot{color:#8a4a4a}@media(hover:hover)and (pointer:fine){:is(.container-root,.section-root,.linked-container-root):hover>.iox-empty-slot:after{opacity:1;transition-duration:.15s}:is(.container-root,.section-root,.linked-container-root):hover>.iox-empty-slot{color:#8a4a4a}}@container iox-canvas (max-width: 767px){.iox-empty-slot{min-block-size:72px}.iox-empty-slot--section{min-block-size:120px}.iox-empty-slot--fill{min-block-size:0}.iox-empty-slot__more{display:none}.iox-empty-slot__more-phone{display:block}}\n"] }]
13246
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
13247
+ type: Optional
13248
+ }, {
13249
+ type: Inject,
13250
+ args: [IOX_BUILDER_CANVAS]
13251
+ }] }, { type: undefined, decorators: [{
13252
+ type: Optional
13253
+ }, {
13254
+ type: Inject,
13255
+ args: [IOX_RENDER_DISPLAY_ONLY]
13256
+ }] }, { type: undefined, decorators: [{
13257
+ type: Optional
13258
+ }, {
13259
+ type: Inject,
13260
+ args: [IOX_BUILDER_LABELS]
13261
+ }] }], propDecorators: { kind: [{
13262
+ type: Input
13263
+ }], fill: [{
13264
+ type: Input
13265
+ }] } });
13266
+
12915
13267
  /**
12916
13268
  * Directive-host Section (Phase 2 of the Moveable migration = task 9c). The `<section>` IS the host
12917
13269
  * (no `<app-section>` wrapper, no separate `.section-root`) — matching the SSR engine's
@@ -12931,6 +13283,8 @@ class SectionComponent {
12931
13283
  this.childClick = new EventEmitter();
12932
13284
  this.childMouseEnter = new EventEmitter();
12933
13285
  this.childMouseLeave = new EventEmitter();
13286
+ /** The node this section renders (assigned by RenderDirective, never an input). */
13287
+ this.node = null;
12934
13288
  }
12935
13289
  ngOnInit() {
12936
13290
  // Register the HOST as the dropzone (was the ioxDropzone directive on `.section-root`).
@@ -12939,6 +13293,10 @@ class SectionComponent {
12939
13293
  ngOnDestroy() {
12940
13294
  this.dragEngine.unregisterDropzone(this.dropListId, this.elRef.nativeElement);
12941
13295
  }
13296
+ /** A saved section that stores a height of its own keeps it — the empty slot fills it. */
13297
+ get hasOwnHeight() {
13298
+ return boxHasOwnHeight(this.node);
13299
+ }
12942
13300
  get listOrientation() {
12943
13301
  const d = this.style?.['display'];
12944
13302
  if (d === 'flex' || d === 'inline-flex') {
@@ -12953,10 +13311,8 @@ class SectionComponent {
12953
13311
  }
12954
13312
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: SectionComponent, deps: [{ token: i0.ElementRef }, { token: DragEngineService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
12955
13313
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: SectionComponent, isStandalone: false, selector: "section[iox-section]", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, host: { properties: { "class": "'section-root iox-node-' + nodeId + (listOrientation === 'horizontal' ? ' is-horizontal' : '')" } }, ngImport: i0, template: `
12956
- <div *ngIf="!children.length" class="section-placeholder" data-iox-chrome>
12957
- <i class="ph-thin ph-rows"></i>
12958
- <span>Drop components here</span>
12959
- </div>
13314
+ <!-- The empty-box slot (board ad0b A): in flow while the section is empty — 160px, 120 on a phone canvas. -->
13315
+ <iox-empty-slot *ngIf="!children.length" class="section-placeholder" kind="section" [fill]="hasOwnHeight"></iox-empty-slot>
12960
13316
 
12961
13317
  <!-- WRAPPER COLLAPSE (task 9c): render children directly; iox-outer + drag move to the host. -->
12962
13318
  <ng-container *ngFor="let child of children"
@@ -12966,15 +13322,13 @@ class SectionComponent {
12966
13322
  (onMouseEnter)="childMouseEnter.emit($event)"
12967
13323
  (onMouseLeave)="childMouseLeave.emit()">
12968
13324
  </ng-container>
12969
- `, isInline: true, styles: [":host{position:relative;box-sizing:border-box}.section-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none;z-index:0;opacity:0;transition:opacity .15s}:host(:hover) .section-placeholder,:host(.iox-drag-over) .section-placeholder{opacity:1}.section-placeholder i{font-size:22px}::ng-deep :where(.section-root)>:where([class*=iox-outer-]){min-width:0}\n"], dependencies: [{ 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: RenderDirective, selector: "[ioxRender]", inputs: ["ioxRender", "ioxDragSourceId", "ioxPhrasing"], outputs: ["onClick", "onMouseEnter", "onMouseLeave"] }] }); }
13325
+ `, isInline: true, styles: [":host{position:relative;box-sizing:border-box}::ng-deep :where(.section-root)>:where([class*=iox-outer-]){min-width:0}\n"], dependencies: [{ 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: RenderDirective, selector: "[ioxRender]", inputs: ["ioxRender", "ioxDragSourceId", "ioxPhrasing"], outputs: ["onClick", "onMouseEnter", "onMouseLeave"] }, { kind: "component", type: EmptySlotComponent, selector: "iox-empty-slot", inputs: ["kind", "fill"] }] }); }
12970
13326
  }
12971
13327
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: SectionComponent, decorators: [{
12972
13328
  type: Component,
12973
13329
  args: [{ selector: 'section[iox-section]', template: `
12974
- <div *ngIf="!children.length" class="section-placeholder" data-iox-chrome>
12975
- <i class="ph-thin ph-rows"></i>
12976
- <span>Drop components here</span>
12977
- </div>
13330
+ <!-- The empty-box slot (board ad0b A): in flow while the section is empty — 160px, 120 on a phone canvas. -->
13331
+ <iox-empty-slot *ngIf="!children.length" class="section-placeholder" kind="section" [fill]="hasOwnHeight"></iox-empty-slot>
12978
13332
 
12979
13333
  <!-- WRAPPER COLLAPSE (task 9c): render children directly; iox-outer + drag move to the host. -->
12980
13334
  <ng-container *ngFor="let child of children"
@@ -12986,7 +13340,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
12986
13340
  </ng-container>
12987
13341
  `, host: {
12988
13342
  '[class]': "'section-root iox-node-' + nodeId + (listOrientation === 'horizontal' ? ' is-horizontal' : '')",
12989
- }, standalone: false, styles: [":host{position:relative;box-sizing:border-box}.section-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none;z-index:0;opacity:0;transition:opacity .15s}:host(:hover) .section-placeholder,:host(.iox-drag-over) .section-placeholder{opacity:1}.section-placeholder i{font-size:22px}::ng-deep :where(.section-root)>:where([class*=iox-outer-]){min-width:0}\n"] }]
13343
+ }, standalone: false, styles: [":host{position:relative;box-sizing:border-box}::ng-deep :where(.section-root)>:where([class*=iox-outer-]){min-width:0}\n"] }]
12990
13344
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: DragEngineService }, { type: i0.ChangeDetectorRef }], propDecorators: { children: [{
12991
13345
  type: Input
12992
13346
  }], style: [{
@@ -13023,6 +13377,10 @@ class BuilderContainerComponent {
13023
13377
  syncSubmitButtons(this.elRef?.nativeElement, state);
13024
13378
  }
13025
13379
  get formState() { return this._formState; }
13380
+ /** A saved box that stores a height of its own keeps it — the empty slot fills it instead of giving it one. */
13381
+ get hasOwnHeight() {
13382
+ return boxHasOwnHeight(this.node);
13383
+ }
13026
13384
  /** The wrapper a child renders in: an Accordion item's header → its heading level; an item's panel (either
13027
13385
  * kind) → the track. A disclosure's toggle has no heading — it is a button in the flow. */
13028
13386
  wrapperOf(child) {
@@ -13084,12 +13442,9 @@ class BuilderContainerComponent {
13084
13442
  }
13085
13443
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderContainerComponent, deps: [{ token: i0.ElementRef }, { token: DragEngineService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
13086
13444
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: BuilderContainerComponent, isStandalone: false, selector: "div[iox-container],section[iox-container],article[iox-container],header[iox-container],footer[iox-container],main[iox-container],nav[iox-container],ul[iox-container],ol[iox-container],li[iox-container],form[iox-container]", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId", htmlTag: "htmlTag", start: "start", reversed: "reversed", formClass: "formClass", formState: "formState", afterSend: "afterSend", formId: "formId" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, host: { properties: { "class": "'container-root iox-node-' + nodeId + (listOrientation === 'horizontal' ? ' is-horizontal' : '') + (formClass ? ' ' + formClass : '')", "attr.data-iox-state": "formClass === \"iox-form\" ? formState : null", "attr.data-iox-after-send": "formClass === \"iox-form\" && afterSend === \"toast\" ? \"toast\" : null", "attr.data-iox-form": "formClass === \"iox-form\" ? (formId || null) : null", "attr.start": "htmlTag === 'ol' && start !== 1 ? start : null", "attr.reversed": "htmlTag === 'ol' && reversed ? '' : null", "attr.data-iox-item-key": "node?.itemKey ?? null" } }, ngImport: i0, template: `
13087
- <!-- Empty-container slot (B2). pointer-events:none, so a click falls through and SELECTS
13088
- this container — and the components panel then inserts INSIDE it. -->
13089
- <div *ngIf="!children.length" class="container-placeholder" data-iox-chrome>
13090
- <i class="ph-thin ph-plus"></i>
13091
- <span>Click to select, then add an element</span>
13092
- </div>
13445
+ <!-- The empty-box slot (board ad0b A): in flow while the box is empty, so the box needs no floor of its own.
13446
+ pointer-events:none — a click falls through and SELECTS this container (the components panel inserts INSIDE it). -->
13447
+ <iox-empty-slot *ngIf="!children.length" class="container-placeholder" kind="box" [fill]="hasOwnHeight"></iox-empty-slot>
13093
13448
 
13094
13449
  <!-- WRAPPER COLLAPSE (task 9c): render each child DIRECTLY — no .container-child wrapper. The
13095
13450
  RenderDirective puts iox-outer + iox-node on the child's HOST (the flex item) and registers
@@ -13121,17 +13476,14 @@ class BuilderContainerComponent {
13121
13476
  @default { <ng-container *ngTemplateOutlet="childTpl; context: { $implicit: child }"></ng-container> }
13122
13477
  }
13123
13478
  }
13124
- `, isInline: true, styles: [":host{position:relative;box-sizing:border-box}.container-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none;z-index:0;opacity:0;transition:opacity .15s}:host(:hover) .container-placeholder,:host(.iox-drag-over) .container-placeholder{opacity:1}.container-placeholder i{font-size:18px}::ng-deep :where(.container-root)>:where([class*=iox-outer-]){min-width:0}\n"], dependencies: [{ 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"] }] }); }
13479
+ `, isInline: true, styles: [":host{position:relative;box-sizing:border-box}::ng-deep :where(.container-root)>:where([class*=iox-outer-]){min-width:0}\n"], dependencies: [{ 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: "component", type: EmptySlotComponent, selector: "iox-empty-slot", inputs: ["kind", "fill"] }] }); }
13125
13480
  }
13126
13481
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderContainerComponent, decorators: [{
13127
13482
  type: Component,
13128
13483
  args: [{ selector: 'div[iox-container],section[iox-container],article[iox-container],header[iox-container],footer[iox-container],main[iox-container],nav[iox-container],ul[iox-container],ol[iox-container],li[iox-container],form[iox-container]', template: `
13129
- <!-- Empty-container slot (B2). pointer-events:none, so a click falls through and SELECTS
13130
- this container — and the components panel then inserts INSIDE it. -->
13131
- <div *ngIf="!children.length" class="container-placeholder" data-iox-chrome>
13132
- <i class="ph-thin ph-plus"></i>
13133
- <span>Click to select, then add an element</span>
13134
- </div>
13484
+ <!-- The empty-box slot (board ad0b A): in flow while the box is empty, so the box needs no floor of its own.
13485
+ pointer-events:none — a click falls through and SELECTS this container (the components panel inserts INSIDE it). -->
13486
+ <iox-empty-slot *ngIf="!children.length" class="container-placeholder" kind="box" [fill]="hasOwnHeight"></iox-empty-slot>
13135
13487
 
13136
13488
  <!-- WRAPPER COLLAPSE (task 9c): render each child DIRECTLY — no .container-child wrapper. The
13137
13489
  RenderDirective puts iox-outer + iox-node on the child's HOST (the flex item) and registers
@@ -13176,7 +13528,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
13176
13528
  '[attr.reversed]': "htmlTag === 'ol' && reversed ? '' : null",
13177
13529
  // An item's identity (an accordion item, or a disclosure) — the runtime pairs its header and panel ids from it.
13178
13530
  '[attr.data-iox-item-key]': 'node?.itemKey ?? null',
13179
- }, standalone: false, styles: [":host{position:relative;box-sizing:border-box}.container-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none;z-index:0;opacity:0;transition:opacity .15s}:host(:hover) .container-placeholder,:host(.iox-drag-over) .container-placeholder{opacity:1}.container-placeholder i{font-size:18px}::ng-deep :where(.container-root)>:where([class*=iox-outer-]){min-width:0}\n"] }]
13531
+ }, standalone: false, styles: [":host{position:relative;box-sizing:border-box}::ng-deep :where(.container-root)>:where([class*=iox-outer-]){min-width:0}\n"] }]
13180
13532
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: DragEngineService }, { type: i0.ChangeDetectorRef }], propDecorators: { children: [{
13181
13533
  type: Input
13182
13534
  }], style: [{
@@ -13210,6 +13562,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
13210
13562
  /** `click` covers plain and modified clicks; a middle click opens a tab through `auxclick` alone. */
13211
13563
  const NAVIGATING_CLICKS = ['click', 'auxclick'];
13212
13564
  class BuilderLinkedContainerComponent {
13565
+ /** A saved link box that stores a height of its own keeps it — the empty slot fills it. */
13566
+ get hasOwnHeight() {
13567
+ return boxHasOwnHeight(this.node);
13568
+ }
13213
13569
  /** An Accordion's header (CC2) or a Disclosure's toggle (CC2.1) renders a <button>. */
13214
13570
  get isTrigger() {
13215
13571
  return isCompositeTrigger(this.node);
@@ -13266,10 +13622,8 @@ class BuilderLinkedContainerComponent {
13266
13622
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderLinkedContainerComponent, deps: [{ token: DragEngineService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: IS_PREVIEW, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
13267
13623
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: BuilderLinkedContainerComponent, isStandalone: false, selector: "app-builder-linked-container", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId", linkType: "linkType", url: "url", pageRoute: "pageRoute", target: "target" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, ngImport: i0, template: `
13268
13624
  <ng-template #content>
13269
- <div *ngIf="!children.length" class="linked-container-placeholder" data-iox-chrome>
13270
- <i class="ph-thin ph-link"></i>
13271
- <span>Drop components here</span>
13272
- </div>
13625
+ <!-- The empty-box slot (board ad0b A): in flow while the link box is empty. -->
13626
+ <iox-empty-slot *ngIf="!children.length" class="linked-container-placeholder" kind="link" [fill]="hasOwnHeight"></iox-empty-slot>
13273
13627
 
13274
13628
  <!-- WRAPPER COLLAPSE (task 9c): render children directly into the <a>; iox-outer + drag
13275
13629
  move to the host. Inside an Accordion header's <button> they are PHRASING content (a
@@ -13308,16 +13662,14 @@ class BuilderLinkedContainerComponent {
13308
13662
  <ng-container *ngTemplateOutlet="content"></ng-container>
13309
13663
  </a>
13310
13664
  }
13311
- `, isInline: true, styles: [":where(.linked-container-root){display:block;position:relative;box-sizing:border-box;text-decoration:none;color:inherit;cursor:pointer}.linked-container-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:0;transition:opacity .15s}.linked-container-root:hover .linked-container-placeholder,.linked-container-root.iox-drag-over .linked-container-placeholder{opacity:1}.linked-container-placeholder i{font-size:18px}:host ::ng-deep .linked-container-root>[class*=iox-outer-]{min-width:0}\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: IoxDropzoneDirective, selector: "[ioxDropzone]", inputs: ["ioxDropzoneId", "ioxDropzoneData", "ioxDropzonePostDrop"], outputs: ["ioxDrop"] }] }); }
13665
+ `, isInline: true, styles: [":where(.linked-container-root){display:block;position:relative;box-sizing:border-box;text-decoration:none;color:inherit;cursor:pointer}:host ::ng-deep .linked-container-root>[class*=iox-outer-]{min-width:0}\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: IoxDropzoneDirective, selector: "[ioxDropzone]", inputs: ["ioxDropzoneId", "ioxDropzoneData", "ioxDropzonePostDrop"], outputs: ["ioxDrop"] }, { kind: "component", type: EmptySlotComponent, selector: "iox-empty-slot", inputs: ["kind", "fill"] }] }); }
13312
13666
  }
13313
13667
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderLinkedContainerComponent, decorators: [{
13314
13668
  type: Component,
13315
13669
  args: [{ selector: 'app-builder-linked-container', template: `
13316
13670
  <ng-template #content>
13317
- <div *ngIf="!children.length" class="linked-container-placeholder" data-iox-chrome>
13318
- <i class="ph-thin ph-link"></i>
13319
- <span>Drop components here</span>
13320
- </div>
13671
+ <!-- The empty-box slot (board ad0b A): in flow while the link box is empty. -->
13672
+ <iox-empty-slot *ngIf="!children.length" class="linked-container-placeholder" kind="link" [fill]="hasOwnHeight"></iox-empty-slot>
13321
13673
 
13322
13674
  <!-- WRAPPER COLLAPSE (task 9c): render children directly into the <a>; iox-outer + drag
13323
13675
  move to the host. Inside an Accordion header's <button> they are PHRASING content (a
@@ -13356,7 +13708,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
13356
13708
  <ng-container *ngTemplateOutlet="content"></ng-container>
13357
13709
  </a>
13358
13710
  }
13359
- `, standalone: false, styles: [":where(.linked-container-root){display:block;position:relative;box-sizing:border-box;text-decoration:none;color:inherit;cursor:pointer}.linked-container-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:0;transition:opacity .15s}.linked-container-root:hover .linked-container-placeholder,.linked-container-root.iox-drag-over .linked-container-placeholder{opacity:1}.linked-container-placeholder i{font-size:18px}:host ::ng-deep .linked-container-root>[class*=iox-outer-]{min-width:0}\n"] }]
13711
+ `, standalone: false, styles: [":where(.linked-container-root){display:block;position:relative;box-sizing:border-box;text-decoration:none;color:inherit;cursor:pointer}:host ::ng-deep .linked-container-root>[class*=iox-outer-]{min-width:0}\n"] }]
13360
13712
  }], ctorParameters: () => [{ type: DragEngineService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
13361
13713
  type: Optional
13362
13714
  }, {
@@ -14292,6 +14644,8 @@ class SliderContainerComponent {
14292
14644
  this.effect = 'slide';
14293
14645
  /** AW11-D1: the creative effect's named setting (`fan`). */
14294
14646
  this.creativePreset = '';
14647
+ /** AD0b C8: how far each side slide of the coverflow turns (degrees; Swiper's own 50 when unset). */
14648
+ this.coverflowRotate = null;
14295
14649
  this.speed = 300;
14296
14650
  this._scrollPlays = false;
14297
14651
  // ── Navigation ─────────────────────────────────────────────────────────────
@@ -14387,7 +14741,7 @@ class SliderContainerComponent {
14387
14741
  'enableScrollbar', 'enableAutoplay',
14388
14742
  'enableKeyboard', 'enableMousewheel', 'enableZoom', 'enableGrid', 'enableParallax',
14389
14743
  'autoplayDelay', 'autoplayPauseOnMouseEnter', 'autoplayDisableOnInteraction',
14390
- 'gridRows', 'scrollPlays',
14744
+ 'gridRows', 'scrollPlays', 'coverflowRotate',
14391
14745
  ]);
14392
14746
  // Edit mode also reinits when children change (new slide added or removed)
14393
14747
  const editKeys = new Set([...previewKeys, 'children']);
@@ -14520,6 +14874,8 @@ class SliderContainerComponent {
14520
14874
  gridRows: this.gridRows, breakpoints: this.breakpoints, scrollPlays: this.scrollPlays,
14521
14875
  // AW11-D1: the creative effect's setting (a list's fan); typed once iox-builder compiles against iox-ui 5.142.
14522
14876
  creativePreset: this.creativePreset,
14877
+ // AD0b C8: the coverflow's angle; typed once iox-builder compiles against the iox-ui release that carries it.
14878
+ coverflowRotate: this.coverflowRotate,
14523
14879
  };
14524
14880
  }
14525
14881
  _destroySwiper() {
@@ -14544,7 +14900,7 @@ class SliderContainerComponent {
14544
14900
  }
14545
14901
  }
14546
14902
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: SliderContainerComponent, deps: [{ token: DragEngineService }, { token: i0.ChangeDetectorRef }, { token: IS_PREVIEW, optional: true }, { token: OverlayService, optional: true }, { token: BuilderDataSourceService, optional: true }, { token: DataSourceRegistryService, optional: true }, { token: PanelEventService, optional: true }, { token: PageBindingResolverService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
14547
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: SliderContainerComponent, isStandalone: false, selector: "app-slider-container", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId", dir: "dir", direction: "direction", slidesPerView: "slidesPerView", slidesPerGroup: "slidesPerGroup", loop: "loop", centeredSlides: "centeredSlides", spaceBetween: "spaceBetween", initialSlide: "initialSlide", autoHeight: "autoHeight", grabCursor: "grabCursor", slideToClickedSlide: "slideToClickedSlide", effect: "effect", creativePreset: "creativePreset", speed: "speed", scrollPlays: "scrollPlays", enableNavigation: "enableNavigation", navigationColor: "navigationColor", navigationSize: "navigationSize", enablePagination: "enablePagination", paginationColor: "paginationColor", paginationType: "paginationType", paginationClickable: "paginationClickable", paginationDynamicBullets: "paginationDynamicBullets", enableAutoplay: "enableAutoplay", autoplayDelay: "autoplayDelay", autoplayPauseOnMouseEnter: "autoplayPauseOnMouseEnter", autoplayDisableOnInteraction: "autoplayDisableOnInteraction", enableScrollbar: "enableScrollbar", freeMode: "freeMode", enableKeyboard: "enableKeyboard", enableMousewheel: "enableMousewheel", enableZoom: "enableZoom", enableParallax: "enableParallax", enableGrid: "enableGrid", gridRows: "gridRows", breakpoints: "breakpoints", source: "source", limit: "limit" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, viewQueries: [{ propertyName: "runwayEl", first: true, predicate: ["runwayEl"], descendants: true, static: true }, { propertyName: "swiperEl", first: true, predicate: ["swiperEl"], descendants: true }, { propertyName: "editSwiperEl", first: true, predicate: ["editSwiperEl"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
14903
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: SliderContainerComponent, isStandalone: false, selector: "app-slider-container", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId", dir: "dir", direction: "direction", slidesPerView: "slidesPerView", slidesPerGroup: "slidesPerGroup", loop: "loop", centeredSlides: "centeredSlides", spaceBetween: "spaceBetween", initialSlide: "initialSlide", autoHeight: "autoHeight", grabCursor: "grabCursor", slideToClickedSlide: "slideToClickedSlide", effect: "effect", creativePreset: "creativePreset", coverflowRotate: "coverflowRotate", speed: "speed", scrollPlays: "scrollPlays", enableNavigation: "enableNavigation", navigationColor: "navigationColor", navigationSize: "navigationSize", enablePagination: "enablePagination", paginationColor: "paginationColor", paginationType: "paginationType", paginationClickable: "paginationClickable", paginationDynamicBullets: "paginationDynamicBullets", enableAutoplay: "enableAutoplay", autoplayDelay: "autoplayDelay", autoplayPauseOnMouseEnter: "autoplayPauseOnMouseEnter", autoplayDisableOnInteraction: "autoplayDisableOnInteraction", enableScrollbar: "enableScrollbar", freeMode: "freeMode", enableKeyboard: "enableKeyboard", enableMousewheel: "enableMousewheel", enableZoom: "enableZoom", enableParallax: "enableParallax", enableGrid: "enableGrid", gridRows: "gridRows", breakpoints: "breakpoints", source: "source", limit: "limit" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, viewQueries: [{ propertyName: "runwayEl", first: true, predicate: ["runwayEl"], descendants: true, static: true }, { propertyName: "swiperEl", first: true, predicate: ["swiperEl"], descendants: true }, { propertyName: "editSwiperEl", first: true, predicate: ["editSwiperEl"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
14548
14904
  <!-- Premium M4: a slider the SCROLL plays sits in its runway — the Scene root the ONE scene driver drives (pinned
14549
14905
  with translate on the canvas, sticky in Preview). Otherwise the wrapper is display: contents. -->
14550
14906
  <div #runwayEl [class.iox-slider-runway]="scrollPlays" [attr.data-iox-scene]="scrollPlays ? '' : null"
@@ -14952,6 +15308,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
14952
15308
  type: Input
14953
15309
  }], creativePreset: [{
14954
15310
  type: Input
15311
+ }], coverflowRotate: [{
15312
+ type: Input
14955
15313
  }], speed: [{
14956
15314
  type: Input
14957
15315
  }], scrollPlays: [{
@@ -15236,6 +15594,7 @@ const DECLARATIONS = [
15236
15594
  SectionComponent,
15237
15595
  BuilderContainerComponent,
15238
15596
  BuilderLinkedContainerComponent,
15597
+ EmptySlotComponent,
15239
15598
  BuilderRepeaterComponent,
15240
15599
  BuilderButtonBlockComponent,
15241
15600
  BuilderDialogComponent,
@@ -15259,6 +15618,7 @@ class IoxBuilderModule {
15259
15618
  SectionComponent,
15260
15619
  BuilderContainerComponent,
15261
15620
  BuilderLinkedContainerComponent,
15621
+ EmptySlotComponent,
15262
15622
  BuilderRepeaterComponent,
15263
15623
  BuilderButtonBlockComponent,
15264
15624
  BuilderDialogComponent,
@@ -15936,8 +16296,8 @@ function button(styleId, label, createConfig, styles = {}) {
15936
16296
  styled(btn, styles);
15937
16297
  return withChildren(btn, [text(label, createConfig, BUTTON_LABEL_STYLE)]);
15938
16298
  }
15939
- /** A Container sized by its content: the palette Container's 200px drop-zone min-height is canvas
15940
- * furniture, and a specimen has no drop zone. A style that owns its min-height (the quantity stepper) keeps it. */
16299
+ /** A Container sized by its content: a specimen has no drop zone (the palette Container lost its 200px floor in AD0b; the
16300
+ * explicit 0 stays so a specimen never depends on it). A style that owns its min-height (the quantity stepper) keeps it. */
15941
16301
  function box(createConfig, styleId) {
15942
16302
  const node = createConfig('Container');
15943
16303
  if (styleId)
@@ -16404,9 +16764,9 @@ class BuilderContainerComponentConfig extends ComponentConfig {
16404
16764
  new TraitConfig(LIST_MIX_TRAIT, 'List mix', TraitInputType.Text),
16405
16765
  ];
16406
16766
  this.styleTraits = buildFullStyleTraits();
16767
+ // AD0b (board ad0b A1): no 200px floor — the canvas's empty slot gives an empty box its room; a saved box keeps its own.
16407
16768
  this.applyStyleDefaults({
16408
16769
  height: 'auto',
16409
- minHeight: '200px',
16410
16770
  display: 'block',
16411
16771
  backgroundColor: 'transparent',
16412
16772
  });
@@ -16866,19 +17226,22 @@ class BuilderImageComponentConfig extends ComponentConfig {
16866
17226
  this.inputs = {
16867
17227
  src: 'text',
16868
17228
  alt: 'text',
17229
+ decorative: 'boolean',
16869
17230
  };
16870
17231
  this.traits = [
16871
17232
  new TraitConfig('src', 'Image URL', TraitInputType.Media, { mode: 'compact' }, 'https://placehold.co/600x400?text=Image'),
17233
+ // AD0b C9 (law MISSING 19): the author says a picture carries no information — it is announced as nothing
17234
+ // (alt="", design-core `imageAlt`, both renderers and the Publish gate), whatever Alt Text still holds. Alt
17235
+ // stays visible: the panels' showWhen reads string values only.
16872
17236
  new TraitConfig('alt', 'Alt Text', TraitInputType.Text, undefined, 'Image'),
17237
+ new TraitConfig('decorative', 'Decorative — no description', TraitInputType.Checkbox, undefined, false),
16873
17238
  // objectFit moved to the Size style group (flows through the CSS engine as a style trait).
16874
17239
  ];
16875
17240
  this.styleTraits = buildFullStyleTraits();
17241
+ // AD0 B-D1 (law MISSING 1, hotel 6): a dropped picture fills its column at its own shape — no 300px cap and no
17242
+ // square crop for a designer to override on every picture (the placeholder is 600 × 400, so a drop is visible).
16876
17243
  this.applyStyleDefaults({
16877
- // Same reasoning as Card: 300px alone overflows a 320px viewport once the page has any
16878
- // side padding. Capped-fluid renders identically wherever there is room.
16879
17244
  width: '100%',
16880
- maxWidth: '300px',
16881
- aspectRatio: '1/1',
16882
17245
  });
16883
17246
  }
16884
17247
  }
@@ -16924,10 +17287,10 @@ class BuilderLinkedContainerConfig extends ComponentConfig {
16924
17287
  ...buildTooltipTraits(),
16925
17288
  ];
16926
17289
  this.styleTraits = buildFullStyleTraits();
17290
+ // AD0b (board ad0b A1): no floor — the canvas's empty slot gives an empty link box its room; a saved one keeps its own.
16927
17291
  this.applyStyleDefaults({
16928
17292
  width: 'auto',
16929
17293
  height: 'auto',
16930
- minHeight: '80px',
16931
17294
  display: 'block',
16932
17295
  });
16933
17296
  }
@@ -16960,11 +17323,11 @@ class TextBlockComponentConfig extends ComponentConfig {
16960
17323
  new TraitConfig('tag', 'Tag', TraitInputType.Select, ['p', 'span'], 'p'),
16961
17324
  ];
16962
17325
  this.styleTraits = withMaxLines(buildFullStyleTraits());
17326
+ // AD0 B-D1 (law MISSING 1, hotel 5): a dropped Text is content-sized — no 10px padding and no 20px min-height for
17327
+ // a designer to release on every node (its placeholder words keep an empty drop visible).
16963
17328
  this.applyStyleDefaults({
16964
17329
  display: 'block',
16965
17330
  height: 'auto',
16966
- minHeight: '20px',
16967
- padding: '10px',
16968
17331
  });
16969
17332
  }
16970
17333
  }
@@ -17061,12 +17424,14 @@ class SectionComponentConfig extends ComponentConfig {
17061
17424
  this.traits = [buildColorSchemeTrait(), new TraitConfig(OPENING_MIX_TRAIT, 'Opening mix', TraitInputType.Text),
17062
17425
  new TraitConfig(FOOTER_MIX_TRAIT, 'Footer mix', TraitInputType.Text), ...buildSectionEdgeTraits()];
17063
17426
  this.styleTraits = buildFullStyleTraits();
17427
+ // AD0b (board ad0b A1): no 200px floor — the canvas's empty slot gives an empty section its room — and the look's
17428
+ // body font, not Poppins (a spec token: with no look on the page it inherits).
17064
17429
  this.applyStyleDefaults({
17065
17430
  width: 'auto',
17066
17431
  height: 'auto',
17067
- minHeight: '200px',
17068
17432
  display: 'block',
17069
17433
  backgroundColor: 'transparent',
17434
+ fontFamily: 'var(--iox-font-body)',
17070
17435
  });
17071
17436
  }
17072
17437
  }
@@ -17178,6 +17543,9 @@ class SliderContainerConfig extends ComponentConfig {
17178
17543
  { label: 'Creative', value: 'creative' },
17179
17544
  ], 'slide'),
17180
17545
  new TraitConfig('speed', 'Transition duration (ms)', TraitInputType.Scrub, undefined, 300),
17546
+ // AD0b C8 (hotel MISSING 9): how far each side slide turns in the coverflow — a gentle curved row is 7–14°,
17547
+ // Swiper's own is 50°. No default: an unset angle is Swiper's 50, so a saved slider renders as before.
17548
+ new TraitConfig('coverflowRotate', 'Coverflow angle', TraitInputType.Scrub, { min: 0, max: 90, step: 1, units: [''], blankWhenEmpty: true }, undefined, false, { trait: 'effect', values: 'coverflow' }),
17181
17549
  // AW11-D1: the creative effect's named setting (`fan` — a list's fan you drag), read by iox-ui planSwiperOptions.
17182
17550
  // No default: a slider that never names one saves nothing new.
17183
17551
  new TraitConfig(SLIDER_CREATIVE_PRESET_TRAIT, 'Creative preset', TraitInputType.Text),
@@ -17264,5 +17632,5 @@ class BuilderSpacerComponentConfig extends ComponentConfig {
17264
17632
  * Generated bundle index. Do not edit.
17265
17633
  */
17266
17634
 
17267
- 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_CREATE_LINK, 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, canvasOpeningMedia, 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 };
17635
+ export { ACTION_TYPE_OPTIONS, AuditCode, AuditPanelComponent, AuditSeverity, BODY_CRUMB_KEY, BODY_CRUMB_LABEL, BODY_CRUMB_TITLE_KEY, BOUND_ICON, BREAKPOINT_PRESENTATION, BUILDER_CANVAS_CONTAINER, BUILDER_CHROME_EN, BUILDER_FONT_LINK_ATTR, BUILDER_LABEL_PREFIX, 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, CRUMBS_ARIA_KEY, 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, EMPTY_SLOT_WORDS, ESSENTIAL_TRAITS_BY_TYPE, EffectsGroupStyleConfig, EmptySlotComponent, EmptySlotKind, 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_CREATE_LINK, 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, boxHasOwnHeight, buildBusinessSpecimen, buildCompositePreset, buildConsentPreset, buildElementStyleSpecimen, buildFieldKindPreset, buildFlavorSpecimen, buildFormActionsRow, buildFormChannel, buildFormPreset, buildFullStyleTraits, buildLayoutPreset, buildPalettePreset, buildPresetStyleTraits, builderCompositeFactory, builderLabelKey, canFluidise, canvasEmptyImageLabel, canvasFloatingContainer, canvasHostDisplay, canvasOpeningMedia, 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, labelDisplayName, layoutPresetDescriptionKey, layoutPresetNameKey, listOwnedAliases, listScopeAliases, markSpecimen, matchesControlSearch, nearestFormNode, neverShown, nodeAncestorPath, nodeAncestorPathInEither, nodeDescriptor, nodeDisplayName, nodeStyleMap, overlayGlobals, pageBindingValue, pageBindingsOf, pathToNode, phoneMenuOf, phoneMenuShowsAt, refreshSubtree, regenerateNodeIds, removalRefusal, reorderProps, repeaterSourceAlias, repeaterSubLabel, resolveDragData, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, retypeNode, rootEscapeBand, rootZone, rowBindingValue, rowInsertIndex, rowScopeAliases, ruleEmitRank, selectionRevealOf, setChannelAddress, setOverlayPreview, setStyleTrait, setTrait, shortDescriptor, showCanvasToast, shownBeforeControl, sourceContentType, sourceTypeLabel, stackChildrenProps, summarise, syncEmptyImagePlaceholder, syncNodeDesign, syncNodeInputs, tabPairLabel, tabsRootForPart, templateReadsPageAlias, textNode, typeDisplayName, upsertNodeStyles, visibilityProps, walkNodes, wearFormWords, wrapNode };
17268
17636
  //# sourceMappingURL=vectoriox-iox-builder.mjs.map