@aurodesignsystem/auro-formkit 2.0.0-beta.40 → 2.0.0-beta.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/cache/04e52430125e8954-meta.json +1 -0
- package/.turbo/cache/04e52430125e8954.tar.zst +0 -0
- package/.turbo/cache/0593ea8b5b3ed321-meta.json +1 -0
- package/.turbo/cache/068b8eef3688b4e2-meta.json +1 -0
- package/.turbo/cache/068b8eef3688b4e2.tar.zst +0 -0
- package/.turbo/cache/06c6468593bc10ab-meta.json +1 -0
- package/.turbo/cache/06c6468593bc10ab.tar.zst +0 -0
- package/.turbo/cache/0c48a4d7b5aac928-meta.json +1 -0
- package/.turbo/cache/0c48a4d7b5aac928.tar.zst +0 -0
- package/.turbo/cache/1959dd19c8cca5b3-meta.json +1 -0
- package/.turbo/cache/1c16e59f30927b15-meta.json +1 -0
- package/.turbo/cache/29ac8c4304c43ba8-meta.json +1 -0
- package/.turbo/cache/29ac8c4304c43ba8.tar.zst +0 -0
- package/.turbo/cache/2b46337c7a6faa1f-meta.json +1 -0
- package/.turbo/cache/33b12bddab905466-meta.json +1 -0
- package/.turbo/cache/{6d48e8dc24e08c8c.tar.zst → 33b12bddab905466.tar.zst} +0 -0
- package/.turbo/cache/3e068f9ea52e35fd-meta.json +1 -0
- package/.turbo/cache/3f6725da0ddcb57a-meta.json +1 -0
- package/.turbo/cache/3fa3b39e63c49920-meta.json +1 -0
- package/.turbo/cache/3fbb4335136fe72b-meta.json +1 -0
- package/.turbo/cache/3fbb4335136fe72b.tar.zst +0 -0
- package/.turbo/cache/4d32cb975704a7bc-meta.json +1 -0
- package/.turbo/cache/4d32cb975704a7bc.tar.zst +0 -0
- package/.turbo/cache/504dc5478398bc23-meta.json +1 -0
- package/.turbo/cache/504dc5478398bc23.tar.zst +0 -0
- package/.turbo/cache/5736b4ba6916fd8d-meta.json +1 -0
- package/.turbo/cache/5736b4ba6916fd8d.tar.zst +0 -0
- package/.turbo/cache/5aae6a716a40ac0d-meta.json +1 -0
- package/.turbo/cache/618b3075ce2d9a61-meta.json +1 -0
- package/.turbo/cache/618b3075ce2d9a61.tar.zst +0 -0
- package/.turbo/cache/67c13dfc4fd939fc-meta.json +1 -0
- package/.turbo/cache/68fe65245fb34e68-meta.json +1 -0
- package/.turbo/cache/68fe65245fb34e68.tar.zst +0 -0
- package/.turbo/cache/6a25a3c0fc92f44d-meta.json +1 -0
- package/.turbo/cache/6a25a3c0fc92f44d.tar.zst +0 -0
- package/.turbo/cache/6cd6d76ac166da16-meta.json +1 -0
- package/.turbo/cache/71cd21072abc2990-meta.json +1 -0
- package/.turbo/cache/7b4e0f3ba43fedf0-meta.json +1 -0
- package/.turbo/cache/7b9897d3439462f4-meta.json +1 -0
- package/.turbo/cache/7b9897d3439462f4.tar.zst +0 -0
- package/.turbo/cache/80a42a1ee43a7b11-meta.json +1 -0
- package/.turbo/cache/{7a2e937d0f5acb7c.tar.zst → 80a42a1ee43a7b11.tar.zst} +0 -0
- package/.turbo/cache/80bda930b819e4e5-meta.json +1 -0
- package/.turbo/cache/826ecc96865e3b2b-meta.json +1 -0
- package/.turbo/cache/{4aadd7fe6b69cccf.tar.zst → 826ecc96865e3b2b.tar.zst} +0 -0
- package/.turbo/cache/8a66291a4385f56d-meta.json +1 -0
- package/.turbo/cache/8b33dd53ac78ffcb-meta.json +1 -0
- package/.turbo/cache/8b33dd53ac78ffcb.tar.zst +0 -0
- package/.turbo/cache/922ac9eb482cf470-meta.json +1 -0
- package/.turbo/cache/939cf3ccc40e9ab0-meta.json +1 -0
- package/.turbo/cache/{47d63056350252e5.tar.zst → 939cf3ccc40e9ab0.tar.zst} +0 -0
- package/.turbo/cache/997795fcad6346cf-meta.json +1 -0
- package/.turbo/cache/9d39077f59442e6d-meta.json +1 -0
- package/.turbo/cache/9f33c2699df2acc2-meta.json +1 -0
- package/.turbo/cache/9f33c2699df2acc2.tar.zst +0 -0
- package/.turbo/cache/a95cdb7b2836627c-meta.json +1 -0
- package/.turbo/cache/aa7a71eea03e0057-meta.json +1 -0
- package/.turbo/cache/ac01a85fedf6d42a-meta.json +1 -0
- package/.turbo/cache/ac01a85fedf6d42a.tar.zst +0 -0
- package/.turbo/cache/b0b5371ee9e6fd7b-meta.json +1 -0
- package/.turbo/cache/b0b5371ee9e6fd7b.tar.zst +0 -0
- package/.turbo/cache/b21472a210e5d253-meta.json +1 -0
- package/.turbo/cache/b21472a210e5d253.tar.zst +0 -0
- package/.turbo/cache/ba6844de212fdfc5-meta.json +1 -0
- package/.turbo/cache/bb95b8c7cc483fe7-meta.json +1 -0
- package/.turbo/cache/bb95b8c7cc483fe7.tar.zst +0 -0
- package/.turbo/cache/be89ec729b2d7aa1-meta.json +1 -0
- package/.turbo/cache/be89ec729b2d7aa1.tar.zst +0 -0
- package/.turbo/cache/c0c0f7ab71b548fe-meta.json +1 -0
- package/.turbo/cache/c0c0f7ab71b548fe.tar.zst +0 -0
- package/.turbo/cache/c4b442aa3a612c5a-meta.json +1 -0
- package/.turbo/cache/c833fd369811f0b3-meta.json +1 -0
- package/.turbo/cache/c833fd369811f0b3.tar.zst +0 -0
- package/.turbo/cache/cc1bb0ba75999fd5-meta.json +1 -0
- package/.turbo/cache/cc1bb0ba75999fd5.tar.zst +0 -0
- package/.turbo/cache/cc999fcae80b9892-meta.json +1 -0
- package/.turbo/cache/cf739f73c4d81043-meta.json +1 -0
- package/.turbo/cache/cf87272227a0d544-meta.json +1 -0
- package/.turbo/cache/cf87272227a0d544.tar.zst +0 -0
- package/.turbo/cache/d09e82feba2c48a3-meta.json +1 -0
- package/.turbo/cache/d264bb58130e3915-meta.json +1 -0
- package/.turbo/cache/d4fda50b9aa326d9-meta.json +1 -0
- package/.turbo/cache/da0461631780f1e1-meta.json +1 -0
- package/.turbo/cache/dbdfe30495790f74-meta.json +1 -0
- package/.turbo/cache/dea41fd4a13eb241-meta.json +1 -0
- package/.turbo/cache/e229b033acee0336-meta.json +1 -0
- package/.turbo/cache/ed401f9a734e292c-meta.json +1 -0
- package/.turbo/cache/efafac21cf262b2c-meta.json +1 -0
- package/.turbo/cache/{b323342fa340ccb5.tar.zst → efafac21cf262b2c.tar.zst} +0 -0
- package/.turbo/cache/f20df212682f7978-meta.json +1 -0
- package/.turbo/cache/f20df212682f7978.tar.zst +0 -0
- package/.turbo/cache/f272ad05432871ac-meta.json +1 -0
- package/CHANGELOG.md +27 -0
- package/components/bibtemplate/.stylelintrc.json +3 -0
- package/components/bibtemplate/.turbo/turbo-build$colon$sass.log +24 -0
- package/components/bibtemplate/.turbo/turbo-build$colon$version.log +10 -0
- package/components/bibtemplate/.turbo/turbo-build.log +49 -0
- package/components/bibtemplate/.turbo/turbo-bundler.log +7 -0
- package/components/bibtemplate/.turbo/turbo-postCss$colon$component.log +4 -0
- package/components/bibtemplate/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/bibtemplate/.turbo/turbo-types.log +4 -0
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +39 -0
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts.map +1 -0
- package/components/bibtemplate/dist/headerVersion.d.ts +3 -0
- package/components/bibtemplate/dist/headerVersion.d.ts.map +1 -0
- package/components/bibtemplate/dist/iconVersion.d.ts +3 -0
- package/components/bibtemplate/dist/iconVersion.d.ts.map +1 -0
- package/components/bibtemplate/dist/index.d.ts +3 -0
- package/components/bibtemplate/dist/index.d.ts.map +1 -0
- package/components/bibtemplate/dist/index.js +792 -0
- package/components/bibtemplate/dist/styles/color-css.d.ts +3 -0
- package/components/bibtemplate/dist/styles/color-css.d.ts.map +1 -0
- package/components/bibtemplate/dist/styles/style-css.d.ts +3 -0
- package/components/bibtemplate/dist/styles/style-css.d.ts.map +1 -0
- package/components/bibtemplate/dist/styles/tokens-css.d.ts +3 -0
- package/components/bibtemplate/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/bibtemplate/node_modules/chalk/package.json +83 -0
- package/components/bibtemplate/node_modules/chalk/readme.md +297 -0
- package/components/bibtemplate/node_modules/chalk/source/index.d.ts +325 -0
- package/components/bibtemplate/node_modules/chalk/source/index.js +225 -0
- package/components/bibtemplate/node_modules/chalk/source/utilities.js +33 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/bibtemplate/package.json +60 -0
- package/components/bibtemplate/src/auro-bibtemplate.js +137 -0
- package/components/bibtemplate/src/headerVersion.js +1 -0
- package/components/bibtemplate/src/iconVersion.js +1 -0
- package/components/bibtemplate/src/index.js +6 -0
- package/components/bibtemplate/src/styles/color-css.js +2 -0
- package/components/bibtemplate/src/styles/color.css +1 -0
- package/components/bibtemplate/src/styles/color.scss +0 -0
- package/components/bibtemplate/src/styles/style-css.js +2 -0
- package/components/bibtemplate/src/styles/style.css +58 -0
- package/components/bibtemplate/src/styles/style.scss +62 -0
- package/components/bibtemplate/src/styles/tokens-css.js +2 -0
- package/components/bibtemplate/src/styles/tokens.css +3 -0
- package/components/bibtemplate/src/styles/tokens.scss +5 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/combobox/.turbo/turbo-build.log +5 -0
- package/components/combobox/README.md +6 -4
- package/components/combobox/demo/api.md +79 -0
- package/components/combobox/demo/api.min.js +1529 -514
- package/components/combobox/demo/index.md +16 -0
- package/components/combobox/demo/index.min.js +1529 -514
- package/components/combobox/dist/auro-combobox.d.ts +45 -2
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/bibtemplateVersion.d.ts +3 -0
- package/components/combobox/dist/bibtemplateVersion.d.ts.map +1 -0
- package/components/combobox/dist/index.js +1454 -439
- package/components/combobox/package.json +1 -0
- package/components/combobox/src/auro-combobox.js +172 -23
- package/components/combobox/src/bibtemplateVersion.js +1 -0
- package/components/combobox/src/styles/style-css.js +1 -1
- package/components/combobox/src/styles/style.css +0 -4
- package/components/combobox/src/styles/style.scss +0 -8
- package/components/counter/.turbo/turbo-build.log +2 -2
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.min.js +244 -168
- package/components/counter/demo/index.min.js +244 -168
- package/components/counter/dist/index.js +244 -168
- package/components/datepicker/.turbo/turbo-build.log +3 -3
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.min.js +245 -169
- package/components/datepicker/demo/index.min.js +245 -169
- package/components/datepicker/dist/index.js +245 -169
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/dropdown/.turbo/turbo-build.log +6 -3
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.md +6 -4
- package/components/dropdown/demo/api.min.js +244 -168
- package/components/dropdown/demo/index.min.js +244 -168
- package/components/dropdown/dist/auro-dropdown.d.ts +17 -3
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +8 -0
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
- package/components/dropdown/dist/dropdownVersion.d.ts +3 -0
- package/components/dropdown/dist/dropdownVersion.d.ts.map +1 -0
- package/components/dropdown/dist/index.js +244 -168
- package/components/dropdown/src/auro-dropdown.js +25 -4
- package/components/dropdown/src/auro-dropdownBib.js +27 -5
- package/components/dropdown/src/dropdownVersion.js +1 -0
- package/components/dropdown/src/styles/bibStyles-css.js +1 -1
- package/components/dropdown/src/styles/bibStyles.css +1 -0
- package/components/dropdown/src/styles/bibStyles.scss +1 -0
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +1 -1
- package/components/form/demo/api.min.js +15 -2
- package/components/form/demo/index.min.js +15 -2
- package/components/form/dist/auro-form.d.ts +1 -0
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +15 -2
- package/components/form/src/auro-form.js +15 -2
- package/components/helptext/.turbo/turbo-build.log +1 -1
- package/components/helptext/.turbo/turbo-bundler.log +1 -1
- package/components/input/.turbo/turbo-build.log +3 -3
- package/components/input/README.md +1 -1
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/select/.turbo/turbo-build.log +2 -2
- package/components/select/README.md +3 -3
- package/components/select/demo/api.min.js +244 -168
- package/components/select/demo/index.min.js +244 -168
- package/components/select/dist/index.js +244 -168
- package/package.json +2 -2
- package/turbo.json +1 -0
- package/.turbo/cache/006be80261b993a5-meta.json +0 -1
- package/.turbo/cache/006be80261b993a5.tar.zst +0 -0
- package/.turbo/cache/03338963f2ae4c89-meta.json +0 -1
- package/.turbo/cache/06dfc9c20aacd0fa-meta.json +0 -1
- package/.turbo/cache/075034ccdb82fbea-meta.json +0 -1
- package/.turbo/cache/0ff927ad868537f6-meta.json +0 -1
- package/.turbo/cache/0ff927ad868537f6.tar.zst +0 -0
- package/.turbo/cache/10b8500a6b0c6655-meta.json +0 -1
- package/.turbo/cache/138466aaa06fa946-meta.json +0 -1
- package/.turbo/cache/1a8525cb6ad91e2a-meta.json +0 -1
- package/.turbo/cache/1a8525cb6ad91e2a.tar.zst +0 -0
- package/.turbo/cache/1c347bdf63624c8a-meta.json +0 -1
- package/.turbo/cache/1d4e8167ea8e924f-meta.json +0 -1
- package/.turbo/cache/2289d12debb3c42c-meta.json +0 -1
- package/.turbo/cache/2289d12debb3c42c.tar.zst +0 -0
- package/.turbo/cache/22fc147c04804f70-meta.json +0 -1
- package/.turbo/cache/2d51091c22fc92f5-meta.json +0 -1
- package/.turbo/cache/2d51091c22fc92f5.tar.zst +0 -0
- package/.turbo/cache/3025cdff2ca7afbf-meta.json +0 -1
- package/.turbo/cache/3082b3a86c0f9b94-meta.json +0 -1
- package/.turbo/cache/366fc19b143f7957-meta.json +0 -1
- package/.turbo/cache/366fc19b143f7957.tar.zst +0 -0
- package/.turbo/cache/3dba2f8fdc7eb1d0-meta.json +0 -1
- package/.turbo/cache/43995f6c84a2de33-meta.json +0 -1
- package/.turbo/cache/45d6aea680ecb5ec-meta.json +0 -1
- package/.turbo/cache/45ecc27552696bd6-meta.json +0 -1
- package/.turbo/cache/45ecc27552696bd6.tar.zst +0 -0
- package/.turbo/cache/47d63056350252e5-meta.json +0 -1
- package/.turbo/cache/4aadd7fe6b69cccf-meta.json +0 -1
- package/.turbo/cache/5b3bb164db4c477c-meta.json +0 -1
- package/.turbo/cache/6bfd7cffad1e6b8a-meta.json +0 -1
- package/.turbo/cache/6d48e8dc24e08c8c-meta.json +0 -1
- package/.turbo/cache/70e65d2581c9de95-meta.json +0 -1
- package/.turbo/cache/78629f56974cc5d7-meta.json +0 -1
- package/.turbo/cache/78629f56974cc5d7.tar.zst +0 -0
- package/.turbo/cache/7a2e937d0f5acb7c-meta.json +0 -1
- package/.turbo/cache/85f181c5a0ebfdc3-meta.json +0 -1
- package/.turbo/cache/8830b8b624914679-meta.json +0 -1
- package/.turbo/cache/8830b8b624914679.tar.zst +0 -0
- package/.turbo/cache/88d4c5b7339b081b-meta.json +0 -1
- package/.turbo/cache/8f20a1cd3533e2cb-meta.json +0 -1
- package/.turbo/cache/91de2098a36b6939-meta.json +0 -1
- package/.turbo/cache/96edc0764ed4ab77-meta.json +0 -1
- package/.turbo/cache/a776eb6f87cd7464-meta.json +0 -1
- package/.turbo/cache/aa2a6d9e7beff7fc-meta.json +0 -1
- package/.turbo/cache/aa2a6d9e7beff7fc.tar.zst +0 -0
- package/.turbo/cache/ac47b2df8381d990-meta.json +0 -1
- package/.turbo/cache/ac47b2df8381d990.tar.zst +0 -0
- package/.turbo/cache/ac98992ca27cd36e-meta.json +0 -1
- package/.turbo/cache/b323342fa340ccb5-meta.json +0 -1
- package/.turbo/cache/b681d1652a7f2aca-meta.json +0 -1
- package/.turbo/cache/b681d1652a7f2aca.tar.zst +0 -0
- package/.turbo/cache/b99d21002170d86d-meta.json +0 -1
- package/.turbo/cache/b99d21002170d86d.tar.zst +0 -0
- package/.turbo/cache/bff34c0db361f414-meta.json +0 -1
- package/.turbo/cache/c1c7334875426ff3-meta.json +0 -1
- package/.turbo/cache/cd12b66dd972aaf7-meta.json +0 -1
- package/.turbo/cache/cf74604f39b00f11-meta.json +0 -1
- package/.turbo/cache/d5dbe6fb31ae5667-meta.json +0 -1
- package/.turbo/cache/e2688cc026390fd6-meta.json +0 -1
- package/.turbo/cache/e2688cc026390fd6.tar.zst +0 -0
- package/.turbo/cache/e34579fa4cd85684-meta.json +0 -1
- package/.turbo/cache/e34579fa4cd85684.tar.zst +0 -0
- package/.turbo/cache/e64bd75c16c140f3-meta.json +0 -1
- package/.turbo/cache/ea92743dea3b7023-meta.json +0 -1
- package/.turbo/cache/f1b0cb8241603223-meta.json +0 -1
- package/.turbo/cache/f1b0cb8241603223.tar.zst +0 -0
- package/.turbo/cache/f22dc2dd55715ba2-meta.json +0 -1
- package/.turbo/cache/f8f7a8045f230b79-meta.json +0 -1
- package/.turbo/cache/f8f7a8045f230b79.tar.zst +0 -0
- package/.turbo/cache/f8f99ba69bff8f2c-meta.json +0 -1
- package/.turbo/cache/faafa5cc35d12e06-meta.json +0 -1
- package/.turbo/cache/faafa5cc35d12e06.tar.zst +0 -0
- /package/.turbo/cache/{03338963f2ae4c89.tar.zst → 0593ea8b5b3ed321.tar.zst} +0 -0
- /package/.turbo/cache/{d5dbe6fb31ae5667.tar.zst → 1959dd19c8cca5b3.tar.zst} +0 -0
- /package/.turbo/cache/{cd12b66dd972aaf7.tar.zst → 1c16e59f30927b15.tar.zst} +0 -0
- /package/.turbo/cache/{8f20a1cd3533e2cb.tar.zst → 2b46337c7a6faa1f.tar.zst} +0 -0
- /package/.turbo/cache/{f22dc2dd55715ba2.tar.zst → 3e068f9ea52e35fd.tar.zst} +0 -0
- /package/.turbo/cache/{91de2098a36b6939.tar.zst → 3f6725da0ddcb57a.tar.zst} +0 -0
- /package/.turbo/cache/{43995f6c84a2de33.tar.zst → 3fa3b39e63c49920.tar.zst} +0 -0
- /package/.turbo/cache/{bff34c0db361f414.tar.zst → 5aae6a716a40ac0d.tar.zst} +0 -0
- /package/.turbo/cache/{a776eb6f87cd7464.tar.zst → 67c13dfc4fd939fc.tar.zst} +0 -0
- /package/.turbo/cache/{3dba2f8fdc7eb1d0.tar.zst → 6cd6d76ac166da16.tar.zst} +0 -0
- /package/.turbo/cache/{10b8500a6b0c6655.tar.zst → 71cd21072abc2990.tar.zst} +0 -0
- /package/.turbo/cache/{88d4c5b7339b081b.tar.zst → 7b4e0f3ba43fedf0.tar.zst} +0 -0
- /package/.turbo/cache/{1d4e8167ea8e924f.tar.zst → 80bda930b819e4e5.tar.zst} +0 -0
- /package/.turbo/cache/{5b3bb164db4c477c.tar.zst → 8a66291a4385f56d.tar.zst} +0 -0
- /package/.turbo/cache/{45d6aea680ecb5ec.tar.zst → 922ac9eb482cf470.tar.zst} +0 -0
- /package/.turbo/cache/{3025cdff2ca7afbf.tar.zst → 997795fcad6346cf.tar.zst} +0 -0
- /package/.turbo/cache/{06dfc9c20aacd0fa.tar.zst → 9d39077f59442e6d.tar.zst} +0 -0
- /package/.turbo/cache/{22fc147c04804f70.tar.zst → a95cdb7b2836627c.tar.zst} +0 -0
- /package/.turbo/cache/{f8f99ba69bff8f2c.tar.zst → aa7a71eea03e0057.tar.zst} +0 -0
- /package/.turbo/cache/{96edc0764ed4ab77.tar.zst → ba6844de212fdfc5.tar.zst} +0 -0
- /package/.turbo/cache/{85f181c5a0ebfdc3.tar.zst → c4b442aa3a612c5a.tar.zst} +0 -0
- /package/.turbo/cache/{70e65d2581c9de95.tar.zst → cc999fcae80b9892.tar.zst} +0 -0
- /package/.turbo/cache/{3082b3a86c0f9b94.tar.zst → cf739f73c4d81043.tar.zst} +0 -0
- /package/.turbo/cache/{ea92743dea3b7023.tar.zst → d09e82feba2c48a3.tar.zst} +0 -0
- /package/.turbo/cache/{c1c7334875426ff3.tar.zst → d264bb58130e3915.tar.zst} +0 -0
- /package/.turbo/cache/{1c347bdf63624c8a.tar.zst → d4fda50b9aa326d9.tar.zst} +0 -0
- /package/.turbo/cache/{138466aaa06fa946.tar.zst → da0461631780f1e1.tar.zst} +0 -0
- /package/.turbo/cache/{075034ccdb82fbea.tar.zst → dbdfe30495790f74.tar.zst} +0 -0
- /package/.turbo/cache/{ac98992ca27cd36e.tar.zst → dea41fd4a13eb241.tar.zst} +0 -0
- /package/.turbo/cache/{6bfd7cffad1e6b8a.tar.zst → e229b033acee0336.tar.zst} +0 -0
- /package/.turbo/cache/{e64bd75c16c140f3.tar.zst → ed401f9a734e292c.tar.zst} +0 -0
- /package/.turbo/cache/{cf74604f39b00f11.tar.zst → f272ad05432871ac.tar.zst} +0 -0
|
@@ -200,7 +200,7 @@ const a$7=Symbol.for(""),o$a=t=>{if(t?.r===a$7)return t?._$litStatic$},s$8=t=>({
|
|
|
200
200
|
// See LICENSE in the project root for license information.
|
|
201
201
|
|
|
202
202
|
|
|
203
|
-
let AuroDependencyVersioning$
|
|
203
|
+
let AuroDependencyVersioning$4 = class AuroDependencyVersioning {
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -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$2=globalThis,i$9$1=t$4$2.trustedTypes,s$4$1=i$9$1?i$9$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$7$1="$lit$",h$3$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7$1="?"+h$3$1,n$6$1=`<${o$7$1}>`,r$7$1=document,l$4$1=()=>r$7$1.createComment(""),c$5$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4$1=Array.isArray,u$4$1=t=>a$4$1(t)||"function"==typeof t?.[Symbol.iterator],d$3$1="[ \t\n\f\r]",f$3$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1$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$3$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1$2=y$3$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 undefined!==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:undefined!==u[1]?c=_$1$2:undefined!==u[2]?($$1$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1$2):undefined!==u[3]&&(c=m$1$2):c===m$1$2?">"===u[0]?(c=r??f$3$1,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$1$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=undefined);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=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$5$1(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$3$1(t,h._$AS(t,i.values),h,e)),i}let M$1$2 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7$1).importNode(i,true);C$1$2.currentNode=e;let h=C$1$2.nextNode(),o=0,n=0,l=s[0];for(;undefined!==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) undefined!==s&&(undefined!==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=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3$1(this,t,i),c$5$1(t)?t===E$1$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):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$4$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1$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):(undefined===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 undefined===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){ undefined===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=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$3$1(this,t,i,0),o=!c$5$1(t)||t!==this._$AH&&t!==T$1$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?undefined: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=undefined,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$2.litHtmlPolyfillSupport;j$1$2?.(N$1$2,R$1$2),(t$4$2.litHtmlVersions??=[]).push("3.2.1");const B$1$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1$2(i.insertBefore(l$4$1(),t),t,undefined,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$2=Symbol.for(""),o$6$2=t=>{if(t?.r===a$3$2)return t?._$litStatic$},s$3$2=t=>({_$litStatic$:t,r:a$3$2}),i$8$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3$2}),l$3$2=new Map,n$5$1=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$6$2(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$3$2.get(t))&&(n.raw=n,l$3$2.set(t,r=n)),e=u;}return t(r,...e)},u$3$2=n$5$1(x$1$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$2=t$3$2.ShadowRoot&&(undefined===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$2 = 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$2&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$5$2.get(s)),undefined===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$2("string"==typeof t?t:t+"",undefined,s$2$3),i$7$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$4$2(o,t,s$2$3)},S$2$2=(s,o)=>{if(e$6$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$3$2.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4$1=e$6$2?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$
|
|
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$2$2={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$2$2){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$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$2$2}static _$Ei(){if(this.hasOwnProperty(d$2$2("elementProperties")))return;const t=n$3$3(this);t.finalize(),undefined!==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(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4$1(s));}else undefined!==s&&i.push(c$4$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2$2(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$2$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(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$3;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2$2)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1$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$
|
|
654
|
+
*/let r$4$2 = class r extends b$1$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$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$1=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$1$
|
|
663
|
+
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
664
664
|
|
|
665
665
|
/* eslint-disable jsdoc/require-param */
|
|
666
666
|
|
|
@@ -2231,37 +2231,23 @@ class AuroFloatingUI {
|
|
|
2231
2231
|
}
|
|
2232
2232
|
|
|
2233
2233
|
/**
|
|
2234
|
-
*
|
|
2235
|
-
*
|
|
2236
|
-
*
|
|
2237
|
-
* This method retrieves the computed styles of the bibSizer element and applies them to the bib content.
|
|
2238
|
-
* If the fullscreen parameter is true, it resets the dimensions to their default values. Otherwise, it
|
|
2239
|
-
* mirrors the width and height from the bibSizer, ensuring that they are not set to zero.
|
|
2240
|
-
*
|
|
2241
|
-
* @param {boolean} fullscreen - A flag indicating whether to reset the dimensions for fullscreen mode.
|
|
2242
|
-
* If true, the bib content dimensions are cleared; if false, they are set
|
|
2243
|
-
* based on the bibSizer's computed styles.
|
|
2234
|
+
* Mirrors the size of the bibSizer element to the bib content.
|
|
2235
|
+
* Copies the width, height, max-width, and max-height styles from the bibSizer element to the bib content container.
|
|
2236
|
+
* This ensures that the bib content has the same dimensions as the sizer element.
|
|
2244
2237
|
*/
|
|
2245
|
-
mirrorSize(
|
|
2238
|
+
mirrorSize() {
|
|
2246
2239
|
// mirror the boxsize from bibSizer
|
|
2247
2240
|
if (this.element.bibSizer) {
|
|
2248
2241
|
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
2249
2242
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2250
|
-
if (
|
|
2251
|
-
bibContent.style.width =
|
|
2252
|
-
bibContent.style.height = '';
|
|
2253
|
-
bibContent.style.maxWidth = '';
|
|
2254
|
-
bibContent.style.maxHeight = '';
|
|
2255
|
-
} else {
|
|
2256
|
-
if (sizerStyle.width !== '0px') {
|
|
2257
|
-
bibContent.style.width = sizerStyle.width;
|
|
2258
|
-
}
|
|
2259
|
-
if (sizerStyle.height !== '0px') {
|
|
2260
|
-
bibContent.style.height = sizerStyle.height;
|
|
2261
|
-
}
|
|
2262
|
-
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
2263
|
-
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
2243
|
+
if (sizerStyle.width !== '0px') {
|
|
2244
|
+
bibContent.style.width = sizerStyle.width;
|
|
2264
2245
|
}
|
|
2246
|
+
if (sizerStyle.height !== '0px') {
|
|
2247
|
+
bibContent.style.height = sizerStyle.height;
|
|
2248
|
+
}
|
|
2249
|
+
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
2250
|
+
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
2265
2251
|
}
|
|
2266
2252
|
}
|
|
2267
2253
|
|
|
@@ -2277,11 +2263,12 @@ class AuroFloatingUI {
|
|
|
2277
2263
|
getPositioningStrategy() {
|
|
2278
2264
|
let strategy = 'floating';
|
|
2279
2265
|
if (this.element.bib.mobileFullscreenBreakpoint) {
|
|
2280
|
-
const
|
|
2281
|
-
if (
|
|
2266
|
+
const smallerThanBreakpoint = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
|
|
2267
|
+
if (smallerThanBreakpoint) {
|
|
2282
2268
|
strategy = 'fullscreen';
|
|
2283
2269
|
}
|
|
2284
2270
|
}
|
|
2271
|
+
|
|
2285
2272
|
return strategy;
|
|
2286
2273
|
}
|
|
2287
2274
|
|
|
@@ -2295,13 +2282,10 @@ class AuroFloatingUI {
|
|
|
2295
2282
|
*/
|
|
2296
2283
|
position() {
|
|
2297
2284
|
const strategy = this.getPositioningStrategy();
|
|
2298
|
-
|
|
2299
|
-
this.configureBibFullscreen(true);
|
|
2300
|
-
this.mirrorSize(true);
|
|
2301
|
-
} else {
|
|
2302
|
-
this.configureBibFullscreen(false);
|
|
2303
|
-
this.mirrorSize(false);
|
|
2285
|
+
this.configureBibStrategy(strategy);
|
|
2304
2286
|
|
|
2287
|
+
if (strategy === 'floating') {
|
|
2288
|
+
this.mirrorSize();
|
|
2305
2289
|
// Define the middlware for the floater configuration
|
|
2306
2290
|
const middleware = [
|
|
2307
2291
|
offset(this.element.floaterConfig.offset || 0),
|
|
@@ -2324,22 +2308,62 @@ class AuroFloatingUI {
|
|
|
2324
2308
|
|
|
2325
2309
|
/**
|
|
2326
2310
|
* @private
|
|
2327
|
-
*
|
|
2311
|
+
* Controls whether to lock the scrolling for the document's body.
|
|
2312
|
+
* @param {Boolean} lock - If true, locks the body's scrolling functionlity; otherwise, unlock.
|
|
2313
|
+
*/
|
|
2314
|
+
lockScroll(lock = true) {
|
|
2315
|
+
if (lock) {
|
|
2316
|
+
document.body.style.overflow = 'hidden'; // hide body's scrollbar
|
|
2317
|
+
|
|
2318
|
+
// Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
|
|
2319
|
+
this.element.bib.style.transform = `translateY(${visualViewport.offsetTop}px)`;
|
|
2320
|
+
} else {
|
|
2321
|
+
document.body.style.overflow = '';
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* @private
|
|
2327
|
+
* Configures the bib element's display strategy.
|
|
2328
2328
|
*
|
|
2329
|
-
*
|
|
2330
|
-
*
|
|
2331
|
-
* 'isFullscreen' attribute, indicating that the bib is not in fullscreen mode.
|
|
2329
|
+
* Sets the bib to fullscreen or floating mode based on the provided strategy.
|
|
2330
|
+
* Dispatches a 'strategy-change' event if the strategy changes.
|
|
2332
2331
|
*
|
|
2333
|
-
* @param {
|
|
2332
|
+
* @param {string} strategy - The positioning strategy ('fullscreen' or 'floating').
|
|
2334
2333
|
*/
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2334
|
+
configureBibStrategy(strategy) {
|
|
2335
|
+
const prevStrategy = this.element.isBibFullscreen ? 'fullscreen' : 'floating';
|
|
2336
|
+
if (strategy === 'fullscreen') {
|
|
2337
|
+
this.element.isBibFullscreen = true;
|
|
2338
2338
|
// reset the prev position
|
|
2339
2339
|
this.element.bib.style.top = "0px";
|
|
2340
2340
|
this.element.bib.style.left = "0px";
|
|
2341
|
+
|
|
2342
|
+
// reset the size that was mirroring `size` css-part
|
|
2343
|
+
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2344
|
+
bibContent.style.width = '';
|
|
2345
|
+
bibContent.style.height = '';
|
|
2346
|
+
bibContent.style.maxWidth = '';
|
|
2347
|
+
bibContent.style.maxHeight = `${window.visualViewport.height}px`;
|
|
2348
|
+
|
|
2349
|
+
if (this.element.isPopoverVisible) {
|
|
2350
|
+
this.lockScroll(true);
|
|
2351
|
+
}
|
|
2341
2352
|
} else {
|
|
2342
|
-
this.element.
|
|
2353
|
+
this.element.isBibFullscreen = false;
|
|
2354
|
+
|
|
2355
|
+
this.lockScroll(false);
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
if (prevStrategy !== strategy) {
|
|
2359
|
+
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-strategy-change` : 'strategy-change', {
|
|
2360
|
+
detail: {
|
|
2361
|
+
strategy,
|
|
2362
|
+
},
|
|
2363
|
+
composed: true
|
|
2364
|
+
});
|
|
2365
|
+
|
|
2366
|
+
this.element.dispatchEvent(event);
|
|
2343
2367
|
}
|
|
2344
2368
|
}
|
|
2345
2369
|
|
|
@@ -2445,6 +2469,7 @@ class AuroFloatingUI {
|
|
|
2445
2469
|
this.updateCurrentExpandedDropdown();
|
|
2446
2470
|
this.element.isPopoverVisible = true;
|
|
2447
2471
|
this.element.triggerChevron?.setAttribute('data-expanded', true);
|
|
2472
|
+
|
|
2448
2473
|
this.dispatchEventDropdownToggle();
|
|
2449
2474
|
this.position();
|
|
2450
2475
|
|
|
@@ -2462,6 +2487,7 @@ class AuroFloatingUI {
|
|
|
2462
2487
|
hideBib() {
|
|
2463
2488
|
if (this.element.isPopoverVisible && !this.element.disabled && !this.element.noToggle) {
|
|
2464
2489
|
this.element.isPopoverVisible = false;
|
|
2490
|
+
this.lockScroll(false);
|
|
2465
2491
|
this.element.triggerChevron?.removeAttribute('data-expanded');
|
|
2466
2492
|
this.dispatchEventDropdownToggle();
|
|
2467
2493
|
}
|
|
@@ -2474,7 +2500,7 @@ class AuroFloatingUI {
|
|
|
2474
2500
|
dispatchEventDropdownToggle() {
|
|
2475
2501
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
2476
2502
|
detail: {
|
|
2477
|
-
expanded: this.isPopoverVisible,
|
|
2503
|
+
expanded: this.element.isPopoverVisible,
|
|
2478
2504
|
},
|
|
2479
2505
|
composed: true
|
|
2480
2506
|
});
|
|
@@ -2491,7 +2517,7 @@ class AuroFloatingUI {
|
|
|
2491
2517
|
|
|
2492
2518
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
|
|
2493
2519
|
composed: true,
|
|
2494
|
-
|
|
2520
|
+
detail: {
|
|
2495
2521
|
expanded: this.element.isPopoverVisible
|
|
2496
2522
|
}
|
|
2497
2523
|
});
|
|
@@ -2543,6 +2569,12 @@ class AuroFloatingUI {
|
|
|
2543
2569
|
}
|
|
2544
2570
|
}
|
|
2545
2571
|
|
|
2572
|
+
/**
|
|
2573
|
+
* Manages the tabIndex of the trigger element based on its focusability.
|
|
2574
|
+
*
|
|
2575
|
+
* If the trigger element or any of its children are inherently focusable, the tabIndex of the component is set to -1.
|
|
2576
|
+
* This prevents the component itself from being focusable when the trigger element already handles focus.
|
|
2577
|
+
*/
|
|
2546
2578
|
handleTriggerTabIndex() {
|
|
2547
2579
|
const focusableElementSelectors = [
|
|
2548
2580
|
'a',
|
|
@@ -2557,6 +2589,9 @@ class AuroFloatingUI {
|
|
|
2557
2589
|
];
|
|
2558
2590
|
|
|
2559
2591
|
const triggerNode = this.element.querySelectorAll('[slot="trigger"]')[0];
|
|
2592
|
+
if (!triggerNode) {
|
|
2593
|
+
return;
|
|
2594
|
+
}
|
|
2560
2595
|
const triggerNodeTagName = triggerNode.tagName.toLowerCase();
|
|
2561
2596
|
|
|
2562
2597
|
focusableElementSelectors.forEach((selector) => {
|
|
@@ -2585,12 +2620,13 @@ class AuroFloatingUI {
|
|
|
2585
2620
|
|
|
2586
2621
|
this.handleTriggerTabIndex();
|
|
2587
2622
|
|
|
2588
|
-
this.
|
|
2589
|
-
this.element.trigger.addEventListener('
|
|
2590
|
-
this.element.trigger.addEventListener('
|
|
2591
|
-
this.element.trigger.addEventListener('
|
|
2592
|
-
this.element.trigger.addEventListener('
|
|
2593
|
-
this.element.trigger.addEventListener('
|
|
2623
|
+
this.handleEvent = this.handleEvent.bind(this);
|
|
2624
|
+
this.element.trigger.addEventListener('keydown', this.handleEvent);
|
|
2625
|
+
this.element.trigger.addEventListener('click', this.handleEvent);
|
|
2626
|
+
this.element.trigger.addEventListener('mouseenter', this.handleEvent);
|
|
2627
|
+
this.element.trigger.addEventListener('mouseleave', this.handleEvent);
|
|
2628
|
+
this.element.trigger.addEventListener('focus', this.handleEvent);
|
|
2629
|
+
this.element.trigger.addEventListener('blur', this.handleEvent);
|
|
2594
2630
|
}
|
|
2595
2631
|
|
|
2596
2632
|
disconnect() {
|
|
@@ -2599,12 +2635,12 @@ class AuroFloatingUI {
|
|
|
2599
2635
|
|
|
2600
2636
|
// Remove event & keyboard listeners
|
|
2601
2637
|
if (this.element?.trigger) {
|
|
2602
|
-
this.element.trigger.removeEventListener('keydown',
|
|
2603
|
-
this.element.trigger.removeEventListener('click',
|
|
2604
|
-
this.element.trigger.removeEventListener('mouseenter',
|
|
2605
|
-
this.element.trigger.removeEventListener('mouseleave',
|
|
2606
|
-
this.element.trigger.removeEventListener('focus',
|
|
2607
|
-
this.element.trigger.removeEventListener('blur',
|
|
2638
|
+
this.element.trigger.removeEventListener('keydown', this.handleEvent);
|
|
2639
|
+
this.element.trigger.removeEventListener('click', this.handleEvent);
|
|
2640
|
+
this.element.trigger.removeEventListener('mouseenter', this.handleEvent);
|
|
2641
|
+
this.element.trigger.removeEventListener('mouseleave', this.handleEvent);
|
|
2642
|
+
this.element.trigger.removeEventListener('focus', this.handleEvent);
|
|
2643
|
+
this.element.trigger.removeEventListener('blur', this.handleEvent);
|
|
2608
2644
|
}
|
|
2609
2645
|
}
|
|
2610
2646
|
}
|
|
@@ -2613,7 +2649,7 @@ class AuroFloatingUI {
|
|
|
2613
2649
|
// See LICENSE in the project root for license information.
|
|
2614
2650
|
|
|
2615
2651
|
|
|
2616
|
-
let AuroDependencyVersioning$
|
|
2652
|
+
let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
2617
2653
|
|
|
2618
2654
|
/**
|
|
2619
2655
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -2639,7 +2675,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
2639
2675
|
*/
|
|
2640
2676
|
generateTag(baseName, version, tagClass) {
|
|
2641
2677
|
const elementName = this.generateElementName(baseName, version);
|
|
2642
|
-
const tag = i$8$1`${s$3$
|
|
2678
|
+
const tag = i$8$1`${s$3$2(elementName)}`;
|
|
2643
2679
|
|
|
2644
2680
|
if (!customElements.get(elementName)) {
|
|
2645
2681
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -2654,19 +2690,19 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
2654
2690
|
* Copyright 2017 Google LLC
|
|
2655
2691
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2656
2692
|
*/
|
|
2657
|
-
const t$2$
|
|
2693
|
+
const t$2$3={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},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)}};
|
|
2658
2694
|
|
|
2659
2695
|
/**
|
|
2660
2696
|
* @license
|
|
2661
2697
|
* Copyright 2018 Google LLC
|
|
2662
2698
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2663
|
-
*/const e$3$
|
|
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(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1$2}});
|
|
2664
2700
|
|
|
2665
2701
|
/**
|
|
2666
2702
|
* @license
|
|
2667
2703
|
* Copyright 2018 Google LLC
|
|
2668
2704
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2669
|
-
*/const o$3$
|
|
2705
|
+
*/const o$3$3=o=>o??E$1$2;
|
|
2670
2706
|
|
|
2671
2707
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2672
2708
|
// See LICENSE in the project root for license information.
|
|
@@ -2678,7 +2714,7 @@ const t$2$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:
|
|
|
2678
2714
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
2679
2715
|
*/
|
|
2680
2716
|
|
|
2681
|
-
let AuroElement$
|
|
2717
|
+
let AuroElement$4 = class AuroElement extends r$4$2 {
|
|
2682
2718
|
|
|
2683
2719
|
// function to define props used within the scope of this component
|
|
2684
2720
|
static get properties() {
|
|
@@ -2704,11 +2740,11 @@ let AuroElement$3 = class AuroElement extends r$4$1 {
|
|
|
2704
2740
|
}
|
|
2705
2741
|
};
|
|
2706
2742
|
|
|
2707
|
-
var error$
|
|
2743
|
+
var error$4 = {"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>"};
|
|
2708
2744
|
|
|
2709
2745
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
2710
2746
|
|
|
2711
|
-
const _fetchMap$
|
|
2747
|
+
const _fetchMap$4 = new Map();
|
|
2712
2748
|
|
|
2713
2749
|
/**
|
|
2714
2750
|
* A callback to parse Response body.
|
|
@@ -2726,15 +2762,15 @@ const _fetchMap$3 = new Map();
|
|
|
2726
2762
|
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
2727
2763
|
* @returns {Promise}
|
|
2728
2764
|
*/
|
|
2729
|
-
const cacheFetch$
|
|
2765
|
+
const cacheFetch$4 = (uri, options = {}) => {
|
|
2730
2766
|
const responseParser = options.responseParser || ((response) => response.text());
|
|
2731
|
-
if (!_fetchMap$
|
|
2732
|
-
_fetchMap$
|
|
2767
|
+
if (!_fetchMap$4.has(uri)) {
|
|
2768
|
+
_fetchMap$4.set(uri, fetch(uri).then(responseParser));
|
|
2733
2769
|
}
|
|
2734
|
-
return _fetchMap$
|
|
2770
|
+
return _fetchMap$4.get(uri);
|
|
2735
2771
|
};
|
|
2736
2772
|
|
|
2737
|
-
var styleCss$3$2 = i$7$
|
|
2773
|
+
var styleCss$3$2 = i$7$2`*,*: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}`;
|
|
2738
2774
|
|
|
2739
2775
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2740
2776
|
// See LICENSE in the project root for license information.
|
|
@@ -2747,7 +2783,7 @@ var styleCss$3$2 = i$7$1`*,*:before,*:after{box-sizing:border-box}@media(prefers
|
|
|
2747
2783
|
*/
|
|
2748
2784
|
|
|
2749
2785
|
// build the component class
|
|
2750
|
-
let BaseIcon$
|
|
2786
|
+
let BaseIcon$4 = class BaseIcon extends AuroElement$4 {
|
|
2751
2787
|
constructor() {
|
|
2752
2788
|
super();
|
|
2753
2789
|
this.onDark = false;
|
|
@@ -2773,7 +2809,7 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
2773
2809
|
}
|
|
2774
2810
|
|
|
2775
2811
|
static get styles() {
|
|
2776
|
-
return i$7$
|
|
2812
|
+
return i$7$2`
|
|
2777
2813
|
${styleCss$3$2}
|
|
2778
2814
|
`;
|
|
2779
2815
|
}
|
|
@@ -2789,9 +2825,9 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
2789
2825
|
let iconHTML = '';
|
|
2790
2826
|
|
|
2791
2827
|
if (category === 'logos') {
|
|
2792
|
-
iconHTML = await cacheFetch$
|
|
2828
|
+
iconHTML = await cacheFetch$4(`${this.uri}/${category}/${name}.svg`);
|
|
2793
2829
|
} else {
|
|
2794
|
-
iconHTML = await cacheFetch$
|
|
2830
|
+
iconHTML = await cacheFetch$4(`${this.uri}/icons/${category}/${name}.svg`);
|
|
2795
2831
|
}
|
|
2796
2832
|
|
|
2797
2833
|
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
@@ -2807,7 +2843,7 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
2807
2843
|
if (svg) {
|
|
2808
2844
|
this.svg = svg;
|
|
2809
2845
|
} else if (!svg) {
|
|
2810
|
-
const penDOM = new DOMParser().parseFromString(error$
|
|
2846
|
+
const penDOM = new DOMParser().parseFromString(error$4.svg, 'text/html');
|
|
2811
2847
|
|
|
2812
2848
|
this.svg = penDOM.body.firstChild;
|
|
2813
2849
|
}
|
|
@@ -2815,9 +2851,9 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
2815
2851
|
}
|
|
2816
2852
|
};
|
|
2817
2853
|
|
|
2818
|
-
var tokensCss$2$2 = i$7$
|
|
2854
|
+
var tokensCss$2$2 = i$7$2`: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)}`;
|
|
2819
2855
|
|
|
2820
|
-
var colorCss$3$2 = i$7$
|
|
2856
|
+
var colorCss$3$2 = i$7$2`: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)}`;
|
|
2821
2857
|
|
|
2822
2858
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2823
2859
|
// See LICENSE in the project root for license information.
|
|
@@ -2850,7 +2886,7 @@ var colorCss$3$2 = i$7$1`:host{color:var(--ds-auro-icon-color)}:host([customColo
|
|
|
2850
2886
|
*/
|
|
2851
2887
|
|
|
2852
2888
|
// build the component class
|
|
2853
|
-
let AuroIcon$
|
|
2889
|
+
let AuroIcon$4 = class AuroIcon extends BaseIcon$4 {
|
|
2854
2890
|
constructor() {
|
|
2855
2891
|
super();
|
|
2856
2892
|
|
|
@@ -2879,7 +2915,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2879
2915
|
this.success = false;
|
|
2880
2916
|
this.tertiary = false;
|
|
2881
2917
|
this.warning = false;
|
|
2882
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$
|
|
2918
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
|
|
2883
2919
|
}
|
|
2884
2920
|
|
|
2885
2921
|
// function to define props used within the scope of this component
|
|
@@ -2961,9 +2997,9 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2961
2997
|
static get styles() {
|
|
2962
2998
|
return [
|
|
2963
2999
|
super.styles,
|
|
2964
|
-
i$7$
|
|
2965
|
-
i$7$
|
|
2966
|
-
i$7$
|
|
3000
|
+
i$7$2`${tokensCss$2$2}`,
|
|
3001
|
+
i$7$2`${styleCss$3$2}`,
|
|
3002
|
+
i$7$2`${colorCss$3$2}`
|
|
2967
3003
|
];
|
|
2968
3004
|
}
|
|
2969
3005
|
|
|
@@ -2976,7 +3012,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2976
3012
|
*
|
|
2977
3013
|
*/
|
|
2978
3014
|
static register(name = "auro-icon") {
|
|
2979
|
-
AuroLibraryRuntimeUtils$1$
|
|
3015
|
+
AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroIcon);
|
|
2980
3016
|
}
|
|
2981
3017
|
|
|
2982
3018
|
connectedCallback() {
|
|
@@ -3005,20 +3041,20 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
3005
3041
|
'wrapper': true,
|
|
3006
3042
|
};
|
|
3007
3043
|
|
|
3008
|
-
return x$1$
|
|
3044
|
+
return x$1$2`
|
|
3009
3045
|
<div
|
|
3010
|
-
class="${e$3$
|
|
3011
|
-
title="${o$3$
|
|
3012
|
-
<span aria-hidden="${o$3$
|
|
3013
|
-
${this.customSvg ? x$1$
|
|
3046
|
+
class="${e$3$3(classes)}"
|
|
3047
|
+
title="${o$3$3(this.title || undefined)}">
|
|
3048
|
+
<span aria-hidden="${o$3$3(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
3049
|
+
${this.customSvg ? x$1$2`
|
|
3014
3050
|
<slot name="svg"></slot>
|
|
3015
|
-
` : x$1$
|
|
3051
|
+
` : x$1$2`
|
|
3016
3052
|
${this.svg}
|
|
3017
3053
|
`
|
|
3018
3054
|
}
|
|
3019
3055
|
</span>
|
|
3020
3056
|
|
|
3021
|
-
<div class="${e$3$
|
|
3057
|
+
<div class="${e$3$3(a11y)}">
|
|
3022
3058
|
<slot></slot>
|
|
3023
3059
|
</div>
|
|
3024
3060
|
</div>
|
|
@@ -3026,33 +3062,156 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
3026
3062
|
}
|
|
3027
3063
|
};
|
|
3028
3064
|
|
|
3029
|
-
var iconVersion$
|
|
3065
|
+
var iconVersion$4 = '6.1.2';
|
|
3066
|
+
|
|
3067
|
+
var styleCss$2$4 = i$7$2`: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
|
+
|
|
3069
|
+
var colorCss$2$3 = i$7$2`.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
|
+
|
|
3071
|
+
var tokensCss$1$3 = i$7$2`: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
|
+
|
|
3073
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3074
|
+
// See LICENSE in the project root for license information.
|
|
3075
|
+
|
|
3076
|
+
|
|
3077
|
+
|
|
3078
|
+
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
3079
|
+
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
3080
|
+
'lg',
|
|
3081
|
+
'md',
|
|
3082
|
+
'sm',
|
|
3083
|
+
'xs',
|
|
3084
|
+
];
|
|
3085
|
+
|
|
3086
|
+
/**
|
|
3087
|
+
* @prop { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
3088
|
+
* @csspart bibContainer - Apply css to the bib container.
|
|
3089
|
+
*/
|
|
3090
|
+
|
|
3091
|
+
class AuroDropdownBib extends r$4$2 {
|
|
3092
|
+
|
|
3093
|
+
constructor() {
|
|
3094
|
+
super();
|
|
3095
|
+
|
|
3096
|
+
/**
|
|
3097
|
+
* @private
|
|
3098
|
+
*/
|
|
3099
|
+
this._mobileBreakpointValue = undefined;
|
|
3100
|
+
|
|
3101
|
+
AuroLibraryRuntimeUtils$1$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
static get styles() {
|
|
3105
|
+
return [
|
|
3106
|
+
styleCss$2$4,
|
|
3107
|
+
colorCss$2$3,
|
|
3108
|
+
tokensCss$1$3
|
|
3109
|
+
];
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3112
|
+
static get properties() {
|
|
3113
|
+
return {
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* If declared, will take the fullscreen when the bib is displayed.
|
|
3117
|
+
*/
|
|
3118
|
+
isFullscreen: {
|
|
3119
|
+
type: Boolean,
|
|
3120
|
+
reflect: true
|
|
3121
|
+
},
|
|
3122
|
+
|
|
3123
|
+
/**
|
|
3124
|
+
* If declared, will apply all styles for the common theme.
|
|
3125
|
+
*/
|
|
3126
|
+
common: {
|
|
3127
|
+
type: Boolean,
|
|
3128
|
+
reflect: true
|
|
3129
|
+
},
|
|
3130
|
+
|
|
3131
|
+
/**
|
|
3132
|
+
* If declared, will apply extra padding to bib content.
|
|
3133
|
+
*/
|
|
3134
|
+
inset: {
|
|
3135
|
+
type: Boolean,
|
|
3136
|
+
reflect: true
|
|
3137
|
+
},
|
|
3138
|
+
|
|
3139
|
+
/**
|
|
3140
|
+
* If declared, will apply border-radius to the bib.
|
|
3141
|
+
*/
|
|
3142
|
+
rounded: {
|
|
3143
|
+
type: Boolean,
|
|
3144
|
+
reflect: true
|
|
3145
|
+
},
|
|
3146
|
+
};
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
set mobileFullscreenBreakpoint(value) {
|
|
3150
|
+
// verify the defined breakpoint is valid and exit out if not
|
|
3151
|
+
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
3152
|
+
if (!validatedValue) {
|
|
3153
|
+
this._mobileBreakpointValue = undefined;
|
|
3154
|
+
} else {
|
|
3155
|
+
// get the pixel value for the defined breakpoint
|
|
3156
|
+
const docStyle = getComputedStyle(document.documentElement);
|
|
3157
|
+
this._mobileBreakpointValue = docStyle.getPropertyValue(DESIGN_TOKEN_BREAKPOINT_PREFIX + value);
|
|
3158
|
+
}
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3161
|
+
get mobileFullscreenBreakpoint() {
|
|
3162
|
+
return this._mobileBreakpointValue;
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
updated(changedProperties) {
|
|
3166
|
+
if (changedProperties.has('isFullscreen')) {
|
|
3167
|
+
this.childNodes.forEach((child) => {
|
|
3168
|
+
// skip any text that is not in an HTMLElement on setting `isFullscreen` attr.
|
|
3169
|
+
if (child.nodeName !== '#text') {
|
|
3170
|
+
if (this.isFullscreen) {
|
|
3171
|
+
child.setAttribute('isFullscreen', 'true');
|
|
3172
|
+
} else {
|
|
3173
|
+
child.removeAttribute('isFullscreen');
|
|
3174
|
+
}
|
|
3175
|
+
}
|
|
3176
|
+
});
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
3181
|
+
render() {
|
|
3182
|
+
return u$3$2`
|
|
3183
|
+
<div class="container" part="bibContainer">
|
|
3184
|
+
<slot></slot>
|
|
3185
|
+
</div>
|
|
3186
|
+
`;
|
|
3187
|
+
}
|
|
3188
|
+
}
|
|
3030
3189
|
|
|
3031
|
-
var
|
|
3190
|
+
var dropdownVersion$1 = '3.0.0';
|
|
3032
3191
|
|
|
3033
|
-
var
|
|
3192
|
+
var styleCss$1$4 = i$7$2`: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)}`;
|
|
3034
3193
|
|
|
3035
|
-
var
|
|
3194
|
+
var colorCss$1$4 = i$7$2`.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)}`;
|
|
3036
3195
|
|
|
3037
3196
|
/**
|
|
3038
3197
|
* @license
|
|
3039
3198
|
* Copyright 2019 Google LLC
|
|
3040
3199
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3041
3200
|
*/
|
|
3042
|
-
const t$1$
|
|
3201
|
+
const t$1$3=globalThis,e$2$3=t$1$3.ShadowRoot&&(undefined===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&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2$3.get(s)),undefined===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+"",undefined,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;undefined!==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;
|
|
3043
3202
|
|
|
3044
3203
|
/**
|
|
3045
3204
|
* @license
|
|
3046
3205
|
* Copyright 2017 Google LLC
|
|
3047
3206
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3048
|
-
*/const{is:i$2$
|
|
3207
|
+
*/const{is:i$2$3,defineProperty:e$1$4,getOwnPropertyDescriptor:r$2$3,getOwnPropertyNames:h$1$3,getOwnPropertySymbols:o$1$3,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);undefined!==r&&e$1$4(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(),undefined!==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$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$3(s));}else undefined!==s&&i.push(c$2$3(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$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(undefined!==e&&true===i.reflect){const r=(undefined!==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(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$1$3;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$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=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$3.elementStyles=[],b$3.shadowRootOptions={mode:"open"},b$3[d$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");
|
|
3049
3208
|
|
|
3050
3209
|
/**
|
|
3051
3210
|
* @license
|
|
3052
3211
|
* Copyright 2017 Google LLC
|
|
3053
3212
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3054
3213
|
*/
|
|
3055
|
-
const t$7=globalThis,i$1$
|
|
3214
|
+
const t$7=globalThis,i$1$3=t$7.trustedTypes,s$7=i$1$3?i$1$3.createPolicy("lit-html",{createHTML:t=>t}):undefined,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,y$5=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$3=y$5(1),T$3=Symbol.for("lit-noChange"),E$3=Symbol.for("lit-nothing"),A$3=new WeakMap,C$3=r$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 undefined!==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:undefined!==u[1]?c=_$3:undefined!==u[2]?($$3.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$4):undefined!==u[3]&&(c=m$4):c===m$4?">"===u[0]?(c=r??f$5,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$4:'"'===u[3]?g$3:p$6):c===g$3||c===p$6?c=m$4:c===v$4||c===_$3?c=f$5:(c=m$4,r=undefined);const x=c===m$4&&t[i+1].startsWith("/>")?" ":"";l+=c===f$5?s+n$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$3?i$1$3.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=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$8(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$5(t,h._$AS(t,i.values),h,e)),i}let M$4 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1$3).importNode(i,true);C$3.currentNode=e;let h=C$3.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$3(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$3(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$3.nextNode(),o++);}return C$3.currentNode=r$1$3,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$3 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$3,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$5(this,t,i),c$8(t)?t===E$3||null==t||""===t?(this._$AH!==E$3&&this._$AR(),this._$AH=E$3):t!==this._$AH&&t!==T$3&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$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):(undefined===s.el&&(s.el=N$3.createElement(P$3(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$4(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$3.get(t.strings);return undefined===i&&A$3.set(t.strings,i=new N$3(t)),i}k(t){a$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){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$3 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$3,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$3;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$5(this,t,i,0),o=!c$8(t)||t!==this._$AH&&t!==T$3,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$5(this,e[s+n],i,n),r===T$3&&(r=this._$AH[n]),o||=!c$8(r)||r!==this._$AH[n],r===E$3?t=E$3:t!==E$3&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$3?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$3 = class H extends k$3{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$3?undefined:t;}};let I$3 = class I extends k$3{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$3);}};let L$3 = class L extends k$3{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$5(this,t,i,0)??E$3)===T$3)return;const s=this._$AH,e=t===E$3&&s!==E$3||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$3&&(s===E$3||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$3 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$5(this,t);}};const j$3=t$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(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$3(i.insertBefore(l$6(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
3056
3215
|
|
|
3057
3216
|
/**
|
|
3058
3217
|
* @license
|
|
@@ -3060,11 +3219,11 @@ const t$7=globalThis,i$1$2=t$7.trustedTypes,s$7=i$1$2?i$1$2.createPolicy("lit-ht
|
|
|
3060
3219
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3061
3220
|
*/let r$a = class r extends b$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$3(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$3}};r$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");
|
|
3062
3221
|
|
|
3063
|
-
var colorCss$
|
|
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)}`;
|
|
3064
3223
|
|
|
3065
|
-
var styleCss$
|
|
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}`;
|
|
3066
3225
|
|
|
3067
|
-
var tokensCss$6 = i$3$
|
|
3226
|
+
var tokensCss$6 = i$3$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
3068
3227
|
|
|
3069
3228
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3070
3229
|
// See LICENSE in the project root for license information.
|
|
@@ -3156,8 +3315,8 @@ let AuroHelpText$1 = class AuroHelpText extends r$a {
|
|
|
3156
3315
|
|
|
3157
3316
|
static get styles() {
|
|
3158
3317
|
return [
|
|
3159
|
-
colorCss$
|
|
3160
|
-
styleCss$
|
|
3318
|
+
colorCss$6,
|
|
3319
|
+
styleCss$7,
|
|
3161
3320
|
tokensCss$6
|
|
3162
3321
|
];
|
|
3163
3322
|
}
|
|
@@ -3257,172 +3416,72 @@ let AuroHelpText$1 = class AuroHelpText extends r$a {
|
|
|
3257
3416
|
|
|
3258
3417
|
AuroHelpText$1.register();
|
|
3259
3418
|
|
|
3260
|
-
var styleCss$6 = i$7$1`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
|
|
3261
|
-
|
|
3262
|
-
var colorCss$6 = 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)}`;
|
|
3263
|
-
|
|
3264
3419
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3265
3420
|
// See LICENSE in the project root for license information.
|
|
3266
3421
|
|
|
3267
3422
|
|
|
3268
|
-
|
|
3269
|
-
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
3270
|
-
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
3271
|
-
'lg',
|
|
3272
|
-
'md',
|
|
3273
|
-
'sm',
|
|
3274
|
-
'xs',
|
|
3275
|
-
];
|
|
3276
|
-
|
|
3277
3423
|
/**
|
|
3278
|
-
* @
|
|
3279
|
-
* @
|
|
3424
|
+
* @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
|
|
3425
|
+
* @slot - Default slot for the popover content.
|
|
3426
|
+
* @slot label - Defines the content of the label.
|
|
3427
|
+
* @slot helpText - Defines the content of the helpText.
|
|
3428
|
+
* @slot trigger - Defines the content of the trigger.
|
|
3429
|
+
* @csspart trigger - The trigger content container.
|
|
3430
|
+
* @csspart chevron - The collapsed/expanded state icon container.
|
|
3431
|
+
* @csspart helpText - The helpText content container.
|
|
3432
|
+
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
3433
|
+
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
3280
3434
|
*/
|
|
3281
|
-
|
|
3282
|
-
class AuroDropdownBib extends r$4$1 {
|
|
3283
|
-
|
|
3435
|
+
class AuroDropdown extends r$4$2 {
|
|
3284
3436
|
constructor() {
|
|
3285
3437
|
super();
|
|
3286
3438
|
|
|
3439
|
+
this.isPopoverVisible = false;
|
|
3440
|
+
this.isBibFullscreen = false;
|
|
3441
|
+
this.matchWidth = false;
|
|
3442
|
+
this.noHideOnThisFocusLoss = false;
|
|
3443
|
+
|
|
3444
|
+
this.privateDefaults();
|
|
3445
|
+
|
|
3287
3446
|
/**
|
|
3288
3447
|
* @private
|
|
3448
|
+
* @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
|
|
3289
3449
|
*/
|
|
3290
|
-
this.
|
|
3291
|
-
|
|
3450
|
+
this.constructor.shadowRootOptions = {
|
|
3451
|
+
...r$4$2.shadowRootOptions,
|
|
3452
|
+
delegatesFocus: true,
|
|
3453
|
+
};
|
|
3292
3454
|
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
tokensCss$1$3
|
|
3298
|
-
];
|
|
3299
|
-
}
|
|
3455
|
+
/**
|
|
3456
|
+
* @private
|
|
3457
|
+
*/
|
|
3458
|
+
this.triggerContentFocusable = false;
|
|
3300
3459
|
|
|
3301
|
-
|
|
3302
|
-
|
|
3460
|
+
/**
|
|
3461
|
+
* @private
|
|
3462
|
+
*/
|
|
3463
|
+
this.showTriggerBorders = true;
|
|
3464
|
+
}
|
|
3303
3465
|
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3466
|
+
/**
|
|
3467
|
+
* @private
|
|
3468
|
+
* @returns {void} Internal defaults.
|
|
3469
|
+
*/
|
|
3470
|
+
privateDefaults() {
|
|
3471
|
+
this.bordered = false;
|
|
3472
|
+
this.chevron = false;
|
|
3473
|
+
this.disabled = false;
|
|
3474
|
+
this.error = false;
|
|
3475
|
+
this.inset = false;
|
|
3476
|
+
this.placement = 'bottom-start';
|
|
3477
|
+
this.rounded = false;
|
|
3478
|
+
this.tabIndex = 0;
|
|
3479
|
+
this.noToggle = false;
|
|
3311
3480
|
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
type: Boolean,
|
|
3317
|
-
reflect: true
|
|
3318
|
-
},
|
|
3319
|
-
|
|
3320
|
-
/**
|
|
3321
|
-
* If declared, will apply border-radius to the bib.
|
|
3322
|
-
*/
|
|
3323
|
-
rounded: {
|
|
3324
|
-
type: Boolean,
|
|
3325
|
-
reflect: true
|
|
3326
|
-
},
|
|
3327
|
-
};
|
|
3328
|
-
}
|
|
3329
|
-
|
|
3330
|
-
set mobileFullscreenBreakpoint(value) {
|
|
3331
|
-
// verify the defined breakpoint is valid and exit out if not
|
|
3332
|
-
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
3333
|
-
if (!validatedValue) {
|
|
3334
|
-
this._mobileBreakpointValue = undefined;
|
|
3335
|
-
} else {
|
|
3336
|
-
// get the pixel value for the defined breakpoint
|
|
3337
|
-
const docStyle = getComputedStyle(document.documentElement);
|
|
3338
|
-
this._mobileBreakpointValue = docStyle.getPropertyValue(DESIGN_TOKEN_BREAKPOINT_PREFIX + value);
|
|
3339
|
-
}
|
|
3340
|
-
}
|
|
3341
|
-
|
|
3342
|
-
get mobileFullscreenBreakpoint() {
|
|
3343
|
-
return this._mobileBreakpointValue;
|
|
3344
|
-
}
|
|
3345
|
-
|
|
3346
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
3347
|
-
render() {
|
|
3348
|
-
return u$3$1`
|
|
3349
|
-
<div class="container" part="bibContainer">
|
|
3350
|
-
<slot></slot>
|
|
3351
|
-
</div>
|
|
3352
|
-
`;
|
|
3353
|
-
}
|
|
3354
|
-
}
|
|
3355
|
-
|
|
3356
|
-
// default internal definition
|
|
3357
|
-
if (!customElements.get("auro-dropdownbib")) {
|
|
3358
|
-
customElements.define("auro-dropdownbib", AuroDropdownBib);
|
|
3359
|
-
}
|
|
3360
|
-
|
|
3361
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3362
|
-
// See LICENSE in the project root for license information.
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
/**
|
|
3366
|
-
* @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
|
|
3367
|
-
* @slot - Default slot for the popover content.
|
|
3368
|
-
* @slot label - Defines the content of the label.
|
|
3369
|
-
* @slot helpText - Defines the content of the helpText.
|
|
3370
|
-
* @slot trigger - Defines the content of the trigger.
|
|
3371
|
-
* @csspart trigger - The trigger content container.
|
|
3372
|
-
* @csspart chevron - The collapsed/expanded state icon container.
|
|
3373
|
-
* @csspart helpText - The helpText content container.
|
|
3374
|
-
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
3375
|
-
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
3376
|
-
*/
|
|
3377
|
-
class AuroDropdown extends r$4$1 {
|
|
3378
|
-
constructor() {
|
|
3379
|
-
super();
|
|
3380
|
-
|
|
3381
|
-
this.isPopoverVisible = false;
|
|
3382
|
-
this.matchWidth = false;
|
|
3383
|
-
this.noHideOnThisFocusLoss = false;
|
|
3384
|
-
|
|
3385
|
-
this.privateDefaults();
|
|
3386
|
-
|
|
3387
|
-
/**
|
|
3388
|
-
* @private
|
|
3389
|
-
* @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
|
|
3390
|
-
*/
|
|
3391
|
-
this.constructor.shadowRootOptions = {
|
|
3392
|
-
...r$4$1.shadowRootOptions,
|
|
3393
|
-
delegatesFocus: true,
|
|
3394
|
-
};
|
|
3395
|
-
|
|
3396
|
-
/**
|
|
3397
|
-
* @private
|
|
3398
|
-
*/
|
|
3399
|
-
this.triggerContentFocusable = false;
|
|
3400
|
-
|
|
3401
|
-
/**
|
|
3402
|
-
* @private
|
|
3403
|
-
*/
|
|
3404
|
-
this.showTriggerBorders = true;
|
|
3405
|
-
}
|
|
3406
|
-
|
|
3407
|
-
/**
|
|
3408
|
-
* @private
|
|
3409
|
-
* @returns {void} Internal defaults.
|
|
3410
|
-
*/
|
|
3411
|
-
privateDefaults() {
|
|
3412
|
-
this.bordered = false;
|
|
3413
|
-
this.chevron = false;
|
|
3414
|
-
this.disabled = false;
|
|
3415
|
-
this.error = false;
|
|
3416
|
-
this.inset = false;
|
|
3417
|
-
this.placement = 'bottom-start';
|
|
3418
|
-
this.rounded = false;
|
|
3419
|
-
this.tabIndex = 0;
|
|
3420
|
-
this.noToggle = false;
|
|
3421
|
-
|
|
3422
|
-
/**
|
|
3423
|
-
* @private
|
|
3424
|
-
*/
|
|
3425
|
-
this.hasTriggerContent = false;
|
|
3481
|
+
/**
|
|
3482
|
+
* @private
|
|
3483
|
+
*/
|
|
3484
|
+
this.hasTriggerContent = false;
|
|
3426
3485
|
|
|
3427
3486
|
/**
|
|
3428
3487
|
* @private
|
|
@@ -3432,7 +3491,7 @@ class AuroDropdown extends r$4$1 {
|
|
|
3432
3491
|
/**
|
|
3433
3492
|
* @private
|
|
3434
3493
|
*/
|
|
3435
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$
|
|
3494
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
|
|
3436
3495
|
|
|
3437
3496
|
/**
|
|
3438
3497
|
* @private
|
|
@@ -3452,8 +3511,17 @@ class AuroDropdown extends r$4$1 {
|
|
|
3452
3511
|
/**
|
|
3453
3512
|
* Generate unique names for dependency components.
|
|
3454
3513
|
*/
|
|
3455
|
-
const versioning = new AuroDependencyVersioning$
|
|
3456
|
-
|
|
3514
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
3515
|
+
|
|
3516
|
+
/**
|
|
3517
|
+
* @private
|
|
3518
|
+
*/
|
|
3519
|
+
this.iconTag = versioning.generateTag('auro-icon', iconVersion$4, AuroIcon$4);
|
|
3520
|
+
|
|
3521
|
+
/**
|
|
3522
|
+
* @private
|
|
3523
|
+
*/
|
|
3524
|
+
this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
|
|
3457
3525
|
}
|
|
3458
3526
|
|
|
3459
3527
|
/**
|
|
@@ -3555,6 +3623,14 @@ class AuroDropdown extends r$4$1 {
|
|
|
3555
3623
|
type: Boolean
|
|
3556
3624
|
},
|
|
3557
3625
|
|
|
3626
|
+
/**
|
|
3627
|
+
* If true, the dropdown bib is taking the fullscreen when it's open
|
|
3628
|
+
*/
|
|
3629
|
+
isBibFullscreen: {
|
|
3630
|
+
type: Boolean,
|
|
3631
|
+
reflect: true,
|
|
3632
|
+
},
|
|
3633
|
+
|
|
3558
3634
|
/**
|
|
3559
3635
|
* If declared, the trigger will toggle the dropdown on mouseover/mouseout.
|
|
3560
3636
|
*/
|
|
@@ -3633,8 +3709,8 @@ class AuroDropdown extends r$4$1 {
|
|
|
3633
3709
|
|
|
3634
3710
|
static get styles() {
|
|
3635
3711
|
return [
|
|
3636
|
-
colorCss$
|
|
3637
|
-
styleCss$
|
|
3712
|
+
colorCss$1$4,
|
|
3713
|
+
styleCss$1$4,
|
|
3638
3714
|
tokensCss$1$3
|
|
3639
3715
|
];
|
|
3640
3716
|
}
|
|
@@ -3648,7 +3724,7 @@ class AuroDropdown extends r$4$1 {
|
|
|
3648
3724
|
*
|
|
3649
3725
|
*/
|
|
3650
3726
|
static register(name = "auro-dropdown") {
|
|
3651
|
-
AuroLibraryRuntimeUtils$1$
|
|
3727
|
+
AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
|
|
3652
3728
|
}
|
|
3653
3729
|
|
|
3654
3730
|
connectedCallback() {
|
|
@@ -3683,7 +3759,6 @@ class AuroDropdown extends r$4$1 {
|
|
|
3683
3759
|
|
|
3684
3760
|
/**
|
|
3685
3761
|
* Exposes CSS parts for styling from parent components.
|
|
3686
|
-
* @private
|
|
3687
3762
|
* @returns {void}
|
|
3688
3763
|
*/
|
|
3689
3764
|
exposeCssParts() {
|
|
@@ -3848,7 +3923,7 @@ class AuroDropdown extends r$4$1 {
|
|
|
3848
3923
|
|
|
3849
3924
|
// function that renders the HTML and CSS into the scope of the component
|
|
3850
3925
|
render() {
|
|
3851
|
-
return u$3$
|
|
3926
|
+
return u$3$2`
|
|
3852
3927
|
<div>
|
|
3853
3928
|
<div
|
|
3854
3929
|
id="trigger"
|
|
@@ -3868,7 +3943,7 @@ class AuroDropdown extends r$4$1 {
|
|
|
3868
3943
|
@slotchange="${this.handleTriggerContentSlotChange}"></slot>
|
|
3869
3944
|
</div>
|
|
3870
3945
|
</div>
|
|
3871
|
-
${this.chevron || this.common ? u$3$
|
|
3946
|
+
${this.chevron || this.common ? u$3$2`
|
|
3872
3947
|
<div
|
|
3873
3948
|
id="showStateIcon"
|
|
3874
3949
|
part="chevron">
|
|
@@ -3889,13 +3964,14 @@ class AuroDropdown extends r$4$1 {
|
|
|
3889
3964
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
3890
3965
|
</div>
|
|
3891
3966
|
<div id="bibSizer" part="size"></div>
|
|
3892
|
-
|
|
3967
|
+
<${this.dropdownBibTag}
|
|
3893
3968
|
id="bib"
|
|
3894
3969
|
role="tooltip"
|
|
3970
|
+
?isfullscreen="${this.isBibFullscreen}"
|
|
3895
3971
|
?common="${this.common}"
|
|
3896
3972
|
?rounded="${this.common || this.rounded}"
|
|
3897
3973
|
?inset="${this.common || this.inset}">
|
|
3898
|
-
|
|
3974
|
+
</${this.dropdownBibTag}>
|
|
3899
3975
|
</div>
|
|
3900
3976
|
`;
|
|
3901
3977
|
}
|
|
@@ -3910,46 +3986,46 @@ var dropdownVersion = '3.0.0';
|
|
|
3910
3986
|
* Copyright 2017 Google LLC
|
|
3911
3987
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3912
3988
|
*/
|
|
3913
|
-
const t$5=globalThis,i$9=t$5.trustedTypes,s$5=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7="?"+h$3,n$6=`<${o$7}>`,r$8=document,l$4=()=>r$8.createComment(""),c$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$6=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$1=/>/g,m$2=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$3(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$8.createTreeWalker(r$8,129);function P$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$5?s$5.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3?"!--"===u[1]?c=v$2:undefined!==u[1]?c=_$1:undefined!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):undefined!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$3,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$2:'"'===u[3]?g$1:p$4):c===g$1||c===p$4?c=m$2:c===v$2||c===_$1?c=f$3:(c=m$2,r=undefined);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$3+x):s+h$3+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7)){const i=v[a++],s=r.getAttribute(t).split(h$3),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$9?i$9.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4());}}}else if(8===r.nodeType)if(r.data===o$7)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$8.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$1)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$6(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$2 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$8).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$8,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3(this,t,i),c$6(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$6(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$6(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$8.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return undefined===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$4(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4()),this.O(l$4()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$3(this,t,i,0),o=!c$6(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$6(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?undefined:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const Z={M:e$7,P:h$3,A:o$7,C:1,L:V$1,R:M$2,D:u$6,V:S$3,I:R$1,H:k$1,N:I$1,U:L$1,B:H$1,F:z$1},j$1=t$5.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$5.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$4(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
3989
|
+
const t$5=globalThis,i$9=t$5.trustedTypes,s$5=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7="?"+h$3,n$6=`<${o$7}>`,r$8=document,l$4=()=>r$8.createComment(""),c$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$6=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$1$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$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1$1=y$3(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 undefined!==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:undefined!==u[1]?c=_$1$1:undefined!==u[2]?($$1$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):undefined!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$3,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$2:'"'===u[3]?g$1$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=undefined);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$3+x):s+h$3+(-2===d?i:x);}return [P$1$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=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$6(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$2 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$8).importNode(i,true);C$1$1.currentNode=e;let h=C$1$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$1$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1$1.nextNode(),o++);}return C$1$1.currentNode=r$8,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1$1,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3(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):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$6(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1$1&&c$6(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$8.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$1$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 undefined===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){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1$1,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$3(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?undefined:t;}};let I$1$1 = class I extends k$1$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1$1);}};let L$1$1 = class L extends k$1$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3(this,t,i,0)??E$1$1)===T$1$1)return;const s=this._$AH,e=t===E$1$1&&s!==E$1$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1$1&&(s===E$1$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const Z={M:e$7,P:h$3,A:o$7,C:1,L:V$1$1,R:M$2,D:u$6,V:S$3,I:R$1$1,H:k$1$1,N:I$1$1,U:L$1$1,B:H$1$1,F:z$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(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1$1(i.insertBefore(l$4(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
3914
3990
|
|
|
3915
3991
|
/**
|
|
3916
3992
|
* @license
|
|
3917
3993
|
* Copyright 2020 Google LLC
|
|
3918
3994
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3919
3995
|
*/
|
|
3920
|
-
const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$4=t=>({_$litStatic$:t,r:a$3}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3}),l$3=new Map,n$5=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$6(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$5=n$5(x$1);
|
|
3996
|
+
const a$3$1=Symbol.for(""),o$6$1=t=>{if(t?.r===a$3$1)return t?._$litStatic$},s$4=t=>({_$litStatic$:t,r:a$3$1}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3$1}),l$3$1=new Map,n$5=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$6$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$3$1.get(t))&&(n.raw=n,l$3$1.set(t,r=n)),e=u;}return t(r,...e)},u$5=n$5(x$1$1);
|
|
3921
3997
|
|
|
3922
3998
|
/**
|
|
3923
3999
|
* @license
|
|
3924
4000
|
* Copyright 2017 Google LLC
|
|
3925
4001
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3926
4002
|
*/
|
|
3927
|
-
const t$4={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$6=t=>(...e)=>({_$litDirective$:t,values:e});let i$7 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
4003
|
+
const t$4$1={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$6$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$7$1 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
3928
4004
|
|
|
3929
4005
|
/**
|
|
3930
4006
|
* @license
|
|
3931
4007
|
* Copyright 2020 Google LLC
|
|
3932
4008
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3933
|
-
*/const {I:t$3$1}=Z,s$3=()=>document.createComment(""),r$7=(o,i,n)=>{const e=o._$AA.parentNode,l=undefined===i?o._$AB:i._$AA;if(undefined===n){const i=e.insertBefore(s$3(),l),c=e.insertBefore(s$3(),l);n=new t$3$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,undefined!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v$1=(o,t,i=o)=>(o._$AI(t,i),o),u$4={},m$1=(o,t=u$4)=>o._$AH=t,p$3=o=>o._$AH,M$1=o=>{o._$AP?.(false,true);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
|
|
4009
|
+
*/const {I:t$3$1}=Z,s$3$1=()=>document.createComment(""),r$7=(o,i,n)=>{const e=o._$AA.parentNode,l=undefined===i?o._$AB:i._$AA;if(undefined===n){const i=e.insertBefore(s$3$1(),l),c=e.insertBefore(s$3$1(),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,undefined!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v$1$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;}};
|
|
3934
4010
|
|
|
3935
4011
|
/**
|
|
3936
4012
|
* @license
|
|
3937
4013
|
* Copyright 2017 Google LLC
|
|
3938
4014
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3939
4015
|
*/
|
|
3940
|
-
const u$3=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c$5=e$6(class extends i$7{constructor(e){if(super(e),e.type!==t$4.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;undefined===t?t=s:undefined!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r,c]){const d=p$3(s),{values:p,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p;const h=this.ut??=[],v=[];let m,y,x=0,j=d.length-1,k=0,w=p.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v[k]=v$1(d[x],p[k]),x++,k++;else if(h[j]===a[w])v[w]=v$1(d[j],p[w]),j--,w--;else if(h[x]===a[w])v[w]=v$1(d[x],p[w]),r$7(s,v[w+1],d[x]),x++,w--;else if(h[j]===a[k])v[k]=v$1(d[j],p[k]),r$7(s,d[x],d[j]),j--,k++;else if(undefined===m&&(m=u$3(a,k,w),y=u$3(h,x,j)),m.has(h[x]))if(m.has(h[j])){const e=y.get(a[k]),t=undefined!==e?d[e]:null;if(null===t){const e=r$7(s,d[x]);v$1(e,p[k]),v[k]=e;}else v[k]=v$1(t,p[k]),r$7(s,d[x],t),d[e]=null;k++;}else M$1(d[j]),j--;else M$1(d[x]),x++;for(;k<=w;){const e=r$7(s,v[w+1]);v$1(e,p[k]),v[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M$1(e);}return this.ut=a,m$1(s,v),T$1}});
|
|
4016
|
+
const u$3$1=(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$1(class extends i$7$1{constructor(e){if(super(e),e.type!==t$4$1.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;undefined===t?t=s:undefined!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r,c]){const d=p$3(s),{values:p,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p;const h=this.ut??=[],v=[];let m,y,x=0,j=d.length-1,k=0,w=p.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v[k]=v$1$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(undefined===m&&(m=u$3$1(a,k,w),y=u$3$1(h,x,j)),m.has(h[x]))if(m.has(h[j])){const e=y.get(a[k]),t=undefined!==e?d[e]:null;if(null===t){const e=r$7(s,d[x]);v$1$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}});
|
|
3941
4017
|
|
|
3942
4018
|
/**
|
|
3943
4019
|
* @license
|
|
3944
4020
|
* Copyright 2018 Google LLC
|
|
3945
4021
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3946
|
-
*/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(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
|
|
4022
|
+
*/const e$5$1=e$6$1(class extends i$7$1{constructor(t){if(super(t),t.type!==t$4$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1$1}});
|
|
3947
4023
|
|
|
3948
4024
|
/**
|
|
3949
4025
|
* @license
|
|
3950
4026
|
* Copyright 2018 Google LLC
|
|
3951
4027
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3952
|
-
*/const o$5$1=o=>o??E$1;
|
|
4028
|
+
*/const o$5$1=o=>o??E$1$1;
|
|
3953
4029
|
|
|
3954
4030
|
const watchedItems = new Set();
|
|
3955
4031
|
|
|
@@ -4059,23 +4135,23 @@ function stopNotifyingOnLangChange(element) {
|
|
|
4059
4135
|
* Copyright 2019 Google LLC
|
|
4060
4136
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4061
4137
|
*/
|
|
4062
|
-
const t$2$
|
|
4138
|
+
const t$2$2=globalThis,e$4$2=t$2$2.ShadowRoot&&(undefined===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$1 = 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&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$4$2.get(s)),undefined===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$1("string"==typeof t?t:t+"",undefined,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$1(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;undefined!==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;
|
|
4063
4139
|
|
|
4064
4140
|
/**
|
|
4065
4141
|
* @license
|
|
4066
4142
|
* Copyright 2017 Google LLC
|
|
4067
4143
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4068
|
-
*/const{is:i$5$
|
|
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$2$1={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$2$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$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$2$1}static _$Ei(){if(this.hasOwnProperty(d$2$1("elementProperties")))return;const t=n$3$2(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2$1("properties"))){const t=this.properties,s=[...h$2$1(t),...o$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(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4(s));}else undefined!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2$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$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$2;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1$1.elementStyles=[],b$1$1.shadowRootOptions={mode:"open"},b$1$1[d$2$1("elementProperties")]=new Map,b$1$1[d$2$1("finalized")]=new Map,p$2$1?.({ReactiveElement:b$1$1}),(a$2$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
4069
4145
|
|
|
4070
4146
|
/**
|
|
4071
4147
|
* @license
|
|
4072
4148
|
* Copyright 2017 Google LLC
|
|
4073
4149
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4074
|
-
*/let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$4._$litElement$=true,r$4["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$4$
|
|
4150
|
+
*/let r$4$1 = class r extends b$1$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1$1}};r$4$1._$litElement$=true,r$4$1["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4$1});const i$4$2=globalThis.litElementPolyfillSupport;i$4$2?.({LitElement:r$4$1});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
4075
4151
|
|
|
4076
4152
|
var styleCss$4$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)}`;
|
|
4077
4153
|
|
|
4078
|
-
var colorCss$4 = 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)}`;
|
|
4154
|
+
var colorCss$4$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)}`;
|
|
4079
4155
|
|
|
4080
4156
|
var tokensCss$4 = 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)}`;
|
|
4081
4157
|
|
|
@@ -5643,7 +5719,7 @@ var Cleave_1 = Cleave;
|
|
|
5643
5719
|
|
|
5644
5720
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
5645
5721
|
|
|
5646
|
-
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
5722
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
5647
5723
|
|
|
5648
5724
|
/* eslint-disable jsdoc/require-param */
|
|
5649
5725
|
|
|
@@ -5712,7 +5788,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
5712
5788
|
|
|
5713
5789
|
class AuroFormValidation {
|
|
5714
5790
|
constructor() {
|
|
5715
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
5791
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
5716
5792
|
}
|
|
5717
5793
|
|
|
5718
5794
|
/**
|
|
@@ -6042,7 +6118,7 @@ class AuroFormValidation {
|
|
|
6042
6118
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
6043
6119
|
*/
|
|
6044
6120
|
|
|
6045
|
-
class BaseInput extends r$4 {
|
|
6121
|
+
class BaseInput extends r$4$1 {
|
|
6046
6122
|
|
|
6047
6123
|
constructor() {
|
|
6048
6124
|
super();
|
|
@@ -6384,7 +6460,7 @@ class BaseInput extends r$4 {
|
|
|
6384
6460
|
|
|
6385
6461
|
static get styles() {
|
|
6386
6462
|
return [
|
|
6387
|
-
i$6$1`${colorCss$4}`,
|
|
6463
|
+
i$6$1`${colorCss$4$1}`,
|
|
6388
6464
|
i$6$1`${styleCss$4$1}`,
|
|
6389
6465
|
i$6$1`${tokensCss$4}`
|
|
6390
6466
|
];
|
|
@@ -7110,7 +7186,7 @@ class BaseInput extends r$4 {
|
|
|
7110
7186
|
// See LICENSE in the project root for license information.
|
|
7111
7187
|
|
|
7112
7188
|
|
|
7113
|
-
let AuroDependencyVersioning$
|
|
7189
|
+
let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
7114
7190
|
|
|
7115
7191
|
/**
|
|
7116
7192
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -7156,7 +7232,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
7156
7232
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
7157
7233
|
*/
|
|
7158
7234
|
|
|
7159
|
-
let AuroElement$
|
|
7235
|
+
let AuroElement$3 = class AuroElement extends r$4$1 {
|
|
7160
7236
|
|
|
7161
7237
|
// function to define props used within the scope of this component
|
|
7162
7238
|
static get properties() {
|
|
@@ -7182,11 +7258,11 @@ let AuroElement$2 = class AuroElement extends r$4 {
|
|
|
7182
7258
|
}
|
|
7183
7259
|
};
|
|
7184
7260
|
|
|
7185
|
-
var error$
|
|
7261
|
+
var error$3 = {"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>"};
|
|
7186
7262
|
|
|
7187
7263
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
7188
7264
|
|
|
7189
|
-
const _fetchMap$
|
|
7265
|
+
const _fetchMap$3 = new Map();
|
|
7190
7266
|
|
|
7191
7267
|
/**
|
|
7192
7268
|
* A callback to parse Response body.
|
|
@@ -7204,12 +7280,12 @@ const _fetchMap$2 = new Map();
|
|
|
7204
7280
|
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
7205
7281
|
* @returns {Promise}
|
|
7206
7282
|
*/
|
|
7207
|
-
const cacheFetch$
|
|
7283
|
+
const cacheFetch$3 = (uri, options = {}) => {
|
|
7208
7284
|
const responseParser = options.responseParser || ((response) => response.text());
|
|
7209
|
-
if (!_fetchMap$
|
|
7210
|
-
_fetchMap$
|
|
7285
|
+
if (!_fetchMap$3.has(uri)) {
|
|
7286
|
+
_fetchMap$3.set(uri, fetch(uri).then(responseParser));
|
|
7211
7287
|
}
|
|
7212
|
-
return _fetchMap$
|
|
7288
|
+
return _fetchMap$3.get(uri);
|
|
7213
7289
|
};
|
|
7214
7290
|
|
|
7215
7291
|
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}.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}`;
|
|
@@ -7225,7 +7301,7 @@ var styleCss$3$1 = i$6$1`*,*:before,*:after{box-sizing:border-box}@media(prefers
|
|
|
7225
7301
|
*/
|
|
7226
7302
|
|
|
7227
7303
|
// build the component class
|
|
7228
|
-
let BaseIcon$
|
|
7304
|
+
let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
7229
7305
|
constructor() {
|
|
7230
7306
|
super();
|
|
7231
7307
|
this.onDark = false;
|
|
@@ -7267,9 +7343,9 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
7267
7343
|
let iconHTML = '';
|
|
7268
7344
|
|
|
7269
7345
|
if (category === 'logos') {
|
|
7270
|
-
iconHTML = await cacheFetch$
|
|
7346
|
+
iconHTML = await cacheFetch$3(`${this.uri}/${category}/${name}.svg`);
|
|
7271
7347
|
} else {
|
|
7272
|
-
iconHTML = await cacheFetch$
|
|
7348
|
+
iconHTML = await cacheFetch$3(`${this.uri}/icons/${category}/${name}.svg`);
|
|
7273
7349
|
}
|
|
7274
7350
|
|
|
7275
7351
|
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
@@ -7285,7 +7361,7 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
7285
7361
|
if (svg) {
|
|
7286
7362
|
this.svg = svg;
|
|
7287
7363
|
} else if (!svg) {
|
|
7288
|
-
const penDOM = new DOMParser().parseFromString(error$
|
|
7364
|
+
const penDOM = new DOMParser().parseFromString(error$3.svg, 'text/html');
|
|
7289
7365
|
|
|
7290
7366
|
this.svg = penDOM.body.firstChild;
|
|
7291
7367
|
}
|
|
@@ -7293,7 +7369,7 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
7293
7369
|
}
|
|
7294
7370
|
};
|
|
7295
7371
|
|
|
7296
|
-
var tokensCss$3 = 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)}`;
|
|
7372
|
+
var tokensCss$3$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)}`;
|
|
7297
7373
|
|
|
7298
7374
|
var colorCss$3$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)}`;
|
|
7299
7375
|
|
|
@@ -7328,7 +7404,7 @@ var colorCss$3$1 = i$6$1`:host{color:var(--ds-auro-icon-color)}:host([customColo
|
|
|
7328
7404
|
*/
|
|
7329
7405
|
|
|
7330
7406
|
// build the component class
|
|
7331
|
-
let AuroIcon$
|
|
7407
|
+
let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
7332
7408
|
constructor() {
|
|
7333
7409
|
super();
|
|
7334
7410
|
|
|
@@ -7357,7 +7433,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
7357
7433
|
this.success = false;
|
|
7358
7434
|
this.tertiary = false;
|
|
7359
7435
|
this.warning = false;
|
|
7360
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
7436
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
7361
7437
|
}
|
|
7362
7438
|
|
|
7363
7439
|
// function to define props used within the scope of this component
|
|
@@ -7439,7 +7515,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
7439
7515
|
static get styles() {
|
|
7440
7516
|
return [
|
|
7441
7517
|
super.styles,
|
|
7442
|
-
i$6$1`${tokensCss$3}`,
|
|
7518
|
+
i$6$1`${tokensCss$3$1}`,
|
|
7443
7519
|
i$6$1`${styleCss$3$1}`,
|
|
7444
7520
|
i$6$1`${colorCss$3$1}`
|
|
7445
7521
|
];
|
|
@@ -7454,7 +7530,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
7454
7530
|
*
|
|
7455
7531
|
*/
|
|
7456
7532
|
static register(name = "auro-icon") {
|
|
7457
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
7533
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
7458
7534
|
}
|
|
7459
7535
|
|
|
7460
7536
|
connectedCallback() {
|
|
@@ -7483,14 +7559,14 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
7483
7559
|
'wrapper': true,
|
|
7484
7560
|
};
|
|
7485
7561
|
|
|
7486
|
-
return x$1`
|
|
7562
|
+
return x$1$1`
|
|
7487
7563
|
<div
|
|
7488
7564
|
class="${e$5$1(classes)}"
|
|
7489
7565
|
title="${o$5$1(this.title || undefined)}">
|
|
7490
7566
|
<span aria-hidden="${o$5$1(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
7491
|
-
${this.customSvg ? x$1`
|
|
7567
|
+
${this.customSvg ? x$1$1`
|
|
7492
7568
|
<slot name="svg"></slot>
|
|
7493
|
-
` : x$1`
|
|
7569
|
+
` : x$1$1`
|
|
7494
7570
|
${this.svg}
|
|
7495
7571
|
`
|
|
7496
7572
|
}
|
|
@@ -7504,17 +7580,17 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
7504
7580
|
}
|
|
7505
7581
|
};
|
|
7506
7582
|
|
|
7507
|
-
var iconVersion$
|
|
7583
|
+
var iconVersion$3 = '6.1.2';
|
|
7508
7584
|
|
|
7509
|
-
var styleCss$2$
|
|
7585
|
+
var styleCss$2$3 = 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}`;
|
|
7510
7586
|
|
|
7511
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}`;
|
|
7512
7588
|
|
|
7513
7589
|
var tokensCss$2$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}`;
|
|
7514
7590
|
|
|
7515
|
-
var styleCss$1$
|
|
7591
|
+
var styleCss$1$3 = 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}}`;
|
|
7516
7592
|
|
|
7517
|
-
var colorCss$1$
|
|
7593
|
+
var colorCss$1$3 = 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}`;
|
|
7518
7594
|
|
|
7519
7595
|
var tokensCss$1$2 = i$6$1`:host{--ds-auro-loader-background-color: currentcolor;--ds-auro-loader-border-color: currentcolor;--ds-auro-loader-color: currentcolor}`;
|
|
7520
7596
|
|
|
@@ -7541,7 +7617,7 @@ var tokensCss$1$2 = i$6$1`:host{--ds-auro-loader-background-color: currentcolor;
|
|
|
7541
7617
|
*/
|
|
7542
7618
|
|
|
7543
7619
|
// build the component class
|
|
7544
|
-
class AuroLoader extends r$4 {
|
|
7620
|
+
class AuroLoader extends r$4$1 {
|
|
7545
7621
|
constructor() {
|
|
7546
7622
|
super();
|
|
7547
7623
|
|
|
@@ -7563,7 +7639,7 @@ class AuroLoader extends r$4 {
|
|
|
7563
7639
|
/**
|
|
7564
7640
|
* @private
|
|
7565
7641
|
*/
|
|
7566
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
7642
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
7567
7643
|
|
|
7568
7644
|
this.orbit = false;
|
|
7569
7645
|
this.ringworm = false;
|
|
@@ -7595,8 +7671,8 @@ class AuroLoader extends r$4 {
|
|
|
7595
7671
|
|
|
7596
7672
|
static get styles() {
|
|
7597
7673
|
return [
|
|
7598
|
-
i$6$1`${styleCss$1$
|
|
7599
|
-
i$6$1`${colorCss$1$
|
|
7674
|
+
i$6$1`${styleCss$1$3}`,
|
|
7675
|
+
i$6$1`${colorCss$1$3}`,
|
|
7600
7676
|
i$6$1`${tokensCss$1$2}`
|
|
7601
7677
|
];
|
|
7602
7678
|
}
|
|
@@ -7610,7 +7686,7 @@ class AuroLoader extends r$4 {
|
|
|
7610
7686
|
*
|
|
7611
7687
|
*/
|
|
7612
7688
|
static register(name = "auro-loader") {
|
|
7613
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
|
|
7689
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroLoader);
|
|
7614
7690
|
}
|
|
7615
7691
|
|
|
7616
7692
|
firstUpdated() {
|
|
@@ -7643,14 +7719,14 @@ class AuroLoader extends r$4 {
|
|
|
7643
7719
|
|
|
7644
7720
|
// function that renders the HTML and CSS into the scope of the component
|
|
7645
7721
|
render() {
|
|
7646
|
-
return x$1`
|
|
7647
|
-
${this.defineTemplate().map((idx) => x$1`
|
|
7722
|
+
return x$1$1`
|
|
7723
|
+
${this.defineTemplate().map((idx) => x$1$1`
|
|
7648
7724
|
<span part="element" class="loader node-${idx}"></span>
|
|
7649
7725
|
`)}
|
|
7650
7726
|
|
|
7651
7727
|
<div class="no-animation">Loading...</div>
|
|
7652
7728
|
|
|
7653
|
-
${this.ringworm ? x$1`
|
|
7729
|
+
${this.ringworm ? x$1$1`
|
|
7654
7730
|
<svg part="element" class="circular" viewBox="25 25 50 50">
|
|
7655
7731
|
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
|
|
7656
7732
|
</svg>`
|
|
@@ -7696,7 +7772,7 @@ var loaderVersion = '3.1.1';
|
|
|
7696
7772
|
|
|
7697
7773
|
/* eslint-disable lit/no-invalid-html, lit/binding-positions */
|
|
7698
7774
|
|
|
7699
|
-
class AuroButton extends r$4 {
|
|
7775
|
+
class AuroButton extends r$4$1 {
|
|
7700
7776
|
|
|
7701
7777
|
constructor() {
|
|
7702
7778
|
super();
|
|
@@ -7715,7 +7791,7 @@ class AuroButton extends r$4 {
|
|
|
7715
7791
|
/**
|
|
7716
7792
|
* Generate unique names for dependency components.
|
|
7717
7793
|
*/
|
|
7718
|
-
const versioning = new AuroDependencyVersioning$
|
|
7794
|
+
const versioning = new AuroDependencyVersioning$2();
|
|
7719
7795
|
|
|
7720
7796
|
/**
|
|
7721
7797
|
* @private
|
|
@@ -7726,7 +7802,7 @@ class AuroButton extends r$4 {
|
|
|
7726
7802
|
static get styles() {
|
|
7727
7803
|
return [
|
|
7728
7804
|
tokensCss$2$1,
|
|
7729
|
-
styleCss$2$
|
|
7805
|
+
styleCss$2$3,
|
|
7730
7806
|
colorCss$2$2
|
|
7731
7807
|
];
|
|
7732
7808
|
}
|
|
@@ -7810,7 +7886,7 @@ class AuroButton extends r$4 {
|
|
|
7810
7886
|
*
|
|
7811
7887
|
*/
|
|
7812
7888
|
static register(name = "auro-button") {
|
|
7813
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
|
|
7889
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroButton);
|
|
7814
7890
|
}
|
|
7815
7891
|
|
|
7816
7892
|
/**
|
|
@@ -7903,20 +7979,20 @@ var buttonVersion = '8.2.2';
|
|
|
7903
7979
|
* Copyright 2019 Google LLC
|
|
7904
7980
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7905
7981
|
*/
|
|
7906
|
-
const t$1$
|
|
7982
|
+
const t$1$2=globalThis,e$2$2=t$1$2.ShadowRoot&&(undefined===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&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2$2.get(s)),undefined===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+"",undefined,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;undefined!==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;
|
|
7907
7983
|
|
|
7908
7984
|
/**
|
|
7909
7985
|
* @license
|
|
7910
7986
|
* Copyright 2017 Google LLC
|
|
7911
7987
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7912
|
-
*/const{is:i$2$
|
|
7988
|
+
*/const{is:i$2$2,defineProperty:e$1$3,getOwnPropertyDescriptor:r$2$2,getOwnPropertyNames:h$1$2,getOwnPropertySymbols:o$1$2,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);undefined!==r&&e$1$3(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(),undefined!==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$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(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$2(s));}else undefined!==s&&i.push(c$2$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$2(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$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(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$1$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$2)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$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");
|
|
7913
7989
|
|
|
7914
7990
|
/**
|
|
7915
7991
|
* @license
|
|
7916
7992
|
* Copyright 2017 Google LLC
|
|
7917
7993
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7918
7994
|
*/
|
|
7919
|
-
const t$6=globalThis,i$1$
|
|
7995
|
+
const t$6=globalThis,i$1$2=t$6.trustedTypes,s$6=i$1$2?i$1$2.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$8="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$4,n$7=`<${o$8}>`,r$1$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,y$4=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$4(1),T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$1$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 undefined!==s$6?s$6.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$4;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$4?"!--"===u[1]?c=v$3:undefined!==u[1]?c=_$2:undefined!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$3):undefined!==u[3]&&(c=m$3):c===m$3?">"===u[0]?(c=r??f$4,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$3:'"'===u[3]?g$2:p$5):c===g$2||c===p$5?c=m$3:c===v$3||c===_$2?c=f$4:(c=m$3,r=undefined);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$4?s+n$7:d>=0?(o.push(a),s.slice(0,d)+e$8+s.slice(d)+h$4+x):s+h$4+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$2 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$2(t,s);if(this.el=N.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$8)){const i=v[a++],s=r.getAttribute(t).split(h$4),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$4)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$4),s=t.length-1;if(s>0){r.textContent=i$1$2?i$1$2.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=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$7(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$4(t,h._$AS(t,i.values),h,e)),i}let M$3 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1$2).importNode(i,true);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$2(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$2.nextNode(),o++);}return C$2.currentNode=r$1$2,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$2 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$2,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$4(this,t,i),c$7(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$7(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$2&&c$7(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$2.createElement(P$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$3(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return undefined===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a$5(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$5()),this.O(l$5()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$2 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$2,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$4(this,t,i,0),o=!c$7(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$4(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$7(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$2 = class H extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?undefined:t;}};let I$2 = class I extends k$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$2);}};let L$2 = class L extends k$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$4(this,t,i,0)??E$2)===T$2)return;const s=this._$AH,e=t===E$2&&s!==E$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$2&&(s===E$2||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$2 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$4(this,t);}};const j$2=t$6.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l$5(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
7920
7996
|
|
|
7921
7997
|
/**
|
|
7922
7998
|
* @license
|
|
@@ -7924,11 +8000,11 @@ const t$6=globalThis,i$1$1=t$6.trustedTypes,s$6=i$1$1?i$1$1.createPolicy("lit-ht
|
|
|
7924
8000
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7925
8001
|
*/let r$9 = class r extends b$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$2}};r$9._$litElement$=true,r$9["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$9});const i$a=globalThis.litElementPolyfillSupport;i$a?.({LitElement:r$9});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
7926
8002
|
|
|
7927
|
-
var colorCss$5 = i$3$
|
|
8003
|
+
var colorCss$5 = i$3$2`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
7928
8004
|
|
|
7929
|
-
var styleCss$
|
|
8005
|
+
var styleCss$6 = 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}`;
|
|
7930
8006
|
|
|
7931
|
-
var tokensCss$5 = i$3$
|
|
8007
|
+
var tokensCss$5 = i$3$2`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
7932
8008
|
|
|
7933
8009
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
7934
8010
|
// See LICENSE in the project root for license information.
|
|
@@ -8021,7 +8097,7 @@ class AuroHelpText extends r$9 {
|
|
|
8021
8097
|
static get styles() {
|
|
8022
8098
|
return [
|
|
8023
8099
|
colorCss$5,
|
|
8024
|
-
styleCss$
|
|
8100
|
+
styleCss$6,
|
|
8025
8101
|
tokensCss$5
|
|
8026
8102
|
];
|
|
8027
8103
|
}
|
|
@@ -8133,12 +8209,12 @@ class AuroInput extends BaseInput {
|
|
|
8133
8209
|
/**
|
|
8134
8210
|
* Generate unique names for dependency components.
|
|
8135
8211
|
*/
|
|
8136
|
-
const versioning = new AuroDependencyVersioning$
|
|
8212
|
+
const versioning = new AuroDependencyVersioning$2();
|
|
8137
8213
|
|
|
8138
8214
|
/**
|
|
8139
8215
|
* @private
|
|
8140
8216
|
*/
|
|
8141
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$
|
|
8217
|
+
this.iconTag = versioning.generateTag('auro-icon', iconVersion$3, AuroIcon$3);
|
|
8142
8218
|
|
|
8143
8219
|
/**
|
|
8144
8220
|
* @private
|
|
@@ -8155,7 +8231,7 @@ class AuroInput extends BaseInput {
|
|
|
8155
8231
|
*
|
|
8156
8232
|
*/
|
|
8157
8233
|
static register(name = "auro-input") {
|
|
8158
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroInput);
|
|
8234
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroInput);
|
|
8159
8235
|
}
|
|
8160
8236
|
|
|
8161
8237
|
/**
|
|
@@ -8178,180 +8254,973 @@ class AuroInput extends BaseInput {
|
|
|
8178
8254
|
return true;
|
|
8179
8255
|
}
|
|
8180
8256
|
|
|
8181
|
-
return false;
|
|
8257
|
+
return false;
|
|
8258
|
+
}
|
|
8259
|
+
|
|
8260
|
+
isDateType() {
|
|
8261
|
+
let isDateType = false;
|
|
8262
|
+
|
|
8263
|
+
switch (this.type) {
|
|
8264
|
+
case 'month-day-year':
|
|
8265
|
+
case 'month-year':
|
|
8266
|
+
case 'year-month-day':
|
|
8267
|
+
case 'month-fullYear':
|
|
8268
|
+
case 'month':
|
|
8269
|
+
case 'year':
|
|
8270
|
+
case 'fullYear':
|
|
8271
|
+
isDateType = true;
|
|
8272
|
+
break;
|
|
8273
|
+
}
|
|
8274
|
+
|
|
8275
|
+
return isDateType;
|
|
8276
|
+
}
|
|
8277
|
+
|
|
8278
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
8279
|
+
render() {
|
|
8280
|
+
// is-disabled class - THIS IS ONLY HERE TO MAKE A TEST PASS AS FAR AS I CAN TELL
|
|
8281
|
+
const labelClasses = {
|
|
8282
|
+
'is-disabled': this.disabled,
|
|
8283
|
+
'withIcon': this.hasTypeIcon(),
|
|
8284
|
+
'withValue': this.value && this.value.length > 0
|
|
8285
|
+
};
|
|
8286
|
+
|
|
8287
|
+
return u$5`
|
|
8288
|
+
<div class="wrapper" part="wrapper">
|
|
8289
|
+
<div class="main">
|
|
8290
|
+
<div class="typeIcon">
|
|
8291
|
+
${this.type === 'credit-card' ? this.processCreditCard() : undefined}
|
|
8292
|
+
|
|
8293
|
+
<!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
|
|
8294
|
+
This should be cleaned up when auro-icon issue #31 is resolved. -->
|
|
8295
|
+
${this.inputIconName
|
|
8296
|
+
? c$5([this.inputIconName], (val) => val, (name) => u$5`
|
|
8297
|
+
<${this.iconTag}
|
|
8298
|
+
class="accentIcon"
|
|
8299
|
+
category="payment"
|
|
8300
|
+
name="${name}"
|
|
8301
|
+
part="accentIcon"
|
|
8302
|
+
?disabled="${this.disabled}">
|
|
8303
|
+
</${this.iconTag}>
|
|
8304
|
+
`) : undefined
|
|
8305
|
+
}
|
|
8306
|
+
|
|
8307
|
+
${this.isDateType()
|
|
8308
|
+
? u$5`
|
|
8309
|
+
<${this.iconTag}
|
|
8310
|
+
class="accentIcon"
|
|
8311
|
+
category="interface"
|
|
8312
|
+
name="calendar"
|
|
8313
|
+
part="accentIcon"
|
|
8314
|
+
?disabled="${this.disabled}">
|
|
8315
|
+
</${this.iconTag}>`
|
|
8316
|
+
: undefined
|
|
8317
|
+
}
|
|
8318
|
+
</div>
|
|
8319
|
+
<label for=${this.id} class="${e$5$1(labelClasses)}" part="label">
|
|
8320
|
+
<slot name="label">
|
|
8321
|
+
${this.label}
|
|
8322
|
+
</slot>
|
|
8323
|
+
${this.required ? '' : ` (${i18n(this.lang, 'optional')})`}
|
|
8324
|
+
</label>
|
|
8325
|
+
<input
|
|
8326
|
+
@input="${this.handleInput}"
|
|
8327
|
+
@focusin="${this.handleFocusin}"
|
|
8328
|
+
@blur="${this.handleBlur}"
|
|
8329
|
+
id="${this.id}"
|
|
8330
|
+
name="${o$5$1(this.name)}"
|
|
8331
|
+
type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}"
|
|
8332
|
+
pattern="${o$5$1(this.definePattern())}"
|
|
8333
|
+
maxlength="${o$5$1(this.maxLength ? this.maxLength : undefined)}"
|
|
8334
|
+
minlength="${o$5$1(this.minLength ? this.minLength : undefined)}"
|
|
8335
|
+
inputMode="${o$5$1(this.inputMode ? this.inputMode : undefined)}"
|
|
8336
|
+
?required="${this.required}"
|
|
8337
|
+
?disabled="${this.disabled}"
|
|
8338
|
+
aria-describedby="${this.uniqueId}"
|
|
8339
|
+
aria-invalid="${this.validity !== 'valid'}"
|
|
8340
|
+
placeholder=${this.getPlaceholder()}
|
|
8341
|
+
lang="${o$5$1(this.lang)}"
|
|
8342
|
+
?activeLabel="${this.activeLabel}"
|
|
8343
|
+
spellcheck="${o$5$1(this.spellcheck ? this.spellcheck : undefined)}"
|
|
8344
|
+
autocorrect="${o$5$1(this.autocorrect ? this.autocorrect : undefined)}"
|
|
8345
|
+
autocapitalize="${o$5$1(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
8346
|
+
autocomplete="${o$5$1(this.autocomplete ? this.autocomplete : undefined)}"
|
|
8347
|
+
part="input"
|
|
8348
|
+
/>
|
|
8349
|
+
</div>
|
|
8350
|
+
<div
|
|
8351
|
+
class="notificationIcons"
|
|
8352
|
+
part="notificationIcons"
|
|
8353
|
+
?hasValue="${this.hasValue}">
|
|
8354
|
+
${this.validity && this.validity !== 'valid' ? u$5`
|
|
8355
|
+
<div class="notification alertNotification">
|
|
8356
|
+
<${this.iconTag}
|
|
8357
|
+
category="alert"
|
|
8358
|
+
name="error-stroke"
|
|
8359
|
+
error>
|
|
8360
|
+
</${this.iconTag}>
|
|
8361
|
+
</div>
|
|
8362
|
+
` : undefined}
|
|
8363
|
+
${this.hasValue ? u$5`
|
|
8364
|
+
${this.type === 'password' ? u$5`
|
|
8365
|
+
<div class="notification">
|
|
8366
|
+
<${this.buttonTag}
|
|
8367
|
+
variant="flat"
|
|
8368
|
+
aria-hidden="true"
|
|
8369
|
+
tabindex="-1"
|
|
8370
|
+
@click="${this.handleClickShowPassword}"
|
|
8371
|
+
class="notificationBtn passwordBtn">
|
|
8372
|
+
<${this.iconTag}
|
|
8373
|
+
category="interface"
|
|
8374
|
+
name="hide-password-stroke"
|
|
8375
|
+
customColor
|
|
8376
|
+
?hidden=${!this.showPassword}>
|
|
8377
|
+
</${this.iconTag}>
|
|
8378
|
+
<${this.iconTag}
|
|
8379
|
+
category="interface"
|
|
8380
|
+
name="view-password-stroke"
|
|
8381
|
+
customColor
|
|
8382
|
+
?hidden=${this.showPassword}>
|
|
8383
|
+
</${this.iconTag}>
|
|
8384
|
+
</${this.buttonTag}>
|
|
8385
|
+
</div>
|
|
8386
|
+
` : undefined}
|
|
8387
|
+
${!this.disabled && !this.readonly ? u$5`
|
|
8388
|
+
<div class="notification">
|
|
8389
|
+
<${this.buttonTag}
|
|
8390
|
+
variant="flat"
|
|
8391
|
+
class="notificationBtn clearBtn"
|
|
8392
|
+
aria-hidden="true"
|
|
8393
|
+
tabindex="-1"
|
|
8394
|
+
@click="${this.handleClickClear}">
|
|
8395
|
+
<${this.iconTag}
|
|
8396
|
+
customColor
|
|
8397
|
+
category="interface"
|
|
8398
|
+
name="x-lg"
|
|
8399
|
+
>
|
|
8400
|
+
</${this.iconTag}>
|
|
8401
|
+
</${this.buttonTag}>
|
|
8402
|
+
</div>
|
|
8403
|
+
` : undefined}
|
|
8404
|
+
` : undefined}
|
|
8405
|
+
</div>
|
|
8406
|
+
</div>
|
|
8407
|
+
<!-- Help text and error message template -->
|
|
8408
|
+
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
8409
|
+
? u$5`
|
|
8410
|
+
<auro-helptext>
|
|
8411
|
+
<p id="${this.uniqueId}" part="helpText">
|
|
8412
|
+
<slot name="helptext">${this.getHelpText(this.type)}</slot>
|
|
8413
|
+
</p>
|
|
8414
|
+
</auro-helptext>
|
|
8415
|
+
`
|
|
8416
|
+
: u$5`
|
|
8417
|
+
<auro-helptext error>
|
|
8418
|
+
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
8419
|
+
${this.errorMessage}
|
|
8420
|
+
</p>
|
|
8421
|
+
</auro-helptext>
|
|
8422
|
+
`
|
|
8423
|
+
}
|
|
8424
|
+
`;
|
|
8425
|
+
}
|
|
8426
|
+
}
|
|
8427
|
+
|
|
8428
|
+
AuroInput.register();
|
|
8429
|
+
|
|
8430
|
+
var inputVersion = '4.2.0';
|
|
8431
|
+
|
|
8432
|
+
/**
|
|
8433
|
+
* @license
|
|
8434
|
+
* Copyright 2019 Google LLC
|
|
8435
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8436
|
+
*/
|
|
8437
|
+
const t$2$1=globalThis,e$4$1=t$2$1.ShadowRoot&&(undefined===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&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$4$1.get(s)),undefined===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+"",undefined,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;undefined!==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
|
+
|
|
8439
|
+
/**
|
|
8440
|
+
* @license
|
|
8441
|
+
* Copyright 2017 Google LLC
|
|
8442
|
+
* 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);undefined!==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(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$1("properties"))){const t=this.properties,s=[...h$1$1(t),...o$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(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2$1(s));}else undefined!==s&&i.push(c$2$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$2$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$2$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$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
|
+
|
|
8445
|
+
/**
|
|
8446
|
+
* @license
|
|
8447
|
+
* Copyright 2017 Google LLC
|
|
8448
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8449
|
+
*/
|
|
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}):undefined,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$2=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$2(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 undefined!==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:undefined!==u[1]?c=_$1:undefined!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):undefined!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$2,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===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=undefined);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=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$3(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$2(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1$1).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$1$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$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):undefined!==t._$litType$?this.$(t):undefined!==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):(undefined===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$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 undefined===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){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$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?undefined:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$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=undefined,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(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$1$1(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
8451
|
+
|
|
8452
|
+
/**
|
|
8453
|
+
* @license
|
|
8454
|
+
* Copyright 2017 Google LLC
|
|
8455
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8456
|
+
*/let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$4._$litElement$=true,r$4["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$2$1=globalThis.litElementPolyfillSupport;i$2$1?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
8457
|
+
|
|
8458
|
+
/**
|
|
8459
|
+
* @license
|
|
8460
|
+
* Copyright 2020 Google LLC
|
|
8461
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8462
|
+
*/
|
|
8463
|
+
const a$3=Symbol.for(""),o$1$1=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({_$litStatic$:t,r:a$3}),i$1$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3}),l$3=new Map,n$4=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$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$4(x$1);
|
|
8464
|
+
|
|
8465
|
+
var colorCss$1$2 = i$5$1``;
|
|
8466
|
+
|
|
8467
|
+
var styleCss$2$2 = 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
|
+
|
|
8469
|
+
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
|
+
|
|
8471
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
8472
|
+
// See LICENSE in the project root for license information.
|
|
8473
|
+
|
|
8474
|
+
// ---------------------------------------------------------------------
|
|
8475
|
+
|
|
8476
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
8477
|
+
|
|
8478
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
8479
|
+
|
|
8480
|
+
/* eslint-disable jsdoc/require-param */
|
|
8481
|
+
|
|
8482
|
+
/**
|
|
8483
|
+
* This will register a new custom element with the browser.
|
|
8484
|
+
* @param {String} name - The name of the custom element.
|
|
8485
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
8486
|
+
* @returns {void}
|
|
8487
|
+
*/
|
|
8488
|
+
registerComponent(name, componentClass) {
|
|
8489
|
+
if (!customElements.get(name)) {
|
|
8490
|
+
customElements.define(name, class extends componentClass {});
|
|
8491
|
+
}
|
|
8492
|
+
}
|
|
8493
|
+
|
|
8494
|
+
/**
|
|
8495
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
8496
|
+
* @returns {void}
|
|
8497
|
+
*/
|
|
8498
|
+
closestElement(
|
|
8499
|
+
selector, // selector like in .closest()
|
|
8500
|
+
base = this, // extra functionality to skip a parent
|
|
8501
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
8502
|
+
!el || el === document || el === window
|
|
8503
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
8504
|
+
: found
|
|
8505
|
+
? found // found a selector INside this element
|
|
8506
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
8507
|
+
) {
|
|
8508
|
+
return __Closest(base);
|
|
8509
|
+
}
|
|
8510
|
+
/* eslint-enable jsdoc/require-param */
|
|
8511
|
+
|
|
8512
|
+
/**
|
|
8513
|
+
* 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.
|
|
8514
|
+
* @param {Object} elem - The element to check.
|
|
8515
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
8516
|
+
* @returns {void}
|
|
8517
|
+
*/
|
|
8518
|
+
handleComponentTagRename(elem, tagName) {
|
|
8519
|
+
const tag = tagName.toLowerCase();
|
|
8520
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
8521
|
+
|
|
8522
|
+
if (elemTag !== tag) {
|
|
8523
|
+
elem.setAttribute(tag, true);
|
|
8524
|
+
}
|
|
8525
|
+
}
|
|
8526
|
+
|
|
8527
|
+
/**
|
|
8528
|
+
* Validates if an element is a specific Auro component.
|
|
8529
|
+
* @param {Object} elem - The element to validate.
|
|
8530
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
8531
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
8532
|
+
*/
|
|
8533
|
+
elementMatch(elem, tagName) {
|
|
8534
|
+
const tag = tagName.toLowerCase();
|
|
8535
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
8536
|
+
|
|
8537
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
8538
|
+
}
|
|
8539
|
+
};
|
|
8540
|
+
|
|
8541
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
8542
|
+
// See LICENSE in the project root for license information.
|
|
8543
|
+
|
|
8544
|
+
|
|
8545
|
+
let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
8546
|
+
|
|
8547
|
+
/**
|
|
8548
|
+
* Generates a unique string to be used for child auro element naming.
|
|
8549
|
+
* @private
|
|
8550
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
8551
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
8552
|
+
* @returns {string} - Unique string to be used for naming.
|
|
8553
|
+
*/
|
|
8554
|
+
generateElementName(baseName, version) {
|
|
8555
|
+
let result = baseName;
|
|
8556
|
+
|
|
8557
|
+
result += '-';
|
|
8558
|
+
result += version.replace(/[.]/g, '_');
|
|
8559
|
+
|
|
8560
|
+
return result;
|
|
8561
|
+
}
|
|
8562
|
+
|
|
8563
|
+
/**
|
|
8564
|
+
* Generates a unique string to be used for child auro element naming.
|
|
8565
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
8566
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
8567
|
+
* @returns {string} - Unique string to be used for naming.
|
|
8568
|
+
*/
|
|
8569
|
+
generateTag(baseName, version, tagClass) {
|
|
8570
|
+
const elementName = this.generateElementName(baseName, version);
|
|
8571
|
+
const tag = i$1$1`${s$3(elementName)}`;
|
|
8572
|
+
|
|
8573
|
+
if (!customElements.get(elementName)) {
|
|
8574
|
+
customElements.define(elementName, class extends tagClass {});
|
|
8575
|
+
}
|
|
8576
|
+
|
|
8577
|
+
return tag;
|
|
8578
|
+
}
|
|
8579
|
+
};
|
|
8580
|
+
|
|
8581
|
+
/**
|
|
8582
|
+
* @license
|
|
8583
|
+
* Copyright 2017 Google LLC
|
|
8584
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8585
|
+
*/
|
|
8586
|
+
const t$4={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$1$2=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)}};
|
|
8587
|
+
|
|
8588
|
+
/**
|
|
8589
|
+
* @license
|
|
8590
|
+
* Copyright 2018 Google LLC
|
|
8591
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8592
|
+
*/const e$6=e$1$2(class extends i$7{constructor(t$1){if(super(t$1),t$1.type!==t$4.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$1}});
|
|
8593
|
+
|
|
8594
|
+
/**
|
|
8595
|
+
* @license
|
|
8596
|
+
* Copyright 2018 Google LLC
|
|
8597
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8598
|
+
*/const o$6=o=>o??E$1;
|
|
8599
|
+
|
|
8600
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8601
|
+
// See LICENSE in the project root for license information.
|
|
8602
|
+
|
|
8603
|
+
|
|
8604
|
+
/**
|
|
8605
|
+
* @attr {Boolean} hidden - If present, the component will be hidden both visually and from screen readers
|
|
8606
|
+
* @attr {Boolean} hiddenVisually - If present, the component will be hidden visually, but still read by screen readers
|
|
8607
|
+
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
8608
|
+
*/
|
|
8609
|
+
|
|
8610
|
+
let AuroElement$2 = class AuroElement extends r$4 {
|
|
8611
|
+
|
|
8612
|
+
// function to define props used within the scope of this component
|
|
8613
|
+
static get properties() {
|
|
8614
|
+
return {
|
|
8615
|
+
hidden: { type: Boolean,
|
|
8616
|
+
reflect: true },
|
|
8617
|
+
hiddenVisually: { type: Boolean,
|
|
8618
|
+
reflect: true },
|
|
8619
|
+
hiddenAudible: { type: Boolean,
|
|
8620
|
+
reflect: true },
|
|
8621
|
+
};
|
|
8622
|
+
}
|
|
8623
|
+
|
|
8624
|
+
/**
|
|
8625
|
+
* @private Function that determines state of aria-hidden
|
|
8626
|
+
*/
|
|
8627
|
+
hideAudible(value) {
|
|
8628
|
+
if (value) {
|
|
8629
|
+
return 'true'
|
|
8630
|
+
}
|
|
8631
|
+
|
|
8632
|
+
return 'false'
|
|
8633
|
+
}
|
|
8634
|
+
};
|
|
8635
|
+
|
|
8636
|
+
var error$2 = {"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>"};
|
|
8637
|
+
|
|
8638
|
+
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
8639
|
+
|
|
8640
|
+
const _fetchMap$2 = new Map();
|
|
8641
|
+
|
|
8642
|
+
/**
|
|
8643
|
+
* A callback to parse Response body.
|
|
8644
|
+
*
|
|
8645
|
+
* @callback ResponseParser
|
|
8646
|
+
* @param {Fetch.Response} response
|
|
8647
|
+
* @returns {Promise}
|
|
8648
|
+
*/
|
|
8649
|
+
|
|
8650
|
+
/**
|
|
8651
|
+
* A minimal in-memory map to de-duplicate Fetch API media requests.
|
|
8652
|
+
*
|
|
8653
|
+
* @param {String} uri
|
|
8654
|
+
* @param {Object} [options={}]
|
|
8655
|
+
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
8656
|
+
* @returns {Promise}
|
|
8657
|
+
*/
|
|
8658
|
+
const cacheFetch$2 = (uri, options = {}) => {
|
|
8659
|
+
const responseParser = options.responseParser || ((response) => response.text());
|
|
8660
|
+
if (!_fetchMap$2.has(uri)) {
|
|
8661
|
+
_fetchMap$2.set(uri, fetch(uri).then(responseParser));
|
|
8662
|
+
}
|
|
8663
|
+
return _fetchMap$2.get(uri);
|
|
8664
|
+
};
|
|
8665
|
+
|
|
8666
|
+
var styleCss$1$2 = 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
|
+
|
|
8668
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8669
|
+
// See LICENSE in the project root for license information.
|
|
8670
|
+
|
|
8671
|
+
|
|
8672
|
+
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
8673
|
+
/**
|
|
8674
|
+
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
8675
|
+
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
8676
|
+
*/
|
|
8677
|
+
|
|
8678
|
+
// build the component class
|
|
8679
|
+
let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
8680
|
+
constructor() {
|
|
8681
|
+
super();
|
|
8682
|
+
this.onDark = false;
|
|
8683
|
+
}
|
|
8684
|
+
|
|
8685
|
+
// function to define props used within the scope of this component
|
|
8686
|
+
static get properties() {
|
|
8687
|
+
return {
|
|
8688
|
+
...super.properties,
|
|
8689
|
+
onDark: {
|
|
8690
|
+
type: Boolean,
|
|
8691
|
+
reflect: true
|
|
8692
|
+
},
|
|
8693
|
+
|
|
8694
|
+
/**
|
|
8695
|
+
* @private
|
|
8696
|
+
*/
|
|
8697
|
+
svg: {
|
|
8698
|
+
attribute: false,
|
|
8699
|
+
reflect: true
|
|
8700
|
+
}
|
|
8701
|
+
};
|
|
8702
|
+
}
|
|
8703
|
+
|
|
8704
|
+
static get styles() {
|
|
8705
|
+
return i$5$1`
|
|
8706
|
+
${styleCss$1$2}
|
|
8707
|
+
`;
|
|
8708
|
+
}
|
|
8709
|
+
|
|
8710
|
+
/**
|
|
8711
|
+
* Async function to fetch requested icon from npm CDN.
|
|
8712
|
+
* @private
|
|
8713
|
+
* @param {string} category - Icon category.
|
|
8714
|
+
* @param {string} name - Icon name.
|
|
8715
|
+
* @returns {SVGElement} DOM - Ready HTML to be appended.
|
|
8716
|
+
*/
|
|
8717
|
+
async fetchIcon(category, name) {
|
|
8718
|
+
let iconHTML = '';
|
|
8719
|
+
|
|
8720
|
+
if (category === 'logos') {
|
|
8721
|
+
iconHTML = await cacheFetch$2(`${this.uri}/${category}/${name}.svg`);
|
|
8722
|
+
} else {
|
|
8723
|
+
iconHTML = await cacheFetch$2(`${this.uri}/icons/${category}/${name}.svg`);
|
|
8724
|
+
}
|
|
8725
|
+
|
|
8726
|
+
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
8727
|
+
|
|
8728
|
+
return dom.body.querySelector('svg');
|
|
8729
|
+
}
|
|
8730
|
+
|
|
8731
|
+
// lifecycle function
|
|
8732
|
+
async firstUpdated() {
|
|
8733
|
+
if (!this.customSvg) {
|
|
8734
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
8735
|
+
|
|
8736
|
+
if (svg) {
|
|
8737
|
+
this.svg = svg;
|
|
8738
|
+
} else if (!svg) {
|
|
8739
|
+
const penDOM = new DOMParser().parseFromString(error$2.svg, 'text/html');
|
|
8740
|
+
|
|
8741
|
+
this.svg = penDOM.body.firstChild;
|
|
8742
|
+
}
|
|
8743
|
+
}
|
|
8744
|
+
}
|
|
8745
|
+
};
|
|
8746
|
+
|
|
8747
|
+
var tokensCss$3 = 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
|
+
|
|
8749
|
+
var colorCss$4 = 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
|
+
|
|
8751
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8752
|
+
// See LICENSE in the project root for license information.
|
|
8753
|
+
|
|
8754
|
+
|
|
8755
|
+
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
8756
|
+
/**
|
|
8757
|
+
* auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
|
|
8758
|
+
*
|
|
8759
|
+
* @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
8760
|
+
* @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
|
|
8761
|
+
* @attr {Boolean} customColor - Removes primary selector.
|
|
8762
|
+
* @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
|
|
8763
|
+
* @attr {Boolean} label - Exposes content in slot as icon label.
|
|
8764
|
+
* @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
8765
|
+
* @attr {Boolean} accent - Sets the icon to use the accent style.
|
|
8766
|
+
* @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
|
|
8767
|
+
* @attr {Boolean} disabled - Sets the icon to use the disabled style.
|
|
8768
|
+
* @attr {Boolean} error - Sets the icon to use the error style.
|
|
8769
|
+
* @attr {Boolean} info - Sets the icon to use the info style.
|
|
8770
|
+
* @attr {Boolean} secondary - Sets the icon to use the secondary style.
|
|
8771
|
+
* @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
|
|
8772
|
+
* @attr {Boolean} subtle - Sets the icon to use the subtle style.
|
|
8773
|
+
* @attr {Boolean} success - Sets the icon to use the success style.
|
|
8774
|
+
* @attr {Boolean} warning - Sets the icon to use the warning style.
|
|
8775
|
+
* @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
|
|
8776
|
+
* @attr {String} uri - Set the uri for CDN used when fetching icons
|
|
8777
|
+
* @slot - Hidden from visibility, used for a11y if icon description is needed.
|
|
8778
|
+
* @slot svg - Used for custom SVG content.
|
|
8779
|
+
*/
|
|
8780
|
+
|
|
8781
|
+
// build the component class
|
|
8782
|
+
let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
8783
|
+
constructor() {
|
|
8784
|
+
super();
|
|
8785
|
+
|
|
8786
|
+
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
8787
|
+
|
|
8788
|
+
this.privateDefaults();
|
|
8789
|
+
}
|
|
8790
|
+
|
|
8791
|
+
/**
|
|
8792
|
+
* Internal Defaults.
|
|
8793
|
+
* @private
|
|
8794
|
+
* @returns {void}
|
|
8795
|
+
*/
|
|
8796
|
+
privateDefaults() {
|
|
8797
|
+
this.accent = false;
|
|
8798
|
+
this.customColor = false;
|
|
8799
|
+
this.customSvg = false;
|
|
8800
|
+
this.disabled = false;
|
|
8801
|
+
this.emphasis = false;
|
|
8802
|
+
this.error = false;
|
|
8803
|
+
this.info = false;
|
|
8804
|
+
this.label = false;
|
|
8805
|
+
this.primary = false;
|
|
8806
|
+
this.secondary = false;
|
|
8807
|
+
this.subtle = false;
|
|
8808
|
+
this.success = false;
|
|
8809
|
+
this.tertiary = false;
|
|
8810
|
+
this.warning = false;
|
|
8811
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
8812
|
+
}
|
|
8813
|
+
|
|
8814
|
+
// function to define props used within the scope of this component
|
|
8815
|
+
static get properties() {
|
|
8816
|
+
return {
|
|
8817
|
+
...super.properties,
|
|
8818
|
+
accent: {
|
|
8819
|
+
type: Boolean,
|
|
8820
|
+
reflect: true
|
|
8821
|
+
},
|
|
8822
|
+
ariaHidden: {
|
|
8823
|
+
type: String,
|
|
8824
|
+
reflect: true
|
|
8825
|
+
},
|
|
8826
|
+
category: {
|
|
8827
|
+
type: String,
|
|
8828
|
+
reflect: true
|
|
8829
|
+
},
|
|
8830
|
+
customColor: {
|
|
8831
|
+
type: Boolean
|
|
8832
|
+
},
|
|
8833
|
+
customSvg: {
|
|
8834
|
+
type: Boolean
|
|
8835
|
+
},
|
|
8836
|
+
disabled: {
|
|
8837
|
+
type: Boolean,
|
|
8838
|
+
reflect: true
|
|
8839
|
+
},
|
|
8840
|
+
emphasis: {
|
|
8841
|
+
type: Boolean,
|
|
8842
|
+
reflect: true
|
|
8843
|
+
},
|
|
8844
|
+
error: {
|
|
8845
|
+
type: Boolean,
|
|
8846
|
+
reflect: true
|
|
8847
|
+
},
|
|
8848
|
+
info: {
|
|
8849
|
+
type: Boolean,
|
|
8850
|
+
reflect: true
|
|
8851
|
+
},
|
|
8852
|
+
label: {
|
|
8853
|
+
type: Boolean,
|
|
8854
|
+
reflect: true
|
|
8855
|
+
},
|
|
8856
|
+
name: {
|
|
8857
|
+
type: String,
|
|
8858
|
+
reflect: true
|
|
8859
|
+
},
|
|
8860
|
+
primary: {
|
|
8861
|
+
type: Boolean,
|
|
8862
|
+
reflect: true
|
|
8863
|
+
},
|
|
8864
|
+
secondary: {
|
|
8865
|
+
type: Boolean,
|
|
8866
|
+
reflect: true
|
|
8867
|
+
},
|
|
8868
|
+
subtle: {
|
|
8869
|
+
type: Boolean,
|
|
8870
|
+
reflect: true
|
|
8871
|
+
},
|
|
8872
|
+
success: {
|
|
8873
|
+
type: Boolean,
|
|
8874
|
+
reflect: true
|
|
8875
|
+
},
|
|
8876
|
+
tertiary: {
|
|
8877
|
+
type: Boolean,
|
|
8878
|
+
reflect: true
|
|
8879
|
+
},
|
|
8880
|
+
uri: {
|
|
8881
|
+
type: String
|
|
8882
|
+
},
|
|
8883
|
+
warning: {
|
|
8884
|
+
type: Boolean,
|
|
8885
|
+
reflect: true
|
|
8886
|
+
}
|
|
8887
|
+
};
|
|
8888
|
+
}
|
|
8889
|
+
|
|
8890
|
+
static get styles() {
|
|
8891
|
+
return [
|
|
8892
|
+
super.styles,
|
|
8893
|
+
i$5$1`${tokensCss$3}`,
|
|
8894
|
+
i$5$1`${styleCss$1$2}`,
|
|
8895
|
+
i$5$1`${colorCss$4}`
|
|
8896
|
+
];
|
|
8897
|
+
}
|
|
8898
|
+
|
|
8899
|
+
/**
|
|
8900
|
+
* This will register this element with the browser.
|
|
8901
|
+
* @param {string} [name="auro-icon"] - The name of element that you want to register to.
|
|
8902
|
+
*
|
|
8903
|
+
* @example
|
|
8904
|
+
* AuroIcon.register("custom-icon") // this will register this element to <custom-icon/>
|
|
8905
|
+
*
|
|
8906
|
+
*/
|
|
8907
|
+
static register(name = "auro-icon") {
|
|
8908
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
8909
|
+
}
|
|
8910
|
+
|
|
8911
|
+
connectedCallback() {
|
|
8912
|
+
super.connectedCallback();
|
|
8913
|
+
|
|
8914
|
+
// Add the tag name as an attribute if it is different than the component name
|
|
8915
|
+
this.runtimeUtils.handleComponentTagRename(this, 'auro-icon');
|
|
8916
|
+
}
|
|
8917
|
+
|
|
8918
|
+
/**
|
|
8919
|
+
* @returns {void} Exposes CSS parts for styling from parent components.
|
|
8920
|
+
*/
|
|
8921
|
+
exposeCssParts() {
|
|
8922
|
+
this.setAttribute('exportparts', 'svg:iconSvg');
|
|
8923
|
+
}
|
|
8924
|
+
|
|
8925
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
8926
|
+
render() {
|
|
8927
|
+
const a11y = {
|
|
8928
|
+
'labelContainer': true,
|
|
8929
|
+
'util_displayHiddenVisually': !this.label
|
|
8930
|
+
};
|
|
8931
|
+
|
|
8932
|
+
const classes = {
|
|
8933
|
+
'label': this.label,
|
|
8934
|
+
'wrapper': true,
|
|
8935
|
+
};
|
|
8936
|
+
|
|
8937
|
+
return x$1`
|
|
8938
|
+
<div
|
|
8939
|
+
class="${e$6(classes)}"
|
|
8940
|
+
title="${o$6(this.title || undefined)}">
|
|
8941
|
+
<span aria-hidden="${o$6(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
8942
|
+
${this.customSvg ? x$1`
|
|
8943
|
+
<slot name="svg"></slot>
|
|
8944
|
+
` : x$1`
|
|
8945
|
+
${this.svg}
|
|
8946
|
+
`
|
|
8947
|
+
}
|
|
8948
|
+
</span>
|
|
8949
|
+
|
|
8950
|
+
<div class="${e$6(a11y)}">
|
|
8951
|
+
<slot></slot>
|
|
8952
|
+
</div>
|
|
8953
|
+
</div>
|
|
8954
|
+
`;
|
|
8955
|
+
}
|
|
8956
|
+
};
|
|
8957
|
+
|
|
8958
|
+
var iconVersion$2 = '6.1.2';
|
|
8959
|
+
|
|
8960
|
+
var styleCss$5 = 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
|
+
|
|
8962
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8963
|
+
// See LICENSE in the project root for license information.
|
|
8964
|
+
|
|
8965
|
+
|
|
8966
|
+
/**
|
|
8967
|
+
* The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
|
|
8968
|
+
*
|
|
8969
|
+
* @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
|
|
8970
|
+
* @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
|
|
8971
|
+
* @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
|
|
8972
|
+
* @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
|
|
8973
|
+
* @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
|
|
8974
|
+
*/
|
|
8975
|
+
|
|
8976
|
+
/* eslint complexity: ["error", 21] */
|
|
8977
|
+
|
|
8978
|
+
// build the component class
|
|
8979
|
+
class AuroHeader extends r$4 {
|
|
8980
|
+
constructor() {
|
|
8981
|
+
super();
|
|
8982
|
+
|
|
8983
|
+
this.display = 'display';
|
|
8984
|
+
|
|
8985
|
+
/**
|
|
8986
|
+
* @private
|
|
8987
|
+
*/
|
|
8988
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
8989
|
+
}
|
|
8990
|
+
|
|
8991
|
+
// function to define props used within the scope of this component
|
|
8992
|
+
static get properties() {
|
|
8993
|
+
return {
|
|
8994
|
+
level: { type: String },
|
|
8995
|
+
display: {
|
|
8996
|
+
type: String,
|
|
8997
|
+
reflect: true
|
|
8998
|
+
},
|
|
8999
|
+
color: { type: String },
|
|
9000
|
+
margin: { type: String },
|
|
9001
|
+
size: { type: String }
|
|
9002
|
+
};
|
|
9003
|
+
}
|
|
9004
|
+
|
|
9005
|
+
static get styles() {
|
|
9006
|
+
return [styleCss$5];
|
|
9007
|
+
}
|
|
9008
|
+
|
|
9009
|
+
/**
|
|
9010
|
+
* This will register this element with the browser.
|
|
9011
|
+
* @param {string} [name="auro-header"] - The name of element that you want to register to.
|
|
9012
|
+
*
|
|
9013
|
+
* @example
|
|
9014
|
+
* AuroHeader.register("custom-header") // this will register this element to <custom-header/>
|
|
9015
|
+
*
|
|
9016
|
+
*/
|
|
9017
|
+
static register(name = "auro-header") {
|
|
9018
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroHeader);
|
|
9019
|
+
}
|
|
9020
|
+
|
|
9021
|
+
firstUpdated() {
|
|
9022
|
+
// Add the tag name as an attribute if it is different than the component name
|
|
9023
|
+
this.runtimeUtils.handleComponentTagRename(this, 'auro-header');
|
|
9024
|
+
}
|
|
9025
|
+
|
|
9026
|
+
/**
|
|
9027
|
+
* Determines if the spacing is to be applied uniform or individual.
|
|
9028
|
+
* @private
|
|
9029
|
+
* @param {string} size - Accepts string for size definition.
|
|
9030
|
+
* @returns {string} - Returns either selectors or function.
|
|
9031
|
+
*/
|
|
9032
|
+
spacingDecision(size) {
|
|
9033
|
+
if (this.margin === 'both') {
|
|
9034
|
+
switch (size) {
|
|
9035
|
+
case 'none': return `util_stackMarginnone--top util_stackMarginnone--bottom`;
|
|
9036
|
+
case '25': return `util_stackMargin25--top util_stackMargin25--bottom`;
|
|
9037
|
+
case '50': return `util_stackMargin50--top util_stackMargin50--bottom`;
|
|
9038
|
+
case '100': return `util_stackMargin100--top util_stackMargin100--bottom`;
|
|
9039
|
+
case '150': return `util_stackMargin150--top util_stackMargin150--bottom`;
|
|
9040
|
+
case '200': return `util_stackMargin200--top util_stackMargin200--bottom`;
|
|
9041
|
+
case '300': return `util_stackMargin300--top util_stackMargin300--bottom`;
|
|
9042
|
+
case '400': return `util_stackMargin400--top util_stackMargin400--bottom`;
|
|
9043
|
+
case '600': return `util_stackMargin600--top util_stackMargin600--bottom`;
|
|
9044
|
+
case '800': return `util_stackMargin800--top util_stackMargin800--bottom`;
|
|
9045
|
+
default: return '';
|
|
9046
|
+
}
|
|
9047
|
+
} else {
|
|
9048
|
+
return this.spacingApplied(size);
|
|
9049
|
+
}
|
|
9050
|
+
}
|
|
9051
|
+
|
|
9052
|
+
/**
|
|
9053
|
+
* If spacing is individual, return will be single selector based on input.
|
|
9054
|
+
* @private
|
|
9055
|
+
* @param {string} size - Accepts string for size definition.
|
|
9056
|
+
* @returns {string} - Returns selector.
|
|
9057
|
+
*/
|
|
9058
|
+
spacingApplied(size) {
|
|
9059
|
+
switch (size) {
|
|
9060
|
+
case 'none': return `util_stackMarginnone--${this.margin}`;
|
|
9061
|
+
case '25': return `util_stackMargin25--${this.margin}`;
|
|
9062
|
+
case '50': return `util_stackMargin50--${this.margin}`;
|
|
9063
|
+
case '100': return `util_stackMargin100--${this.margin}`;
|
|
9064
|
+
case '150': return `util_stackMargin150--${this.margin}`;
|
|
9065
|
+
case '200': return `util_stackMargin200--${this.margin}`;
|
|
9066
|
+
case '300': return `util_stackMargin300--${this.margin}`;
|
|
9067
|
+
case '400': return `util_stackMargin400--${this.margin}`;
|
|
9068
|
+
case '600': return `util_stackMarginX600--${this.margin}`;
|
|
9069
|
+
case '800': return `util_stackMargin800--${this.margin}`;
|
|
9070
|
+
default: return '';
|
|
9071
|
+
}
|
|
9072
|
+
}
|
|
9073
|
+
|
|
9074
|
+
/**
|
|
9075
|
+
* Creates HTML template for use in render function.
|
|
9076
|
+
* @private
|
|
9077
|
+
* @param {string} level - Accepts string value.
|
|
9078
|
+
* @returns {string} - Returns HTML template.
|
|
9079
|
+
*/
|
|
9080
|
+
template(level) {
|
|
9081
|
+
if (this.display === '' || this.display === null) {
|
|
9082
|
+
this.display = 'display';
|
|
9083
|
+
}
|
|
9084
|
+
|
|
9085
|
+
switch (level) {
|
|
9086
|
+
case '2': return x$1`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$6(this.color ? this.color : undefined)}"><slot></slot></h2>`;
|
|
9087
|
+
case '3': return x$1`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$6(this.color ? this.color : undefined)}"><slot></slot></h3>`;
|
|
9088
|
+
case '4': return x$1`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$6(this.color ? this.color : undefined)}"><slot></slot></h4>`;
|
|
9089
|
+
case '5': return x$1`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$6(this.color ? this.color : undefined)}"><slot></slot></h5>`;
|
|
9090
|
+
case '6': return x$1`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$6(this.color ? this.color : undefined)}"><slot></slot></h6>`;
|
|
9091
|
+
default: return x$1`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o$6(this.color ? this.color : undefined)}"><slot></slot></h1>`;
|
|
9092
|
+
}
|
|
9093
|
+
}
|
|
9094
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
9095
|
+
|
|
9096
|
+
render() {
|
|
9097
|
+
return this.template(this.level);
|
|
9098
|
+
}
|
|
9099
|
+
}
|
|
9100
|
+
|
|
9101
|
+
var headerVersion = '3.0.0';
|
|
9102
|
+
|
|
9103
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9104
|
+
// See LICENSE in the project root for license information.
|
|
9105
|
+
|
|
9106
|
+
|
|
9107
|
+
class AuroBibtemplate extends r$4 {
|
|
9108
|
+
|
|
9109
|
+
constructor() {
|
|
9110
|
+
super();
|
|
9111
|
+
|
|
9112
|
+
AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
9113
|
+
|
|
9114
|
+
const versioning = new AuroDependencyVersioning$1();
|
|
9115
|
+
this.iconTag = versioning.generateTag('auro-icon', iconVersion$2, AuroIcon$2);
|
|
9116
|
+
this.headerTag = versioning.generateTag('auro-header', headerVersion, AuroHeader);
|
|
9117
|
+
}
|
|
9118
|
+
|
|
9119
|
+
static get styles() {
|
|
9120
|
+
return [
|
|
9121
|
+
colorCss$1$2,
|
|
9122
|
+
styleCss$2$2,
|
|
9123
|
+
tokenCss
|
|
9124
|
+
];
|
|
9125
|
+
}
|
|
9126
|
+
|
|
9127
|
+
// function to define props used within the scope of this component
|
|
9128
|
+
static get properties() {
|
|
9129
|
+
return {
|
|
9130
|
+
isFullscreen: {
|
|
9131
|
+
type: Boolean,
|
|
9132
|
+
reflect: true,
|
|
9133
|
+
},
|
|
9134
|
+
large: {
|
|
9135
|
+
type: Boolean,
|
|
9136
|
+
reflect: true,
|
|
9137
|
+
}
|
|
9138
|
+
};
|
|
9139
|
+
}
|
|
9140
|
+
|
|
9141
|
+
// function to define props used within the scope of this component
|
|
9142
|
+
/**
|
|
9143
|
+
* This will register this element with the browser.
|
|
9144
|
+
* @param {string} [name="auro-bibtemplate"] - The name of element that you want to register to.
|
|
9145
|
+
*
|
|
9146
|
+
* @example
|
|
9147
|
+
* AuroCheckbox.register("custom-bibtemplate") // this will register this element to <custom-bibtemplate/>
|
|
9148
|
+
*
|
|
9149
|
+
*/
|
|
9150
|
+
static register(name = "auro-bibtemplate") {
|
|
9151
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroBibtemplate);
|
|
9152
|
+
}
|
|
9153
|
+
|
|
9154
|
+
/**
|
|
9155
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
9156
|
+
* @param {Event} event - The touchmove event.
|
|
9157
|
+
* @returns {void}
|
|
9158
|
+
*/
|
|
9159
|
+
preventBodyScroll(event) {
|
|
9160
|
+
if (event.target === this) {
|
|
9161
|
+
event.preventDefault();
|
|
9162
|
+
}
|
|
9163
|
+
}
|
|
9164
|
+
|
|
9165
|
+
connectedCallback() {
|
|
9166
|
+
super.connectedCallback();
|
|
9167
|
+
|
|
9168
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
9169
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
8182
9170
|
}
|
|
8183
9171
|
|
|
8184
|
-
|
|
8185
|
-
|
|
9172
|
+
disconnectedCallback() {
|
|
9173
|
+
super.disconnectedCallback();
|
|
8186
9174
|
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
case 'month-year':
|
|
8190
|
-
case 'year-month-day':
|
|
8191
|
-
case 'month-fullYear':
|
|
8192
|
-
case 'month':
|
|
8193
|
-
case 'year':
|
|
8194
|
-
case 'fullYear':
|
|
8195
|
-
isDateType = true;
|
|
8196
|
-
break;
|
|
8197
|
-
}
|
|
9175
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
9176
|
+
}
|
|
8198
9177
|
|
|
8199
|
-
|
|
9178
|
+
onCloseButtonClick() {
|
|
9179
|
+
this.dispatchEvent(new Event("close-click", { bubbles: true,
|
|
9180
|
+
composed: true }));
|
|
9181
|
+
}
|
|
9182
|
+
|
|
9183
|
+
/**
|
|
9184
|
+
* Exposes CSS parts for styling from parent components.
|
|
9185
|
+
* @returns {void}
|
|
9186
|
+
*/
|
|
9187
|
+
exposeCssParts() {
|
|
9188
|
+
this.setAttribute('exportparts', 'bibtemplate:dropdownBibTemplate');
|
|
8200
9189
|
}
|
|
8201
9190
|
|
|
8202
9191
|
// function that renders the HTML and CSS into the scope of the component
|
|
8203
9192
|
render() {
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
<
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
This should be cleaned up when auro-icon issue #31 is resolved. -->
|
|
8219
|
-
${this.inputIconName
|
|
8220
|
-
? c$5([this.inputIconName], (val) => val, (name) => u$5`
|
|
8221
|
-
<${this.iconTag}
|
|
8222
|
-
class="accentIcon"
|
|
8223
|
-
category="payment"
|
|
8224
|
-
name="${name}"
|
|
8225
|
-
part="accentIcon"
|
|
8226
|
-
?disabled="${this.disabled}">
|
|
8227
|
-
</${this.iconTag}>
|
|
8228
|
-
`) : undefined
|
|
8229
|
-
}
|
|
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}
|
|
8230
9207
|
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
<${this.iconTag}
|
|
8234
|
-
class="accentIcon"
|
|
8235
|
-
category="interface"
|
|
8236
|
-
name="calendar"
|
|
8237
|
-
part="accentIcon"
|
|
8238
|
-
?disabled="${this.disabled}">
|
|
8239
|
-
</${this.iconTag}>`
|
|
8240
|
-
: undefined
|
|
8241
|
-
}
|
|
8242
|
-
</div>
|
|
8243
|
-
<label for=${this.id} class="${e$5$1(labelClasses)}" part="label">
|
|
8244
|
-
<slot name="label">
|
|
8245
|
-
${this.label}
|
|
8246
|
-
</slot>
|
|
8247
|
-
${this.required ? '' : ` (${i18n(this.lang, 'optional')})`}
|
|
8248
|
-
</label>
|
|
8249
|
-
<input
|
|
8250
|
-
@input="${this.handleInput}"
|
|
8251
|
-
@focusin="${this.handleFocusin}"
|
|
8252
|
-
@blur="${this.handleBlur}"
|
|
8253
|
-
id="${this.id}"
|
|
8254
|
-
name="${o$5$1(this.name)}"
|
|
8255
|
-
type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}"
|
|
8256
|
-
pattern="${o$5$1(this.definePattern())}"
|
|
8257
|
-
maxlength="${o$5$1(this.maxLength ? this.maxLength : undefined)}"
|
|
8258
|
-
minlength="${o$5$1(this.minLength ? this.minLength : undefined)}"
|
|
8259
|
-
inputMode="${o$5$1(this.inputMode ? this.inputMode : undefined)}"
|
|
8260
|
-
?required="${this.required}"
|
|
8261
|
-
?disabled="${this.disabled}"
|
|
8262
|
-
aria-describedby="${this.uniqueId}"
|
|
8263
|
-
aria-invalid="${this.validity !== 'valid'}"
|
|
8264
|
-
placeholder=${this.getPlaceholder()}
|
|
8265
|
-
lang="${o$5$1(this.lang)}"
|
|
8266
|
-
?activeLabel="${this.activeLabel}"
|
|
8267
|
-
spellcheck="${o$5$1(this.spellcheck ? this.spellcheck : undefined)}"
|
|
8268
|
-
autocorrect="${o$5$1(this.autocorrect ? this.autocorrect : undefined)}"
|
|
8269
|
-
autocapitalize="${o$5$1(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
8270
|
-
autocomplete="${o$5$1(this.autocomplete ? this.autocomplete : undefined)}"
|
|
8271
|
-
part="input"
|
|
8272
|
-
/>
|
|
8273
|
-
</div>
|
|
8274
|
-
<div
|
|
8275
|
-
class="notificationIcons"
|
|
8276
|
-
part="notificationIcons"
|
|
8277
|
-
?hasValue="${this.hasValue}">
|
|
8278
|
-
${this.validity && this.validity !== 'valid' ? u$5`
|
|
8279
|
-
<div class="notification alertNotification">
|
|
8280
|
-
<${this.iconTag}
|
|
8281
|
-
category="alert"
|
|
8282
|
-
name="error-stroke"
|
|
8283
|
-
error>
|
|
8284
|
-
</${this.iconTag}>
|
|
8285
|
-
</div>
|
|
8286
|
-
` : undefined}
|
|
8287
|
-
${this.hasValue ? u$5`
|
|
8288
|
-
${this.type === 'password' ? u$5`
|
|
8289
|
-
<div class="notification">
|
|
8290
|
-
<${this.buttonTag}
|
|
8291
|
-
variant="flat"
|
|
8292
|
-
aria-hidden="true"
|
|
8293
|
-
tabindex="-1"
|
|
8294
|
-
@click="${this.handleClickShowPassword}"
|
|
8295
|
-
class="notificationBtn passwordBtn">
|
|
8296
|
-
<${this.iconTag}
|
|
8297
|
-
category="interface"
|
|
8298
|
-
name="hide-password-stroke"
|
|
8299
|
-
customColor
|
|
8300
|
-
?hidden=${!this.showPassword}>
|
|
8301
|
-
</${this.iconTag}>
|
|
8302
|
-
<${this.iconTag}
|
|
8303
|
-
category="interface"
|
|
8304
|
-
name="view-password-stroke"
|
|
8305
|
-
customColor
|
|
8306
|
-
?hidden=${this.showPassword}>
|
|
8307
|
-
</${this.iconTag}>
|
|
8308
|
-
</${this.buttonTag}>
|
|
8309
|
-
</div>
|
|
8310
|
-
` : undefined}
|
|
8311
|
-
${!this.disabled && !this.readonly ? u$5`
|
|
8312
|
-
<div class="notification">
|
|
8313
|
-
<${this.buttonTag}
|
|
8314
|
-
variant="flat"
|
|
8315
|
-
class="notificationBtn clearBtn"
|
|
8316
|
-
aria-hidden="true"
|
|
8317
|
-
tabindex="-1"
|
|
8318
|
-
@click="${this.handleClickClear}">
|
|
8319
|
-
<${this.iconTag}
|
|
8320
|
-
customColor
|
|
8321
|
-
category="interface"
|
|
8322
|
-
name="x-lg"
|
|
8323
|
-
>
|
|
8324
|
-
</${this.iconTag}>
|
|
8325
|
-
</${this.buttonTag}>
|
|
8326
|
-
</div>
|
|
8327
|
-
` : undefined}
|
|
8328
|
-
` : undefined}
|
|
9208
|
+
<div id="bodyContainer">
|
|
9209
|
+
<slot></slot>
|
|
8329
9210
|
</div>
|
|
9211
|
+
|
|
9212
|
+
${this.isFullscreen ? u$3`
|
|
9213
|
+
<div id="footerContainer">
|
|
9214
|
+
<slot name="footer"></slot>
|
|
9215
|
+
</div>` : null}
|
|
8330
9216
|
</div>
|
|
8331
|
-
|
|
8332
|
-
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
8333
|
-
? u$5`
|
|
8334
|
-
<auro-helptext>
|
|
8335
|
-
<p id="${this.uniqueId}" part="helpText">
|
|
8336
|
-
<slot name="helptext">${this.getHelpText(this.type)}</slot>
|
|
8337
|
-
</p>
|
|
8338
|
-
</auro-helptext>
|
|
8339
|
-
`
|
|
8340
|
-
: u$5`
|
|
8341
|
-
<auro-helptext error>
|
|
8342
|
-
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
8343
|
-
${this.errorMessage}
|
|
8344
|
-
</p>
|
|
8345
|
-
</auro-helptext>
|
|
8346
|
-
`
|
|
8347
|
-
}
|
|
8348
|
-
`;
|
|
9217
|
+
`;
|
|
8349
9218
|
}
|
|
8350
9219
|
}
|
|
8351
9220
|
|
|
8352
|
-
|
|
9221
|
+
AuroBibtemplate.register();
|
|
8353
9222
|
|
|
8354
|
-
var
|
|
9223
|
+
var bibTemplateVersion = '1.0.0';
|
|
8355
9224
|
|
|
8356
9225
|
/**
|
|
8357
9226
|
* @license
|
|
@@ -9864,7 +10733,7 @@ let AuroMenuOption$1 = class AuroMenuOption extends r {
|
|
|
9864
10733
|
AuroMenu$1.register();
|
|
9865
10734
|
AuroMenuOption$1.register();
|
|
9866
10735
|
|
|
9867
|
-
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}
|
|
10736
|
+
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}`;
|
|
9868
10737
|
|
|
9869
10738
|
// Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9870
10739
|
// See LICENSE in the project root for license information.
|
|
@@ -9901,15 +10770,18 @@ class AuroCombobox extends r$b {
|
|
|
9901
10770
|
this.optionActive = null;
|
|
9902
10771
|
this.msgSelectionMissing = 'Please select an option.';
|
|
9903
10772
|
|
|
10773
|
+
this.mobileFullscreenBreakpoint = 'sm';
|
|
10774
|
+
|
|
9904
10775
|
this.validation = new AuroFormValidation$1();
|
|
9905
10776
|
|
|
9906
10777
|
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
9907
10778
|
|
|
9908
10779
|
this.isHiddenWhileLoading = false;
|
|
9909
10780
|
|
|
9910
|
-
const versioning = new AuroDependencyVersioning$
|
|
10781
|
+
const versioning = new AuroDependencyVersioning$4();
|
|
9911
10782
|
|
|
9912
10783
|
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
10784
|
+
this.bibtemplateTag = versioning.generateTag('auro-bibtemplate', bibTemplateVersion, AuroBibtemplate);
|
|
9913
10785
|
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
9914
10786
|
}
|
|
9915
10787
|
|
|
@@ -10036,6 +10908,33 @@ class AuroCombobox extends r$b {
|
|
|
10036
10908
|
converter: arrayConverter$1,
|
|
10037
10909
|
hasChanged: arrayOrUndefinedHasChanged$1
|
|
10038
10910
|
},
|
|
10911
|
+
|
|
10912
|
+
/**
|
|
10913
|
+
* If declared, make mobileHeadline in HeadingDisplay.
|
|
10914
|
+
* Otherwise, Heading 600
|
|
10915
|
+
*/
|
|
10916
|
+
largeMobileHeadline: {
|
|
10917
|
+
type: Boolean,
|
|
10918
|
+
reflect: true
|
|
10919
|
+
},
|
|
10920
|
+
|
|
10921
|
+
/**
|
|
10922
|
+
* Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
|
|
10923
|
+
* When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
10924
|
+
* @default sm
|
|
10925
|
+
*/
|
|
10926
|
+
mobileFullscreenBreakpoint: {
|
|
10927
|
+
type: String,
|
|
10928
|
+
reflect: true
|
|
10929
|
+
},
|
|
10930
|
+
|
|
10931
|
+
/**
|
|
10932
|
+
* @private
|
|
10933
|
+
*/
|
|
10934
|
+
isDropdownFullscreen: {
|
|
10935
|
+
type: Boolean,
|
|
10936
|
+
reflect: false
|
|
10937
|
+
}
|
|
10039
10938
|
};
|
|
10040
10939
|
}
|
|
10041
10940
|
|
|
@@ -10045,13 +10944,13 @@ class AuroCombobox extends r$b {
|
|
|
10045
10944
|
|
|
10046
10945
|
/**
|
|
10047
10946
|
* This will register this element with the browser.
|
|
10048
|
-
* @param {string} [name=
|
|
10947
|
+
* @param {string} [name='auro-combobox'] - The name of element that you want to register to.
|
|
10049
10948
|
*
|
|
10050
10949
|
* @example
|
|
10051
|
-
* AuroCombobox.register(
|
|
10950
|
+
* AuroCombobox.register('custom-combobox') // this will register this element to <custom-combobox/>
|
|
10052
10951
|
*
|
|
10053
10952
|
*/
|
|
10054
|
-
static register(name =
|
|
10953
|
+
static register(name = 'auro-combobox') {
|
|
10055
10954
|
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroCombobox);
|
|
10056
10955
|
}
|
|
10057
10956
|
|
|
@@ -10172,6 +11071,9 @@ class AuroCombobox extends r$b {
|
|
|
10172
11071
|
this.dropdown.hide();
|
|
10173
11072
|
return;
|
|
10174
11073
|
}
|
|
11074
|
+
|
|
11075
|
+
this.isDropdownFullscreen = this.dropdown.isBibFullscreen;
|
|
11076
|
+
|
|
10175
11077
|
if (!this.dropdown.isPopoverVisible && this.input.value && this.input.value.length > 0) {
|
|
10176
11078
|
if (this.menu.getAttribute('loading') || (this.availableOptions && this.availableOptions.length > 0) || this.noMatchOption !== undefined) { // eslint-disable-line no-extra-parens
|
|
10177
11079
|
if (this.menu.hasAttribute('loading') && !this.menu.hasLoadingPlaceholder) {
|
|
@@ -10192,11 +11094,39 @@ class AuroCombobox extends r$b {
|
|
|
10192
11094
|
this.menuWrapper = this.dropdown.querySelector('.menuWrapper');
|
|
10193
11095
|
this.menuWrapper.append(this.menu);
|
|
10194
11096
|
|
|
10195
|
-
|
|
11097
|
+
// setting up bibtemplate
|
|
11098
|
+
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
|
|
11099
|
+
this.bibtemplate.append(this.menuWrapper);
|
|
11100
|
+
|
|
11101
|
+
// Exposes the CSS parts from the bibtemplate for styling
|
|
11102
|
+
this.bibtemplate.exposeCssParts();
|
|
11103
|
+
|
|
11104
|
+
this.hideBib = this.hideBib.bind(this);
|
|
11105
|
+
this.bibtemplate.addEventListener('close-click', this.hideBib);
|
|
11106
|
+
|
|
11107
|
+
const bibHeader = this.querySelector('[slot="bib.mobile.headline"]');
|
|
11108
|
+
if (bibHeader) {
|
|
11109
|
+
bibHeader.setAttribute('slot', 'header');
|
|
11110
|
+
this.bibtemplate.append(bibHeader);
|
|
11111
|
+
}
|
|
10196
11112
|
|
|
11113
|
+
this.dropdown.setAttribute('role', 'combobox');
|
|
10197
11114
|
this.dropdown.addEventListener('auroDropdown-triggerClick', () => {
|
|
10198
11115
|
this.showBib();
|
|
10199
11116
|
});
|
|
11117
|
+
|
|
11118
|
+
this.transportInput = this.transportInput.bind(this);
|
|
11119
|
+
this.dropdown.addEventListener('auroDropdown-toggled', () => {
|
|
11120
|
+
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
11121
|
+
setTimeout(this.transportInput);
|
|
11122
|
+
});
|
|
11123
|
+
|
|
11124
|
+
this.dropdown.addEventListener('auroDropdown-strategy-change', (event) => {
|
|
11125
|
+
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
11126
|
+
this.isDropdownFullscreen = event.detail.strategy === 'fullscreen';
|
|
11127
|
+
setTimeout(this.transportInput);
|
|
11128
|
+
});
|
|
11129
|
+
|
|
10200
11130
|
}
|
|
10201
11131
|
|
|
10202
11132
|
/**
|
|
@@ -10206,7 +11136,7 @@ class AuroCombobox extends r$b {
|
|
|
10206
11136
|
*/
|
|
10207
11137
|
configureMenu() {
|
|
10208
11138
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
10209
|
-
this.menu.addEventListener(
|
|
11139
|
+
this.menu.addEventListener('auroMenu-loadingChange', (event) => this.handleMenuLoadingChange(event));
|
|
10210
11140
|
|
|
10211
11141
|
// a racing condition on custom-combobox with custom-menu
|
|
10212
11142
|
if (!this.menu) {
|
|
@@ -10280,13 +11210,45 @@ class AuroCombobox extends r$b {
|
|
|
10280
11210
|
});
|
|
10281
11211
|
}
|
|
10282
11212
|
|
|
11213
|
+
/**
|
|
11214
|
+
* @private
|
|
11215
|
+
* Dispatches input's keyboard events from host
|
|
11216
|
+
* This allows key events from the input to be handled by the parent.
|
|
11217
|
+
* @param {KeyboardEvent} event - The keyboard event.
|
|
11218
|
+
*/
|
|
11219
|
+
bubbleUpInputKeyEvent(event) {
|
|
11220
|
+
if (event.currentTarget.parentNode !== this.dropdown) {
|
|
11221
|
+
if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
|
|
11222
|
+
event.preventDefault();
|
|
11223
|
+
}
|
|
11224
|
+
const ke = new KeyboardEvent(event.type, {
|
|
11225
|
+
key: event.key,
|
|
11226
|
+
code: event.code,
|
|
11227
|
+
repeat: event.repeat,
|
|
11228
|
+
});
|
|
11229
|
+
this.dispatchEvent(ke);
|
|
11230
|
+
}
|
|
11231
|
+
}
|
|
11232
|
+
|
|
10283
11233
|
/**
|
|
10284
11234
|
* Binds all behavior needed to the input after rendering.
|
|
10285
11235
|
* @private
|
|
10286
11236
|
* @returns {void}
|
|
10287
11237
|
*/
|
|
10288
11238
|
configureInput() {
|
|
10289
|
-
|
|
11239
|
+
// When input is in bibtemplate, make the event to be fired at combobox element
|
|
11240
|
+
this.bubbleUpInputKeyEvent = this.bubbleUpInputKeyEvent.bind(this);
|
|
11241
|
+
this.input.addEventListener('keydown', this.bubbleUpInputKeyEvent);
|
|
11242
|
+
this.input.addEventListener('keyup', this.bubbleUpInputKeyEvent);
|
|
11243
|
+
|
|
11244
|
+
// Programatically inject as the slot cannot be carried over to bibtemplate.
|
|
11245
|
+
// It's because the bib is newly attach to body.
|
|
11246
|
+
const label = this.querySelector('[slot="label"]');
|
|
11247
|
+
if (label) {
|
|
11248
|
+
this.input.append(label);
|
|
11249
|
+
}
|
|
11250
|
+
|
|
11251
|
+
this.addEventListener('keyup', (evt) => {
|
|
10290
11252
|
if (evt.key.length === 1 || evt.key === 'Backspace' || evt.key === 'Delete') {
|
|
10291
11253
|
this.showBib();
|
|
10292
11254
|
}
|
|
@@ -10334,6 +11296,58 @@ class AuroCombobox extends r$b {
|
|
|
10334
11296
|
}
|
|
10335
11297
|
}
|
|
10336
11298
|
|
|
11299
|
+
/**
|
|
11300
|
+
* @private
|
|
11301
|
+
* When the dropdown is visible in fullscreen mode, the input is moved to the subheader slot of bibtemplate.
|
|
11302
|
+
* Otherwise, it's moved back to the trigger slot.
|
|
11303
|
+
* @private
|
|
11304
|
+
* @returns {void}
|
|
11305
|
+
*/
|
|
11306
|
+
transportInput() {
|
|
11307
|
+
if (!this.input) {
|
|
11308
|
+
return;
|
|
11309
|
+
}
|
|
11310
|
+
|
|
11311
|
+
const inputHelpText = this.input.shadowRoot.querySelector('auro-helptext, [auro-helptext');
|
|
11312
|
+
const inputAlertIcon = this.input.shadowRoot.querySelector(".alertNotification");
|
|
11313
|
+
|
|
11314
|
+
if (this.dropdown.isPopoverVisible && this.isDropdownFullscreen) {
|
|
11315
|
+
if (this.input.parentNode !== this.bibtemplate) {
|
|
11316
|
+
// keep the trigger size the same even after input gets removed
|
|
11317
|
+
const parentSize = window.getComputedStyle(this.dropdown.trigger);
|
|
11318
|
+
this.dropdown.trigger.style.height = parentSize.height;
|
|
11319
|
+
|
|
11320
|
+
// input will not have border on bib
|
|
11321
|
+
this.input.removeAttribute('bordered');
|
|
11322
|
+
this.input.setAttribute('borderless', true);
|
|
11323
|
+
this.input.setAttribute('slot', 'subheader');
|
|
11324
|
+
|
|
11325
|
+
// set disply of helpText and alert icon programatically
|
|
11326
|
+
// because ::slotted and ::part do not work together
|
|
11327
|
+
inputHelpText.style.display = 'none';
|
|
11328
|
+
if (inputAlertIcon) {
|
|
11329
|
+
inputAlertIcon.style.display = 'none';
|
|
11330
|
+
}
|
|
11331
|
+
|
|
11332
|
+
this.bibtemplate.append(this.input);
|
|
11333
|
+
this.input.focus();
|
|
11334
|
+
}
|
|
11335
|
+
} else if (this.input.parentNode !== this.dropdown) {
|
|
11336
|
+
this.input.setAttribute('bordered', true);
|
|
11337
|
+
this.input.removeAttribute('borderless');
|
|
11338
|
+
this.input.setAttribute('slot', 'trigger');
|
|
11339
|
+
|
|
11340
|
+
// reset display of helpText and alert icon to be visible
|
|
11341
|
+
inputHelpText.style.display = '';
|
|
11342
|
+
if (inputAlertIcon) {
|
|
11343
|
+
inputAlertIcon.style.display = '';
|
|
11344
|
+
}
|
|
11345
|
+
|
|
11346
|
+
this.dropdown.append(this.input);
|
|
11347
|
+
this.input.focus();
|
|
11348
|
+
}
|
|
11349
|
+
}
|
|
11350
|
+
|
|
10337
11351
|
/**
|
|
10338
11352
|
* Handle changes to the input value and trigger changes that should result.
|
|
10339
11353
|
* @private
|
|
@@ -10392,7 +11406,7 @@ class AuroCombobox extends r$b {
|
|
|
10392
11406
|
}
|
|
10393
11407
|
|
|
10394
11408
|
// Force dropdown bib to hide if input value has no matching suggestions
|
|
10395
|
-
if (!this.availableOptions || this.availableOptions.length === 0) {
|
|
11409
|
+
if ((!this.availableOptions || this.availableOptions.length === 0) && !this.isDropdownFullscreen) {
|
|
10396
11410
|
this.hideBib();
|
|
10397
11411
|
}
|
|
10398
11412
|
}
|
|
@@ -10414,6 +11428,11 @@ class AuroCombobox extends r$b {
|
|
|
10414
11428
|
|
|
10415
11429
|
if (evt.key === 'Tab') {
|
|
10416
11430
|
this.hideBib();
|
|
11431
|
+
|
|
11432
|
+
if (this.dropdown.isPopoverVisible && this.isDropdownFullscreen) {
|
|
11433
|
+
// if bib is open in fullscreen, just close the bib and do not move the focus to the next focasable element
|
|
11434
|
+
evt.preventDefault();
|
|
11435
|
+
}
|
|
10417
11436
|
}
|
|
10418
11437
|
|
|
10419
11438
|
/**
|
|
@@ -10426,16 +11445,7 @@ class AuroCombobox extends r$b {
|
|
|
10426
11445
|
|
|
10427
11446
|
if (this.dropdown.isPopoverVisible) {
|
|
10428
11447
|
evt.preventDefault();
|
|
10429
|
-
|
|
10430
|
-
}
|
|
10431
|
-
|
|
10432
|
-
if (this.dropdown.isPopoverVisible) {
|
|
10433
|
-
if (evt.key === 'ArrowUp') {
|
|
10434
|
-
this.menu.navigateOptions('up');
|
|
10435
|
-
}
|
|
10436
|
-
|
|
10437
|
-
if (evt.key === 'ArrowDown') {
|
|
10438
|
-
this.menu.navigateOptions('down');
|
|
11448
|
+
this.menu.navigateOptions(evt.key.replace('Arrow', '').toLowerCase());
|
|
10439
11449
|
}
|
|
10440
11450
|
}
|
|
10441
11451
|
});
|
|
@@ -10525,7 +11535,8 @@ class AuroCombobox extends r$b {
|
|
|
10525
11535
|
this.input.value = inputValue;
|
|
10526
11536
|
|
|
10527
11537
|
// If the value got set programmatically make sure we hide the bib
|
|
10528
|
-
|
|
11538
|
+
// when input is not taking the focus (input can be in dropdown.trigger or in bibtemplate)
|
|
11539
|
+
if (!this.contains(document.activeElement) && !this.bibtemplate.contains(document.activeElement)) {
|
|
10529
11540
|
this.hideBib();
|
|
10530
11541
|
}
|
|
10531
11542
|
}
|
|
@@ -10581,6 +11592,7 @@ class AuroCombobox extends r$b {
|
|
|
10581
11592
|
rounded
|
|
10582
11593
|
matchWidth
|
|
10583
11594
|
nocheckmark
|
|
11595
|
+
mobilefullscreenbreakpoint="${this.mobileFullscreenBreakpoint}"
|
|
10584
11596
|
?disabled="${this.disabled}"
|
|
10585
11597
|
?error="${this.validity !== undefined && this.validity !== 'valid'}"
|
|
10586
11598
|
disableEventShow>
|
|
@@ -10597,12 +11609,15 @@ class AuroCombobox extends r$b {
|
|
|
10597
11609
|
.autocomplete="${this.autocomplete}"
|
|
10598
11610
|
.type="${this.type}"
|
|
10599
11611
|
@input="${this.handleInputValueChange}">
|
|
10600
|
-
<slot name="label" slot="label"></slot>
|
|
10601
11612
|
</${this.inputTag}>
|
|
10602
|
-
|
|
10603
|
-
|
|
11613
|
+
|
|
11614
|
+
<div class="menuWrapper"></div>
|
|
11615
|
+
|
|
11616
|
+
<${this.bibtemplateTag} ?large="${this.largeMobileHeadline}">
|
|
11617
|
+
</${this.bibtemplateTag}>
|
|
11618
|
+
|
|
10604
11619
|
<p slot="helpText">
|
|
10605
|
-
|
|
11620
|
+
<!-- Help text and error message template -->
|
|
10606
11621
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
10607
11622
|
? u$9`
|
|
10608
11623
|
<slot name="helpText"></slot>
|
|
@@ -11873,7 +12888,7 @@ class AuroMenuOption extends r$b {
|
|
|
11873
12888
|
/**
|
|
11874
12889
|
* Generate unique names for dependency components.
|
|
11875
12890
|
*/
|
|
11876
|
-
const versioning = new AuroDependencyVersioning$
|
|
12891
|
+
const versioning = new AuroDependencyVersioning$4();
|
|
11877
12892
|
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
11878
12893
|
|
|
11879
12894
|
this.selected = false;
|