@vectoriox/iox-ui 5.202.1 → 5.204.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions-core/index.d.ts +8 -1
- package/design-core/index.d.ts +62 -2
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +8 -1
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +121 -11
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +5443 -293
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +381 -32
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +2368 -5
- package/index.d.ts +117 -12
- package/package.json +1 -1
- package/src/actions-core/element-actions.ts +9 -0
- package/src/design-core/contrast-audit.ts +93 -11
- package/src/design-core/flavor-spec.generated.ts +19 -0
- package/src/design-core/image-alt.ts +27 -0
- package/src/design-core/public-api.ts +1 -0
- package/src/generation-core/audit-site.ts +17 -3
- package/src/generation-core/baseline-roles.ts +10 -6
- package/src/generation-core/check-free.ts +12 -2
- package/src/generation-core/check-layout.ts +3 -2
- package/src/generation-core/compose-free.ts +3 -1
- package/src/generation-core/compose-layout.ts +1 -1
- package/src/generation-core/compose-site.ts +29 -11
- package/src/generation-core/critic-calibration.ts +175 -0
- package/src/generation-core/critic-prompt.ts +153 -0
- package/src/generation-core/critic-rubric.generated.ts +24 -0
- package/src/generation-core/critic-sheet.ts +203 -0
- package/src/generation-core/critic.ts +175 -0
- package/src/generation-core/design-doc-index.ts +58 -0
- package/src/generation-core/design-motion.ts +247 -0
- package/src/generation-core/design-ops-check.ts +370 -0
- package/src/generation-core/design-ops-of.ts +200 -0
- package/src/generation-core/design-ops.model.ts +239 -0
- package/src/generation-core/design-ops.schema.ts +122 -0
- package/src/generation-core/design-ops.ts +361 -0
- package/src/generation-core/design-recipes.ts +58 -0
- package/src/generation-core/designer-brief.ts +81 -0
- package/src/generation-core/designer-direction.ts +248 -0
- package/src/generation-core/designer-estimate.ts +171 -0
- package/src/generation-core/designer-lessons.generated.ts +653 -0
- package/src/generation-core/designer-lessons.ts +153 -0
- package/src/generation-core/designer-stop.ts +94 -0
- package/src/generation-core/footer-free.ts +23 -2
- package/src/generation-core/footer-mix.ts +60 -14
- package/src/generation-core/layout-language.ts +2 -0
- package/src/generation-core/node-baselines.generated.ts +953 -10
- package/src/generation-core/public-api.ts +21 -0
- package/src/generation-core/site-spec.generated.ts +82 -10
- package/src/generation-core/social-links.ts +370 -0
- package/src/generation-core/structure-fingerprint.ts +565 -0
- package/src/generation-core/templates.ts +39 -3
- package/styles/iox-design.css +26 -1
- package/styles/iox-forms.css +22 -0
|
@@ -6,15 +6,15 @@ import { Subject, fromEvent } from 'rxjs';
|
|
|
6
6
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
7
7
|
import * as i1 from '@angular/common';
|
|
8
8
|
import { CommonModule, isPlatformBrowser } from '@angular/common';
|
|
9
|
-
import { SPEC_AXES, resolveDesignMotion, FILTER_FUNCTIONS, BACKDROP_FUNCTIONS, decomposeCssFunctions, languageOf, FieldClass, HeaderAttribute, HeaderBehaviour, HEADER_HEIGHT_VAR, HeaderInk, OPENING_ATTRIBUTE, schemeOfClasses, schemeUnderBar, BRAND_NAME_ATTRIBUTE, BAR_ATTRIBUTE, BAR_NAME_ATTRIBUTE, MENU_ATTRIBUTES, menuDialogAttributes, menuButtonAttributes, headerAttributes, HeaderTrait, BRAND_ROLE, brandNameAttributes, NAV_ROLE, navBarAttributes, REDUCED_ENTRANCE_MAX_MS, roleClass, preloaderWords, PreloaderKind, preloaderGraphemes, PRELOADER_EXIT_EASE, PRELOADER_CAP_MS, isFirstVisit, PRELOADER_ENTER_EASE, PreloaderExit, PRELOADER_MIN_SHOW_MS, preloaderLeaveAt, preloaderExitMotion, preloaderPercent, inkOnGround, writeFieldError } from '@vectoriox/iox-ui/design-core';
|
|
9
|
+
import { SPEC_AXES, resolveDesignMotion, imageAlt, FILTER_FUNCTIONS, BACKDROP_FUNCTIONS, decomposeCssFunctions, languageOf, FieldClass, HeaderAttribute, HeaderBehaviour, HEADER_HEIGHT_VAR, HeaderInk, OPENING_ATTRIBUTE, schemeOfClasses, schemeUnderBar, BRAND_NAME_ATTRIBUTE, BAR_ATTRIBUTE, BAR_NAME_ATTRIBUTE, MENU_ATTRIBUTES, menuDialogAttributes, menuButtonAttributes, headerAttributes, HeaderTrait, BRAND_ROLE, brandNameAttributes, NAV_ROLE, navBarAttributes, REDUCED_ENTRANCE_MAX_MS, roleClass, preloaderWords, PreloaderKind, preloaderGraphemes, PRELOADER_EXIT_EASE, PRELOADER_CAP_MS, isFirstVisit, PRELOADER_ENTER_EASE, PreloaderExit, PRELOADER_MIN_SHOW_MS, preloaderLeaveAt, preloaderExitMotion, preloaderPercent, inkOnGround, writeFieldError } from '@vectoriox/iox-ui/design-core';
|
|
10
10
|
export * from '@vectoriox/iox-ui/design-core';
|
|
11
11
|
import { setPageScroller, pageScroller, SceneAttribute, SCENE_WAKE_EVENT, SCENE_REVEAL_DEFAULT, SceneRevealFrom, revealClipPath, playTextReveal, textRevealByOf, textRevealLookOf, textRevealStaggerOf, ScrollActionKind, lightMotionWanted, scrubTextReveal, ScrollPlay, gentleFrames, SCENE_PHONE_MAX_WIDTH, normalizeParallaxDepth, normalizeParallaxPhone, parallaxShift, parallaxRest, parallaxFrames, PROGRESS_BAR_FRAMES, ParallaxPhone, outermostNodeOf, normalizeScrollRange, scrollPlayFor, ScrollRange } from '@vectoriox/iox-ui/scene-core';
|
|
12
12
|
import Lenis from 'lenis';
|
|
13
13
|
import { SLIDER_WORDS, sliderPartElement, SliderRole, sliderWords, attachCarouselA11y, attachSliderBar, isSliderPart, SceneRole, MARQUEE_NODE_ATTRIBUTES, POPUP_ATTRIBUTES, popupDialogAttributes, SLIDE_TYPE, SLIDE_CAPTION_TRAIT, marqueeRootAttributes, MarqueeRole, PopupAttribute, PopupTrait, popupWords, PopupForm } from '@vectoriox/iox-ui/composite-core';
|
|
14
14
|
import { getByPath } from '@vectoriox/iox-ui/data-core';
|
|
15
15
|
export * from '@vectoriox/iox-ui/data-core';
|
|
16
|
-
import { closeWord, runExitMotion, isExiting, popoverOpenersSelector, OpenerAttribute, cancelExit, POPOVER_NODE_TYPE, dialogOpenerAttributes, popoverOpenerAttributes, popoverDomId, dialogDomId, COUNT_UP_TRIGGERS, DISSOLVE_ACTION, SCROLL_PROGRESS_TRIGGER, planPopupArrival, ArrivalTrigger, popupDue, popupFormOn, popupMotionScale, popupFadesOnly, overlayTurn, isQuietRoute, popupOfTurn, arrivalFired, focusDialogSheet, popupMemoryStore, PopupMemoryStore, popupMemoryKey, decodePopupMemory, encodePopupMemory, popupVersionOf } from '@vectoriox/iox-ui/actions-core';
|
|
17
|
-
export { SCROLL_PROGRESS_TRIGGER } from '@vectoriox/iox-ui/actions-core';
|
|
16
|
+
import { closeWord, runExitMotion, isExiting, popoverOpenersSelector, OpenerAttribute, cancelExit, POPOVER_NODE_TYPE, dialogOpenerAttributes, popoverOpenerAttributes, popoverDomId, dialogDomId, COUNT_UP_TRIGGERS, DISSOLVE_ACTION, ENTRANCE_ACTION_TYPES, EXIT_ACTION_TYPES, SCROLL_PROGRESS_TRIGGER, planPopupArrival, ArrivalTrigger, popupDue, popupFormOn, popupMotionScale, popupFadesOnly, overlayTurn, isQuietRoute, popupOfTurn, arrivalFired, focusDialogSheet, popupMemoryStore, PopupMemoryStore, popupMemoryKey, decodePopupMemory, encodePopupMemory, popupVersionOf } from '@vectoriox/iox-ui/actions-core';
|
|
17
|
+
export { ENTRANCE_ACTION_TYPES, EXIT_ACTION_TYPES, SCROLL_PROGRESS_TRIGGER } from '@vectoriox/iox-ui/actions-core';
|
|
18
18
|
import { VideoKind, planVideo, videoRootAttributes, videoInnerHtml, videoWords, VideoAttribute, attachVideoAt, VideoClass } from '@vectoriox/iox-ui/media-core';
|
|
19
19
|
import * as i1$1 from '@angular/platform-browser';
|
|
20
20
|
import { listPriceField, formatMoneyValue, CURRENCY_CODES, SHOP_SLOTS } from '@vectoriox/iox-ui/commerce-core';
|
|
@@ -762,6 +762,8 @@ class BuilderImageComponent {
|
|
|
762
762
|
constructor() {
|
|
763
763
|
this.src = 'https://placehold.co/600x400?text=Image';
|
|
764
764
|
this.alt = 'Image';
|
|
765
|
+
/** AD0b C9: the author's "decorative" switch — the picture is announced as nothing (`alt=""`), whatever Alt holds. */
|
|
766
|
+
this.decorative = false;
|
|
765
767
|
this.nodeId = '';
|
|
766
768
|
/**
|
|
767
769
|
* What a MARKED image shows WHENEVER it has no source (design-system DS3) — set by each renderer
|
|
@@ -798,13 +800,13 @@ class BuilderImageComponent {
|
|
|
798
800
|
* the canvas alike (the canvas label is painted inside the placeholder, not announced as content).
|
|
799
801
|
*/
|
|
800
802
|
get altAttr() {
|
|
801
|
-
return this.showsPlaceholder ? '' : this.alt;
|
|
803
|
+
return this.showsPlaceholder ? '' : imageAlt({ alt: this.alt, decorative: this.decorative });
|
|
802
804
|
}
|
|
803
805
|
get ariaHiddenAttr() {
|
|
804
806
|
return this.showsPlaceholder ? 'true' : null;
|
|
805
807
|
}
|
|
806
808
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
807
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderImageComponent, isStandalone: false, selector: "img[iox-img]", inputs: { src: "src", alt: "alt", nodeId: "nodeId", emptySrc: "emptySrc" }, host: { properties: { "attr.src": "srcAttr", "attr.alt": "altAttr", "attr.aria-hidden": "ariaHiddenAttr", "attr.data-iox-empty": "emptyAttr", "class": "'iox-node-' + nodeId" } }, ngImport: i0, template: '', isInline: true, styles: ["img:where([iox-img]){display:block}\n", "[iox-img]{max-width:100%}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
809
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderImageComponent, isStandalone: false, selector: "img[iox-img]", inputs: { src: "src", alt: "alt", decorative: "decorative", nodeId: "nodeId", emptySrc: "emptySrc" }, host: { properties: { "attr.src": "srcAttr", "attr.alt": "altAttr", "attr.aria-hidden": "ariaHiddenAttr", "attr.data-iox-empty": "emptyAttr", "class": "'iox-node-' + nodeId" } }, ngImport: i0, template: '', isInline: true, styles: ["img:where([iox-img]){display:block}\n", "[iox-img]{max-width:100%}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
808
810
|
}
|
|
809
811
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderImageComponent, decorators: [{
|
|
810
812
|
type: Component,
|
|
@@ -819,6 +821,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
819
821
|
type: Input
|
|
820
822
|
}], alt: [{
|
|
821
823
|
type: Input
|
|
824
|
+
}], decorative: [{
|
|
825
|
+
type: Input
|
|
822
826
|
}], nodeId: [{
|
|
823
827
|
type: Input
|
|
824
828
|
}], emptySrc: [{
|
|
@@ -976,6 +980,10 @@ class BuilderLinkComponent {
|
|
|
976
980
|
this.target = '_self';
|
|
977
981
|
this.style = {};
|
|
978
982
|
}
|
|
983
|
+
/** `noopener` for a new tab (the string renderer writes the same), else no attribute. A getter so it is unit-tested. */
|
|
984
|
+
get relAttr() {
|
|
985
|
+
return this.target === '_blank' ? 'noopener' : null;
|
|
986
|
+
}
|
|
979
987
|
get resolvedHref() {
|
|
980
988
|
if (this.linkType !== 'page')
|
|
981
989
|
return this.url || '#';
|
|
@@ -988,13 +996,15 @@ class BuilderLinkComponent {
|
|
|
988
996
|
}
|
|
989
997
|
}
|
|
990
998
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderLinkComponent, deps: [{ token: IS_PREVIEW, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
991
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderLinkComponent, isStandalone: false, selector: "a[iox-link]", inputs: { nodeId: "nodeId", label: "label", linkType: "linkType", url: "url", pageRoute: "pageRoute", target: "target", style: "style" }, host: { listeners: { "click": "onLinkClick($event)", "auxclick": "onLinkClick($event)" }, properties: { "attr.href": "resolvedHref", "attr.target": "target", "class": "'builder-link iox-node-' + nodeId" } }, ngImport: i0, template: `{{ label }}`, isInline: true, styles: [":host{display:inline;cursor:pointer}:host:where(:not(.iox-es)){color:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
999
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderLinkComponent, isStandalone: false, selector: "a[iox-link]", inputs: { nodeId: "nodeId", label: "label", linkType: "linkType", url: "url", pageRoute: "pageRoute", target: "target", style: "style" }, host: { listeners: { "click": "onLinkClick($event)", "auxclick": "onLinkClick($event)" }, properties: { "attr.href": "resolvedHref", "attr.target": "target", "attr.rel": "relAttr", "class": "'builder-link iox-node-' + nodeId" } }, ngImport: i0, template: `{{ label }}`, isInline: true, styles: [":host{display:inline;cursor:pointer}:host:where(:not(.iox-es)){color:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
992
1000
|
}
|
|
993
1001
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderLinkComponent, decorators: [{
|
|
994
1002
|
type: Component,
|
|
995
1003
|
args: [{ selector: 'a[iox-link]', template: `{{ label }}`, host: {
|
|
996
1004
|
'[attr.href]': 'resolvedHref',
|
|
997
1005
|
'[attr.target]': 'target',
|
|
1006
|
+
// A page opened in a new tab never reaches back to the site (the string renderer writes the same; iox-ui#201).
|
|
1007
|
+
'[attr.rel]': 'relAttr',
|
|
998
1008
|
'[class]': "'builder-link iox-node-' + nodeId",
|
|
999
1009
|
'(click)': 'onLinkClick($event)',
|
|
1000
1010
|
'(auxclick)': 'onLinkClick($event)',
|
|
@@ -1056,8 +1066,10 @@ class BuilderButtonComponent {
|
|
|
1056
1066
|
event.preventDefault();
|
|
1057
1067
|
event.target.blur();
|
|
1058
1068
|
}
|
|
1069
|
+
// Escape finishes the edit and KEEPS the words, as Enter and clicking away do (iox-ui#200: it used to drop
|
|
1070
|
+
// them while the canvas still showed them, so Save wrote the old words).
|
|
1059
1071
|
if (event.key === 'Escape') {
|
|
1060
|
-
this.
|
|
1072
|
+
this.commitEdit(event);
|
|
1061
1073
|
event.target.blur();
|
|
1062
1074
|
}
|
|
1063
1075
|
event.stopPropagation();
|
|
@@ -1245,9 +1257,10 @@ class BuilderHeadingComponent {
|
|
|
1245
1257
|
event.preventDefault();
|
|
1246
1258
|
event.target.blur();
|
|
1247
1259
|
}
|
|
1260
|
+
// Escape finishes the edit and KEEPS the words, as Enter and clicking away do (iox-ui#200: it used to drop
|
|
1261
|
+
// them while the canvas still showed them, so Save wrote the old words).
|
|
1248
1262
|
if (ke.key === 'Escape') {
|
|
1249
|
-
this.
|
|
1250
|
-
this.cdr.reattach();
|
|
1263
|
+
this.commitEdit(event);
|
|
1251
1264
|
event.target.blur();
|
|
1252
1265
|
}
|
|
1253
1266
|
event.stopPropagation();
|
|
@@ -1295,6 +1308,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
1295
1308
|
type: Input
|
|
1296
1309
|
}] } });
|
|
1297
1310
|
|
|
1311
|
+
/**
|
|
1312
|
+
* The Text's own defaults, as global CSS (no emulated `[_nghost-…]` attribute), the Image's way (iox-ui#104):
|
|
1313
|
+
*
|
|
1314
|
+
* - `white-space: pre-wrap` (typed spaces and line breaks show) at specificity 0,0,0 (`:where(…)`), so the node's
|
|
1315
|
+
* `.iox-node-<id>` wins: Typography ▸ Line Breaks and ▸ Wrap (AD0b C1). As `:host` (0,1,0) it tied with the node rule
|
|
1316
|
+
* and, appended after it, won — every Text ignored Line Breaks, and the shorthand reset the wrap mode, so Wrap ▸
|
|
1317
|
+
* No Wrap never held on a Text either (measured by the engine's `e2e:batchc`).
|
|
1318
|
+
* - the editing outline stays at 0,2,0, what `:host[contenteditable]` compiled to.
|
|
1319
|
+
*/
|
|
1320
|
+
const TEXT_DEFAULT_CSS = [
|
|
1321
|
+
':where(p[iox-text], span[iox-text]) { white-space: pre-wrap; }',
|
|
1322
|
+
'[iox-text][contenteditable] { outline: none; cursor: text; }',
|
|
1323
|
+
];
|
|
1298
1324
|
/**
|
|
1299
1325
|
* Directive-host Text: the real `<p>`/`<span>` IS the host — no `app-text-block` wrapper,
|
|
1300
1326
|
* no inner/outer split. The tag is chosen by whoever CREATES the component (engine/builder
|
|
@@ -1355,15 +1381,16 @@ class TextBlockComponent {
|
|
|
1355
1381
|
commitInlineEdit(this.node, this.events, 'content', newValue);
|
|
1356
1382
|
}
|
|
1357
1383
|
onKeyDown(event) {
|
|
1384
|
+
// Escape finishes the edit and KEEPS the words, as clicking away does (iox-ui#200: it used to drop them while
|
|
1385
|
+
// the canvas still showed them, so Save wrote the old words).
|
|
1358
1386
|
if (event.key === 'Escape') {
|
|
1359
|
-
this.
|
|
1360
|
-
this.cdr.reattach();
|
|
1387
|
+
this.commitEdit(event);
|
|
1361
1388
|
event.target.blur();
|
|
1362
1389
|
}
|
|
1363
1390
|
event.stopPropagation();
|
|
1364
1391
|
}
|
|
1365
1392
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: TextBlockComponent, deps: [{ token: IOX_BUILDER_EVENTS, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1366
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: TextBlockComponent, isStandalone: false, selector: "p[iox-text],span[iox-text]", inputs: { content: "content", tag: "tag", style: "style", nodeId: "nodeId", node: "node" }, host: { listeners: { "pointerdown": "onPointerDown($event)", "mousedown": "onMouseDown($event)", "dblclick": "startEdit($event)", "blur": "commitEdit($event)", "keydown": "onKeyDown($event)", "paste": "onPaste($event)" }, properties: { "class": "'iox-node-' + nodeId", "innerHTML": "content", "attr.contenteditable": "editing ? 'true' : null" } }, ngImport: i0, template: ``, isInline: true, styles: [":
|
|
1393
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: TextBlockComponent, isStandalone: false, selector: "p[iox-text],span[iox-text]", inputs: { content: "content", tag: "tag", style: "style", nodeId: "nodeId", node: "node" }, host: { listeners: { "pointerdown": "onPointerDown($event)", "mousedown": "onMouseDown($event)", "dblclick": "startEdit($event)", "blur": "commitEdit($event)", "keydown": "onKeyDown($event)", "paste": "onPaste($event)" }, properties: { "class": "'iox-node-' + nodeId", "innerHTML": "content", "attr.contenteditable": "editing ? 'true' : null" } }, ngImport: i0, template: ``, isInline: true, styles: [":where(p[iox-text],span[iox-text]){white-space:pre-wrap}\n", "[iox-text][contenteditable]{outline:none;cursor:text}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
1367
1394
|
}
|
|
1368
1395
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: TextBlockComponent, decorators: [{
|
|
1369
1396
|
type: Component,
|
|
@@ -1377,7 +1404,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
1377
1404
|
'(blur)': 'commitEdit($event)',
|
|
1378
1405
|
'(keydown)': 'onKeyDown($event)',
|
|
1379
1406
|
'(paste)': 'onPaste($event)',
|
|
1380
|
-
}, standalone: false, styles: [":
|
|
1407
|
+
}, encapsulation: ViewEncapsulation.None, standalone: false, styles: [":where(p[iox-text],span[iox-text]){white-space:pre-wrap}\n", "[iox-text][contenteditable]{outline:none;cursor:text}\n"] }]
|
|
1381
1408
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1382
1409
|
type: Optional
|
|
1383
1410
|
}, {
|
|
@@ -1723,6 +1750,31 @@ function isGradientPaint(value) {
|
|
|
1723
1750
|
const BACKDROP_WHOLE_KEY = 'backdropFilter';
|
|
1724
1751
|
/** The prefixed twin emitted beside every composed `backdropFilter` (Safari). */
|
|
1725
1752
|
const BACKDROP_TWIN_KEY = 'WebkitBackdropFilter';
|
|
1753
|
+
// ─── Fade edges (AD0b C5) ───────────────────────────────────────────────────
|
|
1754
|
+
/** The Effects ▸ Fade Edges trait: a WORD the compiler turns into `mask-image`, so a stored value never holds a colour. */
|
|
1755
|
+
const MASK_FADE_KEY = 'maskFade';
|
|
1756
|
+
var MaskFade;
|
|
1757
|
+
(function (MaskFade) {
|
|
1758
|
+
MaskFade["None"] = "none";
|
|
1759
|
+
/** Both inline ends — a marquee's soft edges. Symmetric, so a right-to-left page needs no mirror. */
|
|
1760
|
+
MaskFade["Sides"] = "sides";
|
|
1761
|
+
MaskFade["TopBottom"] = "top-bottom";
|
|
1762
|
+
MaskFade["Top"] = "top";
|
|
1763
|
+
MaskFade["Bottom"] = "bottom";
|
|
1764
|
+
})(MaskFade || (MaskFade = {}));
|
|
1765
|
+
/** How far each fade reaches into the box. A mask reads only alpha: `black` is "shown", not a colour on the page. */
|
|
1766
|
+
const FADE_IN$1 = '12%';
|
|
1767
|
+
const MASK_FADE_IMAGES = {
|
|
1768
|
+
[MaskFade.None]: 'none',
|
|
1769
|
+
[MaskFade.Sides]: `linear-gradient(to right, transparent, black ${FADE_IN$1}, black calc(100% - ${FADE_IN$1}), transparent)`,
|
|
1770
|
+
[MaskFade.TopBottom]: `linear-gradient(to bottom, transparent, black ${FADE_IN$1}, black calc(100% - ${FADE_IN$1}), transparent)`,
|
|
1771
|
+
[MaskFade.Top]: `linear-gradient(to bottom, transparent, black ${FADE_IN$1})`,
|
|
1772
|
+
[MaskFade.Bottom]: `linear-gradient(to bottom, black calc(100% - ${FADE_IN$1}), transparent)`,
|
|
1773
|
+
};
|
|
1774
|
+
/** The `mask-image` a Fade Edges word stands for; undefined for a word the list does not hold. */
|
|
1775
|
+
function maskFadeImage(word) {
|
|
1776
|
+
return typeof word === 'string' ? MASK_FADE_IMAGES[word] : undefined;
|
|
1777
|
+
}
|
|
1726
1778
|
const VIRTUAL_TRAIT_GROUPS = Object.freeze([
|
|
1727
1779
|
{ output: 'filter', keys: FILTER_FUNS.map(([t]) => t), reset: 'none' },
|
|
1728
1780
|
{ output: 'backdropFilter', keys: BACKDROP_FUNS.map(([t]) => t), reset: 'none' },
|
|
@@ -1732,6 +1784,7 @@ const VIRTUAL_TRAIT_GROUPS = Object.freeze([
|
|
|
1732
1784
|
{ output: LINE_CLAMP_OUTPUT, keys: [MAX_LINES_KEY], reset: 'none' },
|
|
1733
1785
|
// A breakpoint that clears the direction follows the parent again.
|
|
1734
1786
|
{ output: DIRECTION_OUTPUT, keys: [TEXT_DIRECTION_KEY, LEGACY_DIRECTION_KEY], reset: 'inherit' },
|
|
1787
|
+
{ output: 'maskImage', keys: [MASK_FADE_KEY], reset: 'none' },
|
|
1735
1788
|
]);
|
|
1736
1789
|
// ─── All virtual trait names ──────────────────────────────────────────────────
|
|
1737
1790
|
/** Every virtual trait key — derived from the groups so there is one list to maintain. */
|
|
@@ -1828,6 +1881,10 @@ function composeVirtualTraits(raw, base = raw) {
|
|
|
1828
1881
|
result[DIRECTION_OUTPUT] = direction;
|
|
1829
1882
|
if (raw === base && isLegacyDefaultAlign(result[TEXT_ALIGN_KEY]))
|
|
1830
1883
|
result[TEXT_ALIGN_KEY] = TextAlign.Start;
|
|
1884
|
+
// AD0b C5: Fade Edges is a word; the mask is the shared table's (unprefixed: every current engine reads it).
|
|
1885
|
+
const fade = maskFadeImage(raw[MASK_FADE_KEY] ?? base[MASK_FADE_KEY]);
|
|
1886
|
+
if (fade !== undefined)
|
|
1887
|
+
result['maskImage'] = fade;
|
|
1831
1888
|
// A gradient Background is an IMAGE. A solid one over a wider/base gradient (a hover, a breakpoint)
|
|
1832
1889
|
// must cancel that image, or the gradient keeps showing through.
|
|
1833
1890
|
const background = result['backgroundColor'];
|
|
@@ -1961,7 +2018,38 @@ const NOOP_INITIAL_VALUES = {
|
|
|
1961
2018
|
// I-beam over the words. Same trade-off as text-transform — a base rule cannot reset an ancestor's cursor with
|
|
1962
2019
|
// `auto`; an author who wants the arrow picks `default`.
|
|
1963
2020
|
'cursor': ['auto'],
|
|
2021
|
+
// AD0b C1: the Line Breaks and Wrap traits' defaults. Both inherited — the text-transform trade-off: a base rule
|
|
2022
|
+
// cannot reset an ancestor's balance with `wrap`; never emitted on every node.
|
|
2023
|
+
'white-space': ['normal'], 'text-wrap': ['wrap'],
|
|
2024
|
+
// AD0b C2: the Object Position trait's default is the CSS initial (the centre).
|
|
2025
|
+
'object-position': ['center', 'center center', '50% 50%'],
|
|
2026
|
+
// AD0b C6: Scroll Snap / Snap To. `none` emitted on every node would undo a component baseline that snaps.
|
|
2027
|
+
'scroll-snap-type': ['none'], 'scroll-snap-align': ['none'],
|
|
2028
|
+
// AD0b C3 / C5: the logical insets' default (as top / left) and Fade Edges' none.
|
|
2029
|
+
'inset-inline-start': ['auto'], 'inset-inline-end': ['auto'],
|
|
2030
|
+
'mask-image': ['none'],
|
|
1964
2031
|
};
|
|
2032
|
+
/**
|
|
2033
|
+
* AD0b C4: a box shorthand goes BEFORE its own sides. Every node holds `margin` / `padding` (the four-value control),
|
|
2034
|
+
* so a side set on its own (`marginBottom`) must come later in the rule to win — whatever order the map was built in.
|
|
2035
|
+
* Returns the map unchanged (same reference) when no shorthand meets a SET side of its own (every node stamps its sides
|
|
2036
|
+
* EMPTY — those never reorder a rule).
|
|
2037
|
+
*/
|
|
2038
|
+
const SHORTHAND_FIRST = ['margin', 'padding', 'inset'];
|
|
2039
|
+
function orderShorthandsFirst(props) {
|
|
2040
|
+
const keys = Object.keys(props);
|
|
2041
|
+
const set = (k) => props[k] !== undefined && props[k] !== null && props[k] !== '';
|
|
2042
|
+
const lead = SHORTHAND_FIRST.filter(s => set(s) && keys.some(k => k !== s && set(k) && k.startsWith(s) && /[A-Z]/.test(k.charAt(s.length))));
|
|
2043
|
+
if (!lead.length)
|
|
2044
|
+
return props;
|
|
2045
|
+
const out = {};
|
|
2046
|
+
for (const k of lead)
|
|
2047
|
+
out[k] = props[k];
|
|
2048
|
+
for (const k of keys)
|
|
2049
|
+
if (!(k in out))
|
|
2050
|
+
out[k] = props[k];
|
|
2051
|
+
return out;
|
|
2052
|
+
}
|
|
1965
2053
|
/**
|
|
1966
2054
|
* Style props a type's render-default fully REPLACES. Emitting them would produce a dead
|
|
1967
2055
|
* declaration that is immediately overridden in the same rule (e.g. an Icon's serialised
|
|
@@ -2027,7 +2115,7 @@ var DeclarationContext;
|
|
|
2027
2115
|
*/
|
|
2028
2116
|
function compileDeclarations(props, importantProps, context = DeclarationContext.Base) {
|
|
2029
2117
|
const out = [];
|
|
2030
|
-
for (const [k, v] of Object.entries(props)) {
|
|
2118
|
+
for (const [k, v] of Object.entries(orderShorthandsFirst(props))) {
|
|
2031
2119
|
if (v === undefined || v === null || v === '')
|
|
2032
2120
|
continue;
|
|
2033
2121
|
const prop = styleKeyToKebab(k);
|
|
@@ -2140,9 +2228,24 @@ function componentStatesFor(type, role, insideItem = false, itemsToPick = false)
|
|
|
2140
2228
|
* on shadow (board 10). Every renderer emits a node's state rules in `orderStatesForEmit` order.
|
|
2141
2229
|
*/
|
|
2142
2230
|
const LAST_EMITTED_STATES = ['focus'];
|
|
2143
|
-
/**
|
|
2231
|
+
/**
|
|
2232
|
+
* The states that say what a node IS — the chosen tab, the open item, the current page, a pressed option, a busy or
|
|
2233
|
+
* disabled control — emitted AFTER every pointer state (AD0 A4, hotel MISSING 11): `:hover` ties with each of them on
|
|
2234
|
+
* specificity, so a hover stored after `on` used to repaint the ON tab's ground on hover. What a node is holds; the hover
|
|
2235
|
+
* styles the others. Focus stays after them all.
|
|
2236
|
+
*/
|
|
2237
|
+
const CHOSEN_STATES = [
|
|
2238
|
+
ComponentState.Current, ComponentState.On, ComponentState.Selected, ComponentState.Busy, ComponentState.Disabled,
|
|
2239
|
+
];
|
|
2240
|
+
/** Where a state's rules go in a node's emit order: 0 the rest (pointer states, scrolled…), 1 the chosen states, 2 focus. */
|
|
2241
|
+
function stateEmitRank(state) {
|
|
2242
|
+
if (LAST_EMITTED_STATES.includes(state))
|
|
2243
|
+
return 2;
|
|
2244
|
+
return CHOSEN_STATES.includes(state) ? 1 : 0;
|
|
2245
|
+
}
|
|
2246
|
+
/** `states` in the order their rules are emitted: as given within a rank — the rest, the chosen states, then focus. */
|
|
2144
2247
|
function orderStatesForEmit(states) {
|
|
2145
|
-
return
|
|
2248
|
+
return states.map((s, i) => ({ s, i, r: stateEmitRank(s) })).sort((a, b) => a.r - b.r || a.i - b.i).map(x => x.s);
|
|
2146
2249
|
}
|
|
2147
2250
|
/** True when a rule key (`<nodeId>:<state>`) holds a state emitted last. */
|
|
2148
2251
|
function isLastEmittedStateKey(key) {
|
|
@@ -2297,8 +2400,8 @@ function renderDefaultDeclarations(type, styleProps) {
|
|
|
2297
2400
|
// on `sp['height'] === undefined` (matching the builder, which respects a configured height). An
|
|
2298
2401
|
// unset height + aspect-ratio lets the ratio drive the box.
|
|
2299
2402
|
if (type === 'Image') {
|
|
2300
|
-
|
|
2301
|
-
|
|
2403
|
+
// AD0 B-D1: no square fallback any more — the builder's Image takes its picture's own shape (its config sets no
|
|
2404
|
+
// ratio), and so does a saved Image that stores none.
|
|
2302
2405
|
// object-fit is a Size style trait with config default 'cover'; that default isn't persisted,
|
|
2303
2406
|
// so reapply it here (matching the builder) when the node has none.
|
|
2304
2407
|
if (sp['objectFit'] === undefined)
|
|
@@ -2926,6 +3029,17 @@ const LEGACY_SWIPER_CONTROLS = {
|
|
|
2926
3029
|
* The easing of the slides is the look's (`slider-ease`, iox-design.css).
|
|
2927
3030
|
*/
|
|
2928
3031
|
const SLIDER_FEEL = { resistanceRatio: 0.65, threshold: 6 };
|
|
3032
|
+
/** AD0b C8: the coverflow angle's range (degrees). 0 is a flat centred row; past 90 a slide shows its back. */
|
|
3033
|
+
const COVERFLOW_ROTATE = { min: 0, max: 90 };
|
|
3034
|
+
/** The coverflow's turn the author set, clamped to {@link COVERFLOW_ROTATE}; null when unset (Swiper keeps its 50). */
|
|
3035
|
+
function coverflowRotate(value) {
|
|
3036
|
+
if (value === null || value === undefined || value === '')
|
|
3037
|
+
return null;
|
|
3038
|
+
const n = typeof value === 'number' ? value : parseFloat(String(value));
|
|
3039
|
+
if (!Number.isFinite(n))
|
|
3040
|
+
return null;
|
|
3041
|
+
return Math.min(COVERFLOW_ROTATE.max, Math.max(COVERFLOW_ROTATE.min, n));
|
|
3042
|
+
}
|
|
2929
3043
|
/**
|
|
2930
3044
|
* A "cards" stack (a list's deck, LI7): each card behind turns a little and peeks out a little; Swiper's shading on it is
|
|
2931
3045
|
* rounded and coloured by the shared CSS (iox-design.css). Under reduced motion the stack keeps its depth and drops the
|
|
@@ -3071,6 +3185,9 @@ function planSwiperOptions(inputs, ctx) {
|
|
|
3071
3185
|
if (!ctx.motion)
|
|
3072
3186
|
options['speed'] = Math.min(options['speed'], SLIDER_CARDS.stillSpeed);
|
|
3073
3187
|
}
|
|
3188
|
+
const turn = effect === 'coverflow' ? coverflowRotate(inputs.coverflowRotate) : null;
|
|
3189
|
+
if (turn !== null)
|
|
3190
|
+
options['coverflowEffect'] = { rotate: turn };
|
|
3074
3191
|
if (effect === 'creative' && inputs.creativePreset === SliderCreativePreset.Fan) {
|
|
3075
3192
|
options['creativeEffect'] = options['dir'] === 'rtl' ? fanSide(ctx.motion ? FAN_STEP : 0, true) : structuredClone(ctx.motion ? SLIDER_FAN.motion : SLIDER_FAN.still);
|
|
3076
3193
|
options['slidesPerView'] = 1;
|
|
@@ -3259,7 +3376,7 @@ const SLIDER_INPUT_NAMES = [
|
|
|
3259
3376
|
'autoHeight', 'slideToClickedSlide', 'freeMode', 'loop', 'enableNavigation', 'enablePagination', 'enableScrollbar', 'enableAutoplay',
|
|
3260
3377
|
'enableKeyboard', 'enableMousewheel', 'enableZoom', 'enableGrid', 'enableParallax', 'autoplayDelay', 'autoplayPauseOnMouseEnter',
|
|
3261
3378
|
'autoplayDisableOnInteraction', 'paginationType', 'paginationClickable', 'paginationDynamicBullets', 'gridRows', 'breakpoints',
|
|
3262
|
-
'scrollPlays', 'creativePreset',
|
|
3379
|
+
'scrollPlays', 'creativePreset', 'coverflowRotate',
|
|
3263
3380
|
];
|
|
3264
3381
|
function sliderInputsFromProps(props, responsive) {
|
|
3265
3382
|
const out = {};
|
|
@@ -3338,6 +3455,8 @@ class ClientSliderContainerComponent {
|
|
|
3338
3455
|
this.scrollPlays = false;
|
|
3339
3456
|
/** AW11-D1: the creative effect's named setting (`fan` — a list's fan you drag). */
|
|
3340
3457
|
this.creativePreset = '';
|
|
3458
|
+
/** AD0b C8: the coverflow's angle (degrees; unset = Swiper's 50). */
|
|
3459
|
+
this.coverflowRotate = null;
|
|
3341
3460
|
this.swiper = null;
|
|
3342
3461
|
this.slidesSeen = false;
|
|
3343
3462
|
/** The slides the renderer placed (it asks `childHostFor` for each, before the first change detection), so a played
|
|
@@ -3392,11 +3511,11 @@ class ClientSliderContainerComponent {
|
|
|
3392
3511
|
autoplayPauseOnMouseEnter: this.autoplayPauseOnMouseEnter, autoplayDisableOnInteraction: this.autoplayDisableOnInteraction,
|
|
3393
3512
|
paginationType: this.paginationType, paginationClickable: this.paginationClickable, paginationDynamicBullets: this.paginationDynamicBullets,
|
|
3394
3513
|
gridRows: this.gridRows, breakpoints: this.breakpoints, responsive: this.responsive, scrollPlays: this.scrollPlays,
|
|
3395
|
-
creativePreset: this.creativePreset,
|
|
3514
|
+
creativePreset: this.creativePreset, coverflowRotate: this.coverflowRotate,
|
|
3396
3515
|
};
|
|
3397
3516
|
}
|
|
3398
3517
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: ClientSliderContainerComponent, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3399
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: ClientSliderContainerComponent, isStandalone: false, selector: "iox-slider-container", inputs: { nodeId: "nodeId", dir: "dir", direction: "direction", loop: "loop", slidesPerView: "slidesPerView", slidesPerGroup: "slidesPerGroup", spaceBetween: "spaceBetween", speed: "speed", effect: "effect", grabCursor: "grabCursor", centeredSlides: "centeredSlides", initialSlide: "initialSlide", autoHeight: "autoHeight", slideToClickedSlide: "slideToClickedSlide", freeMode: "freeMode", enableNavigation: "enableNavigation", enablePagination: "enablePagination", enableScrollbar: "enableScrollbar", enableAutoplay: "enableAutoplay", enableKeyboard: "enableKeyboard", enableMousewheel: "enableMousewheel", enableZoom: "enableZoom", enableGrid: "enableGrid", enableParallax: "enableParallax", autoplayDelay: "autoplayDelay", autoplayPauseOnMouseEnter: "autoplayPauseOnMouseEnter", autoplayDisableOnInteraction: "autoplayDisableOnInteraction", paginationType: "paginationType", paginationClickable: "paginationClickable", paginationDynamicBullets: "paginationDynamicBullets", navigationColor: "navigationColor", paginationColor: "paginationColor", gridRows: "gridRows", breakpoints: "breakpoints", responsive: "responsive", controlParts: "controlParts", scrollPlays: "scrollPlays", creativePreset: "creativePreset" }, viewQueries: [{ propertyName: "childrenHost", first: true, predicate: ["childrenHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "leadHost", first: true, predicate: ["leadHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "trailHost", first: true, predicate: ["trailHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "swiperEl", first: true, predicate: ["swiperEl"], descendants: true, static: true }, { propertyName: "runwayEl", first: true, predicate: ["runwayEl"], descendants: true, static: true }], ngImport: i0, template: `
|
|
3518
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: ClientSliderContainerComponent, isStandalone: false, selector: "iox-slider-container", inputs: { nodeId: "nodeId", dir: "dir", direction: "direction", loop: "loop", slidesPerView: "slidesPerView", slidesPerGroup: "slidesPerGroup", spaceBetween: "spaceBetween", speed: "speed", effect: "effect", grabCursor: "grabCursor", centeredSlides: "centeredSlides", initialSlide: "initialSlide", autoHeight: "autoHeight", slideToClickedSlide: "slideToClickedSlide", freeMode: "freeMode", enableNavigation: "enableNavigation", enablePagination: "enablePagination", enableScrollbar: "enableScrollbar", enableAutoplay: "enableAutoplay", enableKeyboard: "enableKeyboard", enableMousewheel: "enableMousewheel", enableZoom: "enableZoom", enableGrid: "enableGrid", enableParallax: "enableParallax", autoplayDelay: "autoplayDelay", autoplayPauseOnMouseEnter: "autoplayPauseOnMouseEnter", autoplayDisableOnInteraction: "autoplayDisableOnInteraction", paginationType: "paginationType", paginationClickable: "paginationClickable", paginationDynamicBullets: "paginationDynamicBullets", navigationColor: "navigationColor", paginationColor: "paginationColor", gridRows: "gridRows", breakpoints: "breakpoints", responsive: "responsive", controlParts: "controlParts", scrollPlays: "scrollPlays", creativePreset: "creativePreset", coverflowRotate: "coverflowRotate" }, viewQueries: [{ propertyName: "childrenHost", first: true, predicate: ["childrenHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "leadHost", first: true, predicate: ["leadHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "trailHost", first: true, predicate: ["trailHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "swiperEl", first: true, predicate: ["swiperEl"], descendants: true, static: true }, { propertyName: "runwayEl", first: true, predicate: ["runwayEl"], descendants: true, static: true }], ngImport: i0, template: `
|
|
3400
3519
|
<div #runwayEl [class.iox-slider-runway]="scrollPlays" [attr.data-iox-scene]="scrollPlays ? '' : null" [style.display]="scrollPlays ? null : 'contents'">
|
|
3401
3520
|
<div class="swiper" [class]="'swiper iox-node-' + nodeId" [attr.dir]="dir" [style.direction]="dir"
|
|
3402
3521
|
[style.--swiper-navigation-color]="legacyControls ? (navigationColor || null) : null"
|
|
@@ -3512,6 +3631,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
3512
3631
|
type: Input
|
|
3513
3632
|
}], creativePreset: [{
|
|
3514
3633
|
type: Input
|
|
3634
|
+
}], coverflowRotate: [{
|
|
3635
|
+
type: Input
|
|
3515
3636
|
}], childrenHost: [{
|
|
3516
3637
|
type: ViewChild,
|
|
3517
3638
|
args: ['childrenHost', { read: ViewContainerRef, static: true }]
|
|
@@ -8979,8 +9100,12 @@ function partClassName(type, partKey) {
|
|
|
8979
9100
|
*/
|
|
8980
9101
|
const OUTER_STYLE_PROPS = new Set([
|
|
8981
9102
|
'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft',
|
|
9103
|
+
// AD0b C4: the logical sides are margins too — the gap OUTSIDE the box, on the element that sits in the parent's flow.
|
|
9104
|
+
'marginInlineStart', 'marginInlineEnd', 'marginInline', 'marginBlock', 'marginBlockStart', 'marginBlockEnd',
|
|
8982
9105
|
'alignSelf', 'flexGrow', 'flexShrink', 'flexBasis', 'order',
|
|
8983
9106
|
'gridColumn', 'gridRow', 'justifySelf',
|
|
9107
|
+
// AD0b C6: a snap stop belongs to the box that IS the scroll container's child.
|
|
9108
|
+
'scrollSnapAlign',
|
|
8984
9109
|
'width',
|
|
8985
9110
|
]);
|
|
8986
9111
|
/** Structural pseudo-classes — matched on the element that IS the sibling among siblings (the outer). */
|
|
@@ -9055,6 +9180,199 @@ function gateHoverRule(state, css) {
|
|
|
9055
9180
|
return css && isHoverState(state) ? `@media ${HOVER_MEDIA_QUERY} {\n${css}\n}` : css;
|
|
9056
9181
|
}
|
|
9057
9182
|
|
|
9183
|
+
// B-D4 (ai-designer-plan, board ad0b, AD0b-Q5/Q6 as recommended): a row that turns into a column at a breakpoint
|
|
9184
|
+
// stacks its children at their OWN height there.
|
|
9185
|
+
//
|
|
9186
|
+
// SHARED (iox-ui): the builder canvas and the SSR engine both call `compileStackedChildren` with a node's base styles
|
|
9187
|
+
// and its sparse `responsive` layers; each only places the blocks it returns. Never fork a second copy.
|
|
9188
|
+
//
|
|
9189
|
+
// Why: a row's children usually share its width (`flex: 1 1 0`). When the row becomes a column on the phone, that share
|
|
9190
|
+
// becomes a share of the row's HEIGHT — a 100svh split hero is cut in two halves, three features in three thirds, and
|
|
9191
|
+
// each child's words float at the top of an empty slice (designer-loop proof, law 23). The default here gives every
|
|
9192
|
+
// direct child `flex-grow: 0; flex-basis: auto` from the breakpoint where the row stacks — the child hugs its content
|
|
9193
|
+
// (a picture keeps its proportion) and the leftover height stays the parent's, placed by its own alignment.
|
|
9194
|
+
//
|
|
9195
|
+
// The author always wins, by the cascade alone: the rule's selector weighs exactly one class — as much as the child's
|
|
9196
|
+
// own rules — and every renderer emits it AFTER every base rule (it beats the child's laptop share) and BEFORE the
|
|
9197
|
+
// breakpoint rules of that width (a child the author sized there, or anywhere narrower, keeps its size). The order of
|
|
9198
|
+
// the children (`order`) is never touched; the laptop is never touched.
|
|
9199
|
+
//
|
|
9200
|
+
// A GRID that becomes one column (AD-D24, iox-ui#202 b) stacks too: its items sit in row TRACKS, which a one-column grid
|
|
9201
|
+
// with a set height stretches (`align-content: normal` stretches auto tracks; `fr` rows share the height) — the same
|
|
9202
|
+
// third of the screen. There the default is the grid's own `align-content: start` (+ `grid-template-rows: none` where the
|
|
9203
|
+
// author's rows are `fr` tracks): every item its own height, the leftover below them, as a stacked flex row. Same
|
|
9204
|
+
// weight (one class: `.iox-node-<id>`), same place in the cascade — the author's own phone `align-content` / rows win;
|
|
9205
|
+
// a grid whose author chose its `align-content` keeps it. A grid whose columns depend on the width (`auto-fit`,
|
|
9206
|
+
// `auto-fill`) is never judged — nothing is known about it statically.
|
|
9207
|
+
/** What a stacked row's direct child defaults to — its own height, never a share of the column. */
|
|
9208
|
+
const STACKED_CHILD_DEFAULTS = Object.freeze({ flexGrow: '0', flexBasis: 'auto' });
|
|
9209
|
+
/** What kind of box stacks: a flex row (its children get the defaults) or a grid (the grid gets them — AD-D24). */
|
|
9210
|
+
var StackKind;
|
|
9211
|
+
(function (StackKind) {
|
|
9212
|
+
StackKind["Flex"] = "flex";
|
|
9213
|
+
StackKind["Grid"] = "grid";
|
|
9214
|
+
})(StackKind || (StackKind = {}));
|
|
9215
|
+
/** What a grid that becomes one column defaults to — its tracks hug their items (AD-D24). */
|
|
9216
|
+
const STACKED_GRID_DEFAULTS = Object.freeze({ alignContent: 'start' });
|
|
9217
|
+
/** …and, where the author's rows are `fr` tracks (a share of the height), no explicit rows: each row its item's height. */
|
|
9218
|
+
const STACKED_GRID_FR_ROWS = Object.freeze({ gridTemplateRows: 'none' });
|
|
9219
|
+
var FlexAxis;
|
|
9220
|
+
(function (FlexAxis) {
|
|
9221
|
+
FlexAxis["Row"] = "row";
|
|
9222
|
+
FlexAxis["Column"] = "column";
|
|
9223
|
+
})(FlexAxis || (FlexAxis = {}));
|
|
9224
|
+
const isFlexDisplay = (display) => {
|
|
9225
|
+
const d = String(display ?? '').trim();
|
|
9226
|
+
return d === 'flex' || d === 'inline-flex';
|
|
9227
|
+
};
|
|
9228
|
+
const isGridDisplay = (display) => {
|
|
9229
|
+
const d = String(display ?? '').trim();
|
|
9230
|
+
return d === 'grid' || d === 'inline-grid';
|
|
9231
|
+
};
|
|
9232
|
+
/** The top-level tokens of a track list (`repeat(2, minmax(0, 1fr)) 1fr` → two), line names (`[a]`) left out. */
|
|
9233
|
+
function trackTokens(list) {
|
|
9234
|
+
const out = [];
|
|
9235
|
+
let depth = 0;
|
|
9236
|
+
let token = '';
|
|
9237
|
+
for (const ch of list) {
|
|
9238
|
+
if (ch === '(' || ch === '[')
|
|
9239
|
+
depth++;
|
|
9240
|
+
if (ch === ')' || ch === ']')
|
|
9241
|
+
depth--;
|
|
9242
|
+
if (/\s/.test(ch) && depth === 0) {
|
|
9243
|
+
if (token)
|
|
9244
|
+
out.push(token);
|
|
9245
|
+
token = '';
|
|
9246
|
+
continue;
|
|
9247
|
+
}
|
|
9248
|
+
token += ch;
|
|
9249
|
+
}
|
|
9250
|
+
if (token)
|
|
9251
|
+
out.push(token);
|
|
9252
|
+
return out.filter(t => !t.startsWith('['));
|
|
9253
|
+
}
|
|
9254
|
+
/**
|
|
9255
|
+
* How many columns a `grid-template-columns` value draws: none / unset = one (the implicit column), `repeat(n, …)` counts
|
|
9256
|
+
* its tracks n times. null when the count depends on the width (`auto-fit` / `auto-fill`) or cannot be read.
|
|
9257
|
+
*/
|
|
9258
|
+
function gridColumnCount(value) {
|
|
9259
|
+
const v = String(value ?? '').trim();
|
|
9260
|
+
if (!v || v === 'none' || v === 'auto')
|
|
9261
|
+
return 1;
|
|
9262
|
+
let count = 0;
|
|
9263
|
+
for (const token of trackTokens(v)) {
|
|
9264
|
+
const rep = /^repeat\(\s*([^,]+),(.*)\)$/.exec(token);
|
|
9265
|
+
if (!rep) {
|
|
9266
|
+
count++;
|
|
9267
|
+
continue;
|
|
9268
|
+
}
|
|
9269
|
+
const times = Number(rep[1].trim());
|
|
9270
|
+
if (!Number.isInteger(times) || times < 1)
|
|
9271
|
+
return null;
|
|
9272
|
+
count += times * trackTokens(rep[2].trim()).length;
|
|
9273
|
+
}
|
|
9274
|
+
return count;
|
|
9275
|
+
}
|
|
9276
|
+
const FR_TRACK = /\dfr\b/;
|
|
9277
|
+
const AUTHOR_ALIGN_UNSET = new Set(['', 'normal']);
|
|
9278
|
+
/** A one-column grid's defaults at a width: `align-content: start` unless the author chose one, rows `none` when they share the height. */
|
|
9279
|
+
function gridColumnDefaults(props) {
|
|
9280
|
+
return {
|
|
9281
|
+
...(AUTHOR_ALIGN_UNSET.has(String(props['alignContent'] ?? '').trim()) ? STACKED_GRID_DEFAULTS : {}),
|
|
9282
|
+
...(FR_TRACK.test(String(props['gridTemplateRows'] ?? '')) ? STACKED_GRID_FR_ROWS : {}),
|
|
9283
|
+
};
|
|
9284
|
+
}
|
|
9285
|
+
/** The axis a box lays its children on, and its kind, or null when it is neither a flex box nor a grid of known columns. */
|
|
9286
|
+
function stackBoxOf(props) {
|
|
9287
|
+
if (isFlexDisplay(props['display'])) {
|
|
9288
|
+
return { kind: StackKind.Flex, axis: String(props['flexDirection'] ?? '').trim().startsWith('column') ? FlexAxis.Column : FlexAxis.Row };
|
|
9289
|
+
}
|
|
9290
|
+
if (!isGridDisplay(props['display']))
|
|
9291
|
+
return null;
|
|
9292
|
+
const columns = gridColumnCount(props['gridTemplateColumns']);
|
|
9293
|
+
if (columns === null)
|
|
9294
|
+
return null;
|
|
9295
|
+
return columns > 1 ? { kind: StackKind.Grid, axis: FlexAxis.Row } : { kind: StackKind.Grid, axis: FlexAxis.Column, grid: gridColumnDefaults(props) };
|
|
9296
|
+
}
|
|
9297
|
+
const sameStack = (a, b) => a.kind === b.kind && JSON.stringify(a.grid ?? null) === JSON.stringify(b.kind === StackKind.Grid ? b.grid ?? {} : null);
|
|
9298
|
+
/**
|
|
9299
|
+
* Where a node's children stack: every breakpoint at which its effective layout turns from a row (just wider — a flex row,
|
|
9300
|
+
* or a grid of two or more columns) into a column (a flex column, or a one-column grid), each up to the narrower
|
|
9301
|
+
* breakpoint where it stops being one. Only a row of the column's own kind stacks (a grid that turns into a flex box
|
|
9302
|
+
* changes its layout altogether). A node with no breakpoint layer never changes — nothing. A one-column grid whose author already placed it (its own
|
|
9303
|
+
* `align-content`, no `fr` rows) needs nothing either.
|
|
9304
|
+
*/
|
|
9305
|
+
function planStackedChildren(styleProps, responsive) {
|
|
9306
|
+
if (!responsive || !Object.keys(responsive).length)
|
|
9307
|
+
return [];
|
|
9308
|
+
const rules = [];
|
|
9309
|
+
let open = null;
|
|
9310
|
+
const start = (bp, box) => {
|
|
9311
|
+
const rule = { breakpoint: bp, until: null, kind: box.kind, ...(box.kind === StackKind.Grid ? { grid: box.grid ?? {} } : {}) };
|
|
9312
|
+
rules.push(rule);
|
|
9313
|
+
return rule;
|
|
9314
|
+
};
|
|
9315
|
+
let wider = stackBoxOf(resolveStyleProps(styleProps, responsive, Breakpoint.Base));
|
|
9316
|
+
for (const def of BREAKPOINTS) {
|
|
9317
|
+
if (def.id === Breakpoint.Base)
|
|
9318
|
+
continue;
|
|
9319
|
+
const bp = def.id;
|
|
9320
|
+
const here = stackBoxOf(resolveStyleProps(styleProps, responsive, bp));
|
|
9321
|
+
const column = here?.axis === FlexAxis.Column ? here : null;
|
|
9322
|
+
if (open && (!column || !sameStack(open, column))) {
|
|
9323
|
+
const ending = open;
|
|
9324
|
+
ending.until = bp;
|
|
9325
|
+
// the same kind of column, placed otherwise from here (an author's own phone `align-content`): a rule of its own
|
|
9326
|
+
open = column && column.kind === ending.kind ? start(bp, column) : null;
|
|
9327
|
+
}
|
|
9328
|
+
// A row turns into a column OF ITS OWN KIND: a flex row → a flex column, a grid of columns → one column. A grid
|
|
9329
|
+
// that becomes a flex box (or the other way) changes its layout altogether — not a stack, nothing.
|
|
9330
|
+
if (!open && column && wider?.axis === FlexAxis.Row && wider.kind === column.kind)
|
|
9331
|
+
open = start(bp, column);
|
|
9332
|
+
wider = here;
|
|
9333
|
+
}
|
|
9334
|
+
return rules.filter(r => r.kind === StackKind.Flex || Object.keys(r.grid ?? {}).length > 0);
|
|
9335
|
+
}
|
|
9336
|
+
/**
|
|
9337
|
+
* The node's direct children, whatever element each renders as: a component's host (`iox-outer-*`) or a one-element node
|
|
9338
|
+
* (`iox-node-*`, an Image). `:where()` keeps the parent weightless, `:is()` weighs one class — the child's own rules' weight.
|
|
9339
|
+
*/
|
|
9340
|
+
function stackedChildSelector(cssId) {
|
|
9341
|
+
return `:where(.iox-node-${cssId}) > :is([class*="iox-outer-"], [class*="iox-node-"])`;
|
|
9342
|
+
}
|
|
9343
|
+
/** A one-column grid's own rule: the node itself, at one class — the weight of its own rules. */
|
|
9344
|
+
function stackedGridSelector(cssId) {
|
|
9345
|
+
return `.iox-node-${cssId}`;
|
|
9346
|
+
}
|
|
9347
|
+
/** The query a rule holds under: its breakpoint's `max-width`, and the next one's `min-width` when it stops before the narrowest. */
|
|
9348
|
+
function stackedChildQuery(rule, kind = BreakpointQueryKind.Media, containerName) {
|
|
9349
|
+
const max = breakpointDef(rule.breakpoint)?.maxWidth;
|
|
9350
|
+
const untilMax = rule.until ? breakpointDef(rule.until)?.maxWidth : null;
|
|
9351
|
+
const range = untilMax != null ? `(min-width: ${untilMax + 1}px) and (max-width: ${max}px)` : `(max-width: ${max}px)`;
|
|
9352
|
+
if (kind === BreakpointQueryKind.Media)
|
|
9353
|
+
return `@media ${range}`;
|
|
9354
|
+
if (!containerName)
|
|
9355
|
+
throw new Error('A container breakpoint query needs a container name');
|
|
9356
|
+
return `@container ${containerName} ${range}`;
|
|
9357
|
+
}
|
|
9358
|
+
/**
|
|
9359
|
+
* THE B-D4 rule, compiled: one block per stretch where `cssId`'s row stacks, each to be placed after every base rule and
|
|
9360
|
+
* before the breakpoint rules of `breakpoint` (the engine wraps in `@media`, the canvas in its `@container`). A flex row's
|
|
9361
|
+
* block sizes its children; a grid's (AD-D24) places its own tracks. Declarations are compiled in the Override context —
|
|
9362
|
+
* `0`, `auto` and `none` undo the wider value, they are not no-ops here.
|
|
9363
|
+
*/
|
|
9364
|
+
function compileStackedChildren(cssId, styleProps, responsive, kind = BreakpointQueryKind.Media, containerName) {
|
|
9365
|
+
if (!cssId)
|
|
9366
|
+
return [];
|
|
9367
|
+
const childDecls = compileDeclarations({ ...STACKED_CHILD_DEFAULTS }, undefined, DeclarationContext.Override);
|
|
9368
|
+
return planStackedChildren(styleProps, responsive).map(rule => {
|
|
9369
|
+
const [selector, decls] = rule.kind === StackKind.Grid
|
|
9370
|
+
? [stackedGridSelector(cssId), compileDeclarations({ ...rule.grid }, undefined, DeclarationContext.Override)]
|
|
9371
|
+
: [stackedChildSelector(cssId), childDecls];
|
|
9372
|
+
return { ...rule, css: `${stackedChildQuery(rule, kind, containerName)} {\n${selector} { ${decls.join('; ')} }\n}` };
|
|
9373
|
+
});
|
|
9374
|
+
}
|
|
9375
|
+
|
|
9058
9376
|
/**
|
|
9059
9377
|
* "This link is the page you're on" (CC1, N2). ONE decision for the builder canvas and both engine
|
|
9060
9378
|
* paths: a link whose target is the current page renders `aria-current="page"` — in the raw SSR too —
|
|
@@ -9998,10 +10316,6 @@ var ScrollActionType;
|
|
|
9998
10316
|
ScrollActionType["Parallax"] = "parallax";
|
|
9999
10317
|
ScrollActionType["ProgressBar"] = "progressBar";
|
|
10000
10318
|
})(ScrollActionType || (ScrollActionType = {}));
|
|
10001
|
-
/** Actions that reveal an element (hidden → visible). Their FIRST frame is the pre-state. */
|
|
10002
|
-
const ENTRANCE_ACTION_TYPES = new Set(['fadeIn', 'moveUp', 'moveDown', 'moveLeft', 'moveRight', 'scaleIn', VisibilityActionType.Show, RevealActionType.Clip, RevealActionType.Zoom, RevealActionType.Text, RevealActionType.Blur]);
|
|
10003
|
-
/** Actions that hide an element (visible → hidden). */
|
|
10004
|
-
const EXIT_ACTION_TYPES = new Set(['fadeOut', 'scaleOut', VisibilityActionType.Hide, DISSOLVE_ACTION]);
|
|
10005
10319
|
/** How far a dissolve grows when its stamp names no `grow` (the opening's picture — the contract's `rules.dissolve`). */
|
|
10006
10320
|
const DISSOLVE_GROW_DEFAULT = 1.5;
|
|
10007
10321
|
/** A dissolve grows at least a little and never more than twice its size. */
|
|
@@ -10120,15 +10434,50 @@ function settleInteraction(el, frames, mode, options = {}, anim) {
|
|
|
10120
10434
|
}
|
|
10121
10435
|
anim?.cancel();
|
|
10122
10436
|
}
|
|
10437
|
+
/** The members of a computed keyframe that are not an animated property. */
|
|
10438
|
+
const KEYFRAME_TIMING_KEYS = new Set(['offset', 'computedOffset', 'easing', 'composite']);
|
|
10123
10439
|
/** The keyframe properties an Animation animates (camelCase, as `getKeyframes` names them). */
|
|
10124
10440
|
function animatedKeys(anim) {
|
|
10125
10441
|
const keyframes = anim.effect?.getKeyframes?.() ?? [];
|
|
10126
|
-
|
|
10127
|
-
return keyframes.flatMap(k => Object.keys(k).filter(key => !skip.has(key)));
|
|
10442
|
+
return keyframes.flatMap(k => Object.keys(k).filter(key => !KEYFRAME_TIMING_KEYS.has(key)));
|
|
10128
10443
|
}
|
|
10444
|
+
/** The properties each run in flight has handed to a later run (`handOver`). */
|
|
10445
|
+
const HANDED_OVER = new WeakMap();
|
|
10129
10446
|
/**
|
|
10130
|
-
*
|
|
10131
|
-
*
|
|
10447
|
+
* A run in flight gives `keys` to the run that interrupts it and KEEPS PLAYING what it animates besides (AD0 A1,
|
|
10448
|
+
* iox-ui#199): two entrances on one element (Blur in + Move up) share only their opacity — before, the second
|
|
10449
|
+
* cancelled the first outright, which never settled, and its start frame (`filter: blur(4px)`) stayed inline. A run
|
|
10450
|
+
* left with nothing of its own is cancelled, as before (a hover-out turning a hover-in around). True when it was
|
|
10451
|
+
* cancelled. An Animation that cannot change its keyframes (a stub) is cancelled.
|
|
10452
|
+
*/
|
|
10453
|
+
function handOver(anim, keys) {
|
|
10454
|
+
const effect = anim.effect;
|
|
10455
|
+
const kept = animatedKeys(anim).filter(k => !keys.has(k));
|
|
10456
|
+
if (!kept.length || typeof effect?.setKeyframes !== 'function') {
|
|
10457
|
+
anim.cancel();
|
|
10458
|
+
return true;
|
|
10459
|
+
}
|
|
10460
|
+
effect.setKeyframes(effect.getKeyframes().map(frame => Object.fromEntries(Object.entries(frame)
|
|
10461
|
+
.filter(([key]) => key !== 'computedOffset' && !keys.has(key)))));
|
|
10462
|
+
const given = HANDED_OVER.get(anim) ?? new Set();
|
|
10463
|
+
for (const k of keys)
|
|
10464
|
+
given.add(k);
|
|
10465
|
+
HANDED_OVER.set(anim, given);
|
|
10466
|
+
return false;
|
|
10467
|
+
}
|
|
10468
|
+
/** The frames of a run without the properties it handed to a later run — what its settle may touch: a property handed
|
|
10469
|
+
* over is the later run's to settle (an exit's held `opacity: 0` is never released by the entrance it interrupted). */
|
|
10470
|
+
function framesStillAnimated(anim, frames) {
|
|
10471
|
+
const given = anim ? HANDED_OVER.get(anim) : undefined;
|
|
10472
|
+
const all = [...(frames ?? [])];
|
|
10473
|
+
if (!given?.size)
|
|
10474
|
+
return all;
|
|
10475
|
+
return all.map(frame => Object.fromEntries(Object.entries(frame).filter(([key]) => !given.has(key))));
|
|
10476
|
+
}
|
|
10477
|
+
/**
|
|
10478
|
+
* Interrupt (Emil 52/59/62): the interaction runs in flight on `el` over the same properties hand them over — never
|
|
10479
|
+
* stacked; a run keeps playing only what the new one does not animate (`handOver`) — and the new run starts from what
|
|
10480
|
+
* the element shows NOW (its presentation value), not from frame 0: a
|
|
10132
10481
|
* hover-out halfway through the hover-in turns back from where it is, a re-trigger continues. Untouched when
|
|
10133
10482
|
* nothing is running (the run starts from its own first frame, as before).
|
|
10134
10483
|
*/
|
|
@@ -10149,7 +10498,7 @@ function framesFromLiveValue(el, frames) {
|
|
|
10149
10498
|
live[key] = value;
|
|
10150
10499
|
}
|
|
10151
10500
|
for (const anim of running)
|
|
10152
|
-
anim
|
|
10501
|
+
handOver(anim, keys);
|
|
10153
10502
|
return [live, ...frames.slice(1)];
|
|
10154
10503
|
}
|
|
10155
10504
|
/**
|
|
@@ -10160,7 +10509,7 @@ function framesFromLiveValue(el, frames) {
|
|
|
10160
10509
|
function playInteraction(el, action, frames, timing, options = {}) {
|
|
10161
10510
|
const anim = animateAction(el, action, frames, { fill: 'both', ...timing }, { reverse: options.reverse });
|
|
10162
10511
|
const mode = settleModeFor(action.type, options.reverse);
|
|
10163
|
-
anim.finished?.then(() => settleInteraction(el, frames, mode, options, anim)).catch(() => { });
|
|
10512
|
+
anim.finished?.then(() => settleInteraction(el, framesStillAnimated(anim, frames), mode, options, anim)).catch(() => { });
|
|
10164
10513
|
return anim;
|
|
10165
10514
|
}
|
|
10166
10515
|
/**
|
|
@@ -14492,5 +14841,5 @@ class PopupRuntime {
|
|
|
14492
14841
|
* Generated bundle index. Do not edit.
|
|
14493
14842
|
*/
|
|
14494
14843
|
|
|
14495
|
-
export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COLOUR_FLOW_CLASS, COLOUR_FLOW_MAX_STOPS, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DISSOLVE_GROW_DEFAULT, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS,
|
|
14844
|
+
export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, CHOSEN_STATES, COLOUR_FLOW_CLASS, COLOUR_FLOW_MAX_STOPS, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, COVERFLOW_ROTATE, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DISSOLVE_GROW_DEFAULT, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FLOW_STOPS_PROPERTY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, IMAGE_DEFAULT_CSS, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MASK_FADE_IMAGES, MASK_FADE_KEY, MAX_LINES_KEY, MaskFade, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STACKED_CHILD_DEFAULTS, STACKED_GRID_DEFAULTS, STACKED_GRID_FR_ROWS, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StackKind, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DEFAULT_CSS, TEXT_DIRECTION_KEY, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachColourFlow, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover$1 as canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, colourFlowOpacities, commitInlineEdit, compileDeclarations, compilePageStyle, compileStackedChildren, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, coverflowRotate, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, dissolveGrowOf, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, flowStopProperty, flowStopsIn, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, framesStillAnimated, gateHoverRule, getSeoValue, gridColumnCount, groundHeadersIn, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerHeightScopeOf, headerShouldHide, heldFrames, hideFromTopLayer, hidingHeadersIn, holdsOnScreen, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, maskFadeImage, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderShorthandsFirst, orderStatesForEmit, pageLanguageOf, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStackedChildren, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stackedChildQuery, stackedChildSelector, stackedGridSelector, stateEmitRank, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderHeight, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
|
|
14496
14845
|
//# sourceMappingURL=vectoriox-iox-ui.mjs.map
|