@aurodesignsystem/auro-formkit 2.0.0-beta.3 → 2.0.0-beta.31
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/.turbo/cache/0b59b3b61897d950-meta.json +1 -0
- package/.turbo/cache/0b59b3b61897d950.tar.zst +0 -0
- package/.turbo/cache/1215c5e3dd25e0c3-meta.json +1 -0
- package/.turbo/cache/1215c5e3dd25e0c3.tar.zst +0 -0
- package/.turbo/cache/13ff0d757be18ae9-meta.json +1 -0
- package/.turbo/cache/13ff0d757be18ae9.tar.zst +0 -0
- package/.turbo/cache/1b653bcfa2eef748-meta.json +1 -0
- package/.turbo/cache/1b653bcfa2eef748.tar.zst +0 -0
- package/.turbo/cache/1d4280429ff4222f-meta.json +1 -0
- package/.turbo/cache/1d4280429ff4222f.tar.zst +0 -0
- package/.turbo/cache/1e094164b4932553-meta.json +1 -0
- package/.turbo/cache/1e094164b4932553.tar.zst +0 -0
- package/.turbo/cache/24cb18ffa2f611b1-meta.json +1 -0
- package/.turbo/cache/24cb18ffa2f611b1.tar.zst +0 -0
- package/.turbo/cache/251ba344c6338ba3-meta.json +1 -0
- package/.turbo/cache/251ba344c6338ba3.tar.zst +0 -0
- package/.turbo/cache/298b6ff0272e6226-meta.json +1 -0
- package/.turbo/cache/298b6ff0272e6226.tar.zst +0 -0
- package/.turbo/cache/2abb5400a01a1694-meta.json +1 -0
- package/.turbo/cache/2abb5400a01a1694.tar.zst +0 -0
- package/.turbo/cache/30fda91ef83677e4-meta.json +1 -0
- package/.turbo/cache/30fda91ef83677e4.tar.zst +0 -0
- package/.turbo/cache/3221d91a94756c26-meta.json +1 -0
- package/.turbo/cache/3221d91a94756c26.tar.zst +0 -0
- package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +1 -0
- package/.turbo/cache/3ab09fe7cf32b3bf.tar.zst +0 -0
- package/.turbo/cache/3f1b3db13386acdc-meta.json +1 -0
- package/.turbo/cache/3f1b3db13386acdc.tar.zst +0 -0
- package/.turbo/cache/430c124614841675-meta.json +1 -0
- package/.turbo/cache/430c124614841675.tar.zst +0 -0
- package/.turbo/cache/45bdeb0396723b25-meta.json +1 -0
- package/.turbo/cache/45bdeb0396723b25.tar.zst +0 -0
- package/.turbo/cache/4e8248fc9e1e3e8f-meta.json +1 -0
- package/.turbo/cache/4e8248fc9e1e3e8f.tar.zst +0 -0
- package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +1 -0
- package/.turbo/cache/4e9c9a5dd62c50a4.tar.zst +0 -0
- package/.turbo/cache/4f81392ada08f240-meta.json +1 -0
- package/.turbo/cache/4f81392ada08f240.tar.zst +0 -0
- package/.turbo/cache/5326b73ddda05291-meta.json +1 -0
- package/.turbo/cache/5326b73ddda05291.tar.zst +0 -0
- package/.turbo/cache/59481fd7f6f355ed-meta.json +1 -0
- package/.turbo/cache/59481fd7f6f355ed.tar.zst +0 -0
- package/.turbo/cache/5fc9a7a072827b7b-meta.json +1 -0
- package/.turbo/cache/5fc9a7a072827b7b.tar.zst +0 -0
- package/.turbo/cache/62214e9883afcc4d-meta.json +1 -0
- package/.turbo/cache/62214e9883afcc4d.tar.zst +0 -0
- package/.turbo/cache/6e0b3da6e3ff3718-meta.json +1 -0
- package/.turbo/cache/6e0b3da6e3ff3718.tar.zst +0 -0
- package/.turbo/cache/753b119a389426be-meta.json +1 -0
- package/.turbo/cache/753b119a389426be.tar.zst +0 -0
- package/.turbo/cache/79c16437b6eb7e44-meta.json +1 -0
- package/.turbo/cache/79c16437b6eb7e44.tar.zst +0 -0
- package/.turbo/cache/8388331cc15d7fd2-meta.json +1 -0
- package/.turbo/cache/8388331cc15d7fd2.tar.zst +0 -0
- package/.turbo/cache/8c637a8d4c2166c5-meta.json +1 -0
- package/.turbo/cache/8c637a8d4c2166c5.tar.zst +0 -0
- package/.turbo/cache/8f94ccea023ee254-meta.json +1 -0
- package/.turbo/cache/8f94ccea023ee254.tar.zst +0 -0
- package/.turbo/cache/92b4b6ba93458685-meta.json +1 -0
- package/.turbo/cache/92b4b6ba93458685.tar.zst +0 -0
- package/.turbo/cache/9337429c745d33f9-meta.json +1 -0
- package/.turbo/cache/9337429c745d33f9.tar.zst +0 -0
- package/.turbo/cache/a5717ca784f036bc-meta.json +1 -0
- package/.turbo/cache/a5717ca784f036bc.tar.zst +0 -0
- package/.turbo/cache/a7dea1f1ae1fdc27-meta.json +1 -0
- package/.turbo/cache/a7dea1f1ae1fdc27.tar.zst +0 -0
- package/.turbo/cache/abfc52db26c84ceb-meta.json +1 -0
- package/.turbo/cache/abfc52db26c84ceb.tar.zst +0 -0
- package/.turbo/cache/b169402fda42f218-meta.json +1 -0
- package/.turbo/cache/b169402fda42f218.tar.zst +0 -0
- package/.turbo/cache/b7aefb222b98306d-meta.json +1 -0
- package/.turbo/cache/b7aefb222b98306d.tar.zst +0 -0
- package/.turbo/cache/bf3d1eace5e676f9-meta.json +1 -0
- package/.turbo/cache/bf3d1eace5e676f9.tar.zst +0 -0
- package/.turbo/cache/c13e85d809af02f6-meta.json +1 -0
- package/.turbo/cache/c13e85d809af02f6.tar.zst +0 -0
- package/.turbo/cache/c860cecd25be20af-meta.json +1 -0
- package/.turbo/cache/c860cecd25be20af.tar.zst +0 -0
- package/.turbo/cache/c89150633a136dc8-meta.json +1 -0
- package/.turbo/cache/c89150633a136dc8.tar.zst +0 -0
- package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +1 -0
- package/.turbo/cache/cbcd9db8ac9a2d52.tar.zst +0 -0
- package/.turbo/cache/cdb0e45299352fce-meta.json +1 -0
- package/.turbo/cache/cdb0e45299352fce.tar.zst +0 -0
- package/.turbo/cache/d3afdb9a7db9eacc-meta.json +1 -0
- package/.turbo/cache/d3afdb9a7db9eacc.tar.zst +0 -0
- package/.turbo/cache/d8ecdff9c663c38e-meta.json +1 -0
- package/.turbo/cache/d8ecdff9c663c38e.tar.zst +0 -0
- package/.turbo/cache/de494df6a3006101-meta.json +1 -0
- package/.turbo/cache/de494df6a3006101.tar.zst +0 -0
- package/.turbo/cache/df379f765f10ec9c-meta.json +1 -0
- package/.turbo/cache/df379f765f10ec9c.tar.zst +0 -0
- package/.turbo/cache/e56a9865641ec3e8-meta.json +1 -0
- package/.turbo/cache/e56a9865641ec3e8.tar.zst +0 -0
- package/.turbo/cache/e7ed9e7056d80938-meta.json +1 -0
- package/.turbo/cache/e7ed9e7056d80938.tar.zst +0 -0
- package/.turbo/cache/e837827cd24834c4-meta.json +1 -0
- package/.turbo/cache/e837827cd24834c4.tar.zst +0 -0
- package/.turbo/cache/e95b9e3b7f35e801-meta.json +1 -0
- package/.turbo/cache/e95b9e3b7f35e801.tar.zst +0 -0
- package/.turbo/cache/e9ff93179777aa26-meta.json +1 -0
- package/.turbo/cache/e9ff93179777aa26.tar.zst +0 -0
- package/.turbo/cache/f2e689c8cdd1aafe-meta.json +1 -0
- package/.turbo/cache/f2e689c8cdd1aafe.tar.zst +0 -0
- package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +1 -0
- package/.turbo/cache/f7ab9a13f9acc0ab.tar.zst +0 -0
- package/.turbo/cache/fb3845d2ca66fee8-meta.json +1 -0
- package/.turbo/cache/fb3845d2ca66fee8.tar.zst +0 -0
- package/.turbo/cache/ff3c8a3042cab66e-meta.json +1 -0
- package/.turbo/cache/ff3c8a3042cab66e.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +283 -0
- package/README.md +59 -59
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
- package/components/checkbox/.turbo/turbo-build.log +20 -21
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/checkbox/README.md +26 -34
- package/components/checkbox/demo/api.md +67 -68
- package/components/checkbox/demo/api.min.js +429 -89
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +429 -89
- package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +19 -6
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +429 -89
- package/components/checkbox/package.json +4 -3
- package/components/checkbox/src/auro-checkbox-group.js +62 -23
- package/components/checkbox/src/auro-checkbox.js +30 -9
- package/components/checkbox/src/styles/colorGroup-css.js +1 -1
- package/components/checkbox/src/styles/colorGroup.css +0 -8
- package/components/checkbox/src/styles/colorGroup.scss +0 -8
- package/components/checkbox/src/styles/tokens-css.js +1 -1
- package/components/checkbox/src/styles/tokens.css +0 -1
- package/components/checkbox/src/styles/tokens.scss +0 -1
- package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build.log +22 -23
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/combobox/README.md +23 -28
- package/components/combobox/demo/api.md +27 -25
- package/components/combobox/demo/api.min.js +3681 -943
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +3678 -940
- package/components/combobox/dist/auro-combobox.d.ts +74 -79
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/dropdownVersion.d.ts +3 -0
- package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
- package/components/combobox/dist/index.js +3047 -623
- package/components/combobox/dist/inputVersion.d.ts +3 -0
- package/components/combobox/dist/inputVersion.d.ts.map +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
- package/components/combobox/node_modules/chalk/package.json +3 -3
- package/components/combobox/node_modules/chalk/readme.md +25 -53
- package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
- package/components/combobox/package.json +11 -12
- package/components/combobox/src/auro-combobox.js +215 -159
- package/components/combobox/src/dropdownVersion.js +1 -0
- package/components/combobox/src/inputVersion.js +1 -0
- package/components/counter/.turbo/turbo-build$colon$sass.log +210 -7
- package/components/{input → counter}/.turbo/turbo-build$colon$version.log +5 -5
- package/components/counter/.turbo/turbo-build.log +329 -14
- package/components/counter/.turbo/turbo-bundler.log +13 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +45 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +107 -1014
- package/components/counter/demo/api.min.js +4999 -36
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +292 -0
- package/components/counter/demo/index.min.js +5027 -19
- package/components/counter/dist/auro-counter-button.d.ts +13 -0
- package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
- package/components/counter/dist/auro-counter-group.d.ts +115 -5
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
- package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
- package/components/counter/dist/auro-counter.d.ts +82 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -1
- package/components/counter/dist/dropdownVersion.d.ts +3 -0
- package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
- package/components/counter/dist/iconVersion.d.ts +3 -0
- package/components/counter/dist/iconVersion.d.ts.map +1 -0
- package/components/counter/dist/index.js +4999 -36
- package/components/{input/dist/styles/helpText-css.d.ts → counter/dist/styles/color-css.d.ts} +1 -1
- package/components/counter/dist/styles/color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
- package/components/counter/dist/styles/tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/counter/package.json +12 -3
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +236 -20
- package/components/counter/src/auro-counter-wrapper.js +54 -0
- package/components/counter/src/auro-counter.js +285 -12
- package/components/counter/src/dropdownVersion.js +1 -0
- package/components/counter/src/iconVersion.js +1 -0
- package/components/counter/src/index.js +1 -1
- package/components/counter/src/styles/color-css.js +2 -0
- package/components/counter/src/styles/color.css +25 -0
- package/components/counter/src/styles/color.scss +44 -0
- package/components/counter/src/styles/counter-button-color-css.js +2 -0
- package/components/counter/src/styles/counter-button-color.css +14 -0
- package/components/counter/src/styles/counter-button-color.scss +29 -0
- package/components/counter/src/styles/counter-button-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens.css +7 -0
- package/components/counter/src/styles/counter-button-tokens.scss +9 -0
- package/components/counter/src/styles/counter-button.css +187 -0
- package/components/counter/src/styles/counter-button.scss +83 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +12 -1
- package/components/counter/src/styles/counter-group.scss +12 -1
- package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper-color.css +4 -0
- package/components/counter/src/styles/counter-wrapper-color.scss +19 -0
- package/components/counter/src/styles/counter-wrapper-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper.css +15 -0
- package/components/counter/src/styles/counter-wrapper.scss +29 -0
- package/components/counter/src/styles/style-css.js +1 -1
- package/components/counter/src/styles/style.css +43 -1
- package/components/counter/src/styles/style.scss +48 -2
- package/components/counter/src/styles/tokens-css.js +2 -0
- package/components/counter/src/styles/tokens.css +11 -0
- package/components/counter/src/styles/tokens.scss +24 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build.log +51 -52
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
- package/components/datepicker/README.md +21 -26
- package/components/datepicker/demo/api.md +85 -57
- package/components/datepicker/demo/api.min.js +1643 -693
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1643 -693
- package/components/datepicker/dist/auro-calendar.d.ts +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +101 -73
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
- package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +1643 -693
- package/components/datepicker/dist/inputVersion.d.ts +3 -0
- package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -2
- package/components/datepicker/package.json +5 -5
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/datepicker/src/auro-datepicker.js +170 -82
- package/components/datepicker/src/dropdownVersion.js +1 -0
- package/components/datepicker/src/inputVersion.js +1 -0
- package/components/datepicker/src/styles/color-cell-css.js +1 -1
- package/components/datepicker/src/styles/color-cell.css +1 -1
- package/components/datepicker/src/styles/color-cell.scss +1 -1
- package/components/datepicker/src/styles/style-css.js +1 -1
- package/components/datepicker/src/styles/style.css +0 -6
- package/components/datepicker/src/styles/style.scss +0 -6
- package/components/datepicker/src/utilitiesCalendarRender.js +2 -2
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
- package/components/dropdown/.turbo/turbo-build.log +19 -20
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/dropdown/README.md +18 -26
- package/components/dropdown/demo/api.md +4 -5
- package/components/dropdown/demo/api.min.js +467 -122
- package/components/dropdown/demo/index.min.js +467 -122
- package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +467 -122
- package/components/dropdown/package.json +4 -3
- package/components/dropdown/src/auro-dropdown.js +157 -43
- package/components/dropdown/src/auro-dropdownBib.js +12 -3
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +0 -5
- package/components/dropdown/src/styles/color.scss +0 -5
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +4 -6
- package/components/dropdown/src/styles/style.scss +5 -6
- package/components/dropdown/src/styles/tokens-css.js +1 -1
- package/components/dropdown/src/styles/tokens.css +0 -1
- package/components/dropdown/src/styles/tokens.scss +0 -1
- package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
- package/components/form/.turbo/turbo-build$colon$version.log +1 -1
- package/components/form/.turbo/turbo-build.log +17 -18
- package/components/form/.turbo/turbo-bundler.log +4 -4
- package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/form/.turbo/turbo-types.log +1 -1
- package/components/form/README.md +28 -34
- package/components/form/demo/api.min.js +405 -25
- package/components/form/demo/index.min.js +405 -25
- package/components/form/demo/registerDemoDeps.js +6 -0
- package/components/form/demo/working.html +117 -0
- package/components/form/dist/auro-form.d.ts +160 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +405 -25
- package/components/form/package.json +6 -4
- package/components/form/src/auro-form.js +402 -25
- package/components/form/src/styles/style.css +1 -1
- package/components/helptext/.stylelintrc.json +3 -0
- package/components/helptext/.turbo/turbo-build$colon$sass.log +34 -0
- package/components/helptext/.turbo/turbo-build.log +49 -0
- package/components/helptext/.turbo/turbo-bundler.log +7 -0
- package/components/helptext/.turbo/turbo-postCss$colon$component.log +4 -0
- package/components/helptext/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/helptext/.turbo/turbo-types.log +4 -0
- package/components/helptext/dist/auro-helptext.d.ts +54 -0
- package/components/helptext/dist/auro-helptext.d.ts.map +1 -0
- package/components/helptext/dist/index.d.ts +3 -0
- package/components/helptext/dist/index.d.ts.map +1 -0
- package/components/helptext/dist/index.js +224 -0
- package/components/helptext/dist/styles/color-css.d.ts +3 -0
- package/components/helptext/dist/styles/color-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/style-css.d.ts +3 -0
- package/components/helptext/dist/styles/style-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/tokens-css.d.ts +3 -0
- package/components/helptext/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/helptext/node_modules/chalk/package.json +83 -0
- package/components/helptext/node_modules/chalk/readme.md +297 -0
- package/components/helptext/node_modules/chalk/source/index.d.ts +325 -0
- package/components/helptext/node_modules/chalk/source/index.js +225 -0
- package/components/helptext/node_modules/chalk/source/utilities.js +33 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/helptext/package.json +57 -0
- package/components/helptext/src/auro-helptext.js +127 -0
- package/components/helptext/src/index.js +6 -0
- package/components/helptext/src/styles/color-css.js +2 -0
- package/components/helptext/src/styles/color.css +8 -0
- package/components/helptext/src/styles/color.scss +11 -0
- package/components/helptext/src/styles/style-css.js +2 -0
- package/components/helptext/src/styles/style.css +23 -0
- package/components/helptext/src/styles/style.scss +33 -0
- package/components/helptext/src/styles/tokens-css.js +2 -0
- package/components/helptext/src/styles/tokens.css +3 -0
- package/components/helptext/src/styles/tokens.scss +5 -0
- package/components/input/.turbo/turbo-build$colon$sass.log +22 -32
- package/components/input/.turbo/turbo-build.log +33 -46
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +9 -15
- package/components/input/README.md +18 -28
- package/components/input/demo/api.md +122 -288
- package/components/input/demo/api.min.js +653 -195
- package/components/input/demo/index.md +9 -59
- package/components/input/demo/index.min.js +653 -195
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +160 -82
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +653 -195
- package/components/input/package.json +4 -3
- package/components/input/src/auro-input.js +18 -10
- package/components/input/src/base-input.js +246 -76
- package/components/input/src/styles/color-css.js +1 -1
- package/components/input/src/styles/color.css +0 -5
- package/components/input/src/styles/color.scss +0 -5
- package/components/input/src/styles/input-css.js +1 -1
- package/components/input/src/styles/input.css +2 -2
- package/components/input/src/styles/input.scss +2 -2
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +2 -9
- package/components/input/src/styles/style.scss +0 -1
- package/components/input/src/styles/tokens-css.js +1 -1
- package/components/input/src/styles/tokens.css +0 -1
- package/components/input/src/styles/tokens.scss +0 -1
- package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
- package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
- package/components/menu/.turbo/turbo-build.log +22 -21
- package/components/menu/.turbo/turbo-bundler.log +4 -4
- package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/menu/.turbo/turbo-types.log +1 -1
- package/components/menu/README.md +18 -26
- package/components/menu/demo/api.md +57 -20
- package/components/menu/demo/api.min.js +626 -312
- package/components/menu/demo/index.min.js +624 -310
- package/components/menu/dist/auro-menu-utils.d.ts +43 -0
- package/components/menu/dist/auro-menu-utils.d.ts.map +1 -0
- package/components/menu/dist/auro-menu.d.ts +97 -81
- package/components/menu/dist/auro-menu.d.ts.map +1 -1
- package/components/menu/dist/index.d.ts +1 -0
- package/components/menu/dist/index.js +625 -311
- package/components/menu/package.json +3 -3
- package/components/menu/src/auro-menu-utils.js +131 -0
- package/components/menu/src/auro-menu.js +492 -303
- package/components/menu/src/index.js +7 -0
- package/components/menu/src/styles/color-menuoption-css.js +1 -1
- package/components/menu/src/styles/color-menuoption.css +3 -0
- package/components/menu/src/styles/color-menuoption.scss +4 -0
- package/components/menu/src/styles/style-menu.css +1 -1
- package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
- package/components/radio/.turbo/turbo-build.log +23 -24
- package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/radio/README.md +18 -26
- package/components/radio/demo/api.md +4 -4
- package/components/radio/demo/api.min.js +350 -61
- package/components/radio/demo/index.min.js +350 -61
- package/components/radio/dist/auro-radio-group.d.ts +5 -0
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +350 -61
- package/components/radio/package.json +4 -3
- package/components/radio/src/auro-radio-group.js +14 -5
- package/components/radio/src/styles/groupColor-css.js +1 -1
- package/components/radio/src/styles/groupColor.css +0 -8
- package/components/radio/src/styles/groupColor.scss +0 -8
- package/components/radio/src/styles/tokens-css.js +1 -1
- package/components/radio/src/styles/tokens.css +0 -1
- package/components/radio/src/styles/tokens.scss +0 -1
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build.log +32 -33
- package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
- package/components/select/README.md +21 -42
- package/components/select/demo/api.md +86 -111
- package/components/select/demo/api.min.js +2961 -701
- package/components/select/demo/index.md +101 -59
- package/components/select/demo/index.min.js +2960 -700
- package/components/select/dist/auro-select.d.ts +77 -48
- package/components/select/dist/auro-select.d.ts.map +1 -1
- package/components/select/dist/dropdownVersion.d.ts +3 -0
- package/components/select/dist/dropdownVersion.d.ts.map +1 -0
- package/components/select/dist/index.js +2421 -462
- package/components/select/package.json +5 -5
- package/components/select/src/auro-select.js +157 -120
- package/components/select/src/dropdownVersion.js +1 -0
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +12 -4
- package/components/select/src/styles/style.scss +22 -5
- package/package.json +27 -23
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/packages/build-tools/src/postinstall.mjs +8 -0
- package/packages/form-validation/src/validation.js +79 -20
- package/packages/utils/package.json +12 -0
- package/packages/utils/src/iconUtil.js +25 -0
- package/packages/utils/src/index.js +1 -0
- package/turbo.json +42 -9
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
- package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1ab37ce15d9be440-meta.json +0 -1
- package/.turbo/cache/1ab37ce15d9be440.tar.zst +0 -0
- package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
- package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
- package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
- package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
- package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
- package/.turbo/cache/2110a4d14e0d11b2-meta.json +0 -1
- package/.turbo/cache/2110a4d14e0d11b2.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
- package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
- package/.turbo/cache/2fd056afdf4eb39d-meta.json +0 -1
- package/.turbo/cache/2fd056afdf4eb39d.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/3e12285c614db539-meta.json +0 -1
- package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
- package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
- package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
- package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
- package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
- package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +0 -1
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
- package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
- package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
- package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
- package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
- package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
- package/.turbo/cache/80a13352066a9801-meta.json +0 -1
- package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
- package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
- package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
- package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
- package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
- package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
- package/.turbo/cache/a63cbfecf0f78586-meta.json +0 -1
- package/.turbo/cache/a63cbfecf0f78586.tar.zst +0 -0
- package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
- package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/b2c66328fdd78093-meta.json +0 -1
- package/.turbo/cache/b2c66328fdd78093.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
- package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
- package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/d39e6ef95ebc4cc0-meta.json +0 -1
- package/.turbo/cache/d39e6ef95ebc4cc0.tar.zst +0 -0
- package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
- package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
- package/.turbo/cache/d61543843c932504-meta.json +0 -1
- package/.turbo/cache/d61543843c932504.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
- package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f411e2deb0676959-meta.json +0 -1
- package/.turbo/cache/f411e2deb0676959.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
- package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
- package/components/checkbox/.turbo/turbo-bundler.log +0 -13
- package/components/checkbox/.turbo/turbo-types.log +0 -4
- package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
- package/components/dropdown/.turbo/turbo-bundler.log +0 -13
- package/components/dropdown/.turbo/turbo-types.log +0 -4
- package/components/input/.turbo/turbo-bundler.log +0 -13
- package/components/input/.turbo/turbo-types.log +0 -4
- package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
- package/components/input/src/styles/helpText-css.js +0 -2
- package/components/input/src/styles/helpText.css +0 -6
- package/components/input/src/styles/helpText.scss +0 -9
- package/components/radio/.turbo/turbo-bundler.log +0 -13
- package/components/radio/.turbo/turbo-types.log +0 -4
|
@@ -263,33 +263,33 @@ function resetStateExample() {
|
|
|
263
263
|
* Copyright 2019 Google LLC
|
|
264
264
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
265
265
|
*/
|
|
266
|
-
const t$
|
|
266
|
+
const t$9=globalThis,e$d=t$9.ShadowRoot&&(undefined===t$9.ShadyCSS||t$9.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$9=Symbol(),o$d=new WeakMap;let n$c = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$9)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$d&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$d.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$d.set(s,t));}return t}toString(){return this.cssText}};const r$e=t=>new n$c("string"==typeof t?t:t+"",undefined,s$9),i$g=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$c(o,t,s$9)},S$6=(s,o)=>{if(e$d)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$9.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$a=e$d?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$e(e)})(t):t;
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
269
|
* @license
|
|
270
270
|
* Copyright 2017 Google LLC
|
|
271
271
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
272
|
-
*/const{is:i$
|
|
272
|
+
*/const{is:i$f,defineProperty:e$c,getOwnPropertyDescriptor:r$d,getOwnPropertyNames:h$6,getOwnPropertySymbols:o$c,getPrototypeOf:n$b}=Object,a$8=globalThis,c$9=a$8.trustedTypes,l$8=c$9?c$9.emptyScript:"",p$7=a$8.reactiveElementPolyfillSupport,d$6=(t,s)=>t,u$a={toAttribute(t,s){switch(s){case Boolean:t=t?l$8:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$6=(t,s)=>!i$f(t,s),y$6={attribute:true,type:String,converter:u$a,reflect:false,hasChanged:f$6};Symbol.metadata??=Symbol("metadata"),a$8.litPropertyMetadata??=new WeakMap;let b$3 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$6){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$c(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$d(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$6}static _$Ei(){if(this.hasOwnProperty(d$6("elementProperties")))return;const t=n$b(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$6("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$6("properties"))){const t=this.properties,s=[...h$6(t),...o$c(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$a(s));}else undefined!==s&&i.push(c$a(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$6(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$a).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$a;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$6)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$3.elementStyles=[],b$3.shadowRootOptions={mode:"open"},b$3[d$6("elementProperties")]=new Map,b$3[d$6("finalized")]=new Map,p$7?.({ReactiveElement:b$3}),(a$8.reactiveElementVersions??=[]).push("2.0.4");
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
275
|
* @license
|
|
276
276
|
* Copyright 2017 Google LLC
|
|
277
277
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
278
278
|
*/
|
|
279
|
-
const t$
|
|
279
|
+
const t$8=globalThis,i$e=t$8.trustedTypes,s$8=i$e?i$e.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$b="$lit$",h$5=`lit$${Math.random().toFixed(9).slice(2)}$`,o$b="?"+h$5,n$a=`<${o$b}>`,r$c=document,l$7=()=>r$c.createComment(""),c$8=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$7=Array.isArray,u$9=t=>a$7(t)||"function"==typeof t?.[Symbol.iterator],d$5="[ \t\n\f\r]",f$5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$4=/-->/g,_$3=/>/g,m$4=RegExp(`>|${d$5}(?:([^\\s"'>=/]+)(${d$5}*=${d$5}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$6=/'/g,g$3=/"/g,$$3=/^(?:script|style|textarea|title)$/i,y$5=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$3=y$5(1),T$3=Symbol.for("lit-noChange"),E$3=Symbol.for("lit-nothing"),A$3=new WeakMap,C$3=r$c.createTreeWalker(r$c,129);function P$3(t,i){if(!a$7(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$8?s$8.createHTML(i):i}const V$3=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$5;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$5?"!--"===u[1]?c=v$4:undefined!==u[1]?c=_$3:undefined!==u[2]?($$3.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$4):undefined!==u[3]&&(c=m$4):c===m$4?">"===u[0]?(c=r??f$5,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$4:'"'===u[3]?g$3:p$6):c===g$3||c===p$6?c=m$4:c===v$4||c===_$3?c=f$5:(c=m$4,r=undefined);const x=c===m$4&&t[i+1].startsWith("/>")?" ":"";l+=c===f$5?s+n$a:d>=0?(o.push(a),s.slice(0,d)+e$b+s.slice(d)+h$5+x):s+h$5+(-2===d?i:x);}return [P$3(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$3 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$3(t,s);if(this.el=N.createElement(f,n),C$3.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$3.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$b)){const i=v[a++],s=r.getAttribute(t).split(h$5),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$3:"?"===e[1]?I$3:"@"===e[1]?L$3:k$3}),r.removeAttribute(t);}else t.startsWith(h$5)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$3.test(r.tagName)){const t=r.textContent.split(h$5),s=t.length-1;if(s>0){r.textContent=i$e?i$e.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$7()),C$3.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$7());}}}else if(8===r.nodeType)if(r.data===o$b)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$5,t+1));)d.push({type:7,index:c}),t+=h$5.length-1;}c++;}}static createElement(t,i){const s=r$c.createElement("template");return s.innerHTML=t,s}};function S$5(t,i,s=t,e){if(i===T$3)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$8(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$5(t,h._$AS(t,i.values),h,e)),i}let M$4 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$c).importNode(i,true);C$3.currentNode=e;let h=C$3.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$3(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$3(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$3.nextNode(),o++);}return C$3.currentNode=r$c,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$3 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$3,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$5(this,t,i),c$8(t)?t===E$3||null==t||""===t?(this._$AH!==E$3&&this._$AR(),this._$AH=E$3):t!==this._$AH&&t!==T$3&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$9(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$3&&c$8(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$c.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$3.createElement(P$3(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$4(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$3.get(t.strings);return undefined===i&&A$3.set(t.strings,i=new N$3(t)),i}k(t){a$7(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$7()),this.O(l$7()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$3 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$3,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$3;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$5(this,t,i,0),o=!c$8(t)||t!==this._$AH&&t!==T$3,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$5(this,e[s+n],i,n),r===T$3&&(r=this._$AH[n]),o||=!c$8(r)||r!==this._$AH[n],r===E$3?t=E$3:t!==E$3&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$3?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$3 = class H extends k$3{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$3?undefined:t;}};let I$3 = class I extends k$3{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$3);}};let L$3 = class L extends k$3{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$5(this,t,i,0)??E$3)===T$3)return;const s=this._$AH,e=t===E$3&&s!==E$3||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$3&&(s===E$3||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$3 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$5(this,t);}};const j$3=t$8.litHtmlPolyfillSupport;j$3?.(N$3,R$3),(t$8.litHtmlVersions??=[]).push("3.2.1");const B$3=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$3(i.insertBefore(l$7(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* @license
|
|
283
283
|
* Copyright 2017 Google LLC
|
|
284
284
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
285
|
-
*/let r$
|
|
285
|
+
*/let r$b = class r extends b$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$3(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$3}};r$b._$litElement$=true,r$b["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$b});const i$d=globalThis.litElementPolyfillSupport;i$d?.({LitElement:r$b});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* @license
|
|
289
289
|
* Copyright 2020 Google LLC
|
|
290
290
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
291
291
|
*/
|
|
292
|
-
const a$
|
|
292
|
+
const a$6=Symbol.for(""),o$a=t=>{if(t?.r===a$6)return t?._$litStatic$},s$7=t=>({_$litStatic$:t,r:a$6}),i$c=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$6}),l$6=new Map,n$9=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$a(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$6.get(t))&&(n.raw=n,l$6.set(t,r=n)),e=u;}return t(r,...e)},u$8=n$9(x$3);
|
|
293
293
|
|
|
294
294
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
295
295
|
// See LICENSE in the project root for license information.
|
|
@@ -298,7 +298,7 @@ const a$4=Symbol.for(""),o$7=t=>{if(t?.r===a$4)return t?._$litStatic$},s$5=t=>({
|
|
|
298
298
|
|
|
299
299
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
300
300
|
|
|
301
|
-
let AuroLibraryRuntimeUtils$
|
|
301
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
302
302
|
|
|
303
303
|
/* eslint-disable jsdoc/require-param */
|
|
304
304
|
|
|
@@ -367,7 +367,7 @@ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
|
367
367
|
|
|
368
368
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
369
369
|
constructor() {
|
|
370
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
370
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
/**
|
|
@@ -395,30 +395,87 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* @param {
|
|
398
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
399
|
+
*
|
|
400
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
401
401
|
* @returns {void}
|
|
402
|
+
*
|
|
403
|
+
* @example
|
|
404
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
405
|
+
* validateElementAttributes(inputElement);
|
|
406
|
+
*
|
|
407
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
408
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
409
|
+
*
|
|
410
|
+
* Validation rules:
|
|
411
|
+
* - input:
|
|
412
|
+
* - length:
|
|
413
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
414
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
415
|
+
* - pattern:
|
|
416
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
417
|
+
* - counter:
|
|
418
|
+
* - range:
|
|
419
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
420
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
402
421
|
*/
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
422
|
+
validateElementAttributes(elem) {
|
|
423
|
+
const validationRules = {
|
|
424
|
+
input: {
|
|
425
|
+
length: [
|
|
426
|
+
{
|
|
427
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
428
|
+
validity: 'tooShort',
|
|
429
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
433
|
+
validity: 'tooLong',
|
|
434
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
pattern: [
|
|
438
|
+
{
|
|
439
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
440
|
+
validity: 'patternMismatch',
|
|
441
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
442
|
+
}
|
|
443
|
+
]
|
|
444
|
+
},
|
|
445
|
+
counter: {
|
|
446
|
+
range: [
|
|
447
|
+
{
|
|
448
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
449
|
+
validity: 'rangeOverflow',
|
|
450
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
454
|
+
validity: 'rangeUnderflow',
|
|
455
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
456
|
+
}
|
|
457
|
+
]
|
|
410
458
|
}
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
if (
|
|
415
|
-
|
|
416
|
-
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
let elementType;
|
|
462
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
463
|
+
elementType = 'input';
|
|
464
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
465
|
+
elementType = 'counter';
|
|
417
466
|
}
|
|
418
467
|
|
|
419
|
-
if (
|
|
420
|
-
|
|
421
|
-
|
|
468
|
+
if (elementType) {
|
|
469
|
+
const rules = validationRules[elementType];
|
|
470
|
+
|
|
471
|
+
if (rules) {
|
|
472
|
+
Object.values(rules).flat().forEach(rule => {
|
|
473
|
+
if (rule.check(elem)) {
|
|
474
|
+
elem.validity = rule.validity;
|
|
475
|
+
elem.errorMessage = rule.message(elem);
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
}
|
|
422
479
|
}
|
|
423
480
|
}
|
|
424
481
|
|
|
@@ -528,7 +585,9 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
528
585
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
529
586
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
530
587
|
this.validateType(elem);
|
|
531
|
-
this.
|
|
588
|
+
this.validateElementAttributes(elem);
|
|
589
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
590
|
+
this.validateElementAttributes(elem);
|
|
532
591
|
}
|
|
533
592
|
}
|
|
534
593
|
|
|
@@ -646,7 +705,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
646
705
|
*/
|
|
647
706
|
generateTag(baseName, version, tagClass) {
|
|
648
707
|
const elementName = this.generateElementName(baseName, version);
|
|
649
|
-
const tag = i$
|
|
708
|
+
const tag = i$c`${s$7(elementName)}`;
|
|
650
709
|
|
|
651
710
|
if (!customElements.get(elementName)) {
|
|
652
711
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -784,7 +843,7 @@ class UtilitiesCalendarRender {
|
|
|
784
843
|
/**
|
|
785
844
|
* Determines how many calendar months can be rendered based on the screen size and defined range.
|
|
786
845
|
* @param {Object} elem - The auro-calendar element.
|
|
787
|
-
* @param {Boolean} isMobile -
|
|
846
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
788
847
|
* @private
|
|
789
848
|
* @returns {Number} Returns the maximum number of months that can be rendered.
|
|
790
849
|
*/
|
|
@@ -818,7 +877,7 @@ class UtilitiesCalendarRender {
|
|
|
818
877
|
/**
|
|
819
878
|
* Determines the number of months rendered inside the calendar.
|
|
820
879
|
* @param {Object} elem - The auro-calendar element.
|
|
821
|
-
* @param {Boolean} isMobile -
|
|
880
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
822
881
|
* @private
|
|
823
882
|
* @returns {void}
|
|
824
883
|
*/
|
|
@@ -876,7 +935,7 @@ class UtilitiesCalendarRender {
|
|
|
876
935
|
* @returns {Object} Returns the auro-calendar-month HTML.
|
|
877
936
|
*/
|
|
878
937
|
renderCalendar(elem, month, year) {
|
|
879
|
-
return x$
|
|
938
|
+
return x$3`
|
|
880
939
|
<auro-calendar-month
|
|
881
940
|
id="${`month-${month}-${year}`}"
|
|
882
941
|
.disabledDays="${elem.disabledDays}"
|
|
@@ -898,19 +957,19 @@ class UtilitiesCalendarRender {
|
|
|
898
957
|
}
|
|
899
958
|
}
|
|
900
959
|
|
|
901
|
-
var styleCss$
|
|
960
|
+
var styleCss$a = i$g`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-input]::part(iconContainer){top:0;display:flex;height:100%;align-items:center}[auro-input]::part(accentIcon){transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}[auro-input]::part(helpText){display:none}[auro-input]::part(wrapper){border-width:0 !important}.outerWrapper{position:relative}.dpTriggerContent{display:flex;flex-direction:row}.dpTriggerContent [auro-input]{flex:1}.dpTriggerContent [auro-input]:first-of-type{margin-right:var(--ds-size-150, 0.75rem)}.dpTriggerContent [auro-input]:nth-child(2){margin-left:var(--ds-size-150, 0.75rem)}.dpTriggerContent [auro-input]:nth-child(2)::part(accentIcon){display:none}.dpTriggerContent [auro-input]:nth-child(2)::part(label){left:0;width:100%}.dpTriggerContent [auro-input]:nth-child(2)::part(input){padding-left:0}.dpTriggerContent [auro-input]:nth-child(2):before{position:absolute;top:13px;left:calc(var(--ds-size-150, 0.75rem)*-1);display:block;width:1px;height:2rem;content:""}:host([range]) [auro-input]{max-width:50%}@media screen and (max-width: 576px){::part(popover){position:fixed !important;top:0 !important;left:0 !important;width:100vw !important;height:100vh !important;margin-bottom:var(--ds-size-200, 1rem);transform:unset !important}.calendarWrapper{display:flex;height:100dvh;flex-direction:row;justify-content:center}}`;
|
|
902
961
|
|
|
903
|
-
var colorCss$
|
|
962
|
+
var colorCss$a = i$g`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-input]::part(wrapper){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}.dpTriggerContent [auro-input]:nth-child(2):before{background-color:var(--ds-auro-datepicker-range-input-divider-color)}.placeholderDate{color:var(--ds-auro-datepicker-placeholder-color)}`;
|
|
904
963
|
|
|
905
|
-
var tokensCss$
|
|
964
|
+
var tokensCss$7 = i$g`:host{--ds-auro-datepicker-placeholder-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-datepicker-range-input-divider-color: var(--ds-color-border-primary-default, #585e67);--ds-auro-calendar-mobile-footer-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-mobile-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-calendar-mobile-header-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-calendar-mobile-header-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-color-icon-ui-primary-default-default, #2c67b5);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-calendar-month-header-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-color-container-secondary-default, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
906
965
|
|
|
907
|
-
var styleCss$
|
|
966
|
+
var styleCss$9 = i$g`:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;height:100vh;height:100dvh}@media screen and (max-width: 576px){:host{width:100%}}.calendarNavBtn{display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.prevMonth,.nextMonth{position:absolute;top:var(--ds-size-200, 1rem)}.prevMonth{left:var(--ds-size-50, 0.25rem)}.nextMonth{right:var(--ds-size-50, 0.25rem)}.headerActions{padding:0 var(--ds-size-200, 1rem)}.mobileHeader{display:none;width:100%;height:var(--mobile-header-height);z-index:1;align-items:center;flex-direction:row}.headerDateFrom{display:flex;height:var(--mobile-header-height);flex:1;flex-direction:column;justify-content:center;padding:0 var(--ds-size-150, 0.75rem) 0 var(--ds-size-200, 1rem)}.mobileDateLabel{font-size:var(--ds-text-body-size-xs, 0.75rem)}.headerDateTo{height:calc(var(--mobile-header-height) - var(--ds-size-300, 1.5rem));padding:var(--ds-size-300, 1.5rem) var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host(:not([noRange])) .headerDateTo{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center}:host(:not([noRange])) .headerDateTo:after{position:absolute;top:calc(50% + 10px);left:0;display:block;width:1px;height:var(--ds-size-300, 1.5rem);content:"";transform:translateY(-50%)}.mobileFooter{display:none;width:100%;align-items:flex-end;flex-direction:column;justify-content:flex-end}.mobileFooterActions{position:relative;bottom:0;left:50%;display:none;width:calc(100% - var(--ds-size-200, 1rem)*2);align-items:flex-end;flex-direction:column;justify-content:flex-end;padding:var(--ds-size-150) calc(var(--ds-size-200, 1rem));transform:translateX(-50%)}.mobileFooterActions auro-button{width:100%}@media screen and (max-width: 576px){.prevMonth,.nextMonth{display:none}.mobileHeader,.mobileFooter,.mobileFooterActions{display:flex}.calendarWrapper{display:flex;height:100%;max-height:100dvh;flex-direction:column;overflow:auto hidden}.calendars{display:flex;flex-direction:column;flex:1;align-items:center;width:100%;overflow-y:scroll;overscroll-behavior:contain}.calendars:after{display:block;width:100%;height:var(--mobile-footer-height);content:""}}@media screen and (min-width: 576px){.calendars{display:flex;flex-direction:row}}`;
|
|
908
967
|
|
|
909
|
-
var colorCss$
|
|
968
|
+
var colorCss$9 = i$g`.calendarNavBtn{border-color:var(--ds-auro-calendar-nav-btn-border-color);background-color:var(--ds-auro-calendar-nav-btn-container-color);color:var(--ds-auro-calendar-nav-btn-chevron-color)}.calendarNavBtn:hover,.calendarNavBtn:focus{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}.calendarNavBtn:active{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-calendar-nav-btn-border-color)}.mobileHeader{background-color:var(--ds-auro-calendar-mobile-header-container-color);box-shadow:0 0 10px var(--ds-auro-calendar-mobile-header-boxshadow-color)}.mobileDateLabel{color:var(--ds-auro-calendar-mobile-header-text-color)}:host(:not([noRange])) .headerDateTo:after{background-color:var(--ds-auro-calendar-mobile-header-divider-color)}.mobileFooterActions{background-color:var(--ds-auro-calendar-mobile-footer-container-color)}@media screen and (max-width: 576px){.calendarNavBtn{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}}`;
|
|
910
969
|
|
|
911
|
-
var styleCss$
|
|
970
|
+
var styleCss$8 = i$g`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{position:relative;display:block;width:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));margin:0 var(--ds-size-200, 1rem)}@media screen and (min-width: 576px){:host{width:336px;padding:var(--ds-size-200, 1rem)}}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{position:absolute;top:var(--ds-size-200, 1rem);right:calc(-1*var(--ds-size-200, 1rem));height:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));display:block;width:1px;content:""}}.header{display:flex;align-items:center;flex-direction:row;padding:calc(var(--ds-size-100, 0.5rem) + var(--ds-size-50, 0.25rem) + var(--ds-size-25, 0.125rem)) 0 calc(var(--ds-size-100, 0.5rem) + var(--ds-size-50, 0.25rem) + var(--ds-size-25, 0.125rem));text-align:center}.headerTitle{display:flex;align-items:center;flex:1;flex-direction:row;justify-content:center;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.headerTitle div:first-child{margin-right:var(--ds-size-100, 0.5rem)}.calendarNavBtn{position:relative;display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.table{width:100%;border-collapse:collapse}.thead{margin-bottom:var(--ds-size-100, 0.5rem)}.th{display:flex;flex:1;align-items:center;justify-content:center;font-weight:700}.tbody{width:100%;transition:all 0ms;transform:translateX(0)}@media screen and (min-width: 576px){.tbody{height:384px}}.td{flex:1;margin:0;padding:0}.tr{display:flex;flex-direction:row;width:100%}`;
|
|
912
971
|
|
|
913
|
-
var colorCss$
|
|
972
|
+
var colorCss$8 = i$g`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{background-color:var(--ds-auro-calendar-month-container-color)}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{background-color:var(--ds-auro-calendar-month-divider-color)}}.header{color:var(--ds-auro-calendar-month-header-color)}`;
|
|
914
973
|
|
|
915
974
|
/******************************************************************************
|
|
916
975
|
Copyright (c) Microsoft Corporation.
|
|
@@ -945,7 +1004,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
945
1004
|
* @license
|
|
946
1005
|
* Copyright 2017 Google LLC
|
|
947
1006
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
948
|
-
*/const o$
|
|
1007
|
+
*/const o$9={attribute:true,type:String,converter:u$a,reflect:false,hasChanged:f$6},r$a=(t=o$9,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(undefined===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),"accessor"===n){const{name:o}=r;return {set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t);},init(e){return undefined!==e&&this.P(o,undefined,t),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t);}}throw Error("Unsupported decorator location: "+n)};function n$8(t){return (e,o)=>"object"==typeof o?r$a(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:true}:t),r?Object.getOwnPropertyDescriptor(e,o):undefined})(t,e,o)}
|
|
949
1008
|
|
|
950
1009
|
/**
|
|
951
1010
|
* @module constants
|
|
@@ -6670,7 +6729,7 @@ function cleanEscapedString(input) {
|
|
|
6670
6729
|
* //=> Mon Sep 01 2014 00:00:00
|
|
6671
6730
|
*/
|
|
6672
6731
|
function subMonths(date, amount, options) {
|
|
6673
|
-
return addMonths(date, -
|
|
6732
|
+
return addMonths(date, -1, options);
|
|
6674
6733
|
}
|
|
6675
6734
|
|
|
6676
6735
|
/**
|
|
@@ -6700,10 +6759,10 @@ function subMonths(date, amount, options) {
|
|
|
6700
6759
|
* //=> Tue Sep 01 2009 00:00:00
|
|
6701
6760
|
*/
|
|
6702
6761
|
function subYears(date, amount, options) {
|
|
6703
|
-
return addYears(date, -
|
|
6762
|
+
return addYears(date, -1, options);
|
|
6704
6763
|
}
|
|
6705
6764
|
|
|
6706
|
-
class RangeDatepickerCell extends r$
|
|
6765
|
+
class RangeDatepickerCell extends r$b {
|
|
6707
6766
|
constructor() {
|
|
6708
6767
|
super(...arguments);
|
|
6709
6768
|
this.day = null;
|
|
@@ -6734,15 +6793,15 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6734
6793
|
|
|
6735
6794
|
render() {
|
|
6736
6795
|
let _a, _b;
|
|
6737
|
-
return x$
|
|
6796
|
+
return x$3`
|
|
6738
6797
|
<button
|
|
6739
6798
|
@click="${this.handleTap}"
|
|
6740
6799
|
@mouseover="${this.handleHover}"
|
|
6741
6800
|
@focus="${this.handleHover}"
|
|
6742
6801
|
class="day ${this.isCurrentDate ? 'currentDate' : ''} ${this.isSelected(this.selected)} ${this.isHovered(this.hovered)} ${this.isEnabled(this.day, this.min, this.max, this.disabledDays)}"
|
|
6743
6802
|
?disabled="${this.disabled}"
|
|
6744
|
-
title="${this.getTitle((_a = this.day) === null || _a ===
|
|
6745
|
-
<div class="currentDayMarker">${(_b = this.day) === null || _b ===
|
|
6803
|
+
title="${this.getTitle((_a = this.day) === null || _a === undefined ? undefined : _a.date)}">
|
|
6804
|
+
<div class="currentDayMarker">${(_b = this.day) === null || _b === undefined ? undefined : _b.title}</div>
|
|
6746
6805
|
</button>
|
|
6747
6806
|
`;
|
|
6748
6807
|
}
|
|
@@ -6782,7 +6841,7 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6782
6841
|
let _a;
|
|
6783
6842
|
if (!this.disabled) {
|
|
6784
6843
|
this.dispatchEvent(new CustomEvent('date-is-selected', {
|
|
6785
|
-
detail: { date: (_a = this.day) === null || _a ===
|
|
6844
|
+
detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
|
|
6786
6845
|
}));
|
|
6787
6846
|
}
|
|
6788
6847
|
}
|
|
@@ -6790,7 +6849,7 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6790
6849
|
handleHover() {
|
|
6791
6850
|
let _a;
|
|
6792
6851
|
this.dispatchEvent(new CustomEvent('date-is-hovered', {
|
|
6793
|
-
detail: { date: (_a = this.day) === null || _a ===
|
|
6852
|
+
detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
|
|
6794
6853
|
}));
|
|
6795
6854
|
}
|
|
6796
6855
|
|
|
@@ -6824,7 +6883,7 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6824
6883
|
});
|
|
6825
6884
|
}
|
|
6826
6885
|
}
|
|
6827
|
-
RangeDatepickerCell.styles = i$
|
|
6886
|
+
RangeDatepickerCell.styles = i$g`
|
|
6828
6887
|
:host {
|
|
6829
6888
|
display: block;
|
|
6830
6889
|
}
|
|
@@ -6891,20 +6950,20 @@ RangeDatepickerCell.styles = i$c`
|
|
|
6891
6950
|
opacity: 0.4;
|
|
6892
6951
|
}
|
|
6893
6952
|
`;
|
|
6894
|
-
__decorate([n$
|
|
6895
|
-
__decorate([n$
|
|
6896
|
-
__decorate([n$
|
|
6897
|
-
__decorate([n$
|
|
6898
|
-
__decorate([n$
|
|
6899
|
-
__decorate([n$
|
|
6900
|
-
__decorate([n$
|
|
6901
|
-
__decorate([n$
|
|
6902
|
-
__decorate([n$
|
|
6903
|
-
__decorate([n$
|
|
6904
|
-
__decorate([n$
|
|
6905
|
-
__decorate([n$
|
|
6906
|
-
__decorate([n$
|
|
6907
|
-
AuroLibraryRuntimeUtils$
|
|
6953
|
+
__decorate([n$8({ type: Object })], RangeDatepickerCell.prototype, "day", undefined);
|
|
6954
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "selected", undefined);
|
|
6955
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "hovered", undefined);
|
|
6956
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "dateTo", undefined);
|
|
6957
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "dateFrom", undefined);
|
|
6958
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "month", undefined);
|
|
6959
|
+
__decorate([n$8({ type: Number })], RangeDatepickerCell.prototype, "min", undefined);
|
|
6960
|
+
__decorate([n$8({ type: Number })], RangeDatepickerCell.prototype, "max", undefined);
|
|
6961
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "disabled", undefined);
|
|
6962
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCell.prototype, "disabledDays", undefined);
|
|
6963
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", undefined);
|
|
6964
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", undefined);
|
|
6965
|
+
__decorate([n$8({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
|
|
6966
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
|
|
6908
6967
|
|
|
6909
6968
|
class Day {
|
|
6910
6969
|
constructor(date) {
|
|
@@ -6913,7 +6972,7 @@ class Day {
|
|
|
6913
6972
|
}
|
|
6914
6973
|
}
|
|
6915
6974
|
|
|
6916
|
-
class RangeDatepickerCalendar extends r$
|
|
6975
|
+
class RangeDatepickerCalendar extends r$b {
|
|
6917
6976
|
constructor() {
|
|
6918
6977
|
super();
|
|
6919
6978
|
|
|
@@ -6967,7 +7026,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6967
7026
|
|
|
6968
7027
|
render() {
|
|
6969
7028
|
let _a, _b;
|
|
6970
|
-
return x$
|
|
7029
|
+
return x$3`
|
|
6971
7030
|
<div>
|
|
6972
7031
|
<div class="header">
|
|
6973
7032
|
${this.renderPrevButton()}
|
|
@@ -6981,11 +7040,11 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6981
7040
|
<div class="table">
|
|
6982
7041
|
<div class="thead">
|
|
6983
7042
|
<div class="tr">
|
|
6984
|
-
${(_a = this.dayNamesOfTheWeek) === null || _a ===
|
|
7043
|
+
${(_a = this.dayNamesOfTheWeek) === null || _a === undefined ? undefined : _a.map((dayNameOfWeek) => this.renderDayOfWeek(dayNameOfWeek))}
|
|
6985
7044
|
</div>
|
|
6986
7045
|
</div>
|
|
6987
7046
|
<div class="tbody">
|
|
6988
|
-
${(_b = this.daysOfMonth) === null || _b ===
|
|
7047
|
+
${(_b = this.daysOfMonth) === null || _b === undefined ? undefined : _b.map((week) => this.renderWeek(week))}
|
|
6989
7048
|
</div>
|
|
6990
7049
|
</div>
|
|
6991
7050
|
</div>
|
|
@@ -6994,7 +7053,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6994
7053
|
|
|
6995
7054
|
renderPrevButton() {
|
|
6996
7055
|
if (this.prev || this.narrow || this.enableYearChange) {
|
|
6997
|
-
return x$
|
|
7056
|
+
return x$3`
|
|
6998
7057
|
<button
|
|
6999
7058
|
icon="chevron_left"
|
|
7000
7059
|
@click="${this.handlePrevMonth}">
|
|
@@ -7006,7 +7065,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7006
7065
|
|
|
7007
7066
|
renderNextButton() {
|
|
7008
7067
|
if (this.next || this.narrow || this.enableYearChange) {
|
|
7009
|
-
return x$
|
|
7068
|
+
return x$3`
|
|
7010
7069
|
<button
|
|
7011
7070
|
icon="chevron_right"
|
|
7012
7071
|
@click="${this.handleNextMonth}">
|
|
@@ -7017,23 +7076,23 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7017
7076
|
}
|
|
7018
7077
|
|
|
7019
7078
|
renderYear() {
|
|
7020
|
-
return x$
|
|
7079
|
+
return x$3`${this.year}`;
|
|
7021
7080
|
}
|
|
7022
7081
|
|
|
7023
7082
|
renderDayOfWeek(dayOfWeek) {
|
|
7024
|
-
return x$
|
|
7083
|
+
return x$3`<div class="th">${dayOfWeek}</div>`;
|
|
7025
7084
|
}
|
|
7026
7085
|
|
|
7027
7086
|
renderWeek(week) {
|
|
7028
|
-
return x$
|
|
7087
|
+
return x$3`
|
|
7029
7088
|
<div class="tr">${week.map((day) => this.renderDay(day))}</div>
|
|
7030
7089
|
`;
|
|
7031
7090
|
}
|
|
7032
7091
|
|
|
7033
7092
|
renderDay(day) {
|
|
7034
|
-
return x$
|
|
7093
|
+
return x$3`
|
|
7035
7094
|
<div class="td ${this.tdIsEnabled(day)}">
|
|
7036
|
-
${day ? x$
|
|
7095
|
+
${day ? x$3`
|
|
7037
7096
|
<wc-range-datepicker-cell
|
|
7038
7097
|
.disabledDays="${this.disabledDays}"
|
|
7039
7098
|
.min="${this.min}"
|
|
@@ -7184,7 +7243,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7184
7243
|
|
|
7185
7244
|
handleOpenYearSelection() {
|
|
7186
7245
|
let _a;
|
|
7187
|
-
const menu = (_a = this.shadowRoot) === null || _a ===
|
|
7246
|
+
const menu = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.year-change');
|
|
7188
7247
|
const index = menu.items.findIndex((item) => item.value === this.year.toString());
|
|
7189
7248
|
menu.select(index);
|
|
7190
7249
|
menu.show();
|
|
@@ -7192,9 +7251,9 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7192
7251
|
|
|
7193
7252
|
handleYearSelected() {
|
|
7194
7253
|
let _a;
|
|
7195
|
-
const menu = (_a = this.shadowRoot) === null || _a ===
|
|
7254
|
+
const menu = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.year-change');
|
|
7196
7255
|
const selected = menu.selected;
|
|
7197
|
-
this.year = parseInt(selected === null || selected ===
|
|
7256
|
+
this.year = parseInt(selected === null || selected === undefined ? undefined : selected.value, 10);
|
|
7198
7257
|
}
|
|
7199
7258
|
|
|
7200
7259
|
handleDateHovered(event) {
|
|
@@ -7206,12 +7265,12 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7206
7265
|
|
|
7207
7266
|
handleNextMonth() {
|
|
7208
7267
|
let _a, _b;
|
|
7209
|
-
const tbody = (_a = this.shadowRoot) === null || _a ===
|
|
7210
|
-
const monthName = (_b = this.shadowRoot) === null || _b ===
|
|
7211
|
-
tbody === null || tbody ===
|
|
7212
|
-
tbody === null || tbody ===
|
|
7213
|
-
monthName === null || monthName ===
|
|
7214
|
-
monthName === null || monthName ===
|
|
7268
|
+
const tbody = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.tbody');
|
|
7269
|
+
const monthName = (_b = this.shadowRoot) === null || _b === undefined ? undefined : _b.querySelector('.header > div');
|
|
7270
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7271
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToLeft');
|
|
7272
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7273
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToLeft');
|
|
7215
7274
|
const month = parse(this.month, 'MM', new Date());
|
|
7216
7275
|
const monthPlusDate = addMonths(month, 1);
|
|
7217
7276
|
const monthPlusString = format(monthPlusDate, 'MM', {
|
|
@@ -7228,20 +7287,20 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7228
7287
|
}
|
|
7229
7288
|
this.dispatchEvent(new CustomEvent('next-month'));
|
|
7230
7289
|
setTimeout(() => {
|
|
7231
|
-
tbody === null || tbody ===
|
|
7232
|
-
tbody === null || tbody ===
|
|
7233
|
-
tbody === null || tbody ===
|
|
7234
|
-
monthName === null || monthName ===
|
|
7235
|
-
monthName === null || monthName ===
|
|
7236
|
-
monthName === null || monthName ===
|
|
7290
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
|
|
7291
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToRight');
|
|
7292
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToLeft');
|
|
7293
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7294
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToRight');
|
|
7295
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToLeft');
|
|
7237
7296
|
setTimeout(() => {
|
|
7238
|
-
tbody === null || tbody ===
|
|
7239
|
-
tbody === null || tbody ===
|
|
7240
|
-
monthName === null || monthName ===
|
|
7241
|
-
monthName === null || monthName ===
|
|
7297
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7298
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToRight');
|
|
7299
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7300
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToRight');
|
|
7242
7301
|
setTimeout(() => {
|
|
7243
|
-
tbody === null || tbody ===
|
|
7244
|
-
monthName === null || monthName ===
|
|
7302
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
|
|
7303
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7245
7304
|
}, 100);
|
|
7246
7305
|
}, 100);
|
|
7247
7306
|
}, 100);
|
|
@@ -7249,21 +7308,21 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7249
7308
|
|
|
7250
7309
|
handlePrevMonth() {
|
|
7251
7310
|
let _a, _b;
|
|
7252
|
-
const tbody = (_a = this.shadowRoot) === null || _a ===
|
|
7253
|
-
const monthName = (_b = this.shadowRoot) === null || _b ===
|
|
7254
|
-
tbody === null || tbody ===
|
|
7255
|
-
tbody === null || tbody ===
|
|
7256
|
-
monthName === null || monthName ===
|
|
7257
|
-
monthName === null || monthName ===
|
|
7311
|
+
const tbody = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.tbody');
|
|
7312
|
+
const monthName = (_b = this.shadowRoot) === null || _b === undefined ? undefined : _b.querySelector('.header > div');
|
|
7313
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7314
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToRight');
|
|
7315
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7316
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToRight');
|
|
7258
7317
|
const month = parse(this.month, 'MM', new Date());
|
|
7259
|
-
const monthMinusDate = subMonths(month
|
|
7318
|
+
const monthMinusDate = subMonths(month);
|
|
7260
7319
|
const monthMinusString = format(monthMinusDate, 'MM', {
|
|
7261
7320
|
locale: this.locale,
|
|
7262
7321
|
});
|
|
7263
7322
|
this.month = monthMinusString;
|
|
7264
7323
|
if (this.month === '12') {
|
|
7265
7324
|
const year = parse(this.year.toString(), 'yyyy', new Date());
|
|
7266
|
-
const yearMinusDate = subYears(year
|
|
7325
|
+
const yearMinusDate = subYears(year);
|
|
7267
7326
|
const yearMinusString = format(yearMinusDate, 'yyyy', {
|
|
7268
7327
|
locale: this.locale,
|
|
7269
7328
|
});
|
|
@@ -7271,20 +7330,20 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7271
7330
|
}
|
|
7272
7331
|
this.dispatchEvent(new CustomEvent('prev-month'));
|
|
7273
7332
|
setTimeout(() => {
|
|
7274
|
-
tbody === null || tbody ===
|
|
7275
|
-
tbody === null || tbody ===
|
|
7276
|
-
tbody === null || tbody ===
|
|
7277
|
-
monthName === null || monthName ===
|
|
7278
|
-
monthName === null || monthName ===
|
|
7279
|
-
monthName === null || monthName ===
|
|
7333
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
|
|
7334
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToLeft');
|
|
7335
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToRight');
|
|
7336
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7337
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToLeft');
|
|
7338
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToRight');
|
|
7280
7339
|
setTimeout(() => {
|
|
7281
|
-
tbody === null || tbody ===
|
|
7282
|
-
tbody === null || tbody ===
|
|
7283
|
-
monthName === null || monthName ===
|
|
7284
|
-
monthName === null || monthName ===
|
|
7340
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7341
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToLeft');
|
|
7342
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7343
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToLeft');
|
|
7285
7344
|
setTimeout(() => {
|
|
7286
|
-
monthName === null || monthName ===
|
|
7287
|
-
monthName === null || monthName ===
|
|
7345
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7346
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7288
7347
|
}, 100);
|
|
7289
7348
|
}, 100);
|
|
7290
7349
|
}, 100);
|
|
@@ -7299,7 +7358,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7299
7358
|
}
|
|
7300
7359
|
}
|
|
7301
7360
|
|
|
7302
|
-
RangeDatepickerCalendar.styles = i$
|
|
7361
|
+
RangeDatepickerCalendar.styles = i$g`
|
|
7303
7362
|
:host {
|
|
7304
7363
|
display: block;
|
|
7305
7364
|
width: 266px;
|
|
@@ -7404,48 +7463,48 @@ RangeDatepickerCalendar.styles = i$c`
|
|
|
7404
7463
|
max-height: 200px;
|
|
7405
7464
|
}
|
|
7406
7465
|
`;
|
|
7407
|
-
__decorate([n$
|
|
7408
|
-
__decorate([n$
|
|
7409
|
-
__decorate([n$
|
|
7410
|
-
__decorate([n$
|
|
7411
|
-
__decorate([n$
|
|
7412
|
-
__decorate([n$
|
|
7413
|
-
__decorate([n$
|
|
7414
|
-
__decorate([n$
|
|
7415
|
-
__decorate([n$
|
|
7416
|
-
__decorate([n$
|
|
7417
|
-
__decorate([n$
|
|
7418
|
-
__decorate([n$
|
|
7419
|
-
__decorate([n$
|
|
7420
|
-
__decorate([n$
|
|
7421
|
-
__decorate([n$
|
|
7422
|
-
__decorate([n$
|
|
7423
|
-
__decorate([n$
|
|
7424
|
-
__decorate([n$
|
|
7425
|
-
AuroLibraryRuntimeUtils$
|
|
7466
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "dateFrom", undefined);
|
|
7467
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "dateTo", undefined);
|
|
7468
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "hoveredDate", undefined);
|
|
7469
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "enableYearChange", undefined);
|
|
7470
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "month", undefined);
|
|
7471
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "narrow", undefined);
|
|
7472
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "noRange", undefined);
|
|
7473
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "next", undefined);
|
|
7474
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "prev", undefined);
|
|
7475
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "year", undefined);
|
|
7476
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "disabledDays", undefined);
|
|
7477
|
+
__decorate([n$8({ type: Object })], RangeDatepickerCalendar.prototype, "locale", null);
|
|
7478
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "max", undefined);
|
|
7479
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "min", undefined);
|
|
7480
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList", undefined);
|
|
7481
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", undefined);
|
|
7482
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", undefined);
|
|
7483
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", undefined);
|
|
7484
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
|
|
7426
7485
|
|
|
7427
7486
|
/**
|
|
7428
7487
|
* @license
|
|
7429
7488
|
* Copyright 2017 Google LLC
|
|
7430
7489
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7431
7490
|
*/
|
|
7432
|
-
const t$
|
|
7491
|
+
const t$7={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$a=t=>(...e)=>({_$litDirective$:t,values:e});let i$b = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
7433
7492
|
|
|
7434
7493
|
/**
|
|
7435
7494
|
* @license
|
|
7436
7495
|
* Copyright 2018 Google LLC
|
|
7437
7496
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7438
|
-
*/const e$
|
|
7497
|
+
*/const e$9=e$a(class extends i$b{constructor(t){if(super(t),t.type!==t$7.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$3}});
|
|
7439
7498
|
|
|
7440
|
-
var styleCss$
|
|
7499
|
+
var styleCss$7 = i$g`@media screen and (max-width: 576px){:host{display:flex;justify-content:center}}.day{position:relative;width:var(--ds-size-500, 2.5rem);height:calc(var(--ds-size-700, 3.5rem) - 2px);padding:0;border-width:1px;border-style:solid;border-radius:var(--ds-size-300, 1.5rem);cursor:pointer;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);user-select:none}.day.disabled{cursor:default !important}.day.inRange::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%)}@media screen and (min-width: 576px){.day.inRange::before{width:var(--ds-size-600, 3rem)}}.day.rangeDepartDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(0%, -50%)}@media screen and (min-width: 576px){.day.rangeDepartDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.day.rangeReturnDate::before,.day.lastHoveredDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(-100%, -50%)}@media screen and (min-width: 576px){.day.rangeReturnDate::before,.day.lastHoveredDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.dateSlot{display:flex;flex-direction:column;font-size:var(--ds-text-body-size-xxs, 0.625rem)}::slotted([slot^=date_]){position:absolute;top:80%;left:50%;width:80%;overflow:hidden;white-space:nowrap;transform:translate(-50%, -50%)}::slotted(auro-icon){max-height:24px;max-width:24px}:host([renderForDateSlot]) .buttonWrapper{position:relative;width:100%;top:5px}:host([renderForDateSlot]) .currentDayMarker{position:relative;padding-bottom:5px;top:-8px}@media screen and (min-width: 576px){.day{width:var(--ds-size-600, 3rem);height:var(--ds-size-800, 4rem);font-size:var(--ds-text-body-size-lg, 1.125rem)}.day:hover{cursor:pointer}.dateSlot{font-size:var(--ds-text-body-size-xs, 0.75rem)}}`;
|
|
7441
7500
|
|
|
7442
|
-
var colorCss$
|
|
7501
|
+
var colorCss$7 = i$g`:host ::slotted([slot^=date_]){color:var(--ds-auro-calendar-cell-price-text-color)}:host ::slotted([slot^=date_][highlight]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-success-default, #0b6f4d)}.day{border-color:var(--ds-auro-calendar-cell-border-color);background-color:var(--ds-auro-calendar-cell-container-color);color:var(--ds-auro-calendar-cell-text-color)}.day.selected{--ds-auro-calendar-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-calendar-cell-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-inverse, #ffffff);box-shadow:var(--ds-auro-calendar-boxshadow-color)}.day.selected:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-cell-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:unset}.day.selected:not(:hover){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-inverse, #ffffff)}.day:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-brand-neutral-200, #e4e8ec);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}.day.disabled{--ds-auro-calendar-cell-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff)}.day.inRange:before,.day.rangeDepartDate:before,.day.rangeReturnDate:before,.day.lastHoveredDate:before{background-color:var(--ds-auro-calendar-cell-in-range-color)}.day.sameDateTrip:before{--ds-auro-calendar-cell-in-range-color: transparent}:host([disabled]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
|
|
7443
7502
|
|
|
7444
|
-
var styleCss$5 = i$c`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 400;--ds-depth-tooltip: 300;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #dddddd;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #dddddd;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([addSpace]) :host(:not([data-show])) .popover,:host(:not([data-show])) .popover,:host([disabled]) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 300)}:host([removeSpace]) .popover{margin:calc(-1*(var(--ds-size-50, 0.25rem) + 1px)) 0 !important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0 !important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, 0.375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1*var(--ds-size-200, 1rem));left:calc(-1*var(--ds-size-75, 0.375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, 0.25rem);right:calc(-1*var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100, 0.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, 0.75rem);height:var(--ds-size-150, 0.75rem);content:""}`;
|
|
7503
|
+
var styleCss$6 = i$g`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 400;--ds-depth-tooltip: 300;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #dddddd;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #dddddd;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([addSpace]) :host(:not([data-show])) .popover,:host(:not([data-show])) .popover,:host([disabled]) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 300)}:host([removeSpace]) .popover{margin:calc(-1*(var(--ds-size-50, 0.25rem) + 1px)) 0 !important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0 !important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, 0.375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1*var(--ds-size-200, 1rem));left:calc(-1*var(--ds-size-75, 0.375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, 0.25rem);right:calc(-1*var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100, 0.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, 0.75rem);height:var(--ds-size-150, 0.75rem);content:""}`;
|
|
7445
7504
|
|
|
7446
|
-
var colorCss$
|
|
7505
|
+
var colorCss$6 = i$g`::slotted(*){color:var(--ds-auro-popover-text-color)}.popover{background-color:var(--ds-auro-popover-container-color);box-shadow:var(--ds-auro-popover-boxshadow-color)}.arrow:before{background-color:var(--ds-auro-popover-container-color);box-shadow:2px 2px 1px 0 var(--ds-auro-popover-boxshadow-color)}`;
|
|
7447
7506
|
|
|
7448
|
-
var tokensCss$
|
|
7507
|
+
var tokensCss$6 = i$g`:host{--ds-auro-popover-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
7449
7508
|
|
|
7450
7509
|
var top = 'top';
|
|
7451
7510
|
var bottom = 'bottom';
|
|
@@ -7624,11 +7683,11 @@ function isLayoutViewport() {
|
|
|
7624
7683
|
}
|
|
7625
7684
|
|
|
7626
7685
|
function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
|
|
7627
|
-
if (includeScale ===
|
|
7686
|
+
if (includeScale === undefined) {
|
|
7628
7687
|
includeScale = false;
|
|
7629
7688
|
}
|
|
7630
7689
|
|
|
7631
|
-
if (isFixedStrategy ===
|
|
7690
|
+
if (isFixedStrategy === undefined) {
|
|
7632
7691
|
isFixedStrategy = false;
|
|
7633
7692
|
}
|
|
7634
7693
|
|
|
@@ -7882,7 +7941,7 @@ function effect$1(_ref2) {
|
|
|
7882
7941
|
var state = _ref2.state,
|
|
7883
7942
|
options = _ref2.options;
|
|
7884
7943
|
var _options$element = options.element,
|
|
7885
|
-
arrowElement = _options$element ===
|
|
7944
|
+
arrowElement = _options$element === undefined ? '[data-popper-arrow]' : _options$element;
|
|
7886
7945
|
|
|
7887
7946
|
if (arrowElement == null) {
|
|
7888
7947
|
return;
|
|
@@ -7952,9 +8011,9 @@ function mapToStyles(_ref2) {
|
|
|
7952
8011
|
roundOffsets = _ref2.roundOffsets,
|
|
7953
8012
|
isFixed = _ref2.isFixed;
|
|
7954
8013
|
var _offsets$x = offsets.x,
|
|
7955
|
-
x = _offsets$x ===
|
|
8014
|
+
x = _offsets$x === undefined ? 0 : _offsets$x,
|
|
7956
8015
|
_offsets$y = offsets.y,
|
|
7957
|
-
y = _offsets$y ===
|
|
8016
|
+
y = _offsets$y === undefined ? 0 : _offsets$y;
|
|
7958
8017
|
|
|
7959
8018
|
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
7960
8019
|
x: x,
|
|
@@ -8034,11 +8093,11 @@ function computeStyles(_ref5) {
|
|
|
8034
8093
|
var state = _ref5.state,
|
|
8035
8094
|
options = _ref5.options;
|
|
8036
8095
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
8037
|
-
gpuAcceleration = _options$gpuAccelerat ===
|
|
8096
|
+
gpuAcceleration = _options$gpuAccelerat === undefined ? true : _options$gpuAccelerat,
|
|
8038
8097
|
_options$adaptive = options.adaptive,
|
|
8039
|
-
adaptive = _options$adaptive ===
|
|
8098
|
+
adaptive = _options$adaptive === undefined ? true : _options$adaptive,
|
|
8040
8099
|
_options$roundOffsets = options.roundOffsets,
|
|
8041
|
-
roundOffsets = _options$roundOffsets ===
|
|
8100
|
+
roundOffsets = _options$roundOffsets === undefined ? true : _options$roundOffsets;
|
|
8042
8101
|
var commonStyles = {
|
|
8043
8102
|
placement: getBasePlacement(state.placement),
|
|
8044
8103
|
variation: getVariation(state.placement),
|
|
@@ -8089,9 +8148,9 @@ function effect(_ref) {
|
|
|
8089
8148
|
instance = _ref.instance,
|
|
8090
8149
|
options = _ref.options;
|
|
8091
8150
|
var _options$scroll = options.scroll,
|
|
8092
|
-
scroll = _options$scroll ===
|
|
8151
|
+
scroll = _options$scroll === undefined ? true : _options$scroll,
|
|
8093
8152
|
_options$resize = options.resize,
|
|
8094
|
-
resize = _options$resize ===
|
|
8153
|
+
resize = _options$resize === undefined ? true : _options$resize;
|
|
8095
8154
|
var window = getWindow$1(state.elements.popper);
|
|
8096
8155
|
var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
|
|
8097
8156
|
|
|
@@ -8206,7 +8265,7 @@ function getDocumentRect$1(element) {
|
|
|
8206
8265
|
|
|
8207
8266
|
var html = getDocumentElement$1(element);
|
|
8208
8267
|
var winScroll = getWindowScroll(element);
|
|
8209
|
-
var body = (_element$ownerDocumen = element.ownerDocument) == null ?
|
|
8268
|
+
var body = (_element$ownerDocumen = element.ownerDocument) == null ? undefined : _element$ownerDocumen.body;
|
|
8210
8269
|
var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
8211
8270
|
var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
8212
8271
|
var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
|
|
@@ -8257,12 +8316,12 @@ reference element's position.
|
|
|
8257
8316
|
function listScrollParents(element, list) {
|
|
8258
8317
|
var _element$ownerDocumen;
|
|
8259
8318
|
|
|
8260
|
-
if (list ===
|
|
8319
|
+
if (list === undefined) {
|
|
8261
8320
|
list = [];
|
|
8262
8321
|
}
|
|
8263
8322
|
|
|
8264
8323
|
var scrollParent = getScrollParent(element);
|
|
8265
|
-
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ?
|
|
8324
|
+
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? undefined : _element$ownerDocumen.body);
|
|
8266
8325
|
var win = getWindow$1(scrollParent);
|
|
8267
8326
|
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
|
8268
8327
|
var updatedList = list.concat(target);
|
|
@@ -8401,25 +8460,25 @@ function computeOffsets(_ref) {
|
|
|
8401
8460
|
}
|
|
8402
8461
|
|
|
8403
8462
|
function detectOverflow$1(state, options) {
|
|
8404
|
-
if (options ===
|
|
8463
|
+
if (options === undefined) {
|
|
8405
8464
|
options = {};
|
|
8406
8465
|
}
|
|
8407
8466
|
|
|
8408
8467
|
var _options = options,
|
|
8409
8468
|
_options$placement = _options.placement,
|
|
8410
|
-
placement = _options$placement ===
|
|
8469
|
+
placement = _options$placement === undefined ? state.placement : _options$placement,
|
|
8411
8470
|
_options$strategy = _options.strategy,
|
|
8412
|
-
strategy = _options$strategy ===
|
|
8471
|
+
strategy = _options$strategy === undefined ? state.strategy : _options$strategy,
|
|
8413
8472
|
_options$boundary = _options.boundary,
|
|
8414
|
-
boundary = _options$boundary ===
|
|
8473
|
+
boundary = _options$boundary === undefined ? clippingParents : _options$boundary,
|
|
8415
8474
|
_options$rootBoundary = _options.rootBoundary,
|
|
8416
|
-
rootBoundary = _options$rootBoundary ===
|
|
8475
|
+
rootBoundary = _options$rootBoundary === undefined ? viewport : _options$rootBoundary,
|
|
8417
8476
|
_options$elementConte = _options.elementContext,
|
|
8418
|
-
elementContext = _options$elementConte ===
|
|
8477
|
+
elementContext = _options$elementConte === undefined ? popper : _options$elementConte,
|
|
8419
8478
|
_options$altBoundary = _options.altBoundary,
|
|
8420
|
-
altBoundary = _options$altBoundary ===
|
|
8479
|
+
altBoundary = _options$altBoundary === undefined ? false : _options$altBoundary,
|
|
8421
8480
|
_options$padding = _options.padding,
|
|
8422
|
-
padding = _options$padding ===
|
|
8481
|
+
padding = _options$padding === undefined ? 0 : _options$padding;
|
|
8423
8482
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
8424
8483
|
var altContext = elementContext === popper ? reference : popper;
|
|
8425
8484
|
var popperRect = state.rects.popper;
|
|
@@ -8457,7 +8516,7 @@ function detectOverflow$1(state, options) {
|
|
|
8457
8516
|
}
|
|
8458
8517
|
|
|
8459
8518
|
function computeAutoPlacement(state, options) {
|
|
8460
|
-
if (options ===
|
|
8519
|
+
if (options === undefined) {
|
|
8461
8520
|
options = {};
|
|
8462
8521
|
}
|
|
8463
8522
|
|
|
@@ -8468,7 +8527,7 @@ function computeAutoPlacement(state, options) {
|
|
|
8468
8527
|
padding = _options.padding,
|
|
8469
8528
|
flipVariations = _options.flipVariations,
|
|
8470
8529
|
_options$allowedAutoP = _options.allowedAutoPlacements,
|
|
8471
|
-
allowedAutoPlacements = _options$allowedAutoP ===
|
|
8530
|
+
allowedAutoPlacements = _options$allowedAutoP === undefined ? placements$1 : _options$allowedAutoP;
|
|
8472
8531
|
var variation = getVariation(placement);
|
|
8473
8532
|
var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
|
|
8474
8533
|
return getVariation(placement) === variation;
|
|
@@ -8515,16 +8574,16 @@ function flip$2(_ref) {
|
|
|
8515
8574
|
}
|
|
8516
8575
|
|
|
8517
8576
|
var _options$mainAxis = options.mainAxis,
|
|
8518
|
-
checkMainAxis = _options$mainAxis ===
|
|
8577
|
+
checkMainAxis = _options$mainAxis === undefined ? true : _options$mainAxis,
|
|
8519
8578
|
_options$altAxis = options.altAxis,
|
|
8520
|
-
checkAltAxis = _options$altAxis ===
|
|
8579
|
+
checkAltAxis = _options$altAxis === undefined ? true : _options$altAxis,
|
|
8521
8580
|
specifiedFallbackPlacements = options.fallbackPlacements,
|
|
8522
8581
|
padding = options.padding,
|
|
8523
8582
|
boundary = options.boundary,
|
|
8524
8583
|
rootBoundary = options.rootBoundary,
|
|
8525
8584
|
altBoundary = options.altBoundary,
|
|
8526
8585
|
_options$flipVariatio = options.flipVariations,
|
|
8527
|
-
flipVariations = _options$flipVariatio ===
|
|
8586
|
+
flipVariations = _options$flipVariatio === undefined ? true : _options$flipVariatio,
|
|
8528
8587
|
allowedAutoPlacements = options.allowedAutoPlacements;
|
|
8529
8588
|
var preferredPlacement = state.options.placement;
|
|
8530
8589
|
var basePlacement = getBasePlacement(preferredPlacement);
|
|
@@ -8637,7 +8696,7 @@ var flip$3 = {
|
|
|
8637
8696
|
};
|
|
8638
8697
|
|
|
8639
8698
|
function getSideOffsets(overflow, rect, preventedOffsets) {
|
|
8640
|
-
if (preventedOffsets ===
|
|
8699
|
+
if (preventedOffsets === undefined) {
|
|
8641
8700
|
preventedOffsets = {
|
|
8642
8701
|
x: 0,
|
|
8643
8702
|
y: 0
|
|
@@ -8721,7 +8780,7 @@ function offset$2(_ref2) {
|
|
|
8721
8780
|
options = _ref2.options,
|
|
8722
8781
|
name = _ref2.name;
|
|
8723
8782
|
var _options$offset = options.offset,
|
|
8724
|
-
offset = _options$offset ===
|
|
8783
|
+
offset = _options$offset === undefined ? [0, 0] : _options$offset;
|
|
8725
8784
|
var data = placements$1.reduce(function (acc, placement) {
|
|
8726
8785
|
acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
|
|
8727
8786
|
return acc;
|
|
@@ -8780,17 +8839,17 @@ function preventOverflow(_ref) {
|
|
|
8780
8839
|
options = _ref.options,
|
|
8781
8840
|
name = _ref.name;
|
|
8782
8841
|
var _options$mainAxis = options.mainAxis,
|
|
8783
|
-
checkMainAxis = _options$mainAxis ===
|
|
8842
|
+
checkMainAxis = _options$mainAxis === undefined ? true : _options$mainAxis,
|
|
8784
8843
|
_options$altAxis = options.altAxis,
|
|
8785
|
-
checkAltAxis = _options$altAxis ===
|
|
8844
|
+
checkAltAxis = _options$altAxis === undefined ? false : _options$altAxis,
|
|
8786
8845
|
boundary = options.boundary,
|
|
8787
8846
|
rootBoundary = options.rootBoundary,
|
|
8788
8847
|
altBoundary = options.altBoundary,
|
|
8789
8848
|
padding = options.padding,
|
|
8790
8849
|
_options$tether = options.tether,
|
|
8791
|
-
tether = _options$tether ===
|
|
8850
|
+
tether = _options$tether === undefined ? true : _options$tether,
|
|
8792
8851
|
_options$tetherOffset = options.tetherOffset,
|
|
8793
|
-
tetherOffset = _options$tetherOffset ===
|
|
8852
|
+
tetherOffset = _options$tetherOffset === undefined ? 0 : _options$tetherOffset;
|
|
8794
8853
|
var overflow = detectOverflow$1(state, {
|
|
8795
8854
|
boundary: boundary,
|
|
8796
8855
|
rootBoundary: rootBoundary,
|
|
@@ -8857,7 +8916,7 @@ function preventOverflow(_ref) {
|
|
|
8857
8916
|
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
8858
8917
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent$1(state.elements.arrow);
|
|
8859
8918
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
8860
|
-
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ?
|
|
8919
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? undefined : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
8861
8920
|
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
8862
8921
|
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
8863
8922
|
var preventedOffset = within(tether ? min$1(min, tetherMin) : min, offset, tether ? max$1(max, tetherMax) : max);
|
|
@@ -8882,7 +8941,7 @@ function preventOverflow(_ref) {
|
|
|
8882
8941
|
|
|
8883
8942
|
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
8884
8943
|
|
|
8885
|
-
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ?
|
|
8944
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? undefined : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
8886
8945
|
|
|
8887
8946
|
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
8888
8947
|
|
|
@@ -8931,7 +8990,7 @@ function isElementScaled(element) {
|
|
|
8931
8990
|
|
|
8932
8991
|
|
|
8933
8992
|
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
8934
|
-
if (isFixed ===
|
|
8993
|
+
if (isFixed === undefined) {
|
|
8935
8994
|
isFixed = false;
|
|
8936
8995
|
}
|
|
8937
8996
|
|
|
@@ -9062,17 +9121,17 @@ function areValidElements() {
|
|
|
9062
9121
|
}
|
|
9063
9122
|
|
|
9064
9123
|
function popperGenerator(generatorOptions) {
|
|
9065
|
-
if (generatorOptions ===
|
|
9124
|
+
if (generatorOptions === undefined) {
|
|
9066
9125
|
generatorOptions = {};
|
|
9067
9126
|
}
|
|
9068
9127
|
|
|
9069
9128
|
var _generatorOptions = generatorOptions,
|
|
9070
9129
|
_generatorOptions$def = _generatorOptions.defaultModifiers,
|
|
9071
|
-
defaultModifiers = _generatorOptions$def ===
|
|
9130
|
+
defaultModifiers = _generatorOptions$def === undefined ? [] : _generatorOptions$def,
|
|
9072
9131
|
_generatorOptions$def2 = _generatorOptions.defaultOptions,
|
|
9073
|
-
defaultOptions = _generatorOptions$def2 ===
|
|
9132
|
+
defaultOptions = _generatorOptions$def2 === undefined ? DEFAULT_OPTIONS : _generatorOptions$def2;
|
|
9074
9133
|
return function createPopper(reference, popper, options) {
|
|
9075
|
-
if (options ===
|
|
9134
|
+
if (options === undefined) {
|
|
9076
9135
|
options = defaultOptions;
|
|
9077
9136
|
}
|
|
9078
9137
|
|
|
@@ -9159,7 +9218,7 @@ function popperGenerator(generatorOptions) {
|
|
|
9159
9218
|
var _state$orderedModifie = state.orderedModifiers[index],
|
|
9160
9219
|
fn = _state$orderedModifie.fn,
|
|
9161
9220
|
_state$orderedModifie2 = _state$orderedModifie.options,
|
|
9162
|
-
_options = _state$orderedModifie2 ===
|
|
9221
|
+
_options = _state$orderedModifie2 === undefined ? {} : _state$orderedModifie2,
|
|
9163
9222
|
name = _state$orderedModifie.name;
|
|
9164
9223
|
|
|
9165
9224
|
if (typeof fn === 'function') {
|
|
@@ -9204,7 +9263,7 @@ function popperGenerator(generatorOptions) {
|
|
|
9204
9263
|
state.orderedModifiers.forEach(function (_ref) {
|
|
9205
9264
|
var name = _ref.name,
|
|
9206
9265
|
_ref$options = _ref.options,
|
|
9207
|
-
options = _ref$options ===
|
|
9266
|
+
options = _ref$options === undefined ? {} : _ref$options,
|
|
9208
9267
|
effect = _ref.effect;
|
|
9209
9268
|
|
|
9210
9269
|
if (typeof effect === 'function') {
|
|
@@ -9323,7 +9382,7 @@ class Popover {
|
|
|
9323
9382
|
* @slot - Default unnamed slot for the use of popover content
|
|
9324
9383
|
* @slot trigger - The element in this slot triggers hiding and showing the popover.
|
|
9325
9384
|
*/
|
|
9326
|
-
class AuroPopover extends r$
|
|
9385
|
+
class AuroPopover extends r$b {
|
|
9327
9386
|
constructor() {
|
|
9328
9387
|
super();
|
|
9329
9388
|
|
|
@@ -9338,7 +9397,7 @@ class AuroPopover extends r$7 {
|
|
|
9338
9397
|
privateDefaults() {
|
|
9339
9398
|
this.isPopoverVisible = false;
|
|
9340
9399
|
this.id = `popover-${(Math.random() + 1).toString(36).substring(7)}`;
|
|
9341
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9400
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9342
9401
|
}
|
|
9343
9402
|
|
|
9344
9403
|
// function to define props used within the scope of this component
|
|
@@ -9353,9 +9412,9 @@ class AuroPopover extends r$7 {
|
|
|
9353
9412
|
|
|
9354
9413
|
static get styles() {
|
|
9355
9414
|
return [
|
|
9356
|
-
i$
|
|
9357
|
-
i$
|
|
9358
|
-
i$
|
|
9415
|
+
i$g`${styleCss$6}`,
|
|
9416
|
+
i$g`${colorCss$6}`,
|
|
9417
|
+
i$g`${tokensCss$6}`
|
|
9359
9418
|
];
|
|
9360
9419
|
}
|
|
9361
9420
|
|
|
@@ -9368,7 +9427,7 @@ class AuroPopover extends r$7 {
|
|
|
9368
9427
|
*
|
|
9369
9428
|
*/
|
|
9370
9429
|
static register(name = "auro-popover") {
|
|
9371
|
-
AuroLibraryRuntimeUtils$
|
|
9430
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroPopover);
|
|
9372
9431
|
}
|
|
9373
9432
|
|
|
9374
9433
|
connectedCallback() {
|
|
@@ -9499,7 +9558,7 @@ class AuroPopover extends r$7 {
|
|
|
9499
9558
|
|
|
9500
9559
|
// function that renders the HTML and CSS into the scope of the component
|
|
9501
9560
|
render() {
|
|
9502
|
-
return x$
|
|
9561
|
+
return x$3`
|
|
9503
9562
|
<div id="popover" class="popover util_insetLg" aria-live="polite" part="popover">
|
|
9504
9563
|
<div id="arrow" class="arrow" data-popper-arrow></div>
|
|
9505
9564
|
<span role="tooltip" aria-labelledby="${this.id}"><slot></slot></span>
|
|
@@ -9516,7 +9575,7 @@ var popoverVersion = '4.1.2';
|
|
|
9516
9575
|
|
|
9517
9576
|
/* eslint-disable max-lines, no-underscore-dangle, no-magic-numbers, no-underscore-dangle, max-params, no-void, init-declarations, no-extra-parens, arrow-parens, max-lines, line-comment-position, no-inline-comments, lit/binding-positions, lit/no-invalid-html */
|
|
9518
9577
|
|
|
9519
|
-
class AuroCalendarCell extends r$
|
|
9578
|
+
class AuroCalendarCell extends r$b {
|
|
9520
9579
|
constructor() {
|
|
9521
9580
|
super();
|
|
9522
9581
|
|
|
@@ -9536,7 +9595,7 @@ class AuroCalendarCell extends r$7 {
|
|
|
9536
9595
|
this.dateStr = null;
|
|
9537
9596
|
this.renderForDateSlot = false; // When false, the numerical date will render vertically centered. When true, the date will render off-center to the top and leave room below for the slot content.
|
|
9538
9597
|
|
|
9539
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9598
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9540
9599
|
|
|
9541
9600
|
/**
|
|
9542
9601
|
* Generate unique names for dependency components.
|
|
@@ -9582,9 +9641,9 @@ class AuroCalendarCell extends r$7 {
|
|
|
9582
9641
|
static get styles() {
|
|
9583
9642
|
return [
|
|
9584
9643
|
// ...super.styles,
|
|
9585
|
-
styleCss$
|
|
9586
|
-
colorCss$
|
|
9587
|
-
tokensCss$
|
|
9644
|
+
styleCss$7,
|
|
9645
|
+
colorCss$7,
|
|
9646
|
+
tokensCss$7
|
|
9588
9647
|
];
|
|
9589
9648
|
}
|
|
9590
9649
|
|
|
@@ -9639,7 +9698,7 @@ class AuroCalendarCell extends r$7 {
|
|
|
9639
9698
|
|
|
9640
9699
|
let _a;
|
|
9641
9700
|
this.dispatchEvent(new CustomEvent('date-is-hovered', {
|
|
9642
|
-
detail: { date: (_a = this.day) === null || _a ===
|
|
9701
|
+
detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
|
|
9643
9702
|
}));
|
|
9644
9703
|
}
|
|
9645
9704
|
|
|
@@ -9851,7 +9910,7 @@ class AuroCalendarCell extends r$7 {
|
|
|
9851
9910
|
};
|
|
9852
9911
|
|
|
9853
9912
|
let _a, _b;
|
|
9854
|
-
return u$
|
|
9913
|
+
return u$8`
|
|
9855
9914
|
<${this.popoverTag}>
|
|
9856
9915
|
<slot name="popover_${this.dateStr}"></slot>
|
|
9857
9916
|
<button
|
|
@@ -9859,12 +9918,12 @@ class AuroCalendarCell extends r$7 {
|
|
|
9859
9918
|
@click="${this.handleTap}"
|
|
9860
9919
|
@mouseover="${this.handleHover}"
|
|
9861
9920
|
@focus="${this.handleHover}"
|
|
9862
|
-
class="${e$
|
|
9921
|
+
class="${e$9(buttonClasses)}"
|
|
9863
9922
|
?disabled="${this.disabled}"
|
|
9864
|
-
title="${this.getTitle((_a = this.day) === null || _a ===
|
|
9923
|
+
title="${this.getTitle((_a = this.day) === null || _a === undefined ? undefined : _a.date)}"
|
|
9865
9924
|
tabindex="-1">
|
|
9866
9925
|
<div class="buttonWrapper">
|
|
9867
|
-
<div class="currentDayMarker">${(_b = this.day) === null || _b ===
|
|
9926
|
+
<div class="currentDayMarker">${(_b = this.day) === null || _b === undefined ? undefined : _b.title}</div>
|
|
9868
9927
|
<div class="dateSlot" part="dateSlot">
|
|
9869
9928
|
<slot name="date_${this.dateStr}"></slot>
|
|
9870
9929
|
</div>
|
|
@@ -9887,9 +9946,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9887
9946
|
static get styles() {
|
|
9888
9947
|
return [
|
|
9889
9948
|
// ...super.styles,
|
|
9890
|
-
styleCss$
|
|
9891
|
-
colorCss$
|
|
9892
|
-
tokensCss$
|
|
9949
|
+
styleCss$8,
|
|
9950
|
+
colorCss$8,
|
|
9951
|
+
tokensCss$7
|
|
9893
9952
|
];
|
|
9894
9953
|
}
|
|
9895
9954
|
|
|
@@ -9938,10 +9997,10 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9938
9997
|
}
|
|
9939
9998
|
|
|
9940
9999
|
renderDay(day) {
|
|
9941
|
-
return x$
|
|
10000
|
+
return x$3`
|
|
9942
10001
|
<div class="td ${this.tdIsEnabled(day)}">
|
|
9943
10002
|
${day
|
|
9944
|
-
? x$
|
|
10003
|
+
? x$3`
|
|
9945
10004
|
<auro-calendar-cell
|
|
9946
10005
|
.disabledDays="${this.disabledDays}"
|
|
9947
10006
|
.min="${this.min}"
|
|
@@ -9968,7 +10027,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9968
10027
|
render() {
|
|
9969
10028
|
var _a, _b;
|
|
9970
10029
|
|
|
9971
|
-
return x$
|
|
10030
|
+
return x$3 `
|
|
9972
10031
|
<div>
|
|
9973
10032
|
<div class="header">
|
|
9974
10033
|
${this.renderPrevButton()}
|
|
@@ -9982,11 +10041,11 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9982
10041
|
<div class="table">
|
|
9983
10042
|
<div class="thead">
|
|
9984
10043
|
<div class="tr">
|
|
9985
|
-
${(_a = this.dayNamesOfTheWeek) === null || _a ===
|
|
10044
|
+
${(_a = this.dayNamesOfTheWeek) === null || _a === undefined ? undefined : _a.map(dayNameOfWeek => this.renderDayOfWeek(dayNameOfWeek))}
|
|
9986
10045
|
</div>
|
|
9987
10046
|
</div>
|
|
9988
10047
|
<div class="tbody">
|
|
9989
|
-
${(_b = this.daysOfMonth) === null || _b ===
|
|
10048
|
+
${(_b = this.daysOfMonth) === null || _b === undefined ? undefined : _b.map(week => this.renderWeek(week))}
|
|
9990
10049
|
</div>
|
|
9991
10050
|
</div>
|
|
9992
10051
|
</div>
|
|
@@ -10001,7 +10060,7 @@ if (!customElements.get('auro-calendar-month')) {
|
|
|
10001
10060
|
|
|
10002
10061
|
/* eslint-disable no-underscore-dangle, no-magic-numbers, no-underscore-dangle, no-void, init-declarations, no-extra-parens, no-unused-expressions */
|
|
10003
10062
|
|
|
10004
|
-
class RangeDatepicker extends r$
|
|
10063
|
+
class RangeDatepicker extends r$b {
|
|
10005
10064
|
constructor() {
|
|
10006
10065
|
super();
|
|
10007
10066
|
|
|
@@ -10058,7 +10117,7 @@ class RangeDatepicker extends r$7 {
|
|
|
10058
10117
|
}
|
|
10059
10118
|
|
|
10060
10119
|
renderNormal() {
|
|
10061
|
-
return x$
|
|
10120
|
+
return x$3`
|
|
10062
10121
|
<div id="container">
|
|
10063
10122
|
<wc-range-datepicker-calendar
|
|
10064
10123
|
id="firstDatePicker"
|
|
@@ -10104,7 +10163,7 @@ class RangeDatepicker extends r$7 {
|
|
|
10104
10163
|
}
|
|
10105
10164
|
|
|
10106
10165
|
renderNarrow() {
|
|
10107
|
-
return x$
|
|
10166
|
+
return x$3`
|
|
10108
10167
|
<wc-range-datepicker-calendar
|
|
10109
10168
|
.disabledDays="${this.disabledDays}"
|
|
10110
10169
|
min="${this.min}"
|
|
@@ -10161,16 +10220,16 @@ class RangeDatepicker extends r$7 {
|
|
|
10161
10220
|
handlePrevMonth() {
|
|
10162
10221
|
let _a;
|
|
10163
10222
|
if (!this.enableYearChange) {
|
|
10164
|
-
const calendar = (_a = this.shadowRoot) === null || _a ===
|
|
10165
|
-
calendar === null || calendar ===
|
|
10223
|
+
const calendar = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('wc-range-datepicker-calendar[next]');
|
|
10224
|
+
calendar === null || calendar === undefined ? undefined : calendar.handlePrevMonth();
|
|
10166
10225
|
}
|
|
10167
10226
|
}
|
|
10168
10227
|
|
|
10169
10228
|
handleNextMonth() {
|
|
10170
10229
|
let _a;
|
|
10171
10230
|
if (!this.enableYearChange) {
|
|
10172
|
-
const calendar = (_a = this.shadowRoot) === null || _a ===
|
|
10173
|
-
calendar === null || calendar ===
|
|
10231
|
+
const calendar = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('wc-range-datepicker-calendar[prev]');
|
|
10232
|
+
calendar === null || calendar === undefined ? undefined : calendar.handleNextMonth();
|
|
10174
10233
|
}
|
|
10175
10234
|
}
|
|
10176
10235
|
|
|
@@ -10217,7 +10276,7 @@ class RangeDatepicker extends r$7 {
|
|
|
10217
10276
|
}));
|
|
10218
10277
|
}
|
|
10219
10278
|
}
|
|
10220
|
-
RangeDatepicker.styles = i$
|
|
10279
|
+
RangeDatepicker.styles = i$g`
|
|
10221
10280
|
:host {
|
|
10222
10281
|
display: block;
|
|
10223
10282
|
position: relative;
|
|
@@ -10232,21 +10291,21 @@ RangeDatepicker.styles = i$c`
|
|
|
10232
10291
|
margin-right: 16px;
|
|
10233
10292
|
}
|
|
10234
10293
|
`;
|
|
10235
|
-
__decorate([n$
|
|
10236
|
-
__decorate([n$
|
|
10237
|
-
__decorate([n$
|
|
10238
|
-
__decorate([n$
|
|
10239
|
-
__decorate([n$
|
|
10240
|
-
__decorate([n$
|
|
10241
|
-
__decorate([n$
|
|
10242
|
-
__decorate([n$
|
|
10243
|
-
__decorate([n$
|
|
10244
|
-
__decorate([n$
|
|
10245
|
-
__decorate([n$
|
|
10246
|
-
__decorate([n$
|
|
10247
|
-
__decorate([n$
|
|
10248
|
-
__decorate([n$
|
|
10249
|
-
__decorate([n$
|
|
10294
|
+
__decorate([n$8({ type: Array })], RangeDatepicker.prototype, "disabledDays", undefined);
|
|
10295
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "enableYearChange", undefined);
|
|
10296
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "forceNarrow", undefined);
|
|
10297
|
+
__decorate([n$8({ type: Object })], RangeDatepicker.prototype, "locale", undefined);
|
|
10298
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "max", undefined);
|
|
10299
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "min", undefined);
|
|
10300
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "month", undefined);
|
|
10301
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "noRange", undefined);
|
|
10302
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "year", undefined);
|
|
10303
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "dateFrom", undefined);
|
|
10304
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "dateTo", undefined);
|
|
10305
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "hoveredDate", undefined);
|
|
10306
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "monthPlus", undefined);
|
|
10307
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "yearPlus", undefined);
|
|
10308
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "narrow", undefined);
|
|
10250
10309
|
|
|
10251
10310
|
var chevronLeft = {"role":"img","color":"currentColor","title":"","desc":"Directional indicator; left.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"chevron-left","category":"interface","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"chevron-left__desc\" class=\"ico_squareLarge\" 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=\"chevron-left__desc\">Directional indicator; left.</desc><path d=\"m14.395 6.345.084.073a.75.75 0 0 1 .072.977l-.072.084-4.47 4.47 4.47 4.47a.75.75 0 0 1 .072.976l-.072.084a.75.75 0 0 1-.977.072l-.084-.072-4.823-4.823a1 1 0 0 1 0-1.415l4.823-4.823a.75.75 0 0 1 .977-.073\"/></svg>"};
|
|
10252
10311
|
|
|
@@ -10399,7 +10458,7 @@ class CalendarUtilities {
|
|
|
10399
10458
|
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
10400
10459
|
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
10401
10460
|
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
10402
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat
|
|
10461
|
+
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
10403
10462
|
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
10404
10463
|
* - 'short' (e.g., Thu)
|
|
10405
10464
|
* - 'narrow' (e.g., T).
|
|
@@ -10463,9 +10522,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10463
10522
|
|
|
10464
10523
|
static get styles() {
|
|
10465
10524
|
return [
|
|
10466
|
-
styleCss$
|
|
10467
|
-
colorCss$
|
|
10468
|
-
tokensCss$
|
|
10525
|
+
styleCss$9,
|
|
10526
|
+
colorCss$9,
|
|
10527
|
+
tokensCss$7
|
|
10469
10528
|
];
|
|
10470
10529
|
}
|
|
10471
10530
|
|
|
@@ -10536,8 +10595,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10536
10595
|
this.utilCalRender.setFirstRenderableMonthDate(this);
|
|
10537
10596
|
this.utilCal.assessNavigationButtonVisibility(this);
|
|
10538
10597
|
|
|
10539
|
-
const dropdown = AuroLibraryRuntimeUtils$
|
|
10540
|
-
const dropdownbib = dropdown ? dropdown.bibContent : AuroLibraryRuntimeUtils$
|
|
10598
|
+
const dropdown = AuroLibraryRuntimeUtils$3.prototype.closestElement('auro-dropdown, [auro-dropdown]', this);
|
|
10599
|
+
const dropdownbib = dropdown ? dropdown.bibContent : AuroLibraryRuntimeUtils$3.prototype.closestElement('auro-dropdownbib', this);
|
|
10541
10600
|
const mobileLayout = dropdownbib.hasAttribute('isfullscreen');
|
|
10542
10601
|
this.utilCalRender.determineNumCalendarsToRender(this, mobileLayout);
|
|
10543
10602
|
|
|
@@ -10577,7 +10636,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10577
10636
|
const firstMonth = this.firstRenderedMonth.getMonth() + 1;
|
|
10578
10637
|
const firstYear = this.firstRenderedMonth.getFullYear();
|
|
10579
10638
|
|
|
10580
|
-
renderedHtml = x$
|
|
10639
|
+
renderedHtml = x$3`${renderedHtml}${this.utilCalRender.renderCalendar(this, firstMonth, firstYear)}`;
|
|
10581
10640
|
|
|
10582
10641
|
// Loop through the number of remaining calendars to render and add the HTML
|
|
10583
10642
|
let newMonthDate = undefined;
|
|
@@ -10603,7 +10662,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10603
10662
|
const newMonthDateStr = `${newMonth}/1/${newYear}`;
|
|
10604
10663
|
newMonthDate = new Date(newMonthDateStr);
|
|
10605
10664
|
|
|
10606
|
-
renderedHtml = x$
|
|
10665
|
+
renderedHtml = x$3`${renderedHtml}${this.utilCalRender.renderCalendar(this, newMonth, newYear)}`;
|
|
10607
10666
|
}
|
|
10608
10667
|
}
|
|
10609
10668
|
return renderedHtml;
|
|
@@ -10666,7 +10725,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10666
10725
|
}
|
|
10667
10726
|
|
|
10668
10727
|
render() {
|
|
10669
|
-
return x$
|
|
10728
|
+
return x$3`
|
|
10670
10729
|
<div class="calendarWrapper">
|
|
10671
10730
|
<div class="mobileHeader">
|
|
10672
10731
|
<div class="headerDateFrom">
|
|
@@ -10683,12 +10742,12 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10683
10742
|
<auro-button fluid @click="${this.utilCal.requestDismiss}">Done</auro-button>
|
|
10684
10743
|
</div>
|
|
10685
10744
|
</div>
|
|
10686
|
-
${this.showPrevMonthBtn ? x$
|
|
10745
|
+
${this.showPrevMonthBtn ? x$3`
|
|
10687
10746
|
<button class="calendarNavBtn prevMonth" @click="${this.handlePrevMonth}">
|
|
10688
10747
|
${this.util.generateIconHtml(chevronLeft)}
|
|
10689
10748
|
</button>
|
|
10690
10749
|
` : undefined}
|
|
10691
|
-
${this.showNextMonthBtn ? x$
|
|
10750
|
+
${this.showNextMonthBtn ? x$3`
|
|
10692
10751
|
<button class="calendarNavBtn nextMonth" @click="${this.handleNextMonth}">
|
|
10693
10752
|
${this.util.generateIconHtml(chevronRight)}
|
|
10694
10753
|
</button>
|
|
@@ -10707,33 +10766,33 @@ if (!customElements.get('auro-calendar')) {
|
|
|
10707
10766
|
* Copyright 2017 Google LLC
|
|
10708
10767
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10709
10768
|
*/
|
|
10710
|
-
const t$
|
|
10769
|
+
const t$4$1=globalThis,i$9$1=t$4$1.trustedTypes,s$4$1=i$9$1?i$9$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$7$1="$lit$",h$3$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7$1="?"+h$3$1,n$6$1=`<${o$7$1}>`,r$7$1=document,l$4$1=()=>r$7$1.createComment(""),c$5$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4$1=Array.isArray,u$4$1=t=>a$4$1(t)||"function"==typeof t?.[Symbol.iterator],d$3$1="[ \t\n\f\r]",f$3$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1$1=/-->/g,_$1$1=/>/g,m$1$1=RegExp(`>|${d$3$1}(?:([^\\s"'>=/]+)(${d$3$1}*=${d$3$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$3$1=/'/g,g$1$1=/"/g,$$1$1=/^(?:script|style|textarea|title)$/i,y$3$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1$1=y$3$1(1),T$1$1=Symbol.for("lit-noChange"),E$1$1=Symbol.for("lit-nothing"),A$1$1=new WeakMap,C$1$1=r$7$1.createTreeWalker(r$7$1,129);function P$1$1(t,i){if(!a$4$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$4$1?s$4$1.createHTML(i):i}const V$1$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3$1?"!--"===u[1]?c=v$1$1:undefined!==u[1]?c=_$1$1:undefined!==u[2]?($$1$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1$1):undefined!==u[3]&&(c=m$1$1):c===m$1$1?">"===u[0]?(c=r??f$3$1,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$1$1:'"'===u[3]?g$1$1:p$3$1):c===g$1$1||c===p$3$1?c=m$1$1:c===v$1$1||c===_$1$1?c=f$3$1:(c=m$1$1,r=undefined);const x=c===m$1$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3$1?s+n$6$1:d>=0?(o.push(a),s.slice(0,d)+e$7$1+s.slice(d)+h$3$1+x):s+h$3$1+(-2===d?i:x);}return [P$1$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1$1(t,s);if(this.el=N.createElement(f,n),C$1$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7$1)){const i=v[a++],s=r.getAttribute(t).split(h$3$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1$1:"?"===e[1]?I$1$1:"@"===e[1]?L$1$1:k$1$1}),r.removeAttribute(t);}else t.startsWith(h$3$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1$1.test(r.tagName)){const t=r.textContent.split(h$3$1),s=t.length-1;if(s>0){r.textContent=i$9$1?i$9$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4$1()),C$1$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4$1());}}}else if(8===r.nodeType)if(r.data===o$7$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3$1,t+1));)d.push({type:7,index:c}),t+=h$3$1.length-1;}c++;}}static createElement(t,i){const s=r$7$1.createElement("template");return s.innerHTML=t,s}};function S$3$1(t,i,s=t,e){if(i===T$1$1)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$5$1(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$3$1(t,h._$AS(t,i.values),h,e)),i}let M$1$1 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7$1).importNode(i,true);C$1$1.currentNode=e;let h=C$1$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$1$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1$1.nextNode(),o++);}return C$1$1.currentNode=r$7$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1$1,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3$1(this,t,i),c$5$1(t)?t===E$1$1||null==t||""===t?(this._$AH!==E$1$1&&this._$AR(),this._$AH=E$1$1):t!==this._$AH&&t!==T$1$1&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$4$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1$1&&c$5$1(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$1$1.createElement(P$1$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1$1.get(t.strings);return undefined===i&&A$1$1.set(t.strings,i=new N$1$1(t)),i}k(t){a$4$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4$1()),this.O(l$4$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1$1,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$3$1(this,t,i,0),o=!c$5$1(t)||t!==this._$AH&&t!==T$1$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3$1(this,e[s+n],i,n),r===T$1$1&&(r=this._$AH[n]),o||=!c$5$1(r)||r!==this._$AH[n],r===E$1$1?t=E$1$1:t!==E$1$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1$1 = class H extends k$1$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1$1?undefined:t;}};let I$1$1 = class I extends k$1$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1$1);}};let L$1$1 = class L extends k$1$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3$1(this,t,i,0)??E$1$1)===T$1$1)return;const s=this._$AH,e=t===E$1$1&&s!==E$1$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1$1&&(s===E$1$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3$1(this,t);}};const j$1$1=t$4$1.litHtmlPolyfillSupport;j$1$1?.(N$1$1,R$1$1),(t$4$1.litHtmlVersions??=[]).push("3.2.1");const B$1$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1$1(i.insertBefore(l$4$1(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
10711
10770
|
|
|
10712
10771
|
/**
|
|
10713
10772
|
* @license
|
|
10714
10773
|
* Copyright 2020 Google LLC
|
|
10715
10774
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10716
10775
|
*/
|
|
10717
|
-
const a$
|
|
10776
|
+
const a$3$1=Symbol.for(""),o$6$1=t=>{if(t?.r===a$3$1)return t?._$litStatic$},s$3$1=t=>({_$litStatic$:t,r:a$3$1}),i$8$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3$1}),l$3$1=new Map,n$5$1=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$6$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$3$1.get(t))&&(n.raw=n,l$3$1.set(t,r=n)),e=u;}return t(r,...e)},u$3$1=n$5$1(x$1$1);
|
|
10718
10777
|
|
|
10719
10778
|
/**
|
|
10720
10779
|
* @license
|
|
10721
10780
|
* Copyright 2019 Google LLC
|
|
10722
10781
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10723
10782
|
*/
|
|
10724
|
-
const t$
|
|
10783
|
+
const t$3$1=globalThis,e$6$1=t$3$1.ShadowRoot&&(undefined===t$3$1.ShadyCSS||t$3$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$1=Symbol(),o$5$1=new WeakMap;let n$4$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$6$1&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$5$1.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5$1.set(s,t));}return t}toString(){return this.cssText}};const r$6$1=t=>new n$4$1("string"==typeof t?t:t+"",undefined,s$2$1),i$7$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4$1(o,t,s$2$1)},S$2$1=(s,o)=>{if(e$6$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4$1=e$6$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6$1(e)})(t):t;
|
|
10725
10784
|
|
|
10726
10785
|
/**
|
|
10727
10786
|
* @license
|
|
10728
10787
|
* Copyright 2017 Google LLC
|
|
10729
10788
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10730
|
-
*/const{is:i$
|
|
10789
|
+
*/const{is:i$6$1,defineProperty:e$5$1,getOwnPropertyDescriptor:r$5$1,getOwnPropertyNames:h$2$1,getOwnPropertySymbols:o$4$1,getPrototypeOf:n$3$1}=Object,a$2$1=globalThis,c$3$1=a$2$1.trustedTypes,l$2$1=c$3$1?c$3$1.emptyScript:"",p$2$1=a$2$1.reactiveElementPolyfillSupport,d$2$1=(t,s)=>t,u$2$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2$1=(t,s)=>!i$6$1(t,s),y$2$1={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$2$1};Symbol.metadata??=Symbol("metadata"),a$2$1.litPropertyMetadata??=new WeakMap;let b$1$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$2$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$5$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2$1}static _$Ei(){if(this.hasOwnProperty(d$2$1("elementProperties")))return;const t=n$3$1(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2$1("properties"))){const t=this.properties,s=[...h$2$1(t),...o$4$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4$1(s));}else undefined!==s&&i.push(c$4$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$2$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$2$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1$1.elementStyles=[],b$1$1.shadowRootOptions={mode:"open"},b$1$1[d$2$1("elementProperties")]=new Map,b$1$1[d$2$1("finalized")]=new Map,p$2$1?.({ReactiveElement:b$1$1}),(a$2$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
10731
10790
|
|
|
10732
10791
|
/**
|
|
10733
10792
|
* @license
|
|
10734
10793
|
* Copyright 2017 Google LLC
|
|
10735
10794
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10736
|
-
*/let r$
|
|
10795
|
+
*/let r$4$1 = class r extends b$1$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1$1}};r$4$1._$litElement$=true,r$4$1["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4$1});const i$5$1=globalThis.litElementPolyfillSupport;i$5$1?.({LitElement:r$4$1});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
10737
10796
|
|
|
10738
10797
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10739
10798
|
// See LICENSE in the project root for license information.
|
|
@@ -10742,7 +10801,7 @@ const t$1$1=globalThis,e$3$1=t$1$1.ShadowRoot&&(void 0===t$1$1.ShadyCSS||t$1$1.S
|
|
|
10742
10801
|
|
|
10743
10802
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10744
10803
|
|
|
10745
|
-
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
10804
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
10746
10805
|
|
|
10747
10806
|
/* eslint-disable jsdoc/require-param */
|
|
10748
10807
|
|
|
@@ -10853,7 +10912,7 @@ function getAlignmentAxis(placement) {
|
|
|
10853
10912
|
return getOppositeAxis(getSideAxis(placement));
|
|
10854
10913
|
}
|
|
10855
10914
|
function getAlignmentSides(placement, rects, rtl) {
|
|
10856
|
-
if (rtl ===
|
|
10915
|
+
if (rtl === undefined) {
|
|
10857
10916
|
rtl = false;
|
|
10858
10917
|
}
|
|
10859
10918
|
const alignment = getAlignment(placement);
|
|
@@ -11010,7 +11069,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
11010
11069
|
platform
|
|
11011
11070
|
} = config;
|
|
11012
11071
|
const validMiddleware = middleware.filter(Boolean);
|
|
11013
|
-
const rtl = await (platform.isRTL == null ?
|
|
11072
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(floating));
|
|
11014
11073
|
let rects = await platform.getElementRects({
|
|
11015
11074
|
reference,
|
|
11016
11075
|
floating,
|
|
@@ -11096,7 +11155,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
11096
11155
|
*/
|
|
11097
11156
|
async function detectOverflow(state, options) {
|
|
11098
11157
|
var _await$platform$isEle;
|
|
11099
|
-
if (options ===
|
|
11158
|
+
if (options === undefined) {
|
|
11100
11159
|
options = {};
|
|
11101
11160
|
}
|
|
11102
11161
|
const {
|
|
@@ -11118,7 +11177,7 @@ async function detectOverflow(state, options) {
|
|
|
11118
11177
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
11119
11178
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
11120
11179
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
11121
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ?
|
|
11180
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? undefined : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? undefined : platform.getDocumentElement(elements.floating))),
|
|
11122
11181
|
boundary,
|
|
11123
11182
|
rootBoundary,
|
|
11124
11183
|
strategy
|
|
@@ -11129,8 +11188,8 @@ async function detectOverflow(state, options) {
|
|
|
11129
11188
|
width: rects.floating.width,
|
|
11130
11189
|
height: rects.floating.height
|
|
11131
11190
|
} : rects.reference;
|
|
11132
|
-
const offsetParent = await (platform.getOffsetParent == null ?
|
|
11133
|
-
const offsetScale = (await (platform.isElement == null ?
|
|
11191
|
+
const offsetParent = await (platform.getOffsetParent == null ? undefined : platform.getOffsetParent(elements.floating));
|
|
11192
|
+
const offsetScale = (await (platform.isElement == null ? undefined : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? undefined : platform.getScale(offsetParent))) || {
|
|
11134
11193
|
x: 1,
|
|
11135
11194
|
y: 1
|
|
11136
11195
|
} : {
|
|
@@ -11167,7 +11226,7 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
|
11167
11226
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
11168
11227
|
*/
|
|
11169
11228
|
const autoPlacement$1 = function (options) {
|
|
11170
|
-
if (options ===
|
|
11229
|
+
if (options === undefined) {
|
|
11171
11230
|
options = {};
|
|
11172
11231
|
}
|
|
11173
11232
|
return {
|
|
@@ -11191,12 +11250,12 @@ const autoPlacement$1 = function (options) {
|
|
|
11191
11250
|
} = evaluate(options, state);
|
|
11192
11251
|
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
11193
11252
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
11194
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ?
|
|
11253
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP.index) || 0;
|
|
11195
11254
|
const currentPlacement = placements$1[currentIndex];
|
|
11196
11255
|
if (currentPlacement == null) {
|
|
11197
11256
|
return {};
|
|
11198
11257
|
}
|
|
11199
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ?
|
|
11258
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating)));
|
|
11200
11259
|
|
|
11201
11260
|
// Make `computeCoords` start from the right place.
|
|
11202
11261
|
if (placement !== currentPlacement) {
|
|
@@ -11207,7 +11266,7 @@ const autoPlacement$1 = function (options) {
|
|
|
11207
11266
|
};
|
|
11208
11267
|
}
|
|
11209
11268
|
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
11210
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ?
|
|
11269
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP2.overflows) || []), {
|
|
11211
11270
|
placement: currentPlacement,
|
|
11212
11271
|
overflows: currentOverflows
|
|
11213
11272
|
}];
|
|
@@ -11237,7 +11296,7 @@ const autoPlacement$1 = function (options) {
|
|
|
11237
11296
|
// Aligned placements should not check their opposite crossAxis
|
|
11238
11297
|
// side.
|
|
11239
11298
|
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
11240
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ?
|
|
11299
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? undefined : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
11241
11300
|
if (resetPlacement !== placement) {
|
|
11242
11301
|
return {
|
|
11243
11302
|
data: {
|
|
@@ -11261,7 +11320,7 @@ const autoPlacement$1 = function (options) {
|
|
|
11261
11320
|
* @see https://floating-ui.com/docs/flip
|
|
11262
11321
|
*/
|
|
11263
11322
|
const flip$1 = function (options) {
|
|
11264
|
-
if (options ===
|
|
11323
|
+
if (options === undefined) {
|
|
11265
11324
|
options = {};
|
|
11266
11325
|
}
|
|
11267
11326
|
return {
|
|
@@ -11297,7 +11356,7 @@ const flip$1 = function (options) {
|
|
|
11297
11356
|
const side = getSide(placement);
|
|
11298
11357
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
11299
11358
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
11300
|
-
const rtl = await (platform.isRTL == null ?
|
|
11359
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
|
|
11301
11360
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
11302
11361
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
11303
11362
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -11306,7 +11365,7 @@ const flip$1 = function (options) {
|
|
|
11306
11365
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
11307
11366
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
11308
11367
|
const overflows = [];
|
|
11309
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
11368
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? undefined : _middlewareData$flip.overflows) || [];
|
|
11310
11369
|
if (checkMainAxis) {
|
|
11311
11370
|
overflows.push(overflow[side]);
|
|
11312
11371
|
}
|
|
@@ -11322,7 +11381,7 @@ const flip$1 = function (options) {
|
|
|
11322
11381
|
// One or more sides is overflowing.
|
|
11323
11382
|
if (!overflows.every(side => side <= 0)) {
|
|
11324
11383
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
11325
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
11384
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? undefined : _middlewareData$flip2.index) || 0) + 1;
|
|
11326
11385
|
const nextPlacement = placements[nextIndex];
|
|
11327
11386
|
if (nextPlacement) {
|
|
11328
11387
|
// Try next placement and re-run the lifecycle.
|
|
@@ -11339,7 +11398,7 @@ const flip$1 = function (options) {
|
|
|
11339
11398
|
|
|
11340
11399
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
11341
11400
|
// then find the placement that fits the best on the main crossAxis side.
|
|
11342
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ?
|
|
11401
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? undefined : _overflowsData$filter.placement;
|
|
11343
11402
|
|
|
11344
11403
|
// Otherwise fallback.
|
|
11345
11404
|
if (!resetPlacement) {
|
|
@@ -11356,7 +11415,7 @@ const flip$1 = function (options) {
|
|
|
11356
11415
|
currentSideAxis === 'y';
|
|
11357
11416
|
}
|
|
11358
11417
|
return true;
|
|
11359
|
-
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ?
|
|
11418
|
+
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? undefined : _overflowsData$filter2[0];
|
|
11360
11419
|
if (placement) {
|
|
11361
11420
|
resetPlacement = placement;
|
|
11362
11421
|
}
|
|
@@ -11389,7 +11448,7 @@ async function convertValueToCoords(state, options) {
|
|
|
11389
11448
|
platform,
|
|
11390
11449
|
elements
|
|
11391
11450
|
} = state;
|
|
11392
|
-
const rtl = await (platform.isRTL == null ?
|
|
11451
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
|
|
11393
11452
|
const side = getSide(placement);
|
|
11394
11453
|
const alignment = getAlignment(placement);
|
|
11395
11454
|
const isVertical = getSideAxis(placement) === 'y';
|
|
@@ -11431,7 +11490,7 @@ async function convertValueToCoords(state, options) {
|
|
|
11431
11490
|
* @see https://floating-ui.com/docs/offset
|
|
11432
11491
|
*/
|
|
11433
11492
|
const offset$1 = function (options) {
|
|
11434
|
-
if (options ===
|
|
11493
|
+
if (options === undefined) {
|
|
11435
11494
|
options = 0;
|
|
11436
11495
|
}
|
|
11437
11496
|
return {
|
|
@@ -11449,7 +11508,7 @@ const offset$1 = function (options) {
|
|
|
11449
11508
|
|
|
11450
11509
|
// If the placement is the same and the arrow caused an alignment offset
|
|
11451
11510
|
// then we don't need to change the positioning coordinates.
|
|
11452
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
11511
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? undefined : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
11453
11512
|
return {};
|
|
11454
11513
|
}
|
|
11455
11514
|
return {
|
|
@@ -11478,11 +11537,11 @@ function getNodeName(node) {
|
|
|
11478
11537
|
}
|
|
11479
11538
|
function getWindow(node) {
|
|
11480
11539
|
var _node$ownerDocument;
|
|
11481
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
11540
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? undefined : _node$ownerDocument.defaultView) || window;
|
|
11482
11541
|
}
|
|
11483
11542
|
function getDocumentElement(node) {
|
|
11484
11543
|
var _ref;
|
|
11485
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
11544
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? undefined : _ref.documentElement;
|
|
11486
11545
|
}
|
|
11487
11546
|
function isNode(value) {
|
|
11488
11547
|
if (!hasWindow()) {
|
|
@@ -11597,14 +11656,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
11597
11656
|
}
|
|
11598
11657
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
11599
11658
|
var _node$ownerDocument2;
|
|
11600
|
-
if (list ===
|
|
11659
|
+
if (list === undefined) {
|
|
11601
11660
|
list = [];
|
|
11602
11661
|
}
|
|
11603
|
-
if (traverseIframes ===
|
|
11662
|
+
if (traverseIframes === undefined) {
|
|
11604
11663
|
traverseIframes = true;
|
|
11605
11664
|
}
|
|
11606
11665
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
11607
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
11666
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? undefined : _node$ownerDocument2.body);
|
|
11608
11667
|
const win = getWindow(scrollableAncestor);
|
|
11609
11668
|
if (isBody) {
|
|
11610
11669
|
const frameElement = getFrameElement(win);
|
|
@@ -11681,7 +11740,7 @@ function getVisualOffsets(element) {
|
|
|
11681
11740
|
};
|
|
11682
11741
|
}
|
|
11683
11742
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
11684
|
-
if (isFixed ===
|
|
11743
|
+
if (isFixed === undefined) {
|
|
11685
11744
|
isFixed = false;
|
|
11686
11745
|
}
|
|
11687
11746
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
@@ -11691,10 +11750,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
11691
11750
|
}
|
|
11692
11751
|
|
|
11693
11752
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
11694
|
-
if (includeScale ===
|
|
11753
|
+
if (includeScale === undefined) {
|
|
11695
11754
|
includeScale = false;
|
|
11696
11755
|
}
|
|
11697
|
-
if (isFixedStrategy ===
|
|
11756
|
+
if (isFixedStrategy === undefined) {
|
|
11698
11757
|
isFixedStrategy = false;
|
|
11699
11758
|
}
|
|
11700
11759
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -11754,7 +11813,7 @@ function getWindowScrollBarX(element, rect) {
|
|
|
11754
11813
|
}
|
|
11755
11814
|
|
|
11756
11815
|
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
11757
|
-
if (ignoreScrollbarX ===
|
|
11816
|
+
if (ignoreScrollbarX === undefined) {
|
|
11758
11817
|
ignoreScrollbarX = false;
|
|
11759
11818
|
}
|
|
11760
11819
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
@@ -12104,10 +12163,10 @@ function observeMove(element, onMove) {
|
|
|
12104
12163
|
io = null;
|
|
12105
12164
|
}
|
|
12106
12165
|
function refresh(skip, threshold) {
|
|
12107
|
-
if (skip ===
|
|
12166
|
+
if (skip === undefined) {
|
|
12108
12167
|
skip = false;
|
|
12109
12168
|
}
|
|
12110
|
-
if (threshold ===
|
|
12169
|
+
if (threshold === undefined) {
|
|
12111
12170
|
threshold = 1;
|
|
12112
12171
|
}
|
|
12113
12172
|
cleanup();
|
|
@@ -12178,7 +12237,7 @@ function observeMove(element, onMove) {
|
|
|
12178
12237
|
* @see https://floating-ui.com/docs/autoUpdate
|
|
12179
12238
|
*/
|
|
12180
12239
|
function autoUpdate(reference, floating, update, options) {
|
|
12181
|
-
if (options ===
|
|
12240
|
+
if (options === undefined) {
|
|
12182
12241
|
options = {};
|
|
12183
12242
|
}
|
|
12184
12243
|
const {
|
|
@@ -12394,7 +12453,7 @@ class AuroFloatingUI {
|
|
|
12394
12453
|
// Compute the position of the bib
|
|
12395
12454
|
computePosition(this.element.trigger, this.element.bib, {
|
|
12396
12455
|
placement: this.element.floaterConfig.placement || 'bottom',
|
|
12397
|
-
middleware: middleware
|
|
12456
|
+
middleware: middleware
|
|
12398
12457
|
}).then(({x, y}) => { // eslint-disable-line id-length
|
|
12399
12458
|
Object.assign(this.element.bib.style, {
|
|
12400
12459
|
left: `${x}px`,
|
|
@@ -12717,7 +12776,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
12717
12776
|
*/
|
|
12718
12777
|
generateTag(baseName, version, tagClass) {
|
|
12719
12778
|
const elementName = this.generateElementName(baseName, version);
|
|
12720
|
-
const tag = i$
|
|
12779
|
+
const tag = i$8$1`${s$3$1(elementName)}`;
|
|
12721
12780
|
|
|
12722
12781
|
if (!customElements.get(elementName)) {
|
|
12723
12782
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -12732,19 +12791,19 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
12732
12791
|
* Copyright 2017 Google LLC
|
|
12733
12792
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12734
12793
|
*/
|
|
12735
|
-
const t$
|
|
12794
|
+
const t$2$1={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$4$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$4$1 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
12736
12795
|
|
|
12737
12796
|
/**
|
|
12738
12797
|
* @license
|
|
12739
12798
|
* Copyright 2018 Google LLC
|
|
12740
12799
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12741
|
-
*/const e$
|
|
12800
|
+
*/const e$3$1=e$4$1(class extends i$4$1{constructor(t){if(super(t),t.type!==t$2$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1$1}});
|
|
12742
12801
|
|
|
12743
12802
|
/**
|
|
12744
12803
|
* @license
|
|
12745
12804
|
* Copyright 2018 Google LLC
|
|
12746
12805
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12747
|
-
*/const o$
|
|
12806
|
+
*/const o$3$1=o=>o??E$1$1;
|
|
12748
12807
|
|
|
12749
12808
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12750
12809
|
// See LICENSE in the project root for license information.
|
|
@@ -12756,7 +12815,7 @@ const t$4={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
|
|
|
12756
12815
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
12757
12816
|
*/
|
|
12758
12817
|
|
|
12759
|
-
let AuroElement$1 = class AuroElement extends r$
|
|
12818
|
+
let AuroElement$1 = class AuroElement extends r$4$1 {
|
|
12760
12819
|
|
|
12761
12820
|
// function to define props used within the scope of this component
|
|
12762
12821
|
static get properties() {
|
|
@@ -12812,7 +12871,7 @@ const cacheFetch$1 = (uri, options = {}) => {
|
|
|
12812
12871
|
return _fetchMap$1.get(uri);
|
|
12813
12872
|
};
|
|
12814
12873
|
|
|
12815
|
-
var styleCss$
|
|
12874
|
+
var styleCss$3$1 = i$7$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}: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, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}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}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
|
|
12816
12875
|
|
|
12817
12876
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12818
12877
|
// See LICENSE in the project root for license information.
|
|
@@ -12851,8 +12910,8 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
12851
12910
|
}
|
|
12852
12911
|
|
|
12853
12912
|
static get styles() {
|
|
12854
|
-
return i$
|
|
12855
|
-
${styleCss$
|
|
12913
|
+
return i$7$1`
|
|
12914
|
+
${styleCss$3$1}
|
|
12856
12915
|
`;
|
|
12857
12916
|
}
|
|
12858
12917
|
|
|
@@ -12893,9 +12952,9 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
12893
12952
|
}
|
|
12894
12953
|
};
|
|
12895
12954
|
|
|
12896
|
-
var tokensCss$
|
|
12955
|
+
var tokensCss$2$1 = i$7$1`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
12897
12956
|
|
|
12898
|
-
var colorCss$
|
|
12957
|
+
var colorCss$3$1 = i$7$1`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
12899
12958
|
|
|
12900
12959
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12901
12960
|
// See LICENSE in the project root for license information.
|
|
@@ -12957,7 +13016,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12957
13016
|
this.success = false;
|
|
12958
13017
|
this.tertiary = false;
|
|
12959
13018
|
this.warning = false;
|
|
12960
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
13019
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
12961
13020
|
}
|
|
12962
13021
|
|
|
12963
13022
|
// function to define props used within the scope of this component
|
|
@@ -13039,9 +13098,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
13039
13098
|
static get styles() {
|
|
13040
13099
|
return [
|
|
13041
13100
|
super.styles,
|
|
13042
|
-
i$
|
|
13043
|
-
i$
|
|
13044
|
-
i$
|
|
13101
|
+
i$7$1`${tokensCss$2$1}`,
|
|
13102
|
+
i$7$1`${styleCss$3$1}`,
|
|
13103
|
+
i$7$1`${colorCss$3$1}`
|
|
13045
13104
|
];
|
|
13046
13105
|
}
|
|
13047
13106
|
|
|
@@ -13054,7 +13113,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
13054
13113
|
*
|
|
13055
13114
|
*/
|
|
13056
13115
|
static register(name = "auro-icon") {
|
|
13057
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
13116
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
13058
13117
|
}
|
|
13059
13118
|
|
|
13060
13119
|
connectedCallback() {
|
|
@@ -13083,20 +13142,20 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
13083
13142
|
'wrapper': true,
|
|
13084
13143
|
};
|
|
13085
13144
|
|
|
13086
|
-
return x$1`
|
|
13145
|
+
return x$1$1`
|
|
13087
13146
|
<div
|
|
13088
|
-
class="${e$
|
|
13089
|
-
title="${o$
|
|
13090
|
-
<span aria-hidden="${o$
|
|
13091
|
-
${this.customSvg ? x$1`
|
|
13147
|
+
class="${e$3$1(classes)}"
|
|
13148
|
+
title="${o$3$1(this.title || undefined)}">
|
|
13149
|
+
<span aria-hidden="${o$3$1(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
13150
|
+
${this.customSvg ? x$1$1`
|
|
13092
13151
|
<slot name="svg"></slot>
|
|
13093
|
-
` : x$1`
|
|
13152
|
+
` : x$1$1`
|
|
13094
13153
|
${this.svg}
|
|
13095
13154
|
`
|
|
13096
13155
|
}
|
|
13097
13156
|
</span>
|
|
13098
13157
|
|
|
13099
|
-
<div class="${e$
|
|
13158
|
+
<div class="${e$3$1(a11y)}">
|
|
13100
13159
|
<slot></slot>
|
|
13101
13160
|
</div>
|
|
13102
13161
|
</div>
|
|
@@ -13106,15 +13165,238 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
13106
13165
|
|
|
13107
13166
|
var iconVersion$1 = '6.1.2';
|
|
13108
13167
|
|
|
13109
|
-
var styleCss$
|
|
13168
|
+
var styleCss$2$1 = i$7$1`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
13169
|
+
|
|
13170
|
+
var colorCss$2$1 = i$7$1`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);outline:1px solid var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
13171
|
+
|
|
13172
|
+
var tokensCss$1$1 = i$7$1`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
13173
|
+
|
|
13174
|
+
/**
|
|
13175
|
+
* @license
|
|
13176
|
+
* Copyright 2019 Google LLC
|
|
13177
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13178
|
+
*/
|
|
13179
|
+
const t$1$1=globalThis,e$2$1=t$1$1.ShadowRoot&&(undefined===t$1$1.ShadyCSS||t$1$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1$1=Symbol(),o$2$1=new WeakMap;let n$2$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2$1&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2$1.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$1.set(s,t));}return t}toString(){return this.cssText}};const r$3$1=t=>new n$2$1("string"==typeof t?t:t+"",undefined,s$1$1),i$3$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2$1(o,t,s$1$1)},S$1$1=(s,o)=>{if(e$2$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$1=e$2$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$1(e)})(t):t;
|
|
13180
|
+
|
|
13181
|
+
/**
|
|
13182
|
+
* @license
|
|
13183
|
+
* Copyright 2017 Google LLC
|
|
13184
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13185
|
+
*/const{is:i$2$1,defineProperty:e$1$1,getOwnPropertyDescriptor:r$2$1,getOwnPropertyNames:h$1$1,getOwnPropertySymbols:o$1$1,getPrototypeOf:n$1$1}=Object,a$1$1=globalThis,c$1$1=a$1$1.trustedTypes,l$1$1=c$1$1?c$1$1.emptyScript:"",p$1$1=a$1$1.reactiveElementPolyfillSupport,d$1$1=(t,s)=>t,u$1$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1$1=(t,s)=>!i$2$1(t,s),y$1$1={attribute:true,type:String,converter:u$1$1,reflect:false,hasChanged:f$1$1};Symbol.metadata??=Symbol("metadata"),a$1$1.litPropertyMetadata??=new WeakMap;let b$2 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$1$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1$1}static _$Ei(){if(this.hasOwnProperty(d$1$1("elementProperties")))return;const t=n$1$1(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$1("properties"))){const t=this.properties,s=[...h$1$1(t),...o$1$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2$1(s));}else undefined!==s&&i.push(c$2$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$1$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$1$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$2.elementStyles=[],b$2.shadowRootOptions={mode:"open"},b$2[d$1$1("elementProperties")]=new Map,b$2[d$1$1("finalized")]=new Map,p$1$1?.({ReactiveElement:b$2}),(a$1$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
13186
|
+
|
|
13187
|
+
/**
|
|
13188
|
+
* @license
|
|
13189
|
+
* Copyright 2017 Google LLC
|
|
13190
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13191
|
+
*/
|
|
13192
|
+
const t$6=globalThis,i$1$1=t$6.trustedTypes,s$6=i$1$1?i$1$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$8="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$4,n$7=`<${o$8}>`,r$1$1=document,l$5=()=>r$1$1.createComment(""),c$7=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$7=t=>a$5(t)||"function"==typeof t?.[Symbol.iterator],d$4="[ \t\n\f\r]",f$4=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$2=/>/g,m$3=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$5=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,y$4=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$4(1),T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$1$1.createTreeWalker(r$1$1,129);function P$2(t,i){if(!a$5(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$6?s$6.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$4;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$4?"!--"===u[1]?c=v$3:undefined!==u[1]?c=_$2:undefined!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$3):undefined!==u[3]&&(c=m$3):c===m$3?">"===u[0]?(c=r??f$4,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$3:'"'===u[3]?g$2:p$5):c===g$2||c===p$5?c=m$3:c===v$3||c===_$2?c=f$4:(c=m$3,r=undefined);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$4?s+n$7:d>=0?(o.push(a),s.slice(0,d)+e$8+s.slice(d)+h$4+x):s+h$4+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$2 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$2(t,s);if(this.el=N.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$8)){const i=v[a++],s=r.getAttribute(t).split(h$4),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$4)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$4),s=t.length-1;if(s>0){r.textContent=i$1$1?i$1$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$5()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$5());}}}else if(8===r.nodeType)if(r.data===o$8)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$4,t+1));)d.push({type:7,index:c}),t+=h$4.length-1;}c++;}}static createElement(t,i){const s=r$1$1.createElement("template");return s.innerHTML=t,s}};function S$4(t,i,s=t,e){if(i===T$2)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$7(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$4(t,h._$AS(t,i.values),h,e)),i}let M$3 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1$1).importNode(i,true);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$2(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$2.nextNode(),o++);}return C$2.currentNode=r$1$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$2 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$2,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$4(this,t,i),c$7(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$7(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$2&&c$7(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$2.createElement(P$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$3(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return undefined===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a$5(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$5()),this.O(l$5()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$2 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$2,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$4(this,t,i,0),o=!c$7(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$4(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$7(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$2 = class H extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?undefined:t;}};let I$2 = class I extends k$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$2);}};let L$2 = class L extends k$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$4(this,t,i,0)??E$2)===T$2)return;const s=this._$AH,e=t===E$2&&s!==E$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$2&&(s===E$2||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$2 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$4(this,t);}};const j$2=t$6.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l$5(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
13193
|
+
|
|
13194
|
+
/**
|
|
13195
|
+
* @license
|
|
13196
|
+
* Copyright 2017 Google LLC
|
|
13197
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13198
|
+
*/let r$9 = class r extends b$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$2}};r$9._$litElement$=true,r$9["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$9});const i$a=globalThis.litElementPolyfillSupport;i$a?.({LitElement:r$9});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
13199
|
+
|
|
13200
|
+
var colorCss$1$1 = i$3$1`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
13201
|
+
|
|
13202
|
+
var styleCss$1$1 = i$3$1`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
13203
|
+
|
|
13204
|
+
var tokensCss$5 = i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
13205
|
+
|
|
13206
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
13207
|
+
// See LICENSE in the project root for license information.
|
|
13208
|
+
|
|
13209
|
+
// ---------------------------------------------------------------------
|
|
13210
|
+
|
|
13211
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
13212
|
+
|
|
13213
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
13214
|
+
|
|
13215
|
+
/* eslint-disable jsdoc/require-param */
|
|
13216
|
+
|
|
13217
|
+
/**
|
|
13218
|
+
* This will register a new custom element with the browser.
|
|
13219
|
+
* @param {String} name - The name of the custom element.
|
|
13220
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
13221
|
+
* @returns {void}
|
|
13222
|
+
*/
|
|
13223
|
+
registerComponent(name, componentClass) {
|
|
13224
|
+
if (!customElements.get(name)) {
|
|
13225
|
+
customElements.define(name, class extends componentClass {});
|
|
13226
|
+
}
|
|
13227
|
+
}
|
|
13228
|
+
|
|
13229
|
+
/**
|
|
13230
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
13231
|
+
* @returns {void}
|
|
13232
|
+
*/
|
|
13233
|
+
closestElement(
|
|
13234
|
+
selector, // selector like in .closest()
|
|
13235
|
+
base = this, // extra functionality to skip a parent
|
|
13236
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
13237
|
+
!el || el === document || el === window
|
|
13238
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
13239
|
+
: found
|
|
13240
|
+
? found // found a selector INside this element
|
|
13241
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
13242
|
+
) {
|
|
13243
|
+
return __Closest(base);
|
|
13244
|
+
}
|
|
13245
|
+
/* eslint-enable jsdoc/require-param */
|
|
13246
|
+
|
|
13247
|
+
/**
|
|
13248
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
13249
|
+
* @param {Object} elem - The element to check.
|
|
13250
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
13251
|
+
* @returns {void}
|
|
13252
|
+
*/
|
|
13253
|
+
handleComponentTagRename(elem, tagName) {
|
|
13254
|
+
const tag = tagName.toLowerCase();
|
|
13255
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
13256
|
+
|
|
13257
|
+
if (elemTag !== tag) {
|
|
13258
|
+
elem.setAttribute(tag, true);
|
|
13259
|
+
}
|
|
13260
|
+
}
|
|
13261
|
+
|
|
13262
|
+
/**
|
|
13263
|
+
* Validates if an element is a specific Auro component.
|
|
13264
|
+
* @param {Object} elem - The element to validate.
|
|
13265
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
13266
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
13267
|
+
*/
|
|
13268
|
+
elementMatch(elem, tagName) {
|
|
13269
|
+
const tag = tagName.toLowerCase();
|
|
13270
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
13271
|
+
|
|
13272
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
13273
|
+
}
|
|
13274
|
+
};
|
|
13275
|
+
|
|
13276
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13277
|
+
// See LICENSE in the project root for license information.
|
|
13278
|
+
|
|
13279
|
+
|
|
13280
|
+
/**
|
|
13281
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
13282
|
+
*
|
|
13283
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
13284
|
+
*/
|
|
13285
|
+
let AuroHelpText$1 = class AuroHelpText extends r$9 {
|
|
13286
|
+
|
|
13287
|
+
constructor() {
|
|
13288
|
+
super();
|
|
13289
|
+
|
|
13290
|
+
this.error = false;
|
|
13291
|
+
this.hasTextContent = false;
|
|
13292
|
+
}
|
|
13293
|
+
|
|
13294
|
+
static get styles() {
|
|
13295
|
+
return [
|
|
13296
|
+
colorCss$1$1,
|
|
13297
|
+
styleCss$1$1,
|
|
13298
|
+
tokensCss$5
|
|
13299
|
+
];
|
|
13300
|
+
}
|
|
13301
|
+
|
|
13302
|
+
// function to define props used within the scope of this component
|
|
13303
|
+
static get properties() {
|
|
13304
|
+
return {
|
|
13305
|
+
|
|
13306
|
+
/**
|
|
13307
|
+
* @private
|
|
13308
|
+
*/
|
|
13309
|
+
slotNodes: {
|
|
13310
|
+
type: Boolean,
|
|
13311
|
+
},
|
|
13312
|
+
|
|
13313
|
+
/**
|
|
13314
|
+
* @private
|
|
13315
|
+
*/
|
|
13316
|
+
hasTextContent: {
|
|
13317
|
+
type: Boolean,
|
|
13318
|
+
},
|
|
13319
|
+
|
|
13320
|
+
/**
|
|
13321
|
+
* If declared, make font color red.
|
|
13322
|
+
*/
|
|
13323
|
+
error: {
|
|
13324
|
+
type: Boolean,
|
|
13325
|
+
reflect: true,
|
|
13326
|
+
},
|
|
13327
|
+
};
|
|
13328
|
+
}
|
|
13329
|
+
|
|
13330
|
+
/**
|
|
13331
|
+
* This will register this element with the browser.
|
|
13332
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
13333
|
+
*
|
|
13334
|
+
* @example
|
|
13335
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
13336
|
+
*
|
|
13337
|
+
*/
|
|
13338
|
+
static register(name = "auro-helptext") {
|
|
13339
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
13340
|
+
}
|
|
13341
|
+
|
|
13342
|
+
updated() {
|
|
13343
|
+
this.handleSlotChange();
|
|
13344
|
+
}
|
|
13345
|
+
|
|
13346
|
+
handleSlotChange(event) {
|
|
13347
|
+
if (event) {
|
|
13348
|
+
this.slotNodes = event.target.assignedNodes();
|
|
13349
|
+
}
|
|
13350
|
+
|
|
13351
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
13352
|
+
}
|
|
13353
|
+
|
|
13354
|
+
/**
|
|
13355
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
13356
|
+
*
|
|
13357
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
13358
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
13359
|
+
* @private
|
|
13360
|
+
*/
|
|
13361
|
+
checkSlotsForContent(nodes) {
|
|
13362
|
+
if (!nodes) {
|
|
13363
|
+
return false;
|
|
13364
|
+
}
|
|
13365
|
+
|
|
13366
|
+
return nodes.some((node) => {
|
|
13367
|
+
if (node.textContent.trim()) {
|
|
13368
|
+
return true;
|
|
13369
|
+
}
|
|
13370
|
+
|
|
13371
|
+
if (!node.querySelector) {
|
|
13372
|
+
return false;
|
|
13373
|
+
}
|
|
13374
|
+
|
|
13375
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
13376
|
+
if (!nestedSlot) {
|
|
13377
|
+
return false;
|
|
13378
|
+
}
|
|
13379
|
+
|
|
13380
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
13381
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
13382
|
+
});
|
|
13383
|
+
}
|
|
13110
13384
|
|
|
13111
|
-
|
|
13385
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
13386
|
+
render() {
|
|
13387
|
+
return x$2`
|
|
13388
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
13389
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
13390
|
+
</div>
|
|
13391
|
+
`;
|
|
13392
|
+
}
|
|
13393
|
+
};
|
|
13112
13394
|
|
|
13113
|
-
|
|
13395
|
+
AuroHelpText$1.register();
|
|
13114
13396
|
|
|
13115
|
-
var styleCss$
|
|
13397
|
+
var styleCss$5 = i$7$1`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}: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}: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}`;
|
|
13116
13398
|
|
|
13117
|
-
var colorCss$
|
|
13399
|
+
var colorCss$5 = i$7$1`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
13118
13400
|
|
|
13119
13401
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13120
13402
|
// See LICENSE in the project root for license information.
|
|
@@ -13130,14 +13412,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
13130
13412
|
];
|
|
13131
13413
|
|
|
13132
13414
|
/**
|
|
13133
|
-
* @attr { Boolean } common - If declared, will apply all styles for the common theme.
|
|
13134
|
-
* @attr { Boolean } rounded - If declared, will apply border-radius to the bib.
|
|
13135
|
-
* @attr { Boolean } inset - If declared, will apply extra padding to bib content.
|
|
13136
13415
|
* @prop { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
13137
13416
|
* @csspart bibContainer - Apply css to the bib container.
|
|
13138
13417
|
*/
|
|
13139
13418
|
|
|
13140
|
-
class AuroDropdownBib extends r$
|
|
13419
|
+
class AuroDropdownBib extends r$4$1 {
|
|
13141
13420
|
|
|
13142
13421
|
constructor() {
|
|
13143
13422
|
super();
|
|
@@ -13150,22 +13429,34 @@ class AuroDropdownBib extends r$5 {
|
|
|
13150
13429
|
|
|
13151
13430
|
static get styles() {
|
|
13152
13431
|
return [
|
|
13153
|
-
styleCss$
|
|
13154
|
-
colorCss$
|
|
13155
|
-
tokensCss$
|
|
13432
|
+
styleCss$5,
|
|
13433
|
+
colorCss$5,
|
|
13434
|
+
tokensCss$1$1
|
|
13156
13435
|
];
|
|
13157
13436
|
}
|
|
13158
13437
|
|
|
13159
13438
|
static get properties() {
|
|
13160
13439
|
return {
|
|
13440
|
+
|
|
13441
|
+
/**
|
|
13442
|
+
* If declared, will apply all styles for the common theme.
|
|
13443
|
+
*/
|
|
13161
13444
|
common: {
|
|
13162
13445
|
type: Boolean,
|
|
13163
13446
|
reflect: true
|
|
13164
13447
|
},
|
|
13448
|
+
|
|
13449
|
+
/**
|
|
13450
|
+
* If declared, will apply extra padding to bib content.
|
|
13451
|
+
*/
|
|
13165
13452
|
inset: {
|
|
13166
13453
|
type: Boolean,
|
|
13167
13454
|
reflect: true
|
|
13168
13455
|
},
|
|
13456
|
+
|
|
13457
|
+
/**
|
|
13458
|
+
* If declared, will apply border-radius to the bib.
|
|
13459
|
+
*/
|
|
13169
13460
|
rounded: {
|
|
13170
13461
|
type: Boolean,
|
|
13171
13462
|
reflect: true
|
|
@@ -13191,7 +13482,7 @@ class AuroDropdownBib extends r$5 {
|
|
|
13191
13482
|
|
|
13192
13483
|
// function that renders the HTML and CSS into the scope of the component
|
|
13193
13484
|
render() {
|
|
13194
|
-
return u$
|
|
13485
|
+
return u$3$1`
|
|
13195
13486
|
<div class="container" part="bibContainer">
|
|
13196
13487
|
<slot></slot>
|
|
13197
13488
|
</div>
|
|
@@ -13209,22 +13500,7 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
13209
13500
|
|
|
13210
13501
|
|
|
13211
13502
|
/**
|
|
13212
|
-
* @attr { Boolean } bordered - If declared, applies a border around the trigger slot.
|
|
13213
|
-
* @attr { Boolean } common - If declared, the dropdown will be styled with the common theme.
|
|
13214
|
-
* @attr { Boolean } chevron - If declared, the dropdown displays an display state chevron on the right.
|
|
13215
|
-
* @attr { Boolean } disabled - If declared, the dropdown is not interactive.
|
|
13216
13503
|
* @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
|
|
13217
|
-
* @attr { Boolean } error - If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
|
|
13218
|
-
* @attr {Boolean} fluid - Makes the trigger to be full width of its parent container
|
|
13219
|
-
* @attr { Boolean } matchWidth - If declared, the popover and trigger will be set to the same width.
|
|
13220
|
-
* @attr { Boolean } inset - If declared, will apply padding around trigger slot content.
|
|
13221
|
-
* @attr { Boolean } rounded - If declared, will apply border-radius to trigger and default slots.
|
|
13222
|
-
* @attr { Boolean } hoverToggle - if declared, the trigger will toggle the big on mouseover/mouseout.
|
|
13223
|
-
* @attr { Boolean } noToggle - If declared, the trigger will only show the dropdown bib.
|
|
13224
|
-
* @attr { Boolean } focusShow - if declared, the bib will display when focus is applied to the trigger.
|
|
13225
|
-
* @attr { Boolean } noHideOnThisFocusLoss - If declared, the dropdown will not hide when moving focus outside the element.
|
|
13226
|
-
* @attr { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
13227
|
-
* @prop { Boolean } isPopoverVisible - If true, the dropdown bib is displayed.
|
|
13228
13504
|
* @slot - Default slot for the popover content.
|
|
13229
13505
|
* @slot label - Defines the content of the label.
|
|
13230
13506
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -13236,7 +13512,7 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
13236
13512
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
13237
13513
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
13238
13514
|
*/
|
|
13239
|
-
class AuroDropdown extends r$
|
|
13515
|
+
class AuroDropdown extends r$4$1 {
|
|
13240
13516
|
constructor() {
|
|
13241
13517
|
super();
|
|
13242
13518
|
|
|
@@ -13265,7 +13541,17 @@ class AuroDropdown extends r$5 {
|
|
|
13265
13541
|
/**
|
|
13266
13542
|
* @private
|
|
13267
13543
|
*/
|
|
13268
|
-
this.
|
|
13544
|
+
this.hasTriggerContent = false;
|
|
13545
|
+
|
|
13546
|
+
/**
|
|
13547
|
+
* @private
|
|
13548
|
+
*/
|
|
13549
|
+
this.triggerContentSlot = undefined;
|
|
13550
|
+
|
|
13551
|
+
/**
|
|
13552
|
+
* @private
|
|
13553
|
+
*/
|
|
13554
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
13269
13555
|
|
|
13270
13556
|
/**
|
|
13271
13557
|
* @private
|
|
@@ -13308,90 +13594,167 @@ class AuroDropdown extends r$5 {
|
|
|
13308
13594
|
// function to define props used within the scope of this component
|
|
13309
13595
|
static get properties() {
|
|
13310
13596
|
return {
|
|
13597
|
+
|
|
13598
|
+
/**
|
|
13599
|
+
* If declared, applies a border around the trigger slot.
|
|
13600
|
+
*/
|
|
13311
13601
|
bordered: {
|
|
13312
13602
|
type: Boolean,
|
|
13313
13603
|
reflect: true
|
|
13314
13604
|
},
|
|
13315
|
-
|
|
13605
|
+
|
|
13606
|
+
/**
|
|
13607
|
+
* If declared, the dropdown displays a chevron on the right.
|
|
13608
|
+
* @attr {Boolean} chevron
|
|
13609
|
+
*/
|
|
13610
|
+
chevron: {
|
|
13316
13611
|
type: Boolean,
|
|
13317
13612
|
reflect: true
|
|
13318
13613
|
},
|
|
13319
|
-
|
|
13614
|
+
|
|
13615
|
+
/**
|
|
13616
|
+
* If declared, the dropdown will be styled with the common theme.
|
|
13617
|
+
*/
|
|
13618
|
+
common: {
|
|
13320
13619
|
type: Boolean,
|
|
13321
13620
|
reflect: true
|
|
13322
13621
|
},
|
|
13323
|
-
|
|
13622
|
+
|
|
13623
|
+
/**
|
|
13624
|
+
* If declared, the dropdown is not interactive.
|
|
13625
|
+
*/
|
|
13626
|
+
disabled: {
|
|
13324
13627
|
type: Boolean,
|
|
13325
13628
|
reflect: true
|
|
13326
13629
|
},
|
|
13327
|
-
|
|
13630
|
+
|
|
13631
|
+
/**
|
|
13632
|
+
* @private
|
|
13633
|
+
*/
|
|
13634
|
+
dropdownWidth: {
|
|
13635
|
+
type: Number
|
|
13636
|
+
},
|
|
13637
|
+
|
|
13638
|
+
/**
|
|
13639
|
+
* If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
|
|
13640
|
+
*/
|
|
13641
|
+
error: {
|
|
13328
13642
|
type: Boolean,
|
|
13329
|
-
reflect: true
|
|
13643
|
+
reflect: true
|
|
13330
13644
|
},
|
|
13645
|
+
|
|
13646
|
+
/**
|
|
13647
|
+
* If declared, the bib will display when focus is applied to the trigger.
|
|
13648
|
+
*/
|
|
13331
13649
|
focusShow: {
|
|
13332
13650
|
type: Boolean,
|
|
13333
13651
|
reflect: true
|
|
13334
13652
|
},
|
|
13335
|
-
|
|
13653
|
+
|
|
13654
|
+
/**
|
|
13655
|
+
* Makes the trigger to be full width of its parent container.
|
|
13656
|
+
*/
|
|
13657
|
+
fluid: {
|
|
13336
13658
|
type: Boolean,
|
|
13337
13659
|
reflect: true
|
|
13338
13660
|
},
|
|
13661
|
+
|
|
13662
|
+
/**
|
|
13663
|
+
* If declared, will apply padding around trigger slot content.
|
|
13664
|
+
*/
|
|
13339
13665
|
inset: {
|
|
13340
13666
|
type: Boolean,
|
|
13341
13667
|
reflect: true
|
|
13342
13668
|
},
|
|
13343
|
-
|
|
13669
|
+
|
|
13670
|
+
/**
|
|
13671
|
+
* If true, the dropdown bib is displayed.
|
|
13672
|
+
*/
|
|
13673
|
+
isPopoverVisible: {
|
|
13674
|
+
type: Boolean
|
|
13675
|
+
},
|
|
13676
|
+
|
|
13677
|
+
/**
|
|
13678
|
+
* If declared, the trigger will toggle the dropdown on mouseover/mouseout.
|
|
13679
|
+
*/
|
|
13680
|
+
hoverToggle: {
|
|
13344
13681
|
type: Boolean,
|
|
13345
13682
|
reflect: true
|
|
13346
13683
|
},
|
|
13347
|
-
|
|
13348
|
-
|
|
13684
|
+
|
|
13685
|
+
/**
|
|
13686
|
+
* @private
|
|
13687
|
+
*/
|
|
13688
|
+
hasTriggerContent: {
|
|
13689
|
+
type: Boolean
|
|
13690
|
+
},
|
|
13691
|
+
|
|
13692
|
+
/**
|
|
13693
|
+
* Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
13694
|
+
*/
|
|
13695
|
+
mobileFullscreenBreakpoint: {
|
|
13696
|
+
type: String,
|
|
13349
13697
|
reflect: true
|
|
13350
13698
|
},
|
|
13351
|
-
|
|
13699
|
+
|
|
13700
|
+
/**
|
|
13701
|
+
* If declared, the popover and trigger will be set to the same width.
|
|
13702
|
+
*/
|
|
13703
|
+
matchWidth: {
|
|
13352
13704
|
type: Boolean,
|
|
13353
13705
|
reflect: true
|
|
13354
13706
|
},
|
|
13355
|
-
|
|
13707
|
+
|
|
13708
|
+
/**
|
|
13709
|
+
* If declared, the dropdown will not hide when moving focus outside the element.
|
|
13710
|
+
*/
|
|
13711
|
+
noHideOnThisFocusLoss: {
|
|
13356
13712
|
type: Boolean,
|
|
13357
13713
|
reflect: true
|
|
13358
13714
|
},
|
|
13359
|
-
|
|
13715
|
+
|
|
13716
|
+
/**
|
|
13717
|
+
* If declared, the trigger will only show the dropdown bib.
|
|
13718
|
+
*/
|
|
13719
|
+
noToggle: {
|
|
13360
13720
|
type: Boolean,
|
|
13361
13721
|
reflect: true
|
|
13362
13722
|
},
|
|
13363
|
-
|
|
13723
|
+
|
|
13364
13724
|
onSlotChange: {
|
|
13365
13725
|
type: Function,
|
|
13366
13726
|
reflect: false
|
|
13367
13727
|
},
|
|
13368
|
-
mobileFullscreenBreakpoint: {
|
|
13369
|
-
type: String,
|
|
13370
|
-
reflect: true,
|
|
13371
|
-
},
|
|
13372
13728
|
|
|
13373
13729
|
/**
|
|
13374
13730
|
* @private
|
|
13375
13731
|
*/
|
|
13376
|
-
|
|
13732
|
+
placement: {
|
|
13733
|
+
type: String
|
|
13734
|
+
},
|
|
13377
13735
|
|
|
13378
13736
|
/**
|
|
13379
|
-
*
|
|
13737
|
+
* If declared, will apply border-radius to trigger and default slots.
|
|
13380
13738
|
*/
|
|
13381
|
-
|
|
13739
|
+
rounded: {
|
|
13740
|
+
type: Boolean,
|
|
13741
|
+
reflect: true
|
|
13742
|
+
},
|
|
13382
13743
|
|
|
13383
13744
|
/**
|
|
13384
13745
|
* @private
|
|
13385
13746
|
*/
|
|
13386
|
-
tabIndex: {
|
|
13747
|
+
tabIndex: {
|
|
13748
|
+
type: Number
|
|
13749
|
+
}
|
|
13387
13750
|
};
|
|
13388
13751
|
}
|
|
13389
13752
|
|
|
13390
13753
|
static get styles() {
|
|
13391
13754
|
return [
|
|
13392
|
-
|
|
13393
|
-
|
|
13394
|
-
tokensCss$
|
|
13755
|
+
colorCss$2$1,
|
|
13756
|
+
styleCss$2$1,
|
|
13757
|
+
tokensCss$1$1
|
|
13395
13758
|
];
|
|
13396
13759
|
}
|
|
13397
13760
|
|
|
@@ -13404,7 +13767,7 @@ class AuroDropdown extends r$5 {
|
|
|
13404
13767
|
*
|
|
13405
13768
|
*/
|
|
13406
13769
|
static register(name = "auro-dropdown") {
|
|
13407
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
|
|
13770
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
|
|
13408
13771
|
}
|
|
13409
13772
|
|
|
13410
13773
|
connectedCallback() {
|
|
@@ -13421,6 +13784,12 @@ class AuroDropdown extends r$5 {
|
|
|
13421
13784
|
if (changedProperties.has('mobileFullscreenBreakpoint')) {
|
|
13422
13785
|
this.bibContent.mobileFullscreenBreakpoint = this.mobileFullscreenBreakpoint;
|
|
13423
13786
|
}
|
|
13787
|
+
|
|
13788
|
+
// when trigger's content is changed without any attribute or node change,
|
|
13789
|
+
// `requestUpdate` needs to be called to update hasTriggerContnet
|
|
13790
|
+
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
13791
|
+
this.handleTriggerContentSlotChange();
|
|
13792
|
+
}
|
|
13424
13793
|
}
|
|
13425
13794
|
|
|
13426
13795
|
firstUpdated() {
|
|
@@ -13463,6 +13832,43 @@ class AuroDropdown extends r$5 {
|
|
|
13463
13832
|
return inCustomSlot;
|
|
13464
13833
|
}
|
|
13465
13834
|
|
|
13835
|
+
/**
|
|
13836
|
+
* Handles changes to the trigger content slot and updates related properties.
|
|
13837
|
+
*
|
|
13838
|
+
* It first updates the floater settings
|
|
13839
|
+
* Then, it retrieves the assigned nodes from the event target and checks if any of
|
|
13840
|
+
* the nodes contain non-empty text content, updating the `hasTriggerContent` property accordingly.
|
|
13841
|
+
*
|
|
13842
|
+
* @private
|
|
13843
|
+
* @method handleTriggerContentSlotChange
|
|
13844
|
+
* @param {Event} event - native slotchange event
|
|
13845
|
+
* @returns {void}
|
|
13846
|
+
*/
|
|
13847
|
+
handleTriggerContentSlotChange(event) {
|
|
13848
|
+
this.floater.handleTriggerTabIndex();
|
|
13849
|
+
|
|
13850
|
+
if (event) {
|
|
13851
|
+
this.triggerNode = event.target;
|
|
13852
|
+
this.triggerContentSlot = event.target.assignedNodes();
|
|
13853
|
+
}
|
|
13854
|
+
|
|
13855
|
+
if (this.triggerContentSlot) {
|
|
13856
|
+
this.hasTriggerContent = this.triggerContentSlot.some((slot) => {
|
|
13857
|
+
if (slot.textContent.trim()) {
|
|
13858
|
+
return true;
|
|
13859
|
+
}
|
|
13860
|
+
const slotInSlot = slot.querySelector('slot');
|
|
13861
|
+
if (!slotInSlot) {
|
|
13862
|
+
return false;
|
|
13863
|
+
}
|
|
13864
|
+
const slotsInSlotNodes = slotInSlot.assignedNodes();
|
|
13865
|
+
return slotsInSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
|
|
13866
|
+
});
|
|
13867
|
+
} else {
|
|
13868
|
+
this.hasTriggerContent = false;
|
|
13869
|
+
}
|
|
13870
|
+
}
|
|
13871
|
+
|
|
13466
13872
|
/**
|
|
13467
13873
|
* Handles the default slot change event and updates the content.
|
|
13468
13874
|
*
|
|
@@ -13485,7 +13891,7 @@ class AuroDropdown extends r$5 {
|
|
|
13485
13891
|
|
|
13486
13892
|
// function that renders the HTML and CSS into the scope of the component
|
|
13487
13893
|
render() {
|
|
13488
|
-
return u$
|
|
13894
|
+
return u$3$1`
|
|
13489
13895
|
<div>
|
|
13490
13896
|
<div
|
|
13491
13897
|
id="trigger"
|
|
@@ -13497,16 +13903,16 @@ class AuroDropdown extends r$5 {
|
|
|
13497
13903
|
tabindex="${this.tabIndex}"
|
|
13498
13904
|
>
|
|
13499
13905
|
<div class="triggerContentWrapper">
|
|
13500
|
-
<label class="label" id="triggerLabel">
|
|
13906
|
+
<label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
|
|
13501
13907
|
<slot name="label"></slot>
|
|
13502
13908
|
</label>
|
|
13503
13909
|
<div class="triggerContent">
|
|
13504
13910
|
<slot
|
|
13505
13911
|
name="trigger"
|
|
13506
|
-
@slotchange="${
|
|
13912
|
+
@slotchange="${this.handleTriggerContentSlotChange}"></slot>
|
|
13507
13913
|
</div>
|
|
13508
13914
|
</div>
|
|
13509
|
-
${this.chevron || this.common ? u$
|
|
13915
|
+
${this.chevron || this.common ? u$3$1`
|
|
13510
13916
|
<div
|
|
13511
13917
|
id="showStateIcon"
|
|
13512
13918
|
part="chevron">
|
|
@@ -13520,11 +13926,9 @@ class AuroDropdown extends r$5 {
|
|
|
13520
13926
|
</div>
|
|
13521
13927
|
` : undefined }
|
|
13522
13928
|
</div>
|
|
13523
|
-
<
|
|
13524
|
-
class="helpText"
|
|
13525
|
-
part="helpText">
|
|
13929
|
+
<auro-helptext part="helpText" ?error="${this.error}">
|
|
13526
13930
|
<slot name="helpText"></slot>
|
|
13527
|
-
</
|
|
13931
|
+
</auro-helptext>
|
|
13528
13932
|
<div class="slotContent">
|
|
13529
13933
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
13530
13934
|
</div>
|
|
@@ -13550,46 +13954,46 @@ var dropdownVersion = '3.0.0';
|
|
|
13550
13954
|
* Copyright 2017 Google LLC
|
|
13551
13955
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13552
13956
|
*/
|
|
13553
|
-
const t$
|
|
13957
|
+
const t$5=globalThis,i$9=t$5.trustedTypes,s$5=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7="?"+h$3,n$6=`<${o$7}>`,r$8=document,l$4=()=>r$8.createComment(""),c$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$6=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$1=/>/g,m$2=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$3(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$8.createTreeWalker(r$8,129);function P$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$5?s$5.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3?"!--"===u[1]?c=v$2:undefined!==u[1]?c=_$1:undefined!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):undefined!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$3,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$2:'"'===u[3]?g$1:p$4):c===g$1||c===p$4?c=m$2:c===v$2||c===_$1?c=f$3:(c=m$2,r=undefined);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$3+x):s+h$3+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7)){const i=v[a++],s=r.getAttribute(t).split(h$3),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$9?i$9.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4());}}}else if(8===r.nodeType)if(r.data===o$7)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$8.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$1)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$6(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$2 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$8).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$8,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3(this,t,i),c$6(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$6(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$6(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$8.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return undefined===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$4(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4()),this.O(l$4()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$3(this,t,i,0),o=!c$6(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$6(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?undefined:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const Z={M:e$7,P:h$3,A:o$7,C:1,L:V$1,R:M$2,D:u$6,V:S$3,I:R$1,H:k$1,N:I$1,U:L$1,B:H$1,F:z$1},j$1=t$5.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$5.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$4(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
13554
13958
|
|
|
13555
13959
|
/**
|
|
13556
13960
|
* @license
|
|
13557
13961
|
* Copyright 2020 Google LLC
|
|
13558
13962
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13559
13963
|
*/
|
|
13560
|
-
const a$
|
|
13964
|
+
const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$4=t=>({_$litStatic$:t,r:a$3}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3}),l$3=new Map,n$5=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$6(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$5=n$5(x$1);
|
|
13561
13965
|
|
|
13562
13966
|
/**
|
|
13563
13967
|
* @license
|
|
13564
13968
|
* Copyright 2017 Google LLC
|
|
13565
13969
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13566
13970
|
*/
|
|
13567
|
-
const t$
|
|
13971
|
+
const t$4={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$6=t=>(...e)=>({_$litDirective$:t,values:e});let i$7 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
13568
13972
|
|
|
13569
13973
|
/**
|
|
13570
13974
|
* @license
|
|
13571
13975
|
* Copyright 2020 Google LLC
|
|
13572
13976
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13573
|
-
*/const {I:t$
|
|
13977
|
+
*/const {I:t$3}=Z,s$3=()=>document.createComment(""),r$7=(o,i,n)=>{const e=o._$AA.parentNode,l=undefined===i?o._$AB:i._$AA;if(undefined===n){const i=e.insertBefore(s$3(),l),c=e.insertBefore(s$3(),l);n=new t$3(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,undefined!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v$1=(o,t,i=o)=>(o._$AI(t,i),o),u$4={},m$1=(o,t=u$4)=>o._$AH=t,p$3=o=>o._$AH,M$1=o=>{o._$AP?.(false,true);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
|
|
13574
13978
|
|
|
13575
13979
|
/**
|
|
13576
13980
|
* @license
|
|
13577
13981
|
* Copyright 2017 Google LLC
|
|
13578
13982
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13579
13983
|
*/
|
|
13580
|
-
const u$
|
|
13984
|
+
const u$3=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c$5=e$6(class extends i$7{constructor(e){if(super(e),e.type!==t$4.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;undefined===t?t=s:undefined!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r,c]){const d=p$3(s),{values:p,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p;const h=this.ut??=[],v=[];let m,y,x=0,j=d.length-1,k=0,w=p.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v[k]=v$1(d[x],p[k]),x++,k++;else if(h[j]===a[w])v[w]=v$1(d[j],p[w]),j--,w--;else if(h[x]===a[w])v[w]=v$1(d[x],p[w]),r$7(s,v[w+1],d[x]),x++,w--;else if(h[j]===a[k])v[k]=v$1(d[j],p[k]),r$7(s,d[x],d[j]),j--,k++;else if(undefined===m&&(m=u$3(a,k,w),y=u$3(h,x,j)),m.has(h[x]))if(m.has(h[j])){const e=y.get(a[k]),t=undefined!==e?d[e]:null;if(null===t){const e=r$7(s,d[x]);v$1(e,p[k]),v[k]=e;}else v[k]=v$1(t,p[k]),r$7(s,d[x],t),d[e]=null;k++;}else M$1(d[j]),j--;else M$1(d[x]),x++;for(;k<=w;){const e=r$7(s,v[w+1]);v$1(e,p[k]),v[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M$1(e);}return this.ut=a,m$1(s,v),T$1}});
|
|
13581
13985
|
|
|
13582
13986
|
/**
|
|
13583
13987
|
* @license
|
|
13584
13988
|
* Copyright 2018 Google LLC
|
|
13585
13989
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13586
|
-
*/const e$
|
|
13990
|
+
*/const e$5=e$6(class extends i$7{constructor(t){if(super(t),t.type!==t$4.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
|
|
13587
13991
|
|
|
13588
13992
|
/**
|
|
13589
13993
|
* @license
|
|
13590
13994
|
* Copyright 2018 Google LLC
|
|
13591
13995
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13592
|
-
*/const o$
|
|
13996
|
+
*/const o$5=o=>o??E$1;
|
|
13593
13997
|
|
|
13594
13998
|
const watchedItems = new Set();
|
|
13595
13999
|
|
|
@@ -13699,25 +14103,25 @@ function stopNotifyingOnLangChange(element) {
|
|
|
13699
14103
|
* Copyright 2019 Google LLC
|
|
13700
14104
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13701
14105
|
*/
|
|
13702
|
-
const t=globalThis,e$
|
|
14106
|
+
const t$2=globalThis,e$4=t$2.ShadowRoot&&(undefined===t$2.ShadyCSS||t$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$4=new WeakMap;let n$4 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$4.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4.set(s,t));}return t}toString(){return this.cssText}};const r$6=t=>new n$4("string"==typeof t?t:t+"",undefined,s$2),i$6=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4(o,t,s$2)},S$2=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
|
|
13703
14107
|
|
|
13704
14108
|
/**
|
|
13705
14109
|
* @license
|
|
13706
14110
|
* Copyright 2017 Google LLC
|
|
13707
14111
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13708
|
-
*/const{is:i$
|
|
14112
|
+
*/const{is:i$5,defineProperty:e$3,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$3,getPrototypeOf:n$3}=Object,a$2=globalThis,c$3=a$2.trustedTypes,l$2=c$3?c$3.emptyScript:"",p$2=a$2.reactiveElementPolyfillSupport,d$2=(t,s)=>t,u$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$5(t,s),y$2={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$2.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$2){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2}static _$Ei(){if(this.hasOwnProperty(d$2("elementProperties")))return;const t=n$3(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2("properties"))){const t=this.properties,s=[...h$2(t),...o$3(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4(s));}else undefined!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$2).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$2;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$2("elementProperties")]=new Map,b$1[d$2("finalized")]=new Map,p$2?.({ReactiveElement:b$1}),(a$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
13709
14113
|
|
|
13710
14114
|
/**
|
|
13711
14115
|
* @license
|
|
13712
14116
|
* Copyright 2017 Google LLC
|
|
13713
14117
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13714
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
14118
|
+
*/let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$4._$litElement$=true,r$4["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$4=globalThis.litElementPolyfillSupport;i$4?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
13715
14119
|
|
|
13716
|
-
var styleCss$
|
|
14120
|
+
var styleCss$4 = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}: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}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}.clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}:host .wrapper:hover .clearBtn,:host .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:relative;overflow:hidden;min-height:var(--ds-size-700, 3.5rem);max-height:var(--ds-size-700, 3.5rem);flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
|
|
13717
14121
|
|
|
13718
|
-
var colorCss$
|
|
14122
|
+
var colorCss$4 = i$6`.wrapper{border-color:transparent}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-input-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}label{color:var(--ds-auro-input-label-text-color)}:host(:not([bordered],[borderless])) .wrapper{border-bottom-color:var(--ds-auro-input-border-color)}:host([bordered]) .wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-container-color)}:host([bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host(:not([borderless])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host(:not([borderless])) .wrapper:focus-within:before{border-bottom-color:transparent}:host([validity]:not([validity=valid])){--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
|
|
13719
14123
|
|
|
13720
|
-
var tokensCss$
|
|
14124
|
+
var tokensCss$4 = i$6`:host{--ds-auro-input-border-color: var(--ds-color-border-secondary-default, #939fad);--ds-auro-input-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #2c67b5);--ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #6a717c);--ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
13721
14125
|
|
|
13722
14126
|
var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
13723
14127
|
|
|
@@ -15283,7 +15687,7 @@ var Cleave_1 = Cleave;
|
|
|
15283
15687
|
|
|
15284
15688
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
15285
15689
|
|
|
15286
|
-
class AuroLibraryRuntimeUtils {
|
|
15690
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
15287
15691
|
|
|
15288
15692
|
/* eslint-disable jsdoc/require-param */
|
|
15289
15693
|
|
|
@@ -15344,7 +15748,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
15344
15748
|
|
|
15345
15749
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
15346
15750
|
}
|
|
15347
|
-
}
|
|
15751
|
+
};
|
|
15348
15752
|
|
|
15349
15753
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
15350
15754
|
// See LICENSE in the project root for license information.
|
|
@@ -15352,7 +15756,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
15352
15756
|
|
|
15353
15757
|
class AuroFormValidation {
|
|
15354
15758
|
constructor() {
|
|
15355
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
15759
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
15356
15760
|
}
|
|
15357
15761
|
|
|
15358
15762
|
/**
|
|
@@ -15380,30 +15784,87 @@ class AuroFormValidation {
|
|
|
15380
15784
|
}
|
|
15381
15785
|
|
|
15382
15786
|
/**
|
|
15383
|
-
*
|
|
15384
|
-
*
|
|
15385
|
-
* @param {
|
|
15787
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
15788
|
+
*
|
|
15789
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
15386
15790
|
* @returns {void}
|
|
15791
|
+
*
|
|
15792
|
+
* @example
|
|
15793
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
15794
|
+
* validateElementAttributes(inputElement);
|
|
15795
|
+
*
|
|
15796
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
15797
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
15798
|
+
*
|
|
15799
|
+
* Validation rules:
|
|
15800
|
+
* - input:
|
|
15801
|
+
* - length:
|
|
15802
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
15803
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
15804
|
+
* - pattern:
|
|
15805
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
15806
|
+
* - counter:
|
|
15807
|
+
* - range:
|
|
15808
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
15809
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
15387
15810
|
*/
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
|
|
15391
|
-
|
|
15392
|
-
|
|
15393
|
-
|
|
15394
|
-
|
|
15811
|
+
validateElementAttributes(elem) {
|
|
15812
|
+
const validationRules = {
|
|
15813
|
+
input: {
|
|
15814
|
+
length: [
|
|
15815
|
+
{
|
|
15816
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
15817
|
+
validity: 'tooShort',
|
|
15818
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
15819
|
+
},
|
|
15820
|
+
{
|
|
15821
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
15822
|
+
validity: 'tooLong',
|
|
15823
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
15824
|
+
}
|
|
15825
|
+
],
|
|
15826
|
+
pattern: [
|
|
15827
|
+
{
|
|
15828
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
15829
|
+
validity: 'patternMismatch',
|
|
15830
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
15831
|
+
}
|
|
15832
|
+
]
|
|
15833
|
+
},
|
|
15834
|
+
counter: {
|
|
15835
|
+
range: [
|
|
15836
|
+
{
|
|
15837
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
15838
|
+
validity: 'rangeOverflow',
|
|
15839
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
15840
|
+
},
|
|
15841
|
+
{
|
|
15842
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
15843
|
+
validity: 'rangeUnderflow',
|
|
15844
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
15845
|
+
}
|
|
15846
|
+
]
|
|
15395
15847
|
}
|
|
15396
|
-
}
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
if (
|
|
15400
|
-
|
|
15401
|
-
|
|
15848
|
+
};
|
|
15849
|
+
|
|
15850
|
+
let elementType;
|
|
15851
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15852
|
+
elementType = 'input';
|
|
15853
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15854
|
+
elementType = 'counter';
|
|
15402
15855
|
}
|
|
15403
15856
|
|
|
15404
|
-
if (
|
|
15405
|
-
|
|
15406
|
-
|
|
15857
|
+
if (elementType) {
|
|
15858
|
+
const rules = validationRules[elementType];
|
|
15859
|
+
|
|
15860
|
+
if (rules) {
|
|
15861
|
+
Object.values(rules).flat().forEach(rule => {
|
|
15862
|
+
if (rule.check(elem)) {
|
|
15863
|
+
elem.validity = rule.validity;
|
|
15864
|
+
elem.errorMessage = rule.message(elem);
|
|
15865
|
+
}
|
|
15866
|
+
});
|
|
15867
|
+
}
|
|
15407
15868
|
}
|
|
15408
15869
|
}
|
|
15409
15870
|
|
|
@@ -15513,7 +15974,9 @@ class AuroFormValidation {
|
|
|
15513
15974
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
15514
15975
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15515
15976
|
this.validateType(elem);
|
|
15516
|
-
this.
|
|
15977
|
+
this.validateElementAttributes(elem);
|
|
15978
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15979
|
+
this.validateElementAttributes(elem);
|
|
15517
15980
|
}
|
|
15518
15981
|
}
|
|
15519
15982
|
|
|
@@ -15608,41 +16071,8 @@ class AuroFormValidation {
|
|
|
15608
16071
|
/**
|
|
15609
16072
|
* Auro-input provides users a way to enter data into a text field.
|
|
15610
16073
|
*
|
|
15611
|
-
* @attr {Boolean} activeLabel - If set, the label will remain fixed in the active position.
|
|
15612
|
-
* @attr {String} autocapitalize - An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters]
|
|
15613
|
-
* @attr {String} autocomplete - An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
15614
|
-
* @attr {String} autocorrect - When set to `off`, stops iOS from auto correcting words when typed into a text box.
|
|
15615
16074
|
* @attr {Boolean} bordered - Applies bordered UI variant.
|
|
15616
16075
|
* @attr {Boolean} borderless - Applies borderless UI variant.
|
|
15617
|
-
* @attr {Boolean} disabled - If set, disables the input.
|
|
15618
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
15619
|
-
* @attr {Boolean} icon - If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
|
|
15620
|
-
* @attr {String} id - Sets the unique ID of the element.
|
|
15621
|
-
* @attr {String} lang - defines the language of an element.
|
|
15622
|
-
* @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
15623
|
-
* @attr {Number} maxLength - The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
|
|
15624
|
-
* @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
15625
|
-
* @attr {Number} minLength - The minimum number of characters the user can enter into the text input. This must be an non-negative integer value smaller than or equal to the value specified by `maxlength`.
|
|
15626
|
-
* @attr {String} name - Populates the `name` attribute on the input.
|
|
15627
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
15628
|
-
* @attr {Boolean} readonly - Makes the input read-only, but can be set programmatically.
|
|
15629
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
15630
|
-
* @attr {String} pattern - Specifies a regular expression the form control's value should match.
|
|
15631
|
-
* @attr {String} placeholder - Define custom placeholder text, only supported by date input formats.
|
|
15632
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validity states.
|
|
15633
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
15634
|
-
* @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
|
|
15635
|
-
* @attr {String} setCustomValidityPatternMismatch - Custom help text message to display when validity = `patternMismatch`.
|
|
15636
|
-
* @attr {String} setCustomValidityTooShort - Custom help text message to display when validity = `tooShort`.
|
|
15637
|
-
* @attr {String} setCustomValidityTooLong - Custom help text message to display when validity = `tooLong`.
|
|
15638
|
-
* @attr {String} setCustomValidityForType - Custom help text message to display for the declared element `type` and type validity fails.
|
|
15639
|
-
* @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
|
|
15640
|
-
* @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
|
|
15641
|
-
* @attr {String} spellcheck - An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
|
|
15642
|
-
* @attr {String} type - Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`.
|
|
15643
|
-
* @attr {Boolean} validateOnInput - Sets validation mode to re-eval with each input.
|
|
15644
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
15645
|
-
* @attr {String} value - Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
15646
16076
|
*
|
|
15647
16077
|
* @slot helptext - Sets the help text displayed below the input.
|
|
15648
16078
|
* @slot label - Sets the label text for the input.
|
|
@@ -15656,7 +16086,7 @@ class AuroFormValidation {
|
|
|
15656
16086
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
15657
16087
|
*/
|
|
15658
16088
|
|
|
15659
|
-
class BaseInput extends r {
|
|
16089
|
+
class BaseInput extends r$4 {
|
|
15660
16090
|
|
|
15661
16091
|
constructor() {
|
|
15662
16092
|
super();
|
|
@@ -15734,115 +16164,318 @@ class BaseInput extends r {
|
|
|
15734
16164
|
.substring(idSubstrStart, idSubstrEnd);
|
|
15735
16165
|
}
|
|
15736
16166
|
|
|
15737
|
-
// function to define props used within the scope of this
|
|
16167
|
+
// function to define props used within the scope of this componentstatic
|
|
15738
16168
|
static get properties() {
|
|
15739
16169
|
return {
|
|
15740
|
-
|
|
15741
|
-
|
|
15742
|
-
|
|
15743
|
-
|
|
15744
|
-
|
|
15745
|
-
|
|
15746
|
-
pattern: {
|
|
15747
|
-
type: String,
|
|
16170
|
+
|
|
16171
|
+
/**
|
|
16172
|
+
* If set, the label will remain fixed in the active position.
|
|
16173
|
+
*/
|
|
16174
|
+
activeLabel: {
|
|
16175
|
+
type: Boolean,
|
|
15748
16176
|
reflect: true
|
|
15749
16177
|
},
|
|
15750
|
-
|
|
15751
|
-
|
|
15752
|
-
|
|
15753
|
-
|
|
15754
|
-
|
|
15755
|
-
|
|
15756
|
-
|
|
15757
|
-
|
|
16178
|
+
|
|
16179
|
+
/**
|
|
16180
|
+
* An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters]
|
|
16181
|
+
*/
|
|
16182
|
+
autocapitalize: {
|
|
16183
|
+
type: String
|
|
16184
|
+
},
|
|
16185
|
+
|
|
16186
|
+
/**
|
|
16187
|
+
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
16188
|
+
*/
|
|
16189
|
+
autocomplete: {
|
|
15758
16190
|
type: String,
|
|
15759
16191
|
reflect: true
|
|
15760
16192
|
},
|
|
15761
|
-
|
|
15762
|
-
|
|
15763
|
-
|
|
15764
|
-
|
|
16193
|
+
|
|
16194
|
+
/**
|
|
16195
|
+
* When set to `off`, stops iOS from auto-correcting words when typed into a text box.
|
|
16196
|
+
*/
|
|
16197
|
+
autocorrect: {
|
|
16198
|
+
type: String
|
|
15765
16199
|
},
|
|
15766
|
-
max: { type: String },
|
|
15767
|
-
min: { type: String },
|
|
15768
|
-
maxLength: { type: Number },
|
|
15769
|
-
minLength: { type: Number },
|
|
15770
16200
|
|
|
15771
16201
|
/**
|
|
15772
|
-
*
|
|
16202
|
+
* If set, disables the input.
|
|
15773
16203
|
*/
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
|
-
readonly: { type: Boolean },
|
|
15777
|
-
error: {
|
|
15778
|
-
type: String,
|
|
15779
|
-
reflect: true
|
|
16204
|
+
disabled: {
|
|
16205
|
+
type: Boolean
|
|
15780
16206
|
},
|
|
15781
|
-
|
|
16207
|
+
|
|
16208
|
+
error: {
|
|
15782
16209
|
type: String,
|
|
15783
16210
|
reflect: true
|
|
15784
16211
|
},
|
|
15785
|
-
setCustomValidity: { type: String },
|
|
15786
|
-
setCustomValidityCustomError: { type: String },
|
|
15787
|
-
setCustomValidityValueMissing: { type: String },
|
|
15788
|
-
setCustomValidityPatternMismatch: { type: String },
|
|
15789
|
-
setCustomValidityTooShort: { type: String },
|
|
15790
|
-
setCustomValidityTooLong: { type: String },
|
|
15791
|
-
setCustomValidityRangeOverflow: { type: String },
|
|
15792
|
-
setCustomValidityRangeUnderflow: { type: String }
|
|
15793
|
-
};
|
|
15794
|
-
}
|
|
15795
16212
|
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
|
|
15799
|
-
|
|
15800
|
-
|
|
15801
|
-
|
|
15802
|
-
}
|
|
16213
|
+
/**
|
|
16214
|
+
* Contains the help text message for the current validity error.
|
|
16215
|
+
*/
|
|
16216
|
+
errorMessage: {
|
|
16217
|
+
type: String
|
|
16218
|
+
},
|
|
15803
16219
|
|
|
15804
|
-
|
|
15805
|
-
|
|
16220
|
+
/**
|
|
16221
|
+
* If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
|
|
16222
|
+
*/
|
|
16223
|
+
icon: {
|
|
16224
|
+
type: Boolean
|
|
16225
|
+
},
|
|
15806
16226
|
|
|
15807
|
-
|
|
16227
|
+
/**
|
|
16228
|
+
* Sets the unique ID of the element.
|
|
16229
|
+
*/
|
|
16230
|
+
id: {
|
|
16231
|
+
type: String
|
|
16232
|
+
},
|
|
15808
16233
|
|
|
15809
|
-
|
|
16234
|
+
/**
|
|
16235
|
+
* Defines the language of an element.
|
|
16236
|
+
*/
|
|
16237
|
+
lang: {
|
|
16238
|
+
type: String
|
|
16239
|
+
},
|
|
15810
16240
|
|
|
15811
|
-
|
|
15812
|
-
|
|
15813
|
-
|
|
16241
|
+
/**
|
|
16242
|
+
* The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
16243
|
+
*/
|
|
16244
|
+
max: {
|
|
16245
|
+
type: String
|
|
16246
|
+
},
|
|
15814
16247
|
|
|
15815
|
-
|
|
15816
|
-
|
|
15817
|
-
|
|
15818
|
-
|
|
15819
|
-
|
|
15820
|
-
|
|
15821
|
-
};
|
|
16248
|
+
/**
|
|
16249
|
+
* The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
|
|
16250
|
+
*/
|
|
16251
|
+
maxLength: {
|
|
16252
|
+
type: Number
|
|
16253
|
+
},
|
|
15822
16254
|
|
|
15823
|
-
|
|
16255
|
+
/**
|
|
16256
|
+
* The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
16257
|
+
*/
|
|
16258
|
+
min: {
|
|
16259
|
+
type: String
|
|
16260
|
+
},
|
|
15824
16261
|
|
|
15825
|
-
|
|
16262
|
+
/**
|
|
16263
|
+
* The minimum number of characters the user can enter into the text input. This must be a non-negative integer value smaller than or equal to the value specified by `maxlength`.
|
|
16264
|
+
*/
|
|
16265
|
+
minLength: {
|
|
16266
|
+
type: Number
|
|
16267
|
+
},
|
|
15826
16268
|
|
|
15827
|
-
|
|
15828
|
-
|
|
15829
|
-
|
|
15830
|
-
|
|
16269
|
+
/**
|
|
16270
|
+
* Populates the `name` attribute on the input.
|
|
16271
|
+
*/
|
|
16272
|
+
name: {
|
|
16273
|
+
type: String
|
|
16274
|
+
},
|
|
15831
16275
|
|
|
15832
|
-
|
|
16276
|
+
/**
|
|
16277
|
+
* If set, disables auto-validation on blur.
|
|
16278
|
+
*/
|
|
16279
|
+
noValidate: {
|
|
16280
|
+
type: Boolean
|
|
16281
|
+
},
|
|
15833
16282
|
|
|
15834
|
-
|
|
16283
|
+
/**
|
|
16284
|
+
* Specifies a regular expression the form control's value should match.
|
|
16285
|
+
*/
|
|
16286
|
+
pattern: {
|
|
16287
|
+
type: String,
|
|
16288
|
+
reflect: true
|
|
16289
|
+
},
|
|
15835
16290
|
|
|
15836
|
-
|
|
15837
|
-
|
|
15838
|
-
|
|
15839
|
-
|
|
15840
|
-
|
|
15841
|
-
|
|
15842
|
-
|
|
15843
|
-
|
|
15844
|
-
|
|
15845
|
-
|
|
16291
|
+
/**
|
|
16292
|
+
* Define custom placeholder text, only supported by date input formats.
|
|
16293
|
+
*/
|
|
16294
|
+
placeholder: {
|
|
16295
|
+
type: String
|
|
16296
|
+
},
|
|
16297
|
+
|
|
16298
|
+
/**
|
|
16299
|
+
* Makes the input read-only, but can be set programmatically.
|
|
16300
|
+
*/
|
|
16301
|
+
readonly: {
|
|
16302
|
+
type: Boolean
|
|
16303
|
+
},
|
|
16304
|
+
|
|
16305
|
+
/**
|
|
16306
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
16307
|
+
*/
|
|
16308
|
+
required: {
|
|
16309
|
+
type: Boolean
|
|
16310
|
+
},
|
|
16311
|
+
|
|
16312
|
+
/**
|
|
16313
|
+
* @ignore
|
|
16314
|
+
*/
|
|
16315
|
+
showPassword: {
|
|
16316
|
+
state: true
|
|
16317
|
+
},
|
|
16318
|
+
|
|
16319
|
+
/**
|
|
16320
|
+
* Sets a custom help text message to display for all validityStates.
|
|
16321
|
+
*/
|
|
16322
|
+
setCustomValidity: {
|
|
16323
|
+
type: String
|
|
16324
|
+
},
|
|
16325
|
+
|
|
16326
|
+
/**
|
|
16327
|
+
* Custom help text message to display when validity = `badInput`.
|
|
16328
|
+
*/
|
|
16329
|
+
setCustomValidityBadInput: {
|
|
16330
|
+
type: String
|
|
16331
|
+
},
|
|
16332
|
+
|
|
16333
|
+
/**
|
|
16334
|
+
* Custom help text message to display when validity = `customError`.
|
|
16335
|
+
*/
|
|
16336
|
+
setCustomValidityCustomError: {
|
|
16337
|
+
type: String
|
|
16338
|
+
},
|
|
16339
|
+
|
|
16340
|
+
/**
|
|
16341
|
+
* Custom help text message to display for the declared element `type` and type validity fails.
|
|
16342
|
+
*/
|
|
16343
|
+
setCustomValidityForType: {
|
|
16344
|
+
type: String
|
|
16345
|
+
},
|
|
16346
|
+
|
|
16347
|
+
/**
|
|
16348
|
+
* Custom help text message to display when validity = `rangeOverflow`.
|
|
16349
|
+
*/
|
|
16350
|
+
setCustomValidityRangeOverflow: {
|
|
16351
|
+
type: String
|
|
16352
|
+
},
|
|
16353
|
+
|
|
16354
|
+
/**
|
|
16355
|
+
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
16356
|
+
*/
|
|
16357
|
+
setCustomValidityRangeUnderflow: {
|
|
16358
|
+
type: String
|
|
16359
|
+
},
|
|
16360
|
+
|
|
16361
|
+
/**
|
|
16362
|
+
* Custom help text message to display when validity = `tooLong`.
|
|
16363
|
+
*/
|
|
16364
|
+
setCustomValidityTooLong: {
|
|
16365
|
+
type: String
|
|
16366
|
+
},
|
|
16367
|
+
|
|
16368
|
+
/**
|
|
16369
|
+
* Custom help text message to display when validity = `tooShort`.
|
|
16370
|
+
*/
|
|
16371
|
+
setCustomValidityTooShort: {
|
|
16372
|
+
type: String
|
|
16373
|
+
},
|
|
16374
|
+
|
|
16375
|
+
/**
|
|
16376
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
16377
|
+
*/
|
|
16378
|
+
setCustomValidityValueMissing: {
|
|
16379
|
+
type: String
|
|
16380
|
+
},
|
|
16381
|
+
|
|
16382
|
+
/**
|
|
16383
|
+
* Custom help text message for email type validity.
|
|
16384
|
+
*/
|
|
16385
|
+
customValidityTypeEmail: {
|
|
16386
|
+
type: String
|
|
16387
|
+
},
|
|
16388
|
+
|
|
16389
|
+
/**
|
|
16390
|
+
* An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
|
|
16391
|
+
*/
|
|
16392
|
+
spellcheck: {
|
|
16393
|
+
type: String
|
|
16394
|
+
},
|
|
16395
|
+
|
|
16396
|
+
/**
|
|
16397
|
+
* Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`.
|
|
16398
|
+
*/
|
|
16399
|
+
type: {
|
|
16400
|
+
type: String,
|
|
16401
|
+
reflect: true
|
|
16402
|
+
},
|
|
16403
|
+
|
|
16404
|
+
/**
|
|
16405
|
+
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
16406
|
+
*/
|
|
16407
|
+
value: {
|
|
16408
|
+
type: String
|
|
16409
|
+
},
|
|
16410
|
+
|
|
16411
|
+
/**
|
|
16412
|
+
* Sets validation mode to re-eval with each input.
|
|
16413
|
+
*/
|
|
16414
|
+
validateOnInput: {
|
|
16415
|
+
type: Boolean
|
|
16416
|
+
},
|
|
16417
|
+
|
|
16418
|
+
/**
|
|
16419
|
+
* Specifies the `validityState` this element is in.
|
|
16420
|
+
*/
|
|
16421
|
+
validity: {
|
|
16422
|
+
type: String,
|
|
16423
|
+
reflect: true
|
|
16424
|
+
}
|
|
16425
|
+
};
|
|
16426
|
+
}
|
|
16427
|
+
|
|
16428
|
+
|
|
16429
|
+
static get styles() {
|
|
16430
|
+
return [
|
|
16431
|
+
i$6`${colorCss$4}`,
|
|
16432
|
+
i$6`${styleCss$4}`,
|
|
16433
|
+
i$6`${tokensCss$4}`
|
|
16434
|
+
];
|
|
16435
|
+
}
|
|
16436
|
+
|
|
16437
|
+
connectedCallback() {
|
|
16438
|
+
super.connectedCallback();
|
|
16439
|
+
|
|
16440
|
+
this.privateDefaults();
|
|
16441
|
+
|
|
16442
|
+
notifyOnLangChange(this);
|
|
16443
|
+
|
|
16444
|
+
// Process auto-formatting if defined for CleaveJS
|
|
16445
|
+
if (this.type) {
|
|
16446
|
+
let config = null;
|
|
16447
|
+
|
|
16448
|
+
// Set config for credit card
|
|
16449
|
+
switch (this.type) {
|
|
16450
|
+
case 'number':
|
|
16451
|
+
config = {
|
|
16452
|
+
numeral: true,
|
|
16453
|
+
delimiter: ''
|
|
16454
|
+
};
|
|
16455
|
+
|
|
16456
|
+
this.inputMode = 'numeric';
|
|
16457
|
+
|
|
16458
|
+
break;
|
|
16459
|
+
|
|
16460
|
+
case 'credit-card':
|
|
16461
|
+
config = {
|
|
16462
|
+
creditCard: true
|
|
16463
|
+
};
|
|
16464
|
+
|
|
16465
|
+
this.inputMode = 'numeric';
|
|
16466
|
+
|
|
16467
|
+
break;
|
|
16468
|
+
|
|
16469
|
+
case 'month-day-year':
|
|
16470
|
+
config = {
|
|
16471
|
+
date: true,
|
|
16472
|
+
delimiter: '/',
|
|
16473
|
+
datePattern: [
|
|
16474
|
+
'm',
|
|
16475
|
+
'd',
|
|
16476
|
+
'Y'
|
|
16477
|
+
]
|
|
16478
|
+
};
|
|
15846
16479
|
|
|
15847
16480
|
this.inputMode = 'numeric';
|
|
15848
16481
|
|
|
@@ -16066,7 +16699,7 @@ class BaseInput extends r {
|
|
|
16066
16699
|
}
|
|
16067
16700
|
|
|
16068
16701
|
if (changedProperties.has('error')) {
|
|
16069
|
-
this.
|
|
16702
|
+
this.validate(true);
|
|
16070
16703
|
}
|
|
16071
16704
|
|
|
16072
16705
|
if (changedProperties.has('validity')) {
|
|
@@ -16258,11 +16891,11 @@ class BaseInput extends r {
|
|
|
16258
16891
|
}
|
|
16259
16892
|
|
|
16260
16893
|
/**
|
|
16261
|
-
*
|
|
16262
|
-
* @
|
|
16894
|
+
* Validates value.
|
|
16895
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
16263
16896
|
*/
|
|
16264
|
-
validate() {
|
|
16265
|
-
this.validation.validate(this);
|
|
16897
|
+
validate(force = false) {
|
|
16898
|
+
this.validation.validate(this, force);
|
|
16266
16899
|
}
|
|
16267
16900
|
|
|
16268
16901
|
/**
|
|
@@ -16370,7 +17003,7 @@ class BaseInput extends r {
|
|
|
16370
17003
|
return !this.placeholder ? 'MM' : this.placeholder;
|
|
16371
17004
|
}
|
|
16372
17005
|
|
|
16373
|
-
return o$
|
|
17006
|
+
return o$5(this.placeholder);
|
|
16374
17007
|
}
|
|
16375
17008
|
|
|
16376
17009
|
/**
|
|
@@ -16547,7 +17180,7 @@ class AuroDependencyVersioning {
|
|
|
16547
17180
|
*/
|
|
16548
17181
|
generateTag(baseName, version, tagClass) {
|
|
16549
17182
|
const elementName = this.generateElementName(baseName, version);
|
|
16550
|
-
const tag = i$
|
|
17183
|
+
const tag = i$8`${s$4(elementName)}`;
|
|
16551
17184
|
|
|
16552
17185
|
if (!customElements.get(elementName)) {
|
|
16553
17186
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -16567,7 +17200,7 @@ class AuroDependencyVersioning {
|
|
|
16567
17200
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
16568
17201
|
*/
|
|
16569
17202
|
|
|
16570
|
-
class AuroElement extends r {
|
|
17203
|
+
class AuroElement extends r$4 {
|
|
16571
17204
|
|
|
16572
17205
|
// function to define props used within the scope of this component
|
|
16573
17206
|
static get properties() {
|
|
@@ -16623,7 +17256,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
16623
17256
|
return _fetchMap.get(uri);
|
|
16624
17257
|
};
|
|
16625
17258
|
|
|
16626
|
-
var styleCss$
|
|
17259
|
+
var styleCss$3 = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}: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, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}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}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
|
|
16627
17260
|
|
|
16628
17261
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
16629
17262
|
// See LICENSE in the project root for license information.
|
|
@@ -16662,8 +17295,8 @@ class BaseIcon extends AuroElement {
|
|
|
16662
17295
|
}
|
|
16663
17296
|
|
|
16664
17297
|
static get styles() {
|
|
16665
|
-
return i$
|
|
16666
|
-
${styleCss$
|
|
17298
|
+
return i$6`
|
|
17299
|
+
${styleCss$3}
|
|
16667
17300
|
`;
|
|
16668
17301
|
}
|
|
16669
17302
|
|
|
@@ -16704,9 +17337,9 @@ class BaseIcon extends AuroElement {
|
|
|
16704
17337
|
}
|
|
16705
17338
|
}
|
|
16706
17339
|
|
|
16707
|
-
var tokensCss$
|
|
17340
|
+
var tokensCss$3 = i$6`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
16708
17341
|
|
|
16709
|
-
var colorCss$
|
|
17342
|
+
var colorCss$3 = i$6`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
16710
17343
|
|
|
16711
17344
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
16712
17345
|
// See LICENSE in the project root for license information.
|
|
@@ -16768,7 +17401,7 @@ class AuroIcon extends BaseIcon {
|
|
|
16768
17401
|
this.success = false;
|
|
16769
17402
|
this.tertiary = false;
|
|
16770
17403
|
this.warning = false;
|
|
16771
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
17404
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
16772
17405
|
}
|
|
16773
17406
|
|
|
16774
17407
|
// function to define props used within the scope of this component
|
|
@@ -16850,9 +17483,9 @@ class AuroIcon extends BaseIcon {
|
|
|
16850
17483
|
static get styles() {
|
|
16851
17484
|
return [
|
|
16852
17485
|
super.styles,
|
|
16853
|
-
i$
|
|
16854
|
-
i$
|
|
16855
|
-
i$
|
|
17486
|
+
i$6`${tokensCss$3}`,
|
|
17487
|
+
i$6`${styleCss$3}`,
|
|
17488
|
+
i$6`${colorCss$3}`
|
|
16856
17489
|
];
|
|
16857
17490
|
}
|
|
16858
17491
|
|
|
@@ -16865,7 +17498,7 @@ class AuroIcon extends BaseIcon {
|
|
|
16865
17498
|
*
|
|
16866
17499
|
*/
|
|
16867
17500
|
static register(name = "auro-icon") {
|
|
16868
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
17501
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
16869
17502
|
}
|
|
16870
17503
|
|
|
16871
17504
|
connectedCallback() {
|
|
@@ -16894,20 +17527,20 @@ class AuroIcon extends BaseIcon {
|
|
|
16894
17527
|
'wrapper': true,
|
|
16895
17528
|
};
|
|
16896
17529
|
|
|
16897
|
-
return x`
|
|
17530
|
+
return x$1`
|
|
16898
17531
|
<div
|
|
16899
|
-
class="${e$
|
|
16900
|
-
title="${o$
|
|
16901
|
-
<span aria-hidden="${o$
|
|
16902
|
-
${this.customSvg ? x`
|
|
17532
|
+
class="${e$5(classes)}"
|
|
17533
|
+
title="${o$5(this.title || undefined)}">
|
|
17534
|
+
<span aria-hidden="${o$5(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
17535
|
+
${this.customSvg ? x$1`
|
|
16903
17536
|
<slot name="svg"></slot>
|
|
16904
|
-
` : x`
|
|
17537
|
+
` : x$1`
|
|
16905
17538
|
${this.svg}
|
|
16906
17539
|
`
|
|
16907
17540
|
}
|
|
16908
17541
|
</span>
|
|
16909
17542
|
|
|
16910
|
-
<div class="${e$
|
|
17543
|
+
<div class="${e$5(a11y)}">
|
|
16911
17544
|
<slot></slot>
|
|
16912
17545
|
</div>
|
|
16913
17546
|
</div>
|
|
@@ -16917,17 +17550,17 @@ class AuroIcon extends BaseIcon {
|
|
|
16917
17550
|
|
|
16918
17551
|
var iconVersion = '6.1.2';
|
|
16919
17552
|
|
|
16920
|
-
var styleCss$
|
|
17553
|
+
var styleCss$2 = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size: calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
|
|
16921
17554
|
|
|
16922
|
-
var colorCss$1 = i$2`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible:after{border-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-active-default, #225296)}.auro-button:not([ondark])[disabled]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1)}@media(hover: hover){.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-text-color: var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-button-text-color: var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.auro-button:not([ondark])[variant=secondary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-button-text-color: var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-border-inset-color: var(--ds-color-border-ui-default-default, #2c67b5)}.auro-button:not([ondark])[variant=tertiary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-color-icon-ui-secondary-default-default);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-default);background-color:transparent;background-image:none;border-color:transparent}}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-color-icon-ui-secondary-disabled-default);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-button-loader-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7)}}.auro-button[ondark]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef)}.auro-button[ondark][disabled]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-disabled-inverse, #275b72)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-border-color: var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-text-color: var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=secondary]:hover{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: var(--ds-color-border-ui-hover-inverse, #a8e9f7);--ds-auro-button-text-color: var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color: var(--ds-color-border-ui-focus-inverse, #56bbde)}.auro-button[ondark][variant=secondary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color: var(--ds-color-border-ui-active-inverse, #6ad5ef);--ds-auro-button-text-color: var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: var(--ds-color-border-ui-disabled-inverse, #7e7e7e);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color: var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-border-inset-color: var(--ds-color-border-ui-default-inverse, #56bbde)}.auro-button[ondark][variant=tertiary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=flat]{color:var(--ds-color-icon-ui-secondary-default-inverse);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-inverse);background-color:transparent;background-image:none;border-color:transparent}}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-color-icon-ui-disabled-default);background-color:transparent;background-image:none;border-color:transparent}`;
|
|
17555
|
+
var colorCss$2 = i$6`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible:after{border-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-active-default, #225296)}.auro-button:not([ondark])[disabled]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1)}@media(hover: hover){.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-text-color: var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-button-text-color: var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.auro-button:not([ondark])[variant=secondary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-button-text-color: var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-border-inset-color: var(--ds-color-border-ui-default-default, #2c67b5)}.auro-button:not([ondark])[variant=tertiary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-color-icon-ui-secondary-default-default);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-default);background-color:transparent;background-image:none;border-color:transparent}}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-color-icon-ui-secondary-disabled-default);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-button-loader-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7)}}.auro-button[ondark]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef)}.auro-button[ondark][disabled]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-disabled-inverse, #275b72)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-border-color: var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-text-color: var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=secondary]:hover{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: var(--ds-color-border-ui-hover-inverse, #a8e9f7);--ds-auro-button-text-color: var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color: var(--ds-color-border-ui-focus-inverse, #56bbde)}.auro-button[ondark][variant=secondary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color: var(--ds-color-border-ui-active-inverse, #6ad5ef);--ds-auro-button-text-color: var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: var(--ds-color-border-ui-disabled-inverse, #7e7e7e);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color: var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-border-inset-color: var(--ds-color-border-ui-default-inverse, #56bbde)}.auro-button[ondark][variant=tertiary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=flat]{color:var(--ds-color-icon-ui-secondary-default-inverse);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-inverse);background-color:transparent;background-image:none;border-color:transparent}}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-color-icon-ui-disabled-default);background-color:transparent;background-image:none;border-color:transparent}`;
|
|
16923
17556
|
|
|
16924
|
-
var tokensCss$
|
|
17557
|
+
var tokensCss$2 = i$6`:host{--ds-auro-button-border-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-border-inset-color: var(--ds-color-border-emphasis-inverse, #f2f7fb);--ds-auro-button-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-loader-color: var(--ds-color-utility-navy-default, #265688);--ds-auro-button-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-tap-color: transparent}`;
|
|
16925
17558
|
|
|
16926
|
-
var styleCss = i$
|
|
17559
|
+
var styleCss$1 = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: 0.375rem;--margin-xs: 0.2rem;--margin-sm: 0.5rem;--margin-md: 0.75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
|
|
16927
17560
|
|
|
16928
|
-
var colorCss = i$
|
|
17561
|
+
var colorCss$1 = i$6`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color: var(--ds-color-utility-navy-default, #265688)}:host([ondark]){--ds-auro-loader-color: var(--ds-color-utility-cyan-inverse, #a8e9f7)}:host([white]){--ds-auro-loader-color: var(--ds-color-utility-neutral-inverse, #ccd2db)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
|
|
16929
17562
|
|
|
16930
|
-
var tokensCss = i$
|
|
17563
|
+
var tokensCss$1 = i$6`:host{--ds-auro-loader-background-color: currentcolor;--ds-auro-loader-border-color: currentcolor;--ds-auro-loader-color: currentcolor}`;
|
|
16931
17564
|
|
|
16932
17565
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
16933
17566
|
// See LICENSE in the project root for license information.
|
|
@@ -16952,7 +17585,7 @@ var tokensCss = i$2`:host{--ds-auro-loader-background-color: currentcolor;--ds-a
|
|
|
16952
17585
|
*/
|
|
16953
17586
|
|
|
16954
17587
|
// build the component class
|
|
16955
|
-
class AuroLoader extends r {
|
|
17588
|
+
class AuroLoader extends r$4 {
|
|
16956
17589
|
constructor() {
|
|
16957
17590
|
super();
|
|
16958
17591
|
|
|
@@ -16974,7 +17607,7 @@ class AuroLoader extends r {
|
|
|
16974
17607
|
/**
|
|
16975
17608
|
* @private
|
|
16976
17609
|
*/
|
|
16977
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
17610
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
16978
17611
|
|
|
16979
17612
|
this.orbit = false;
|
|
16980
17613
|
this.ringworm = false;
|
|
@@ -17006,9 +17639,9 @@ class AuroLoader extends r {
|
|
|
17006
17639
|
|
|
17007
17640
|
static get styles() {
|
|
17008
17641
|
return [
|
|
17009
|
-
i$
|
|
17010
|
-
i$
|
|
17011
|
-
i$
|
|
17642
|
+
i$6`${styleCss$1}`,
|
|
17643
|
+
i$6`${colorCss$1}`,
|
|
17644
|
+
i$6`${tokensCss$1}`
|
|
17012
17645
|
];
|
|
17013
17646
|
}
|
|
17014
17647
|
|
|
@@ -17021,7 +17654,7 @@ class AuroLoader extends r {
|
|
|
17021
17654
|
*
|
|
17022
17655
|
*/
|
|
17023
17656
|
static register(name = "auro-loader") {
|
|
17024
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroLoader);
|
|
17657
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
|
|
17025
17658
|
}
|
|
17026
17659
|
|
|
17027
17660
|
firstUpdated() {
|
|
@@ -17054,14 +17687,14 @@ class AuroLoader extends r {
|
|
|
17054
17687
|
|
|
17055
17688
|
// function that renders the HTML and CSS into the scope of the component
|
|
17056
17689
|
render() {
|
|
17057
|
-
return x`
|
|
17058
|
-
${this.defineTemplate().map((idx) => x`
|
|
17690
|
+
return x$1`
|
|
17691
|
+
${this.defineTemplate().map((idx) => x$1`
|
|
17059
17692
|
<span part="element" class="loader node-${idx}"></span>
|
|
17060
17693
|
`)}
|
|
17061
17694
|
|
|
17062
17695
|
<div class="no-animation">Loading...</div>
|
|
17063
17696
|
|
|
17064
|
-
${this.ringworm ? x`
|
|
17697
|
+
${this.ringworm ? x$1`
|
|
17065
17698
|
<svg part="element" class="circular" viewBox="25 25 50 50">
|
|
17066
17699
|
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
|
|
17067
17700
|
</svg>`
|
|
@@ -17107,7 +17740,7 @@ var loaderVersion = '3.1.1';
|
|
|
17107
17740
|
|
|
17108
17741
|
/* eslint-disable lit/no-invalid-html, lit/binding-positions */
|
|
17109
17742
|
|
|
17110
|
-
class AuroButton extends r {
|
|
17743
|
+
class AuroButton extends r$4 {
|
|
17111
17744
|
|
|
17112
17745
|
constructor() {
|
|
17113
17746
|
super();
|
|
@@ -17136,9 +17769,9 @@ class AuroButton extends r {
|
|
|
17136
17769
|
|
|
17137
17770
|
static get styles() {
|
|
17138
17771
|
return [
|
|
17139
|
-
tokensCss$
|
|
17140
|
-
styleCss$
|
|
17141
|
-
colorCss$
|
|
17772
|
+
tokensCss$2,
|
|
17773
|
+
styleCss$2,
|
|
17774
|
+
colorCss$2
|
|
17142
17775
|
];
|
|
17143
17776
|
}
|
|
17144
17777
|
|
|
@@ -17221,7 +17854,7 @@ class AuroButton extends r {
|
|
|
17221
17854
|
*
|
|
17222
17855
|
*/
|
|
17223
17856
|
static register(name = "auro-button") {
|
|
17224
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroButton);
|
|
17857
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
|
|
17225
17858
|
}
|
|
17226
17859
|
|
|
17227
17860
|
/**
|
|
@@ -17275,27 +17908,27 @@ class AuroButton extends r {
|
|
|
17275
17908
|
'loading': this.loading
|
|
17276
17909
|
};
|
|
17277
17910
|
|
|
17278
|
-
return u$
|
|
17911
|
+
return u$5`
|
|
17279
17912
|
<button
|
|
17280
17913
|
part="button"
|
|
17281
|
-
aria-label="${o$
|
|
17282
|
-
aria-labelledby="${o$
|
|
17914
|
+
aria-label="${o$5(this.arialabel ? this.arialabel : undefined)}"
|
|
17915
|
+
aria-labelledby="${o$5(this.arialabelledby ? this.arialabelledby : undefined)}"
|
|
17283
17916
|
?autofocus="${this.autofocus}"
|
|
17284
|
-
class="${e$
|
|
17917
|
+
class="${e$5(classes)}"
|
|
17285
17918
|
?disabled="${this.disabled || this.loading}"
|
|
17286
17919
|
?onDark="${this.onDark}"
|
|
17287
|
-
title="${o$
|
|
17288
|
-
name="${o$
|
|
17289
|
-
type="${o$
|
|
17290
|
-
variant="${o$
|
|
17291
|
-
.value="${o$
|
|
17920
|
+
title="${o$5(this.title ? this.title : undefined)}"
|
|
17921
|
+
name="${o$5(this.name ? this.name : undefined)}"
|
|
17922
|
+
type="${o$5(this.type ? this.type : undefined)}"
|
|
17923
|
+
variant="${o$5(this.variant ? this.variant : undefined)}"
|
|
17924
|
+
.value="${o$5(this.value ? this.value : undefined)}"
|
|
17292
17925
|
@click="${() => {}}"
|
|
17293
17926
|
>
|
|
17294
|
-
${o$
|
|
17927
|
+
${o$5(this.loading ? u$5`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
17295
17928
|
|
|
17296
17929
|
<span class="contentWrapper">
|
|
17297
17930
|
<span class="textSlot" part="text">
|
|
17298
|
-
${this.iconOnly ? undefined : u$
|
|
17931
|
+
${this.iconOnly ? undefined : u$5`<slot></slot>`}
|
|
17299
17932
|
</span>
|
|
17300
17933
|
|
|
17301
17934
|
<span part="icon">
|
|
@@ -17309,6 +17942,229 @@ class AuroButton extends r {
|
|
|
17309
17942
|
|
|
17310
17943
|
var buttonVersion = '8.2.2';
|
|
17311
17944
|
|
|
17945
|
+
/**
|
|
17946
|
+
* @license
|
|
17947
|
+
* Copyright 2019 Google LLC
|
|
17948
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17949
|
+
*/
|
|
17950
|
+
const t$1=globalThis,e$2=t$1.ShadowRoot&&(undefined===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$2=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$2("string"==typeof t?t:t+"",undefined,s$1),i$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$1)},S$1=(s,o)=>{if(e$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
|
|
17951
|
+
|
|
17952
|
+
/**
|
|
17953
|
+
* @license
|
|
17954
|
+
* Copyright 2017 Google LLC
|
|
17955
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17956
|
+
*/const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$2(t,s),y$1={attribute:true,type:String,converter:u$1,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else undefined!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
17957
|
+
|
|
17958
|
+
/**
|
|
17959
|
+
* @license
|
|
17960
|
+
* Copyright 2017 Google LLC
|
|
17961
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17962
|
+
*/
|
|
17963
|
+
const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:undefined!==u[1]?c=_:undefined!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):undefined!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=undefined);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return undefined===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?undefined:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
17964
|
+
|
|
17965
|
+
/**
|
|
17966
|
+
* @license
|
|
17967
|
+
* Copyright 2017 Google LLC
|
|
17968
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17969
|
+
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
17970
|
+
|
|
17971
|
+
var colorCss = i$3`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
17972
|
+
|
|
17973
|
+
var styleCss = i$3`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
17974
|
+
|
|
17975
|
+
var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
17976
|
+
|
|
17977
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
17978
|
+
// See LICENSE in the project root for license information.
|
|
17979
|
+
|
|
17980
|
+
// ---------------------------------------------------------------------
|
|
17981
|
+
|
|
17982
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
17983
|
+
|
|
17984
|
+
class AuroLibraryRuntimeUtils {
|
|
17985
|
+
|
|
17986
|
+
/* eslint-disable jsdoc/require-param */
|
|
17987
|
+
|
|
17988
|
+
/**
|
|
17989
|
+
* This will register a new custom element with the browser.
|
|
17990
|
+
* @param {String} name - The name of the custom element.
|
|
17991
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
17992
|
+
* @returns {void}
|
|
17993
|
+
*/
|
|
17994
|
+
registerComponent(name, componentClass) {
|
|
17995
|
+
if (!customElements.get(name)) {
|
|
17996
|
+
customElements.define(name, class extends componentClass {});
|
|
17997
|
+
}
|
|
17998
|
+
}
|
|
17999
|
+
|
|
18000
|
+
/**
|
|
18001
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
18002
|
+
* @returns {void}
|
|
18003
|
+
*/
|
|
18004
|
+
closestElement(
|
|
18005
|
+
selector, // selector like in .closest()
|
|
18006
|
+
base = this, // extra functionality to skip a parent
|
|
18007
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
18008
|
+
!el || el === document || el === window
|
|
18009
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
18010
|
+
: found
|
|
18011
|
+
? found // found a selector INside this element
|
|
18012
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
18013
|
+
) {
|
|
18014
|
+
return __Closest(base);
|
|
18015
|
+
}
|
|
18016
|
+
/* eslint-enable jsdoc/require-param */
|
|
18017
|
+
|
|
18018
|
+
/**
|
|
18019
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
18020
|
+
* @param {Object} elem - The element to check.
|
|
18021
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
18022
|
+
* @returns {void}
|
|
18023
|
+
*/
|
|
18024
|
+
handleComponentTagRename(elem, tagName) {
|
|
18025
|
+
const tag = tagName.toLowerCase();
|
|
18026
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
18027
|
+
|
|
18028
|
+
if (elemTag !== tag) {
|
|
18029
|
+
elem.setAttribute(tag, true);
|
|
18030
|
+
}
|
|
18031
|
+
}
|
|
18032
|
+
|
|
18033
|
+
/**
|
|
18034
|
+
* Validates if an element is a specific Auro component.
|
|
18035
|
+
* @param {Object} elem - The element to validate.
|
|
18036
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
18037
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
18038
|
+
*/
|
|
18039
|
+
elementMatch(elem, tagName) {
|
|
18040
|
+
const tag = tagName.toLowerCase();
|
|
18041
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
18042
|
+
|
|
18043
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
18044
|
+
}
|
|
18045
|
+
}
|
|
18046
|
+
|
|
18047
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18048
|
+
// See LICENSE in the project root for license information.
|
|
18049
|
+
|
|
18050
|
+
|
|
18051
|
+
/**
|
|
18052
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
18053
|
+
*
|
|
18054
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
18055
|
+
*/
|
|
18056
|
+
class AuroHelpText extends r {
|
|
18057
|
+
|
|
18058
|
+
constructor() {
|
|
18059
|
+
super();
|
|
18060
|
+
|
|
18061
|
+
this.error = false;
|
|
18062
|
+
this.hasTextContent = false;
|
|
18063
|
+
}
|
|
18064
|
+
|
|
18065
|
+
static get styles() {
|
|
18066
|
+
return [
|
|
18067
|
+
colorCss,
|
|
18068
|
+
styleCss,
|
|
18069
|
+
tokensCss
|
|
18070
|
+
];
|
|
18071
|
+
}
|
|
18072
|
+
|
|
18073
|
+
// function to define props used within the scope of this component
|
|
18074
|
+
static get properties() {
|
|
18075
|
+
return {
|
|
18076
|
+
|
|
18077
|
+
/**
|
|
18078
|
+
* @private
|
|
18079
|
+
*/
|
|
18080
|
+
slotNodes: {
|
|
18081
|
+
type: Boolean,
|
|
18082
|
+
},
|
|
18083
|
+
|
|
18084
|
+
/**
|
|
18085
|
+
* @private
|
|
18086
|
+
*/
|
|
18087
|
+
hasTextContent: {
|
|
18088
|
+
type: Boolean,
|
|
18089
|
+
},
|
|
18090
|
+
|
|
18091
|
+
/**
|
|
18092
|
+
* If declared, make font color red.
|
|
18093
|
+
*/
|
|
18094
|
+
error: {
|
|
18095
|
+
type: Boolean,
|
|
18096
|
+
reflect: true,
|
|
18097
|
+
},
|
|
18098
|
+
};
|
|
18099
|
+
}
|
|
18100
|
+
|
|
18101
|
+
/**
|
|
18102
|
+
* This will register this element with the browser.
|
|
18103
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
18104
|
+
*
|
|
18105
|
+
* @example
|
|
18106
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
18107
|
+
*
|
|
18108
|
+
*/
|
|
18109
|
+
static register(name = "auro-helptext") {
|
|
18110
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
|
|
18111
|
+
}
|
|
18112
|
+
|
|
18113
|
+
updated() {
|
|
18114
|
+
this.handleSlotChange();
|
|
18115
|
+
}
|
|
18116
|
+
|
|
18117
|
+
handleSlotChange(event) {
|
|
18118
|
+
if (event) {
|
|
18119
|
+
this.slotNodes = event.target.assignedNodes();
|
|
18120
|
+
}
|
|
18121
|
+
|
|
18122
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
18123
|
+
}
|
|
18124
|
+
|
|
18125
|
+
/**
|
|
18126
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
18127
|
+
*
|
|
18128
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
18129
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
18130
|
+
* @private
|
|
18131
|
+
*/
|
|
18132
|
+
checkSlotsForContent(nodes) {
|
|
18133
|
+
if (!nodes) {
|
|
18134
|
+
return false;
|
|
18135
|
+
}
|
|
18136
|
+
|
|
18137
|
+
return nodes.some((node) => {
|
|
18138
|
+
if (node.textContent.trim()) {
|
|
18139
|
+
return true;
|
|
18140
|
+
}
|
|
18141
|
+
|
|
18142
|
+
if (!node.querySelector) {
|
|
18143
|
+
return false;
|
|
18144
|
+
}
|
|
18145
|
+
|
|
18146
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
18147
|
+
if (!nestedSlot) {
|
|
18148
|
+
return false;
|
|
18149
|
+
}
|
|
18150
|
+
|
|
18151
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
18152
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
18153
|
+
});
|
|
18154
|
+
}
|
|
18155
|
+
|
|
18156
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
18157
|
+
render() {
|
|
18158
|
+
return x`
|
|
18159
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
18160
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
18161
|
+
</div>
|
|
18162
|
+
`;
|
|
18163
|
+
}
|
|
18164
|
+
}
|
|
18165
|
+
|
|
18166
|
+
AuroHelpText.register();
|
|
18167
|
+
|
|
17312
18168
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
17313
18169
|
// See LICENSE in the project root for license information.
|
|
17314
18170
|
|
|
@@ -17343,7 +18199,7 @@ class AuroInput extends BaseInput {
|
|
|
17343
18199
|
*
|
|
17344
18200
|
*/
|
|
17345
18201
|
static register(name = "auro-input") {
|
|
17346
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroInput);
|
|
18202
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
|
|
17347
18203
|
}
|
|
17348
18204
|
|
|
17349
18205
|
/**
|
|
@@ -17396,7 +18252,7 @@ class AuroInput extends BaseInput {
|
|
|
17396
18252
|
'withValue': this.value && this.value.length > 0
|
|
17397
18253
|
};
|
|
17398
18254
|
|
|
17399
|
-
return u$
|
|
18255
|
+
return u$5`
|
|
17400
18256
|
<div class="wrapper" part="wrapper">
|
|
17401
18257
|
<div class="main">
|
|
17402
18258
|
<div class="typeIcon">
|
|
@@ -17405,7 +18261,7 @@ class AuroInput extends BaseInput {
|
|
|
17405
18261
|
<!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
|
|
17406
18262
|
This should be cleaned up when auro-icon issue #31 is resolved. -->
|
|
17407
18263
|
${this.inputIconName
|
|
17408
|
-
? c$
|
|
18264
|
+
? c$5([this.inputIconName], (val) => val, (name) => u$5`
|
|
17409
18265
|
<${this.iconTag}
|
|
17410
18266
|
class="accentIcon"
|
|
17411
18267
|
category="payment"
|
|
@@ -17417,7 +18273,7 @@ class AuroInput extends BaseInput {
|
|
|
17417
18273
|
}
|
|
17418
18274
|
|
|
17419
18275
|
${this.isDateType()
|
|
17420
|
-
? u$
|
|
18276
|
+
? u$5`
|
|
17421
18277
|
<${this.iconTag}
|
|
17422
18278
|
class="accentIcon"
|
|
17423
18279
|
category="interface"
|
|
@@ -17428,7 +18284,7 @@ class AuroInput extends BaseInput {
|
|
|
17428
18284
|
: undefined
|
|
17429
18285
|
}
|
|
17430
18286
|
</div>
|
|
17431
|
-
<label for=${this.id} class="${e$
|
|
18287
|
+
<label for=${this.id} class="${e$5(labelClasses)}" part="label">
|
|
17432
18288
|
<slot name="label">
|
|
17433
18289
|
${this.label}
|
|
17434
18290
|
</slot>
|
|
@@ -17439,23 +18295,23 @@ class AuroInput extends BaseInput {
|
|
|
17439
18295
|
@focusin="${this.handleFocusin}"
|
|
17440
18296
|
@blur="${this.handleBlur}"
|
|
17441
18297
|
id="${this.id}"
|
|
17442
|
-
name="${o$
|
|
18298
|
+
name="${o$5(this.name)}"
|
|
17443
18299
|
type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}"
|
|
17444
|
-
pattern="${o$
|
|
17445
|
-
maxlength="${o$
|
|
17446
|
-
minlength="${o$
|
|
17447
|
-
inputMode="${o$
|
|
18300
|
+
pattern="${o$5(this.definePattern())}"
|
|
18301
|
+
maxlength="${o$5(this.maxLength ? this.maxLength : undefined)}"
|
|
18302
|
+
minlength="${o$5(this.minLength ? this.minLength : undefined)}"
|
|
18303
|
+
inputMode="${o$5(this.inputMode ? this.inputMode : undefined)}"
|
|
17448
18304
|
?required="${this.required}"
|
|
17449
18305
|
?disabled="${this.disabled}"
|
|
17450
18306
|
aria-describedby="${this.uniqueId}"
|
|
17451
18307
|
aria-invalid="${this.validity !== 'valid'}"
|
|
17452
18308
|
placeholder=${this.getPlaceholder()}
|
|
17453
|
-
lang="${o$
|
|
18309
|
+
lang="${o$5(this.lang)}"
|
|
17454
18310
|
?activeLabel="${this.activeLabel}"
|
|
17455
|
-
spellcheck="${o$
|
|
17456
|
-
autocorrect="${o$
|
|
17457
|
-
autocapitalize="${o$
|
|
17458
|
-
autocomplete="${o$
|
|
18311
|
+
spellcheck="${o$5(this.spellcheck ? this.spellcheck : undefined)}"
|
|
18312
|
+
autocorrect="${o$5(this.autocorrect ? this.autocorrect : undefined)}"
|
|
18313
|
+
autocapitalize="${o$5(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
18314
|
+
autocomplete="${o$5(this.autocomplete ? this.autocomplete : undefined)}"
|
|
17459
18315
|
part="input"
|
|
17460
18316
|
/>
|
|
17461
18317
|
</div>
|
|
@@ -17463,7 +18319,7 @@ class AuroInput extends BaseInput {
|
|
|
17463
18319
|
class="notificationIcons"
|
|
17464
18320
|
part="notificationIcons"
|
|
17465
18321
|
?hasValue="${this.hasValue}">
|
|
17466
|
-
${this.validity && this.validity !== 'valid' ? u$
|
|
18322
|
+
${this.validity && this.validity !== 'valid' ? u$5`
|
|
17467
18323
|
<div class="notification alertNotification">
|
|
17468
18324
|
<${this.iconTag}
|
|
17469
18325
|
category="alert"
|
|
@@ -17472,8 +18328,8 @@ class AuroInput extends BaseInput {
|
|
|
17472
18328
|
</${this.iconTag}>
|
|
17473
18329
|
</div>
|
|
17474
18330
|
` : undefined}
|
|
17475
|
-
${this.hasValue ? u$
|
|
17476
|
-
${this.type === 'password' ? u$
|
|
18331
|
+
${this.hasValue ? u$5`
|
|
18332
|
+
${this.type === 'password' ? u$5`
|
|
17477
18333
|
<div class="notification">
|
|
17478
18334
|
<${this.buttonTag}
|
|
17479
18335
|
variant="flat"
|
|
@@ -17496,7 +18352,7 @@ class AuroInput extends BaseInput {
|
|
|
17496
18352
|
</${this.buttonTag}>
|
|
17497
18353
|
</div>
|
|
17498
18354
|
` : undefined}
|
|
17499
|
-
${!this.disabled && !this.readonly ? u$
|
|
18355
|
+
${!this.disabled && !this.readonly ? u$5`
|
|
17500
18356
|
<div class="notification">
|
|
17501
18357
|
<${this.buttonTag}
|
|
17502
18358
|
variant="flat"
|
|
@@ -17517,16 +18373,22 @@ class AuroInput extends BaseInput {
|
|
|
17517
18373
|
</div>
|
|
17518
18374
|
</div>
|
|
17519
18375
|
<!-- Help text and error message template -->
|
|
17520
|
-
|
|
17521
|
-
|
|
17522
|
-
<
|
|
17523
|
-
<
|
|
17524
|
-
|
|
17525
|
-
|
|
17526
|
-
|
|
17527
|
-
|
|
17528
|
-
|
|
17529
|
-
|
|
18376
|
+
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
18377
|
+
? u$5`
|
|
18378
|
+
<auro-helptext>
|
|
18379
|
+
<p id="${this.uniqueId}" part="helpText">
|
|
18380
|
+
<slot name="helptext">${this.getHelpText(this.type)}</slot>
|
|
18381
|
+
</p>
|
|
18382
|
+
</auro-helptext>
|
|
18383
|
+
`
|
|
18384
|
+
: u$5`
|
|
18385
|
+
<auro-helptext error>
|
|
18386
|
+
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
18387
|
+
${this.errorMessage}
|
|
18388
|
+
</p>
|
|
18389
|
+
</auro-helptext>
|
|
18390
|
+
`
|
|
18391
|
+
}
|
|
17530
18392
|
`;
|
|
17531
18393
|
}
|
|
17532
18394
|
}
|
|
@@ -17541,26 +18403,6 @@ var inputVersion = '4.2.0';
|
|
|
17541
18403
|
|
|
17542
18404
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
17543
18405
|
/**
|
|
17544
|
-
* @prop {String} value - Value selected for the date picker.
|
|
17545
|
-
* @prop {String} valueEnd - Value selected for the second date picker when using date range.
|
|
17546
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
17547
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
17548
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
|
|
17549
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
17550
|
-
* @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
|
|
17551
|
-
* @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
|
|
17552
|
-
* @attr {String} setCustomValidityValueMissing - Help text message to display when validity = `valueMissing`.
|
|
17553
|
-
* @attr {String} calendarStartDate - The first date that may be displayed in the calendar.
|
|
17554
|
-
* @attr {String} calendarEndDate - The last date that may be displayed in the calendar
|
|
17555
|
-
* @attr {String} calendarFocusDate - The date that will first be visually rendered to the user in the calendar.
|
|
17556
|
-
* @attr {Boolean} disabled - If set, disables the datepicker.
|
|
17557
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
17558
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
17559
|
-
* @attr {Boolean} range - If set, turns on date range functionality in auro-calendar.
|
|
17560
|
-
* @attr {String} centralDate - The date that determines the currently visible month.
|
|
17561
|
-
* @attr {String} maxDate - Maximum date. All dates after will be disabled.
|
|
17562
|
-
* @attr {String} minDate - Minimum date. All dates before will be disabled.
|
|
17563
|
-
* @attr {Array} monthNames = Names of all 12 months to render in the calendar, used for localization of date string in mobile layout.
|
|
17564
18406
|
* @slot helpText - Defines the content of the helpText.
|
|
17565
18407
|
* @slot mobileDateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
17566
18408
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -17582,7 +18424,7 @@ var inputVersion = '4.2.0';
|
|
|
17582
18424
|
*/
|
|
17583
18425
|
|
|
17584
18426
|
// build the component class
|
|
17585
|
-
class AuroDatePicker extends r$
|
|
18427
|
+
class AuroDatePicker extends r$b {
|
|
17586
18428
|
constructor() {
|
|
17587
18429
|
super();
|
|
17588
18430
|
|
|
@@ -17646,7 +18488,7 @@ class AuroDatePicker extends r$7 {
|
|
|
17646
18488
|
/**
|
|
17647
18489
|
* @private
|
|
17648
18490
|
*/
|
|
17649
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
18491
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
17650
18492
|
|
|
17651
18493
|
/**
|
|
17652
18494
|
* @private
|
|
@@ -17657,7 +18499,15 @@ class AuroDatePicker extends r$7 {
|
|
|
17657
18499
|
* Generate unique names for dependency components.
|
|
17658
18500
|
*/
|
|
17659
18501
|
const versioning = new AuroDependencyVersioning$2();
|
|
18502
|
+
|
|
18503
|
+
/**
|
|
18504
|
+
* @private
|
|
18505
|
+
*/
|
|
17660
18506
|
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
18507
|
+
|
|
18508
|
+
/**
|
|
18509
|
+
* @private
|
|
18510
|
+
*/
|
|
17661
18511
|
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
17662
18512
|
}
|
|
17663
18513
|
|
|
@@ -17667,108 +18517,163 @@ class AuroDatePicker extends r$7 {
|
|
|
17667
18517
|
static get properties() {
|
|
17668
18518
|
return {
|
|
17669
18519
|
// ...super.properties,
|
|
17670
|
-
|
|
18520
|
+
/**
|
|
18521
|
+
* The last date that may be displayed in the calendar.
|
|
18522
|
+
*/
|
|
18523
|
+
calendarEndDate: {
|
|
17671
18524
|
type: String,
|
|
17672
18525
|
reflect: true
|
|
17673
18526
|
},
|
|
17674
|
-
|
|
17675
|
-
|
|
17676
|
-
|
|
17677
|
-
|
|
17678
|
-
|
|
17679
|
-
},
|
|
17680
|
-
setCustomValidityCustomError: {
|
|
17681
|
-
type: String,
|
|
17682
|
-
},
|
|
17683
|
-
setCustomValidityRangeUnderflow: {
|
|
17684
|
-
type: String,
|
|
17685
|
-
},
|
|
17686
|
-
setCustomValidityRangeOverflow: {
|
|
17687
|
-
type: String,
|
|
17688
|
-
},
|
|
17689
|
-
setCustomValidityValueMissing: {
|
|
18527
|
+
|
|
18528
|
+
/**
|
|
18529
|
+
* The date that will first be visually rendered to the user in the calendar.
|
|
18530
|
+
*/
|
|
18531
|
+
calendarFocusDate: {
|
|
17690
18532
|
type: String,
|
|
18533
|
+
reflect: true
|
|
17691
18534
|
},
|
|
17692
|
-
|
|
18535
|
+
|
|
18536
|
+
/**
|
|
18537
|
+
* The first date that may be displayed in the calendar.
|
|
18538
|
+
*/
|
|
18539
|
+
calendarStartDate: {
|
|
17693
18540
|
type: String,
|
|
17694
18541
|
reflect: true
|
|
17695
18542
|
},
|
|
17696
|
-
|
|
17697
|
-
|
|
17698
|
-
|
|
18543
|
+
|
|
18544
|
+
/**
|
|
18545
|
+
* The date that determines the currently visible month.
|
|
18546
|
+
*/
|
|
18547
|
+
centralDate: {
|
|
18548
|
+
type: String
|
|
17699
18549
|
},
|
|
18550
|
+
|
|
18551
|
+
/**
|
|
18552
|
+
* If set, disables the datepicker.
|
|
18553
|
+
*/
|
|
17700
18554
|
disabled: {
|
|
17701
18555
|
type: Boolean,
|
|
17702
18556
|
reflect: true
|
|
17703
18557
|
},
|
|
17704
|
-
|
|
17705
|
-
|
|
17706
|
-
|
|
17707
|
-
|
|
17708
|
-
|
|
18558
|
+
|
|
18559
|
+
/**
|
|
18560
|
+
* When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
18561
|
+
*/
|
|
18562
|
+
error: {
|
|
17709
18563
|
type: String,
|
|
17710
18564
|
reflect: true
|
|
17711
18565
|
},
|
|
17712
|
-
|
|
17713
|
-
|
|
17714
|
-
|
|
17715
|
-
|
|
17716
|
-
type: String
|
|
17717
|
-
},
|
|
17718
|
-
centralDate: {
|
|
17719
|
-
type: String
|
|
17720
|
-
},
|
|
18566
|
+
|
|
18567
|
+
/**
|
|
18568
|
+
* Maximum date. All dates after will be disabled.
|
|
18569
|
+
*/
|
|
17721
18570
|
maxDate: {
|
|
17722
18571
|
type: String,
|
|
17723
18572
|
reflect: true
|
|
17724
18573
|
},
|
|
18574
|
+
|
|
18575
|
+
/**
|
|
18576
|
+
* Minimum date. All dates before will be disabled.
|
|
18577
|
+
*/
|
|
17725
18578
|
minDate: {
|
|
17726
18579
|
type: String,
|
|
17727
18580
|
reflect: true
|
|
17728
18581
|
},
|
|
18582
|
+
|
|
18583
|
+
/**
|
|
18584
|
+
* Names of all 12 months to render in the calendar, used for localization of date string in mobile layout.
|
|
18585
|
+
*/
|
|
17729
18586
|
monthNames: {
|
|
17730
18587
|
type: Array
|
|
17731
18588
|
},
|
|
17732
|
-
|
|
17733
|
-
|
|
17734
|
-
|
|
18589
|
+
|
|
18590
|
+
/**
|
|
18591
|
+
* If set, disables auto-validation on blur.
|
|
18592
|
+
*/
|
|
18593
|
+
noValidate: {
|
|
18594
|
+
type: Boolean
|
|
17735
18595
|
},
|
|
17736
|
-
|
|
17737
|
-
|
|
18596
|
+
|
|
18597
|
+
/**
|
|
18598
|
+
* If set, turns on date range functionality in auro-calendar.
|
|
18599
|
+
*/
|
|
18600
|
+
range: {
|
|
18601
|
+
type: Boolean,
|
|
17738
18602
|
reflect: true
|
|
17739
18603
|
},
|
|
17740
|
-
|
|
17741
|
-
|
|
18604
|
+
|
|
18605
|
+
/**
|
|
18606
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
18607
|
+
*/
|
|
18608
|
+
required: {
|
|
18609
|
+
type: Boolean,
|
|
17742
18610
|
reflect: true
|
|
17743
18611
|
},
|
|
17744
18612
|
|
|
17745
18613
|
/**
|
|
17746
|
-
*
|
|
18614
|
+
* Sets a custom help text message to display for all validityStates.
|
|
17747
18615
|
*/
|
|
17748
|
-
|
|
18616
|
+
setCustomValidity: {
|
|
18617
|
+
type: String
|
|
18618
|
+
},
|
|
17749
18619
|
|
|
17750
18620
|
/**
|
|
17751
|
-
*
|
|
18621
|
+
* Custom help text message to display when validity = `customError`.
|
|
17752
18622
|
*/
|
|
17753
|
-
|
|
18623
|
+
setCustomValidityCustomError: {
|
|
18624
|
+
type: String
|
|
18625
|
+
},
|
|
17754
18626
|
|
|
17755
18627
|
/**
|
|
17756
|
-
*
|
|
18628
|
+
* Custom help text message to display when validity = `rangeOverflow`.
|
|
17757
18629
|
*/
|
|
17758
|
-
|
|
18630
|
+
setCustomValidityRangeOverflow: {
|
|
18631
|
+
type: String
|
|
18632
|
+
},
|
|
17759
18633
|
|
|
17760
18634
|
/**
|
|
17761
|
-
*
|
|
18635
|
+
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
18636
|
+
*/
|
|
18637
|
+
setCustomValidityRangeUnderflow: {
|
|
18638
|
+
type: String
|
|
18639
|
+
},
|
|
18640
|
+
|
|
18641
|
+
/**
|
|
18642
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
18643
|
+
*/
|
|
18644
|
+
setCustomValidityValueMissing: {
|
|
18645
|
+
type: String
|
|
18646
|
+
},
|
|
18647
|
+
|
|
18648
|
+
/**
|
|
18649
|
+
* Specifies the `validityState` this element is in.
|
|
18650
|
+
*/
|
|
18651
|
+
validity: {
|
|
18652
|
+
type: String,
|
|
18653
|
+
reflect: true
|
|
18654
|
+
},
|
|
18655
|
+
|
|
18656
|
+
/**
|
|
18657
|
+
* Value selected for the datepicker.
|
|
18658
|
+
*/
|
|
18659
|
+
value: {
|
|
18660
|
+
type: String
|
|
18661
|
+
},
|
|
18662
|
+
|
|
18663
|
+
/**
|
|
18664
|
+
* Value selected for the second datepicker when using date range.
|
|
17762
18665
|
*/
|
|
17763
|
-
|
|
18666
|
+
valueEnd: {
|
|
18667
|
+
type: String
|
|
18668
|
+
}
|
|
17764
18669
|
};
|
|
17765
18670
|
}
|
|
17766
18671
|
|
|
17767
18672
|
static get styles() {
|
|
17768
18673
|
return [
|
|
17769
|
-
styleCss$
|
|
17770
|
-
colorCss$
|
|
17771
|
-
tokensCss$
|
|
18674
|
+
styleCss$a,
|
|
18675
|
+
colorCss$a,
|
|
18676
|
+
tokensCss$7
|
|
17772
18677
|
];
|
|
17773
18678
|
}
|
|
17774
18679
|
|
|
@@ -17781,7 +18686,29 @@ class AuroDatePicker extends r$7 {
|
|
|
17781
18686
|
*
|
|
17782
18687
|
*/
|
|
17783
18688
|
static register(name = "auro-datepicker") {
|
|
17784
|
-
AuroLibraryRuntimeUtils$
|
|
18689
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroDatePicker);
|
|
18690
|
+
}
|
|
18691
|
+
|
|
18692
|
+
/**
|
|
18693
|
+
* A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
|
|
18694
|
+
* @returns {string[]}
|
|
18695
|
+
*/
|
|
18696
|
+
get values() {
|
|
18697
|
+
// If range, and both populated, return both values in an array
|
|
18698
|
+
// - NOTE: both are required here, so we don't have something like `['10/22/25', undefined]`
|
|
18699
|
+
if (this.range && this.value && this.valueEnd) {
|
|
18700
|
+
return [
|
|
18701
|
+
this.value,
|
|
18702
|
+
this.valueEnd
|
|
18703
|
+
];
|
|
18704
|
+
}
|
|
18705
|
+
|
|
18706
|
+
// This if block catches instances where `value` is present, no matter if valueEnd is selected yet
|
|
18707
|
+
if (this.value) {
|
|
18708
|
+
return [this.value];
|
|
18709
|
+
}
|
|
18710
|
+
|
|
18711
|
+
return [];
|
|
17785
18712
|
}
|
|
17786
18713
|
|
|
17787
18714
|
/**
|
|
@@ -18147,10 +19074,11 @@ class AuroDatePicker extends r$7 {
|
|
|
18147
19074
|
if (!this.value || !this.util.validDateStr(this.value)) {
|
|
18148
19075
|
this.value = newDate;
|
|
18149
19076
|
} else if (!this.valueEnd || !this.util.validDateStr(this.valueEnd)) {
|
|
18150
|
-
|
|
18151
19077
|
// verify the date is after this.value to insure we are setting a proper range
|
|
18152
19078
|
if (new Date(newDate) >= new Date(this.value)) {
|
|
18153
19079
|
this.valueEnd = newDate;
|
|
19080
|
+
} else {
|
|
19081
|
+
this.value = newDate;
|
|
18154
19082
|
}
|
|
18155
19083
|
} else {
|
|
18156
19084
|
this.value = newDate;
|
|
@@ -18183,6 +19111,14 @@ class AuroDatePicker extends r$7 {
|
|
|
18183
19111
|
this.validation.reset(this);
|
|
18184
19112
|
}
|
|
18185
19113
|
|
|
19114
|
+
/**
|
|
19115
|
+
* Validates value.
|
|
19116
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
19117
|
+
*/
|
|
19118
|
+
validate(force = false) {
|
|
19119
|
+
this.validation.validate(this, force);
|
|
19120
|
+
}
|
|
19121
|
+
|
|
18186
19122
|
updated(changedProperties) {
|
|
18187
19123
|
if (changedProperties.has('calendarFocusDate')) {
|
|
18188
19124
|
this.handleFocusDateChange();
|
|
@@ -18248,7 +19184,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18248
19184
|
}
|
|
18249
19185
|
}
|
|
18250
19186
|
|
|
18251
|
-
this.
|
|
19187
|
+
this.validate();
|
|
18252
19188
|
}
|
|
18253
19189
|
|
|
18254
19190
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
@@ -18278,7 +19214,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18278
19214
|
}
|
|
18279
19215
|
}
|
|
18280
19216
|
|
|
18281
|
-
this.
|
|
19217
|
+
this.validate();
|
|
18282
19218
|
}
|
|
18283
19219
|
|
|
18284
19220
|
if (changedProperties.has('error')) {
|
|
@@ -18308,11 +19244,14 @@ class AuroDatePicker extends r$7 {
|
|
|
18308
19244
|
// a later date than the current value date
|
|
18309
19245
|
if (changedProperties.has('minDate')) {
|
|
18310
19246
|
if (this.minDate) {
|
|
18311
|
-
const minDateMonth = Number(this.minDate.
|
|
19247
|
+
const minDateMonth = Number(this.minDate.split('/')[0]);
|
|
19248
|
+
const minDateYear = Number(this.minDate.split('/')[2]);
|
|
18312
19249
|
|
|
18313
19250
|
// This sets the visible month of the calendar to the minDate when the minDate is later
|
|
18314
19251
|
// than the current visible date
|
|
18315
|
-
if (
|
|
19252
|
+
if (minDateYear > this.calendar.year) {
|
|
19253
|
+
this.calendarRenderUtil.updateCentralDate(this, this.minDate);
|
|
19254
|
+
} else if (minDateYear === this.calendar.year && minDateMonth > this.calendar.month) {
|
|
18316
19255
|
this.calendarRenderUtil.updateCentralDate(this, this.minDate);
|
|
18317
19256
|
}
|
|
18318
19257
|
|
|
@@ -18333,6 +19272,17 @@ class AuroDatePicker extends r$7 {
|
|
|
18333
19272
|
// This resets the datepicker when the maxDate is set to a new value that is
|
|
18334
19273
|
// an earlier date than the current value date
|
|
18335
19274
|
if (changedProperties.has('maxDate')) {
|
|
19275
|
+
const maxDateMonth = Number(this.maxDate.split('/')[0]);
|
|
19276
|
+
const maxDateYear = Number(this.maxDate.split('/')[2]);
|
|
19277
|
+
|
|
19278
|
+
// This sets the visible month of the calendar to the maxDate when the maxDate is earlier
|
|
19279
|
+
// than the current visible date
|
|
19280
|
+
if (maxDateYear < this.calendar.year) {
|
|
19281
|
+
this.calendarRenderUtil.updateCentralDate(this, this.maxDate);
|
|
19282
|
+
} else if (maxDateYear === this.calendar.year && maxDateMonth < this.calendar.month) {
|
|
19283
|
+
this.calendarRenderUtil.updateCentralDate(this, this.maxDate);
|
|
19284
|
+
}
|
|
19285
|
+
|
|
18336
19286
|
if (this.maxDate) {
|
|
18337
19287
|
if (this.value) {
|
|
18338
19288
|
if (new Date(this.maxDate).getTime() < new Date(this.value).getTime()) {
|
|
@@ -18382,7 +19332,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18382
19332
|
|
|
18383
19333
|
// function that renders the HTML and CSS into the scope of the component
|
|
18384
19334
|
render() {
|
|
18385
|
-
return u$
|
|
19335
|
+
return u$8`
|
|
18386
19336
|
<div class="outerWrapper">
|
|
18387
19337
|
<${this.dropdownTag}
|
|
18388
19338
|
for="dropdownMenu"
|
|
@@ -18414,7 +19364,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18414
19364
|
part="input">
|
|
18415
19365
|
<span slot="label"><slot name="fromLabel"></slot></span>
|
|
18416
19366
|
</${this.inputTag}>
|
|
18417
|
-
${this.range ? u$
|
|
19367
|
+
${this.range ? u$8`
|
|
18418
19368
|
<${this.inputTag}
|
|
18419
19369
|
id="${this.generateRandomString(12)}"
|
|
18420
19370
|
bordered
|
|
@@ -18445,21 +19395,21 @@ class AuroDatePicker extends r$7 {
|
|
|
18445
19395
|
part="calendar"
|
|
18446
19396
|
>
|
|
18447
19397
|
<slot slot="mobileDateLabel" name="mobileDateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
18448
|
-
<span slot="mobileDateFromStr">${this.value ? this.getMobileDateStr(this.value) : u$
|
|
18449
|
-
${this.range ? u$
|
|
19398
|
+
<span slot="mobileDateFromStr">${this.value ? this.getMobileDateStr(this.value) : u$8`<span class="placeholderDate">MM/DD/YYYY</span>`}</span>
|
|
19399
|
+
${this.range ? u$8`<span slot="mobileDateToStr">${this.valueEnd ? this.getMobileDateStr(this.valueEnd) : u$8`<span class="placeholderDate">MM/DD/YYYY</span>`}</span>` : undefined}
|
|
18450
19400
|
</auro-calendar>
|
|
18451
19401
|
</div>
|
|
18452
|
-
<
|
|
19402
|
+
<p slot="helpText" part="helpTextSpan">
|
|
18453
19403
|
<!-- Help text and error message template -->
|
|
18454
19404
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
18455
|
-
? u$
|
|
19405
|
+
? u$8`
|
|
18456
19406
|
<slot name="helpText"></slot>
|
|
18457
|
-
` : u$
|
|
18458
|
-
<
|
|
19407
|
+
` : u$8`
|
|
19408
|
+
<span role="alert" aria-live="assertive" part="helpText">
|
|
18459
19409
|
${this.errorMessage}
|
|
18460
|
-
</
|
|
19410
|
+
</span>`
|
|
18461
19411
|
}
|
|
18462
|
-
</
|
|
19412
|
+
</p>
|
|
18463
19413
|
</${this.dropdownTag}>
|
|
18464
19414
|
</div>
|
|
18465
19415
|
`;
|