@aurodesignsystem/auro-formkit 2.0.0-beta.4 → 2.0.0-beta.41
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/006be80261b993a5-meta.json +1 -0
- package/.turbo/cache/006be80261b993a5.tar.zst +0 -0
- package/.turbo/cache/03338963f2ae4c89-meta.json +1 -0
- package/.turbo/cache/03338963f2ae4c89.tar.zst +0 -0
- package/.turbo/cache/06dfc9c20aacd0fa-meta.json +1 -0
- package/.turbo/cache/06dfc9c20aacd0fa.tar.zst +0 -0
- package/.turbo/cache/075034ccdb82fbea-meta.json +1 -0
- package/.turbo/cache/075034ccdb82fbea.tar.zst +0 -0
- package/.turbo/cache/0ff927ad868537f6-meta.json +1 -0
- package/.turbo/cache/0ff927ad868537f6.tar.zst +0 -0
- package/.turbo/cache/10b8500a6b0c6655-meta.json +1 -0
- package/.turbo/cache/10b8500a6b0c6655.tar.zst +0 -0
- package/.turbo/cache/138466aaa06fa946-meta.json +1 -0
- package/.turbo/cache/138466aaa06fa946.tar.zst +0 -0
- package/.turbo/cache/1614475ba17e5c7e-meta.json +1 -0
- package/.turbo/cache/1614475ba17e5c7e.tar.zst +0 -0
- package/.turbo/cache/1a8525cb6ad91e2a-meta.json +1 -0
- package/.turbo/cache/1a8525cb6ad91e2a.tar.zst +0 -0
- package/.turbo/cache/1c347bdf63624c8a-meta.json +1 -0
- package/.turbo/cache/1c347bdf63624c8a.tar.zst +0 -0
- package/.turbo/cache/1d4e8167ea8e924f-meta.json +1 -0
- package/.turbo/cache/1d4e8167ea8e924f.tar.zst +0 -0
- package/.turbo/cache/2289d12debb3c42c-meta.json +1 -0
- package/.turbo/cache/2289d12debb3c42c.tar.zst +0 -0
- package/.turbo/cache/22fc147c04804f70-meta.json +1 -0
- package/.turbo/cache/22fc147c04804f70.tar.zst +0 -0
- package/.turbo/cache/3025cdff2ca7afbf-meta.json +1 -0
- package/.turbo/cache/3025cdff2ca7afbf.tar.zst +0 -0
- package/.turbo/cache/3082b3a86c0f9b94-meta.json +1 -0
- package/.turbo/cache/3082b3a86c0f9b94.tar.zst +0 -0
- package/.turbo/cache/3dba2f8fdc7eb1d0-meta.json +1 -0
- package/.turbo/cache/3dba2f8fdc7eb1d0.tar.zst +0 -0
- package/.turbo/cache/43995f6c84a2de33-meta.json +1 -0
- package/.turbo/cache/43995f6c84a2de33.tar.zst +0 -0
- package/.turbo/cache/45d6aea680ecb5ec-meta.json +1 -0
- package/.turbo/cache/45d6aea680ecb5ec.tar.zst +0 -0
- package/.turbo/cache/45ecc27552696bd6-meta.json +1 -0
- package/.turbo/cache/45ecc27552696bd6.tar.zst +0 -0
- package/.turbo/cache/47d63056350252e5-meta.json +1 -0
- package/.turbo/cache/47d63056350252e5.tar.zst +0 -0
- package/.turbo/cache/4aadd7fe6b69cccf-meta.json +1 -0
- package/.turbo/cache/4aadd7fe6b69cccf.tar.zst +0 -0
- package/.turbo/cache/4fcee148860094a6-meta.json +1 -0
- package/.turbo/cache/4fcee148860094a6.tar.zst +0 -0
- package/.turbo/cache/5b3bb164db4c477c-meta.json +1 -0
- package/.turbo/cache/5b3bb164db4c477c.tar.zst +0 -0
- package/.turbo/cache/6bfd7cffad1e6b8a-meta.json +1 -0
- package/.turbo/cache/6bfd7cffad1e6b8a.tar.zst +0 -0
- package/.turbo/cache/6d48e8dc24e08c8c-meta.json +1 -0
- package/.turbo/cache/6d48e8dc24e08c8c.tar.zst +0 -0
- package/.turbo/cache/70e65d2581c9de95-meta.json +1 -0
- package/.turbo/cache/70e65d2581c9de95.tar.zst +0 -0
- package/.turbo/cache/71640e378e0b68af-meta.json +1 -0
- package/.turbo/cache/71640e378e0b68af.tar.zst +0 -0
- package/.turbo/cache/7a2e937d0f5acb7c-meta.json +1 -0
- package/.turbo/cache/7a2e937d0f5acb7c.tar.zst +0 -0
- package/.turbo/cache/85f181c5a0ebfdc3-meta.json +1 -0
- package/.turbo/cache/85f181c5a0ebfdc3.tar.zst +0 -0
- package/.turbo/cache/8830b8b624914679-meta.json +1 -0
- package/.turbo/cache/8830b8b624914679.tar.zst +0 -0
- package/.turbo/cache/88d4c5b7339b081b-meta.json +1 -0
- package/.turbo/cache/88d4c5b7339b081b.tar.zst +0 -0
- package/.turbo/cache/8f20a1cd3533e2cb-meta.json +1 -0
- package/.turbo/cache/8f20a1cd3533e2cb.tar.zst +0 -0
- package/.turbo/cache/91de2098a36b6939-meta.json +1 -0
- package/.turbo/cache/91de2098a36b6939.tar.zst +0 -0
- package/.turbo/cache/96edc0764ed4ab77-meta.json +1 -0
- package/.turbo/cache/96edc0764ed4ab77.tar.zst +0 -0
- package/.turbo/cache/a776eb6f87cd7464-meta.json +1 -0
- package/.turbo/cache/a776eb6f87cd7464.tar.zst +0 -0
- package/.turbo/cache/aa2a6d9e7beff7fc-meta.json +1 -0
- package/.turbo/cache/aa2a6d9e7beff7fc.tar.zst +0 -0
- package/.turbo/cache/ac47b2df8381d990-meta.json +1 -0
- package/.turbo/cache/ac47b2df8381d990.tar.zst +0 -0
- package/.turbo/cache/ac98992ca27cd36e-meta.json +1 -0
- package/.turbo/cache/ac98992ca27cd36e.tar.zst +0 -0
- package/.turbo/cache/aed38ae5ce3d8439-meta.json +1 -0
- package/.turbo/cache/aed38ae5ce3d8439.tar.zst +0 -0
- package/.turbo/cache/b323342fa340ccb5-meta.json +1 -0
- package/.turbo/cache/b323342fa340ccb5.tar.zst +0 -0
- package/.turbo/cache/b681d1652a7f2aca-meta.json +1 -0
- package/.turbo/cache/b681d1652a7f2aca.tar.zst +0 -0
- package/.turbo/cache/b99d21002170d86d-meta.json +1 -0
- package/.turbo/cache/b99d21002170d86d.tar.zst +0 -0
- package/.turbo/cache/bff34c0db361f414-meta.json +1 -0
- package/.turbo/cache/bff34c0db361f414.tar.zst +0 -0
- package/.turbo/cache/c1c7334875426ff3-meta.json +1 -0
- package/.turbo/cache/c1c7334875426ff3.tar.zst +0 -0
- package/.turbo/cache/cd12b66dd972aaf7-meta.json +1 -0
- package/.turbo/cache/cd12b66dd972aaf7.tar.zst +0 -0
- package/.turbo/cache/cf74604f39b00f11-meta.json +1 -0
- package/.turbo/cache/cf74604f39b00f11.tar.zst +0 -0
- package/.turbo/cache/d5dbe6fb31ae5667-meta.json +1 -0
- package/.turbo/cache/d5dbe6fb31ae5667.tar.zst +0 -0
- package/.turbo/cache/e2688cc026390fd6-meta.json +1 -0
- package/.turbo/cache/e2688cc026390fd6.tar.zst +0 -0
- package/.turbo/cache/e64bd75c16c140f3-meta.json +1 -0
- package/.turbo/cache/e64bd75c16c140f3.tar.zst +0 -0
- package/.turbo/cache/ea92743dea3b7023-meta.json +1 -0
- package/.turbo/cache/ea92743dea3b7023.tar.zst +0 -0
- package/.turbo/cache/f1b0cb8241603223-meta.json +1 -0
- package/.turbo/cache/f1b0cb8241603223.tar.zst +0 -0
- package/.turbo/cache/f22dc2dd55715ba2-meta.json +1 -0
- package/.turbo/cache/f22dc2dd55715ba2.tar.zst +0 -0
- package/.turbo/cache/f8f7a8045f230b79-meta.json +1 -0
- package/.turbo/cache/f8f7a8045f230b79.tar.zst +0 -0
- package/.turbo/cache/f8f99ba69bff8f2c-meta.json +1 -0
- package/.turbo/cache/f8f99ba69bff8f2c.tar.zst +0 -0
- package/.turbo/cache/faafa5cc35d12e06-meta.json +1 -0
- package/.turbo/cache/faafa5cc35d12e06.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +372 -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 +27 -35
- 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 +6 -5
- 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 +3385 -848
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +3382 -845
- 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 +2733 -510
- 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 +12 -13
- package/components/combobox/src/auro-combobox.js +215 -163
- 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 +5203 -36
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +292 -0
- package/components/counter/demo/index.min.js +5231 -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 +127 -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 +91 -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 +5203 -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 +14 -5
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +305 -20
- package/components/counter/src/auro-counter-wrapper.js +54 -0
- package/components/counter/src/auro-counter.js +325 -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 +29 -0
- package/components/counter/src/styles/color.scss +49 -0
- package/components/counter/src/styles/counter-button-color-css.js +2 -0
- package/components/counter/src/styles/counter-button-color.css +11 -0
- package/components/counter/src/styles/counter-button-color.scss +23 -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 +6 -0
- package/components/counter/src/styles/counter-button-tokens.scss +8 -0
- package/components/counter/src/styles/counter-button.css +186 -0
- package/components/counter/src/styles/counter-button.scss +84 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +15 -1
- package/components/counter/src/styles/counter-group.scss +16 -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 +50 -1
- package/components/counter/src/styles/style.scss +58 -2
- package/components/counter/src/styles/tokens-css.js +2 -0
- package/components/counter/src/styles/tokens.css +12 -0
- package/components/counter/src/styles/tokens.scss +25 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build.log +52 -53
- 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 +23 -28
- package/components/datepicker/demo/api.md +85 -57
- package/components/datepicker/demo/api.min.js +1304 -558
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1304 -558
- 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 +1304 -558
- 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 +8 -8
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/datepicker/src/auro-datepicker.js +170 -89
- 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 +55 -35
- package/components/datepicker/src/styles/style.scss +45 -13
- 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 +19 -27
- package/components/dropdown/demo/api.md +15 -3
- package/components/dropdown/demo/api.min.js +406 -88
- package/components/dropdown/demo/index.js +0 -3
- package/components/dropdown/demo/index.min.js +406 -91
- package/components/dropdown/dist/auro-dropdown.d.ts +16 -2
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +406 -88
- package/components/dropdown/package.json +6 -5
- package/components/dropdown/src/auro-dropdown.js +102 -11
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +3 -6
- package/components/dropdown/src/styles/color.scss +3 -6
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +5 -6
- package/components/dropdown/src/styles/style.scss +8 -8
- package/components/dropdown/src/styles/tokens-css.js +1 -1
- package/components/dropdown/src/styles/tokens.css +1 -1
- package/components/dropdown/src/styles/tokens.scss +1 -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 +29 -35
- package/components/form/demo/api.min.js +460 -25
- package/components/form/demo/index.min.js +460 -25
- package/components/form/demo/registerDemoDeps.js +22 -0
- package/components/form/demo/working.html +117 -0
- package/components/form/dist/auro-form.d.ts +179 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +460 -25
- package/components/form/package.json +8 -6
- package/components/form/src/auro-form.js +457 -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 +19 -29
- package/components/input/demo/api.md +85 -253
- package/components/input/demo/api.min.js +413 -125
- package/components/input/demo/index.md +9 -59
- package/components/input/demo/index.min.js +413 -125
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +3 -3
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +413 -125
- package/components/input/package.json +6 -5
- package/components/input/src/auro-input.js +18 -10
- package/components/input/src/base-input.js +5 -5
- 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 +19 -27
- 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 +5 -5
- 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 +19 -27
- package/components/radio/demo/api.md +9 -8
- package/components/radio/demo/api.min.js +360 -62
- package/components/radio/demo/index.min.js +360 -62
- package/components/radio/dist/auro-radio-group.d.ts +7 -1
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +360 -62
- package/components/radio/package.json +6 -6
- package/components/radio/src/auro-radio-group.js +24 -6
- 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 +28 -27
- 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 +22 -43
- package/components/select/demo/api.md +52 -15
- package/components/select/demo/api.min.js +2851 -609
- package/components/select/demo/index.md +1 -16
- package/components/select/demo/index.min.js +2849 -607
- package/components/select/dist/auro-select.d.ts +23 -6
- 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 +2313 -385
- package/components/select/package.json +7 -7
- package/components/select/src/auro-select.js +77 -32
- 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 +5 -4
- package/components/select/src/styles/style.scss +11 -4
- 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/051ff97a20add0e2-meta.json +0 -1
- package/.turbo/cache/051ff97a20add0e2.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/0ea853339c064fa1-meta.json +0 -1
- package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
- package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
- package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.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/1df4710eef8ed00d-meta.json +0 -1
- package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
- package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
- package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
- package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
- package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
- package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
- package/.turbo/cache/3d380d0d40404cac.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/5bf2d3f7ba5891e0-meta.json +0 -1
- package/.turbo/cache/5bf2d3f7ba5891e0.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/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/7ffd501e81790676-meta.json +0 -1
- package/.turbo/cache/7ffd501e81790676.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/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/8e9ebc3df0e18de0-meta.json +0 -1
- package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
- package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
- package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
- package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
- package/.turbo/cache/a9a9d012c83882d8.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/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/db361cb6578dca84-meta.json +0 -1
- package/.turbo/cache/db361cb6578dca84.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/f3ff9040a2196834-meta.json +0 -1
- package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
- package/.turbo/cache/f817d89688cefca8-meta.json +0 -1
- package/.turbo/cache/f817d89688cefca8.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
- package/.turbo/cache/fc57c17867dcac3d.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}[auro-input]:not(:first-child)::part(wrapper)::after{position:absolute;left:50%;width:95%;height:1px;background-color:var(--ds-auro-datepicker-range-input-divider-color);content:"";transform:translateX(-50%)}.outerWrapper{position:relative;container:outerwrapper/inline-size}.dpTriggerContent{display:flex;flex-direction:column}.dpTriggerContent [auro-input]{flex:1}@container outerwrapper (min-width: 390px){.dpTriggerContent{flex-direction:row}[auro-input]:first-of-type{margin-right:var(--ds-size-150, 0.75rem)}[auro-input]:nth-child(2){margin-left:var(--ds-size-150, 0.75rem)}[auro-input]:nth-child(2)::part(accentIcon){display:none}[auro-input]:nth-child(2)::part(label){left:0;width:100%}[auro-input]:nth-child(2)::part(input){padding-left:0}[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:""}[auro-input]:not(:first-child)::part(wrapper):after{content:none}: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`,
|
|
@@ -12167,7 +12226,11 @@ class AuroFloatingUI {
|
|
|
12167
12226
|
|
|
12168
12227
|
updateState() {
|
|
12169
12228
|
const isVisible = this.element.isPopoverVisible;
|
|
12170
|
-
|
|
12229
|
+
|
|
12230
|
+
// Refactor this to apply attribute to correct focusable element
|
|
12231
|
+
// Reference Issue: https://github.com/AlaskaAirlines/auro-library/issues/105
|
|
12232
|
+
//
|
|
12233
|
+
// this.element.trigger.setAttribute('aria-expanded', isVisible);
|
|
12171
12234
|
|
|
12172
12235
|
if (isVisible) {
|
|
12173
12236
|
this.element.bib.setAttribute('data-show', true);
|
|
@@ -12457,7 +12520,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
12457
12520
|
*/
|
|
12458
12521
|
generateTag(baseName, version, tagClass) {
|
|
12459
12522
|
const elementName = this.generateElementName(baseName, version);
|
|
12460
|
-
const tag = i$
|
|
12523
|
+
const tag = i$8$1`${s$3$1(elementName)}`;
|
|
12461
12524
|
|
|
12462
12525
|
if (!customElements.get(elementName)) {
|
|
12463
12526
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -12472,19 +12535,19 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
12472
12535
|
* Copyright 2017 Google LLC
|
|
12473
12536
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12474
12537
|
*/
|
|
12475
|
-
const t$
|
|
12538
|
+
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
12539
|
|
|
12477
12540
|
/**
|
|
12478
12541
|
* @license
|
|
12479
12542
|
* Copyright 2018 Google LLC
|
|
12480
12543
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12481
|
-
*/const e$
|
|
12544
|
+
*/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
12545
|
|
|
12483
12546
|
/**
|
|
12484
12547
|
* @license
|
|
12485
12548
|
* Copyright 2018 Google LLC
|
|
12486
12549
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12487
|
-
*/const o$
|
|
12550
|
+
*/const o$3$1=o=>o??E$1$1;
|
|
12488
12551
|
|
|
12489
12552
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12490
12553
|
// See LICENSE in the project root for license information.
|
|
@@ -12496,7 +12559,7 @@ const t$4={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
|
|
|
12496
12559
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
12497
12560
|
*/
|
|
12498
12561
|
|
|
12499
|
-
let AuroElement$1 = class AuroElement extends r$
|
|
12562
|
+
let AuroElement$1 = class AuroElement extends r$4$1 {
|
|
12500
12563
|
|
|
12501
12564
|
// function to define props used within the scope of this component
|
|
12502
12565
|
static get properties() {
|
|
@@ -12552,7 +12615,7 @@ const cacheFetch$1 = (uri, options = {}) => {
|
|
|
12552
12615
|
return _fetchMap$1.get(uri);
|
|
12553
12616
|
};
|
|
12554
12617
|
|
|
12555
|
-
var styleCss$
|
|
12618
|
+
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
12619
|
|
|
12557
12620
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12558
12621
|
// See LICENSE in the project root for license information.
|
|
@@ -12591,8 +12654,8 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
12591
12654
|
}
|
|
12592
12655
|
|
|
12593
12656
|
static get styles() {
|
|
12594
|
-
return i$
|
|
12595
|
-
${styleCss$
|
|
12657
|
+
return i$7$1`
|
|
12658
|
+
${styleCss$3$1}
|
|
12596
12659
|
`;
|
|
12597
12660
|
}
|
|
12598
12661
|
|
|
@@ -12633,9 +12696,9 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
12633
12696
|
}
|
|
12634
12697
|
};
|
|
12635
12698
|
|
|
12636
|
-
var tokensCss$
|
|
12699
|
+
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
12700
|
|
|
12638
|
-
var colorCss$
|
|
12701
|
+
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
12702
|
|
|
12640
12703
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12641
12704
|
// See LICENSE in the project root for license information.
|
|
@@ -12697,7 +12760,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12697
12760
|
this.success = false;
|
|
12698
12761
|
this.tertiary = false;
|
|
12699
12762
|
this.warning = false;
|
|
12700
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
12763
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
12701
12764
|
}
|
|
12702
12765
|
|
|
12703
12766
|
// function to define props used within the scope of this component
|
|
@@ -12779,9 +12842,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12779
12842
|
static get styles() {
|
|
12780
12843
|
return [
|
|
12781
12844
|
super.styles,
|
|
12782
|
-
i$
|
|
12783
|
-
i$
|
|
12784
|
-
i$
|
|
12845
|
+
i$7$1`${tokensCss$2$1}`,
|
|
12846
|
+
i$7$1`${styleCss$3$1}`,
|
|
12847
|
+
i$7$1`${colorCss$3$1}`
|
|
12785
12848
|
];
|
|
12786
12849
|
}
|
|
12787
12850
|
|
|
@@ -12794,7 +12857,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12794
12857
|
*
|
|
12795
12858
|
*/
|
|
12796
12859
|
static register(name = "auro-icon") {
|
|
12797
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
12860
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
12798
12861
|
}
|
|
12799
12862
|
|
|
12800
12863
|
connectedCallback() {
|
|
@@ -12823,20 +12886,20 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12823
12886
|
'wrapper': true,
|
|
12824
12887
|
};
|
|
12825
12888
|
|
|
12826
|
-
return x$1`
|
|
12889
|
+
return x$1$1`
|
|
12827
12890
|
<div
|
|
12828
|
-
class="${e$
|
|
12829
|
-
title="${o$
|
|
12830
|
-
<span aria-hidden="${o$
|
|
12831
|
-
${this.customSvg ? x$1`
|
|
12891
|
+
class="${e$3$1(classes)}"
|
|
12892
|
+
title="${o$3$1(this.title || undefined)}">
|
|
12893
|
+
<span aria-hidden="${o$3$1(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
12894
|
+
${this.customSvg ? x$1$1`
|
|
12832
12895
|
<slot name="svg"></slot>
|
|
12833
|
-
` : x$1`
|
|
12896
|
+
` : x$1$1`
|
|
12834
12897
|
${this.svg}
|
|
12835
12898
|
`
|
|
12836
12899
|
}
|
|
12837
12900
|
</span>
|
|
12838
12901
|
|
|
12839
|
-
<div class="${e$
|
|
12902
|
+
<div class="${e$3$1(a11y)}">
|
|
12840
12903
|
<slot></slot>
|
|
12841
12904
|
</div>
|
|
12842
12905
|
</div>
|
|
@@ -12846,15 +12909,238 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12846
12909
|
|
|
12847
12910
|
var iconVersion$1 = '6.1.2';
|
|
12848
12911
|
|
|
12849
|
-
var styleCss$
|
|
12912
|
+
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}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@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)}`;
|
|
12913
|
+
|
|
12914
|
+
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);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-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);--ds-auro-dropdown-trigger-outline-color: 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)}`;
|
|
12915
|
+
|
|
12916
|
+
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-outline-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)}`;
|
|
12917
|
+
|
|
12918
|
+
/**
|
|
12919
|
+
* @license
|
|
12920
|
+
* Copyright 2019 Google LLC
|
|
12921
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
12922
|
+
*/
|
|
12923
|
+
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;
|
|
12924
|
+
|
|
12925
|
+
/**
|
|
12926
|
+
* @license
|
|
12927
|
+
* Copyright 2017 Google LLC
|
|
12928
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
12929
|
+
*/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");
|
|
12930
|
+
|
|
12931
|
+
/**
|
|
12932
|
+
* @license
|
|
12933
|
+
* Copyright 2017 Google LLC
|
|
12934
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
12935
|
+
*/
|
|
12936
|
+
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};
|
|
12937
|
+
|
|
12938
|
+
/**
|
|
12939
|
+
* @license
|
|
12940
|
+
* Copyright 2017 Google LLC
|
|
12941
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
12942
|
+
*/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");
|
|
12943
|
+
|
|
12944
|
+
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)}`;
|
|
12945
|
+
|
|
12946
|
+
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}`;
|
|
12947
|
+
|
|
12948
|
+
var tokensCss$5 = i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
12949
|
+
|
|
12950
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
12951
|
+
// See LICENSE in the project root for license information.
|
|
12952
|
+
|
|
12953
|
+
// ---------------------------------------------------------------------
|
|
12954
|
+
|
|
12955
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
12956
|
+
|
|
12957
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
12958
|
+
|
|
12959
|
+
/* eslint-disable jsdoc/require-param */
|
|
12960
|
+
|
|
12961
|
+
/**
|
|
12962
|
+
* This will register a new custom element with the browser.
|
|
12963
|
+
* @param {String} name - The name of the custom element.
|
|
12964
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
12965
|
+
* @returns {void}
|
|
12966
|
+
*/
|
|
12967
|
+
registerComponent(name, componentClass) {
|
|
12968
|
+
if (!customElements.get(name)) {
|
|
12969
|
+
customElements.define(name, class extends componentClass {});
|
|
12970
|
+
}
|
|
12971
|
+
}
|
|
12972
|
+
|
|
12973
|
+
/**
|
|
12974
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
12975
|
+
* @returns {void}
|
|
12976
|
+
*/
|
|
12977
|
+
closestElement(
|
|
12978
|
+
selector, // selector like in .closest()
|
|
12979
|
+
base = this, // extra functionality to skip a parent
|
|
12980
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
12981
|
+
!el || el === document || el === window
|
|
12982
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
12983
|
+
: found
|
|
12984
|
+
? found // found a selector INside this element
|
|
12985
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
12986
|
+
) {
|
|
12987
|
+
return __Closest(base);
|
|
12988
|
+
}
|
|
12989
|
+
/* eslint-enable jsdoc/require-param */
|
|
12990
|
+
|
|
12991
|
+
/**
|
|
12992
|
+
* 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.
|
|
12993
|
+
* @param {Object} elem - The element to check.
|
|
12994
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
12995
|
+
* @returns {void}
|
|
12996
|
+
*/
|
|
12997
|
+
handleComponentTagRename(elem, tagName) {
|
|
12998
|
+
const tag = tagName.toLowerCase();
|
|
12999
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
13000
|
+
|
|
13001
|
+
if (elemTag !== tag) {
|
|
13002
|
+
elem.setAttribute(tag, true);
|
|
13003
|
+
}
|
|
13004
|
+
}
|
|
13005
|
+
|
|
13006
|
+
/**
|
|
13007
|
+
* Validates if an element is a specific Auro component.
|
|
13008
|
+
* @param {Object} elem - The element to validate.
|
|
13009
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
13010
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
13011
|
+
*/
|
|
13012
|
+
elementMatch(elem, tagName) {
|
|
13013
|
+
const tag = tagName.toLowerCase();
|
|
13014
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
13015
|
+
|
|
13016
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
13017
|
+
}
|
|
13018
|
+
};
|
|
13019
|
+
|
|
13020
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13021
|
+
// See LICENSE in the project root for license information.
|
|
13022
|
+
|
|
13023
|
+
|
|
13024
|
+
/**
|
|
13025
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
13026
|
+
*
|
|
13027
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
13028
|
+
*/
|
|
13029
|
+
let AuroHelpText$1 = class AuroHelpText extends r$9 {
|
|
13030
|
+
|
|
13031
|
+
constructor() {
|
|
13032
|
+
super();
|
|
13033
|
+
|
|
13034
|
+
this.error = false;
|
|
13035
|
+
this.hasTextContent = false;
|
|
13036
|
+
}
|
|
13037
|
+
|
|
13038
|
+
static get styles() {
|
|
13039
|
+
return [
|
|
13040
|
+
colorCss$1$1,
|
|
13041
|
+
styleCss$1$1,
|
|
13042
|
+
tokensCss$5
|
|
13043
|
+
];
|
|
13044
|
+
}
|
|
13045
|
+
|
|
13046
|
+
// function to define props used within the scope of this component
|
|
13047
|
+
static get properties() {
|
|
13048
|
+
return {
|
|
13049
|
+
|
|
13050
|
+
/**
|
|
13051
|
+
* @private
|
|
13052
|
+
*/
|
|
13053
|
+
slotNodes: {
|
|
13054
|
+
type: Boolean,
|
|
13055
|
+
},
|
|
13056
|
+
|
|
13057
|
+
/**
|
|
13058
|
+
* @private
|
|
13059
|
+
*/
|
|
13060
|
+
hasTextContent: {
|
|
13061
|
+
type: Boolean,
|
|
13062
|
+
},
|
|
13063
|
+
|
|
13064
|
+
/**
|
|
13065
|
+
* If declared, make font color red.
|
|
13066
|
+
*/
|
|
13067
|
+
error: {
|
|
13068
|
+
type: Boolean,
|
|
13069
|
+
reflect: true,
|
|
13070
|
+
},
|
|
13071
|
+
};
|
|
13072
|
+
}
|
|
13073
|
+
|
|
13074
|
+
/**
|
|
13075
|
+
* This will register this element with the browser.
|
|
13076
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
13077
|
+
*
|
|
13078
|
+
* @example
|
|
13079
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
13080
|
+
*
|
|
13081
|
+
*/
|
|
13082
|
+
static register(name = "auro-helptext") {
|
|
13083
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
13084
|
+
}
|
|
13085
|
+
|
|
13086
|
+
updated() {
|
|
13087
|
+
this.handleSlotChange();
|
|
13088
|
+
}
|
|
13089
|
+
|
|
13090
|
+
handleSlotChange(event) {
|
|
13091
|
+
if (event) {
|
|
13092
|
+
this.slotNodes = event.target.assignedNodes();
|
|
13093
|
+
}
|
|
13094
|
+
|
|
13095
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
13096
|
+
}
|
|
13097
|
+
|
|
13098
|
+
/**
|
|
13099
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
13100
|
+
*
|
|
13101
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
13102
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
13103
|
+
* @private
|
|
13104
|
+
*/
|
|
13105
|
+
checkSlotsForContent(nodes) {
|
|
13106
|
+
if (!nodes) {
|
|
13107
|
+
return false;
|
|
13108
|
+
}
|
|
13109
|
+
|
|
13110
|
+
return nodes.some((node) => {
|
|
13111
|
+
if (node.textContent.trim()) {
|
|
13112
|
+
return true;
|
|
13113
|
+
}
|
|
13114
|
+
|
|
13115
|
+
if (!node.querySelector) {
|
|
13116
|
+
return false;
|
|
13117
|
+
}
|
|
13118
|
+
|
|
13119
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
13120
|
+
if (!nestedSlot) {
|
|
13121
|
+
return false;
|
|
13122
|
+
}
|
|
13123
|
+
|
|
13124
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
13125
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
13126
|
+
});
|
|
13127
|
+
}
|
|
12850
13128
|
|
|
12851
|
-
|
|
13129
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
13130
|
+
render() {
|
|
13131
|
+
return x$2`
|
|
13132
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
13133
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
13134
|
+
</div>
|
|
13135
|
+
`;
|
|
13136
|
+
}
|
|
13137
|
+
};
|
|
12852
13138
|
|
|
12853
|
-
|
|
13139
|
+
AuroHelpText$1.register();
|
|
12854
13140
|
|
|
12855
|
-
var styleCss$
|
|
13141
|
+
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
13142
|
|
|
12857
|
-
var colorCss$
|
|
13143
|
+
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
13144
|
|
|
12859
13145
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12860
13146
|
// See LICENSE in the project root for license information.
|
|
@@ -12874,7 +13160,7 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
12874
13160
|
* @csspart bibContainer - Apply css to the bib container.
|
|
12875
13161
|
*/
|
|
12876
13162
|
|
|
12877
|
-
class AuroDropdownBib extends r$
|
|
13163
|
+
class AuroDropdownBib extends r$4$1 {
|
|
12878
13164
|
|
|
12879
13165
|
constructor() {
|
|
12880
13166
|
super();
|
|
@@ -12887,9 +13173,9 @@ class AuroDropdownBib extends r$5 {
|
|
|
12887
13173
|
|
|
12888
13174
|
static get styles() {
|
|
12889
13175
|
return [
|
|
12890
|
-
styleCss$
|
|
12891
|
-
colorCss$
|
|
12892
|
-
tokensCss$
|
|
13176
|
+
styleCss$5,
|
|
13177
|
+
colorCss$5,
|
|
13178
|
+
tokensCss$1$1
|
|
12893
13179
|
];
|
|
12894
13180
|
}
|
|
12895
13181
|
|
|
@@ -12940,7 +13226,7 @@ class AuroDropdownBib extends r$5 {
|
|
|
12940
13226
|
|
|
12941
13227
|
// function that renders the HTML and CSS into the scope of the component
|
|
12942
13228
|
render() {
|
|
12943
|
-
return u$
|
|
13229
|
+
return u$3$1`
|
|
12944
13230
|
<div class="container" part="bibContainer">
|
|
12945
13231
|
<slot></slot>
|
|
12946
13232
|
</div>
|
|
@@ -12966,11 +13252,10 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
12966
13252
|
* @csspart trigger - The trigger content container.
|
|
12967
13253
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
12968
13254
|
* @csspart helpText - The helpText content container.
|
|
12969
|
-
* @csspart popover - The bib content container.
|
|
12970
13255
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
12971
13256
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
12972
13257
|
*/
|
|
12973
|
-
class AuroDropdown extends r$
|
|
13258
|
+
class AuroDropdown extends r$4$1 {
|
|
12974
13259
|
constructor() {
|
|
12975
13260
|
super();
|
|
12976
13261
|
|
|
@@ -12979,6 +13264,25 @@ class AuroDropdown extends r$5 {
|
|
|
12979
13264
|
this.noHideOnThisFocusLoss = false;
|
|
12980
13265
|
|
|
12981
13266
|
this.privateDefaults();
|
|
13267
|
+
|
|
13268
|
+
/**
|
|
13269
|
+
* @private
|
|
13270
|
+
* @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
|
|
13271
|
+
*/
|
|
13272
|
+
this.constructor.shadowRootOptions = {
|
|
13273
|
+
...r$4$1.shadowRootOptions,
|
|
13274
|
+
delegatesFocus: true,
|
|
13275
|
+
};
|
|
13276
|
+
|
|
13277
|
+
/**
|
|
13278
|
+
* @private
|
|
13279
|
+
*/
|
|
13280
|
+
this.triggerContentFocusable = false;
|
|
13281
|
+
|
|
13282
|
+
/**
|
|
13283
|
+
* @private
|
|
13284
|
+
*/
|
|
13285
|
+
this.showTriggerBorders = true;
|
|
12982
13286
|
}
|
|
12983
13287
|
|
|
12984
13288
|
/**
|
|
@@ -13009,7 +13313,7 @@ class AuroDropdown extends r$5 {
|
|
|
13009
13313
|
/**
|
|
13010
13314
|
* @private
|
|
13011
13315
|
*/
|
|
13012
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
13316
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
13013
13317
|
|
|
13014
13318
|
/**
|
|
13015
13319
|
* @private
|
|
@@ -13210,9 +13514,9 @@ class AuroDropdown extends r$5 {
|
|
|
13210
13514
|
|
|
13211
13515
|
static get styles() {
|
|
13212
13516
|
return [
|
|
13213
|
-
colorCss$
|
|
13214
|
-
styleCss$
|
|
13215
|
-
tokensCss$
|
|
13517
|
+
colorCss$2$1,
|
|
13518
|
+
styleCss$2$1,
|
|
13519
|
+
tokensCss$1$1
|
|
13216
13520
|
];
|
|
13217
13521
|
}
|
|
13218
13522
|
|
|
@@ -13225,7 +13529,7 @@ class AuroDropdown extends r$5 {
|
|
|
13225
13529
|
*
|
|
13226
13530
|
*/
|
|
13227
13531
|
static register(name = "auro-dropdown") {
|
|
13228
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
|
|
13532
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
|
|
13229
13533
|
}
|
|
13230
13534
|
|
|
13231
13535
|
connectedCallback() {
|
|
@@ -13291,20 +13595,96 @@ class AuroDropdown extends r$5 {
|
|
|
13291
13595
|
}
|
|
13292
13596
|
|
|
13293
13597
|
/**
|
|
13294
|
-
*
|
|
13295
|
-
*
|
|
13296
|
-
*
|
|
13297
|
-
*
|
|
13298
|
-
|
|
13598
|
+
* Determines if the element or any children are focusable.
|
|
13599
|
+
* @private
|
|
13600
|
+
* @param {HTMLElement} element - Element to check.
|
|
13601
|
+
* @returns {Boolean} - True if the element or any children are focusable.
|
|
13602
|
+
*/
|
|
13603
|
+
containsFocusableElement(element) {
|
|
13604
|
+
this.showTriggerBorders = true;
|
|
13605
|
+
|
|
13606
|
+
const nodes = [
|
|
13607
|
+
element,
|
|
13608
|
+
...element.children
|
|
13609
|
+
];
|
|
13610
|
+
|
|
13611
|
+
const focusableElements = [
|
|
13612
|
+
'a',
|
|
13613
|
+
'auro-hyperlink',
|
|
13614
|
+
'button',
|
|
13615
|
+
'auro-button',
|
|
13616
|
+
'input',
|
|
13617
|
+
'auro-input',
|
|
13618
|
+
];
|
|
13619
|
+
|
|
13620
|
+
const focusableElementsThatNeedBorders = ['auro-input'];
|
|
13621
|
+
|
|
13622
|
+
const result = nodes.some((node) => {
|
|
13623
|
+
const tagName = node.tagName.toLowerCase();
|
|
13624
|
+
|
|
13625
|
+
if (node.tabIndex > -1) {
|
|
13626
|
+
return true;
|
|
13627
|
+
}
|
|
13628
|
+
|
|
13629
|
+
if (focusableElements.includes(tagName)) {
|
|
13630
|
+
if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
|
|
13631
|
+
return true;
|
|
13632
|
+
}
|
|
13633
|
+
if (!node.hasAttribute('disabled')) {
|
|
13634
|
+
return true;
|
|
13635
|
+
}
|
|
13636
|
+
}
|
|
13637
|
+
|
|
13638
|
+
if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
|
|
13639
|
+
return true;
|
|
13640
|
+
}
|
|
13641
|
+
|
|
13642
|
+
return false;
|
|
13643
|
+
});
|
|
13644
|
+
|
|
13645
|
+
if (result) {
|
|
13646
|
+
this.showTriggerBorders = !nodes.some((node) => {
|
|
13647
|
+
const tagName = node.tagName.toLowerCase();
|
|
13648
|
+
return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
|
|
13649
|
+
});
|
|
13650
|
+
}
|
|
13651
|
+
|
|
13652
|
+
return result;
|
|
13653
|
+
}
|
|
13654
|
+
|
|
13655
|
+
/**
|
|
13656
|
+
* Handles changes to the trigger content slot and updates related properties.
|
|
13657
|
+
*
|
|
13658
|
+
* It first updates the floater settings
|
|
13659
|
+
* Then, it retrieves the assigned nodes from the event target and checks if any of
|
|
13660
|
+
* the nodes contain non-empty text content, updating the `hasTriggerContent` property accordingly.
|
|
13299
13661
|
*
|
|
13300
13662
|
* @private
|
|
13301
13663
|
* @method handleTriggerContentSlotChange
|
|
13302
|
-
* @param {Event} event -
|
|
13664
|
+
* @param {Event} event - Native slotchange event.
|
|
13303
13665
|
* @returns {void}
|
|
13304
13666
|
*/
|
|
13305
13667
|
handleTriggerContentSlotChange(event) {
|
|
13306
13668
|
this.floater.handleTriggerTabIndex();
|
|
13307
13669
|
|
|
13670
|
+
const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
|
|
13671
|
+
|
|
13672
|
+
triggerContentNodes.forEach((node) => {
|
|
13673
|
+
if (!this.triggerContentFocusable) {
|
|
13674
|
+
this.triggerContentFocusable = this.containsFocusableElement(node);
|
|
13675
|
+
}
|
|
13676
|
+
});
|
|
13677
|
+
|
|
13678
|
+
const trigger = this.shadowRoot.querySelector('#trigger');
|
|
13679
|
+
|
|
13680
|
+
if (!this.triggerContentFocusable) {
|
|
13681
|
+
trigger.setAttribute('tabindex', '0');
|
|
13682
|
+
trigger.setAttribute('role', 'button');
|
|
13683
|
+
} else {
|
|
13684
|
+
trigger.removeAttribute('tabindex');
|
|
13685
|
+
trigger.removeAttribute('role');
|
|
13686
|
+
}
|
|
13687
|
+
|
|
13308
13688
|
if (event) {
|
|
13309
13689
|
this.triggerNode = event.target;
|
|
13310
13690
|
this.triggerContentSlot = event.target.assignedNodes();
|
|
@@ -13349,16 +13729,15 @@ class AuroDropdown extends r$5 {
|
|
|
13349
13729
|
|
|
13350
13730
|
// function that renders the HTML and CSS into the scope of the component
|
|
13351
13731
|
render() {
|
|
13352
|
-
return u$
|
|
13732
|
+
return u$3$1`
|
|
13353
13733
|
<div>
|
|
13354
13734
|
<div
|
|
13355
13735
|
id="trigger"
|
|
13356
13736
|
class="trigger"
|
|
13357
13737
|
part="trigger"
|
|
13358
|
-
role="button"
|
|
13359
13738
|
aria-labelledby="triggerLabel"
|
|
13360
|
-
aria-controls="popover"
|
|
13361
13739
|
tabindex="${this.tabIndex}"
|
|
13740
|
+
?showBorder="${this.showTriggerBorders}"
|
|
13362
13741
|
>
|
|
13363
13742
|
<div class="triggerContentWrapper">
|
|
13364
13743
|
<label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
|
|
@@ -13367,10 +13746,10 @@ class AuroDropdown extends r$5 {
|
|
|
13367
13746
|
<div class="triggerContent">
|
|
13368
13747
|
<slot
|
|
13369
13748
|
name="trigger"
|
|
13370
|
-
@slotchange="${
|
|
13749
|
+
@slotchange="${this.handleTriggerContentSlotChange}"></slot>
|
|
13371
13750
|
</div>
|
|
13372
13751
|
</div>
|
|
13373
|
-
${this.chevron || this.common ? u$
|
|
13752
|
+
${this.chevron || this.common ? u$3$1`
|
|
13374
13753
|
<div
|
|
13375
13754
|
id="showStateIcon"
|
|
13376
13755
|
part="chevron">
|
|
@@ -13384,11 +13763,9 @@ class AuroDropdown extends r$5 {
|
|
|
13384
13763
|
</div>
|
|
13385
13764
|
` : undefined }
|
|
13386
13765
|
</div>
|
|
13387
|
-
<
|
|
13388
|
-
class="helpText"
|
|
13389
|
-
part="helpText">
|
|
13766
|
+
<auro-helptext part="helpText" ?error="${this.error}">
|
|
13390
13767
|
<slot name="helpText"></slot>
|
|
13391
|
-
</
|
|
13768
|
+
</auro-helptext>
|
|
13392
13769
|
<div class="slotContent">
|
|
13393
13770
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
13394
13771
|
</div>
|
|
@@ -13414,46 +13791,46 @@ var dropdownVersion = '3.0.0';
|
|
|
13414
13791
|
* Copyright 2017 Google LLC
|
|
13415
13792
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13416
13793
|
*/
|
|
13417
|
-
const t$
|
|
13794
|
+
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};
|
|
13418
13795
|
|
|
13419
13796
|
/**
|
|
13420
13797
|
* @license
|
|
13421
13798
|
* Copyright 2020 Google LLC
|
|
13422
13799
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13423
13800
|
*/
|
|
13424
|
-
const a$
|
|
13801
|
+
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);
|
|
13425
13802
|
|
|
13426
13803
|
/**
|
|
13427
13804
|
* @license
|
|
13428
13805
|
* Copyright 2017 Google LLC
|
|
13429
13806
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13430
13807
|
*/
|
|
13431
|
-
const t$
|
|
13808
|
+
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)}};
|
|
13432
13809
|
|
|
13433
13810
|
/**
|
|
13434
13811
|
* @license
|
|
13435
13812
|
* Copyright 2020 Google LLC
|
|
13436
13813
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13437
|
-
*/const {I:t$
|
|
13814
|
+
*/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;}};
|
|
13438
13815
|
|
|
13439
13816
|
/**
|
|
13440
13817
|
* @license
|
|
13441
13818
|
* Copyright 2017 Google LLC
|
|
13442
13819
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13443
13820
|
*/
|
|
13444
|
-
const u$
|
|
13821
|
+
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}});
|
|
13445
13822
|
|
|
13446
13823
|
/**
|
|
13447
13824
|
* @license
|
|
13448
13825
|
* Copyright 2018 Google LLC
|
|
13449
13826
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13450
|
-
*/const e$
|
|
13827
|
+
*/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}});
|
|
13451
13828
|
|
|
13452
13829
|
/**
|
|
13453
13830
|
* @license
|
|
13454
13831
|
* Copyright 2018 Google LLC
|
|
13455
13832
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13456
|
-
*/const o$
|
|
13833
|
+
*/const o$5=o=>o??E$1;
|
|
13457
13834
|
|
|
13458
13835
|
const watchedItems = new Set();
|
|
13459
13836
|
|
|
@@ -13563,25 +13940,25 @@ function stopNotifyingOnLangChange(element) {
|
|
|
13563
13940
|
* Copyright 2019 Google LLC
|
|
13564
13941
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13565
13942
|
*/
|
|
13566
|
-
const t=globalThis,e$
|
|
13943
|
+
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;
|
|
13567
13944
|
|
|
13568
13945
|
/**
|
|
13569
13946
|
* @license
|
|
13570
13947
|
* Copyright 2017 Google LLC
|
|
13571
13948
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13572
|
-
*/const{is:i$
|
|
13949
|
+
*/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");
|
|
13573
13950
|
|
|
13574
13951
|
/**
|
|
13575
13952
|
* @license
|
|
13576
13953
|
* Copyright 2017 Google LLC
|
|
13577
13954
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13578
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
13955
|
+
*/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");
|
|
13579
13956
|
|
|
13580
|
-
var styleCss$
|
|
13957
|
+
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)}`;
|
|
13581
13958
|
|
|
13582
|
-
var colorCss$
|
|
13959
|
+
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)}`;
|
|
13583
13960
|
|
|
13584
|
-
var tokensCss$
|
|
13961
|
+
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)}`;
|
|
13585
13962
|
|
|
13586
13963
|
var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
13587
13964
|
|
|
@@ -15147,7 +15524,7 @@ var Cleave_1 = Cleave;
|
|
|
15147
15524
|
|
|
15148
15525
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
15149
15526
|
|
|
15150
|
-
class AuroLibraryRuntimeUtils {
|
|
15527
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
15151
15528
|
|
|
15152
15529
|
/* eslint-disable jsdoc/require-param */
|
|
15153
15530
|
|
|
@@ -15208,7 +15585,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
15208
15585
|
|
|
15209
15586
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
15210
15587
|
}
|
|
15211
|
-
}
|
|
15588
|
+
};
|
|
15212
15589
|
|
|
15213
15590
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
15214
15591
|
// See LICENSE in the project root for license information.
|
|
@@ -15216,7 +15593,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
15216
15593
|
|
|
15217
15594
|
class AuroFormValidation {
|
|
15218
15595
|
constructor() {
|
|
15219
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
15596
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
15220
15597
|
}
|
|
15221
15598
|
|
|
15222
15599
|
/**
|
|
@@ -15244,30 +15621,87 @@ class AuroFormValidation {
|
|
|
15244
15621
|
}
|
|
15245
15622
|
|
|
15246
15623
|
/**
|
|
15247
|
-
*
|
|
15248
|
-
*
|
|
15249
|
-
* @param {
|
|
15624
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
15625
|
+
*
|
|
15626
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
15250
15627
|
* @returns {void}
|
|
15628
|
+
*
|
|
15629
|
+
* @example
|
|
15630
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
15631
|
+
* validateElementAttributes(inputElement);
|
|
15632
|
+
*
|
|
15633
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
15634
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
15635
|
+
*
|
|
15636
|
+
* Validation rules:
|
|
15637
|
+
* - input:
|
|
15638
|
+
* - length:
|
|
15639
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
15640
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
15641
|
+
* - pattern:
|
|
15642
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
15643
|
+
* - counter:
|
|
15644
|
+
* - range:
|
|
15645
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
15646
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
15251
15647
|
*/
|
|
15252
|
-
|
|
15253
|
-
|
|
15254
|
-
|
|
15255
|
-
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15648
|
+
validateElementAttributes(elem) {
|
|
15649
|
+
const validationRules = {
|
|
15650
|
+
input: {
|
|
15651
|
+
length: [
|
|
15652
|
+
{
|
|
15653
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
15654
|
+
validity: 'tooShort',
|
|
15655
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
15656
|
+
},
|
|
15657
|
+
{
|
|
15658
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
15659
|
+
validity: 'tooLong',
|
|
15660
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
15661
|
+
}
|
|
15662
|
+
],
|
|
15663
|
+
pattern: [
|
|
15664
|
+
{
|
|
15665
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
15666
|
+
validity: 'patternMismatch',
|
|
15667
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
15668
|
+
}
|
|
15669
|
+
]
|
|
15670
|
+
},
|
|
15671
|
+
counter: {
|
|
15672
|
+
range: [
|
|
15673
|
+
{
|
|
15674
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
15675
|
+
validity: 'rangeOverflow',
|
|
15676
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
15677
|
+
},
|
|
15678
|
+
{
|
|
15679
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
15680
|
+
validity: 'rangeUnderflow',
|
|
15681
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
15682
|
+
}
|
|
15683
|
+
]
|
|
15259
15684
|
}
|
|
15685
|
+
};
|
|
15686
|
+
|
|
15687
|
+
let elementType;
|
|
15688
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15689
|
+
elementType = 'input';
|
|
15690
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15691
|
+
elementType = 'counter';
|
|
15260
15692
|
}
|
|
15261
|
-
|
|
15262
|
-
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
15263
|
-
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
15264
|
-
elem.validity = 'tooShort';
|
|
15265
|
-
elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
|
|
15266
|
-
}
|
|
15267
15693
|
|
|
15268
|
-
if (
|
|
15269
|
-
|
|
15270
|
-
|
|
15694
|
+
if (elementType) {
|
|
15695
|
+
const rules = validationRules[elementType];
|
|
15696
|
+
|
|
15697
|
+
if (rules) {
|
|
15698
|
+
Object.values(rules).flat().forEach(rule => {
|
|
15699
|
+
if (rule.check(elem)) {
|
|
15700
|
+
elem.validity = rule.validity;
|
|
15701
|
+
elem.errorMessage = rule.message(elem);
|
|
15702
|
+
}
|
|
15703
|
+
});
|
|
15704
|
+
}
|
|
15271
15705
|
}
|
|
15272
15706
|
}
|
|
15273
15707
|
|
|
@@ -15377,7 +15811,9 @@ class AuroFormValidation {
|
|
|
15377
15811
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
15378
15812
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15379
15813
|
this.validateType(elem);
|
|
15380
|
-
this.
|
|
15814
|
+
this.validateElementAttributes(elem);
|
|
15815
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15816
|
+
this.validateElementAttributes(elem);
|
|
15381
15817
|
}
|
|
15382
15818
|
}
|
|
15383
15819
|
|
|
@@ -15487,7 +15923,7 @@ class AuroFormValidation {
|
|
|
15487
15923
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
15488
15924
|
*/
|
|
15489
15925
|
|
|
15490
|
-
class BaseInput extends r {
|
|
15926
|
+
class BaseInput extends r$4 {
|
|
15491
15927
|
|
|
15492
15928
|
constructor() {
|
|
15493
15929
|
super();
|
|
@@ -15829,9 +16265,9 @@ class BaseInput extends r {
|
|
|
15829
16265
|
|
|
15830
16266
|
static get styles() {
|
|
15831
16267
|
return [
|
|
15832
|
-
i$
|
|
15833
|
-
i$
|
|
15834
|
-
i$
|
|
16268
|
+
i$6`${colorCss$4}`,
|
|
16269
|
+
i$6`${styleCss$4}`,
|
|
16270
|
+
i$6`${tokensCss$4}`
|
|
15835
16271
|
];
|
|
15836
16272
|
}
|
|
15837
16273
|
|
|
@@ -16100,7 +16536,7 @@ class BaseInput extends r {
|
|
|
16100
16536
|
}
|
|
16101
16537
|
|
|
16102
16538
|
if (changedProperties.has('error')) {
|
|
16103
|
-
this.
|
|
16539
|
+
this.validate(true);
|
|
16104
16540
|
}
|
|
16105
16541
|
|
|
16106
16542
|
if (changedProperties.has('validity')) {
|
|
@@ -16292,11 +16728,11 @@ class BaseInput extends r {
|
|
|
16292
16728
|
}
|
|
16293
16729
|
|
|
16294
16730
|
/**
|
|
16295
|
-
*
|
|
16296
|
-
* @
|
|
16731
|
+
* Validates value.
|
|
16732
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
16297
16733
|
*/
|
|
16298
|
-
validate() {
|
|
16299
|
-
this.validation.validate(this);
|
|
16734
|
+
validate(force = false) {
|
|
16735
|
+
this.validation.validate(this, force);
|
|
16300
16736
|
}
|
|
16301
16737
|
|
|
16302
16738
|
/**
|
|
@@ -16404,7 +16840,7 @@ class BaseInput extends r {
|
|
|
16404
16840
|
return !this.placeholder ? 'MM' : this.placeholder;
|
|
16405
16841
|
}
|
|
16406
16842
|
|
|
16407
|
-
return o$
|
|
16843
|
+
return o$5(this.placeholder);
|
|
16408
16844
|
}
|
|
16409
16845
|
|
|
16410
16846
|
/**
|
|
@@ -16581,7 +17017,7 @@ class AuroDependencyVersioning {
|
|
|
16581
17017
|
*/
|
|
16582
17018
|
generateTag(baseName, version, tagClass) {
|
|
16583
17019
|
const elementName = this.generateElementName(baseName, version);
|
|
16584
|
-
const tag = i$
|
|
17020
|
+
const tag = i$8`${s$4(elementName)}`;
|
|
16585
17021
|
|
|
16586
17022
|
if (!customElements.get(elementName)) {
|
|
16587
17023
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -16601,7 +17037,7 @@ class AuroDependencyVersioning {
|
|
|
16601
17037
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
16602
17038
|
*/
|
|
16603
17039
|
|
|
16604
|
-
class AuroElement extends r {
|
|
17040
|
+
class AuroElement extends r$4 {
|
|
16605
17041
|
|
|
16606
17042
|
// function to define props used within the scope of this component
|
|
16607
17043
|
static get properties() {
|
|
@@ -16657,7 +17093,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
16657
17093
|
return _fetchMap.get(uri);
|
|
16658
17094
|
};
|
|
16659
17095
|
|
|
16660
|
-
var styleCss$
|
|
17096
|
+
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}`;
|
|
16661
17097
|
|
|
16662
17098
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
16663
17099
|
// See LICENSE in the project root for license information.
|
|
@@ -16696,8 +17132,8 @@ class BaseIcon extends AuroElement {
|
|
|
16696
17132
|
}
|
|
16697
17133
|
|
|
16698
17134
|
static get styles() {
|
|
16699
|
-
return i$
|
|
16700
|
-
${styleCss$
|
|
17135
|
+
return i$6`
|
|
17136
|
+
${styleCss$3}
|
|
16701
17137
|
`;
|
|
16702
17138
|
}
|
|
16703
17139
|
|
|
@@ -16738,9 +17174,9 @@ class BaseIcon extends AuroElement {
|
|
|
16738
17174
|
}
|
|
16739
17175
|
}
|
|
16740
17176
|
|
|
16741
|
-
var tokensCss$
|
|
17177
|
+
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)}`;
|
|
16742
17178
|
|
|
16743
|
-
var colorCss$
|
|
17179
|
+
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)}`;
|
|
16744
17180
|
|
|
16745
17181
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
16746
17182
|
// See LICENSE in the project root for license information.
|
|
@@ -16802,7 +17238,7 @@ class AuroIcon extends BaseIcon {
|
|
|
16802
17238
|
this.success = false;
|
|
16803
17239
|
this.tertiary = false;
|
|
16804
17240
|
this.warning = false;
|
|
16805
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
17241
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
16806
17242
|
}
|
|
16807
17243
|
|
|
16808
17244
|
// function to define props used within the scope of this component
|
|
@@ -16884,9 +17320,9 @@ class AuroIcon extends BaseIcon {
|
|
|
16884
17320
|
static get styles() {
|
|
16885
17321
|
return [
|
|
16886
17322
|
super.styles,
|
|
16887
|
-
i$
|
|
16888
|
-
i$
|
|
16889
|
-
i$
|
|
17323
|
+
i$6`${tokensCss$3}`,
|
|
17324
|
+
i$6`${styleCss$3}`,
|
|
17325
|
+
i$6`${colorCss$3}`
|
|
16890
17326
|
];
|
|
16891
17327
|
}
|
|
16892
17328
|
|
|
@@ -16899,7 +17335,7 @@ class AuroIcon extends BaseIcon {
|
|
|
16899
17335
|
*
|
|
16900
17336
|
*/
|
|
16901
17337
|
static register(name = "auro-icon") {
|
|
16902
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
17338
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
16903
17339
|
}
|
|
16904
17340
|
|
|
16905
17341
|
connectedCallback() {
|
|
@@ -16928,20 +17364,20 @@ class AuroIcon extends BaseIcon {
|
|
|
16928
17364
|
'wrapper': true,
|
|
16929
17365
|
};
|
|
16930
17366
|
|
|
16931
|
-
return x`
|
|
17367
|
+
return x$1`
|
|
16932
17368
|
<div
|
|
16933
|
-
class="${e$
|
|
16934
|
-
title="${o$
|
|
16935
|
-
<span aria-hidden="${o$
|
|
16936
|
-
${this.customSvg ? x`
|
|
17369
|
+
class="${e$5(classes)}"
|
|
17370
|
+
title="${o$5(this.title || undefined)}">
|
|
17371
|
+
<span aria-hidden="${o$5(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
17372
|
+
${this.customSvg ? x$1`
|
|
16937
17373
|
<slot name="svg"></slot>
|
|
16938
|
-
` : x`
|
|
17374
|
+
` : x$1`
|
|
16939
17375
|
${this.svg}
|
|
16940
17376
|
`
|
|
16941
17377
|
}
|
|
16942
17378
|
</span>
|
|
16943
17379
|
|
|
16944
|
-
<div class="${e$
|
|
17380
|
+
<div class="${e$5(a11y)}">
|
|
16945
17381
|
<slot></slot>
|
|
16946
17382
|
</div>
|
|
16947
17383
|
</div>
|
|
@@ -16951,17 +17387,17 @@ class AuroIcon extends BaseIcon {
|
|
|
16951
17387
|
|
|
16952
17388
|
var iconVersion = '6.1.2';
|
|
16953
17389
|
|
|
16954
|
-
var styleCss$
|
|
17390
|
+
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}`;
|
|
16955
17391
|
|
|
16956
|
-
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}`;
|
|
17392
|
+
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}`;
|
|
16957
17393
|
|
|
16958
|
-
var tokensCss$
|
|
17394
|
+
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}`;
|
|
16959
17395
|
|
|
16960
|
-
var styleCss = i$
|
|
17396
|
+
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}}`;
|
|
16961
17397
|
|
|
16962
|
-
var colorCss = i$
|
|
17398
|
+
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}`;
|
|
16963
17399
|
|
|
16964
|
-
var tokensCss = i$
|
|
17400
|
+
var tokensCss$1 = i$6`:host{--ds-auro-loader-background-color: currentcolor;--ds-auro-loader-border-color: currentcolor;--ds-auro-loader-color: currentcolor}`;
|
|
16965
17401
|
|
|
16966
17402
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
16967
17403
|
// See LICENSE in the project root for license information.
|
|
@@ -16986,7 +17422,7 @@ var tokensCss = i$2`:host{--ds-auro-loader-background-color: currentcolor;--ds-a
|
|
|
16986
17422
|
*/
|
|
16987
17423
|
|
|
16988
17424
|
// build the component class
|
|
16989
|
-
class AuroLoader extends r {
|
|
17425
|
+
class AuroLoader extends r$4 {
|
|
16990
17426
|
constructor() {
|
|
16991
17427
|
super();
|
|
16992
17428
|
|
|
@@ -17008,7 +17444,7 @@ class AuroLoader extends r {
|
|
|
17008
17444
|
/**
|
|
17009
17445
|
* @private
|
|
17010
17446
|
*/
|
|
17011
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
17447
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
17012
17448
|
|
|
17013
17449
|
this.orbit = false;
|
|
17014
17450
|
this.ringworm = false;
|
|
@@ -17040,9 +17476,9 @@ class AuroLoader extends r {
|
|
|
17040
17476
|
|
|
17041
17477
|
static get styles() {
|
|
17042
17478
|
return [
|
|
17043
|
-
i$
|
|
17044
|
-
i$
|
|
17045
|
-
i$
|
|
17479
|
+
i$6`${styleCss$1}`,
|
|
17480
|
+
i$6`${colorCss$1}`,
|
|
17481
|
+
i$6`${tokensCss$1}`
|
|
17046
17482
|
];
|
|
17047
17483
|
}
|
|
17048
17484
|
|
|
@@ -17055,7 +17491,7 @@ class AuroLoader extends r {
|
|
|
17055
17491
|
*
|
|
17056
17492
|
*/
|
|
17057
17493
|
static register(name = "auro-loader") {
|
|
17058
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroLoader);
|
|
17494
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
|
|
17059
17495
|
}
|
|
17060
17496
|
|
|
17061
17497
|
firstUpdated() {
|
|
@@ -17088,14 +17524,14 @@ class AuroLoader extends r {
|
|
|
17088
17524
|
|
|
17089
17525
|
// function that renders the HTML and CSS into the scope of the component
|
|
17090
17526
|
render() {
|
|
17091
|
-
return x`
|
|
17092
|
-
${this.defineTemplate().map((idx) => x`
|
|
17527
|
+
return x$1`
|
|
17528
|
+
${this.defineTemplate().map((idx) => x$1`
|
|
17093
17529
|
<span part="element" class="loader node-${idx}"></span>
|
|
17094
17530
|
`)}
|
|
17095
17531
|
|
|
17096
17532
|
<div class="no-animation">Loading...</div>
|
|
17097
17533
|
|
|
17098
|
-
${this.ringworm ? x`
|
|
17534
|
+
${this.ringworm ? x$1`
|
|
17099
17535
|
<svg part="element" class="circular" viewBox="25 25 50 50">
|
|
17100
17536
|
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
|
|
17101
17537
|
</svg>`
|
|
@@ -17141,7 +17577,7 @@ var loaderVersion = '3.1.1';
|
|
|
17141
17577
|
|
|
17142
17578
|
/* eslint-disable lit/no-invalid-html, lit/binding-positions */
|
|
17143
17579
|
|
|
17144
|
-
class AuroButton extends r {
|
|
17580
|
+
class AuroButton extends r$4 {
|
|
17145
17581
|
|
|
17146
17582
|
constructor() {
|
|
17147
17583
|
super();
|
|
@@ -17170,9 +17606,9 @@ class AuroButton extends r {
|
|
|
17170
17606
|
|
|
17171
17607
|
static get styles() {
|
|
17172
17608
|
return [
|
|
17173
|
-
tokensCss$
|
|
17174
|
-
styleCss$
|
|
17175
|
-
colorCss$
|
|
17609
|
+
tokensCss$2,
|
|
17610
|
+
styleCss$2,
|
|
17611
|
+
colorCss$2
|
|
17176
17612
|
];
|
|
17177
17613
|
}
|
|
17178
17614
|
|
|
@@ -17255,7 +17691,7 @@ class AuroButton extends r {
|
|
|
17255
17691
|
*
|
|
17256
17692
|
*/
|
|
17257
17693
|
static register(name = "auro-button") {
|
|
17258
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroButton);
|
|
17694
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
|
|
17259
17695
|
}
|
|
17260
17696
|
|
|
17261
17697
|
/**
|
|
@@ -17309,27 +17745,27 @@ class AuroButton extends r {
|
|
|
17309
17745
|
'loading': this.loading
|
|
17310
17746
|
};
|
|
17311
17747
|
|
|
17312
|
-
return u$
|
|
17748
|
+
return u$5`
|
|
17313
17749
|
<button
|
|
17314
17750
|
part="button"
|
|
17315
|
-
aria-label="${o$
|
|
17316
|
-
aria-labelledby="${o$
|
|
17751
|
+
aria-label="${o$5(this.arialabel ? this.arialabel : undefined)}"
|
|
17752
|
+
aria-labelledby="${o$5(this.arialabelledby ? this.arialabelledby : undefined)}"
|
|
17317
17753
|
?autofocus="${this.autofocus}"
|
|
17318
|
-
class="${e$
|
|
17754
|
+
class="${e$5(classes)}"
|
|
17319
17755
|
?disabled="${this.disabled || this.loading}"
|
|
17320
17756
|
?onDark="${this.onDark}"
|
|
17321
|
-
title="${o$
|
|
17322
|
-
name="${o$
|
|
17323
|
-
type="${o$
|
|
17324
|
-
variant="${o$
|
|
17325
|
-
.value="${o$
|
|
17757
|
+
title="${o$5(this.title ? this.title : undefined)}"
|
|
17758
|
+
name="${o$5(this.name ? this.name : undefined)}"
|
|
17759
|
+
type="${o$5(this.type ? this.type : undefined)}"
|
|
17760
|
+
variant="${o$5(this.variant ? this.variant : undefined)}"
|
|
17761
|
+
.value="${o$5(this.value ? this.value : undefined)}"
|
|
17326
17762
|
@click="${() => {}}"
|
|
17327
17763
|
>
|
|
17328
|
-
${o$
|
|
17764
|
+
${o$5(this.loading ? u$5`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
17329
17765
|
|
|
17330
17766
|
<span class="contentWrapper">
|
|
17331
17767
|
<span class="textSlot" part="text">
|
|
17332
|
-
${this.iconOnly ? undefined : u$
|
|
17768
|
+
${this.iconOnly ? undefined : u$5`<slot></slot>`}
|
|
17333
17769
|
</span>
|
|
17334
17770
|
|
|
17335
17771
|
<span part="icon">
|
|
@@ -17343,6 +17779,229 @@ class AuroButton extends r {
|
|
|
17343
17779
|
|
|
17344
17780
|
var buttonVersion = '8.2.2';
|
|
17345
17781
|
|
|
17782
|
+
/**
|
|
17783
|
+
* @license
|
|
17784
|
+
* Copyright 2019 Google LLC
|
|
17785
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17786
|
+
*/
|
|
17787
|
+
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;
|
|
17788
|
+
|
|
17789
|
+
/**
|
|
17790
|
+
* @license
|
|
17791
|
+
* Copyright 2017 Google LLC
|
|
17792
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17793
|
+
*/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");
|
|
17794
|
+
|
|
17795
|
+
/**
|
|
17796
|
+
* @license
|
|
17797
|
+
* Copyright 2017 Google LLC
|
|
17798
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17799
|
+
*/
|
|
17800
|
+
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};
|
|
17801
|
+
|
|
17802
|
+
/**
|
|
17803
|
+
* @license
|
|
17804
|
+
* Copyright 2017 Google LLC
|
|
17805
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17806
|
+
*/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");
|
|
17807
|
+
|
|
17808
|
+
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)}`;
|
|
17809
|
+
|
|
17810
|
+
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}`;
|
|
17811
|
+
|
|
17812
|
+
var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
17813
|
+
|
|
17814
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
17815
|
+
// See LICENSE in the project root for license information.
|
|
17816
|
+
|
|
17817
|
+
// ---------------------------------------------------------------------
|
|
17818
|
+
|
|
17819
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
17820
|
+
|
|
17821
|
+
class AuroLibraryRuntimeUtils {
|
|
17822
|
+
|
|
17823
|
+
/* eslint-disable jsdoc/require-param */
|
|
17824
|
+
|
|
17825
|
+
/**
|
|
17826
|
+
* This will register a new custom element with the browser.
|
|
17827
|
+
* @param {String} name - The name of the custom element.
|
|
17828
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
17829
|
+
* @returns {void}
|
|
17830
|
+
*/
|
|
17831
|
+
registerComponent(name, componentClass) {
|
|
17832
|
+
if (!customElements.get(name)) {
|
|
17833
|
+
customElements.define(name, class extends componentClass {});
|
|
17834
|
+
}
|
|
17835
|
+
}
|
|
17836
|
+
|
|
17837
|
+
/**
|
|
17838
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
17839
|
+
* @returns {void}
|
|
17840
|
+
*/
|
|
17841
|
+
closestElement(
|
|
17842
|
+
selector, // selector like in .closest()
|
|
17843
|
+
base = this, // extra functionality to skip a parent
|
|
17844
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
17845
|
+
!el || el === document || el === window
|
|
17846
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
17847
|
+
: found
|
|
17848
|
+
? found // found a selector INside this element
|
|
17849
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
17850
|
+
) {
|
|
17851
|
+
return __Closest(base);
|
|
17852
|
+
}
|
|
17853
|
+
/* eslint-enable jsdoc/require-param */
|
|
17854
|
+
|
|
17855
|
+
/**
|
|
17856
|
+
* 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.
|
|
17857
|
+
* @param {Object} elem - The element to check.
|
|
17858
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
17859
|
+
* @returns {void}
|
|
17860
|
+
*/
|
|
17861
|
+
handleComponentTagRename(elem, tagName) {
|
|
17862
|
+
const tag = tagName.toLowerCase();
|
|
17863
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
17864
|
+
|
|
17865
|
+
if (elemTag !== tag) {
|
|
17866
|
+
elem.setAttribute(tag, true);
|
|
17867
|
+
}
|
|
17868
|
+
}
|
|
17869
|
+
|
|
17870
|
+
/**
|
|
17871
|
+
* Validates if an element is a specific Auro component.
|
|
17872
|
+
* @param {Object} elem - The element to validate.
|
|
17873
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
17874
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
17875
|
+
*/
|
|
17876
|
+
elementMatch(elem, tagName) {
|
|
17877
|
+
const tag = tagName.toLowerCase();
|
|
17878
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
17879
|
+
|
|
17880
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
17881
|
+
}
|
|
17882
|
+
}
|
|
17883
|
+
|
|
17884
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
17885
|
+
// See LICENSE in the project root for license information.
|
|
17886
|
+
|
|
17887
|
+
|
|
17888
|
+
/**
|
|
17889
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
17890
|
+
*
|
|
17891
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
17892
|
+
*/
|
|
17893
|
+
class AuroHelpText extends r {
|
|
17894
|
+
|
|
17895
|
+
constructor() {
|
|
17896
|
+
super();
|
|
17897
|
+
|
|
17898
|
+
this.error = false;
|
|
17899
|
+
this.hasTextContent = false;
|
|
17900
|
+
}
|
|
17901
|
+
|
|
17902
|
+
static get styles() {
|
|
17903
|
+
return [
|
|
17904
|
+
colorCss,
|
|
17905
|
+
styleCss,
|
|
17906
|
+
tokensCss
|
|
17907
|
+
];
|
|
17908
|
+
}
|
|
17909
|
+
|
|
17910
|
+
// function to define props used within the scope of this component
|
|
17911
|
+
static get properties() {
|
|
17912
|
+
return {
|
|
17913
|
+
|
|
17914
|
+
/**
|
|
17915
|
+
* @private
|
|
17916
|
+
*/
|
|
17917
|
+
slotNodes: {
|
|
17918
|
+
type: Boolean,
|
|
17919
|
+
},
|
|
17920
|
+
|
|
17921
|
+
/**
|
|
17922
|
+
* @private
|
|
17923
|
+
*/
|
|
17924
|
+
hasTextContent: {
|
|
17925
|
+
type: Boolean,
|
|
17926
|
+
},
|
|
17927
|
+
|
|
17928
|
+
/**
|
|
17929
|
+
* If declared, make font color red.
|
|
17930
|
+
*/
|
|
17931
|
+
error: {
|
|
17932
|
+
type: Boolean,
|
|
17933
|
+
reflect: true,
|
|
17934
|
+
},
|
|
17935
|
+
};
|
|
17936
|
+
}
|
|
17937
|
+
|
|
17938
|
+
/**
|
|
17939
|
+
* This will register this element with the browser.
|
|
17940
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
17941
|
+
*
|
|
17942
|
+
* @example
|
|
17943
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
17944
|
+
*
|
|
17945
|
+
*/
|
|
17946
|
+
static register(name = "auro-helptext") {
|
|
17947
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
|
|
17948
|
+
}
|
|
17949
|
+
|
|
17950
|
+
updated() {
|
|
17951
|
+
this.handleSlotChange();
|
|
17952
|
+
}
|
|
17953
|
+
|
|
17954
|
+
handleSlotChange(event) {
|
|
17955
|
+
if (event) {
|
|
17956
|
+
this.slotNodes = event.target.assignedNodes();
|
|
17957
|
+
}
|
|
17958
|
+
|
|
17959
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
17960
|
+
}
|
|
17961
|
+
|
|
17962
|
+
/**
|
|
17963
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
17964
|
+
*
|
|
17965
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
17966
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
17967
|
+
* @private
|
|
17968
|
+
*/
|
|
17969
|
+
checkSlotsForContent(nodes) {
|
|
17970
|
+
if (!nodes) {
|
|
17971
|
+
return false;
|
|
17972
|
+
}
|
|
17973
|
+
|
|
17974
|
+
return nodes.some((node) => {
|
|
17975
|
+
if (node.textContent.trim()) {
|
|
17976
|
+
return true;
|
|
17977
|
+
}
|
|
17978
|
+
|
|
17979
|
+
if (!node.querySelector) {
|
|
17980
|
+
return false;
|
|
17981
|
+
}
|
|
17982
|
+
|
|
17983
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
17984
|
+
if (!nestedSlot) {
|
|
17985
|
+
return false;
|
|
17986
|
+
}
|
|
17987
|
+
|
|
17988
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
17989
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
17990
|
+
});
|
|
17991
|
+
}
|
|
17992
|
+
|
|
17993
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
17994
|
+
render() {
|
|
17995
|
+
return x`
|
|
17996
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
17997
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
17998
|
+
</div>
|
|
17999
|
+
`;
|
|
18000
|
+
}
|
|
18001
|
+
}
|
|
18002
|
+
|
|
18003
|
+
AuroHelpText.register();
|
|
18004
|
+
|
|
17346
18005
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
17347
18006
|
// See LICENSE in the project root for license information.
|
|
17348
18007
|
|
|
@@ -17377,7 +18036,7 @@ class AuroInput extends BaseInput {
|
|
|
17377
18036
|
*
|
|
17378
18037
|
*/
|
|
17379
18038
|
static register(name = "auro-input") {
|
|
17380
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroInput);
|
|
18039
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
|
|
17381
18040
|
}
|
|
17382
18041
|
|
|
17383
18042
|
/**
|
|
@@ -17430,7 +18089,7 @@ class AuroInput extends BaseInput {
|
|
|
17430
18089
|
'withValue': this.value && this.value.length > 0
|
|
17431
18090
|
};
|
|
17432
18091
|
|
|
17433
|
-
return u$
|
|
18092
|
+
return u$5`
|
|
17434
18093
|
<div class="wrapper" part="wrapper">
|
|
17435
18094
|
<div class="main">
|
|
17436
18095
|
<div class="typeIcon">
|
|
@@ -17439,7 +18098,7 @@ class AuroInput extends BaseInput {
|
|
|
17439
18098
|
<!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
|
|
17440
18099
|
This should be cleaned up when auro-icon issue #31 is resolved. -->
|
|
17441
18100
|
${this.inputIconName
|
|
17442
|
-
? c$
|
|
18101
|
+
? c$5([this.inputIconName], (val) => val, (name) => u$5`
|
|
17443
18102
|
<${this.iconTag}
|
|
17444
18103
|
class="accentIcon"
|
|
17445
18104
|
category="payment"
|
|
@@ -17451,7 +18110,7 @@ class AuroInput extends BaseInput {
|
|
|
17451
18110
|
}
|
|
17452
18111
|
|
|
17453
18112
|
${this.isDateType()
|
|
17454
|
-
? u$
|
|
18113
|
+
? u$5`
|
|
17455
18114
|
<${this.iconTag}
|
|
17456
18115
|
class="accentIcon"
|
|
17457
18116
|
category="interface"
|
|
@@ -17462,7 +18121,7 @@ class AuroInput extends BaseInput {
|
|
|
17462
18121
|
: undefined
|
|
17463
18122
|
}
|
|
17464
18123
|
</div>
|
|
17465
|
-
<label for=${this.id} class="${e$
|
|
18124
|
+
<label for=${this.id} class="${e$5(labelClasses)}" part="label">
|
|
17466
18125
|
<slot name="label">
|
|
17467
18126
|
${this.label}
|
|
17468
18127
|
</slot>
|
|
@@ -17473,23 +18132,23 @@ class AuroInput extends BaseInput {
|
|
|
17473
18132
|
@focusin="${this.handleFocusin}"
|
|
17474
18133
|
@blur="${this.handleBlur}"
|
|
17475
18134
|
id="${this.id}"
|
|
17476
|
-
name="${o$
|
|
18135
|
+
name="${o$5(this.name)}"
|
|
17477
18136
|
type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}"
|
|
17478
|
-
pattern="${o$
|
|
17479
|
-
maxlength="${o$
|
|
17480
|
-
minlength="${o$
|
|
17481
|
-
inputMode="${o$
|
|
18137
|
+
pattern="${o$5(this.definePattern())}"
|
|
18138
|
+
maxlength="${o$5(this.maxLength ? this.maxLength : undefined)}"
|
|
18139
|
+
minlength="${o$5(this.minLength ? this.minLength : undefined)}"
|
|
18140
|
+
inputMode="${o$5(this.inputMode ? this.inputMode : undefined)}"
|
|
17482
18141
|
?required="${this.required}"
|
|
17483
18142
|
?disabled="${this.disabled}"
|
|
17484
18143
|
aria-describedby="${this.uniqueId}"
|
|
17485
18144
|
aria-invalid="${this.validity !== 'valid'}"
|
|
17486
18145
|
placeholder=${this.getPlaceholder()}
|
|
17487
|
-
lang="${o$
|
|
18146
|
+
lang="${o$5(this.lang)}"
|
|
17488
18147
|
?activeLabel="${this.activeLabel}"
|
|
17489
|
-
spellcheck="${o$
|
|
17490
|
-
autocorrect="${o$
|
|
17491
|
-
autocapitalize="${o$
|
|
17492
|
-
autocomplete="${o$
|
|
18148
|
+
spellcheck="${o$5(this.spellcheck ? this.spellcheck : undefined)}"
|
|
18149
|
+
autocorrect="${o$5(this.autocorrect ? this.autocorrect : undefined)}"
|
|
18150
|
+
autocapitalize="${o$5(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
18151
|
+
autocomplete="${o$5(this.autocomplete ? this.autocomplete : undefined)}"
|
|
17493
18152
|
part="input"
|
|
17494
18153
|
/>
|
|
17495
18154
|
</div>
|
|
@@ -17497,7 +18156,7 @@ class AuroInput extends BaseInput {
|
|
|
17497
18156
|
class="notificationIcons"
|
|
17498
18157
|
part="notificationIcons"
|
|
17499
18158
|
?hasValue="${this.hasValue}">
|
|
17500
|
-
${this.validity && this.validity !== 'valid' ? u$
|
|
18159
|
+
${this.validity && this.validity !== 'valid' ? u$5`
|
|
17501
18160
|
<div class="notification alertNotification">
|
|
17502
18161
|
<${this.iconTag}
|
|
17503
18162
|
category="alert"
|
|
@@ -17506,8 +18165,8 @@ class AuroInput extends BaseInput {
|
|
|
17506
18165
|
</${this.iconTag}>
|
|
17507
18166
|
</div>
|
|
17508
18167
|
` : undefined}
|
|
17509
|
-
${this.hasValue ? u$
|
|
17510
|
-
${this.type === 'password' ? u$
|
|
18168
|
+
${this.hasValue ? u$5`
|
|
18169
|
+
${this.type === 'password' ? u$5`
|
|
17511
18170
|
<div class="notification">
|
|
17512
18171
|
<${this.buttonTag}
|
|
17513
18172
|
variant="flat"
|
|
@@ -17530,7 +18189,7 @@ class AuroInput extends BaseInput {
|
|
|
17530
18189
|
</${this.buttonTag}>
|
|
17531
18190
|
</div>
|
|
17532
18191
|
` : undefined}
|
|
17533
|
-
${!this.disabled && !this.readonly ? u$
|
|
18192
|
+
${!this.disabled && !this.readonly ? u$5`
|
|
17534
18193
|
<div class="notification">
|
|
17535
18194
|
<${this.buttonTag}
|
|
17536
18195
|
variant="flat"
|
|
@@ -17551,16 +18210,22 @@ class AuroInput extends BaseInput {
|
|
|
17551
18210
|
</div>
|
|
17552
18211
|
</div>
|
|
17553
18212
|
<!-- Help text and error message template -->
|
|
17554
|
-
|
|
17555
|
-
|
|
17556
|
-
<
|
|
17557
|
-
<
|
|
17558
|
-
|
|
17559
|
-
|
|
17560
|
-
|
|
17561
|
-
|
|
17562
|
-
|
|
17563
|
-
|
|
18213
|
+
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
18214
|
+
? u$5`
|
|
18215
|
+
<auro-helptext>
|
|
18216
|
+
<p id="${this.uniqueId}" part="helpText">
|
|
18217
|
+
<slot name="helptext">${this.getHelpText(this.type)}</slot>
|
|
18218
|
+
</p>
|
|
18219
|
+
</auro-helptext>
|
|
18220
|
+
`
|
|
18221
|
+
: u$5`
|
|
18222
|
+
<auro-helptext error>
|
|
18223
|
+
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
18224
|
+
${this.errorMessage}
|
|
18225
|
+
</p>
|
|
18226
|
+
</auro-helptext>
|
|
18227
|
+
`
|
|
18228
|
+
}
|
|
17564
18229
|
`;
|
|
17565
18230
|
}
|
|
17566
18231
|
}
|
|
@@ -17575,26 +18240,6 @@ var inputVersion = '4.2.0';
|
|
|
17575
18240
|
|
|
17576
18241
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
17577
18242
|
/**
|
|
17578
|
-
* @prop {String} value - Value selected for the date picker.
|
|
17579
|
-
* @prop {String} valueEnd - Value selected for the second date picker when using date range.
|
|
17580
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
17581
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
17582
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
|
|
17583
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
17584
|
-
* @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
|
|
17585
|
-
* @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
|
|
17586
|
-
* @attr {String} setCustomValidityValueMissing - Help text message to display when validity = `valueMissing`.
|
|
17587
|
-
* @attr {String} calendarStartDate - The first date that may be displayed in the calendar.
|
|
17588
|
-
* @attr {String} calendarEndDate - The last date that may be displayed in the calendar
|
|
17589
|
-
* @attr {String} calendarFocusDate - The date that will first be visually rendered to the user in the calendar.
|
|
17590
|
-
* @attr {Boolean} disabled - If set, disables the datepicker.
|
|
17591
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
17592
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
17593
|
-
* @attr {Boolean} range - If set, turns on date range functionality in auro-calendar.
|
|
17594
|
-
* @attr {String} centralDate - The date that determines the currently visible month.
|
|
17595
|
-
* @attr {String} maxDate - Maximum date. All dates after will be disabled.
|
|
17596
|
-
* @attr {String} minDate - Minimum date. All dates before will be disabled.
|
|
17597
|
-
* @attr {Array} monthNames = Names of all 12 months to render in the calendar, used for localization of date string in mobile layout.
|
|
17598
18243
|
* @slot helpText - Defines the content of the helpText.
|
|
17599
18244
|
* @slot mobileDateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
17600
18245
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -17616,7 +18261,7 @@ var inputVersion = '4.2.0';
|
|
|
17616
18261
|
*/
|
|
17617
18262
|
|
|
17618
18263
|
// build the component class
|
|
17619
|
-
class AuroDatePicker extends r$
|
|
18264
|
+
class AuroDatePicker extends r$b {
|
|
17620
18265
|
constructor() {
|
|
17621
18266
|
super();
|
|
17622
18267
|
|
|
@@ -17680,7 +18325,7 @@ class AuroDatePicker extends r$7 {
|
|
|
17680
18325
|
/**
|
|
17681
18326
|
* @private
|
|
17682
18327
|
*/
|
|
17683
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
18328
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
17684
18329
|
|
|
17685
18330
|
/**
|
|
17686
18331
|
* @private
|
|
@@ -17691,7 +18336,15 @@ class AuroDatePicker extends r$7 {
|
|
|
17691
18336
|
* Generate unique names for dependency components.
|
|
17692
18337
|
*/
|
|
17693
18338
|
const versioning = new AuroDependencyVersioning$2();
|
|
18339
|
+
|
|
18340
|
+
/**
|
|
18341
|
+
* @private
|
|
18342
|
+
*/
|
|
17694
18343
|
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
18344
|
+
|
|
18345
|
+
/**
|
|
18346
|
+
* @private
|
|
18347
|
+
*/
|
|
17695
18348
|
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
17696
18349
|
}
|
|
17697
18350
|
|
|
@@ -17701,108 +18354,163 @@ class AuroDatePicker extends r$7 {
|
|
|
17701
18354
|
static get properties() {
|
|
17702
18355
|
return {
|
|
17703
18356
|
// ...super.properties,
|
|
17704
|
-
|
|
18357
|
+
/**
|
|
18358
|
+
* The last date that may be displayed in the calendar.
|
|
18359
|
+
*/
|
|
18360
|
+
calendarEndDate: {
|
|
17705
18361
|
type: String,
|
|
17706
18362
|
reflect: true
|
|
17707
18363
|
},
|
|
17708
|
-
|
|
17709
|
-
|
|
17710
|
-
|
|
17711
|
-
|
|
17712
|
-
|
|
17713
|
-
},
|
|
17714
|
-
setCustomValidityCustomError: {
|
|
17715
|
-
type: String,
|
|
17716
|
-
},
|
|
17717
|
-
setCustomValidityRangeUnderflow: {
|
|
17718
|
-
type: String,
|
|
17719
|
-
},
|
|
17720
|
-
setCustomValidityRangeOverflow: {
|
|
17721
|
-
type: String,
|
|
17722
|
-
},
|
|
17723
|
-
setCustomValidityValueMissing: {
|
|
18364
|
+
|
|
18365
|
+
/**
|
|
18366
|
+
* The date that will first be visually rendered to the user in the calendar.
|
|
18367
|
+
*/
|
|
18368
|
+
calendarFocusDate: {
|
|
17724
18369
|
type: String,
|
|
18370
|
+
reflect: true
|
|
17725
18371
|
},
|
|
17726
|
-
|
|
18372
|
+
|
|
18373
|
+
/**
|
|
18374
|
+
* The first date that may be displayed in the calendar.
|
|
18375
|
+
*/
|
|
18376
|
+
calendarStartDate: {
|
|
17727
18377
|
type: String,
|
|
17728
18378
|
reflect: true
|
|
17729
18379
|
},
|
|
17730
|
-
|
|
17731
|
-
|
|
17732
|
-
|
|
18380
|
+
|
|
18381
|
+
/**
|
|
18382
|
+
* The date that determines the currently visible month.
|
|
18383
|
+
*/
|
|
18384
|
+
centralDate: {
|
|
18385
|
+
type: String
|
|
17733
18386
|
},
|
|
18387
|
+
|
|
18388
|
+
/**
|
|
18389
|
+
* If set, disables the datepicker.
|
|
18390
|
+
*/
|
|
17734
18391
|
disabled: {
|
|
17735
18392
|
type: Boolean,
|
|
17736
18393
|
reflect: true
|
|
17737
18394
|
},
|
|
17738
|
-
|
|
17739
|
-
|
|
17740
|
-
|
|
17741
|
-
|
|
17742
|
-
|
|
18395
|
+
|
|
18396
|
+
/**
|
|
18397
|
+
* When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
18398
|
+
*/
|
|
18399
|
+
error: {
|
|
17743
18400
|
type: String,
|
|
17744
18401
|
reflect: true
|
|
17745
18402
|
},
|
|
17746
|
-
|
|
17747
|
-
|
|
17748
|
-
|
|
17749
|
-
|
|
17750
|
-
type: String
|
|
17751
|
-
},
|
|
17752
|
-
centralDate: {
|
|
17753
|
-
type: String
|
|
17754
|
-
},
|
|
18403
|
+
|
|
18404
|
+
/**
|
|
18405
|
+
* Maximum date. All dates after will be disabled.
|
|
18406
|
+
*/
|
|
17755
18407
|
maxDate: {
|
|
17756
18408
|
type: String,
|
|
17757
18409
|
reflect: true
|
|
17758
18410
|
},
|
|
18411
|
+
|
|
18412
|
+
/**
|
|
18413
|
+
* Minimum date. All dates before will be disabled.
|
|
18414
|
+
*/
|
|
17759
18415
|
minDate: {
|
|
17760
18416
|
type: String,
|
|
17761
18417
|
reflect: true
|
|
17762
18418
|
},
|
|
18419
|
+
|
|
18420
|
+
/**
|
|
18421
|
+
* Names of all 12 months to render in the calendar, used for localization of date string in mobile layout.
|
|
18422
|
+
*/
|
|
17763
18423
|
monthNames: {
|
|
17764
18424
|
type: Array
|
|
17765
18425
|
},
|
|
17766
|
-
|
|
17767
|
-
|
|
17768
|
-
|
|
18426
|
+
|
|
18427
|
+
/**
|
|
18428
|
+
* If set, disables auto-validation on blur.
|
|
18429
|
+
*/
|
|
18430
|
+
noValidate: {
|
|
18431
|
+
type: Boolean
|
|
17769
18432
|
},
|
|
17770
|
-
|
|
17771
|
-
|
|
18433
|
+
|
|
18434
|
+
/**
|
|
18435
|
+
* If set, turns on date range functionality in auro-calendar.
|
|
18436
|
+
*/
|
|
18437
|
+
range: {
|
|
18438
|
+
type: Boolean,
|
|
17772
18439
|
reflect: true
|
|
17773
18440
|
},
|
|
17774
|
-
|
|
17775
|
-
|
|
18441
|
+
|
|
18442
|
+
/**
|
|
18443
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
18444
|
+
*/
|
|
18445
|
+
required: {
|
|
18446
|
+
type: Boolean,
|
|
17776
18447
|
reflect: true
|
|
17777
18448
|
},
|
|
17778
18449
|
|
|
17779
18450
|
/**
|
|
17780
|
-
*
|
|
18451
|
+
* Sets a custom help text message to display for all validityStates.
|
|
17781
18452
|
*/
|
|
17782
|
-
|
|
18453
|
+
setCustomValidity: {
|
|
18454
|
+
type: String
|
|
18455
|
+
},
|
|
17783
18456
|
|
|
17784
18457
|
/**
|
|
17785
|
-
*
|
|
18458
|
+
* Custom help text message to display when validity = `customError`.
|
|
17786
18459
|
*/
|
|
17787
|
-
|
|
18460
|
+
setCustomValidityCustomError: {
|
|
18461
|
+
type: String
|
|
18462
|
+
},
|
|
17788
18463
|
|
|
17789
18464
|
/**
|
|
17790
|
-
*
|
|
18465
|
+
* Custom help text message to display when validity = `rangeOverflow`.
|
|
17791
18466
|
*/
|
|
17792
|
-
|
|
18467
|
+
setCustomValidityRangeOverflow: {
|
|
18468
|
+
type: String
|
|
18469
|
+
},
|
|
17793
18470
|
|
|
17794
18471
|
/**
|
|
17795
|
-
*
|
|
18472
|
+
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
18473
|
+
*/
|
|
18474
|
+
setCustomValidityRangeUnderflow: {
|
|
18475
|
+
type: String
|
|
18476
|
+
},
|
|
18477
|
+
|
|
18478
|
+
/**
|
|
18479
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
18480
|
+
*/
|
|
18481
|
+
setCustomValidityValueMissing: {
|
|
18482
|
+
type: String
|
|
18483
|
+
},
|
|
18484
|
+
|
|
18485
|
+
/**
|
|
18486
|
+
* Specifies the `validityState` this element is in.
|
|
18487
|
+
*/
|
|
18488
|
+
validity: {
|
|
18489
|
+
type: String,
|
|
18490
|
+
reflect: true
|
|
18491
|
+
},
|
|
18492
|
+
|
|
18493
|
+
/**
|
|
18494
|
+
* Value selected for the datepicker.
|
|
18495
|
+
*/
|
|
18496
|
+
value: {
|
|
18497
|
+
type: String
|
|
18498
|
+
},
|
|
18499
|
+
|
|
18500
|
+
/**
|
|
18501
|
+
* Value selected for the second datepicker when using date range.
|
|
17796
18502
|
*/
|
|
17797
|
-
|
|
18503
|
+
valueEnd: {
|
|
18504
|
+
type: String
|
|
18505
|
+
}
|
|
17798
18506
|
};
|
|
17799
18507
|
}
|
|
17800
18508
|
|
|
17801
18509
|
static get styles() {
|
|
17802
18510
|
return [
|
|
17803
|
-
styleCss$
|
|
17804
|
-
colorCss$
|
|
17805
|
-
tokensCss$
|
|
18511
|
+
styleCss$a,
|
|
18512
|
+
colorCss$a,
|
|
18513
|
+
tokensCss$7
|
|
17806
18514
|
];
|
|
17807
18515
|
}
|
|
17808
18516
|
|
|
@@ -17815,7 +18523,29 @@ class AuroDatePicker extends r$7 {
|
|
|
17815
18523
|
*
|
|
17816
18524
|
*/
|
|
17817
18525
|
static register(name = "auro-datepicker") {
|
|
17818
|
-
AuroLibraryRuntimeUtils$
|
|
18526
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroDatePicker);
|
|
18527
|
+
}
|
|
18528
|
+
|
|
18529
|
+
/**
|
|
18530
|
+
* A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
|
|
18531
|
+
* @returns {string[]}
|
|
18532
|
+
*/
|
|
18533
|
+
get values() {
|
|
18534
|
+
// If range, and both populated, return both values in an array
|
|
18535
|
+
// - NOTE: both are required here, so we don't have something like `['10/22/25', undefined]`
|
|
18536
|
+
if (this.range && this.value && this.valueEnd) {
|
|
18537
|
+
return [
|
|
18538
|
+
this.value,
|
|
18539
|
+
this.valueEnd
|
|
18540
|
+
];
|
|
18541
|
+
}
|
|
18542
|
+
|
|
18543
|
+
// This if block catches instances where `value` is present, no matter if valueEnd is selected yet
|
|
18544
|
+
if (this.value) {
|
|
18545
|
+
return [this.value];
|
|
18546
|
+
}
|
|
18547
|
+
|
|
18548
|
+
return [];
|
|
17819
18549
|
}
|
|
17820
18550
|
|
|
17821
18551
|
/**
|
|
@@ -17973,7 +18703,6 @@ class AuroDatePicker extends r$7 {
|
|
|
17973
18703
|
});
|
|
17974
18704
|
|
|
17975
18705
|
this.dropdown.addEventListener('auroDropdown-toggled', () => {
|
|
17976
|
-
this.setAttribute('aria-expanded', this.dropdown.isPopoverVisible);
|
|
17977
18706
|
this.notifyDatepickerToggled();
|
|
17978
18707
|
|
|
17979
18708
|
this.calendar.visible = this.dropdown.isPopoverVisible;
|
|
@@ -17985,10 +18714,6 @@ class AuroDatePicker extends r$7 {
|
|
|
17985
18714
|
}
|
|
17986
18715
|
}
|
|
17987
18716
|
});
|
|
17988
|
-
|
|
17989
|
-
if (!this.dropdown.hasAttribute('aria-expanded')) {
|
|
17990
|
-
this.dropdown.setAttribute('aria-expanded', this.dropdown.isPopoverVisible);
|
|
17991
|
-
}
|
|
17992
18717
|
}
|
|
17993
18718
|
|
|
17994
18719
|
/**
|
|
@@ -18094,8 +18819,6 @@ class AuroDatePicker extends r$7 {
|
|
|
18094
18819
|
});
|
|
18095
18820
|
|
|
18096
18821
|
this.addEventListener('focusout', (evt) => {
|
|
18097
|
-
this.setAttribute('aria-expanded', this.dropdown.isPopoverVisible);
|
|
18098
|
-
|
|
18099
18822
|
if (!this.noValidate && !evt.detail.expanded && this.inputList[0].value !== undefined) {
|
|
18100
18823
|
if (!this.contains(document.activeElement)) {
|
|
18101
18824
|
this.validation.validate(this.inputList[0]);
|
|
@@ -18181,10 +18904,11 @@ class AuroDatePicker extends r$7 {
|
|
|
18181
18904
|
if (!this.value || !this.util.validDateStr(this.value)) {
|
|
18182
18905
|
this.value = newDate;
|
|
18183
18906
|
} else if (!this.valueEnd || !this.util.validDateStr(this.valueEnd)) {
|
|
18184
|
-
|
|
18185
18907
|
// verify the date is after this.value to insure we are setting a proper range
|
|
18186
18908
|
if (new Date(newDate) >= new Date(this.value)) {
|
|
18187
18909
|
this.valueEnd = newDate;
|
|
18910
|
+
} else {
|
|
18911
|
+
this.value = newDate;
|
|
18188
18912
|
}
|
|
18189
18913
|
} else {
|
|
18190
18914
|
this.value = newDate;
|
|
@@ -18217,6 +18941,14 @@ class AuroDatePicker extends r$7 {
|
|
|
18217
18941
|
this.validation.reset(this);
|
|
18218
18942
|
}
|
|
18219
18943
|
|
|
18944
|
+
/**
|
|
18945
|
+
* Validates value.
|
|
18946
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
18947
|
+
*/
|
|
18948
|
+
validate(force = false) {
|
|
18949
|
+
this.validation.validate(this, force);
|
|
18950
|
+
}
|
|
18951
|
+
|
|
18220
18952
|
updated(changedProperties) {
|
|
18221
18953
|
if (changedProperties.has('calendarFocusDate')) {
|
|
18222
18954
|
this.handleFocusDateChange();
|
|
@@ -18282,7 +19014,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18282
19014
|
}
|
|
18283
19015
|
}
|
|
18284
19016
|
|
|
18285
|
-
this.
|
|
19017
|
+
this.validate();
|
|
18286
19018
|
}
|
|
18287
19019
|
|
|
18288
19020
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
@@ -18312,7 +19044,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18312
19044
|
}
|
|
18313
19045
|
}
|
|
18314
19046
|
|
|
18315
|
-
this.
|
|
19047
|
+
this.validate();
|
|
18316
19048
|
}
|
|
18317
19049
|
|
|
18318
19050
|
if (changedProperties.has('error')) {
|
|
@@ -18342,11 +19074,14 @@ class AuroDatePicker extends r$7 {
|
|
|
18342
19074
|
// a later date than the current value date
|
|
18343
19075
|
if (changedProperties.has('minDate')) {
|
|
18344
19076
|
if (this.minDate) {
|
|
18345
|
-
const minDateMonth = Number(this.minDate.
|
|
19077
|
+
const minDateMonth = Number(this.minDate.split('/')[0]);
|
|
19078
|
+
const minDateYear = Number(this.minDate.split('/')[2]);
|
|
18346
19079
|
|
|
18347
19080
|
// This sets the visible month of the calendar to the minDate when the minDate is later
|
|
18348
19081
|
// than the current visible date
|
|
18349
|
-
if (
|
|
19082
|
+
if (minDateYear > this.calendar.year) {
|
|
19083
|
+
this.calendarRenderUtil.updateCentralDate(this, this.minDate);
|
|
19084
|
+
} else if (minDateYear === this.calendar.year && minDateMonth > this.calendar.month) {
|
|
18350
19085
|
this.calendarRenderUtil.updateCentralDate(this, this.minDate);
|
|
18351
19086
|
}
|
|
18352
19087
|
|
|
@@ -18367,6 +19102,17 @@ class AuroDatePicker extends r$7 {
|
|
|
18367
19102
|
// This resets the datepicker when the maxDate is set to a new value that is
|
|
18368
19103
|
// an earlier date than the current value date
|
|
18369
19104
|
if (changedProperties.has('maxDate')) {
|
|
19105
|
+
const maxDateMonth = Number(this.maxDate.split('/')[0]);
|
|
19106
|
+
const maxDateYear = Number(this.maxDate.split('/')[2]);
|
|
19107
|
+
|
|
19108
|
+
// This sets the visible month of the calendar to the maxDate when the maxDate is earlier
|
|
19109
|
+
// than the current visible date
|
|
19110
|
+
if (maxDateYear < this.calendar.year) {
|
|
19111
|
+
this.calendarRenderUtil.updateCentralDate(this, this.maxDate);
|
|
19112
|
+
} else if (maxDateYear === this.calendar.year && maxDateMonth < this.calendar.month) {
|
|
19113
|
+
this.calendarRenderUtil.updateCentralDate(this, this.maxDate);
|
|
19114
|
+
}
|
|
19115
|
+
|
|
18370
19116
|
if (this.maxDate) {
|
|
18371
19117
|
if (this.value) {
|
|
18372
19118
|
if (new Date(this.maxDate).getTime() < new Date(this.value).getTime()) {
|
|
@@ -18416,7 +19162,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18416
19162
|
|
|
18417
19163
|
// function that renders the HTML and CSS into the scope of the component
|
|
18418
19164
|
render() {
|
|
18419
|
-
return u$
|
|
19165
|
+
return u$8`
|
|
18420
19166
|
<div class="outerWrapper">
|
|
18421
19167
|
<${this.dropdownTag}
|
|
18422
19168
|
for="dropdownMenu"
|
|
@@ -18448,7 +19194,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18448
19194
|
part="input">
|
|
18449
19195
|
<span slot="label"><slot name="fromLabel"></slot></span>
|
|
18450
19196
|
</${this.inputTag}>
|
|
18451
|
-
${this.range ? u$
|
|
19197
|
+
${this.range ? u$8`
|
|
18452
19198
|
<${this.inputTag}
|
|
18453
19199
|
id="${this.generateRandomString(12)}"
|
|
18454
19200
|
bordered
|
|
@@ -18479,21 +19225,21 @@ class AuroDatePicker extends r$7 {
|
|
|
18479
19225
|
part="calendar"
|
|
18480
19226
|
>
|
|
18481
19227
|
<slot slot="mobileDateLabel" name="mobileDateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
18482
|
-
<span slot="mobileDateFromStr">${this.value ? this.getMobileDateStr(this.value) : u$
|
|
18483
|
-
${this.range ? u$
|
|
19228
|
+
<span slot="mobileDateFromStr">${this.value ? this.getMobileDateStr(this.value) : u$8`<span class="placeholderDate">MM/DD/YYYY</span>`}</span>
|
|
19229
|
+
${this.range ? u$8`<span slot="mobileDateToStr">${this.valueEnd ? this.getMobileDateStr(this.valueEnd) : u$8`<span class="placeholderDate">MM/DD/YYYY</span>`}</span>` : undefined}
|
|
18484
19230
|
</auro-calendar>
|
|
18485
19231
|
</div>
|
|
18486
|
-
<
|
|
19232
|
+
<p slot="helpText" part="helpTextSpan">
|
|
18487
19233
|
<!-- Help text and error message template -->
|
|
18488
19234
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
18489
|
-
? u$
|
|
19235
|
+
? u$8`
|
|
18490
19236
|
<slot name="helpText"></slot>
|
|
18491
|
-
` : u$
|
|
18492
|
-
<
|
|
19237
|
+
` : u$8`
|
|
19238
|
+
<span role="alert" aria-live="assertive" part="helpText">
|
|
18493
19239
|
${this.errorMessage}
|
|
18494
|
-
</
|
|
19240
|
+
</span>`
|
|
18495
19241
|
}
|
|
18496
|
-
</
|
|
19242
|
+
</p>
|
|
18497
19243
|
</${this.dropdownTag}>
|
|
18498
19244
|
</div>
|
|
18499
19245
|
`;
|