@aurodesignsystem/auro-formkit 2.0.0-beta.41 → 2.0.0-beta.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/NOTICE +2 -0
- package/README.md +116 -48
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +38 -0
- package/components/{combobox/dist/formkit/auro-dropdownVersion.d.ts → bibtemplate/dist/headerVersion.d.ts} +0 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
- package/components/bibtemplate/dist/index.d.ts +2 -0
- package/components/bibtemplate/dist/index.js +790 -0
- package/components/bibtemplate/dist/registered.js +790 -0
- package/components/bibtemplate/dist/styles/color-css.d.ts +2 -0
- package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
- package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +38 -229
- package/components/checkbox/demo/index.html +49 -0
- package/components/checkbox/demo/index.min.js +38 -229
- package/components/checkbox/dist/auro-checkbox-group.d.ts +0 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +0 -1
- package/components/checkbox/dist/index.d.ts +0 -1
- package/components/checkbox/dist/index.js +38 -232
- package/components/checkbox/dist/registered.js +1032 -0
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +0 -1
- package/components/checkbox/dist/styles/color-css.d.ts +0 -1
- package/components/checkbox/dist/styles/colorGroup-css.d.ts +0 -1
- package/components/checkbox/dist/styles/tokens-css.d.ts +0 -1
- package/components/combobox/README.md +6 -4
- package/components/combobox/demo/api.js +1 -1
- package/components/combobox/demo/api.md +79 -0
- package/components/combobox/demo/api.min.js +908 -1650
- package/components/combobox/demo/index.html +57 -0
- package/components/combobox/demo/index.js +1 -1
- package/components/combobox/demo/index.md +16 -0
- package/components/combobox/demo/index.min.js +908 -1650
- package/components/combobox/dist/auro-combobox.d.ts +45 -3
- package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
- package/components/combobox/dist/dropdownVersion.d.ts +0 -1
- package/components/combobox/dist/index.d.ts +0 -1
- package/components/combobox/dist/index.js +896 -1640
- package/components/combobox/dist/inputVersion.d.ts +0 -1
- package/components/combobox/dist/registered.js +9716 -0
- package/components/combobox/dist/styles/style-css.d.ts +0 -1
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.js +1 -1
- package/components/counter/demo/api.min.js +293 -410
- package/components/counter/demo/index.html +53 -0
- package/components/counter/demo/index.min.js +293 -410
- package/components/counter/dist/auro-counter-button.d.ts +0 -1
- package/components/counter/dist/auro-counter-group.d.ts +0 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts +0 -1
- package/components/counter/dist/auro-counter.d.ts +0 -1
- package/components/counter/dist/dropdownVersion.d.ts +0 -1
- package/components/counter/dist/iconVersion.d.ts +0 -1
- package/components/counter/dist/index.d.ts +0 -1
- package/components/counter/dist/index.js +293 -413
- package/components/counter/dist/registered.js +5158 -0
- package/components/counter/dist/styles/color-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-button-color-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-button-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-group-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +0 -1
- package/components/counter/dist/styles/style-css.d.ts +0 -1
- package/components/counter/dist/styles/tokens-css.d.ts +0 -1
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.js +1 -1
- package/components/datepicker/demo/api.min.js +503 -817
- package/components/datepicker/demo/index.html +57 -0
- package/components/datepicker/demo/index.min.js +503 -817
- package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -1
- package/components/datepicker/dist/auro-calendar-month.d.ts +0 -1
- package/components/datepicker/dist/auro-calendar.d.ts +0 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +0 -1
- package/components/datepicker/dist/dropdownVersion.d.ts +0 -1
- package/components/datepicker/dist/index.d.ts +0 -1
- package/components/datepicker/dist/index.js +503 -819
- package/components/datepicker/dist/inputVersion.d.ts +0 -1
- package/components/datepicker/dist/popoverVersion.d.ts +0 -1
- package/components/datepicker/dist/registered.js +18935 -0
- package/components/datepicker/dist/styles/color-calendar-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-cell-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-month-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-css.d.ts +0 -1
- package/components/datepicker/dist/styles/tokens-css.d.ts +0 -1
- package/components/datepicker/dist/utilities.d.ts +0 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +0 -1
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +0 -1
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.js +1 -1
- package/components/dropdown/demo/api.md +6 -4
- package/components/dropdown/demo/api.min.js +241 -356
- package/components/dropdown/demo/index.html +53 -0
- package/components/dropdown/demo/index.min.js +241 -356
- package/components/dropdown/dist/auro-dropdown.d.ts +17 -4
- package/components/dropdown/dist/auro-dropdownBib.d.ts +8 -1
- package/components/{select/dist/formkit/auro-dropdownVersion.d.ts → dropdown/dist/dropdownVersion.d.ts} +0 -1
- package/components/dropdown/dist/iconVersion.d.ts +0 -1
- package/components/dropdown/dist/index.d.ts +0 -1
- package/components/dropdown/dist/index.js +241 -358
- package/components/dropdown/dist/registered.js +3167 -0
- package/components/dropdown/dist/styles/bibColors-css.d.ts +0 -1
- package/components/dropdown/dist/styles/bibStyles-css.d.ts +0 -1
- package/components/dropdown/dist/styles/color-css.d.ts +0 -1
- package/components/dropdown/dist/styles/style-css.d.ts +0 -1
- package/components/dropdown/dist/styles/tokens-css.d.ts +0 -1
- package/components/form/README.md +1 -1
- package/components/form/demo/api.js +1 -1
- package/components/form/demo/api.min.js +42 -5
- package/components/form/demo/index.html +48 -0
- package/components/form/demo/index.min.js +42 -5
- package/components/form/dist/auro-form.d.ts +16 -2
- package/components/form/dist/index.d.ts +0 -1
- package/components/form/dist/index.js +42 -7
- package/components/form/dist/registered.d.ts +1 -0
- package/components/form/dist/registered.js +632 -0
- package/components/form/dist/styles/style-css.d.ts +0 -1
- package/components/helptext/dist/auro-helptext.d.ts +0 -1
- package/components/helptext/dist/index.d.ts +0 -1
- package/components/helptext/dist/index.js +4 -6
- package/components/helptext/dist/registered.js +222 -0
- package/components/helptext/dist/styles/color-css.d.ts +0 -1
- package/components/helptext/dist/styles/style-css.d.ts +0 -1
- package/components/helptext/dist/styles/tokens-css.d.ts +0 -1
- package/components/input/README.md +1 -1
- package/components/input/demo/api.min.js +57 -248
- package/components/input/demo/index.html +41 -0
- package/components/input/demo/index.min.js +57 -248
- package/components/input/dist/auro-input.d.ts +0 -1
- package/components/input/dist/base-input.d.ts +0 -1
- package/components/input/dist/buttonVersion.d.ts +0 -1
- package/components/input/dist/i18n.d.ts +0 -1
- package/components/input/dist/iconVersion.d.ts +0 -1
- package/components/input/dist/index.d.ts +0 -1
- package/components/input/dist/index.js +57 -250
- package/components/input/dist/registered.js +4254 -0
- package/components/input/dist/styles/borders-css.d.ts +0 -1
- package/components/input/dist/styles/color-css.d.ts +0 -1
- package/components/input/dist/styles/input-css.d.ts +0 -1
- package/components/input/dist/styles/label-css.d.ts +0 -1
- package/components/input/dist/styles/mixins-css.d.ts +0 -1
- package/components/input/dist/styles/notificationIcons-css.d.ts +0 -1
- package/components/input/dist/styles/style-css.d.ts +0 -1
- package/components/input/dist/styles/tokens-css.d.ts +0 -1
- package/components/menu/README.md +1 -1
- package/components/menu/demo/api.js +1 -1
- package/components/menu/demo/api.min.js +9 -9
- package/components/menu/demo/index.html +50 -0
- package/components/menu/demo/index.min.js +9 -9
- package/components/menu/dist/auro-menu-utils.d.ts +0 -1
- package/components/menu/dist/auro-menu.d.ts +0 -1
- package/components/menu/dist/auro-menuoption.d.ts +0 -1
- package/components/{datepicker/dist/formkit/auro-dropdownVersion.d.ts → menu/dist/dropdownVersion.d.ts} +0 -1
- package/components/menu/dist/iconVersion.d.ts +0 -1
- package/components/menu/dist/index.d.ts +0 -1
- package/components/menu/dist/index.js +9 -12
- package/components/menu/dist/registered.js +1510 -0
- package/components/menu/dist/styles/color-menu-css.d.ts +0 -1
- package/components/menu/dist/styles/color-menuoption-css.d.ts +0 -1
- package/components/menu/dist/styles/style-menu-css.d.ts +0 -1
- package/components/menu/dist/styles/style-menuoption-css.d.ts +0 -1
- package/components/menu/dist/styles/tokens-css.d.ts +0 -1
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.min.js +34 -225
- package/components/radio/demo/index.html +48 -0
- package/components/radio/demo/index.min.js +34 -225
- package/components/radio/dist/auro-radio-group.d.ts +0 -1
- package/components/radio/dist/auro-radio.d.ts +0 -1
- package/components/radio/dist/index.d.ts +0 -1
- package/components/radio/dist/index.js +34 -228
- package/components/radio/dist/registered.js +1149 -0
- package/components/radio/dist/styles/auro-radio-group-css.d.ts +0 -1
- package/components/radio/dist/styles/color-css.d.ts +0 -1
- package/components/radio/dist/styles/groupColor-css.d.ts +0 -1
- package/components/radio/dist/styles/style-css.d.ts +0 -1
- package/components/radio/dist/styles/tokens-css.d.ts +0 -1
- package/components/select/README.md +3 -3
- package/components/select/demo/api.js +1 -1
- package/components/select/demo/api.min.js +431 -1917
- package/components/select/demo/index.html +49 -0
- package/components/select/demo/index.js +1 -1
- package/components/select/demo/index.min.js +431 -1917
- package/components/select/dist/auro-select.d.ts +0 -1
- package/components/select/dist/dropdownVersion.d.ts +0 -1
- package/components/select/dist/index.d.ts +0 -1
- package/components/select/dist/index.js +373 -1861
- package/components/select/dist/registered.js +4367 -0
- package/components/select/dist/styles/color-css.d.ts +0 -1
- package/components/select/dist/styles/style-css.d.ts +0 -1
- package/components/select/dist/styles/tokens-css.d.ts +0 -1
- package/package.json +114 -10
- package/.husky/commit-msg +0 -4
- package/.husky/pre-commit +0 -3
- package/.turbo/cache/006be80261b993a5-meta.json +0 -1
- package/.turbo/cache/006be80261b993a5.tar.zst +0 -0
- package/.turbo/cache/03338963f2ae4c89-meta.json +0 -1
- package/.turbo/cache/03338963f2ae4c89.tar.zst +0 -0
- package/.turbo/cache/06dfc9c20aacd0fa-meta.json +0 -1
- package/.turbo/cache/06dfc9c20aacd0fa.tar.zst +0 -0
- package/.turbo/cache/075034ccdb82fbea-meta.json +0 -1
- package/.turbo/cache/075034ccdb82fbea.tar.zst +0 -0
- package/.turbo/cache/0ff927ad868537f6-meta.json +0 -1
- package/.turbo/cache/0ff927ad868537f6.tar.zst +0 -0
- package/.turbo/cache/10b8500a6b0c6655-meta.json +0 -1
- package/.turbo/cache/10b8500a6b0c6655.tar.zst +0 -0
- package/.turbo/cache/138466aaa06fa946-meta.json +0 -1
- package/.turbo/cache/138466aaa06fa946.tar.zst +0 -0
- package/.turbo/cache/1614475ba17e5c7e-meta.json +0 -1
- package/.turbo/cache/1614475ba17e5c7e.tar.zst +0 -0
- package/.turbo/cache/1a8525cb6ad91e2a-meta.json +0 -1
- package/.turbo/cache/1a8525cb6ad91e2a.tar.zst +0 -0
- package/.turbo/cache/1c347bdf63624c8a-meta.json +0 -1
- package/.turbo/cache/1c347bdf63624c8a.tar.zst +0 -0
- package/.turbo/cache/1d4e8167ea8e924f-meta.json +0 -1
- package/.turbo/cache/1d4e8167ea8e924f.tar.zst +0 -0
- package/.turbo/cache/2289d12debb3c42c-meta.json +0 -1
- package/.turbo/cache/2289d12debb3c42c.tar.zst +0 -0
- package/.turbo/cache/22fc147c04804f70-meta.json +0 -1
- package/.turbo/cache/22fc147c04804f70.tar.zst +0 -0
- package/.turbo/cache/3025cdff2ca7afbf-meta.json +0 -1
- package/.turbo/cache/3025cdff2ca7afbf.tar.zst +0 -0
- package/.turbo/cache/3082b3a86c0f9b94-meta.json +0 -1
- package/.turbo/cache/3082b3a86c0f9b94.tar.zst +0 -0
- package/.turbo/cache/3dba2f8fdc7eb1d0-meta.json +0 -1
- package/.turbo/cache/3dba2f8fdc7eb1d0.tar.zst +0 -0
- package/.turbo/cache/43995f6c84a2de33-meta.json +0 -1
- package/.turbo/cache/43995f6c84a2de33.tar.zst +0 -0
- package/.turbo/cache/45d6aea680ecb5ec-meta.json +0 -1
- package/.turbo/cache/45d6aea680ecb5ec.tar.zst +0 -0
- package/.turbo/cache/45ecc27552696bd6-meta.json +0 -1
- package/.turbo/cache/45ecc27552696bd6.tar.zst +0 -0
- package/.turbo/cache/47d63056350252e5-meta.json +0 -1
- package/.turbo/cache/47d63056350252e5.tar.zst +0 -0
- package/.turbo/cache/4aadd7fe6b69cccf-meta.json +0 -1
- package/.turbo/cache/4aadd7fe6b69cccf.tar.zst +0 -0
- package/.turbo/cache/4fcee148860094a6-meta.json +0 -1
- package/.turbo/cache/4fcee148860094a6.tar.zst +0 -0
- package/.turbo/cache/5b3bb164db4c477c-meta.json +0 -1
- package/.turbo/cache/5b3bb164db4c477c.tar.zst +0 -0
- package/.turbo/cache/6bfd7cffad1e6b8a-meta.json +0 -1
- package/.turbo/cache/6bfd7cffad1e6b8a.tar.zst +0 -0
- package/.turbo/cache/6d48e8dc24e08c8c-meta.json +0 -1
- package/.turbo/cache/6d48e8dc24e08c8c.tar.zst +0 -0
- package/.turbo/cache/70e65d2581c9de95-meta.json +0 -1
- package/.turbo/cache/70e65d2581c9de95.tar.zst +0 -0
- package/.turbo/cache/71640e378e0b68af-meta.json +0 -1
- package/.turbo/cache/71640e378e0b68af.tar.zst +0 -0
- package/.turbo/cache/7a2e937d0f5acb7c-meta.json +0 -1
- package/.turbo/cache/7a2e937d0f5acb7c.tar.zst +0 -0
- package/.turbo/cache/85f181c5a0ebfdc3-meta.json +0 -1
- package/.turbo/cache/85f181c5a0ebfdc3.tar.zst +0 -0
- package/.turbo/cache/8830b8b624914679-meta.json +0 -1
- package/.turbo/cache/8830b8b624914679.tar.zst +0 -0
- package/.turbo/cache/88d4c5b7339b081b-meta.json +0 -1
- package/.turbo/cache/88d4c5b7339b081b.tar.zst +0 -0
- package/.turbo/cache/8f20a1cd3533e2cb-meta.json +0 -1
- package/.turbo/cache/8f20a1cd3533e2cb.tar.zst +0 -0
- package/.turbo/cache/91de2098a36b6939-meta.json +0 -1
- package/.turbo/cache/91de2098a36b6939.tar.zst +0 -0
- package/.turbo/cache/96edc0764ed4ab77-meta.json +0 -1
- package/.turbo/cache/96edc0764ed4ab77.tar.zst +0 -0
- package/.turbo/cache/a776eb6f87cd7464-meta.json +0 -1
- package/.turbo/cache/a776eb6f87cd7464.tar.zst +0 -0
- package/.turbo/cache/aa2a6d9e7beff7fc-meta.json +0 -1
- package/.turbo/cache/aa2a6d9e7beff7fc.tar.zst +0 -0
- package/.turbo/cache/ac47b2df8381d990-meta.json +0 -1
- package/.turbo/cache/ac47b2df8381d990.tar.zst +0 -0
- package/.turbo/cache/ac98992ca27cd36e-meta.json +0 -1
- package/.turbo/cache/ac98992ca27cd36e.tar.zst +0 -0
- package/.turbo/cache/aed38ae5ce3d8439-meta.json +0 -1
- package/.turbo/cache/aed38ae5ce3d8439.tar.zst +0 -0
- package/.turbo/cache/b323342fa340ccb5-meta.json +0 -1
- package/.turbo/cache/b323342fa340ccb5.tar.zst +0 -0
- package/.turbo/cache/b681d1652a7f2aca-meta.json +0 -1
- package/.turbo/cache/b681d1652a7f2aca.tar.zst +0 -0
- package/.turbo/cache/b99d21002170d86d-meta.json +0 -1
- package/.turbo/cache/b99d21002170d86d.tar.zst +0 -0
- package/.turbo/cache/bff34c0db361f414-meta.json +0 -1
- package/.turbo/cache/bff34c0db361f414.tar.zst +0 -0
- package/.turbo/cache/c1c7334875426ff3-meta.json +0 -1
- package/.turbo/cache/c1c7334875426ff3.tar.zst +0 -0
- package/.turbo/cache/cd12b66dd972aaf7-meta.json +0 -1
- package/.turbo/cache/cd12b66dd972aaf7.tar.zst +0 -0
- package/.turbo/cache/cf74604f39b00f11-meta.json +0 -1
- package/.turbo/cache/cf74604f39b00f11.tar.zst +0 -0
- package/.turbo/cache/d5dbe6fb31ae5667-meta.json +0 -1
- package/.turbo/cache/d5dbe6fb31ae5667.tar.zst +0 -0
- package/.turbo/cache/e2688cc026390fd6-meta.json +0 -1
- package/.turbo/cache/e2688cc026390fd6.tar.zst +0 -0
- package/.turbo/cache/e64bd75c16c140f3-meta.json +0 -1
- package/.turbo/cache/e64bd75c16c140f3.tar.zst +0 -0
- package/.turbo/cache/ea92743dea3b7023-meta.json +0 -1
- package/.turbo/cache/ea92743dea3b7023.tar.zst +0 -0
- package/.turbo/cache/f1b0cb8241603223-meta.json +0 -1
- package/.turbo/cache/f1b0cb8241603223.tar.zst +0 -0
- package/.turbo/cache/f22dc2dd55715ba2-meta.json +0 -1
- package/.turbo/cache/f22dc2dd55715ba2.tar.zst +0 -0
- package/.turbo/cache/f8f7a8045f230b79-meta.json +0 -1
- package/.turbo/cache/f8f7a8045f230b79.tar.zst +0 -0
- package/.turbo/cache/f8f99ba69bff8f2c-meta.json +0 -1
- package/.turbo/cache/f8f99ba69bff8f2c.tar.zst +0 -0
- package/.turbo/cache/faafa5cc35d12e06-meta.json +0 -1
- package/.turbo/cache/faafa5cc35d12e06.tar.zst +0 -0
- package/.vscode/settings.json +0 -3
- package/components/checkbox/.stylelintrc.json +0 -3
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +0 -98
- package/components/checkbox/.turbo/turbo-build.log +0 -184
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +0 -1
- package/components/checkbox/dist/auro-checkbox.d.ts.map +0 -1
- package/components/checkbox/dist/index.d.ts.map +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/color-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/checkbox/node_modules/chalk/package.json +0 -83
- package/components/checkbox/node_modules/chalk/readme.md +0 -325
- package/components/checkbox/node_modules/chalk/source/index.d.ts +0 -320
- package/components/checkbox/node_modules/chalk/source/index.js +0 -225
- package/components/checkbox/node_modules/chalk/source/utilities.js +0 -33
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/checkbox/package.json +0 -69
- package/components/checkbox/src/auro-checkbox-group.js +0 -370
- package/components/checkbox/src/auro-checkbox.js +0 -214
- package/components/checkbox/src/index.js +0 -8
- package/components/checkbox/src/styles/auro-checkbox-css.js +0 -2
- package/components/checkbox/src/styles/auro-checkbox-group-css.js +0 -2
- package/components/checkbox/src/styles/auro-checkbox-group.css +0 -26
- package/components/checkbox/src/styles/auro-checkbox-group.scss +0 -38
- package/components/checkbox/src/styles/auro-checkbox.css +0 -123
- package/components/checkbox/src/styles/auro-checkbox.scss +0 -100
- package/components/checkbox/src/styles/color-css.js +0 -2
- package/components/checkbox/src/styles/color.css +0 -84
- package/components/checkbox/src/styles/color.scss +0 -118
- package/components/checkbox/src/styles/colorGroup-css.js +0 -2
- package/components/checkbox/src/styles/colorGroup.css +0 -8
- package/components/checkbox/src/styles/colorGroup.scss +0 -16
- package/components/checkbox/src/styles/tokens-css.js +0 -2
- package/components/checkbox/src/styles/tokens.css +0 -8
- package/components/checkbox/src/styles/tokens.scss +0 -10
- package/components/combobox/.stylelintrc.json +0 -3
- package/components/combobox/.turbo/turbo-build$colon$sass.log +0 -46
- package/components/combobox/.turbo/turbo-build.log +0 -162
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/combobox/.turbo/turbo-sass$colon$render.log +0 -10
- package/components/combobox/dist/auro-combobox.d.ts.map +0 -1
- package/components/combobox/dist/dropdownVersion.d.ts.map +0 -1
- package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts +0 -3
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +0 -1
- package/components/combobox/dist/index.d.ts.map +0 -1
- package/components/combobox/dist/inputVersion.d.ts.map +0 -1
- package/components/combobox/dist/styles/style-css.d.ts.map +0 -1
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +0 -1
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +0 -863
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +0 -109
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +0 -86
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +0 -45
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +0 -38
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +0 -38
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +0 -110
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +0 -106
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +0 -8
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +0 -813
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +0 -134
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +0 -39
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +0 -30
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +0 -46
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +0 -155
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +0 -25
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +0 -267
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +0 -36
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +0 -50
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +0 -395
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +0 -255
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +0 -663
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +0 -31
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +0 -22
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +0 -19
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +0 -18
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +0 -32
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +0 -26
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +0 -59
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +0 -54
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +0 -37
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +0 -5
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +0 -18
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +0 -123
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +0 -16
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +0 -42
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +0 -142
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +0 -151
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +0 -188
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +0 -75
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +0 -176
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +0 -249
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +0 -49
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +0 -20
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +0 -26
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +0 -29
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +0 -76
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +0 -86
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +0 -9
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +0 -75
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +0 -96
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +0 -20
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +0 -13
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +0 -293
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +0 -1377
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +0 -1370
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +0 -1
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +0 -89
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +0 -115
- package/components/combobox/node_modules/chalk/package.json +0 -83
- package/components/combobox/node_modules/chalk/readme.md +0 -297
- package/components/combobox/node_modules/chalk/source/index.d.ts +0 -325
- package/components/combobox/node_modules/chalk/source/index.js +0 -225
- package/components/combobox/node_modules/chalk/source/utilities.js +0 -33
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/combobox/package.json +0 -66
- package/components/combobox/src/auro-combobox.js +0 -776
- package/components/combobox/src/dropdownVersion.js +0 -1
- package/components/combobox/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/combobox/src/formkit/auro-inputVersion.js +0 -1
- package/components/combobox/src/index.js +0 -6
- package/components/combobox/src/inputVersion.js +0 -1
- package/components/combobox/src/styles/style-css.js +0 -2
- package/components/combobox/src/styles/style.css +0 -60
- package/components/combobox/src/styles/style.scss +0 -46
- package/components/counter/.stylelintrc.json +0 -3
- package/components/counter/.turbo/turbo-build$colon$sass.log +0 -269
- package/components/counter/.turbo/turbo-build$colon$version.log +0 -10
- package/components/counter/.turbo/turbo-build.log +0 -402
- package/components/counter/.turbo/turbo-bundler.log +0 -22
- package/components/counter/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/counter/.turbo/turbo-sass$colon$render.log +0 -58
- package/components/counter/.turbo/turbo-types.log +0 -4
- package/components/counter/dist/auro-counter-button.d.ts.map +0 -1
- package/components/counter/dist/auro-counter-group.d.ts.map +0 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts.map +0 -1
- package/components/counter/dist/auro-counter.d.ts.map +0 -1
- package/components/counter/dist/dropdownVersion.d.ts.map +0 -1
- package/components/counter/dist/iconVersion.d.ts.map +0 -1
- package/components/counter/dist/index.d.ts.map +0 -1
- package/components/counter/dist/styles/color-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-button-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-group-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +0 -1
- package/components/counter/dist/styles/style-css.d.ts.map +0 -1
- package/components/counter/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/counter/node_modules/chalk/package.json +0 -83
- package/components/counter/node_modules/chalk/readme.md +0 -325
- package/components/counter/node_modules/chalk/source/index.d.ts +0 -320
- package/components/counter/node_modules/chalk/source/index.js +0 -225
- package/components/counter/node_modules/chalk/source/utilities.js +0 -33
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/counter/package.json +0 -59
- package/components/counter/src/auro-counter-button.js +0 -42
- package/components/counter/src/auro-counter-group.js +0 -333
- package/components/counter/src/auro-counter-wrapper.js +0 -54
- package/components/counter/src/auro-counter.js +0 -342
- package/components/counter/src/dropdownVersion.js +0 -1
- package/components/counter/src/iconVersion.js +0 -1
- package/components/counter/src/index.js +0 -8
- package/components/counter/src/styles/color-css.js +0 -2
- package/components/counter/src/styles/color.css +0 -29
- package/components/counter/src/styles/color.scss +0 -49
- package/components/counter/src/styles/counter-button-color-css.js +0 -2
- package/components/counter/src/styles/counter-button-color.css +0 -11
- package/components/counter/src/styles/counter-button-color.scss +0 -23
- package/components/counter/src/styles/counter-button-css.js +0 -2
- package/components/counter/src/styles/counter-button-tokens-css.js +0 -2
- package/components/counter/src/styles/counter-button-tokens.css +0 -6
- package/components/counter/src/styles/counter-button-tokens.scss +0 -8
- package/components/counter/src/styles/counter-button.css +0 -186
- package/components/counter/src/styles/counter-button.scss +0 -84
- package/components/counter/src/styles/counter-group-css.js +0 -2
- package/components/counter/src/styles/counter-group.css +0 -18
- package/components/counter/src/styles/counter-group.scss +0 -32
- package/components/counter/src/styles/counter-wrapper-color-css.js +0 -2
- package/components/counter/src/styles/counter-wrapper-color.css +0 -4
- package/components/counter/src/styles/counter-wrapper-color.scss +0 -19
- package/components/counter/src/styles/counter-wrapper-css.js +0 -2
- package/components/counter/src/styles/counter-wrapper.css +0 -15
- package/components/counter/src/styles/counter-wrapper.scss +0 -29
- package/components/counter/src/styles/style-css.js +0 -2
- package/components/counter/src/styles/style.css +0 -53
- package/components/counter/src/styles/style.scss +0 -73
- package/components/counter/src/styles/tokens-css.js +0 -2
- package/components/counter/src/styles/tokens.css +0 -12
- package/components/counter/src/styles/tokens.scss +0 -25
- package/components/datepicker/.stylelintrc.json +0 -3
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +0 -352
- package/components/datepicker/.turbo/turbo-build.log +0 -492
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +0 -58
- package/components/datepicker/dist/auro-calendar-cell.d.ts.map +0 -1
- package/components/datepicker/dist/auro-calendar-month.d.ts.map +0 -1
- package/components/datepicker/dist/auro-calendar.d.ts.map +0 -1
- package/components/datepicker/dist/auro-datepicker.d.ts.map +0 -1
- package/components/datepicker/dist/dropdownVersion.d.ts.map +0 -1
- package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts +0 -3
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +0 -1
- package/components/datepicker/dist/index.d.ts.map +0 -1
- package/components/datepicker/dist/inputVersion.d.ts.map +0 -1
- package/components/datepicker/dist/popoverVersion.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-cell-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-month-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/datepicker/dist/utilities.d.ts.map +0 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts.map +0 -1
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +0 -1
- package/components/datepicker/node_modules/chalk/package.json +0 -83
- package/components/datepicker/node_modules/chalk/readme.md +0 -325
- package/components/datepicker/node_modules/chalk/source/index.d.ts +0 -320
- package/components/datepicker/node_modules/chalk/source/index.js +0 -225
- package/components/datepicker/node_modules/chalk/source/utilities.js +0 -33
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/datepicker/node_modules/rollup-plugin-serve/README.md +0 -137
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +0 -75
- package/components/datepicker/node_modules/rollup-plugin-serve/package.json +0 -51
- package/components/datepicker/package.json +0 -79
- package/components/datepicker/src/auro-calendar-cell.js +0 -381
- package/components/datepicker/src/auro-calendar-month.js +0 -128
- package/components/datepicker/src/auro-calendar.js +0 -329
- package/components/datepicker/src/auro-datepicker.js +0 -1040
- package/components/datepicker/src/dropdownVersion.js +0 -1
- package/components/datepicker/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/datepicker/src/formkit/auro-inputVersion.js +0 -1
- package/components/datepicker/src/index.js +0 -6
- package/components/datepicker/src/inputVersion.js +0 -1
- package/components/datepicker/src/popoverVersion.js +0 -1
- package/components/datepicker/src/styles/color-calendar-css.js +0 -2
- package/components/datepicker/src/styles/color-calendar.css +0 -35
- package/components/datepicker/src/styles/color-calendar.scss +0 -51
- package/components/datepicker/src/styles/color-cell-css.js +0 -2
- package/components/datepicker/src/styles/color-cell.css +0 -45
- package/components/datepicker/src/styles/color-cell.scss +0 -73
- package/components/datepicker/src/styles/color-css.js +0 -2
- package/components/datepicker/src/styles/color-month-css.js +0 -2
- package/components/datepicker/src/styles/color-month.css +0 -34
- package/components/datepicker/src/styles/color-month.scss +0 -27
- package/components/datepicker/src/styles/color.css +0 -43
- package/components/datepicker/src/styles/color.scss +0 -30
- package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-cell.css +0 -123
- package/components/datepicker/src/styles/style-auro-calendar-cell.scss +0 -147
- package/components/datepicker/src/styles/style-auro-calendar-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-month-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-month.css +0 -121
- package/components/datepicker/src/styles/style-auro-calendar-month.scss +0 -141
- package/components/datepicker/src/styles/style-auro-calendar.css +0 -152
- package/components/datepicker/src/styles/style-auro-calendar.scss +0 -191
- package/components/datepicker/src/styles/style-css.js +0 -2
- package/components/datepicker/src/styles/style.css +0 -131
- package/components/datepicker/src/styles/style.scss +0 -139
- package/components/datepicker/src/styles/tokens-css.js +0 -2
- package/components/datepicker/src/styles/tokens.css +0 -22
- package/components/datepicker/src/styles/tokens.scss +0 -25
- package/components/datepicker/src/utilities.js +0 -87
- package/components/datepicker/src/utilitiesCalendar.js +0 -138
- package/components/datepicker/src/utilitiesCalendarRender.js +0 -156
- package/components/datepicker/src/vendor/wc-range-datepicker/day.js +0 -8
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +0 -521
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +0 -211
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +0 -254
- package/components/dropdown/.stylelintrc.json +0 -3
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +0 -75
- package/components/dropdown/.turbo/turbo-build.log +0 -205
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/dropdown/dist/auro-dropdown.d.ts.map +0 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +0 -1
- package/components/dropdown/dist/iconVersion.d.ts.map +0 -1
- package/components/dropdown/dist/index.d.ts.map +0 -1
- package/components/dropdown/dist/styles/bibColors-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/color-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/style-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/dropdown/node_modules/chalk/package.json +0 -83
- package/components/dropdown/node_modules/chalk/readme.md +0 -325
- package/components/dropdown/node_modules/chalk/source/index.d.ts +0 -320
- package/components/dropdown/node_modules/chalk/source/index.js +0 -225
- package/components/dropdown/node_modules/chalk/source/utilities.js +0 -33
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/dropdown/package.json +0 -58
- package/components/dropdown/src/auro-dropdown.js +0 -565
- package/components/dropdown/src/auro-dropdownBib.js +0 -106
- package/components/dropdown/src/iconVersion.js +0 -1
- package/components/dropdown/src/index.js +0 -6
- package/components/dropdown/src/styles/bibColors-css.js +0 -2
- package/components/dropdown/src/styles/bibColors.css +0 -6
- package/components/dropdown/src/styles/bibColors.scss +0 -18
- package/components/dropdown/src/styles/bibStyles-css.js +0 -2
- package/components/dropdown/src/styles/bibStyles.css +0 -43
- package/components/dropdown/src/styles/bibStyles.scss +0 -60
- package/components/dropdown/src/styles/color-css.js +0 -2
- package/components/dropdown/src/styles/color.css +0 -56
- package/components/dropdown/src/styles/color.scss +0 -76
- package/components/dropdown/src/styles/style-css.js +0 -2
- package/components/dropdown/src/styles/style.css +0 -91
- package/components/dropdown/src/styles/style.scss +0 -122
- package/components/dropdown/src/styles/tokens-css.js +0 -2
- package/components/dropdown/src/styles/tokens.css +0 -13
- package/components/dropdown/src/styles/tokens.scss +0 -15
- package/components/form/.stylelintrc.json +0 -3
- package/components/form/.turbo/turbo-build$colon$sass.log +0 -57
- package/components/form/.turbo/turbo-build$colon$version.log +0 -4
- package/components/form/.turbo/turbo-build.log +0 -112
- package/components/form/.turbo/turbo-bundler.log +0 -13
- package/components/form/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/form/.turbo/turbo-sass$colon$render.log +0 -10
- package/components/form/.turbo/turbo-types.log +0 -4
- package/components/form/dist/auro-form.d.ts.map +0 -1
- package/components/form/dist/index.d.ts.map +0 -1
- package/components/form/dist/styles/style-css.d.ts.map +0 -1
- package/components/form/node_modules/chalk/package.json +0 -83
- package/components/form/node_modules/chalk/readme.md +0 -325
- package/components/form/node_modules/chalk/source/index.d.ts +0 -320
- package/components/form/node_modules/chalk/source/index.js +0 -225
- package/components/form/node_modules/chalk/source/utilities.js +0 -33
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/form/package.json +0 -74
- package/components/form/src/auro-form.js +0 -506
- package/components/form/src/index.js +0 -6
- package/components/form/src/styles/style-css.js +0 -2
- package/components/form/src/styles/style.css +0 -36
- package/components/form/src/styles/style.scss +0 -37
- package/components/helptext/.stylelintrc.json +0 -3
- package/components/helptext/.turbo/turbo-build$colon$sass.log +0 -34
- package/components/helptext/.turbo/turbo-build.log +0 -49
- package/components/helptext/.turbo/turbo-bundler.log +0 -7
- package/components/helptext/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/helptext/.turbo/turbo-sass$colon$render.log +0 -22
- package/components/helptext/.turbo/turbo-types.log +0 -4
- package/components/helptext/dist/auro-helptext.d.ts.map +0 -1
- package/components/helptext/dist/index.d.ts.map +0 -1
- package/components/helptext/dist/styles/color-css.d.ts.map +0 -1
- package/components/helptext/dist/styles/style-css.d.ts.map +0 -1
- package/components/helptext/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/helptext/node_modules/chalk/package.json +0 -83
- package/components/helptext/node_modules/chalk/readme.md +0 -297
- package/components/helptext/node_modules/chalk/source/index.d.ts +0 -325
- package/components/helptext/node_modules/chalk/source/index.js +0 -225
- package/components/helptext/node_modules/chalk/source/utilities.js +0 -33
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/helptext/package.json +0 -57
- package/components/helptext/src/auro-helptext.js +0 -127
- package/components/helptext/src/index.js +0 -6
- package/components/helptext/src/styles/color-css.js +0 -2
- package/components/helptext/src/styles/color.css +0 -8
- package/components/helptext/src/styles/color.scss +0 -11
- package/components/helptext/src/styles/style-css.js +0 -2
- package/components/helptext/src/styles/style.css +0 -23
- package/components/helptext/src/styles/style.scss +0 -33
- package/components/helptext/src/styles/tokens-css.js +0 -2
- package/components/helptext/src/styles/tokens.css +0 -3
- package/components/helptext/src/styles/tokens.scss +0 -5
- package/components/input/.stylelintrc.json +0 -3
- package/components/input/.turbo/turbo-build$colon$sass.log +0 -188
- package/components/input/.turbo/turbo-build.log +0 -340
- package/components/input/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/input/.turbo/turbo-sass$colon$render.log +0 -52
- package/components/input/dist/auro-input.d.ts.map +0 -1
- package/components/input/dist/base-input.d.ts.map +0 -1
- package/components/input/dist/buttonVersion.d.ts.map +0 -1
- package/components/input/dist/i18n.d.ts.map +0 -1
- package/components/input/dist/iconVersion.d.ts.map +0 -1
- package/components/input/dist/index.d.ts.map +0 -1
- package/components/input/dist/styles/borders-css.d.ts.map +0 -1
- package/components/input/dist/styles/color-css.d.ts.map +0 -1
- package/components/input/dist/styles/input-css.d.ts.map +0 -1
- package/components/input/dist/styles/label-css.d.ts.map +0 -1
- package/components/input/dist/styles/mixins-css.d.ts.map +0 -1
- package/components/input/dist/styles/notificationIcons-css.d.ts.map +0 -1
- package/components/input/dist/styles/style-css.d.ts.map +0 -1
- package/components/input/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/input/node_modules/chalk/package.json +0 -83
- package/components/input/node_modules/chalk/readme.md +0 -325
- package/components/input/node_modules/chalk/source/index.d.ts +0 -320
- package/components/input/node_modules/chalk/source/index.js +0 -225
- package/components/input/node_modules/chalk/source/utilities.js +0 -33
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/input/package.json +0 -76
- package/components/input/src/auro-input.js +0 -249
- package/components/input/src/base-input.js +0 -1103
- package/components/input/src/buttonVersion.js +0 -1
- package/components/input/src/i18n.js +0 -102
- package/components/input/src/iconVersion.js +0 -1
- package/components/input/src/index.js +0 -6
- package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
- package/components/input/src/styles/borders-css.js +0 -2
- package/components/input/src/styles/borders.css +0 -35
- package/components/input/src/styles/borders.scss +0 -49
- package/components/input/src/styles/color-css.js +0 -2
- package/components/input/src/styles/color.css +0 -57
- package/components/input/src/styles/color.scss +0 -84
- package/components/input/src/styles/input-css.js +0 -2
- package/components/input/src/styles/input.css +0 -35
- package/components/input/src/styles/input.scss +0 -53
- package/components/input/src/styles/label-css.js +0 -2
- package/components/input/src/styles/label.css +0 -45
- package/components/input/src/styles/label.scss +0 -71
- package/components/input/src/styles/mixins-css.js +0 -2
- package/components/input/src/styles/mixins.css +0 -1
- package/components/input/src/styles/mixins.scss +0 -45
- package/components/input/src/styles/notificationIcons-css.js +0 -2
- package/components/input/src/styles/notificationIcons.css +0 -84
- package/components/input/src/styles/notificationIcons.scss +0 -109
- package/components/input/src/styles/style-css.js +0 -2
- package/components/input/src/styles/style.css +0 -283
- package/components/input/src/styles/style.scss +0 -52
- package/components/input/src/styles/tokens-css.js +0 -2
- package/components/input/src/styles/tokens.css +0 -8
- package/components/input/src/styles/tokens.scss +0 -10
- package/components/menu/.stylelintrc.json +0 -3
- package/components/menu/.turbo/turbo-build$colon$sass.log +0 -86
- package/components/menu/.turbo/turbo-build$colon$version.log +0 -7
- package/components/menu/.turbo/turbo-build.log +0 -185
- package/components/menu/.turbo/turbo-bundler.log +0 -13
- package/components/menu/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/menu/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/menu/.turbo/turbo-types.log +0 -4
- package/components/menu/dist/auro-menu-utils.d.ts.map +0 -1
- package/components/menu/dist/auro-menu.d.ts.map +0 -1
- package/components/menu/dist/auro-menuoption.d.ts.map +0 -1
- package/components/menu/dist/iconVersion.d.ts.map +0 -1
- package/components/menu/dist/index.d.ts.map +0 -1
- package/components/menu/dist/styles/color-menu-css.d.ts.map +0 -1
- package/components/menu/dist/styles/color-menuoption-css.d.ts.map +0 -1
- package/components/menu/dist/styles/style-menu-css.d.ts.map +0 -1
- package/components/menu/dist/styles/style-menuoption-css.d.ts.map +0 -1
- package/components/menu/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/menu/node_modules/chalk/package.json +0 -83
- package/components/menu/node_modules/chalk/readme.md +0 -325
- package/components/menu/node_modules/chalk/source/index.d.ts +0 -320
- package/components/menu/node_modules/chalk/source/index.js +0 -225
- package/components/menu/node_modules/chalk/source/utilities.js +0 -33
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/menu/node_modules/mime/CHANGELOG.md +0 -296
- package/components/menu/node_modules/mime/Mime.js +0 -97
- package/components/menu/node_modules/mime/README.md +0 -187
- package/components/menu/node_modules/mime/cli.js +0 -46
- package/components/menu/node_modules/mime/index.js +0 -4
- package/components/menu/node_modules/mime/lite.js +0 -4
- package/components/menu/node_modules/mime/package.json +0 -52
- package/components/menu/node_modules/mime/types/other.js +0 -1
- package/components/menu/node_modules/mime/types/standard.js +0 -1
- package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/menu/node_modules/rollup-plugin-serve/README.md +0 -135
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/menu/node_modules/rollup-plugin-serve/package.json +0 -44
- package/components/menu/package.json +0 -70
- package/components/menu/src/auro-menu-utils.js +0 -131
- package/components/menu/src/auro-menu.js +0 -728
- package/components/menu/src/auro-menuoption.js +0 -147
- package/components/menu/src/iconVersion.js +0 -1
- package/components/menu/src/index.js +0 -15
- package/components/menu/src/styles/color-menu-css.js +0 -2
- package/components/menu/src/styles/color-menu.css +0 -4
- package/components/menu/src/styles/color-menu.scss +0 -12
- package/components/menu/src/styles/color-menuoption-css.js +0 -2
- package/components/menu/src/styles/color-menuoption.css +0 -26
- package/components/menu/src/styles/color-menuoption.scss +0 -37
- package/components/menu/src/styles/style-menu-css.js +0 -2
- package/components/menu/src/styles/style-menu.css +0 -2061
- package/components/menu/src/styles/style-menu.scss +0 -80
- package/components/menu/src/styles/style-menuoption-css.js +0 -2
- package/components/menu/src/styles/style-menuoption.css +0 -45
- package/components/menu/src/styles/style-menuoption.scss +0 -66
- package/components/menu/src/styles/tokens-css.js +0 -2
- package/components/menu/src/styles/tokens.css +0 -6
- package/components/menu/src/styles/tokens.scss +0 -6
- package/components/radio/.stylelintrc.json +0 -3
- package/components/radio/.turbo/turbo-build$colon$sass.log +0 -130
- package/components/radio/.turbo/turbo-build.log +0 -215
- package/components/radio/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/radio/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/radio/dist/auro-radio-group.d.ts.map +0 -1
- package/components/radio/dist/auro-radio.d.ts.map +0 -1
- package/components/radio/dist/index.d.ts.map +0 -1
- package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +0 -1
- package/components/radio/dist/styles/color-css.d.ts.map +0 -1
- package/components/radio/dist/styles/groupColor-css.d.ts.map +0 -1
- package/components/radio/dist/styles/style-css.d.ts.map +0 -1
- package/components/radio/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/radio/node_modules/chalk/package.json +0 -83
- package/components/radio/node_modules/chalk/readme.md +0 -325
- package/components/radio/node_modules/chalk/source/index.d.ts +0 -320
- package/components/radio/node_modules/chalk/source/index.js +0 -225
- package/components/radio/node_modules/chalk/source/utilities.js +0 -33
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/radio/package.json +0 -69
- package/components/radio/src/auro-radio-group.js +0 -451
- package/components/radio/src/auro-radio.js +0 -256
- package/components/radio/src/index.js +0 -8
- package/components/radio/src/styles/auro-radio-group-css.js +0 -2
- package/components/radio/src/styles/auro-radio-group.css +0 -23
- package/components/radio/src/styles/auro-radio-group.scss +0 -36
- package/components/radio/src/styles/color-css.js +0 -2
- package/components/radio/src/styles/color.css +0 -45
- package/components/radio/src/styles/color.scss +0 -56
- package/components/radio/src/styles/groupColor-css.js +0 -2
- package/components/radio/src/styles/groupColor.css +0 -13
- package/components/radio/src/styles/groupColor.scss +0 -25
- package/components/radio/src/styles/style-css.js +0 -2
- package/components/radio/src/styles/style.css +0 -113
- package/components/radio/src/styles/style.scss +0 -99
- package/components/radio/src/styles/tokens-css.js +0 -2
- package/components/radio/src/styles/tokens.css +0 -8
- package/components/radio/src/styles/tokens.scss +0 -11
- package/components/select/.stylelintrc.json +0 -3
- package/components/select/.turbo/turbo-build$colon$sass.log +0 -122
- package/components/select/.turbo/turbo-build.log +0 -242
- package/components/select/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/select/.turbo/turbo-sass$colon$render.log +0 -22
- package/components/select/dist/auro-select.d.ts.map +0 -1
- package/components/select/dist/dropdownVersion.d.ts.map +0 -1
- package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/select/dist/index.d.ts.map +0 -1
- package/components/select/dist/styles/color-css.d.ts.map +0 -1
- package/components/select/dist/styles/style-css.d.ts.map +0 -1
- package/components/select/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/select/node_modules/chalk/package.json +0 -83
- package/components/select/node_modules/chalk/readme.md +0 -325
- package/components/select/node_modules/chalk/source/index.d.ts +0 -320
- package/components/select/node_modules/chalk/source/index.js +0 -225
- package/components/select/node_modules/chalk/source/utilities.js +0 -33
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/select/node_modules/mime/CHANGELOG.md +0 -296
- package/components/select/node_modules/mime/Mime.js +0 -97
- package/components/select/node_modules/mime/README.md +0 -187
- package/components/select/node_modules/mime/cli.js +0 -46
- package/components/select/node_modules/mime/index.js +0 -4
- package/components/select/node_modules/mime/lite.js +0 -4
- package/components/select/node_modules/mime/package.json +0 -52
- package/components/select/node_modules/mime/types/other.js +0 -1
- package/components/select/node_modules/mime/types/standard.js +0 -1
- package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/select/node_modules/rollup-plugin-serve/README.md +0 -135
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
- package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
- package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/select/node_modules/rollup-plugin-serve/package.json +0 -44
- package/components/select/package.json +0 -70
- package/components/select/packageScripts/postinstall.mjs +0 -28
- package/components/select/src/auro-select.js +0 -604
- package/components/select/src/dropdownVersion.js +0 -1
- package/components/select/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/select/src/index.js +0 -6
- package/components/select/src/styles/color-css.js +0 -2
- package/components/select/src/styles/color.css +0 -63
- package/components/select/src/styles/color.scss +0 -33
- package/components/select/src/styles/style-css.js +0 -2
- package/components/select/src/styles/style.css +0 -105
- package/components/select/src/styles/style.scss +0 -83
- package/components/select/src/styles/tokens-css.js +0 -2
- package/components/select/src/styles/tokens.css +0 -3
- package/components/select/src/styles/tokens.scss +0 -5
- package/packages/build-tools/package.json +0 -15
- package/packages/build-tools/src/docProcessor.mjs +0 -133
- package/packages/build-tools/src/formVersionWriter.mjs +0 -75
- package/packages/build-tools/src/index.js +0 -1
- package/packages/build-tools/src/kitDocProcessor.mjs +0 -66
- package/packages/form-validation/package.json +0 -12
- package/packages/form-validation/src/index.js +0 -1
- package/packages/form-validation/src/validation.js +0 -318
- package/packages/typescript/base.json +0 -19
- package/packages/typescript/package.json +0 -20
- package/packages/utils/package.json +0 -12
- package/packages/utils/src/iconUtil.js +0 -25
- package/packages/utils/src/index.js +0 -1
- package/turbo.json +0 -133
|
@@ -3,46 +3,46 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const t$
|
|
6
|
+
const t$7=globalThis,e$c=t$7.ShadowRoot&&(void 0===t$7.ShadyCSS||t$7.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$7=Symbol(),o$b=new WeakMap;let n$a = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$7)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$c&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$b.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$b.set(s,t));}return t}toString(){return this.cssText}};const r$c=t=>new n$a("string"==typeof t?t:t+"",void 0,s$7),i$f=(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$a(o,t,s$7)},S$6=(s,o)=>{if(e$c)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$7.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$9=e$c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$c(e)})(t):t;
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2017 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
|
-
*/const{is:i$
|
|
12
|
+
*/const{is:i$e,defineProperty:e$b,getOwnPropertyDescriptor:r$b,getOwnPropertyNames:h$6,getOwnPropertySymbols:o$a,getPrototypeOf:n$9}=Object,a$7=globalThis,c$8=a$7.trustedTypes,l$7=c$8?c$8.emptyScript:"",p$6=a$7.reactiveElementPolyfillSupport,d$6=(t,s)=>t,u$7={toAttribute(t,s){switch(s){case Boolean:t=t?l$7: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$e(t,s),y$4={attribute:true,type:String,converter:u$7,reflect:false,hasChanged:f$6};Symbol.metadata??=Symbol("metadata"),a$7.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$4){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$b(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$b(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$4}static _$Ei(){if(this.hasOwnProperty(d$6("elementProperties")))return;const t=n$9(this);t.finalize(),void 0!==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$a(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(void 0!==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);void 0!==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$9(s));}else void 0!==s&&i.push(c$9(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,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),void 0!==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(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$7).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(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$7;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==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=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===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$6?.({ReactiveElement:b$3}),(a$7.reactiveElementVersions??=[]).push("2.0.4");
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright 2017 Google LLC
|
|
17
17
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
18
|
*/
|
|
19
|
-
const t$
|
|
19
|
+
const t$6=globalThis,i$d=t$6.trustedTypes,s$6=i$d?i$d.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$a="$lit$",h$5=`lit$${Math.random().toFixed(9).slice(2)}$`,o$9="?"+h$5,n$8=`<${o$9}>`,r$a=document,l$6=()=>r$a.createComment(""),c$7=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$6=Array.isArray,u$6=t=>a$6(t)||"function"==typeof t?.[Symbol.iterator],d$5="[ \t\n\f\r]",f$5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$3=/>/g,m$3=RegExp(`>|${d$5}(?:([^\\s"'>=/]+)(${d$5}*=${d$5}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$5=/'/g,g$3=/"/g,$$3=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$3(1),T$3=Symbol.for("lit-noChange"),E$3=Symbol.for("lit-nothing"),A$3=new WeakMap,C$3=r$a.createTreeWalker(r$a,129);function P$3(t,i){if(!a$6(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$6?s$6.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$3:void 0!==u[1]?c=_$3:void 0!==u[2]?($$3.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$3):void 0!==u[3]&&(c=m$3):c===m$3?">"===u[0]?(c=r??f$5,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$3:'"'===u[3]?g$3:p$5):c===g$3||c===p$5?c=m$3:c===v$3||c===_$3?c=f$5:(c=m$3,r=void 0);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$5?s+n$8:d>=0?(o.push(a),s.slice(0,d)+e$a+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$a)){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$d?i$d.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$6()),C$3.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$6());}}}else if(8===r.nodeType)if(r.data===o$9)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$a.createElement("template");return s.innerHTML=t,s}};function S$5(t,i,s=t,e){if(i===T$3)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$7(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$5(t,h._$AS(t,i.values),h,e)),i}let M$3 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,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$a).importNode(i,true);C$3.currentNode=e;let h=C$3.nextNode(),o=0,n=0,l=s[0];for(;void 0!==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$a,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==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=void 0,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 void 0!==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$7(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):void 0!==t._$litType$?this.$(t):void 0!==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$3&&c$7(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$a.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===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$3(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 void 0===i&&A$3.set(t.strings,i=new N$3(t)),i}k(t){a$6(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$6()),this.O(l$6()),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){ void 0===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=void 0,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(void 0===h)t=S$5(this,t,i,0),o=!c$7(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$7(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?void 0: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=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$5(this,t);}};const j$3=t$6.litHtmlPolyfillSupport;j$3?.(N$3,R$3),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$3=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$3(i.insertBefore(l$6(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/let r$9 = class r extends b$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
25
|
+
*/let r$9 = class r extends b$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}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$9._$litElement$=true,r$9["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$9});const i$c=globalThis.litElementPolyfillSupport;i$c?.({LitElement:r$9});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* @license
|
|
29
29
|
* Copyright 2017 Google LLC
|
|
30
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
31
|
*/
|
|
32
|
-
const t$
|
|
32
|
+
const t$5={ATTRIBUTE:1},e$9=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)}};
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* @license
|
|
36
36
|
* Copyright 2018 Google LLC
|
|
37
37
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
38
|
-
*/const e$
|
|
38
|
+
*/const e$8=e$9(class extends i$b{constructor(t){if(super(t),t.type!==t$5.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(void 0===this.st){this.st=new Set,void 0!==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}});
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* @license
|
|
42
42
|
* Copyright 2020 Google LLC
|
|
43
43
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
44
44
|
*/
|
|
45
|
-
const a$
|
|
45
|
+
const a$5=Symbol.for(""),o$8=t=>{if(t?.r===a$5)return t?._$litStatic$},s$5=t=>({_$litStatic$:t,r:a$5}),i$a=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==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$5}),l$5=new Map,n$7=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$8(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$$");void 0===(r=l$5.get(t))&&(n.raw=n,l$5.set(t,r=n)),e=u;}return t(r,...e)},u$5=n$7(x$1);
|
|
46
46
|
|
|
47
47
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
48
48
|
// See LICENSE in the project root for license information.
|
|
@@ -51,7 +51,7 @@ const a$6=Symbol.for(""),o$9=t=>{if(t?.r===a$6)return t?._$litStatic$},s$6=t=>({
|
|
|
51
51
|
|
|
52
52
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
53
53
|
|
|
54
|
-
let AuroLibraryRuntimeUtils$
|
|
54
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
55
55
|
|
|
56
56
|
/* eslint-disable jsdoc/require-param */
|
|
57
57
|
|
|
@@ -120,7 +120,7 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
|
120
120
|
|
|
121
121
|
class AuroFormValidation {
|
|
122
122
|
constructor() {
|
|
123
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
123
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
/**
|
|
@@ -432,7 +432,7 @@ class AuroFormValidation {
|
|
|
432
432
|
// See LICENSE in the project root for license information.
|
|
433
433
|
|
|
434
434
|
|
|
435
|
-
let AuroDependencyVersioning$
|
|
435
|
+
let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
436
436
|
|
|
437
437
|
/**
|
|
438
438
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -458,7 +458,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
458
458
|
*/
|
|
459
459
|
generateTag(baseName, version, tagClass) {
|
|
460
460
|
const elementName = this.generateElementName(baseName, version);
|
|
461
|
-
const tag = i$
|
|
461
|
+
const tag = i$a`${s$5(elementName)}`;
|
|
462
462
|
|
|
463
463
|
if (!customElements.get(elementName)) {
|
|
464
464
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -473,33 +473,33 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
473
473
|
* Copyright 2017 Google LLC
|
|
474
474
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
475
475
|
*/
|
|
476
|
-
const t$4=globalThis,i$9=t$4.trustedTypes,s$4=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):
|
|
476
|
+
const t$4=globalThis,i$9=t$4.trustedTypes,s$4=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7="?"+h$3,n$6=`<${o$7}>`,r$7=document,l$4=()=>r$7.createComment(""),c$5=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$4=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$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$3=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$2=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y$2(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$7.createTreeWalker(r$7,129);function P$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$4?s$4.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$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$3,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$3):c===g$1||c===p$3?c=m$1:c===v$1||c===_$1?c=f$3:(c=m$1,r=void 0);const x=c===m$1&&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$7.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$5(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,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).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;void 0!==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$7,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==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=void 0,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 void 0!==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$5(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):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$4(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$5(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===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$1(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 void 0===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){ void 0===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=void 0,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(void 0===h)t=S$3(this,t,i,0),o=!c$5(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$5(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?void 0: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=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const j$1=t$4.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$4.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$4(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
479
|
* @license
|
|
480
480
|
* Copyright 2020 Google LLC
|
|
481
481
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
482
482
|
*/
|
|
483
|
-
const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({_$litStatic$:t,r:a$3}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(
|
|
483
|
+
const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({_$litStatic$:t,r:a$3}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==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&&void 0!==(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$$");void 0===(r=l$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$5(x);
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
486
|
* @license
|
|
487
487
|
* Copyright 2019 Google LLC
|
|
488
488
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
489
489
|
*/
|
|
490
|
-
const t$3=globalThis,e$6=t$3.ShadowRoot&&(
|
|
490
|
+
const t$3=globalThis,e$6=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$1=Symbol(),o$5=new WeakMap;let n$4 = 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&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$5.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5.set(s,t));}return t}toString(){return this.cssText}};const r$6=t=>new n$4("string"==typeof t?t:t+"",void 0,s$2$1),i$7=(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$1)},S$2=(s,o)=>{if(e$6)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.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4=e$6?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
|
|
491
491
|
|
|
492
492
|
/**
|
|
493
493
|
* @license
|
|
494
494
|
* Copyright 2017 Google LLC
|
|
495
495
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
496
|
-
*/const{is:i$6,defineProperty:e$5,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$4$1,getPrototypeOf:n$3$1}=Object,a$2$1=globalThis,c$3=a$2$1.trustedTypes,l$2$1=c$3?c$3.emptyScript:"",p$2=a$2$1.reactiveElementPolyfillSupport,d$2=(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=(t,s)=>!i$6(t,s),y
|
|
496
|
+
*/const{is:i$6,defineProperty:e$5,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$4$1,getPrototypeOf:n$3$1}=Object,a$2$1=globalThis,c$3=a$2$1.trustedTypes,l$2$1=c$3?c$3.emptyScript:"",p$2=a$2$1.reactiveElementPolyfillSupport,d$2=(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=(t,s)=>!i$6(t,s),y={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$2$1.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){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$5(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}static _$Ei(){if(this.hasOwnProperty(d$2("elementProperties")))return;const t=n$3$1(this);t.finalize(),void 0!==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$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(void 0!==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);void 0!==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 void 0!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,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),void 0!==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(void 0!==e&&true===i.reflect){const r=(void 0!==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(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==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(void 0!==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=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===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$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
497
497
|
|
|
498
498
|
/**
|
|
499
499
|
* @license
|
|
500
500
|
* Copyright 2017 Google LLC
|
|
501
501
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
502
|
-
*/let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
502
|
+
*/let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}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$5$1=globalThis.litElementPolyfillSupport;i$5$1?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
503
503
|
|
|
504
504
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
505
505
|
// See LICENSE in the project root for license information.
|
|
@@ -508,7 +508,7 @@ const t$3=globalThis,e$6=t$3.ShadowRoot&&(undefined===t$3.ShadyCSS||t$3.ShadyCSS
|
|
|
508
508
|
|
|
509
509
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
510
510
|
|
|
511
|
-
|
|
511
|
+
class AuroLibraryRuntimeUtils {
|
|
512
512
|
|
|
513
513
|
/* eslint-disable jsdoc/require-param */
|
|
514
514
|
|
|
@@ -569,7 +569,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
569
569
|
|
|
570
570
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
571
571
|
}
|
|
572
|
-
}
|
|
572
|
+
}
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
575
|
* Custom positioning reference element.
|
|
@@ -619,7 +619,7 @@ function getAlignmentAxis(placement) {
|
|
|
619
619
|
return getOppositeAxis(getSideAxis(placement));
|
|
620
620
|
}
|
|
621
621
|
function getAlignmentSides(placement, rects, rtl) {
|
|
622
|
-
if (rtl ===
|
|
622
|
+
if (rtl === void 0) {
|
|
623
623
|
rtl = false;
|
|
624
624
|
}
|
|
625
625
|
const alignment = getAlignment(placement);
|
|
@@ -776,7 +776,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
776
776
|
platform
|
|
777
777
|
} = config;
|
|
778
778
|
const validMiddleware = middleware.filter(Boolean);
|
|
779
|
-
const rtl = await (platform.isRTL == null ?
|
|
779
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
780
780
|
let rects = await platform.getElementRects({
|
|
781
781
|
reference,
|
|
782
782
|
floating,
|
|
@@ -862,7 +862,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
862
862
|
*/
|
|
863
863
|
async function detectOverflow(state, options) {
|
|
864
864
|
var _await$platform$isEle;
|
|
865
|
-
if (options ===
|
|
865
|
+
if (options === void 0) {
|
|
866
866
|
options = {};
|
|
867
867
|
}
|
|
868
868
|
const {
|
|
@@ -884,7 +884,7 @@ async function detectOverflow(state, options) {
|
|
|
884
884
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
885
885
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
886
886
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
887
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ?
|
|
887
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
888
888
|
boundary,
|
|
889
889
|
rootBoundary,
|
|
890
890
|
strategy
|
|
@@ -895,8 +895,8 @@ async function detectOverflow(state, options) {
|
|
|
895
895
|
width: rects.floating.width,
|
|
896
896
|
height: rects.floating.height
|
|
897
897
|
} : rects.reference;
|
|
898
|
-
const offsetParent = await (platform.getOffsetParent == null ?
|
|
899
|
-
const offsetScale = (await (platform.isElement == null ?
|
|
898
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
899
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
900
900
|
x: 1,
|
|
901
901
|
y: 1
|
|
902
902
|
} : {
|
|
@@ -933,7 +933,7 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
|
933
933
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
934
934
|
*/
|
|
935
935
|
const autoPlacement$1 = function (options) {
|
|
936
|
-
if (options ===
|
|
936
|
+
if (options === void 0) {
|
|
937
937
|
options = {};
|
|
938
938
|
}
|
|
939
939
|
return {
|
|
@@ -957,12 +957,12 @@ const autoPlacement$1 = function (options) {
|
|
|
957
957
|
} = evaluate(options, state);
|
|
958
958
|
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
959
959
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
960
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ?
|
|
960
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
961
961
|
const currentPlacement = placements$1[currentIndex];
|
|
962
962
|
if (currentPlacement == null) {
|
|
963
963
|
return {};
|
|
964
964
|
}
|
|
965
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ?
|
|
965
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
966
966
|
|
|
967
967
|
// Make `computeCoords` start from the right place.
|
|
968
968
|
if (placement !== currentPlacement) {
|
|
@@ -973,7 +973,7 @@ const autoPlacement$1 = function (options) {
|
|
|
973
973
|
};
|
|
974
974
|
}
|
|
975
975
|
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
976
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ?
|
|
976
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
977
977
|
placement: currentPlacement,
|
|
978
978
|
overflows: currentOverflows
|
|
979
979
|
}];
|
|
@@ -1003,7 +1003,7 @@ const autoPlacement$1 = function (options) {
|
|
|
1003
1003
|
// Aligned placements should not check their opposite crossAxis
|
|
1004
1004
|
// side.
|
|
1005
1005
|
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
1006
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ?
|
|
1006
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
1007
1007
|
if (resetPlacement !== placement) {
|
|
1008
1008
|
return {
|
|
1009
1009
|
data: {
|
|
@@ -1027,7 +1027,7 @@ const autoPlacement$1 = function (options) {
|
|
|
1027
1027
|
* @see https://floating-ui.com/docs/flip
|
|
1028
1028
|
*/
|
|
1029
1029
|
const flip$1 = function (options) {
|
|
1030
|
-
if (options ===
|
|
1030
|
+
if (options === void 0) {
|
|
1031
1031
|
options = {};
|
|
1032
1032
|
}
|
|
1033
1033
|
return {
|
|
@@ -1063,7 +1063,7 @@ const flip$1 = function (options) {
|
|
|
1063
1063
|
const side = getSide(placement);
|
|
1064
1064
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
1065
1065
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
1066
|
-
const rtl = await (platform.isRTL == null ?
|
|
1066
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
1067
1067
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
1068
1068
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
1069
1069
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -1072,7 +1072,7 @@ const flip$1 = function (options) {
|
|
|
1072
1072
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
1073
1073
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1074
1074
|
const overflows = [];
|
|
1075
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
1075
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
1076
1076
|
if (checkMainAxis) {
|
|
1077
1077
|
overflows.push(overflow[side]);
|
|
1078
1078
|
}
|
|
@@ -1088,7 +1088,7 @@ const flip$1 = function (options) {
|
|
|
1088
1088
|
// One or more sides is overflowing.
|
|
1089
1089
|
if (!overflows.every(side => side <= 0)) {
|
|
1090
1090
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
1091
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
1091
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
1092
1092
|
const nextPlacement = placements[nextIndex];
|
|
1093
1093
|
if (nextPlacement) {
|
|
1094
1094
|
// Try next placement and re-run the lifecycle.
|
|
@@ -1105,7 +1105,7 @@ const flip$1 = function (options) {
|
|
|
1105
1105
|
|
|
1106
1106
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
1107
1107
|
// then find the placement that fits the best on the main crossAxis side.
|
|
1108
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ?
|
|
1108
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
1109
1109
|
|
|
1110
1110
|
// Otherwise fallback.
|
|
1111
1111
|
if (!resetPlacement) {
|
|
@@ -1122,7 +1122,7 @@ const flip$1 = function (options) {
|
|
|
1122
1122
|
currentSideAxis === 'y';
|
|
1123
1123
|
}
|
|
1124
1124
|
return true;
|
|
1125
|
-
}).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 ?
|
|
1125
|
+
}).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 ? void 0 : _overflowsData$filter2[0];
|
|
1126
1126
|
if (placement) {
|
|
1127
1127
|
resetPlacement = placement;
|
|
1128
1128
|
}
|
|
@@ -1155,7 +1155,7 @@ async function convertValueToCoords(state, options) {
|
|
|
1155
1155
|
platform,
|
|
1156
1156
|
elements
|
|
1157
1157
|
} = state;
|
|
1158
|
-
const rtl = await (platform.isRTL == null ?
|
|
1158
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
1159
1159
|
const side = getSide(placement);
|
|
1160
1160
|
const alignment = getAlignment(placement);
|
|
1161
1161
|
const isVertical = getSideAxis(placement) === 'y';
|
|
@@ -1197,7 +1197,7 @@ async function convertValueToCoords(state, options) {
|
|
|
1197
1197
|
* @see https://floating-ui.com/docs/offset
|
|
1198
1198
|
*/
|
|
1199
1199
|
const offset$1 = function (options) {
|
|
1200
|
-
if (options ===
|
|
1200
|
+
if (options === void 0) {
|
|
1201
1201
|
options = 0;
|
|
1202
1202
|
}
|
|
1203
1203
|
return {
|
|
@@ -1215,7 +1215,7 @@ const offset$1 = function (options) {
|
|
|
1215
1215
|
|
|
1216
1216
|
// If the placement is the same and the arrow caused an alignment offset
|
|
1217
1217
|
// then we don't need to change the positioning coordinates.
|
|
1218
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
1218
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
1219
1219
|
return {};
|
|
1220
1220
|
}
|
|
1221
1221
|
return {
|
|
@@ -1244,11 +1244,11 @@ function getNodeName(node) {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
function getWindow(node) {
|
|
1246
1246
|
var _node$ownerDocument;
|
|
1247
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
1247
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
1248
1248
|
}
|
|
1249
1249
|
function getDocumentElement(node) {
|
|
1250
1250
|
var _ref;
|
|
1251
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
1251
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
1252
1252
|
}
|
|
1253
1253
|
function isNode(value) {
|
|
1254
1254
|
if (!hasWindow()) {
|
|
@@ -1363,14 +1363,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
1365
1365
|
var _node$ownerDocument2;
|
|
1366
|
-
if (list ===
|
|
1366
|
+
if (list === void 0) {
|
|
1367
1367
|
list = [];
|
|
1368
1368
|
}
|
|
1369
|
-
if (traverseIframes ===
|
|
1369
|
+
if (traverseIframes === void 0) {
|
|
1370
1370
|
traverseIframes = true;
|
|
1371
1371
|
}
|
|
1372
1372
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
1373
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
1373
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
1374
1374
|
const win = getWindow(scrollableAncestor);
|
|
1375
1375
|
if (isBody) {
|
|
1376
1376
|
const frameElement = getFrameElement(win);
|
|
@@ -1447,7 +1447,7 @@ function getVisualOffsets(element) {
|
|
|
1447
1447
|
};
|
|
1448
1448
|
}
|
|
1449
1449
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1450
|
-
if (isFixed ===
|
|
1450
|
+
if (isFixed === void 0) {
|
|
1451
1451
|
isFixed = false;
|
|
1452
1452
|
}
|
|
1453
1453
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
@@ -1457,10 +1457,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
|
|
1459
1459
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1460
|
-
if (includeScale ===
|
|
1460
|
+
if (includeScale === void 0) {
|
|
1461
1461
|
includeScale = false;
|
|
1462
1462
|
}
|
|
1463
|
-
if (isFixedStrategy ===
|
|
1463
|
+
if (isFixedStrategy === void 0) {
|
|
1464
1464
|
isFixedStrategy = false;
|
|
1465
1465
|
}
|
|
1466
1466
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -1520,7 +1520,7 @@ function getWindowScrollBarX(element, rect) {
|
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
1522
|
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1523
|
-
if (ignoreScrollbarX ===
|
|
1523
|
+
if (ignoreScrollbarX === void 0) {
|
|
1524
1524
|
ignoreScrollbarX = false;
|
|
1525
1525
|
}
|
|
1526
1526
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
@@ -1870,10 +1870,10 @@ function observeMove(element, onMove) {
|
|
|
1870
1870
|
io = null;
|
|
1871
1871
|
}
|
|
1872
1872
|
function refresh(skip, threshold) {
|
|
1873
|
-
if (skip ===
|
|
1873
|
+
if (skip === void 0) {
|
|
1874
1874
|
skip = false;
|
|
1875
1875
|
}
|
|
1876
|
-
if (threshold ===
|
|
1876
|
+
if (threshold === void 0) {
|
|
1877
1877
|
threshold = 1;
|
|
1878
1878
|
}
|
|
1879
1879
|
cleanup();
|
|
@@ -1944,7 +1944,7 @@ function observeMove(element, onMove) {
|
|
|
1944
1944
|
* @see https://floating-ui.com/docs/autoUpdate
|
|
1945
1945
|
*/
|
|
1946
1946
|
function autoUpdate(reference, floating, update, options) {
|
|
1947
|
-
if (options ===
|
|
1947
|
+
if (options === void 0) {
|
|
1948
1948
|
options = {};
|
|
1949
1949
|
}
|
|
1950
1950
|
const {
|
|
@@ -2079,37 +2079,23 @@ class AuroFloatingUI {
|
|
|
2079
2079
|
}
|
|
2080
2080
|
|
|
2081
2081
|
/**
|
|
2082
|
-
*
|
|
2083
|
-
*
|
|
2084
|
-
*
|
|
2085
|
-
* This method retrieves the computed styles of the bibSizer element and applies them to the bib content.
|
|
2086
|
-
* If the fullscreen parameter is true, it resets the dimensions to their default values. Otherwise, it
|
|
2087
|
-
* mirrors the width and height from the bibSizer, ensuring that they are not set to zero.
|
|
2088
|
-
*
|
|
2089
|
-
* @param {boolean} fullscreen - A flag indicating whether to reset the dimensions for fullscreen mode.
|
|
2090
|
-
* If true, the bib content dimensions are cleared; if false, they are set
|
|
2091
|
-
* based on the bibSizer's computed styles.
|
|
2082
|
+
* Mirrors the size of the bibSizer element to the bib content.
|
|
2083
|
+
* Copies the width, height, max-width, and max-height styles from the bibSizer element to the bib content container.
|
|
2084
|
+
* This ensures that the bib content has the same dimensions as the sizer element.
|
|
2092
2085
|
*/
|
|
2093
|
-
mirrorSize(
|
|
2086
|
+
mirrorSize() {
|
|
2094
2087
|
// mirror the boxsize from bibSizer
|
|
2095
2088
|
if (this.element.bibSizer) {
|
|
2096
2089
|
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
2097
2090
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2098
|
-
if (
|
|
2099
|
-
bibContent.style.width =
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
bibContent.style.
|
|
2103
|
-
} else {
|
|
2104
|
-
if (sizerStyle.width !== '0px') {
|
|
2105
|
-
bibContent.style.width = sizerStyle.width;
|
|
2106
|
-
}
|
|
2107
|
-
if (sizerStyle.height !== '0px') {
|
|
2108
|
-
bibContent.style.height = sizerStyle.height;
|
|
2109
|
-
}
|
|
2110
|
-
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
2111
|
-
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
2091
|
+
if (sizerStyle.width !== '0px') {
|
|
2092
|
+
bibContent.style.width = sizerStyle.width;
|
|
2093
|
+
}
|
|
2094
|
+
if (sizerStyle.height !== '0px') {
|
|
2095
|
+
bibContent.style.height = sizerStyle.height;
|
|
2112
2096
|
}
|
|
2097
|
+
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
2098
|
+
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
2113
2099
|
}
|
|
2114
2100
|
}
|
|
2115
2101
|
|
|
@@ -2125,11 +2111,12 @@ class AuroFloatingUI {
|
|
|
2125
2111
|
getPositioningStrategy() {
|
|
2126
2112
|
let strategy = 'floating';
|
|
2127
2113
|
if (this.element.bib.mobileFullscreenBreakpoint) {
|
|
2128
|
-
const
|
|
2129
|
-
if (
|
|
2114
|
+
const smallerThanBreakpoint = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
|
|
2115
|
+
if (smallerThanBreakpoint) {
|
|
2130
2116
|
strategy = 'fullscreen';
|
|
2131
2117
|
}
|
|
2132
2118
|
}
|
|
2119
|
+
|
|
2133
2120
|
return strategy;
|
|
2134
2121
|
}
|
|
2135
2122
|
|
|
@@ -2143,13 +2130,10 @@ class AuroFloatingUI {
|
|
|
2143
2130
|
*/
|
|
2144
2131
|
position() {
|
|
2145
2132
|
const strategy = this.getPositioningStrategy();
|
|
2146
|
-
|
|
2147
|
-
this.configureBibFullscreen(true);
|
|
2148
|
-
this.mirrorSize(true);
|
|
2149
|
-
} else {
|
|
2150
|
-
this.configureBibFullscreen(false);
|
|
2151
|
-
this.mirrorSize(false);
|
|
2133
|
+
this.configureBibStrategy(strategy);
|
|
2152
2134
|
|
|
2135
|
+
if (strategy === 'floating') {
|
|
2136
|
+
this.mirrorSize();
|
|
2153
2137
|
// Define the middlware for the floater configuration
|
|
2154
2138
|
const middleware = [
|
|
2155
2139
|
offset(this.element.floaterConfig.offset || 0),
|
|
@@ -2160,7 +2144,7 @@ class AuroFloatingUI {
|
|
|
2160
2144
|
// Compute the position of the bib
|
|
2161
2145
|
computePosition(this.element.trigger, this.element.bib, {
|
|
2162
2146
|
placement: this.element.floaterConfig.placement || 'bottom',
|
|
2163
|
-
middleware: middleware
|
|
2147
|
+
middleware: middleware || []
|
|
2164
2148
|
}).then(({x, y}) => { // eslint-disable-line id-length
|
|
2165
2149
|
Object.assign(this.element.bib.style, {
|
|
2166
2150
|
left: `${x}px`,
|
|
@@ -2172,22 +2156,62 @@ class AuroFloatingUI {
|
|
|
2172
2156
|
|
|
2173
2157
|
/**
|
|
2174
2158
|
* @private
|
|
2175
|
-
*
|
|
2159
|
+
* Controls whether to lock the scrolling for the document's body.
|
|
2160
|
+
* @param {Boolean} lock - If true, locks the body's scrolling functionlity; otherwise, unlock.
|
|
2161
|
+
*/
|
|
2162
|
+
lockScroll(lock = true) {
|
|
2163
|
+
if (lock) {
|
|
2164
|
+
document.body.style.overflow = 'hidden'; // hide body's scrollbar
|
|
2165
|
+
|
|
2166
|
+
// Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
|
|
2167
|
+
this.element.bib.style.transform = `translateY(${visualViewport.offsetTop}px)`;
|
|
2168
|
+
} else {
|
|
2169
|
+
document.body.style.overflow = '';
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
* @private
|
|
2175
|
+
* Configures the bib element's display strategy.
|
|
2176
2176
|
*
|
|
2177
|
-
*
|
|
2178
|
-
*
|
|
2179
|
-
* 'isFullscreen' attribute, indicating that the bib is not in fullscreen mode.
|
|
2177
|
+
* Sets the bib to fullscreen or floating mode based on the provided strategy.
|
|
2178
|
+
* Dispatches a 'strategy-change' event if the strategy changes.
|
|
2180
2179
|
*
|
|
2181
|
-
* @param {
|
|
2180
|
+
* @param {string} strategy - The positioning strategy ('fullscreen' or 'floating').
|
|
2182
2181
|
*/
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2182
|
+
configureBibStrategy(strategy) {
|
|
2183
|
+
const prevStrategy = this.element.isBibFullscreen ? 'fullscreen' : 'floating';
|
|
2184
|
+
if (strategy === 'fullscreen') {
|
|
2185
|
+
this.element.isBibFullscreen = true;
|
|
2186
2186
|
// reset the prev position
|
|
2187
2187
|
this.element.bib.style.top = "0px";
|
|
2188
2188
|
this.element.bib.style.left = "0px";
|
|
2189
|
+
|
|
2190
|
+
// reset the size that was mirroring `size` css-part
|
|
2191
|
+
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2192
|
+
bibContent.style.width = '';
|
|
2193
|
+
bibContent.style.height = '';
|
|
2194
|
+
bibContent.style.maxWidth = '';
|
|
2195
|
+
bibContent.style.maxHeight = `${window.visualViewport.height}px`;
|
|
2196
|
+
|
|
2197
|
+
if (this.element.isPopoverVisible) {
|
|
2198
|
+
this.lockScroll(true);
|
|
2199
|
+
}
|
|
2189
2200
|
} else {
|
|
2190
|
-
this.element.
|
|
2201
|
+
this.element.isBibFullscreen = false;
|
|
2202
|
+
|
|
2203
|
+
this.lockScroll(false);
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
if (prevStrategy !== strategy) {
|
|
2207
|
+
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-strategy-change` : 'strategy-change', {
|
|
2208
|
+
detail: {
|
|
2209
|
+
strategy,
|
|
2210
|
+
},
|
|
2211
|
+
composed: true
|
|
2212
|
+
});
|
|
2213
|
+
|
|
2214
|
+
this.element.dispatchEvent(event);
|
|
2191
2215
|
}
|
|
2192
2216
|
}
|
|
2193
2217
|
|
|
@@ -2293,6 +2317,7 @@ class AuroFloatingUI {
|
|
|
2293
2317
|
this.updateCurrentExpandedDropdown();
|
|
2294
2318
|
this.element.isPopoverVisible = true;
|
|
2295
2319
|
this.element.triggerChevron?.setAttribute('data-expanded', true);
|
|
2320
|
+
|
|
2296
2321
|
this.dispatchEventDropdownToggle();
|
|
2297
2322
|
this.position();
|
|
2298
2323
|
|
|
@@ -2310,6 +2335,7 @@ class AuroFloatingUI {
|
|
|
2310
2335
|
hideBib() {
|
|
2311
2336
|
if (this.element.isPopoverVisible && !this.element.disabled && !this.element.noToggle) {
|
|
2312
2337
|
this.element.isPopoverVisible = false;
|
|
2338
|
+
this.lockScroll(false);
|
|
2313
2339
|
this.element.triggerChevron?.removeAttribute('data-expanded');
|
|
2314
2340
|
this.dispatchEventDropdownToggle();
|
|
2315
2341
|
}
|
|
@@ -2322,7 +2348,7 @@ class AuroFloatingUI {
|
|
|
2322
2348
|
dispatchEventDropdownToggle() {
|
|
2323
2349
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
2324
2350
|
detail: {
|
|
2325
|
-
expanded: this.isPopoverVisible,
|
|
2351
|
+
expanded: this.element.isPopoverVisible,
|
|
2326
2352
|
},
|
|
2327
2353
|
composed: true
|
|
2328
2354
|
});
|
|
@@ -2339,7 +2365,7 @@ class AuroFloatingUI {
|
|
|
2339
2365
|
|
|
2340
2366
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
|
|
2341
2367
|
composed: true,
|
|
2342
|
-
|
|
2368
|
+
detail: {
|
|
2343
2369
|
expanded: this.element.isPopoverVisible
|
|
2344
2370
|
}
|
|
2345
2371
|
});
|
|
@@ -2391,6 +2417,12 @@ class AuroFloatingUI {
|
|
|
2391
2417
|
}
|
|
2392
2418
|
}
|
|
2393
2419
|
|
|
2420
|
+
/**
|
|
2421
|
+
* Manages the tabIndex of the trigger element based on its focusability.
|
|
2422
|
+
*
|
|
2423
|
+
* If the trigger element or any of its children are inherently focusable, the tabIndex of the component is set to -1.
|
|
2424
|
+
* This prevents the component itself from being focusable when the trigger element already handles focus.
|
|
2425
|
+
*/
|
|
2394
2426
|
handleTriggerTabIndex() {
|
|
2395
2427
|
const focusableElementSelectors = [
|
|
2396
2428
|
'a',
|
|
@@ -2405,6 +2437,9 @@ class AuroFloatingUI {
|
|
|
2405
2437
|
];
|
|
2406
2438
|
|
|
2407
2439
|
const triggerNode = this.element.querySelectorAll('[slot="trigger"]')[0];
|
|
2440
|
+
if (!triggerNode) {
|
|
2441
|
+
return;
|
|
2442
|
+
}
|
|
2408
2443
|
const triggerNodeTagName = triggerNode.tagName.toLowerCase();
|
|
2409
2444
|
|
|
2410
2445
|
focusableElementSelectors.forEach((selector) => {
|
|
@@ -2433,12 +2468,13 @@ class AuroFloatingUI {
|
|
|
2433
2468
|
|
|
2434
2469
|
this.handleTriggerTabIndex();
|
|
2435
2470
|
|
|
2436
|
-
this.
|
|
2437
|
-
this.element.trigger.addEventListener('
|
|
2438
|
-
this.element.trigger.addEventListener('
|
|
2439
|
-
this.element.trigger.addEventListener('
|
|
2440
|
-
this.element.trigger.addEventListener('
|
|
2441
|
-
this.element.trigger.addEventListener('
|
|
2471
|
+
this.handleEvent = this.handleEvent.bind(this);
|
|
2472
|
+
this.element.trigger.addEventListener('keydown', this.handleEvent);
|
|
2473
|
+
this.element.trigger.addEventListener('click', this.handleEvent);
|
|
2474
|
+
this.element.trigger.addEventListener('mouseenter', this.handleEvent);
|
|
2475
|
+
this.element.trigger.addEventListener('mouseleave', this.handleEvent);
|
|
2476
|
+
this.element.trigger.addEventListener('focus', this.handleEvent);
|
|
2477
|
+
this.element.trigger.addEventListener('blur', this.handleEvent);
|
|
2442
2478
|
}
|
|
2443
2479
|
|
|
2444
2480
|
disconnect() {
|
|
@@ -2447,12 +2483,12 @@ class AuroFloatingUI {
|
|
|
2447
2483
|
|
|
2448
2484
|
// Remove event & keyboard listeners
|
|
2449
2485
|
if (this.element?.trigger) {
|
|
2450
|
-
this.element.trigger.removeEventListener('keydown',
|
|
2451
|
-
this.element.trigger.removeEventListener('click',
|
|
2452
|
-
this.element.trigger.removeEventListener('mouseenter',
|
|
2453
|
-
this.element.trigger.removeEventListener('mouseleave',
|
|
2454
|
-
this.element.trigger.removeEventListener('focus',
|
|
2455
|
-
this.element.trigger.removeEventListener('blur',
|
|
2486
|
+
this.element.trigger.removeEventListener('keydown', this.handleEvent);
|
|
2487
|
+
this.element.trigger.removeEventListener('click', this.handleEvent);
|
|
2488
|
+
this.element.trigger.removeEventListener('mouseenter', this.handleEvent);
|
|
2489
|
+
this.element.trigger.removeEventListener('mouseleave', this.handleEvent);
|
|
2490
|
+
this.element.trigger.removeEventListener('focus', this.handleEvent);
|
|
2491
|
+
this.element.trigger.removeEventListener('blur', this.handleEvent);
|
|
2456
2492
|
}
|
|
2457
2493
|
}
|
|
2458
2494
|
}
|
|
@@ -2461,7 +2497,7 @@ class AuroFloatingUI {
|
|
|
2461
2497
|
// See LICENSE in the project root for license information.
|
|
2462
2498
|
|
|
2463
2499
|
|
|
2464
|
-
|
|
2500
|
+
class AuroDependencyVersioning {
|
|
2465
2501
|
|
|
2466
2502
|
/**
|
|
2467
2503
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -2495,20 +2531,20 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
2495
2531
|
|
|
2496
2532
|
return tag;
|
|
2497
2533
|
}
|
|
2498
|
-
}
|
|
2534
|
+
}
|
|
2499
2535
|
|
|
2500
2536
|
/**
|
|
2501
2537
|
* @license
|
|
2502
2538
|
* Copyright 2017 Google LLC
|
|
2503
2539
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2504
2540
|
*/
|
|
2505
|
-
const t$2$1={ATTRIBUTE:1
|
|
2541
|
+
const t$2$1={ATTRIBUTE:1},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)}};
|
|
2506
2542
|
|
|
2507
2543
|
/**
|
|
2508
2544
|
* @license
|
|
2509
2545
|
* Copyright 2018 Google LLC
|
|
2510
2546
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2511
|
-
*/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(
|
|
2547
|
+
*/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(void 0===this.st){this.st=new Set,void 0!==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}});
|
|
2512
2548
|
|
|
2513
2549
|
/**
|
|
2514
2550
|
* @license
|
|
@@ -2526,7 +2562,7 @@ const t$2$1={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:
|
|
|
2526
2562
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
2527
2563
|
*/
|
|
2528
2564
|
|
|
2529
|
-
|
|
2565
|
+
class AuroElement extends r$4 {
|
|
2530
2566
|
|
|
2531
2567
|
// function to define props used within the scope of this component
|
|
2532
2568
|
static get properties() {
|
|
@@ -2550,13 +2586,13 @@ let AuroElement$1 = class AuroElement extends r$4 {
|
|
|
2550
2586
|
|
|
2551
2587
|
return 'false'
|
|
2552
2588
|
}
|
|
2553
|
-
}
|
|
2589
|
+
}
|
|
2554
2590
|
|
|
2555
|
-
var error
|
|
2591
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
2556
2592
|
|
|
2557
2593
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
2558
2594
|
|
|
2559
|
-
const _fetchMap
|
|
2595
|
+
const _fetchMap = new Map();
|
|
2560
2596
|
|
|
2561
2597
|
/**
|
|
2562
2598
|
* A callback to parse Response body.
|
|
@@ -2574,15 +2610,15 @@ const _fetchMap$1 = new Map();
|
|
|
2574
2610
|
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
2575
2611
|
* @returns {Promise}
|
|
2576
2612
|
*/
|
|
2577
|
-
const cacheFetch
|
|
2613
|
+
const cacheFetch = (uri, options = {}) => {
|
|
2578
2614
|
const responseParser = options.responseParser || ((response) => response.text());
|
|
2579
|
-
if (!_fetchMap
|
|
2580
|
-
_fetchMap
|
|
2615
|
+
if (!_fetchMap.has(uri)) {
|
|
2616
|
+
_fetchMap.set(uri, fetch(uri).then(responseParser));
|
|
2581
2617
|
}
|
|
2582
|
-
return _fetchMap
|
|
2618
|
+
return _fetchMap.get(uri);
|
|
2583
2619
|
};
|
|
2584
2620
|
|
|
2585
|
-
var styleCss$
|
|
2621
|
+
var styleCss$2 = i$7`*,*: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}`;
|
|
2586
2622
|
|
|
2587
2623
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2588
2624
|
// See LICENSE in the project root for license information.
|
|
@@ -2595,7 +2631,7 @@ var styleCss$3$1 = i$7`*,*:before,*:after{box-sizing:border-box}@media(prefers-r
|
|
|
2595
2631
|
*/
|
|
2596
2632
|
|
|
2597
2633
|
// build the component class
|
|
2598
|
-
|
|
2634
|
+
class BaseIcon extends AuroElement {
|
|
2599
2635
|
constructor() {
|
|
2600
2636
|
super();
|
|
2601
2637
|
this.onDark = false;
|
|
@@ -2622,7 +2658,7 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
2622
2658
|
|
|
2623
2659
|
static get styles() {
|
|
2624
2660
|
return i$7`
|
|
2625
|
-
${styleCss$
|
|
2661
|
+
${styleCss$2}
|
|
2626
2662
|
`;
|
|
2627
2663
|
}
|
|
2628
2664
|
|
|
@@ -2637,9 +2673,9 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
2637
2673
|
let iconHTML = '';
|
|
2638
2674
|
|
|
2639
2675
|
if (category === 'logos') {
|
|
2640
|
-
iconHTML = await cacheFetch
|
|
2676
|
+
iconHTML = await cacheFetch(`${this.uri}/${category}/${name}.svg`);
|
|
2641
2677
|
} else {
|
|
2642
|
-
iconHTML = await cacheFetch
|
|
2678
|
+
iconHTML = await cacheFetch(`${this.uri}/icons/${category}/${name}.svg`);
|
|
2643
2679
|
}
|
|
2644
2680
|
|
|
2645
2681
|
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
@@ -2655,17 +2691,17 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
2655
2691
|
if (svg) {
|
|
2656
2692
|
this.svg = svg;
|
|
2657
2693
|
} else if (!svg) {
|
|
2658
|
-
const penDOM = new DOMParser().parseFromString(error
|
|
2694
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
2659
2695
|
|
|
2660
2696
|
this.svg = penDOM.body.firstChild;
|
|
2661
2697
|
}
|
|
2662
2698
|
}
|
|
2663
2699
|
}
|
|
2664
|
-
}
|
|
2700
|
+
}
|
|
2665
2701
|
|
|
2666
|
-
var tokensCss$
|
|
2702
|
+
var tokensCss$1 = i$7`: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)}`;
|
|
2667
2703
|
|
|
2668
|
-
var colorCss$
|
|
2704
|
+
var colorCss$2 = i$7`: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)}`;
|
|
2669
2705
|
|
|
2670
2706
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2671
2707
|
// See LICENSE in the project root for license information.
|
|
@@ -2698,7 +2734,7 @@ var colorCss$3$1 = i$7`:host{color:var(--ds-auro-icon-color)}:host([customColor]
|
|
|
2698
2734
|
*/
|
|
2699
2735
|
|
|
2700
2736
|
// build the component class
|
|
2701
|
-
|
|
2737
|
+
class AuroIcon extends BaseIcon {
|
|
2702
2738
|
constructor() {
|
|
2703
2739
|
super();
|
|
2704
2740
|
|
|
@@ -2727,7 +2763,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2727
2763
|
this.success = false;
|
|
2728
2764
|
this.tertiary = false;
|
|
2729
2765
|
this.warning = false;
|
|
2730
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
2766
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
2731
2767
|
}
|
|
2732
2768
|
|
|
2733
2769
|
// function to define props used within the scope of this component
|
|
@@ -2809,9 +2845,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2809
2845
|
static get styles() {
|
|
2810
2846
|
return [
|
|
2811
2847
|
super.styles,
|
|
2812
|
-
i$7`${tokensCss$
|
|
2813
|
-
i$7`${styleCss$
|
|
2814
|
-
i$7`${colorCss$
|
|
2848
|
+
i$7`${tokensCss$1}`,
|
|
2849
|
+
i$7`${styleCss$2}`,
|
|
2850
|
+
i$7`${colorCss$2}`
|
|
2815
2851
|
];
|
|
2816
2852
|
}
|
|
2817
2853
|
|
|
@@ -2824,7 +2860,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2824
2860
|
*
|
|
2825
2861
|
*/
|
|
2826
2862
|
static register(name = "auro-icon") {
|
|
2827
|
-
AuroLibraryRuntimeUtils
|
|
2863
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
2828
2864
|
}
|
|
2829
2865
|
|
|
2830
2866
|
connectedCallback() {
|
|
@@ -2853,14 +2889,14 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2853
2889
|
'wrapper': true,
|
|
2854
2890
|
};
|
|
2855
2891
|
|
|
2856
|
-
return x
|
|
2892
|
+
return x`
|
|
2857
2893
|
<div
|
|
2858
2894
|
class="${e$3$1(classes)}"
|
|
2859
2895
|
title="${o$3$1(this.title || undefined)}">
|
|
2860
2896
|
<span aria-hidden="${o$3$1(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
2861
|
-
${this.customSvg ? x
|
|
2897
|
+
${this.customSvg ? x`
|
|
2862
2898
|
<slot name="svg"></slot>
|
|
2863
|
-
` : x
|
|
2899
|
+
` : x`
|
|
2864
2900
|
${this.svg}
|
|
2865
2901
|
`
|
|
2866
2902
|
}
|
|
@@ -2872,339 +2908,170 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2872
2908
|
</div>
|
|
2873
2909
|
`;
|
|
2874
2910
|
}
|
|
2875
|
-
}
|
|
2876
|
-
|
|
2877
|
-
var iconVersion$1 = '6.1.2';
|
|
2878
|
-
|
|
2879
|
-
var styleCss$2$1 = i$7`: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)}`;
|
|
2880
|
-
|
|
2881
|
-
var colorCss$2$1 = i$7`.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)}`;
|
|
2882
|
-
|
|
2883
|
-
var tokensCss$1$1 = i$7`: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)}`;
|
|
2884
|
-
|
|
2885
|
-
/**
|
|
2886
|
-
* @license
|
|
2887
|
-
* Copyright 2019 Google LLC
|
|
2888
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2889
|
-
*/
|
|
2890
|
-
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;
|
|
2891
|
-
|
|
2892
|
-
/**
|
|
2893
|
-
* @license
|
|
2894
|
-
* Copyright 2017 Google LLC
|
|
2895
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2896
|
-
*/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");
|
|
2897
|
-
|
|
2898
|
-
/**
|
|
2899
|
-
* @license
|
|
2900
|
-
* Copyright 2017 Google LLC
|
|
2901
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2902
|
-
*/
|
|
2903
|
-
const t$5=globalThis,i$1$1=t$5.trustedTypes,s$5=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$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$5=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$2=/-->/g,_$2=/>/g,m$2=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/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$5?s$5.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$2:undefined!==u[1]?c=_$2:undefined!==u[2]?($$2.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$4,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$2:p$4):c===g$2||c===p$4?c=m$2:c===v$2||c===_$2?c=f$4:(c=m$2,r=undefined);const x=c===m$2&&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$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$4(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$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$6(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$5(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$6(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$2(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$6(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$6(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$5.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$5.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};
|
|
2911
|
+
}
|
|
2904
2912
|
|
|
2905
|
-
|
|
2906
|
-
* @license
|
|
2907
|
-
* Copyright 2017 Google LLC
|
|
2908
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2909
|
-
*/let r$8 = 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$8._$litElement$=true,r$8["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$8});const i$a=globalThis.litElementPolyfillSupport;i$a?.({LitElement:r$8});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
2913
|
+
var iconVersion = '6.1.2';
|
|
2910
2914
|
|
|
2911
|
-
var
|
|
2915
|
+
var styleCss$1 = i$7`: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;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
|
|
2912
2916
|
|
|
2913
|
-
var
|
|
2917
|
+
var colorCss$1 = i$7`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
2914
2918
|
|
|
2915
|
-
var tokensCss$
|
|
2919
|
+
var tokensCss$2 = i$7`: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)}`;
|
|
2916
2920
|
|
|
2917
|
-
// Copyright (c) Alaska
|
|
2921
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2918
2922
|
// See LICENSE in the project root for license information.
|
|
2919
2923
|
|
|
2920
|
-
// ---------------------------------------------------------------------
|
|
2921
|
-
|
|
2922
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
2923
|
-
|
|
2924
|
-
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
2925
|
-
|
|
2926
|
-
/* eslint-disable jsdoc/require-param */
|
|
2927
|
-
|
|
2928
|
-
/**
|
|
2929
|
-
* This will register a new custom element with the browser.
|
|
2930
|
-
* @param {String} name - The name of the custom element.
|
|
2931
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
2932
|
-
* @returns {void}
|
|
2933
|
-
*/
|
|
2934
|
-
registerComponent(name, componentClass) {
|
|
2935
|
-
if (!customElements.get(name)) {
|
|
2936
|
-
customElements.define(name, class extends componentClass {});
|
|
2937
|
-
}
|
|
2938
|
-
}
|
|
2939
|
-
|
|
2940
|
-
/**
|
|
2941
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
2942
|
-
* @returns {void}
|
|
2943
|
-
*/
|
|
2944
|
-
closestElement(
|
|
2945
|
-
selector, // selector like in .closest()
|
|
2946
|
-
base = this, // extra functionality to skip a parent
|
|
2947
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
2948
|
-
!el || el === document || el === window
|
|
2949
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
2950
|
-
: found
|
|
2951
|
-
? found // found a selector INside this element
|
|
2952
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
2953
|
-
) {
|
|
2954
|
-
return __Closest(base);
|
|
2955
|
-
}
|
|
2956
|
-
/* eslint-enable jsdoc/require-param */
|
|
2957
|
-
|
|
2958
|
-
/**
|
|
2959
|
-
* 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.
|
|
2960
|
-
* @param {Object} elem - The element to check.
|
|
2961
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
2962
|
-
* @returns {void}
|
|
2963
|
-
*/
|
|
2964
|
-
handleComponentTagRename(elem, tagName) {
|
|
2965
|
-
const tag = tagName.toLowerCase();
|
|
2966
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
2967
|
-
|
|
2968
|
-
if (elemTag !== tag) {
|
|
2969
|
-
elem.setAttribute(tag, true);
|
|
2970
|
-
}
|
|
2971
|
-
}
|
|
2972
|
-
|
|
2973
|
-
/**
|
|
2974
|
-
* Validates if an element is a specific Auro component.
|
|
2975
|
-
* @param {Object} elem - The element to validate.
|
|
2976
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
2977
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
2978
|
-
*/
|
|
2979
|
-
elementMatch(elem, tagName) {
|
|
2980
|
-
const tag = tagName.toLowerCase();
|
|
2981
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
2982
|
-
|
|
2983
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
2984
|
-
}
|
|
2985
|
-
};
|
|
2986
2924
|
|
|
2987
|
-
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2988
|
-
// See LICENSE in the project root for license information.
|
|
2989
2925
|
|
|
2926
|
+
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
2927
|
+
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
2928
|
+
'lg',
|
|
2929
|
+
'md',
|
|
2930
|
+
'sm',
|
|
2931
|
+
'xs',
|
|
2932
|
+
];
|
|
2990
2933
|
|
|
2991
2934
|
/**
|
|
2992
|
-
*
|
|
2993
|
-
*
|
|
2994
|
-
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
2935
|
+
* @prop { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
2936
|
+
* @csspart bibContainer - Apply css to the bib container.
|
|
2995
2937
|
*/
|
|
2996
|
-
|
|
2938
|
+
|
|
2939
|
+
class AuroDropdownBib extends r$4 {
|
|
2997
2940
|
|
|
2998
2941
|
constructor() {
|
|
2999
2942
|
super();
|
|
3000
2943
|
|
|
3001
|
-
|
|
3002
|
-
|
|
2944
|
+
/**
|
|
2945
|
+
* @private
|
|
2946
|
+
*/
|
|
2947
|
+
this._mobileBreakpointValue = undefined;
|
|
2948
|
+
|
|
2949
|
+
AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
3003
2950
|
}
|
|
3004
2951
|
|
|
3005
2952
|
static get styles() {
|
|
3006
2953
|
return [
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
tokensCss$
|
|
2954
|
+
styleCss$1,
|
|
2955
|
+
colorCss$1,
|
|
2956
|
+
tokensCss$2
|
|
3010
2957
|
];
|
|
3011
2958
|
}
|
|
3012
2959
|
|
|
3013
|
-
// function to define props used within the scope of this component
|
|
3014
2960
|
static get properties() {
|
|
3015
2961
|
return {
|
|
3016
2962
|
|
|
3017
2963
|
/**
|
|
3018
|
-
*
|
|
2964
|
+
* If declared, will take the fullscreen when the bib is displayed.
|
|
3019
2965
|
*/
|
|
3020
|
-
|
|
2966
|
+
isFullscreen: {
|
|
3021
2967
|
type: Boolean,
|
|
2968
|
+
reflect: true
|
|
3022
2969
|
},
|
|
3023
2970
|
|
|
3024
2971
|
/**
|
|
3025
|
-
*
|
|
2972
|
+
* If declared, will apply all styles for the common theme.
|
|
3026
2973
|
*/
|
|
3027
|
-
|
|
2974
|
+
common: {
|
|
3028
2975
|
type: Boolean,
|
|
2976
|
+
reflect: true
|
|
3029
2977
|
},
|
|
3030
2978
|
|
|
3031
2979
|
/**
|
|
3032
|
-
* If declared,
|
|
2980
|
+
* If declared, will apply extra padding to bib content.
|
|
3033
2981
|
*/
|
|
3034
|
-
|
|
2982
|
+
inset: {
|
|
3035
2983
|
type: Boolean,
|
|
3036
|
-
reflect: true
|
|
2984
|
+
reflect: true
|
|
3037
2985
|
},
|
|
3038
|
-
};
|
|
3039
|
-
}
|
|
3040
|
-
|
|
3041
|
-
/**
|
|
3042
|
-
* This will register this element with the browser.
|
|
3043
|
-
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
3044
|
-
*
|
|
3045
|
-
* @example
|
|
3046
|
-
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
3047
|
-
*
|
|
3048
|
-
*/
|
|
3049
|
-
static register(name = "auro-helptext") {
|
|
3050
|
-
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
3051
|
-
}
|
|
3052
2986
|
|
|
3053
|
-
|
|
3054
|
-
|
|
2987
|
+
/**
|
|
2988
|
+
* If declared, will apply border-radius to the bib.
|
|
2989
|
+
*/
|
|
2990
|
+
rounded: {
|
|
2991
|
+
type: Boolean,
|
|
2992
|
+
reflect: true
|
|
2993
|
+
},
|
|
2994
|
+
};
|
|
3055
2995
|
}
|
|
3056
2996
|
|
|
3057
|
-
|
|
3058
|
-
if
|
|
3059
|
-
|
|
2997
|
+
set mobileFullscreenBreakpoint(value) {
|
|
2998
|
+
// verify the defined breakpoint is valid and exit out if not
|
|
2999
|
+
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
3000
|
+
if (!validatedValue) {
|
|
3001
|
+
this._mobileBreakpointValue = undefined;
|
|
3002
|
+
} else {
|
|
3003
|
+
// get the pixel value for the defined breakpoint
|
|
3004
|
+
const docStyle = getComputedStyle(document.documentElement);
|
|
3005
|
+
this._mobileBreakpointValue = docStyle.getPropertyValue(DESIGN_TOKEN_BREAKPOINT_PREFIX + value);
|
|
3060
3006
|
}
|
|
3007
|
+
}
|
|
3061
3008
|
|
|
3062
|
-
|
|
3009
|
+
get mobileFullscreenBreakpoint() {
|
|
3010
|
+
return this._mobileBreakpointValue;
|
|
3063
3011
|
}
|
|
3064
3012
|
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3013
|
+
updated(changedProperties) {
|
|
3014
|
+
if (changedProperties.has('isFullscreen')) {
|
|
3015
|
+
this.childNodes.forEach((child) => {
|
|
3016
|
+
// skip any text that is not in an HTMLElement on setting `isFullscreen` attr.
|
|
3017
|
+
if (child.nodeName !== '#text') {
|
|
3018
|
+
if (this.isFullscreen) {
|
|
3019
|
+
child.setAttribute('isFullscreen', 'true');
|
|
3020
|
+
} else {
|
|
3021
|
+
child.removeAttribute('isFullscreen');
|
|
3022
|
+
}
|
|
3023
|
+
}
|
|
3024
|
+
});
|
|
3075
3025
|
}
|
|
3076
|
-
|
|
3077
|
-
return nodes.some((node) => {
|
|
3078
|
-
if (node.textContent.trim()) {
|
|
3079
|
-
return true;
|
|
3080
|
-
}
|
|
3081
|
-
|
|
3082
|
-
if (!node.querySelector) {
|
|
3083
|
-
return false;
|
|
3084
|
-
}
|
|
3085
|
-
|
|
3086
|
-
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
3087
|
-
if (!nestedSlot) {
|
|
3088
|
-
return false;
|
|
3089
|
-
}
|
|
3090
|
-
|
|
3091
|
-
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
3092
|
-
return this.checkSlotsForContent(nestedSlotNodes);
|
|
3093
|
-
});
|
|
3094
3026
|
}
|
|
3095
3027
|
|
|
3096
3028
|
// function that renders the HTML and CSS into the scope of the component
|
|
3097
3029
|
render() {
|
|
3098
|
-
return
|
|
3099
|
-
<div class="
|
|
3100
|
-
|
|
3030
|
+
return u$3`
|
|
3031
|
+
<div class="container" part="bibContainer">
|
|
3032
|
+
<slot></slot>
|
|
3101
3033
|
</div>
|
|
3102
3034
|
`;
|
|
3103
3035
|
}
|
|
3104
3036
|
}
|
|
3105
3037
|
|
|
3106
|
-
|
|
3038
|
+
var dropdownVersion$1 = '3.0.0';
|
|
3107
3039
|
|
|
3108
|
-
var styleCss$
|
|
3040
|
+
var styleCss$3 = i$7`: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)}`;
|
|
3109
3041
|
|
|
3110
|
-
var colorCss$
|
|
3111
|
-
|
|
3112
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3113
|
-
// See LICENSE in the project root for license information.
|
|
3042
|
+
var colorCss$3 = i$7`.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)}`;
|
|
3114
3043
|
|
|
3044
|
+
/**
|
|
3045
|
+
* @license
|
|
3046
|
+
* Copyright 2019 Google LLC
|
|
3047
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
3048
|
+
*/
|
|
3049
|
+
const t$1$1=globalThis,e$2$1=t$1$1.ShadowRoot&&(void 0===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&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2$1.get(s)),void 0===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+"",void 0,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;void 0!==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;
|
|
3115
3050
|
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
'sm',
|
|
3122
|
-
'xs',
|
|
3123
|
-
];
|
|
3051
|
+
/**
|
|
3052
|
+
* @license
|
|
3053
|
+
* Copyright 2017 Google LLC
|
|
3054
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
3055
|
+
*/const{is:i$2$1,defineProperty:e$1,getOwnPropertyDescriptor:r$2$1,getOwnPropertyNames:h$1$1,getOwnPropertySymbols:o$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);void 0!==r&&e$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(),void 0!==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(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(void 0!==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);void 0!==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 void 0!==s&&i.push(c$2$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,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),void 0!==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(void 0!==e&&true===i.reflect){const r=(void 0!==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(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==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(void 0!==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=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===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");
|
|
3124
3056
|
|
|
3125
3057
|
/**
|
|
3126
|
-
* @
|
|
3127
|
-
*
|
|
3058
|
+
* @license
|
|
3059
|
+
* Copyright 2017 Google LLC
|
|
3060
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
3128
3061
|
*/
|
|
3062
|
+
const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h$4,n=`<${o}>`,r$1$1=document,l=()=>r$1$1.createComment(""),c$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d$4="[ \t\n\f\r]",f$4=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$2=/>/g,m$2=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,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(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.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$2:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):void 0!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$4,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$2:'"'===u[3]?g$2:p$4):c===g$2||c===p$4?c=m$2:c===v$2||c===_$2?c=f$4:(c=m$2,r=void 0);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$4?s+n:d>=0?(o.push(a),s.slice(0,d)+e+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)){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?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C$2.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$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=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$6(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$4(t,h._$AS(t,i.values),h,e)),i}let M$2 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,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(;void 0!==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) void 0!==s&&(void 0!==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=void 0,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 void 0!==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$6(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):void 0!==t._$litType$?this.$(t):void 0!==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$2&&c$6(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):(void 0===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$2(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 void 0===i&&A$2.set(t.strings,i=new N$2(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){ void 0===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=void 0,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(void 0===h)t=S$4(this,t,i,0),o=!c$6(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$6(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?void 0: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=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$4(this,t);}};const j$2=t.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
3129
3063
|
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
/**
|
|
3136
|
-
* @private
|
|
3137
|
-
*/
|
|
3138
|
-
this._mobileBreakpointValue = undefined;
|
|
3139
|
-
}
|
|
3140
|
-
|
|
3141
|
-
static get styles() {
|
|
3142
|
-
return [
|
|
3143
|
-
styleCss$4,
|
|
3144
|
-
colorCss$4,
|
|
3145
|
-
tokensCss$1$1
|
|
3146
|
-
];
|
|
3147
|
-
}
|
|
3148
|
-
|
|
3149
|
-
static get properties() {
|
|
3150
|
-
return {
|
|
3151
|
-
|
|
3152
|
-
/**
|
|
3153
|
-
* If declared, will apply all styles for the common theme.
|
|
3154
|
-
*/
|
|
3155
|
-
common: {
|
|
3156
|
-
type: Boolean,
|
|
3157
|
-
reflect: true
|
|
3158
|
-
},
|
|
3159
|
-
|
|
3160
|
-
/**
|
|
3161
|
-
* If declared, will apply extra padding to bib content.
|
|
3162
|
-
*/
|
|
3163
|
-
inset: {
|
|
3164
|
-
type: Boolean,
|
|
3165
|
-
reflect: true
|
|
3166
|
-
},
|
|
3167
|
-
|
|
3168
|
-
/**
|
|
3169
|
-
* If declared, will apply border-radius to the bib.
|
|
3170
|
-
*/
|
|
3171
|
-
rounded: {
|
|
3172
|
-
type: Boolean,
|
|
3173
|
-
reflect: true
|
|
3174
|
-
},
|
|
3175
|
-
};
|
|
3176
|
-
}
|
|
3177
|
-
|
|
3178
|
-
set mobileFullscreenBreakpoint(value) {
|
|
3179
|
-
// verify the defined breakpoint is valid and exit out if not
|
|
3180
|
-
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
3181
|
-
if (!validatedValue) {
|
|
3182
|
-
this._mobileBreakpointValue = undefined;
|
|
3183
|
-
} else {
|
|
3184
|
-
// get the pixel value for the defined breakpoint
|
|
3185
|
-
const docStyle = getComputedStyle(document.documentElement);
|
|
3186
|
-
this._mobileBreakpointValue = docStyle.getPropertyValue(DESIGN_TOKEN_BREAKPOINT_PREFIX + value);
|
|
3187
|
-
}
|
|
3188
|
-
}
|
|
3064
|
+
/**
|
|
3065
|
+
* @license
|
|
3066
|
+
* Copyright 2017 Google LLC
|
|
3067
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
3068
|
+
*/let r$8 = class r extends b$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}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$8._$litElement$=true,r$8["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$8});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r$8});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
3189
3069
|
|
|
3190
|
-
|
|
3191
|
-
return this._mobileBreakpointValue;
|
|
3192
|
-
}
|
|
3070
|
+
i$3$1`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
3193
3071
|
|
|
3194
|
-
|
|
3195
|
-
render() {
|
|
3196
|
-
return u$3`
|
|
3197
|
-
<div class="container" part="bibContainer">
|
|
3198
|
-
<slot></slot>
|
|
3199
|
-
</div>
|
|
3200
|
-
`;
|
|
3201
|
-
}
|
|
3202
|
-
}
|
|
3072
|
+
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}`;
|
|
3203
3073
|
|
|
3204
|
-
|
|
3205
|
-
if (!customElements.get("auro-dropdownbib")) {
|
|
3206
|
-
customElements.define("auro-dropdownbib", AuroDropdownBib);
|
|
3207
|
-
}
|
|
3074
|
+
i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
3208
3075
|
|
|
3209
3076
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3210
3077
|
// See LICENSE in the project root for license information.
|
|
@@ -3227,6 +3094,7 @@ class AuroDropdown extends r$4 {
|
|
|
3227
3094
|
super();
|
|
3228
3095
|
|
|
3229
3096
|
this.isPopoverVisible = false;
|
|
3097
|
+
this.isBibFullscreen = false;
|
|
3230
3098
|
this.matchWidth = false;
|
|
3231
3099
|
this.noHideOnThisFocusLoss = false;
|
|
3232
3100
|
|
|
@@ -3280,7 +3148,7 @@ class AuroDropdown extends r$4 {
|
|
|
3280
3148
|
/**
|
|
3281
3149
|
* @private
|
|
3282
3150
|
*/
|
|
3283
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
3151
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
3284
3152
|
|
|
3285
3153
|
/**
|
|
3286
3154
|
* @private
|
|
@@ -3300,8 +3168,17 @@ class AuroDropdown extends r$4 {
|
|
|
3300
3168
|
/**
|
|
3301
3169
|
* Generate unique names for dependency components.
|
|
3302
3170
|
*/
|
|
3303
|
-
const versioning = new AuroDependencyVersioning
|
|
3304
|
-
|
|
3171
|
+
const versioning = new AuroDependencyVersioning();
|
|
3172
|
+
|
|
3173
|
+
/**
|
|
3174
|
+
* @private
|
|
3175
|
+
*/
|
|
3176
|
+
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
3177
|
+
|
|
3178
|
+
/**
|
|
3179
|
+
* @private
|
|
3180
|
+
*/
|
|
3181
|
+
this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
|
|
3305
3182
|
}
|
|
3306
3183
|
|
|
3307
3184
|
/**
|
|
@@ -3403,6 +3280,14 @@ class AuroDropdown extends r$4 {
|
|
|
3403
3280
|
type: Boolean
|
|
3404
3281
|
},
|
|
3405
3282
|
|
|
3283
|
+
/**
|
|
3284
|
+
* If true, the dropdown bib is taking the fullscreen when it's open
|
|
3285
|
+
*/
|
|
3286
|
+
isBibFullscreen: {
|
|
3287
|
+
type: Boolean,
|
|
3288
|
+
reflect: true,
|
|
3289
|
+
},
|
|
3290
|
+
|
|
3406
3291
|
/**
|
|
3407
3292
|
* If declared, the trigger will toggle the dropdown on mouseover/mouseout.
|
|
3408
3293
|
*/
|
|
@@ -3481,9 +3366,9 @@ class AuroDropdown extends r$4 {
|
|
|
3481
3366
|
|
|
3482
3367
|
static get styles() {
|
|
3483
3368
|
return [
|
|
3484
|
-
colorCss$
|
|
3485
|
-
styleCss$
|
|
3486
|
-
tokensCss$
|
|
3369
|
+
colorCss$3,
|
|
3370
|
+
styleCss$3,
|
|
3371
|
+
tokensCss$2
|
|
3487
3372
|
];
|
|
3488
3373
|
}
|
|
3489
3374
|
|
|
@@ -3496,7 +3381,7 @@ class AuroDropdown extends r$4 {
|
|
|
3496
3381
|
*
|
|
3497
3382
|
*/
|
|
3498
3383
|
static register(name = "auro-dropdown") {
|
|
3499
|
-
AuroLibraryRuntimeUtils
|
|
3384
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroDropdown);
|
|
3500
3385
|
}
|
|
3501
3386
|
|
|
3502
3387
|
connectedCallback() {
|
|
@@ -3531,7 +3416,6 @@ class AuroDropdown extends r$4 {
|
|
|
3531
3416
|
|
|
3532
3417
|
/**
|
|
3533
3418
|
* Exposes CSS parts for styling from parent components.
|
|
3534
|
-
* @private
|
|
3535
3419
|
* @returns {void}
|
|
3536
3420
|
*/
|
|
3537
3421
|
exposeCssParts() {
|
|
@@ -3737,20 +3621,19 @@ class AuroDropdown extends r$4 {
|
|
|
3737
3621
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
3738
3622
|
</div>
|
|
3739
3623
|
<div id="bibSizer" part="size"></div>
|
|
3740
|
-
|
|
3624
|
+
<${this.dropdownBibTag}
|
|
3741
3625
|
id="bib"
|
|
3742
3626
|
role="tooltip"
|
|
3627
|
+
?isfullscreen="${this.isBibFullscreen}"
|
|
3743
3628
|
?common="${this.common}"
|
|
3744
3629
|
?rounded="${this.common || this.rounded}"
|
|
3745
3630
|
?inset="${this.common || this.inset}">
|
|
3746
|
-
|
|
3631
|
+
</${this.dropdownBibTag}>
|
|
3747
3632
|
</div>
|
|
3748
3633
|
`;
|
|
3749
3634
|
}
|
|
3750
3635
|
}
|
|
3751
3636
|
|
|
3752
|
-
AuroDropdown.register();
|
|
3753
|
-
|
|
3754
3637
|
var dropdownVersion = '3.0.0';
|
|
3755
3638
|
|
|
3756
3639
|
/**
|
|
@@ -3758,102 +3641,32 @@ var dropdownVersion = '3.0.0';
|
|
|
3758
3641
|
* Copyright 2019 Google LLC
|
|
3759
3642
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3760
3643
|
*/
|
|
3761
|
-
const t$2=globalThis,e$4=t$2.ShadowRoot&&(
|
|
3644
|
+
const t$2=globalThis,e$4=t$2.ShadowRoot&&(void 0===t$2.ShadyCSS||t$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$4=new WeakMap;let n$3 = 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&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$3("string"==typeof t?t:t+"",void 0,s$2),i$5=(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$3(o,t,s$2)},S$1=(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;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
|
|
3762
3645
|
|
|
3763
3646
|
/**
|
|
3764
3647
|
* @license
|
|
3765
3648
|
* Copyright 2017 Google LLC
|
|
3766
3649
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3767
|
-
*/const{is:i$4,defineProperty:e$3,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$3,getPrototypeOf:n$2}=Object,a$2=globalThis,c$1=a$2.trustedTypes,l$2=c$1?c$1.emptyScript:"",p$1=a$2.reactiveElementPolyfillSupport,d$1=(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$1=(t,s)=>!i$4(t,s),y$1={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$2.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);
|
|
3650
|
+
*/const{is:i$4,defineProperty:e$3,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$3,getPrototypeOf:n$2}=Object,a$2=globalThis,c$1=a$2.trustedTypes,l$2=c$1?c$1.emptyScript:"",p$1=a$2.reactiveElementPolyfillSupport,d$1=(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$1=(t,s)=>!i$4(t,s),y$1={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$2.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);void 0!==r&&e$3(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$2(this);t.finalize(),void 0!==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$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(void 0!==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);void 0!==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 void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,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),void 0!==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(void 0!==e&&true===i.reflect){const r=(void 0!==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(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==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(void 0!==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=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===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$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
3768
3651
|
|
|
3769
3652
|
/**
|
|
3770
3653
|
* @license
|
|
3771
3654
|
* Copyright 2017 Google LLC
|
|
3772
3655
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3773
3656
|
*/
|
|
3774
|
-
const t$1=globalThis,i$3=t$1.trustedTypes,s$1=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):
|
|
3657
|
+
const t$1=globalThis,i$3=t$1.trustedTypes,s$1=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$2="?"+h,n$1=`<${o$2}>`,r$1=document,l$1=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u$1=t=>a$1(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,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$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1?s$1.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:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n$1:d>=0?(o.push(a),s.slice(0,d)+e$2+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$2)){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$3?i$3.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$1()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$1());}}}else if(8===r.nodeType)if(r.data===o$2)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=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,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(;void 0!==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) void 0!==s&&(void 0!==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=void 0,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 void 0!==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):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$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&&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):(void 0===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 void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a$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$1()),this.O(l$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){ void 0===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=void 0,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(void 0===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?void 0: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=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t$1.litHtmlPolyfillSupport;j?.(N,R),(t$1.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$1(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
3775
3658
|
|
|
3776
3659
|
/**
|
|
3777
3660
|
* @license
|
|
3778
3661
|
* Copyright 2017 Google LLC
|
|
3779
3662
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3780
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
3781
|
-
|
|
3782
|
-
var styleCss$2 = i$5`: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-250: 1.25rem;--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: 300;--ds-depth-tooltip: 400;--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: #d4d4d4;--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: #d4d4d4;--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}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder]{color:var(--ds-color-text-secondary-default, #525252)}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
|
|
3783
|
-
|
|
3784
|
-
var colorCss$2 = i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
|
|
3785
|
-
|
|
3786
|
-
var tokensCss$1 = i$5`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-default, $ds-color-border-divider-default);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default)}`;
|
|
3787
|
-
|
|
3788
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3789
|
-
// See LICENSE in the project root for license information.
|
|
3790
|
-
|
|
3791
|
-
// ---------------------------------------------------------------------
|
|
3792
|
-
|
|
3793
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
3794
|
-
|
|
3795
|
-
class AuroLibraryRuntimeUtils {
|
|
3796
|
-
|
|
3797
|
-
/* eslint-disable jsdoc/require-param */
|
|
3798
|
-
|
|
3799
|
-
/**
|
|
3800
|
-
* This will register a new custom element with the browser.
|
|
3801
|
-
* @param {String} name - The name of the custom element.
|
|
3802
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
3803
|
-
* @returns {void}
|
|
3804
|
-
*/
|
|
3805
|
-
registerComponent(name, componentClass) {
|
|
3806
|
-
if (!customElements.get(name)) {
|
|
3807
|
-
customElements.define(name, class extends componentClass {});
|
|
3808
|
-
}
|
|
3809
|
-
}
|
|
3810
|
-
|
|
3811
|
-
/**
|
|
3812
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
3813
|
-
* @returns {void}
|
|
3814
|
-
*/
|
|
3815
|
-
closestElement(
|
|
3816
|
-
selector, // selector like in .closest()
|
|
3817
|
-
base = this, // extra functionality to skip a parent
|
|
3818
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
3819
|
-
!el || el === document || el === window
|
|
3820
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
3821
|
-
: found
|
|
3822
|
-
? found // found a selector INside this element
|
|
3823
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
3824
|
-
) {
|
|
3825
|
-
return __Closest(base);
|
|
3826
|
-
}
|
|
3827
|
-
/* eslint-enable jsdoc/require-param */
|
|
3828
|
-
|
|
3829
|
-
/**
|
|
3830
|
-
* 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.
|
|
3831
|
-
* @param {Object} elem - The element to check.
|
|
3832
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
3833
|
-
* @returns {void}
|
|
3834
|
-
*/
|
|
3835
|
-
handleComponentTagRename(elem, tagName) {
|
|
3836
|
-
const tag = tagName.toLowerCase();
|
|
3837
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
3663
|
+
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}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$2=globalThis.litElementPolyfillSupport;i$2?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
3838
3664
|
|
|
3839
|
-
if (elemTag !== tag) {
|
|
3840
|
-
elem.setAttribute(tag, true);
|
|
3841
|
-
}
|
|
3842
|
-
}
|
|
3665
|
+
i$5`: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-250: 1.25rem;--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: 300;--ds-depth-tooltip: 400;--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: #d4d4d4;--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: #d4d4d4;--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}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder]{color:var(--ds-color-text-secondary-default, #525252)}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
|
|
3843
3666
|
|
|
3844
|
-
|
|
3845
|
-
* Validates if an element is a specific Auro component.
|
|
3846
|
-
* @param {Object} elem - The element to validate.
|
|
3847
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
3848
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
3849
|
-
*/
|
|
3850
|
-
elementMatch(elem, tagName) {
|
|
3851
|
-
const tag = tagName.toLowerCase();
|
|
3852
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
3667
|
+
i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
|
|
3853
3668
|
|
|
3854
|
-
|
|
3855
|
-
}
|
|
3856
|
-
}
|
|
3669
|
+
i$5`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-default, $ds-color-border-divider-default);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default)}`;
|
|
3857
3670
|
|
|
3858
3671
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3859
3672
|
// See LICENSE in the project root for license information.
|
|
@@ -3955,1411 +3768,112 @@ function arrayOrUndefinedHasChanged(newVal, oldVal) {
|
|
|
3955
3768
|
}
|
|
3956
3769
|
}
|
|
3957
3770
|
|
|
3958
|
-
|
|
3959
|
-
* Validates if an option can be interacted with.
|
|
3960
|
-
* @private
|
|
3961
|
-
* @param {HTMLElement} option - The option to check.
|
|
3962
|
-
* @returns {boolean} True if option is interactive.
|
|
3963
|
-
*/
|
|
3964
|
-
function isOptionInteractive(option) {
|
|
3965
|
-
return !option.hasAttribute('hidden') &&
|
|
3966
|
-
!option.hasAttribute('disabled') &&
|
|
3967
|
-
!option.hasAttribute('static');
|
|
3968
|
-
}
|
|
3771
|
+
i$5`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
|
|
3969
3772
|
|
|
3970
|
-
|
|
3971
|
-
* Helper method to dispatch custom events.
|
|
3972
|
-
* @param {HTMLElement} element - Element to dispatch event from.
|
|
3973
|
-
* @param {string} eventName - Name of the event to dispatch.
|
|
3974
|
-
* @param {Object} [detail] - Optional detail object to include with the event.
|
|
3975
|
-
*/
|
|
3976
|
-
function dispatchMenuEvent(element, eventName, detail = null) {
|
|
3977
|
-
const eventConfig = {
|
|
3978
|
-
bubbles: true,
|
|
3979
|
-
cancelable: false,
|
|
3980
|
-
composed: true
|
|
3981
|
-
};
|
|
3773
|
+
i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-active-default, #225296)}`;
|
|
3982
3774
|
|
|
3983
|
-
|
|
3984
|
-
eventConfig.detail = detail;
|
|
3985
|
-
}
|
|
3775
|
+
i$5`*,*: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}`;
|
|
3986
3776
|
|
|
3987
|
-
|
|
3988
|
-
|
|
3777
|
+
i$5`: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)}`;
|
|
3778
|
+
|
|
3779
|
+
i$5`: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)}`;
|
|
3780
|
+
|
|
3781
|
+
var styleCss = i$f`*,*: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{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}[slot=trigger] #placeholder.hidden{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{padding:0;pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}:host([multiselect]) [slot=trigger]{display:flex}:host([multiselect]) auro-menuoption:not(:first-child){margin-left:var(--ds-size-100)}`;
|
|
3782
|
+
|
|
3783
|
+
var colorCss = i$f`*,*: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{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host [auro-dropdown]::part(trigger):hover{--ds-auro-dropdown-trigger-container-color: rgba(0 0 0 / 0.06)}:host([disabled]) *{color:var(--ds-color-text-ui-disabled-default, #adadad)}.placeholder{color:var(--ds-auro-select-placeholder-text-color)}`;
|
|
3784
|
+
|
|
3785
|
+
var tokensCss = i$f`:host{--ds-auro-select-placeholder-text-color: var(--ds-color-text-secondary-default, $ds-color-text-secondary-default)}`;
|
|
3989
3786
|
|
|
3990
3787
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3991
3788
|
// See LICENSE in the project root for license information.
|
|
3992
3789
|
|
|
3993
3790
|
|
|
3994
|
-
|
|
3995
3791
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
3996
3792
|
/**
|
|
3997
|
-
* The auro-
|
|
3998
|
-
*
|
|
3999
|
-
* @
|
|
4000
|
-
* @
|
|
4001
|
-
* @
|
|
4002
|
-
* @
|
|
4003
|
-
* @
|
|
4004
|
-
* @
|
|
4005
|
-
* @
|
|
4006
|
-
* @
|
|
4007
|
-
* @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
|
|
4008
|
-
* @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
|
|
4009
|
-
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Notifies when the loading attribute is changed.
|
|
4010
|
-
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Notifies that an attempt to select a menuoption by matching a value has failed.
|
|
4011
|
-
* @event {CustomEvent<any>} auroMenu-selectValueReset - Notifies that the component value has been reset.
|
|
4012
|
-
* @event {CustomEvent<any>} auroMenu-selectedOption - Notifies that a new menuoption selection has been made.
|
|
4013
|
-
* @slot loadingText - Text to show while loading attribute is set
|
|
4014
|
-
* @slot loadingIcon - Icon to show while loading attribute is set
|
|
4015
|
-
* @slot - Slot for insertion of menu options.
|
|
3793
|
+
* The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
|
|
3794
|
+
*
|
|
3795
|
+
* @slot - Default slot for the menu content.
|
|
3796
|
+
* @slot label - Defines the content of the label.
|
|
3797
|
+
* @slot helpText - Defines the content of the helpText.
|
|
3798
|
+
* @slot placeholder - Defines the content of the placeholder to be shown when there is no value
|
|
3799
|
+
* @event auroSelect-valueSet - Notifies that the component has a new value set.
|
|
3800
|
+
* @event input - Notifies every time the value prop of the element is changed.
|
|
3801
|
+
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
3802
|
+
* @csspart helpText - Apply CSS to the help text.
|
|
4016
3803
|
*/
|
|
4017
3804
|
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
class AuroMenu extends r {
|
|
3805
|
+
// build the component class
|
|
3806
|
+
class AuroSelect extends r$9 {
|
|
4021
3807
|
constructor() {
|
|
4022
3808
|
super();
|
|
4023
3809
|
|
|
4024
|
-
// State properties (reactive)
|
|
4025
|
-
|
|
4026
|
-
// Value of the selected options
|
|
4027
|
-
this.value = undefined;
|
|
4028
|
-
// Currently selected option
|
|
4029
3810
|
this.optionSelected = undefined;
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
this.optionActive = undefined;
|
|
4036
|
-
// Loading state
|
|
4037
|
-
this.loading = false;
|
|
4038
|
-
// Multi-select mode
|
|
4039
|
-
this.multiSelect = false;
|
|
4040
|
-
|
|
4041
|
-
// Event Bindings
|
|
3811
|
+
this.value = undefined;
|
|
3812
|
+
|
|
3813
|
+
const idLength = 36;
|
|
3814
|
+
const idSubstrEnd = 8;
|
|
3815
|
+
const idSubstrStart = 2;
|
|
4042
3816
|
|
|
4043
3817
|
/**
|
|
4044
3818
|
* @private
|
|
4045
3819
|
*/
|
|
4046
|
-
this.
|
|
3820
|
+
this.uniqueId = Math.random().
|
|
3821
|
+
toString(idLength).
|
|
3822
|
+
substring(idSubstrStart, idSubstrEnd);
|
|
4047
3823
|
|
|
4048
3824
|
/**
|
|
4049
3825
|
* @private
|
|
4050
3826
|
*/
|
|
4051
|
-
this.
|
|
3827
|
+
this.validation = new AuroFormValidation();
|
|
4052
3828
|
|
|
4053
3829
|
/**
|
|
4054
3830
|
* @private
|
|
4055
3831
|
*/
|
|
4056
|
-
this.
|
|
3832
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
4057
3833
|
|
|
4058
3834
|
/**
|
|
4059
|
-
*
|
|
3835
|
+
* Generate unique names for dependency components.
|
|
4060
3836
|
*/
|
|
4061
|
-
|
|
3837
|
+
const versioning = new AuroDependencyVersioning$1();
|
|
4062
3838
|
|
|
4063
|
-
|
|
3839
|
+
/**
|
|
3840
|
+
* @private
|
|
3841
|
+
*/
|
|
3842
|
+
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
4064
3843
|
|
|
4065
3844
|
/**
|
|
4066
3845
|
* @private
|
|
4067
3846
|
*/
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
items: [],
|
|
4079
|
-
});
|
|
3847
|
+
this.isHiddenWhileLoading = false;
|
|
3848
|
+
}
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* @private
|
|
3852
|
+
* @returns {void} Internal defaults.
|
|
3853
|
+
*/
|
|
3854
|
+
privateDefaults() {
|
|
3855
|
+
this.options = [];
|
|
3856
|
+
this.optionActive = null;
|
|
4080
3857
|
}
|
|
4081
3858
|
|
|
3859
|
+
// This function is to define props used within the scope of this component
|
|
3860
|
+
// Be sure to review https://lit-element.polymer-project.org/guide/properties#reflected-attributes
|
|
3861
|
+
// to understand how to use reflected attributes with your property settings.
|
|
4082
3862
|
static get properties() {
|
|
4083
3863
|
return {
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
},
|
|
3864
|
+
|
|
3865
|
+
/**
|
|
3866
|
+
* When attribute is present, element shows disabled state.
|
|
3867
|
+
*/
|
|
4089
3868
|
disabled: {
|
|
4090
3869
|
type: Boolean,
|
|
4091
3870
|
reflect: true
|
|
4092
3871
|
},
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
// Allow HTMLElement[] arrays and undefined
|
|
4099
|
-
converter: arrayConverter,
|
|
4100
|
-
hasChanged: arrayOrUndefinedHasChanged
|
|
4101
|
-
},
|
|
4102
|
-
optionActive: {
|
|
4103
|
-
type: Object,
|
|
4104
|
-
attribute: 'optionactive'
|
|
4105
|
-
},
|
|
4106
|
-
matchWord: {
|
|
4107
|
-
type: String,
|
|
4108
|
-
attribute: 'matchword'
|
|
4109
|
-
},
|
|
4110
|
-
multiSelect: {
|
|
4111
|
-
type: Boolean,
|
|
4112
|
-
reflect: true,
|
|
4113
|
-
attribute: 'multiselect'
|
|
4114
|
-
},
|
|
4115
|
-
value: {
|
|
4116
|
-
// Allow string[] arrays and undefined
|
|
4117
|
-
type: Object,
|
|
4118
|
-
converter: arrayConverter,
|
|
4119
|
-
hasChanged: arrayOrUndefinedHasChanged
|
|
4120
|
-
}
|
|
4121
|
-
};
|
|
4122
|
-
}
|
|
4123
|
-
|
|
4124
|
-
static get styles() {
|
|
4125
|
-
return [
|
|
4126
|
-
styleCss$2,
|
|
4127
|
-
colorCss$2,
|
|
4128
|
-
tokensCss$1
|
|
4129
|
-
];
|
|
4130
|
-
}
|
|
4131
|
-
|
|
4132
|
-
/**
|
|
4133
|
-
* This will register this element with the browser.
|
|
4134
|
-
* @param {string} [name="auro-menu"] - The name of element that you want to register to.
|
|
4135
|
-
*
|
|
4136
|
-
* @example
|
|
4137
|
-
* AuroMenu.register("custom-menu") // this will register this element to <custom-menu/>
|
|
4138
|
-
*
|
|
4139
|
-
*/
|
|
4140
|
-
static register(name = "auro-menu") {
|
|
4141
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroMenu);
|
|
4142
|
-
}
|
|
4143
|
-
|
|
4144
|
-
// Lifecycle Methods
|
|
4145
|
-
|
|
4146
|
-
connectedCallback() {
|
|
4147
|
-
super.connectedCallback();
|
|
4148
|
-
|
|
4149
|
-
this.addEventListener('keydown', this.handleKeyDown);
|
|
4150
|
-
this.addEventListener('mousedown', this.handleMouseSelect);
|
|
4151
|
-
this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
|
|
4152
|
-
this.addEventListener('slotchange', this.handleSlotChange);
|
|
4153
|
-
}
|
|
4154
|
-
|
|
4155
|
-
disconnectedCallback() {
|
|
4156
|
-
this.removeEventListener('keydown', this.handleKeyDown);
|
|
4157
|
-
this.removeEventListener('mousedown', this.handleMouseSelect);
|
|
4158
|
-
this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
|
|
4159
|
-
this.removeEventListener('slotchange', this.handleSlotChange);
|
|
4160
|
-
|
|
4161
|
-
super.disconnectedCallback();
|
|
4162
|
-
}
|
|
4163
|
-
|
|
4164
|
-
firstUpdated() {
|
|
4165
|
-
AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
4166
|
-
|
|
4167
|
-
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
4168
|
-
this.initializeMenu();
|
|
4169
|
-
}
|
|
4170
|
-
|
|
4171
|
-
updated(changedProperties) {
|
|
4172
|
-
if (changedProperties.has('value')) {
|
|
4173
|
-
// Handle null/undefined case
|
|
4174
|
-
if (this.value === undefined || this.value === null) {
|
|
4175
|
-
this.optionSelected = undefined;
|
|
4176
|
-
// Reset index tracking
|
|
4177
|
-
this.index = -1;
|
|
4178
|
-
} else {
|
|
4179
|
-
// Convert single values to arrays
|
|
4180
|
-
const valueArray = Array.isArray(this.value) ? this.value : [this.value];
|
|
4181
|
-
|
|
4182
|
-
// Find all matching options
|
|
4183
|
-
const matchingOptions = this.items.filter((item) => valueArray.includes(item.value));
|
|
4184
|
-
|
|
4185
|
-
if (matchingOptions.length > 0) {
|
|
4186
|
-
if (this.multiSelect) {
|
|
4187
|
-
// For multiselect, keep all matching options
|
|
4188
|
-
this.optionSelected = matchingOptions;
|
|
4189
|
-
} else {
|
|
4190
|
-
// For single select, only use the first match
|
|
4191
|
-
this.optionSelected = [matchingOptions[0]];
|
|
4192
|
-
this.index = this.items.indexOf(matchingOptions[0]);
|
|
4193
|
-
}
|
|
4194
|
-
} else {
|
|
4195
|
-
// No matches found - trigger failure event
|
|
4196
|
-
dispatchMenuEvent(this, 'auroMenu-selectValueFailure');
|
|
4197
|
-
this.optionSelected = undefined;
|
|
4198
|
-
this.index = -1;
|
|
4199
|
-
}
|
|
4200
|
-
}
|
|
4201
|
-
|
|
4202
|
-
// Update UI state
|
|
4203
|
-
this.updateItemsState(new Map([
|
|
4204
|
-
[
|
|
4205
|
-
'optionSelected',
|
|
4206
|
-
true
|
|
4207
|
-
]
|
|
4208
|
-
]));
|
|
4209
|
-
|
|
4210
|
-
// Notify of changes
|
|
4211
|
-
if (this.optionSelected !== undefined) {
|
|
4212
|
-
this.notifySelectionChange();
|
|
4213
|
-
}
|
|
4214
|
-
}
|
|
4215
|
-
|
|
4216
|
-
// Process all other UI updates
|
|
4217
|
-
this.updateItemsState(changedProperties);
|
|
4218
|
-
}
|
|
4219
|
-
|
|
4220
|
-
/**
|
|
4221
|
-
* Updates the UI state and appearance of menu items based on changed properties.
|
|
4222
|
-
* @private
|
|
4223
|
-
* @param {Map<string, boolean>} changedProperties - LitElement's changed properties map.
|
|
4224
|
-
*/
|
|
4225
|
-
updateItemsState(changedProperties) {
|
|
4226
|
-
if (!this.items) {
|
|
4227
|
-
return;
|
|
4228
|
-
}
|
|
4229
|
-
|
|
4230
|
-
// Handle noCheckmark propagation to all menus and options
|
|
4231
|
-
if (changedProperties.has('noCheckmark') && this.noCheckmark) {
|
|
4232
|
-
// Update both menus and options
|
|
4233
|
-
this.querySelectorAll('auro-menu, [auro-menu], auro-menuoption, [auro-menuoption]').forEach((element) => element.setAttribute('noCheckmark', ''));
|
|
4234
|
-
}
|
|
4235
|
-
|
|
4236
|
-
// Regex for matchWord if needed
|
|
4237
|
-
let regexWord = null;
|
|
4238
|
-
|
|
4239
|
-
if (changedProperties.has('matchWord') && this.matchWord && this.matchWord.length) {
|
|
4240
|
-
const escapedWord = this.matchWord.replace(/[.*+?^${}()|[\]\\]/gu, '\\$&');
|
|
4241
|
-
regexWord = new RegExp(escapedWord, 'giu');
|
|
4242
|
-
}
|
|
4243
|
-
|
|
4244
|
-
// Handle direct item updates
|
|
4245
|
-
this.items.forEach((option) => {
|
|
4246
|
-
// Update selection if option or value changed
|
|
4247
|
-
if (changedProperties.has('optionSelected') || changedProperties.has('value')) {
|
|
4248
|
-
const isSelected = this.isOptionSelected(option);
|
|
4249
|
-
option.setAttribute('aria-selected', isSelected ? 'true' : 'false');
|
|
4250
|
-
|
|
4251
|
-
// Add/remove selected attribute based on state
|
|
4252
|
-
if (isSelected) {
|
|
4253
|
-
option.setAttribute('selected', '');
|
|
4254
|
-
} else {
|
|
4255
|
-
option.removeAttribute('selected');
|
|
4256
|
-
}
|
|
4257
|
-
}
|
|
4258
|
-
|
|
4259
|
-
// Update text highlighting if matchWord changed
|
|
4260
|
-
if (changedProperties.has('matchWord') && regexWord &&
|
|
4261
|
-
isOptionInteractive(option) && !option.hasAttribute('persistent')) {
|
|
4262
|
-
const nested = option.querySelectorAll('.nestingSpacer');
|
|
4263
|
-
// Create nested spacers
|
|
4264
|
-
const nestingSpacerBundle = [...nested].map(() => this.nestingSpacer).join('');
|
|
4265
|
-
|
|
4266
|
-
// Update with spacers and matchWord
|
|
4267
|
-
option.innerHTML = nestingSpacerBundle +
|
|
4268
|
-
option.textContent.replace(
|
|
4269
|
-
regexWord,
|
|
4270
|
-
(match) => `<strong>${match}</strong>`
|
|
4271
|
-
);
|
|
4272
|
-
}
|
|
4273
|
-
|
|
4274
|
-
// Update disabled state
|
|
4275
|
-
if (changedProperties.has('disabled')) {
|
|
4276
|
-
option.disabled = this.disabled;
|
|
4277
|
-
}
|
|
4278
|
-
});
|
|
4279
|
-
|
|
4280
|
-
// Handle loading state changes
|
|
4281
|
-
if (changedProperties.has('loading')) {
|
|
4282
|
-
this.setAttribute("aria-busy", this.loading);
|
|
4283
|
-
dispatchMenuEvent(this, "auroMenu-loadingChange", {
|
|
4284
|
-
loading: this.loading,
|
|
4285
|
-
hasLoadingPlaceholder: this.hasLoadingPlaceholder
|
|
4286
|
-
});
|
|
4287
|
-
}
|
|
4288
|
-
}
|
|
4289
|
-
|
|
4290
|
-
// Init Methods
|
|
4291
|
-
|
|
4292
|
-
/**
|
|
4293
|
-
* Initializes the menu's state and structure.
|
|
4294
|
-
* @private
|
|
4295
|
-
*/
|
|
4296
|
-
initializeMenu() {
|
|
4297
|
-
this.initItems();
|
|
4298
|
-
if (this.rootMenu) {
|
|
4299
|
-
this.setAttribute('role', 'listbox');
|
|
4300
|
-
this.setAttribute('root', '');
|
|
4301
|
-
this.handleNestedMenus(this);
|
|
4302
|
-
}
|
|
4303
|
-
}
|
|
4304
|
-
|
|
4305
|
-
/**
|
|
4306
|
-
* Initializes menu items and their attributes.
|
|
4307
|
-
* @private
|
|
4308
|
-
*/
|
|
4309
|
-
initItems() {
|
|
4310
|
-
this.items = Array.from(this.querySelectorAll('auro-menuoption, [auro-menuoption]'));
|
|
4311
|
-
if (this.noCheckmark) {
|
|
4312
|
-
this.updateItemsState(new Map([
|
|
4313
|
-
[
|
|
4314
|
-
'noCheckmark',
|
|
4315
|
-
true
|
|
4316
|
-
]
|
|
4317
|
-
]));
|
|
4318
|
-
}
|
|
4319
|
-
}
|
|
4320
|
-
|
|
4321
|
-
// Logic Methods
|
|
4322
|
-
|
|
4323
|
-
/**
|
|
4324
|
-
* Updates menu state when an option is selected.
|
|
4325
|
-
* @private
|
|
4326
|
-
* @param {HTMLElement} option - The option element to select.
|
|
4327
|
-
*/
|
|
4328
|
-
handleSelectState(option) {
|
|
4329
|
-
if (this.multiSelect) {
|
|
4330
|
-
const currentValue = this.value || [];
|
|
4331
|
-
const currentSelected = this.optionSelected || [];
|
|
4332
|
-
|
|
4333
|
-
if (!currentValue.includes(option.value)) {
|
|
4334
|
-
this.value = [
|
|
4335
|
-
...currentValue,
|
|
4336
|
-
option.value
|
|
4337
|
-
];
|
|
4338
|
-
}
|
|
4339
|
-
if (!currentSelected.includes(option)) {
|
|
4340
|
-
this.optionSelected = [
|
|
4341
|
-
...currentSelected,
|
|
4342
|
-
option
|
|
4343
|
-
];
|
|
4344
|
-
}
|
|
4345
|
-
} else {
|
|
4346
|
-
// Single select - use arrays with single values
|
|
4347
|
-
this.value = [option.value];
|
|
4348
|
-
this.optionSelected = [option];
|
|
4349
|
-
}
|
|
4350
|
-
|
|
4351
|
-
this.index = this.items.indexOf(option);
|
|
4352
|
-
}
|
|
4353
|
-
|
|
4354
|
-
/**
|
|
4355
|
-
* Deselects a menu option and updates related state.
|
|
4356
|
-
* @private
|
|
4357
|
-
* @param {HTMLElement} option - The menuoption to be deselected.
|
|
4358
|
-
*/
|
|
4359
|
-
handleDeselectState(option) {
|
|
4360
|
-
if (this.multiSelect && Array.isArray(this.value)) {
|
|
4361
|
-
// Remove this option from array
|
|
4362
|
-
this.value = this.value.filter((val) => val !== option.value);
|
|
4363
|
-
|
|
4364
|
-
// If array is empty after removal, set back to undefined
|
|
4365
|
-
if (this.value.length === 0) {
|
|
4366
|
-
this.value = undefined;
|
|
4367
|
-
}
|
|
4368
|
-
|
|
4369
|
-
this.optionSelected = this.optionSelected.filter((val) => val !== option);
|
|
4370
|
-
if (this.optionSelected.length === 0) {
|
|
4371
|
-
this.optionSelected = undefined;
|
|
4372
|
-
}
|
|
4373
|
-
} else {
|
|
4374
|
-
// For single-select: Back to undefined when deselected
|
|
4375
|
-
this.value = undefined;
|
|
4376
|
-
this.optionSelected = undefined;
|
|
4377
|
-
}
|
|
4378
|
-
|
|
4379
|
-
// Update the index tracking
|
|
4380
|
-
this.index = this.items.indexOf(option);
|
|
4381
|
-
|
|
4382
|
-
// Update UI to reflect changes
|
|
4383
|
-
this.updateItemsState(new Map([
|
|
4384
|
-
[
|
|
4385
|
-
'optionSelected',
|
|
4386
|
-
true
|
|
4387
|
-
]
|
|
4388
|
-
]));
|
|
4389
|
-
|
|
4390
|
-
// Notify of selection change
|
|
4391
|
-
this.notifySelectionChange();
|
|
4392
|
-
}
|
|
4393
|
-
|
|
4394
|
-
/**
|
|
4395
|
-
* Resets all options to their default state.
|
|
4396
|
-
* @private
|
|
4397
|
-
*/
|
|
4398
|
-
clearSelection() {
|
|
4399
|
-
this.optionSelected = undefined;
|
|
4400
|
-
this.value = undefined;
|
|
4401
|
-
}
|
|
4402
|
-
|
|
4403
|
-
/**
|
|
4404
|
-
* Resets the menu to its initial state.
|
|
4405
|
-
* This is the only way to return value to undefined.
|
|
4406
|
-
* @public
|
|
4407
|
-
*/
|
|
4408
|
-
reset() {
|
|
4409
|
-
// Reset to undefined - initial state
|
|
4410
|
-
this.value = undefined;
|
|
4411
|
-
this.optionSelected = undefined;
|
|
4412
|
-
this.index = -1;
|
|
4413
|
-
|
|
4414
|
-
// Reset UI state
|
|
4415
|
-
this.updateItemsState(new Map([
|
|
4416
|
-
[
|
|
4417
|
-
'optionSelected',
|
|
4418
|
-
true
|
|
4419
|
-
]
|
|
4420
|
-
]));
|
|
4421
|
-
|
|
4422
|
-
// Dispatch reset event
|
|
4423
|
-
dispatchMenuEvent(this, 'auroMenu-selectValueReset');
|
|
4424
|
-
}
|
|
4425
|
-
|
|
4426
|
-
/**
|
|
4427
|
-
* Handles nested menu structure.
|
|
4428
|
-
* @private
|
|
4429
|
-
* @param {HTMLElement} menu - Root menu element.
|
|
4430
|
-
*/
|
|
4431
|
-
handleNestedMenus(menu) {
|
|
4432
|
-
const nestedMenus = menu.querySelectorAll('auro-menu, [auro-menu]');
|
|
4433
|
-
|
|
4434
|
-
nestedMenus.forEach((nestedMenu) => {
|
|
4435
|
-
// role="listbox" only allows "role=group" for children.
|
|
4436
|
-
nestedMenu.setAttribute('role', 'group');
|
|
4437
|
-
if (!nestedMenu.hasAttribute('aria-label')) {
|
|
4438
|
-
nestedMenu.setAttribute('aria-label', 'submenu');
|
|
4439
|
-
}
|
|
4440
|
-
|
|
4441
|
-
const options = nestedMenu.querySelectorAll(':scope > auro-menuoption, :scope > [auro-menuoption]');
|
|
4442
|
-
options.forEach((option) => {
|
|
4443
|
-
option.innerHTML = this.nestingSpacer + option.innerHTML;
|
|
4444
|
-
});
|
|
4445
|
-
|
|
4446
|
-
this.handleNestedMenus(nestedMenu);
|
|
4447
|
-
});
|
|
4448
|
-
}
|
|
4449
|
-
|
|
4450
|
-
// Event Handlers
|
|
4451
|
-
|
|
4452
|
-
/**
|
|
4453
|
-
* Handles keyboard navigation.
|
|
4454
|
-
* @private
|
|
4455
|
-
* @param {KeyboardEvent} event - Event object from the browser.
|
|
4456
|
-
*/
|
|
4457
|
-
handleKeyDown(event) {
|
|
4458
|
-
event.preventDefault();
|
|
4459
|
-
switch (event.key) {
|
|
4460
|
-
case "ArrowDown":
|
|
4461
|
-
this.navigateOptions('down');
|
|
4462
|
-
break;
|
|
4463
|
-
case "ArrowUp":
|
|
4464
|
-
this.navigateOptions('up');
|
|
4465
|
-
break;
|
|
4466
|
-
case "Enter":
|
|
4467
|
-
this.makeSelection();
|
|
4468
|
-
break;
|
|
4469
|
-
}
|
|
4470
|
-
}
|
|
4471
|
-
|
|
4472
|
-
/**
|
|
4473
|
-
* Makes a selection based on the current index or clicked option.
|
|
4474
|
-
* @private
|
|
4475
|
-
*/
|
|
4476
|
-
makeSelection() {
|
|
4477
|
-
if (!this.items) {
|
|
4478
|
-
this.initItems();
|
|
4479
|
-
}
|
|
4480
|
-
|
|
4481
|
-
// Get currently selected menu option based on index
|
|
4482
|
-
const option = this.items[this.index];
|
|
4483
|
-
|
|
4484
|
-
// Return early if option is not interactive
|
|
4485
|
-
if (!option || !isOptionInteractive(option)) {
|
|
4486
|
-
return;
|
|
4487
|
-
}
|
|
4488
|
-
|
|
4489
|
-
// Handle custom events first
|
|
4490
|
-
if (option.hasAttribute('event')) {
|
|
4491
|
-
this.handleCustomEvent(option);
|
|
4492
|
-
return;
|
|
4493
|
-
}
|
|
4494
|
-
|
|
4495
|
-
if (this.multiSelect) {
|
|
4496
|
-
// In multiselect, toggle individual selections
|
|
4497
|
-
this.toggleOption(option);
|
|
4498
|
-
// In single select, only handle selection of new options
|
|
4499
|
-
} else if (!this.isOptionSelected(option)) {
|
|
4500
|
-
this.clearSelection();
|
|
4501
|
-
this.handleSelectState(option);
|
|
4502
|
-
}
|
|
4503
|
-
|
|
4504
|
-
this.notifySelectionChange();
|
|
4505
|
-
}
|
|
4506
|
-
|
|
4507
|
-
/**
|
|
4508
|
-
* Toggle the selection state of the menuoption.
|
|
4509
|
-
* @private
|
|
4510
|
-
* @param {HTMLElement} option - The menuoption to toggle.
|
|
4511
|
-
*/
|
|
4512
|
-
toggleOption(option) {
|
|
4513
|
-
const isCurrentlySelected = this.isOptionSelected(option);
|
|
4514
|
-
|
|
4515
|
-
if (isCurrentlySelected) {
|
|
4516
|
-
this.handleDeselectState(option);
|
|
4517
|
-
} else if (option.value === undefined || option.value === '') {
|
|
4518
|
-
dispatchMenuEvent(this, 'auroMenu-selectValueFailure');
|
|
4519
|
-
} else {
|
|
4520
|
-
this.handleSelectState(option);
|
|
4521
|
-
}
|
|
4522
|
-
}
|
|
4523
|
-
|
|
4524
|
-
/**
|
|
4525
|
-
* Handles option selection via mouse.
|
|
4526
|
-
* @private
|
|
4527
|
-
* @param {MouseEvent} event - Event object from the browser.
|
|
4528
|
-
*/
|
|
4529
|
-
handleMouseSelect(event) {
|
|
4530
|
-
if (event.target === this) {
|
|
4531
|
-
return;
|
|
4532
|
-
}
|
|
4533
|
-
|
|
4534
|
-
const option = event.target.closest('auro-menuoption, [auro-menuoption]');
|
|
4535
|
-
if (option) {
|
|
4536
|
-
this.index = this.items.indexOf(option);
|
|
4537
|
-
this.makeSelection();
|
|
4538
|
-
}
|
|
4539
|
-
}
|
|
4540
|
-
|
|
4541
|
-
/**
|
|
4542
|
-
* Handles option hover events.
|
|
4543
|
-
* @private
|
|
4544
|
-
* @param {CustomEvent} event - Event object from the browser.
|
|
4545
|
-
*/
|
|
4546
|
-
handleOptionHover(event) {
|
|
4547
|
-
const option = event.target;
|
|
4548
|
-
this.index = this.items.indexOf(option);
|
|
4549
|
-
this.updateActiveOption(this.index);
|
|
4550
|
-
}
|
|
4551
|
-
|
|
4552
|
-
/**
|
|
4553
|
-
* Handles slot change events.
|
|
4554
|
-
* @private
|
|
4555
|
-
*/
|
|
4556
|
-
handleSlotChange() {
|
|
4557
|
-
if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
|
|
4558
|
-
this.rootMenu = false;
|
|
4559
|
-
}
|
|
4560
|
-
|
|
4561
|
-
if (this.rootMenu) {
|
|
4562
|
-
this.initializeMenu();
|
|
4563
|
-
} else if (this.noCheckmark) {
|
|
4564
|
-
this.updateItemsState(new Map([
|
|
4565
|
-
[
|
|
4566
|
-
'noCheckmark',
|
|
4567
|
-
true
|
|
4568
|
-
]
|
|
4569
|
-
]));
|
|
4570
|
-
}
|
|
4571
|
-
}
|
|
4572
|
-
|
|
4573
|
-
/**
|
|
4574
|
-
* Navigates through options using keyboard.
|
|
4575
|
-
* @private
|
|
4576
|
-
* @param {string} direction - 'up' or 'down'.
|
|
4577
|
-
*/
|
|
4578
|
-
navigateOptions(direction) {
|
|
4579
|
-
// Return early if no items exist
|
|
4580
|
-
if (!this.items || !this.items.length) {
|
|
4581
|
-
return;
|
|
4582
|
-
}
|
|
4583
|
-
|
|
4584
|
-
let newIndex = this.index;
|
|
4585
|
-
const increment = direction === 'down' ? 1 : -1;
|
|
4586
|
-
const maxIterations = this.items.length;
|
|
4587
|
-
let iterations = 0;
|
|
4588
|
-
let foundInteractiveOption = false;
|
|
4589
|
-
|
|
4590
|
-
do {
|
|
4591
|
-
newIndex = (newIndex + increment + this.items.length) % this.items.length;
|
|
4592
|
-
iterations += 1;
|
|
4593
|
-
|
|
4594
|
-
// Check if current option is interactive
|
|
4595
|
-
const currentOption = this.items[newIndex];
|
|
4596
|
-
if (isOptionInteractive(currentOption)) {
|
|
4597
|
-
foundInteractiveOption = true;
|
|
4598
|
-
break;
|
|
4599
|
-
}
|
|
4600
|
-
|
|
4601
|
-
// Break if all options were checked
|
|
4602
|
-
if (iterations >= maxIterations) {
|
|
4603
|
-
break;
|
|
4604
|
-
}
|
|
4605
|
-
} while (iterations < maxIterations);
|
|
4606
|
-
|
|
4607
|
-
// Handle the results of the search
|
|
4608
|
-
if (foundInteractiveOption) {
|
|
4609
|
-
// Update only if an interactive option was found
|
|
4610
|
-
this.index = newIndex;
|
|
4611
|
-
this.updateActiveOption(this.index);
|
|
4612
|
-
} else {
|
|
4613
|
-
// All options are disabled or non-interactive
|
|
4614
|
-
// Keep the current index unchanged
|
|
4615
|
-
dispatchMenuEvent(this, 'auroMenu-navigateFailure', {
|
|
4616
|
-
reason: 'No interactive options available',
|
|
4617
|
-
direction,
|
|
4618
|
-
currentIndex: this.index
|
|
4619
|
-
});
|
|
4620
|
-
}
|
|
4621
|
-
}
|
|
4622
|
-
|
|
4623
|
-
/**
|
|
4624
|
-
* Updates the active option state and dispatches events.
|
|
4625
|
-
* @private
|
|
4626
|
-
* @param {number} index - Index of the option to make active.
|
|
4627
|
-
*/
|
|
4628
|
-
updateActiveOption(index) {
|
|
4629
|
-
if (!this.items || !this.items[index]) {
|
|
4630
|
-
return;
|
|
4631
|
-
}
|
|
4632
|
-
|
|
4633
|
-
this.items.forEach((item) => item.classList.remove('active'));
|
|
4634
|
-
this.items[index].classList.add('active');
|
|
4635
|
-
this.optionActive = this.items[index];
|
|
4636
|
-
|
|
4637
|
-
dispatchMenuEvent(this, 'auroMenu-activatedOption', this.items[index]);
|
|
4638
|
-
}
|
|
4639
|
-
|
|
4640
|
-
/**
|
|
4641
|
-
* Handles custom events defined on options.
|
|
4642
|
-
* @private
|
|
4643
|
-
* @param {HTMLElement} option - Option with custom event.
|
|
4644
|
-
*/
|
|
4645
|
-
handleCustomEvent(option) {
|
|
4646
|
-
const eventName = option.getAttribute('event');
|
|
4647
|
-
dispatchMenuEvent(this, eventName);
|
|
4648
|
-
dispatchMenuEvent(this, 'auroMenu-customEventFired');
|
|
4649
|
-
}
|
|
4650
|
-
|
|
4651
|
-
/**
|
|
4652
|
-
* Notifies selection change to parent components.
|
|
4653
|
-
* @private
|
|
4654
|
-
*/
|
|
4655
|
-
notifySelectionChange() {
|
|
4656
|
-
dispatchMenuEvent(this, 'auroMenu-selectedOption');
|
|
4657
|
-
}
|
|
4658
|
-
|
|
4659
|
-
/**
|
|
4660
|
-
* Checks if an option is currently selected.
|
|
4661
|
-
* @private
|
|
4662
|
-
* @param {HTMLElement} option - The option to check.
|
|
4663
|
-
* @returns {boolean}
|
|
4664
|
-
*/
|
|
4665
|
-
isOptionSelected(option) {
|
|
4666
|
-
if (!this.optionSelected) {
|
|
4667
|
-
return false;
|
|
4668
|
-
}
|
|
4669
|
-
// Always treat as array for both single and multi-select
|
|
4670
|
-
return Array.isArray(this.optionSelected) && this.optionSelected.includes(option);
|
|
4671
|
-
}
|
|
4672
|
-
|
|
4673
|
-
/**
|
|
4674
|
-
* Getter for loading placeholder state.
|
|
4675
|
-
* @returns {boolean} - True if loading slots are present and non-empty.
|
|
4676
|
-
*/
|
|
4677
|
-
get hasLoadingPlaceholder() {
|
|
4678
|
-
return this.loadingSlots && this.loadingSlots.length > 0;
|
|
4679
|
-
}
|
|
4680
|
-
|
|
4681
|
-
/**
|
|
4682
|
-
* Renders the component.
|
|
4683
|
-
* @returns {boolean} - True if loading slots are present and non-empty.
|
|
4684
|
-
*/
|
|
4685
|
-
render() {
|
|
4686
|
-
if (this.loading) {
|
|
4687
|
-
return x`
|
|
4688
|
-
<auro-menuoption disabled loadingplaceholder class="${this.hasLoadingPlaceholder ? '' : 'empty'}">
|
|
4689
|
-
<div>
|
|
4690
|
-
<slot name="loadingIcon"></slot>
|
|
4691
|
-
<slot name="loadingText"></slot>
|
|
4692
|
-
</div>
|
|
4693
|
-
</auro-menuoption>
|
|
4694
|
-
`;
|
|
4695
|
-
}
|
|
4696
|
-
|
|
4697
|
-
return x`<slot @slotchange=${this.handleSlotChange}></slot>`;
|
|
4698
|
-
}
|
|
4699
|
-
}
|
|
4700
|
-
|
|
4701
|
-
/**
|
|
4702
|
-
* @license
|
|
4703
|
-
* Copyright 2020 Google LLC
|
|
4704
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4705
|
-
*/
|
|
4706
|
-
const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litStatic$:t,r:a}),i$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}),l=new Map,n=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$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.get(t))&&(n.raw=n,l.set(t,r=n)),e=u;}return t(r,...e)},u=n(x);
|
|
4707
|
-
|
|
4708
|
-
var styleCss$1 = i$5`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
|
|
4709
|
-
|
|
4710
|
-
var colorCss$1 = i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-active-default, #225296)}`;
|
|
4711
|
-
|
|
4712
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
4713
|
-
// See LICENSE in the project root for license information.
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
class AuroDependencyVersioning {
|
|
4717
|
-
|
|
4718
|
-
/**
|
|
4719
|
-
* Generates a unique string to be used for child auro element naming.
|
|
4720
|
-
* @private
|
|
4721
|
-
* @param {string} baseName - Defines the first part of the unique element name.
|
|
4722
|
-
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
4723
|
-
* @returns {string} - Unique string to be used for naming.
|
|
4724
|
-
*/
|
|
4725
|
-
generateElementName(baseName, version) {
|
|
4726
|
-
let result = baseName;
|
|
4727
|
-
|
|
4728
|
-
result += '-';
|
|
4729
|
-
result += version.replace(/[.]/g, '_');
|
|
4730
|
-
|
|
4731
|
-
return result;
|
|
4732
|
-
}
|
|
4733
|
-
|
|
4734
|
-
/**
|
|
4735
|
-
* Generates a unique string to be used for child auro element naming.
|
|
4736
|
-
* @param {string} baseName - Defines the first part of the unique element name.
|
|
4737
|
-
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
4738
|
-
* @returns {string} - Unique string to be used for naming.
|
|
4739
|
-
*/
|
|
4740
|
-
generateTag(baseName, version, tagClass) {
|
|
4741
|
-
const elementName = this.generateElementName(baseName, version);
|
|
4742
|
-
const tag = i$1`${s(elementName)}`;
|
|
4743
|
-
|
|
4744
|
-
if (!customElements.get(elementName)) {
|
|
4745
|
-
customElements.define(elementName, class extends tagClass {});
|
|
4746
|
-
}
|
|
4747
|
-
|
|
4748
|
-
return tag;
|
|
4749
|
-
}
|
|
4750
|
-
}
|
|
4751
|
-
|
|
4752
|
-
/**
|
|
4753
|
-
* @license
|
|
4754
|
-
* Copyright 2017 Google LLC
|
|
4755
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4756
|
-
*/
|
|
4757
|
-
const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$1=t=>(...e)=>({_$litDirective$:t,values:e});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)}}
|
|
4758
|
-
|
|
4759
|
-
/**
|
|
4760
|
-
* @license
|
|
4761
|
-
* Copyright 2018 Google LLC
|
|
4762
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4763
|
-
*/const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.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}});
|
|
4764
|
-
|
|
4765
|
-
/**
|
|
4766
|
-
* @license
|
|
4767
|
-
* Copyright 2018 Google LLC
|
|
4768
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4769
|
-
*/const o=o=>o??E;
|
|
4770
|
-
|
|
4771
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
4772
|
-
// See LICENSE in the project root for license information.
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
/**
|
|
4776
|
-
* @attr {Boolean} hidden - If present, the component will be hidden both visually and from screen readers
|
|
4777
|
-
* @attr {Boolean} hiddenVisually - If present, the component will be hidden visually, but still read by screen readers
|
|
4778
|
-
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
4779
|
-
*/
|
|
4780
|
-
|
|
4781
|
-
class AuroElement extends r {
|
|
4782
|
-
|
|
4783
|
-
// function to define props used within the scope of this component
|
|
4784
|
-
static get properties() {
|
|
4785
|
-
return {
|
|
4786
|
-
hidden: { type: Boolean,
|
|
4787
|
-
reflect: true },
|
|
4788
|
-
hiddenVisually: { type: Boolean,
|
|
4789
|
-
reflect: true },
|
|
4790
|
-
hiddenAudible: { type: Boolean,
|
|
4791
|
-
reflect: true },
|
|
4792
|
-
};
|
|
4793
|
-
}
|
|
4794
|
-
|
|
4795
|
-
/**
|
|
4796
|
-
* @private Function that determines state of aria-hidden
|
|
4797
|
-
*/
|
|
4798
|
-
hideAudible(value) {
|
|
4799
|
-
if (value) {
|
|
4800
|
-
return 'true'
|
|
4801
|
-
}
|
|
4802
|
-
|
|
4803
|
-
return 'false'
|
|
4804
|
-
}
|
|
4805
|
-
}
|
|
4806
|
-
|
|
4807
|
-
var error = {"role":"img","color":"currentColor","title":"","desc":"Error alert indicator.","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":"error","category":"alert","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
4808
|
-
|
|
4809
|
-
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
4810
|
-
|
|
4811
|
-
const _fetchMap = new Map();
|
|
4812
|
-
|
|
4813
|
-
/**
|
|
4814
|
-
* A callback to parse Response body.
|
|
4815
|
-
*
|
|
4816
|
-
* @callback ResponseParser
|
|
4817
|
-
* @param {Fetch.Response} response
|
|
4818
|
-
* @returns {Promise}
|
|
4819
|
-
*/
|
|
4820
|
-
|
|
4821
|
-
/**
|
|
4822
|
-
* A minimal in-memory map to de-duplicate Fetch API media requests.
|
|
4823
|
-
*
|
|
4824
|
-
* @param {String} uri
|
|
4825
|
-
* @param {Object} [options={}]
|
|
4826
|
-
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
4827
|
-
* @returns {Promise}
|
|
4828
|
-
*/
|
|
4829
|
-
const cacheFetch = (uri, options = {}) => {
|
|
4830
|
-
const responseParser = options.responseParser || ((response) => response.text());
|
|
4831
|
-
if (!_fetchMap.has(uri)) {
|
|
4832
|
-
_fetchMap.set(uri, fetch(uri).then(responseParser));
|
|
4833
|
-
}
|
|
4834
|
-
return _fetchMap.get(uri);
|
|
4835
|
-
};
|
|
4836
|
-
|
|
4837
|
-
var styleCss$3 = i$5`*,*: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}`;
|
|
4838
|
-
|
|
4839
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
4840
|
-
// See LICENSE in the project root for license information.
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
4844
|
-
/**
|
|
4845
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
4846
|
-
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
4847
|
-
*/
|
|
4848
|
-
|
|
4849
|
-
// build the component class
|
|
4850
|
-
class BaseIcon extends AuroElement {
|
|
4851
|
-
constructor() {
|
|
4852
|
-
super();
|
|
4853
|
-
this.onDark = false;
|
|
4854
|
-
}
|
|
4855
|
-
|
|
4856
|
-
// function to define props used within the scope of this component
|
|
4857
|
-
static get properties() {
|
|
4858
|
-
return {
|
|
4859
|
-
...super.properties,
|
|
4860
|
-
onDark: {
|
|
4861
|
-
type: Boolean,
|
|
4862
|
-
reflect: true
|
|
4863
|
-
},
|
|
4864
|
-
|
|
4865
|
-
/**
|
|
4866
|
-
* @private
|
|
4867
|
-
*/
|
|
4868
|
-
svg: {
|
|
4869
|
-
attribute: false,
|
|
4870
|
-
reflect: true
|
|
4871
|
-
}
|
|
4872
|
-
};
|
|
4873
|
-
}
|
|
4874
|
-
|
|
4875
|
-
static get styles() {
|
|
4876
|
-
return i$5`
|
|
4877
|
-
${styleCss$3}
|
|
4878
|
-
`;
|
|
4879
|
-
}
|
|
4880
|
-
|
|
4881
|
-
/**
|
|
4882
|
-
* Async function to fetch requested icon from npm CDN.
|
|
4883
|
-
* @private
|
|
4884
|
-
* @param {string} category - Icon category.
|
|
4885
|
-
* @param {string} name - Icon name.
|
|
4886
|
-
* @returns {SVGElement} DOM - Ready HTML to be appended.
|
|
4887
|
-
*/
|
|
4888
|
-
async fetchIcon(category, name) {
|
|
4889
|
-
let iconHTML = '';
|
|
4890
|
-
|
|
4891
|
-
if (category === 'logos') {
|
|
4892
|
-
iconHTML = await cacheFetch(`${this.uri}/${category}/${name}.svg`);
|
|
4893
|
-
} else {
|
|
4894
|
-
iconHTML = await cacheFetch(`${this.uri}/icons/${category}/${name}.svg`);
|
|
4895
|
-
}
|
|
4896
|
-
|
|
4897
|
-
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
4898
|
-
|
|
4899
|
-
return dom.body.querySelector('svg');
|
|
4900
|
-
}
|
|
4901
|
-
|
|
4902
|
-
// lifecycle function
|
|
4903
|
-
async firstUpdated() {
|
|
4904
|
-
if (!this.customSvg) {
|
|
4905
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
4906
|
-
|
|
4907
|
-
if (svg) {
|
|
4908
|
-
this.svg = svg;
|
|
4909
|
-
} else if (!svg) {
|
|
4910
|
-
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
4911
|
-
|
|
4912
|
-
this.svg = penDOM.body.firstChild;
|
|
4913
|
-
}
|
|
4914
|
-
}
|
|
4915
|
-
}
|
|
4916
|
-
}
|
|
4917
|
-
|
|
4918
|
-
var tokensCss$2 = i$5`: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)}`;
|
|
4919
|
-
|
|
4920
|
-
var colorCss$3 = i$5`: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)}`;
|
|
4921
|
-
|
|
4922
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
4923
|
-
// See LICENSE in the project root for license information.
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
4927
|
-
/**
|
|
4928
|
-
* auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
|
|
4929
|
-
*
|
|
4930
|
-
* @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
4931
|
-
* @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
|
|
4932
|
-
* @attr {Boolean} customColor - Removes primary selector.
|
|
4933
|
-
* @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
|
|
4934
|
-
* @attr {Boolean} label - Exposes content in slot as icon label.
|
|
4935
|
-
* @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
4936
|
-
* @attr {Boolean} accent - Sets the icon to use the accent style.
|
|
4937
|
-
* @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
|
|
4938
|
-
* @attr {Boolean} disabled - Sets the icon to use the disabled style.
|
|
4939
|
-
* @attr {Boolean} error - Sets the icon to use the error style.
|
|
4940
|
-
* @attr {Boolean} info - Sets the icon to use the info style.
|
|
4941
|
-
* @attr {Boolean} secondary - Sets the icon to use the secondary style.
|
|
4942
|
-
* @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
|
|
4943
|
-
* @attr {Boolean} subtle - Sets the icon to use the subtle style.
|
|
4944
|
-
* @attr {Boolean} success - Sets the icon to use the success style.
|
|
4945
|
-
* @attr {Boolean} warning - Sets the icon to use the warning style.
|
|
4946
|
-
* @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
|
|
4947
|
-
* @attr {String} uri - Set the uri for CDN used when fetching icons
|
|
4948
|
-
* @slot - Hidden from visibility, used for a11y if icon description is needed.
|
|
4949
|
-
* @slot svg - Used for custom SVG content.
|
|
4950
|
-
*/
|
|
4951
|
-
|
|
4952
|
-
// build the component class
|
|
4953
|
-
class AuroIcon extends BaseIcon {
|
|
4954
|
-
constructor() {
|
|
4955
|
-
super();
|
|
4956
|
-
|
|
4957
|
-
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
4958
|
-
|
|
4959
|
-
this.privateDefaults();
|
|
4960
|
-
}
|
|
4961
|
-
|
|
4962
|
-
/**
|
|
4963
|
-
* Internal Defaults.
|
|
4964
|
-
* @private
|
|
4965
|
-
* @returns {void}
|
|
4966
|
-
*/
|
|
4967
|
-
privateDefaults() {
|
|
4968
|
-
this.accent = false;
|
|
4969
|
-
this.customColor = false;
|
|
4970
|
-
this.customSvg = false;
|
|
4971
|
-
this.disabled = false;
|
|
4972
|
-
this.emphasis = false;
|
|
4973
|
-
this.error = false;
|
|
4974
|
-
this.info = false;
|
|
4975
|
-
this.label = false;
|
|
4976
|
-
this.primary = false;
|
|
4977
|
-
this.secondary = false;
|
|
4978
|
-
this.subtle = false;
|
|
4979
|
-
this.success = false;
|
|
4980
|
-
this.tertiary = false;
|
|
4981
|
-
this.warning = false;
|
|
4982
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
4983
|
-
}
|
|
4984
|
-
|
|
4985
|
-
// function to define props used within the scope of this component
|
|
4986
|
-
static get properties() {
|
|
4987
|
-
return {
|
|
4988
|
-
...super.properties,
|
|
4989
|
-
accent: {
|
|
4990
|
-
type: Boolean,
|
|
4991
|
-
reflect: true
|
|
4992
|
-
},
|
|
4993
|
-
ariaHidden: {
|
|
4994
|
-
type: String,
|
|
4995
|
-
reflect: true
|
|
4996
|
-
},
|
|
4997
|
-
category: {
|
|
4998
|
-
type: String,
|
|
4999
|
-
reflect: true
|
|
5000
|
-
},
|
|
5001
|
-
customColor: {
|
|
5002
|
-
type: Boolean
|
|
5003
|
-
},
|
|
5004
|
-
customSvg: {
|
|
5005
|
-
type: Boolean
|
|
5006
|
-
},
|
|
5007
|
-
disabled: {
|
|
5008
|
-
type: Boolean,
|
|
5009
|
-
reflect: true
|
|
5010
|
-
},
|
|
5011
|
-
emphasis: {
|
|
5012
|
-
type: Boolean,
|
|
5013
|
-
reflect: true
|
|
5014
|
-
},
|
|
5015
|
-
error: {
|
|
5016
|
-
type: Boolean,
|
|
5017
|
-
reflect: true
|
|
5018
|
-
},
|
|
5019
|
-
info: {
|
|
5020
|
-
type: Boolean,
|
|
5021
|
-
reflect: true
|
|
5022
|
-
},
|
|
5023
|
-
label: {
|
|
5024
|
-
type: Boolean,
|
|
5025
|
-
reflect: true
|
|
5026
|
-
},
|
|
5027
|
-
name: {
|
|
5028
|
-
type: String,
|
|
5029
|
-
reflect: true
|
|
5030
|
-
},
|
|
5031
|
-
primary: {
|
|
5032
|
-
type: Boolean,
|
|
5033
|
-
reflect: true
|
|
5034
|
-
},
|
|
5035
|
-
secondary: {
|
|
5036
|
-
type: Boolean,
|
|
5037
|
-
reflect: true
|
|
5038
|
-
},
|
|
5039
|
-
subtle: {
|
|
5040
|
-
type: Boolean,
|
|
5041
|
-
reflect: true
|
|
5042
|
-
},
|
|
5043
|
-
success: {
|
|
5044
|
-
type: Boolean,
|
|
5045
|
-
reflect: true
|
|
5046
|
-
},
|
|
5047
|
-
tertiary: {
|
|
5048
|
-
type: Boolean,
|
|
5049
|
-
reflect: true
|
|
5050
|
-
},
|
|
5051
|
-
uri: {
|
|
5052
|
-
type: String
|
|
5053
|
-
},
|
|
5054
|
-
warning: {
|
|
5055
|
-
type: Boolean,
|
|
5056
|
-
reflect: true
|
|
5057
|
-
}
|
|
5058
|
-
};
|
|
5059
|
-
}
|
|
5060
|
-
|
|
5061
|
-
static get styles() {
|
|
5062
|
-
return [
|
|
5063
|
-
super.styles,
|
|
5064
|
-
i$5`${tokensCss$2}`,
|
|
5065
|
-
i$5`${styleCss$3}`,
|
|
5066
|
-
i$5`${colorCss$3}`
|
|
5067
|
-
];
|
|
5068
|
-
}
|
|
5069
|
-
|
|
5070
|
-
/**
|
|
5071
|
-
* This will register this element with the browser.
|
|
5072
|
-
* @param {string} [name="auro-icon"] - The name of element that you want to register to.
|
|
5073
|
-
*
|
|
5074
|
-
* @example
|
|
5075
|
-
* AuroIcon.register("custom-icon") // this will register this element to <custom-icon/>
|
|
5076
|
-
*
|
|
5077
|
-
*/
|
|
5078
|
-
static register(name = "auro-icon") {
|
|
5079
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
5080
|
-
}
|
|
5081
|
-
|
|
5082
|
-
connectedCallback() {
|
|
5083
|
-
super.connectedCallback();
|
|
5084
|
-
|
|
5085
|
-
// Add the tag name as an attribute if it is different than the component name
|
|
5086
|
-
this.runtimeUtils.handleComponentTagRename(this, 'auro-icon');
|
|
5087
|
-
}
|
|
5088
|
-
|
|
5089
|
-
/**
|
|
5090
|
-
* @returns {void} Exposes CSS parts for styling from parent components.
|
|
5091
|
-
*/
|
|
5092
|
-
exposeCssParts() {
|
|
5093
|
-
this.setAttribute('exportparts', 'svg:iconSvg');
|
|
5094
|
-
}
|
|
5095
|
-
|
|
5096
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
5097
|
-
render() {
|
|
5098
|
-
const a11y = {
|
|
5099
|
-
'labelContainer': true,
|
|
5100
|
-
'util_displayHiddenVisually': !this.label
|
|
5101
|
-
};
|
|
5102
|
-
|
|
5103
|
-
const classes = {
|
|
5104
|
-
'label': this.label,
|
|
5105
|
-
'wrapper': true,
|
|
5106
|
-
};
|
|
5107
|
-
|
|
5108
|
-
return x`
|
|
5109
|
-
<div
|
|
5110
|
-
class="${e(classes)}"
|
|
5111
|
-
title="${o(this.title || undefined)}">
|
|
5112
|
-
<span aria-hidden="${o(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
5113
|
-
${this.customSvg ? x`
|
|
5114
|
-
<slot name="svg"></slot>
|
|
5115
|
-
` : x`
|
|
5116
|
-
${this.svg}
|
|
5117
|
-
`
|
|
5118
|
-
}
|
|
5119
|
-
</span>
|
|
5120
|
-
|
|
5121
|
-
<div class="${e(a11y)}">
|
|
5122
|
-
<slot></slot>
|
|
5123
|
-
</div>
|
|
5124
|
-
</div>
|
|
5125
|
-
`;
|
|
5126
|
-
}
|
|
5127
|
-
}
|
|
5128
|
-
|
|
5129
|
-
var iconVersion = '6.1.2';
|
|
5130
|
-
|
|
5131
|
-
var checkmarkIcon = {"role":"img","color":"currentColor","title":"","desc":"a small check mark.","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":"checkmark-sm","category":"interface","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__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=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
|
|
5132
|
-
|
|
5133
|
-
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
5134
|
-
// See LICENSE in the project root for license information.
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
/**
|
|
5138
|
-
* The auro-menu element provides users a way to define a menu option.
|
|
5139
|
-
*
|
|
5140
|
-
* @attr {String} value - Specifies the value to be sent to a server.
|
|
5141
|
-
* @attr {String} noCheckmark - When true, selected option will not show the checkmark.
|
|
5142
|
-
* @attr {Boolean} disabled - When true specifies that the menuoption is disabled.
|
|
5143
|
-
* @attr {Boolean} selected - Specifies that an option is selected.
|
|
5144
|
-
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
5145
|
-
* @slot - Specifies text for an option, but is not the value.
|
|
5146
|
-
*/
|
|
5147
|
-
class AuroMenuOption extends r {
|
|
5148
|
-
constructor() {
|
|
5149
|
-
super();
|
|
5150
|
-
|
|
5151
|
-
/**
|
|
5152
|
-
* Generate unique names for dependency components.
|
|
5153
|
-
*/
|
|
5154
|
-
const versioning = new AuroDependencyVersioning();
|
|
5155
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
5156
|
-
|
|
5157
|
-
this.selected = false;
|
|
5158
|
-
this.nocheckmark = false;
|
|
5159
|
-
this.disabled = false;
|
|
5160
|
-
|
|
5161
|
-
/**
|
|
5162
|
-
* @private
|
|
5163
|
-
*/
|
|
5164
|
-
this.tabIndex = -1;
|
|
5165
|
-
|
|
5166
|
-
/**
|
|
5167
|
-
* @private
|
|
5168
|
-
*/
|
|
5169
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
5170
|
-
}
|
|
5171
|
-
|
|
5172
|
-
static get properties() {
|
|
5173
|
-
return {
|
|
5174
|
-
nocheckmark: {
|
|
5175
|
-
type: Boolean,
|
|
5176
|
-
reflect: true
|
|
5177
|
-
},
|
|
5178
|
-
selected: {
|
|
5179
|
-
type: Boolean,
|
|
5180
|
-
reflect: true
|
|
5181
|
-
},
|
|
5182
|
-
disabled: {
|
|
5183
|
-
type: Boolean,
|
|
5184
|
-
reflect: true
|
|
5185
|
-
},
|
|
5186
|
-
value: {
|
|
5187
|
-
type: String
|
|
5188
|
-
},
|
|
5189
|
-
tabIndex: {
|
|
5190
|
-
type: Number,
|
|
5191
|
-
reflect: true
|
|
5192
|
-
}
|
|
5193
|
-
};
|
|
5194
|
-
}
|
|
5195
|
-
|
|
5196
|
-
static get styles() {
|
|
5197
|
-
return [
|
|
5198
|
-
styleCss$1,
|
|
5199
|
-
colorCss$1,
|
|
5200
|
-
tokensCss$1
|
|
5201
|
-
];
|
|
5202
|
-
}
|
|
5203
|
-
|
|
5204
|
-
/**
|
|
5205
|
-
* This will register this element with the browser.
|
|
5206
|
-
* @param {string} [name="auro-menuoption"] - The name of element that you want to register to.
|
|
5207
|
-
*
|
|
5208
|
-
* @example
|
|
5209
|
-
* AuroMenuOption.register("custom-menuoption") // this will register this element to <custom-menuoption/>
|
|
5210
|
-
*
|
|
5211
|
-
*/
|
|
5212
|
-
static register(name = "auro-menuoption") {
|
|
5213
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroMenuOption);
|
|
5214
|
-
}
|
|
5215
|
-
|
|
5216
|
-
firstUpdated() {
|
|
5217
|
-
// Add the tag name as an attribute if it is different than the component name
|
|
5218
|
-
this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
|
|
5219
|
-
|
|
5220
|
-
this.setAttribute('role', 'option');
|
|
5221
|
-
this.setAttribute('aria-selected', 'false');
|
|
5222
|
-
|
|
5223
|
-
this.addEventListener('mouseover', () => {
|
|
5224
|
-
this.dispatchEvent(new CustomEvent('auroMenuOption-mouseover', {
|
|
5225
|
-
bubbles: true,
|
|
5226
|
-
cancelable: false,
|
|
5227
|
-
composed: true,
|
|
5228
|
-
detail: this
|
|
5229
|
-
}));
|
|
5230
|
-
});
|
|
5231
|
-
}
|
|
5232
|
-
|
|
5233
|
-
// observer for selected property changes
|
|
5234
|
-
updated(changedProperties) {
|
|
5235
|
-
if (changedProperties.has('selected')) {
|
|
5236
|
-
this.setAttribute('aria-selected', this.selected.toString());
|
|
5237
|
-
}
|
|
5238
|
-
}
|
|
5239
|
-
|
|
5240
|
-
/**
|
|
5241
|
-
* Generates an HTML element containing an SVG icon based on the provided `svgContent`.
|
|
5242
|
-
*
|
|
5243
|
-
* @private
|
|
5244
|
-
* @param {string} svgContent - The SVG content to be embedded.
|
|
5245
|
-
* @returns {Element} The HTML element containing the SVG icon.
|
|
5246
|
-
*/
|
|
5247
|
-
generateIconHtml(svgContent) {
|
|
5248
|
-
const dom = new DOMParser().parseFromString(svgContent, 'text/html');
|
|
5249
|
-
const svg = dom.body.firstChild;
|
|
5250
|
-
|
|
5251
|
-
svg.setAttribute('slot', 'svg');
|
|
5252
|
-
|
|
5253
|
-
return u`<${this.iconTag} customColor customSvg slot="icon">${svg}</${this.iconTag}>`;
|
|
5254
|
-
}
|
|
5255
|
-
|
|
5256
|
-
render() {
|
|
5257
|
-
return u`
|
|
5258
|
-
${this.selected && !this.nocheckmark ? this.generateIconHtml(checkmarkIcon.svg) : undefined}
|
|
5259
|
-
<slot></slot>
|
|
5260
|
-
`;
|
|
5261
|
-
}
|
|
5262
|
-
}
|
|
5263
|
-
|
|
5264
|
-
AuroMenu.register();
|
|
5265
|
-
AuroMenuOption.register();
|
|
5266
|
-
|
|
5267
|
-
var styleCss = 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}.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}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}[slot=trigger] #placeholder.hidden{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{padding:0;pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}:host([multiselect]) [slot=trigger]{display:flex}:host([multiselect]) auro-menuoption:not(:first-child){margin-left:var(--ds-size-100)}`;
|
|
5268
|
-
|
|
5269
|
-
var colorCss = 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}.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}:host [auro-dropdown]::part(trigger):hover{--ds-auro-dropdown-trigger-container-color: rgba(0 0 0 / 0.06)}:host([disabled]) *{color:var(--ds-color-text-ui-disabled-default, #adadad)}.placeholder{color:var(--ds-auro-select-placeholder-text-color)}`;
|
|
5270
|
-
|
|
5271
|
-
var tokensCss = i$g`:host{--ds-auro-select-placeholder-text-color: var(--ds-color-text-secondary-default, $ds-color-text-secondary-default)}`;
|
|
5272
|
-
|
|
5273
|
-
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
5274
|
-
// See LICENSE in the project root for license information.
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
5278
|
-
/**
|
|
5279
|
-
* The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
|
|
5280
|
-
*
|
|
5281
|
-
* @slot - Default slot for the menu content.
|
|
5282
|
-
* @slot label - Defines the content of the label.
|
|
5283
|
-
* @slot helpText - Defines the content of the helpText.
|
|
5284
|
-
* @slot placeholder - Defines the content of the placeholder to be shown when there is no value
|
|
5285
|
-
* @event auroSelect-valueSet - Notifies that the component has a new value set.
|
|
5286
|
-
* @event input - Notifies every time the value prop of the element is changed.
|
|
5287
|
-
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
5288
|
-
* @csspart helpText - Apply CSS to the help text.
|
|
5289
|
-
*/
|
|
5290
|
-
|
|
5291
|
-
// build the component class
|
|
5292
|
-
class AuroSelect extends r$9 {
|
|
5293
|
-
constructor() {
|
|
5294
|
-
super();
|
|
5295
|
-
|
|
5296
|
-
this.optionSelected = undefined;
|
|
5297
|
-
this.value = undefined;
|
|
5298
|
-
|
|
5299
|
-
const idLength = 36;
|
|
5300
|
-
const idSubstrEnd = 8;
|
|
5301
|
-
const idSubstrStart = 2;
|
|
5302
|
-
|
|
5303
|
-
/**
|
|
5304
|
-
* @private
|
|
5305
|
-
*/
|
|
5306
|
-
this.uniqueId = Math.random().
|
|
5307
|
-
toString(idLength).
|
|
5308
|
-
substring(idSubstrStart, idSubstrEnd);
|
|
5309
|
-
|
|
5310
|
-
/**
|
|
5311
|
-
* @private
|
|
5312
|
-
*/
|
|
5313
|
-
this.validation = new AuroFormValidation();
|
|
5314
|
-
|
|
5315
|
-
/**
|
|
5316
|
-
* @private
|
|
5317
|
-
*/
|
|
5318
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
5319
|
-
|
|
5320
|
-
/**
|
|
5321
|
-
* Generate unique names for dependency components.
|
|
5322
|
-
*/
|
|
5323
|
-
const versioning = new AuroDependencyVersioning$2();
|
|
5324
|
-
|
|
5325
|
-
/**
|
|
5326
|
-
* @private
|
|
5327
|
-
*/
|
|
5328
|
-
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
5329
|
-
|
|
5330
|
-
/**
|
|
5331
|
-
* @private
|
|
5332
|
-
*/
|
|
5333
|
-
this.isHiddenWhileLoading = false;
|
|
5334
|
-
}
|
|
5335
|
-
|
|
5336
|
-
/**
|
|
5337
|
-
* @private
|
|
5338
|
-
* @returns {void} Internal defaults.
|
|
5339
|
-
*/
|
|
5340
|
-
privateDefaults() {
|
|
5341
|
-
this.options = [];
|
|
5342
|
-
this.optionActive = null;
|
|
5343
|
-
}
|
|
5344
|
-
|
|
5345
|
-
// This function is to define props used within the scope of this component
|
|
5346
|
-
// Be sure to review https://lit-element.polymer-project.org/guide/properties#reflected-attributes
|
|
5347
|
-
// to understand how to use reflected attributes with your property settings.
|
|
5348
|
-
static get properties() {
|
|
5349
|
-
return {
|
|
5350
|
-
|
|
5351
|
-
/**
|
|
5352
|
-
* When attribute is present, element shows disabled state.
|
|
5353
|
-
*/
|
|
5354
|
-
disabled: {
|
|
5355
|
-
type: Boolean,
|
|
5356
|
-
reflect: true
|
|
5357
|
-
},
|
|
5358
|
-
|
|
5359
|
-
/**
|
|
5360
|
-
* If set, makes dropdown width match the size of the content, rather than the width of the trigger.
|
|
5361
|
-
*/
|
|
5362
|
-
flexMenuWidth: {
|
|
3872
|
+
|
|
3873
|
+
/**
|
|
3874
|
+
* If set, makes dropdown width match the size of the content, rather than the width of the trigger.
|
|
3875
|
+
*/
|
|
3876
|
+
flexMenuWidth: {
|
|
5363
3877
|
type: Boolean,
|
|
5364
3878
|
reflect: true
|
|
5365
3879
|
},
|
|
@@ -5502,7 +4016,7 @@ class AuroSelect extends r$9 {
|
|
|
5502
4016
|
*
|
|
5503
4017
|
*/
|
|
5504
4018
|
static register(name = "auro-select") {
|
|
5505
|
-
AuroLibraryRuntimeUtils$
|
|
4019
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroSelect);
|
|
5506
4020
|
}
|
|
5507
4021
|
|
|
5508
4022
|
/**
|
|
@@ -5800,18 +4314,18 @@ class AuroSelect extends r$9 {
|
|
|
5800
4314
|
hidden: this.value,
|
|
5801
4315
|
};
|
|
5802
4316
|
|
|
5803
|
-
return u$
|
|
4317
|
+
return u$5`
|
|
5804
4318
|
<div class="outerWrapper">
|
|
5805
4319
|
<div aria-live="polite" class="util_displayHiddenVisually">
|
|
5806
4320
|
${this.optionActive && this.options.length > 0
|
|
5807
|
-
? u$
|
|
4321
|
+
? u$5`
|
|
5808
4322
|
${`${this.optionActive.innerText}, option ${this.options.indexOf(this.optionActive) + 1} of ${this.options.length}`}
|
|
5809
4323
|
`
|
|
5810
4324
|
: undefined
|
|
5811
4325
|
};
|
|
5812
4326
|
|
|
5813
4327
|
${this.optionSelected && this.options.length > 0
|
|
5814
|
-
? u$
|
|
4328
|
+
? u$5`
|
|
5815
4329
|
${`${this.optionSelected.innerText} selected`}
|
|
5816
4330
|
`
|
|
5817
4331
|
: undefined
|
|
@@ -5826,18 +4340,18 @@ class AuroSelect extends r$9 {
|
|
|
5826
4340
|
chevron
|
|
5827
4341
|
part="dropdown">
|
|
5828
4342
|
<span slot="trigger" aria-haspopup="true" id="triggerFocus">
|
|
5829
|
-
<span id="placeholder" class="${e$
|
|
4343
|
+
<span id="placeholder" class="${e$8(placeholderClass)}"><slot name="placeholder"></slot></span>
|
|
5830
4344
|
</span>
|
|
5831
4345
|
<div class="menuWrapper">
|
|
5832
4346
|
</div>
|
|
5833
4347
|
<slot name="label" slot="label"></slot>
|
|
5834
4348
|
<p slot="helpText">
|
|
5835
4349
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
5836
|
-
? u$
|
|
4350
|
+
? u$5`
|
|
5837
4351
|
<span id="${this.uniqueId}" part="helpText">
|
|
5838
4352
|
<slot name="helpText"></slot>
|
|
5839
4353
|
</span>`
|
|
5840
|
-
: u$
|
|
4354
|
+
: u$5`
|
|
5841
4355
|
<span id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
5842
4356
|
${this.errorMessage}
|
|
5843
4357
|
</span>`
|
|
@@ -5850,6 +4364,4 @@ class AuroSelect extends r$9 {
|
|
|
5850
4364
|
}
|
|
5851
4365
|
}
|
|
5852
4366
|
|
|
5853
|
-
AuroSelect.register();
|
|
5854
|
-
|
|
5855
4367
|
export { AuroSelect };
|