@vectoriox/iox-builder 11.33.0 → 11.35.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.
@@ -19,7 +19,7 @@ import { DialogModule } from 'primeng/dialog';
19
19
  import * as i2$1 from '@vectoriox/iox-ui';
20
20
  import { nodeCssId, needsGroupName, resolveBoundValue, isBoundStyleProp, STRUCTURAL_STATES as STRUCTURAL_STATES$1, VALIDATION_STATES as VALIDATION_STATES$1, VALIDATION_STATE_CLASS as VALIDATION_STATE_CLASS$1, DEFAULT_WIDTH_BY_TYPE, TEXT_DIRECTION_KEY, TEXT_ALIGN_KEY, TextAlign, COLOR_SCHEME_TRAIT, COLOR_SCHEMES, ColorScheme, LinkType, MAX_LINES_KEY, A11yTrait, BREAKPOINTS, Breakpoint, withSchemeInk, stripSuppressedProps, DeclarationContext, planPartRule, gateHoverRule, planResponsiveRules, resolveStyleProps, planStateRule, splitOuterProps, OUTER_STYLE_PROPS, siteColumnOf, compileTokenCssBlocks, catalogFontId, fontsForTokens, GOOGLE_FONTS_FILE_ORIGIN, googleFontHref, compileDeclarations, isLastEmittedStateKey, wrapInBreakpointQuery, BreakpointQueryKind, NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, applyElementStyle, planDataSource, dataSourcePlanToRequest, normalizeCollectionResult, resolveRepeaterItems, getByPath, computeRelative, PROGRESS_ATTRIBUTE, interactionMarkerAttributes, cascadeChain, attachScrollProgress, ContextStore, ENTRANCE_ACTION_TYPES, EXIT_ACTION_TYPES, ComponentInstanceRegistryService, syncInteractionMarkers, entranceStartsHidden, isActionEnabled, restoreCountUp, SCROLL_PROGRESS_TRIGGER, armInteractionCounts, splitPressFeedback, isHoverPointer, isContextAction, contextActionEffect, resolveContextValue, effectiveActionType, INTERACTION_HIDDEN_ATTRIBUTE, COUNT_UP_ACTION, motionAllowed, reducedEntranceRun, settleInteraction, settleModeFor, SettleMode, playInteraction, entranceDelay, repeatedRowIndex, resolveInteractionEasing, entrancePreStateStyle, buildInteractionKeyframes, showToast, declaredInputNames, emptyImagePlaceholder, syncNodeDesignClasses, nodeTraitValue, syncNodeA11yAttributes, nodeA11yAttributes, safeSetInput, colorSchemeOf, withStateTransitions, composeVirtualTraits, stateNamesIn, partClassName, applyBoundStyles, applyBoundStyle, switchElementStyle, releaseElementStyle, countOverrides, setOverride, breakpointDef, breakpointForWidth, FormRenderState, collectContextSlotKeys, withContextSlots, needsAccessibleName, resolveInputs, setInputOverride, barReserveClass, compilePageStyle, nodeUsesContext, attachTooltips, showToastDesign, TOOLTIP_ATTRIBUTE, hidingHeadersIn, HeaderRuntime, inkFollowingHeadersIn, HeaderInkRuntime, isScrolled, SCROLLED_ATTRIBUTE, syncSubmitButtons, IS_PREVIEW, buttonBlockHref, layerFrame, rectInLayer, placeFloating, FloatingAlign, popoverSide, bootSlider, IoxPageModule, PALETTE_PRESETS, elementStyleById, PART_CLASS_NAMES } from '@vectoriox/iox-ui';
21
21
  export { ComponentInstanceRegistryService, VIRTUAL_TRAIT_KEYS, composeVirtualTraits } from '@vectoriox/iox-ui';
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, SliderRole, accordionItemLabel, segmentedOptionLabel, isExclusivePanels, isLockedPart, attachShop, ShopRole, attachAccount, AccountRole, accordionRootOf, accordionItemOf, addAccordionItem, addTabPair, segmentedAddRefusal, addSegmentedOption, isCompositeItem, accordionHeadingLevel, isCompositePanel, isCompositeTrigger, splitSliderChildren, hasSliderParts, buildConsentRecipe, SLIDE_CAPTION_TRAIT, SLIDER_SCROLL_PLAYS_TRAIT, SLIDER_PLACEMENT_TRAIT, SliderPlacement, SliderFlag } from '@vectoriox/iox-ui/composite-core';
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, presetFormActions, FORM_CHANNEL_ROLE, channelHref, channelOpensNewTab, FORM_ACTIONS_ROLE, SUBMIT_BUTTON_NODE_TYPE, FORM_AFTER_SEND_TRAIT, FormAfterSend } from '@vectoriox/iox-ui/forms-core';
24
24
  import { Subject, BehaviorSubject, of, forkJoin } from 'rxjs';
25
25
  import interact from 'interactjs';
@@ -145,6 +145,11 @@ const BUILDER_CHROME_EN = Object.freeze({
145
145
  'builder.chrome.deletePairBody': '“{tab}” and the panel it shows go together: deleting one deletes both. Undo brings them back.',
146
146
  'builder.chrome.deletePair': 'Delete tab and its panel',
147
147
  'builder.chrome.kindSegmented': 'Segmented',
148
+ // PU2 (popups board PP-D6): a popup's badge reads "Popup · Offer" — the kind word after the composite's name.
149
+ 'builder.chrome.kindPopup': 'Popup',
150
+ 'builder.chrome.popupAnnouncement': 'Announcement',
151
+ 'builder.chrome.popupOffer': 'Offer',
152
+ 'builder.chrome.popupNewsletter': 'Newsletter',
148
153
  'builder.chrome.addOption': 'Add option',
149
154
  'builder.chrome.refuseLockedSegmentedPartMove': 'This part belongs to its Segmented control — an option stays in it, and its badge in its option.',
150
155
  'builder.chrome.refuseSegmentedAccepts': 'A Segmented control holds only its options. Put it beside the control instead.',
@@ -2088,6 +2093,7 @@ function buildPopupTraits() {
2088
2093
  { label: 'Whichever comes first', value: PopupArrive.ScrollOrTime },
2089
2094
  { label: 'After scrolling', value: PopupArrive.Scroll },
2090
2095
  { label: 'After a time', value: PopupArrive.Time },
2096
+ { label: 'When leaving (laptop)', value: PopupArrive.Leaving },
2091
2097
  { label: 'Only from a button', value: PopupArrive.Button },
2092
2098
  ]),
2093
2099
  new TraitConfig(PopupTrait.Screens, 'Scrolled (screens)', TraitInputType.Number),
@@ -4386,6 +4392,12 @@ var CanvasShowState;
4386
4392
  CanvasShowState["Closed"] = "closed";
4387
4393
  CanvasShowState["Open"] = "open";
4388
4394
  })(CanvasShowState || (CanvasShowState = {}));
