@vectoriox/iox-builder 11.22.0 → 11.23.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.
|
@@ -23,11 +23,11 @@ import { StructureEdit, isAccordionPart, isDisclosurePart, isSliderPart, isTabsP
|
|
|
23
23
|
import { formContentInHost, isInteractiveHost, findFormContentInHosts, 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';
|
|
26
|
-
import { HeaderTrait, HeaderBehaviour, HeaderEdge, pageOpeningScheme } from '@vectoriox/iox-ui/design-core';
|
|
26
|
+
import { HeaderTrait, HeaderBehaviour, HeaderEdge, MenuTrait, MenuForm, MenuReveal, MenuHover, MenuPhoneForm, MenuButtonKind, pageOpeningScheme, menuDialogAttributes, MenuAttribute } from '@vectoriox/iox-ui/design-core';
|
|
27
27
|
import { map, catchError } from 'rxjs/operators';
|
|
28
28
|
import * as i1 from '@angular/common/http';
|
|
29
29
|
import { SAMPLE_PRODUCT, productInScope, simulatedCartTransport, storefrontCatalog, SAMPLE_STUDIO, SAMPLE_CART_LINE, SAMPLE_SWATCHES } from '@vectoriox/iox-ui/commerce-core';
|
|
30
|
-
import { POPOVER_ACTION_TYPE_SET, TOAST_ACTION_TYPES, itemActionOf, BEHAVIOUR_ACTION_TYPES, SHOP_ACTION_TYPES, ACCOUNT_ACTION_TYPES, SERVER_ELEMENT_ACTION_TYPES, CONSENT_ACTION_TYPES, opensAtClickedItem, openedDialogId, DIALOG_CLOSING_ATTRIBUTE, cancelExit, runExitMotion, popoverOpenersSelector, popoverDomId } from '@vectoriox/iox-ui/actions-core';
|
|
30
|
+
import { POPOVER_ACTION_TYPE_SET, TOAST_ACTION_TYPES, itemActionOf, BEHAVIOUR_ACTION_TYPES, SHOP_ACTION_TYPES, ACCOUNT_ACTION_TYPES, SERVER_ELEMENT_ACTION_TYPES, CONSENT_ACTION_TYPES, opensAtClickedItem, openedDialogId, DIALOG_CLOSING_ATTRIBUTE, cancelExit, runExitMotion, dialogOpenersSelector, dialogDomId, revealOrigin, holdClosedWhile, revealOriginStyle, popoverOpenersSelector, popoverDomId } from '@vectoriox/iox-ui/actions-core';
|
|
31
31
|
import { NavRole, navShapeBreakpoint, entranceInteraction, entranceAction, sectionEntrances, EntrancePart } from '@vectoriox/iox-ui/generation-core';
|
|
32
32
|
import { ScrollDriver, syncSceneAttributes, buildSceneRecipe } from '@vectoriox/iox-ui/scene-core';
|
|
33
33
|
import Lenis from 'lenis';
|
|
@@ -1984,6 +1984,50 @@ function buildHeaderBehaviourTraits() {
|
|
|
1984
1984
|
]),
|
|
1985
1985
|
];
|
|
1986
1986
|
}
|
|
1987
|
+
/**
|
|
1988
|
+
* The MENU's look (header ingredients HI2a, board v2) — on the navigation's drawer Dialog: its form, how it reveals, how
|
|
1989
|
+
* its page names answer a mouse, and what it becomes on a phone. No default: a Dialog that is not a menu saves none, and a
|
|
1990
|
+
* menu with none of them is the drawer it always was (R-H4). design-core `menuDialogAttributes` turns them into the
|
|
1991
|
+
* attributes the shared CSS reads; edited in the Navigation bar's menu group, never as generic rows.
|
|
1992
|
+
*/
|
|
1993
|
+
function buildMenuTraits() {
|
|
1994
|
+
return [
|
|
1995
|
+
new TraitConfig(MenuTrait.Form, 'Menu form', TraitInputType.Select, [
|
|
1996
|
+
{ label: 'Drawer', value: MenuForm.Drawer },
|
|
1997
|
+
{ label: 'Full screen', value: MenuForm.Full },
|
|
1998
|
+
{ label: 'Top panel', value: MenuForm.Panel },
|
|
1999
|
+
{ label: 'Card', value: MenuForm.Card },
|
|
2000
|
+
{ label: 'Mega panel', value: MenuForm.Mega },
|
|
2001
|
+
]),
|
|
2002
|
+
new TraitConfig(MenuTrait.Reveal, 'Menu reveal', TraitInputType.Select, [
|
|
2003
|
+
{ label: 'Slide', value: MenuReveal.Slide },
|
|
2004
|
+
{ label: 'Fade', value: MenuReveal.Fade },
|
|
2005
|
+
{ label: 'Zoom', value: MenuReveal.Zoom },
|
|
2006
|
+
{ label: 'Circle', value: MenuReveal.Circle },
|
|
2007
|
+
{ label: 'Torn edge', value: MenuReveal.Torn },
|
|
2008
|
+
]),
|
|
2009
|
+
new TraitConfig(MenuTrait.Hover, 'Menu hover', TraitInputType.Select, [
|
|
2010
|
+
{ label: 'Underline', value: MenuHover.Line },
|
|
2011
|
+
{ label: 'Dim the others', value: MenuHover.Dim },
|
|
2012
|
+
{ label: 'Light the row', value: MenuHover.Row },
|
|
2013
|
+
{ label: 'None', value: MenuHover.None },
|
|
2014
|
+
]),
|
|
2015
|
+
new TraitConfig(MenuTrait.Phone, 'Menu on a phone', TraitInputType.Select, [
|
|
2016
|
+
{ label: 'Drawer', value: MenuPhoneForm.Drawer },
|
|
2017
|
+
{ label: 'Full screen', value: MenuPhoneForm.Full },
|
|
2018
|
+
]),
|
|
2019
|
+
];
|
|
2020
|
+
}
|
|
2021
|
+
/** How the menu button (and the menu's Close, the same button open) is drawn (HI2a) — on a ButtonBlock. No default. */
|
|
2022
|
+
function buildMenuButtonTraits() {
|
|
2023
|
+
return [
|
|
2024
|
+
new TraitConfig(MenuTrait.Button, 'Menu button', TraitInputType.Select, [
|
|
2025
|
+
{ label: 'Lines', value: MenuButtonKind.Lines },
|
|
2026
|
+
{ label: 'Word', value: MenuButtonKind.Word },
|
|
2027
|
+
{ label: 'Dots', value: MenuButtonKind.Dots },
|
|
2028
|
+
]),
|
|
2029
|
+
];
|
|
2030
|
+
}
|
|
1987
2031
|
const LINK_TARGETS = [
|
|
1988
2032
|
{ label: 'Same tab', value: '_self' },
|
|
1989
2033
|
{ label: 'New tab', value: '_blank' },
|
|
@@ -12360,6 +12404,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
12360
12404
|
* Open/close/toggle actions reach it through the instance registry, same as Swiper's methods.
|
|
12361
12405
|
*/
|
|
12362
12406
|
class BuilderDialogComponent {
|
|
12407
|
+
/** HI2a: the menu's look (design-core MenuTrait) — read through ONE `menuDialogAttributes`, the live page's reader. */
|
|
12408
|
+
set menuForm(v) { this.setMenu(MenuTrait.Form, v); }
|
|
12409
|
+
set menuReveal(v) { this.setMenu(MenuTrait.Reveal, v); }
|
|
12410
|
+
set menuHover(v) { this.setMenu(MenuTrait.Hover, v); }
|
|
12411
|
+
set menuPhone(v) { this.setMenu(MenuTrait.Phone, v); }
|
|
12412
|
+
setMenu(trait, value) {
|
|
12413
|
+
this.menuLook = { ...this.menuLook, [trait]: value };
|
|
12414
|
+
this.menuAttrs = menuDialogAttributes(name => this.menuLook[name]);
|
|
12415
|
+
this.cdr?.markForCheck();
|
|
12416
|
+
}
|
|
12417
|
+
/** HI2a: the surface, seen once it renders — a menu that reveals grows from its opener, measured right then. */
|
|
12418
|
+
set surfaceRef(ref) {
|
|
12419
|
+
if (ref && ref.nativeElement !== this.surfaceEl)
|
|
12420
|
+
this.placeReveal(ref.nativeElement);
|
|
12421
|
+
this.surfaceEl = ref?.nativeElement;
|
|
12422
|
+
}
|
|
12363
12423
|
get placementValue() {
|
|
12364
12424
|
const allowed = ['center', 'top', 'bottom', 'start', 'end'];
|
|
12365
12425
|
return allowed.indexOf(String(this.placement)) >= 0 ? String(this.placement) : 'center';
|
|
@@ -12378,6 +12438,10 @@ class BuilderDialogComponent {
|
|
|
12378
12438
|
this.closeOnBackdrop = true;
|
|
12379
12439
|
this.showCloseButton = true;
|
|
12380
12440
|
this.placement = 'center';
|
|
12441
|
+
this.menuAttr = MenuAttribute;
|
|
12442
|
+
/** The attributes the surface wears (a default writes none — R-H4). */
|
|
12443
|
+
this.menuAttrs = {};
|
|
12444
|
+
this.menuLook = {};
|
|
12381
12445
|
this.childClick = new EventEmitter();
|
|
12382
12446
|
this.childMouseEnter = new EventEmitter();
|
|
12383
12447
|
this.childMouseLeave = new EventEmitter();
|
|
@@ -12457,6 +12521,38 @@ class BuilderDialogComponent {
|
|
|
12457
12521
|
if (handOff)
|
|
12458
12522
|
this.panelEvents?.emit(PanelEventTypes.DIALOG_CLOSED_OVER_SELECTION, { dialogId: this.nodeId });
|
|
12459
12523
|
}
|
|
12524
|
+
/**
|
|
12525
|
+
* Where a menu's reveal grows from on the canvas (HI2a): the opener's centre in the surface's own box — actions-core
|
|
12526
|
+
* `revealOrigin`, the ONE rule the live page's `revealFrom` runs. The canvas is zoomed, so the box is measured in
|
|
12527
|
+
* screen px from the stage (fixed, the frame's size) plus the surface's untransformed offsets, and the zoom handed to
|
|
12528
|
+
* the rule; the opener is the first rendered element naming this dialog (`aria-controls`), else the menu's top corner.
|
|
12529
|
+
* The write runs through actions-core `holdClosedWhile`, as the live page's `revealFrom` does.
|
|
12530
|
+
*/
|
|
12531
|
+
placeReveal(surface) {
|
|
12532
|
+
if (!surface.hasAttribute(MenuAttribute.Reveal))
|
|
12533
|
+
return;
|
|
12534
|
+
const stage = surface.parentElement;
|
|
12535
|
+
if (!stage || !stage.offsetWidth)
|
|
12536
|
+
return;
|
|
12537
|
+
const stageRect = stage.getBoundingClientRect();
|
|
12538
|
+
const scale = stageRect.width / stage.offsetWidth || 1;
|
|
12539
|
+
const box = {
|
|
12540
|
+
left: stageRect.left + surface.offsetLeft * scale,
|
|
12541
|
+
top: stageRect.top + surface.offsetTop * scale,
|
|
12542
|
+
width: surface.offsetWidth * scale,
|
|
12543
|
+
height: surface.offsetHeight * scale,
|
|
12544
|
+
};
|
|
12545
|
+
const doc = surface.ownerDocument;
|
|
12546
|
+
const opener = Array.from(doc.querySelectorAll(dialogOpenersSelector(dialogDomId(this.nodeId))))
|
|
12547
|
+
.find(el => !stage.contains(el) && el.getClientRects().length > 0) ?? null;
|
|
12548
|
+
const view = doc.defaultView;
|
|
12549
|
+
const atLeft = (this.placementValue === 'start') !== (view?.getComputedStyle(surface).direction === 'rtl');
|
|
12550
|
+
const origin = revealOrigin(opener?.getBoundingClientRect() ?? null, box, { scale, atLeft });
|
|
12551
|
+
// Written with the menu HELD in its closed shape (the stage marked closing, transitions off) and flushed, so the
|
|
12552
|
+
// reveal starts at the opener — never at the CSS default corner the first computed style would give it.
|
|
12553
|
+
holdClosedWhile(surface, stage, () => { for (const [name, value] of Object.entries(revealOriginStyle(origin)))
|
|
12554
|
+
surface.style.setProperty(name, value); }, () => { view?.getComputedStyle(surface).getPropertyValue('clip-path'); });
|
|
12555
|
+
}
|
|
12460
12556
|
/** True when the canvas selection is this dialog or a node inside it. */
|
|
12461
12557
|
selectionInside() {
|
|
12462
12558
|
const sel = this.overlayService.getCurrentSelection?.();
|
|
@@ -12536,11 +12632,15 @@ class BuilderDialogComponent {
|
|
|
12536
12632
|
this.dragEngine.handleDrop(this.children, event, this.dropListId, this.cdr);
|
|
12537
12633
|
}
|
|
12538
12634
|
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 }); }
|
|
12539
|
-
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" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, viewQueries: [{ propertyName: "stageRef", first: true, predicate: ["stage"], descendants: true }], ngImport: i0, template: `
|
|
12635
|
+
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: `
|
|
12540
12636
|
<div *ngIf="designOpen" #stage class="dialog-stage" [attr.data-placement]="placementValue"
|
|
12541
12637
|
(click)="onStageClick($event)">
|
|
12542
|
-
<div [ngClass]="['iox-node-' + nodeId, 'iox-outer-' + nodeId]"
|
|
12638
|
+
<div #surface [ngClass]="['iox-node-' + nodeId, 'iox-outer-' + nodeId]"
|
|
12543
12639
|
class="dialog-surface"
|
|
12640
|
+
[attr.data-iox-menu]="menuAttrs[menuAttr.Form]"
|
|
12641
|
+
[attr.data-iox-reveal]="menuAttrs[menuAttr.Reveal]"
|
|
12642
|
+
[attr.data-iox-menu-hover]="menuAttrs[menuAttr.Hover]"
|
|
12643
|
+
[attr.data-iox-menu-phone]="menuAttrs[menuAttr.Phone]"
|
|
12544
12644
|
ioxDropzone
|
|
12545
12645
|
[ioxDropzoneId]="dropListId"
|
|
12546
12646
|
[ioxDropzoneData]="children"
|
|
@@ -12568,15 +12668,19 @@ class BuilderDialogComponent {
|
|
|
12568
12668
|
</ng-container>
|
|
12569
12669
|
</div>
|
|
12570
12670
|
</div>
|
|
12571
|
-
`, 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)}}: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"] }] }); }
|
|
12671
|
+
`, 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"] }] }); }
|
|
12572
12672
|
}
|
|
12573
12673
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderDialogComponent, decorators: [{
|
|
12574
12674
|
type: Component,
|
|
12575
12675
|
args: [{ selector: 'app-builder-dialog', template: `
|
|
12576
12676
|
<div *ngIf="designOpen" #stage class="dialog-stage" [attr.data-placement]="placementValue"
|
|
12577
12677
|
(click)="onStageClick($event)">
|
|
12578
|
-
<div [ngClass]="['iox-node-' + nodeId, 'iox-outer-' + nodeId]"
|
|
12678
|
+
<div #surface [ngClass]="['iox-node-' + nodeId, 'iox-outer-' + nodeId]"
|
|
12579
12679
|
class="dialog-surface"
|
|
12680
|
+
[attr.data-iox-menu]="menuAttrs[menuAttr.Form]"
|
|
12681
|
+
[attr.data-iox-reveal]="menuAttrs[menuAttr.Reveal]"
|
|
12682
|
+
[attr.data-iox-menu-hover]="menuAttrs[menuAttr.Hover]"
|
|
12683
|
+
[attr.data-iox-menu-phone]="menuAttrs[menuAttr.Phone]"
|
|
12580
12684
|
ioxDropzone
|
|
12581
12685
|
[ioxDropzoneId]="dropListId"
|
|
12582
12686
|
[ioxDropzoneData]="children"
|
|
@@ -12604,7 +12708,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
12604
12708
|
</ng-container>
|
|
12605
12709
|
</div>
|
|
12606
12710
|
</div>
|
|
12607
|
-
`, 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)}}: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"] }]
|
|
12711
|
+
`, 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"] }]
|
|
12608
12712
|
}], ctorParameters: () => [{ type: DragEngineService }, { type: i2$1.ComponentInstanceRegistryService }, { type: OverlayService }, { type: i0.ChangeDetectorRef }, { type: CanvasDesignStateService, decorators: [{
|
|
12609
12713
|
type: Optional
|
|
12610
12714
|
}] }, { type: PanelEventService, decorators: [{
|
|
@@ -12623,6 +12727,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
12623
12727
|
type: Input
|
|
12624
12728
|
}], placement: [{
|
|
12625
12729
|
type: Input
|
|
12730
|
+
}], menuForm: [{
|
|
12731
|
+
type: Input
|
|
12732
|
+
}], menuReveal: [{
|
|
12733
|
+
type: Input
|
|
12734
|
+
}], menuHover: [{
|
|
12735
|
+
type: Input
|
|
12736
|
+
}], menuPhone: [{
|
|
12737
|
+
type: Input
|
|
12626
12738
|
}], childClick: [{
|
|
12627
12739
|
type: Output
|
|
12628
12740
|
}], childMouseEnter: [{
|
|
@@ -12632,6 +12744,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
12632
12744
|
}], stageRef: [{
|
|
12633
12745
|
type: ViewChild,
|
|
12634
12746
|
args: ['stage']
|
|
12747
|
+
}], surfaceRef: [{
|
|
12748
|
+
type: ViewChild,
|
|
12749
|
+
args: ['surface']
|
|
12635
12750
|
}] } });
|
|
12636
12751
|
|
|
12637
12752
|
/** A frame this narrow is a phone: the popover is a bottom sheet there (iox-ui FLOATING_SHEET_QUERY's width). */
|
|
@@ -15051,6 +15166,10 @@ class DialogComponentConfig extends ComponentConfig {
|
|
|
15051
15166
|
closeAbove: 'select',
|
|
15052
15167
|
colorScheme: 'select',
|
|
15053
15168
|
ariaLabel: 'text',
|
|
15169
|
+
menuForm: 'select',
|
|
15170
|
+
menuReveal: 'select',
|
|
15171
|
+
menuHover: 'select',
|
|
15172
|
+
menuPhone: 'select',
|
|
15054
15173
|
};
|
|
15055
15174
|
this.traits = [
|
|
15056
15175
|
// A5: "Centre modal · bottom bar · side sheet — placement is a style choice."
|
|
@@ -15064,6 +15183,8 @@ class DialogComponentConfig extends ComponentConfig {
|
|
|
15064
15183
|
...buildAccessibleNameTraits(),
|
|
15065
15184
|
// CC3 (board 6): a dialog may wear a section colour scheme — the Lightbox is Inverse.
|
|
15066
15185
|
buildColorSchemeTrait(),
|
|
15186
|
+
// HI2a: the navigation's drawer as a MENU — form, reveal, hover, phone form (no default: R-H4).
|
|
15187
|
+
...buildMenuTraits(),
|
|
15067
15188
|
];
|
|
15068
15189
|
this.styleTraits = buildFullStyleTraits();
|
|
15069
15190
|
this.applyStyleDefaults({
|
|
@@ -15153,6 +15274,7 @@ class ButtonBlockComponentConfig extends ComponentConfig {
|
|
|
15153
15274
|
target: 'select',
|
|
15154
15275
|
type: 'select',
|
|
15155
15276
|
ariaLabel: 'text',
|
|
15277
|
+
menuButton: 'select',
|
|
15156
15278
|
};
|
|
15157
15279
|
// A link button points at a URL or at a website PAGE by route — the Link's two link types
|
|
15158
15280
|
// (W1.1): a page route is shown as the route here and resolved base-relative by the engine.
|
|
@@ -15165,6 +15287,8 @@ class ButtonBlockComponentConfig extends ComponentConfig {
|
|
|
15165
15287
|
...buildAccessibleNameTraits(),
|
|
15166
15288
|
// Premium M5: words for a control that has none of its own (Bindings ▸ Tooltip).
|
|
15167
15289
|
...buildTooltipTraits(),
|
|
15290
|
+
// HI2a: drawn as the menu button (lines · word · dots) — the opener and the menu's Close. No default.
|
|
15291
|
+
...buildMenuButtonTraits(),
|
|
15168
15292
|
];
|
|
15169
15293
|
this.styleTraits = buildFullStyleTraits();
|
|
15170
15294
|
this.applyStyleDefaults({
|