@aurodesignsystem/auro-formkit 2.0.0-beta.42 → 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 +18 -0
- package/NOTICE +2 -0
- package/README.md +116 -48
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +0 -1
- package/components/bibtemplate/dist/headerVersion.d.ts +0 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +0 -1
- package/components/bibtemplate/dist/index.d.ts +0 -1
- package/components/bibtemplate/dist/index.js +8 -10
- package/components/bibtemplate/dist/registered.js +790 -0
- package/components/bibtemplate/dist/styles/color-css.d.ts +0 -1
- package/components/bibtemplate/dist/styles/style-css.d.ts +0 -1
- package/components/bibtemplate/dist/styles/tokens-css.d.ts +0 -1
- 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 +4 -4
- package/components/combobox/demo/api.js +1 -1
- package/components/combobox/demo/api.min.js +409 -2166
- package/components/combobox/demo/index.html +57 -0
- package/components/combobox/demo/index.js +1 -1
- package/components/combobox/demo/index.min.js +409 -2166
- package/components/combobox/dist/auro-combobox.d.ts +0 -1
- package/components/combobox/dist/bibtemplateVersion.d.ts +0 -1
- package/components/combobox/dist/dropdownVersion.d.ts +0 -1
- package/components/combobox/dist/index.d.ts +0 -1
- package/components/combobox/dist/index.js +452 -2211
- 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 +128 -321
- package/components/counter/demo/index.html +53 -0
- package/components/counter/demo/index.min.js +128 -321
- 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 +128 -324
- 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 +338 -728
- package/components/datepicker/demo/index.html +57 -0
- package/components/datepicker/demo/index.min.js +338 -728
- 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 +338 -730
- 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.min.js +76 -267
- package/components/dropdown/demo/index.html +53 -0
- package/components/dropdown/demo/index.min.js +76 -267
- package/components/dropdown/dist/auro-dropdown.d.ts +0 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +0 -1
- package/components/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 +76 -269
- 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/{combobox/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 +234 -1796
- package/components/select/demo/index.html +49 -0
- package/components/select/demo/index.js +1 -1
- package/components/select/demo/index.min.js +234 -1796
- 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 +206 -1770
- 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 +113 -9
- package/.husky/commit-msg +0 -4
- package/.husky/pre-commit +0 -3
- package/.turbo/cache/04e52430125e8954-meta.json +0 -1
- package/.turbo/cache/04e52430125e8954.tar.zst +0 -0
- package/.turbo/cache/0593ea8b5b3ed321-meta.json +0 -1
- package/.turbo/cache/0593ea8b5b3ed321.tar.zst +0 -0
- package/.turbo/cache/068b8eef3688b4e2-meta.json +0 -1
- package/.turbo/cache/068b8eef3688b4e2.tar.zst +0 -0
- package/.turbo/cache/06c6468593bc10ab-meta.json +0 -1
- package/.turbo/cache/06c6468593bc10ab.tar.zst +0 -0
- package/.turbo/cache/0c48a4d7b5aac928-meta.json +0 -1
- package/.turbo/cache/0c48a4d7b5aac928.tar.zst +0 -0
- package/.turbo/cache/1959dd19c8cca5b3-meta.json +0 -1
- package/.turbo/cache/1959dd19c8cca5b3.tar.zst +0 -0
- package/.turbo/cache/1c16e59f30927b15-meta.json +0 -1
- package/.turbo/cache/1c16e59f30927b15.tar.zst +0 -0
- package/.turbo/cache/29ac8c4304c43ba8-meta.json +0 -1
- package/.turbo/cache/29ac8c4304c43ba8.tar.zst +0 -0
- package/.turbo/cache/2b46337c7a6faa1f-meta.json +0 -1
- package/.turbo/cache/2b46337c7a6faa1f.tar.zst +0 -0
- package/.turbo/cache/33b12bddab905466-meta.json +0 -1
- package/.turbo/cache/33b12bddab905466.tar.zst +0 -0
- package/.turbo/cache/3e068f9ea52e35fd-meta.json +0 -1
- package/.turbo/cache/3e068f9ea52e35fd.tar.zst +0 -0
- package/.turbo/cache/3f6725da0ddcb57a-meta.json +0 -1
- package/.turbo/cache/3f6725da0ddcb57a.tar.zst +0 -0
- package/.turbo/cache/3fa3b39e63c49920-meta.json +0 -1
- package/.turbo/cache/3fa3b39e63c49920.tar.zst +0 -0
- package/.turbo/cache/3fbb4335136fe72b-meta.json +0 -1
- package/.turbo/cache/3fbb4335136fe72b.tar.zst +0 -0
- package/.turbo/cache/4d32cb975704a7bc-meta.json +0 -1
- package/.turbo/cache/4d32cb975704a7bc.tar.zst +0 -0
- package/.turbo/cache/504dc5478398bc23-meta.json +0 -1
- package/.turbo/cache/504dc5478398bc23.tar.zst +0 -0
- package/.turbo/cache/5736b4ba6916fd8d-meta.json +0 -1
- package/.turbo/cache/5736b4ba6916fd8d.tar.zst +0 -0
- package/.turbo/cache/5aae6a716a40ac0d-meta.json +0 -1
- package/.turbo/cache/5aae6a716a40ac0d.tar.zst +0 -0
- package/.turbo/cache/618b3075ce2d9a61-meta.json +0 -1
- package/.turbo/cache/618b3075ce2d9a61.tar.zst +0 -0
- package/.turbo/cache/67c13dfc4fd939fc-meta.json +0 -1
- package/.turbo/cache/67c13dfc4fd939fc.tar.zst +0 -0
- package/.turbo/cache/68fe65245fb34e68-meta.json +0 -1
- package/.turbo/cache/68fe65245fb34e68.tar.zst +0 -0
- package/.turbo/cache/6a25a3c0fc92f44d-meta.json +0 -1
- package/.turbo/cache/6a25a3c0fc92f44d.tar.zst +0 -0
- package/.turbo/cache/6cd6d76ac166da16-meta.json +0 -1
- package/.turbo/cache/6cd6d76ac166da16.tar.zst +0 -0
- package/.turbo/cache/71cd21072abc2990-meta.json +0 -1
- package/.turbo/cache/71cd21072abc2990.tar.zst +0 -0
- package/.turbo/cache/7b4e0f3ba43fedf0-meta.json +0 -1
- package/.turbo/cache/7b4e0f3ba43fedf0.tar.zst +0 -0
- package/.turbo/cache/7b9897d3439462f4-meta.json +0 -1
- package/.turbo/cache/7b9897d3439462f4.tar.zst +0 -0
- package/.turbo/cache/80a42a1ee43a7b11-meta.json +0 -1
- package/.turbo/cache/80a42a1ee43a7b11.tar.zst +0 -0
- package/.turbo/cache/80bda930b819e4e5-meta.json +0 -1
- package/.turbo/cache/80bda930b819e4e5.tar.zst +0 -0
- package/.turbo/cache/826ecc96865e3b2b-meta.json +0 -1
- package/.turbo/cache/826ecc96865e3b2b.tar.zst +0 -0
- package/.turbo/cache/8a66291a4385f56d-meta.json +0 -1
- package/.turbo/cache/8a66291a4385f56d.tar.zst +0 -0
- package/.turbo/cache/8b33dd53ac78ffcb-meta.json +0 -1
- package/.turbo/cache/8b33dd53ac78ffcb.tar.zst +0 -0
- package/.turbo/cache/922ac9eb482cf470-meta.json +0 -1
- package/.turbo/cache/922ac9eb482cf470.tar.zst +0 -0
- package/.turbo/cache/939cf3ccc40e9ab0-meta.json +0 -1
- package/.turbo/cache/939cf3ccc40e9ab0.tar.zst +0 -0
- package/.turbo/cache/997795fcad6346cf-meta.json +0 -1
- package/.turbo/cache/997795fcad6346cf.tar.zst +0 -0
- package/.turbo/cache/9d39077f59442e6d-meta.json +0 -1
- package/.turbo/cache/9d39077f59442e6d.tar.zst +0 -0
- package/.turbo/cache/9f33c2699df2acc2-meta.json +0 -1
- package/.turbo/cache/9f33c2699df2acc2.tar.zst +0 -0
- package/.turbo/cache/a95cdb7b2836627c-meta.json +0 -1
- package/.turbo/cache/a95cdb7b2836627c.tar.zst +0 -0
- package/.turbo/cache/aa7a71eea03e0057-meta.json +0 -1
- package/.turbo/cache/aa7a71eea03e0057.tar.zst +0 -0
- package/.turbo/cache/ac01a85fedf6d42a-meta.json +0 -1
- package/.turbo/cache/ac01a85fedf6d42a.tar.zst +0 -0
- package/.turbo/cache/b0b5371ee9e6fd7b-meta.json +0 -1
- package/.turbo/cache/b0b5371ee9e6fd7b.tar.zst +0 -0
- package/.turbo/cache/b21472a210e5d253-meta.json +0 -1
- package/.turbo/cache/b21472a210e5d253.tar.zst +0 -0
- package/.turbo/cache/ba6844de212fdfc5-meta.json +0 -1
- package/.turbo/cache/ba6844de212fdfc5.tar.zst +0 -0
- package/.turbo/cache/bb95b8c7cc483fe7-meta.json +0 -1
- package/.turbo/cache/bb95b8c7cc483fe7.tar.zst +0 -0
- package/.turbo/cache/be89ec729b2d7aa1-meta.json +0 -1
- package/.turbo/cache/be89ec729b2d7aa1.tar.zst +0 -0
- package/.turbo/cache/c0c0f7ab71b548fe-meta.json +0 -1
- package/.turbo/cache/c0c0f7ab71b548fe.tar.zst +0 -0
- package/.turbo/cache/c4b442aa3a612c5a-meta.json +0 -1
- package/.turbo/cache/c4b442aa3a612c5a.tar.zst +0 -0
- package/.turbo/cache/c833fd369811f0b3-meta.json +0 -1
- package/.turbo/cache/c833fd369811f0b3.tar.zst +0 -0
- package/.turbo/cache/cc1bb0ba75999fd5-meta.json +0 -1
- package/.turbo/cache/cc1bb0ba75999fd5.tar.zst +0 -0
- package/.turbo/cache/cc999fcae80b9892-meta.json +0 -1
- package/.turbo/cache/cc999fcae80b9892.tar.zst +0 -0
- package/.turbo/cache/cf739f73c4d81043-meta.json +0 -1
- package/.turbo/cache/cf739f73c4d81043.tar.zst +0 -0
- package/.turbo/cache/cf87272227a0d544-meta.json +0 -1
- package/.turbo/cache/cf87272227a0d544.tar.zst +0 -0
- package/.turbo/cache/d09e82feba2c48a3-meta.json +0 -1
- package/.turbo/cache/d09e82feba2c48a3.tar.zst +0 -0
- package/.turbo/cache/d264bb58130e3915-meta.json +0 -1
- package/.turbo/cache/d264bb58130e3915.tar.zst +0 -0
- package/.turbo/cache/d4fda50b9aa326d9-meta.json +0 -1
- package/.turbo/cache/d4fda50b9aa326d9.tar.zst +0 -0
- package/.turbo/cache/da0461631780f1e1-meta.json +0 -1
- package/.turbo/cache/da0461631780f1e1.tar.zst +0 -0
- package/.turbo/cache/dbdfe30495790f74-meta.json +0 -1
- package/.turbo/cache/dbdfe30495790f74.tar.zst +0 -0
- package/.turbo/cache/dea41fd4a13eb241-meta.json +0 -1
- package/.turbo/cache/dea41fd4a13eb241.tar.zst +0 -0
- package/.turbo/cache/e229b033acee0336-meta.json +0 -1
- package/.turbo/cache/e229b033acee0336.tar.zst +0 -0
- package/.turbo/cache/ed401f9a734e292c-meta.json +0 -1
- package/.turbo/cache/ed401f9a734e292c.tar.zst +0 -0
- package/.turbo/cache/efafac21cf262b2c-meta.json +0 -1
- package/.turbo/cache/efafac21cf262b2c.tar.zst +0 -0
- package/.turbo/cache/f20df212682f7978-meta.json +0 -1
- package/.turbo/cache/f20df212682f7978.tar.zst +0 -0
- package/.turbo/cache/f272ad05432871ac-meta.json +0 -1
- package/.turbo/cache/f272ad05432871ac.tar.zst +0 -0
- package/.vscode/settings.json +0 -3
- package/components/bibtemplate/.stylelintrc.json +0 -3
- package/components/bibtemplate/.turbo/turbo-build$colon$sass.log +0 -24
- package/components/bibtemplate/.turbo/turbo-build$colon$version.log +0 -10
- package/components/bibtemplate/.turbo/turbo-build.log +0 -49
- package/components/bibtemplate/.turbo/turbo-bundler.log +0 -7
- package/components/bibtemplate/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/bibtemplate/.turbo/turbo-sass$colon$render.log +0 -22
- package/components/bibtemplate/.turbo/turbo-types.log +0 -4
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts.map +0 -1
- package/components/bibtemplate/dist/headerVersion.d.ts.map +0 -1
- package/components/bibtemplate/dist/iconVersion.d.ts.map +0 -1
- package/components/bibtemplate/dist/index.d.ts.map +0 -1
- package/components/bibtemplate/dist/styles/color-css.d.ts.map +0 -1
- package/components/bibtemplate/dist/styles/style-css.d.ts.map +0 -1
- package/components/bibtemplate/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/bibtemplate/node_modules/chalk/package.json +0 -83
- package/components/bibtemplate/node_modules/chalk/readme.md +0 -297
- package/components/bibtemplate/node_modules/chalk/source/index.d.ts +0 -325
- package/components/bibtemplate/node_modules/chalk/source/index.js +0 -225
- package/components/bibtemplate/node_modules/chalk/source/utilities.js +0 -33
- package/components/bibtemplate/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/bibtemplate/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/bibtemplate/package.json +0 -60
- package/components/bibtemplate/src/auro-bibtemplate.js +0 -137
- package/components/bibtemplate/src/headerVersion.js +0 -1
- package/components/bibtemplate/src/iconVersion.js +0 -1
- package/components/bibtemplate/src/index.js +0 -6
- package/components/bibtemplate/src/styles/color-css.js +0 -2
- package/components/bibtemplate/src/styles/color.css +0 -1
- package/components/bibtemplate/src/styles/color.scss +0 -0
- package/components/bibtemplate/src/styles/style-css.js +0 -2
- package/components/bibtemplate/src/styles/style.css +0 -58
- package/components/bibtemplate/src/styles/style.scss +0 -62
- package/components/bibtemplate/src/styles/tokens-css.js +0 -2
- package/components/bibtemplate/src/styles/tokens.css +0 -3
- package/components/bibtemplate/src/styles/tokens.scss +0 -5
- 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 -167
- 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/bibtemplateVersion.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 -67
- package/components/combobox/src/auro-combobox.js +0 -925
- package/components/combobox/src/bibtemplateVersion.js +0 -1
- 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 -56
- package/components/combobox/src/styles/style.scss +0 -38
- 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 +0 -3
- 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 -208
- 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/dropdownVersion.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 -586
- package/components/dropdown/src/auro-dropdownBib.js +0 -128
- package/components/dropdown/src/dropdownVersion.js +0 -1
- 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 -44
- package/components/dropdown/src/styles/bibStyles.scss +0 -61
- 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 +0 -3
- 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 -134
|
@@ -168,39 +168,39 @@ function auroMenuLoadingExample() {
|
|
|
168
168
|
* Copyright 2019 Google LLC
|
|
169
169
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
170
170
|
*/
|
|
171
|
-
const t$9=globalThis,e$c=t$9.ShadowRoot&&(
|
|
171
|
+
const t$9=globalThis,e$c=t$9.ShadowRoot&&(void 0===t$9.ShadyCSS||t$9.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$a=Symbol(),o$d=new WeakMap;let n$c = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$a)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$d.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$d.set(s,t));}return t}toString(){return this.cssText}};const r$e=t=>new n$c("string"==typeof t?t:t+"",void 0,s$a),i$g=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$c(o,t,s$a)},S$7=(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$9.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$b=e$c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$e(e)})(t):t;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* @license
|
|
175
175
|
* Copyright 2017 Google LLC
|
|
176
176
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
177
|
-
*/const{is:i$f,defineProperty:e$b,getOwnPropertyDescriptor:r$d,getOwnPropertyNames:h$7,getOwnPropertySymbols:o$c,getPrototypeOf:n$b}=Object,a$9=globalThis,c$a=a$9.trustedTypes,l$9=c$a?c$a.emptyScript:"",p$8=a$9.reactiveElementPolyfillSupport,d$7=(t,s)=>t,u$b={toAttribute(t,s){switch(s){case Boolean:t=t?l$9: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$7=(t,s)=>!i$f(t,s),y$
|
|
177
|
+
*/const{is:i$f,defineProperty:e$b,getOwnPropertyDescriptor:r$d,getOwnPropertyNames:h$7,getOwnPropertySymbols:o$c,getPrototypeOf:n$b}=Object,a$9=globalThis,c$a=a$9.trustedTypes,l$9=c$a?c$a.emptyScript:"",p$8=a$9.reactiveElementPolyfillSupport,d$7=(t,s)=>t,u$b={toAttribute(t,s){switch(s){case Boolean:t=t?l$9: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$7=(t,s)=>!i$f(t,s),y$6={attribute:true,type:String,converter:u$b,reflect:false,hasChanged:f$7};Symbol.metadata??=Symbol("metadata"),a$9.litPropertyMetadata??=new WeakMap;let b$4 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$6){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$b(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$d(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$6}static _$Ei(){if(this.hasOwnProperty(d$7("elementProperties")))return;const t=n$b(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$7("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$7("properties"))){const t=this.properties,s=[...h$7(t),...o$c(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(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$b(s));}else void 0!==s&&i.push(c$b(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$7(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$b).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$b;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$7)(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$4.elementStyles=[],b$4.shadowRootOptions={mode:"open"},b$4[d$7("elementProperties")]=new Map,b$4[d$7("finalized")]=new Map,p$8?.({ReactiveElement:b$4}),(a$9.reactiveElementVersions??=[]).push("2.0.4");
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
180
|
* @license
|
|
181
181
|
* Copyright 2017 Google LLC
|
|
182
182
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
183
183
|
*/
|
|
184
|
-
const t$8=globalThis,i$e=t$8.trustedTypes,s$9=i$e?i$e.createPolicy("lit-html",{createHTML:t=>t}):
|
|
184
|
+
const t$8=globalThis,i$e=t$8.trustedTypes,s$9=i$e?i$e.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$a="$lit$",h$6=`lit$${Math.random().toFixed(9).slice(2)}$`,o$b="?"+h$6,n$a=`<${o$b}>`,r$c=document,l$8=()=>r$c.createComment(""),c$9=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$8=Array.isArray,u$a=t=>a$8(t)||"function"==typeof t?.[Symbol.iterator],d$6="[ \t\n\f\r]",f$6=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$5=/-->/g,_$4=/>/g,m$5=RegExp(`>|${d$6}(?:([^\\s"'>=/]+)(${d$6}*=${d$6}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$7=/'/g,g$4=/"/g,$$4=/^(?:script|style|textarea|title)$/i,y$5=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$3=y$5(1),T$4=Symbol.for("lit-noChange"),E$4=Symbol.for("lit-nothing"),A$4=new WeakMap,C$4=r$c.createTreeWalker(r$c,129);function P$4(t,i){if(!a$8(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$9?s$9.createHTML(i):i}const V$4=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$6;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$6?"!--"===u[1]?c=v$5:void 0!==u[1]?c=_$4:void 0!==u[2]?($$4.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$5):void 0!==u[3]&&(c=m$5):c===m$5?">"===u[0]?(c=r??f$6,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$5:'"'===u[3]?g$4:p$7):c===g$4||c===p$7?c=m$5:c===v$5||c===_$4?c=f$6:(c=m$5,r=void 0);const x=c===m$5&&t[i+1].startsWith("/>")?" ":"";l+=c===f$6?s+n$a:d>=0?(o.push(a),s.slice(0,d)+e$a+s.slice(d)+h$6+x):s+h$6+(-2===d?i:x);}return [P$4(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$4 = 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$4(t,s);if(this.el=N.createElement(f,n),C$4.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$4.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$6),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$4:"?"===e[1]?I$4:"@"===e[1]?L$4:k$4}),r.removeAttribute(t);}else t.startsWith(h$6)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$4.test(r.tagName)){const t=r.textContent.split(h$6),s=t.length-1;if(s>0){r.textContent=i$e?i$e.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$8()),C$4.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$8());}}}else if(8===r.nodeType)if(r.data===o$b)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$6,t+1));)d.push({type:7,index:c}),t+=h$6.length-1;}c++;}}static createElement(t,i){const s=r$c.createElement("template");return s.innerHTML=t,s}};function S$6(t,i,s=t,e){if(i===T$4)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$9(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$6(t,h._$AS(t,i.values),h,e)),i}let M$5 = 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$c).importNode(i,true);C$4.currentNode=e;let h=C$4.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$4(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$4(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$4.nextNode(),o++);}return C$4.currentNode=r$c,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$4 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$4,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$6(this,t,i),c$9(t)?t===E$4||null==t||""===t?(this._$AH!==E$4&&this._$AR(),this._$AH=E$4):t!==this._$AH&&t!==T$4&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$a(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$4&&c$9(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$c.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$4.createElement(P$4(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$5(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$4.get(t.strings);return void 0===i&&A$4.set(t.strings,i=new N$4(t)),i}k(t){a$8(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$8()),this.O(l$8()),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$4 = 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$4,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$4;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$6(this,t,i,0),o=!c$9(t)||t!==this._$AH&&t!==T$4,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$6(this,e[s+n],i,n),r===T$4&&(r=this._$AH[n]),o||=!c$9(r)||r!==this._$AH[n],r===E$4?t=E$4:t!==E$4&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$4?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$4 = class H extends k$4{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$4?void 0:t;}};let I$4 = class I extends k$4{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$4);}};let L$4 = class L extends k$4{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$6(this,t,i,0)??E$4)===T$4)return;const s=this._$AH,e=t===E$4&&s!==E$4||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$4&&(s===E$4||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$4 = 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$6(this,t);}};const j$4=t$8.litHtmlPolyfillSupport;j$4?.(N$4,R$4),(t$8.litHtmlVersions??=[]).push("3.2.1");const B$4=(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$4(i.insertBefore(l$8(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* @license
|
|
188
188
|
* Copyright 2017 Google LLC
|
|
189
189
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
190
|
-
*/let r$b = class r extends b$4{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
190
|
+
*/let r$b = class r extends b$4{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$4(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$4}};r$b._$litElement$=true,r$b["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$b});const i$d=globalThis.litElementPolyfillSupport;i$d?.({LitElement:r$b});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* @license
|
|
194
194
|
* Copyright 2020 Google LLC
|
|
195
195
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
196
196
|
*/
|
|
197
|
-
const a$7=Symbol.for(""),o$a=t=>{if(t?.r===a$7)return t?._$litStatic$},s$8=t=>({_$litStatic$:t,r:a$7}),i$c=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(
|
|
197
|
+
const a$7=Symbol.for(""),o$a=t=>{if(t?.r===a$7)return t?._$litStatic$},s$8=t=>({_$litStatic$:t,r:a$7}),i$c=(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$7}),l$7=new Map,n$9=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$a(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$7.get(t))&&(n.raw=n,l$7.set(t,r=n)),e=u;}return t(r,...e)},u$9=n$9(x$3);
|
|
198
198
|
|
|
199
199
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
200
200
|
// See LICENSE in the project root for license information.
|
|
201
201
|
|
|
202
202
|
|
|
203
|
-
let AuroDependencyVersioning$
|
|
203
|
+
let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -243,7 +243,7 @@ let AuroDependencyVersioning$4 = class AuroDependencyVersioning {
|
|
|
243
243
|
|
|
244
244
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
245
245
|
|
|
246
|
-
let AuroLibraryRuntimeUtils$
|
|
246
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
247
247
|
|
|
248
248
|
/* eslint-disable jsdoc/require-param */
|
|
249
249
|
|
|
@@ -312,7 +312,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
|
312
312
|
|
|
313
313
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
314
314
|
constructor() {
|
|
315
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
315
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
/**
|
|
@@ -625,33 +625,33 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
625
625
|
* Copyright 2017 Google LLC
|
|
626
626
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
627
627
|
*/
|
|
628
|
-
const t$4$
|
|
628
|
+
const t$4$1=globalThis,i$9$1=t$4$1.trustedTypes,s$4$1=i$9$1?i$9$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$7$1="$lit$",h$3$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7$1="?"+h$3$1,n$6$1=`<${o$7$1}>`,r$7$1=document,l$4$1=()=>r$7$1.createComment(""),c$5$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4$1=Array.isArray,u$4$1=t=>a$4$1(t)||"function"==typeof t?.[Symbol.iterator],d$3$1="[ \t\n\f\r]",f$3$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1$2=/-->/g,_$1$2=/>/g,m$1$2=RegExp(`>|${d$3$1}(?:([^\\s"'>=/]+)(${d$3$1}*=${d$3$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$3$1=/'/g,g$1$2=/"/g,$$1$2=/^(?:script|style|textarea|title)$/i,y$2$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$2$1(1),T$1$2=Symbol.for("lit-noChange"),E$1$2=Symbol.for("lit-nothing"),A$1$2=new WeakMap,C$1$2=r$7$1.createTreeWalker(r$7$1,129);function P$1$2(t,i){if(!a$4$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$4$1?s$4$1.createHTML(i):i}const V$1$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3$1?"!--"===u[1]?c=v$1$2:void 0!==u[1]?c=_$1$2:void 0!==u[2]?($$1$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1$2):void 0!==u[3]&&(c=m$1$2):c===m$1$2?">"===u[0]?(c=r??f$3$1,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1$2:'"'===u[3]?g$1$2:p$3$1):c===g$1$2||c===p$3$1?c=m$1$2:c===v$1$2||c===_$1$2?c=f$3$1:(c=m$1$2,r=void 0);const x=c===m$1$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3$1?s+n$6$1:d>=0?(o.push(a),s.slice(0,d)+e$7$1+s.slice(d)+h$3$1+x):s+h$3$1+(-2===d?i:x);}return [P$1$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1$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$1$2(t,s);if(this.el=N.createElement(f,n),C$1$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7$1)){const i=v[a++],s=r.getAttribute(t).split(h$3$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1$2:"?"===e[1]?I$1$2:"@"===e[1]?L$1$2:k$1$2}),r.removeAttribute(t);}else t.startsWith(h$3$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1$2.test(r.tagName)){const t=r.textContent.split(h$3$1),s=t.length-1;if(s>0){r.textContent=i$9$1?i$9$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4$1()),C$1$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4$1());}}}else if(8===r.nodeType)if(r.data===o$7$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3$1,t+1));)d.push({type:7,index:c}),t+=h$3$1.length-1;}c++;}}static createElement(t,i){const s=r$7$1.createElement("template");return s.innerHTML=t,s}};function S$3$1(t,i,s=t,e){if(i===T$1$2)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$5$1(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$1(t,h._$AS(t,i.values),h,e)),i}let M$1$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$7$1).importNode(i,true);C$1$2.currentNode=e;let h=C$1$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$1$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$1$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1$2.nextNode(),o++);}return C$1$2.currentNode=r$7$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$1$2 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1$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$3$1(this,t,i),c$5$1(t)?t===E$1$2||null==t||""===t?(this._$AH!==E$1$2&&this._$AR(),this._$AH=E$1$2):t!==this._$AH&&t!==T$1$2&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$4$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1$2&&c$5$1(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1$2.createElement(P$1$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1$2.get(t.strings);return void 0===i&&A$1$2.set(t.strings,i=new N$1$2(t)),i}k(t){a$4$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4$1()),this.O(l$4$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1$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$1$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$1$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$3$1(this,t,i,0),o=!c$5$1(t)||t!==this._$AH&&t!==T$1$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$3$1(this,e[s+n],i,n),r===T$1$2&&(r=this._$AH[n]),o||=!c$5$1(r)||r!==this._$AH[n],r===E$1$2?t=E$1$2:t!==E$1$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1$2 = class H extends k$1$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1$2?void 0:t;}};let I$1$2 = class I extends k$1$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1$2);}};let L$1$2 = class L extends k$1$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3$1(this,t,i,0)??E$1$2)===T$1$2)return;const s=this._$AH,e=t===E$1$2&&s!==E$1$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1$2&&(s===E$1$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$1$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$3$1(this,t);}};const j$1$2=t$4$1.litHtmlPolyfillSupport;j$1$2?.(N$1$2,R$1$2),(t$4$1.litHtmlVersions??=[]).push("3.2.1");const B$1$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$1$2(i.insertBefore(l$4$1(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
629
629
|
|
|
630
630
|
/**
|
|
631
631
|
* @license
|
|
632
632
|
* Copyright 2020 Google LLC
|
|
633
633
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
634
634
|
*/
|
|
635
|
-
const a$3$
|
|
635
|
+
const a$3$1=Symbol.for(""),o$6$1=t=>{if(t?.r===a$3$1)return t?._$litStatic$},s$3$1=t=>({_$litStatic$:t,r:a$3$1}),i$8$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(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$1}),l$3$1=new Map,n$5$1=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$6$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$3$1.get(t))&&(n.raw=n,l$3$1.set(t,r=n)),e=u;}return t(r,...e)},u$3$1=n$5$1(x$2);
|
|
636
636
|
|
|
637
637
|
/**
|
|
638
638
|
* @license
|
|
639
639
|
* Copyright 2019 Google LLC
|
|
640
640
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
641
641
|
*/
|
|
642
|
-
const t$3$2=globalThis,e$6$
|
|
642
|
+
const t$3$2=globalThis,e$6$1=t$3$2.ShadowRoot&&(void 0===t$3$2.ShadyCSS||t$3$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$3=Symbol(),o$5$2=new WeakMap;let n$4$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$3)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$6$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$5$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5$2.set(s,t));}return t}toString(){return this.cssText}};const r$6$1=t=>new n$4$1("string"==typeof t?t:t+"",void 0,s$2$3),i$7$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4$1(o,t,s$2$3)},S$2$2=(s,o)=>{if(e$6$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4$1=e$6$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6$1(e)})(t):t;
|
|
643
643
|
|
|
644
644
|
/**
|
|
645
645
|
* @license
|
|
646
646
|
* Copyright 2017 Google LLC
|
|
647
647
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
648
|
-
*/const{is:i$6$2,defineProperty:e$5$2,getOwnPropertyDescriptor:r$5$1,getOwnPropertyNames:h$2$2,getOwnPropertySymbols:o$4$3,getPrototypeOf:n$3$3}=Object,a$2$3=globalThis,c$3$2=a$2$3.trustedTypes,l$2$3=c$3$2?c$3$2.emptyScript:"",p$2$2=a$2$3.reactiveElementPolyfillSupport,d$2$2=(t,s)=>t,u$2$3={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$3: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$2=(t,s)=>!i$6$2(t,s),y$
|
|
648
|
+
*/const{is:i$6$2,defineProperty:e$5$2,getOwnPropertyDescriptor:r$5$1,getOwnPropertyNames:h$2$2,getOwnPropertySymbols:o$4$3,getPrototypeOf:n$3$3}=Object,a$2$3=globalThis,c$3$2=a$2$3.trustedTypes,l$2$3=c$3$2?c$3$2.emptyScript:"",p$2$2=a$2$3.reactiveElementPolyfillSupport,d$2$2=(t,s)=>t,u$2$3={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$3: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$2=(t,s)=>!i$6$2(t,s),y$4={attribute:true,type:String,converter:u$2$3,reflect:false,hasChanged:f$2$2};Symbol.metadata??=Symbol("metadata"),a$2$3.litPropertyMetadata??=new WeakMap;let b$1$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$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$5$2(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$4}static _$Ei(){if(this.hasOwnProperty(d$2$2("elementProperties")))return;const t=n$3$3(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2$2("properties"))){const t=this.properties,s=[...h$2$2(t),...o$4$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$4$1(s));}else void 0!==s&&i.push(c$4$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$2$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$3).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$3;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$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$2.elementStyles=[],b$1$2.shadowRootOptions={mode:"open"},b$1$2[d$2$2("elementProperties")]=new Map,b$1$2[d$2$2("finalized")]=new Map,p$2$2?.({ReactiveElement:b$1$2}),(a$2$3.reactiveElementVersions??=[]).push("2.0.4");
|
|
649
649
|
|
|
650
650
|
/**
|
|
651
651
|
* @license
|
|
652
652
|
* Copyright 2017 Google LLC
|
|
653
653
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
654
|
-
*/let r$4$2 = class r extends b$1$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
654
|
+
*/let r$4$2 = class r extends b$1$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$1$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1$2}};r$4$2._$litElement$=true,r$4$2["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4$2});const i$5$3=globalThis.litElementPolyfillSupport;i$5$3?.({LitElement:r$4$2});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
655
655
|
|
|
656
656
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
657
657
|
// See LICENSE in the project root for license information.
|
|
@@ -660,7 +660,7 @@ const t$3$2=globalThis,e$6$2=t$3$2.ShadowRoot&&(undefined===t$3$2.ShadyCSS||t$3$
|
|
|
660
660
|
|
|
661
661
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
662
662
|
|
|
663
|
-
let AuroLibraryRuntimeUtils$
|
|
663
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
664
664
|
|
|
665
665
|
/* eslint-disable jsdoc/require-param */
|
|
666
666
|
|
|
@@ -771,7 +771,7 @@ function getAlignmentAxis(placement) {
|
|
|
771
771
|
return getOppositeAxis(getSideAxis(placement));
|
|
772
772
|
}
|
|
773
773
|
function getAlignmentSides(placement, rects, rtl) {
|
|
774
|
-
if (rtl ===
|
|
774
|
+
if (rtl === void 0) {
|
|
775
775
|
rtl = false;
|
|
776
776
|
}
|
|
777
777
|
const alignment = getAlignment(placement);
|
|
@@ -928,7 +928,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
928
928
|
platform
|
|
929
929
|
} = config;
|
|
930
930
|
const validMiddleware = middleware.filter(Boolean);
|
|
931
|
-
const rtl = await (platform.isRTL == null ?
|
|
931
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
932
932
|
let rects = await platform.getElementRects({
|
|
933
933
|
reference,
|
|
934
934
|
floating,
|
|
@@ -1014,7 +1014,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
1014
1014
|
*/
|
|
1015
1015
|
async function detectOverflow(state, options) {
|
|
1016
1016
|
var _await$platform$isEle;
|
|
1017
|
-
if (options ===
|
|
1017
|
+
if (options === void 0) {
|
|
1018
1018
|
options = {};
|
|
1019
1019
|
}
|
|
1020
1020
|
const {
|
|
@@ -1036,7 +1036,7 @@ async function detectOverflow(state, options) {
|
|
|
1036
1036
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
1037
1037
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
1038
1038
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
1039
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ?
|
|
1039
|
+
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))),
|
|
1040
1040
|
boundary,
|
|
1041
1041
|
rootBoundary,
|
|
1042
1042
|
strategy
|
|
@@ -1047,8 +1047,8 @@ async function detectOverflow(state, options) {
|
|
|
1047
1047
|
width: rects.floating.width,
|
|
1048
1048
|
height: rects.floating.height
|
|
1049
1049
|
} : rects.reference;
|
|
1050
|
-
const offsetParent = await (platform.getOffsetParent == null ?
|
|
1051
|
-
const offsetScale = (await (platform.isElement == null ?
|
|
1050
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
1051
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
1052
1052
|
x: 1,
|
|
1053
1053
|
y: 1
|
|
1054
1054
|
} : {
|
|
@@ -1085,7 +1085,7 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
|
1085
1085
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
1086
1086
|
*/
|
|
1087
1087
|
const autoPlacement$1 = function (options) {
|
|
1088
|
-
if (options ===
|
|
1088
|
+
if (options === void 0) {
|
|
1089
1089
|
options = {};
|
|
1090
1090
|
}
|
|
1091
1091
|
return {
|
|
@@ -1109,12 +1109,12 @@ const autoPlacement$1 = function (options) {
|
|
|
1109
1109
|
} = evaluate(options, state);
|
|
1110
1110
|
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
1111
1111
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1112
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ?
|
|
1112
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
1113
1113
|
const currentPlacement = placements$1[currentIndex];
|
|
1114
1114
|
if (currentPlacement == null) {
|
|
1115
1115
|
return {};
|
|
1116
1116
|
}
|
|
1117
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ?
|
|
1117
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
1118
1118
|
|
|
1119
1119
|
// Make `computeCoords` start from the right place.
|
|
1120
1120
|
if (placement !== currentPlacement) {
|
|
@@ -1125,7 +1125,7 @@ const autoPlacement$1 = function (options) {
|
|
|
1125
1125
|
};
|
|
1126
1126
|
}
|
|
1127
1127
|
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
1128
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ?
|
|
1128
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
1129
1129
|
placement: currentPlacement,
|
|
1130
1130
|
overflows: currentOverflows
|
|
1131
1131
|
}];
|
|
@@ -1155,7 +1155,7 @@ const autoPlacement$1 = function (options) {
|
|
|
1155
1155
|
// Aligned placements should not check their opposite crossAxis
|
|
1156
1156
|
// side.
|
|
1157
1157
|
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
1158
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ?
|
|
1158
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
1159
1159
|
if (resetPlacement !== placement) {
|
|
1160
1160
|
return {
|
|
1161
1161
|
data: {
|
|
@@ -1179,7 +1179,7 @@ const autoPlacement$1 = function (options) {
|
|
|
1179
1179
|
* @see https://floating-ui.com/docs/flip
|
|
1180
1180
|
*/
|
|
1181
1181
|
const flip$1 = function (options) {
|
|
1182
|
-
if (options ===
|
|
1182
|
+
if (options === void 0) {
|
|
1183
1183
|
options = {};
|
|
1184
1184
|
}
|
|
1185
1185
|
return {
|
|
@@ -1215,7 +1215,7 @@ const flip$1 = function (options) {
|
|
|
1215
1215
|
const side = getSide(placement);
|
|
1216
1216
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
1217
1217
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
1218
|
-
const rtl = await (platform.isRTL == null ?
|
|
1218
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
1219
1219
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
1220
1220
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
1221
1221
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -1224,7 +1224,7 @@ const flip$1 = function (options) {
|
|
|
1224
1224
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
1225
1225
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1226
1226
|
const overflows = [];
|
|
1227
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
1227
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
1228
1228
|
if (checkMainAxis) {
|
|
1229
1229
|
overflows.push(overflow[side]);
|
|
1230
1230
|
}
|
|
@@ -1240,7 +1240,7 @@ const flip$1 = function (options) {
|
|
|
1240
1240
|
// One or more sides is overflowing.
|
|
1241
1241
|
if (!overflows.every(side => side <= 0)) {
|
|
1242
1242
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
1243
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
1243
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
1244
1244
|
const nextPlacement = placements[nextIndex];
|
|
1245
1245
|
if (nextPlacement) {
|
|
1246
1246
|
// Try next placement and re-run the lifecycle.
|
|
@@ -1257,7 +1257,7 @@ const flip$1 = function (options) {
|
|
|
1257
1257
|
|
|
1258
1258
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
1259
1259
|
// then find the placement that fits the best on the main crossAxis side.
|
|
1260
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ?
|
|
1260
|
+
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;
|
|
1261
1261
|
|
|
1262
1262
|
// Otherwise fallback.
|
|
1263
1263
|
if (!resetPlacement) {
|
|
@@ -1274,7 +1274,7 @@ const flip$1 = function (options) {
|
|
|
1274
1274
|
currentSideAxis === 'y';
|
|
1275
1275
|
}
|
|
1276
1276
|
return true;
|
|
1277
|
-
}).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 ?
|
|
1277
|
+
}).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];
|
|
1278
1278
|
if (placement) {
|
|
1279
1279
|
resetPlacement = placement;
|
|
1280
1280
|
}
|
|
@@ -1307,7 +1307,7 @@ async function convertValueToCoords(state, options) {
|
|
|
1307
1307
|
platform,
|
|
1308
1308
|
elements
|
|
1309
1309
|
} = state;
|
|
1310
|
-
const rtl = await (platform.isRTL == null ?
|
|
1310
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
1311
1311
|
const side = getSide(placement);
|
|
1312
1312
|
const alignment = getAlignment(placement);
|
|
1313
1313
|
const isVertical = getSideAxis(placement) === 'y';
|
|
@@ -1349,7 +1349,7 @@ async function convertValueToCoords(state, options) {
|
|
|
1349
1349
|
* @see https://floating-ui.com/docs/offset
|
|
1350
1350
|
*/
|
|
1351
1351
|
const offset$1 = function (options) {
|
|
1352
|
-
if (options ===
|
|
1352
|
+
if (options === void 0) {
|
|
1353
1353
|
options = 0;
|
|
1354
1354
|
}
|
|
1355
1355
|
return {
|
|
@@ -1367,7 +1367,7 @@ const offset$1 = function (options) {
|
|
|
1367
1367
|
|
|
1368
1368
|
// If the placement is the same and the arrow caused an alignment offset
|
|
1369
1369
|
// then we don't need to change the positioning coordinates.
|
|
1370
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
1370
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
1371
1371
|
return {};
|
|
1372
1372
|
}
|
|
1373
1373
|
return {
|
|
@@ -1396,11 +1396,11 @@ function getNodeName(node) {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
function getWindow(node) {
|
|
1398
1398
|
var _node$ownerDocument;
|
|
1399
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
1399
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
1400
1400
|
}
|
|
1401
1401
|
function getDocumentElement(node) {
|
|
1402
1402
|
var _ref;
|
|
1403
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
1403
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
1404
1404
|
}
|
|
1405
1405
|
function isNode(value) {
|
|
1406
1406
|
if (!hasWindow()) {
|
|
@@ -1515,14 +1515,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
1517
1517
|
var _node$ownerDocument2;
|
|
1518
|
-
if (list ===
|
|
1518
|
+
if (list === void 0) {
|
|
1519
1519
|
list = [];
|
|
1520
1520
|
}
|
|
1521
|
-
if (traverseIframes ===
|
|
1521
|
+
if (traverseIframes === void 0) {
|
|
1522
1522
|
traverseIframes = true;
|
|
1523
1523
|
}
|
|
1524
1524
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
1525
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
1525
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
1526
1526
|
const win = getWindow(scrollableAncestor);
|
|
1527
1527
|
if (isBody) {
|
|
1528
1528
|
const frameElement = getFrameElement(win);
|
|
@@ -1599,7 +1599,7 @@ function getVisualOffsets(element) {
|
|
|
1599
1599
|
};
|
|
1600
1600
|
}
|
|
1601
1601
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1602
|
-
if (isFixed ===
|
|
1602
|
+
if (isFixed === void 0) {
|
|
1603
1603
|
isFixed = false;
|
|
1604
1604
|
}
|
|
1605
1605
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
@@ -1609,10 +1609,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
|
|
1611
1611
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1612
|
-
if (includeScale ===
|
|
1612
|
+
if (includeScale === void 0) {
|
|
1613
1613
|
includeScale = false;
|
|
1614
1614
|
}
|
|
1615
|
-
if (isFixedStrategy ===
|
|
1615
|
+
if (isFixedStrategy === void 0) {
|
|
1616
1616
|
isFixedStrategy = false;
|
|
1617
1617
|
}
|
|
1618
1618
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -1672,7 +1672,7 @@ function getWindowScrollBarX(element, rect) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
|
|
1674
1674
|
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1675
|
-
if (ignoreScrollbarX ===
|
|
1675
|
+
if (ignoreScrollbarX === void 0) {
|
|
1676
1676
|
ignoreScrollbarX = false;
|
|
1677
1677
|
}
|
|
1678
1678
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
@@ -2022,10 +2022,10 @@ function observeMove(element, onMove) {
|
|
|
2022
2022
|
io = null;
|
|
2023
2023
|
}
|
|
2024
2024
|
function refresh(skip, threshold) {
|
|
2025
|
-
if (skip ===
|
|
2025
|
+
if (skip === void 0) {
|
|
2026
2026
|
skip = false;
|
|
2027
2027
|
}
|
|
2028
|
-
if (threshold ===
|
|
2028
|
+
if (threshold === void 0) {
|
|
2029
2029
|
threshold = 1;
|
|
2030
2030
|
}
|
|
2031
2031
|
cleanup();
|
|
@@ -2096,7 +2096,7 @@ function observeMove(element, onMove) {
|
|
|
2096
2096
|
* @see https://floating-ui.com/docs/autoUpdate
|
|
2097
2097
|
*/
|
|
2098
2098
|
function autoUpdate(reference, floating, update, options) {
|
|
2099
|
-
if (options ===
|
|
2099
|
+
if (options === void 0) {
|
|
2100
2100
|
options = {};
|
|
2101
2101
|
}
|
|
2102
2102
|
const {
|
|
@@ -2296,7 +2296,7 @@ class AuroFloatingUI {
|
|
|
2296
2296
|
// Compute the position of the bib
|
|
2297
2297
|
computePosition(this.element.trigger, this.element.bib, {
|
|
2298
2298
|
placement: this.element.floaterConfig.placement || 'bottom',
|
|
2299
|
-
middleware: middleware
|
|
2299
|
+
middleware: middleware || []
|
|
2300
2300
|
}).then(({x, y}) => { // eslint-disable-line id-length
|
|
2301
2301
|
Object.assign(this.element.bib.style, {
|
|
2302
2302
|
left: `${x}px`,
|
|
@@ -2649,7 +2649,7 @@ class AuroFloatingUI {
|
|
|
2649
2649
|
// See LICENSE in the project root for license information.
|
|
2650
2650
|
|
|
2651
2651
|
|
|
2652
|
-
let AuroDependencyVersioning$
|
|
2652
|
+
let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
2653
2653
|
|
|
2654
2654
|
/**
|
|
2655
2655
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -2675,7 +2675,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
|
2675
2675
|
*/
|
|
2676
2676
|
generateTag(baseName, version, tagClass) {
|
|
2677
2677
|
const elementName = this.generateElementName(baseName, version);
|
|
2678
|
-
const tag = i$8$1`${s$3$
|
|
2678
|
+
const tag = i$8$1`${s$3$1(elementName)}`;
|
|
2679
2679
|
|
|
2680
2680
|
if (!customElements.get(elementName)) {
|
|
2681
2681
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -2690,13 +2690,13 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
|
2690
2690
|
* Copyright 2017 Google LLC
|
|
2691
2691
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2692
2692
|
*/
|
|
2693
|
-
const t$2$3={ATTRIBUTE:1
|
|
2693
|
+
const t$2$3={ATTRIBUTE:1},e$4$3=t=>(...e)=>({_$litDirective$:t,values:e});let i$4$3 = 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)}};
|
|
2694
2694
|
|
|
2695
2695
|
/**
|
|
2696
2696
|
* @license
|
|
2697
2697
|
* Copyright 2018 Google LLC
|
|
2698
2698
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2699
|
-
*/const e$3$3=e$4$3(class extends i$4$3{constructor(t){if(super(t),t.type!==t$2$3.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(
|
|
2699
|
+
*/const e$3$3=e$4$3(class extends i$4$3{constructor(t){if(super(t),t.type!==t$2$3.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$2}});
|
|
2700
2700
|
|
|
2701
2701
|
/**
|
|
2702
2702
|
* @license
|
|
@@ -2714,7 +2714,7 @@ const t$2$3={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:
|
|
|
2714
2714
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
2715
2715
|
*/
|
|
2716
2716
|
|
|
2717
|
-
let AuroElement$
|
|
2717
|
+
let AuroElement$3 = class AuroElement extends r$4$2 {
|
|
2718
2718
|
|
|
2719
2719
|
// function to define props used within the scope of this component
|
|
2720
2720
|
static get properties() {
|
|
@@ -2740,11 +2740,11 @@ let AuroElement$4 = class AuroElement extends r$4$2 {
|
|
|
2740
2740
|
}
|
|
2741
2741
|
};
|
|
2742
2742
|
|
|
2743
|
-
var error$
|
|
2743
|
+
var error$3 = {"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>"};
|
|
2744
2744
|
|
|
2745
2745
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
2746
2746
|
|
|
2747
|
-
const _fetchMap$
|
|
2747
|
+
const _fetchMap$3 = new Map();
|
|
2748
2748
|
|
|
2749
2749
|
/**
|
|
2750
2750
|
* A callback to parse Response body.
|
|
@@ -2762,15 +2762,15 @@ const _fetchMap$4 = new Map();
|
|
|
2762
2762
|
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
2763
2763
|
* @returns {Promise}
|
|
2764
2764
|
*/
|
|
2765
|
-
const cacheFetch$
|
|
2765
|
+
const cacheFetch$3 = (uri, options = {}) => {
|
|
2766
2766
|
const responseParser = options.responseParser || ((response) => response.text());
|
|
2767
|
-
if (!_fetchMap$
|
|
2768
|
-
_fetchMap$
|
|
2767
|
+
if (!_fetchMap$3.has(uri)) {
|
|
2768
|
+
_fetchMap$3.set(uri, fetch(uri).then(responseParser));
|
|
2769
2769
|
}
|
|
2770
|
-
return _fetchMap$
|
|
2770
|
+
return _fetchMap$3.get(uri);
|
|
2771
2771
|
};
|
|
2772
2772
|
|
|
2773
|
-
var styleCss$3
|
|
2773
|
+
var styleCss$2$3 = i$7$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
|
|
2774
2774
|
|
|
2775
2775
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2776
2776
|
// See LICENSE in the project root for license information.
|
|
@@ -2783,7 +2783,7 @@ var styleCss$3$2 = i$7$2`*,*:before,*:after{box-sizing:border-box}@media(prefers
|
|
|
2783
2783
|
*/
|
|
2784
2784
|
|
|
2785
2785
|
// build the component class
|
|
2786
|
-
let BaseIcon$
|
|
2786
|
+
let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
2787
2787
|
constructor() {
|
|
2788
2788
|
super();
|
|
2789
2789
|
this.onDark = false;
|
|
@@ -2809,8 +2809,8 @@ let BaseIcon$4 = class BaseIcon extends AuroElement$4 {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
|
|
2811
2811
|
static get styles() {
|
|
2812
|
-
return i$7$
|
|
2813
|
-
${styleCss$3
|
|
2812
|
+
return i$7$1`
|
|
2813
|
+
${styleCss$2$3}
|
|
2814
2814
|
`;
|
|
2815
2815
|
}
|
|
2816
2816
|
|
|
@@ -2825,9 +2825,9 @@ let BaseIcon$4 = class BaseIcon extends AuroElement$4 {
|
|
|
2825
2825
|
let iconHTML = '';
|
|
2826
2826
|
|
|
2827
2827
|
if (category === 'logos') {
|
|
2828
|
-
iconHTML = await cacheFetch$
|
|
2828
|
+
iconHTML = await cacheFetch$3(`${this.uri}/${category}/${name}.svg`);
|
|
2829
2829
|
} else {
|
|
2830
|
-
iconHTML = await cacheFetch$
|
|
2830
|
+
iconHTML = await cacheFetch$3(`${this.uri}/icons/${category}/${name}.svg`);
|
|
2831
2831
|
}
|
|
2832
2832
|
|
|
2833
2833
|
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
@@ -2843,7 +2843,7 @@ let BaseIcon$4 = class BaseIcon extends AuroElement$4 {
|
|
|
2843
2843
|
if (svg) {
|
|
2844
2844
|
this.svg = svg;
|
|
2845
2845
|
} else if (!svg) {
|
|
2846
|
-
const penDOM = new DOMParser().parseFromString(error$
|
|
2846
|
+
const penDOM = new DOMParser().parseFromString(error$3.svg, 'text/html');
|
|
2847
2847
|
|
|
2848
2848
|
this.svg = penDOM.body.firstChild;
|
|
2849
2849
|
}
|
|
@@ -2851,9 +2851,9 @@ let BaseIcon$4 = class BaseIcon extends AuroElement$4 {
|
|
|
2851
2851
|
}
|
|
2852
2852
|
};
|
|
2853
2853
|
|
|
2854
|
-
var tokensCss$
|
|
2854
|
+
var tokensCss$1$2 = i$7$1`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
2855
2855
|
|
|
2856
|
-
var colorCss$
|
|
2856
|
+
var colorCss$2$2 = i$7$1`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
2857
2857
|
|
|
2858
2858
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2859
2859
|
// See LICENSE in the project root for license information.
|
|
@@ -2886,7 +2886,7 @@ var colorCss$3$2 = i$7$2`:host{color:var(--ds-auro-icon-color)}:host([customColo
|
|
|
2886
2886
|
*/
|
|
2887
2887
|
|
|
2888
2888
|
// build the component class
|
|
2889
|
-
let AuroIcon$
|
|
2889
|
+
let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
2890
2890
|
constructor() {
|
|
2891
2891
|
super();
|
|
2892
2892
|
|
|
@@ -2915,7 +2915,7 @@ let AuroIcon$4 = class AuroIcon extends BaseIcon$4 {
|
|
|
2915
2915
|
this.success = false;
|
|
2916
2916
|
this.tertiary = false;
|
|
2917
2917
|
this.warning = false;
|
|
2918
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
2918
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
2919
2919
|
}
|
|
2920
2920
|
|
|
2921
2921
|
// function to define props used within the scope of this component
|
|
@@ -2997,9 +2997,9 @@ let AuroIcon$4 = class AuroIcon extends BaseIcon$4 {
|
|
|
2997
2997
|
static get styles() {
|
|
2998
2998
|
return [
|
|
2999
2999
|
super.styles,
|
|
3000
|
-
i$7$
|
|
3001
|
-
i$7$
|
|
3002
|
-
i$7$
|
|
3000
|
+
i$7$1`${tokensCss$1$2}`,
|
|
3001
|
+
i$7$1`${styleCss$2$3}`,
|
|
3002
|
+
i$7$1`${colorCss$2$2}`
|
|
3003
3003
|
];
|
|
3004
3004
|
}
|
|
3005
3005
|
|
|
@@ -3012,7 +3012,7 @@ let AuroIcon$4 = class AuroIcon extends BaseIcon$4 {
|
|
|
3012
3012
|
*
|
|
3013
3013
|
*/
|
|
3014
3014
|
static register(name = "auro-icon") {
|
|
3015
|
-
AuroLibraryRuntimeUtils$
|
|
3015
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroIcon);
|
|
3016
3016
|
}
|
|
3017
3017
|
|
|
3018
3018
|
connectedCallback() {
|
|
@@ -3041,14 +3041,14 @@ let AuroIcon$4 = class AuroIcon extends BaseIcon$4 {
|
|
|
3041
3041
|
'wrapper': true,
|
|
3042
3042
|
};
|
|
3043
3043
|
|
|
3044
|
-
return x$
|
|
3044
|
+
return x$2`
|
|
3045
3045
|
<div
|
|
3046
3046
|
class="${e$3$3(classes)}"
|
|
3047
3047
|
title="${o$3$3(this.title || undefined)}">
|
|
3048
3048
|
<span aria-hidden="${o$3$3(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
3049
|
-
${this.customSvg ? x$
|
|
3049
|
+
${this.customSvg ? x$2`
|
|
3050
3050
|
<slot name="svg"></slot>
|
|
3051
|
-
` : x$
|
|
3051
|
+
` : x$2`
|
|
3052
3052
|
${this.svg}
|
|
3053
3053
|
`
|
|
3054
3054
|
}
|
|
@@ -3062,13 +3062,13 @@ let AuroIcon$4 = class AuroIcon extends BaseIcon$4 {
|
|
|
3062
3062
|
}
|
|
3063
3063
|
};
|
|
3064
3064
|
|
|
3065
|
-
var iconVersion$
|
|
3065
|
+
var iconVersion$3 = '6.1.2';
|
|
3066
3066
|
|
|
3067
|
-
var styleCss$
|
|
3067
|
+
var styleCss$1$3 = i$7$1`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;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}`;
|
|
3068
3068
|
|
|
3069
|
-
var colorCss$
|
|
3069
|
+
var colorCss$1$3 = i$7$1`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
3070
3070
|
|
|
3071
|
-
var tokensCss$
|
|
3071
|
+
var tokensCss$5 = i$7$1`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
3072
3072
|
|
|
3073
3073
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3074
3074
|
// See LICENSE in the project root for license information.
|
|
@@ -3098,14 +3098,14 @@ class AuroDropdownBib extends r$4$2 {
|
|
|
3098
3098
|
*/
|
|
3099
3099
|
this._mobileBreakpointValue = undefined;
|
|
3100
3100
|
|
|
3101
|
-
AuroLibraryRuntimeUtils$
|
|
3101
|
+
AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
3102
3102
|
}
|
|
3103
3103
|
|
|
3104
3104
|
static get styles() {
|
|
3105
3105
|
return [
|
|
3106
|
-
styleCss$
|
|
3107
|
-
colorCss$
|
|
3108
|
-
tokensCss$
|
|
3106
|
+
styleCss$1$3,
|
|
3107
|
+
colorCss$1$3,
|
|
3108
|
+
tokensCss$5
|
|
3109
3109
|
];
|
|
3110
3110
|
}
|
|
3111
3111
|
|
|
@@ -3179,7 +3179,7 @@ class AuroDropdownBib extends r$4$2 {
|
|
|
3179
3179
|
|
|
3180
3180
|
// function that renders the HTML and CSS into the scope of the component
|
|
3181
3181
|
render() {
|
|
3182
|
-
return u$3$
|
|
3182
|
+
return u$3$1`
|
|
3183
3183
|
<div class="container" part="bibContainer">
|
|
3184
3184
|
<slot></slot>
|
|
3185
3185
|
</div>
|
|
@@ -3189,232 +3189,41 @@ class AuroDropdownBib extends r$4$2 {
|
|
|
3189
3189
|
|
|
3190
3190
|
var dropdownVersion$1 = '3.0.0';
|
|
3191
3191
|
|
|
3192
|
-
var styleCss$
|
|
3192
|
+
var styleCss$6 = i$7$1`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
3193
3193
|
|
|
3194
|
-
var colorCss$
|
|
3194
|
+
var colorCss$5 = i$7$1`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
3195
3195
|
|
|
3196
3196
|
/**
|
|
3197
3197
|
* @license
|
|
3198
3198
|
* Copyright 2019 Google LLC
|
|
3199
3199
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3200
3200
|
*/
|
|
3201
|
-
const t$1$3=globalThis,e$2$3=t$1$3.ShadowRoot&&(
|
|
3201
|
+
const t$1$3=globalThis,e$2$3=t$1$3.ShadowRoot&&(void 0===t$1$3.ShadyCSS||t$1$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1$3=Symbol(),o$2$3=new WeakMap;let n$2$3 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1$3)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$3&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2$3.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$3.set(s,t));}return t}toString(){return this.cssText}};const r$3$3=t=>new n$2$3("string"==typeof t?t:t+"",void 0,s$1$3),i$3$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2$3(o,t,s$1$3)},S$1$3=(s,o)=>{if(e$2$3)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$3.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$3=e$2$3?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$3(e)})(t):t;
|
|
3202
3202
|
|
|
3203
3203
|
/**
|
|
3204
3204
|
* @license
|
|
3205
3205
|
* Copyright 2017 Google LLC
|
|
3206
3206
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3207
|
-
*/const{is:i$2$3,defineProperty:e$1$
|
|
3207
|
+
*/const{is:i$2$3,defineProperty:e$1$3,getOwnPropertyDescriptor:r$2$3,getOwnPropertyNames:h$1$3,getOwnPropertySymbols:o$1$2,getPrototypeOf:n$1$3}=Object,a$1$3=globalThis,c$1$3=a$1$3.trustedTypes,l$1$3=c$1$3?c$1$3.emptyScript:"",p$1$3=a$1$3.reactiveElementPolyfillSupport,d$1$3=(t,s)=>t,u$1$3={toAttribute(t,s){switch(s){case Boolean:t=t?l$1$3: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$3=(t,s)=>!i$2$3(t,s),y$1$3={attribute:true,type:String,converter:u$1$3,reflect:false,hasChanged:f$1$3};Symbol.metadata??=Symbol("metadata"),a$1$3.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$1$3){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$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$3(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$3}static _$Ei(){if(this.hasOwnProperty(d$1$3("elementProperties")))return;const t=n$1$3(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$3("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$3("properties"))){const t=this.properties,s=[...h$1$3(t),...o$1$2(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$3(s));}else void 0!==s&&i.push(c$2$3(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$3(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$3).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$3;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$3)(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$1$3("elementProperties")]=new Map,b$3[d$1$3("finalized")]=new Map,p$1$3?.({ReactiveElement:b$3}),(a$1$3.reactiveElementVersions??=[]).push("2.0.4");
|
|
3208
3208
|
|
|
3209
3209
|
/**
|
|
3210
3210
|
* @license
|
|
3211
3211
|
* Copyright 2017 Google LLC
|
|
3212
3212
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3213
3213
|
*/
|
|
3214
|
-
const t$7=globalThis,i$1$
|
|
3214
|
+
const t$7=globalThis,i$1$2=t$7.trustedTypes,s$7=i$1$2?i$1$2.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$9="$lit$",h$5=`lit$${Math.random().toFixed(9).slice(2)}$`,o$9="?"+h$5,n$8=`<${o$9}>`,r$1$3=document,l$6=()=>r$1$3.createComment(""),c$8=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$6=Array.isArray,u$8=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$4=/-->/g,_$3=/>/g,m$4=RegExp(`>|${d$5}(?:([^\\s"'>=/]+)(${d$5}*=${d$5}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$6=/'/g,g$3=/"/g,$$3=/^(?:script|style|textarea|title)$/i,T$3=Symbol.for("lit-noChange"),E$3=Symbol.for("lit-nothing"),A$3=new WeakMap,C$3=r$1$3.createTreeWalker(r$1$3,129);function P$3(t,i){if(!a$6(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$7?s$7.createHTML(i):i}const V$3=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$5;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$5?"!--"===u[1]?c=v$4:void 0!==u[1]?c=_$3:void 0!==u[2]?($$3.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$4):void 0!==u[3]&&(c=m$4):c===m$4?">"===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$4:'"'===u[3]?g$3:p$6):c===g$3||c===p$6?c=m$4:c===v$4||c===_$3?c=f$5:(c=m$4,r=void 0);const x=c===m$4&&t[i+1].startsWith("/>")?" ":"";l+=c===f$5?s+n$8:d>=0?(o.push(a),s.slice(0,d)+e$9+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$9)){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$1$2?i$1$2.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$1$3.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$8(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$4 = 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$3).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$1$3,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$8(t)?t===E$3||null==t||""===t?(this._$AH!==E$3&&this._$AR(),this._$AH=E$3):t!==this._$AH&&t!==T$3&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$8(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$3&&c$8(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$3.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$4(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$3.get(t.strings);return 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$8(t)||t!==this._$AH&&t!==T$3,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$5(this,e[s+n],i,n),r===T$3&&(r=this._$AH[n]),o||=!c$8(r)||r!==this._$AH[n],r===E$3?t=E$3:t!==E$3&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$3?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$3 = class H extends k$3{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$3?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$7.litHtmlPolyfillSupport;j$3?.(N$3,R$3),(t$7.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};
|
|
3215
3215
|
|
|
3216
3216
|
/**
|
|
3217
3217
|
* @license
|
|
3218
3218
|
* Copyright 2017 Google LLC
|
|
3219
3219
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3220
|
-
*/let r$a = class r extends b$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
3221
|
-
|
|
3222
|
-
var colorCss$6 = i$3$3`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
3223
|
-
|
|
3224
|
-
var styleCss$7 = i$3$3`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
3225
|
-
|
|
3226
|
-
var tokensCss$6 = i$3$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
3227
|
-
|
|
3228
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3229
|
-
// See LICENSE in the project root for license information.
|
|
3230
|
-
|
|
3231
|
-
// ---------------------------------------------------------------------
|
|
3232
|
-
|
|
3233
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
3234
|
-
|
|
3235
|
-
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
3236
|
-
|
|
3237
|
-
/* eslint-disable jsdoc/require-param */
|
|
3238
|
-
|
|
3239
|
-
/**
|
|
3240
|
-
* This will register a new custom element with the browser.
|
|
3241
|
-
* @param {String} name - The name of the custom element.
|
|
3242
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
3243
|
-
* @returns {void}
|
|
3244
|
-
*/
|
|
3245
|
-
registerComponent(name, componentClass) {
|
|
3246
|
-
if (!customElements.get(name)) {
|
|
3247
|
-
customElements.define(name, class extends componentClass {});
|
|
3248
|
-
}
|
|
3249
|
-
}
|
|
3250
|
-
|
|
3251
|
-
/**
|
|
3252
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
3253
|
-
* @returns {void}
|
|
3254
|
-
*/
|
|
3255
|
-
closestElement(
|
|
3256
|
-
selector, // selector like in .closest()
|
|
3257
|
-
base = this, // extra functionality to skip a parent
|
|
3258
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
3259
|
-
!el || el === document || el === window
|
|
3260
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
3261
|
-
: found
|
|
3262
|
-
? found // found a selector INside this element
|
|
3263
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
3264
|
-
) {
|
|
3265
|
-
return __Closest(base);
|
|
3266
|
-
}
|
|
3267
|
-
/* eslint-enable jsdoc/require-param */
|
|
3268
|
-
|
|
3269
|
-
/**
|
|
3270
|
-
* 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.
|
|
3271
|
-
* @param {Object} elem - The element to check.
|
|
3272
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
3273
|
-
* @returns {void}
|
|
3274
|
-
*/
|
|
3275
|
-
handleComponentTagRename(elem, tagName) {
|
|
3276
|
-
const tag = tagName.toLowerCase();
|
|
3277
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
3278
|
-
|
|
3279
|
-
if (elemTag !== tag) {
|
|
3280
|
-
elem.setAttribute(tag, true);
|
|
3281
|
-
}
|
|
3282
|
-
}
|
|
3283
|
-
|
|
3284
|
-
/**
|
|
3285
|
-
* Validates if an element is a specific Auro component.
|
|
3286
|
-
* @param {Object} elem - The element to validate.
|
|
3287
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
3288
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
3289
|
-
*/
|
|
3290
|
-
elementMatch(elem, tagName) {
|
|
3291
|
-
const tag = tagName.toLowerCase();
|
|
3292
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
3293
|
-
|
|
3294
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
3295
|
-
}
|
|
3296
|
-
};
|
|
3297
|
-
|
|
3298
|
-
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3299
|
-
// See LICENSE in the project root for license information.
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
/**
|
|
3303
|
-
* Displays help text or error messages within form elements - Internal Use Only.
|
|
3304
|
-
*
|
|
3305
|
-
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
3306
|
-
*/
|
|
3307
|
-
let AuroHelpText$1 = class AuroHelpText extends r$a {
|
|
3308
|
-
|
|
3309
|
-
constructor() {
|
|
3310
|
-
super();
|
|
3311
|
-
|
|
3312
|
-
this.error = false;
|
|
3313
|
-
this.hasTextContent = false;
|
|
3314
|
-
}
|
|
3315
|
-
|
|
3316
|
-
static get styles() {
|
|
3317
|
-
return [
|
|
3318
|
-
colorCss$6,
|
|
3319
|
-
styleCss$7,
|
|
3320
|
-
tokensCss$6
|
|
3321
|
-
];
|
|
3322
|
-
}
|
|
3323
|
-
|
|
3324
|
-
// function to define props used within the scope of this component
|
|
3325
|
-
static get properties() {
|
|
3326
|
-
return {
|
|
3327
|
-
|
|
3328
|
-
/**
|
|
3329
|
-
* @private
|
|
3330
|
-
*/
|
|
3331
|
-
slotNodes: {
|
|
3332
|
-
type: Boolean,
|
|
3333
|
-
},
|
|
3334
|
-
|
|
3335
|
-
/**
|
|
3336
|
-
* @private
|
|
3337
|
-
*/
|
|
3338
|
-
hasTextContent: {
|
|
3339
|
-
type: Boolean,
|
|
3340
|
-
},
|
|
3341
|
-
|
|
3342
|
-
/**
|
|
3343
|
-
* If declared, make font color red.
|
|
3344
|
-
*/
|
|
3345
|
-
error: {
|
|
3346
|
-
type: Boolean,
|
|
3347
|
-
reflect: true,
|
|
3348
|
-
},
|
|
3349
|
-
};
|
|
3350
|
-
}
|
|
3351
|
-
|
|
3352
|
-
/**
|
|
3353
|
-
* This will register this element with the browser.
|
|
3354
|
-
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
3355
|
-
*
|
|
3356
|
-
* @example
|
|
3357
|
-
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
3358
|
-
*
|
|
3359
|
-
*/
|
|
3360
|
-
static register(name = "auro-helptext") {
|
|
3361
|
-
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
|
|
3362
|
-
}
|
|
3363
|
-
|
|
3364
|
-
updated() {
|
|
3365
|
-
this.handleSlotChange();
|
|
3366
|
-
}
|
|
3367
|
-
|
|
3368
|
-
handleSlotChange(event) {
|
|
3369
|
-
if (event) {
|
|
3370
|
-
this.slotNodes = event.target.assignedNodes();
|
|
3371
|
-
}
|
|
3372
|
-
|
|
3373
|
-
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
3374
|
-
}
|
|
3375
|
-
|
|
3376
|
-
/**
|
|
3377
|
-
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
3378
|
-
*
|
|
3379
|
-
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
3380
|
-
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
3381
|
-
* @private
|
|
3382
|
-
*/
|
|
3383
|
-
checkSlotsForContent(nodes) {
|
|
3384
|
-
if (!nodes) {
|
|
3385
|
-
return false;
|
|
3386
|
-
}
|
|
3387
|
-
|
|
3388
|
-
return nodes.some((node) => {
|
|
3389
|
-
if (node.textContent.trim()) {
|
|
3390
|
-
return true;
|
|
3391
|
-
}
|
|
3392
|
-
|
|
3393
|
-
if (!node.querySelector) {
|
|
3394
|
-
return false;
|
|
3395
|
-
}
|
|
3220
|
+
*/let r$a = 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$a._$litElement$=true,r$a["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$a});const i$b=globalThis.litElementPolyfillSupport;i$b?.({LitElement:r$a});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
3396
3221
|
|
|
3397
|
-
|
|
3398
|
-
if (!nestedSlot) {
|
|
3399
|
-
return false;
|
|
3400
|
-
}
|
|
3401
|
-
|
|
3402
|
-
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
3403
|
-
return this.checkSlotsForContent(nestedSlotNodes);
|
|
3404
|
-
});
|
|
3405
|
-
}
|
|
3222
|
+
i$3$3`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
3406
3223
|
|
|
3407
|
-
|
|
3408
|
-
render() {
|
|
3409
|
-
return x$3`
|
|
3410
|
-
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
3411
|
-
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
3412
|
-
</div>
|
|
3413
|
-
`;
|
|
3414
|
-
}
|
|
3415
|
-
};
|
|
3224
|
+
i$3$3`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
3416
3225
|
|
|
3417
|
-
|
|
3226
|
+
i$3$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
3418
3227
|
|
|
3419
3228
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3420
3229
|
// See LICENSE in the project root for license information.
|
|
@@ -3491,7 +3300,7 @@ class AuroDropdown extends r$4$2 {
|
|
|
3491
3300
|
/**
|
|
3492
3301
|
* @private
|
|
3493
3302
|
*/
|
|
3494
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
3303
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
3495
3304
|
|
|
3496
3305
|
/**
|
|
3497
3306
|
* @private
|
|
@@ -3511,12 +3320,12 @@ class AuroDropdown extends r$4$2 {
|
|
|
3511
3320
|
/**
|
|
3512
3321
|
* Generate unique names for dependency components.
|
|
3513
3322
|
*/
|
|
3514
|
-
const versioning = new AuroDependencyVersioning$
|
|
3323
|
+
const versioning = new AuroDependencyVersioning$2();
|
|
3515
3324
|
|
|
3516
3325
|
/**
|
|
3517
3326
|
* @private
|
|
3518
3327
|
*/
|
|
3519
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$
|
|
3328
|
+
this.iconTag = versioning.generateTag('auro-icon', iconVersion$3, AuroIcon$3);
|
|
3520
3329
|
|
|
3521
3330
|
/**
|
|
3522
3331
|
* @private
|
|
@@ -3709,9 +3518,9 @@ class AuroDropdown extends r$4$2 {
|
|
|
3709
3518
|
|
|
3710
3519
|
static get styles() {
|
|
3711
3520
|
return [
|
|
3712
|
-
colorCss$
|
|
3713
|
-
styleCss$
|
|
3714
|
-
tokensCss$
|
|
3521
|
+
colorCss$5,
|
|
3522
|
+
styleCss$6,
|
|
3523
|
+
tokensCss$5
|
|
3715
3524
|
];
|
|
3716
3525
|
}
|
|
3717
3526
|
|
|
@@ -3724,7 +3533,7 @@ class AuroDropdown extends r$4$2 {
|
|
|
3724
3533
|
*
|
|
3725
3534
|
*/
|
|
3726
3535
|
static register(name = "auro-dropdown") {
|
|
3727
|
-
AuroLibraryRuntimeUtils$
|
|
3536
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroDropdown);
|
|
3728
3537
|
}
|
|
3729
3538
|
|
|
3730
3539
|
connectedCallback() {
|
|
@@ -3923,7 +3732,7 @@ class AuroDropdown extends r$4$2 {
|
|
|
3923
3732
|
|
|
3924
3733
|
// function that renders the HTML and CSS into the scope of the component
|
|
3925
3734
|
render() {
|
|
3926
|
-
return u$3$
|
|
3735
|
+
return u$3$1`
|
|
3927
3736
|
<div>
|
|
3928
3737
|
<div
|
|
3929
3738
|
id="trigger"
|
|
@@ -3943,7 +3752,7 @@ class AuroDropdown extends r$4$2 {
|
|
|
3943
3752
|
@slotchange="${this.handleTriggerContentSlotChange}"></slot>
|
|
3944
3753
|
</div>
|
|
3945
3754
|
</div>
|
|
3946
|
-
${this.chevron || this.common ? u$3$
|
|
3755
|
+
${this.chevron || this.common ? u$3$1`
|
|
3947
3756
|
<div
|
|
3948
3757
|
id="showStateIcon"
|
|
3949
3758
|
part="chevron">
|
|
@@ -3977,8 +3786,6 @@ class AuroDropdown extends r$4$2 {
|
|
|
3977
3786
|
}
|
|
3978
3787
|
}
|
|
3979
3788
|
|
|
3980
|
-
AuroDropdown.register();
|
|
3981
|
-
|
|
3982
3789
|
var dropdownVersion = '3.0.0';
|
|
3983
3790
|
|
|
3984
3791
|
/**
|
|
@@ -3986,40 +3793,40 @@ var dropdownVersion = '3.0.0';
|
|
|
3986
3793
|
* Copyright 2017 Google LLC
|
|
3987
3794
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3988
3795
|
*/
|
|
3989
|
-
const t$5=globalThis,i$9=t$5.trustedTypes,s$5=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):
|
|
3796
|
+
const t$5=globalThis,i$9=t$5.trustedTypes,s$5=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$8=document,l$4=()=>r$8.createComment(""),c$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$6=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$1$1=/>/g,m$2=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$1$1=/"/g,$$1$1=/^(?:script|style|textarea|title)$/i,y$2=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$2(1),T$1$1=Symbol.for("lit-noChange"),E$1$1=Symbol.for("lit-nothing"),A$1$1=new WeakMap,C$1$1=r$8.createTreeWalker(r$8,129);function P$1$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$5?s$5.createHTML(i):i}const V$1$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3?"!--"===u[1]?c=v$2:void 0!==u[1]?c=_$1$1:void 0!==u[2]?($$1$1.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$3,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$1$1:p$4):c===g$1$1||c===p$4?c=m$2:c===v$2||c===_$1$1?c=f$3:(c=m$2,r=void 0);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$3+x):s+h$3+(-2===d?i:x);}return [P$1$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1$1(t,s);if(this.el=N.createElement(f,n),C$1$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7)){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$1:"?"===e[1]?I$1$1:"@"===e[1]?L$1$1:k$1$1}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1$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$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4());}}}else if(8===r.nodeType)if(r.data===o$7)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$8.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$1$1)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$3(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$8).importNode(i,true);C$1$1.currentNode=e;let h=C$1$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$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1$1.nextNode(),o++);}return C$1$1.currentNode=r$8,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$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1$1,this._$AN=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$6(t)?t===E$1$1||null==t||""===t?(this._$AH!==E$1$1&&this._$AR(),this._$AH=E$1$1):t!==this._$AH&&t!==T$1$1&&this._(t):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$1$1&&c$6(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$8.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1$1.createElement(P$1$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1$1.get(t.strings);return void 0===i&&A$1$1.set(t.strings,i=new N$1$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$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1$1,this._$AN=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$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$6(t)||t!==this._$AH&&t!==T$1$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3(this,e[s+n],i,n),r===T$1$1&&(r=this._$AH[n]),o||=!c$6(r)||r!==this._$AH[n],r===E$1$1?t=E$1$1:t!==E$1$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1$1 = class H extends k$1$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1$1?void 0:t;}};let I$1$1 = class I extends k$1$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1$1);}};let L$1$1 = class L extends k$1$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3(this,t,i,0)??E$1$1)===T$1$1)return;const s=this._$AH,e=t===E$1$1&&s!==E$1$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1$1&&(s===E$1$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const Z={I:R$1$1},j$1$1=t$5.litHtmlPolyfillSupport;j$1$1?.(N$1$1,R$1$1),(t$5.litHtmlVersions??=[]).push("3.2.1");const B$1$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$1(i.insertBefore(l$4(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
3990
3797
|
|
|
3991
3798
|
/**
|
|
3992
3799
|
* @license
|
|
3993
3800
|
* Copyright 2020 Google LLC
|
|
3994
3801
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3995
3802
|
*/
|
|
3996
|
-
const a$3
|
|
3803
|
+
const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$4=t=>({_$litStatic$:t,r:a$3}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(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$5=n$5(x$1);
|
|
3997
3804
|
|
|
3998
3805
|
/**
|
|
3999
3806
|
* @license
|
|
4000
3807
|
* Copyright 2017 Google LLC
|
|
4001
3808
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4002
3809
|
*/
|
|
4003
|
-
const t$4
|
|
3810
|
+
const t$4={ATTRIBUTE:1,CHILD:2},e$6=t=>(...e)=>({_$litDirective$:t,values:e});let i$7 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
4004
3811
|
|
|
4005
3812
|
/**
|
|
4006
3813
|
* @license
|
|
4007
3814
|
* Copyright 2020 Google LLC
|
|
4008
3815
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4009
|
-
*/const {I:t$3$1}=Z,s$3
|
|
3816
|
+
*/const {I:t$3$1}=Z,s$3=()=>document.createComment(""),r$7=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(s$3(),l),c=e.insertBefore(s$3(),l);n=new t$3$1(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v$1$1=(o,t,i=o)=>(o._$AI(t,i),o),u$4={},m$1$1=(o,t=u$4)=>o._$AH=t,p$3=o=>o._$AH,M$1$1=o=>{o._$AP?.(false,true);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
|
|
4010
3817
|
|
|
4011
3818
|
/**
|
|
4012
3819
|
* @license
|
|
4013
3820
|
* Copyright 2017 Google LLC
|
|
4014
3821
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4015
3822
|
*/
|
|
4016
|
-
const u$3
|
|
3823
|
+
const u$3=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c$5=e$6(class extends i$7{constructor(e){if(super(e),e.type!==t$4.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r,c]){const d=p$3(s),{values:p,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p;const h=this.ut??=[],v=[];let m,y,x=0,j=d.length-1,k=0,w=p.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v[k]=v$1$1(d[x],p[k]),x++,k++;else if(h[j]===a[w])v[w]=v$1$1(d[j],p[w]),j--,w--;else if(h[x]===a[w])v[w]=v$1$1(d[x],p[w]),r$7(s,v[w+1],d[x]),x++,w--;else if(h[j]===a[k])v[k]=v$1$1(d[j],p[k]),r$7(s,d[x],d[j]),j--,k++;else if(void 0===m&&(m=u$3(a,k,w),y=u$3(h,x,j)),m.has(h[x]))if(m.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=r$7(s,d[x]);v$1$1(e,p[k]),v[k]=e;}else v[k]=v$1$1(t,p[k]),r$7(s,d[x],t),d[e]=null;k++;}else M$1$1(d[j]),j--;else M$1$1(d[x]),x++;for(;k<=w;){const e=r$7(s,v[w+1]);v$1$1(e,p[k]),v[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M$1$1(e);}return this.ut=a,m$1$1(s,v),T$1$1}});
|
|
4017
3824
|
|
|
4018
3825
|
/**
|
|
4019
3826
|
* @license
|
|
4020
3827
|
* Copyright 2018 Google LLC
|
|
4021
3828
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4022
|
-
*/const e$5$1=e$6
|
|
3829
|
+
*/const e$5$1=e$6(class extends i$7{constructor(t){if(super(t),t.type!==t$4.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(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$1}});
|
|
4023
3830
|
|
|
4024
3831
|
/**
|
|
4025
3832
|
* @license
|
|
@@ -4135,25 +3942,25 @@ function stopNotifyingOnLangChange(element) {
|
|
|
4135
3942
|
* Copyright 2019 Google LLC
|
|
4136
3943
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4137
3944
|
*/
|
|
4138
|
-
const t$2$2=globalThis,e$4$2=t$2$2.ShadowRoot&&(
|
|
3945
|
+
const t$2$2=globalThis,e$4$2=t$2$2.ShadowRoot&&(void 0===t$2$2.ShadyCSS||t$2$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$2=Symbol(),o$4$2=new WeakMap;let n$4 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$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$2&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4$2.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$2),i$6$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4(o,t,s$2$2)},S$2$1=(s,o)=>{if(e$4$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4=e$4$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
|
|
4139
3946
|
|
|
4140
3947
|
/**
|
|
4141
3948
|
* @license
|
|
4142
3949
|
* Copyright 2017 Google LLC
|
|
4143
3950
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4144
|
-
*/const{is:i$5$2,defineProperty:e$3$2,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2$1,getOwnPropertySymbols:o$3$2,getPrototypeOf:n$3$2}=Object,a$2$2=globalThis,c$3$1=a$2$2.trustedTypes,l$2$2=c$3$1?c$3$1.emptyScript:"",p$2$1=a$2$2.reactiveElementPolyfillSupport,d$2$1=(t,s)=>t,u$2$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2$1=(t,s)=>!i$5$2(t,s),y$
|
|
3951
|
+
*/const{is:i$5$2,defineProperty:e$3$2,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2$1,getOwnPropertySymbols:o$3$2,getPrototypeOf:n$3$2}=Object,a$2$2=globalThis,c$3$1=a$2$2.trustedTypes,l$2$2=c$3$1?c$3$1.emptyScript:"",p$2$1=a$2$2.reactiveElementPolyfillSupport,d$2$1=(t,s)=>t,u$2$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2$1=(t,s)=>!i$5$2(t,s),y$3={attribute:true,type:String,converter:u$2$2,reflect:false,hasChanged:f$2$1};Symbol.metadata??=Symbol("metadata"),a$2$2.litPropertyMetadata??=new WeakMap;let b$1$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$3){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$2(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$3}static _$Ei(){if(this.hasOwnProperty(d$2$1("elementProperties")))return;const t=n$3$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2$1("properties"))){const t=this.properties,s=[...h$2$1(t),...o$3$2(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$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$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$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$2$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=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$1.elementStyles=[],b$1$1.shadowRootOptions={mode:"open"},b$1$1[d$2$1("elementProperties")]=new Map,b$1$1[d$2$1("finalized")]=new Map,p$2$1?.({ReactiveElement:b$1$1}),(a$2$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
4145
3952
|
|
|
4146
3953
|
/**
|
|
4147
3954
|
* @license
|
|
4148
3955
|
* Copyright 2017 Google LLC
|
|
4149
3956
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4150
|
-
*/let r$4$1 = class r extends b$1$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
3957
|
+
*/let r$4$1 = class r extends b$1$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$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1$1}};r$4$1._$litElement$=true,r$4$1["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4$1});const i$4$2=globalThis.litElementPolyfillSupport;i$4$2?.({LitElement:r$4$1});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
4151
3958
|
|
|
4152
|
-
var styleCss$
|
|
3959
|
+
var styleCss$3$1 = i$6$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}.clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}:host .wrapper:hover .clearBtn,:host .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:relative;overflow:hidden;min-height:var(--ds-size-700, 3.5rem);max-height:var(--ds-size-700, 3.5rem);flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
|
|
4153
3960
|
|
|
4154
|
-
var colorCss$
|
|
3961
|
+
var colorCss$3$1 = i$6$1`.wrapper{border-color:transparent}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-input-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}label{color:var(--ds-auro-input-label-text-color)}:host(:not([bordered],[borderless])) .wrapper{border-bottom-color:var(--ds-auro-input-border-color)}:host([bordered]) .wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-container-color)}:host([bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host(:not([borderless])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host(:not([borderless])) .wrapper:focus-within:before{border-bottom-color:transparent}:host([validity]:not([validity=valid])){--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
|
|
4155
3962
|
|
|
4156
|
-
var tokensCss$
|
|
3963
|
+
var tokensCss$3 = i$6$1`:host{--ds-auro-input-border-color: var(--ds-color-border-secondary-default, #939fad);--ds-auro-input-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #2c67b5);--ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #6a717c);--ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
4157
3964
|
|
|
4158
3965
|
var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4159
3966
|
|
|
@@ -5719,7 +5526,7 @@ var Cleave_1 = Cleave;
|
|
|
5719
5526
|
|
|
5720
5527
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
5721
5528
|
|
|
5722
|
-
let AuroLibraryRuntimeUtils$1
|
|
5529
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
5723
5530
|
|
|
5724
5531
|
/* eslint-disable jsdoc/require-param */
|
|
5725
5532
|
|
|
@@ -5788,7 +5595,7 @@ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
|
5788
5595
|
|
|
5789
5596
|
class AuroFormValidation {
|
|
5790
5597
|
constructor() {
|
|
5791
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1
|
|
5598
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
5792
5599
|
}
|
|
5793
5600
|
|
|
5794
5601
|
/**
|
|
@@ -6460,9 +6267,9 @@ class BaseInput extends r$4$1 {
|
|
|
6460
6267
|
|
|
6461
6268
|
static get styles() {
|
|
6462
6269
|
return [
|
|
6463
|
-
i$6$1`${colorCss$
|
|
6464
|
-
i$6$1`${styleCss$
|
|
6465
|
-
i$6$1`${tokensCss$
|
|
6270
|
+
i$6$1`${colorCss$3$1}`,
|
|
6271
|
+
i$6$1`${styleCss$3$1}`,
|
|
6272
|
+
i$6$1`${tokensCss$3}`
|
|
6466
6273
|
];
|
|
6467
6274
|
}
|
|
6468
6275
|
|
|
@@ -7186,7 +6993,7 @@ class BaseInput extends r$4$1 {
|
|
|
7186
6993
|
// See LICENSE in the project root for license information.
|
|
7187
6994
|
|
|
7188
6995
|
|
|
7189
|
-
let AuroDependencyVersioning$
|
|
6996
|
+
let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
7190
6997
|
|
|
7191
6998
|
/**
|
|
7192
6999
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -7232,7 +7039,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
7232
7039
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
7233
7040
|
*/
|
|
7234
7041
|
|
|
7235
|
-
let AuroElement$
|
|
7042
|
+
let AuroElement$2 = class AuroElement extends r$4$1 {
|
|
7236
7043
|
|
|
7237
7044
|
// function to define props used within the scope of this component
|
|
7238
7045
|
static get properties() {
|
|
@@ -7258,11 +7065,11 @@ let AuroElement$3 = class AuroElement extends r$4$1 {
|
|
|
7258
7065
|
}
|
|
7259
7066
|
};
|
|
7260
7067
|
|
|
7261
|
-
var error$
|
|
7068
|
+
var error$2 = {"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>"};
|
|
7262
7069
|
|
|
7263
7070
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
7264
7071
|
|
|
7265
|
-
const _fetchMap$
|
|
7072
|
+
const _fetchMap$2 = new Map();
|
|
7266
7073
|
|
|
7267
7074
|
/**
|
|
7268
7075
|
* A callback to parse Response body.
|
|
@@ -7280,15 +7087,15 @@ const _fetchMap$3 = new Map();
|
|
|
7280
7087
|
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
7281
7088
|
* @returns {Promise}
|
|
7282
7089
|
*/
|
|
7283
|
-
const cacheFetch$
|
|
7090
|
+
const cacheFetch$2 = (uri, options = {}) => {
|
|
7284
7091
|
const responseParser = options.responseParser || ((response) => response.text());
|
|
7285
|
-
if (!_fetchMap$
|
|
7286
|
-
_fetchMap$
|
|
7092
|
+
if (!_fetchMap$2.has(uri)) {
|
|
7093
|
+
_fetchMap$2.set(uri, fetch(uri).then(responseParser));
|
|
7287
7094
|
}
|
|
7288
|
-
return _fetchMap$
|
|
7095
|
+
return _fetchMap$2.get(uri);
|
|
7289
7096
|
};
|
|
7290
7097
|
|
|
7291
|
-
var styleCss$
|
|
7098
|
+
var styleCss$2$2 = i$6$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
|
|
7292
7099
|
|
|
7293
7100
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7294
7101
|
// See LICENSE in the project root for license information.
|
|
@@ -7301,7 +7108,7 @@ var styleCss$3$1 = i$6$1`*,*:before,*:after{box-sizing:border-box}@media(prefers
|
|
|
7301
7108
|
*/
|
|
7302
7109
|
|
|
7303
7110
|
// build the component class
|
|
7304
|
-
let BaseIcon$
|
|
7111
|
+
let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
7305
7112
|
constructor() {
|
|
7306
7113
|
super();
|
|
7307
7114
|
this.onDark = false;
|
|
@@ -7328,7 +7135,7 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
7328
7135
|
|
|
7329
7136
|
static get styles() {
|
|
7330
7137
|
return i$6$1`
|
|
7331
|
-
${styleCss$
|
|
7138
|
+
${styleCss$2$2}
|
|
7332
7139
|
`;
|
|
7333
7140
|
}
|
|
7334
7141
|
|
|
@@ -7343,9 +7150,9 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
7343
7150
|
let iconHTML = '';
|
|
7344
7151
|
|
|
7345
7152
|
if (category === 'logos') {
|
|
7346
|
-
iconHTML = await cacheFetch$
|
|
7153
|
+
iconHTML = await cacheFetch$2(`${this.uri}/${category}/${name}.svg`);
|
|
7347
7154
|
} else {
|
|
7348
|
-
iconHTML = await cacheFetch$
|
|
7155
|
+
iconHTML = await cacheFetch$2(`${this.uri}/icons/${category}/${name}.svg`);
|
|
7349
7156
|
}
|
|
7350
7157
|
|
|
7351
7158
|
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
@@ -7361,7 +7168,7 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
7361
7168
|
if (svg) {
|
|
7362
7169
|
this.svg = svg;
|
|
7363
7170
|
} else if (!svg) {
|
|
7364
|
-
const penDOM = new DOMParser().parseFromString(error$
|
|
7171
|
+
const penDOM = new DOMParser().parseFromString(error$2.svg, 'text/html');
|
|
7365
7172
|
|
|
7366
7173
|
this.svg = penDOM.body.firstChild;
|
|
7367
7174
|
}
|
|
@@ -7369,9 +7176,9 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
7369
7176
|
}
|
|
7370
7177
|
};
|
|
7371
7178
|
|
|
7372
|
-
var tokensCss$
|
|
7179
|
+
var tokensCss$2$1 = i$6$1`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
7373
7180
|
|
|
7374
|
-
var colorCss$
|
|
7181
|
+
var colorCss$2$1 = i$6$1`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
7375
7182
|
|
|
7376
7183
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7377
7184
|
// See LICENSE in the project root for license information.
|
|
@@ -7404,7 +7211,7 @@ var colorCss$3$1 = i$6$1`:host{color:var(--ds-auro-icon-color)}:host([customColo
|
|
|
7404
7211
|
*/
|
|
7405
7212
|
|
|
7406
7213
|
// build the component class
|
|
7407
|
-
let AuroIcon$
|
|
7214
|
+
let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
7408
7215
|
constructor() {
|
|
7409
7216
|
super();
|
|
7410
7217
|
|
|
@@ -7433,7 +7240,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
7433
7240
|
this.success = false;
|
|
7434
7241
|
this.tertiary = false;
|
|
7435
7242
|
this.warning = false;
|
|
7436
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1
|
|
7243
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
7437
7244
|
}
|
|
7438
7245
|
|
|
7439
7246
|
// function to define props used within the scope of this component
|
|
@@ -7515,9 +7322,9 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
7515
7322
|
static get styles() {
|
|
7516
7323
|
return [
|
|
7517
7324
|
super.styles,
|
|
7518
|
-
i$6$1`${tokensCss$
|
|
7519
|
-
i$6$1`${styleCss$
|
|
7520
|
-
i$6$1`${colorCss$
|
|
7325
|
+
i$6$1`${tokensCss$2$1}`,
|
|
7326
|
+
i$6$1`${styleCss$2$2}`,
|
|
7327
|
+
i$6$1`${colorCss$2$1}`
|
|
7521
7328
|
];
|
|
7522
7329
|
}
|
|
7523
7330
|
|
|
@@ -7530,7 +7337,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
7530
7337
|
*
|
|
7531
7338
|
*/
|
|
7532
7339
|
static register(name = "auro-icon") {
|
|
7533
|
-
AuroLibraryRuntimeUtils$1
|
|
7340
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
7534
7341
|
}
|
|
7535
7342
|
|
|
7536
7343
|
connectedCallback() {
|
|
@@ -7559,14 +7366,14 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
7559
7366
|
'wrapper': true,
|
|
7560
7367
|
};
|
|
7561
7368
|
|
|
7562
|
-
return x$1
|
|
7369
|
+
return x$1`
|
|
7563
7370
|
<div
|
|
7564
7371
|
class="${e$5$1(classes)}"
|
|
7565
7372
|
title="${o$5$1(this.title || undefined)}">
|
|
7566
7373
|
<span aria-hidden="${o$5$1(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
7567
|
-
${this.customSvg ? x$1
|
|
7374
|
+
${this.customSvg ? x$1`
|
|
7568
7375
|
<slot name="svg"></slot>
|
|
7569
|
-
` : x$1
|
|
7376
|
+
` : x$1`
|
|
7570
7377
|
${this.svg}
|
|
7571
7378
|
`
|
|
7572
7379
|
}
|
|
@@ -7580,19 +7387,19 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
7580
7387
|
}
|
|
7581
7388
|
};
|
|
7582
7389
|
|
|
7583
|
-
var iconVersion$
|
|
7390
|
+
var iconVersion$2 = '6.1.2';
|
|
7584
7391
|
|
|
7585
|
-
var styleCss$2
|
|
7392
|
+
var styleCss$1$2 = i$6$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size: calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
|
|
7586
7393
|
|
|
7587
|
-
var colorCss$2$2 = i$6$1`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible:after{border-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-active-default, #225296)}.auro-button:not([ondark])[disabled]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1)}@media(hover: hover){.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-text-color: var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-button-text-color: var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.auro-button:not([ondark])[variant=secondary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-button-text-color: var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-border-inset-color: var(--ds-color-border-ui-default-default, #2c67b5)}.auro-button:not([ondark])[variant=tertiary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-color-icon-ui-secondary-default-default);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-default);background-color:transparent;background-image:none;border-color:transparent}}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-color-icon-ui-secondary-disabled-default);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-button-loader-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7)}}.auro-button[ondark]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef)}.auro-button[ondark][disabled]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-disabled-inverse, #275b72)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-border-color: var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-text-color: var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=secondary]:hover{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: var(--ds-color-border-ui-hover-inverse, #a8e9f7);--ds-auro-button-text-color: var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color: var(--ds-color-border-ui-focus-inverse, #56bbde)}.auro-button[ondark][variant=secondary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color: var(--ds-color-border-ui-active-inverse, #6ad5ef);--ds-auro-button-text-color: var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: var(--ds-color-border-ui-disabled-inverse, #7e7e7e);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color: var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-border-inset-color: var(--ds-color-border-ui-default-inverse, #56bbde)}.auro-button[ondark][variant=tertiary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=flat]{color:var(--ds-color-icon-ui-secondary-default-inverse);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-inverse);background-color:transparent;background-image:none;border-color:transparent}}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-color-icon-ui-disabled-default);background-color:transparent;background-image:none;border-color:transparent}`;
|
|
7394
|
+
var colorCss$1$2 = i$6$1`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible:after{border-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-active-default, #225296)}.auro-button:not([ondark])[disabled]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1)}@media(hover: hover){.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-text-color: var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-button-text-color: var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.auro-button:not([ondark])[variant=secondary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-button-text-color: var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-border-inset-color: var(--ds-color-border-ui-default-default, #2c67b5)}.auro-button:not([ondark])[variant=tertiary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-color-icon-ui-secondary-default-default);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-default);background-color:transparent;background-image:none;border-color:transparent}}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-color-icon-ui-secondary-disabled-default);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-button-loader-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7)}}.auro-button[ondark]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef)}.auro-button[ondark][disabled]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-disabled-inverse, #275b72)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-border-color: var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-text-color: var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=secondary]:hover{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: var(--ds-color-border-ui-hover-inverse, #a8e9f7);--ds-auro-button-text-color: var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color: var(--ds-color-border-ui-focus-inverse, #56bbde)}.auro-button[ondark][variant=secondary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color: var(--ds-color-border-ui-active-inverse, #6ad5ef);--ds-auro-button-text-color: var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: var(--ds-color-border-ui-disabled-inverse, #7e7e7e);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color: var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-border-inset-color: var(--ds-color-border-ui-default-inverse, #56bbde)}.auro-button[ondark][variant=tertiary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=flat]{color:var(--ds-color-icon-ui-secondary-default-inverse);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-inverse);background-color:transparent;background-image:none;border-color:transparent}}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-color-icon-ui-disabled-default);background-color:transparent;background-image:none;border-color:transparent}`;
|
|
7588
7395
|
|
|
7589
|
-
var tokensCss$
|
|
7396
|
+
var tokensCss$1$1 = i$6$1`:host{--ds-auro-button-border-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-border-inset-color: var(--ds-color-border-emphasis-inverse, #f2f7fb);--ds-auro-button-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-loader-color: var(--ds-color-utility-navy-default, #265688);--ds-auro-button-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-tap-color: transparent}`;
|
|
7590
7397
|
|
|
7591
|
-
var styleCss$
|
|
7398
|
+
var styleCss$5 = i$6$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: 0.375rem;--margin-xs: 0.2rem;--margin-sm: 0.5rem;--margin-md: 0.75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
|
|
7592
7399
|
|
|
7593
|
-
var colorCss$
|
|
7400
|
+
var colorCss$4 = i$6$1`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color: var(--ds-color-utility-navy-default, #265688)}:host([ondark]){--ds-auro-loader-color: var(--ds-color-utility-cyan-inverse, #a8e9f7)}:host([white]){--ds-auro-loader-color: var(--ds-color-utility-neutral-inverse, #ccd2db)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
|
|
7594
7401
|
|
|
7595
|
-
var tokensCss$
|
|
7402
|
+
var tokensCss$4 = i$6$1`:host{--ds-auro-loader-background-color: currentcolor;--ds-auro-loader-border-color: currentcolor;--ds-auro-loader-color: currentcolor}`;
|
|
7596
7403
|
|
|
7597
7404
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7598
7405
|
// See LICENSE in the project root for license information.
|
|
@@ -7639,7 +7446,7 @@ class AuroLoader extends r$4$1 {
|
|
|
7639
7446
|
/**
|
|
7640
7447
|
* @private
|
|
7641
7448
|
*/
|
|
7642
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1
|
|
7449
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
7643
7450
|
|
|
7644
7451
|
this.orbit = false;
|
|
7645
7452
|
this.ringworm = false;
|
|
@@ -7671,9 +7478,9 @@ class AuroLoader extends r$4$1 {
|
|
|
7671
7478
|
|
|
7672
7479
|
static get styles() {
|
|
7673
7480
|
return [
|
|
7674
|
-
i$6$1`${styleCss$
|
|
7675
|
-
i$6$1`${colorCss$
|
|
7676
|
-
i$6$1`${tokensCss$
|
|
7481
|
+
i$6$1`${styleCss$5}`,
|
|
7482
|
+
i$6$1`${colorCss$4}`,
|
|
7483
|
+
i$6$1`${tokensCss$4}`
|
|
7677
7484
|
];
|
|
7678
7485
|
}
|
|
7679
7486
|
|
|
@@ -7686,7 +7493,7 @@ class AuroLoader extends r$4$1 {
|
|
|
7686
7493
|
*
|
|
7687
7494
|
*/
|
|
7688
7495
|
static register(name = "auro-loader") {
|
|
7689
|
-
AuroLibraryRuntimeUtils$1
|
|
7496
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
|
|
7690
7497
|
}
|
|
7691
7498
|
|
|
7692
7499
|
firstUpdated() {
|
|
@@ -7719,14 +7526,14 @@ class AuroLoader extends r$4$1 {
|
|
|
7719
7526
|
|
|
7720
7527
|
// function that renders the HTML and CSS into the scope of the component
|
|
7721
7528
|
render() {
|
|
7722
|
-
return x$1
|
|
7723
|
-
${this.defineTemplate().map((idx) => x$1
|
|
7529
|
+
return x$1`
|
|
7530
|
+
${this.defineTemplate().map((idx) => x$1`
|
|
7724
7531
|
<span part="element" class="loader node-${idx}"></span>
|
|
7725
7532
|
`)}
|
|
7726
7533
|
|
|
7727
7534
|
<div class="no-animation">Loading...</div>
|
|
7728
7535
|
|
|
7729
|
-
${this.ringworm ? x$1
|
|
7536
|
+
${this.ringworm ? x$1`
|
|
7730
7537
|
<svg part="element" class="circular" viewBox="25 25 50 50">
|
|
7731
7538
|
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
|
|
7732
7539
|
</svg>`
|
|
@@ -7791,7 +7598,7 @@ class AuroButton extends r$4$1 {
|
|
|
7791
7598
|
/**
|
|
7792
7599
|
* Generate unique names for dependency components.
|
|
7793
7600
|
*/
|
|
7794
|
-
const versioning = new AuroDependencyVersioning$
|
|
7601
|
+
const versioning = new AuroDependencyVersioning$1();
|
|
7795
7602
|
|
|
7796
7603
|
/**
|
|
7797
7604
|
* @private
|
|
@@ -7801,9 +7608,9 @@ class AuroButton extends r$4$1 {
|
|
|
7801
7608
|
|
|
7802
7609
|
static get styles() {
|
|
7803
7610
|
return [
|
|
7804
|
-
tokensCss$
|
|
7805
|
-
styleCss$2
|
|
7806
|
-
colorCss$
|
|
7611
|
+
tokensCss$1$1,
|
|
7612
|
+
styleCss$1$2,
|
|
7613
|
+
colorCss$1$2
|
|
7807
7614
|
];
|
|
7808
7615
|
}
|
|
7809
7616
|
|
|
@@ -7886,7 +7693,7 @@ class AuroButton extends r$4$1 {
|
|
|
7886
7693
|
*
|
|
7887
7694
|
*/
|
|
7888
7695
|
static register(name = "auro-button") {
|
|
7889
|
-
AuroLibraryRuntimeUtils$1
|
|
7696
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
|
|
7890
7697
|
}
|
|
7891
7698
|
|
|
7892
7699
|
/**
|
|
@@ -7979,247 +7786,56 @@ var buttonVersion = '8.2.2';
|
|
|
7979
7786
|
* Copyright 2019 Google LLC
|
|
7980
7787
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7981
7788
|
*/
|
|
7982
|
-
const t$1$2=globalThis,e$2$2=t$1$2.ShadowRoot&&(
|
|
7789
|
+
const t$1$2=globalThis,e$2$2=t$1$2.ShadowRoot&&(void 0===t$1$2.ShadyCSS||t$1$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1$2=Symbol(),o$2$2=new WeakMap;let n$2$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1$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$2$2&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$2.set(s,t));}return t}toString(){return this.cssText}};const r$3$2=t=>new n$2$2("string"==typeof t?t:t+"",void 0,s$1$2),i$3$2=(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$2(o,t,s$1$2)},S$1$2=(s,o)=>{if(e$2$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$2=e$2$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$2(e)})(t):t;
|
|
7983
7790
|
|
|
7984
7791
|
/**
|
|
7985
7792
|
* @license
|
|
7986
7793
|
* Copyright 2017 Google LLC
|
|
7987
7794
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7988
|
-
*/const{is:i$2$2,defineProperty:e$1$
|
|
7795
|
+
*/const{is:i$2$2,defineProperty:e$1$2,getOwnPropertyDescriptor:r$2$2,getOwnPropertyNames:h$1$2,getOwnPropertySymbols:o$1$1,getPrototypeOf:n$1$2}=Object,a$1$2=globalThis,c$1$2=a$1$2.trustedTypes,l$1$2=c$1$2?c$1$2.emptyScript:"",p$1$2=a$1$2.reactiveElementPolyfillSupport,d$1$2=(t,s)=>t,u$1$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$1$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$2=(t,s)=>!i$2$2(t,s),y$1$2={attribute:true,type:String,converter:u$1$2,reflect:false,hasChanged:f$1$2};Symbol.metadata??=Symbol("metadata"),a$1$2.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$2){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$1$2(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$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$2}static _$Ei(){if(this.hasOwnProperty(d$1$2("elementProperties")))return;const t=n$1$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$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$2("properties"))){const t=this.properties,s=[...h$1$2(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(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$2(s));}else void 0!==s&&i.push(c$2$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$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$1$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$1$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$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$2.elementStyles=[],b$2.shadowRootOptions={mode:"open"},b$2[d$1$2("elementProperties")]=new Map,b$2[d$1$2("finalized")]=new Map,p$1$2?.({ReactiveElement:b$2}),(a$1$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
7989
7796
|
|
|
7990
7797
|
/**
|
|
7991
7798
|
* @license
|
|
7992
7799
|
* Copyright 2017 Google LLC
|
|
7993
7800
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7994
7801
|
*/
|
|
7995
|
-
const t$6=globalThis,i$1$
|
|
7802
|
+
const t$6=globalThis,i$1$1=t$6.trustedTypes,s$6=i$1$1?i$1$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$8="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$4,n$7=`<${o$8}>`,r$1$2=document,l$5=()=>r$1$2.createComment(""),c$7=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$7=t=>a$5(t)||"function"==typeof t?.[Symbol.iterator],d$4="[ \t\n\f\r]",f$4=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$2=/>/g,m$3=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$5=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$1$2.createTreeWalker(r$1$2,129);function P$2(t,i){if(!a$5(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$6?s$6.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$4;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$4?"!--"===u[1]?c=v$3:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.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$4,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$2:p$5):c===g$2||c===p$5?c=m$3:c===v$3||c===_$2?c=f$4:(c=m$3,r=void 0);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$4?s+n$7:d>=0?(o.push(a),s.slice(0,d)+e$8+s.slice(d)+h$4+x):s+h$4+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$2 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$2(t,s);if(this.el=N.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$8)){const i=v[a++],s=r.getAttribute(t).split(h$4),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$4)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$4),s=t.length-1;if(s>0){r.textContent=i$1$1?i$1$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$5()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$5());}}}else if(8===r.nodeType)if(r.data===o$8)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$4,t+1));)d.push({type:7,index:c}),t+=h$4.length-1;}c++;}}static createElement(t,i){const s=r$1$2.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$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$4(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$1$2).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$2,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$7(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$7(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$2&&c$7(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$2.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$3(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return void 0===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){ 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$7(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$4(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$7(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$2 = class H extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?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$6.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l$5(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
7996
7803
|
|
|
7997
7804
|
/**
|
|
7998
7805
|
* @license
|
|
7999
7806
|
* Copyright 2017 Google LLC
|
|
8000
7807
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8001
|
-
*/let r$9 = class r extends b$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
7808
|
+
*/let r$9 = 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$9._$litElement$=true,r$9["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$9});const i$a=globalThis.litElementPolyfillSupport;i$a?.({LitElement:r$9});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
8002
7809
|
|
|
8003
|
-
|
|
7810
|
+
i$3$2`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
8004
7811
|
|
|
8005
|
-
|
|
7812
|
+
i$3$2`.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}`;
|
|
8006
7813
|
|
|
8007
|
-
|
|
7814
|
+
i$3$2`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
8008
7815
|
|
|
8009
|
-
// Copyright (c) Alaska
|
|
7816
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8010
7817
|
// See LICENSE in the project root for license information.
|
|
8011
7818
|
|
|
8012
|
-
// ---------------------------------------------------------------------
|
|
8013
7819
|
|
|
8014
|
-
|
|
7820
|
+
// build the component class
|
|
7821
|
+
class AuroInput extends BaseInput {
|
|
7822
|
+
constructor() {
|
|
7823
|
+
super();
|
|
8015
7824
|
|
|
8016
|
-
|
|
7825
|
+
/**
|
|
7826
|
+
* Generate unique names for dependency components.
|
|
7827
|
+
*/
|
|
7828
|
+
const versioning = new AuroDependencyVersioning$1();
|
|
8017
7829
|
|
|
8018
|
-
|
|
7830
|
+
/**
|
|
7831
|
+
* @private
|
|
7832
|
+
*/
|
|
7833
|
+
this.iconTag = versioning.generateTag('auro-icon', iconVersion$2, AuroIcon$2);
|
|
8019
7834
|
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
* @returns {void}
|
|
8025
|
-
*/
|
|
8026
|
-
registerComponent(name, componentClass) {
|
|
8027
|
-
if (!customElements.get(name)) {
|
|
8028
|
-
customElements.define(name, class extends componentClass {});
|
|
8029
|
-
}
|
|
8030
|
-
}
|
|
8031
|
-
|
|
8032
|
-
/**
|
|
8033
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
8034
|
-
* @returns {void}
|
|
8035
|
-
*/
|
|
8036
|
-
closestElement(
|
|
8037
|
-
selector, // selector like in .closest()
|
|
8038
|
-
base = this, // extra functionality to skip a parent
|
|
8039
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
8040
|
-
!el || el === document || el === window
|
|
8041
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
8042
|
-
: found
|
|
8043
|
-
? found // found a selector INside this element
|
|
8044
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
8045
|
-
) {
|
|
8046
|
-
return __Closest(base);
|
|
8047
|
-
}
|
|
8048
|
-
/* eslint-enable jsdoc/require-param */
|
|
8049
|
-
|
|
8050
|
-
/**
|
|
8051
|
-
* 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.
|
|
8052
|
-
* @param {Object} elem - The element to check.
|
|
8053
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
8054
|
-
* @returns {void}
|
|
8055
|
-
*/
|
|
8056
|
-
handleComponentTagRename(elem, tagName) {
|
|
8057
|
-
const tag = tagName.toLowerCase();
|
|
8058
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
8059
|
-
|
|
8060
|
-
if (elemTag !== tag) {
|
|
8061
|
-
elem.setAttribute(tag, true);
|
|
8062
|
-
}
|
|
8063
|
-
}
|
|
8064
|
-
|
|
8065
|
-
/**
|
|
8066
|
-
* Validates if an element is a specific Auro component.
|
|
8067
|
-
* @param {Object} elem - The element to validate.
|
|
8068
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
8069
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
8070
|
-
*/
|
|
8071
|
-
elementMatch(elem, tagName) {
|
|
8072
|
-
const tag = tagName.toLowerCase();
|
|
8073
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
8074
|
-
|
|
8075
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
8076
|
-
}
|
|
8077
|
-
};
|
|
8078
|
-
|
|
8079
|
-
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8080
|
-
// See LICENSE in the project root for license information.
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
/**
|
|
8084
|
-
* Displays help text or error messages within form elements - Internal Use Only.
|
|
8085
|
-
*
|
|
8086
|
-
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
8087
|
-
*/
|
|
8088
|
-
class AuroHelpText extends r$9 {
|
|
8089
|
-
|
|
8090
|
-
constructor() {
|
|
8091
|
-
super();
|
|
8092
|
-
|
|
8093
|
-
this.error = false;
|
|
8094
|
-
this.hasTextContent = false;
|
|
8095
|
-
}
|
|
8096
|
-
|
|
8097
|
-
static get styles() {
|
|
8098
|
-
return [
|
|
8099
|
-
colorCss$5,
|
|
8100
|
-
styleCss$6,
|
|
8101
|
-
tokensCss$5
|
|
8102
|
-
];
|
|
8103
|
-
}
|
|
8104
|
-
|
|
8105
|
-
// function to define props used within the scope of this component
|
|
8106
|
-
static get properties() {
|
|
8107
|
-
return {
|
|
8108
|
-
|
|
8109
|
-
/**
|
|
8110
|
-
* @private
|
|
8111
|
-
*/
|
|
8112
|
-
slotNodes: {
|
|
8113
|
-
type: Boolean,
|
|
8114
|
-
},
|
|
8115
|
-
|
|
8116
|
-
/**
|
|
8117
|
-
* @private
|
|
8118
|
-
*/
|
|
8119
|
-
hasTextContent: {
|
|
8120
|
-
type: Boolean,
|
|
8121
|
-
},
|
|
8122
|
-
|
|
8123
|
-
/**
|
|
8124
|
-
* If declared, make font color red.
|
|
8125
|
-
*/
|
|
8126
|
-
error: {
|
|
8127
|
-
type: Boolean,
|
|
8128
|
-
reflect: true,
|
|
8129
|
-
},
|
|
8130
|
-
};
|
|
8131
|
-
}
|
|
8132
|
-
|
|
8133
|
-
/**
|
|
8134
|
-
* This will register this element with the browser.
|
|
8135
|
-
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
8136
|
-
*
|
|
8137
|
-
* @example
|
|
8138
|
-
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
8139
|
-
*
|
|
8140
|
-
*/
|
|
8141
|
-
static register(name = "auro-helptext") {
|
|
8142
|
-
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
8143
|
-
}
|
|
8144
|
-
|
|
8145
|
-
updated() {
|
|
8146
|
-
this.handleSlotChange();
|
|
8147
|
-
}
|
|
8148
|
-
|
|
8149
|
-
handleSlotChange(event) {
|
|
8150
|
-
if (event) {
|
|
8151
|
-
this.slotNodes = event.target.assignedNodes();
|
|
8152
|
-
}
|
|
8153
|
-
|
|
8154
|
-
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
8155
|
-
}
|
|
8156
|
-
|
|
8157
|
-
/**
|
|
8158
|
-
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
8159
|
-
*
|
|
8160
|
-
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
8161
|
-
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
8162
|
-
* @private
|
|
8163
|
-
*/
|
|
8164
|
-
checkSlotsForContent(nodes) {
|
|
8165
|
-
if (!nodes) {
|
|
8166
|
-
return false;
|
|
8167
|
-
}
|
|
8168
|
-
|
|
8169
|
-
return nodes.some((node) => {
|
|
8170
|
-
if (node.textContent.trim()) {
|
|
8171
|
-
return true;
|
|
8172
|
-
}
|
|
8173
|
-
|
|
8174
|
-
if (!node.querySelector) {
|
|
8175
|
-
return false;
|
|
8176
|
-
}
|
|
8177
|
-
|
|
8178
|
-
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
8179
|
-
if (!nestedSlot) {
|
|
8180
|
-
return false;
|
|
8181
|
-
}
|
|
8182
|
-
|
|
8183
|
-
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
8184
|
-
return this.checkSlotsForContent(nestedSlotNodes);
|
|
8185
|
-
});
|
|
8186
|
-
}
|
|
8187
|
-
|
|
8188
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
8189
|
-
render() {
|
|
8190
|
-
return x$2`
|
|
8191
|
-
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
8192
|
-
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
8193
|
-
</div>
|
|
8194
|
-
`;
|
|
8195
|
-
}
|
|
8196
|
-
}
|
|
8197
|
-
|
|
8198
|
-
AuroHelpText.register();
|
|
8199
|
-
|
|
8200
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8201
|
-
// See LICENSE in the project root for license information.
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
// build the component class
|
|
8205
|
-
class AuroInput extends BaseInput {
|
|
8206
|
-
constructor() {
|
|
8207
|
-
super();
|
|
8208
|
-
|
|
8209
|
-
/**
|
|
8210
|
-
* Generate unique names for dependency components.
|
|
8211
|
-
*/
|
|
8212
|
-
const versioning = new AuroDependencyVersioning$2();
|
|
8213
|
-
|
|
8214
|
-
/**
|
|
8215
|
-
* @private
|
|
8216
|
-
*/
|
|
8217
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$3, AuroIcon$3);
|
|
8218
|
-
|
|
8219
|
-
/**
|
|
8220
|
-
* @private
|
|
8221
|
-
*/
|
|
8222
|
-
this.buttonTag = versioning.generateTag('auro-button', buttonVersion, AuroButton);
|
|
7835
|
+
/**
|
|
7836
|
+
* @private
|
|
7837
|
+
*/
|
|
7838
|
+
this.buttonTag = versioning.generateTag('auro-button', buttonVersion, AuroButton);
|
|
8223
7839
|
}
|
|
8224
7840
|
|
|
8225
7841
|
/**
|
|
@@ -8231,7 +7847,7 @@ class AuroInput extends BaseInput {
|
|
|
8231
7847
|
*
|
|
8232
7848
|
*/
|
|
8233
7849
|
static register(name = "auro-input") {
|
|
8234
|
-
AuroLibraryRuntimeUtils$1
|
|
7850
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
|
|
8235
7851
|
}
|
|
8236
7852
|
|
|
8237
7853
|
/**
|
|
@@ -8425,8 +8041,6 @@ class AuroInput extends BaseInput {
|
|
|
8425
8041
|
}
|
|
8426
8042
|
}
|
|
8427
8043
|
|
|
8428
|
-
AuroInput.register();
|
|
8429
|
-
|
|
8430
8044
|
var inputVersion = '4.2.0';
|
|
8431
8045
|
|
|
8432
8046
|
/**
|
|
@@ -8434,37 +8048,37 @@ var inputVersion = '4.2.0';
|
|
|
8434
8048
|
* Copyright 2019 Google LLC
|
|
8435
8049
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8436
8050
|
*/
|
|
8437
|
-
const t$2$1=globalThis,e$4$1=t$2$1.ShadowRoot&&(
|
|
8051
|
+
const t$2$1=globalThis,e$4$1=t$2$1.ShadowRoot&&(void 0===t$2$1.ShadyCSS||t$2$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$1=Symbol(),o$4$1=new WeakMap;let n$3$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4$1.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4$1.set(s,t));}return t}toString(){return this.cssText}};const r$3$1=t=>new n$3$1("string"==typeof t?t:t+"",void 0,s$2$1),i$5$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$3$1(o,t,s$2$1)},S$1$1=(s,o)=>{if(e$4$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$2$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$1=e$4$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;
|
|
8438
8052
|
|
|
8439
8053
|
/**
|
|
8440
8054
|
* @license
|
|
8441
8055
|
* Copyright 2017 Google LLC
|
|
8442
8056
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8443
|
-
*/const{is:i$4$1,defineProperty:e$3$1,getOwnPropertyDescriptor:r$2$1,getOwnPropertyNames:h$1$1,getOwnPropertySymbols:o$3$1,getPrototypeOf:n$2$1}=Object,a$2$1=globalThis,c$1$1=a$2$1.trustedTypes,l$2$1=c$1$1?c$1$1.emptyScript:"",p$1$1=a$2$1.reactiveElementPolyfillSupport,d$1$1=(t,s)=>t,u$2$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1$1=(t,s)=>!i$4$1(t,s),y$1$1={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$1$1};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$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);
|
|
8057
|
+
*/const{is:i$4$1,defineProperty:e$3$1,getOwnPropertyDescriptor:r$2$1,getOwnPropertyNames:h$1$1,getOwnPropertySymbols:o$3$1,getPrototypeOf:n$2$1}=Object,a$2$1=globalThis,c$1$1=a$2$1.trustedTypes,l$2$1=c$1$1?c$1$1.emptyScript:"",p$1$1=a$2$1.reactiveElementPolyfillSupport,d$1$1=(t,s)=>t,u$2$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1$1=(t,s)=>!i$4$1(t,s),y$1$1={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$1$1};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$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$3$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$2$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$3$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$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$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$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$1$1("elementProperties")]=new Map,b$1[d$1$1("finalized")]=new Map,p$1$1?.({ReactiveElement:b$1}),(a$2$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
8444
8058
|
|
|
8445
8059
|
/**
|
|
8446
8060
|
* @license
|
|
8447
8061
|
* Copyright 2017 Google LLC
|
|
8448
8062
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8449
8063
|
*/
|
|
8450
|
-
const t$1$1=globalThis,i$3$1=t$1$1.trustedTypes,s$1$1=i$3$1?i$3$1.createPolicy("lit-html",{createHTML:t=>t}):
|
|
8064
|
+
const t$1$1=globalThis,i$3$1=t$1$1.trustedTypes,s$1$1=i$3$1?i$3$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2$1="$lit$",h$2=`lit$${Math.random().toFixed(9).slice(2)}$`,o$2$1="?"+h$2,n$1$1=`<${o$2$1}>`,r$1$1=document,l$1$1=()=>r$1$1.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1$1=Array.isArray,u$1$1=t=>a$1$1(t)||"function"==typeof t?.[Symbol.iterator],d$2="[ \t\n\f\r]",f$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$2}(?:([^\\s"'>=/]+)(${d$2}*=${d$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$1$1.createTreeWalker(r$1$1,129);function P$1(t,i){if(!a$1$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1$1?s$1$1.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$2;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$2?"!--"===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$2,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$2):c===g$1||c===p$2?c=m$1:c===v$1||c===_$1?c=f$2:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$2?s+n$1$1:d>=0?(o.push(a),s.slice(0,d)+e$2$1+s.slice(d)+h$2+x):s+h$2+(-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$2$1)){const i=v[a++],s=r.getAttribute(t).split(h$2),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$2)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$2),s=t.length-1;if(s>0){r.textContent=i$3$1?i$3$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$1$1()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$1$1());}}}else if(8===r.nodeType)if(r.data===o$2$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$2,t+1));)d.push({type:7,index:c}),t+=h$2.length-1;}c++;}}static createElement(t,i){const s=r$1$1.createElement("template");return s.innerHTML=t,s}};function S$2(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$3(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$2(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$1$1).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$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$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$2(this,t,i),c$3(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$1$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$3(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$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$1$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$1()),this.O(l$1$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));}};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$2(this,t,i,0),o=!c$3(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$2(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$3(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$2(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$2(this,t);}};const j$1=t$1$1.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$1$1.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$1$1(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
8451
8065
|
|
|
8452
8066
|
/**
|
|
8453
8067
|
* @license
|
|
8454
8068
|
* Copyright 2017 Google LLC
|
|
8455
8069
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8456
|
-
*/let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
8070
|
+
*/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$2$1=globalThis.litElementPolyfillSupport;i$2$1?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
8457
8071
|
|
|
8458
8072
|
/**
|
|
8459
8073
|
* @license
|
|
8460
8074
|
* Copyright 2020 Google LLC
|
|
8461
8075
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8462
8076
|
*/
|
|
8463
|
-
const a
|
|
8077
|
+
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(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}),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&&void 0!==(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$$");void 0===(r=l.get(t))&&(n.raw=n,l.set(t,r=n)),e=u;}return t(r,...e)},u=n(x);
|
|
8464
8078
|
|
|
8465
|
-
var colorCss$1$
|
|
8079
|
+
var colorCss$1$1 = i$5$1``;
|
|
8466
8080
|
|
|
8467
|
-
var styleCss$2$
|
|
8081
|
+
var styleCss$2$1 = i$5$1`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{overflow:auto;flex:1 1 100%;padding-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
8468
8082
|
|
|
8469
8083
|
var tokenCss = i$5$1`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15))}`;
|
|
8470
8084
|
|
|
@@ -8475,7 +8089,7 @@ var tokenCss = i$5$1`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--d
|
|
|
8475
8089
|
|
|
8476
8090
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
8477
8091
|
|
|
8478
|
-
|
|
8092
|
+
class AuroLibraryRuntimeUtils {
|
|
8479
8093
|
|
|
8480
8094
|
/* eslint-disable jsdoc/require-param */
|
|
8481
8095
|
|
|
@@ -8536,13 +8150,13 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
8536
8150
|
|
|
8537
8151
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
8538
8152
|
}
|
|
8539
|
-
}
|
|
8153
|
+
}
|
|
8540
8154
|
|
|
8541
8155
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
8542
8156
|
// See LICENSE in the project root for license information.
|
|
8543
8157
|
|
|
8544
8158
|
|
|
8545
|
-
|
|
8159
|
+
class AuroDependencyVersioning {
|
|
8546
8160
|
|
|
8547
8161
|
/**
|
|
8548
8162
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -8568,7 +8182,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
8568
8182
|
*/
|
|
8569
8183
|
generateTag(baseName, version, tagClass) {
|
|
8570
8184
|
const elementName = this.generateElementName(baseName, version);
|
|
8571
|
-
const tag = i$1
|
|
8185
|
+
const tag = i$1`${s(elementName)}`;
|
|
8572
8186
|
|
|
8573
8187
|
if (!customElements.get(elementName)) {
|
|
8574
8188
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -8576,26 +8190,26 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
8576
8190
|
|
|
8577
8191
|
return tag;
|
|
8578
8192
|
}
|
|
8579
|
-
}
|
|
8193
|
+
}
|
|
8580
8194
|
|
|
8581
8195
|
/**
|
|
8582
8196
|
* @license
|
|
8583
8197
|
* Copyright 2017 Google LLC
|
|
8584
8198
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8585
8199
|
*/
|
|
8586
|
-
const t$
|
|
8200
|
+
const t$3={ATTRIBUTE:1},e$1$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$6 = 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)}};
|
|
8587
8201
|
|
|
8588
8202
|
/**
|
|
8589
8203
|
* @license
|
|
8590
8204
|
* Copyright 2018 Google LLC
|
|
8591
8205
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8592
|
-
*/const e$
|
|
8206
|
+
*/const e$5=e$1$1(class extends i$6{constructor(t$1){if(super(t$1),t$1.type!==t$3.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(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}});
|
|
8593
8207
|
|
|
8594
8208
|
/**
|
|
8595
8209
|
* @license
|
|
8596
8210
|
* Copyright 2018 Google LLC
|
|
8597
8211
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8598
|
-
*/const o$
|
|
8212
|
+
*/const o$5=o=>o??E$1;
|
|
8599
8213
|
|
|
8600
8214
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8601
8215
|
// See LICENSE in the project root for license information.
|
|
@@ -8607,7 +8221,7 @@ const t$4={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
|
|
|
8607
8221
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
8608
8222
|
*/
|
|
8609
8223
|
|
|
8610
|
-
let AuroElement$
|
|
8224
|
+
let AuroElement$1 = class AuroElement extends r$4 {
|
|
8611
8225
|
|
|
8612
8226
|
// function to define props used within the scope of this component
|
|
8613
8227
|
static get properties() {
|
|
@@ -8633,11 +8247,11 @@ let AuroElement$2 = class AuroElement extends r$4 {
|
|
|
8633
8247
|
}
|
|
8634
8248
|
};
|
|
8635
8249
|
|
|
8636
|
-
var error$
|
|
8250
|
+
var error$1 = {"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>"};
|
|
8637
8251
|
|
|
8638
8252
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
8639
8253
|
|
|
8640
|
-
const _fetchMap$
|
|
8254
|
+
const _fetchMap$1 = new Map();
|
|
8641
8255
|
|
|
8642
8256
|
/**
|
|
8643
8257
|
* A callback to parse Response body.
|
|
@@ -8655,15 +8269,15 @@ const _fetchMap$2 = new Map();
|
|
|
8655
8269
|
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
8656
8270
|
* @returns {Promise}
|
|
8657
8271
|
*/
|
|
8658
|
-
const cacheFetch$
|
|
8272
|
+
const cacheFetch$1 = (uri, options = {}) => {
|
|
8659
8273
|
const responseParser = options.responseParser || ((response) => response.text());
|
|
8660
|
-
if (!_fetchMap$
|
|
8661
|
-
_fetchMap$
|
|
8274
|
+
if (!_fetchMap$1.has(uri)) {
|
|
8275
|
+
_fetchMap$1.set(uri, fetch(uri).then(responseParser));
|
|
8662
8276
|
}
|
|
8663
|
-
return _fetchMap$
|
|
8277
|
+
return _fetchMap$1.get(uri);
|
|
8664
8278
|
};
|
|
8665
8279
|
|
|
8666
|
-
var styleCss$1$
|
|
8280
|
+
var styleCss$1$1 = i$5$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
|
|
8667
8281
|
|
|
8668
8282
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8669
8283
|
// See LICENSE in the project root for license information.
|
|
@@ -8676,7 +8290,7 @@ var styleCss$1$2 = i$5$1`*,*:before,*:after{box-sizing:border-box}@media(prefers
|
|
|
8676
8290
|
*/
|
|
8677
8291
|
|
|
8678
8292
|
// build the component class
|
|
8679
|
-
let BaseIcon$
|
|
8293
|
+
let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
8680
8294
|
constructor() {
|
|
8681
8295
|
super();
|
|
8682
8296
|
this.onDark = false;
|
|
@@ -8703,7 +8317,7 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
8703
8317
|
|
|
8704
8318
|
static get styles() {
|
|
8705
8319
|
return i$5$1`
|
|
8706
|
-
${styleCss$1$
|
|
8320
|
+
${styleCss$1$1}
|
|
8707
8321
|
`;
|
|
8708
8322
|
}
|
|
8709
8323
|
|
|
@@ -8718,9 +8332,9 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
8718
8332
|
let iconHTML = '';
|
|
8719
8333
|
|
|
8720
8334
|
if (category === 'logos') {
|
|
8721
|
-
iconHTML = await cacheFetch$
|
|
8335
|
+
iconHTML = await cacheFetch$1(`${this.uri}/${category}/${name}.svg`);
|
|
8722
8336
|
} else {
|
|
8723
|
-
iconHTML = await cacheFetch$
|
|
8337
|
+
iconHTML = await cacheFetch$1(`${this.uri}/icons/${category}/${name}.svg`);
|
|
8724
8338
|
}
|
|
8725
8339
|
|
|
8726
8340
|
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
@@ -8736,7 +8350,7 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
8736
8350
|
if (svg) {
|
|
8737
8351
|
this.svg = svg;
|
|
8738
8352
|
} else if (!svg) {
|
|
8739
|
-
const penDOM = new DOMParser().parseFromString(error$
|
|
8353
|
+
const penDOM = new DOMParser().parseFromString(error$1.svg, 'text/html');
|
|
8740
8354
|
|
|
8741
8355
|
this.svg = penDOM.body.firstChild;
|
|
8742
8356
|
}
|
|
@@ -8744,9 +8358,9 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
8744
8358
|
}
|
|
8745
8359
|
};
|
|
8746
8360
|
|
|
8747
|
-
var tokensCss$
|
|
8361
|
+
var tokensCss$2 = i$5$1`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
8748
8362
|
|
|
8749
|
-
var colorCss$
|
|
8363
|
+
var colorCss$3 = i$5$1`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
8750
8364
|
|
|
8751
8365
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8752
8366
|
// See LICENSE in the project root for license information.
|
|
@@ -8779,7 +8393,7 @@ var colorCss$4 = i$5$1`:host{color:var(--ds-auro-icon-color)}:host([customColor]
|
|
|
8779
8393
|
*/
|
|
8780
8394
|
|
|
8781
8395
|
// build the component class
|
|
8782
|
-
let AuroIcon$
|
|
8396
|
+
let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
8783
8397
|
constructor() {
|
|
8784
8398
|
super();
|
|
8785
8399
|
|
|
@@ -8808,7 +8422,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
8808
8422
|
this.success = false;
|
|
8809
8423
|
this.tertiary = false;
|
|
8810
8424
|
this.warning = false;
|
|
8811
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
8425
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
8812
8426
|
}
|
|
8813
8427
|
|
|
8814
8428
|
// function to define props used within the scope of this component
|
|
@@ -8890,9 +8504,9 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
8890
8504
|
static get styles() {
|
|
8891
8505
|
return [
|
|
8892
8506
|
super.styles,
|
|
8893
|
-
i$5$1`${tokensCss$
|
|
8894
|
-
i$5$1`${styleCss$1$
|
|
8895
|
-
i$5$1`${colorCss$
|
|
8507
|
+
i$5$1`${tokensCss$2}`,
|
|
8508
|
+
i$5$1`${styleCss$1$1}`,
|
|
8509
|
+
i$5$1`${colorCss$3}`
|
|
8896
8510
|
];
|
|
8897
8511
|
}
|
|
8898
8512
|
|
|
@@ -8905,7 +8519,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
8905
8519
|
*
|
|
8906
8520
|
*/
|
|
8907
8521
|
static register(name = "auro-icon") {
|
|
8908
|
-
AuroLibraryRuntimeUtils
|
|
8522
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
8909
8523
|
}
|
|
8910
8524
|
|
|
8911
8525
|
connectedCallback() {
|
|
@@ -8934,20 +8548,20 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
8934
8548
|
'wrapper': true,
|
|
8935
8549
|
};
|
|
8936
8550
|
|
|
8937
|
-
return x
|
|
8551
|
+
return x`
|
|
8938
8552
|
<div
|
|
8939
|
-
class="${e$
|
|
8940
|
-
title="${o$
|
|
8941
|
-
<span aria-hidden="${o$
|
|
8942
|
-
${this.customSvg ? x
|
|
8553
|
+
class="${e$5(classes)}"
|
|
8554
|
+
title="${o$5(this.title || undefined)}">
|
|
8555
|
+
<span aria-hidden="${o$5(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
8556
|
+
${this.customSvg ? x`
|
|
8943
8557
|
<slot name="svg"></slot>
|
|
8944
|
-
` : x
|
|
8558
|
+
` : x`
|
|
8945
8559
|
${this.svg}
|
|
8946
8560
|
`
|
|
8947
8561
|
}
|
|
8948
8562
|
</span>
|
|
8949
8563
|
|
|
8950
|
-
<div class="${e$
|
|
8564
|
+
<div class="${e$5(a11y)}">
|
|
8951
8565
|
<slot></slot>
|
|
8952
8566
|
</div>
|
|
8953
8567
|
</div>
|
|
@@ -8955,9 +8569,9 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
8955
8569
|
}
|
|
8956
8570
|
};
|
|
8957
8571
|
|
|
8958
|
-
var iconVersion$
|
|
8572
|
+
var iconVersion$1 = '6.1.2';
|
|
8959
8573
|
|
|
8960
|
-
var styleCss$
|
|
8574
|
+
var styleCss$4 = i$5$1`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
|
|
8961
8575
|
|
|
8962
8576
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8963
8577
|
// See LICENSE in the project root for license information.
|
|
@@ -8985,7 +8599,7 @@ class AuroHeader extends r$4 {
|
|
|
8985
8599
|
/**
|
|
8986
8600
|
* @private
|
|
8987
8601
|
*/
|
|
8988
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
8602
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
8989
8603
|
}
|
|
8990
8604
|
|
|
8991
8605
|
// function to define props used within the scope of this component
|
|
@@ -9003,7 +8617,7 @@ class AuroHeader extends r$4 {
|
|
|
9003
8617
|
}
|
|
9004
8618
|
|
|
9005
8619
|
static get styles() {
|
|
9006
|
-
return [styleCss$
|
|
8620
|
+
return [styleCss$4];
|
|
9007
8621
|
}
|
|
9008
8622
|
|
|
9009
8623
|
/**
|
|
@@ -9015,7 +8629,7 @@ class AuroHeader extends r$4 {
|
|
|
9015
8629
|
*
|
|
9016
8630
|
*/
|
|
9017
8631
|
static register(name = "auro-header") {
|
|
9018
|
-
AuroLibraryRuntimeUtils
|
|
8632
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
|
|
9019
8633
|
}
|
|
9020
8634
|
|
|
9021
8635
|
firstUpdated() {
|
|
@@ -9083,12 +8697,12 @@ class AuroHeader extends r$4 {
|
|
|
9083
8697
|
}
|
|
9084
8698
|
|
|
9085
8699
|
switch (level) {
|
|
9086
|
-
case '2': return x
|
|
9087
|
-
case '3': return x
|
|
9088
|
-
case '4': return x
|
|
9089
|
-
case '5': return x
|
|
9090
|
-
case '6': return x
|
|
9091
|
-
default: return x
|
|
8700
|
+
case '2': return x`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$5(this.color ? this.color : undefined)}"><slot></slot></h2>`;
|
|
8701
|
+
case '3': return x`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$5(this.color ? this.color : undefined)}"><slot></slot></h3>`;
|
|
8702
|
+
case '4': return x`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$5(this.color ? this.color : undefined)}"><slot></slot></h4>`;
|
|
8703
|
+
case '5': return x`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$5(this.color ? this.color : undefined)}"><slot></slot></h5>`;
|
|
8704
|
+
case '6': return x`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$5(this.color ? this.color : undefined)}"><slot></slot></h6>`;
|
|
8705
|
+
default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$5(this.color ? this.color : undefined)}"><slot></slot></h1>`;
|
|
9092
8706
|
}
|
|
9093
8707
|
}
|
|
9094
8708
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -9109,17 +8723,17 @@ class AuroBibtemplate extends r$4 {
|
|
|
9109
8723
|
constructor() {
|
|
9110
8724
|
super();
|
|
9111
8725
|
|
|
9112
|
-
AuroLibraryRuntimeUtils
|
|
8726
|
+
AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
9113
8727
|
|
|
9114
|
-
const versioning = new AuroDependencyVersioning
|
|
9115
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$
|
|
8728
|
+
const versioning = new AuroDependencyVersioning();
|
|
8729
|
+
this.iconTag = versioning.generateTag('auro-icon', iconVersion$1, AuroIcon$1);
|
|
9116
8730
|
this.headerTag = versioning.generateTag('auro-header', headerVersion, AuroHeader);
|
|
9117
8731
|
}
|
|
9118
8732
|
|
|
9119
8733
|
static get styles() {
|
|
9120
8734
|
return [
|
|
9121
|
-
colorCss$1$
|
|
9122
|
-
styleCss$2$
|
|
8735
|
+
colorCss$1$1,
|
|
8736
|
+
styleCss$2$1,
|
|
9123
8737
|
tokenCss
|
|
9124
8738
|
];
|
|
9125
8739
|
}
|
|
@@ -9148,7 +8762,7 @@ class AuroBibtemplate extends r$4 {
|
|
|
9148
8762
|
*
|
|
9149
8763
|
*/
|
|
9150
8764
|
static register(name = "auro-bibtemplate") {
|
|
9151
|
-
AuroLibraryRuntimeUtils
|
|
8765
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroBibtemplate);
|
|
9152
8766
|
}
|
|
9153
8767
|
|
|
9154
8768
|
/**
|
|
@@ -9181,1557 +8795,186 @@ class AuroBibtemplate extends r$4 {
|
|
|
9181
8795
|
}
|
|
9182
8796
|
|
|
9183
8797
|
/**
|
|
9184
|
-
* Exposes CSS parts for styling from parent components.
|
|
9185
|
-
* @returns {void}
|
|
9186
|
-
*/
|
|
9187
|
-
exposeCssParts() {
|
|
9188
|
-
this.setAttribute('exportparts', 'bibtemplate:dropdownBibTemplate');
|
|
9189
|
-
}
|
|
9190
|
-
|
|
9191
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
9192
|
-
render() {
|
|
9193
|
-
return u$3`
|
|
9194
|
-
<div id="bibTemplate" part="bibtemplate">
|
|
9195
|
-
${this.isFullscreen ? u$3`
|
|
9196
|
-
<div id="headerContainer">
|
|
9197
|
-
<button id="closeButton" @click="${this.onCloseButtonClick}">
|
|
9198
|
-
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
9199
|
-
</button>
|
|
9200
|
-
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header">
|
|
9201
|
-
<slot name="header"></slot>
|
|
9202
|
-
</${this.headerTag}>
|
|
9203
|
-
<span id="subheader">
|
|
9204
|
-
<slot name="subheader"></slot>
|
|
9205
|
-
</span>
|
|
9206
|
-
</div>` : null}
|
|
9207
|
-
|
|
9208
|
-
<div id="bodyContainer">
|
|
9209
|
-
<slot></slot>
|
|
9210
|
-
</div>
|
|
9211
|
-
|
|
9212
|
-
${this.isFullscreen ? u$3`
|
|
9213
|
-
<div id="footerContainer">
|
|
9214
|
-
<slot name="footer"></slot>
|
|
9215
|
-
</div>` : null}
|
|
9216
|
-
</div>
|
|
9217
|
-
`;
|
|
9218
|
-
}
|
|
9219
|
-
}
|
|
9220
|
-
|
|
9221
|
-
AuroBibtemplate.register();
|
|
9222
|
-
|
|
9223
|
-
var bibTemplateVersion = '1.0.0';
|
|
9224
|
-
|
|
9225
|
-
/**
|
|
9226
|
-
* @license
|
|
9227
|
-
* Copyright 2019 Google LLC
|
|
9228
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
9229
|
-
*/
|
|
9230
|
-
const t$2=globalThis,e$4=t$2.ShadowRoot&&(undefined===t$2.ShadyCSS||t$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$4=new WeakMap;let n$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&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$4.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$3("string"==typeof t?t:t+"",undefined,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;undefined!==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;
|
|
9231
|
-
|
|
9232
|
-
/**
|
|
9233
|
-
* @license
|
|
9234
|
-
* Copyright 2017 Google LLC
|
|
9235
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
9236
|
-
*/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);undefined!==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(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$3(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else undefined!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$2).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$2;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
9237
|
-
|
|
9238
|
-
/**
|
|
9239
|
-
* @license
|
|
9240
|
-
* Copyright 2017 Google LLC
|
|
9241
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
9242
|
-
*/
|
|
9243
|
-
const t$1=globalThis,i$3=t$1.trustedTypes,s$1=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):undefined,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,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==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:undefined!==u[1]?c=_:undefined!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):undefined!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=undefined);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n$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=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$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):(undefined===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return undefined===i&&A.set(t.strings,i=new N(t)),i}k(t){a$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){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?undefined:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t$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(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$1(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
9244
|
-
|
|
9245
|
-
/**
|
|
9246
|
-
* @license
|
|
9247
|
-
* Copyright 2017 Google LLC
|
|
9248
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
9249
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i$2=globalThis.litElementPolyfillSupport;i$2?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
9250
|
-
|
|
9251
|
-
var styleCss$2$1 = 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)}`;
|
|
9252
|
-
|
|
9253
|
-
var colorCss$2$1 = i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
|
|
9254
|
-
|
|
9255
|
-
var tokensCss$1$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)}`;
|
|
9256
|
-
|
|
9257
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
9258
|
-
// See LICENSE in the project root for license information.
|
|
9259
|
-
|
|
9260
|
-
// ---------------------------------------------------------------------
|
|
9261
|
-
|
|
9262
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
9263
|
-
|
|
9264
|
-
class AuroLibraryRuntimeUtils {
|
|
9265
|
-
|
|
9266
|
-
/* eslint-disable jsdoc/require-param */
|
|
9267
|
-
|
|
9268
|
-
/**
|
|
9269
|
-
* This will register a new custom element with the browser.
|
|
9270
|
-
* @param {String} name - The name of the custom element.
|
|
9271
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
9272
|
-
* @returns {void}
|
|
9273
|
-
*/
|
|
9274
|
-
registerComponent(name, componentClass) {
|
|
9275
|
-
if (!customElements.get(name)) {
|
|
9276
|
-
customElements.define(name, class extends componentClass {});
|
|
9277
|
-
}
|
|
9278
|
-
}
|
|
9279
|
-
|
|
9280
|
-
/**
|
|
9281
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
9282
|
-
* @returns {void}
|
|
9283
|
-
*/
|
|
9284
|
-
closestElement(
|
|
9285
|
-
selector, // selector like in .closest()
|
|
9286
|
-
base = this, // extra functionality to skip a parent
|
|
9287
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
9288
|
-
!el || el === document || el === window
|
|
9289
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
9290
|
-
: found
|
|
9291
|
-
? found // found a selector INside this element
|
|
9292
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
9293
|
-
) {
|
|
9294
|
-
return __Closest(base);
|
|
9295
|
-
}
|
|
9296
|
-
/* eslint-enable jsdoc/require-param */
|
|
9297
|
-
|
|
9298
|
-
/**
|
|
9299
|
-
* 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.
|
|
9300
|
-
* @param {Object} elem - The element to check.
|
|
9301
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
9302
|
-
* @returns {void}
|
|
9303
|
-
*/
|
|
9304
|
-
handleComponentTagRename(elem, tagName) {
|
|
9305
|
-
const tag = tagName.toLowerCase();
|
|
9306
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
9307
|
-
|
|
9308
|
-
if (elemTag !== tag) {
|
|
9309
|
-
elem.setAttribute(tag, true);
|
|
9310
|
-
}
|
|
9311
|
-
}
|
|
9312
|
-
|
|
9313
|
-
/**
|
|
9314
|
-
* Validates if an element is a specific Auro component.
|
|
9315
|
-
* @param {Object} elem - The element to validate.
|
|
9316
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
9317
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
9318
|
-
*/
|
|
9319
|
-
elementMatch(elem, tagName) {
|
|
9320
|
-
const tag = tagName.toLowerCase();
|
|
9321
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
9322
|
-
|
|
9323
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
9324
|
-
}
|
|
9325
|
-
}
|
|
9326
|
-
|
|
9327
|
-
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9328
|
-
// See LICENSE in the project root for license information.
|
|
9329
|
-
|
|
9330
|
-
// ---------------------------------------------------------------------
|
|
9331
|
-
|
|
9332
|
-
/**
|
|
9333
|
-
* Converts value to an array.
|
|
9334
|
-
* If the value is a JSON string representing an array, it will be parsed.
|
|
9335
|
-
* If the value is already an array, it is returned.
|
|
9336
|
-
* If the value is undefined, it returns undefined.
|
|
9337
|
-
* @private
|
|
9338
|
-
* @param {any} value - The value to be converted. Can be a string, array, or undefined.
|
|
9339
|
-
* @returns {Array|undefined} - The converted array or undefined.
|
|
9340
|
-
* @throws {Error} - Throws an error if the value is not an array, undefined,
|
|
9341
|
-
* or if the value cannot be parsed into an array from a JSON string.
|
|
9342
|
-
*/
|
|
9343
|
-
function arrayConverter$1(value) {
|
|
9344
|
-
// Allow undefined
|
|
9345
|
-
if (value === undefined) {
|
|
9346
|
-
return undefined;
|
|
9347
|
-
}
|
|
9348
|
-
|
|
9349
|
-
// Return the value if it is already an array
|
|
9350
|
-
if (Array.isArray(value)) {
|
|
9351
|
-
return value;
|
|
9352
|
-
}
|
|
9353
|
-
|
|
9354
|
-
try {
|
|
9355
|
-
// If value is a JSON string, parse it
|
|
9356
|
-
const parsed = typeof value === 'string' ? JSON.parse(value) : value;
|
|
9357
|
-
|
|
9358
|
-
// Check if the parsed value is an array
|
|
9359
|
-
if (Array.isArray(parsed)) {
|
|
9360
|
-
return parsed;
|
|
9361
|
-
}
|
|
9362
|
-
} catch (error) {
|
|
9363
|
-
// If JSON parsing fails, continue to throw an error below
|
|
9364
|
-
/* eslint-disable no-console */
|
|
9365
|
-
console.error('JSON parsing failed:', error);
|
|
9366
|
-
}
|
|
9367
|
-
|
|
9368
|
-
// Throw error if the input is not an array or undefined
|
|
9369
|
-
throw new Error('Invalid value: Input must be an array or undefined');
|
|
9370
|
-
}
|
|
9371
|
-
|
|
9372
|
-
/**
|
|
9373
|
-
* Compare two arrays for equality.
|
|
9374
|
-
* @private
|
|
9375
|
-
* @param {Array} arr1 - First array to compare.
|
|
9376
|
-
* @param {Array} arr2 - Second array to compare.
|
|
9377
|
-
* @returns {boolean} True if arrays are equal.
|
|
9378
|
-
*/
|
|
9379
|
-
function arraysAreEqual$1(arr1, arr2) {
|
|
9380
|
-
// If both arrays undefined, they are equal (true)
|
|
9381
|
-
if (arr1 === undefined || arr2 === undefined) {
|
|
9382
|
-
return arr1 === arr2;
|
|
9383
|
-
}
|
|
9384
|
-
|
|
9385
|
-
// If arrays have different lengths, they are not equal
|
|
9386
|
-
if (arr1.length !== arr2.length) {
|
|
9387
|
-
return false;
|
|
9388
|
-
}
|
|
9389
|
-
|
|
9390
|
-
// If every item at each index is the same, return true
|
|
9391
|
-
for (let index = 0; index < arr1.length; index += 1) {
|
|
9392
|
-
if (arr1[index] !== arr2[index]) {
|
|
9393
|
-
return false;
|
|
9394
|
-
}
|
|
9395
|
-
}
|
|
9396
|
-
return true;
|
|
9397
|
-
}
|
|
9398
|
-
|
|
9399
|
-
/**
|
|
9400
|
-
* Compares array for changes.
|
|
9401
|
-
* @private
|
|
9402
|
-
* @param {Array|any} newVal - New value to compare.
|
|
9403
|
-
* @param {Array|any} oldVal - Old value to compare.
|
|
9404
|
-
* @returns {boolean} True if arrays have changed.
|
|
9405
|
-
*/
|
|
9406
|
-
function arrayOrUndefinedHasChanged$1(newVal, oldVal) {
|
|
9407
|
-
try {
|
|
9408
|
-
// Check if values are undefined or arrays
|
|
9409
|
-
const isArrayOrUndefined = (val) => val === undefined || Array.isArray(val);
|
|
9410
|
-
|
|
9411
|
-
// If non-array or non-undefined, throw error
|
|
9412
|
-
if (!isArrayOrUndefined(newVal) || !isArrayOrUndefined(oldVal)) {
|
|
9413
|
-
const invalidValue = isArrayOrUndefined(newVal) ? oldVal : newVal;
|
|
9414
|
-
throw new Error(`Value must be an array or undefined, received ${typeof invalidValue}`);
|
|
9415
|
-
}
|
|
9416
|
-
|
|
9417
|
-
// Return true if arrays have changed, false if they are the same
|
|
9418
|
-
return !arraysAreEqual$1(newVal, oldVal);
|
|
9419
|
-
} catch (error) {
|
|
9420
|
-
/* eslint-disable no-console */
|
|
9421
|
-
console.error(error);
|
|
9422
|
-
// If validation fails, it has changed
|
|
9423
|
-
return true;
|
|
9424
|
-
}
|
|
9425
|
-
}
|
|
9426
|
-
|
|
9427
|
-
/**
|
|
9428
|
-
* Validates if an option can be interacted with.
|
|
9429
|
-
* @private
|
|
9430
|
-
* @param {HTMLElement} option - The option to check.
|
|
9431
|
-
* @returns {boolean} True if option is interactive.
|
|
9432
|
-
*/
|
|
9433
|
-
function isOptionInteractive$1(option) {
|
|
9434
|
-
return !option.hasAttribute('hidden') &&
|
|
9435
|
-
!option.hasAttribute('disabled') &&
|
|
9436
|
-
!option.hasAttribute('static');
|
|
9437
|
-
}
|
|
9438
|
-
|
|
9439
|
-
/**
|
|
9440
|
-
* Helper method to dispatch custom events.
|
|
9441
|
-
* @param {HTMLElement} element - Element to dispatch event from.
|
|
9442
|
-
* @param {string} eventName - Name of the event to dispatch.
|
|
9443
|
-
* @param {Object} [detail] - Optional detail object to include with the event.
|
|
9444
|
-
*/
|
|
9445
|
-
function dispatchMenuEvent$1(element, eventName, detail = null) {
|
|
9446
|
-
const eventConfig = {
|
|
9447
|
-
bubbles: true,
|
|
9448
|
-
cancelable: false,
|
|
9449
|
-
composed: true
|
|
9450
|
-
};
|
|
9451
|
-
|
|
9452
|
-
if (detail !== null) {
|
|
9453
|
-
eventConfig.detail = detail;
|
|
9454
|
-
}
|
|
9455
|
-
|
|
9456
|
-
element.dispatchEvent(new CustomEvent(eventName, eventConfig));
|
|
9457
|
-
}
|
|
9458
|
-
|
|
9459
|
-
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9460
|
-
// See LICENSE in the project root for license information.
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
9465
|
-
/**
|
|
9466
|
-
* The auro-menu element provides users a way to select from a list of options.
|
|
9467
|
-
* @attr {Array<HTMLElement>|undefined} optionselected - An array of currently selected menu options. In single-select mode, the array will contain only one HTMLElement. `undefined` when no options are selected.
|
|
9468
|
-
* @attr {object} optionactive - Specifies the current active menuOption.
|
|
9469
|
-
* @attr {string} matchword - Specifies a string used to highlight matched string parts in options.
|
|
9470
|
-
* @attr {boolean} disabled - When true, the entire menu and all options are disabled;
|
|
9471
|
-
* @attr {boolean} nocheckmark - When true, selected option will not show the checkmark.
|
|
9472
|
-
* @attr {boolean} loading - When true, displays a loading state using the loadingIcon and loadingText slots if provided.
|
|
9473
|
-
* @attr {boolean} multiselect - When true, the selected option can be multiple options.
|
|
9474
|
-
* @attr {Array<string>|undefined} value - Value selected for the menu. `undefined` when no selection has been made, otherwise an array of strings. In single-select mode, the array will contain only one value.
|
|
9475
|
-
* @prop {boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
|
|
9476
|
-
* @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
|
|
9477
|
-
* @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
|
|
9478
|
-
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Notifies when the loading attribute is changed.
|
|
9479
|
-
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Notifies that an attempt to select a menuoption by matching a value has failed.
|
|
9480
|
-
* @event {CustomEvent<any>} auroMenu-selectValueReset - Notifies that the component value has been reset.
|
|
9481
|
-
* @event {CustomEvent<any>} auroMenu-selectedOption - Notifies that a new menuoption selection has been made.
|
|
9482
|
-
* @slot loadingText - Text to show while loading attribute is set
|
|
9483
|
-
* @slot loadingIcon - Icon to show while loading attribute is set
|
|
9484
|
-
* @slot - Slot for insertion of menu options.
|
|
9485
|
-
*/
|
|
9486
|
-
|
|
9487
|
-
/* eslint-disable no-magic-numbers, max-lines */
|
|
9488
|
-
|
|
9489
|
-
let AuroMenu$1 = class AuroMenu extends r {
|
|
9490
|
-
constructor() {
|
|
9491
|
-
super();
|
|
9492
|
-
|
|
9493
|
-
// State properties (reactive)
|
|
9494
|
-
|
|
9495
|
-
// Value of the selected options
|
|
9496
|
-
this.value = undefined;
|
|
9497
|
-
// Currently selected option
|
|
9498
|
-
this.optionSelected = undefined;
|
|
9499
|
-
// String used for highlighting/filtering
|
|
9500
|
-
this.matchWord = undefined;
|
|
9501
|
-
// Hide the checkmark icon on selected options
|
|
9502
|
-
this.noCheckmark = false;
|
|
9503
|
-
// Currently active option
|
|
9504
|
-
this.optionActive = undefined;
|
|
9505
|
-
// Loading state
|
|
9506
|
-
this.loading = false;
|
|
9507
|
-
// Multi-select mode
|
|
9508
|
-
this.multiSelect = false;
|
|
9509
|
-
|
|
9510
|
-
// Event Bindings
|
|
9511
|
-
|
|
9512
|
-
/**
|
|
9513
|
-
* @private
|
|
9514
|
-
*/
|
|
9515
|
-
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
9516
|
-
|
|
9517
|
-
/**
|
|
9518
|
-
* @private
|
|
9519
|
-
*/
|
|
9520
|
-
this.handleMouseSelect = this.handleMouseSelect.bind(this);
|
|
9521
|
-
|
|
9522
|
-
/**
|
|
9523
|
-
* @private
|
|
9524
|
-
*/
|
|
9525
|
-
this.handleOptionHover = this.handleOptionHover.bind(this);
|
|
9526
|
-
|
|
9527
|
-
/**
|
|
9528
|
-
* @private
|
|
9529
|
-
*/
|
|
9530
|
-
this.handleSlotChange = this.handleSlotChange.bind(this);
|
|
9531
|
-
|
|
9532
|
-
// Instance properties (non-reactive)
|
|
9533
|
-
|
|
9534
|
-
/**
|
|
9535
|
-
* @private
|
|
9536
|
-
*/
|
|
9537
|
-
Object.assign(this, {
|
|
9538
|
-
// Root-level menu (true) or a nested submenu (false)
|
|
9539
|
-
rootMenu: true,
|
|
9540
|
-
// Currently focused/active menu item index
|
|
9541
|
-
index: -1,
|
|
9542
|
-
// Nested menu spacer
|
|
9543
|
-
nestingSpacer: '<span class="nestingSpacer"></span>',
|
|
9544
|
-
// Loading indicator for slot elements
|
|
9545
|
-
loadingSlots: null,
|
|
9546
|
-
// Store for menu items
|
|
9547
|
-
items: [],
|
|
9548
|
-
});
|
|
9549
|
-
}
|
|
9550
|
-
|
|
9551
|
-
static get properties() {
|
|
9552
|
-
return {
|
|
9553
|
-
noCheckmark: {
|
|
9554
|
-
type: Boolean,
|
|
9555
|
-
reflect: true,
|
|
9556
|
-
attribute: 'nocheckmark'
|
|
9557
|
-
},
|
|
9558
|
-
disabled: {
|
|
9559
|
-
type: Boolean,
|
|
9560
|
-
reflect: true
|
|
9561
|
-
},
|
|
9562
|
-
loading: {
|
|
9563
|
-
type: Boolean,
|
|
9564
|
-
reflect: true
|
|
9565
|
-
},
|
|
9566
|
-
optionSelected: {
|
|
9567
|
-
// Allow HTMLElement[] arrays and undefined
|
|
9568
|
-
converter: arrayConverter$1,
|
|
9569
|
-
hasChanged: arrayOrUndefinedHasChanged$1
|
|
9570
|
-
},
|
|
9571
|
-
optionActive: {
|
|
9572
|
-
type: Object,
|
|
9573
|
-
attribute: 'optionactive'
|
|
9574
|
-
},
|
|
9575
|
-
matchWord: {
|
|
9576
|
-
type: String,
|
|
9577
|
-
attribute: 'matchword'
|
|
9578
|
-
},
|
|
9579
|
-
multiSelect: {
|
|
9580
|
-
type: Boolean,
|
|
9581
|
-
reflect: true,
|
|
9582
|
-
attribute: 'multiselect'
|
|
9583
|
-
},
|
|
9584
|
-
value: {
|
|
9585
|
-
// Allow string[] arrays and undefined
|
|
9586
|
-
type: Object,
|
|
9587
|
-
converter: arrayConverter$1,
|
|
9588
|
-
hasChanged: arrayOrUndefinedHasChanged$1
|
|
9589
|
-
}
|
|
9590
|
-
};
|
|
9591
|
-
}
|
|
9592
|
-
|
|
9593
|
-
static get styles() {
|
|
9594
|
-
return [
|
|
9595
|
-
styleCss$2$1,
|
|
9596
|
-
colorCss$2$1,
|
|
9597
|
-
tokensCss$1$1
|
|
9598
|
-
];
|
|
9599
|
-
}
|
|
9600
|
-
|
|
9601
|
-
/**
|
|
9602
|
-
* This will register this element with the browser.
|
|
9603
|
-
* @param {string} [name="auro-menu"] - The name of element that you want to register to.
|
|
9604
|
-
*
|
|
9605
|
-
* @example
|
|
9606
|
-
* AuroMenu.register("custom-menu") // this will register this element to <custom-menu/>
|
|
9607
|
-
*
|
|
9608
|
-
*/
|
|
9609
|
-
static register(name = "auro-menu") {
|
|
9610
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroMenu);
|
|
9611
|
-
}
|
|
9612
|
-
|
|
9613
|
-
// Lifecycle Methods
|
|
9614
|
-
|
|
9615
|
-
connectedCallback() {
|
|
9616
|
-
super.connectedCallback();
|
|
9617
|
-
|
|
9618
|
-
this.addEventListener('keydown', this.handleKeyDown);
|
|
9619
|
-
this.addEventListener('mousedown', this.handleMouseSelect);
|
|
9620
|
-
this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
|
|
9621
|
-
this.addEventListener('slotchange', this.handleSlotChange);
|
|
9622
|
-
}
|
|
9623
|
-
|
|
9624
|
-
disconnectedCallback() {
|
|
9625
|
-
this.removeEventListener('keydown', this.handleKeyDown);
|
|
9626
|
-
this.removeEventListener('mousedown', this.handleMouseSelect);
|
|
9627
|
-
this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
|
|
9628
|
-
this.removeEventListener('slotchange', this.handleSlotChange);
|
|
9629
|
-
|
|
9630
|
-
super.disconnectedCallback();
|
|
9631
|
-
}
|
|
9632
|
-
|
|
9633
|
-
firstUpdated() {
|
|
9634
|
-
AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
9635
|
-
|
|
9636
|
-
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
9637
|
-
this.initializeMenu();
|
|
9638
|
-
}
|
|
9639
|
-
|
|
9640
|
-
updated(changedProperties) {
|
|
9641
|
-
if (changedProperties.has('value')) {
|
|
9642
|
-
// Handle null/undefined case
|
|
9643
|
-
if (this.value === undefined || this.value === null) {
|
|
9644
|
-
this.optionSelected = undefined;
|
|
9645
|
-
// Reset index tracking
|
|
9646
|
-
this.index = -1;
|
|
9647
|
-
} else {
|
|
9648
|
-
// Convert single values to arrays
|
|
9649
|
-
const valueArray = Array.isArray(this.value) ? this.value : [this.value];
|
|
9650
|
-
|
|
9651
|
-
// Find all matching options
|
|
9652
|
-
const matchingOptions = this.items.filter((item) => valueArray.includes(item.value));
|
|
9653
|
-
|
|
9654
|
-
if (matchingOptions.length > 0) {
|
|
9655
|
-
if (this.multiSelect) {
|
|
9656
|
-
// For multiselect, keep all matching options
|
|
9657
|
-
this.optionSelected = matchingOptions;
|
|
9658
|
-
} else {
|
|
9659
|
-
// For single select, only use the first match
|
|
9660
|
-
this.optionSelected = [matchingOptions[0]];
|
|
9661
|
-
this.index = this.items.indexOf(matchingOptions[0]);
|
|
9662
|
-
}
|
|
9663
|
-
} else {
|
|
9664
|
-
// No matches found - trigger failure event
|
|
9665
|
-
dispatchMenuEvent$1(this, 'auroMenu-selectValueFailure');
|
|
9666
|
-
this.optionSelected = undefined;
|
|
9667
|
-
this.index = -1;
|
|
9668
|
-
}
|
|
9669
|
-
}
|
|
9670
|
-
|
|
9671
|
-
// Update UI state
|
|
9672
|
-
this.updateItemsState(new Map([
|
|
9673
|
-
[
|
|
9674
|
-
'optionSelected',
|
|
9675
|
-
true
|
|
9676
|
-
]
|
|
9677
|
-
]));
|
|
9678
|
-
|
|
9679
|
-
// Notify of changes
|
|
9680
|
-
if (this.optionSelected !== undefined) {
|
|
9681
|
-
this.notifySelectionChange();
|
|
9682
|
-
}
|
|
9683
|
-
}
|
|
9684
|
-
|
|
9685
|
-
// Process all other UI updates
|
|
9686
|
-
this.updateItemsState(changedProperties);
|
|
9687
|
-
}
|
|
9688
|
-
|
|
9689
|
-
/**
|
|
9690
|
-
* Updates the UI state and appearance of menu items based on changed properties.
|
|
9691
|
-
* @private
|
|
9692
|
-
* @param {Map<string, boolean>} changedProperties - LitElement's changed properties map.
|
|
9693
|
-
*/
|
|
9694
|
-
updateItemsState(changedProperties) {
|
|
9695
|
-
if (!this.items) {
|
|
9696
|
-
return;
|
|
9697
|
-
}
|
|
9698
|
-
|
|
9699
|
-
// Handle noCheckmark propagation to all menus and options
|
|
9700
|
-
if (changedProperties.has('noCheckmark') && this.noCheckmark) {
|
|
9701
|
-
// Update both menus and options
|
|
9702
|
-
this.querySelectorAll('auro-menu, [auro-menu], auro-menuoption, [auro-menuoption]').forEach((element) => element.setAttribute('noCheckmark', ''));
|
|
9703
|
-
}
|
|
9704
|
-
|
|
9705
|
-
// Regex for matchWord if needed
|
|
9706
|
-
let regexWord = null;
|
|
9707
|
-
|
|
9708
|
-
if (changedProperties.has('matchWord') && this.matchWord && this.matchWord.length) {
|
|
9709
|
-
const escapedWord = this.matchWord.replace(/[.*+?^${}()|[\]\\]/gu, '\\$&');
|
|
9710
|
-
regexWord = new RegExp(escapedWord, 'giu');
|
|
9711
|
-
}
|
|
9712
|
-
|
|
9713
|
-
// Handle direct item updates
|
|
9714
|
-
this.items.forEach((option) => {
|
|
9715
|
-
// Update selection if option or value changed
|
|
9716
|
-
if (changedProperties.has('optionSelected') || changedProperties.has('value')) {
|
|
9717
|
-
const isSelected = this.isOptionSelected(option);
|
|
9718
|
-
option.setAttribute('aria-selected', isSelected ? 'true' : 'false');
|
|
9719
|
-
|
|
9720
|
-
// Add/remove selected attribute based on state
|
|
9721
|
-
if (isSelected) {
|
|
9722
|
-
option.setAttribute('selected', '');
|
|
9723
|
-
} else {
|
|
9724
|
-
option.removeAttribute('selected');
|
|
9725
|
-
}
|
|
9726
|
-
}
|
|
9727
|
-
|
|
9728
|
-
// Update text highlighting if matchWord changed
|
|
9729
|
-
if (changedProperties.has('matchWord') && regexWord &&
|
|
9730
|
-
isOptionInteractive$1(option) && !option.hasAttribute('persistent')) {
|
|
9731
|
-
const nested = option.querySelectorAll('.nestingSpacer');
|
|
9732
|
-
// Create nested spacers
|
|
9733
|
-
const nestingSpacerBundle = [...nested].map(() => this.nestingSpacer).join('');
|
|
9734
|
-
|
|
9735
|
-
// Update with spacers and matchWord
|
|
9736
|
-
option.innerHTML = nestingSpacerBundle +
|
|
9737
|
-
option.textContent.replace(
|
|
9738
|
-
regexWord,
|
|
9739
|
-
(match) => `<strong>${match}</strong>`
|
|
9740
|
-
);
|
|
9741
|
-
}
|
|
9742
|
-
|
|
9743
|
-
// Update disabled state
|
|
9744
|
-
if (changedProperties.has('disabled')) {
|
|
9745
|
-
option.disabled = this.disabled;
|
|
9746
|
-
}
|
|
9747
|
-
});
|
|
9748
|
-
|
|
9749
|
-
// Handle loading state changes
|
|
9750
|
-
if (changedProperties.has('loading')) {
|
|
9751
|
-
this.setAttribute("aria-busy", this.loading);
|
|
9752
|
-
dispatchMenuEvent$1(this, "auroMenu-loadingChange", {
|
|
9753
|
-
loading: this.loading,
|
|
9754
|
-
hasLoadingPlaceholder: this.hasLoadingPlaceholder
|
|
9755
|
-
});
|
|
9756
|
-
}
|
|
9757
|
-
}
|
|
9758
|
-
|
|
9759
|
-
// Init Methods
|
|
9760
|
-
|
|
9761
|
-
/**
|
|
9762
|
-
* Initializes the menu's state and structure.
|
|
9763
|
-
* @private
|
|
9764
|
-
*/
|
|
9765
|
-
initializeMenu() {
|
|
9766
|
-
this.initItems();
|
|
9767
|
-
if (this.rootMenu) {
|
|
9768
|
-
this.setAttribute('role', 'listbox');
|
|
9769
|
-
this.setAttribute('root', '');
|
|
9770
|
-
this.handleNestedMenus(this);
|
|
9771
|
-
}
|
|
9772
|
-
}
|
|
9773
|
-
|
|
9774
|
-
/**
|
|
9775
|
-
* Initializes menu items and their attributes.
|
|
9776
|
-
* @private
|
|
9777
|
-
*/
|
|
9778
|
-
initItems() {
|
|
9779
|
-
this.items = Array.from(this.querySelectorAll('auro-menuoption, [auro-menuoption]'));
|
|
9780
|
-
if (this.noCheckmark) {
|
|
9781
|
-
this.updateItemsState(new Map([
|
|
9782
|
-
[
|
|
9783
|
-
'noCheckmark',
|
|
9784
|
-
true
|
|
9785
|
-
]
|
|
9786
|
-
]));
|
|
9787
|
-
}
|
|
9788
|
-
}
|
|
9789
|
-
|
|
9790
|
-
// Logic Methods
|
|
9791
|
-
|
|
9792
|
-
/**
|
|
9793
|
-
* Updates menu state when an option is selected.
|
|
9794
|
-
* @private
|
|
9795
|
-
* @param {HTMLElement} option - The option element to select.
|
|
9796
|
-
*/
|
|
9797
|
-
handleSelectState(option) {
|
|
9798
|
-
if (this.multiSelect) {
|
|
9799
|
-
const currentValue = this.value || [];
|
|
9800
|
-
const currentSelected = this.optionSelected || [];
|
|
9801
|
-
|
|
9802
|
-
if (!currentValue.includes(option.value)) {
|
|
9803
|
-
this.value = [
|
|
9804
|
-
...currentValue,
|
|
9805
|
-
option.value
|
|
9806
|
-
];
|
|
9807
|
-
}
|
|
9808
|
-
if (!currentSelected.includes(option)) {
|
|
9809
|
-
this.optionSelected = [
|
|
9810
|
-
...currentSelected,
|
|
9811
|
-
option
|
|
9812
|
-
];
|
|
9813
|
-
}
|
|
9814
|
-
} else {
|
|
9815
|
-
// Single select - use arrays with single values
|
|
9816
|
-
this.value = [option.value];
|
|
9817
|
-
this.optionSelected = [option];
|
|
9818
|
-
}
|
|
9819
|
-
|
|
9820
|
-
this.index = this.items.indexOf(option);
|
|
9821
|
-
}
|
|
9822
|
-
|
|
9823
|
-
/**
|
|
9824
|
-
* Deselects a menu option and updates related state.
|
|
9825
|
-
* @private
|
|
9826
|
-
* @param {HTMLElement} option - The menuoption to be deselected.
|
|
9827
|
-
*/
|
|
9828
|
-
handleDeselectState(option) {
|
|
9829
|
-
if (this.multiSelect && Array.isArray(this.value)) {
|
|
9830
|
-
// Remove this option from array
|
|
9831
|
-
this.value = this.value.filter((val) => val !== option.value);
|
|
9832
|
-
|
|
9833
|
-
// If array is empty after removal, set back to undefined
|
|
9834
|
-
if (this.value.length === 0) {
|
|
9835
|
-
this.value = undefined;
|
|
9836
|
-
}
|
|
9837
|
-
|
|
9838
|
-
this.optionSelected = this.optionSelected.filter((val) => val !== option);
|
|
9839
|
-
if (this.optionSelected.length === 0) {
|
|
9840
|
-
this.optionSelected = undefined;
|
|
9841
|
-
}
|
|
9842
|
-
} else {
|
|
9843
|
-
// For single-select: Back to undefined when deselected
|
|
9844
|
-
this.value = undefined;
|
|
9845
|
-
this.optionSelected = undefined;
|
|
9846
|
-
}
|
|
9847
|
-
|
|
9848
|
-
// Update the index tracking
|
|
9849
|
-
this.index = this.items.indexOf(option);
|
|
9850
|
-
|
|
9851
|
-
// Update UI to reflect changes
|
|
9852
|
-
this.updateItemsState(new Map([
|
|
9853
|
-
[
|
|
9854
|
-
'optionSelected',
|
|
9855
|
-
true
|
|
9856
|
-
]
|
|
9857
|
-
]));
|
|
9858
|
-
|
|
9859
|
-
// Notify of selection change
|
|
9860
|
-
this.notifySelectionChange();
|
|
9861
|
-
}
|
|
9862
|
-
|
|
9863
|
-
/**
|
|
9864
|
-
* Resets all options to their default state.
|
|
9865
|
-
* @private
|
|
9866
|
-
*/
|
|
9867
|
-
clearSelection() {
|
|
9868
|
-
this.optionSelected = undefined;
|
|
9869
|
-
this.value = undefined;
|
|
9870
|
-
}
|
|
9871
|
-
|
|
9872
|
-
/**
|
|
9873
|
-
* Resets the menu to its initial state.
|
|
9874
|
-
* This is the only way to return value to undefined.
|
|
9875
|
-
* @public
|
|
9876
|
-
*/
|
|
9877
|
-
reset() {
|
|
9878
|
-
// Reset to undefined - initial state
|
|
9879
|
-
this.value = undefined;
|
|
9880
|
-
this.optionSelected = undefined;
|
|
9881
|
-
this.index = -1;
|
|
9882
|
-
|
|
9883
|
-
// Reset UI state
|
|
9884
|
-
this.updateItemsState(new Map([
|
|
9885
|
-
[
|
|
9886
|
-
'optionSelected',
|
|
9887
|
-
true
|
|
9888
|
-
]
|
|
9889
|
-
]));
|
|
9890
|
-
|
|
9891
|
-
// Dispatch reset event
|
|
9892
|
-
dispatchMenuEvent$1(this, 'auroMenu-selectValueReset');
|
|
9893
|
-
}
|
|
9894
|
-
|
|
9895
|
-
/**
|
|
9896
|
-
* Handles nested menu structure.
|
|
9897
|
-
* @private
|
|
9898
|
-
* @param {HTMLElement} menu - Root menu element.
|
|
9899
|
-
*/
|
|
9900
|
-
handleNestedMenus(menu) {
|
|
9901
|
-
const nestedMenus = menu.querySelectorAll('auro-menu, [auro-menu]');
|
|
9902
|
-
|
|
9903
|
-
nestedMenus.forEach((nestedMenu) => {
|
|
9904
|
-
// role="listbox" only allows "role=group" for children.
|
|
9905
|
-
nestedMenu.setAttribute('role', 'group');
|
|
9906
|
-
if (!nestedMenu.hasAttribute('aria-label')) {
|
|
9907
|
-
nestedMenu.setAttribute('aria-label', 'submenu');
|
|
9908
|
-
}
|
|
9909
|
-
|
|
9910
|
-
const options = nestedMenu.querySelectorAll(':scope > auro-menuoption, :scope > [auro-menuoption]');
|
|
9911
|
-
options.forEach((option) => {
|
|
9912
|
-
option.innerHTML = this.nestingSpacer + option.innerHTML;
|
|
9913
|
-
});
|
|
9914
|
-
|
|
9915
|
-
this.handleNestedMenus(nestedMenu);
|
|
9916
|
-
});
|
|
9917
|
-
}
|
|
9918
|
-
|
|
9919
|
-
// Event Handlers
|
|
9920
|
-
|
|
9921
|
-
/**
|
|
9922
|
-
* Handles keyboard navigation.
|
|
9923
|
-
* @private
|
|
9924
|
-
* @param {KeyboardEvent} event - Event object from the browser.
|
|
9925
|
-
*/
|
|
9926
|
-
handleKeyDown(event) {
|
|
9927
|
-
event.preventDefault();
|
|
9928
|
-
switch (event.key) {
|
|
9929
|
-
case "ArrowDown":
|
|
9930
|
-
this.navigateOptions('down');
|
|
9931
|
-
break;
|
|
9932
|
-
case "ArrowUp":
|
|
9933
|
-
this.navigateOptions('up');
|
|
9934
|
-
break;
|
|
9935
|
-
case "Enter":
|
|
9936
|
-
this.makeSelection();
|
|
9937
|
-
break;
|
|
9938
|
-
}
|
|
9939
|
-
}
|
|
9940
|
-
|
|
9941
|
-
/**
|
|
9942
|
-
* Makes a selection based on the current index or clicked option.
|
|
9943
|
-
* @private
|
|
9944
|
-
*/
|
|
9945
|
-
makeSelection() {
|
|
9946
|
-
if (!this.items) {
|
|
9947
|
-
this.initItems();
|
|
9948
|
-
}
|
|
9949
|
-
|
|
9950
|
-
// Get currently selected menu option based on index
|
|
9951
|
-
const option = this.items[this.index];
|
|
9952
|
-
|
|
9953
|
-
// Return early if option is not interactive
|
|
9954
|
-
if (!option || !isOptionInteractive$1(option)) {
|
|
9955
|
-
return;
|
|
9956
|
-
}
|
|
9957
|
-
|
|
9958
|
-
// Handle custom events first
|
|
9959
|
-
if (option.hasAttribute('event')) {
|
|
9960
|
-
this.handleCustomEvent(option);
|
|
9961
|
-
return;
|
|
9962
|
-
}
|
|
9963
|
-
|
|
9964
|
-
if (this.multiSelect) {
|
|
9965
|
-
// In multiselect, toggle individual selections
|
|
9966
|
-
this.toggleOption(option);
|
|
9967
|
-
// In single select, only handle selection of new options
|
|
9968
|
-
} else if (!this.isOptionSelected(option)) {
|
|
9969
|
-
this.clearSelection();
|
|
9970
|
-
this.handleSelectState(option);
|
|
9971
|
-
}
|
|
9972
|
-
|
|
9973
|
-
this.notifySelectionChange();
|
|
9974
|
-
}
|
|
9975
|
-
|
|
9976
|
-
/**
|
|
9977
|
-
* Toggle the selection state of the menuoption.
|
|
9978
|
-
* @private
|
|
9979
|
-
* @param {HTMLElement} option - The menuoption to toggle.
|
|
9980
|
-
*/
|
|
9981
|
-
toggleOption(option) {
|
|
9982
|
-
const isCurrentlySelected = this.isOptionSelected(option);
|
|
9983
|
-
|
|
9984
|
-
if (isCurrentlySelected) {
|
|
9985
|
-
this.handleDeselectState(option);
|
|
9986
|
-
} else if (option.value === undefined || option.value === '') {
|
|
9987
|
-
dispatchMenuEvent$1(this, 'auroMenu-selectValueFailure');
|
|
9988
|
-
} else {
|
|
9989
|
-
this.handleSelectState(option);
|
|
9990
|
-
}
|
|
9991
|
-
}
|
|
9992
|
-
|
|
9993
|
-
/**
|
|
9994
|
-
* Handles option selection via mouse.
|
|
9995
|
-
* @private
|
|
9996
|
-
* @param {MouseEvent} event - Event object from the browser.
|
|
9997
|
-
*/
|
|
9998
|
-
handleMouseSelect(event) {
|
|
9999
|
-
if (event.target === this) {
|
|
10000
|
-
return;
|
|
10001
|
-
}
|
|
10002
|
-
|
|
10003
|
-
const option = event.target.closest('auro-menuoption, [auro-menuoption]');
|
|
10004
|
-
if (option) {
|
|
10005
|
-
this.index = this.items.indexOf(option);
|
|
10006
|
-
this.makeSelection();
|
|
10007
|
-
}
|
|
10008
|
-
}
|
|
10009
|
-
|
|
10010
|
-
/**
|
|
10011
|
-
* Handles option hover events.
|
|
10012
|
-
* @private
|
|
10013
|
-
* @param {CustomEvent} event - Event object from the browser.
|
|
10014
|
-
*/
|
|
10015
|
-
handleOptionHover(event) {
|
|
10016
|
-
const option = event.target;
|
|
10017
|
-
this.index = this.items.indexOf(option);
|
|
10018
|
-
this.updateActiveOption(this.index);
|
|
10019
|
-
}
|
|
10020
|
-
|
|
10021
|
-
/**
|
|
10022
|
-
* Handles slot change events.
|
|
10023
|
-
* @private
|
|
10024
|
-
*/
|
|
10025
|
-
handleSlotChange() {
|
|
10026
|
-
if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
|
|
10027
|
-
this.rootMenu = false;
|
|
10028
|
-
}
|
|
10029
|
-
|
|
10030
|
-
if (this.rootMenu) {
|
|
10031
|
-
this.initializeMenu();
|
|
10032
|
-
} else if (this.noCheckmark) {
|
|
10033
|
-
this.updateItemsState(new Map([
|
|
10034
|
-
[
|
|
10035
|
-
'noCheckmark',
|
|
10036
|
-
true
|
|
10037
|
-
]
|
|
10038
|
-
]));
|
|
10039
|
-
}
|
|
10040
|
-
}
|
|
10041
|
-
|
|
10042
|
-
/**
|
|
10043
|
-
* Navigates through options using keyboard.
|
|
10044
|
-
* @private
|
|
10045
|
-
* @param {string} direction - 'up' or 'down'.
|
|
10046
|
-
*/
|
|
10047
|
-
navigateOptions(direction) {
|
|
10048
|
-
// Return early if no items exist
|
|
10049
|
-
if (!this.items || !this.items.length) {
|
|
10050
|
-
return;
|
|
10051
|
-
}
|
|
10052
|
-
|
|
10053
|
-
let newIndex = this.index;
|
|
10054
|
-
const increment = direction === 'down' ? 1 : -1;
|
|
10055
|
-
const maxIterations = this.items.length;
|
|
10056
|
-
let iterations = 0;
|
|
10057
|
-
let foundInteractiveOption = false;
|
|
10058
|
-
|
|
10059
|
-
do {
|
|
10060
|
-
newIndex = (newIndex + increment + this.items.length) % this.items.length;
|
|
10061
|
-
iterations += 1;
|
|
10062
|
-
|
|
10063
|
-
// Check if current option is interactive
|
|
10064
|
-
const currentOption = this.items[newIndex];
|
|
10065
|
-
if (isOptionInteractive$1(currentOption)) {
|
|
10066
|
-
foundInteractiveOption = true;
|
|
10067
|
-
break;
|
|
10068
|
-
}
|
|
10069
|
-
|
|
10070
|
-
// Break if all options were checked
|
|
10071
|
-
if (iterations >= maxIterations) {
|
|
10072
|
-
break;
|
|
10073
|
-
}
|
|
10074
|
-
} while (iterations < maxIterations);
|
|
10075
|
-
|
|
10076
|
-
// Handle the results of the search
|
|
10077
|
-
if (foundInteractiveOption) {
|
|
10078
|
-
// Update only if an interactive option was found
|
|
10079
|
-
this.index = newIndex;
|
|
10080
|
-
this.updateActiveOption(this.index);
|
|
10081
|
-
} else {
|
|
10082
|
-
// All options are disabled or non-interactive
|
|
10083
|
-
// Keep the current index unchanged
|
|
10084
|
-
dispatchMenuEvent$1(this, 'auroMenu-navigateFailure', {
|
|
10085
|
-
reason: 'No interactive options available',
|
|
10086
|
-
direction,
|
|
10087
|
-
currentIndex: this.index
|
|
10088
|
-
});
|
|
10089
|
-
}
|
|
10090
|
-
}
|
|
10091
|
-
|
|
10092
|
-
/**
|
|
10093
|
-
* Updates the active option state and dispatches events.
|
|
10094
|
-
* @private
|
|
10095
|
-
* @param {number} index - Index of the option to make active.
|
|
10096
|
-
*/
|
|
10097
|
-
updateActiveOption(index) {
|
|
10098
|
-
if (!this.items || !this.items[index]) {
|
|
10099
|
-
return;
|
|
10100
|
-
}
|
|
10101
|
-
|
|
10102
|
-
this.items.forEach((item) => item.classList.remove('active'));
|
|
10103
|
-
this.items[index].classList.add('active');
|
|
10104
|
-
this.optionActive = this.items[index];
|
|
10105
|
-
|
|
10106
|
-
dispatchMenuEvent$1(this, 'auroMenu-activatedOption', this.items[index]);
|
|
10107
|
-
}
|
|
10108
|
-
|
|
10109
|
-
/**
|
|
10110
|
-
* Handles custom events defined on options.
|
|
10111
|
-
* @private
|
|
10112
|
-
* @param {HTMLElement} option - Option with custom event.
|
|
10113
|
-
*/
|
|
10114
|
-
handleCustomEvent(option) {
|
|
10115
|
-
const eventName = option.getAttribute('event');
|
|
10116
|
-
dispatchMenuEvent$1(this, eventName);
|
|
10117
|
-
dispatchMenuEvent$1(this, 'auroMenu-customEventFired');
|
|
10118
|
-
}
|
|
10119
|
-
|
|
10120
|
-
/**
|
|
10121
|
-
* Notifies selection change to parent components.
|
|
10122
|
-
* @private
|
|
10123
|
-
*/
|
|
10124
|
-
notifySelectionChange() {
|
|
10125
|
-
dispatchMenuEvent$1(this, 'auroMenu-selectedOption');
|
|
10126
|
-
}
|
|
10127
|
-
|
|
10128
|
-
/**
|
|
10129
|
-
* Checks if an option is currently selected.
|
|
10130
|
-
* @private
|
|
10131
|
-
* @param {HTMLElement} option - The option to check.
|
|
10132
|
-
* @returns {boolean}
|
|
10133
|
-
*/
|
|
10134
|
-
isOptionSelected(option) {
|
|
10135
|
-
if (!this.optionSelected) {
|
|
10136
|
-
return false;
|
|
10137
|
-
}
|
|
10138
|
-
// Always treat as array for both single and multi-select
|
|
10139
|
-
return Array.isArray(this.optionSelected) && this.optionSelected.includes(option);
|
|
10140
|
-
}
|
|
10141
|
-
|
|
10142
|
-
/**
|
|
10143
|
-
* Getter for loading placeholder state.
|
|
10144
|
-
* @returns {boolean} - True if loading slots are present and non-empty.
|
|
10145
|
-
*/
|
|
10146
|
-
get hasLoadingPlaceholder() {
|
|
10147
|
-
return this.loadingSlots && this.loadingSlots.length > 0;
|
|
10148
|
-
}
|
|
10149
|
-
|
|
10150
|
-
/**
|
|
10151
|
-
* Renders the component.
|
|
10152
|
-
* @returns {boolean} - True if loading slots are present and non-empty.
|
|
10153
|
-
*/
|
|
10154
|
-
render() {
|
|
10155
|
-
if (this.loading) {
|
|
10156
|
-
return x`
|
|
10157
|
-
<auro-menuoption disabled loadingplaceholder class="${this.hasLoadingPlaceholder ? '' : 'empty'}">
|
|
10158
|
-
<div>
|
|
10159
|
-
<slot name="loadingIcon"></slot>
|
|
10160
|
-
<slot name="loadingText"></slot>
|
|
10161
|
-
</div>
|
|
10162
|
-
</auro-menuoption>
|
|
10163
|
-
`;
|
|
10164
|
-
}
|
|
10165
|
-
|
|
10166
|
-
return x`<slot @slotchange=${this.handleSlotChange}></slot>`;
|
|
10167
|
-
}
|
|
10168
|
-
};
|
|
10169
|
-
|
|
10170
|
-
/**
|
|
10171
|
-
* @license
|
|
10172
|
-
* Copyright 2020 Google LLC
|
|
10173
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10174
|
-
*/
|
|
10175
|
-
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);
|
|
10176
|
-
|
|
10177
|
-
var styleCss$1$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}`;
|
|
10178
|
-
|
|
10179
|
-
var colorCss$1$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)}`;
|
|
10180
|
-
|
|
10181
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10182
|
-
// See LICENSE in the project root for license information.
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
class AuroDependencyVersioning {
|
|
10186
|
-
|
|
10187
|
-
/**
|
|
10188
|
-
* Generates a unique string to be used for child auro element naming.
|
|
10189
|
-
* @private
|
|
10190
|
-
* @param {string} baseName - Defines the first part of the unique element name.
|
|
10191
|
-
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
10192
|
-
* @returns {string} - Unique string to be used for naming.
|
|
10193
|
-
*/
|
|
10194
|
-
generateElementName(baseName, version) {
|
|
10195
|
-
let result = baseName;
|
|
10196
|
-
|
|
10197
|
-
result += '-';
|
|
10198
|
-
result += version.replace(/[.]/g, '_');
|
|
10199
|
-
|
|
10200
|
-
return result;
|
|
10201
|
-
}
|
|
10202
|
-
|
|
10203
|
-
/**
|
|
10204
|
-
* Generates a unique string to be used for child auro element naming.
|
|
10205
|
-
* @param {string} baseName - Defines the first part of the unique element name.
|
|
10206
|
-
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
10207
|
-
* @returns {string} - Unique string to be used for naming.
|
|
10208
|
-
*/
|
|
10209
|
-
generateTag(baseName, version, tagClass) {
|
|
10210
|
-
const elementName = this.generateElementName(baseName, version);
|
|
10211
|
-
const tag = i$1`${s(elementName)}`;
|
|
10212
|
-
|
|
10213
|
-
if (!customElements.get(elementName)) {
|
|
10214
|
-
customElements.define(elementName, class extends tagClass {});
|
|
10215
|
-
}
|
|
10216
|
-
|
|
10217
|
-
return tag;
|
|
10218
|
-
}
|
|
10219
|
-
}
|
|
10220
|
-
|
|
10221
|
-
/**
|
|
10222
|
-
* @license
|
|
10223
|
-
* Copyright 2017 Google LLC
|
|
10224
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10225
|
-
*/
|
|
10226
|
-
const t$3={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$1$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$6 = 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)}};
|
|
10227
|
-
|
|
10228
|
-
/**
|
|
10229
|
-
* @license
|
|
10230
|
-
* Copyright 2018 Google LLC
|
|
10231
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10232
|
-
*/const e$5=e$1$1(class extends i$6{constructor(t$1){if(super(t$1),t$1.type!==t$3.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}});
|
|
10233
|
-
|
|
10234
|
-
/**
|
|
10235
|
-
* @license
|
|
10236
|
-
* Copyright 2018 Google LLC
|
|
10237
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10238
|
-
*/const o$5=o=>o??E;
|
|
10239
|
-
|
|
10240
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10241
|
-
// See LICENSE in the project root for license information.
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
/**
|
|
10245
|
-
* @attr {Boolean} hidden - If present, the component will be hidden both visually and from screen readers
|
|
10246
|
-
* @attr {Boolean} hiddenVisually - If present, the component will be hidden visually, but still read by screen readers
|
|
10247
|
-
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
10248
|
-
*/
|
|
10249
|
-
|
|
10250
|
-
let AuroElement$1 = class AuroElement extends r {
|
|
10251
|
-
|
|
10252
|
-
// function to define props used within the scope of this component
|
|
10253
|
-
static get properties() {
|
|
10254
|
-
return {
|
|
10255
|
-
hidden: { type: Boolean,
|
|
10256
|
-
reflect: true },
|
|
10257
|
-
hiddenVisually: { type: Boolean,
|
|
10258
|
-
reflect: true },
|
|
10259
|
-
hiddenAudible: { type: Boolean,
|
|
10260
|
-
reflect: true },
|
|
10261
|
-
};
|
|
10262
|
-
}
|
|
10263
|
-
|
|
10264
|
-
/**
|
|
10265
|
-
* @private Function that determines state of aria-hidden
|
|
10266
|
-
*/
|
|
10267
|
-
hideAudible(value) {
|
|
10268
|
-
if (value) {
|
|
10269
|
-
return 'true'
|
|
10270
|
-
}
|
|
10271
|
-
|
|
10272
|
-
return 'false'
|
|
10273
|
-
}
|
|
10274
|
-
};
|
|
10275
|
-
|
|
10276
|
-
var error$1 = {"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>"};
|
|
10277
|
-
|
|
10278
|
-
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
10279
|
-
|
|
10280
|
-
const _fetchMap$1 = new Map();
|
|
10281
|
-
|
|
10282
|
-
/**
|
|
10283
|
-
* A callback to parse Response body.
|
|
10284
|
-
*
|
|
10285
|
-
* @callback ResponseParser
|
|
10286
|
-
* @param {Fetch.Response} response
|
|
10287
|
-
* @returns {Promise}
|
|
10288
|
-
*/
|
|
10289
|
-
|
|
10290
|
-
/**
|
|
10291
|
-
* A minimal in-memory map to de-duplicate Fetch API media requests.
|
|
10292
|
-
*
|
|
10293
|
-
* @param {String} uri
|
|
10294
|
-
* @param {Object} [options={}]
|
|
10295
|
-
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
10296
|
-
* @returns {Promise}
|
|
10297
|
-
*/
|
|
10298
|
-
const cacheFetch$1 = (uri, options = {}) => {
|
|
10299
|
-
const responseParser = options.responseParser || ((response) => response.text());
|
|
10300
|
-
if (!_fetchMap$1.has(uri)) {
|
|
10301
|
-
_fetchMap$1.set(uri, fetch(uri).then(responseParser));
|
|
10302
|
-
}
|
|
10303
|
-
return _fetchMap$1.get(uri);
|
|
10304
|
-
};
|
|
10305
|
-
|
|
10306
|
-
var styleCss$4 = 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}`;
|
|
10307
|
-
|
|
10308
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10309
|
-
// See LICENSE in the project root for license information.
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
10313
|
-
/**
|
|
10314
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
10315
|
-
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
10316
|
-
*/
|
|
10317
|
-
|
|
10318
|
-
// build the component class
|
|
10319
|
-
let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
10320
|
-
constructor() {
|
|
10321
|
-
super();
|
|
10322
|
-
this.onDark = false;
|
|
10323
|
-
}
|
|
10324
|
-
|
|
10325
|
-
// function to define props used within the scope of this component
|
|
10326
|
-
static get properties() {
|
|
10327
|
-
return {
|
|
10328
|
-
...super.properties,
|
|
10329
|
-
onDark: {
|
|
10330
|
-
type: Boolean,
|
|
10331
|
-
reflect: true
|
|
10332
|
-
},
|
|
10333
|
-
|
|
10334
|
-
/**
|
|
10335
|
-
* @private
|
|
10336
|
-
*/
|
|
10337
|
-
svg: {
|
|
10338
|
-
attribute: false,
|
|
10339
|
-
reflect: true
|
|
10340
|
-
}
|
|
10341
|
-
};
|
|
10342
|
-
}
|
|
10343
|
-
|
|
10344
|
-
static get styles() {
|
|
10345
|
-
return i$5`
|
|
10346
|
-
${styleCss$4}
|
|
10347
|
-
`;
|
|
10348
|
-
}
|
|
10349
|
-
|
|
10350
|
-
/**
|
|
10351
|
-
* Async function to fetch requested icon from npm CDN.
|
|
10352
|
-
* @private
|
|
10353
|
-
* @param {string} category - Icon category.
|
|
10354
|
-
* @param {string} name - Icon name.
|
|
10355
|
-
* @returns {SVGElement} DOM - Ready HTML to be appended.
|
|
10356
|
-
*/
|
|
10357
|
-
async fetchIcon(category, name) {
|
|
10358
|
-
let iconHTML = '';
|
|
10359
|
-
|
|
10360
|
-
if (category === 'logos') {
|
|
10361
|
-
iconHTML = await cacheFetch$1(`${this.uri}/${category}/${name}.svg`);
|
|
10362
|
-
} else {
|
|
10363
|
-
iconHTML = await cacheFetch$1(`${this.uri}/icons/${category}/${name}.svg`);
|
|
10364
|
-
}
|
|
10365
|
-
|
|
10366
|
-
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
10367
|
-
|
|
10368
|
-
return dom.body.querySelector('svg');
|
|
10369
|
-
}
|
|
10370
|
-
|
|
10371
|
-
// lifecycle function
|
|
10372
|
-
async firstUpdated() {
|
|
10373
|
-
if (!this.customSvg) {
|
|
10374
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
10375
|
-
|
|
10376
|
-
if (svg) {
|
|
10377
|
-
this.svg = svg;
|
|
10378
|
-
} else if (!svg) {
|
|
10379
|
-
const penDOM = new DOMParser().parseFromString(error$1.svg, 'text/html');
|
|
10380
|
-
|
|
10381
|
-
this.svg = penDOM.body.firstChild;
|
|
10382
|
-
}
|
|
10383
|
-
}
|
|
10384
|
-
}
|
|
10385
|
-
};
|
|
10386
|
-
|
|
10387
|
-
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)}`;
|
|
10388
|
-
|
|
10389
|
-
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)}`;
|
|
10390
|
-
|
|
10391
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10392
|
-
// See LICENSE in the project root for license information.
|
|
10393
|
-
|
|
10394
|
-
|
|
10395
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
10396
|
-
/**
|
|
10397
|
-
* auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
|
|
10398
|
-
*
|
|
10399
|
-
* @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
10400
|
-
* @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
|
|
10401
|
-
* @attr {Boolean} customColor - Removes primary selector.
|
|
10402
|
-
* @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
|
|
10403
|
-
* @attr {Boolean} label - Exposes content in slot as icon label.
|
|
10404
|
-
* @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
10405
|
-
* @attr {Boolean} accent - Sets the icon to use the accent style.
|
|
10406
|
-
* @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
|
|
10407
|
-
* @attr {Boolean} disabled - Sets the icon to use the disabled style.
|
|
10408
|
-
* @attr {Boolean} error - Sets the icon to use the error style.
|
|
10409
|
-
* @attr {Boolean} info - Sets the icon to use the info style.
|
|
10410
|
-
* @attr {Boolean} secondary - Sets the icon to use the secondary style.
|
|
10411
|
-
* @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
|
|
10412
|
-
* @attr {Boolean} subtle - Sets the icon to use the subtle style.
|
|
10413
|
-
* @attr {Boolean} success - Sets the icon to use the success style.
|
|
10414
|
-
* @attr {Boolean} warning - Sets the icon to use the warning style.
|
|
10415
|
-
* @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
|
|
10416
|
-
* @attr {String} uri - Set the uri for CDN used when fetching icons
|
|
10417
|
-
* @slot - Hidden from visibility, used for a11y if icon description is needed.
|
|
10418
|
-
* @slot svg - Used for custom SVG content.
|
|
10419
|
-
*/
|
|
10420
|
-
|
|
10421
|
-
// build the component class
|
|
10422
|
-
let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
10423
|
-
constructor() {
|
|
10424
|
-
super();
|
|
10425
|
-
|
|
10426
|
-
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
10427
|
-
|
|
10428
|
-
this.privateDefaults();
|
|
10429
|
-
}
|
|
10430
|
-
|
|
10431
|
-
/**
|
|
10432
|
-
* Internal Defaults.
|
|
10433
|
-
* @private
|
|
10434
|
-
* @returns {void}
|
|
10435
|
-
*/
|
|
10436
|
-
privateDefaults() {
|
|
10437
|
-
this.accent = false;
|
|
10438
|
-
this.customColor = false;
|
|
10439
|
-
this.customSvg = false;
|
|
10440
|
-
this.disabled = false;
|
|
10441
|
-
this.emphasis = false;
|
|
10442
|
-
this.error = false;
|
|
10443
|
-
this.info = false;
|
|
10444
|
-
this.label = false;
|
|
10445
|
-
this.primary = false;
|
|
10446
|
-
this.secondary = false;
|
|
10447
|
-
this.subtle = false;
|
|
10448
|
-
this.success = false;
|
|
10449
|
-
this.tertiary = false;
|
|
10450
|
-
this.warning = false;
|
|
10451
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
10452
|
-
}
|
|
10453
|
-
|
|
10454
|
-
// function to define props used within the scope of this component
|
|
10455
|
-
static get properties() {
|
|
10456
|
-
return {
|
|
10457
|
-
...super.properties,
|
|
10458
|
-
accent: {
|
|
10459
|
-
type: Boolean,
|
|
10460
|
-
reflect: true
|
|
10461
|
-
},
|
|
10462
|
-
ariaHidden: {
|
|
10463
|
-
type: String,
|
|
10464
|
-
reflect: true
|
|
10465
|
-
},
|
|
10466
|
-
category: {
|
|
10467
|
-
type: String,
|
|
10468
|
-
reflect: true
|
|
10469
|
-
},
|
|
10470
|
-
customColor: {
|
|
10471
|
-
type: Boolean
|
|
10472
|
-
},
|
|
10473
|
-
customSvg: {
|
|
10474
|
-
type: Boolean
|
|
10475
|
-
},
|
|
10476
|
-
disabled: {
|
|
10477
|
-
type: Boolean,
|
|
10478
|
-
reflect: true
|
|
10479
|
-
},
|
|
10480
|
-
emphasis: {
|
|
10481
|
-
type: Boolean,
|
|
10482
|
-
reflect: true
|
|
10483
|
-
},
|
|
10484
|
-
error: {
|
|
10485
|
-
type: Boolean,
|
|
10486
|
-
reflect: true
|
|
10487
|
-
},
|
|
10488
|
-
info: {
|
|
10489
|
-
type: Boolean,
|
|
10490
|
-
reflect: true
|
|
10491
|
-
},
|
|
10492
|
-
label: {
|
|
10493
|
-
type: Boolean,
|
|
10494
|
-
reflect: true
|
|
10495
|
-
},
|
|
10496
|
-
name: {
|
|
10497
|
-
type: String,
|
|
10498
|
-
reflect: true
|
|
10499
|
-
},
|
|
10500
|
-
primary: {
|
|
10501
|
-
type: Boolean,
|
|
10502
|
-
reflect: true
|
|
10503
|
-
},
|
|
10504
|
-
secondary: {
|
|
10505
|
-
type: Boolean,
|
|
10506
|
-
reflect: true
|
|
10507
|
-
},
|
|
10508
|
-
subtle: {
|
|
10509
|
-
type: Boolean,
|
|
10510
|
-
reflect: true
|
|
10511
|
-
},
|
|
10512
|
-
success: {
|
|
10513
|
-
type: Boolean,
|
|
10514
|
-
reflect: true
|
|
10515
|
-
},
|
|
10516
|
-
tertiary: {
|
|
10517
|
-
type: Boolean,
|
|
10518
|
-
reflect: true
|
|
10519
|
-
},
|
|
10520
|
-
uri: {
|
|
10521
|
-
type: String
|
|
10522
|
-
},
|
|
10523
|
-
warning: {
|
|
10524
|
-
type: Boolean,
|
|
10525
|
-
reflect: true
|
|
10526
|
-
}
|
|
10527
|
-
};
|
|
10528
|
-
}
|
|
10529
|
-
|
|
10530
|
-
static get styles() {
|
|
10531
|
-
return [
|
|
10532
|
-
super.styles,
|
|
10533
|
-
i$5`${tokensCss$2}`,
|
|
10534
|
-
i$5`${styleCss$4}`,
|
|
10535
|
-
i$5`${colorCss$3}`
|
|
10536
|
-
];
|
|
10537
|
-
}
|
|
10538
|
-
|
|
10539
|
-
/**
|
|
10540
|
-
* This will register this element with the browser.
|
|
10541
|
-
* @param {string} [name="auro-icon"] - The name of element that you want to register to.
|
|
10542
|
-
*
|
|
10543
|
-
* @example
|
|
10544
|
-
* AuroIcon.register("custom-icon") // this will register this element to <custom-icon/>
|
|
10545
|
-
*
|
|
10546
|
-
*/
|
|
10547
|
-
static register(name = "auro-icon") {
|
|
10548
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
10549
|
-
}
|
|
10550
|
-
|
|
10551
|
-
connectedCallback() {
|
|
10552
|
-
super.connectedCallback();
|
|
10553
|
-
|
|
10554
|
-
// Add the tag name as an attribute if it is different than the component name
|
|
10555
|
-
this.runtimeUtils.handleComponentTagRename(this, 'auro-icon');
|
|
10556
|
-
}
|
|
10557
|
-
|
|
10558
|
-
/**
|
|
10559
|
-
* @returns {void} Exposes CSS parts for styling from parent components.
|
|
8798
|
+
* Exposes CSS parts for styling from parent components.
|
|
8799
|
+
* @returns {void}
|
|
10560
8800
|
*/
|
|
10561
8801
|
exposeCssParts() {
|
|
10562
|
-
this.setAttribute('exportparts', '
|
|
8802
|
+
this.setAttribute('exportparts', 'bibtemplate:dropdownBibTemplate');
|
|
10563
8803
|
}
|
|
10564
8804
|
|
|
10565
8805
|
// function that renders the HTML and CSS into the scope of the component
|
|
10566
8806
|
render() {
|
|
10567
|
-
|
|
10568
|
-
|
|
10569
|
-
|
|
10570
|
-
|
|
10571
|
-
|
|
10572
|
-
|
|
10573
|
-
|
|
10574
|
-
|
|
10575
|
-
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
|
|
10579
|
-
|
|
10580
|
-
|
|
10581
|
-
<span aria-hidden="${o$5(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
10582
|
-
${this.customSvg ? x`
|
|
10583
|
-
<slot name="svg"></slot>
|
|
10584
|
-
` : x`
|
|
10585
|
-
${this.svg}
|
|
10586
|
-
`
|
|
10587
|
-
}
|
|
10588
|
-
</span>
|
|
8807
|
+
return u`
|
|
8808
|
+
<div id="bibTemplate" part="bibtemplate">
|
|
8809
|
+
${this.isFullscreen ? u`
|
|
8810
|
+
<div id="headerContainer">
|
|
8811
|
+
<button id="closeButton" @click="${this.onCloseButtonClick}">
|
|
8812
|
+
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
8813
|
+
</button>
|
|
8814
|
+
<${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header">
|
|
8815
|
+
<slot name="header"></slot>
|
|
8816
|
+
</${this.headerTag}>
|
|
8817
|
+
<span id="subheader">
|
|
8818
|
+
<slot name="subheader"></slot>
|
|
8819
|
+
</span>
|
|
8820
|
+
</div>` : null}
|
|
10589
8821
|
|
|
10590
|
-
<div
|
|
8822
|
+
<div id="bodyContainer">
|
|
10591
8823
|
<slot></slot>
|
|
10592
8824
|
</div>
|
|
8825
|
+
|
|
8826
|
+
${this.isFullscreen ? u`
|
|
8827
|
+
<div id="footerContainer">
|
|
8828
|
+
<slot name="footer"></slot>
|
|
8829
|
+
</div>` : null}
|
|
10593
8830
|
</div>
|
|
10594
|
-
|
|
8831
|
+
`;
|
|
10595
8832
|
}
|
|
10596
|
-
}
|
|
10597
|
-
|
|
10598
|
-
var iconVersion$1 = '6.1.2';
|
|
8833
|
+
}
|
|
10599
8834
|
|
|
10600
|
-
var
|
|
8835
|
+
var bibTemplateVersion = '1.0.0';
|
|
10601
8836
|
|
|
10602
|
-
|
|
10603
|
-
|
|
8837
|
+
/**
|
|
8838
|
+
* @license
|
|
8839
|
+
* Copyright 2019 Google LLC
|
|
8840
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8841
|
+
*/
|
|
8842
|
+
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;
|
|
10604
8843
|
|
|
8844
|
+
/**
|
|
8845
|
+
* @license
|
|
8846
|
+
* Copyright 2017 Google LLC
|
|
8847
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8848
|
+
*/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");
|
|
10605
8849
|
|
|
10606
8850
|
/**
|
|
10607
|
-
*
|
|
10608
|
-
*
|
|
10609
|
-
*
|
|
10610
|
-
* @attr {String} noCheckmark - When true, selected option will not show the checkmark.
|
|
10611
|
-
* @attr {Boolean} disabled - When true specifies that the menuoption is disabled.
|
|
10612
|
-
* @attr {Boolean} selected - Specifies that an option is selected.
|
|
10613
|
-
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
10614
|
-
* @slot - Specifies text for an option, but is not the value.
|
|
8851
|
+
* @license
|
|
8852
|
+
* Copyright 2017 Google LLC
|
|
8853
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
10615
8854
|
*/
|
|
10616
|
-
let
|
|
10617
|
-
constructor() {
|
|
10618
|
-
super();
|
|
8855
|
+
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};
|
|
10619
8856
|
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
8857
|
+
/**
|
|
8858
|
+
* @license
|
|
8859
|
+
* Copyright 2017 Google LLC
|
|
8860
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8861
|
+
*/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");
|
|
10625
8862
|
|
|
10626
|
-
this.selected = false;
|
|
10627
|
-
this.nocheckmark = false;
|
|
10628
|
-
this.disabled = false;
|
|
8863
|
+
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)}`;
|
|
10629
8864
|
|
|
10630
|
-
|
|
10631
|
-
* @private
|
|
10632
|
-
*/
|
|
10633
|
-
this.tabIndex = -1;
|
|
8865
|
+
i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
|
|
10634
8866
|
|
|
10635
|
-
|
|
10636
|
-
* @private
|
|
10637
|
-
*/
|
|
10638
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
10639
|
-
}
|
|
8867
|
+
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)}`;
|
|
10640
8868
|
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
|
|
10648
|
-
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
}
|
|
10662
|
-
};
|
|
8869
|
+
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8870
|
+
// See LICENSE in the project root for license information.
|
|
8871
|
+
|
|
8872
|
+
// ---------------------------------------------------------------------
|
|
8873
|
+
|
|
8874
|
+
/**
|
|
8875
|
+
* Converts value to an array.
|
|
8876
|
+
* If the value is a JSON string representing an array, it will be parsed.
|
|
8877
|
+
* If the value is already an array, it is returned.
|
|
8878
|
+
* If the value is undefined, it returns undefined.
|
|
8879
|
+
* @private
|
|
8880
|
+
* @param {any} value - The value to be converted. Can be a string, array, or undefined.
|
|
8881
|
+
* @returns {Array|undefined} - The converted array or undefined.
|
|
8882
|
+
* @throws {Error} - Throws an error if the value is not an array, undefined,
|
|
8883
|
+
* or if the value cannot be parsed into an array from a JSON string.
|
|
8884
|
+
*/
|
|
8885
|
+
function arrayConverter$1(value) {
|
|
8886
|
+
// Allow undefined
|
|
8887
|
+
if (value === undefined) {
|
|
8888
|
+
return undefined;
|
|
10663
8889
|
}
|
|
10664
8890
|
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
colorCss$1$1,
|
|
10669
|
-
tokensCss$1$1
|
|
10670
|
-
];
|
|
8891
|
+
// Return the value if it is already an array
|
|
8892
|
+
if (Array.isArray(value)) {
|
|
8893
|
+
return value;
|
|
10671
8894
|
}
|
|
10672
8895
|
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
8896
|
+
try {
|
|
8897
|
+
// If value is a JSON string, parse it
|
|
8898
|
+
const parsed = typeof value === 'string' ? JSON.parse(value) : value;
|
|
8899
|
+
|
|
8900
|
+
// Check if the parsed value is an array
|
|
8901
|
+
if (Array.isArray(parsed)) {
|
|
8902
|
+
return parsed;
|
|
8903
|
+
}
|
|
8904
|
+
} catch (error) {
|
|
8905
|
+
// If JSON parsing fails, continue to throw an error below
|
|
8906
|
+
/* eslint-disable no-console */
|
|
8907
|
+
console.error('JSON parsing failed:', error);
|
|
10683
8908
|
}
|
|
10684
8909
|
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
8910
|
+
// Throw error if the input is not an array or undefined
|
|
8911
|
+
throw new Error('Invalid value: Input must be an array or undefined');
|
|
8912
|
+
}
|
|
10688
8913
|
|
|
10689
|
-
|
|
10690
|
-
|
|
8914
|
+
/**
|
|
8915
|
+
* Compare two arrays for equality.
|
|
8916
|
+
* @private
|
|
8917
|
+
* @param {Array} arr1 - First array to compare.
|
|
8918
|
+
* @param {Array} arr2 - Second array to compare.
|
|
8919
|
+
* @returns {boolean} True if arrays are equal.
|
|
8920
|
+
*/
|
|
8921
|
+
function arraysAreEqual$1(arr1, arr2) {
|
|
8922
|
+
// If both arrays undefined, they are equal (true)
|
|
8923
|
+
if (arr1 === undefined || arr2 === undefined) {
|
|
8924
|
+
return arr1 === arr2;
|
|
8925
|
+
}
|
|
10691
8926
|
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
cancelable: false,
|
|
10696
|
-
composed: true,
|
|
10697
|
-
detail: this
|
|
10698
|
-
}));
|
|
10699
|
-
});
|
|
8927
|
+
// If arrays have different lengths, they are not equal
|
|
8928
|
+
if (arr1.length !== arr2.length) {
|
|
8929
|
+
return false;
|
|
10700
8930
|
}
|
|
10701
8931
|
|
|
10702
|
-
//
|
|
10703
|
-
|
|
10704
|
-
if (
|
|
10705
|
-
|
|
8932
|
+
// If every item at each index is the same, return true
|
|
8933
|
+
for (let index = 0; index < arr1.length; index += 1) {
|
|
8934
|
+
if (arr1[index] !== arr2[index]) {
|
|
8935
|
+
return false;
|
|
10706
8936
|
}
|
|
10707
8937
|
}
|
|
8938
|
+
return true;
|
|
8939
|
+
}
|
|
10708
8940
|
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
8941
|
+
/**
|
|
8942
|
+
* Compares array for changes.
|
|
8943
|
+
* @private
|
|
8944
|
+
* @param {Array|any} newVal - New value to compare.
|
|
8945
|
+
* @param {Array|any} oldVal - Old value to compare.
|
|
8946
|
+
* @returns {boolean} True if arrays have changed.
|
|
8947
|
+
*/
|
|
8948
|
+
function arrayOrUndefinedHasChanged$1(newVal, oldVal) {
|
|
8949
|
+
try {
|
|
8950
|
+
// Check if values are undefined or arrays
|
|
8951
|
+
const isArrayOrUndefined = (val) => val === undefined || Array.isArray(val);
|
|
10719
8952
|
|
|
10720
|
-
|
|
8953
|
+
// If non-array or non-undefined, throw error
|
|
8954
|
+
if (!isArrayOrUndefined(newVal) || !isArrayOrUndefined(oldVal)) {
|
|
8955
|
+
const invalidValue = isArrayOrUndefined(newVal) ? oldVal : newVal;
|
|
8956
|
+
throw new Error(`Value must be an array or undefined, received ${typeof invalidValue}`);
|
|
8957
|
+
}
|
|
10721
8958
|
|
|
10722
|
-
|
|
8959
|
+
// Return true if arrays have changed, false if they are the same
|
|
8960
|
+
return !arraysAreEqual$1(newVal, oldVal);
|
|
8961
|
+
} catch (error) {
|
|
8962
|
+
/* eslint-disable no-console */
|
|
8963
|
+
console.error(error);
|
|
8964
|
+
// If validation fails, it has changed
|
|
8965
|
+
return true;
|
|
10723
8966
|
}
|
|
8967
|
+
}
|
|
10724
8968
|
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
}
|
|
10731
|
-
};
|
|
8969
|
+
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}`;
|
|
8970
|
+
|
|
8971
|
+
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)}`;
|
|
8972
|
+
|
|
8973
|
+
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}`;
|
|
10732
8974
|
|
|
10733
|
-
|
|
10734
|
-
|
|
8975
|
+
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)}`;
|
|
8976
|
+
|
|
8977
|
+
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)}`;
|
|
10735
8978
|
|
|
10736
8979
|
var styleCss$3 = i$g`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-input]{min-height:var(--ds-size-700, 3.5rem);max-height:var(--ds-size-700, 3.5rem)}[auro-input]::part(iconContainer){top:0;display:flex;height:100%;align-items:center}[auro-input]::part(accentIcon){transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}[auro-input]::part(helpText){display:none}[auro-input]::part(wrapper){border-width:0 !important;box-shadow:unset !important;outline:unset !important;--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}`;
|
|
10737
8980
|
|
|
@@ -10774,11 +9017,11 @@ class AuroCombobox extends r$b {
|
|
|
10774
9017
|
|
|
10775
9018
|
this.validation = new AuroFormValidation$1();
|
|
10776
9019
|
|
|
10777
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9020
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
10778
9021
|
|
|
10779
9022
|
this.isHiddenWhileLoading = false;
|
|
10780
9023
|
|
|
10781
|
-
const versioning = new AuroDependencyVersioning$
|
|
9024
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
10782
9025
|
|
|
10783
9026
|
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
10784
9027
|
this.bibtemplateTag = versioning.generateTag('auro-bibtemplate', bibTemplateVersion, AuroBibtemplate);
|
|
@@ -10951,7 +9194,7 @@ class AuroCombobox extends r$b {
|
|
|
10951
9194
|
*
|
|
10952
9195
|
*/
|
|
10953
9196
|
static register(name = 'auro-combobox') {
|
|
10954
|
-
AuroLibraryRuntimeUtils$
|
|
9197
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroCombobox);
|
|
10955
9198
|
}
|
|
10956
9199
|
|
|
10957
9200
|
/**
|
|
@@ -11922,7 +10165,7 @@ class AuroMenu extends r$b {
|
|
|
11922
10165
|
*
|
|
11923
10166
|
*/
|
|
11924
10167
|
static register(name = "auro-menu") {
|
|
11925
|
-
AuroLibraryRuntimeUtils$
|
|
10168
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroMenu);
|
|
11926
10169
|
}
|
|
11927
10170
|
|
|
11928
10171
|
// Lifecycle Methods
|
|
@@ -11946,7 +10189,7 @@ class AuroMenu extends r$b {
|
|
|
11946
10189
|
}
|
|
11947
10190
|
|
|
11948
10191
|
firstUpdated() {
|
|
11949
|
-
AuroLibraryRuntimeUtils$
|
|
10192
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
11950
10193
|
|
|
11951
10194
|
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
11952
10195
|
this.initializeMenu();
|
|
@@ -12468,7 +10711,7 @@ class AuroMenu extends r$b {
|
|
|
12468
10711
|
*/
|
|
12469
10712
|
render() {
|
|
12470
10713
|
if (this.loading) {
|
|
12471
|
-
return x$
|
|
10714
|
+
return x$3`
|
|
12472
10715
|
<auro-menuoption disabled loadingplaceholder class="${this.hasLoadingPlaceholder ? '' : 'empty'}">
|
|
12473
10716
|
<div>
|
|
12474
10717
|
<slot name="loadingIcon"></slot>
|
|
@@ -12478,7 +10721,7 @@ class AuroMenu extends r$b {
|
|
|
12478
10721
|
`;
|
|
12479
10722
|
}
|
|
12480
10723
|
|
|
12481
|
-
return x$
|
|
10724
|
+
return x$3`<slot @slotchange=${this.handleSlotChange}></slot>`;
|
|
12482
10725
|
}
|
|
12483
10726
|
}
|
|
12484
10727
|
|
|
@@ -12491,13 +10734,13 @@ var colorCss$1 = i$g`:host{background-color:var(--ds-auro-menuoption-container-c
|
|
|
12491
10734
|
* Copyright 2017 Google LLC
|
|
12492
10735
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12493
10736
|
*/
|
|
12494
|
-
const t={ATTRIBUTE:1
|
|
10737
|
+
const t={ATTRIBUTE:1},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)}}
|
|
12495
10738
|
|
|
12496
10739
|
/**
|
|
12497
10740
|
* @license
|
|
12498
10741
|
* Copyright 2018 Google LLC
|
|
12499
10742
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12500
|
-
*/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(
|
|
10743
|
+
*/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(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$4}});
|
|
12501
10744
|
|
|
12502
10745
|
/**
|
|
12503
10746
|
* @license
|
|
@@ -12541,7 +10784,7 @@ class AuroElement extends r$b {
|
|
|
12541
10784
|
}
|
|
12542
10785
|
}
|
|
12543
10786
|
|
|
12544
|
-
var error = {"
|
|
10787
|
+
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>"};
|
|
12545
10788
|
|
|
12546
10789
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
12547
10790
|
|
|
@@ -12716,7 +10959,7 @@ class AuroIcon extends BaseIcon {
|
|
|
12716
10959
|
this.success = false;
|
|
12717
10960
|
this.tertiary = false;
|
|
12718
10961
|
this.warning = false;
|
|
12719
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
10962
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
12720
10963
|
}
|
|
12721
10964
|
|
|
12722
10965
|
// function to define props used within the scope of this component
|
|
@@ -12813,7 +11056,7 @@ class AuroIcon extends BaseIcon {
|
|
|
12813
11056
|
*
|
|
12814
11057
|
*/
|
|
12815
11058
|
static register(name = "auro-icon") {
|
|
12816
|
-
AuroLibraryRuntimeUtils$
|
|
11059
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroIcon);
|
|
12817
11060
|
}
|
|
12818
11061
|
|
|
12819
11062
|
connectedCallback() {
|
|
@@ -12842,14 +11085,14 @@ class AuroIcon extends BaseIcon {
|
|
|
12842
11085
|
'wrapper': true,
|
|
12843
11086
|
};
|
|
12844
11087
|
|
|
12845
|
-
return x$
|
|
11088
|
+
return x$3`
|
|
12846
11089
|
<div
|
|
12847
11090
|
class="${e(classes)}"
|
|
12848
11091
|
title="${o(this.title || undefined)}">
|
|
12849
11092
|
<span aria-hidden="${o(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
12850
|
-
${this.customSvg ? x$
|
|
11093
|
+
${this.customSvg ? x$3`
|
|
12851
11094
|
<slot name="svg"></slot>
|
|
12852
|
-
` : x$
|
|
11095
|
+
` : x$3`
|
|
12853
11096
|
${this.svg}
|
|
12854
11097
|
`
|
|
12855
11098
|
}
|
|
@@ -12865,7 +11108,7 @@ class AuroIcon extends BaseIcon {
|
|
|
12865
11108
|
|
|
12866
11109
|
var iconVersion = '6.1.2';
|
|
12867
11110
|
|
|
12868
|
-
var checkmarkIcon = {"
|
|
11111
|
+
var checkmarkIcon = {"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>"};
|
|
12869
11112
|
|
|
12870
11113
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12871
11114
|
// See LICENSE in the project root for license information.
|
|
@@ -12888,7 +11131,7 @@ class AuroMenuOption extends r$b {
|
|
|
12888
11131
|
/**
|
|
12889
11132
|
* Generate unique names for dependency components.
|
|
12890
11133
|
*/
|
|
12891
|
-
const versioning = new AuroDependencyVersioning$
|
|
11134
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
12892
11135
|
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
12893
11136
|
|
|
12894
11137
|
this.selected = false;
|
|
@@ -12903,7 +11146,7 @@ class AuroMenuOption extends r$b {
|
|
|
12903
11146
|
/**
|
|
12904
11147
|
* @private
|
|
12905
11148
|
*/
|
|
12906
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
11149
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
12907
11150
|
}
|
|
12908
11151
|
|
|
12909
11152
|
static get properties() {
|
|
@@ -12947,7 +11190,7 @@ class AuroMenuOption extends r$b {
|
|
|
12947
11190
|
*
|
|
12948
11191
|
*/
|
|
12949
11192
|
static register(name = "auro-menuoption") {
|
|
12950
|
-
AuroLibraryRuntimeUtils$
|
|
11193
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroMenuOption);
|
|
12951
11194
|
}
|
|
12952
11195
|
|
|
12953
11196
|
firstUpdated() {
|