@aurodesignsystem/auro-formkit 5.8.1 → 5.9.1
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/CHANGELOG.md +4 -15
- package/README.md +4 -4
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +2 -2
- package/components/bibtemplate/dist/registered.js +2 -2
- package/components/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.md +7 -6
- package/components/combobox/demo/api.min.js +1698 -1038
- package/components/combobox/demo/index.min.js +1698 -1038
- package/components/combobox/dist/auro-combobox.d.ts +10 -8
- package/components/combobox/dist/index.js +128 -149
- package/components/combobox/dist/registered.js +128 -149
- package/components/counter/demo/api.min.js +37 -61
- package/components/counter/demo/index.min.js +37 -61
- package/components/counter/dist/index.js +37 -61
- package/components/counter/dist/registered.js +37 -61
- package/components/datepicker/demo/api.min.js +55 -148
- package/components/datepicker/demo/index.min.js +55 -148
- package/components/datepicker/dist/auro-datepicker.d.ts +1 -1
- package/components/datepicker/dist/iconVersion.d.ts +1 -1
- package/components/datepicker/dist/index.js +55 -148
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +55 -148
- package/components/dropdown/demo/api.min.js +33 -57
- package/components/dropdown/demo/index.min.js +33 -57
- package/components/dropdown/dist/iconVersion.d.ts +1 -1
- package/components/dropdown/dist/index.js +33 -57
- package/components/dropdown/dist/registered.js +33 -57
- package/components/form/demo/working.html +1 -1
- package/components/input/demo/api.min.js +5 -4
- package/components/input/demo/index.min.js +5 -4
- package/components/input/dist/base-input.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +5 -4
- package/components/input/dist/registered.js +5 -4
- package/components/menu/demo/api.js +4 -0
- package/components/menu/demo/api.md +271 -31
- package/components/menu/demo/api.min.js +1609 -863
- package/components/menu/demo/index.html +1 -0
- package/components/menu/demo/index.js +2 -0
- package/components/menu/demo/index.md +95 -1
- package/components/menu/demo/index.min.js +1544 -812
- package/components/menu/dist/auro-menu.context.d.ts +227 -0
- package/components/menu/dist/auro-menu.d.ts +98 -53
- package/components/menu/dist/auro-menuoption.d.ts +116 -14
- package/components/menu/dist/index.js +1457 -796
- package/components/menu/dist/registered.js +1456 -807
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.md +8 -7
- package/components/select/demo/api.min.js +1617 -1056
- package/components/select/demo/index.min.js +1617 -1056
- package/components/select/dist/auro-select.d.ts +11 -35
- package/components/select/dist/index.js +98 -218
- package/components/select/dist/registered.js +98 -218
- package/package.json +8 -2
|
@@ -214,9 +214,8 @@ function getOppositeAxis(axis) {
|
|
|
214
214
|
function getAxisLength(axis) {
|
|
215
215
|
return axis === 'y' ? 'height' : 'width';
|
|
216
216
|
}
|
|
217
|
-
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
218
217
|
function getSideAxis(placement) {
|
|
219
|
-
return
|
|
218
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
220
219
|
}
|
|
221
220
|
function getAlignmentAxis(placement) {
|
|
222
221
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -241,19 +240,19 @@ function getExpandedPlacements(placement) {
|
|
|
241
240
|
function getOppositeAlignmentPlacement(placement) {
|
|
242
241
|
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
243
242
|
}
|
|
244
|
-
const lrPlacement = ['left', 'right'];
|
|
245
|
-
const rlPlacement = ['right', 'left'];
|
|
246
|
-
const tbPlacement = ['top', 'bottom'];
|
|
247
|
-
const btPlacement = ['bottom', 'top'];
|
|
248
243
|
function getSideList(side, isStart, rtl) {
|
|
244
|
+
const lr = ['left', 'right'];
|
|
245
|
+
const rl = ['right', 'left'];
|
|
246
|
+
const tb = ['top', 'bottom'];
|
|
247
|
+
const bt = ['bottom', 'top'];
|
|
249
248
|
switch (side) {
|
|
250
249
|
case 'top':
|
|
251
250
|
case 'bottom':
|
|
252
|
-
if (rtl) return isStart ?
|
|
253
|
-
return isStart ?
|
|
251
|
+
if (rtl) return isStart ? rl : lr;
|
|
252
|
+
return isStart ? lr : rl;
|
|
254
253
|
case 'left':
|
|
255
254
|
case 'right':
|
|
256
|
-
return isStart ?
|
|
255
|
+
return isStart ? tb : bt;
|
|
257
256
|
default:
|
|
258
257
|
return [];
|
|
259
258
|
}
|
|
@@ -694,22 +693,16 @@ const flip$1 = function (options) {
|
|
|
694
693
|
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
695
694
|
const nextPlacement = placements[nextIndex];
|
|
696
695
|
if (nextPlacement) {
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
},
|
|
708
|
-
reset: {
|
|
709
|
-
placement: nextPlacement
|
|
710
|
-
}
|
|
711
|
-
};
|
|
712
|
-
}
|
|
696
|
+
// Try next placement and re-run the lifecycle.
|
|
697
|
+
return {
|
|
698
|
+
data: {
|
|
699
|
+
index: nextIndex,
|
|
700
|
+
overflows: overflowsData
|
|
701
|
+
},
|
|
702
|
+
reset: {
|
|
703
|
+
placement: nextPlacement
|
|
704
|
+
}
|
|
705
|
+
};
|
|
713
706
|
}
|
|
714
707
|
|
|
715
708
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
@@ -755,8 +748,6 @@ const flip$1 = function (options) {
|
|
|
755
748
|
};
|
|
756
749
|
};
|
|
757
750
|
|
|
758
|
-
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
759
|
-
|
|
760
751
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
761
752
|
// Derivable.
|
|
762
753
|
|
|
@@ -770,7 +761,7 @@ async function convertValueToCoords(state, options) {
|
|
|
770
761
|
const side = getSide(placement);
|
|
771
762
|
const alignment = getAlignment(placement);
|
|
772
763
|
const isVertical = getSideAxis(placement) === 'y';
|
|
773
|
-
const mainAxisMulti =
|
|
764
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
774
765
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
775
766
|
const rawValue = evaluate(options, state);
|
|
776
767
|
|
|
@@ -963,7 +954,6 @@ function isShadowRoot(value) {
|
|
|
963
954
|
}
|
|
964
955
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
965
956
|
}
|
|
966
|
-
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
967
957
|
function isOverflowElement(element) {
|
|
968
958
|
const {
|
|
969
959
|
overflow,
|
|
@@ -971,32 +961,27 @@ function isOverflowElement(element) {
|
|
|
971
961
|
overflowY,
|
|
972
962
|
display
|
|
973
963
|
} = getComputedStyle$1(element);
|
|
974
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !
|
|
964
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
975
965
|
}
|
|
976
|
-
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
977
966
|
function isTableElement(element) {
|
|
978
|
-
return
|
|
967
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
979
968
|
}
|
|
980
|
-
const topLayerSelectors = [':popover-open', ':modal'];
|
|
981
969
|
function isTopLayer(element) {
|
|
982
|
-
return
|
|
970
|
+
return [':popover-open', ':modal'].some(selector => {
|
|
983
971
|
try {
|
|
984
972
|
return element.matches(selector);
|
|
985
|
-
} catch (
|
|
973
|
+
} catch (e) {
|
|
986
974
|
return false;
|
|
987
975
|
}
|
|
988
976
|
});
|
|
989
977
|
}
|
|
990
|
-
const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
|
|
991
|
-
const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
|
|
992
|
-
const containValues = ['paint', 'layout', 'strict', 'content'];
|
|
993
978
|
function isContainingBlock(elementOrCss) {
|
|
994
979
|
const webkit = isWebKit();
|
|
995
980
|
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
996
981
|
|
|
997
982
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
998
983
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
999
|
-
return
|
|
984
|
+
return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
1000
985
|
}
|
|
1001
986
|
function getContainingBlock(element) {
|
|
1002
987
|
let currentNode = getParentNode(element);
|
|
@@ -1014,9 +999,8 @@ function isWebKit() {
|
|
|
1014
999
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
1015
1000
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
1016
1001
|
}
|
|
1017
|
-
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
1018
1002
|
function isLastTraversableNode(node) {
|
|
1019
|
-
return
|
|
1003
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
1020
1004
|
}
|
|
1021
1005
|
function getComputedStyle$1(element) {
|
|
1022
1006
|
return getWindow(element).getComputedStyle(element);
|
|
@@ -1321,7 +1305,6 @@ function getViewportRect(element, strategy) {
|
|
|
1321
1305
|
};
|
|
1322
1306
|
}
|
|
1323
1307
|
|
|
1324
|
-
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
1325
1308
|
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1326
1309
|
function getInnerBoundingClientRect(element, strategy) {
|
|
1327
1310
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
@@ -1386,7 +1369,7 @@ function getClippingElementAncestors(element, cache) {
|
|
|
1386
1369
|
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1387
1370
|
currentContainingBlockComputedStyle = null;
|
|
1388
1371
|
}
|
|
1389
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle &&
|
|
1372
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1390
1373
|
if (shouldDropCurrentNode) {
|
|
1391
1374
|
// Drop non-containing blocks.
|
|
1392
1375
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
@@ -1449,12 +1432,6 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1449
1432
|
scrollTop: 0
|
|
1450
1433
|
};
|
|
1451
1434
|
const offsets = createCoords(0);
|
|
1452
|
-
|
|
1453
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1454
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1455
|
-
function setLeftRTLScrollbarOffset() {
|
|
1456
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1457
|
-
}
|
|
1458
1435
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1459
1436
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1460
1437
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -1464,12 +1441,11 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1464
1441
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1465
1442
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1466
1443
|
} else if (documentElement) {
|
|
1467
|
-
|
|
1444
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1445
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1446
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1468
1447
|
}
|
|
1469
1448
|
}
|
|
1470
|
-
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
1471
|
-
setLeftRTLScrollbarOffset();
|
|
1472
|
-
}
|
|
1473
1449
|
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1474
1450
|
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1475
1451
|
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
@@ -1646,7 +1622,7 @@ function observeMove(element, onMove) {
|
|
|
1646
1622
|
// Handle <iframe>s
|
|
1647
1623
|
root: root.ownerDocument
|
|
1648
1624
|
});
|
|
1649
|
-
} catch (
|
|
1625
|
+
} catch (e) {
|
|
1650
1626
|
io = new IntersectionObserver(handleObserve, options);
|
|
1651
1627
|
}
|
|
1652
1628
|
io.observe(element);
|
|
@@ -2742,7 +2718,7 @@ class AuroDependencyVersioning {
|
|
|
2742
2718
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2743
2719
|
*/const o=o=>o??E;
|
|
2744
2720
|
|
|
2745
|
-
class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}}var u='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';class m extends i{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}}const g=new Map,f=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g.has(t)||g.set(t,fetch(t).then(e)),g.get(t)};var w=i$2`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;
|
|
2721
|
+
class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}}var u='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';class m extends i{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}}const g=new Map,f=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g.has(t)||g.set(t,fetch(t).then(e)),g.get(t)};var w=i$2`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex;line-height:var(--ds-auro-icon-size)}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.svgWrapper [part=svg]{display:flex}.labelWrapper{margin-left:var(--ds-size-50, .25rem)}.labelWrapper ::slotted(*){line-height:inherit!important}
|
|
2746
2722
|
`;class z extends m{constructor(){super(),this.onDark=false,this.appearance="default";}static get properties(){return {...m.properties,onDark:{type:Boolean,reflect:true},appearance:{type:String,reflect:true},svg:{attribute:false,reflect:true}}}static get styles(){return w}async fetchIcon(t,a){let e="";e="logos"===t?await f(`${this.uri}/${t}/${a}.svg`):await f(`${this.uri}/icons/${t}/${a}.svg`);return (new DOMParser).parseFromString(e,"text/html").body.querySelector("svg")}async firstUpdated(){try{if(!this.customSvg){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString(u,"text/html");this.svg=t.body.firstChild;}}}catch(t){this.svg=void 0;}}}i$2`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}:host{display:inline-block;--ds-auro-icon-size: 100%;width:100%;height:100%}:host .logo{color:var(--ds-auro-alaska-color)}:host([onDark]),:host([appearance=inverse]){--ds-auro-alaska-color: #FFF}
|
|
2747
2723
|
`;var y=i$2`:host{--ds-auro-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color: #02426D;--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}
|
|
2748
2724
|
`;var k=i$2`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
|
|
@@ -2766,7 +2742,7 @@ class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,cl
|
|
|
2766
2742
|
</div>
|
|
2767
2743
|
`}}
|
|
2768
2744
|
|
|
2769
|
-
var iconVersion = '9.1.
|
|
2745
|
+
var iconVersion = '9.1.1';
|
|
2770
2746
|
|
|
2771
2747
|
var styleCss$2 = i$2`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}:host(:not([isfullscreen])) .container[class*=shape-rounded]{border-radius:16px}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}`;
|
|
2772
2748
|
|
|
@@ -3207,7 +3183,7 @@ class AuroHelpText extends i {
|
|
|
3207
3183
|
}
|
|
3208
3184
|
}
|
|
3209
3185
|
|
|
3210
|
-
var formkitVersion = '
|
|
3186
|
+
var formkitVersion = '202512120003';
|
|
3211
3187
|
|
|
3212
3188
|
class AuroElement extends i {
|
|
3213
3189
|
static get properties() {
|
|
@@ -189,9 +189,8 @@ function getOppositeAxis(axis) {
|
|
|
189
189
|
function getAxisLength(axis) {
|
|
190
190
|
return axis === 'y' ? 'height' : 'width';
|
|
191
191
|
}
|
|
192
|
-
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
193
192
|
function getSideAxis(placement) {
|
|
194
|
-
return
|
|
193
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
195
194
|
}
|
|
196
195
|
function getAlignmentAxis(placement) {
|
|
197
196
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -216,19 +215,19 @@ function getExpandedPlacements(placement) {
|
|
|
216
215
|
function getOppositeAlignmentPlacement(placement) {
|
|
217
216
|
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
218
217
|
}
|
|
219
|
-
const lrPlacement = ['left', 'right'];
|
|
220
|
-
const rlPlacement = ['right', 'left'];
|
|
221
|
-
const tbPlacement = ['top', 'bottom'];
|
|
222
|
-
const btPlacement = ['bottom', 'top'];
|
|
223
218
|
function getSideList(side, isStart, rtl) {
|
|
219
|
+
const lr = ['left', 'right'];
|
|
220
|
+
const rl = ['right', 'left'];
|
|
221
|
+
const tb = ['top', 'bottom'];
|
|
222
|
+
const bt = ['bottom', 'top'];
|
|
224
223
|
switch (side) {
|
|
225
224
|
case 'top':
|
|
226
225
|
case 'bottom':
|
|
227
|
-
if (rtl) return isStart ?
|
|
228
|
-
return isStart ?
|
|
226
|
+
if (rtl) return isStart ? rl : lr;
|
|
227
|
+
return isStart ? lr : rl;
|
|
229
228
|
case 'left':
|
|
230
229
|
case 'right':
|
|
231
|
-
return isStart ?
|
|
230
|
+
return isStart ? tb : bt;
|
|
232
231
|
default:
|
|
233
232
|
return [];
|
|
234
233
|
}
|
|
@@ -669,22 +668,16 @@ const flip$1 = function (options) {
|
|
|
669
668
|
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
670
669
|
const nextPlacement = placements[nextIndex];
|
|
671
670
|
if (nextPlacement) {
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
},
|
|
683
|
-
reset: {
|
|
684
|
-
placement: nextPlacement
|
|
685
|
-
}
|
|
686
|
-
};
|
|
687
|
-
}
|
|
671
|
+
// Try next placement and re-run the lifecycle.
|
|
672
|
+
return {
|
|
673
|
+
data: {
|
|
674
|
+
index: nextIndex,
|
|
675
|
+
overflows: overflowsData
|
|
676
|
+
},
|
|
677
|
+
reset: {
|
|
678
|
+
placement: nextPlacement
|
|
679
|
+
}
|
|
680
|
+
};
|
|
688
681
|
}
|
|
689
682
|
|
|
690
683
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
@@ -730,8 +723,6 @@ const flip$1 = function (options) {
|
|
|
730
723
|
};
|
|
731
724
|
};
|
|
732
725
|
|
|
733
|
-
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
734
|
-
|
|
735
726
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
736
727
|
// Derivable.
|
|
737
728
|
|
|
@@ -745,7 +736,7 @@ async function convertValueToCoords(state, options) {
|
|
|
745
736
|
const side = getSide(placement);
|
|
746
737
|
const alignment = getAlignment(placement);
|
|
747
738
|
const isVertical = getSideAxis(placement) === 'y';
|
|
748
|
-
const mainAxisMulti =
|
|
739
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
749
740
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
750
741
|
const rawValue = evaluate(options, state);
|
|
751
742
|
|
|
@@ -938,7 +929,6 @@ function isShadowRoot(value) {
|
|
|
938
929
|
}
|
|
939
930
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
940
931
|
}
|
|
941
|
-
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
942
932
|
function isOverflowElement(element) {
|
|
943
933
|
const {
|
|
944
934
|
overflow,
|
|
@@ -946,32 +936,27 @@ function isOverflowElement(element) {
|
|
|
946
936
|
overflowY,
|
|
947
937
|
display
|
|
948
938
|
} = getComputedStyle$1(element);
|
|
949
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !
|
|
939
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
950
940
|
}
|
|
951
|
-
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
952
941
|
function isTableElement(element) {
|
|
953
|
-
return
|
|
942
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
954
943
|
}
|
|
955
|
-
const topLayerSelectors = [':popover-open', ':modal'];
|
|
956
944
|
function isTopLayer(element) {
|
|
957
|
-
return
|
|
945
|
+
return [':popover-open', ':modal'].some(selector => {
|
|
958
946
|
try {
|
|
959
947
|
return element.matches(selector);
|
|
960
|
-
} catch (
|
|
948
|
+
} catch (e) {
|
|
961
949
|
return false;
|
|
962
950
|
}
|
|
963
951
|
});
|
|
964
952
|
}
|
|
965
|
-
const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
|
|
966
|
-
const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
|
|
967
|
-
const containValues = ['paint', 'layout', 'strict', 'content'];
|
|
968
953
|
function isContainingBlock(elementOrCss) {
|
|
969
954
|
const webkit = isWebKit();
|
|
970
955
|
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
971
956
|
|
|
972
957
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
973
958
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
974
|
-
return
|
|
959
|
+
return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
975
960
|
}
|
|
976
961
|
function getContainingBlock(element) {
|
|
977
962
|
let currentNode = getParentNode(element);
|
|
@@ -989,9 +974,8 @@ function isWebKit() {
|
|
|
989
974
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
990
975
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
991
976
|
}
|
|
992
|
-
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
993
977
|
function isLastTraversableNode(node) {
|
|
994
|
-
return
|
|
978
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
995
979
|
}
|
|
996
980
|
function getComputedStyle$1(element) {
|
|
997
981
|
return getWindow(element).getComputedStyle(element);
|
|
@@ -1296,7 +1280,6 @@ function getViewportRect(element, strategy) {
|
|
|
1296
1280
|
};
|
|
1297
1281
|
}
|
|
1298
1282
|
|
|
1299
|
-
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
1300
1283
|
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1301
1284
|
function getInnerBoundingClientRect(element, strategy) {
|
|
1302
1285
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
@@ -1361,7 +1344,7 @@ function getClippingElementAncestors(element, cache) {
|
|
|
1361
1344
|
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1362
1345
|
currentContainingBlockComputedStyle = null;
|
|
1363
1346
|
}
|
|
1364
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle &&
|
|
1347
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1365
1348
|
if (shouldDropCurrentNode) {
|
|
1366
1349
|
// Drop non-containing blocks.
|
|
1367
1350
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
@@ -1424,12 +1407,6 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1424
1407
|
scrollTop: 0
|
|
1425
1408
|
};
|
|
1426
1409
|
const offsets = createCoords(0);
|
|
1427
|
-
|
|
1428
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1429
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1430
|
-
function setLeftRTLScrollbarOffset() {
|
|
1431
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1432
|
-
}
|
|
1433
1410
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1434
1411
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1435
1412
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -1439,12 +1416,11 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1439
1416
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1440
1417
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1441
1418
|
} else if (documentElement) {
|
|
1442
|
-
|
|
1419
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1420
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1421
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1443
1422
|
}
|
|
1444
1423
|
}
|
|
1445
|
-
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
1446
|
-
setLeftRTLScrollbarOffset();
|
|
1447
|
-
}
|
|
1448
1424
|
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1449
1425
|
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1450
1426
|
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
@@ -1621,7 +1597,7 @@ function observeMove(element, onMove) {
|
|
|
1621
1597
|
// Handle <iframe>s
|
|
1622
1598
|
root: root.ownerDocument
|
|
1623
1599
|
});
|
|
1624
|
-
} catch (
|
|
1600
|
+
} catch (e) {
|
|
1625
1601
|
io = new IntersectionObserver(handleObserve, options);
|
|
1626
1602
|
}
|
|
1627
1603
|
io.observe(element);
|
|
@@ -2717,7 +2693,7 @@ class AuroDependencyVersioning {
|
|
|
2717
2693
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2718
2694
|
*/const o=o=>o??E;
|
|
2719
2695
|
|
|
2720
|
-
class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}}var u='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';class m extends i{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}}const g=new Map,f=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g.has(t)||g.set(t,fetch(t).then(e)),g.get(t)};var w=i$2`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;
|
|
2696
|
+
class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}}var u='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';class m extends i{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}}const g=new Map,f=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g.has(t)||g.set(t,fetch(t).then(e)),g.get(t)};var w=i$2`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex;line-height:var(--ds-auro-icon-size)}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.svgWrapper [part=svg]{display:flex}.labelWrapper{margin-left:var(--ds-size-50, .25rem)}.labelWrapper ::slotted(*){line-height:inherit!important}
|
|
2721
2697
|
`;class z extends m{constructor(){super(),this.onDark=false,this.appearance="default";}static get properties(){return {...m.properties,onDark:{type:Boolean,reflect:true},appearance:{type:String,reflect:true},svg:{attribute:false,reflect:true}}}static get styles(){return w}async fetchIcon(t,a){let e="";e="logos"===t?await f(`${this.uri}/${t}/${a}.svg`):await f(`${this.uri}/icons/${t}/${a}.svg`);return (new DOMParser).parseFromString(e,"text/html").body.querySelector("svg")}async firstUpdated(){try{if(!this.customSvg){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString(u,"text/html");this.svg=t.body.firstChild;}}}catch(t){this.svg=void 0;}}}i$2`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}:host{display:inline-block;--ds-auro-icon-size: 100%;width:100%;height:100%}:host .logo{color:var(--ds-auro-alaska-color)}:host([onDark]),:host([appearance=inverse]){--ds-auro-alaska-color: #FFF}
|
|
2722
2698
|
`;var y=i$2`:host{--ds-auro-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color: #02426D;--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}
|
|
2723
2699
|
`;var k=i$2`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
|
|
@@ -2741,7 +2717,7 @@ class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,cl
|
|
|
2741
2717
|
</div>
|
|
2742
2718
|
`}}
|
|
2743
2719
|
|
|
2744
|
-
var iconVersion = '9.1.
|
|
2720
|
+
var iconVersion = '9.1.1';
|
|
2745
2721
|
|
|
2746
2722
|
var styleCss$2 = i$2`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}:host(:not([isfullscreen])) .container[class*=shape-rounded]{border-radius:16px}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}`;
|
|
2747
2723
|
|
|
@@ -3182,7 +3158,7 @@ class AuroHelpText extends i {
|
|
|
3182
3158
|
}
|
|
3183
3159
|
}
|
|
3184
3160
|
|
|
3185
|
-
var formkitVersion = '
|
|
3161
|
+
var formkitVersion = '202512120003';
|
|
3186
3162
|
|
|
3187
3163
|
class AuroElement extends i {
|
|
3188
3164
|
static get properties() {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "9.1.
|
|
1
|
+
declare const _default: "9.1.1";
|
|
2
2
|
export default _default;
|