@aurodesignsystem/auro-formkit 2.0.0-beta.4 → 2.0.0-beta.40
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/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/2d51091c22fc92f5-meta.json +1 -0
- package/.turbo/cache/2d51091c22fc92f5.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/366fc19b143f7957-meta.json +1 -0
- package/.turbo/cache/366fc19b143f7957.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/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/78629f56974cc5d7-meta.json +1 -0
- package/.turbo/cache/78629f56974cc5d7.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/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/e34579fa4cd85684-meta.json +1 -0
- package/.turbo/cache/e34579fa4cd85684.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 +360 -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 +447 -25
- package/components/form/demo/index.min.js +447 -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 +178 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +447 -25
- package/components/form/package.json +8 -6
- package/components/form/src/auro-form.js +444 -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
|
@@ -263,33 +263,33 @@ function resetStateExample() {
|
|
|
263
263
|
* Copyright 2019 Google LLC
|
|
264
264
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
265
265
|
*/
|
|
266
|
-
const t$
|
|
266
|
+
const t$9=globalThis,e$d=t$9.ShadowRoot&&(undefined===t$9.ShadyCSS||t$9.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$9=Symbol(),o$d=new WeakMap;let n$c = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$9)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$d&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$d.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$d.set(s,t));}return t}toString(){return this.cssText}};const r$e=t=>new n$c("string"==typeof t?t:t+"",undefined,s$9),i$g=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$c(o,t,s$9)},S$6=(s,o)=>{if(e$d)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$9.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$a=e$d?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$e(e)})(t):t;
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
269
|
* @license
|
|
270
270
|
* Copyright 2017 Google LLC
|
|
271
271
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
272
|
-
*/const{is:i$
|
|
272
|
+
*/const{is:i$f,defineProperty:e$c,getOwnPropertyDescriptor:r$d,getOwnPropertyNames:h$6,getOwnPropertySymbols:o$c,getPrototypeOf:n$b}=Object,a$8=globalThis,c$9=a$8.trustedTypes,l$8=c$9?c$9.emptyScript:"",p$7=a$8.reactiveElementPolyfillSupport,d$6=(t,s)=>t,u$a={toAttribute(t,s){switch(s){case Boolean:t=t?l$8:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$6=(t,s)=>!i$f(t,s),y$6={attribute:true,type:String,converter:u$a,reflect:false,hasChanged:f$6};Symbol.metadata??=Symbol("metadata"),a$8.litPropertyMetadata??=new WeakMap;let b$3 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$6){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$c(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$d(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$6}static _$Ei(){if(this.hasOwnProperty(d$6("elementProperties")))return;const t=n$b(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$6("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$6("properties"))){const t=this.properties,s=[...h$6(t),...o$c(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$a(s));}else undefined!==s&&i.push(c$a(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$6(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$a).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$a;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$6)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$3.elementStyles=[],b$3.shadowRootOptions={mode:"open"},b$3[d$6("elementProperties")]=new Map,b$3[d$6("finalized")]=new Map,p$7?.({ReactiveElement:b$3}),(a$8.reactiveElementVersions??=[]).push("2.0.4");
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
275
|
* @license
|
|
276
276
|
* Copyright 2017 Google LLC
|
|
277
277
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
278
278
|
*/
|
|
279
|
-
const t$
|
|
279
|
+
const t$8=globalThis,i$e=t$8.trustedTypes,s$8=i$e?i$e.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$b="$lit$",h$5=`lit$${Math.random().toFixed(9).slice(2)}$`,o$b="?"+h$5,n$a=`<${o$b}>`,r$c=document,l$7=()=>r$c.createComment(""),c$8=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$7=Array.isArray,u$9=t=>a$7(t)||"function"==typeof t?.[Symbol.iterator],d$5="[ \t\n\f\r]",f$5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$4=/-->/g,_$3=/>/g,m$4=RegExp(`>|${d$5}(?:([^\\s"'>=/]+)(${d$5}*=${d$5}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$6=/'/g,g$3=/"/g,$$3=/^(?:script|style|textarea|title)$/i,y$5=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$3=y$5(1),T$3=Symbol.for("lit-noChange"),E$3=Symbol.for("lit-nothing"),A$3=new WeakMap,C$3=r$c.createTreeWalker(r$c,129);function P$3(t,i){if(!a$7(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$8?s$8.createHTML(i):i}const V$3=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$5;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$5?"!--"===u[1]?c=v$4:undefined!==u[1]?c=_$3:undefined!==u[2]?($$3.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$4):undefined!==u[3]&&(c=m$4):c===m$4?">"===u[0]?(c=r??f$5,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$4:'"'===u[3]?g$3:p$6):c===g$3||c===p$6?c=m$4:c===v$4||c===_$3?c=f$5:(c=m$4,r=undefined);const x=c===m$4&&t[i+1].startsWith("/>")?" ":"";l+=c===f$5?s+n$a:d>=0?(o.push(a),s.slice(0,d)+e$b+s.slice(d)+h$5+x):s+h$5+(-2===d?i:x);}return [P$3(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$3 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$3(t,s);if(this.el=N.createElement(f,n),C$3.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$3.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$b)){const i=v[a++],s=r.getAttribute(t).split(h$5),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$3:"?"===e[1]?I$3:"@"===e[1]?L$3:k$3}),r.removeAttribute(t);}else t.startsWith(h$5)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$3.test(r.tagName)){const t=r.textContent.split(h$5),s=t.length-1;if(s>0){r.textContent=i$e?i$e.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$7()),C$3.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$7());}}}else if(8===r.nodeType)if(r.data===o$b)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$5,t+1));)d.push({type:7,index:c}),t+=h$5.length-1;}c++;}}static createElement(t,i){const s=r$c.createElement("template");return s.innerHTML=t,s}};function S$5(t,i,s=t,e){if(i===T$3)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$8(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$5(t,h._$AS(t,i.values),h,e)),i}let M$4 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$c).importNode(i,true);C$3.currentNode=e;let h=C$3.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$3(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$3(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$3.nextNode(),o++);}return C$3.currentNode=r$c,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$3 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$3,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$5(this,t,i),c$8(t)?t===E$3||null==t||""===t?(this._$AH!==E$3&&this._$AR(),this._$AH=E$3):t!==this._$AH&&t!==T$3&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$9(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$3&&c$8(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$c.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$3.createElement(P$3(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$4(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$3.get(t.strings);return undefined===i&&A$3.set(t.strings,i=new N$3(t)),i}k(t){a$7(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$7()),this.O(l$7()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$3 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$3,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$3;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$5(this,t,i,0),o=!c$8(t)||t!==this._$AH&&t!==T$3,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$5(this,e[s+n],i,n),r===T$3&&(r=this._$AH[n]),o||=!c$8(r)||r!==this._$AH[n],r===E$3?t=E$3:t!==E$3&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$3?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$3 = class H extends k$3{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$3?undefined:t;}};let I$3 = class I extends k$3{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$3);}};let L$3 = class L extends k$3{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$5(this,t,i,0)??E$3)===T$3)return;const s=this._$AH,e=t===E$3&&s!==E$3||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$3&&(s===E$3||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$3 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$5(this,t);}};const j$3=t$8.litHtmlPolyfillSupport;j$3?.(N$3,R$3),(t$8.litHtmlVersions??=[]).push("3.2.1");const B$3=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$3(i.insertBefore(l$7(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* @license
|
|
283
283
|
* Copyright 2017 Google LLC
|
|
284
284
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
285
|
-
*/let r$
|
|
285
|
+
*/let r$b = class r extends b$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$3(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$3}};r$b._$litElement$=true,r$b["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$b});const i$d=globalThis.litElementPolyfillSupport;i$d?.({LitElement:r$b});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* @license
|
|
289
289
|
* Copyright 2020 Google LLC
|
|
290
290
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
291
291
|
*/
|
|
292
|
-
const a$
|
|
292
|
+
const a$6=Symbol.for(""),o$a=t=>{if(t?.r===a$6)return t?._$litStatic$},s$7=t=>({_$litStatic$:t,r:a$6}),i$c=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$6}),l$6=new Map,n$9=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$a(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$6.get(t))&&(n.raw=n,l$6.set(t,r=n)),e=u;}return t(r,...e)},u$8=n$9(x$3);
|
|
293
293
|
|
|
294
294
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
295
295
|
// See LICENSE in the project root for license information.
|
|
@@ -298,7 +298,7 @@ const a$4=Symbol.for(""),o$7=t=>{if(t?.r===a$4)return t?._$litStatic$},s$5=t=>({
|
|
|
298
298
|
|
|
299
299
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
300
300
|
|
|
301
|
-
let AuroLibraryRuntimeUtils$
|
|
301
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
302
302
|
|
|
303
303
|
/* eslint-disable jsdoc/require-param */
|
|
304
304
|
|
|
@@ -367,7 +367,7 @@ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
|
367
367
|
|
|
368
368
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
369
369
|
constructor() {
|
|
370
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
370
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
/**
|
|
@@ -395,30 +395,87 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* @param {
|
|
398
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
399
|
+
*
|
|
400
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
401
401
|
* @returns {void}
|
|
402
|
+
*
|
|
403
|
+
* @example
|
|
404
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
405
|
+
* validateElementAttributes(inputElement);
|
|
406
|
+
*
|
|
407
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
408
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
409
|
+
*
|
|
410
|
+
* Validation rules:
|
|
411
|
+
* - input:
|
|
412
|
+
* - length:
|
|
413
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
414
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
415
|
+
* - pattern:
|
|
416
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
417
|
+
* - counter:
|
|
418
|
+
* - range:
|
|
419
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
420
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
402
421
|
*/
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
422
|
+
validateElementAttributes(elem) {
|
|
423
|
+
const validationRules = {
|
|
424
|
+
input: {
|
|
425
|
+
length: [
|
|
426
|
+
{
|
|
427
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
428
|
+
validity: 'tooShort',
|
|
429
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
433
|
+
validity: 'tooLong',
|
|
434
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
pattern: [
|
|
438
|
+
{
|
|
439
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
440
|
+
validity: 'patternMismatch',
|
|
441
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
442
|
+
}
|
|
443
|
+
]
|
|
444
|
+
},
|
|
445
|
+
counter: {
|
|
446
|
+
range: [
|
|
447
|
+
{
|
|
448
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
449
|
+
validity: 'rangeOverflow',
|
|
450
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
454
|
+
validity: 'rangeUnderflow',
|
|
455
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
456
|
+
}
|
|
457
|
+
]
|
|
410
458
|
}
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
if (
|
|
415
|
-
|
|
416
|
-
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
let elementType;
|
|
462
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
463
|
+
elementType = 'input';
|
|
464
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
465
|
+
elementType = 'counter';
|
|
417
466
|
}
|
|
418
467
|
|
|
419
|
-
if (
|
|
420
|
-
|
|
421
|
-
|
|
468
|
+
if (elementType) {
|
|
469
|
+
const rules = validationRules[elementType];
|
|
470
|
+
|
|
471
|
+
if (rules) {
|
|
472
|
+
Object.values(rules).flat().forEach(rule => {
|
|
473
|
+
if (rule.check(elem)) {
|
|
474
|
+
elem.validity = rule.validity;
|
|
475
|
+
elem.errorMessage = rule.message(elem);
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
}
|
|
422
479
|
}
|
|
423
480
|
}
|
|
424
481
|
|
|
@@ -528,7 +585,9 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
528
585
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
529
586
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
530
587
|
this.validateType(elem);
|
|
531
|
-
this.
|
|
588
|
+
this.validateElementAttributes(elem);
|
|
589
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
590
|
+
this.validateElementAttributes(elem);
|
|
532
591
|
}
|
|
533
592
|
}
|
|
534
593
|
|
|
@@ -646,7 +705,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
646
705
|
*/
|
|
647
706
|
generateTag(baseName, version, tagClass) {
|
|
648
707
|
const elementName = this.generateElementName(baseName, version);
|
|
649
|
-
const tag = i$
|
|
708
|
+
const tag = i$c`${s$7(elementName)}`;
|
|
650
709
|
|
|
651
710
|
if (!customElements.get(elementName)) {
|
|
652
711
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -784,7 +843,7 @@ class UtilitiesCalendarRender {
|
|
|
784
843
|
/**
|
|
785
844
|
* Determines how many calendar months can be rendered based on the screen size and defined range.
|
|
786
845
|
* @param {Object} elem - The auro-calendar element.
|
|
787
|
-
* @param {Boolean} isMobile -
|
|
846
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
788
847
|
* @private
|
|
789
848
|
* @returns {Number} Returns the maximum number of months that can be rendered.
|
|
790
849
|
*/
|
|
@@ -818,7 +877,7 @@ class UtilitiesCalendarRender {
|
|
|
818
877
|
/**
|
|
819
878
|
* Determines the number of months rendered inside the calendar.
|
|
820
879
|
* @param {Object} elem - The auro-calendar element.
|
|
821
|
-
* @param {Boolean} isMobile -
|
|
880
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
822
881
|
* @private
|
|
823
882
|
* @returns {void}
|
|
824
883
|
*/
|
|
@@ -876,7 +935,7 @@ class UtilitiesCalendarRender {
|
|
|
876
935
|
* @returns {Object} Returns the auro-calendar-month HTML.
|
|
877
936
|
*/
|
|
878
937
|
renderCalendar(elem, month, year) {
|
|
879
|
-
return x$
|
|
938
|
+
return x$3`
|
|
880
939
|
<auro-calendar-month
|
|
881
940
|
id="${`month-${month}-${year}`}"
|
|
882
941
|
.disabledDays="${elem.disabledDays}"
|
|
@@ -898,19 +957,19 @@ class UtilitiesCalendarRender {
|
|
|
898
957
|
}
|
|
899
958
|
}
|
|
900
959
|
|
|
901
|
-
var styleCss$
|
|
960
|
+
var styleCss$a = i$g`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-input]::part(iconContainer){top:0;display:flex;height:100%;align-items:center}[auro-input]::part(accentIcon){transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}[auro-input]::part(helpText){display:none}[auro-input]::part(wrapper){border-width:0 !important}[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}}`;
|
|
902
961
|
|
|
903
|
-
var colorCss$
|
|
962
|
+
var colorCss$a = i$g`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-input]::part(wrapper){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}.dpTriggerContent [auro-input]:nth-child(2):before{background-color:var(--ds-auro-datepicker-range-input-divider-color)}.placeholderDate{color:var(--ds-auro-datepicker-placeholder-color)}`;
|
|
904
963
|
|
|
905
|
-
var tokensCss$
|
|
964
|
+
var tokensCss$7 = i$g`:host{--ds-auro-datepicker-placeholder-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-datepicker-range-input-divider-color: var(--ds-color-border-primary-default, #585e67);--ds-auro-calendar-mobile-footer-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-mobile-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-calendar-mobile-header-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-calendar-mobile-header-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-color-icon-ui-primary-default-default, #2c67b5);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-calendar-month-header-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-color-container-secondary-default, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
906
965
|
|
|
907
|
-
var styleCss$
|
|
966
|
+
var styleCss$9 = i$g`:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;height:100vh;height:100dvh}@media screen and (max-width: 576px){:host{width:100%}}.calendarNavBtn{display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.prevMonth,.nextMonth{position:absolute;top:var(--ds-size-200, 1rem)}.prevMonth{left:var(--ds-size-50, 0.25rem)}.nextMonth{right:var(--ds-size-50, 0.25rem)}.headerActions{padding:0 var(--ds-size-200, 1rem)}.mobileHeader{display:none;width:100%;height:var(--mobile-header-height);z-index:1;align-items:center;flex-direction:row}.headerDateFrom{display:flex;height:var(--mobile-header-height);flex:1;flex-direction:column;justify-content:center;padding:0 var(--ds-size-150, 0.75rem) 0 var(--ds-size-200, 1rem)}.mobileDateLabel{font-size:var(--ds-text-body-size-xs, 0.75rem)}.headerDateTo{height:calc(var(--mobile-header-height) - var(--ds-size-300, 1.5rem));padding:var(--ds-size-300, 1.5rem) var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host(:not([noRange])) .headerDateTo{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center}:host(:not([noRange])) .headerDateTo:after{position:absolute;top:calc(50% + 10px);left:0;display:block;width:1px;height:var(--ds-size-300, 1.5rem);content:"";transform:translateY(-50%)}.mobileFooter{display:none;width:100%;align-items:flex-end;flex-direction:column;justify-content:flex-end}.mobileFooterActions{position:relative;bottom:0;left:50%;display:none;width:calc(100% - var(--ds-size-200, 1rem)*2);align-items:flex-end;flex-direction:column;justify-content:flex-end;padding:var(--ds-size-150) calc(var(--ds-size-200, 1rem));transform:translateX(-50%)}.mobileFooterActions auro-button{width:100%}@media screen and (max-width: 576px){.prevMonth,.nextMonth{display:none}.mobileHeader,.mobileFooter,.mobileFooterActions{display:flex}.calendarWrapper{display:flex;height:100%;max-height:100dvh;flex-direction:column;overflow:auto hidden}.calendars{display:flex;flex-direction:column;flex:1;align-items:center;width:100%;overflow-y:scroll;overscroll-behavior:contain}.calendars:after{display:block;width:100%;height:var(--mobile-footer-height);content:""}}@media screen and (min-width: 576px){.calendars{display:flex;flex-direction:row}}`;
|
|
908
967
|
|
|
909
|
-
var colorCss$
|
|
968
|
+
var colorCss$9 = i$g`.calendarNavBtn{border-color:var(--ds-auro-calendar-nav-btn-border-color);background-color:var(--ds-auro-calendar-nav-btn-container-color);color:var(--ds-auro-calendar-nav-btn-chevron-color)}.calendarNavBtn:hover,.calendarNavBtn:focus{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}.calendarNavBtn:active{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-calendar-nav-btn-border-color)}.mobileHeader{background-color:var(--ds-auro-calendar-mobile-header-container-color);box-shadow:0 0 10px var(--ds-auro-calendar-mobile-header-boxshadow-color)}.mobileDateLabel{color:var(--ds-auro-calendar-mobile-header-text-color)}:host(:not([noRange])) .headerDateTo:after{background-color:var(--ds-auro-calendar-mobile-header-divider-color)}.mobileFooterActions{background-color:var(--ds-auro-calendar-mobile-footer-container-color)}@media screen and (max-width: 576px){.calendarNavBtn{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}}`;
|
|
910
969
|
|
|
911
|
-
var styleCss$
|
|
970
|
+
var styleCss$8 = i$g`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{position:relative;display:block;width:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));margin:0 var(--ds-size-200, 1rem)}@media screen and (min-width: 576px){:host{width:336px;padding:var(--ds-size-200, 1rem)}}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{position:absolute;top:var(--ds-size-200, 1rem);right:calc(-1*var(--ds-size-200, 1rem));height:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));display:block;width:1px;content:""}}.header{display:flex;align-items:center;flex-direction:row;padding:calc(var(--ds-size-100, 0.5rem) + var(--ds-size-50, 0.25rem) + var(--ds-size-25, 0.125rem)) 0 calc(var(--ds-size-100, 0.5rem) + var(--ds-size-50, 0.25rem) + var(--ds-size-25, 0.125rem));text-align:center}.headerTitle{display:flex;align-items:center;flex:1;flex-direction:row;justify-content:center;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.headerTitle div:first-child{margin-right:var(--ds-size-100, 0.5rem)}.calendarNavBtn{position:relative;display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.table{width:100%;border-collapse:collapse}.thead{margin-bottom:var(--ds-size-100, 0.5rem)}.th{display:flex;flex:1;align-items:center;justify-content:center;font-weight:700}.tbody{width:100%;transition:all 0ms;transform:translateX(0)}@media screen and (min-width: 576px){.tbody{height:384px}}.td{flex:1;margin:0;padding:0}.tr{display:flex;flex-direction:row;width:100%}`;
|
|
912
971
|
|
|
913
|
-
var colorCss$
|
|
972
|
+
var colorCss$8 = i$g`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{background-color:var(--ds-auro-calendar-month-container-color)}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{background-color:var(--ds-auro-calendar-month-divider-color)}}.header{color:var(--ds-auro-calendar-month-header-color)}`;
|
|
914
973
|
|
|
915
974
|
/******************************************************************************
|
|
916
975
|
Copyright (c) Microsoft Corporation.
|
|
@@ -945,7 +1004,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
945
1004
|
* @license
|
|
946
1005
|
* Copyright 2017 Google LLC
|
|
947
1006
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
948
|
-
*/const o$
|
|
1007
|
+
*/const o$9={attribute:true,type:String,converter:u$a,reflect:false,hasChanged:f$6},r$a=(t=o$9,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(undefined===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),"accessor"===n){const{name:o}=r;return {set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t);},init(e){return undefined!==e&&this.P(o,undefined,t),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t);}}throw Error("Unsupported decorator location: "+n)};function n$8(t){return (e,o)=>"object"==typeof o?r$a(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:true}:t),r?Object.getOwnPropertyDescriptor(e,o):undefined})(t,e,o)}
|
|
949
1008
|
|
|
950
1009
|
/**
|
|
951
1010
|
* @module constants
|
|
@@ -6670,7 +6729,7 @@ function cleanEscapedString(input) {
|
|
|
6670
6729
|
* //=> Mon Sep 01 2014 00:00:00
|
|
6671
6730
|
*/
|
|
6672
6731
|
function subMonths(date, amount, options) {
|
|
6673
|
-
return addMonths(date, -
|
|
6732
|
+
return addMonths(date, -1, options);
|
|
6674
6733
|
}
|
|
6675
6734
|
|
|
6676
6735
|
/**
|
|
@@ -6700,10 +6759,10 @@ function subMonths(date, amount, options) {
|
|
|
6700
6759
|
* //=> Tue Sep 01 2009 00:00:00
|
|
6701
6760
|
*/
|
|
6702
6761
|
function subYears(date, amount, options) {
|
|
6703
|
-
return addYears(date, -
|
|
6762
|
+
return addYears(date, -1, options);
|
|
6704
6763
|
}
|
|
6705
6764
|
|
|
6706
|
-
class RangeDatepickerCell extends r$
|
|
6765
|
+
class RangeDatepickerCell extends r$b {
|
|
6707
6766
|
constructor() {
|
|
6708
6767
|
super(...arguments);
|
|
6709
6768
|
this.day = null;
|
|
@@ -6734,15 +6793,15 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6734
6793
|
|
|
6735
6794
|
render() {
|
|
6736
6795
|
let _a, _b;
|
|
6737
|
-
return x$
|
|
6796
|
+
return x$3`
|
|
6738
6797
|
<button
|
|
6739
6798
|
@click="${this.handleTap}"
|
|
6740
6799
|
@mouseover="${this.handleHover}"
|
|
6741
6800
|
@focus="${this.handleHover}"
|
|
6742
6801
|
class="day ${this.isCurrentDate ? 'currentDate' : ''} ${this.isSelected(this.selected)} ${this.isHovered(this.hovered)} ${this.isEnabled(this.day, this.min, this.max, this.disabledDays)}"
|
|
6743
6802
|
?disabled="${this.disabled}"
|
|
6744
|
-
title="${this.getTitle((_a = this.day) === null || _a ===
|
|
6745
|
-
<div class="currentDayMarker">${(_b = this.day) === null || _b ===
|
|
6803
|
+
title="${this.getTitle((_a = this.day) === null || _a === undefined ? undefined : _a.date)}">
|
|
6804
|
+
<div class="currentDayMarker">${(_b = this.day) === null || _b === undefined ? undefined : _b.title}</div>
|
|
6746
6805
|
</button>
|
|
6747
6806
|
`;
|
|
6748
6807
|
}
|
|
@@ -6782,7 +6841,7 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6782
6841
|
let _a;
|
|
6783
6842
|
if (!this.disabled) {
|
|
6784
6843
|
this.dispatchEvent(new CustomEvent('date-is-selected', {
|
|
6785
|
-
detail: { date: (_a = this.day) === null || _a ===
|
|
6844
|
+
detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
|
|
6786
6845
|
}));
|
|
6787
6846
|
}
|
|
6788
6847
|
}
|
|
@@ -6790,7 +6849,7 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6790
6849
|
handleHover() {
|
|
6791
6850
|
let _a;
|
|
6792
6851
|
this.dispatchEvent(new CustomEvent('date-is-hovered', {
|
|
6793
|
-
detail: { date: (_a = this.day) === null || _a ===
|
|
6852
|
+
detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
|
|
6794
6853
|
}));
|
|
6795
6854
|
}
|
|
6796
6855
|
|
|
@@ -6824,7 +6883,7 @@ class RangeDatepickerCell extends r$7 {
|
|
|
6824
6883
|
});
|
|
6825
6884
|
}
|
|
6826
6885
|
}
|
|
6827
|
-
RangeDatepickerCell.styles = i$
|
|
6886
|
+
RangeDatepickerCell.styles = i$g`
|
|
6828
6887
|
:host {
|
|
6829
6888
|
display: block;
|
|
6830
6889
|
}
|
|
@@ -6891,20 +6950,20 @@ RangeDatepickerCell.styles = i$c`
|
|
|
6891
6950
|
opacity: 0.4;
|
|
6892
6951
|
}
|
|
6893
6952
|
`;
|
|
6894
|
-
__decorate([n$
|
|
6895
|
-
__decorate([n$
|
|
6896
|
-
__decorate([n$
|
|
6897
|
-
__decorate([n$
|
|
6898
|
-
__decorate([n$
|
|
6899
|
-
__decorate([n$
|
|
6900
|
-
__decorate([n$
|
|
6901
|
-
__decorate([n$
|
|
6902
|
-
__decorate([n$
|
|
6903
|
-
__decorate([n$
|
|
6904
|
-
__decorate([n$
|
|
6905
|
-
__decorate([n$
|
|
6906
|
-
__decorate([n$
|
|
6907
|
-
AuroLibraryRuntimeUtils$
|
|
6953
|
+
__decorate([n$8({ type: Object })], RangeDatepickerCell.prototype, "day", undefined);
|
|
6954
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "selected", undefined);
|
|
6955
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "hovered", undefined);
|
|
6956
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "dateTo", undefined);
|
|
6957
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "dateFrom", undefined);
|
|
6958
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "month", undefined);
|
|
6959
|
+
__decorate([n$8({ type: Number })], RangeDatepickerCell.prototype, "min", undefined);
|
|
6960
|
+
__decorate([n$8({ type: Number })], RangeDatepickerCell.prototype, "max", undefined);
|
|
6961
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "disabled", undefined);
|
|
6962
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCell.prototype, "disabledDays", undefined);
|
|
6963
|
+
__decorate([n$8({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", undefined);
|
|
6964
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", undefined);
|
|
6965
|
+
__decorate([n$8({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
|
|
6966
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
|
|
6908
6967
|
|
|
6909
6968
|
class Day {
|
|
6910
6969
|
constructor(date) {
|
|
@@ -6913,7 +6972,7 @@ class Day {
|
|
|
6913
6972
|
}
|
|
6914
6973
|
}
|
|
6915
6974
|
|
|
6916
|
-
class RangeDatepickerCalendar extends r$
|
|
6975
|
+
class RangeDatepickerCalendar extends r$b {
|
|
6917
6976
|
constructor() {
|
|
6918
6977
|
super();
|
|
6919
6978
|
|
|
@@ -6967,7 +7026,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6967
7026
|
|
|
6968
7027
|
render() {
|
|
6969
7028
|
let _a, _b;
|
|
6970
|
-
return x$
|
|
7029
|
+
return x$3`
|
|
6971
7030
|
<div>
|
|
6972
7031
|
<div class="header">
|
|
6973
7032
|
${this.renderPrevButton()}
|
|
@@ -6981,11 +7040,11 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6981
7040
|
<div class="table">
|
|
6982
7041
|
<div class="thead">
|
|
6983
7042
|
<div class="tr">
|
|
6984
|
-
${(_a = this.dayNamesOfTheWeek) === null || _a ===
|
|
7043
|
+
${(_a = this.dayNamesOfTheWeek) === null || _a === undefined ? undefined : _a.map((dayNameOfWeek) => this.renderDayOfWeek(dayNameOfWeek))}
|
|
6985
7044
|
</div>
|
|
6986
7045
|
</div>
|
|
6987
7046
|
<div class="tbody">
|
|
6988
|
-
${(_b = this.daysOfMonth) === null || _b ===
|
|
7047
|
+
${(_b = this.daysOfMonth) === null || _b === undefined ? undefined : _b.map((week) => this.renderWeek(week))}
|
|
6989
7048
|
</div>
|
|
6990
7049
|
</div>
|
|
6991
7050
|
</div>
|
|
@@ -6994,7 +7053,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
6994
7053
|
|
|
6995
7054
|
renderPrevButton() {
|
|
6996
7055
|
if (this.prev || this.narrow || this.enableYearChange) {
|
|
6997
|
-
return x$
|
|
7056
|
+
return x$3`
|
|
6998
7057
|
<button
|
|
6999
7058
|
icon="chevron_left"
|
|
7000
7059
|
@click="${this.handlePrevMonth}">
|
|
@@ -7006,7 +7065,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7006
7065
|
|
|
7007
7066
|
renderNextButton() {
|
|
7008
7067
|
if (this.next || this.narrow || this.enableYearChange) {
|
|
7009
|
-
return x$
|
|
7068
|
+
return x$3`
|
|
7010
7069
|
<button
|
|
7011
7070
|
icon="chevron_right"
|
|
7012
7071
|
@click="${this.handleNextMonth}">
|
|
@@ -7017,23 +7076,23 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7017
7076
|
}
|
|
7018
7077
|
|
|
7019
7078
|
renderYear() {
|
|
7020
|
-
return x$
|
|
7079
|
+
return x$3`${this.year}`;
|
|
7021
7080
|
}
|
|
7022
7081
|
|
|
7023
7082
|
renderDayOfWeek(dayOfWeek) {
|
|
7024
|
-
return x$
|
|
7083
|
+
return x$3`<div class="th">${dayOfWeek}</div>`;
|
|
7025
7084
|
}
|
|
7026
7085
|
|
|
7027
7086
|
renderWeek(week) {
|
|
7028
|
-
return x$
|
|
7087
|
+
return x$3`
|
|
7029
7088
|
<div class="tr">${week.map((day) => this.renderDay(day))}</div>
|
|
7030
7089
|
`;
|
|
7031
7090
|
}
|
|
7032
7091
|
|
|
7033
7092
|
renderDay(day) {
|
|
7034
|
-
return x$
|
|
7093
|
+
return x$3`
|
|
7035
7094
|
<div class="td ${this.tdIsEnabled(day)}">
|
|
7036
|
-
${day ? x$
|
|
7095
|
+
${day ? x$3`
|
|
7037
7096
|
<wc-range-datepicker-cell
|
|
7038
7097
|
.disabledDays="${this.disabledDays}"
|
|
7039
7098
|
.min="${this.min}"
|
|
@@ -7184,7 +7243,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7184
7243
|
|
|
7185
7244
|
handleOpenYearSelection() {
|
|
7186
7245
|
let _a;
|
|
7187
|
-
const menu = (_a = this.shadowRoot) === null || _a ===
|
|
7246
|
+
const menu = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.year-change');
|
|
7188
7247
|
const index = menu.items.findIndex((item) => item.value === this.year.toString());
|
|
7189
7248
|
menu.select(index);
|
|
7190
7249
|
menu.show();
|
|
@@ -7192,9 +7251,9 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7192
7251
|
|
|
7193
7252
|
handleYearSelected() {
|
|
7194
7253
|
let _a;
|
|
7195
|
-
const menu = (_a = this.shadowRoot) === null || _a ===
|
|
7254
|
+
const menu = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.year-change');
|
|
7196
7255
|
const selected = menu.selected;
|
|
7197
|
-
this.year = parseInt(selected === null || selected ===
|
|
7256
|
+
this.year = parseInt(selected === null || selected === undefined ? undefined : selected.value, 10);
|
|
7198
7257
|
}
|
|
7199
7258
|
|
|
7200
7259
|
handleDateHovered(event) {
|
|
@@ -7206,12 +7265,12 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7206
7265
|
|
|
7207
7266
|
handleNextMonth() {
|
|
7208
7267
|
let _a, _b;
|
|
7209
|
-
const tbody = (_a = this.shadowRoot) === null || _a ===
|
|
7210
|
-
const monthName = (_b = this.shadowRoot) === null || _b ===
|
|
7211
|
-
tbody === null || tbody ===
|
|
7212
|
-
tbody === null || tbody ===
|
|
7213
|
-
monthName === null || monthName ===
|
|
7214
|
-
monthName === null || monthName ===
|
|
7268
|
+
const tbody = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.tbody');
|
|
7269
|
+
const monthName = (_b = this.shadowRoot) === null || _b === undefined ? undefined : _b.querySelector('.header > div');
|
|
7270
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7271
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToLeft');
|
|
7272
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7273
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToLeft');
|
|
7215
7274
|
const month = parse(this.month, 'MM', new Date());
|
|
7216
7275
|
const monthPlusDate = addMonths(month, 1);
|
|
7217
7276
|
const monthPlusString = format(monthPlusDate, 'MM', {
|
|
@@ -7228,20 +7287,20 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7228
7287
|
}
|
|
7229
7288
|
this.dispatchEvent(new CustomEvent('next-month'));
|
|
7230
7289
|
setTimeout(() => {
|
|
7231
|
-
tbody === null || tbody ===
|
|
7232
|
-
tbody === null || tbody ===
|
|
7233
|
-
tbody === null || tbody ===
|
|
7234
|
-
monthName === null || monthName ===
|
|
7235
|
-
monthName === null || monthName ===
|
|
7236
|
-
monthName === null || monthName ===
|
|
7290
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
|
|
7291
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToRight');
|
|
7292
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToLeft');
|
|
7293
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7294
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToRight');
|
|
7295
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToLeft');
|
|
7237
7296
|
setTimeout(() => {
|
|
7238
|
-
tbody === null || tbody ===
|
|
7239
|
-
tbody === null || tbody ===
|
|
7240
|
-
monthName === null || monthName ===
|
|
7241
|
-
monthName === null || monthName ===
|
|
7297
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7298
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToRight');
|
|
7299
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7300
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToRight');
|
|
7242
7301
|
setTimeout(() => {
|
|
7243
|
-
tbody === null || tbody ===
|
|
7244
|
-
monthName === null || monthName ===
|
|
7302
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
|
|
7303
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7245
7304
|
}, 100);
|
|
7246
7305
|
}, 100);
|
|
7247
7306
|
}, 100);
|
|
@@ -7249,21 +7308,21 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7249
7308
|
|
|
7250
7309
|
handlePrevMonth() {
|
|
7251
7310
|
let _a, _b;
|
|
7252
|
-
const tbody = (_a = this.shadowRoot) === null || _a ===
|
|
7253
|
-
const monthName = (_b = this.shadowRoot) === null || _b ===
|
|
7254
|
-
tbody === null || tbody ===
|
|
7255
|
-
tbody === null || tbody ===
|
|
7256
|
-
monthName === null || monthName ===
|
|
7257
|
-
monthName === null || monthName ===
|
|
7311
|
+
const tbody = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.tbody');
|
|
7312
|
+
const monthName = (_b = this.shadowRoot) === null || _b === undefined ? undefined : _b.querySelector('.header > div');
|
|
7313
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7314
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToRight');
|
|
7315
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7316
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToRight');
|
|
7258
7317
|
const month = parse(this.month, 'MM', new Date());
|
|
7259
|
-
const monthMinusDate = subMonths(month
|
|
7318
|
+
const monthMinusDate = subMonths(month);
|
|
7260
7319
|
const monthMinusString = format(monthMinusDate, 'MM', {
|
|
7261
7320
|
locale: this.locale,
|
|
7262
7321
|
});
|
|
7263
7322
|
this.month = monthMinusString;
|
|
7264
7323
|
if (this.month === '12') {
|
|
7265
7324
|
const year = parse(this.year.toString(), 'yyyy', new Date());
|
|
7266
|
-
const yearMinusDate = subYears(year
|
|
7325
|
+
const yearMinusDate = subYears(year);
|
|
7267
7326
|
const yearMinusString = format(yearMinusDate, 'yyyy', {
|
|
7268
7327
|
locale: this.locale,
|
|
7269
7328
|
});
|
|
@@ -7271,20 +7330,20 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7271
7330
|
}
|
|
7272
7331
|
this.dispatchEvent(new CustomEvent('prev-month'));
|
|
7273
7332
|
setTimeout(() => {
|
|
7274
|
-
tbody === null || tbody ===
|
|
7275
|
-
tbody === null || tbody ===
|
|
7276
|
-
tbody === null || tbody ===
|
|
7277
|
-
monthName === null || monthName ===
|
|
7278
|
-
monthName === null || monthName ===
|
|
7279
|
-
monthName === null || monthName ===
|
|
7333
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
|
|
7334
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToLeft');
|
|
7335
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToRight');
|
|
7336
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7337
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToLeft');
|
|
7338
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToRight');
|
|
7280
7339
|
setTimeout(() => {
|
|
7281
|
-
tbody === null || tbody ===
|
|
7282
|
-
tbody === null || tbody ===
|
|
7283
|
-
monthName === null || monthName ===
|
|
7284
|
-
monthName === null || monthName ===
|
|
7340
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
|
|
7341
|
+
tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToLeft');
|
|
7342
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
|
|
7343
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToLeft');
|
|
7285
7344
|
setTimeout(() => {
|
|
7286
|
-
monthName === null || monthName ===
|
|
7287
|
-
monthName === null || monthName ===
|
|
7345
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7346
|
+
monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
|
|
7288
7347
|
}, 100);
|
|
7289
7348
|
}, 100);
|
|
7290
7349
|
}, 100);
|
|
@@ -7299,7 +7358,7 @@ class RangeDatepickerCalendar extends r$7 {
|
|
|
7299
7358
|
}
|
|
7300
7359
|
}
|
|
7301
7360
|
|
|
7302
|
-
RangeDatepickerCalendar.styles = i$
|
|
7361
|
+
RangeDatepickerCalendar.styles = i$g`
|
|
7303
7362
|
:host {
|
|
7304
7363
|
display: block;
|
|
7305
7364
|
width: 266px;
|
|
@@ -7404,48 +7463,48 @@ RangeDatepickerCalendar.styles = i$c`
|
|
|
7404
7463
|
max-height: 200px;
|
|
7405
7464
|
}
|
|
7406
7465
|
`;
|
|
7407
|
-
__decorate([n$
|
|
7408
|
-
__decorate([n$
|
|
7409
|
-
__decorate([n$
|
|
7410
|
-
__decorate([n$
|
|
7411
|
-
__decorate([n$
|
|
7412
|
-
__decorate([n$
|
|
7413
|
-
__decorate([n$
|
|
7414
|
-
__decorate([n$
|
|
7415
|
-
__decorate([n$
|
|
7416
|
-
__decorate([n$
|
|
7417
|
-
__decorate([n$
|
|
7418
|
-
__decorate([n$
|
|
7419
|
-
__decorate([n$
|
|
7420
|
-
__decorate([n$
|
|
7421
|
-
__decorate([n$
|
|
7422
|
-
__decorate([n$
|
|
7423
|
-
__decorate([n$
|
|
7424
|
-
__decorate([n$
|
|
7425
|
-
AuroLibraryRuntimeUtils$
|
|
7466
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "dateFrom", undefined);
|
|
7467
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "dateTo", undefined);
|
|
7468
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "hoveredDate", undefined);
|
|
7469
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "enableYearChange", undefined);
|
|
7470
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "month", undefined);
|
|
7471
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "narrow", undefined);
|
|
7472
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "noRange", undefined);
|
|
7473
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "next", undefined);
|
|
7474
|
+
__decorate([n$8({ type: Boolean })], RangeDatepickerCalendar.prototype, "prev", undefined);
|
|
7475
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "year", undefined);
|
|
7476
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "disabledDays", undefined);
|
|
7477
|
+
__decorate([n$8({ type: Object })], RangeDatepickerCalendar.prototype, "locale", null);
|
|
7478
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "max", undefined);
|
|
7479
|
+
__decorate([n$8({ type: String })], RangeDatepickerCalendar.prototype, "min", undefined);
|
|
7480
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList", undefined);
|
|
7481
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", undefined);
|
|
7482
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", undefined);
|
|
7483
|
+
__decorate([n$8({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", undefined);
|
|
7484
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
|
|
7426
7485
|
|
|
7427
7486
|
/**
|
|
7428
7487
|
* @license
|
|
7429
7488
|
* Copyright 2017 Google LLC
|
|
7430
7489
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7431
7490
|
*/
|
|
7432
|
-
const t$
|
|
7491
|
+
const t$7={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$a=t=>(...e)=>({_$litDirective$:t,values:e});let i$b = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
7433
7492
|
|
|
7434
7493
|
/**
|
|
7435
7494
|
* @license
|
|
7436
7495
|
* Copyright 2018 Google LLC
|
|
7437
7496
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7438
|
-
*/const e$
|
|
7497
|
+
*/const e$9=e$a(class extends i$b{constructor(t){if(super(t),t.type!==t$7.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$3}});
|
|
7439
7498
|
|
|
7440
|
-
var styleCss$
|
|
7499
|
+
var styleCss$7 = i$g`@media screen and (max-width: 576px){:host{display:flex;justify-content:center}}.day{position:relative;width:var(--ds-size-500, 2.5rem);height:calc(var(--ds-size-700, 3.5rem) - 2px);padding:0;border-width:1px;border-style:solid;border-radius:var(--ds-size-300, 1.5rem);cursor:pointer;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);user-select:none}.day.disabled{cursor:default !important}.day.inRange::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%)}@media screen and (min-width: 576px){.day.inRange::before{width:var(--ds-size-600, 3rem)}}.day.rangeDepartDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(0%, -50%)}@media screen and (min-width: 576px){.day.rangeDepartDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.day.rangeReturnDate::before,.day.lastHoveredDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(-100%, -50%)}@media screen and (min-width: 576px){.day.rangeReturnDate::before,.day.lastHoveredDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.dateSlot{display:flex;flex-direction:column;font-size:var(--ds-text-body-size-xxs, 0.625rem)}::slotted([slot^=date_]){position:absolute;top:80%;left:50%;width:80%;overflow:hidden;white-space:nowrap;transform:translate(-50%, -50%)}::slotted(auro-icon){max-height:24px;max-width:24px}:host([renderForDateSlot]) .buttonWrapper{position:relative;width:100%;top:5px}:host([renderForDateSlot]) .currentDayMarker{position:relative;padding-bottom:5px;top:-8px}@media screen and (min-width: 576px){.day{width:var(--ds-size-600, 3rem);height:var(--ds-size-800, 4rem);font-size:var(--ds-text-body-size-lg, 1.125rem)}.day:hover{cursor:pointer}.dateSlot{font-size:var(--ds-text-body-size-xs, 0.75rem)}}`;
|
|
7441
7500
|
|
|
7442
|
-
var colorCss$
|
|
7501
|
+
var colorCss$7 = i$g`:host ::slotted([slot^=date_]){color:var(--ds-auro-calendar-cell-price-text-color)}:host ::slotted([slot^=date_][highlight]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-success-default, #0b6f4d)}.day{border-color:var(--ds-auro-calendar-cell-border-color);background-color:var(--ds-auro-calendar-cell-container-color);color:var(--ds-auro-calendar-cell-text-color)}.day.selected{--ds-auro-calendar-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-calendar-cell-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-inverse, #ffffff);box-shadow:var(--ds-auro-calendar-boxshadow-color)}.day.selected:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-cell-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:unset}.day.selected:not(:hover){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-inverse, #ffffff)}.day:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-brand-neutral-200, #e4e8ec);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}.day.disabled{--ds-auro-calendar-cell-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff)}.day.inRange:before,.day.rangeDepartDate:before,.day.rangeReturnDate:before,.day.lastHoveredDate:before{background-color:var(--ds-auro-calendar-cell-in-range-color)}.day.sameDateTrip:before{--ds-auro-calendar-cell-in-range-color: transparent}:host([disabled]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
|
|
7443
7502
|
|
|
7444
|
-
var styleCss$5 = i$c`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 400;--ds-depth-tooltip: 300;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #dddddd;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #dddddd;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([addSpace]) :host(:not([data-show])) .popover,:host(:not([data-show])) .popover,:host([disabled]) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 300)}:host([removeSpace]) .popover{margin:calc(-1*(var(--ds-size-50, 0.25rem) + 1px)) 0 !important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0 !important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, 0.375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1*var(--ds-size-200, 1rem));left:calc(-1*var(--ds-size-75, 0.375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, 0.25rem);right:calc(-1*var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100, 0.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, 0.75rem);height:var(--ds-size-150, 0.75rem);content:""}`;
|
|
7503
|
+
var styleCss$6 = i$g`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 400;--ds-depth-tooltip: 300;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #dddddd;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #dddddd;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([addSpace]) :host(:not([data-show])) .popover,:host(:not([data-show])) .popover,:host([disabled]) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 300)}:host([removeSpace]) .popover{margin:calc(-1*(var(--ds-size-50, 0.25rem) + 1px)) 0 !important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0 !important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, 0.375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1*var(--ds-size-200, 1rem));left:calc(-1*var(--ds-size-75, 0.375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, 0.25rem);right:calc(-1*var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100, 0.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, 0.75rem);height:var(--ds-size-150, 0.75rem);content:""}`;
|
|
7445
7504
|
|
|
7446
|
-
var colorCss$
|
|
7505
|
+
var colorCss$6 = i$g`::slotted(*){color:var(--ds-auro-popover-text-color)}.popover{background-color:var(--ds-auro-popover-container-color);box-shadow:var(--ds-auro-popover-boxshadow-color)}.arrow:before{background-color:var(--ds-auro-popover-container-color);box-shadow:2px 2px 1px 0 var(--ds-auro-popover-boxshadow-color)}`;
|
|
7447
7506
|
|
|
7448
|
-
var tokensCss$
|
|
7507
|
+
var tokensCss$6 = i$g`:host{--ds-auro-popover-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
7449
7508
|
|
|
7450
7509
|
var top = 'top';
|
|
7451
7510
|
var bottom = 'bottom';
|
|
@@ -7624,11 +7683,11 @@ function isLayoutViewport() {
|
|
|
7624
7683
|
}
|
|
7625
7684
|
|
|
7626
7685
|
function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
|
|
7627
|
-
if (includeScale ===
|
|
7686
|
+
if (includeScale === undefined) {
|
|
7628
7687
|
includeScale = false;
|
|
7629
7688
|
}
|
|
7630
7689
|
|
|
7631
|
-
if (isFixedStrategy ===
|
|
7690
|
+
if (isFixedStrategy === undefined) {
|
|
7632
7691
|
isFixedStrategy = false;
|
|
7633
7692
|
}
|
|
7634
7693
|
|
|
@@ -7882,7 +7941,7 @@ function effect$1(_ref2) {
|
|
|
7882
7941
|
var state = _ref2.state,
|
|
7883
7942
|
options = _ref2.options;
|
|
7884
7943
|
var _options$element = options.element,
|
|
7885
|
-
arrowElement = _options$element ===
|
|
7944
|
+
arrowElement = _options$element === undefined ? '[data-popper-arrow]' : _options$element;
|
|
7886
7945
|
|
|
7887
7946
|
if (arrowElement == null) {
|
|
7888
7947
|
return;
|
|
@@ -7952,9 +8011,9 @@ function mapToStyles(_ref2) {
|
|
|
7952
8011
|
roundOffsets = _ref2.roundOffsets,
|
|
7953
8012
|
isFixed = _ref2.isFixed;
|
|
7954
8013
|
var _offsets$x = offsets.x,
|
|
7955
|
-
x = _offsets$x ===
|
|
8014
|
+
x = _offsets$x === undefined ? 0 : _offsets$x,
|
|
7956
8015
|
_offsets$y = offsets.y,
|
|
7957
|
-
y = _offsets$y ===
|
|
8016
|
+
y = _offsets$y === undefined ? 0 : _offsets$y;
|
|
7958
8017
|
|
|
7959
8018
|
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
7960
8019
|
x: x,
|
|
@@ -8034,11 +8093,11 @@ function computeStyles(_ref5) {
|
|
|
8034
8093
|
var state = _ref5.state,
|
|
8035
8094
|
options = _ref5.options;
|
|
8036
8095
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
8037
|
-
gpuAcceleration = _options$gpuAccelerat ===
|
|
8096
|
+
gpuAcceleration = _options$gpuAccelerat === undefined ? true : _options$gpuAccelerat,
|
|
8038
8097
|
_options$adaptive = options.adaptive,
|
|
8039
|
-
adaptive = _options$adaptive ===
|
|
8098
|
+
adaptive = _options$adaptive === undefined ? true : _options$adaptive,
|
|
8040
8099
|
_options$roundOffsets = options.roundOffsets,
|
|
8041
|
-
roundOffsets = _options$roundOffsets ===
|
|
8100
|
+
roundOffsets = _options$roundOffsets === undefined ? true : _options$roundOffsets;
|
|
8042
8101
|
var commonStyles = {
|
|
8043
8102
|
placement: getBasePlacement(state.placement),
|
|
8044
8103
|
variation: getVariation(state.placement),
|
|
@@ -8089,9 +8148,9 @@ function effect(_ref) {
|
|
|
8089
8148
|
instance = _ref.instance,
|
|
8090
8149
|
options = _ref.options;
|
|
8091
8150
|
var _options$scroll = options.scroll,
|
|
8092
|
-
scroll = _options$scroll ===
|
|
8151
|
+
scroll = _options$scroll === undefined ? true : _options$scroll,
|
|
8093
8152
|
_options$resize = options.resize,
|
|
8094
|
-
resize = _options$resize ===
|
|
8153
|
+
resize = _options$resize === undefined ? true : _options$resize;
|
|
8095
8154
|
var window = getWindow$1(state.elements.popper);
|
|
8096
8155
|
var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
|
|
8097
8156
|
|
|
@@ -8206,7 +8265,7 @@ function getDocumentRect$1(element) {
|
|
|
8206
8265
|
|
|
8207
8266
|
var html = getDocumentElement$1(element);
|
|
8208
8267
|
var winScroll = getWindowScroll(element);
|
|
8209
|
-
var body = (_element$ownerDocumen = element.ownerDocument) == null ?
|
|
8268
|
+
var body = (_element$ownerDocumen = element.ownerDocument) == null ? undefined : _element$ownerDocumen.body;
|
|
8210
8269
|
var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
8211
8270
|
var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
8212
8271
|
var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
|
|
@@ -8257,12 +8316,12 @@ reference element's position.
|
|
|
8257
8316
|
function listScrollParents(element, list) {
|
|
8258
8317
|
var _element$ownerDocumen;
|
|
8259
8318
|
|
|
8260
|
-
if (list ===
|
|
8319
|
+
if (list === undefined) {
|
|
8261
8320
|
list = [];
|
|
8262
8321
|
}
|
|
8263
8322
|
|
|
8264
8323
|
var scrollParent = getScrollParent(element);
|
|
8265
|
-
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ?
|
|
8324
|
+
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? undefined : _element$ownerDocumen.body);
|
|
8266
8325
|
var win = getWindow$1(scrollParent);
|
|
8267
8326
|
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
|
8268
8327
|
var updatedList = list.concat(target);
|
|
@@ -8401,25 +8460,25 @@ function computeOffsets(_ref) {
|
|
|
8401
8460
|
}
|
|
8402
8461
|
|
|
8403
8462
|
function detectOverflow$1(state, options) {
|
|
8404
|
-
if (options ===
|
|
8463
|
+
if (options === undefined) {
|
|
8405
8464
|
options = {};
|
|
8406
8465
|
}
|
|
8407
8466
|
|
|
8408
8467
|
var _options = options,
|
|
8409
8468
|
_options$placement = _options.placement,
|
|
8410
|
-
placement = _options$placement ===
|
|
8469
|
+
placement = _options$placement === undefined ? state.placement : _options$placement,
|
|
8411
8470
|
_options$strategy = _options.strategy,
|
|
8412
|
-
strategy = _options$strategy ===
|
|
8471
|
+
strategy = _options$strategy === undefined ? state.strategy : _options$strategy,
|
|
8413
8472
|
_options$boundary = _options.boundary,
|
|
8414
|
-
boundary = _options$boundary ===
|
|
8473
|
+
boundary = _options$boundary === undefined ? clippingParents : _options$boundary,
|
|
8415
8474
|
_options$rootBoundary = _options.rootBoundary,
|
|
8416
|
-
rootBoundary = _options$rootBoundary ===
|
|
8475
|
+
rootBoundary = _options$rootBoundary === undefined ? viewport : _options$rootBoundary,
|
|
8417
8476
|
_options$elementConte = _options.elementContext,
|
|
8418
|
-
elementContext = _options$elementConte ===
|
|
8477
|
+
elementContext = _options$elementConte === undefined ? popper : _options$elementConte,
|
|
8419
8478
|
_options$altBoundary = _options.altBoundary,
|
|
8420
|
-
altBoundary = _options$altBoundary ===
|
|
8479
|
+
altBoundary = _options$altBoundary === undefined ? false : _options$altBoundary,
|
|
8421
8480
|
_options$padding = _options.padding,
|
|
8422
|
-
padding = _options$padding ===
|
|
8481
|
+
padding = _options$padding === undefined ? 0 : _options$padding;
|
|
8423
8482
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
8424
8483
|
var altContext = elementContext === popper ? reference : popper;
|
|
8425
8484
|
var popperRect = state.rects.popper;
|
|
@@ -8457,7 +8516,7 @@ function detectOverflow$1(state, options) {
|
|
|
8457
8516
|
}
|
|
8458
8517
|
|
|
8459
8518
|
function computeAutoPlacement(state, options) {
|
|
8460
|
-
if (options ===
|
|
8519
|
+
if (options === undefined) {
|
|
8461
8520
|
options = {};
|
|
8462
8521
|
}
|
|
8463
8522
|
|
|
@@ -8468,7 +8527,7 @@ function computeAutoPlacement(state, options) {
|
|
|
8468
8527
|
padding = _options.padding,
|
|
8469
8528
|
flipVariations = _options.flipVariations,
|
|
8470
8529
|
_options$allowedAutoP = _options.allowedAutoPlacements,
|
|
8471
|
-
allowedAutoPlacements = _options$allowedAutoP ===
|
|
8530
|
+
allowedAutoPlacements = _options$allowedAutoP === undefined ? placements$1 : _options$allowedAutoP;
|
|
8472
8531
|
var variation = getVariation(placement);
|
|
8473
8532
|
var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
|
|
8474
8533
|
return getVariation(placement) === variation;
|
|
@@ -8515,16 +8574,16 @@ function flip$2(_ref) {
|
|
|
8515
8574
|
}
|
|
8516
8575
|
|
|
8517
8576
|
var _options$mainAxis = options.mainAxis,
|
|
8518
|
-
checkMainAxis = _options$mainAxis ===
|
|
8577
|
+
checkMainAxis = _options$mainAxis === undefined ? true : _options$mainAxis,
|
|
8519
8578
|
_options$altAxis = options.altAxis,
|
|
8520
|
-
checkAltAxis = _options$altAxis ===
|
|
8579
|
+
checkAltAxis = _options$altAxis === undefined ? true : _options$altAxis,
|
|
8521
8580
|
specifiedFallbackPlacements = options.fallbackPlacements,
|
|
8522
8581
|
padding = options.padding,
|
|
8523
8582
|
boundary = options.boundary,
|
|
8524
8583
|
rootBoundary = options.rootBoundary,
|
|
8525
8584
|
altBoundary = options.altBoundary,
|
|
8526
8585
|
_options$flipVariatio = options.flipVariations,
|
|
8527
|
-
flipVariations = _options$flipVariatio ===
|
|
8586
|
+
flipVariations = _options$flipVariatio === undefined ? true : _options$flipVariatio,
|
|
8528
8587
|
allowedAutoPlacements = options.allowedAutoPlacements;
|
|
8529
8588
|
var preferredPlacement = state.options.placement;
|
|
8530
8589
|
var basePlacement = getBasePlacement(preferredPlacement);
|
|
@@ -8637,7 +8696,7 @@ var flip$3 = {
|
|
|
8637
8696
|
};
|
|
8638
8697
|
|
|
8639
8698
|
function getSideOffsets(overflow, rect, preventedOffsets) {
|
|
8640
|
-
if (preventedOffsets ===
|
|
8699
|
+
if (preventedOffsets === undefined) {
|
|
8641
8700
|
preventedOffsets = {
|
|
8642
8701
|
x: 0,
|
|
8643
8702
|
y: 0
|
|
@@ -8721,7 +8780,7 @@ function offset$2(_ref2) {
|
|
|
8721
8780
|
options = _ref2.options,
|
|
8722
8781
|
name = _ref2.name;
|
|
8723
8782
|
var _options$offset = options.offset,
|
|
8724
|
-
offset = _options$offset ===
|
|
8783
|
+
offset = _options$offset === undefined ? [0, 0] : _options$offset;
|
|
8725
8784
|
var data = placements$1.reduce(function (acc, placement) {
|
|
8726
8785
|
acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
|
|
8727
8786
|
return acc;
|
|
@@ -8780,17 +8839,17 @@ function preventOverflow(_ref) {
|
|
|
8780
8839
|
options = _ref.options,
|
|
8781
8840
|
name = _ref.name;
|
|
8782
8841
|
var _options$mainAxis = options.mainAxis,
|
|
8783
|
-
checkMainAxis = _options$mainAxis ===
|
|
8842
|
+
checkMainAxis = _options$mainAxis === undefined ? true : _options$mainAxis,
|
|
8784
8843
|
_options$altAxis = options.altAxis,
|
|
8785
|
-
checkAltAxis = _options$altAxis ===
|
|
8844
|
+
checkAltAxis = _options$altAxis === undefined ? false : _options$altAxis,
|
|
8786
8845
|
boundary = options.boundary,
|
|
8787
8846
|
rootBoundary = options.rootBoundary,
|
|
8788
8847
|
altBoundary = options.altBoundary,
|
|
8789
8848
|
padding = options.padding,
|
|
8790
8849
|
_options$tether = options.tether,
|
|
8791
|
-
tether = _options$tether ===
|
|
8850
|
+
tether = _options$tether === undefined ? true : _options$tether,
|
|
8792
8851
|
_options$tetherOffset = options.tetherOffset,
|
|
8793
|
-
tetherOffset = _options$tetherOffset ===
|
|
8852
|
+
tetherOffset = _options$tetherOffset === undefined ? 0 : _options$tetherOffset;
|
|
8794
8853
|
var overflow = detectOverflow$1(state, {
|
|
8795
8854
|
boundary: boundary,
|
|
8796
8855
|
rootBoundary: rootBoundary,
|
|
@@ -8857,7 +8916,7 @@ function preventOverflow(_ref) {
|
|
|
8857
8916
|
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
8858
8917
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent$1(state.elements.arrow);
|
|
8859
8918
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
8860
|
-
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ?
|
|
8919
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? undefined : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
8861
8920
|
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
8862
8921
|
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
8863
8922
|
var preventedOffset = within(tether ? min$1(min, tetherMin) : min, offset, tether ? max$1(max, tetherMax) : max);
|
|
@@ -8882,7 +8941,7 @@ function preventOverflow(_ref) {
|
|
|
8882
8941
|
|
|
8883
8942
|
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
8884
8943
|
|
|
8885
|
-
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ?
|
|
8944
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? undefined : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
8886
8945
|
|
|
8887
8946
|
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
8888
8947
|
|
|
@@ -8931,7 +8990,7 @@ function isElementScaled(element) {
|
|
|
8931
8990
|
|
|
8932
8991
|
|
|
8933
8992
|
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
8934
|
-
if (isFixed ===
|
|
8993
|
+
if (isFixed === undefined) {
|
|
8935
8994
|
isFixed = false;
|
|
8936
8995
|
}
|
|
8937
8996
|
|
|
@@ -9062,17 +9121,17 @@ function areValidElements() {
|
|
|
9062
9121
|
}
|
|
9063
9122
|
|
|
9064
9123
|
function popperGenerator(generatorOptions) {
|
|
9065
|
-
if (generatorOptions ===
|
|
9124
|
+
if (generatorOptions === undefined) {
|
|
9066
9125
|
generatorOptions = {};
|
|
9067
9126
|
}
|
|
9068
9127
|
|
|
9069
9128
|
var _generatorOptions = generatorOptions,
|
|
9070
9129
|
_generatorOptions$def = _generatorOptions.defaultModifiers,
|
|
9071
|
-
defaultModifiers = _generatorOptions$def ===
|
|
9130
|
+
defaultModifiers = _generatorOptions$def === undefined ? [] : _generatorOptions$def,
|
|
9072
9131
|
_generatorOptions$def2 = _generatorOptions.defaultOptions,
|
|
9073
|
-
defaultOptions = _generatorOptions$def2 ===
|
|
9132
|
+
defaultOptions = _generatorOptions$def2 === undefined ? DEFAULT_OPTIONS : _generatorOptions$def2;
|
|
9074
9133
|
return function createPopper(reference, popper, options) {
|
|
9075
|
-
if (options ===
|
|
9134
|
+
if (options === undefined) {
|
|
9076
9135
|
options = defaultOptions;
|
|
9077
9136
|
}
|
|
9078
9137
|
|
|
@@ -9159,7 +9218,7 @@ function popperGenerator(generatorOptions) {
|
|
|
9159
9218
|
var _state$orderedModifie = state.orderedModifiers[index],
|
|
9160
9219
|
fn = _state$orderedModifie.fn,
|
|
9161
9220
|
_state$orderedModifie2 = _state$orderedModifie.options,
|
|
9162
|
-
_options = _state$orderedModifie2 ===
|
|
9221
|
+
_options = _state$orderedModifie2 === undefined ? {} : _state$orderedModifie2,
|
|
9163
9222
|
name = _state$orderedModifie.name;
|
|
9164
9223
|
|
|
9165
9224
|
if (typeof fn === 'function') {
|
|
@@ -9204,7 +9263,7 @@ function popperGenerator(generatorOptions) {
|
|
|
9204
9263
|
state.orderedModifiers.forEach(function (_ref) {
|
|
9205
9264
|
var name = _ref.name,
|
|
9206
9265
|
_ref$options = _ref.options,
|
|
9207
|
-
options = _ref$options ===
|
|
9266
|
+
options = _ref$options === undefined ? {} : _ref$options,
|
|
9208
9267
|
effect = _ref.effect;
|
|
9209
9268
|
|
|
9210
9269
|
if (typeof effect === 'function') {
|
|
@@ -9323,7 +9382,7 @@ class Popover {
|
|
|
9323
9382
|
* @slot - Default unnamed slot for the use of popover content
|
|
9324
9383
|
* @slot trigger - The element in this slot triggers hiding and showing the popover.
|
|
9325
9384
|
*/
|
|
9326
|
-
class AuroPopover extends r$
|
|
9385
|
+
class AuroPopover extends r$b {
|
|
9327
9386
|
constructor() {
|
|
9328
9387
|
super();
|
|
9329
9388
|
|
|
@@ -9338,7 +9397,7 @@ class AuroPopover extends r$7 {
|
|
|
9338
9397
|
privateDefaults() {
|
|
9339
9398
|
this.isPopoverVisible = false;
|
|
9340
9399
|
this.id = `popover-${(Math.random() + 1).toString(36).substring(7)}`;
|
|
9341
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9400
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9342
9401
|
}
|
|
9343
9402
|
|
|
9344
9403
|
// function to define props used within the scope of this component
|
|
@@ -9353,9 +9412,9 @@ class AuroPopover extends r$7 {
|
|
|
9353
9412
|
|
|
9354
9413
|
static get styles() {
|
|
9355
9414
|
return [
|
|
9356
|
-
i$
|
|
9357
|
-
i$
|
|
9358
|
-
i$
|
|
9415
|
+
i$g`${styleCss$6}`,
|
|
9416
|
+
i$g`${colorCss$6}`,
|
|
9417
|
+
i$g`${tokensCss$6}`
|
|
9359
9418
|
];
|
|
9360
9419
|
}
|
|
9361
9420
|
|
|
@@ -9368,7 +9427,7 @@ class AuroPopover extends r$7 {
|
|
|
9368
9427
|
*
|
|
9369
9428
|
*/
|
|
9370
9429
|
static register(name = "auro-popover") {
|
|
9371
|
-
AuroLibraryRuntimeUtils$
|
|
9430
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroPopover);
|
|
9372
9431
|
}
|
|
9373
9432
|
|
|
9374
9433
|
connectedCallback() {
|
|
@@ -9499,7 +9558,7 @@ class AuroPopover extends r$7 {
|
|
|
9499
9558
|
|
|
9500
9559
|
// function that renders the HTML and CSS into the scope of the component
|
|
9501
9560
|
render() {
|
|
9502
|
-
return x$
|
|
9561
|
+
return x$3`
|
|
9503
9562
|
<div id="popover" class="popover util_insetLg" aria-live="polite" part="popover">
|
|
9504
9563
|
<div id="arrow" class="arrow" data-popper-arrow></div>
|
|
9505
9564
|
<span role="tooltip" aria-labelledby="${this.id}"><slot></slot></span>
|
|
@@ -9516,7 +9575,7 @@ var popoverVersion = '4.1.2';
|
|
|
9516
9575
|
|
|
9517
9576
|
/* eslint-disable max-lines, no-underscore-dangle, no-magic-numbers, no-underscore-dangle, max-params, no-void, init-declarations, no-extra-parens, arrow-parens, max-lines, line-comment-position, no-inline-comments, lit/binding-positions, lit/no-invalid-html */
|
|
9518
9577
|
|
|
9519
|
-
class AuroCalendarCell extends r$
|
|
9578
|
+
class AuroCalendarCell extends r$b {
|
|
9520
9579
|
constructor() {
|
|
9521
9580
|
super();
|
|
9522
9581
|
|
|
@@ -9536,7 +9595,7 @@ class AuroCalendarCell extends r$7 {
|
|
|
9536
9595
|
this.dateStr = null;
|
|
9537
9596
|
this.renderForDateSlot = false; // When false, the numerical date will render vertically centered. When true, the date will render off-center to the top and leave room below for the slot content.
|
|
9538
9597
|
|
|
9539
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9598
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9540
9599
|
|
|
9541
9600
|
/**
|
|
9542
9601
|
* Generate unique names for dependency components.
|
|
@@ -9582,9 +9641,9 @@ class AuroCalendarCell extends r$7 {
|
|
|
9582
9641
|
static get styles() {
|
|
9583
9642
|
return [
|
|
9584
9643
|
// ...super.styles,
|
|
9585
|
-
styleCss$
|
|
9586
|
-
colorCss$
|
|
9587
|
-
tokensCss$
|
|
9644
|
+
styleCss$7,
|
|
9645
|
+
colorCss$7,
|
|
9646
|
+
tokensCss$7
|
|
9588
9647
|
];
|
|
9589
9648
|
}
|
|
9590
9649
|
|
|
@@ -9639,7 +9698,7 @@ class AuroCalendarCell extends r$7 {
|
|
|
9639
9698
|
|
|
9640
9699
|
let _a;
|
|
9641
9700
|
this.dispatchEvent(new CustomEvent('date-is-hovered', {
|
|
9642
|
-
detail: { date: (_a = this.day) === null || _a ===
|
|
9701
|
+
detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
|
|
9643
9702
|
}));
|
|
9644
9703
|
}
|
|
9645
9704
|
|
|
@@ -9851,7 +9910,7 @@ class AuroCalendarCell extends r$7 {
|
|
|
9851
9910
|
};
|
|
9852
9911
|
|
|
9853
9912
|
let _a, _b;
|
|
9854
|
-
return u$
|
|
9913
|
+
return u$8`
|
|
9855
9914
|
<${this.popoverTag}>
|
|
9856
9915
|
<slot name="popover_${this.dateStr}"></slot>
|
|
9857
9916
|
<button
|
|
@@ -9859,12 +9918,12 @@ class AuroCalendarCell extends r$7 {
|
|
|
9859
9918
|
@click="${this.handleTap}"
|
|
9860
9919
|
@mouseover="${this.handleHover}"
|
|
9861
9920
|
@focus="${this.handleHover}"
|
|
9862
|
-
class="${e$
|
|
9921
|
+
class="${e$9(buttonClasses)}"
|
|
9863
9922
|
?disabled="${this.disabled}"
|
|
9864
|
-
title="${this.getTitle((_a = this.day) === null || _a ===
|
|
9923
|
+
title="${this.getTitle((_a = this.day) === null || _a === undefined ? undefined : _a.date)}"
|
|
9865
9924
|
tabindex="-1">
|
|
9866
9925
|
<div class="buttonWrapper">
|
|
9867
|
-
<div class="currentDayMarker">${(_b = this.day) === null || _b ===
|
|
9926
|
+
<div class="currentDayMarker">${(_b = this.day) === null || _b === undefined ? undefined : _b.title}</div>
|
|
9868
9927
|
<div class="dateSlot" part="dateSlot">
|
|
9869
9928
|
<slot name="date_${this.dateStr}"></slot>
|
|
9870
9929
|
</div>
|
|
@@ -9887,9 +9946,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9887
9946
|
static get styles() {
|
|
9888
9947
|
return [
|
|
9889
9948
|
// ...super.styles,
|
|
9890
|
-
styleCss$
|
|
9891
|
-
colorCss$
|
|
9892
|
-
tokensCss$
|
|
9949
|
+
styleCss$8,
|
|
9950
|
+
colorCss$8,
|
|
9951
|
+
tokensCss$7
|
|
9893
9952
|
];
|
|
9894
9953
|
}
|
|
9895
9954
|
|
|
@@ -9938,10 +9997,10 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9938
9997
|
}
|
|
9939
9998
|
|
|
9940
9999
|
renderDay(day) {
|
|
9941
|
-
return x$
|
|
10000
|
+
return x$3`
|
|
9942
10001
|
<div class="td ${this.tdIsEnabled(day)}">
|
|
9943
10002
|
${day
|
|
9944
|
-
? x$
|
|
10003
|
+
? x$3`
|
|
9945
10004
|
<auro-calendar-cell
|
|
9946
10005
|
.disabledDays="${this.disabledDays}"
|
|
9947
10006
|
.min="${this.min}"
|
|
@@ -9968,7 +10027,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9968
10027
|
render() {
|
|
9969
10028
|
var _a, _b;
|
|
9970
10029
|
|
|
9971
|
-
return x$
|
|
10030
|
+
return x$3 `
|
|
9972
10031
|
<div>
|
|
9973
10032
|
<div class="header">
|
|
9974
10033
|
${this.renderPrevButton()}
|
|
@@ -9982,11 +10041,11 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9982
10041
|
<div class="table">
|
|
9983
10042
|
<div class="thead">
|
|
9984
10043
|
<div class="tr">
|
|
9985
|
-
${(_a = this.dayNamesOfTheWeek) === null || _a ===
|
|
10044
|
+
${(_a = this.dayNamesOfTheWeek) === null || _a === undefined ? undefined : _a.map(dayNameOfWeek => this.renderDayOfWeek(dayNameOfWeek))}
|
|
9986
10045
|
</div>
|
|
9987
10046
|
</div>
|
|
9988
10047
|
<div class="tbody">
|
|
9989
|
-
${(_b = this.daysOfMonth) === null || _b ===
|
|
10048
|
+
${(_b = this.daysOfMonth) === null || _b === undefined ? undefined : _b.map(week => this.renderWeek(week))}
|
|
9990
10049
|
</div>
|
|
9991
10050
|
</div>
|
|
9992
10051
|
</div>
|
|
@@ -10001,7 +10060,7 @@ if (!customElements.get('auro-calendar-month')) {
|
|
|
10001
10060
|
|
|
10002
10061
|
/* eslint-disable no-underscore-dangle, no-magic-numbers, no-underscore-dangle, no-void, init-declarations, no-extra-parens, no-unused-expressions */
|
|
10003
10062
|
|
|
10004
|
-
class RangeDatepicker extends r$
|
|
10063
|
+
class RangeDatepicker extends r$b {
|
|
10005
10064
|
constructor() {
|
|
10006
10065
|
super();
|
|
10007
10066
|
|
|
@@ -10058,7 +10117,7 @@ class RangeDatepicker extends r$7 {
|
|
|
10058
10117
|
}
|
|
10059
10118
|
|
|
10060
10119
|
renderNormal() {
|
|
10061
|
-
return x$
|
|
10120
|
+
return x$3`
|
|
10062
10121
|
<div id="container">
|
|
10063
10122
|
<wc-range-datepicker-calendar
|
|
10064
10123
|
id="firstDatePicker"
|
|
@@ -10104,7 +10163,7 @@ class RangeDatepicker extends r$7 {
|
|
|
10104
10163
|
}
|
|
10105
10164
|
|
|
10106
10165
|
renderNarrow() {
|
|
10107
|
-
return x$
|
|
10166
|
+
return x$3`
|
|
10108
10167
|
<wc-range-datepicker-calendar
|
|
10109
10168
|
.disabledDays="${this.disabledDays}"
|
|
10110
10169
|
min="${this.min}"
|
|
@@ -10161,16 +10220,16 @@ class RangeDatepicker extends r$7 {
|
|
|
10161
10220
|
handlePrevMonth() {
|
|
10162
10221
|
let _a;
|
|
10163
10222
|
if (!this.enableYearChange) {
|
|
10164
|
-
const calendar = (_a = this.shadowRoot) === null || _a ===
|
|
10165
|
-
calendar === null || calendar ===
|
|
10223
|
+
const calendar = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('wc-range-datepicker-calendar[next]');
|
|
10224
|
+
calendar === null || calendar === undefined ? undefined : calendar.handlePrevMonth();
|
|
10166
10225
|
}
|
|
10167
10226
|
}
|
|
10168
10227
|
|
|
10169
10228
|
handleNextMonth() {
|
|
10170
10229
|
let _a;
|
|
10171
10230
|
if (!this.enableYearChange) {
|
|
10172
|
-
const calendar = (_a = this.shadowRoot) === null || _a ===
|
|
10173
|
-
calendar === null || calendar ===
|
|
10231
|
+
const calendar = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('wc-range-datepicker-calendar[prev]');
|
|
10232
|
+
calendar === null || calendar === undefined ? undefined : calendar.handleNextMonth();
|
|
10174
10233
|
}
|
|
10175
10234
|
}
|
|
10176
10235
|
|
|
@@ -10217,7 +10276,7 @@ class RangeDatepicker extends r$7 {
|
|
|
10217
10276
|
}));
|
|
10218
10277
|
}
|
|
10219
10278
|
}
|
|
10220
|
-
RangeDatepicker.styles = i$
|
|
10279
|
+
RangeDatepicker.styles = i$g`
|
|
10221
10280
|
:host {
|
|
10222
10281
|
display: block;
|
|
10223
10282
|
position: relative;
|
|
@@ -10232,21 +10291,21 @@ RangeDatepicker.styles = i$c`
|
|
|
10232
10291
|
margin-right: 16px;
|
|
10233
10292
|
}
|
|
10234
10293
|
`;
|
|
10235
|
-
__decorate([n$
|
|
10236
|
-
__decorate([n$
|
|
10237
|
-
__decorate([n$
|
|
10238
|
-
__decorate([n$
|
|
10239
|
-
__decorate([n$
|
|
10240
|
-
__decorate([n$
|
|
10241
|
-
__decorate([n$
|
|
10242
|
-
__decorate([n$
|
|
10243
|
-
__decorate([n$
|
|
10244
|
-
__decorate([n$
|
|
10245
|
-
__decorate([n$
|
|
10246
|
-
__decorate([n$
|
|
10247
|
-
__decorate([n$
|
|
10248
|
-
__decorate([n$
|
|
10249
|
-
__decorate([n$
|
|
10294
|
+
__decorate([n$8({ type: Array })], RangeDatepicker.prototype, "disabledDays", undefined);
|
|
10295
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "enableYearChange", undefined);
|
|
10296
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "forceNarrow", undefined);
|
|
10297
|
+
__decorate([n$8({ type: Object })], RangeDatepicker.prototype, "locale", undefined);
|
|
10298
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "max", undefined);
|
|
10299
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "min", undefined);
|
|
10300
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "month", undefined);
|
|
10301
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "noRange", undefined);
|
|
10302
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "year", undefined);
|
|
10303
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "dateFrom", undefined);
|
|
10304
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "dateTo", undefined);
|
|
10305
|
+
__decorate([n$8({ type: String })], RangeDatepicker.prototype, "hoveredDate", undefined);
|
|
10306
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "monthPlus", undefined);
|
|
10307
|
+
__decorate([n$8({ type: Number })], RangeDatepicker.prototype, "yearPlus", undefined);
|
|
10308
|
+
__decorate([n$8({ type: Boolean })], RangeDatepicker.prototype, "narrow", undefined);
|
|
10250
10309
|
|
|
10251
10310
|
var chevronLeft = {"role":"img","color":"currentColor","title":"","desc":"Directional indicator; left.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"chevron-left","category":"interface","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"chevron-left__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"chevron-left__desc\">Directional indicator; left.</desc><path d=\"m14.395 6.345.084.073a.75.75 0 0 1 .072.977l-.072.084-4.47 4.47 4.47 4.47a.75.75 0 0 1 .072.976l-.072.084a.75.75 0 0 1-.977.072l-.084-.072-4.823-4.823a1 1 0 0 1 0-1.415l4.823-4.823a.75.75 0 0 1 .977-.073\"/></svg>"};
|
|
10252
10311
|
|
|
@@ -10399,7 +10458,7 @@ class CalendarUtilities {
|
|
|
10399
10458
|
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
10400
10459
|
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
10401
10460
|
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
10402
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat
|
|
10461
|
+
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
10403
10462
|
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
10404
10463
|
* - 'short' (e.g., Thu)
|
|
10405
10464
|
* - 'narrow' (e.g., T).
|
|
@@ -10463,9 +10522,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10463
10522
|
|
|
10464
10523
|
static get styles() {
|
|
10465
10524
|
return [
|
|
10466
|
-
styleCss$
|
|
10467
|
-
colorCss$
|
|
10468
|
-
tokensCss$
|
|
10525
|
+
styleCss$9,
|
|
10526
|
+
colorCss$9,
|
|
10527
|
+
tokensCss$7
|
|
10469
10528
|
];
|
|
10470
10529
|
}
|
|
10471
10530
|
|
|
@@ -10536,8 +10595,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10536
10595
|
this.utilCalRender.setFirstRenderableMonthDate(this);
|
|
10537
10596
|
this.utilCal.assessNavigationButtonVisibility(this);
|
|
10538
10597
|
|
|
10539
|
-
const dropdown = AuroLibraryRuntimeUtils$
|
|
10540
|
-
const dropdownbib = dropdown ? dropdown.bibContent : AuroLibraryRuntimeUtils$
|
|
10598
|
+
const dropdown = AuroLibraryRuntimeUtils$3.prototype.closestElement('auro-dropdown, [auro-dropdown]', this);
|
|
10599
|
+
const dropdownbib = dropdown ? dropdown.bibContent : AuroLibraryRuntimeUtils$3.prototype.closestElement('auro-dropdownbib', this);
|
|
10541
10600
|
const mobileLayout = dropdownbib.hasAttribute('isfullscreen');
|
|
10542
10601
|
this.utilCalRender.determineNumCalendarsToRender(this, mobileLayout);
|
|
10543
10602
|
|
|
@@ -10577,7 +10636,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10577
10636
|
const firstMonth = this.firstRenderedMonth.getMonth() + 1;
|
|
10578
10637
|
const firstYear = this.firstRenderedMonth.getFullYear();
|
|
10579
10638
|
|
|
10580
|
-
renderedHtml = x$
|
|
10639
|
+
renderedHtml = x$3`${renderedHtml}${this.utilCalRender.renderCalendar(this, firstMonth, firstYear)}`;
|
|
10581
10640
|
|
|
10582
10641
|
// Loop through the number of remaining calendars to render and add the HTML
|
|
10583
10642
|
let newMonthDate = undefined;
|
|
@@ -10603,7 +10662,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10603
10662
|
const newMonthDateStr = `${newMonth}/1/${newYear}`;
|
|
10604
10663
|
newMonthDate = new Date(newMonthDateStr);
|
|
10605
10664
|
|
|
10606
|
-
renderedHtml = x$
|
|
10665
|
+
renderedHtml = x$3`${renderedHtml}${this.utilCalRender.renderCalendar(this, newMonth, newYear)}`;
|
|
10607
10666
|
}
|
|
10608
10667
|
}
|
|
10609
10668
|
return renderedHtml;
|
|
@@ -10666,7 +10725,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10666
10725
|
}
|
|
10667
10726
|
|
|
10668
10727
|
render() {
|
|
10669
|
-
return x$
|
|
10728
|
+
return x$3`
|
|
10670
10729
|
<div class="calendarWrapper">
|
|
10671
10730
|
<div class="mobileHeader">
|
|
10672
10731
|
<div class="headerDateFrom">
|
|
@@ -10683,12 +10742,12 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10683
10742
|
<auro-button fluid @click="${this.utilCal.requestDismiss}">Done</auro-button>
|
|
10684
10743
|
</div>
|
|
10685
10744
|
</div>
|
|
10686
|
-
${this.showPrevMonthBtn ? x$
|
|
10745
|
+
${this.showPrevMonthBtn ? x$3`
|
|
10687
10746
|
<button class="calendarNavBtn prevMonth" @click="${this.handlePrevMonth}">
|
|
10688
10747
|
${this.util.generateIconHtml(chevronLeft)}
|
|
10689
10748
|
</button>
|
|
10690
10749
|
` : undefined}
|
|
10691
|
-
${this.showNextMonthBtn ? x$
|
|
10750
|
+
${this.showNextMonthBtn ? x$3`
|
|
10692
10751
|
<button class="calendarNavBtn nextMonth" @click="${this.handleNextMonth}">
|
|
10693
10752
|
${this.util.generateIconHtml(chevronRight)}
|
|
10694
10753
|
</button>
|
|
@@ -10707,33 +10766,33 @@ if (!customElements.get('auro-calendar')) {
|
|
|
10707
10766
|
* Copyright 2017 Google LLC
|
|
10708
10767
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10709
10768
|
*/
|
|
10710
|
-
const t$
|
|
10769
|
+
const t$4$1=globalThis,i$9$1=t$4$1.trustedTypes,s$4$1=i$9$1?i$9$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$7$1="$lit$",h$3$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7$1="?"+h$3$1,n$6$1=`<${o$7$1}>`,r$7$1=document,l$4$1=()=>r$7$1.createComment(""),c$5$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4$1=Array.isArray,u$4$1=t=>a$4$1(t)||"function"==typeof t?.[Symbol.iterator],d$3$1="[ \t\n\f\r]",f$3$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1$1=/-->/g,_$1$1=/>/g,m$1$1=RegExp(`>|${d$3$1}(?:([^\\s"'>=/]+)(${d$3$1}*=${d$3$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$3$1=/'/g,g$1$1=/"/g,$$1$1=/^(?:script|style|textarea|title)$/i,y$3$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1$1=y$3$1(1),T$1$1=Symbol.for("lit-noChange"),E$1$1=Symbol.for("lit-nothing"),A$1$1=new WeakMap,C$1$1=r$7$1.createTreeWalker(r$7$1,129);function P$1$1(t,i){if(!a$4$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$4$1?s$4$1.createHTML(i):i}const V$1$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3$1?"!--"===u[1]?c=v$1$1:undefined!==u[1]?c=_$1$1:undefined!==u[2]?($$1$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1$1):undefined!==u[3]&&(c=m$1$1):c===m$1$1?">"===u[0]?(c=r??f$3$1,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$1$1:'"'===u[3]?g$1$1:p$3$1):c===g$1$1||c===p$3$1?c=m$1$1:c===v$1$1||c===_$1$1?c=f$3$1:(c=m$1$1,r=undefined);const x=c===m$1$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3$1?s+n$6$1:d>=0?(o.push(a),s.slice(0,d)+e$7$1+s.slice(d)+h$3$1+x):s+h$3$1+(-2===d?i:x);}return [P$1$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1$1(t,s);if(this.el=N.createElement(f,n),C$1$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7$1)){const i=v[a++],s=r.getAttribute(t).split(h$3$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1$1:"?"===e[1]?I$1$1:"@"===e[1]?L$1$1:k$1$1}),r.removeAttribute(t);}else t.startsWith(h$3$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1$1.test(r.tagName)){const t=r.textContent.split(h$3$1),s=t.length-1;if(s>0){r.textContent=i$9$1?i$9$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4$1()),C$1$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4$1());}}}else if(8===r.nodeType)if(r.data===o$7$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3$1,t+1));)d.push({type:7,index:c}),t+=h$3$1.length-1;}c++;}}static createElement(t,i){const s=r$7$1.createElement("template");return s.innerHTML=t,s}};function S$3$1(t,i,s=t,e){if(i===T$1$1)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$5$1(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$3$1(t,h._$AS(t,i.values),h,e)),i}let M$1$1 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7$1).importNode(i,true);C$1$1.currentNode=e;let h=C$1$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$1$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1$1.nextNode(),o++);}return C$1$1.currentNode=r$7$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1$1,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3$1(this,t,i),c$5$1(t)?t===E$1$1||null==t||""===t?(this._$AH!==E$1$1&&this._$AR(),this._$AH=E$1$1):t!==this._$AH&&t!==T$1$1&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$4$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1$1&&c$5$1(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$1$1.createElement(P$1$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1$1.get(t.strings);return undefined===i&&A$1$1.set(t.strings,i=new N$1$1(t)),i}k(t){a$4$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4$1()),this.O(l$4$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1$1,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$3$1(this,t,i,0),o=!c$5$1(t)||t!==this._$AH&&t!==T$1$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3$1(this,e[s+n],i,n),r===T$1$1&&(r=this._$AH[n]),o||=!c$5$1(r)||r!==this._$AH[n],r===E$1$1?t=E$1$1:t!==E$1$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1$1 = class H extends k$1$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1$1?undefined:t;}};let I$1$1 = class I extends k$1$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1$1);}};let L$1$1 = class L extends k$1$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3$1(this,t,i,0)??E$1$1)===T$1$1)return;const s=this._$AH,e=t===E$1$1&&s!==E$1$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1$1&&(s===E$1$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3$1(this,t);}};const j$1$1=t$4$1.litHtmlPolyfillSupport;j$1$1?.(N$1$1,R$1$1),(t$4$1.litHtmlVersions??=[]).push("3.2.1");const B$1$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1$1(i.insertBefore(l$4$1(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
10711
10770
|
|
|
10712
10771
|
/**
|
|
10713
10772
|
* @license
|
|
10714
10773
|
* Copyright 2020 Google LLC
|
|
10715
10774
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10716
10775
|
*/
|
|
10717
|
-
const a$
|
|
10776
|
+
const a$3$1=Symbol.for(""),o$6$1=t=>{if(t?.r===a$3$1)return t?._$litStatic$},s$3$1=t=>({_$litStatic$:t,r:a$3$1}),i$8$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3$1}),l$3$1=new Map,n$5$1=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$6$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$3$1.get(t))&&(n.raw=n,l$3$1.set(t,r=n)),e=u;}return t(r,...e)},u$3$1=n$5$1(x$1$1);
|
|
10718
10777
|
|
|
10719
10778
|
/**
|
|
10720
10779
|
* @license
|
|
10721
10780
|
* Copyright 2019 Google LLC
|
|
10722
10781
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10723
10782
|
*/
|
|
10724
|
-
const t$
|
|
10783
|
+
const t$3$1=globalThis,e$6$1=t$3$1.ShadowRoot&&(undefined===t$3$1.ShadyCSS||t$3$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$1=Symbol(),o$5$1=new WeakMap;let n$4$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$6$1&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$5$1.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5$1.set(s,t));}return t}toString(){return this.cssText}};const r$6$1=t=>new n$4$1("string"==typeof t?t:t+"",undefined,s$2$1),i$7$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4$1(o,t,s$2$1)},S$2$1=(s,o)=>{if(e$6$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4$1=e$6$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6$1(e)})(t):t;
|
|
10725
10784
|
|
|
10726
10785
|
/**
|
|
10727
10786
|
* @license
|
|
10728
10787
|
* Copyright 2017 Google LLC
|
|
10729
10788
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10730
|
-
*/const{is:i$
|
|
10789
|
+
*/const{is:i$6$1,defineProperty:e$5$1,getOwnPropertyDescriptor:r$5$1,getOwnPropertyNames:h$2$1,getOwnPropertySymbols:o$4$1,getPrototypeOf:n$3$1}=Object,a$2$1=globalThis,c$3$1=a$2$1.trustedTypes,l$2$1=c$3$1?c$3$1.emptyScript:"",p$2$1=a$2$1.reactiveElementPolyfillSupport,d$2$1=(t,s)=>t,u$2$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2$1=(t,s)=>!i$6$1(t,s),y$2$1={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$2$1};Symbol.metadata??=Symbol("metadata"),a$2$1.litPropertyMetadata??=new WeakMap;let b$1$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$2$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$5$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2$1}static _$Ei(){if(this.hasOwnProperty(d$2$1("elementProperties")))return;const t=n$3$1(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2$1("properties"))){const t=this.properties,s=[...h$2$1(t),...o$4$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4$1(s));}else undefined!==s&&i.push(c$4$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$2$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$2$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1$1.elementStyles=[],b$1$1.shadowRootOptions={mode:"open"},b$1$1[d$2$1("elementProperties")]=new Map,b$1$1[d$2$1("finalized")]=new Map,p$2$1?.({ReactiveElement:b$1$1}),(a$2$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
10731
10790
|
|
|
10732
10791
|
/**
|
|
10733
10792
|
* @license
|
|
10734
10793
|
* Copyright 2017 Google LLC
|
|
10735
10794
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10736
|
-
*/let r$
|
|
10795
|
+
*/let r$4$1 = class r extends b$1$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1$1}};r$4$1._$litElement$=true,r$4$1["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4$1});const i$5$1=globalThis.litElementPolyfillSupport;i$5$1?.({LitElement:r$4$1});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
10737
10796
|
|
|
10738
10797
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10739
10798
|
// See LICENSE in the project root for license information.
|
|
@@ -10742,7 +10801,7 @@ const t$1$1=globalThis,e$3$1=t$1$1.ShadowRoot&&(void 0===t$1$1.ShadyCSS||t$1$1.S
|
|
|
10742
10801
|
|
|
10743
10802
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10744
10803
|
|
|
10745
|
-
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
10804
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
10746
10805
|
|
|
10747
10806
|
/* eslint-disable jsdoc/require-param */
|
|
10748
10807
|
|
|
@@ -10853,7 +10912,7 @@ function getAlignmentAxis(placement) {
|
|
|
10853
10912
|
return getOppositeAxis(getSideAxis(placement));
|
|
10854
10913
|
}
|
|
10855
10914
|
function getAlignmentSides(placement, rects, rtl) {
|
|
10856
|
-
if (rtl ===
|
|
10915
|
+
if (rtl === undefined) {
|
|
10857
10916
|
rtl = false;
|
|
10858
10917
|
}
|
|
10859
10918
|
const alignment = getAlignment(placement);
|
|
@@ -11010,7 +11069,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
11010
11069
|
platform
|
|
11011
11070
|
} = config;
|
|
11012
11071
|
const validMiddleware = middleware.filter(Boolean);
|
|
11013
|
-
const rtl = await (platform.isRTL == null ?
|
|
11072
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(floating));
|
|
11014
11073
|
let rects = await platform.getElementRects({
|
|
11015
11074
|
reference,
|
|
11016
11075
|
floating,
|
|
@@ -11096,7 +11155,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
11096
11155
|
*/
|
|
11097
11156
|
async function detectOverflow(state, options) {
|
|
11098
11157
|
var _await$platform$isEle;
|
|
11099
|
-
if (options ===
|
|
11158
|
+
if (options === undefined) {
|
|
11100
11159
|
options = {};
|
|
11101
11160
|
}
|
|
11102
11161
|
const {
|
|
@@ -11118,7 +11177,7 @@ async function detectOverflow(state, options) {
|
|
|
11118
11177
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
11119
11178
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
11120
11179
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
11121
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ?
|
|
11180
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? undefined : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? undefined : platform.getDocumentElement(elements.floating))),
|
|
11122
11181
|
boundary,
|
|
11123
11182
|
rootBoundary,
|
|
11124
11183
|
strategy
|
|
@@ -11129,8 +11188,8 @@ async function detectOverflow(state, options) {
|
|
|
11129
11188
|
width: rects.floating.width,
|
|
11130
11189
|
height: rects.floating.height
|
|
11131
11190
|
} : rects.reference;
|
|
11132
|
-
const offsetParent = await (platform.getOffsetParent == null ?
|
|
11133
|
-
const offsetScale = (await (platform.isElement == null ?
|
|
11191
|
+
const offsetParent = await (platform.getOffsetParent == null ? undefined : platform.getOffsetParent(elements.floating));
|
|
11192
|
+
const offsetScale = (await (platform.isElement == null ? undefined : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? undefined : platform.getScale(offsetParent))) || {
|
|
11134
11193
|
x: 1,
|
|
11135
11194
|
y: 1
|
|
11136
11195
|
} : {
|
|
@@ -11167,7 +11226,7 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
|
11167
11226
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
11168
11227
|
*/
|
|
11169
11228
|
const autoPlacement$1 = function (options) {
|
|
11170
|
-
if (options ===
|
|
11229
|
+
if (options === undefined) {
|
|
11171
11230
|
options = {};
|
|
11172
11231
|
}
|
|
11173
11232
|
return {
|
|
@@ -11191,12 +11250,12 @@ const autoPlacement$1 = function (options) {
|
|
|
11191
11250
|
} = evaluate(options, state);
|
|
11192
11251
|
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
11193
11252
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
11194
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ?
|
|
11253
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP.index) || 0;
|
|
11195
11254
|
const currentPlacement = placements$1[currentIndex];
|
|
11196
11255
|
if (currentPlacement == null) {
|
|
11197
11256
|
return {};
|
|
11198
11257
|
}
|
|
11199
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ?
|
|
11258
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating)));
|
|
11200
11259
|
|
|
11201
11260
|
// Make `computeCoords` start from the right place.
|
|
11202
11261
|
if (placement !== currentPlacement) {
|
|
@@ -11207,7 +11266,7 @@ const autoPlacement$1 = function (options) {
|
|
|
11207
11266
|
};
|
|
11208
11267
|
}
|
|
11209
11268
|
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
11210
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ?
|
|
11269
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP2.overflows) || []), {
|
|
11211
11270
|
placement: currentPlacement,
|
|
11212
11271
|
overflows: currentOverflows
|
|
11213
11272
|
}];
|
|
@@ -11237,7 +11296,7 @@ const autoPlacement$1 = function (options) {
|
|
|
11237
11296
|
// Aligned placements should not check their opposite crossAxis
|
|
11238
11297
|
// side.
|
|
11239
11298
|
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
11240
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ?
|
|
11299
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? undefined : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
11241
11300
|
if (resetPlacement !== placement) {
|
|
11242
11301
|
return {
|
|
11243
11302
|
data: {
|
|
@@ -11261,7 +11320,7 @@ const autoPlacement$1 = function (options) {
|
|
|
11261
11320
|
* @see https://floating-ui.com/docs/flip
|
|
11262
11321
|
*/
|
|
11263
11322
|
const flip$1 = function (options) {
|
|
11264
|
-
if (options ===
|
|
11323
|
+
if (options === undefined) {
|
|
11265
11324
|
options = {};
|
|
11266
11325
|
}
|
|
11267
11326
|
return {
|
|
@@ -11297,7 +11356,7 @@ const flip$1 = function (options) {
|
|
|
11297
11356
|
const side = getSide(placement);
|
|
11298
11357
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
11299
11358
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
11300
|
-
const rtl = await (platform.isRTL == null ?
|
|
11359
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
|
|
11301
11360
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
11302
11361
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
11303
11362
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -11306,7 +11365,7 @@ const flip$1 = function (options) {
|
|
|
11306
11365
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
11307
11366
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
11308
11367
|
const overflows = [];
|
|
11309
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
11368
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? undefined : _middlewareData$flip.overflows) || [];
|
|
11310
11369
|
if (checkMainAxis) {
|
|
11311
11370
|
overflows.push(overflow[side]);
|
|
11312
11371
|
}
|
|
@@ -11322,7 +11381,7 @@ const flip$1 = function (options) {
|
|
|
11322
11381
|
// One or more sides is overflowing.
|
|
11323
11382
|
if (!overflows.every(side => side <= 0)) {
|
|
11324
11383
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
11325
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
11384
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? undefined : _middlewareData$flip2.index) || 0) + 1;
|
|
11326
11385
|
const nextPlacement = placements[nextIndex];
|
|
11327
11386
|
if (nextPlacement) {
|
|
11328
11387
|
// Try next placement and re-run the lifecycle.
|
|
@@ -11339,7 +11398,7 @@ const flip$1 = function (options) {
|
|
|
11339
11398
|
|
|
11340
11399
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
11341
11400
|
// then find the placement that fits the best on the main crossAxis side.
|
|
11342
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ?
|
|
11401
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? undefined : _overflowsData$filter.placement;
|
|
11343
11402
|
|
|
11344
11403
|
// Otherwise fallback.
|
|
11345
11404
|
if (!resetPlacement) {
|
|
@@ -11356,7 +11415,7 @@ const flip$1 = function (options) {
|
|
|
11356
11415
|
currentSideAxis === 'y';
|
|
11357
11416
|
}
|
|
11358
11417
|
return true;
|
|
11359
|
-
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ?
|
|
11418
|
+
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? undefined : _overflowsData$filter2[0];
|
|
11360
11419
|
if (placement) {
|
|
11361
11420
|
resetPlacement = placement;
|
|
11362
11421
|
}
|
|
@@ -11389,7 +11448,7 @@ async function convertValueToCoords(state, options) {
|
|
|
11389
11448
|
platform,
|
|
11390
11449
|
elements
|
|
11391
11450
|
} = state;
|
|
11392
|
-
const rtl = await (platform.isRTL == null ?
|
|
11451
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
|
|
11393
11452
|
const side = getSide(placement);
|
|
11394
11453
|
const alignment = getAlignment(placement);
|
|
11395
11454
|
const isVertical = getSideAxis(placement) === 'y';
|
|
@@ -11431,7 +11490,7 @@ async function convertValueToCoords(state, options) {
|
|
|
11431
11490
|
* @see https://floating-ui.com/docs/offset
|
|
11432
11491
|
*/
|
|
11433
11492
|
const offset$1 = function (options) {
|
|
11434
|
-
if (options ===
|
|
11493
|
+
if (options === undefined) {
|
|
11435
11494
|
options = 0;
|
|
11436
11495
|
}
|
|
11437
11496
|
return {
|
|
@@ -11449,7 +11508,7 @@ const offset$1 = function (options) {
|
|
|
11449
11508
|
|
|
11450
11509
|
// If the placement is the same and the arrow caused an alignment offset
|
|
11451
11510
|
// then we don't need to change the positioning coordinates.
|
|
11452
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
11511
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? undefined : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
11453
11512
|
return {};
|
|
11454
11513
|
}
|
|
11455
11514
|
return {
|
|
@@ -11478,11 +11537,11 @@ function getNodeName(node) {
|
|
|
11478
11537
|
}
|
|
11479
11538
|
function getWindow(node) {
|
|
11480
11539
|
var _node$ownerDocument;
|
|
11481
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
11540
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? undefined : _node$ownerDocument.defaultView) || window;
|
|
11482
11541
|
}
|
|
11483
11542
|
function getDocumentElement(node) {
|
|
11484
11543
|
var _ref;
|
|
11485
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
11544
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? undefined : _ref.documentElement;
|
|
11486
11545
|
}
|
|
11487
11546
|
function isNode(value) {
|
|
11488
11547
|
if (!hasWindow()) {
|
|
@@ -11597,14 +11656,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
11597
11656
|
}
|
|
11598
11657
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
11599
11658
|
var _node$ownerDocument2;
|
|
11600
|
-
if (list ===
|
|
11659
|
+
if (list === undefined) {
|
|
11601
11660
|
list = [];
|
|
11602
11661
|
}
|
|
11603
|
-
if (traverseIframes ===
|
|
11662
|
+
if (traverseIframes === undefined) {
|
|
11604
11663
|
traverseIframes = true;
|
|
11605
11664
|
}
|
|
11606
11665
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
11607
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
11666
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? undefined : _node$ownerDocument2.body);
|
|
11608
11667
|
const win = getWindow(scrollableAncestor);
|
|
11609
11668
|
if (isBody) {
|
|
11610
11669
|
const frameElement = getFrameElement(win);
|
|
@@ -11681,7 +11740,7 @@ function getVisualOffsets(element) {
|
|
|
11681
11740
|
};
|
|
11682
11741
|
}
|
|
11683
11742
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
11684
|
-
if (isFixed ===
|
|
11743
|
+
if (isFixed === undefined) {
|
|
11685
11744
|
isFixed = false;
|
|
11686
11745
|
}
|
|
11687
11746
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
@@ -11691,10 +11750,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
11691
11750
|
}
|
|
11692
11751
|
|
|
11693
11752
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
11694
|
-
if (includeScale ===
|
|
11753
|
+
if (includeScale === undefined) {
|
|
11695
11754
|
includeScale = false;
|
|
11696
11755
|
}
|
|
11697
|
-
if (isFixedStrategy ===
|
|
11756
|
+
if (isFixedStrategy === undefined) {
|
|
11698
11757
|
isFixedStrategy = false;
|
|
11699
11758
|
}
|
|
11700
11759
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -11754,7 +11813,7 @@ function getWindowScrollBarX(element, rect) {
|
|
|
11754
11813
|
}
|
|
11755
11814
|
|
|
11756
11815
|
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
11757
|
-
if (ignoreScrollbarX ===
|
|
11816
|
+
if (ignoreScrollbarX === undefined) {
|
|
11758
11817
|
ignoreScrollbarX = false;
|
|
11759
11818
|
}
|
|
11760
11819
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
@@ -12104,10 +12163,10 @@ function observeMove(element, onMove) {
|
|
|
12104
12163
|
io = null;
|
|
12105
12164
|
}
|
|
12106
12165
|
function refresh(skip, threshold) {
|
|
12107
|
-
if (skip ===
|
|
12166
|
+
if (skip === undefined) {
|
|
12108
12167
|
skip = false;
|
|
12109
12168
|
}
|
|
12110
|
-
if (threshold ===
|
|
12169
|
+
if (threshold === undefined) {
|
|
12111
12170
|
threshold = 1;
|
|
12112
12171
|
}
|
|
12113
12172
|
cleanup();
|
|
@@ -12178,7 +12237,7 @@ function observeMove(element, onMove) {
|
|
|
12178
12237
|
* @see https://floating-ui.com/docs/autoUpdate
|
|
12179
12238
|
*/
|
|
12180
12239
|
function autoUpdate(reference, floating, update, options) {
|
|
12181
|
-
if (options ===
|
|
12240
|
+
if (options === undefined) {
|
|
12182
12241
|
options = {};
|
|
12183
12242
|
}
|
|
12184
12243
|
const {
|
|
@@ -12394,7 +12453,7 @@ class AuroFloatingUI {
|
|
|
12394
12453
|
// Compute the position of the bib
|
|
12395
12454
|
computePosition(this.element.trigger, this.element.bib, {
|
|
12396
12455
|
placement: this.element.floaterConfig.placement || 'bottom',
|
|
12397
|
-
middleware: middleware
|
|
12456
|
+
middleware: middleware
|
|
12398
12457
|
}).then(({x, y}) => { // eslint-disable-line id-length
|
|
12399
12458
|
Object.assign(this.element.bib.style, {
|
|
12400
12459
|
left: `${x}px`,
|
|
@@ -12427,7 +12486,11 @@ class AuroFloatingUI {
|
|
|
12427
12486
|
|
|
12428
12487
|
updateState() {
|
|
12429
12488
|
const isVisible = this.element.isPopoverVisible;
|
|
12430
|
-
|
|
12489
|
+
|
|
12490
|
+
// Refactor this to apply attribute to correct focusable element
|
|
12491
|
+
// Reference Issue: https://github.com/AlaskaAirlines/auro-library/issues/105
|
|
12492
|
+
//
|
|
12493
|
+
// this.element.trigger.setAttribute('aria-expanded', isVisible);
|
|
12431
12494
|
|
|
12432
12495
|
if (isVisible) {
|
|
12433
12496
|
this.element.bib.setAttribute('data-show', true);
|
|
@@ -12717,7 +12780,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
12717
12780
|
*/
|
|
12718
12781
|
generateTag(baseName, version, tagClass) {
|
|
12719
12782
|
const elementName = this.generateElementName(baseName, version);
|
|
12720
|
-
const tag = i$
|
|
12783
|
+
const tag = i$8$1`${s$3$1(elementName)}`;
|
|
12721
12784
|
|
|
12722
12785
|
if (!customElements.get(elementName)) {
|
|
12723
12786
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -12732,19 +12795,19 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
12732
12795
|
* Copyright 2017 Google LLC
|
|
12733
12796
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12734
12797
|
*/
|
|
12735
|
-
const t$
|
|
12798
|
+
const t$2$1={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$4$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$4$1 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
12736
12799
|
|
|
12737
12800
|
/**
|
|
12738
12801
|
* @license
|
|
12739
12802
|
* Copyright 2018 Google LLC
|
|
12740
12803
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12741
|
-
*/const e$
|
|
12804
|
+
*/const e$3$1=e$4$1(class extends i$4$1{constructor(t){if(super(t),t.type!==t$2$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1$1}});
|
|
12742
12805
|
|
|
12743
12806
|
/**
|
|
12744
12807
|
* @license
|
|
12745
12808
|
* Copyright 2018 Google LLC
|
|
12746
12809
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12747
|
-
*/const o$
|
|
12810
|
+
*/const o$3$1=o=>o??E$1$1;
|
|
12748
12811
|
|
|
12749
12812
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12750
12813
|
// See LICENSE in the project root for license information.
|
|
@@ -12756,7 +12819,7 @@ const t$4={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
|
|
|
12756
12819
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
12757
12820
|
*/
|
|
12758
12821
|
|
|
12759
|
-
let AuroElement$1 = class AuroElement extends r$
|
|
12822
|
+
let AuroElement$1 = class AuroElement extends r$4$1 {
|
|
12760
12823
|
|
|
12761
12824
|
// function to define props used within the scope of this component
|
|
12762
12825
|
static get properties() {
|
|
@@ -12812,7 +12875,7 @@ const cacheFetch$1 = (uri, options = {}) => {
|
|
|
12812
12875
|
return _fetchMap$1.get(uri);
|
|
12813
12876
|
};
|
|
12814
12877
|
|
|
12815
|
-
var styleCss$
|
|
12878
|
+
var styleCss$3$1 = i$7$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
|
|
12816
12879
|
|
|
12817
12880
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12818
12881
|
// See LICENSE in the project root for license information.
|
|
@@ -12851,8 +12914,8 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
12851
12914
|
}
|
|
12852
12915
|
|
|
12853
12916
|
static get styles() {
|
|
12854
|
-
return i$
|
|
12855
|
-
${styleCss$
|
|
12917
|
+
return i$7$1`
|
|
12918
|
+
${styleCss$3$1}
|
|
12856
12919
|
`;
|
|
12857
12920
|
}
|
|
12858
12921
|
|
|
@@ -12893,9 +12956,9 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
12893
12956
|
}
|
|
12894
12957
|
};
|
|
12895
12958
|
|
|
12896
|
-
var tokensCss$
|
|
12959
|
+
var tokensCss$2$1 = i$7$1`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
12897
12960
|
|
|
12898
|
-
var colorCss$
|
|
12961
|
+
var colorCss$3$1 = i$7$1`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
12899
12962
|
|
|
12900
12963
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12901
12964
|
// See LICENSE in the project root for license information.
|
|
@@ -12957,7 +13020,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
12957
13020
|
this.success = false;
|
|
12958
13021
|
this.tertiary = false;
|
|
12959
13022
|
this.warning = false;
|
|
12960
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
13023
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
12961
13024
|
}
|
|
12962
13025
|
|
|
12963
13026
|
// function to define props used within the scope of this component
|
|
@@ -13039,9 +13102,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
13039
13102
|
static get styles() {
|
|
13040
13103
|
return [
|
|
13041
13104
|
super.styles,
|
|
13042
|
-
i$
|
|
13043
|
-
i$
|
|
13044
|
-
i$
|
|
13105
|
+
i$7$1`${tokensCss$2$1}`,
|
|
13106
|
+
i$7$1`${styleCss$3$1}`,
|
|
13107
|
+
i$7$1`${colorCss$3$1}`
|
|
13045
13108
|
];
|
|
13046
13109
|
}
|
|
13047
13110
|
|
|
@@ -13054,7 +13117,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
13054
13117
|
*
|
|
13055
13118
|
*/
|
|
13056
13119
|
static register(name = "auro-icon") {
|
|
13057
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
13120
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
13058
13121
|
}
|
|
13059
13122
|
|
|
13060
13123
|
connectedCallback() {
|
|
@@ -13083,20 +13146,20 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
13083
13146
|
'wrapper': true,
|
|
13084
13147
|
};
|
|
13085
13148
|
|
|
13086
|
-
return x$1`
|
|
13149
|
+
return x$1$1`
|
|
13087
13150
|
<div
|
|
13088
|
-
class="${e$
|
|
13089
|
-
title="${o$
|
|
13090
|
-
<span aria-hidden="${o$
|
|
13091
|
-
${this.customSvg ? x$1`
|
|
13151
|
+
class="${e$3$1(classes)}"
|
|
13152
|
+
title="${o$3$1(this.title || undefined)}">
|
|
13153
|
+
<span aria-hidden="${o$3$1(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
13154
|
+
${this.customSvg ? x$1$1`
|
|
13092
13155
|
<slot name="svg"></slot>
|
|
13093
|
-
` : x$1`
|
|
13156
|
+
` : x$1$1`
|
|
13094
13157
|
${this.svg}
|
|
13095
13158
|
`
|
|
13096
13159
|
}
|
|
13097
13160
|
</span>
|
|
13098
13161
|
|
|
13099
|
-
<div class="${e$
|
|
13162
|
+
<div class="${e$3$1(a11y)}">
|
|
13100
13163
|
<slot></slot>
|
|
13101
13164
|
</div>
|
|
13102
13165
|
</div>
|
|
@@ -13106,15 +13169,238 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
13106
13169
|
|
|
13107
13170
|
var iconVersion$1 = '6.1.2';
|
|
13108
13171
|
|
|
13109
|
-
var styleCss$
|
|
13172
|
+
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)}`;
|
|
13173
|
+
|
|
13174
|
+
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)}`;
|
|
13175
|
+
|
|
13176
|
+
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)}`;
|
|
13177
|
+
|
|
13178
|
+
/**
|
|
13179
|
+
* @license
|
|
13180
|
+
* Copyright 2019 Google LLC
|
|
13181
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13182
|
+
*/
|
|
13183
|
+
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;
|
|
13184
|
+
|
|
13185
|
+
/**
|
|
13186
|
+
* @license
|
|
13187
|
+
* Copyright 2017 Google LLC
|
|
13188
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13189
|
+
*/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");
|
|
13190
|
+
|
|
13191
|
+
/**
|
|
13192
|
+
* @license
|
|
13193
|
+
* Copyright 2017 Google LLC
|
|
13194
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13195
|
+
*/
|
|
13196
|
+
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};
|
|
13197
|
+
|
|
13198
|
+
/**
|
|
13199
|
+
* @license
|
|
13200
|
+
* Copyright 2017 Google LLC
|
|
13201
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13202
|
+
*/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");
|
|
13203
|
+
|
|
13204
|
+
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)}`;
|
|
13205
|
+
|
|
13206
|
+
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}`;
|
|
13207
|
+
|
|
13208
|
+
var tokensCss$5 = i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
13209
|
+
|
|
13210
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
13211
|
+
// See LICENSE in the project root for license information.
|
|
13212
|
+
|
|
13213
|
+
// ---------------------------------------------------------------------
|
|
13214
|
+
|
|
13215
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
13216
|
+
|
|
13217
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
13218
|
+
|
|
13219
|
+
/* eslint-disable jsdoc/require-param */
|
|
13220
|
+
|
|
13221
|
+
/**
|
|
13222
|
+
* This will register a new custom element with the browser.
|
|
13223
|
+
* @param {String} name - The name of the custom element.
|
|
13224
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
13225
|
+
* @returns {void}
|
|
13226
|
+
*/
|
|
13227
|
+
registerComponent(name, componentClass) {
|
|
13228
|
+
if (!customElements.get(name)) {
|
|
13229
|
+
customElements.define(name, class extends componentClass {});
|
|
13230
|
+
}
|
|
13231
|
+
}
|
|
13232
|
+
|
|
13233
|
+
/**
|
|
13234
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
13235
|
+
* @returns {void}
|
|
13236
|
+
*/
|
|
13237
|
+
closestElement(
|
|
13238
|
+
selector, // selector like in .closest()
|
|
13239
|
+
base = this, // extra functionality to skip a parent
|
|
13240
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
13241
|
+
!el || el === document || el === window
|
|
13242
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
13243
|
+
: found
|
|
13244
|
+
? found // found a selector INside this element
|
|
13245
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
13246
|
+
) {
|
|
13247
|
+
return __Closest(base);
|
|
13248
|
+
}
|
|
13249
|
+
/* eslint-enable jsdoc/require-param */
|
|
13250
|
+
|
|
13251
|
+
/**
|
|
13252
|
+
* 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.
|
|
13253
|
+
* @param {Object} elem - The element to check.
|
|
13254
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
13255
|
+
* @returns {void}
|
|
13256
|
+
*/
|
|
13257
|
+
handleComponentTagRename(elem, tagName) {
|
|
13258
|
+
const tag = tagName.toLowerCase();
|
|
13259
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
13260
|
+
|
|
13261
|
+
if (elemTag !== tag) {
|
|
13262
|
+
elem.setAttribute(tag, true);
|
|
13263
|
+
}
|
|
13264
|
+
}
|
|
13265
|
+
|
|
13266
|
+
/**
|
|
13267
|
+
* Validates if an element is a specific Auro component.
|
|
13268
|
+
* @param {Object} elem - The element to validate.
|
|
13269
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
13270
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
13271
|
+
*/
|
|
13272
|
+
elementMatch(elem, tagName) {
|
|
13273
|
+
const tag = tagName.toLowerCase();
|
|
13274
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
13275
|
+
|
|
13276
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
13277
|
+
}
|
|
13278
|
+
};
|
|
13279
|
+
|
|
13280
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13281
|
+
// See LICENSE in the project root for license information.
|
|
13282
|
+
|
|
13283
|
+
|
|
13284
|
+
/**
|
|
13285
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
13286
|
+
*
|
|
13287
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
13288
|
+
*/
|
|
13289
|
+
let AuroHelpText$1 = class AuroHelpText extends r$9 {
|
|
13290
|
+
|
|
13291
|
+
constructor() {
|
|
13292
|
+
super();
|
|
13293
|
+
|
|
13294
|
+
this.error = false;
|
|
13295
|
+
this.hasTextContent = false;
|
|
13296
|
+
}
|
|
13297
|
+
|
|
13298
|
+
static get styles() {
|
|
13299
|
+
return [
|
|
13300
|
+
colorCss$1$1,
|
|
13301
|
+
styleCss$1$1,
|
|
13302
|
+
tokensCss$5
|
|
13303
|
+
];
|
|
13304
|
+
}
|
|
13305
|
+
|
|
13306
|
+
// function to define props used within the scope of this component
|
|
13307
|
+
static get properties() {
|
|
13308
|
+
return {
|
|
13309
|
+
|
|
13310
|
+
/**
|
|
13311
|
+
* @private
|
|
13312
|
+
*/
|
|
13313
|
+
slotNodes: {
|
|
13314
|
+
type: Boolean,
|
|
13315
|
+
},
|
|
13316
|
+
|
|
13317
|
+
/**
|
|
13318
|
+
* @private
|
|
13319
|
+
*/
|
|
13320
|
+
hasTextContent: {
|
|
13321
|
+
type: Boolean,
|
|
13322
|
+
},
|
|
13323
|
+
|
|
13324
|
+
/**
|
|
13325
|
+
* If declared, make font color red.
|
|
13326
|
+
*/
|
|
13327
|
+
error: {
|
|
13328
|
+
type: Boolean,
|
|
13329
|
+
reflect: true,
|
|
13330
|
+
},
|
|
13331
|
+
};
|
|
13332
|
+
}
|
|
13333
|
+
|
|
13334
|
+
/**
|
|
13335
|
+
* This will register this element with the browser.
|
|
13336
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
13337
|
+
*
|
|
13338
|
+
* @example
|
|
13339
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
13340
|
+
*
|
|
13341
|
+
*/
|
|
13342
|
+
static register(name = "auro-helptext") {
|
|
13343
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
13344
|
+
}
|
|
13345
|
+
|
|
13346
|
+
updated() {
|
|
13347
|
+
this.handleSlotChange();
|
|
13348
|
+
}
|
|
13349
|
+
|
|
13350
|
+
handleSlotChange(event) {
|
|
13351
|
+
if (event) {
|
|
13352
|
+
this.slotNodes = event.target.assignedNodes();
|
|
13353
|
+
}
|
|
13354
|
+
|
|
13355
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
13356
|
+
}
|
|
13357
|
+
|
|
13358
|
+
/**
|
|
13359
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
13360
|
+
*
|
|
13361
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
13362
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
13363
|
+
* @private
|
|
13364
|
+
*/
|
|
13365
|
+
checkSlotsForContent(nodes) {
|
|
13366
|
+
if (!nodes) {
|
|
13367
|
+
return false;
|
|
13368
|
+
}
|
|
13369
|
+
|
|
13370
|
+
return nodes.some((node) => {
|
|
13371
|
+
if (node.textContent.trim()) {
|
|
13372
|
+
return true;
|
|
13373
|
+
}
|
|
13374
|
+
|
|
13375
|
+
if (!node.querySelector) {
|
|
13376
|
+
return false;
|
|
13377
|
+
}
|
|
13378
|
+
|
|
13379
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
13380
|
+
if (!nestedSlot) {
|
|
13381
|
+
return false;
|
|
13382
|
+
}
|
|
13383
|
+
|
|
13384
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
13385
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
13386
|
+
});
|
|
13387
|
+
}
|
|
13110
13388
|
|
|
13111
|
-
|
|
13389
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
13390
|
+
render() {
|
|
13391
|
+
return x$2`
|
|
13392
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
13393
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
13394
|
+
</div>
|
|
13395
|
+
`;
|
|
13396
|
+
}
|
|
13397
|
+
};
|
|
13112
13398
|
|
|
13113
|
-
|
|
13399
|
+
AuroHelpText$1.register();
|
|
13114
13400
|
|
|
13115
|
-
var styleCss$
|
|
13401
|
+
var styleCss$5 = i$7$1`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
|
|
13116
13402
|
|
|
13117
|
-
var colorCss$
|
|
13403
|
+
var colorCss$5 = i$7$1`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
13118
13404
|
|
|
13119
13405
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13120
13406
|
// See LICENSE in the project root for license information.
|
|
@@ -13134,7 +13420,7 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
13134
13420
|
* @csspart bibContainer - Apply css to the bib container.
|
|
13135
13421
|
*/
|
|
13136
13422
|
|
|
13137
|
-
class AuroDropdownBib extends r$
|
|
13423
|
+
class AuroDropdownBib extends r$4$1 {
|
|
13138
13424
|
|
|
13139
13425
|
constructor() {
|
|
13140
13426
|
super();
|
|
@@ -13147,9 +13433,9 @@ class AuroDropdownBib extends r$5 {
|
|
|
13147
13433
|
|
|
13148
13434
|
static get styles() {
|
|
13149
13435
|
return [
|
|
13150
|
-
styleCss$
|
|
13151
|
-
colorCss$
|
|
13152
|
-
tokensCss$
|
|
13436
|
+
styleCss$5,
|
|
13437
|
+
colorCss$5,
|
|
13438
|
+
tokensCss$1$1
|
|
13153
13439
|
];
|
|
13154
13440
|
}
|
|
13155
13441
|
|
|
@@ -13200,7 +13486,7 @@ class AuroDropdownBib extends r$5 {
|
|
|
13200
13486
|
|
|
13201
13487
|
// function that renders the HTML and CSS into the scope of the component
|
|
13202
13488
|
render() {
|
|
13203
|
-
return u$
|
|
13489
|
+
return u$3$1`
|
|
13204
13490
|
<div class="container" part="bibContainer">
|
|
13205
13491
|
<slot></slot>
|
|
13206
13492
|
</div>
|
|
@@ -13226,11 +13512,10 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
13226
13512
|
* @csspart trigger - The trigger content container.
|
|
13227
13513
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
13228
13514
|
* @csspart helpText - The helpText content container.
|
|
13229
|
-
* @csspart popover - The bib content container.
|
|
13230
13515
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
13231
13516
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
13232
13517
|
*/
|
|
13233
|
-
class AuroDropdown extends r$
|
|
13518
|
+
class AuroDropdown extends r$4$1 {
|
|
13234
13519
|
constructor() {
|
|
13235
13520
|
super();
|
|
13236
13521
|
|
|
@@ -13239,6 +13524,25 @@ class AuroDropdown extends r$5 {
|
|
|
13239
13524
|
this.noHideOnThisFocusLoss = false;
|
|
13240
13525
|
|
|
13241
13526
|
this.privateDefaults();
|
|
13527
|
+
|
|
13528
|
+
/**
|
|
13529
|
+
* @private
|
|
13530
|
+
* @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
|
|
13531
|
+
*/
|
|
13532
|
+
this.constructor.shadowRootOptions = {
|
|
13533
|
+
...r$4$1.shadowRootOptions,
|
|
13534
|
+
delegatesFocus: true,
|
|
13535
|
+
};
|
|
13536
|
+
|
|
13537
|
+
/**
|
|
13538
|
+
* @private
|
|
13539
|
+
*/
|
|
13540
|
+
this.triggerContentFocusable = false;
|
|
13541
|
+
|
|
13542
|
+
/**
|
|
13543
|
+
* @private
|
|
13544
|
+
*/
|
|
13545
|
+
this.showTriggerBorders = true;
|
|
13242
13546
|
}
|
|
13243
13547
|
|
|
13244
13548
|
/**
|
|
@@ -13269,7 +13573,7 @@ class AuroDropdown extends r$5 {
|
|
|
13269
13573
|
/**
|
|
13270
13574
|
* @private
|
|
13271
13575
|
*/
|
|
13272
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
13576
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
13273
13577
|
|
|
13274
13578
|
/**
|
|
13275
13579
|
* @private
|
|
@@ -13470,9 +13774,9 @@ class AuroDropdown extends r$5 {
|
|
|
13470
13774
|
|
|
13471
13775
|
static get styles() {
|
|
13472
13776
|
return [
|
|
13473
|
-
colorCss$
|
|
13474
|
-
styleCss$
|
|
13475
|
-
tokensCss$
|
|
13777
|
+
colorCss$2$1,
|
|
13778
|
+
styleCss$2$1,
|
|
13779
|
+
tokensCss$1$1
|
|
13476
13780
|
];
|
|
13477
13781
|
}
|
|
13478
13782
|
|
|
@@ -13485,7 +13789,7 @@ class AuroDropdown extends r$5 {
|
|
|
13485
13789
|
*
|
|
13486
13790
|
*/
|
|
13487
13791
|
static register(name = "auro-dropdown") {
|
|
13488
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
|
|
13792
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
|
|
13489
13793
|
}
|
|
13490
13794
|
|
|
13491
13795
|
connectedCallback() {
|
|
@@ -13551,20 +13855,96 @@ class AuroDropdown extends r$5 {
|
|
|
13551
13855
|
}
|
|
13552
13856
|
|
|
13553
13857
|
/**
|
|
13554
|
-
*
|
|
13555
|
-
*
|
|
13556
|
-
*
|
|
13557
|
-
*
|
|
13558
|
-
|
|
13858
|
+
* Determines if the element or any children are focusable.
|
|
13859
|
+
* @private
|
|
13860
|
+
* @param {HTMLElement} element - Element to check.
|
|
13861
|
+
* @returns {Boolean} - True if the element or any children are focusable.
|
|
13862
|
+
*/
|
|
13863
|
+
containsFocusableElement(element) {
|
|
13864
|
+
this.showTriggerBorders = true;
|
|
13865
|
+
|
|
13866
|
+
const nodes = [
|
|
13867
|
+
element,
|
|
13868
|
+
...element.children
|
|
13869
|
+
];
|
|
13870
|
+
|
|
13871
|
+
const focusableElements = [
|
|
13872
|
+
'a',
|
|
13873
|
+
'auro-hyperlink',
|
|
13874
|
+
'button',
|
|
13875
|
+
'auro-button',
|
|
13876
|
+
'input',
|
|
13877
|
+
'auro-input',
|
|
13878
|
+
];
|
|
13879
|
+
|
|
13880
|
+
const focusableElementsThatNeedBorders = ['auro-input'];
|
|
13881
|
+
|
|
13882
|
+
const result = nodes.some((node) => {
|
|
13883
|
+
const tagName = node.tagName.toLowerCase();
|
|
13884
|
+
|
|
13885
|
+
if (node.tabIndex > -1) {
|
|
13886
|
+
return true;
|
|
13887
|
+
}
|
|
13888
|
+
|
|
13889
|
+
if (focusableElements.includes(tagName)) {
|
|
13890
|
+
if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
|
|
13891
|
+
return true;
|
|
13892
|
+
}
|
|
13893
|
+
if (!node.hasAttribute('disabled')) {
|
|
13894
|
+
return true;
|
|
13895
|
+
}
|
|
13896
|
+
}
|
|
13897
|
+
|
|
13898
|
+
if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
|
|
13899
|
+
return true;
|
|
13900
|
+
}
|
|
13901
|
+
|
|
13902
|
+
return false;
|
|
13903
|
+
});
|
|
13904
|
+
|
|
13905
|
+
if (result) {
|
|
13906
|
+
this.showTriggerBorders = !nodes.some((node) => {
|
|
13907
|
+
const tagName = node.tagName.toLowerCase();
|
|
13908
|
+
return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
|
|
13909
|
+
});
|
|
13910
|
+
}
|
|
13911
|
+
|
|
13912
|
+
return result;
|
|
13913
|
+
}
|
|
13914
|
+
|
|
13915
|
+
/**
|
|
13916
|
+
* Handles changes to the trigger content slot and updates related properties.
|
|
13917
|
+
*
|
|
13918
|
+
* It first updates the floater settings
|
|
13919
|
+
* Then, it retrieves the assigned nodes from the event target and checks if any of
|
|
13920
|
+
* the nodes contain non-empty text content, updating the `hasTriggerContent` property accordingly.
|
|
13559
13921
|
*
|
|
13560
13922
|
* @private
|
|
13561
13923
|
* @method handleTriggerContentSlotChange
|
|
13562
|
-
* @param {Event} event -
|
|
13924
|
+
* @param {Event} event - Native slotchange event.
|
|
13563
13925
|
* @returns {void}
|
|
13564
13926
|
*/
|
|
13565
13927
|
handleTriggerContentSlotChange(event) {
|
|
13566
13928
|
this.floater.handleTriggerTabIndex();
|
|
13567
13929
|
|
|
13930
|
+
const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
|
|
13931
|
+
|
|
13932
|
+
triggerContentNodes.forEach((node) => {
|
|
13933
|
+
if (!this.triggerContentFocusable) {
|
|
13934
|
+
this.triggerContentFocusable = this.containsFocusableElement(node);
|
|
13935
|
+
}
|
|
13936
|
+
});
|
|
13937
|
+
|
|
13938
|
+
const trigger = this.shadowRoot.querySelector('#trigger');
|
|
13939
|
+
|
|
13940
|
+
if (!this.triggerContentFocusable) {
|
|
13941
|
+
trigger.setAttribute('tabindex', '0');
|
|
13942
|
+
trigger.setAttribute('role', 'button');
|
|
13943
|
+
} else {
|
|
13944
|
+
trigger.removeAttribute('tabindex');
|
|
13945
|
+
trigger.removeAttribute('role');
|
|
13946
|
+
}
|
|
13947
|
+
|
|
13568
13948
|
if (event) {
|
|
13569
13949
|
this.triggerNode = event.target;
|
|
13570
13950
|
this.triggerContentSlot = event.target.assignedNodes();
|
|
@@ -13609,16 +13989,15 @@ class AuroDropdown extends r$5 {
|
|
|
13609
13989
|
|
|
13610
13990
|
// function that renders the HTML and CSS into the scope of the component
|
|
13611
13991
|
render() {
|
|
13612
|
-
return u$
|
|
13992
|
+
return u$3$1`
|
|
13613
13993
|
<div>
|
|
13614
13994
|
<div
|
|
13615
13995
|
id="trigger"
|
|
13616
13996
|
class="trigger"
|
|
13617
13997
|
part="trigger"
|
|
13618
|
-
role="button"
|
|
13619
13998
|
aria-labelledby="triggerLabel"
|
|
13620
|
-
aria-controls="popover"
|
|
13621
13999
|
tabindex="${this.tabIndex}"
|
|
14000
|
+
?showBorder="${this.showTriggerBorders}"
|
|
13622
14001
|
>
|
|
13623
14002
|
<div class="triggerContentWrapper">
|
|
13624
14003
|
<label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
|
|
@@ -13627,10 +14006,10 @@ class AuroDropdown extends r$5 {
|
|
|
13627
14006
|
<div class="triggerContent">
|
|
13628
14007
|
<slot
|
|
13629
14008
|
name="trigger"
|
|
13630
|
-
@slotchange="${
|
|
14009
|
+
@slotchange="${this.handleTriggerContentSlotChange}"></slot>
|
|
13631
14010
|
</div>
|
|
13632
14011
|
</div>
|
|
13633
|
-
${this.chevron || this.common ? u$
|
|
14012
|
+
${this.chevron || this.common ? u$3$1`
|
|
13634
14013
|
<div
|
|
13635
14014
|
id="showStateIcon"
|
|
13636
14015
|
part="chevron">
|
|
@@ -13644,11 +14023,9 @@ class AuroDropdown extends r$5 {
|
|
|
13644
14023
|
</div>
|
|
13645
14024
|
` : undefined }
|
|
13646
14025
|
</div>
|
|
13647
|
-
<
|
|
13648
|
-
class="helpText"
|
|
13649
|
-
part="helpText">
|
|
14026
|
+
<auro-helptext part="helpText" ?error="${this.error}">
|
|
13650
14027
|
<slot name="helpText"></slot>
|
|
13651
|
-
</
|
|
14028
|
+
</auro-helptext>
|
|
13652
14029
|
<div class="slotContent">
|
|
13653
14030
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
13654
14031
|
</div>
|
|
@@ -13674,46 +14051,46 @@ var dropdownVersion = '3.0.0';
|
|
|
13674
14051
|
* Copyright 2017 Google LLC
|
|
13675
14052
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13676
14053
|
*/
|
|
13677
|
-
const t$
|
|
14054
|
+
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};
|
|
13678
14055
|
|
|
13679
14056
|
/**
|
|
13680
14057
|
* @license
|
|
13681
14058
|
* Copyright 2020 Google LLC
|
|
13682
14059
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13683
14060
|
*/
|
|
13684
|
-
const a$
|
|
14061
|
+
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);
|
|
13685
14062
|
|
|
13686
14063
|
/**
|
|
13687
14064
|
* @license
|
|
13688
14065
|
* Copyright 2017 Google LLC
|
|
13689
14066
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13690
14067
|
*/
|
|
13691
|
-
const t$
|
|
14068
|
+
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)}};
|
|
13692
14069
|
|
|
13693
14070
|
/**
|
|
13694
14071
|
* @license
|
|
13695
14072
|
* Copyright 2020 Google LLC
|
|
13696
14073
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13697
|
-
*/const {I:t$
|
|
14074
|
+
*/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;}};
|
|
13698
14075
|
|
|
13699
14076
|
/**
|
|
13700
14077
|
* @license
|
|
13701
14078
|
* Copyright 2017 Google LLC
|
|
13702
14079
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13703
14080
|
*/
|
|
13704
|
-
const u$
|
|
14081
|
+
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}});
|
|
13705
14082
|
|
|
13706
14083
|
/**
|
|
13707
14084
|
* @license
|
|
13708
14085
|
* Copyright 2018 Google LLC
|
|
13709
14086
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13710
|
-
*/const e$
|
|
14087
|
+
*/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}});
|
|
13711
14088
|
|
|
13712
14089
|
/**
|
|
13713
14090
|
* @license
|
|
13714
14091
|
* Copyright 2018 Google LLC
|
|
13715
14092
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13716
|
-
*/const o$
|
|
14093
|
+
*/const o$5=o=>o??E$1;
|
|
13717
14094
|
|
|
13718
14095
|
const watchedItems = new Set();
|
|
13719
14096
|
|
|
@@ -13823,25 +14200,25 @@ function stopNotifyingOnLangChange(element) {
|
|
|
13823
14200
|
* Copyright 2019 Google LLC
|
|
13824
14201
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13825
14202
|
*/
|
|
13826
|
-
const t=globalThis,e$
|
|
14203
|
+
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;
|
|
13827
14204
|
|
|
13828
14205
|
/**
|
|
13829
14206
|
* @license
|
|
13830
14207
|
* Copyright 2017 Google LLC
|
|
13831
14208
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13832
|
-
*/const{is:i$
|
|
14209
|
+
*/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");
|
|
13833
14210
|
|
|
13834
14211
|
/**
|
|
13835
14212
|
* @license
|
|
13836
14213
|
* Copyright 2017 Google LLC
|
|
13837
14214
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13838
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
14215
|
+
*/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");
|
|
13839
14216
|
|
|
13840
|
-
var styleCss$
|
|
14217
|
+
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)}`;
|
|
13841
14218
|
|
|
13842
|
-
var colorCss$
|
|
14219
|
+
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)}`;
|
|
13843
14220
|
|
|
13844
|
-
var tokensCss$
|
|
14221
|
+
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)}`;
|
|
13845
14222
|
|
|
13846
14223
|
var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
13847
14224
|
|
|
@@ -15407,7 +15784,7 @@ var Cleave_1 = Cleave;
|
|
|
15407
15784
|
|
|
15408
15785
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
15409
15786
|
|
|
15410
|
-
class AuroLibraryRuntimeUtils {
|
|
15787
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
15411
15788
|
|
|
15412
15789
|
/* eslint-disable jsdoc/require-param */
|
|
15413
15790
|
|
|
@@ -15468,7 +15845,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
15468
15845
|
|
|
15469
15846
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
15470
15847
|
}
|
|
15471
|
-
}
|
|
15848
|
+
};
|
|
15472
15849
|
|
|
15473
15850
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
15474
15851
|
// See LICENSE in the project root for license information.
|
|
@@ -15476,7 +15853,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
15476
15853
|
|
|
15477
15854
|
class AuroFormValidation {
|
|
15478
15855
|
constructor() {
|
|
15479
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
15856
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
15480
15857
|
}
|
|
15481
15858
|
|
|
15482
15859
|
/**
|
|
@@ -15504,30 +15881,87 @@ class AuroFormValidation {
|
|
|
15504
15881
|
}
|
|
15505
15882
|
|
|
15506
15883
|
/**
|
|
15507
|
-
*
|
|
15508
|
-
*
|
|
15509
|
-
* @param {
|
|
15884
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
15885
|
+
*
|
|
15886
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
15510
15887
|
* @returns {void}
|
|
15888
|
+
*
|
|
15889
|
+
* @example
|
|
15890
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
15891
|
+
* validateElementAttributes(inputElement);
|
|
15892
|
+
*
|
|
15893
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
15894
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
15895
|
+
*
|
|
15896
|
+
* Validation rules:
|
|
15897
|
+
* - input:
|
|
15898
|
+
* - length:
|
|
15899
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
15900
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
15901
|
+
* - pattern:
|
|
15902
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
15903
|
+
* - counter:
|
|
15904
|
+
* - range:
|
|
15905
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
15906
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
15511
15907
|
*/
|
|
15512
|
-
|
|
15513
|
-
|
|
15514
|
-
|
|
15515
|
-
|
|
15516
|
-
|
|
15517
|
-
|
|
15518
|
-
|
|
15908
|
+
validateElementAttributes(elem) {
|
|
15909
|
+
const validationRules = {
|
|
15910
|
+
input: {
|
|
15911
|
+
length: [
|
|
15912
|
+
{
|
|
15913
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
15914
|
+
validity: 'tooShort',
|
|
15915
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
15916
|
+
},
|
|
15917
|
+
{
|
|
15918
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
15919
|
+
validity: 'tooLong',
|
|
15920
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
15921
|
+
}
|
|
15922
|
+
],
|
|
15923
|
+
pattern: [
|
|
15924
|
+
{
|
|
15925
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
15926
|
+
validity: 'patternMismatch',
|
|
15927
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
15928
|
+
}
|
|
15929
|
+
]
|
|
15930
|
+
},
|
|
15931
|
+
counter: {
|
|
15932
|
+
range: [
|
|
15933
|
+
{
|
|
15934
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
15935
|
+
validity: 'rangeOverflow',
|
|
15936
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
15937
|
+
},
|
|
15938
|
+
{
|
|
15939
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
15940
|
+
validity: 'rangeUnderflow',
|
|
15941
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
15942
|
+
}
|
|
15943
|
+
]
|
|
15519
15944
|
}
|
|
15945
|
+
};
|
|
15946
|
+
|
|
15947
|
+
let elementType;
|
|
15948
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15949
|
+
elementType = 'input';
|
|
15950
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15951
|
+
elementType = 'counter';
|
|
15520
15952
|
}
|
|
15521
|
-
|
|
15522
|
-
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
15523
|
-
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
15524
|
-
elem.validity = 'tooShort';
|
|
15525
|
-
elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
|
|
15526
|
-
}
|
|
15527
15953
|
|
|
15528
|
-
if (
|
|
15529
|
-
|
|
15530
|
-
|
|
15954
|
+
if (elementType) {
|
|
15955
|
+
const rules = validationRules[elementType];
|
|
15956
|
+
|
|
15957
|
+
if (rules) {
|
|
15958
|
+
Object.values(rules).flat().forEach(rule => {
|
|
15959
|
+
if (rule.check(elem)) {
|
|
15960
|
+
elem.validity = rule.validity;
|
|
15961
|
+
elem.errorMessage = rule.message(elem);
|
|
15962
|
+
}
|
|
15963
|
+
});
|
|
15964
|
+
}
|
|
15531
15965
|
}
|
|
15532
15966
|
}
|
|
15533
15967
|
|
|
@@ -15637,7 +16071,9 @@ class AuroFormValidation {
|
|
|
15637
16071
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
15638
16072
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15639
16073
|
this.validateType(elem);
|
|
15640
|
-
this.
|
|
16074
|
+
this.validateElementAttributes(elem);
|
|
16075
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
16076
|
+
this.validateElementAttributes(elem);
|
|
15641
16077
|
}
|
|
15642
16078
|
}
|
|
15643
16079
|
|
|
@@ -15747,7 +16183,7 @@ class AuroFormValidation {
|
|
|
15747
16183
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
15748
16184
|
*/
|
|
15749
16185
|
|
|
15750
|
-
class BaseInput extends r {
|
|
16186
|
+
class BaseInput extends r$4 {
|
|
15751
16187
|
|
|
15752
16188
|
constructor() {
|
|
15753
16189
|
super();
|
|
@@ -16089,9 +16525,9 @@ class BaseInput extends r {
|
|
|
16089
16525
|
|
|
16090
16526
|
static get styles() {
|
|
16091
16527
|
return [
|
|
16092
|
-
i$
|
|
16093
|
-
i$
|
|
16094
|
-
i$
|
|
16528
|
+
i$6`${colorCss$4}`,
|
|
16529
|
+
i$6`${styleCss$4}`,
|
|
16530
|
+
i$6`${tokensCss$4}`
|
|
16095
16531
|
];
|
|
16096
16532
|
}
|
|
16097
16533
|
|
|
@@ -16360,7 +16796,7 @@ class BaseInput extends r {
|
|
|
16360
16796
|
}
|
|
16361
16797
|
|
|
16362
16798
|
if (changedProperties.has('error')) {
|
|
16363
|
-
this.
|
|
16799
|
+
this.validate(true);
|
|
16364
16800
|
}
|
|
16365
16801
|
|
|
16366
16802
|
if (changedProperties.has('validity')) {
|
|
@@ -16552,11 +16988,11 @@ class BaseInput extends r {
|
|
|
16552
16988
|
}
|
|
16553
16989
|
|
|
16554
16990
|
/**
|
|
16555
|
-
*
|
|
16556
|
-
* @
|
|
16991
|
+
* Validates value.
|
|
16992
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
16557
16993
|
*/
|
|
16558
|
-
validate() {
|
|
16559
|
-
this.validation.validate(this);
|
|
16994
|
+
validate(force = false) {
|
|
16995
|
+
this.validation.validate(this, force);
|
|
16560
16996
|
}
|
|
16561
16997
|
|
|
16562
16998
|
/**
|
|
@@ -16664,7 +17100,7 @@ class BaseInput extends r {
|
|
|
16664
17100
|
return !this.placeholder ? 'MM' : this.placeholder;
|
|
16665
17101
|
}
|
|
16666
17102
|
|
|
16667
|
-
return o$
|
|
17103
|
+
return o$5(this.placeholder);
|
|
16668
17104
|
}
|
|
16669
17105
|
|
|
16670
17106
|
/**
|
|
@@ -16841,7 +17277,7 @@ class AuroDependencyVersioning {
|
|
|
16841
17277
|
*/
|
|
16842
17278
|
generateTag(baseName, version, tagClass) {
|
|
16843
17279
|
const elementName = this.generateElementName(baseName, version);
|
|
16844
|
-
const tag = i$
|
|
17280
|
+
const tag = i$8`${s$4(elementName)}`;
|
|
16845
17281
|
|
|
16846
17282
|
if (!customElements.get(elementName)) {
|
|
16847
17283
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -16861,7 +17297,7 @@ class AuroDependencyVersioning {
|
|
|
16861
17297
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
16862
17298
|
*/
|
|
16863
17299
|
|
|
16864
|
-
class AuroElement extends r {
|
|
17300
|
+
class AuroElement extends r$4 {
|
|
16865
17301
|
|
|
16866
17302
|
// function to define props used within the scope of this component
|
|
16867
17303
|
static get properties() {
|
|
@@ -16917,7 +17353,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
16917
17353
|
return _fetchMap.get(uri);
|
|
16918
17354
|
};
|
|
16919
17355
|
|
|
16920
|
-
var styleCss$
|
|
17356
|
+
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}`;
|
|
16921
17357
|
|
|
16922
17358
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
16923
17359
|
// See LICENSE in the project root for license information.
|
|
@@ -16956,8 +17392,8 @@ class BaseIcon extends AuroElement {
|
|
|
16956
17392
|
}
|
|
16957
17393
|
|
|
16958
17394
|
static get styles() {
|
|
16959
|
-
return i$
|
|
16960
|
-
${styleCss$
|
|
17395
|
+
return i$6`
|
|
17396
|
+
${styleCss$3}
|
|
16961
17397
|
`;
|
|
16962
17398
|
}
|
|
16963
17399
|
|
|
@@ -16998,9 +17434,9 @@ class BaseIcon extends AuroElement {
|
|
|
16998
17434
|
}
|
|
16999
17435
|
}
|
|
17000
17436
|
|
|
17001
|
-
var tokensCss$
|
|
17437
|
+
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)}`;
|
|
17002
17438
|
|
|
17003
|
-
var colorCss$
|
|
17439
|
+
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)}`;
|
|
17004
17440
|
|
|
17005
17441
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
17006
17442
|
// See LICENSE in the project root for license information.
|
|
@@ -17062,7 +17498,7 @@ class AuroIcon extends BaseIcon {
|
|
|
17062
17498
|
this.success = false;
|
|
17063
17499
|
this.tertiary = false;
|
|
17064
17500
|
this.warning = false;
|
|
17065
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
17501
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
17066
17502
|
}
|
|
17067
17503
|
|
|
17068
17504
|
// function to define props used within the scope of this component
|
|
@@ -17144,9 +17580,9 @@ class AuroIcon extends BaseIcon {
|
|
|
17144
17580
|
static get styles() {
|
|
17145
17581
|
return [
|
|
17146
17582
|
super.styles,
|
|
17147
|
-
i$
|
|
17148
|
-
i$
|
|
17149
|
-
i$
|
|
17583
|
+
i$6`${tokensCss$3}`,
|
|
17584
|
+
i$6`${styleCss$3}`,
|
|
17585
|
+
i$6`${colorCss$3}`
|
|
17150
17586
|
];
|
|
17151
17587
|
}
|
|
17152
17588
|
|
|
@@ -17159,7 +17595,7 @@ class AuroIcon extends BaseIcon {
|
|
|
17159
17595
|
*
|
|
17160
17596
|
*/
|
|
17161
17597
|
static register(name = "auro-icon") {
|
|
17162
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
17598
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
17163
17599
|
}
|
|
17164
17600
|
|
|
17165
17601
|
connectedCallback() {
|
|
@@ -17188,20 +17624,20 @@ class AuroIcon extends BaseIcon {
|
|
|
17188
17624
|
'wrapper': true,
|
|
17189
17625
|
};
|
|
17190
17626
|
|
|
17191
|
-
return x`
|
|
17627
|
+
return x$1`
|
|
17192
17628
|
<div
|
|
17193
|
-
class="${e$
|
|
17194
|
-
title="${o$
|
|
17195
|
-
<span aria-hidden="${o$
|
|
17196
|
-
${this.customSvg ? x`
|
|
17629
|
+
class="${e$5(classes)}"
|
|
17630
|
+
title="${o$5(this.title || undefined)}">
|
|
17631
|
+
<span aria-hidden="${o$5(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
17632
|
+
${this.customSvg ? x$1`
|
|
17197
17633
|
<slot name="svg"></slot>
|
|
17198
|
-
` : x`
|
|
17634
|
+
` : x$1`
|
|
17199
17635
|
${this.svg}
|
|
17200
17636
|
`
|
|
17201
17637
|
}
|
|
17202
17638
|
</span>
|
|
17203
17639
|
|
|
17204
|
-
<div class="${e$
|
|
17640
|
+
<div class="${e$5(a11y)}">
|
|
17205
17641
|
<slot></slot>
|
|
17206
17642
|
</div>
|
|
17207
17643
|
</div>
|
|
@@ -17211,17 +17647,17 @@ class AuroIcon extends BaseIcon {
|
|
|
17211
17647
|
|
|
17212
17648
|
var iconVersion = '6.1.2';
|
|
17213
17649
|
|
|
17214
|
-
var styleCss$
|
|
17650
|
+
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}`;
|
|
17215
17651
|
|
|
17216
|
-
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}`;
|
|
17652
|
+
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}`;
|
|
17217
17653
|
|
|
17218
|
-
var tokensCss$
|
|
17654
|
+
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}`;
|
|
17219
17655
|
|
|
17220
|
-
var styleCss = i$
|
|
17656
|
+
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}}`;
|
|
17221
17657
|
|
|
17222
|
-
var colorCss = i$
|
|
17658
|
+
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}`;
|
|
17223
17659
|
|
|
17224
|
-
var tokensCss = i$
|
|
17660
|
+
var tokensCss$1 = i$6`:host{--ds-auro-loader-background-color: currentcolor;--ds-auro-loader-border-color: currentcolor;--ds-auro-loader-color: currentcolor}`;
|
|
17225
17661
|
|
|
17226
17662
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
17227
17663
|
// See LICENSE in the project root for license information.
|
|
@@ -17246,7 +17682,7 @@ var tokensCss = i$2`:host{--ds-auro-loader-background-color: currentcolor;--ds-a
|
|
|
17246
17682
|
*/
|
|
17247
17683
|
|
|
17248
17684
|
// build the component class
|
|
17249
|
-
class AuroLoader extends r {
|
|
17685
|
+
class AuroLoader extends r$4 {
|
|
17250
17686
|
constructor() {
|
|
17251
17687
|
super();
|
|
17252
17688
|
|
|
@@ -17268,7 +17704,7 @@ class AuroLoader extends r {
|
|
|
17268
17704
|
/**
|
|
17269
17705
|
* @private
|
|
17270
17706
|
*/
|
|
17271
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
17707
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
17272
17708
|
|
|
17273
17709
|
this.orbit = false;
|
|
17274
17710
|
this.ringworm = false;
|
|
@@ -17300,9 +17736,9 @@ class AuroLoader extends r {
|
|
|
17300
17736
|
|
|
17301
17737
|
static get styles() {
|
|
17302
17738
|
return [
|
|
17303
|
-
i$
|
|
17304
|
-
i$
|
|
17305
|
-
i$
|
|
17739
|
+
i$6`${styleCss$1}`,
|
|
17740
|
+
i$6`${colorCss$1}`,
|
|
17741
|
+
i$6`${tokensCss$1}`
|
|
17306
17742
|
];
|
|
17307
17743
|
}
|
|
17308
17744
|
|
|
@@ -17315,7 +17751,7 @@ class AuroLoader extends r {
|
|
|
17315
17751
|
*
|
|
17316
17752
|
*/
|
|
17317
17753
|
static register(name = "auro-loader") {
|
|
17318
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroLoader);
|
|
17754
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
|
|
17319
17755
|
}
|
|
17320
17756
|
|
|
17321
17757
|
firstUpdated() {
|
|
@@ -17348,14 +17784,14 @@ class AuroLoader extends r {
|
|
|
17348
17784
|
|
|
17349
17785
|
// function that renders the HTML and CSS into the scope of the component
|
|
17350
17786
|
render() {
|
|
17351
|
-
return x`
|
|
17352
|
-
${this.defineTemplate().map((idx) => x`
|
|
17787
|
+
return x$1`
|
|
17788
|
+
${this.defineTemplate().map((idx) => x$1`
|
|
17353
17789
|
<span part="element" class="loader node-${idx}"></span>
|
|
17354
17790
|
`)}
|
|
17355
17791
|
|
|
17356
17792
|
<div class="no-animation">Loading...</div>
|
|
17357
17793
|
|
|
17358
|
-
${this.ringworm ? x`
|
|
17794
|
+
${this.ringworm ? x$1`
|
|
17359
17795
|
<svg part="element" class="circular" viewBox="25 25 50 50">
|
|
17360
17796
|
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
|
|
17361
17797
|
</svg>`
|
|
@@ -17401,7 +17837,7 @@ var loaderVersion = '3.1.1';
|
|
|
17401
17837
|
|
|
17402
17838
|
/* eslint-disable lit/no-invalid-html, lit/binding-positions */
|
|
17403
17839
|
|
|
17404
|
-
class AuroButton extends r {
|
|
17840
|
+
class AuroButton extends r$4 {
|
|
17405
17841
|
|
|
17406
17842
|
constructor() {
|
|
17407
17843
|
super();
|
|
@@ -17430,9 +17866,9 @@ class AuroButton extends r {
|
|
|
17430
17866
|
|
|
17431
17867
|
static get styles() {
|
|
17432
17868
|
return [
|
|
17433
|
-
tokensCss$
|
|
17434
|
-
styleCss$
|
|
17435
|
-
colorCss$
|
|
17869
|
+
tokensCss$2,
|
|
17870
|
+
styleCss$2,
|
|
17871
|
+
colorCss$2
|
|
17436
17872
|
];
|
|
17437
17873
|
}
|
|
17438
17874
|
|
|
@@ -17515,7 +17951,7 @@ class AuroButton extends r {
|
|
|
17515
17951
|
*
|
|
17516
17952
|
*/
|
|
17517
17953
|
static register(name = "auro-button") {
|
|
17518
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroButton);
|
|
17954
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
|
|
17519
17955
|
}
|
|
17520
17956
|
|
|
17521
17957
|
/**
|
|
@@ -17569,27 +18005,27 @@ class AuroButton extends r {
|
|
|
17569
18005
|
'loading': this.loading
|
|
17570
18006
|
};
|
|
17571
18007
|
|
|
17572
|
-
return u$
|
|
18008
|
+
return u$5`
|
|
17573
18009
|
<button
|
|
17574
18010
|
part="button"
|
|
17575
|
-
aria-label="${o$
|
|
17576
|
-
aria-labelledby="${o$
|
|
18011
|
+
aria-label="${o$5(this.arialabel ? this.arialabel : undefined)}"
|
|
18012
|
+
aria-labelledby="${o$5(this.arialabelledby ? this.arialabelledby : undefined)}"
|
|
17577
18013
|
?autofocus="${this.autofocus}"
|
|
17578
|
-
class="${e$
|
|
18014
|
+
class="${e$5(classes)}"
|
|
17579
18015
|
?disabled="${this.disabled || this.loading}"
|
|
17580
18016
|
?onDark="${this.onDark}"
|
|
17581
|
-
title="${o$
|
|
17582
|
-
name="${o$
|
|
17583
|
-
type="${o$
|
|
17584
|
-
variant="${o$
|
|
17585
|
-
.value="${o$
|
|
18017
|
+
title="${o$5(this.title ? this.title : undefined)}"
|
|
18018
|
+
name="${o$5(this.name ? this.name : undefined)}"
|
|
18019
|
+
type="${o$5(this.type ? this.type : undefined)}"
|
|
18020
|
+
variant="${o$5(this.variant ? this.variant : undefined)}"
|
|
18021
|
+
.value="${o$5(this.value ? this.value : undefined)}"
|
|
17586
18022
|
@click="${() => {}}"
|
|
17587
18023
|
>
|
|
17588
|
-
${o$
|
|
18024
|
+
${o$5(this.loading ? u$5`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
17589
18025
|
|
|
17590
18026
|
<span class="contentWrapper">
|
|
17591
18027
|
<span class="textSlot" part="text">
|
|
17592
|
-
${this.iconOnly ? undefined : u$
|
|
18028
|
+
${this.iconOnly ? undefined : u$5`<slot></slot>`}
|
|
17593
18029
|
</span>
|
|
17594
18030
|
|
|
17595
18031
|
<span part="icon">
|
|
@@ -17603,6 +18039,229 @@ class AuroButton extends r {
|
|
|
17603
18039
|
|
|
17604
18040
|
var buttonVersion = '8.2.2';
|
|
17605
18041
|
|
|
18042
|
+
/**
|
|
18043
|
+
* @license
|
|
18044
|
+
* Copyright 2019 Google LLC
|
|
18045
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18046
|
+
*/
|
|
18047
|
+
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;
|
|
18048
|
+
|
|
18049
|
+
/**
|
|
18050
|
+
* @license
|
|
18051
|
+
* Copyright 2017 Google LLC
|
|
18052
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18053
|
+
*/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");
|
|
18054
|
+
|
|
18055
|
+
/**
|
|
18056
|
+
* @license
|
|
18057
|
+
* Copyright 2017 Google LLC
|
|
18058
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18059
|
+
*/
|
|
18060
|
+
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};
|
|
18061
|
+
|
|
18062
|
+
/**
|
|
18063
|
+
* @license
|
|
18064
|
+
* Copyright 2017 Google LLC
|
|
18065
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18066
|
+
*/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");
|
|
18067
|
+
|
|
18068
|
+
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)}`;
|
|
18069
|
+
|
|
18070
|
+
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}`;
|
|
18071
|
+
|
|
18072
|
+
var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
18073
|
+
|
|
18074
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
18075
|
+
// See LICENSE in the project root for license information.
|
|
18076
|
+
|
|
18077
|
+
// ---------------------------------------------------------------------
|
|
18078
|
+
|
|
18079
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
18080
|
+
|
|
18081
|
+
class AuroLibraryRuntimeUtils {
|
|
18082
|
+
|
|
18083
|
+
/* eslint-disable jsdoc/require-param */
|
|
18084
|
+
|
|
18085
|
+
/**
|
|
18086
|
+
* This will register a new custom element with the browser.
|
|
18087
|
+
* @param {String} name - The name of the custom element.
|
|
18088
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
18089
|
+
* @returns {void}
|
|
18090
|
+
*/
|
|
18091
|
+
registerComponent(name, componentClass) {
|
|
18092
|
+
if (!customElements.get(name)) {
|
|
18093
|
+
customElements.define(name, class extends componentClass {});
|
|
18094
|
+
}
|
|
18095
|
+
}
|
|
18096
|
+
|
|
18097
|
+
/**
|
|
18098
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
18099
|
+
* @returns {void}
|
|
18100
|
+
*/
|
|
18101
|
+
closestElement(
|
|
18102
|
+
selector, // selector like in .closest()
|
|
18103
|
+
base = this, // extra functionality to skip a parent
|
|
18104
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
18105
|
+
!el || el === document || el === window
|
|
18106
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
18107
|
+
: found
|
|
18108
|
+
? found // found a selector INside this element
|
|
18109
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
18110
|
+
) {
|
|
18111
|
+
return __Closest(base);
|
|
18112
|
+
}
|
|
18113
|
+
/* eslint-enable jsdoc/require-param */
|
|
18114
|
+
|
|
18115
|
+
/**
|
|
18116
|
+
* 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.
|
|
18117
|
+
* @param {Object} elem - The element to check.
|
|
18118
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
18119
|
+
* @returns {void}
|
|
18120
|
+
*/
|
|
18121
|
+
handleComponentTagRename(elem, tagName) {
|
|
18122
|
+
const tag = tagName.toLowerCase();
|
|
18123
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
18124
|
+
|
|
18125
|
+
if (elemTag !== tag) {
|
|
18126
|
+
elem.setAttribute(tag, true);
|
|
18127
|
+
}
|
|
18128
|
+
}
|
|
18129
|
+
|
|
18130
|
+
/**
|
|
18131
|
+
* Validates if an element is a specific Auro component.
|
|
18132
|
+
* @param {Object} elem - The element to validate.
|
|
18133
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
18134
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
18135
|
+
*/
|
|
18136
|
+
elementMatch(elem, tagName) {
|
|
18137
|
+
const tag = tagName.toLowerCase();
|
|
18138
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
18139
|
+
|
|
18140
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
18141
|
+
}
|
|
18142
|
+
}
|
|
18143
|
+
|
|
18144
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18145
|
+
// See LICENSE in the project root for license information.
|
|
18146
|
+
|
|
18147
|
+
|
|
18148
|
+
/**
|
|
18149
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
18150
|
+
*
|
|
18151
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
18152
|
+
*/
|
|
18153
|
+
class AuroHelpText extends r {
|
|
18154
|
+
|
|
18155
|
+
constructor() {
|
|
18156
|
+
super();
|
|
18157
|
+
|
|
18158
|
+
this.error = false;
|
|
18159
|
+
this.hasTextContent = false;
|
|
18160
|
+
}
|
|
18161
|
+
|
|
18162
|
+
static get styles() {
|
|
18163
|
+
return [
|
|
18164
|
+
colorCss,
|
|
18165
|
+
styleCss,
|
|
18166
|
+
tokensCss
|
|
18167
|
+
];
|
|
18168
|
+
}
|
|
18169
|
+
|
|
18170
|
+
// function to define props used within the scope of this component
|
|
18171
|
+
static get properties() {
|
|
18172
|
+
return {
|
|
18173
|
+
|
|
18174
|
+
/**
|
|
18175
|
+
* @private
|
|
18176
|
+
*/
|
|
18177
|
+
slotNodes: {
|
|
18178
|
+
type: Boolean,
|
|
18179
|
+
},
|
|
18180
|
+
|
|
18181
|
+
/**
|
|
18182
|
+
* @private
|
|
18183
|
+
*/
|
|
18184
|
+
hasTextContent: {
|
|
18185
|
+
type: Boolean,
|
|
18186
|
+
},
|
|
18187
|
+
|
|
18188
|
+
/**
|
|
18189
|
+
* If declared, make font color red.
|
|
18190
|
+
*/
|
|
18191
|
+
error: {
|
|
18192
|
+
type: Boolean,
|
|
18193
|
+
reflect: true,
|
|
18194
|
+
},
|
|
18195
|
+
};
|
|
18196
|
+
}
|
|
18197
|
+
|
|
18198
|
+
/**
|
|
18199
|
+
* This will register this element with the browser.
|
|
18200
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
18201
|
+
*
|
|
18202
|
+
* @example
|
|
18203
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
18204
|
+
*
|
|
18205
|
+
*/
|
|
18206
|
+
static register(name = "auro-helptext") {
|
|
18207
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
|
|
18208
|
+
}
|
|
18209
|
+
|
|
18210
|
+
updated() {
|
|
18211
|
+
this.handleSlotChange();
|
|
18212
|
+
}
|
|
18213
|
+
|
|
18214
|
+
handleSlotChange(event) {
|
|
18215
|
+
if (event) {
|
|
18216
|
+
this.slotNodes = event.target.assignedNodes();
|
|
18217
|
+
}
|
|
18218
|
+
|
|
18219
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
18220
|
+
}
|
|
18221
|
+
|
|
18222
|
+
/**
|
|
18223
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
18224
|
+
*
|
|
18225
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
18226
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
18227
|
+
* @private
|
|
18228
|
+
*/
|
|
18229
|
+
checkSlotsForContent(nodes) {
|
|
18230
|
+
if (!nodes) {
|
|
18231
|
+
return false;
|
|
18232
|
+
}
|
|
18233
|
+
|
|
18234
|
+
return nodes.some((node) => {
|
|
18235
|
+
if (node.textContent.trim()) {
|
|
18236
|
+
return true;
|
|
18237
|
+
}
|
|
18238
|
+
|
|
18239
|
+
if (!node.querySelector) {
|
|
18240
|
+
return false;
|
|
18241
|
+
}
|
|
18242
|
+
|
|
18243
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
18244
|
+
if (!nestedSlot) {
|
|
18245
|
+
return false;
|
|
18246
|
+
}
|
|
18247
|
+
|
|
18248
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
18249
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
18250
|
+
});
|
|
18251
|
+
}
|
|
18252
|
+
|
|
18253
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
18254
|
+
render() {
|
|
18255
|
+
return x`
|
|
18256
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
18257
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
18258
|
+
</div>
|
|
18259
|
+
`;
|
|
18260
|
+
}
|
|
18261
|
+
}
|
|
18262
|
+
|
|
18263
|
+
AuroHelpText.register();
|
|
18264
|
+
|
|
17606
18265
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
17607
18266
|
// See LICENSE in the project root for license information.
|
|
17608
18267
|
|
|
@@ -17637,7 +18296,7 @@ class AuroInput extends BaseInput {
|
|
|
17637
18296
|
*
|
|
17638
18297
|
*/
|
|
17639
18298
|
static register(name = "auro-input") {
|
|
17640
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroInput);
|
|
18299
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
|
|
17641
18300
|
}
|
|
17642
18301
|
|
|
17643
18302
|
/**
|
|
@@ -17690,7 +18349,7 @@ class AuroInput extends BaseInput {
|
|
|
17690
18349
|
'withValue': this.value && this.value.length > 0
|
|
17691
18350
|
};
|
|
17692
18351
|
|
|
17693
|
-
return u$
|
|
18352
|
+
return u$5`
|
|
17694
18353
|
<div class="wrapper" part="wrapper">
|
|
17695
18354
|
<div class="main">
|
|
17696
18355
|
<div class="typeIcon">
|
|
@@ -17699,7 +18358,7 @@ class AuroInput extends BaseInput {
|
|
|
17699
18358
|
<!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
|
|
17700
18359
|
This should be cleaned up when auro-icon issue #31 is resolved. -->
|
|
17701
18360
|
${this.inputIconName
|
|
17702
|
-
? c$
|
|
18361
|
+
? c$5([this.inputIconName], (val) => val, (name) => u$5`
|
|
17703
18362
|
<${this.iconTag}
|
|
17704
18363
|
class="accentIcon"
|
|
17705
18364
|
category="payment"
|
|
@@ -17711,7 +18370,7 @@ class AuroInput extends BaseInput {
|
|
|
17711
18370
|
}
|
|
17712
18371
|
|
|
17713
18372
|
${this.isDateType()
|
|
17714
|
-
? u$
|
|
18373
|
+
? u$5`
|
|
17715
18374
|
<${this.iconTag}
|
|
17716
18375
|
class="accentIcon"
|
|
17717
18376
|
category="interface"
|
|
@@ -17722,7 +18381,7 @@ class AuroInput extends BaseInput {
|
|
|
17722
18381
|
: undefined
|
|
17723
18382
|
}
|
|
17724
18383
|
</div>
|
|
17725
|
-
<label for=${this.id} class="${e$
|
|
18384
|
+
<label for=${this.id} class="${e$5(labelClasses)}" part="label">
|
|
17726
18385
|
<slot name="label">
|
|
17727
18386
|
${this.label}
|
|
17728
18387
|
</slot>
|
|
@@ -17733,23 +18392,23 @@ class AuroInput extends BaseInput {
|
|
|
17733
18392
|
@focusin="${this.handleFocusin}"
|
|
17734
18393
|
@blur="${this.handleBlur}"
|
|
17735
18394
|
id="${this.id}"
|
|
17736
|
-
name="${o$
|
|
18395
|
+
name="${o$5(this.name)}"
|
|
17737
18396
|
type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}"
|
|
17738
|
-
pattern="${o$
|
|
17739
|
-
maxlength="${o$
|
|
17740
|
-
minlength="${o$
|
|
17741
|
-
inputMode="${o$
|
|
18397
|
+
pattern="${o$5(this.definePattern())}"
|
|
18398
|
+
maxlength="${o$5(this.maxLength ? this.maxLength : undefined)}"
|
|
18399
|
+
minlength="${o$5(this.minLength ? this.minLength : undefined)}"
|
|
18400
|
+
inputMode="${o$5(this.inputMode ? this.inputMode : undefined)}"
|
|
17742
18401
|
?required="${this.required}"
|
|
17743
18402
|
?disabled="${this.disabled}"
|
|
17744
18403
|
aria-describedby="${this.uniqueId}"
|
|
17745
18404
|
aria-invalid="${this.validity !== 'valid'}"
|
|
17746
18405
|
placeholder=${this.getPlaceholder()}
|
|
17747
|
-
lang="${o$
|
|
18406
|
+
lang="${o$5(this.lang)}"
|
|
17748
18407
|
?activeLabel="${this.activeLabel}"
|
|
17749
|
-
spellcheck="${o$
|
|
17750
|
-
autocorrect="${o$
|
|
17751
|
-
autocapitalize="${o$
|
|
17752
|
-
autocomplete="${o$
|
|
18408
|
+
spellcheck="${o$5(this.spellcheck ? this.spellcheck : undefined)}"
|
|
18409
|
+
autocorrect="${o$5(this.autocorrect ? this.autocorrect : undefined)}"
|
|
18410
|
+
autocapitalize="${o$5(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
18411
|
+
autocomplete="${o$5(this.autocomplete ? this.autocomplete : undefined)}"
|
|
17753
18412
|
part="input"
|
|
17754
18413
|
/>
|
|
17755
18414
|
</div>
|
|
@@ -17757,7 +18416,7 @@ class AuroInput extends BaseInput {
|
|
|
17757
18416
|
class="notificationIcons"
|
|
17758
18417
|
part="notificationIcons"
|
|
17759
18418
|
?hasValue="${this.hasValue}">
|
|
17760
|
-
${this.validity && this.validity !== 'valid' ? u$
|
|
18419
|
+
${this.validity && this.validity !== 'valid' ? u$5`
|
|
17761
18420
|
<div class="notification alertNotification">
|
|
17762
18421
|
<${this.iconTag}
|
|
17763
18422
|
category="alert"
|
|
@@ -17766,8 +18425,8 @@ class AuroInput extends BaseInput {
|
|
|
17766
18425
|
</${this.iconTag}>
|
|
17767
18426
|
</div>
|
|
17768
18427
|
` : undefined}
|
|
17769
|
-
${this.hasValue ? u$
|
|
17770
|
-
${this.type === 'password' ? u$
|
|
18428
|
+
${this.hasValue ? u$5`
|
|
18429
|
+
${this.type === 'password' ? u$5`
|
|
17771
18430
|
<div class="notification">
|
|
17772
18431
|
<${this.buttonTag}
|
|
17773
18432
|
variant="flat"
|
|
@@ -17790,7 +18449,7 @@ class AuroInput extends BaseInput {
|
|
|
17790
18449
|
</${this.buttonTag}>
|
|
17791
18450
|
</div>
|
|
17792
18451
|
` : undefined}
|
|
17793
|
-
${!this.disabled && !this.readonly ? u$
|
|
18452
|
+
${!this.disabled && !this.readonly ? u$5`
|
|
17794
18453
|
<div class="notification">
|
|
17795
18454
|
<${this.buttonTag}
|
|
17796
18455
|
variant="flat"
|
|
@@ -17811,16 +18470,22 @@ class AuroInput extends BaseInput {
|
|
|
17811
18470
|
</div>
|
|
17812
18471
|
</div>
|
|
17813
18472
|
<!-- Help text and error message template -->
|
|
17814
|
-
|
|
17815
|
-
|
|
17816
|
-
<
|
|
17817
|
-
<
|
|
17818
|
-
|
|
17819
|
-
|
|
17820
|
-
|
|
17821
|
-
|
|
17822
|
-
|
|
17823
|
-
|
|
18473
|
+
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
18474
|
+
? u$5`
|
|
18475
|
+
<auro-helptext>
|
|
18476
|
+
<p id="${this.uniqueId}" part="helpText">
|
|
18477
|
+
<slot name="helptext">${this.getHelpText(this.type)}</slot>
|
|
18478
|
+
</p>
|
|
18479
|
+
</auro-helptext>
|
|
18480
|
+
`
|
|
18481
|
+
: u$5`
|
|
18482
|
+
<auro-helptext error>
|
|
18483
|
+
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
18484
|
+
${this.errorMessage}
|
|
18485
|
+
</p>
|
|
18486
|
+
</auro-helptext>
|
|
18487
|
+
`
|
|
18488
|
+
}
|
|
17824
18489
|
`;
|
|
17825
18490
|
}
|
|
17826
18491
|
}
|
|
@@ -17835,26 +18500,6 @@ var inputVersion = '4.2.0';
|
|
|
17835
18500
|
|
|
17836
18501
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
17837
18502
|
/**
|
|
17838
|
-
* @prop {String} value - Value selected for the date picker.
|
|
17839
|
-
* @prop {String} valueEnd - Value selected for the second date picker when using date range.
|
|
17840
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
17841
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
17842
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
|
|
17843
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
17844
|
-
* @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
|
|
17845
|
-
* @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
|
|
17846
|
-
* @attr {String} setCustomValidityValueMissing - Help text message to display when validity = `valueMissing`.
|
|
17847
|
-
* @attr {String} calendarStartDate - The first date that may be displayed in the calendar.
|
|
17848
|
-
* @attr {String} calendarEndDate - The last date that may be displayed in the calendar
|
|
17849
|
-
* @attr {String} calendarFocusDate - The date that will first be visually rendered to the user in the calendar.
|
|
17850
|
-
* @attr {Boolean} disabled - If set, disables the datepicker.
|
|
17851
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
17852
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
17853
|
-
* @attr {Boolean} range - If set, turns on date range functionality in auro-calendar.
|
|
17854
|
-
* @attr {String} centralDate - The date that determines the currently visible month.
|
|
17855
|
-
* @attr {String} maxDate - Maximum date. All dates after will be disabled.
|
|
17856
|
-
* @attr {String} minDate - Minimum date. All dates before will be disabled.
|
|
17857
|
-
* @attr {Array} monthNames = Names of all 12 months to render in the calendar, used for localization of date string in mobile layout.
|
|
17858
18503
|
* @slot helpText - Defines the content of the helpText.
|
|
17859
18504
|
* @slot mobileDateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
17860
18505
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -17876,7 +18521,7 @@ var inputVersion = '4.2.0';
|
|
|
17876
18521
|
*/
|
|
17877
18522
|
|
|
17878
18523
|
// build the component class
|
|
17879
|
-
class AuroDatePicker extends r$
|
|
18524
|
+
class AuroDatePicker extends r$b {
|
|
17880
18525
|
constructor() {
|
|
17881
18526
|
super();
|
|
17882
18527
|
|
|
@@ -17940,7 +18585,7 @@ class AuroDatePicker extends r$7 {
|
|
|
17940
18585
|
/**
|
|
17941
18586
|
* @private
|
|
17942
18587
|
*/
|
|
17943
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
18588
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
17944
18589
|
|
|
17945
18590
|
/**
|
|
17946
18591
|
* @private
|
|
@@ -17951,7 +18596,15 @@ class AuroDatePicker extends r$7 {
|
|
|
17951
18596
|
* Generate unique names for dependency components.
|
|
17952
18597
|
*/
|
|
17953
18598
|
const versioning = new AuroDependencyVersioning$2();
|
|
18599
|
+
|
|
18600
|
+
/**
|
|
18601
|
+
* @private
|
|
18602
|
+
*/
|
|
17954
18603
|
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
18604
|
+
|
|
18605
|
+
/**
|
|
18606
|
+
* @private
|
|
18607
|
+
*/
|
|
17955
18608
|
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
17956
18609
|
}
|
|
17957
18610
|
|
|
@@ -17961,108 +18614,163 @@ class AuroDatePicker extends r$7 {
|
|
|
17961
18614
|
static get properties() {
|
|
17962
18615
|
return {
|
|
17963
18616
|
// ...super.properties,
|
|
17964
|
-
|
|
18617
|
+
/**
|
|
18618
|
+
* The last date that may be displayed in the calendar.
|
|
18619
|
+
*/
|
|
18620
|
+
calendarEndDate: {
|
|
17965
18621
|
type: String,
|
|
17966
18622
|
reflect: true
|
|
17967
18623
|
},
|
|
17968
|
-
|
|
17969
|
-
|
|
17970
|
-
|
|
17971
|
-
|
|
17972
|
-
|
|
17973
|
-
},
|
|
17974
|
-
setCustomValidityCustomError: {
|
|
17975
|
-
type: String,
|
|
17976
|
-
},
|
|
17977
|
-
setCustomValidityRangeUnderflow: {
|
|
17978
|
-
type: String,
|
|
17979
|
-
},
|
|
17980
|
-
setCustomValidityRangeOverflow: {
|
|
17981
|
-
type: String,
|
|
17982
|
-
},
|
|
17983
|
-
setCustomValidityValueMissing: {
|
|
18624
|
+
|
|
18625
|
+
/**
|
|
18626
|
+
* The date that will first be visually rendered to the user in the calendar.
|
|
18627
|
+
*/
|
|
18628
|
+
calendarFocusDate: {
|
|
17984
18629
|
type: String,
|
|
18630
|
+
reflect: true
|
|
17985
18631
|
},
|
|
17986
|
-
|
|
18632
|
+
|
|
18633
|
+
/**
|
|
18634
|
+
* The first date that may be displayed in the calendar.
|
|
18635
|
+
*/
|
|
18636
|
+
calendarStartDate: {
|
|
17987
18637
|
type: String,
|
|
17988
18638
|
reflect: true
|
|
17989
18639
|
},
|
|
17990
|
-
|
|
17991
|
-
|
|
17992
|
-
|
|
18640
|
+
|
|
18641
|
+
/**
|
|
18642
|
+
* The date that determines the currently visible month.
|
|
18643
|
+
*/
|
|
18644
|
+
centralDate: {
|
|
18645
|
+
type: String
|
|
17993
18646
|
},
|
|
18647
|
+
|
|
18648
|
+
/**
|
|
18649
|
+
* If set, disables the datepicker.
|
|
18650
|
+
*/
|
|
17994
18651
|
disabled: {
|
|
17995
18652
|
type: Boolean,
|
|
17996
18653
|
reflect: true
|
|
17997
18654
|
},
|
|
17998
|
-
|
|
17999
|
-
|
|
18000
|
-
|
|
18001
|
-
|
|
18002
|
-
|
|
18655
|
+
|
|
18656
|
+
/**
|
|
18657
|
+
* When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
18658
|
+
*/
|
|
18659
|
+
error: {
|
|
18003
18660
|
type: String,
|
|
18004
18661
|
reflect: true
|
|
18005
18662
|
},
|
|
18006
|
-
|
|
18007
|
-
|
|
18008
|
-
|
|
18009
|
-
|
|
18010
|
-
type: String
|
|
18011
|
-
},
|
|
18012
|
-
centralDate: {
|
|
18013
|
-
type: String
|
|
18014
|
-
},
|
|
18663
|
+
|
|
18664
|
+
/**
|
|
18665
|
+
* Maximum date. All dates after will be disabled.
|
|
18666
|
+
*/
|
|
18015
18667
|
maxDate: {
|
|
18016
18668
|
type: String,
|
|
18017
18669
|
reflect: true
|
|
18018
18670
|
},
|
|
18671
|
+
|
|
18672
|
+
/**
|
|
18673
|
+
* Minimum date. All dates before will be disabled.
|
|
18674
|
+
*/
|
|
18019
18675
|
minDate: {
|
|
18020
18676
|
type: String,
|
|
18021
18677
|
reflect: true
|
|
18022
18678
|
},
|
|
18679
|
+
|
|
18680
|
+
/**
|
|
18681
|
+
* Names of all 12 months to render in the calendar, used for localization of date string in mobile layout.
|
|
18682
|
+
*/
|
|
18023
18683
|
monthNames: {
|
|
18024
18684
|
type: Array
|
|
18025
18685
|
},
|
|
18026
|
-
|
|
18027
|
-
|
|
18028
|
-
|
|
18686
|
+
|
|
18687
|
+
/**
|
|
18688
|
+
* If set, disables auto-validation on blur.
|
|
18689
|
+
*/
|
|
18690
|
+
noValidate: {
|
|
18691
|
+
type: Boolean
|
|
18029
18692
|
},
|
|
18030
|
-
|
|
18031
|
-
|
|
18693
|
+
|
|
18694
|
+
/**
|
|
18695
|
+
* If set, turns on date range functionality in auro-calendar.
|
|
18696
|
+
*/
|
|
18697
|
+
range: {
|
|
18698
|
+
type: Boolean,
|
|
18032
18699
|
reflect: true
|
|
18033
18700
|
},
|
|
18034
|
-
|
|
18035
|
-
|
|
18701
|
+
|
|
18702
|
+
/**
|
|
18703
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
18704
|
+
*/
|
|
18705
|
+
required: {
|
|
18706
|
+
type: Boolean,
|
|
18036
18707
|
reflect: true
|
|
18037
18708
|
},
|
|
18038
18709
|
|
|
18039
18710
|
/**
|
|
18040
|
-
*
|
|
18711
|
+
* Sets a custom help text message to display for all validityStates.
|
|
18041
18712
|
*/
|
|
18042
|
-
|
|
18713
|
+
setCustomValidity: {
|
|
18714
|
+
type: String
|
|
18715
|
+
},
|
|
18043
18716
|
|
|
18044
18717
|
/**
|
|
18045
|
-
*
|
|
18718
|
+
* Custom help text message to display when validity = `customError`.
|
|
18046
18719
|
*/
|
|
18047
|
-
|
|
18720
|
+
setCustomValidityCustomError: {
|
|
18721
|
+
type: String
|
|
18722
|
+
},
|
|
18048
18723
|
|
|
18049
18724
|
/**
|
|
18050
|
-
*
|
|
18725
|
+
* Custom help text message to display when validity = `rangeOverflow`.
|
|
18051
18726
|
*/
|
|
18052
|
-
|
|
18727
|
+
setCustomValidityRangeOverflow: {
|
|
18728
|
+
type: String
|
|
18729
|
+
},
|
|
18053
18730
|
|
|
18054
18731
|
/**
|
|
18055
|
-
*
|
|
18732
|
+
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
18733
|
+
*/
|
|
18734
|
+
setCustomValidityRangeUnderflow: {
|
|
18735
|
+
type: String
|
|
18736
|
+
},
|
|
18737
|
+
|
|
18738
|
+
/**
|
|
18739
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
18740
|
+
*/
|
|
18741
|
+
setCustomValidityValueMissing: {
|
|
18742
|
+
type: String
|
|
18743
|
+
},
|
|
18744
|
+
|
|
18745
|
+
/**
|
|
18746
|
+
* Specifies the `validityState` this element is in.
|
|
18747
|
+
*/
|
|
18748
|
+
validity: {
|
|
18749
|
+
type: String,
|
|
18750
|
+
reflect: true
|
|
18751
|
+
},
|
|
18752
|
+
|
|
18753
|
+
/**
|
|
18754
|
+
* Value selected for the datepicker.
|
|
18755
|
+
*/
|
|
18756
|
+
value: {
|
|
18757
|
+
type: String
|
|
18758
|
+
},
|
|
18759
|
+
|
|
18760
|
+
/**
|
|
18761
|
+
* Value selected for the second datepicker when using date range.
|
|
18056
18762
|
*/
|
|
18057
|
-
|
|
18763
|
+
valueEnd: {
|
|
18764
|
+
type: String
|
|
18765
|
+
}
|
|
18058
18766
|
};
|
|
18059
18767
|
}
|
|
18060
18768
|
|
|
18061
18769
|
static get styles() {
|
|
18062
18770
|
return [
|
|
18063
|
-
styleCss$
|
|
18064
|
-
colorCss$
|
|
18065
|
-
tokensCss$
|
|
18771
|
+
styleCss$a,
|
|
18772
|
+
colorCss$a,
|
|
18773
|
+
tokensCss$7
|
|
18066
18774
|
];
|
|
18067
18775
|
}
|
|
18068
18776
|
|
|
@@ -18075,7 +18783,29 @@ class AuroDatePicker extends r$7 {
|
|
|
18075
18783
|
*
|
|
18076
18784
|
*/
|
|
18077
18785
|
static register(name = "auro-datepicker") {
|
|
18078
|
-
AuroLibraryRuntimeUtils$
|
|
18786
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroDatePicker);
|
|
18787
|
+
}
|
|
18788
|
+
|
|
18789
|
+
/**
|
|
18790
|
+
* A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
|
|
18791
|
+
* @returns {string[]}
|
|
18792
|
+
*/
|
|
18793
|
+
get values() {
|
|
18794
|
+
// If range, and both populated, return both values in an array
|
|
18795
|
+
// - NOTE: both are required here, so we don't have something like `['10/22/25', undefined]`
|
|
18796
|
+
if (this.range && this.value && this.valueEnd) {
|
|
18797
|
+
return [
|
|
18798
|
+
this.value,
|
|
18799
|
+
this.valueEnd
|
|
18800
|
+
];
|
|
18801
|
+
}
|
|
18802
|
+
|
|
18803
|
+
// This if block catches instances where `value` is present, no matter if valueEnd is selected yet
|
|
18804
|
+
if (this.value) {
|
|
18805
|
+
return [this.value];
|
|
18806
|
+
}
|
|
18807
|
+
|
|
18808
|
+
return [];
|
|
18079
18809
|
}
|
|
18080
18810
|
|
|
18081
18811
|
/**
|
|
@@ -18233,7 +18963,6 @@ class AuroDatePicker extends r$7 {
|
|
|
18233
18963
|
});
|
|
18234
18964
|
|
|
18235
18965
|
this.dropdown.addEventListener('auroDropdown-toggled', () => {
|
|
18236
|
-
this.setAttribute('aria-expanded', this.dropdown.isPopoverVisible);
|
|
18237
18966
|
this.notifyDatepickerToggled();
|
|
18238
18967
|
|
|
18239
18968
|
this.calendar.visible = this.dropdown.isPopoverVisible;
|
|
@@ -18245,10 +18974,6 @@ class AuroDatePicker extends r$7 {
|
|
|
18245
18974
|
}
|
|
18246
18975
|
}
|
|
18247
18976
|
});
|
|
18248
|
-
|
|
18249
|
-
if (!this.dropdown.hasAttribute('aria-expanded')) {
|
|
18250
|
-
this.dropdown.setAttribute('aria-expanded', this.dropdown.isPopoverVisible);
|
|
18251
|
-
}
|
|
18252
18977
|
}
|
|
18253
18978
|
|
|
18254
18979
|
/**
|
|
@@ -18354,8 +19079,6 @@ class AuroDatePicker extends r$7 {
|
|
|
18354
19079
|
});
|
|
18355
19080
|
|
|
18356
19081
|
this.addEventListener('focusout', (evt) => {
|
|
18357
|
-
this.setAttribute('aria-expanded', this.dropdown.isPopoverVisible);
|
|
18358
|
-
|
|
18359
19082
|
if (!this.noValidate && !evt.detail.expanded && this.inputList[0].value !== undefined) {
|
|
18360
19083
|
if (!this.contains(document.activeElement)) {
|
|
18361
19084
|
this.validation.validate(this.inputList[0]);
|
|
@@ -18441,10 +19164,11 @@ class AuroDatePicker extends r$7 {
|
|
|
18441
19164
|
if (!this.value || !this.util.validDateStr(this.value)) {
|
|
18442
19165
|
this.value = newDate;
|
|
18443
19166
|
} else if (!this.valueEnd || !this.util.validDateStr(this.valueEnd)) {
|
|
18444
|
-
|
|
18445
19167
|
// verify the date is after this.value to insure we are setting a proper range
|
|
18446
19168
|
if (new Date(newDate) >= new Date(this.value)) {
|
|
18447
19169
|
this.valueEnd = newDate;
|
|
19170
|
+
} else {
|
|
19171
|
+
this.value = newDate;
|
|
18448
19172
|
}
|
|
18449
19173
|
} else {
|
|
18450
19174
|
this.value = newDate;
|
|
@@ -18477,6 +19201,14 @@ class AuroDatePicker extends r$7 {
|
|
|
18477
19201
|
this.validation.reset(this);
|
|
18478
19202
|
}
|
|
18479
19203
|
|
|
19204
|
+
/**
|
|
19205
|
+
* Validates value.
|
|
19206
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
19207
|
+
*/
|
|
19208
|
+
validate(force = false) {
|
|
19209
|
+
this.validation.validate(this, force);
|
|
19210
|
+
}
|
|
19211
|
+
|
|
18480
19212
|
updated(changedProperties) {
|
|
18481
19213
|
if (changedProperties.has('calendarFocusDate')) {
|
|
18482
19214
|
this.handleFocusDateChange();
|
|
@@ -18542,7 +19274,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18542
19274
|
}
|
|
18543
19275
|
}
|
|
18544
19276
|
|
|
18545
|
-
this.
|
|
19277
|
+
this.validate();
|
|
18546
19278
|
}
|
|
18547
19279
|
|
|
18548
19280
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
@@ -18572,7 +19304,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18572
19304
|
}
|
|
18573
19305
|
}
|
|
18574
19306
|
|
|
18575
|
-
this.
|
|
19307
|
+
this.validate();
|
|
18576
19308
|
}
|
|
18577
19309
|
|
|
18578
19310
|
if (changedProperties.has('error')) {
|
|
@@ -18602,11 +19334,14 @@ class AuroDatePicker extends r$7 {
|
|
|
18602
19334
|
// a later date than the current value date
|
|
18603
19335
|
if (changedProperties.has('minDate')) {
|
|
18604
19336
|
if (this.minDate) {
|
|
18605
|
-
const minDateMonth = Number(this.minDate.
|
|
19337
|
+
const minDateMonth = Number(this.minDate.split('/')[0]);
|
|
19338
|
+
const minDateYear = Number(this.minDate.split('/')[2]);
|
|
18606
19339
|
|
|
18607
19340
|
// This sets the visible month of the calendar to the minDate when the minDate is later
|
|
18608
19341
|
// than the current visible date
|
|
18609
|
-
if (
|
|
19342
|
+
if (minDateYear > this.calendar.year) {
|
|
19343
|
+
this.calendarRenderUtil.updateCentralDate(this, this.minDate);
|
|
19344
|
+
} else if (minDateYear === this.calendar.year && minDateMonth > this.calendar.month) {
|
|
18610
19345
|
this.calendarRenderUtil.updateCentralDate(this, this.minDate);
|
|
18611
19346
|
}
|
|
18612
19347
|
|
|
@@ -18627,6 +19362,17 @@ class AuroDatePicker extends r$7 {
|
|
|
18627
19362
|
// This resets the datepicker when the maxDate is set to a new value that is
|
|
18628
19363
|
// an earlier date than the current value date
|
|
18629
19364
|
if (changedProperties.has('maxDate')) {
|
|
19365
|
+
const maxDateMonth = Number(this.maxDate.split('/')[0]);
|
|
19366
|
+
const maxDateYear = Number(this.maxDate.split('/')[2]);
|
|
19367
|
+
|
|
19368
|
+
// This sets the visible month of the calendar to the maxDate when the maxDate is earlier
|
|
19369
|
+
// than the current visible date
|
|
19370
|
+
if (maxDateYear < this.calendar.year) {
|
|
19371
|
+
this.calendarRenderUtil.updateCentralDate(this, this.maxDate);
|
|
19372
|
+
} else if (maxDateYear === this.calendar.year && maxDateMonth < this.calendar.month) {
|
|
19373
|
+
this.calendarRenderUtil.updateCentralDate(this, this.maxDate);
|
|
19374
|
+
}
|
|
19375
|
+
|
|
18630
19376
|
if (this.maxDate) {
|
|
18631
19377
|
if (this.value) {
|
|
18632
19378
|
if (new Date(this.maxDate).getTime() < new Date(this.value).getTime()) {
|
|
@@ -18676,7 +19422,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18676
19422
|
|
|
18677
19423
|
// function that renders the HTML and CSS into the scope of the component
|
|
18678
19424
|
render() {
|
|
18679
|
-
return u$
|
|
19425
|
+
return u$8`
|
|
18680
19426
|
<div class="outerWrapper">
|
|
18681
19427
|
<${this.dropdownTag}
|
|
18682
19428
|
for="dropdownMenu"
|
|
@@ -18708,7 +19454,7 @@ class AuroDatePicker extends r$7 {
|
|
|
18708
19454
|
part="input">
|
|
18709
19455
|
<span slot="label"><slot name="fromLabel"></slot></span>
|
|
18710
19456
|
</${this.inputTag}>
|
|
18711
|
-
${this.range ? u$
|
|
19457
|
+
${this.range ? u$8`
|
|
18712
19458
|
<${this.inputTag}
|
|
18713
19459
|
id="${this.generateRandomString(12)}"
|
|
18714
19460
|
bordered
|
|
@@ -18739,21 +19485,21 @@ class AuroDatePicker extends r$7 {
|
|
|
18739
19485
|
part="calendar"
|
|
18740
19486
|
>
|
|
18741
19487
|
<slot slot="mobileDateLabel" name="mobileDateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
18742
|
-
<span slot="mobileDateFromStr">${this.value ? this.getMobileDateStr(this.value) : u$
|
|
18743
|
-
${this.range ? u$
|
|
19488
|
+
<span slot="mobileDateFromStr">${this.value ? this.getMobileDateStr(this.value) : u$8`<span class="placeholderDate">MM/DD/YYYY</span>`}</span>
|
|
19489
|
+
${this.range ? u$8`<span slot="mobileDateToStr">${this.valueEnd ? this.getMobileDateStr(this.valueEnd) : u$8`<span class="placeholderDate">MM/DD/YYYY</span>`}</span>` : undefined}
|
|
18744
19490
|
</auro-calendar>
|
|
18745
19491
|
</div>
|
|
18746
|
-
<
|
|
19492
|
+
<p slot="helpText" part="helpTextSpan">
|
|
18747
19493
|
<!-- Help text and error message template -->
|
|
18748
19494
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
18749
|
-
? u$
|
|
19495
|
+
? u$8`
|
|
18750
19496
|
<slot name="helpText"></slot>
|
|
18751
|
-
` : u$
|
|
18752
|
-
<
|
|
19497
|
+
` : u$8`
|
|
19498
|
+
<span role="alert" aria-live="assertive" part="helpText">
|
|
18753
19499
|
${this.errorMessage}
|
|
18754
|
-
</
|
|
19500
|
+
</span>`
|
|
18755
19501
|
}
|
|
18756
|
-
</
|
|
19502
|
+
</p>
|
|
18757
19503
|
</${this.dropdownTag}>
|
|
18758
19504
|
</div>
|
|
18759
19505
|
`;
|