4395
+ /** Parts of which the canvas shows ONE at a time (popup-presets board PP-D7: two popups are never open together on the
4396
+ * canvas, as on the live page — one popup per page view). A part joins its group by itself (the Dialog twin of a popup). */
4397
+ var CanvasShowGroup;
4398
+ (function (CanvasShowGroup) {
4399
+ CanvasShowGroup["Popup"] = "popup";
4400
+ })(CanvasShowGroup || (CanvasShowGroup = {}));
4389
4401
  const EMPTY_SNAPSHOT = () => ({
4390
4402
  revealed: new Set(), selectedTriggers: new Set(), pinned: new Set(), triggeredBySelection: new Set(), shown: new Map(), items: new Map(),
4391
4403
  runtime: new Set(), menu: null, tooltips: new Set(), toast: null,
@@ -4411,6 +4423,37 @@ class CanvasDesignStateService {
4411
4423
  this._pagePath$ = new BehaviorSubject(null);
4412
4424
  /** The app path of the page on the canvas (`/work`), or null when unknown. */
4413
4425
  this.pagePath$ = this._pagePath$.asObservable();
4426
+ /** The parts that belong to a show-one-at-a-time group, by node id. Not a snapshot field: membership never changes
4427
+ * what is shown by itself — only an opening does. */
4428
+ this.groups = new Map();
4429
+ }
4430
+ /** A part joins (or, with null, leaves) a show-one-at-a-time group (PP-D7). */
4431
+ joinGroup(nodeId, group) {
4432
+ if (!nodeId)
4433
+ return;
4434
+ if (group)
4435
+ this.groups.set(nodeId, group);
4436
+ else
4437
+ this.groups.delete(nodeId);
4438
+ }
4439
+ /** `id` opened: every OTHER member of its group stops being shown by the switcher, an action or a pin (the selection
4440
+ * shows one part only, so its reveal needs no closing). */
4441
+ onlyThis(state, id) {
4442
+ const group = this.groups.get(id);
4443
+ if (!group)
4444
+ return state;
4445
+ const others = [...this.groups].filter(([other, g]) => g === group && other !== id).map(([other]) => other);
4446
+ if (!others.some(o => state.shown.has(o) || state.runtime.has(o) || state.pinned.has(o)))
4447
+ return state;
4448
+ const shown = new Map(state.shown);
4449
+ const runtime = new Set(state.runtime);
4450
+ const pinned = new Set(state.pinned);
4451
+ for (const o of others) {
4452
+ shown.delete(o);
4453
+ runtime.delete(o);
4454
+ pinned.delete(o);
4455
+ }
4456
+ return { ...state, shown, runtime, pinned };
4414
4457
  }
4415
4458
  get snapshot() {
4416
4459
  return this._state$.value;
@@ -4439,7 +4482,11 @@ class CanvasDesignStateService {
4439
4482
  if (sameSet(revealed, was) && sameSet(pinned, held) && sameSet(selectedTriggers, wasTriggers) && sameSet(triggeredBySelection, wasTriggered)
4440
4483
  && sameMenu(menu, this._state$.value.menu))
4441
4484
  return;
4442
- this._state$.next({ ...this._state$.value, revealed, pinned, selectedTriggers, triggeredBySelection, menu });
4485
+ let next = { ...this._state$.value, revealed, pinned, selectedTriggers, triggeredBySelection, menu };
4486
+ // PP-D7: selecting into a popup puts away any other popup the switcher or an action holds open.
4487
+ for (const id of [...revealed, ...pinned].filter(id => !was.has(id) && !held.has(id)))
4488
+ next = this.onlyThis(next, id);
4489
+ this._state$.next(next);
4443
4490
  }
4444
4491
  /** Closed on the canvas (its X, its backdrop, the eye): no longer pinned, switched open or revealed by the
4445
4492
  * selection — selecting into it again reveals it again. */
@@ -4463,16 +4510,18 @@ class CanvasDesignStateService {
4463
4510
  markOpened(nodeId) {
4464
4511
  if (!nodeId || this._state$.value.runtime.has(nodeId))
4465
4512
  return;
4466
- this._state$.next({ ...this._state$.value, runtime: new Set([...this._state$.value.runtime, nodeId]) });
4513
+ this._state$.next(this.onlyThis({ ...this._state$.value, runtime: new Set([...this._state$.value.runtime, nodeId]) }, nodeId));
4467
4514
  }
4468
4515
  /** The switcher's choice for one part (null = back to the saved default). */
4469
4516
  setShown(nodeId, state) {
4470
4517
  const shown = new Map(this._state$.value.shown);
4471
- if (state && state !== CanvasShowState.Closed)
4518
+ const open = !!state && state !== CanvasShowState.Closed;
4519
+ if (open)
4472
4520
  shown.set(nodeId, state);
4473
4521
  else
4474
4522
  shown.delete(nodeId);
4475
- this._state$.next({ ...this._state$.value, shown });
4523
+ const next = { ...this._state$.value, shown };
4524
+ this._state$.next(open ? this.onlyThis(next, nodeId) : next);
4476
4525
  }
4477
4526
  /** Tabs' "Showing on canvas": the item a root shows (null = whatever the canvas shows live). */
4478
4527
  setShownItem(rootId, key) {
@@ -8270,14 +8319,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
8270
8319
  * An accordion's and a disclosure's parts are named by the part alone (`trigger`, "Accordion · trigger", board 3);
8271
8320
  * a card keeps its full role (`card.title`, "Card · card.title", board 8).
8272
8321
  */
8273
- const SHORT_ROLE_KINDS = new Set([CompositeKind.Accordion, CompositeKind.Disclosure, CompositeKind.Tabs, CompositeKind.Segmented]);
8322
+ const SHORT_ROLE_KINDS = new Set([CompositeKind.Accordion, CompositeKind.Disclosure, CompositeKind.Tabs, CompositeKind.Segmented, PopupRole.Popup]);
8274
8323
  /** A composite kind's glyph (Phosphor, weight-less): the badge, the root's crumb and its tree row carry it
8275
8324
  * (board 3: "the composite root carrying its kind icon"). A card keeps the generic stack glyph. */
8276
8325
  const KIND_GLYPHS = {
8277
8326
  [CompositeKind.Accordion]: 'ph-rows', [CompositeKind.Disclosure]: 'ph-caret-circle-down', [CompositeKind.Tabs]: 'ph-tabs', [CompositeKind.Segmented]: 'ph-pill',
8278
8327
  slider: 'ph-slideshow',
8328
+ // A popup's PART (its title, its words): the window glyph — the root carries its kind's (POPUP_KIND_GLYPHS).
8329
+ [PopupRole.Popup]: 'ph-app-window',
8279
8330
  };
8280
8331
  const DEFAULT_KIND_GLYPH = 'ph-stack';
8332
+ /** PU2 (popups board PP-D6): a popup carries its KIND's glyph — the palette tile's (cms-client POPUP_PRESETS). */
8333
+ const POPUP_KIND_GLYPHS = {
8334
+ [PopupKind.Announcement]: 'ph-megaphone',
8335
+ [PopupKind.Offer]: 'ph-tag',
8336
+ [PopupKind.Newsletter]: 'ph-envelope-simple',
8337
+ };
8338
+ /** The chrome key of a popup kind's word ("Offer"), in `BUILDER_CHROME_EN`. */
8339
+ const POPUP_KIND_LABEL_KEYS = {
8340
+ [PopupKind.Announcement]: 'builder.chrome.popupAnnouncement',
8341
+ [PopupKind.Offer]: 'builder.chrome.popupOffer',
8342
+ [PopupKind.Newsletter]: 'builder.chrome.popupNewsletter',
8343
+ };
8344
+ /** A popup ROOT's kind (its `popupKind` trait), or null for any other node. */
8345
+ function popupKindOf(node) {
8346
+ if (node?.role !== PopupRole.Popup)
8347
+ return null;
8348
+ const kind = node.traits?.find(t => t.name === PopupTrait.Kind)?.default;
8349
+ return Object.values(PopupKind).includes(kind) ? kind : PopupKind.Offer;
8350
+ }
8351
+ /** The glyph a composite ROOT carries on its crumb, badge and tree row — a popup's by its kind — or null for any other node. */
8352
+ function nodeKindGlyph(node) {
8353
+ const kind = popupKindOf(node);
8354
+ if (kind)
8355
+ return POPUP_KIND_GLYPHS[kind];
8356
+ return node?.role && isAnyCompositeRoot(node) ? compositeKindGlyph(node.role) : null;
8357
+ }
8281
8358
  /** The tree icon of an accordion's structural parts (board 3): rows on the root, a stack on an item and a
8282
8359
  * panel, a cursor on the header, a sparkle on the icon. Other parts keep their type's icon. */
8283
8360
  const PART_ICONS = {
@@ -8313,7 +8390,10 @@ function compositeKindGlyph(role) {
8313
8390
  return KIND_GLYPHS[role.split('.')[0]] ?? DEFAULT_KIND_GLYPH;
8314
8391
  }
8315
8392
  /** A composite part's own tree icon, or null to keep its type's. */
8316
- function compositePartIcon(role) {
8393
+ function compositePartIcon(role, node) {
8394
+ const kind = popupKindOf(node);
8395
+ if (kind)
8396
+ return `ph-thin ${POPUP_KIND_GLYPHS[kind]}`;
8317
8397
  return (role && PART_ICONS[role]) || null;
8318
8398
  }
8319
8399
  /** The role chip: `trigger` for an accordion's header, `card.title` for a card's title. */
@@ -8321,12 +8401,15 @@ function roleChipLabel(role) {
8321
8401
  const [kind, part] = role.split('.');
8322
8402
  return SHORT_ROLE_KINDS.has(kind) ? (part ?? kind) : role;
8323
8403
  }
8324
- /** The selection's kind badge: "Accordion" on the root, "Accordion · trigger" on a part, "Card · card.title". */
8325
- function roleBadgeLabel(role, kindLabel) {
8404
+ /** The selection's kind badge: "Accordion" on the root, "Accordion · trigger" on a part, "Card · card.title" — and a
8405
+ * popup's root "Popup · Offer" (`rootWord`, its kind's word in the host's language — PP-D6). */
8406
+ function roleBadgeLabel(role, kindLabel, rootWord) {
8326
8407
  const [kind, part] = role.split('.');
8327
8408
  if (!SHORT_ROLE_KINDS.has(kind))
8328
8409
  return `${kindLabel} · ${role}`;
8329
- return part ? `${kindLabel} · ${part}` : kindLabel;
8410
+ if (part)
8411
+ return `${kindLabel} · ${part}`;
8412
+ return rootWord ? `${kindLabel} · ${rootWord}` : kindLabel;
8330
8413
  }
8331
8414
  /** What a part's row and crumb say after its name: an accordion item names its question ("Item · Do you take
8332
8415
  * projects…", board 3), and a tab AND its panel name the tab's words ("Tab · Kitchens", "Panel · Kitchens") — so
@@ -8511,7 +8594,7 @@ const DIALOG_ACTION_KEYS = {
8511
8594
  };
8512
8595
  const ADD_ITEM_KEY = 'builder.chrome.addItem';
8513
8596
  /** The kind label a composite part's selection badge shows (Card v2: "Card · card.title"). */
8514
- const COMPOSITE_KIND_KEYS = { card: 'builder.chrome.kindCard', accordion: 'builder.chrome.kindAccordion', disclosure: 'builder.chrome.kindDisclosure', tabs: 'builder.chrome.kindTabs', segmented: 'builder.chrome.kindSegmented', slider: 'builder.chrome.kindSlider', nav: 'builder.chrome.kindNav' };
8597
+ const COMPOSITE_KIND_KEYS = { card: 'builder.chrome.kindCard', accordion: 'builder.chrome.kindAccordion', disclosure: 'builder.chrome.kindDisclosure', tabs: 'builder.chrome.kindTabs', segmented: 'builder.chrome.kindSegmented', slider: 'builder.chrome.kindSlider', nav: 'builder.chrome.kindNav', popup: 'builder.chrome.kindPopup' };
8515
8598
  /** The interaction chip's trigger word and icon, by the trigger the card reads as (`displayTrigger`). */
8516
8599
  const TRIGGER_CHIP_LABELS = {
8517
8600
  pageLoad: 'Load', viewportEnter: 'Scroll', click: 'Click',
@@ -8770,7 +8853,8 @@ class OverlayComponent {
8770
8853
  get selectedRoleIcon() {
8771
8854
  if (this.selectEntry?.node?.type === VIDEO_TYPE && !this.selectEntry.node.role)
8772
8855
  return 'ph-fill ph-film-strip';
8773
- return `ph-fill ${compositeKindGlyph(this.selectEntry?.node?.role ?? '')}`;
8856
+ const node = this.selectEntry?.node;
8857
+ return `ph-fill ${nodeKindGlyph(node) ?? compositeKindGlyph(node?.role ?? '')}`;
8774
8858
  }
8775
8859
  /** A composite part's kind + role under the selection (board 3/8 "Selection kind badge"), or null. A Video says
8776
8860
  * where it plays from and that the canvas shows its poster only (board 5: "Video · YouTube · poster only"). */
@@ -8783,7 +8867,10 @@ class OverlayComponent {
8783
8867
  return null;
8784
8868
  const prefix = role.split('.')[0];
8785
8869
  const key = COMPOSITE_KIND_KEYS[prefix];
8786
- const badge = roleBadgeLabel(role, key ? this.builderLabels(key, BUILDER_CHROME_EN[key]) : prefix);
8870
+ // A popup's root names its kind ("Popup · Offer", PP-D6).
8871
+ const kind = popupKindOf(node);
8872
+ const kindWord = kind ? this.builderLabels(POPUP_KIND_LABEL_KEYS[kind], BUILDER_CHROME_EN[POPUP_KIND_LABEL_KEYS[kind]]) : null;
8873
+ const badge = roleBadgeLabel(role, key ? this.builderLabels(key, BUILDER_CHROME_EN[key]) : prefix, kindWord);
8787
8874
  // A click on a From-content row selected its TEMPLATE part: say which row was clicked (board 3).
8788
8875
  const row = this.overlayService.selectedRow;
8789
8876
  return row ? `${badge} · ${this.builderLabels(FROM_ROW_KEY, BUILDER_CHROME_EN[FROM_ROW_KEY]).replace('{row}', String(row))}` : badge;
@@ -9513,7 +9600,7 @@ function walk(nodes, depth, out, ctx, inTemplate, templateOf, ancestors) {
9513
9600
  const descriptor = rows ? null : (nodeDescriptor(node, label) ?? compositePartSub(node, ancestors));
9514
9601
  out.push({
9515
9602
  node,
9516
- icon: bound ? BOUND_ICON : (compositePartIcon(node.role) || ctx.iconOf(node.type) || DEFAULT_ICON),
9603
+ icon: bound ? BOUND_ICON : (compositePartIcon(node.role, node) || ctx.iconOf(node.type) || DEFAULT_ICON),
9517
9604
  label,
9518
9605
  hiddenAtRest: isHiddenAtRest(node) || (!!ctx.onAtRest && hiddenUntilItemOn(node, ctx.onAtRest)),
9519
9606
  depth,
@@ -9795,6 +9882,11 @@ function crumbLabel(node, ancestors = []) {
9795
9882
  const sub = compositePartSub(node, ancestors);
9796
9883
  return sub ? `${name} · ${sub}` : name;
9797
9884
  }
9885
+ /** A composite root's kind glyph (a popup's by its kind — PP-D6), or null. */
9886
+ function crumbIcon(node) {
9887
+ const glyph = nodeKindGlyph(node);
9888
+ return glyph ? `ph-thin ${glyph}` : null;
9889
+ }
9798
9890
  /**
9799
9891
  * The element path bar — the full ancestor chain of the selected node, clickable,
9800
9892
  * plus a badge for each piece of node state that otherwise only surfaces by opening
@@ -9831,7 +9923,7 @@ class BreadcrumbBarComponent {
9831
9923
  ...nodes.map((node, i) => ({
9832
9924
  node,
9833
9925
  label: crumbLabel(node, nodes.slice(0, i)),
9834
- icon: isAnyCompositeRoot(node) ? `ph-thin ${compositeKindGlyph(node.role)}` : null,
9926
+ icon: crumbIcon(node),
9835
9927
  isCurrent: i === last,
9836
9928
  key: node,
9837
9929
  })),
@@ -12716,6 +12808,19 @@ class BuilderDialogComponent {
12716
12808
  set menuReveal(v) { this.setMenu(MenuTrait.Reveal, v); }
12717
12809
  set menuHover(v) { this.setMenu(MenuTrait.Hover, v); }
12718
12810
  set menuPhone(v) { this.setMenu(MenuTrait.Phone, v); }
12811
+ /** PU2: the popup's kind and form (composite-core PopupTrait) — a Dialog with no kind is not a popup and draws as before. */
12812
+ set popupKind(v) { this.popupLook = { ...this.popupLook, kind: v }; this.joinPopups(); this.cdr?.markForCheck(); }
12813
+ set popupForm(v) { this.popupLook = { ...this.popupLook, form: v }; this.cdr?.markForCheck(); }
12814
+ /** The form the stage is drawn in (PP-D4) — composite-core `popupFormOf`, the live page's reader: `centred` only for a
12815
+ * newsletter; null when the Dialog is not a popup. */
12816
+ /** PP-D7: a popup is one of the canvas's popups — opening it puts the others away (the design state's group). */
12817
+ joinPopups() {
12818
+ this.designState?.joinGroup(this.nodeId, this.popupFormValue ? CanvasShowGroup.Popup : null);
12819
+ }
12820
+ get popupFormValue() {
12821
+ const kind = this.popupLook.kind;
12822
+ return Object.values(PopupKind).includes(kind) ? popupFormOf(kind, this.popupLook.form) : null;
12823
+ }
12719
12824
  setMenu(trait, value) {
12720
12825
  this.menuLook = { ...this.menuLook, [trait]: value };
12721
12826
  this.menuAttrs = menuDialogAttributes(name => this.menuLook[name]);
@@ -12745,6 +12850,7 @@ class BuilderDialogComponent {
12745
12850
  this.closeOnBackdrop = true;
12746
12851
  this.showCloseButton = true;
12747
12852
  this.placement = 'center';
12853
+ this.popupLook = {};
12748
12854
  this.menuAttr = MenuAttribute;
12749
12855
  /** The attributes the surface wears (a default writes none — R-H4). */
12750
12856
  this.menuAttrs = {};
@@ -12892,8 +12998,16 @@ class BuilderDialogComponent {
12892
12998
  // drawer, it carries a role) closes again when the selection leaves it; a free-standing Dialog
12893
12999
  // stays open until its X / backdrop / the eye closes it, as A4 has it (selectionRevealOf).
12894
13000
  // The "Showing on canvas" switcher holds a part open.
13001
+ this.joinPopups();
12895
13002
  if (this.designState) {
12896
- this.stateSub = this.designState.state$.subscribe(() => { this.dismissed = false; this.recompute(); });
13003
+ this.stateSub = this.designState.state$.subscribe(() => {
13004
+ this.dismissed = false;
13005
+ // An action's open lives in the design state too (markOpened): when the state put it away — another popup
13006
+ // opened (PP-D7) — the twin's own flag lets go with it.
13007
+ if (this.runtimeOpen && !this.designState.isShown(this.nodeId))
13008
+ this.runtimeOpen = false;
13009
+ this.recompute();
13010
+ });
12897
13011
  }
12898
13012
  else {
12899
13013
  this.selectSub = this.overlayService.select$?.subscribe?.((sel) => {
@@ -12914,6 +13028,7 @@ class BuilderDialogComponent {
12914
13028
  this.selectSub?.unsubscribe();
12915
13029
  this.stateSub?.unsubscribe();
12916
13030
  this.instanceRegistry.unregister(this.nodeId);
13031
+ this.designState?.joinGroup(this.nodeId, null);
12917
13032
  }
12918
13033
  /** A click on the stage ITSELF is the backdrop click — children swallow everything else.
12919
13034
  * Closing clicks STOP here: the same click would bubble into canvas selection, and
@@ -12939,8 +13054,9 @@ class BuilderDialogComponent {
12939
13054
  this.dragEngine.handleDrop(this.children, event, this.dropListId, this.cdr);
12940
13055
  }
12941
13056
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderDialogComponent, deps: [{ token: DragEngineService }, { token: i2$1.ComponentInstanceRegistryService }, { token: OverlayService }, { token: i0.ChangeDetectorRef }, { token: CanvasDesignStateService, optional: true }, { token: PanelEventService, optional: true }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
12942
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderDialogComponent, isStandalone: false, selector: "app-builder-dialog", inputs: { children: "children", nodeId: "nodeId", dropListId: "dropListId", closeOnBackdrop: "closeOnBackdrop", showCloseButton: "showCloseButton", placement: "placement", menuForm: "menuForm", menuReveal: "menuReveal", menuHover: "menuHover", menuPhone: "menuPhone" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, viewQueries: [{ propertyName: "stageRef", first: true, predicate: ["stage"], descendants: true }, { propertyName: "surfaceRef", first: true, predicate: ["surface"], descendants: true }], ngImport: i0, template: `
13057
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderDialogComponent, isStandalone: false, selector: "app-builder-dialog", inputs: { children: "children", nodeId: "nodeId", dropListId: "dropListId", closeOnBackdrop: "closeOnBackdrop", showCloseButton: "showCloseButton", placement: "placement", menuForm: "menuForm", menuReveal: "menuReveal", menuHover: "menuHover", menuPhone: "menuPhone", popupKind: "popupKind", popupForm: "popupForm" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, viewQueries: [{ propertyName: "stageRef", first: true, predicate: ["stage"], descendants: true }, { propertyName: "surfaceRef", first: true, predicate: ["surface"], descendants: true }], ngImport: i0, template: `
12943
13058
  <div *ngIf="designOpen" #stage class="dialog-stage" [attr.data-placement]="placementValue"
13059
+ [attr.data-popup-form]="popupFormValue"
12944
13060
  (click)="onStageClick($event)">
12945
13061
  <div #surface [ngClass]="['iox-node-' + nodeId, 'iox-outer-' + nodeId]"
12946
13062
  class="dialog-surface"
@@ -12975,12 +13091,13 @@ class BuilderDialogComponent {
12975
13091
  </ng-container>
12976
13092
  </div>
12977
13093
  </div>
12978
- `, isInline: true, styles: [":host{display:contents}.dialog-stage{position:fixed;inset:0;z-index:50;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;padding:24px;box-sizing:border-box;background:#0f172a73}:host(.iox-es) .dialog-stage{background:var(--iox-scrim)}.dialog-stage[data-placement=top]{align-items:start}.dialog-stage[data-placement=bottom]{align-items:end}.dialog-stage[data-placement=start]{justify-items:start}.dialog-stage[data-placement=end]{justify-items:end}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]){padding:0}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]) .dialog-surface{height:100%;max-height:100%}:host(.iox-es) .dialog-stage[data-placement=end] .dialog-surface{border-start-end-radius:0;border-end-end-radius:0}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface{border-start-start-radius:0;border-end-start-radius:0}:host(.iox-es) .dialog-stage{animation:iox-dialog-scrim-in var(--iox-dur-base) var(--iox-ease-enter) both}:host(.iox-es) .dialog-stage[data-iox-closing]{animation:iox-dialog-scrim-out var(--iox-dur-base) var(--iox-ease-exit) both}:host(.iox-es) .dialog-surface{--dialog-exit-x: 0px;--dialog-exit-y: 12px;--dialog-exit-opacity: 0;animation:iox-dialog-in var(--iox-dur-base) var(--iox-ease-enter) both}:host(.iox-es) .dialog-stage[data-iox-closing] .dialog-surface{animation:iox-dialog-out var(--iox-dur-base) var(--iox-ease-exit) both}:host(.iox-es) .dialog-stage[data-placement=top] .dialog-surface{--dialog-exit-y: -12px}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]) .dialog-surface{--dialog-exit-y: 0px;--dialog-exit-opacity: 1}:host(.iox-es) .dialog-stage[data-placement=end] .dialog-surface{--dialog-exit-x: calc(100% * var(--dialog-dir, 1))}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface{--dialog-exit-x: calc(-100% * var(--dialog-dir, 1))}:host-context([dir=\"rtl\"]){--dialog-dir: -1}@keyframes iox-dialog-scrim-in{0%{background-color:transparent}}@keyframes iox-dialog-scrim-out{to{background-color:transparent}}@keyframes iox-dialog-in{0%{translate:var(--dialog-exit-x) var(--dialog-exit-y);opacity:var(--dialog-exit-opacity)}}@keyframes iox-dialog-out{to{translate:var(--dialog-exit-x) var(--dialog-exit-y);opacity:var(--dialog-exit-opacity)}}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal]{--dialog-exit-x: 0px;--dialog-exit-y: 0px}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal=fade],:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal=zoom]{--dialog-exit-opacity: 0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-reveal=circle],[data-iox-reveal=torn]){--dialog-exit-opacity: 0}@media(prefers-reduced-motion:no-preference){:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-reveal=circle],[data-iox-reveal=torn]){--dialog-exit-opacity: 1}}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]){animation-duration:var(--menu-in, var(--iox-dur-ui, .2s))}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]):not([data-iox-reveal=torn]){transition:scale var(--menu-in, var(--iox-dur-ui, .2s)) var(--iox-ease-enter),clip-path var(--menu-in, var(--iox-dur-ui, .2s)) var(--iox-ease-enter)}:host(.iox-es) .dialog-stage[data-iox-closing][data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]){animation-duration:var(--menu-out, calc(var(--iox-dur-ui, .2s) * .7));transition-duration:var(--menu-out, calc(var(--iox-dur-ui, .2s) * .7));transition-timing-function:var(--iox-ease-exit)}:host(.iox-es) .dialog-stage[data-placement]:has(>.dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone])){animation-duration:var(--iox-dur-ui, .2s)}:host(.iox-es) .dialog-stage[data-iox-closing][data-placement]:has(>.dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone])){animation-duration:calc(var(--iox-dur-ui, .2s) * .7)}:host(.iox-es) .dialog-stage:has(>.dialog-surface[data-iox-menu=full]){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=full]{width:100%;max-width:none;height:100%;max-height:100%;border-radius:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=full]:not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}@container iox-canvas (max-width: 767px){:host(.iox-es) .dialog-stage:has(>.dialog-surface[data-iox-menu-phone=full]){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu-phone=full]{width:100%;max-width:none;height:100%;max-height:100%;border-radius:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu-phone=full]:not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}}@container iox-canvas (min-width: 768px){:host(.iox-es) .dialog-stage:has(>.dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega])){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega]){max-width:none;height:fit-content;overflow:auto}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega]):not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=card]{margin-block:10px auto;margin-inline:auto 14px;width:min(440px,calc(100% - 28px));max-height:calc(100% - 20px);border-radius:var(--iox-dialog-radius)}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface[data-iox-menu=card]{margin-inline:14px auto}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=panel]{margin:0 0 auto;width:100%;max-height:80%;border-radius:0 0 var(--iox-dialog-radius) var(--iox-dialog-radius)}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=mega]{margin:10px 14px auto;width:calc(100% - 28px);max-height:calc(100% - 20px);border-radius:var(--iox-dialog-radius)}}:where(.dialog-surface){box-sizing:border-box;max-width:100%;max-height:100%;overflow:auto;contain:layout}.dialog-close{position:absolute;inset-inline-end:10px;top:10px;width:26px;height:26px;border:none;border-radius:999px;background:#0f172a0f;color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}:host(.iox-es) .dialog-close{border-radius:var(--iox-radius-pill);background:var(--iox-surface-2);color:var(--iox-text)}.dialog-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;min-height:90px;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px}.dialog-placeholder i{font-size:18px}\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: RenderDirective, selector: "[ioxRender]", inputs: ["ioxRender", "ioxDragSourceId", "ioxPhrasing"], outputs: ["onClick", "onMouseEnter", "onMouseLeave"] }, { kind: "directive", type: IoxDropzoneDirective, selector: "[ioxDropzone]", inputs: ["ioxDropzoneId", "ioxDropzoneData", "ioxDropzonePostDrop"], outputs: ["ioxDrop"] }] }); }
13094
+ `, isInline: true, styles: [":host{display:contents}.dialog-stage{position:fixed;inset:0;z-index:50;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;padding:24px;box-sizing:border-box;background:#0f172a73}:host(.iox-es) .dialog-stage{background:var(--iox-scrim)}.dialog-stage[data-placement=top]{align-items:start}.dialog-stage[data-placement=bottom]{align-items:end}.dialog-stage[data-placement=start]{justify-items:start}.dialog-stage[data-placement=end]{justify-items:end}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]){padding:0}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]) .dialog-surface{height:100%;max-height:100%}:host(.iox-es) .dialog-stage[data-placement=end] .dialog-surface{border-start-end-radius:0;border-end-end-radius:0}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface{border-start-start-radius:0;border-end-start-radius:0}:host(.iox-es) .dialog-stage{animation:iox-dialog-scrim-in var(--iox-dur-base) var(--iox-ease-enter) both}:host(.iox-es) .dialog-stage[data-iox-closing]{animation:iox-dialog-scrim-out var(--iox-dur-base) var(--iox-ease-exit) both}:host(.iox-es) .dialog-surface{--dialog-exit-x: 0px;--dialog-exit-y: 12px;--dialog-exit-opacity: 0;animation:iox-dialog-in var(--iox-dur-base) var(--iox-ease-enter) both}:host(.iox-es) .dialog-stage[data-iox-closing] .dialog-surface{animation:iox-dialog-out var(--iox-dur-base) var(--iox-ease-exit) both}:host(.iox-es) .dialog-stage[data-placement=top] .dialog-surface{--dialog-exit-y: -12px}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]) .dialog-surface{--dialog-exit-y: 0px;--dialog-exit-opacity: 1}:host(.iox-es) .dialog-stage[data-placement=end] .dialog-surface{--dialog-exit-x: calc(100% * var(--dialog-dir, 1))}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface{--dialog-exit-x: calc(-100% * var(--dialog-dir, 1))}:host-context([dir=\"rtl\"]){--dialog-dir: -1}@keyframes iox-dialog-scrim-in{0%{background-color:transparent}}@keyframes iox-dialog-scrim-out{to{background-color:transparent}}@keyframes iox-dialog-in{0%{translate:var(--dialog-exit-x) var(--dialog-exit-y);opacity:var(--dialog-exit-opacity)}}@keyframes iox-dialog-out{to{translate:var(--dialog-exit-x) var(--dialog-exit-y);opacity:var(--dialog-exit-opacity)}}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal]{--dialog-exit-x: 0px;--dialog-exit-y: 0px}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal=fade],:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal=zoom]{--dialog-exit-opacity: 0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-reveal=circle],[data-iox-reveal=torn]){--dialog-exit-opacity: 0}@media(prefers-reduced-motion:no-preference){:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-reveal=circle],[data-iox-reveal=torn]){--dialog-exit-opacity: 1}}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]){animation-duration:var(--menu-in, var(--iox-dur-ui, .2s))}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]):not([data-iox-reveal=torn]){transition:scale var(--menu-in, var(--iox-dur-ui, .2s)) var(--iox-ease-enter),clip-path var(--menu-in, var(--iox-dur-ui, .2s)) var(--iox-ease-enter)}:host(.iox-es) .dialog-stage[data-iox-closing][data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]){animation-duration:var(--menu-out, calc(var(--iox-dur-ui, .2s) * .7));transition-duration:var(--menu-out, calc(var(--iox-dur-ui, .2s) * .7));transition-timing-function:var(--iox-ease-exit)}:host(.iox-es) .dialog-stage[data-placement]:has(>.dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone])){animation-duration:var(--iox-dur-ui, .2s)}:host(.iox-es) .dialog-stage[data-iox-closing][data-placement]:has(>.dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone])){animation-duration:calc(var(--iox-dur-ui, .2s) * .7)}:host(.iox-es) .dialog-stage:has(>.dialog-surface[data-iox-menu=full]){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=full]{width:100%;max-width:none;height:100%;max-height:100%;border-radius:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=full]:not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}@container iox-canvas (max-width: 767px){:host(.iox-es) .dialog-stage:has(>.dialog-surface[data-iox-menu-phone=full]){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu-phone=full]{width:100%;max-width:none;height:100%;max-height:100%;border-radius:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu-phone=full]:not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}}@container iox-canvas (min-width: 768px){:host(.iox-es) .dialog-stage:has(>.dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega])){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega]){max-width:none;height:fit-content;overflow:auto}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega]):not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=card]{margin-block:10px auto;margin-inline:auto 14px;width:min(440px,calc(100% - 28px));max-height:calc(100% - 20px);border-radius:var(--iox-dialog-radius)}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface[data-iox-menu=card]{margin-inline:14px auto}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=panel]{margin:0 0 auto;width:100%;max-height:80%;border-radius:0 0 var(--iox-dialog-radius) var(--iox-dialog-radius)}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=mega]{margin:10px 14px auto;width:calc(100% - 28px);max-height:calc(100% - 20px);border-radius:var(--iox-dialog-radius)}}:host .dialog-stage[data-popup-form]{--popup-pad: var(--iox-popup-inset, 24px)}:host .dialog-stage:is([data-popup-form=corner],[data-popup-form=bar]){background:transparent;animation:none;pointer-events:none;padding:var(--popup-pad);align-items:end}:host .dialog-stage:is([data-popup-form=corner],[data-popup-form=bar]) .dialog-surface{pointer-events:auto}:host .dialog-stage[data-popup-form=corner]{justify-items:right}:host .dialog-stage[data-popup-form=corner] .dialog-surface{--dialog-exit-x: calc(100% + var(--popup-pad));--dialog-exit-y: 0px;min-width:min(360px,100%);max-width:min(560px,100%)}:host .dialog-stage[data-popup-form=bar]{padding:0;justify-items:stretch}:host .dialog-stage[data-popup-form=bar] .dialog-surface{--dialog-exit-x: 0px;--dialog-exit-y: 100%;width:100%;max-width:100%;max-height:64px;border-radius:0}@container iox-canvas (max-width: 767px){:host .dialog-stage[data-popup-form]{--popup-pad: min(var(--iox-popup-inset, 24px), 12px)}:host .dialog-stage[data-popup-form]:not([data-popup-form=bar]){background:transparent;animation:none;pointer-events:none;padding:var(--popup-pad);align-items:end;justify-items:stretch}:host .dialog-stage[data-popup-form]:not([data-popup-form=bar]) .dialog-surface{--dialog-exit-x: 0px;--dialog-exit-y: 24px;pointer-events:auto;width:100%;min-width:0;max-width:none;max-height:30%}:host .dialog-stage[data-popup-form=bar] .dialog-surface{max-height:88px}}:where(.dialog-surface){box-sizing:border-box;max-width:100%;max-height:100%;overflow:auto;contain:layout}.dialog-close{position:absolute;inset-inline-end:10px;top:10px;width:26px;height:26px;border:none;border-radius:999px;background:#0f172a0f;color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}:host(.iox-es) .dialog-close{border-radius:var(--iox-radius-pill);background:var(--iox-surface-2);color:var(--iox-text)}.dialog-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;min-height:90px;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px}.dialog-placeholder i{font-size:18px}\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: RenderDirective, selector: "[ioxRender]", inputs: ["ioxRender", "ioxDragSourceId", "ioxPhrasing"], outputs: ["onClick", "onMouseEnter", "onMouseLeave"] }, { kind: "directive", type: IoxDropzoneDirective, selector: "[ioxDropzone]", inputs: ["ioxDropzoneId", "ioxDropzoneData", "ioxDropzonePostDrop"], outputs: ["ioxDrop"] }] }); }
12979
13095
  }
12980
13096
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderDialogComponent, decorators: [{
12981
13097
  type: Component,
12982
13098
  args: [{ selector: 'app-builder-dialog', template: `
12983
13099
  <div *ngIf="designOpen" #stage class="dialog-stage" [attr.data-placement]="placementValue"
13100
+ [attr.data-popup-form]="popupFormValue"
12984
13101
  (click)="onStageClick($event)">
12985
13102
  <div #surface [ngClass]="['iox-node-' + nodeId, 'iox-outer-' + nodeId]"
12986
13103
  class="dialog-surface"
@@ -13015,7 +13132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
13015
13132
  </ng-container>
13016
13133
  </div>
13017
13134
  </div>
13018
- `, standalone: false, styles: [":host{display:contents}.dialog-stage{position:fixed;inset:0;z-index:50;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;padding:24px;box-sizing:border-box;background:#0f172a73}:host(.iox-es) .dialog-stage{background:var(--iox-scrim)}.dialog-stage[data-placement=top]{align-items:start}.dialog-stage[data-placement=bottom]{align-items:end}.dialog-stage[data-placement=start]{justify-items:start}.dialog-stage[data-placement=end]{justify-items:end}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]){padding:0}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]) .dialog-surface{height:100%;max-height:100%}:host(.iox-es) .dialog-stage[data-placement=end] .dialog-surface{border-start-end-radius:0;border-end-end-radius:0}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface{border-start-start-radius:0;border-end-start-radius:0}:host(.iox-es) .dialog-stage{animation:iox-dialog-scrim-in var(--iox-dur-base) var(--iox-ease-enter) both}:host(.iox-es) .dialog-stage[data-iox-closing]{animation:iox-dialog-scrim-out var(--iox-dur-base) var(--iox-ease-exit) both}:host(.iox-es) .dialog-surface{--dialog-exit-x: 0px;--dialog-exit-y: 12px;--dialog-exit-opacity: 0;animation:iox-dialog-in var(--iox-dur-base) var(--iox-ease-enter) both}:host(.iox-es) .dialog-stage[data-iox-closing] .dialog-surface{animation:iox-dialog-out var(--iox-dur-base) var(--iox-ease-exit) both}:host(.iox-es) .dialog-stage[data-placement=top] .dialog-surface{--dialog-exit-y: -12px}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]) .dialog-surface{--dialog-exit-y: 0px;--dialog-exit-opacity: 1}:host(.iox-es) .dialog-stage[data-placement=end] .dialog-surface{--dialog-exit-x: calc(100% * var(--dialog-dir, 1))}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface{--dialog-exit-x: calc(-100% * var(--dialog-dir, 1))}:host-context([dir=\"rtl\"]){--dialog-dir: -1}@keyframes iox-dialog-scrim-in{0%{background-color:transparent}}@keyframes iox-dialog-scrim-out{to{background-color:transparent}}@keyframes iox-dialog-in{0%{translate:var(--dialog-exit-x) var(--dialog-exit-y);opacity:var(--dialog-exit-opacity)}}@keyframes iox-dialog-out{to{translate:var(--dialog-exit-x) var(--dialog-exit-y);opacity:var(--dialog-exit-opacity)}}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal]{--dialog-exit-x: 0px;--dialog-exit-y: 0px}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal=fade],:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal=zoom]{--dialog-exit-opacity: 0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-reveal=circle],[data-iox-reveal=torn]){--dialog-exit-opacity: 0}@media(prefers-reduced-motion:no-preference){:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-reveal=circle],[data-iox-reveal=torn]){--dialog-exit-opacity: 1}}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]){animation-duration:var(--menu-in, var(--iox-dur-ui, .2s))}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]):not([data-iox-reveal=torn]){transition:scale var(--menu-in, var(--iox-dur-ui, .2s)) var(--iox-ease-enter),clip-path var(--menu-in, var(--iox-dur-ui, .2s)) var(--iox-ease-enter)}:host(.iox-es) .dialog-stage[data-iox-closing][data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]){animation-duration:var(--menu-out, calc(var(--iox-dur-ui, .2s) * .7));transition-duration:var(--menu-out, calc(var(--iox-dur-ui, .2s) * .7));transition-timing-function:var(--iox-ease-exit)}:host(.iox-es) .dialog-stage[data-placement]:has(>.dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone])){animation-duration:var(--iox-dur-ui, .2s)}:host(.iox-es) .dialog-stage[data-iox-closing][data-placement]:has(>.dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone])){animation-duration:calc(var(--iox-dur-ui, .2s) * .7)}:host(.iox-es) .dialog-stage:has(>.dialog-surface[data-iox-menu=full]){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=full]{width:100%;max-width:none;height:100%;max-height:100%;border-radius:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=full]:not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}@container iox-canvas (max-width: 767px){:host(.iox-es) .dialog-stage:has(>.dialog-surface[data-iox-menu-phone=full]){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu-phone=full]{width:100%;max-width:none;height:100%;max-height:100%;border-radius:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu-phone=full]:not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}}@container iox-canvas (min-width: 768px){:host(.iox-es) .dialog-stage:has(>.dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega])){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega]){max-width:none;height:fit-content;overflow:auto}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega]):not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=card]{margin-block:10px auto;margin-inline:auto 14px;width:min(440px,calc(100% - 28px));max-height:calc(100% - 20px);border-radius:var(--iox-dialog-radius)}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface[data-iox-menu=card]{margin-inline:14px auto}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=panel]{margin:0 0 auto;width:100%;max-height:80%;border-radius:0 0 var(--iox-dialog-radius) var(--iox-dialog-radius)}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=mega]{margin:10px 14px auto;width:calc(100% - 28px);max-height:calc(100% - 20px);border-radius:var(--iox-dialog-radius)}}:where(.dialog-surface){box-sizing:border-box;max-width:100%;max-height:100%;overflow:auto;contain:layout}.dialog-close{position:absolute;inset-inline-end:10px;top:10px;width:26px;height:26px;border:none;border-radius:999px;background:#0f172a0f;color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}:host(.iox-es) .dialog-close{border-radius:var(--iox-radius-pill);background:var(--iox-surface-2);color:var(--iox-text)}.dialog-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;min-height:90px;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px}.dialog-placeholder i{font-size:18px}\n"] }]
13135
+ `, standalone: false, styles: [":host{display:contents}.dialog-stage{position:fixed;inset:0;z-index:50;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;padding:24px;box-sizing:border-box;background:#0f172a73}:host(.iox-es) .dialog-stage{background:var(--iox-scrim)}.dialog-stage[data-placement=top]{align-items:start}.dialog-stage[data-placement=bottom]{align-items:end}.dialog-stage[data-placement=start]{justify-items:start}.dialog-stage[data-placement=end]{justify-items:end}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]){padding:0}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]) .dialog-surface{height:100%;max-height:100%}:host(.iox-es) .dialog-stage[data-placement=end] .dialog-surface{border-start-end-radius:0;border-end-end-radius:0}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface{border-start-start-radius:0;border-end-start-radius:0}:host(.iox-es) .dialog-stage{animation:iox-dialog-scrim-in var(--iox-dur-base) var(--iox-ease-enter) both}:host(.iox-es) .dialog-stage[data-iox-closing]{animation:iox-dialog-scrim-out var(--iox-dur-base) var(--iox-ease-exit) both}:host(.iox-es) .dialog-surface{--dialog-exit-x: 0px;--dialog-exit-y: 12px;--dialog-exit-opacity: 0;animation:iox-dialog-in var(--iox-dur-base) var(--iox-ease-enter) both}:host(.iox-es) .dialog-stage[data-iox-closing] .dialog-surface{animation:iox-dialog-out var(--iox-dur-base) var(--iox-ease-exit) both}:host(.iox-es) .dialog-stage[data-placement=top] .dialog-surface{--dialog-exit-y: -12px}:host(.iox-es) .dialog-stage:is([data-placement=end],[data-placement=start]) .dialog-surface{--dialog-exit-y: 0px;--dialog-exit-opacity: 1}:host(.iox-es) .dialog-stage[data-placement=end] .dialog-surface{--dialog-exit-x: calc(100% * var(--dialog-dir, 1))}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface{--dialog-exit-x: calc(-100% * var(--dialog-dir, 1))}:host-context([dir=\"rtl\"]){--dialog-dir: -1}@keyframes iox-dialog-scrim-in{0%{background-color:transparent}}@keyframes iox-dialog-scrim-out{to{background-color:transparent}}@keyframes iox-dialog-in{0%{translate:var(--dialog-exit-x) var(--dialog-exit-y);opacity:var(--dialog-exit-opacity)}}@keyframes iox-dialog-out{to{translate:var(--dialog-exit-x) var(--dialog-exit-y);opacity:var(--dialog-exit-opacity)}}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal]{--dialog-exit-x: 0px;--dialog-exit-y: 0px}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal=fade],:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-reveal=zoom]{--dialog-exit-opacity: 0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-reveal=circle],[data-iox-reveal=torn]){--dialog-exit-opacity: 0}@media(prefers-reduced-motion:no-preference){:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-reveal=circle],[data-iox-reveal=torn]){--dialog-exit-opacity: 1}}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]){animation-duration:var(--menu-in, var(--iox-dur-ui, .2s))}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]):not([data-iox-reveal=torn]){transition:scale var(--menu-in, var(--iox-dur-ui, .2s)) var(--iox-ease-enter),clip-path var(--menu-in, var(--iox-dur-ui, .2s)) var(--iox-ease-enter)}:host(.iox-es) .dialog-stage[data-iox-closing][data-placement] .dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone]){animation-duration:var(--menu-out, calc(var(--iox-dur-ui, .2s) * .7));transition-duration:var(--menu-out, calc(var(--iox-dur-ui, .2s) * .7));transition-timing-function:var(--iox-ease-exit)}:host(.iox-es) .dialog-stage[data-placement]:has(>.dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone])){animation-duration:var(--iox-dur-ui, .2s)}:host(.iox-es) .dialog-stage[data-iox-closing][data-placement]:has(>.dialog-surface:is([data-iox-menu],[data-iox-reveal],[data-iox-menu-phone])){animation-duration:calc(var(--iox-dur-ui, .2s) * .7)}:host(.iox-es) .dialog-stage:has(>.dialog-surface[data-iox-menu=full]){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=full]{width:100%;max-width:none;height:100%;max-height:100%;border-radius:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=full]:not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}@container iox-canvas (max-width: 767px){:host(.iox-es) .dialog-stage:has(>.dialog-surface[data-iox-menu-phone=full]){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu-phone=full]{width:100%;max-width:none;height:100%;max-height:100%;border-radius:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu-phone=full]:not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}}@container iox-canvas (min-width: 768px){:host(.iox-es) .dialog-stage:has(>.dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega])){padding:0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega]){max-width:none;height:fit-content;overflow:auto}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface:is([data-iox-menu=card],[data-iox-menu=panel],[data-iox-menu=mega]):not([data-iox-reveal]){--dialog-exit-x: 0px;--dialog-exit-y: -14px;--dialog-exit-opacity: 0}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=card]{margin-block:10px auto;margin-inline:auto 14px;width:min(440px,calc(100% - 28px));max-height:calc(100% - 20px);border-radius:var(--iox-dialog-radius)}:host(.iox-es) .dialog-stage[data-placement=start] .dialog-surface[data-iox-menu=card]{margin-inline:14px auto}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=panel]{margin:0 0 auto;width:100%;max-height:80%;border-radius:0 0 var(--iox-dialog-radius) var(--iox-dialog-radius)}:host(.iox-es) .dialog-stage[data-placement] .dialog-surface[data-iox-menu=mega]{margin:10px 14px auto;width:calc(100% - 28px);max-height:calc(100% - 20px);border-radius:var(--iox-dialog-radius)}}:host .dialog-stage[data-popup-form]{--popup-pad: var(--iox-popup-inset, 24px)}:host .dialog-stage:is([data-popup-form=corner],[data-popup-form=bar]){background:transparent;animation:none;pointer-events:none;padding:var(--popup-pad);align-items:end}:host .dialog-stage:is([data-popup-form=corner],[data-popup-form=bar]) .dialog-surface{pointer-events:auto}:host .dialog-stage[data-popup-form=corner]{justify-items:right}:host .dialog-stage[data-popup-form=corner] .dialog-surface{--dialog-exit-x: calc(100% + var(--popup-pad));--dialog-exit-y: 0px;min-width:min(360px,100%);max-width:min(560px,100%)}:host .dialog-stage[data-popup-form=bar]{padding:0;justify-items:stretch}:host .dialog-stage[data-popup-form=bar] .dialog-surface{--dialog-exit-x: 0px;--dialog-exit-y: 100%;width:100%;max-width:100%;max-height:64px;border-radius:0}@container iox-canvas (max-width: 767px){:host .dialog-stage[data-popup-form]{--popup-pad: min(var(--iox-popup-inset, 24px), 12px)}:host .dialog-stage[data-popup-form]:not([data-popup-form=bar]){background:transparent;animation:none;pointer-events:none;padding:var(--popup-pad);align-items:end;justify-items:stretch}:host .dialog-stage[data-popup-form]:not([data-popup-form=bar]) .dialog-surface{--dialog-exit-x: 0px;--dialog-exit-y: 24px;pointer-events:auto;width:100%;min-width:0;max-width:none;max-height:30%}:host .dialog-stage[data-popup-form=bar] .dialog-surface{max-height:88px}}:where(.dialog-surface){box-sizing:border-box;max-width:100%;max-height:100%;overflow:auto;contain:layout}.dialog-close{position:absolute;inset-inline-end:10px;top:10px;width:26px;height:26px;border:none;border-radius:999px;background:#0f172a0f;color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}:host(.iox-es) .dialog-close{border-radius:var(--iox-radius-pill);background:var(--iox-surface-2);color:var(--iox-text)}.dialog-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;min-height:90px;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px}.dialog-placeholder i{font-size:18px}\n"] }]
13019
13136
  }], ctorParameters: () => [{ type: DragEngineService }, { type: i2$1.ComponentInstanceRegistryService }, { type: OverlayService }, { type: i0.ChangeDetectorRef }, { type: CanvasDesignStateService, decorators: [{
13020
13137
  type: Optional
13021
13138
  }] }, { type: PanelEventService, decorators: [{
@@ -13042,6 +13159,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
13042
13159
  type: Input
13043
13160
  }], menuPhone: [{
13044
13161
  type: Input
13162
+ }], popupKind: [{
13163
+ type: Input
13164
+ }], popupForm: [{
13165
+ type: Input
13045
13166
  }], childClick: [{
13046
13167
  type: Output
13047
13168
  }], childMouseEnter: [{
@@ -16377,5 +16498,5 @@ class BuilderSpacerComponentConfig extends ComponentConfig {
16377
16498
  * Generated bundle index. Do not edit.
16378
16499
  */
16379
16500
 
16380
- export { ACTION_TYPE_OPTIONS, AuditCode, AuditPanelComponent, AuditSeverity, BODY_CRUMB_LABEL, BOUND_ICON, BREAKPOINT_PRESENTATION, BUILDER_CANVAS_CONTAINER, BUILDER_CHROME_EN, BUILDER_FONT_LINK_ATTR, BUILDER_TOKEN_SCOPE_CLASS, BackgroundGroupStyleConfig, BorderGroupStyleConfig, BreadcrumbBarComponent, BuilderButtonBlockComponent, BuilderButtonComponentConfig, BuilderClipboardService, BuilderComponent, BuilderContainerComponent, BuilderContainerComponentConfig, BuilderDataSourceService, BuilderDialogComponent, BuilderDividerComponentConfig, BuilderHeadingComponentConfig, BuilderHistoryService, BuilderIconComponentConfig, BuilderImageComponentConfig, BuilderLinkComponentConfig, BuilderLinkedContainerComponent, BuilderLinkedContainerConfig, BuilderListComponentConfig, BuilderListItemComponentConfig, BuilderMode, BuilderPopoverComponent, BuilderRepeaterComponent, BuilderSpacerComponentConfig, BusinessSpecimenView, ButtonBlockComponentConfig, CANVAS_EMPTY_IMAGE_LABEL_EN, CANVAS_EMPTY_IMAGE_LABEL_KEY, CANVAS_ROOT_RESET_CSS, CANVAS_TOKEN_SCOPE, COMPOSITE_PRESETS, CanvasDesignStateService, CanvasShowState, CardComponentConfig, ChildLayoutGroupStyleConfig, ComponentConfig, ComponentRegistryService, CompositeCanvasService, CompositePaletteGroup, CompositePresetId, DEFAULT_ESSENTIAL_TRAITS, DESCRIPTOR_MAX_LENGTH, DRAG_HANDLE_ATTR, DROP_REFUSED_CLASS, DataSourceRegistryService, DataSourceType, DialogComponentConfig, DimensionsGroupStyleConfig, DragEngineService, EASING_OPTIONS, EDITOR_CHROME_ATTRIBUTE, ESSENTIAL_TRAITS_BY_TYPE, EffectsGroupStyleConfig, FIELD_KIND_PRESETS, FIELD_PARTS, FOOTER_MIX_TRAIT, FORM_STATE_BLOCK_TYPES, FORM_TYPE, FieldComponentConfig, FieldGroupComponentConfig, FieldTrait, FormComponentConfig, FormErrorComponentConfig, FormStateService, FormSuccessComponentConfig, GLOBALS_AFTER_CLASS, GalleryConfig, GlobalCanvasLayer, GroupStyleConfig, HIDDEN_AT_REST_LABEL_KEY, HIDDEN_AT_REST_ROLES, HIDDEN_AT_REST_TYPES, INSERT_REFUSAL_LABEL_KEYS, INTERACTION_STATES, INVERSE_ACTION, IOX_BUILDER_CANVAS, IOX_BUILDER_LABELS, IOX_CONTENT_TYPE_LABELS, IOX_DATA_SOURCE_ENDPOINTS, IOX_RENDER_DISPLAY_ONLY, InsertRefusal, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LAYOUT_PRESETS, LIST_MIX_TRAIT, LayerTreeComponent, LayoutGroupStyleConfig, ListGroupStyleConfig, NodeAction, OPENING_MIX_TRAIT, OverlayComponent, OverlayService, PAGE_TRANSITION_EASING_OPTIONS, PALETTE_PRESET_DEFS, POPOVER_PLACEMENT_OPTIONS, POPOVER_SHEET_MAX_WIDTH, PanelChildComponent, PanelComponent, PanelEventService, PanelEventTypes, PanelTypes, PhoneMenuOpenerAction, PopoverComponentConfig, PositionGroupStyleConfig, PresetRegistryService, RELATIONAL_STATES, RELATIONAL_STATE_BASE, REPEATER_SOURCE_PROP, REPEATER_TYPE, REVEALED_WHILE_SELECTED_ROLES, ROOT_ESCAPE_PX, ROUTE_ANIMATION_OPTIONS, RenderDirective, RepeaterComponentConfig, RootZone, SCREEN_WIDTH_OPTIONS, SENT_LABEL_TRAIT, SILENT_REFUSALS, SLIDER_CREATIVE_PRESET_TRAIT, STRUCTURAL_STATES, SUPPORTED_STATES, SceneCanvasService, SectionComponent, SectionComponentConfig, SelectionReveal, SizeGroupStyleConfig, SliderContainerComponent, SliderContainerConfig, SliderSlideComponent, SliderSlideConfig, SpacingGroupStyleConfig, StructureFix, StyleCategory, StyleRegistryService, TraitConfig as StyleTraitConfig, SubmitButtonComponentConfig, SymbolRegistryService, TARGETED_STATES, TARGETED_STATE_BASE, TOGGLE_PART_ROLES, TRIGGER_OPTIONS, TextBlockComponentConfig, ToolbarAction, ToolbarComponent, TraitConfig, TraitInputType, TypographyGroupStyleConfig, UNITS_ALL, UNITS_DEG, UNITS_FIXED, UNITS_NO_VW, VALIDATION_STATES, VALIDATION_STATE_CLASS, VideoConfig, ViewportService, ZOOM_OPTIONS, addFormChannel, arrayItemSchemaFields, arraySchemaFields, auditNodes, bindingLabel, bindingLabels, buildBusinessSpecimen, buildCompositePreset, buildConsentPreset, buildElementStyleSpecimen, buildFieldKindPreset, buildFlavorSpecimen, buildFormActionsRow, buildFormChannel, buildFormPreset, buildFullStyleTraits, buildLayoutPreset, buildPalettePreset, buildPresetStyleTraits, builderCompositeFactory, canFluidise, canvasEmptyImageLabel, canvasFloatingContainer, canvasHostDisplay, collapseColumnsProps, columnCountOf, compositeStructureFindings, defaultBuilderLabels, defaultPageSettings, deleteTabPair, displayTrigger, displayTriggerOf, dropChildren, dropSectionStamps, dropTargetLabel, duplicateTabPair, escapesRoot, essentialTraitsFor, findNodeByIdInEither, findNodeLocation, findParentOf, flattenLayerTree, flattenSchemaFields, fluidiseProps, followsScroll, formChannelOf, generateNodeId, globalCanvasLayer, hiddenAtBase, hiddenUntilItemOn, inPhoneMenuContext, insertRefusal, insertRefusalLabel, interactionTargets, isDisplayOnlyNode, isHiddenAt, isHiddenAtRest, isPhoneMenuOpener, isPinnedGlobal, isReadingBar, isSpecimen, itemsOnAtRest, markSpecimen, matchesControlSearch, nearestFormNode, neverShown, nodeAncestorPath, nodeAncestorPathInEither, nodeDescriptor, nodeStyleMap, overlayGlobals, pathToNode, phoneMenuOf, phoneMenuShowsAt, refreshSubtree, regenerateNodeIds, removalRefusal, reorderProps, repeaterSourceAlias, repeaterSubLabel, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, retypeNode, rootEscapeBand, rootZone, selectionRevealOf, setChannelAddress, setOverlayPreview, setStyleTrait, setTrait, shortDescriptor, showCanvasToast, shownBeforeControl, sourceContentType, sourceTypeLabel, stackChildrenProps, summarise, syncEmptyImagePlaceholder, syncNodeDesign, syncNodeInputs, tabPairLabel, tabsRootForPart, textNode, upsertNodeStyles, visibilityProps, walkNodes, wrapNode };
16501
+ 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, FieldComponentConfig, FieldGroupComponentConfig, FieldTrait, FormComponentConfig, FormErrorComponentConfig, FormStateService, FormSuccessComponentConfig, GLOBALS_AFTER_CLASS, GalleryConfig, GlobalCanvasLayer, GroupStyleConfig, HIDDEN_AT_REST_LABEL_KEY, HIDDEN_AT_REST_ROLES, HIDDEN_AT_REST_TYPES, INSERT_REFUSAL_LABEL_KEYS, INTERACTION_STATES, INVERSE_ACTION, IOX_BUILDER_CANVAS, IOX_BUILDER_LABELS, IOX_CONTENT_TYPE_LABELS, IOX_DATA_SOURCE_ENDPOINTS, IOX_RENDER_DISPLAY_ONLY, InsertRefusal, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LAYOUT_PRESETS, LIST_MIX_TRAIT, LayerTreeComponent, LayoutGroupStyleConfig, ListGroupStyleConfig, NodeAction, OPENING_MIX_TRAIT, OverlayComponent, OverlayService, PAGE_TRANSITION_EASING_OPTIONS, PALETTE_PRESET_DEFS, POPOVER_PLACEMENT_OPTIONS, POPOVER_SHEET_MAX_WIDTH, PanelChildComponent, PanelComponent, PanelEventService, PanelEventTypes, PanelTypes, PhoneMenuOpenerAction, PopoverComponentConfig, PositionGroupStyleConfig, PresetRegistryService, RELATIONAL_STATES, RELATIONAL_STATE_BASE, REPEATER_SOURCE_PROP, REPEATER_TYPE, REVEALED_WHILE_SELECTED_ROLES, ROOT_ESCAPE_PX, ROUTE_ANIMATION_OPTIONS, RenderDirective, RepeaterComponentConfig, RootZone, SCREEN_WIDTH_OPTIONS, SENT_LABEL_TRAIT, SILENT_REFUSALS, SLIDER_CREATIVE_PRESET_TRAIT, STRUCTURAL_STATES, SUPPORTED_STATES, SceneCanvasService, SectionComponent, SectionComponentConfig, SelectionReveal, SizeGroupStyleConfig, SliderContainerComponent, SliderContainerConfig, SliderSlideComponent, SliderSlideConfig, SpacingGroupStyleConfig, StructureFix, StyleCategory, StyleRegistryService, TraitConfig as StyleTraitConfig, SubmitButtonComponentConfig, SymbolRegistryService, TARGETED_STATES, TARGETED_STATE_BASE, TOGGLE_PART_ROLES, TRIGGER_OPTIONS, TextBlockComponentConfig, ToolbarAction, ToolbarComponent, TraitConfig, TraitInputType, TypographyGroupStyleConfig, UNITS_ALL, UNITS_DEG, UNITS_FIXED, UNITS_NO_VW, VALIDATION_STATES, VALIDATION_STATE_CLASS, VideoConfig, ViewportService, ZOOM_OPTIONS, addFormChannel, arrayItemSchemaFields, arraySchemaFields, auditNodes, bindingLabel, bindingLabels, buildBusinessSpecimen, buildCompositePreset, buildConsentPreset, buildElementStyleSpecimen, buildFieldKindPreset, buildFlavorSpecimen, buildFormActionsRow, buildFormChannel, buildFormPreset, buildFullStyleTraits, buildLayoutPreset, buildPalettePreset, buildPresetStyleTraits, builderCompositeFactory, canFluidise, canvasEmptyImageLabel, canvasFloatingContainer, canvasHostDisplay, collapseColumnsProps, columnCountOf, compositeStructureFindings, defaultBuilderLabels, defaultPageSettings, deleteTabPair, displayTrigger, displayTriggerOf, dropChildren, dropSectionStamps, dropTargetLabel, duplicateTabPair, escapesRoot, essentialTraitsFor, findNodeByIdInEither, findNodeLocation, findParentOf, flattenLayerTree, flattenSchemaFields, fluidiseProps, followsScroll, formChannelOf, generateNodeId, globalCanvasLayer, hiddenAtBase, hiddenUntilItemOn, inPhoneMenuContext, insertRefusal, insertRefusalLabel, interactionTargets, isDisplayOnlyNode, isHiddenAt, isHiddenAtRest, isPhoneMenuOpener, isPinnedGlobal, isReadingBar, isSpecimen, itemsOnAtRest, markSpecimen, matchesControlSearch, nearestFormNode, neverShown, nodeAncestorPath, nodeAncestorPathInEither, nodeDescriptor, nodeStyleMap, overlayGlobals, pathToNode, phoneMenuOf, phoneMenuShowsAt, refreshSubtree, regenerateNodeIds, removalRefusal, reorderProps, repeaterSourceAlias, repeaterSubLabel, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, retypeNode, rootEscapeBand, rootZone, selectionRevealOf, setChannelAddress, setOverlayPreview, setStyleTrait, setTrait, shortDescriptor, showCanvasToast, shownBeforeControl, sourceContentType, sourceTypeLabel, stackChildrenProps, summarise, syncEmptyImagePlaceholder, syncNodeDesign, syncNodeInputs, tabPairLabel, tabsRootForPart, textNode, upsertNodeStyles, visibilityProps, walkNodes, wrapNode };
16381
16502
  //# sourceMappingURL=vectoriox-iox-builder.mjs.map