@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
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const t$
|
|
6
|
+
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;
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2017 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
|
-
*/const{is:i$
|
|
12
|
+
*/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");
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright 2017 Google LLC
|
|
17
17
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
18
|
*/
|
|
19
|
-
const t$
|
|
19
|
+
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};
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/let r$
|
|
25
|
+
*/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");
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* @license
|
|
29
29
|
* Copyright 2020 Google LLC
|
|
30
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
31
|
*/
|
|
32
|
-
const a$
|
|
32
|
+
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);
|
|
33
33
|
|
|
34
34
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
35
35
|
// See LICENSE in the project root for license information.
|
|
@@ -38,7 +38,7 @@ const a$4=Symbol.for(""),o$7=t=>{if(t?.r===a$4)return t?._$litStatic$},s$5=t=>({
|
|
|
38
38
|
|
|
39
39
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
40
40
|
|
|
41
|
-
let AuroLibraryRuntimeUtils$
|
|
41
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
42
42
|
|
|
43
43
|
/* eslint-disable jsdoc/require-param */
|
|
44
44
|
|
|
@@ -107,7 +107,7 @@ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
|
107
107
|
|
|
108
108
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
109
109
|
constructor() {
|
|
110
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
110
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/**
|
|
@@ -135,30 +135,87 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
* @param {
|
|
138
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
139
|
+
*
|
|
140
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
141
141
|
* @returns {void}
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
145
|
+
* validateElementAttributes(inputElement);
|
|
146
|
+
*
|
|
147
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
148
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
149
|
+
*
|
|
150
|
+
* Validation rules:
|
|
151
|
+
* - input:
|
|
152
|
+
* - length:
|
|
153
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
154
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
155
|
+
* - pattern:
|
|
156
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
157
|
+
* - counter:
|
|
158
|
+
* - range:
|
|
159
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
160
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
142
161
|
*/
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
162
|
+
validateElementAttributes(elem) {
|
|
163
|
+
const validationRules = {
|
|
164
|
+
input: {
|
|
165
|
+
length: [
|
|
166
|
+
{
|
|
167
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
168
|
+
validity: 'tooShort',
|
|
169
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
173
|
+
validity: 'tooLong',
|
|
174
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
pattern: [
|
|
178
|
+
{
|
|
179
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
180
|
+
validity: 'patternMismatch',
|
|
181
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
counter: {
|
|
186
|
+
range: [
|
|
187
|
+
{
|
|
188
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
189
|
+
validity: 'rangeOverflow',
|
|
190
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
194
|
+
validity: 'rangeUnderflow',
|
|
195
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
196
|
+
}
|
|
197
|
+
]
|
|
150
198
|
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
if (
|
|
155
|
-
|
|
156
|
-
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
let elementType;
|
|
202
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
203
|
+
elementType = 'input';
|
|
204
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
205
|
+
elementType = 'counter';
|
|
157
206
|
}
|
|
158
207
|
|
|
159
|
-
if (
|
|
160
|
-
|
|
161
|
-
|
|
208
|
+
if (elementType) {
|
|
209
|
+
const rules = validationRules[elementType];
|
|
210
|
+
|
|
211
|
+
if (rules) {
|
|
212
|
+
Object.values(rules).flat().forEach(rule => {
|
|
213
|
+
if (rule.check(elem)) {
|
|
214
|
+
elem.validity = rule.validity;
|
|
215
|
+
elem.errorMessage = rule.message(elem);
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
}
|
|
162
219
|
}
|
|
163
220
|
}
|
|
164
221
|
|
|
@@ -268,7 +325,9 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
268
325
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
269
326
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
270
327
|
this.validateType(elem);
|
|
271
|
-
this.
|
|
328
|
+
this.validateElementAttributes(elem);
|
|
329
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
330
|
+
this.validateElementAttributes(elem);
|
|
272
331
|
}
|
|
273
332
|
}
|
|
274
333
|
|
|
@@ -386,7 +445,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
386
445
|
*/
|
|
387
446
|
generateTag(baseName, version, tagClass) {
|
|
388
447
|
const elementName = this.generateElementName(baseName, version);
|
|
389
|
-
const tag = i$
|
|
448
|
+
const tag = i$c`${s$7(elementName)}`;
|
|
390
449
|
|
|
391
450
|
if (!customElements.get(elementName)) {
|
|
392
451
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -524,7 +583,7 @@ class UtilitiesCalendarRender {
|
|
|
524
583
|
/**
|
|
525
584
|
* Determines how many calendar months can be rendered based on the screen size and defined range.
|
|
526
585
|
* @param {Object} elem - The auro-calendar element.
|
|
527
|
-
* @param {Boolean} isMobile -
|
|
586
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
528
587
|
* @private
|
|
529
588
|
* @returns {Number} Returns the maximum number of months that can be rendered.
|
|
530
589
|
*/
|
|
@@ -558,7 +617,7 @@ class UtilitiesCalendarRender {
|
|
|
558
617
|
/**
|
|
559
618
|
* Determines the number of months rendered inside the calendar.
|
|
560
619
|
* @param {Object} elem - The auro-calendar element.
|
|
561
|
-
* @param {Boolean} isMobile -
|
|
620
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
562
621
|
* @private
|
|
563
622
|
* @returns {void}
|
|
564
623
|
*/
|
|
@@ -616,7 +675,7 @@ class UtilitiesCalendarRender {
|
|
|
616
675
|
* @returns {Object} Returns the auro-calendar-month HTML.
|
|
617
676
|
*/
|
|
618
677
|
renderCalendar(elem, month, year) {
|
|
619
|
-
return x$
|
|
678
|
+
return x$3`
|
|
620
679
|
<auro-calendar-month
|
|
621
680
|
id="${`month-${month}-${year}`}"
|
|
622
681
|
.disabledDays="${elem.disabledDays}"
|
|
@@ -638,19 +697,19 @@ class UtilitiesCalendarRender {
|
|
|
638
697
|
}
|
|
639
698
|
}
|
|
640
699
|
|
|
641
|
-
var styleCss$
|
|
700
|
+
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}}`;
|
|
642
701
|
|
|
643
|
-
var colorCss$
|
|
702
|
+
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)}`;
|
|
644
703
|
|
|
645
|
-
var tokensCss$
|
|
704
|
+
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)}`;
|
|
646
705
|
|
|
647
|
-
var styleCss$
|
|
706
|
+
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}}`;
|
|
648
707
|
|
|
649
|
-
var colorCss$
|
|
708
|
+
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)}}`;
|
|
650
709
|
|
|
651
|
-
var styleCss$
|
|
710
|
+
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%}`;
|
|
652
711
|
|
|
653
|
-
var colorCss$
|
|
712
|
+
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)}`;
|
|
654
713
|
|
|
655
714
|
/******************************************************************************
|
|
656
715
|
Copyright (c) Microsoft Corporation.
|
|
@@ -685,7 +744,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
685
744
|
* @license
|
|
686
745
|
* Copyright 2017 Google LLC
|
|
687
746
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
688
|
-
*/const o$
|
|
747
|
+
*/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)}
|
|
689
748
|
|
|
690
749
|
/**
|
|
691
750
|
* @module constants
|
|
@@ -6410,7 +6469,7 @@ function cleanEscapedString(input) {
|
|
|
6410
6469
|
* //=> Mon Sep 01 2014 00:00:00
|
|
6411
6470
|
*/
|
|
6412
6471
|
function subMonths(date, amount, options) {
|
|
6413
|
-
return addMonths(date, -
|
|
6472
|
+
return addMonths(date, -1, options);
|
|
6414
6473
|
}
|
|
6415
6474
|
|
|
6416
6475
|
/**
|
|
@@ -6440,10 +6499,10 @@ function subMonths(date, amount, options) {
|
|
|
6440
6499
|
* //=> Tue Sep 01 2009 00:00:00
|
|
6441
6500
|
*/
|
|
6442
6501
|
function subYears(date, amount, options) {
|
|
6443
|
-
return addYears(date, -
|
|
6502
|
+
return addYears(date, -1, options);
|
|
6444
6503
|
}
|
|
6445
6504
|
|
|
6446
|
-
class RangeDatepickerCell extends r$
|
|
6505
|
+
class RangeDatepickerCell extends r$b {
|
|
6447
6506
|
constructor() {
|
|
6448
6507
|
super(...arguments);
|
|
6449
6508
|
this.day = null;
|
|
@@ -6474,15 +6533,15 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6474
6533
|
|
|
6475
6534
|
render() {
|
|
6476
6535
|
let _a, _b;
|
|
6477
|
-
return x$
|
|
6536
|
+
return x$3`
|
|
6478
6537
|
<button
|
|
6479
6538
|
@click="${this.handleTap}"
|
|
6480
6539
|
@mouseover="${this.handleHover}"
|
|
6481
6540
|
@focus="${this.handleHover}"
|
|
6482
6541
|
class="day ${this.isCurrentDate ? 'currentDate' : ''} ${this.isSelected(this.selected)} ${this.isHovered(this.hovered)} ${this.isEnabled(this.day, this.min, this.max, this.disabledDays)}"
|
|
6483
6542
|
?disabled="${this.disabled}"
|
|
6484
|
-
title="${this.getTitle((_a = this.day) === null || _a ===
|
|
6485
|
-
<div class="currentDayMarker">${(_b = this.day) === null || _b ===
|
|
6543
|
+
title="${this.getTitle((_a = this.day) === null || _a === undefined ? undefined : _a.date)}">
|
|
6544
|
+
<div class="currentDayMarker">${(_b = this.day) === null || _b === undefined ? undefined : _b.title}</div>
|
|
6486
6545
|
</button>
|
|
6487
6546
|
`;
|
|
6488
6547
|
}
|
|
@@ -6522,7 +6581,7 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6522
6581
|
let _a;
|
|
6523
6582
|
if (!this.disabled) {
|
|
6524
6583
|
this.dispatchEvent(new CustomEvent('date-is-selected', {
|
|
6525
|
-
detail: { date: (_a = this.day) === null || _a ===
|
|
6584
|
+
detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
|
|
6526
6585
|
}));
|
|
6527
6586
|
}
|
|
6528
6587
|
}
|
|
@@ -6530,7 +6589,7 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6530
6589
|
handleHover() {
|
|
6531
6590
|
let _a;
|
|
6532
6591
|
this.dispatchEvent(new CustomEvent('date-is-hovered', {
|
|
6533
|
-
detail: { date: (_a = this.day) === null || _a ===
|
|
6592
|
+
detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
|
|
6534
6593
|
}));
|
|
6535
6594
|
}
|
|
6536
6595
|
|
|
@@ -6564,7 +6623,7 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6564
6623
|
});
|
|
6565
6624
|
}
|
|
6566
6625
|
}
|
|
6567
|
-
RangeDatepickerCell.styles = i$
|
|
6626
|
+
RangeDatepickerCell.styles = i$g`
|
|
6568
6627
|
:host {
|
|
6569
6628
|
display: block;
|
|
6570
6629
|
}
|
|
@@ -6631,20 +6690,20 @@ RangeDatepickerCell.styles = i$c`
|
|
|
6631
6690
|
opacity: 0.4;
|
|
6632
6691
|
}
|
|
6633
6692
|
`;
|
|
6634
|
-
__decorate([n$
|
|
6635
|
-
__decorate([n$
|
|
6636
|
-
__decorate([n$
|
|
6637
|
-
__decorate([n$
|
|
6638
|
-
__decorate([n$
|
|
6639
|
-
__decorate([n$
|
|
6640
|
-
__decorate([n$
|
|
6641
|
-
__decorate([n$
|
|
6642
|
-
__decorate([n$
|
|
6643
|
-
__decorate([n$
|
|
6644
|
-
__decorate([n$
|
|
6645
|
-
__decorate([n$
|
|
6646
|
-
__decorate([n$
|
|
6647
|
-
AuroLibraryRuntimeUtils$
|
|
6693
|
+
__decorate([n$8({ type: Object })], RangeDatepickerCell.prototype, "day", undefined);
|
|
6694
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "selected", undefined);
|
|
6695
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "hovered", undefined);
|
|
6696
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "dateTo", undefined);
|
|
6697
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "dateFrom", undefined);
|
|
6698
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "month", undefined);
|
|
6699
|
+
__decorate([n$8({ type: Number })], RangeDatepickerCell.prototype, "min", undefined);
|
|
6700
|
+
__decorate([n$8({ type: Number })], RangeDatepickerCell.prototype, "max", undefined);
|
|
6701
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "disabled", undefined);
|
|
6702
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCell.prototype, "disabledDays", undefined);
|
|
6703
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", undefined);
|
|
6704
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", undefined);
|
|
6705
|
+
__decorate([n$8({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
|
|
6706
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
|
|
6648
6707
|
|
|
6649
6708
|
class Day {
|
|
6650
6709
|
constructor(date) {
|
|
@@ -6653,7 +6712,7 @@ class Day {
|
|
|
6653
6712
|
}
|
|
6654
6713
|
}
|
|
6655
6714
|
|
|
6656
|
-
class RangeDatepickerCalendar extends r$
|
|
6715
|
+
class RangeDatepickerCalendar extends r$b {
|
|
6657
6716
|
constructor() {
|
|
6658
6717
|
super();
|
|
6659
6718
|
|
|
@@ -6707,7 +6766,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6707
6766
|
|
|
6708
6767
|
render() {
|
|
6709
6768
|
let _a, _b;
|
|
6710
|
-
return x$
|
|
6769
|
+
return x$3`
|
|
6711
6770
|
<div>
|
|
6712
6771
|
<div class="header">
|
|
6713
6772
|
${this.renderPrevButton()}
|
|
@@ -6721,11 +6780,11 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6721
6780
|
<div class="table">
|
|
6722
6781
|
<div class="thead">
|
|
6723
6782
|
<div class="tr">
|
|
6724
|
-
${(_a = this.dayNamesOfTheWeek) === null || _a ===
|
|
6783
|
+
${(_a = this.dayNamesOfTheWeek) === null || _a === undefined ? undefined : _a.map((dayNameOfWeek) => this.renderDayOfWeek(dayNameOfWeek))}
|
|
6725
6784
|
</div>
|
|
6726
6785
|
</div>
|
|
6727
6786
|
<div class="tbody">
|
|
6728
|
-
${(_b = this.daysOfMonth) === null || _b ===
|
|
6787
|
+
${(_b = this.daysOfMonth) === null || _b === undefined ? undefined : _b.map((week) => this.renderWeek(week))}
|
|
6729
6788
|
</div>
|
|
6730
6789
|
</div>
|
|
6731
6790
|
</div>
|
|
@@ -6734,7 +6793,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6734
6793
|
|
|
6735
6794
|
renderPrevButton() {
|
|
6736
6795
|
if (this.prev || this.narrow || this.enableYearChange) {
|
|
6737
|
-
return x$
|
|
6796
|
+
return x$3`
|
|
6738
6797
|
<button
|
|
6739
6798
|
icon="chevron_left"
|
|
6740
6799
|
@click="${this.handlePrevMonth}">
|
|
@@ -6746,7 +6805,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6746
6805
|
|
|
6747
6806
|
renderNextButton() {
|
|
6748
6807
|
if (this.next || this.narrow || this.enableYearChange) {
|
|
6749
|
-
return x$
|
|
6808
|
+
return x$3`
|
|
6750
6809
|
<button
|
|
6751
6810
|
icon="chevron_right"
|
|
6752
6811
|
@click="${this.handleNextMonth}">
|
|
@@ -6757,23 +6816,23 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6757
6816
|
}
|
|
6758
6817
|
|
|
6759
6818
|
renderYear() {
|
|
6760
|
-
return x$
|
|
6819
|
+
return x$3`${this.year}`;
|
|
6761
6820
|
}
|
|
6762
6821
|
|
|
6763
6822
|
renderDayOfWeek(dayOfWeek) {
|
|
6764
|
-
return x$
|
|
6823
|
+
return x$3`<div class="th">${dayOfWeek}</div>`;
|
|
6765
6824
|
}
|
|
6766
6825
|
|
|
6767
6826
|
renderWeek(week) {
|
|
6768
|
-
return x$
|
|
6827
|
+
return x$3`
|
|
6769
6828
|
<div class="tr">${week.map((day) => this.renderDay(day))}</div>
|
|
6770
6829
|
`;
|
|
6771
6830
|
}
|
|
6772
6831
|
|
|
6773
6832
|
renderDay(day) {
|
|
6774
|
-
return x$
|
|
6833
|
+
return x$3`
|
|
6775
6834
|
<div class="td ${this.tdIsEnabled(day)}">
|
|
6776
|
-
${day ? x$
|
|
6835
|
+
${day ? x$3`
|
|
6777
6836
|
<wc-range-datepicker-cell
|
|
6778
6837
|
.disabledDays="${this.disabledDays}"
|
|
6779
6838
|
.min="${this.min}"
|
|
@@ -6924,7 +6983,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6924
6983
|
|
|
6925
6984
|
handleOpenYearSelection() {
|
|
6926
6985
|
let _a;
|
|
6927
|
-
const menu = (_a = this.shadowRoot) === null || _a ===
|
|
6986
|
+
const menu = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.year-change');
|
|
6928
6987
|
const index = menu.items.findIndex((item) => item.value === this.year.toString());
|
|
6929
6988
|
menu.select(index);
|
|
6930
6989
|
menu.show();
|
|
@@ -6932,9 +6991,9 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6932
6991
|
|
|
6933
6992
|
handleYearSelected() {
|
|
6934
6993
|
let _a;
|
|
6935
|
-
const menu = (_a = this.shadowRoot) === null || _a ===
|
|
6994
|
+
const menu = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.year-change');
|
|
6936
6995
|
const selected = menu.selected;
|
|
6937
|
-
this.year = parseInt(selected === null || selected ===
|
|
6996
|
+
this.year = parseInt(selected === null || selected === undefined ? undefined : selected.value, 10);
|
|
6938
6997
|
}
|
|
6939
6998
|
|
|
6940
6999
|
handleDateHovered(event) {
|
|
@@ -6946,12 +7005,12 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6946
7005
|
|
|
6947
7006
|
handleNextMonth() {
|
|
6948
7007
|
let _a, _b;
|
|
6949
|
-
const tbody = (_a = this.shadowRoot) === null || _a ===
|
|
6950
|
-
const monthName = (_b = this.shadowRoot) === null || _b ===
|
|
6951
|
-
tbody === null || tbody ===
|
|
6952
|
-
tbody === null || tbody ===
|
|
6953
|
-
monthName === null || monthName ===
|
|
6954
|
-
monthName === null || monthName ===
|
|
7008
|
+
const tbody = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.tbody');
|
|
7009
|
+
const monthName = (_b = this.shadowRoot) === null || _b === undefined ? undefined : _b.querySelector('.header > div');
|
|
7010
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7011
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToLeft');
|
|
7012
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7013
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToLeft');
|
|
6955
7014
|
const month = parse(this.month, 'MM', new Date());
|
|
6956
7015
|
const monthPlusDate = addMonths(month, 1);
|
|
6957
7016
|
const monthPlusString = format(monthPlusDate, 'MM', {
|
|
@@ -6968,20 +7027,20 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6968
7027
|
}
|
|
6969
7028
|
this.dispatchEvent(new CustomEvent('next-month'));
|
|
6970
7029
|
setTimeout(() => {
|
|
6971
|
-
tbody === null || tbody ===
|
|
6972
|
-
tbody === null || tbody ===
|
|
6973
|
-
tbody === null || tbody ===
|
|
6974
|
-
monthName === null || monthName ===
|
|
6975
|
-
monthName === null || monthName ===
|
|
6976
|
-
monthName === null || monthName ===
|
|
7030
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
|
|
7031
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToRight');
|
|
7032
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToLeft');
|
|
7033
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7034
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToRight');
|
|
7035
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToLeft');
|
|
6977
7036
|
setTimeout(() => {
|
|
6978
|
-
tbody === null || tbody ===
|
|
6979
|
-
tbody === null || tbody ===
|
|
6980
|
-
monthName === null || monthName ===
|
|
6981
|
-
monthName === null || monthName ===
|
|
7037
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7038
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToRight');
|
|
7039
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7040
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToRight');
|
|
6982
7041
|
setTimeout(() => {
|
|
6983
|
-
tbody === null || tbody ===
|
|
6984
|
-
monthName === null || monthName ===
|
|
7042
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
|
|
7043
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
6985
7044
|
}, 100);
|
|
6986
7045
|
}, 100);
|
|
6987
7046
|
}, 100);
|
|
@@ -6989,21 +7048,21 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6989
7048
|
|
|
6990
7049
|
handlePrevMonth() {
|
|
6991
7050
|
let _a, _b;
|
|
6992
|
-
const tbody = (_a = this.shadowRoot) === null || _a ===
|
|
6993
|
-
const monthName = (_b = this.shadowRoot) === null || _b ===
|
|
6994
|
-
tbody === null || tbody ===
|
|
6995
|
-
tbody === null || tbody ===
|
|
6996
|
-
monthName === null || monthName ===
|
|
6997
|
-
monthName === null || monthName ===
|
|
7051
|
+
const tbody = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.tbody');
|
|
7052
|
+
const monthName = (_b = this.shadowRoot) === null || _b === undefined ? undefined : _b.querySelector('.header > div');
|
|
7053
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7054
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToRight');
|
|
7055
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7056
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToRight');
|
|
6998
7057
|
const month = parse(this.month, 'MM', new Date());
|
|
6999
|
-
const monthMinusDate = subMonths(month
|
|
7058
|
+
const monthMinusDate = subMonths(month);
|
|
7000
7059
|
const monthMinusString = format(monthMinusDate, 'MM', {
|
|
7001
7060
|
locale: this.locale,
|
|
7002
7061
|
});
|
|
7003
7062
|
this.month = monthMinusString;
|
|
7004
7063
|
if (this.month === '12') {
|
|
7005
7064
|
const year = parse(this.year.toString(), 'yyyy', new Date());
|
|
7006
|
-
const yearMinusDate = subYears(year
|
|
7065
|
+
const yearMinusDate = subYears(year);
|
|
7007
7066
|
const yearMinusString = format(yearMinusDate, 'yyyy', {
|
|
7008
7067
|
locale: this.locale,
|
|
7009
7068
|
});
|
|
@@ -7011,20 +7070,20 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7011
7070
|
}
|
|
7012
7071
|
this.dispatchEvent(new CustomEvent('prev-month'));
|
|
7013
7072
|
setTimeout(() => {
|
|
7014
|
-
tbody === null || tbody ===
|
|
7015
|
-
tbody === null || tbody ===
|
|
7016
|
-
tbody === null || tbody ===
|
|
7017
|
-
monthName === null || monthName ===
|
|
7018
|
-
monthName === null || monthName ===
|
|
7019
|
-
monthName === null || monthName ===
|
|
7073
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
|
|
7074
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToLeft');
|
|
7075
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToRight');
|
|
7076
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7077
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToLeft');
|
|
7078
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToRight');
|
|
7020
7079
|
setTimeout(() => {
|
|
7021
|
-
tbody === null || tbody ===
|
|
7022
|
-
tbody === null || tbody ===
|
|
7023
|
-
monthName === null || monthName ===
|
|
7024
|
-
monthName === null || monthName ===
|
|
7080
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7081
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToLeft');
|
|
7082
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7083
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToLeft');
|
|
7025
7084
|
setTimeout(() => {
|
|
7026
|
-
monthName === null || monthName ===
|
|
7027
|
-
monthName === null || monthName ===
|
|
7085
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7086
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7028
7087
|
}, 100);
|
|
7029
7088
|
}, 100);
|
|
7030
7089
|
}, 100);
|
|
@@ -7039,7 +7098,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7039
7098
|
}
|
|
7040
7099
|
}
|
|
7041
7100
|
|
|
7042
|
-
RangeDatepickerCalendar.styles = i$
|
|
7101
|
+
RangeDatepickerCalendar.styles = i$g`
|
|
7043
7102
|
:host {
|
|
7044
7103
|
display: block;
|
|
7045
7104
|
width: 266px;
|
|
@@ -7144,48 +7203,48 @@ RangeDatepickerCalendar.styles = i$c`
|
|
|
7144
7203
|
max-height: 200px;
|
|
7145
7204
|
}
|
|
7146
7205
|
`;
|
|
7147
|
-
__decorate([n$
|
|
7148
|
-
__decorate([n$
|
|
7149
|
-
__decorate([n$
|
|
7150
|
-
__decorate([n$
|
|
7151
|
-
__decorate([n$
|
|
7152
|
-
__decorate([n$
|
|
7153
|
-
__decorate([n$
|
|
7154
|
-
__decorate([n$
|
|
7155
|
-
__decorate([n$
|
|
7156
|
-
__decorate([n$
|
|
7157
|
-
__decorate([n$
|
|
7158
|
-
__decorate([n$
|
|
7159
|
-
__decorate([n$
|
|
7160
|
-
__decorate([n$
|
|
7161
|
-
__decorate([n$
|
|
7162
|
-
__decorate([n$
|
|
7163
|
-
__decorate([n$
|
|
7164
|
-
__decorate([n$
|
|
7165
|
-
AuroLibraryRuntimeUtils$
|
|
7206
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "dateFrom", undefined);
|
|
7207
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "dateTo", undefined);
|
|
7208
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "hoveredDate", undefined);
|
|
7209
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "enableYearChange", undefined);
|
|
7210
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "month", undefined);
|
|
7211
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "narrow", undefined);
|
|
7212
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "noRange", undefined);
|
|
7213
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "next", undefined);
|
|
7214
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "prev", undefined);
|
|
7215
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "year", undefined);
|
|
7216
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "disabledDays", undefined);
|
|
7217
|
+
__decorate([n$8({ type: Object })], RangeDatepickerCalendar.prototype, "locale", null);
|
|
7218
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "max", undefined);
|
|
7219
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "min", undefined);
|
|
7220
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList", undefined);
|
|
7221
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", undefined);
|
|
7222
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", undefined);
|
|
7223
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", undefined);
|
|
7224
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
|
|
7166
7225
|
|
|
7167
7226
|
/**
|
|
7168
7227
|
* @license
|
|
7169
7228
|
* Copyright 2017 Google LLC
|
|
7170
7229
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7171
7230
|
*/
|
|
7172
|
-
const t$
|
|
7231
|
+
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)}};
|
|
7173
7232
|
|
|
7174
7233
|
/**
|
|
7175
7234
|
* @license
|
|
7176
7235
|
* Copyright 2018 Google LLC
|
|
7177
7236
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7178
|
-
*/const e$
|
|
7237
|
+
*/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}});
|
|
7179
7238
|
|
|
7180
|
-
var styleCss$
|
|
7239
|
+
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)}}`;
|
|
7181
7240
|
|
|
7182
|
-
var colorCss$
|
|
7241
|
+
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)}`;
|
|
7183
7242
|
|
|
7184
|
-
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:""}`;
|
|
7243
|
+
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:""}`;
|
|
7185
7244
|
|
|
7186
|
-
var colorCss$
|
|
7245
|
+
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)}`;
|
|
7187
7246
|
|
|
7188
|
-
var tokensCss$
|
|
7247
|
+
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)}`;
|
|
7189
7248
|
|
|
7190
7249
|
var top = 'top';
|
|
7191
7250
|
var bottom = 'bottom';
|
|
@@ -7364,11 +7423,11 @@ function isLayoutViewport() {
|
|
|
7364
7423
|
}
|
|
7365
7424
|
|
|
7366
7425
|
function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
|
|
7367
|
-
if (includeScale ===
|
|
7426
|
+
if (includeScale === undefined) {
|
|
7368
7427
|
includeScale = false;
|
|
7369
7428
|
}
|
|
7370
7429
|
|
|
7371
|
-
if (isFixedStrategy ===
|
|
7430
|
+
if (isFixedStrategy === undefined) {
|
|
7372
7431
|
isFixedStrategy = false;
|
|
7373
7432
|
}
|
|
7374
7433
|
|
|
@@ -7622,7 +7681,7 @@ function effect$1(_ref2) {
|
|
|
7622
7681
|
var state = _ref2.state,
|
|
7623
7682
|
options = _ref2.options;
|
|
7624
7683
|
var _options$element = options.element,
|
|
7625
|
-
arrowElement = _options$element ===
|
|
7684
|
+
arrowElement = _options$element === undefined ? '[data-popper-arrow]' : _options$element;
|
|
7626
7685
|
|
|
7627
7686
|
if (arrowElement == null) {
|
|
7628
7687
|
return;
|
|
@@ -7692,9 +7751,9 @@ function mapToStyles(_ref2) {
|
|
|
7692
7751
|
roundOffsets = _ref2.roundOffsets,
|
|
7693
7752
|
isFixed = _ref2.isFixed;
|
|
7694
7753
|
var _offsets$x = offsets.x,
|
|
7695
|
-
x = _offsets$x ===
|
|
7754
|
+
x = _offsets$x === undefined ? 0 : _offsets$x,
|
|
7696
7755
|
_offsets$y = offsets.y,
|
|
7697
|
-
y = _offsets$y ===
|
|
7756
|
+
y = _offsets$y === undefined ? 0 : _offsets$y;
|
|
7698
7757
|
|
|
7699
7758
|
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
7700
7759
|
x: x,
|
|
@@ -7774,11 +7833,11 @@ function computeStyles(_ref5) {
|
|
|
7774
7833
|
var state = _ref5.state,
|
|
7775
7834
|
options = _ref5.options;
|
|
7776
7835
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
7777
|
-
gpuAcceleration = _options$gpuAccelerat ===
|
|
7836
|
+
gpuAcceleration = _options$gpuAccelerat === undefined ? true : _options$gpuAccelerat,
|
|
7778
7837
|
_options$adaptive = options.adaptive,
|
|
7779
|
-
adaptive = _options$adaptive ===
|
|
7838
|
+
adaptive = _options$adaptive === undefined ? true : _options$adaptive,
|
|
7780
7839
|
_options$roundOffsets = options.roundOffsets,
|
|
7781
|
-
roundOffsets = _options$roundOffsets ===
|
|
7840
|
+
roundOffsets = _options$roundOffsets === undefined ? true : _options$roundOffsets;
|
|
7782
7841
|
var commonStyles = {
|
|
7783
7842
|
placement: getBasePlacement(state.placement),
|
|
7784
7843
|
variation: getVariation(state.placement),
|
|
@@ -7829,9 +7888,9 @@ function effect(_ref) {
|
|
|
7829
7888
|
instance = _ref.instance,
|
|
7830
7889
|
options = _ref.options;
|
|
7831
7890
|
var _options$scroll = options.scroll,
|
|
7832
|
-
scroll = _options$scroll ===
|
|
7891
|
+
scroll = _options$scroll === undefined ? true : _options$scroll,
|
|
7833
7892
|
_options$resize = options.resize,
|
|
7834
|
-
resize = _options$resize ===
|
|
7893
|
+
resize = _options$resize === undefined ? true : _options$resize;
|
|
7835
7894
|
var window = getWindow$1(state.elements.popper);
|
|
7836
7895
|
var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
|
|
7837
7896
|
|
|
@@ -7946,7 +8005,7 @@ function getDocumentRect$1(element) {
|
|
|
7946
8005
|
|
|
7947
8006
|
var html = getDocumentElement$1(element);
|
|
7948
8007
|
var winScroll = getWindowScroll(element);
|
|
7949
|
-
var body = (_element$ownerDocumen = element.ownerDocument) == null ?
|
|
8008
|
+
var body = (_element$ownerDocumen = element.ownerDocument) == null ? undefined : _element$ownerDocumen.body;
|
|
7950
8009
|
var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
7951
8010
|
var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
7952
8011
|
var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
|
|
@@ -7997,12 +8056,12 @@ reference element's position.
|
|
|
7997
8056
|
function listScrollParents(element, list) {
|
|
7998
8057
|
var _element$ownerDocumen;
|
|
7999
8058
|
|
|
8000
|
-
if (list ===
|
|
8059
|
+
if (list === undefined) {
|
|
8001
8060
|
list = [];
|
|
8002
8061
|
}
|
|
8003
8062
|
|
|
8004
8063
|
var scrollParent = getScrollParent(element);
|
|
8005
|
-
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ?
|
|
8064
|
+
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? undefined : _element$ownerDocumen.body);
|
|
8006
8065
|
var win = getWindow$1(scrollParent);
|
|
8007
8066
|
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
|
8008
8067
|
var updatedList = list.concat(target);
|
|
@@ -8141,25 +8200,25 @@ function computeOffsets(_ref) {
|
|
|
8141
8200
|
}
|
|
8142
8201
|
|
|
8143
8202
|
function detectOverflow$1(state, options) {
|
|
8144
|
-
if (options ===
|
|
8203
|
+
if (options === undefined) {
|
|
8145
8204
|
options = {};
|
|
8146
8205
|
}
|
|
8147
8206
|
|
|
8148
8207
|
var _options = options,
|
|
8149
8208
|
_options$placement = _options.placement,
|
|
8150
|
-
placement = _options$placement ===
|
|
8209
|
+
placement = _options$placement === undefined ? state.placement : _options$placement,
|
|
8151
8210
|
_options$strategy = _options.strategy,
|
|
8152
|
-
strategy = _options$strategy ===
|
|
8211
|
+
strategy = _options$strategy === undefined ? state.strategy : _options$strategy,
|
|
8153
8212
|
_options$boundary = _options.boundary,
|
|
8154
|
-
boundary = _options$boundary ===
|
|
8213
|
+
boundary = _options$boundary === undefined ? clippingParents : _options$boundary,
|
|
8155
8214
|
_options$rootBoundary = _options.rootBoundary,
|
|
8156
|
-
rootBoundary = _options$rootBoundary ===
|
|
8215
|
+
rootBoundary = _options$rootBoundary === undefined ? viewport : _options$rootBoundary,
|
|
8157
8216
|
_options$elementConte = _options.elementContext,
|
|
8158
|
-
elementContext = _options$elementConte ===
|
|
8217
|
+
elementContext = _options$elementConte === undefined ? popper : _options$elementConte,
|
|
8159
8218
|
_options$altBoundary = _options.altBoundary,
|
|
8160
|
-
altBoundary = _options$altBoundary ===
|
|
8219
|
+
altBoundary = _options$altBoundary === undefined ? false : _options$altBoundary,
|
|
8161
8220
|
_options$padding = _options.padding,
|
|
8162
|
-
padding = _options$padding ===
|
|
8221
|
+
padding = _options$padding === undefined ? 0 : _options$padding;
|
|
8163
8222
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
8164
8223
|
var altContext = elementContext === popper ? reference : popper;
|
|
8165
8224
|
var popperRect = state.rects.popper;
|
|
@@ -8197,7 +8256,7 @@ function detectOverflow$1(state, options) {
|
|
|
8197
8256
|
}
|
|
8198
8257
|
|
|
8199
8258
|
function computeAutoPlacement(state, options) {
|
|
8200
|
-
if (options ===
|
|
8259
|
+
if (options === undefined) {
|
|
8201
8260
|
options = {};
|
|
8202
8261
|
}
|
|
8203
8262
|
|
|
@@ -8208,7 +8267,7 @@ function computeAutoPlacement(state, options) {
|
|
|
8208
8267
|
padding = _options.padding,
|
|
8209
8268
|
flipVariations = _options.flipVariations,
|
|
8210
8269
|
_options$allowedAutoP = _options.allowedAutoPlacements,
|
|
8211
|
-
allowedAutoPlacements = _options$allowedAutoP ===
|
|
8270
|
+
allowedAutoPlacements = _options$allowedAutoP === undefined ? placements$1 : _options$allowedAutoP;
|
|
8212
8271
|
var variation = getVariation(placement);
|
|
8213
8272
|
var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
|
|
8214
8273
|
return getVariation(placement) === variation;
|
|
@@ -8255,16 +8314,16 @@ function flip$2(_ref) {
|
|
|
8255
8314
|
}
|
|
8256
8315
|
|
|
8257
8316
|
var _options$mainAxis = options.mainAxis,
|
|
8258
|
-
checkMainAxis = _options$mainAxis ===
|
|
8317
|
+
checkMainAxis = _options$mainAxis === undefined ? true : _options$mainAxis,
|
|
8259
8318
|
_options$altAxis = options.altAxis,
|
|
8260
|
-
checkAltAxis = _options$altAxis ===
|
|
8319
|
+
checkAltAxis = _options$altAxis === undefined ? true : _options$altAxis,
|
|
8261
8320
|
specifiedFallbackPlacements = options.fallbackPlacements,
|
|
8262
8321
|
padding = options.padding,
|
|
8263
8322
|
boundary = options.boundary,
|
|
8264
8323
|
rootBoundary = options.rootBoundary,
|
|
8265
8324
|
altBoundary = options.altBoundary,
|
|
8266
8325
|
_options$flipVariatio = options.flipVariations,
|
|
8267
|
-
flipVariations = _options$flipVariatio ===
|
|
8326
|
+
flipVariations = _options$flipVariatio === undefined ? true : _options$flipVariatio,
|
|
8268
8327
|
allowedAutoPlacements = options.allowedAutoPlacements;
|
|
8269
8328
|
var preferredPlacement = state.options.placement;
|
|
8270
8329
|
var basePlacement = getBasePlacement(preferredPlacement);
|
|
@@ -8377,7 +8436,7 @@ var flip$3 = {
|
|
|
8377
8436
|
};
|
|
8378
8437
|
|
|
8379
8438
|
function getSideOffsets(overflow, rect, preventedOffsets) {
|
|
8380
|
-
if (preventedOffsets ===
|
|
8439
|
+
if (preventedOffsets === undefined) {
|
|
8381
8440
|
preventedOffsets = {
|
|
8382
8441
|
x: 0,
|
|
8383
8442
|
y: 0
|
|
@@ -8461,7 +8520,7 @@ function offset$2(_ref2) {
|
|
|
8461
8520
|
options = _ref2.options,
|
|
8462
8521
|
name = _ref2.name;
|
|
8463
8522
|
var _options$offset = options.offset,
|
|
8464
|
-
offset = _options$offset ===
|
|
8523
|
+
offset = _options$offset === undefined ? [0, 0] : _options$offset;
|
|
8465
8524
|
var data = placements$1.reduce(function (acc, placement) {
|
|
8466
8525
|
acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
|
|
8467
8526
|
return acc;
|
|
@@ -8520,17 +8579,17 @@ function preventOverflow(_ref) {
|
|
|
8520
8579
|
options = _ref.options,
|
|
8521
8580
|
name = _ref.name;
|
|
8522
8581
|
var _options$mainAxis = options.mainAxis,
|
|
8523
|
-
checkMainAxis = _options$mainAxis ===
|
|
8582
|
+
checkMainAxis = _options$mainAxis === undefined ? true : _options$mainAxis,
|
|
8524
8583
|
_options$altAxis = options.altAxis,
|
|
8525
|
-
checkAltAxis = _options$altAxis ===
|
|
8584
|
+
checkAltAxis = _options$altAxis === undefined ? false : _options$altAxis,
|
|
8526
8585
|
boundary = options.boundary,
|
|
8527
8586
|
rootBoundary = options.rootBoundary,
|
|
8528
8587
|
altBoundary = options.altBoundary,
|
|
8529
8588
|
padding = options.padding,
|
|
8530
8589
|
_options$tether = options.tether,
|
|
8531
|
-
tether = _options$tether ===
|
|
8590
|
+
tether = _options$tether === undefined ? true : _options$tether,
|
|
8532
8591
|
_options$tetherOffset = options.tetherOffset,
|
|
8533
|
-
tetherOffset = _options$tetherOffset ===
|
|
8592
|
+
tetherOffset = _options$tetherOffset === undefined ? 0 : _options$tetherOffset;
|
|
8534
8593
|
var overflow = detectOverflow$1(state, {
|
|
8535
8594
|
boundary: boundary,
|
|
8536
8595
|
rootBoundary: rootBoundary,
|
|
@@ -8597,7 +8656,7 @@ function preventOverflow(_ref) {
|
|
|
8597
8656
|
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
8598
8657
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent$1(state.elements.arrow);
|
|
8599
8658
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
8600
|
-
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ?
|
|
8659
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? undefined : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
8601
8660
|
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
8602
8661
|
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
8603
8662
|
var preventedOffset = within(tether ? min$1(min, tetherMin) : min, offset, tether ? max$1(max, tetherMax) : max);
|
|
@@ -8622,7 +8681,7 @@ function preventOverflow(_ref) {
|
|
|
8622
8681
|
|
|
8623
8682
|
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
8624
8683
|
|
|
8625
|
-
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ?
|
|
8684
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? undefined : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
8626
8685
|
|
|
8627
8686
|
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
8628
8687
|
|
|
@@ -8671,7 +8730,7 @@ function isElementScaled(element) {
|
|
|
8671
8730
|
|
|
8672
8731
|
|
|
8673
8732
|
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
8674
|
-
if (isFixed ===
|
|
8733
|
+
if (isFixed === undefined) {
|
|
8675
8734
|
isFixed = false;
|
|
8676
8735
|
}
|
|
8677
8736
|
|
|
@@ -8802,17 +8861,17 @@ function areValidElements() {
|
|
|
8802
8861
|
}
|
|
8803
8862
|
|
|
8804
8863
|
function popperGenerator(generatorOptions) {
|
|
8805
|
-
if (generatorOptions ===
|
|
8864
|
+
if (generatorOptions === undefined) {
|
|
8806
8865
|
generatorOptions = {};
|
|
8807
8866
|
}
|
|
8808
8867
|
|
|
8809
8868
|
var _generatorOptions = generatorOptions,
|
|
8810
8869
|
_generatorOptions$def = _generatorOptions.defaultModifiers,
|
|
8811
|
-
defaultModifiers = _generatorOptions$def ===
|
|
8870
|
+
defaultModifiers = _generatorOptions$def === undefined ? [] : _generatorOptions$def,
|
|
8812
8871
|
_generatorOptions$def2 = _generatorOptions.defaultOptions,
|
|
8813
|
-
defaultOptions = _generatorOptions$def2 ===
|
|
8872
|
+
defaultOptions = _generatorOptions$def2 === undefined ? DEFAULT_OPTIONS : _generatorOptions$def2;
|
|
8814
8873
|
return function createPopper(reference, popper, options) {
|
|
8815
|
-
if (options ===
|
|
8874
|
+
if (options === undefined) {
|
|
8816
8875
|
options = defaultOptions;
|
|
8817
8876
|
}
|
|
8818
8877
|
|
|
@@ -8899,7 +8958,7 @@ function popperGenerator(generatorOptions) {
|
|
|
8899
8958
|
var _state$orderedModifie = state.orderedModifiers[index],
|
|
8900
8959
|
fn = _state$orderedModifie.fn,
|
|
8901
8960
|
_state$orderedModifie2 = _state$orderedModifie.options,
|
|
8902
|
-
_options = _state$orderedModifie2 ===
|
|
8961
|
+
_options = _state$orderedModifie2 === undefined ? {} : _state$orderedModifie2,
|
|
8903
8962
|
name = _state$orderedModifie.name;
|
|
8904
8963
|
|
|
8905
8964
|
if (typeof fn === 'function') {
|
|
@@ -8944,7 +9003,7 @@ function popperGenerator(generatorOptions) {
|
|
|
8944
9003
|
state.orderedModifiers.forEach(function (_ref) {
|
|
8945
9004
|
var name = _ref.name,
|
|
8946
9005
|
_ref$options = _ref.options,
|
|
8947
|
-
options = _ref$options ===
|
|
9006
|
+
options = _ref$options === undefined ? {} : _ref$options,
|
|
8948
9007
|
effect = _ref.effect;
|
|
8949
9008
|
|
|
8950
9009
|
if (typeof effect === 'function') {
|
|
@@ -9063,7 +9122,7 @@ class Popover {
|
|
|
9063
9122
|
* @slot - Default unnamed slot for the use of popover content
|
|
9064
9123
|
* @slot trigger - The element in this slot triggers hiding and showing the popover.
|
|
9065
9124
|
*/
|
|
9066
|
-
class AuroPopover extends r$
|
|
9125
|
+
class AuroPopover extends r$b {
|
|
9067
9126
|
constructor() {
|
|
9068
9127
|
super();
|
|
9069
9128
|
|
|
@@ -9078,7 +9137,7 @@ class AuroPopover extends r$7 {
|
|
|
9078
9137
|
privateDefaults() {
|
|
9079
9138
|
this.isPopoverVisible = false;
|
|
9080
9139
|
this.id = `popover-${(Math.random() + 1).toString(36).substring(7)}`;
|
|
9081
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9140
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9082
9141
|
}
|
|
9083
9142
|
|
|
9084
9143
|
// function to define props used within the scope of this component
|
|
@@ -9093,9 +9152,9 @@ class AuroPopover extends r$7 {
|
|
|
9093
9152
|
|
|
9094
9153
|
static get styles() {
|
|
9095
9154
|
return [
|
|
9096
|
-
i$
|
|
9097
|
-
i$
|
|
9098
|
-
i$
|
|
9155
|
+
i$g`${styleCss$6}`,
|
|
9156
|
+
i$g`${colorCss$6}`,
|
|
9157
|
+
i$g`${tokensCss$6}`
|
|
9099
9158
|
];
|
|
9100
9159
|
}
|
|
9101
9160
|
|
|
@@ -9108,7 +9167,7 @@ class AuroPopover extends r$7 {
|
|
|
9108
9167
|
*
|
|
9109
9168
|
*/
|
|
9110
9169
|
static register(name = "auro-popover") {
|
|
9111
|
-
AuroLibraryRuntimeUtils$
|
|
9170
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroPopover);
|
|
9112
9171
|
}
|
|
9113
9172
|
|
|
9114
9173
|
connectedCallback() {
|
|
@@ -9239,7 +9298,7 @@ class AuroPopover extends r$7 {
|
|
|
9239
9298
|
|
|
9240
9299
|
// function that renders the HTML and CSS into the scope of the component
|
|
9241
9300
|
render() {
|
|
9242
|
-
return x$
|
|
9301
|
+
return x$3`
|
|
9243
9302
|
<div id="popover" class="popover util_insetLg" aria-live="polite" part="popover">
|
|
9244
9303
|
<div id="arrow" class="arrow" data-popper-arrow></div>
|
|
9245
9304
|
<span role="tooltip" aria-labelledby="${this.id}"><slot></slot></span>
|
|
@@ -9256,7 +9315,7 @@ var popoverVersion = '4.1.2';
|
|
|
9256
9315
|
|
|
9257
9316
|
/* 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 */
|
|
9258
9317
|
|
|
9259
|
-
class AuroCalendarCell extends r$
|
|
9318
|
+
class AuroCalendarCell extends r$b {
|
|
9260
9319
|
constructor() {
|
|
9261
9320
|
super();
|
|
9262
9321
|
|
|
@@ -9276,7 +9335,7 @@ class AuroCalendarCell extends r$7 {
|
|
|
9276
9335
|
this.dateStr = null;
|
|
9277
9336
|
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.
|
|
9278
9337
|
|
|
9279
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9338
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9280
9339
|
|
|
9281
9340
|
/**
|
|
9282
9341
|
* Generate unique names for dependency components.
|
|
@@ -9322,9 +9381,9 @@ class AuroCalendarCell extends r$7 {
|
|
|
9322
9381
|
static get styles() {
|
|
9323
9382
|
return [
|
|
9324
9383
|
// ...super.styles,
|
|
9325
|
-
styleCss$
|
|
9326
|
-
colorCss$
|
|
9327
|
-
tokensCss$
|
|
9384
|
+
styleCss$7,
|
|
9385
|
+
colorCss$7,
|
|
9386
|
+
tokensCss$7
|
|
9328
9387
|
];
|
|
9329
9388
|
}
|
|
9330
9389
|
|
|
@@ -9379,7 +9438,7 @@ class AuroCalendarCell extends r$7 {
|
|
|
9379
9438
|
|
|
9380
9439
|
let _a;
|
|
9381
9440
|
this.dispatchEvent(new CustomEvent('date-is-hovered', {
|
|
9382
|
-
detail: { date: (_a = this.day) === null || _a ===
|
|
9441
|
+
detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
|
|
9383
9442
|
}));
|
|
9384
9443
|
}
|
|
9385
9444
|
|
|
@@ -9591,7 +9650,7 @@ class AuroCalendarCell extends r$7 {
|
|
|
9591
9650
|
};
|
|
9592
9651
|
|
|
9593
9652
|
let _a, _b;
|
|
9594
|
-
return u$
|
|
9653
|
+
return u$8`
|
|
9595
9654
|
<${this.popoverTag}>
|
|
9596
9655
|
<slot name="popover_${this.dateStr}"></slot>
|
|
9597
9656
|
<button
|
|
@@ -9599,12 +9658,12 @@ class AuroCalendarCell extends r$7 {
|
|
|
9599
9658
|
@click="${this.handleTap}"
|
|
9600
9659
|
@mouseover="${this.handleHover}"
|
|
9601
9660
|
@focus="${this.handleHover}"
|
|
9602
|
-
class="${e$
|
|
9661
|
+
class="${e$9(buttonClasses)}"
|
|
9603
9662
|
?disabled="${this.disabled}"
|
|
9604
|
-
title="${this.getTitle((_a = this.day) === null || _a ===
|
|
9663
|
+
title="${this.getTitle((_a = this.day) === null || _a === undefined ? undefined : _a.date)}"
|
|
9605
9664
|
tabindex="-1">
|
|
9606
9665
|
<div class="buttonWrapper">
|
|
9607
|
-
<div class="currentDayMarker">${(_b = this.day) === null || _b ===
|
|
9666
|
+
<div class="currentDayMarker">${(_b = this.day) === null || _b === undefined ? undefined : _b.title}</div>
|
|
9608
9667
|
<div class="dateSlot" part="dateSlot">
|
|
9609
9668
|
<slot name="date_${this.dateStr}"></slot>
|
|
9610
9669
|
</div>
|
|
@@ -9627,9 +9686,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9627
9686
|
static get styles() {
|
|
9628
9687
|
return [
|
|
9629
9688
|
// ...super.styles,
|
|
9630
|
-
styleCss$
|
|
9631
|
-
colorCss$
|
|
9632
|
-
tokensCss$
|
|
9689
|
+
styleCss$8,
|
|
9690
|
+
colorCss$8,
|
|
9691
|
+
tokensCss$7
|
|
9633
9692
|
];
|
|
9634
9693
|
}
|
|
9635
9694
|
|
|
@@ -9678,10 +9737,10 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9678
9737
|
}
|
|
9679
9738
|
|
|
9680
9739
|
renderDay(day) {
|
|
9681
|
-
return x$
|
|
9740
|
+
return x$3`
|
|
9682
9741
|
<div class="td ${this.tdIsEnabled(day)}">
|
|
9683
9742
|
${day
|
|
9684
|
-
? x$
|
|
9743
|
+
? x$3`
|
|
9685
9744
|
<auro-calendar-cell
|
|
9686
9745
|
.disabledDays="${this.disabledDays}"
|
|
9687
9746
|
.min="${this.min}"
|
|
@@ -9708,7 +9767,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9708
9767
|
render() {
|
|
9709
9768
|
var _a, _b;
|
|
9710
9769
|
|
|
9711
|
-
return x$
|
|
9770
|
+
return x$3 `
|
|
9712
9771
|
<div>
|
|
9713
9772
|
<div class="header">
|
|
9714
9773
|
${this.renderPrevButton()}
|
|
@@ -9722,11 +9781,11 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9722
9781
|
<div class="table">
|
|
9723
9782
|
<div class="thead">
|
|
9724
9783
|
<div class="tr">
|
|
9725
|
-
${(_a = this.dayNamesOfTheWeek) === null || _a ===
|
|
9784
|
+
${(_a = this.dayNamesOfTheWeek) === null || _a === undefined ? undefined : _a.map(dayNameOfWeek => this.renderDayOfWeek(dayNameOfWeek))}
|
|
9726
9785
|
</div>
|
|
9727
9786
|
</div>
|
|
9728
9787
|
<div class="tbody">
|
|
9729
|
-
${(_b = this.daysOfMonth) === null || _b ===
|
|
9788
|
+
${(_b = this.daysOfMonth) === null || _b === undefined ? undefined : _b.map(week => this.renderWeek(week))}
|
|
9730
9789
|
</div>
|
|
9731
9790
|
</div>
|
|
9732
9791
|
</div>
|
|
@@ -9741,7 +9800,7 @@ if (!customElements.get('auro-calendar-month')) {
|
|
|
9741
9800
|
|
|
9742
9801
|
/* eslint-disable no-underscore-dangle, no-magic-numbers, no-underscore-dangle, no-void, init-declarations, no-extra-parens, no-unused-expressions */
|
|
9743
9802
|
|
|
9744
|
-
class RangeDatepicker extends r$
|
|
9803
|
+
class RangeDatepicker extends r$b {
|
|
9745
9804
|
constructor() {
|
|
9746
9805
|
super();
|
|
9747
9806
|
|
|
@@ -9798,7 +9857,7 @@ class RangeDatepicker extends r$7 {
|
|
|
9798
9857
|
}
|
|
9799
9858
|
|
|
9800
9859
|
renderNormal() {
|
|
9801
|
-
return x$
|
|
9860
|
+
return x$3`
|
|
9802
9861
|
<div id="container">
|
|
9803
9862
|
<wc-range-datepicker-calendar
|
|
9804
9863
|
id="firstDatePicker"
|
|
@@ -9844,7 +9903,7 @@ class RangeDatepicker extends r$7 {
|
|
|
9844
9903
|
}
|
|
9845
9904
|
|
|
9846
9905
|
renderNarrow() {
|
|
9847
|
-
return x$
|
|
9906
|
+
return x$3`
|
|
9848
9907
|
<wc-range-datepicker-calendar
|
|
9849
9908
|
.disabledDays="${this.disabledDays}"
|
|
9850
9909
|
min="${this.min}"
|
|
@@ -9901,16 +9960,16 @@ class RangeDatepicker extends r$7 {
|
|
|
9901
9960
|
handlePrevMonth() {
|
|
9902
9961
|
let _a;
|
|
9903
9962
|
if (!this.enableYearChange) {
|
|
9904
|
-
const calendar = (_a = this.shadowRoot) === null || _a ===
|
|
9905
|
-
calendar === null || calendar ===
|
|
9963
|
+
const calendar = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('wc-range-datepicker-calendar[next]');
|
|
9964
|
+
calendar === null || calendar === undefined ? undefined : calendar.handlePrevMonth();
|
|
9906
9965
|
}
|
|
9907
9966
|
}
|
|
9908
9967
|
|
|
9909
9968
|
handleNextMonth() {
|
|
9910
9969
|
let _a;
|
|
9911
9970
|
if (!this.enableYearChange) {
|
|
9912
|
-
const calendar = (_a = this.shadowRoot) === null || _a ===
|
|
9913
|
-
calendar === null || calendar ===
|
|
9971
|
+
const calendar = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('wc-range-datepicker-calendar[prev]');
|
|
9972
|
+
calendar === null || calendar === undefined ? undefined : calendar.handleNextMonth();
|
|
9914
9973
|
}
|
|
9915
9974
|
}
|
|
9916
9975
|
|
|
@@ -9957,7 +10016,7 @@ class RangeDatepicker extends r$7 {
|
|
|
9957
10016
|
}));
|
|
9958
10017
|
}
|
|
9959
10018
|
}
|
|
9960
|
-
RangeDatepicker.styles = i$
|
|
10019
|
+
RangeDatepicker.styles = i$g`
|
|
9961
10020
|
:host {
|
|
9962
10021
|
display: block;
|
|
9963
10022
|
position: relative;
|
|
@@ -9972,21 +10031,21 @@ RangeDatepicker.styles = i$c`
|
|
|
9972
10031
|
margin-right: 16px;
|
|
9973
10032
|
}
|
|
9974
10033
|
`;
|
|
9975
|
-
__decorate([n$
|
|
9976
|
-
__decorate([n$
|
|
9977
|
-
__decorate([n$
|
|
9978
|
-
__decorate([n$
|
|
9979
|
-
__decorate([n$
|
|
9980
|
-
__decorate([n$
|
|
9981
|
-
__decorate([n$
|
|
9982
|
-
__decorate([n$
|
|
9983
|
-
__decorate([n$
|
|
9984
|
-
__decorate([n$
|
|
9985
|
-
__decorate([n$
|
|
9986
|
-
__decorate([n$
|
|
9987
|
-
__decorate([n$
|
|
9988
|
-
__decorate([n$
|
|
9989
|
-
__decorate([n$
|
|
10034
|
+
__decorate([n$8({ type: Array })], RangeDatepicker.prototype, "disabledDays", undefined);
|
|
10035
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "enableYearChange", undefined);
|
|
10036
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "forceNarrow", undefined);
|
|
10037
|
+
__decorate([n$8({ type: Object })], RangeDatepicker.prototype, "locale", undefined);
|
|
10038
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "max", undefined);
|
|
10039
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "min", undefined);
|
|
10040
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "month", undefined);
|
|
10041
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "noRange", undefined);
|
|
10042
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "year", undefined);
|
|
10043
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "dateFrom", undefined);
|
|
10044
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "dateTo", undefined);
|
|
10045
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "hoveredDate", undefined);
|
|
10046
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "monthPlus", undefined);
|
|
10047
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "yearPlus", undefined);
|
|
10048
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "narrow", undefined);
|
|
9990
10049
|
|
|
9991
10050
|
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>"};
|
|
9992
10051
|
|
|
@@ -10139,7 +10198,7 @@ class CalendarUtilities {
|
|
|
10139
10198
|
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
10140
10199
|
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
10141
10200
|
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
10142
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat
|
|
10201
|
+
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
10143
10202
|
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
10144
10203
|
* - 'short' (e.g., Thu)
|
|
10145
10204
|
* - 'narrow' (e.g., T).
|
|
@@ -10203,9 +10262,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10203
10262
|
|
|
10204
10263
|
static get styles() {
|
|
10205
10264
|
return [
|
|
10206
|
-
styleCss$
|
|
10207
|
-
colorCss$
|
|
10208
|
-
tokensCss$
|
|
10265
|
+
styleCss$9,
|
|
10266
|
+
colorCss$9,
|
|
10267
|
+
tokensCss$7
|
|
10209
10268
|
];
|
|
10210
10269
|
}
|
|
10211
10270
|
|
|
@@ -10276,8 +10335,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10276
10335
|
this.utilCalRender.setFirstRenderableMonthDate(this);
|
|
10277
10336
|
this.utilCal.assessNavigationButtonVisibility(this);
|
|
10278
10337
|
|
|
10279
|
-
const dropdown = AuroLibraryRuntimeUtils$
|
|
10280
|
-
const dropdownbib = dropdown ? dropdown.bibContent : AuroLibraryRuntimeUtils$
|
|
10338
|
+
const dropdown = AuroLibraryRuntimeUtils$3.prototype.closestElement('auro-dropdown, [auro-dropdown]', this);
|
|
10339
|
+
const dropdownbib = dropdown ? dropdown.bibContent : AuroLibraryRuntimeUtils$3.prototype.closestElement('auro-dropdownbib', this);
|
|
10281
10340
|
const mobileLayout = dropdownbib.hasAttribute('isfullscreen');
|
|
10282
10341
|
this.utilCalRender.determineNumCalendarsToRender(this, mobileLayout);
|
|
10283
10342
|
|
|
@@ -10317,7 +10376,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10317
10376
|
const firstMonth = this.firstRenderedMonth.getMonth() + 1;
|
|
10318
10377
|
const firstYear = this.firstRenderedMonth.getFullYear();
|
|
10319
10378
|
|
|
10320
|
-
renderedHtml = x$
|
|
10379
|
+
renderedHtml = x$3`${renderedHtml}${this.utilCalRender.renderCalendar(this, firstMonth, firstYear)}`;
|
|
10321
10380
|
|
|
10322
10381
|
// Loop through the number of remaining calendars to render and add the HTML
|
|
10323
10382
|
let newMonthDate = undefined;
|
|
@@ -10343,7 +10402,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10343
10402
|
const newMonthDateStr = `${newMonth}/1/${newYear}`;
|
|
10344
10403
|
newMonthDate = new Date(newMonthDateStr);
|
|
10345
10404
|
|
|
10346
|
-
renderedHtml = x$
|
|
10405
|
+
renderedHtml = x$3`${renderedHtml}${this.utilCalRender.renderCalendar(this, newMonth, newYear)}`;
|
|
10347
10406
|
}
|
|
10348
10407
|
}
|
|
10349
10408
|
return renderedHtml;
|
|
@@ -10406,7 +10465,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10406
10465
|
}
|
|
10407
10466
|
|
|
10408
10467
|
render() {
|
|
10409
|
-
return x$
|
|
10468
|
+
return x$3`
|
|
10410
10469
|
<div class="calendarWrapper">
|
|
10411
10470
|
<div class="mobileHeader">
|
|
10412
10471
|
<div class="headerDateFrom">
|
|
@@ -10423,12 +10482,12 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10423
10482
|
<auro-button fluid @click="${this.utilCal.requestDismiss}">Done</auro-button>
|
|
10424
10483
|
</div>
|
|
10425
10484
|
</div>
|
|
10426
|
-
${this.showPrevMonthBtn ? x$
|
|
10485
|
+
${this.showPrevMonthBtn ? x$3`
|
|
10427
10486
|
<button class="calendarNavBtn prevMonth" @click="${this.handlePrevMonth}">
|
|
10428
10487
|
${this.util.generateIconHtml(chevronLeft)}
|
|
10429
10488
|
</button>
|
|
10430
10489
|
` : undefined}
|
|
10431
|
-
${this.showNextMonthBtn ? x$
|
|
10490
|
+
${this.showNextMonthBtn ? x$3`
|
|
10432
10491
|
<button class="calendarNavBtn nextMonth" @click="${this.handleNextMonth}">
|
|
10433
10492
|
${this.util.generateIconHtml(chevronRight)}
|
|
10434
10493
|
</button>
|
|
@@ -10447,33 +10506,33 @@ if (!customElements.get('auro-calendar')) {
|
|
|
10447
10506
|
* Copyright 2017 Google LLC
|
|
10448
10507
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10449
10508
|
*/
|
|
10450
|
-
const t$
|
|
10509
|
+
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};
|
|
10451
10510
|
|
|
10452
10511
|
/**
|
|
10453
10512
|
* @license
|
|
10454
10513
|
* Copyright 2020 Google LLC
|
|
10455
10514
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10456
10515
|
*/
|
|
10457
|
-
const a$
|
|
10516
|
+
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);
|
|
10458
10517
|
|
|
10459
10518
|
/**
|
|
10460
10519
|
* @license
|
|
10461
10520
|
* Copyright 2019 Google LLC
|
|
10462
10521
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10463
10522
|
*/
|
|
10464
|
-
const t$
|
|
10523
|
+
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;
|
|
10465
10524
|
|
|
10466
10525
|
/**
|
|
10467
10526
|
* @license
|
|
10468
10527
|
* Copyright 2017 Google LLC
|
|
10469
10528
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10470
|
-
*/const{is:i$
|
|
10529
|
+
*/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");
|
|
10471
10530
|
|
|
10472
10531
|
/**
|
|
10473
10532
|
* @license
|
|
10474
10533
|
* Copyright 2017 Google LLC
|
|
10475
10534
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10476
|
-
*/let r$
|
|
10535
|
+
*/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");
|
|
10477
10536
|
|
|
10478
10537
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10479
10538
|
// See LICENSE in the project root for license information.
|
|
@@ -10482,7 +10541,7 @@ const t$1$1=globalThis,e$3$1=t$1$1.ShadowRoot&&(void 0===t$1$1.ShadyCSS||t$1$1.S
|
|
|
10482
10541
|
|
|
10483
10542
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10484
10543
|
|
|
10485
|
-
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
10544
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
10486
10545
|
|
|
10487
10546
|
/* eslint-disable jsdoc/require-param */
|
|
10488
10547
|
|
|
@@ -10593,7 +10652,7 @@ function getAlignmentAxis(placement) {
|
|
|
10593
10652
|
return getOppositeAxis(getSideAxis(placement));
|
|
10594
10653
|
}
|
|
10595
10654
|
function getAlignmentSides(placement, rects, rtl) {
|
|
10596
|
-
if (rtl ===
|
|
10655
|
+
if (rtl === undefined) {
|
|
10597
10656
|
rtl = false;
|
|
10598
10657
|
}
|
|
10599
10658
|
const alignment = getAlignment(placement);
|
|
@@ -10750,7 +10809,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
10750
10809
|
platform
|
|
10751
10810
|
} = config;
|
|
10752
10811
|
const validMiddleware = middleware.filter(Boolean);
|
|
10753
|
-
const rtl = await (platform.isRTL == null ?
|
|
10812
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(floating));
|
|
10754
10813
|
let rects = await platform.getElementRects({
|
|
10755
10814
|
reference,
|
|
10756
10815
|
floating,
|
|
@@ -10836,7 +10895,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
10836
10895
|
*/
|
|
10837
10896
|
async function detectOverflow(state, options) {
|
|
10838
10897
|
var _await$platform$isEle;
|
|
10839
|
-
if (options ===
|
|
10898
|
+
if (options === undefined) {
|
|
10840
10899
|
options = {};
|
|
10841
10900
|
}
|
|
10842
10901
|
const {
|
|
@@ -10858,7 +10917,7 @@ async function detectOverflow(state, options) {
|
|
|
10858
10917
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
10859
10918
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
10860
10919
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
10861
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ?
|
|
10920
|
+
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))),
|
|
10862
10921
|
boundary,
|
|
10863
10922
|
rootBoundary,
|
|
10864
10923
|
strategy
|
|
@@ -10869,8 +10928,8 @@ async function detectOverflow(state, options) {
|
|
|
10869
10928
|
width: rects.floating.width,
|
|
10870
10929
|
height: rects.floating.height
|
|
10871
10930
|
} : rects.reference;
|
|
10872
|
-
const offsetParent = await (platform.getOffsetParent == null ?
|
|
10873
|
-
const offsetScale = (await (platform.isElement == null ?
|
|
10931
|
+
const offsetParent = await (platform.getOffsetParent == null ? undefined : platform.getOffsetParent(elements.floating));
|
|
10932
|
+
const offsetScale = (await (platform.isElement == null ? undefined : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? undefined : platform.getScale(offsetParent))) || {
|
|
10874
10933
|
x: 1,
|
|
10875
10934
|
y: 1
|
|
10876
10935
|
} : {
|
|
@@ -10907,7 +10966,7 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
|
10907
10966
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
10908
10967
|
*/
|
|
10909
10968
|
const autoPlacement$1 = function (options) {
|
|
10910
|
-
if (options ===
|
|
10969
|
+
if (options === undefined) {
|
|
10911
10970
|
options = {};
|
|
10912
10971
|
}
|
|
10913
10972
|
return {
|
|
@@ -10931,12 +10990,12 @@ const autoPlacement$1 = function (options) {
|
|
|
10931
10990
|
} = evaluate(options, state);
|
|
10932
10991
|
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
10933
10992
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
10934
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ?
|
|
10993
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP.index) || 0;
|
|
10935
10994
|
const currentPlacement = placements$1[currentIndex];
|
|
10936
10995
|
if (currentPlacement == null) {
|
|
10937
10996
|
return {};
|
|
10938
10997
|
}
|
|
10939
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ?
|
|
10998
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating)));
|
|
10940
10999
|
|
|
10941
11000
|
// Make `computeCoords` start from the right place.
|
|
10942
11001
|
if (placement !== currentPlacement) {
|
|
@@ -10947,7 +11006,7 @@ const autoPlacement$1 = function (options) {
|
|
|
10947
11006
|
};
|
|
10948
11007
|
}
|
|
10949
11008
|
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
10950
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ?
|
|
11009
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP2.overflows) || []), {
|
|
10951
11010
|
placement: currentPlacement,
|
|
10952
11011
|
overflows: currentOverflows
|
|
10953
11012
|
}];
|
|
@@ -10977,7 +11036,7 @@ const autoPlacement$1 = function (options) {
|
|
|
10977
11036
|
// Aligned placements should not check their opposite crossAxis
|
|
10978
11037
|
// side.
|
|
10979
11038
|
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
10980
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ?
|
|
11039
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? undefined : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
10981
11040
|
if (resetPlacement !== placement) {
|
|
10982
11041
|
return {
|
|
10983
11042
|
data: {
|
|
@@ -11001,7 +11060,7 @@ const autoPlacement$1 = function (options) {
|
|
|
11001
11060
|
* @see https://floating-ui.com/docs/flip
|
|
11002
11061
|
*/
|
|
11003
11062
|
const flip$1 = function (options) {
|
|
11004
|
-
if (options ===
|
|
11063
|
+
if (options === undefined) {
|
|
11005
11064
|
options = {};
|
|
11006
11065
|
}
|
|
11007
11066
|
return {
|
|
@@ -11037,7 +11096,7 @@ const flip$1 = function (options) {
|
|
|
11037
11096
|
const side = getSide(placement);
|
|
11038
11097
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
11039
11098
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
11040
|
-
const rtl = await (platform.isRTL == null ?
|
|
11099
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
|
|
11041
11100
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
11042
11101
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
11043
11102
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -11046,7 +11105,7 @@ const flip$1 = function (options) {
|
|
|
11046
11105
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
11047
11106
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
11048
11107
|
const overflows = [];
|
|
11049
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
11108
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? undefined : _middlewareData$flip.overflows) || [];
|
|
11050
11109
|
if (checkMainAxis) {
|
|
11051
11110
|
overflows.push(overflow[side]);
|
|
11052
11111
|
}
|
|
@@ -11062,7 +11121,7 @@ const flip$1 = function (options) {
|
|
|
11062
11121
|
// One or more sides is overflowing.
|
|
11063
11122
|
if (!overflows.every(side => side <= 0)) {
|
|
11064
11123
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
11065
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
11124
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? undefined : _middlewareData$flip2.index) || 0) + 1;
|
|
11066
11125
|
const nextPlacement = placements[nextIndex];
|
|
11067
11126
|
if (nextPlacement) {
|
|
11068
11127
|
// Try next placement and re-run the lifecycle.
|
|
@@ -11079,7 +11138,7 @@ const flip$1 = function (options) {
|
|
|
11079
11138
|
|
|
11080
11139
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
11081
11140
|
// then find the placement that fits the best on the main crossAxis side.
|
|
11082
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ?
|
|
11141
|
+
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;
|
|
11083
11142
|
|
|
11084
11143
|
// Otherwise fallback.
|
|
11085
11144
|
if (!resetPlacement) {
|
|
@@ -11096,7 +11155,7 @@ const flip$1 = function (options) {
|
|
|
11096
11155
|
currentSideAxis === 'y';
|
|
11097
11156
|
}
|
|
11098
11157
|
return true;
|
|
11099
|
-
}).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 ?
|
|
11158
|
+
}).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];
|
|
11100
11159
|
if (placement) {
|
|
11101
11160
|
resetPlacement = placement;
|
|
11102
11161
|
}
|
|
@@ -11129,7 +11188,7 @@ async function convertValueToCoords(state, options) {
|
|
|
11129
11188
|
platform,
|
|
11130
11189
|
elements
|
|
11131
11190
|
} = state;
|
|
11132
|
-
const rtl = await (platform.isRTL == null ?
|
|
11191
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
|
|
11133
11192
|
const side = getSide(placement);
|
|
11134
11193
|
const alignment = getAlignment(placement);
|
|
11135
11194
|
const isVertical = getSideAxis(placement) === 'y';
|
|
@@ -11171,7 +11230,7 @@ async function convertValueToCoords(state, options) {
|
|
|
11171
11230
|
* @see https://floating-ui.com/docs/offset
|
|
11172
11231
|
*/
|
|
11173
11232
|
const offset$1 = function (options) {
|
|
11174
|
-
if (options ===
|
|
11233
|
+
if (options === undefined) {
|
|
11175
11234
|
options = 0;
|
|
11176
11235
|
}
|
|
11177
11236
|
return {
|
|
@@ -11189,7 +11248,7 @@ const offset$1 = function (options) {
|
|
|
11189
11248
|
|
|
11190
11249
|
// If the placement is the same and the arrow caused an alignment offset
|
|
11191
11250
|
// then we don't need to change the positioning coordinates.
|
|
11192
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
11251
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? undefined : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
11193
11252
|
return {};
|
|
11194
11253
|
}
|
|
11195
11254
|
return {
|
|
@@ -11218,11 +11277,11 @@ function getNodeName(node) {
|
|
|
11218
11277
|
}
|
|
11219
11278
|
function getWindow(node) {
|
|
11220
11279
|
var _node$ownerDocument;
|
|
11221
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
11280
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? undefined : _node$ownerDocument.defaultView) || window;
|
|
11222
11281
|
}
|
|
11223
11282
|
function getDocumentElement(node) {
|
|
11224
11283
|
var _ref;
|
|
11225
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
11284
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? undefined : _ref.documentElement;
|
|
11226
11285
|
}
|
|
11227
11286
|
function isNode(value) {
|
|
11228
11287
|
if (!hasWindow()) {
|
|
@@ -11337,14 +11396,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
11337
11396
|
}
|
|
11338
11397
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
11339
11398
|
var _node$ownerDocument2;
|
|
11340
|
-
if (list ===
|
|
11399
|
+
if (list === undefined) {
|
|
11341
11400
|
list = [];
|
|
11342
11401
|
}
|
|
11343
|
-
if (traverseIframes ===
|
|
11402
|
+
if (traverseIframes === undefined) {
|
|
11344
11403
|
traverseIframes = true;
|
|
11345
11404
|
}
|
|
11346
11405
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
11347
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
11406
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? undefined : _node$ownerDocument2.body);
|
|
11348
11407
|
const win = getWindow(scrollableAncestor);
|
|
11349
11408
|
if (isBody) {
|
|
11350
11409
|
const frameElement = getFrameElement(win);
|
|
@@ -11421,7 +11480,7 @@ function getVisualOffsets(element) {
|
|
|
11421
11480
|
};
|
|
11422
11481
|
}
|
|
11423
11482
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
11424
|
-
if (isFixed ===
|
|
11483
|
+
if (isFixed === undefined) {
|
|
11425
11484
|
isFixed = false;
|
|
11426
11485
|
}
|
|
11427
11486
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
@@ -11431,10 +11490,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
11431
11490
|
}
|
|
11432
11491
|
|
|
11433
11492
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
11434
|
-
if (includeScale ===
|
|
11493
|
+
if (includeScale === undefined) {
|
|
11435
11494
|
includeScale = false;
|
|
11436
11495
|
}
|
|
11437
|
-
if (isFixedStrategy ===
|
|
11496
|
+
if (isFixedStrategy === undefined) {
|
|
11438
11497
|
isFixedStrategy = false;
|
|
11439
11498
|
}
|
|
11440
11499
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -11494,7 +11553,7 @@ function getWindowScrollBarX(element, rect) {
|
|
|
11494
11553
|
}
|
|
11495
11554
|
|
|
11496
11555
|
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
11497
|
-
if (ignoreScrollbarX ===
|
|
11556
|
+
if (ignoreScrollbarX === undefined) {
|
|
11498
11557
|
ignoreScrollbarX = false;
|
|
11499
11558
|
}
|
|
11500
11559
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
@@ -11844,10 +11903,10 @@ function observeMove(element, onMove) {
|
|
|
11844
11903
|
io = null;
|
|
11845
11904
|
}
|
|
11846
11905
|
function refresh(skip, threshold) {
|
|
11847
|
-
if (skip ===
|
|
11906
|
+
if (skip === undefined) {
|
|
11848
11907
|
skip = false;
|
|
11849
11908
|
}
|
|
11850
|
-
if (threshold ===
|
|
11909
|
+
if (threshold === undefined) {
|
|
11851
11910
|
threshold = 1;
|
|
11852
11911
|
}
|
|
11853
11912
|
cleanup();
|
|
@@ -11918,7 +11977,7 @@ function observeMove(element, onMove) {
|
|
|
11918
11977
|
* @see https://floating-ui.com/docs/autoUpdate
|
|
11919
11978
|
*/
|
|
11920
11979
|
function autoUpdate(reference, floating, update, options) {
|
|
11921
|
-
if (options ===
|
|
11980
|
+
if (options === undefined) {
|
|
11922
11981
|
options = {};
|
|
11923
11982
|
}
|
|
11924
11983
|
const {
|
|
@@ -12134,7 +12193,7 @@ class AuroFloatingUI {
|
|
|
12134
12193
|
// Compute the position of the bib
|
|
12135
12194
|
computePosition(this.element.trigger, this.element.bib, {
|
|
12136
12195
|
placement: this.element.floaterConfig.placement || 'bottom',
|
|
12137
|
-
middleware: middleware
|
|
12196
|
+
middleware: middleware
|
|
12138
12197
|
}).then(({x, y}) => { // eslint-disable-line id-length
|
|
12139
12198
|
Object.assign(this.element.bib.style, {
|
|
12140
12199
|
left: `${x}px`,
|
|
@@ -12457,7 +12516,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
12457
12516
|
*/
|
|
12458
12517
|
generateTag(baseName, version, tagClass) {
|
|
12459
12518
|
const elementName = this.generateElementName(baseName, version);
|
|
12460
|
-
const tag = i$
|
|
12519
|
+
const tag = i$8$1`${s$3$1(elementName)}`;
|
|
12461
12520
|
|
|
12462
12521
|
if (!customElements.get(elementName)) {
|
|
12463
12522
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -12472,19 +12531,19 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
12472
12531
|
* Copyright 2017 Google LLC
|
|
12473
12532
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12474
12533
|
*/
|
|
12475
|
-
const t$
|
|
12534
|
+
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)}};
|
|
12476
12535
|
|
|
12477
12536
|
/**
|
|
12478
12537
|
* @license
|
|
12479
12538
|
* Copyright 2018 Google LLC
|
|
12480
12539
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12481
|
-
*/const e$
|
|
12540
|
+
*/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}});
|
|
12482
12541
|
|
|
12483
12542
|
/**
|
|
12484
12543
|
* @license
|
|
12485
12544
|
* Copyright 2018 Google LLC
|
|
12486
12545
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12487
|
-
*/const o$
|
|
12546
|
+
*/const o$3$1=o=>o??E$1$1;
|
|
12488
12547
|
|
|
12489
12548
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12490
12549
|
// See LICENSE in the project root for license information.
|
|
@@ -12496,7 +12555,7 @@ const t$4={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
|
|
|
12496
12555
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
12497
12556
|
*/
|
|
12498
12557
|
|
|
12499
|
-
let AuroElement$1 = class AuroElement extends r$
|
|
12558
|
+
let AuroElement$1 = class AuroElement extends r$4$1 {
|
|
12500
12559
|
|
|
12501
12560
|
// function to define props used within the scope of this component
|
|
12502
12561
|
static get properties() {
|
|
@@ -12552,7 +12611,7 @@ const cacheFetch$1 = (uri, options = {}) => {
|
|
|
12552
12611
|
return _fetchMap$1.get(uri);
|
|
12553
12612
|
};
|
|
12554
12613
|
|
|
12555
|
-
var styleCss$
|
|
12614
|
+
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}`;
|
|
12556
12615
|
|
|
12557
12616
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12558
12617
|
// See LICENSE in the project root for license information.
|
|
@@ -12591,8 +12650,8 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
12591
12650
|
}
|
|
12592
12651
|
|
|
12593
12652
|
static get styles() {
|
|
12594
|
-
return i$
|
|
12595
|
-
${styleCss$
|
|
12653
|
+
return i$7$1`
|
|
12654
|
+
${styleCss$3$1}
|
|
12596
12655
|
`;
|
|
12597
12656
|
}
|
|
12598
12657
|
|
|
@@ -12633,9 +12692,9 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
12633
12692
|
}
|
|
12634
12693
|
};
|
|
12635
12694
|
|
|
12636
|
-
var tokensCss$
|
|
12695
|
+
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)}`;
|
|
12637
12696
|
|
|
12638
|
-
var colorCss$
|
|
12697
|
+
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)}`;
|
|
12639
12698
|
|
|
12640
12699
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12641
12700
|
// See LICENSE in the project root for license information.
|
|
@@ -12697,7 +12756,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12697
12756
|
this.success = false;
|
|
12698
12757
|
this.tertiary = false;
|
|
12699
12758
|
this.warning = false;
|
|
12700
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
12759
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
12701
12760
|
}
|
|
12702
12761
|
|
|
12703
12762
|
// function to define props used within the scope of this component
|
|
@@ -12779,9 +12838,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12779
12838
|
static get styles() {
|
|
12780
12839
|
return [
|
|
12781
12840
|
super.styles,
|
|
12782
|
-
i$
|
|
12783
|
-
i$
|
|
12784
|
-
i$
|
|
12841
|
+
i$7$1`${tokensCss$2$1}`,
|
|
12842
|
+
i$7$1`${styleCss$3$1}`,
|
|
12843
|
+
i$7$1`${colorCss$3$1}`
|
|
12785
12844
|
];
|
|
12786
12845
|
}
|
|
12787
12846
|
|
|
@@ -12794,7 +12853,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12794
12853
|
*
|
|
12795
12854
|
*/
|
|
12796
12855
|
static register(name = "auro-icon") {
|
|
12797
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
12856
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
12798
12857
|
}
|
|
12799
12858
|
|
|
12800
12859
|
connectedCallback() {
|
|
@@ -12823,20 +12882,20 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12823
12882
|
'wrapper': true,
|
|
12824
12883
|
};
|
|
12825
12884
|
|
|
12826
|
-
return x$1`
|
|
12885
|
+
return x$1$1`
|
|
12827
12886
|
<div
|
|
12828
|
-
class="${e$
|
|
12829
|
-
title="${o$
|
|
12830
|
-
<span aria-hidden="${o$
|
|
12831
|
-
${this.customSvg ? x$1`
|
|
12887
|
+
class="${e$3$1(classes)}"
|
|
12888
|
+
title="${o$3$1(this.title || undefined)}">
|
|
12889
|
+
<span aria-hidden="${o$3$1(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
12890
|
+
${this.customSvg ? x$1$1`
|
|
12832
12891
|
<slot name="svg"></slot>
|
|
12833
|
-
` : x$1`
|
|
12892
|
+
` : x$1$1`
|
|
12834
12893
|
${this.svg}
|
|
12835
12894
|
`
|
|
12836
12895
|
}
|
|
12837
12896
|
</span>
|
|
12838
12897
|
|
|
12839
|
-
<div class="${e$
|
|
12898
|
+
<div class="${e$3$1(a11y)}">
|
|
12840
12899
|
<slot></slot>
|
|
12841
12900
|
</div>
|
|
12842
12901
|
</div>
|
|
@@ -12846,15 +12905,238 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12846
12905
|
|
|
12847
12906
|
var iconVersion$1 = '6.1.2';
|
|
12848
12907
|
|
|
12849
|
-
var styleCss$
|
|
12908
|
+
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)}`;
|
|
12909
|
+
|
|
12910
|
+
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)}`;
|
|
12911
|
+
|
|
12912
|
+
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)}`;
|
|
12913
|
+
|
|
12914
|
+
/**
|
|
12915
|
+
* @license
|
|
12916
|
+
* Copyright 2019 Google LLC
|
|
12917
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
12918
|
+
*/
|
|
12919
|
+
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;
|
|
12920
|
+
|
|
12921
|
+
/**
|
|
12922
|
+
* @license
|
|
12923
|
+
* Copyright 2017 Google LLC
|
|
12924
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
12925
|
+
*/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");
|
|
12926
|
+
|
|
12927
|
+
/**
|
|
12928
|
+
* @license
|
|
12929
|
+
* Copyright 2017 Google LLC
|
|
12930
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
12931
|
+
*/
|
|
12932
|
+
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};
|
|
12933
|
+
|
|
12934
|
+
/**
|
|
12935
|
+
* @license
|
|
12936
|
+
* Copyright 2017 Google LLC
|
|
12937
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
12938
|
+
*/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");
|
|
12939
|
+
|
|
12940
|
+
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)}`;
|
|
12941
|
+
|
|
12942
|
+
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}`;
|
|
12943
|
+
|
|
12944
|
+
var tokensCss$5 = i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
12945
|
+
|
|
12946
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
12947
|
+
// See LICENSE in the project root for license information.
|
|
12948
|
+
|
|
12949
|
+
// ---------------------------------------------------------------------
|
|
12950
|
+
|
|
12951
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
12952
|
+
|
|
12953
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
12954
|
+
|
|
12955
|
+
/* eslint-disable jsdoc/require-param */
|
|
12956
|
+
|
|
12957
|
+
/**
|
|
12958
|
+
* This will register a new custom element with the browser.
|
|
12959
|
+
* @param {String} name - The name of the custom element.
|
|
12960
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
12961
|
+
* @returns {void}
|
|
12962
|
+
*/
|
|
12963
|
+
registerComponent(name, componentClass) {
|
|
12964
|
+
if (!customElements.get(name)) {
|
|
12965
|
+
customElements.define(name, class extends componentClass {});
|
|
12966
|
+
}
|
|
12967
|
+
}
|
|
12968
|
+
|
|
12969
|
+
/**
|
|
12970
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
12971
|
+
* @returns {void}
|
|
12972
|
+
*/
|
|
12973
|
+
closestElement(
|
|
12974
|
+
selector, // selector like in .closest()
|
|
12975
|
+
base = this, // extra functionality to skip a parent
|
|
12976
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
12977
|
+
!el || el === document || el === window
|
|
12978
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
12979
|
+
: found
|
|
12980
|
+
? found // found a selector INside this element
|
|
12981
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
12982
|
+
) {
|
|
12983
|
+
return __Closest(base);
|
|
12984
|
+
}
|
|
12985
|
+
/* eslint-enable jsdoc/require-param */
|
|
12986
|
+
|
|
12987
|
+
/**
|
|
12988
|
+
* 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.
|
|
12989
|
+
* @param {Object} elem - The element to check.
|
|
12990
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
12991
|
+
* @returns {void}
|
|
12992
|
+
*/
|
|
12993
|
+
handleComponentTagRename(elem, tagName) {
|
|
12994
|
+
const tag = tagName.toLowerCase();
|
|
12995
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
12996
|
+
|
|
12997
|
+
if (elemTag !== tag) {
|
|
12998
|
+
elem.setAttribute(tag, true);
|
|
12999
|
+
}
|
|
13000
|
+
}
|
|
13001
|
+
|
|
13002
|
+
/**
|
|
13003
|
+
* Validates if an element is a specific Auro component.
|
|
13004
|
+
* @param {Object} elem - The element to validate.
|
|
13005
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
13006
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
13007
|
+
*/
|
|
13008
|
+
elementMatch(elem, tagName) {
|
|
13009
|
+
const tag = tagName.toLowerCase();
|
|
13010
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
13011
|
+
|
|
13012
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
13013
|
+
}
|
|
13014
|
+
};
|
|
13015
|
+
|
|
13016
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13017
|
+
// See LICENSE in the project root for license information.
|
|
13018
|
+
|
|
13019
|
+
|
|
13020
|
+
/**
|
|
13021
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
13022
|
+
*
|
|
13023
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
13024
|
+
*/
|
|
13025
|
+
let AuroHelpText$1 = class AuroHelpText extends r$9 {
|
|
13026
|
+
|
|
13027
|
+
constructor() {
|
|
13028
|
+
super();
|
|
13029
|
+
|
|
13030
|
+
this.error = false;
|
|
13031
|
+
this.hasTextContent = false;
|
|
13032
|
+
}
|
|
13033
|
+
|
|
13034
|
+
static get styles() {
|
|
13035
|
+
return [
|
|
13036
|
+
colorCss$1$1,
|
|
13037
|
+
styleCss$1$1,
|
|
13038
|
+
tokensCss$5
|
|
13039
|
+
];
|
|
13040
|
+
}
|
|
13041
|
+
|
|
13042
|
+
// function to define props used within the scope of this component
|
|
13043
|
+
static get properties() {
|
|
13044
|
+
return {
|
|
13045
|
+
|
|
13046
|
+
/**
|
|
13047
|
+
* @private
|
|
13048
|
+
*/
|
|
13049
|
+
slotNodes: {
|
|
13050
|
+
type: Boolean,
|
|
13051
|
+
},
|
|
13052
|
+
|
|
13053
|
+
/**
|
|
13054
|
+
* @private
|
|
13055
|
+
*/
|
|
13056
|
+
hasTextContent: {
|
|
13057
|
+
type: Boolean,
|
|
13058
|
+
},
|
|
13059
|
+
|
|
13060
|
+
/**
|
|
13061
|
+
* If declared, make font color red.
|
|
13062
|
+
*/
|
|
13063
|
+
error: {
|
|
13064
|
+
type: Boolean,
|
|
13065
|
+
reflect: true,
|
|
13066
|
+
},
|
|
13067
|
+
};
|
|
13068
|
+
}
|
|
13069
|
+
|
|
13070
|
+
/**
|
|
13071
|
+
* This will register this element with the browser.
|
|
13072
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
13073
|
+
*
|
|
13074
|
+
* @example
|
|
13075
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
13076
|
+
*
|
|
13077
|
+
*/
|
|
13078
|
+
static register(name = "auro-helptext") {
|
|
13079
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
13080
|
+
}
|
|
13081
|
+
|
|
13082
|
+
updated() {
|
|
13083
|
+
this.handleSlotChange();
|
|
13084
|
+
}
|
|
13085
|
+
|
|
13086
|
+
handleSlotChange(event) {
|
|
13087
|
+
if (event) {
|
|
13088
|
+
this.slotNodes = event.target.assignedNodes();
|
|
13089
|
+
}
|
|
13090
|
+
|
|
13091
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
13092
|
+
}
|
|
13093
|
+
|
|
13094
|
+
/**
|
|
13095
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
13096
|
+
*
|
|
13097
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
13098
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
13099
|
+
* @private
|
|
13100
|
+
*/
|
|
13101
|
+
checkSlotsForContent(nodes) {
|
|
13102
|
+
if (!nodes) {
|
|
13103
|
+
return false;
|
|
13104
|
+
}
|
|
13105
|
+
|
|
13106
|
+
return nodes.some((node) => {
|
|
13107
|
+
if (node.textContent.trim()) {
|
|
13108
|
+
return true;
|
|
13109
|
+
}
|
|
13110
|
+
|
|
13111
|
+
if (!node.querySelector) {
|
|
13112
|
+
return false;
|
|
13113
|
+
}
|
|
13114
|
+
|
|
13115
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
13116
|
+
if (!nestedSlot) {
|
|
13117
|
+
return false;
|
|
13118
|
+
}
|
|
13119
|
+
|
|
13120
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
13121
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
13122
|
+
});
|
|
13123
|
+
}
|
|
12850
13124
|
|
|
12851
|
-
|
|
13125
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
13126
|
+
render() {
|
|
13127
|
+
return x$2`
|
|
13128
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
13129
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
13130
|
+
</div>
|
|
13131
|
+
`;
|
|
13132
|
+
}
|
|
13133
|
+
};
|
|
12852
13134
|
|
|
12853
|
-
|
|
13135
|
+
AuroHelpText$1.register();
|
|
12854
13136
|
|
|
12855
|
-
var styleCss$
|
|
13137
|
+
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}`;
|
|
12856
13138
|
|
|
12857
|
-
var colorCss$
|
|
13139
|
+
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)}`;
|
|
12858
13140
|
|
|
12859
13141
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12860
13142
|
// See LICENSE in the project root for license information.
|
|
@@ -12870,14 +13152,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
12870
13152
|
];
|
|
12871
13153
|
|
|
12872
13154
|
/**
|
|
12873
|
-
* @attr { Boolean } common - If declared, will apply all styles for the common theme.
|
|
12874
|
-
* @attr { Boolean } rounded - If declared, will apply border-radius to the bib.
|
|
12875
|
-
* @attr { Boolean } inset - If declared, will apply extra padding to bib content.
|
|
12876
13155
|
* @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.
|
|
12877
13156
|
* @csspart bibContainer - Apply css to the bib container.
|
|
12878
13157
|
*/
|
|
12879
13158
|
|
|
12880
|
-
class AuroDropdownBib extends r$
|
|
13159
|
+
class AuroDropdownBib extends r$4$1 {
|
|
12881
13160
|
|
|
12882
13161
|
constructor() {
|
|
12883
13162
|
super();
|
|
@@ -12890,22 +13169,34 @@ class AuroDropdownBib extends r$5 {
|
|
|
12890
13169
|
|
|
12891
13170
|
static get styles() {
|
|
12892
13171
|
return [
|
|
12893
|
-
styleCss$
|
|
12894
|
-
colorCss$
|
|
12895
|
-
tokensCss$
|
|
13172
|
+
styleCss$5,
|
|
13173
|
+
colorCss$5,
|
|
13174
|
+
tokensCss$1$1
|
|
12896
13175
|
];
|
|
12897
13176
|
}
|
|
12898
13177
|
|
|
12899
13178
|
static get properties() {
|
|
12900
13179
|
return {
|
|
13180
|
+
|
|
13181
|
+
/**
|
|
13182
|
+
* If declared, will apply all styles for the common theme.
|
|
13183
|
+
*/
|
|
12901
13184
|
common: {
|
|
12902
13185
|
type: Boolean,
|
|
12903
13186
|
reflect: true
|
|
12904
13187
|
},
|
|
13188
|
+
|
|
13189
|
+
/**
|
|
13190
|
+
* If declared, will apply extra padding to bib content.
|
|
13191
|
+
*/
|
|
12905
13192
|
inset: {
|
|
12906
13193
|
type: Boolean,
|
|
12907
13194
|
reflect: true
|
|
12908
13195
|
},
|
|
13196
|
+
|
|
13197
|
+
/**
|
|
13198
|
+
* If declared, will apply border-radius to the bib.
|
|
13199
|
+
*/
|
|
12909
13200
|
rounded: {
|
|
12910
13201
|
type: Boolean,
|
|
12911
13202
|
reflect: true
|
|
@@ -12931,7 +13222,7 @@ class AuroDropdownBib extends r$5 {
|
|
|
12931
13222
|
|
|
12932
13223
|
// function that renders the HTML and CSS into the scope of the component
|
|
12933
13224
|
render() {
|
|
12934
|
-
return u$
|
|
13225
|
+
return u$3$1`
|
|
12935
13226
|
<div class="container" part="bibContainer">
|
|
12936
13227
|
<slot></slot>
|
|
12937
13228
|
</div>
|
|
@@ -12949,22 +13240,7 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
12949
13240
|
|
|
12950
13241
|
|
|
12951
13242
|
/**
|
|
12952
|
-
* @attr { Boolean } bordered - If declared, applies a border around the trigger slot.
|
|
12953
|
-
* @attr { Boolean } common - If declared, the dropdown will be styled with the common theme.
|
|
12954
|
-
* @attr { Boolean } chevron - If declared, the dropdown displays an display state chevron on the right.
|
|
12955
|
-
* @attr { Boolean } disabled - If declared, the dropdown is not interactive.
|
|
12956
13243
|
* @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
|
|
12957
|
-
* @attr { Boolean } error - If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
|
|
12958
|
-
* @attr {Boolean} fluid - Makes the trigger to be full width of its parent container
|
|
12959
|
-
* @attr { Boolean } matchWidth - If declared, the popover and trigger will be set to the same width.
|
|
12960
|
-
* @attr { Boolean } inset - If declared, will apply padding around trigger slot content.
|
|
12961
|
-
* @attr { Boolean } rounded - If declared, will apply border-radius to trigger and default slots.
|
|
12962
|
-
* @attr { Boolean } hoverToggle - if declared, the trigger will toggle the big on mouseover/mouseout.
|
|
12963
|
-
* @attr { Boolean } noToggle - If declared, the trigger will only show the dropdown bib.
|
|
12964
|
-
* @attr { Boolean } focusShow - if declared, the bib will display when focus is applied to the trigger.
|
|
12965
|
-
* @attr { Boolean } noHideOnThisFocusLoss - If declared, the dropdown will not hide when moving focus outside the element.
|
|
12966
|
-
* @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.
|
|
12967
|
-
* @prop { Boolean } isPopoverVisible - If true, the dropdown bib is displayed.
|
|
12968
13244
|
* @slot - Default slot for the popover content.
|
|
12969
13245
|
* @slot label - Defines the content of the label.
|
|
12970
13246
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -12976,7 +13252,7 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
12976
13252
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
12977
13253
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
12978
13254
|
*/
|
|
12979
|
-
class AuroDropdown extends r$
|
|
13255
|
+
class AuroDropdown extends r$4$1 {
|
|
12980
13256
|
constructor() {
|
|
12981
13257
|
super();
|
|
12982
13258
|
|
|
@@ -13005,7 +13281,17 @@ class AuroDropdown extends r$5 {
|
|
|
13005
13281
|
/**
|
|
13006
13282
|
* @private
|
|
13007
13283
|
*/
|
|
13008
|
-
this.
|
|
13284
|
+
this.hasTriggerContent = false;
|
|
13285
|
+
|
|
13286
|
+
/**
|
|
13287
|
+
* @private
|
|
13288
|
+
*/
|
|
13289
|
+
this.triggerContentSlot = undefined;
|
|
13290
|
+
|
|
13291
|
+
/**
|
|
13292
|
+
* @private
|
|
13293
|
+
*/
|
|
13294
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
13009
13295
|
|
|
13010
13296
|
/**
|
|
13011
13297
|
* @private
|
|
@@ -13048,90 +13334,167 @@ class AuroDropdown extends r$5 {
|
|
|
13048
13334
|
// function to define props used within the scope of this component
|
|
13049
13335
|
static get properties() {
|
|
13050
13336
|
return {
|
|
13337
|
+
|
|
13338
|
+
/**
|
|
13339
|
+
* If declared, applies a border around the trigger slot.
|
|
13340
|
+
*/
|
|
13051
13341
|
bordered: {
|
|
13052
13342
|
type: Boolean,
|
|
13053
13343
|
reflect: true
|
|
13054
13344
|
},
|
|
13055
|
-
|
|
13345
|
+
|
|
13346
|
+
/**
|
|
13347
|
+
* If declared, the dropdown displays a chevron on the right.
|
|
13348
|
+
* @attr {Boolean} chevron
|
|
13349
|
+
*/
|
|
13350
|
+
chevron: {
|
|
13056
13351
|
type: Boolean,
|
|
13057
13352
|
reflect: true
|
|
13058
13353
|
},
|
|
13059
|
-
|
|
13354
|
+
|
|
13355
|
+
/**
|
|
13356
|
+
* If declared, the dropdown will be styled with the common theme.
|
|
13357
|
+
*/
|
|
13358
|
+
common: {
|
|
13060
13359
|
type: Boolean,
|
|
13061
13360
|
reflect: true
|
|
13062
13361
|
},
|
|
13063
|
-
|
|
13362
|
+
|
|
13363
|
+
/**
|
|
13364
|
+
* If declared, the dropdown is not interactive.
|
|
13365
|
+
*/
|
|
13366
|
+
disabled: {
|
|
13064
13367
|
type: Boolean,
|
|
13065
13368
|
reflect: true
|
|
13066
13369
|
},
|
|
13067
|
-
|
|
13370
|
+
|
|
13371
|
+
/**
|
|
13372
|
+
* @private
|
|
13373
|
+
*/
|
|
13374
|
+
dropdownWidth: {
|
|
13375
|
+
type: Number
|
|
13376
|
+
},
|
|
13377
|
+
|
|
13378
|
+
/**
|
|
13379
|
+
* If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
|
|
13380
|
+
*/
|
|
13381
|
+
error: {
|
|
13068
13382
|
type: Boolean,
|
|
13069
|
-
reflect: true
|
|
13383
|
+
reflect: true
|
|
13070
13384
|
},
|
|
13385
|
+
|
|
13386
|
+
/**
|
|
13387
|
+
* If declared, the bib will display when focus is applied to the trigger.
|
|
13388
|
+
*/
|
|
13071
13389
|
focusShow: {
|
|
13072
13390
|
type: Boolean,
|
|
13073
13391
|
reflect: true
|
|
13074
13392
|
},
|
|
13075
|
-
|
|
13393
|
+
|
|
13394
|
+
/**
|
|
13395
|
+
* Makes the trigger to be full width of its parent container.
|
|
13396
|
+
*/
|
|
13397
|
+
fluid: {
|
|
13076
13398
|
type: Boolean,
|
|
13077
13399
|
reflect: true
|
|
13078
13400
|
},
|
|
13401
|
+
|
|
13402
|
+
/**
|
|
13403
|
+
* If declared, will apply padding around trigger slot content.
|
|
13404
|
+
*/
|
|
13079
13405
|
inset: {
|
|
13080
13406
|
type: Boolean,
|
|
13081
13407
|
reflect: true
|
|
13082
13408
|
},
|
|
13083
|
-
|
|
13409
|
+
|
|
13410
|
+
/**
|
|
13411
|
+
* If true, the dropdown bib is displayed.
|
|
13412
|
+
*/
|
|
13413
|
+
isPopoverVisible: {
|
|
13414
|
+
type: Boolean
|
|
13415
|
+
},
|
|
13416
|
+
|
|
13417
|
+
/**
|
|
13418
|
+
* If declared, the trigger will toggle the dropdown on mouseover/mouseout.
|
|
13419
|
+
*/
|
|
13420
|
+
hoverToggle: {
|
|
13084
13421
|
type: Boolean,
|
|
13085
13422
|
reflect: true
|
|
13086
13423
|
},
|
|
13087
|
-
|
|
13088
|
-
|
|
13424
|
+
|
|
13425
|
+
/**
|
|
13426
|
+
* @private
|
|
13427
|
+
*/
|
|
13428
|
+
hasTriggerContent: {
|
|
13429
|
+
type: Boolean
|
|
13430
|
+
},
|
|
13431
|
+
|
|
13432
|
+
/**
|
|
13433
|
+
* 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.
|
|
13434
|
+
*/
|
|
13435
|
+
mobileFullscreenBreakpoint: {
|
|
13436
|
+
type: String,
|
|
13089
13437
|
reflect: true
|
|
13090
13438
|
},
|
|
13091
|
-
|
|
13439
|
+
|
|
13440
|
+
/**
|
|
13441
|
+
* If declared, the popover and trigger will be set to the same width.
|
|
13442
|
+
*/
|
|
13443
|
+
matchWidth: {
|
|
13092
13444
|
type: Boolean,
|
|
13093
13445
|
reflect: true
|
|
13094
13446
|
},
|
|
13095
|
-
|
|
13447
|
+
|
|
13448
|
+
/**
|
|
13449
|
+
* If declared, the dropdown will not hide when moving focus outside the element.
|
|
13450
|
+
*/
|
|
13451
|
+
noHideOnThisFocusLoss: {
|
|
13096
13452
|
type: Boolean,
|
|
13097
13453
|
reflect: true
|
|
13098
13454
|
},
|
|
13099
|
-
|
|
13455
|
+
|
|
13456
|
+
/**
|
|
13457
|
+
* If declared, the trigger will only show the dropdown bib.
|
|
13458
|
+
*/
|
|
13459
|
+
noToggle: {
|
|
13100
13460
|
type: Boolean,
|
|
13101
13461
|
reflect: true
|
|
13102
13462
|
},
|
|
13103
|
-
|
|
13463
|
+
|
|
13104
13464
|
onSlotChange: {
|
|
13105
13465
|
type: Function,
|
|
13106
13466
|
reflect: false
|
|
13107
13467
|
},
|
|
13108
|
-
mobileFullscreenBreakpoint: {
|
|
13109
|
-
type: String,
|
|
13110
|
-
reflect: true,
|
|
13111
|
-
},
|
|
13112
13468
|
|
|
13113
13469
|
/**
|
|
13114
13470
|
* @private
|
|
13115
13471
|
*/
|
|
13116
|
-
|
|
13472
|
+
placement: {
|
|
13473
|
+
type: String
|
|
13474
|
+
},
|
|
13117
13475
|
|
|
13118
13476
|
/**
|
|
13119
|
-
*
|
|
13477
|
+
* If declared, will apply border-radius to trigger and default slots.
|
|
13120
13478
|
*/
|
|
13121
|
-
|
|
13479
|
+
rounded: {
|
|
13480
|
+
type: Boolean,
|
|
13481
|
+
reflect: true
|
|
13482
|
+
},
|
|
13122
13483
|
|
|
13123
13484
|
/**
|
|
13124
13485
|
* @private
|
|
13125
13486
|
*/
|
|
13126
|
-
tabIndex: {
|
|
13487
|
+
tabIndex: {
|
|
13488
|
+
type: Number
|
|
13489
|
+
}
|
|
13127
13490
|
};
|
|
13128
13491
|
}
|
|
13129
13492
|
|
|
13130
13493
|
static get styles() {
|
|
13131
13494
|
return [
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
tokensCss$
|
|
13495
|
+
colorCss$2$1,
|
|
13496
|
+
styleCss$2$1,
|
|
13497
|
+
tokensCss$1$1
|
|
13135
13498
|
];
|
|
13136
13499
|
}
|
|
13137
13500
|
|
|
@@ -13144,7 +13507,7 @@ class AuroDropdown extends r$5 {
|
|
|
13144
13507
|
*
|
|
13145
13508
|
*/
|
|
13146
13509
|
static register(name = "auro-dropdown") {
|
|
13147
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
|
|
13510
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
|
|
13148
13511
|
}
|
|
13149
13512
|
|
|
13150
13513
|
connectedCallback() {
|
|
@@ -13161,6 +13524,12 @@ class AuroDropdown extends r$5 {
|
|
|
13161
13524
|
if (changedProperties.has('mobileFullscreenBreakpoint')) {
|
|
13162
13525
|
this.bibContent.mobileFullscreenBreakpoint = this.mobileFullscreenBreakpoint;
|
|
13163
13526
|
}
|
|
13527
|
+
|
|
13528
|
+
// when trigger's content is changed without any attribute or node change,
|
|
13529
|
+
// `requestUpdate` needs to be called to update hasTriggerContnet
|
|
13530
|
+
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
13531
|
+
this.handleTriggerContentSlotChange();
|
|
13532
|
+
}
|
|
13164
13533
|
}
|
|
13165
13534
|
|
|
13166
13535
|
firstUpdated() {
|
|
@@ -13203,6 +13572,43 @@ class AuroDropdown extends r$5 {
|
|
|
13203
13572
|
return inCustomSlot;
|
|
13204
13573
|
}
|
|
13205
13574
|
|
|
13575
|
+
/**
|
|
13576
|
+
* Handles changes to the trigger content slot and updates related properties.
|
|
13577
|
+
*
|
|
13578
|
+
* It first updates the floater settings
|
|
13579
|
+
* Then, it retrieves the assigned nodes from the event target and checks if any of
|
|
13580
|
+
* the nodes contain non-empty text content, updating the `hasTriggerContent` property accordingly.
|
|
13581
|
+
*
|
|
13582
|
+
* @private
|
|
13583
|
+
* @method handleTriggerContentSlotChange
|
|
13584
|
+
* @param {Event} event - native slotchange event
|
|
13585
|
+
* @returns {void}
|
|
13586
|
+
*/
|
|
13587
|
+
handleTriggerContentSlotChange(event) {
|
|
13588
|
+
this.floater.handleTriggerTabIndex();
|
|
13589
|
+
|
|
13590
|
+
if (event) {
|
|
13591
|
+
this.triggerNode = event.target;
|
|
13592
|
+
this.triggerContentSlot = event.target.assignedNodes();
|
|
13593
|
+
}
|
|
13594
|
+
|
|
13595
|
+
if (this.triggerContentSlot) {
|
|
13596
|
+
this.hasTriggerContent = this.triggerContentSlot.some((slot) => {
|
|
13597
|
+
if (slot.textContent.trim()) {
|
|
13598
|
+
return true;
|
|
13599
|
+
}
|
|
13600
|
+
const slotInSlot = slot.querySelector('slot');
|
|
13601
|
+
if (!slotInSlot) {
|
|
13602
|
+
return false;
|
|
13603
|
+
}
|
|
13604
|
+
const slotsInSlotNodes = slotInSlot.assignedNodes();
|
|
13605
|
+
return slotsInSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
|
|
13606
|
+
});
|
|
13607
|
+
} else {
|
|
13608
|
+
this.hasTriggerContent = false;
|
|
13609
|
+
}
|
|
13610
|
+
}
|
|
13611
|
+
|
|
13206
13612
|
/**
|
|
13207
13613
|
* Handles the default slot change event and updates the content.
|
|
13208
13614
|
*
|
|
@@ -13225,7 +13631,7 @@ class AuroDropdown extends r$5 {
|
|
|
13225
13631
|
|
|
13226
13632
|
// function that renders the HTML and CSS into the scope of the component
|
|
13227
13633
|
render() {
|
|
13228
|
-
return u$
|
|
13634
|
+
return u$3$1`
|
|
13229
13635
|
<div>
|
|
13230
13636
|
<div
|
|
13231
13637
|
id="trigger"
|
|
@@ -13237,16 +13643,16 @@ class AuroDropdown extends r$5 {
|
|
|
13237
13643
|
tabindex="${this.tabIndex}"
|
|
13238
13644
|
>
|
|
13239
13645
|
<div class="triggerContentWrapper">
|
|
13240
|
-
<label class="label" id="triggerLabel">
|
|
13646
|
+
<label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
|
|
13241
13647
|
<slot name="label"></slot>
|
|
13242
13648
|
</label>
|
|
13243
13649
|
<div class="triggerContent">
|
|
13244
13650
|
<slot
|
|
13245
13651
|
name="trigger"
|
|
13246
|
-
@slotchange="${
|
|
13652
|
+
@slotchange="${this.handleTriggerContentSlotChange}"></slot>
|
|
13247
13653
|
</div>
|
|
13248
13654
|
</div>
|
|
13249
|
-
${this.chevron || this.common ? u$
|
|
13655
|
+
${this.chevron || this.common ? u$3$1`
|
|
13250
13656
|
<div
|
|
13251
13657
|
id="showStateIcon"
|
|
13252
13658
|
part="chevron">
|
|
@@ -13260,11 +13666,9 @@ class AuroDropdown extends r$5 {
|
|
|
13260
13666
|
</div>
|
|
13261
13667
|
` : undefined }
|
|
13262
13668
|
</div>
|
|
13263
|
-
<
|
|
13264
|
-
class="helpText"
|
|
13265
|
-
part="helpText">
|
|
13669
|
+
<auro-helptext part="helpText" ?error="${this.error}">
|
|
13266
13670
|
<slot name="helpText"></slot>
|
|
13267
|
-
</
|
|
13671
|
+
</auro-helptext>
|
|
13268
13672
|
<div class="slotContent">
|
|
13269
13673
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
13270
13674
|
</div>
|
|
@@ -13290,46 +13694,46 @@ var dropdownVersion = '3.0.0';
|
|
|
13290
13694
|
* Copyright 2017 Google LLC
|
|
13291
13695
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13292
13696
|
*/
|
|
13293
|
-
const t$
|
|
13697
|
+
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};
|
|
13294
13698
|
|
|
13295
13699
|
/**
|
|
13296
13700
|
* @license
|
|
13297
13701
|
* Copyright 2020 Google LLC
|
|
13298
13702
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13299
13703
|
*/
|
|
13300
|
-
const a$
|
|
13704
|
+
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);
|
|
13301
13705
|
|
|
13302
13706
|
/**
|
|
13303
13707
|
* @license
|
|
13304
13708
|
* Copyright 2017 Google LLC
|
|
13305
13709
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13306
13710
|
*/
|
|
13307
|
-
const t$
|
|
13711
|
+
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)}};
|
|
13308
13712
|
|
|
13309
13713
|
/**
|
|
13310
13714
|
* @license
|
|
13311
13715
|
* Copyright 2020 Google LLC
|
|
13312
13716
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13313
|
-
*/const {I:t$
|
|
13717
|
+
*/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;}};
|
|
13314
13718
|
|
|
13315
13719
|
/**
|
|
13316
13720
|
* @license
|
|
13317
13721
|
* Copyright 2017 Google LLC
|
|
13318
13722
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13319
13723
|
*/
|
|
13320
|
-
const u$
|
|
13724
|
+
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}});
|
|
13321
13725
|
|
|
13322
13726
|
/**
|
|
13323
13727
|
* @license
|
|
13324
13728
|
* Copyright 2018 Google LLC
|
|
13325
13729
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13326
|
-
*/const e$
|
|
13730
|
+
*/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}});
|
|
13327
13731
|
|
|
13328
13732
|
/**
|
|
13329
13733
|
* @license
|
|
13330
13734
|
* Copyright 2018 Google LLC
|
|
13331
13735
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13332
|
-
*/const o$
|
|
13736
|
+
*/const o$5=o=>o??E$1;
|
|
13333
13737
|
|
|
13334
13738
|
const watchedItems = new Set();
|
|
13335
13739
|
|
|
@@ -13439,25 +13843,25 @@ function stopNotifyingOnLangChange(element) {
|
|
|
13439
13843
|
* Copyright 2019 Google LLC
|
|
13440
13844
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13441
13845
|
*/
|
|
13442
|
-
const t=globalThis,e$
|
|
13846
|
+
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;
|
|
13443
13847
|
|
|
13444
13848
|
/**
|
|
13445
13849
|
* @license
|
|
13446
13850
|
* Copyright 2017 Google LLC
|
|
13447
13851
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13448
|
-
*/const{is:i$
|
|
13852
|
+
*/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");
|
|
13449
13853
|
|
|
13450
13854
|
/**
|
|
13451
13855
|
* @license
|
|
13452
13856
|
* Copyright 2017 Google LLC
|
|
13453
13857
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13454
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
13858
|
+
*/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");
|
|
13455
13859
|
|
|
13456
|
-
var styleCss$
|
|
13860
|
+
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)}`;
|
|
13457
13861
|
|
|
13458
|
-
var colorCss$
|
|
13862
|
+
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)}`;
|
|
13459
13863
|
|
|
13460
|
-
var tokensCss$
|
|
13864
|
+
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)}`;
|
|
13461
13865
|
|
|
13462
13866
|
var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
13463
13867
|
|
|
@@ -15023,7 +15427,7 @@ var Cleave_1 = Cleave;
|
|
|
15023
15427
|
|
|
15024
15428
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
15025
15429
|
|
|
15026
|
-
class AuroLibraryRuntimeUtils {
|
|
15430
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
15027
15431
|
|
|
15028
15432
|
/* eslint-disable jsdoc/require-param */
|
|
15029
15433
|
|
|
@@ -15084,7 +15488,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
15084
15488
|
|
|
15085
15489
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
15086
15490
|
}
|
|
15087
|
-
}
|
|
15491
|
+
};
|
|
15088
15492
|
|
|
15089
15493
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
15090
15494
|
// See LICENSE in the project root for license information.
|
|
@@ -15092,7 +15496,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
15092
15496
|
|
|
15093
15497
|
class AuroFormValidation {
|
|
15094
15498
|
constructor() {
|
|
15095
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
15499
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
15096
15500
|
}
|
|
15097
15501
|
|
|
15098
15502
|
/**
|
|
@@ -15120,30 +15524,87 @@ class AuroFormValidation {
|
|
|
15120
15524
|
}
|
|
15121
15525
|
|
|
15122
15526
|
/**
|
|
15123
|
-
*
|
|
15124
|
-
*
|
|
15125
|
-
* @param {
|
|
15527
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
15528
|
+
*
|
|
15529
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
15126
15530
|
* @returns {void}
|
|
15531
|
+
*
|
|
15532
|
+
* @example
|
|
15533
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
15534
|
+
* validateElementAttributes(inputElement);
|
|
15535
|
+
*
|
|
15536
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
15537
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
15538
|
+
*
|
|
15539
|
+
* Validation rules:
|
|
15540
|
+
* - input:
|
|
15541
|
+
* - length:
|
|
15542
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
15543
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
15544
|
+
* - pattern:
|
|
15545
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
15546
|
+
* - counter:
|
|
15547
|
+
* - range:
|
|
15548
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
15549
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
15127
15550
|
*/
|
|
15128
|
-
|
|
15129
|
-
|
|
15130
|
-
|
|
15131
|
-
|
|
15132
|
-
|
|
15133
|
-
|
|
15134
|
-
|
|
15551
|
+
validateElementAttributes(elem) {
|
|
15552
|
+
const validationRules = {
|
|
15553
|
+
input: {
|
|
15554
|
+
length: [
|
|
15555
|
+
{
|
|
15556
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
15557
|
+
validity: 'tooShort',
|
|
15558
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
15559
|
+
},
|
|
15560
|
+
{
|
|
15561
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
15562
|
+
validity: 'tooLong',
|
|
15563
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
15564
|
+
}
|
|
15565
|
+
],
|
|
15566
|
+
pattern: [
|
|
15567
|
+
{
|
|
15568
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
15569
|
+
validity: 'patternMismatch',
|
|
15570
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
15571
|
+
}
|
|
15572
|
+
]
|
|
15573
|
+
},
|
|
15574
|
+
counter: {
|
|
15575
|
+
range: [
|
|
15576
|
+
{
|
|
15577
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
15578
|
+
validity: 'rangeOverflow',
|
|
15579
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
15580
|
+
},
|
|
15581
|
+
{
|
|
15582
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
15583
|
+
validity: 'rangeUnderflow',
|
|
15584
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
15585
|
+
}
|
|
15586
|
+
]
|
|
15135
15587
|
}
|
|
15136
|
-
}
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
if (
|
|
15140
|
-
|
|
15141
|
-
|
|
15588
|
+
};
|
|
15589
|
+
|
|
15590
|
+
let elementType;
|
|
15591
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15592
|
+
elementType = 'input';
|
|
15593
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15594
|
+
elementType = 'counter';
|
|
15142
15595
|
}
|
|
15143
15596
|
|
|
15144
|
-
if (
|
|
15145
|
-
|
|
15146
|
-
|
|
15597
|
+
if (elementType) {
|
|
15598
|
+
const rules = validationRules[elementType];
|
|
15599
|
+
|
|
15600
|
+
if (rules) {
|
|
15601
|
+
Object.values(rules).flat().forEach(rule => {
|
|
15602
|
+
if (rule.check(elem)) {
|
|
15603
|
+
elem.validity = rule.validity;
|
|
15604
|
+
elem.errorMessage = rule.message(elem);
|
|
15605
|
+
}
|
|
15606
|
+
});
|
|
15607
|
+
}
|
|
15147
15608
|
}
|
|
15148
15609
|
}
|
|
15149
15610
|
|
|
@@ -15253,7 +15714,9 @@ class AuroFormValidation {
|
|
|
15253
15714
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
15254
15715
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15255
15716
|
this.validateType(elem);
|
|
15256
|
-
this.
|
|
15717
|
+
this.validateElementAttributes(elem);
|
|
15718
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15719
|
+
this.validateElementAttributes(elem);
|
|
15257
15720
|
}
|
|
15258
15721
|
}
|
|
15259
15722
|
|
|
@@ -15348,41 +15811,8 @@ class AuroFormValidation {
|
|
|
15348
15811
|
/**
|
|
15349
15812
|
* Auro-input provides users a way to enter data into a text field.
|
|
15350
15813
|
*
|
|
15351
|
-
* @attr {Boolean} activeLabel - If set, the label will remain fixed in the active position.
|
|
15352
|
-
* @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]
|
|
15353
|
-
* @attr {String} autocomplete - An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
15354
|
-
* @attr {String} autocorrect - When set to `off`, stops iOS from auto correcting words when typed into a text box.
|
|
15355
15814
|
* @attr {Boolean} bordered - Applies bordered UI variant.
|
|
15356
15815
|
* @attr {Boolean} borderless - Applies borderless UI variant.
|
|
15357
|
-
* @attr {Boolean} disabled - If set, disables the input.
|
|
15358
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
15359
|
-
* @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.
|
|
15360
|
-
* @attr {String} id - Sets the unique ID of the element.
|
|
15361
|
-
* @attr {String} lang - defines the language of an element.
|
|
15362
|
-
* @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
15363
|
-
* @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.
|
|
15364
|
-
* @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
15365
|
-
* @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`.
|
|
15366
|
-
* @attr {String} name - Populates the `name` attribute on the input.
|
|
15367
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
15368
|
-
* @attr {Boolean} readonly - Makes the input read-only, but can be set programmatically.
|
|
15369
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
15370
|
-
* @attr {String} pattern - Specifies a regular expression the form control's value should match.
|
|
15371
|
-
* @attr {String} placeholder - Define custom placeholder text, only supported by date input formats.
|
|
15372
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validity states.
|
|
15373
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
15374
|
-
* @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
|
|
15375
|
-
* @attr {String} setCustomValidityPatternMismatch - Custom help text message to display when validity = `patternMismatch`.
|
|
15376
|
-
* @attr {String} setCustomValidityTooShort - Custom help text message to display when validity = `tooShort`.
|
|
15377
|
-
* @attr {String} setCustomValidityTooLong - Custom help text message to display when validity = `tooLong`.
|
|
15378
|
-
* @attr {String} setCustomValidityForType - Custom help text message to display for the declared element `type` and type validity fails.
|
|
15379
|
-
* @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
|
|
15380
|
-
* @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
|
|
15381
|
-
* @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`.
|
|
15382
|
-
* @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`.
|
|
15383
|
-
* @attr {Boolean} validateOnInput - Sets validation mode to re-eval with each input.
|
|
15384
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
15385
|
-
* @attr {String} value - Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
15386
15816
|
*
|
|
15387
15817
|
* @slot helptext - Sets the help text displayed below the input.
|
|
15388
15818
|
* @slot label - Sets the label text for the input.
|
|
@@ -15396,7 +15826,7 @@ class AuroFormValidation {
|
|
|
15396
15826
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
15397
15827
|
*/
|
|
15398
15828
|
|
|
15399
|
-
class BaseInput extends r {
|
|
15829
|
+
class BaseInput extends r$4 {
|
|
15400
15830
|
|
|
15401
15831
|
constructor() {
|
|
15402
15832
|
super();
|
|
@@ -15474,115 +15904,318 @@ class BaseInput extends r {
|
|
|
15474
15904
|
.substring(idSubstrStart, idSubstrEnd);
|
|
15475
15905
|
}
|
|
15476
15906
|
|
|
15477
|
-
// function to define props used within the scope of this
|
|
15907
|
+
// function to define props used within the scope of this componentstatic
|
|
15478
15908
|
static get properties() {
|
|
15479
15909
|
return {
|
|
15480
|
-
|
|
15481
|
-
|
|
15482
|
-
|
|
15483
|
-
|
|
15484
|
-
|
|
15485
|
-
|
|
15486
|
-
pattern: {
|
|
15487
|
-
type: String,
|
|
15910
|
+
|
|
15911
|
+
/**
|
|
15912
|
+
* If set, the label will remain fixed in the active position.
|
|
15913
|
+
*/
|
|
15914
|
+
activeLabel: {
|
|
15915
|
+
type: Boolean,
|
|
15488
15916
|
reflect: true
|
|
15489
15917
|
},
|
|
15490
|
-
|
|
15491
|
-
|
|
15492
|
-
|
|
15493
|
-
|
|
15494
|
-
|
|
15495
|
-
|
|
15496
|
-
|
|
15497
|
-
|
|
15918
|
+
|
|
15919
|
+
/**
|
|
15920
|
+
* 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]
|
|
15921
|
+
*/
|
|
15922
|
+
autocapitalize: {
|
|
15923
|
+
type: String
|
|
15924
|
+
},
|
|
15925
|
+
|
|
15926
|
+
/**
|
|
15927
|
+
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
15928
|
+
*/
|
|
15929
|
+
autocomplete: {
|
|
15498
15930
|
type: String,
|
|
15499
15931
|
reflect: true
|
|
15500
15932
|
},
|
|
15501
|
-
|
|
15502
|
-
|
|
15503
|
-
|
|
15504
|
-
|
|
15933
|
+
|
|
15934
|
+
/**
|
|
15935
|
+
* When set to `off`, stops iOS from auto-correcting words when typed into a text box.
|
|
15936
|
+
*/
|
|
15937
|
+
autocorrect: {
|
|
15938
|
+
type: String
|
|
15505
15939
|
},
|
|
15506
|
-
max: { type: String },
|
|
15507
|
-
min: { type: String },
|
|
15508
|
-
maxLength: { type: Number },
|
|
15509
|
-
minLength: { type: Number },
|
|
15510
15940
|
|
|
15511
15941
|
/**
|
|
15512
|
-
*
|
|
15942
|
+
* If set, disables the input.
|
|
15513
15943
|
*/
|
|
15514
|
-
|
|
15515
|
-
|
|
15516
|
-
readonly: { type: Boolean },
|
|
15517
|
-
error: {
|
|
15518
|
-
type: String,
|
|
15519
|
-
reflect: true
|
|
15944
|
+
disabled: {
|
|
15945
|
+
type: Boolean
|
|
15520
15946
|
},
|
|
15521
|
-
|
|
15947
|
+
|
|
15948
|
+
error: {
|
|
15522
15949
|
type: String,
|
|
15523
15950
|
reflect: true
|
|
15524
15951
|
},
|
|
15525
|
-
setCustomValidity: { type: String },
|
|
15526
|
-
setCustomValidityCustomError: { type: String },
|
|
15527
|
-
setCustomValidityValueMissing: { type: String },
|
|
15528
|
-
setCustomValidityPatternMismatch: { type: String },
|
|
15529
|
-
setCustomValidityTooShort: { type: String },
|
|
15530
|
-
setCustomValidityTooLong: { type: String },
|
|
15531
|
-
setCustomValidityRangeOverflow: { type: String },
|
|
15532
|
-
setCustomValidityRangeUnderflow: { type: String }
|
|
15533
|
-
};
|
|
15534
|
-
}
|
|
15535
15952
|
|
|
15536
|
-
|
|
15537
|
-
|
|
15538
|
-
|
|
15539
|
-
|
|
15540
|
-
|
|
15541
|
-
|
|
15542
|
-
}
|
|
15953
|
+
/**
|
|
15954
|
+
* Contains the help text message for the current validity error.
|
|
15955
|
+
*/
|
|
15956
|
+
errorMessage: {
|
|
15957
|
+
type: String
|
|
15958
|
+
},
|
|
15543
15959
|
|
|
15544
|
-
|
|
15545
|
-
|
|
15960
|
+
/**
|
|
15961
|
+
* 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.
|
|
15962
|
+
*/
|
|
15963
|
+
icon: {
|
|
15964
|
+
type: Boolean
|
|
15965
|
+
},
|
|
15546
15966
|
|
|
15547
|
-
|
|
15967
|
+
/**
|
|
15968
|
+
* Sets the unique ID of the element.
|
|
15969
|
+
*/
|
|
15970
|
+
id: {
|
|
15971
|
+
type: String
|
|
15972
|
+
},
|
|
15548
15973
|
|
|
15549
|
-
|
|
15974
|
+
/**
|
|
15975
|
+
* Defines the language of an element.
|
|
15976
|
+
*/
|
|
15977
|
+
lang: {
|
|
15978
|
+
type: String
|
|
15979
|
+
},
|
|
15550
15980
|
|
|
15551
|
-
|
|
15552
|
-
|
|
15553
|
-
|
|
15981
|
+
/**
|
|
15982
|
+
* The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
15983
|
+
*/
|
|
15984
|
+
max: {
|
|
15985
|
+
type: String
|
|
15986
|
+
},
|
|
15554
15987
|
|
|
15555
|
-
|
|
15556
|
-
|
|
15557
|
-
|
|
15558
|
-
|
|
15559
|
-
|
|
15560
|
-
|
|
15561
|
-
};
|
|
15988
|
+
/**
|
|
15989
|
+
* The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
|
|
15990
|
+
*/
|
|
15991
|
+
maxLength: {
|
|
15992
|
+
type: Number
|
|
15993
|
+
},
|
|
15562
15994
|
|
|
15563
|
-
|
|
15995
|
+
/**
|
|
15996
|
+
* The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
15997
|
+
*/
|
|
15998
|
+
min: {
|
|
15999
|
+
type: String
|
|
16000
|
+
},
|
|
15564
16001
|
|
|
15565
|
-
|
|
16002
|
+
/**
|
|
16003
|
+
* 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`.
|
|
16004
|
+
*/
|
|
16005
|
+
minLength: {
|
|
16006
|
+
type: Number
|
|
16007
|
+
},
|
|
15566
16008
|
|
|
15567
|
-
|
|
15568
|
-
|
|
15569
|
-
|
|
15570
|
-
|
|
16009
|
+
/**
|
|
16010
|
+
* Populates the `name` attribute on the input.
|
|
16011
|
+
*/
|
|
16012
|
+
name: {
|
|
16013
|
+
type: String
|
|
16014
|
+
},
|
|
15571
16015
|
|
|
15572
|
-
|
|
16016
|
+
/**
|
|
16017
|
+
* If set, disables auto-validation on blur.
|
|
16018
|
+
*/
|
|
16019
|
+
noValidate: {
|
|
16020
|
+
type: Boolean
|
|
16021
|
+
},
|
|
15573
16022
|
|
|
15574
|
-
|
|
16023
|
+
/**
|
|
16024
|
+
* Specifies a regular expression the form control's value should match.
|
|
16025
|
+
*/
|
|
16026
|
+
pattern: {
|
|
16027
|
+
type: String,
|
|
16028
|
+
reflect: true
|
|
16029
|
+
},
|
|
15575
16030
|
|
|
15576
|
-
|
|
15577
|
-
|
|
15578
|
-
|
|
15579
|
-
|
|
15580
|
-
|
|
15581
|
-
|
|
15582
|
-
|
|
15583
|
-
|
|
15584
|
-
|
|
15585
|
-
|
|
16031
|
+
/**
|
|
16032
|
+
* Define custom placeholder text, only supported by date input formats.
|
|
16033
|
+
*/
|
|
16034
|
+
placeholder: {
|
|
16035
|
+
type: String
|
|
16036
|
+
},
|
|
16037
|
+
|
|
16038
|
+
/**
|
|
16039
|
+
* Makes the input read-only, but can be set programmatically.
|
|
16040
|
+
*/
|
|
16041
|
+
readonly: {
|
|
16042
|
+
type: Boolean
|
|
16043
|
+
},
|
|
16044
|
+
|
|
16045
|
+
/**
|
|
16046
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
16047
|
+
*/
|
|
16048
|
+
required: {
|
|
16049
|
+
type: Boolean
|
|
16050
|
+
},
|
|
16051
|
+
|
|
16052
|
+
/**
|
|
16053
|
+
* @ignore
|
|
16054
|
+
*/
|
|
16055
|
+
showPassword: {
|
|
16056
|
+
state: true
|
|
16057
|
+
},
|
|
16058
|
+
|
|
16059
|
+
/**
|
|
16060
|
+
* Sets a custom help text message to display for all validityStates.
|
|
16061
|
+
*/
|
|
16062
|
+
setCustomValidity: {
|
|
16063
|
+
type: String
|
|
16064
|
+
},
|
|
16065
|
+
|
|
16066
|
+
/**
|
|
16067
|
+
* Custom help text message to display when validity = `badInput`.
|
|
16068
|
+
*/
|
|
16069
|
+
setCustomValidityBadInput: {
|
|
16070
|
+
type: String
|
|
16071
|
+
},
|
|
16072
|
+
|
|
16073
|
+
/**
|
|
16074
|
+
* Custom help text message to display when validity = `customError`.
|
|
16075
|
+
*/
|
|
16076
|
+
setCustomValidityCustomError: {
|
|
16077
|
+
type: String
|
|
16078
|
+
},
|
|
16079
|
+
|
|
16080
|
+
/**
|
|
16081
|
+
* Custom help text message to display for the declared element `type` and type validity fails.
|
|
16082
|
+
*/
|
|
16083
|
+
setCustomValidityForType: {
|
|
16084
|
+
type: String
|
|
16085
|
+
},
|
|
16086
|
+
|
|
16087
|
+
/**
|
|
16088
|
+
* Custom help text message to display when validity = `rangeOverflow`.
|
|
16089
|
+
*/
|
|
16090
|
+
setCustomValidityRangeOverflow: {
|
|
16091
|
+
type: String
|
|
16092
|
+
},
|
|
16093
|
+
|
|
16094
|
+
/**
|
|
16095
|
+
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
16096
|
+
*/
|
|
16097
|
+
setCustomValidityRangeUnderflow: {
|
|
16098
|
+
type: String
|
|
16099
|
+
},
|
|
16100
|
+
|
|
16101
|
+
/**
|
|
16102
|
+
* Custom help text message to display when validity = `tooLong`.
|
|
16103
|
+
*/
|
|
16104
|
+
setCustomValidityTooLong: {
|
|
16105
|
+
type: String
|
|
16106
|
+
},
|
|
16107
|
+
|
|
16108
|
+
/**
|
|
16109
|
+
* Custom help text message to display when validity = `tooShort`.
|
|
16110
|
+
*/
|
|
16111
|
+
setCustomValidityTooShort: {
|
|
16112
|
+
type: String
|
|
16113
|
+
},
|
|
16114
|
+
|
|
16115
|
+
/**
|
|
16116
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
16117
|
+
*/
|
|
16118
|
+
setCustomValidityValueMissing: {
|
|
16119
|
+
type: String
|
|
16120
|
+
},
|
|
16121
|
+
|
|
16122
|
+
/**
|
|
16123
|
+
* Custom help text message for email type validity.
|
|
16124
|
+
*/
|
|
16125
|
+
customValidityTypeEmail: {
|
|
16126
|
+
type: String
|
|
16127
|
+
},
|
|
16128
|
+
|
|
16129
|
+
/**
|
|
16130
|
+
* 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`.
|
|
16131
|
+
*/
|
|
16132
|
+
spellcheck: {
|
|
16133
|
+
type: String
|
|
16134
|
+
},
|
|
16135
|
+
|
|
16136
|
+
/**
|
|
16137
|
+
* 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`.
|
|
16138
|
+
*/
|
|
16139
|
+
type: {
|
|
16140
|
+
type: String,
|
|
16141
|
+
reflect: true
|
|
16142
|
+
},
|
|
16143
|
+
|
|
16144
|
+
/**
|
|
16145
|
+
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
16146
|
+
*/
|
|
16147
|
+
value: {
|
|
16148
|
+
type: String
|
|
16149
|
+
},
|
|
16150
|
+
|
|
16151
|
+
/**
|
|
16152
|
+
* Sets validation mode to re-eval with each input.
|
|
16153
|
+
*/
|
|
16154
|
+
validateOnInput: {
|
|
16155
|
+
type: Boolean
|
|
16156
|
+
},
|
|
16157
|
+
|
|
16158
|
+
/**
|
|
16159
|
+
* Specifies the `validityState` this element is in.
|
|
16160
|
+
*/
|
|
16161
|
+
validity: {
|
|
16162
|
+
type: String,
|
|
16163
|
+
reflect: true
|
|
16164
|
+
}
|
|
16165
|
+
};
|
|
16166
|
+
}
|
|
16167
|
+
|
|
16168
|
+
|
|
16169
|
+
static get styles() {
|
|
16170
|
+
return [
|
|
16171
|
+
i$6`${colorCss$4}`,
|
|
16172
|
+
i$6`${styleCss$4}`,
|
|
16173
|
+
i$6`${tokensCss$4}`
|
|
16174
|
+
];
|
|
16175
|
+
}
|
|
16176
|
+
|
|
16177
|
+
connectedCallback() {
|
|
16178
|
+
super.connectedCallback();
|
|
16179
|
+
|
|
16180
|
+
this.privateDefaults();
|
|
16181
|
+
|
|
16182
|
+
notifyOnLangChange(this);
|
|
16183
|
+
|
|
16184
|
+
// Process auto-formatting if defined for CleaveJS
|
|
16185
|
+
if (this.type) {
|
|
16186
|
+
let config = null;
|
|
16187
|
+
|
|
16188
|
+
// Set config for credit card
|
|
16189
|
+
switch (this.type) {
|
|
16190
|
+
case 'number':
|
|
16191
|
+
config = {
|
|
16192
|
+
numeral: true,
|
|
16193
|
+
delimiter: ''
|
|
16194
|
+
};
|
|
16195
|
+
|
|
16196
|
+
this.inputMode = 'numeric';
|
|
16197
|
+
|
|
16198
|
+
break;
|
|
16199
|
+
|
|
16200
|
+
case 'credit-card':
|
|
16201
|
+
config = {
|
|
16202
|
+
creditCard: true
|
|
16203
|
+
};
|
|
16204
|
+
|
|
16205
|
+
this.inputMode = 'numeric';
|
|
16206
|
+
|
|
16207
|
+
break;
|
|
16208
|
+
|
|
16209
|
+
case 'month-day-year':
|
|
16210
|
+
config = {
|
|
16211
|
+
date: true,
|
|
16212
|
+
delimiter: '/',
|
|
16213
|
+
datePattern: [
|
|
16214
|
+
'm',
|
|
16215
|
+
'd',
|
|
16216
|
+
'Y'
|
|
16217
|
+
]
|
|
16218
|
+
};
|
|
15586
16219
|
|
|
15587
16220
|
this.inputMode = 'numeric';
|
|
15588
16221
|
|
|
@@ -15806,7 +16439,7 @@ class BaseInput extends r {
|
|
|
15806
16439
|
}
|
|
15807
16440
|
|
|
15808
16441
|
if (changedProperties.has('error')) {
|
|
15809
|
-
this.
|
|
16442
|
+
this.validate(true);
|
|
15810
16443
|
}
|
|
15811
16444
|
|
|
15812
16445
|
if (changedProperties.has('validity')) {
|
|
@@ -15998,11 +16631,11 @@ class BaseInput extends r {
|
|
|
15998
16631
|
}
|
|
15999
16632
|
|
|
16000
16633
|
/**
|
|
16001
|
-
*
|
|
16002
|
-
* @
|
|
16634
|
+
* Validates value.
|
|
16635
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
16003
16636
|
*/
|
|
16004
|
-
validate() {
|
|
16005
|
-
this.validation.validate(this);
|
|
16637
|
+
validate(force = false) {
|
|
16638
|
+
this.validation.validate(this, force);
|
|
16006
16639
|
}
|
|
16007
16640
|
|
|
16008
16641
|
/**
|
|
@@ -16110,7 +16743,7 @@ class BaseInput extends r {
|
|
|
16110
16743
|
return !this.placeholder ? 'MM' : this.placeholder;
|
|
16111
16744
|
}
|
|
16112
16745
|
|
|
16113
|
-
return o$
|
|
16746
|
+
return o$5(this.placeholder);
|
|
16114
16747
|
}
|
|
16115
16748
|
|
|
16116
16749
|
/**
|
|
@@ -16287,7 +16920,7 @@ class AuroDependencyVersioning {
|
|
|
16287
16920
|
*/
|
|
16288
16921
|
generateTag(baseName, version, tagClass) {
|
|
16289
16922
|
const elementName = this.generateElementName(baseName, version);
|
|
16290
|
-
const tag = i$
|
|
16923
|
+
const tag = i$8`${s$4(elementName)}`;
|
|
16291
16924
|
|
|
16292
16925
|
if (!customElements.get(elementName)) {
|
|
16293
16926
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -16307,7 +16940,7 @@ class AuroDependencyVersioning {
|
|
|
16307
16940
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
16308
16941
|
*/
|
|
16309
16942
|
|
|
16310
|
-
class AuroElement extends r {
|
|
16943
|
+
class AuroElement extends r$4 {
|
|
16311
16944
|
|
|
16312
16945
|
// function to define props used within the scope of this component
|
|
16313
16946
|
static get properties() {
|
|
@@ -16363,7 +16996,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
16363
16996
|
return _fetchMap.get(uri);
|
|
16364
16997
|
};
|
|
16365
16998
|
|
|
16366
|
-
var styleCss$
|
|
16999
|
+
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}`;
|
|
16367
17000
|
|
|
16368
17001
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
16369
17002
|
// See LICENSE in the project root for license information.
|
|
@@ -16402,8 +17035,8 @@ class BaseIcon extends AuroElement {
|
|
|
16402
17035
|
}
|
|
16403
17036
|
|
|
16404
17037
|
static get styles() {
|
|
16405
|
-
return i$
|
|
16406
|
-
${styleCss$
|
|
17038
|
+
return i$6`
|
|
17039
|
+
${styleCss$3}
|
|
16407
17040
|
`;
|
|
16408
17041
|
}
|
|
16409
17042
|
|
|
@@ -16444,9 +17077,9 @@ class BaseIcon extends AuroElement {
|
|
|
16444
17077
|
}
|
|
16445
17078
|
}
|
|
16446
17079
|
|
|
16447
|
-
var tokensCss$
|
|
17080
|
+
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)}`;
|
|
16448
17081
|
|
|
16449
|
-
var colorCss$
|
|
17082
|
+
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)}`;
|
|
16450
17083
|
|
|
16451
17084
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
16452
17085
|
// See LICENSE in the project root for license information.
|
|
@@ -16508,7 +17141,7 @@ class AuroIcon extends BaseIcon {
|
|
|
16508
17141
|
this.success = false;
|
|
16509
17142
|
this.tertiary = false;
|
|
16510
17143
|
this.warning = false;
|
|
16511
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
17144
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
16512
17145
|
}
|
|
16513
17146
|
|
|
16514
17147
|
// function to define props used within the scope of this component
|
|
@@ -16590,9 +17223,9 @@ class AuroIcon extends BaseIcon {
|
|
|
16590
17223
|
static get styles() {
|
|
16591
17224
|
return [
|
|
16592
17225
|
super.styles,
|
|
16593
|
-
i$
|
|
16594
|
-
i$
|
|
16595
|
-
i$
|
|
17226
|
+
i$6`${tokensCss$3}`,
|
|
17227
|
+
i$6`${styleCss$3}`,
|
|
17228
|
+
i$6`${colorCss$3}`
|
|
16596
17229
|
];
|
|
16597
17230
|
}
|
|
16598
17231
|
|
|
@@ -16605,7 +17238,7 @@ class AuroIcon extends BaseIcon {
|
|
|
16605
17238
|
*
|
|
16606
17239
|
*/
|
|
16607
17240
|
static register(name = "auro-icon") {
|
|
16608
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
17241
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
16609
17242
|
}
|
|
16610
17243
|
|
|
16611
17244
|
connectedCallback() {
|
|
@@ -16634,20 +17267,20 @@ class AuroIcon extends BaseIcon {
|
|
|
16634
17267
|
'wrapper': true,
|
|
16635
17268
|
};
|
|
16636
17269
|
|
|
16637
|
-
return x`
|
|
17270
|
+
return x$1`
|
|
16638
17271
|
<div
|
|
16639
|
-
class="${e$
|
|
16640
|
-
title="${o$
|
|
16641
|
-
<span aria-hidden="${o$
|
|
16642
|
-
${this.customSvg ? x`
|
|
17272
|
+
class="${e$5(classes)}"
|
|
17273
|
+
title="${o$5(this.title || undefined)}">
|
|
17274
|
+
<span aria-hidden="${o$5(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
17275
|
+
${this.customSvg ? x$1`
|
|
16643
17276
|
<slot name="svg"></slot>
|
|
16644
|
-
` : x`
|
|
17277
|
+
` : x$1`
|
|
16645
17278
|
${this.svg}
|
|
16646
17279
|
`
|
|
16647
17280
|
}
|
|
16648
17281
|
</span>
|
|
16649
17282
|
|
|
16650
|
-
<div class="${e$
|
|
17283
|
+
<div class="${e$5(a11y)}">
|
|
16651
17284
|
<slot></slot>
|
|
16652
17285
|
</div>
|
|
16653
17286
|
</div>
|
|
@@ -16657,17 +17290,17 @@ class AuroIcon extends BaseIcon {
|
|
|
16657
17290
|
|
|
16658
17291
|
var iconVersion = '6.1.2';
|
|
16659
17292
|
|
|
16660
|
-
var styleCss$
|
|
17293
|
+
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}`;
|
|
16661
17294
|
|
|
16662
|
-
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}`;
|
|
17295
|
+
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}`;
|
|
16663
17296
|
|
|
16664
|
-
var tokensCss$
|
|
17297
|
+
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}`;
|
|
16665
17298
|
|
|
16666
|
-
var styleCss = i$
|
|
17299
|
+
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}}`;
|
|
16667
17300
|
|
|
16668
|
-
var colorCss = i$
|
|
17301
|
+
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}`;
|
|
16669
17302
|
|
|
16670
|
-
var tokensCss = i$
|
|
17303
|
+
var tokensCss$1 = i$6`:host{--ds-auro-loader-background-color: currentcolor;--ds-auro-loader-border-color: currentcolor;--ds-auro-loader-color: currentcolor}`;
|
|
16671
17304
|
|
|
16672
17305
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
16673
17306
|
// See LICENSE in the project root for license information.
|
|
@@ -16692,7 +17325,7 @@ var tokensCss = i$2`:host{--ds-auro-loader-background-color: currentcolor;--ds-a
|
|
|
16692
17325
|
*/
|
|
16693
17326
|
|
|
16694
17327
|
// build the component class
|
|
16695
|
-
class AuroLoader extends r {
|
|
17328
|
+
class AuroLoader extends r$4 {
|
|
16696
17329
|
constructor() {
|
|
16697
17330
|
super();
|
|
16698
17331
|
|
|
@@ -16714,7 +17347,7 @@ class AuroLoader extends r {
|
|
|
16714
17347
|
/**
|
|
16715
17348
|
* @private
|
|
16716
17349
|
*/
|
|
16717
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
17350
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
16718
17351
|
|
|
16719
17352
|
this.orbit = false;
|
|
16720
17353
|
this.ringworm = false;
|
|
@@ -16746,9 +17379,9 @@ class AuroLoader extends r {
|
|
|
16746
17379
|
|
|
16747
17380
|
static get styles() {
|
|
16748
17381
|
return [
|
|
16749
|
-
i$
|
|
16750
|
-
i$
|
|
16751
|
-
i$
|
|
17382
|
+
i$6`${styleCss$1}`,
|
|
17383
|
+
i$6`${colorCss$1}`,
|
|
17384
|
+
i$6`${tokensCss$1}`
|
|
16752
17385
|
];
|
|
16753
17386
|
}
|
|
16754
17387
|
|
|
@@ -16761,7 +17394,7 @@ class AuroLoader extends r {
|
|
|
16761
17394
|
*
|
|
16762
17395
|
*/
|
|
16763
17396
|
static register(name = "auro-loader") {
|
|
16764
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroLoader);
|
|
17397
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
|
|
16765
17398
|
}
|
|
16766
17399
|
|
|
16767
17400
|
firstUpdated() {
|
|
@@ -16794,14 +17427,14 @@ class AuroLoader extends r {
|
|
|
16794
17427
|
|
|
16795
17428
|
// function that renders the HTML and CSS into the scope of the component
|
|
16796
17429
|
render() {
|
|
16797
|
-
return x`
|
|
16798
|
-
${this.defineTemplate().map((idx) => x`
|
|
17430
|
+
return x$1`
|
|
17431
|
+
${this.defineTemplate().map((idx) => x$1`
|
|
16799
17432
|
<span part="element" class="loader node-${idx}"></span>
|
|
16800
17433
|
`)}
|
|
16801
17434
|
|
|
16802
17435
|
<div class="no-animation">Loading...</div>
|
|
16803
17436
|
|
|
16804
|
-
${this.ringworm ? x`
|
|
17437
|
+
${this.ringworm ? x$1`
|
|
16805
17438
|
<svg part="element" class="circular" viewBox="25 25 50 50">
|
|
16806
17439
|
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
|
|
16807
17440
|
</svg>`
|
|
@@ -16847,7 +17480,7 @@ var loaderVersion = '3.1.1';
|
|
|
16847
17480
|
|
|
16848
17481
|
/* eslint-disable lit/no-invalid-html, lit/binding-positions */
|
|
16849
17482
|
|
|
16850
|
-
class AuroButton extends r {
|
|
17483
|
+
class AuroButton extends r$4 {
|
|
16851
17484
|
|
|
16852
17485
|
constructor() {
|
|
16853
17486
|
super();
|
|
@@ -16876,9 +17509,9 @@ class AuroButton extends r {
|
|
|
16876
17509
|
|
|
16877
17510
|
static get styles() {
|
|
16878
17511
|
return [
|
|
16879
|
-
tokensCss$
|
|
16880
|
-
styleCss$
|
|
16881
|
-
colorCss$
|
|
17512
|
+
tokensCss$2,
|
|
17513
|
+
styleCss$2,
|
|
17514
|
+
colorCss$2
|
|
16882
17515
|
];
|
|
16883
17516
|
}
|
|
16884
17517
|
|
|
@@ -16961,7 +17594,7 @@ class AuroButton extends r {
|
|
|
16961
17594
|
*
|
|
16962
17595
|
*/
|
|
16963
17596
|
static register(name = "auro-button") {
|
|
16964
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroButton);
|
|
17597
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
|
|
16965
17598
|
}
|
|
16966
17599
|
|
|
16967
17600
|
/**
|
|
@@ -17015,27 +17648,27 @@ class AuroButton extends r {
|
|
|
17015
17648
|
'loading': this.loading
|
|
17016
17649
|
};
|
|
17017
17650
|
|
|
17018
|
-
return u$
|
|
17651
|
+
return u$5`
|
|
17019
17652
|
<button
|
|
17020
17653
|
part="button"
|
|
17021
|
-
aria-label="${o$
|
|
17022
|
-
aria-labelledby="${o$
|
|
17654
|
+
aria-label="${o$5(this.arialabel ? this.arialabel : undefined)}"
|
|
17655
|
+
aria-labelledby="${o$5(this.arialabelledby ? this.arialabelledby : undefined)}"
|
|
17023
17656
|
?autofocus="${this.autofocus}"
|
|
17024
|
-
class="${e$
|
|
17657
|
+
class="${e$5(classes)}"
|
|
17025
17658
|
?disabled="${this.disabled || this.loading}"
|
|
17026
17659
|
?onDark="${this.onDark}"
|
|
17027
|
-
title="${o$
|
|
17028
|
-
name="${o$
|
|
17029
|
-
type="${o$
|
|
17030
|
-
variant="${o$
|
|
17031
|
-
.value="${o$
|
|
17660
|
+
title="${o$5(this.title ? this.title : undefined)}"
|
|
17661
|
+
name="${o$5(this.name ? this.name : undefined)}"
|
|
17662
|
+
type="${o$5(this.type ? this.type : undefined)}"
|
|
17663
|
+
variant="${o$5(this.variant ? this.variant : undefined)}"
|
|
17664
|
+
.value="${o$5(this.value ? this.value : undefined)}"
|
|
17032
17665
|
@click="${() => {}}"
|
|
17033
17666
|
>
|
|
17034
|
-
${o$
|
|
17667
|
+
${o$5(this.loading ? u$5`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
17035
17668
|
|
|
17036
17669
|
<span class="contentWrapper">
|
|
17037
17670
|
<span class="textSlot" part="text">
|
|
17038
|
-
${this.iconOnly ? undefined : u$
|
|
17671
|
+
${this.iconOnly ? undefined : u$5`<slot></slot>`}
|
|
17039
17672
|
</span>
|
|
17040
17673
|
|
|
17041
17674
|
<span part="icon">
|
|
@@ -17049,6 +17682,229 @@ class AuroButton extends r {
|
|
|
17049
17682
|
|
|
17050
17683
|
var buttonVersion = '8.2.2';
|
|
17051
17684
|
|
|
17685
|
+
/**
|
|
17686
|
+
* @license
|
|
17687
|
+
* Copyright 2019 Google LLC
|
|
17688
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17689
|
+
*/
|
|
17690
|
+
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;
|
|
17691
|
+
|
|
17692
|
+
/**
|
|
17693
|
+
* @license
|
|
17694
|
+
* Copyright 2017 Google LLC
|
|
17695
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17696
|
+
*/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");
|
|
17697
|
+
|
|
17698
|
+
/**
|
|
17699
|
+
* @license
|
|
17700
|
+
* Copyright 2017 Google LLC
|
|
17701
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17702
|
+
*/
|
|
17703
|
+
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};
|
|
17704
|
+
|
|
17705
|
+
/**
|
|
17706
|
+
* @license
|
|
17707
|
+
* Copyright 2017 Google LLC
|
|
17708
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17709
|
+
*/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");
|
|
17710
|
+
|
|
17711
|
+
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)}`;
|
|
17712
|
+
|
|
17713
|
+
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}`;
|
|
17714
|
+
|
|
17715
|
+
var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
17716
|
+
|
|
17717
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
17718
|
+
// See LICENSE in the project root for license information.
|
|
17719
|
+
|
|
17720
|
+
// ---------------------------------------------------------------------
|
|
17721
|
+
|
|
17722
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
17723
|
+
|
|
17724
|
+
class AuroLibraryRuntimeUtils {
|
|
17725
|
+
|
|
17726
|
+
/* eslint-disable jsdoc/require-param */
|
|
17727
|
+
|
|
17728
|
+
/**
|
|
17729
|
+
* This will register a new custom element with the browser.
|
|
17730
|
+
* @param {String} name - The name of the custom element.
|
|
17731
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
17732
|
+
* @returns {void}
|
|
17733
|
+
*/
|
|
17734
|
+
registerComponent(name, componentClass) {
|
|
17735
|
+
if (!customElements.get(name)) {
|
|
17736
|
+
customElements.define(name, class extends componentClass {});
|
|
17737
|
+
}
|
|
17738
|
+
}
|
|
17739
|
+
|
|
17740
|
+
/**
|
|
17741
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
17742
|
+
* @returns {void}
|
|
17743
|
+
*/
|
|
17744
|
+
closestElement(
|
|
17745
|
+
selector, // selector like in .closest()
|
|
17746
|
+
base = this, // extra functionality to skip a parent
|
|
17747
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
17748
|
+
!el || el === document || el === window
|
|
17749
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
17750
|
+
: found
|
|
17751
|
+
? found // found a selector INside this element
|
|
17752
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
17753
|
+
) {
|
|
17754
|
+
return __Closest(base);
|
|
17755
|
+
}
|
|
17756
|
+
/* eslint-enable jsdoc/require-param */
|
|
17757
|
+
|
|
17758
|
+
/**
|
|
17759
|
+
* 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.
|
|
17760
|
+
* @param {Object} elem - The element to check.
|
|
17761
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
17762
|
+
* @returns {void}
|
|
17763
|
+
*/
|
|
17764
|
+
handleComponentTagRename(elem, tagName) {
|
|
17765
|
+
const tag = tagName.toLowerCase();
|
|
17766
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
17767
|
+
|
|
17768
|
+
if (elemTag !== tag) {
|
|
17769
|
+
elem.setAttribute(tag, true);
|
|
17770
|
+
}
|
|
17771
|
+
}
|
|
17772
|
+
|
|
17773
|
+
/**
|
|
17774
|
+
* Validates if an element is a specific Auro component.
|
|
17775
|
+
* @param {Object} elem - The element to validate.
|
|
17776
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
17777
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
17778
|
+
*/
|
|
17779
|
+
elementMatch(elem, tagName) {
|
|
17780
|
+
const tag = tagName.toLowerCase();
|
|
17781
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
17782
|
+
|
|
17783
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
17784
|
+
}
|
|
17785
|
+
}
|
|
17786
|
+
|
|
17787
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
17788
|
+
// See LICENSE in the project root for license information.
|
|
17789
|
+
|
|
17790
|
+
|
|
17791
|
+
/**
|
|
17792
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
17793
|
+
*
|
|
17794
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
17795
|
+
*/
|
|
17796
|
+
class AuroHelpText extends r {
|
|
17797
|
+
|
|
17798
|
+
constructor() {
|
|
17799
|
+
super();
|
|
17800
|
+
|
|
17801
|
+
this.error = false;
|
|
17802
|
+
this.hasTextContent = false;
|
|
17803
|
+
}
|
|
17804
|
+
|
|
17805
|
+
static get styles() {
|
|
17806
|
+
return [
|
|
17807
|
+
colorCss,
|
|
17808
|
+
styleCss,
|
|
17809
|
+
tokensCss
|
|
17810
|
+
];
|
|
17811
|
+
}
|
|
17812
|
+
|
|
17813
|
+
// function to define props used within the scope of this component
|
|
17814
|
+
static get properties() {
|
|
17815
|
+
return {
|
|
17816
|
+
|
|
17817
|
+
/**
|
|
17818
|
+
* @private
|
|
17819
|
+
*/
|
|
17820
|
+
slotNodes: {
|
|
17821
|
+
type: Boolean,
|
|
17822
|
+
},
|
|
17823
|
+
|
|
17824
|
+
/**
|
|
17825
|
+
* @private
|
|
17826
|
+
*/
|
|
17827
|
+
hasTextContent: {
|
|
17828
|
+
type: Boolean,
|
|
17829
|
+
},
|
|
17830
|
+
|
|
17831
|
+
/**
|
|
17832
|
+
* If declared, make font color red.
|
|
17833
|
+
*/
|
|
17834
|
+
error: {
|
|
17835
|
+
type: Boolean,
|
|
17836
|
+
reflect: true,
|
|
17837
|
+
},
|
|
17838
|
+
};
|
|
17839
|
+
}
|
|
17840
|
+
|
|
17841
|
+
/**
|
|
17842
|
+
* This will register this element with the browser.
|
|
17843
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
17844
|
+
*
|
|
17845
|
+
* @example
|
|
17846
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
17847
|
+
*
|
|
17848
|
+
*/
|
|
17849
|
+
static register(name = "auro-helptext") {
|
|
17850
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
|
|
17851
|
+
}
|
|
17852
|
+
|
|
17853
|
+
updated() {
|
|
17854
|
+
this.handleSlotChange();
|
|
17855
|
+
}
|
|
17856
|
+
|
|
17857
|
+
handleSlotChange(event) {
|
|
17858
|
+
if (event) {
|
|
17859
|
+
this.slotNodes = event.target.assignedNodes();
|
|
17860
|
+
}
|
|
17861
|
+
|
|
17862
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
17863
|
+
}
|
|
17864
|
+
|
|
17865
|
+
/**
|
|
17866
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
17867
|
+
*
|
|
17868
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
17869
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
17870
|
+
* @private
|
|
17871
|
+
*/
|
|
17872
|
+
checkSlotsForContent(nodes) {
|
|
17873
|
+
if (!nodes) {
|
|
17874
|
+
return false;
|
|
17875
|
+
}
|
|
17876
|
+
|
|
17877
|
+
return nodes.some((node) => {
|
|
17878
|
+
if (node.textContent.trim()) {
|
|
17879
|
+
return true;
|
|
17880
|
+
}
|
|
17881
|
+
|
|
17882
|
+
if (!node.querySelector) {
|
|
17883
|
+
return false;
|
|
17884
|
+
}
|
|
17885
|
+
|
|
17886
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
17887
|
+
if (!nestedSlot) {
|
|
17888
|
+
return false;
|
|
17889
|
+
}
|
|
17890
|
+
|
|
17891
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
17892
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
17893
|
+
});
|
|
17894
|
+
}
|
|
17895
|
+
|
|
17896
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
17897
|
+
render() {
|
|
17898
|
+
return x`
|
|
17899
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
17900
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
17901
|
+
</div>
|
|
17902
|
+
`;
|
|
17903
|
+
}
|
|
17904
|
+
}
|
|
17905
|
+
|
|
17906
|
+
AuroHelpText.register();
|
|
17907
|
+
|
|
17052
17908
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
17053
17909
|
// See LICENSE in the project root for license information.
|
|
17054
17910
|
|
|
@@ -17083,7 +17939,7 @@ class AuroInput extends BaseInput {
|
|
|
17083
17939
|
*
|
|
17084
17940
|
*/
|
|
17085
17941
|
static register(name = "auro-input") {
|
|
17086
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroInput);
|
|
17942
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
|
|
17087
17943
|
}
|
|
17088
17944
|
|
|
17089
17945
|
/**
|
|
@@ -17136,7 +17992,7 @@ class AuroInput extends BaseInput {
|
|
|
17136
17992
|
'withValue': this.value && this.value.length > 0
|
|
17137
17993
|
};
|
|
17138
17994
|
|
|
17139
|
-
return u$
|
|
17995
|
+
return u$5`
|
|
17140
17996
|
<div class="wrapper" part="wrapper">
|
|
17141
17997
|
<div class="main">
|
|
17142
17998
|
<div class="typeIcon">
|
|
@@ -17145,7 +18001,7 @@ class AuroInput extends BaseInput {
|
|
|
17145
18001
|
<!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
|
|
17146
18002
|
This should be cleaned up when auro-icon issue #31 is resolved. -->
|
|
17147
18003
|
${this.inputIconName
|
|
17148
|
-
? c$
|
|
18004
|
+
? c$5([this.inputIconName], (val) => val, (name) => u$5`
|
|
17149
18005
|
<${this.iconTag}
|
|
17150
18006
|
class="accentIcon"
|
|
17151
18007
|
category="payment"
|
|
@@ -17157,7 +18013,7 @@ class AuroInput extends BaseInput {
|
|
|
17157
18013
|
}
|
|
17158
18014
|
|
|
17159
18015
|
${this.isDateType()
|
|
17160
|
-
? u$
|
|
18016
|
+
? u$5`
|
|
17161
18017
|
<${this.iconTag}
|
|
17162
18018
|
class="accentIcon"
|
|
17163
18019
|
category="interface"
|
|
@@ -17168,7 +18024,7 @@ class AuroInput extends BaseInput {
|
|
|
17168
18024
|
: undefined
|
|
17169
18025
|
}
|
|
17170
18026
|
</div>
|
|
17171
|
-
<label for=${this.id} class="${e$
|
|
18027
|
+
<label for=${this.id} class="${e$5(labelClasses)}" part="label">
|
|
17172
18028
|
<slot name="label">
|
|
17173
18029
|
${this.label}
|
|
17174
18030
|
</slot>
|
|
@@ -17179,23 +18035,23 @@ class AuroInput extends BaseInput {
|
|
|
17179
18035
|
@focusin="${this.handleFocusin}"
|
|
17180
18036
|
@blur="${this.handleBlur}"
|
|
17181
18037
|
id="${this.id}"
|
|
17182
|
-
name="${o$
|
|
18038
|
+
name="${o$5(this.name)}"
|
|
17183
18039
|
type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}"
|
|
17184
|
-
pattern="${o$
|
|
17185
|
-
maxlength="${o$
|
|
17186
|
-
minlength="${o$
|
|
17187
|
-
inputMode="${o$
|
|
18040
|
+
pattern="${o$5(this.definePattern())}"
|
|
18041
|
+
maxlength="${o$5(this.maxLength ? this.maxLength : undefined)}"
|
|
18042
|
+
minlength="${o$5(this.minLength ? this.minLength : undefined)}"
|
|
18043
|
+
inputMode="${o$5(this.inputMode ? this.inputMode : undefined)}"
|
|
17188
18044
|
?required="${this.required}"
|
|
17189
18045
|
?disabled="${this.disabled}"
|
|
17190
18046
|
aria-describedby="${this.uniqueId}"
|
|
17191
18047
|
aria-invalid="${this.validity !== 'valid'}"
|
|
17192
18048
|
placeholder=${this.getPlaceholder()}
|
|
17193
|
-
lang="${o$
|
|
18049
|
+
lang="${o$5(this.lang)}"
|
|
17194
18050
|
?activeLabel="${this.activeLabel}"
|
|
17195
|
-
spellcheck="${o$
|
|
17196
|
-
autocorrect="${o$
|
|
17197
|
-
autocapitalize="${o$
|
|
17198
|
-
autocomplete="${o$
|
|
18051
|
+
spellcheck="${o$5(this.spellcheck ? this.spellcheck : undefined)}"
|
|
18052
|
+
autocorrect="${o$5(this.autocorrect ? this.autocorrect : undefined)}"
|
|
18053
|
+
autocapitalize="${o$5(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
18054
|
+
autocomplete="${o$5(this.autocomplete ? this.autocomplete : undefined)}"
|
|
17199
18055
|
part="input"
|
|
17200
18056
|
/>
|
|
17201
18057
|
</div>
|
|
@@ -17203,7 +18059,7 @@ class AuroInput extends BaseInput {
|
|
|
17203
18059
|
class="notificationIcons"
|
|
17204
18060
|
part="notificationIcons"
|
|
17205
18061
|
?hasValue="${this.hasValue}">
|
|
17206
|
-
${this.validity && this.validity !== 'valid' ? u$
|
|
18062
|
+
${this.validity && this.validity !== 'valid' ? u$5`
|
|
17207
18063
|
<div class="notification alertNotification">
|
|
17208
18064
|
<${this.iconTag}
|
|
17209
18065
|
category="alert"
|
|
@@ -17212,8 +18068,8 @@ class AuroInput extends BaseInput {
|
|
|
17212
18068
|
</${this.iconTag}>
|
|
17213
18069
|
</div>
|
|
17214
18070
|
` : undefined}
|
|
17215
|
-
${this.hasValue ? u$
|
|
17216
|
-
${this.type === 'password' ? u$
|
|
18071
|
+
${this.hasValue ? u$5`
|
|
18072
|
+
${this.type === 'password' ? u$5`
|
|
17217
18073
|
<div class="notification">
|
|
17218
18074
|
<${this.buttonTag}
|
|
17219
18075
|
variant="flat"
|
|
@@ -17236,7 +18092,7 @@ class AuroInput extends BaseInput {
|
|
|
17236
18092
|
</${this.buttonTag}>
|
|
17237
18093
|
</div>
|
|
17238
18094
|
` : undefined}
|
|
17239
|
-
${!this.disabled && !this.readonly ? u$
|
|
18095
|
+
${!this.disabled && !this.readonly ? u$5`
|
|
17240
18096
|
<div class="notification">
|
|
17241
18097
|
<${this.buttonTag}
|
|
17242
18098
|
variant="flat"
|
|
@@ -17257,16 +18113,22 @@ class AuroInput extends BaseInput {
|
|
|
17257
18113
|
</div>
|
|
17258
18114
|
</div>
|
|
17259
18115
|
<!-- Help text and error message template -->
|
|
17260
|
-
|
|
17261
|
-
|
|
17262
|
-
<
|
|
17263
|
-
<
|
|
17264
|
-
|
|
17265
|
-
|
|
17266
|
-
|
|
17267
|
-
|
|
17268
|
-
|
|
17269
|
-
|
|
18116
|
+
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
18117
|
+
? u$5`
|
|
18118
|
+
<auro-helptext>
|
|
18119
|
+
<p id="${this.uniqueId}" part="helpText">
|
|
18120
|
+
<slot name="helptext">${this.getHelpText(this.type)}</slot>
|
|
18121
|
+
</p>
|
|
18122
|
+
</auro-helptext>
|
|
18123
|
+
`
|
|
18124
|
+
: u$5`
|
|
18125
|
+
<auro-helptext error>
|
|
18126
|
+
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
18127
|
+
${this.errorMessage}
|
|
18128
|
+
</p>
|
|
18129
|
+
</auro-helptext>
|
|
18130
|
+
`
|
|
18131
|
+
}
|
|
17270
18132
|
`;
|
|
17271
18133
|
}
|
|
17272
18134
|
}
|
|
@@ -17281,26 +18143,6 @@ var inputVersion = '4.2.0';
|
|
|
17281
18143
|
|
|
17282
18144
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
17283
18145
|
/**
|
|
17284
|
-
* @prop {String} value - Value selected for the date picker.
|
|
17285
|
-
* @prop {String} valueEnd - Value selected for the second date picker when using date range.
|
|
17286
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
17287
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
17288
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
|
|
17289
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
17290
|
-
* @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
|
|
17291
|
-
* @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
|
|
17292
|
-
* @attr {String} setCustomValidityValueMissing - Help text message to display when validity = `valueMissing`.
|
|
17293
|
-
* @attr {String} calendarStartDate - The first date that may be displayed in the calendar.
|
|
17294
|
-
* @attr {String} calendarEndDate - The last date that may be displayed in the calendar
|
|
17295
|
-
* @attr {String} calendarFocusDate - The date that will first be visually rendered to the user in the calendar.
|
|
17296
|
-
* @attr {Boolean} disabled - If set, disables the datepicker.
|
|
17297
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
17298
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
17299
|
-
* @attr {Boolean} range - If set, turns on date range functionality in auro-calendar.
|
|
17300
|
-
* @attr {String} centralDate - The date that determines the currently visible month.
|
|
17301
|
-
* @attr {String} maxDate - Maximum date. All dates after will be disabled.
|
|
17302
|
-
* @attr {String} minDate - Minimum date. All dates before will be disabled.
|
|
17303
|
-
* @attr {Array} monthNames = Names of all 12 months to render in the calendar, used for localization of date string in mobile layout.
|
|
17304
18146
|
* @slot helpText - Defines the content of the helpText.
|
|
17305
18147
|
* @slot mobileDateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
17306
18148
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -17322,7 +18164,7 @@ var inputVersion = '4.2.0';
|
|
|
17322
18164
|
*/
|
|
17323
18165
|
|
|
17324
18166
|
// build the component class
|
|
17325
|
-
class AuroDatePicker extends r$
|
|
18167
|
+
class AuroDatePicker extends r$b {
|
|
17326
18168
|
constructor() {
|
|
17327
18169
|
super();
|
|
17328
18170
|
|
|
@@ -17386,7 +18228,7 @@ class AuroDatePicker extends r$7 {
|
|
|
17386
18228
|
/**
|
|
17387
18229
|
* @private
|
|
17388
18230
|
*/
|
|
17389
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
18231
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
17390
18232
|
|
|
17391
18233
|
/**
|
|
17392
18234
|
* @private
|
|
@@ -17397,7 +18239,15 @@ class AuroDatePicker extends r$7 {
|
|
|
17397
18239
|
* Generate unique names for dependency components.
|
|
17398
18240
|
*/
|
|
17399
18241
|
const versioning = new AuroDependencyVersioning$2();
|
|
18242
|
+
|
|
18243
|
+
/**
|
|
18244
|
+
* @private
|
|
18245
|
+
*/
|
|
17400
18246
|
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
18247
|
+
|
|
18248
|
+
/**
|
|
18249
|
+
* @private
|
|
18250
|
+
*/
|
|
17401
18251
|
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
17402
18252
|
}
|
|
17403
18253
|
|
|
@@ -17407,108 +18257,163 @@ class AuroDatePicker extends r$7 {
|
|
|
17407
18257
|
static get properties() {
|
|
17408
18258
|
return {
|
|
17409
18259
|
// ...super.properties,
|
|
17410
|
-
|
|
18260
|
+
/**
|
|
18261
|
+
* The last date that may be displayed in the calendar.
|
|
18262
|
+
*/
|
|
18263
|
+
calendarEndDate: {
|
|
17411
18264
|
type: String,
|
|
17412
18265
|
reflect: true
|
|
17413
18266
|
},
|
|
17414
|
-
|
|
17415
|
-
|
|
17416
|
-
|
|
17417
|
-
|
|
17418
|
-
|
|
17419
|
-
},
|
|
17420
|
-
setCustomValidityCustomError: {
|
|
17421
|
-
type: String,
|
|
17422
|
-
},
|
|
17423
|
-
setCustomValidityRangeUnderflow: {
|
|
17424
|
-
type: String,
|
|
17425
|
-
},
|
|
17426
|
-
setCustomValidityRangeOverflow: {
|
|
17427
|
-
type: String,
|
|
17428
|
-
},
|
|
17429
|
-
setCustomValidityValueMissing: {
|
|
18267
|
+
|
|
18268
|
+
/**
|
|
18269
|
+
* The date that will first be visually rendered to the user in the calendar.
|
|
18270
|
+
*/
|
|
18271
|
+
calendarFocusDate: {
|
|
17430
18272
|
type: String,
|
|
18273
|
+
reflect: true
|
|
17431
18274
|
},
|
|
17432
|
-
|
|
18275
|
+
|
|
18276
|
+
/**
|
|
18277
|
+
* The first date that may be displayed in the calendar.
|
|
18278
|
+
*/
|
|
18279
|
+
calendarStartDate: {
|
|
17433
18280
|
type: String,
|
|
17434
18281
|
reflect: true
|
|
17435
18282
|
},
|
|
17436
|
-
|
|
17437
|
-
|
|
17438
|
-
|
|
18283
|
+
|
|
18284
|
+
/**
|
|
18285
|
+
* The date that determines the currently visible month.
|
|
18286
|
+
*/
|
|
18287
|
+
centralDate: {
|
|
18288
|
+
type: String
|
|
17439
18289
|
},
|
|
18290
|
+
|
|
18291
|
+
/**
|
|
18292
|
+
* If set, disables the datepicker.
|
|
18293
|
+
*/
|
|
17440
18294
|
disabled: {
|
|
17441
18295
|
type: Boolean,
|
|
17442
18296
|
reflect: true
|
|
17443
18297
|
},
|
|
17444
|
-
|
|
17445
|
-
|
|
17446
|
-
|
|
17447
|
-
|
|
17448
|
-
|
|
18298
|
+
|
|
18299
|
+
/**
|
|
18300
|
+
* When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
18301
|
+
*/
|
|
18302
|
+
error: {
|
|
17449
18303
|
type: String,
|
|
17450
18304
|
reflect: true
|
|
17451
18305
|
},
|
|
17452
|
-
|
|
17453
|
-
|
|
17454
|
-
|
|
17455
|
-
|
|
17456
|
-
type: String
|
|
17457
|
-
},
|
|
17458
|
-
centralDate: {
|
|
17459
|
-
type: String
|
|
17460
|
-
},
|
|
18306
|
+
|
|
18307
|
+
/**
|
|
18308
|
+
* Maximum date. All dates after will be disabled.
|
|
18309
|
+
*/
|
|
17461
18310
|
maxDate: {
|
|
17462
18311
|
type: String,
|
|
17463
18312
|
reflect: true
|
|
17464
18313
|
},
|
|
18314
|
+
|
|
18315
|
+
/**
|
|
18316
|
+
* Minimum date. All dates before will be disabled.
|
|
18317
|
+
*/
|
|
17465
18318
|
minDate: {
|
|
17466
18319
|
type: String,
|
|
17467
18320
|
reflect: true
|
|
17468
18321
|
},
|
|
18322
|
+
|
|
18323
|
+
/**
|
|
18324
|
+
* Names of all 12 months to render in the calendar, used for localization of date string in mobile layout.
|
|
18325
|
+
*/
|
|
17469
18326
|
monthNames: {
|
|
17470
18327
|
type: Array
|
|
17471
18328
|
},
|
|
17472
|
-
|
|
17473
|
-
|
|
17474
|
-
|
|
18329
|
+
|
|
18330
|
+
/**
|
|
18331
|
+
* If set, disables auto-validation on blur.
|
|
18332
|
+
*/
|
|
18333
|
+
noValidate: {
|
|
18334
|
+
type: Boolean
|
|
17475
18335
|
},
|
|
17476
|
-
|
|
17477
|
-
|
|
18336
|
+
|
|
18337
|
+
/**
|
|
18338
|
+
* If set, turns on date range functionality in auro-calendar.
|
|
18339
|
+
*/
|
|
18340
|
+
range: {
|
|
18341
|
+
type: Boolean,
|
|
17478
18342
|
reflect: true
|
|
17479
18343
|
},
|
|
17480
|
-
|
|
17481
|
-
|
|
18344
|
+
|
|
18345
|
+
/**
|
|
18346
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
18347
|
+
*/
|
|
18348
|
+
required: {
|
|
18349
|
+
type: Boolean,
|
|
17482
18350
|
reflect: true
|
|
17483
18351
|
},
|
|
17484
18352
|
|
|
17485
18353
|
/**
|
|
17486
|
-
*
|
|
18354
|
+
* Sets a custom help text message to display for all validityStates.
|
|
17487
18355
|
*/
|
|
17488
|
-
|
|
18356
|
+
setCustomValidity: {
|
|
18357
|
+
type: String
|
|
18358
|
+
},
|
|
17489
18359
|
|
|
17490
18360
|
/**
|
|
17491
|
-
*
|
|
18361
|
+
* Custom help text message to display when validity = `customError`.
|
|
17492
18362
|
*/
|
|
17493
|
-
|
|
18363
|
+
setCustomValidityCustomError: {
|
|
18364
|
+
type: String
|
|
18365
|
+
},
|
|
17494
18366
|
|
|
17495
18367
|
/**
|
|
17496
|
-
*
|
|
18368
|
+
* Custom help text message to display when validity = `rangeOverflow`.
|
|
17497
18369
|
*/
|
|
17498
|
-
|
|
18370
|
+
setCustomValidityRangeOverflow: {
|
|
18371
|
+
type: String
|
|
18372
|
+
},
|
|
17499
18373
|
|
|
17500
18374
|
/**
|
|
17501
|
-
*
|
|
18375
|
+
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
18376
|
+
*/
|
|
18377
|
+
setCustomValidityRangeUnderflow: {
|
|
18378
|
+
type: String
|
|
18379
|
+
},
|
|
18380
|
+
|
|
18381
|
+
/**
|
|
18382
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
18383
|
+
*/
|
|
18384
|
+
setCustomValidityValueMissing: {
|
|
18385
|
+
type: String
|
|
18386
|
+
},
|
|
18387
|
+
|
|
18388
|
+
/**
|
|
18389
|
+
* Specifies the `validityState` this element is in.
|
|
18390
|
+
*/
|
|
18391
|
+
validity: {
|
|
18392
|
+
type: String,
|
|
18393
|
+
reflect: true
|
|
18394
|
+
},
|
|
18395
|
+
|
|
18396
|
+
/**
|
|
18397
|
+
* Value selected for the datepicker.
|
|
18398
|
+
*/
|
|
18399
|
+
value: {
|
|
18400
|
+
type: String
|
|
18401
|
+
},
|
|
18402
|
+
|
|
18403
|
+
/**
|
|
18404
|
+
* Value selected for the second datepicker when using date range.
|
|
17502
18405
|
*/
|
|
17503
|
-
|
|
18406
|
+
valueEnd: {
|
|
18407
|
+
type: String
|
|
18408
|
+
}
|
|
17504
18409
|
};
|
|
17505
18410
|
}
|
|
17506
18411
|
|
|
17507
18412
|
static get styles() {
|
|
17508
18413
|
return [
|
|
17509
|
-
styleCss$
|
|
17510
|
-
colorCss$
|
|
17511
|
-
tokensCss$
|
|
18414
|
+
styleCss$a,
|
|
18415
|
+
colorCss$a,
|
|
18416
|
+
tokensCss$7
|
|
17512
18417
|
];
|
|
17513
18418
|
}
|
|
17514
18419
|
|
|
@@ -17521,7 +18426,29 @@ class AuroDatePicker extends r$7 {
|
|
|
17521
18426
|
*
|
|
17522
18427
|
*/
|
|
17523
18428
|
static register(name = "auro-datepicker") {
|
|
17524
|
-
AuroLibraryRuntimeUtils$
|
|
18429
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroDatePicker);
|
|
18430
|
+
}
|
|
18431
|
+
|
|
18432
|
+
/**
|
|
18433
|
+
* A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
|
|
18434
|
+
* @returns {string[]}
|
|
18435
|
+
*/
|
|
18436
|
+
get values() {
|
|
18437
|
+
// If range, and both populated, return both values in an array
|
|
18438
|
+
// - NOTE: both are required here, so we don't have something like `['10/22/25', undefined]`
|
|
18439
|
+
if (this.range && this.value && this.valueEnd) {
|
|
18440
|
+
return [
|
|
18441
|
+
this.value,
|
|
18442
|
+
this.valueEnd
|
|
18443
|
+
];
|
|
18444
|
+
}
|
|
18445
|
+
|
|
18446
|
+
// This if block catches instances where `value` is present, no matter if valueEnd is selected yet
|
|
18447
|
+
if (this.value) {
|
|
18448
|
+
return [this.value];
|
|
18449
|
+
}
|
|
18450
|
+
|
|
18451
|
+
return [];
|
|
17525
18452
|
}
|
|
17526
18453
|
|
|
17527
18454
|
/**
|
|
@@ -17887,10 +18814,11 @@ class AuroDatePicker extends r$7 {
|
|
|
17887
18814
|
if (!this.value || !this.util.validDateStr(this.value)) {
|
|
17888
18815
|
this.value = newDate;
|
|
17889
18816
|
} else if (!this.valueEnd || !this.util.validDateStr(this.valueEnd)) {
|
|
17890
|
-
|
|
17891
18817
|
// verify the date is after this.value to insure we are setting a proper range
|
|
17892
18818
|
if (new Date(newDate) >= new Date(this.value)) {
|
|
17893
18819
|
this.valueEnd = newDate;
|
|
18820
|
+
} else {
|
|
18821
|
+
this.value = newDate;
|
|
17894
18822
|
}
|
|
17895
18823
|
} else {
|
|
17896
18824
|
this.value = newDate;
|
|
@@ -17923,6 +18851,14 @@ class AuroDatePicker extends r$7 {
|
|
|
17923
18851
|
this.validation.reset(this);
|
|
17924
18852
|
}
|
|
17925
18853
|
|
|
18854
|
+
/**
|
|
18855
|
+
* Validates value.
|
|
18856
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
18857
|
+
*/
|
|
18858
|
+
validate(force = false) {
|
|
18859
|
+
this.validation.validate(this, force);
|
|
18860
|
+
}
|
|
18861
|
+
|
|
17926
18862
|
updated(changedProperties) {
|
|
17927
18863
|
if (changedProperties.has('calendarFocusDate')) {
|
|
17928
18864
|
this.handleFocusDateChange();
|
|
@@ -17988,7 +18924,7 @@ class AuroDatePicker extends r$7 {
|
|
|
17988
18924
|
}
|
|
17989
18925
|
}
|
|
17990
18926
|
|
|
17991
|
-
this.
|
|
18927
|
+
this.validate();
|
|
17992
18928
|
}
|
|
17993
18929
|
|
|
17994
18930
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
@@ -18018,7 +18954,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18018
18954
|
}
|
|
18019
18955
|
}
|
|
18020
18956
|
|
|
18021
|
-
this.
|
|
18957
|
+
this.validate();
|
|
18022
18958
|
}
|
|
18023
18959
|
|
|
18024
18960
|
if (changedProperties.has('error')) {
|
|
@@ -18048,11 +18984,14 @@ class AuroDatePicker extends r$7 {
|
|
|
18048
18984
|
// a later date than the current value date
|
|
18049
18985
|
if (changedProperties.has('minDate')) {
|
|
18050
18986
|
if (this.minDate) {
|
|
18051
|
-
const minDateMonth = Number(this.minDate.
|
|
18987
|
+
const minDateMonth = Number(this.minDate.split('/')[0]);
|
|
18988
|
+
const minDateYear = Number(this.minDate.split('/')[2]);
|
|
18052
18989
|
|
|
18053
18990
|
// This sets the visible month of the calendar to the minDate when the minDate is later
|
|
18054
18991
|
// than the current visible date
|
|
18055
|
-
if (
|
|
18992
|
+
if (minDateYear > this.calendar.year) {
|
|
18993
|
+
this.calendarRenderUtil.updateCentralDate(this, this.minDate);
|
|
18994
|
+
} else if (minDateYear === this.calendar.year && minDateMonth > this.calendar.month) {
|
|
18056
18995
|
this.calendarRenderUtil.updateCentralDate(this, this.minDate);
|
|
18057
18996
|
}
|
|
18058
18997
|
|
|
@@ -18073,6 +19012,17 @@ class AuroDatePicker extends r$7 {
|
|
|
18073
19012
|
// This resets the datepicker when the maxDate is set to a new value that is
|
|
18074
19013
|
// an earlier date than the current value date
|
|
18075
19014
|
if (changedProperties.has('maxDate')) {
|
|
19015
|
+
const maxDateMonth = Number(this.maxDate.split('/')[0]);
|
|
19016
|
+
const maxDateYear = Number(this.maxDate.split('/')[2]);
|
|
19017
|
+
|
|
19018
|
+
// This sets the visible month of the calendar to the maxDate when the maxDate is earlier
|
|
19019
|
+
// than the current visible date
|
|
19020
|
+
if (maxDateYear < this.calendar.year) {
|
|
19021
|
+
this.calendarRenderUtil.updateCentralDate(this, this.maxDate);
|
|
19022
|
+
} else if (maxDateYear === this.calendar.year && maxDateMonth < this.calendar.month) {
|
|
19023
|
+
this.calendarRenderUtil.updateCentralDate(this, this.maxDate);
|
|
19024
|
+
}
|
|
19025
|
+
|
|
18076
19026
|
if (this.maxDate) {
|
|
18077
19027
|
if (this.value) {
|
|
18078
19028
|
if (new Date(this.maxDate).getTime() < new Date(this.value).getTime()) {
|
|
@@ -18122,7 +19072,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18122
19072
|
|
|
18123
19073
|
// function that renders the HTML and CSS into the scope of the component
|
|
18124
19074
|
render() {
|
|
18125
|
-
return u$
|
|
19075
|
+
return u$8`
|
|
18126
19076
|
<div class="outerWrapper">
|
|
18127
19077
|
<${this.dropdownTag}
|
|
18128
19078
|
for="dropdownMenu"
|
|
@@ -18154,7 +19104,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18154
19104
|
part="input">
|
|
18155
19105
|
<span slot="label"><slot name="fromLabel"></slot></span>
|
|
18156
19106
|
</${this.inputTag}>
|
|
18157
|
-
${this.range ? u$
|
|
19107
|
+
${this.range ? u$8`
|
|
18158
19108
|
<${this.inputTag}
|
|
18159
19109
|
id="${this.generateRandomString(12)}"
|
|
18160
19110
|
bordered
|
|
@@ -18185,21 +19135,21 @@ class AuroDatePicker extends r$7 {
|
|
|
18185
19135
|
part="calendar"
|
|
18186
19136
|
>
|
|
18187
19137
|
<slot slot="mobileDateLabel" name="mobileDateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
18188
|
-
<span slot="mobileDateFromStr">${this.value ? this.getMobileDateStr(this.value) : u$
|
|
18189
|
-
${this.range ? u$
|
|
19138
|
+
<span slot="mobileDateFromStr">${this.value ? this.getMobileDateStr(this.value) : u$8`<span class="placeholderDate">MM/DD/YYYY</span>`}</span>
|
|
19139
|
+
${this.range ? u$8`<span slot="mobileDateToStr">${this.valueEnd ? this.getMobileDateStr(this.valueEnd) : u$8`<span class="placeholderDate">MM/DD/YYYY</span>`}</span>` : undefined}
|
|
18190
19140
|
</auro-calendar>
|
|
18191
19141
|
</div>
|
|
18192
|
-
<
|
|
19142
|
+
<p slot="helpText" part="helpTextSpan">
|
|
18193
19143
|
<!-- Help text and error message template -->
|
|
18194
19144
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
18195
|
-
? u$
|
|
19145
|
+
? u$8`
|
|
18196
19146
|
<slot name="helpText"></slot>
|
|
18197
|
-
` : u$
|
|
18198
|
-
<
|
|
19147
|
+
` : u$8`
|
|
19148
|
+
<span role="alert" aria-live="assertive" part="helpText">
|
|
18199
19149
|
${this.errorMessage}
|
|
18200
|
-
</
|
|
19150
|
+
</span>`
|
|
18201
19151
|
}
|
|
18202
|
-
</
|
|
19152
|
+
</p>
|
|
18203
19153
|
</${this.dropdownTag}>
|
|
18204
19154
|
</div>
|
|
18205
19155
|
`;
|