@aurodesignsystem/auro-formkit 2.0.0-beta.28 → 2.0.0-beta.29
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/019608f754b4fd0c-meta.json +1 -0
- package/.turbo/cache/019608f754b4fd0c.tar.zst +0 -0
- package/.turbo/cache/06322ed0d04880b4-meta.json +1 -0
- package/.turbo/cache/06322ed0d04880b4.tar.zst +0 -0
- package/.turbo/cache/0b25a5384daf4b43-meta.json +1 -0
- package/.turbo/cache/0b25a5384daf4b43.tar.zst +0 -0
- package/.turbo/cache/18ce0cc67c14e0c9-meta.json +1 -0
- package/.turbo/cache/18ce0cc67c14e0c9.tar.zst +0 -0
- package/.turbo/cache/1d4280429ff4222f-meta.json +1 -0
- package/.turbo/cache/1d4280429ff4222f.tar.zst +0 -0
- package/.turbo/cache/1e42bb6f66cd5516-meta.json +1 -0
- package/.turbo/cache/202a84630d73699f-meta.json +1 -0
- package/.turbo/cache/202a84630d73699f.tar.zst +0 -0
- package/.turbo/cache/251ba344c6338ba3-meta.json +1 -0
- package/.turbo/cache/251ba344c6338ba3.tar.zst +0 -0
- package/.turbo/cache/298b6ff0272e6226-meta.json +1 -0
- package/.turbo/cache/298b6ff0272e6226.tar.zst +0 -0
- package/.turbo/cache/2abb5400a01a1694-meta.json +1 -0
- package/.turbo/cache/2abb5400a01a1694.tar.zst +0 -0
- package/.turbo/cache/30fda91ef83677e4-meta.json +1 -0
- package/.turbo/cache/3221d91a94756c26-meta.json +1 -0
- package/.turbo/cache/3221d91a94756c26.tar.zst +0 -0
- package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +1 -0
- package/.turbo/cache/3ab09fe7cf32b3bf.tar.zst +0 -0
- package/.turbo/cache/3b758f5ca6cedcac-meta.json +1 -0
- package/.turbo/cache/3b758f5ca6cedcac.tar.zst +0 -0
- package/.turbo/cache/3f1b3db13386acdc-meta.json +1 -0
- package/.turbo/cache/{d6be9726dcdd22a3.tar.zst → 3f1b3db13386acdc.tar.zst} +0 -0
- package/.turbo/cache/430c124614841675-meta.json +1 -0
- package/.turbo/cache/430c124614841675.tar.zst +0 -0
- package/.turbo/cache/4472ff3b156042a3-meta.json +1 -0
- package/.turbo/cache/{ef71fdeaac2feb85.tar.zst → 4472ff3b156042a3.tar.zst} +0 -0
- package/.turbo/cache/448b2ae2221bf660-meta.json +1 -0
- package/.turbo/cache/448b2ae2221bf660.tar.zst +0 -0
- package/.turbo/cache/45bdeb0396723b25-meta.json +1 -0
- package/.turbo/cache/45bdeb0396723b25.tar.zst +0 -0
- package/.turbo/cache/4655a084a08732a7-meta.json +1 -0
- package/.turbo/cache/46f08b3f239b6b3c-meta.json +1 -0
- package/.turbo/cache/{343025281930ba78.tar.zst → 46f08b3f239b6b3c.tar.zst} +0 -0
- package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +1 -0
- package/.turbo/cache/4f06a06e4f458e75-meta.json +1 -0
- package/.turbo/cache/4f06a06e4f458e75.tar.zst +0 -0
- package/.turbo/cache/4f0d7e7df611108b-meta.json +1 -0
- package/.turbo/cache/4f0d7e7df611108b.tar.zst +0 -0
- package/.turbo/cache/533b2c6c9fb1166a-meta.json +1 -0
- package/.turbo/cache/533b2c6c9fb1166a.tar.zst +0 -0
- package/.turbo/cache/560d172ca96e1544-meta.json +1 -0
- package/.turbo/cache/560d172ca96e1544.tar.zst +0 -0
- package/.turbo/cache/59481fd7f6f355ed-meta.json +1 -0
- package/.turbo/cache/59481fd7f6f355ed.tar.zst +0 -0
- package/.turbo/cache/5fc9a7a072827b7b-meta.json +1 -0
- package/.turbo/cache/5fc9a7a072827b7b.tar.zst +0 -0
- package/.turbo/cache/753b119a389426be-meta.json +1 -0
- package/.turbo/cache/753b119a389426be.tar.zst +0 -0
- package/.turbo/cache/8ac38d70a60381cb-meta.json +1 -0
- package/.turbo/cache/8ac38d70a60381cb.tar.zst +0 -0
- package/.turbo/cache/8c637a8d4c2166c5-meta.json +1 -0
- package/.turbo/cache/8c637a8d4c2166c5.tar.zst +0 -0
- package/.turbo/cache/9dc293081f28a24d-meta.json +1 -0
- package/.turbo/cache/{275c3e7a5ca37cf1.tar.zst → 9dc293081f28a24d.tar.zst} +0 -0
- package/.turbo/cache/a7dea1f1ae1fdc27-meta.json +1 -0
- package/.turbo/cache/a7dea1f1ae1fdc27.tar.zst +0 -0
- package/.turbo/cache/a9db8818bc92a60e-meta.json +1 -0
- package/.turbo/cache/{70875e34db93847e.tar.zst → a9db8818bc92a60e.tar.zst} +0 -0
- package/.turbo/cache/bae62d7b71b88997-meta.json +1 -0
- package/.turbo/cache/bb3131b31c8adc36-meta.json +1 -0
- package/.turbo/cache/bb3131b31c8adc36.tar.zst +0 -0
- package/.turbo/cache/bf3d1eace5e676f9-meta.json +1 -0
- package/.turbo/cache/bf3d1eace5e676f9.tar.zst +0 -0
- package/.turbo/cache/c45962e00a15f78b-meta.json +1 -0
- package/.turbo/cache/c49eaa579b60f045-meta.json +1 -0
- package/.turbo/cache/cbc12d12ec0e13ca-meta.json +1 -0
- package/.turbo/cache/{7fd42eb47038ad9a.tar.zst → cbc12d12ec0e13ca.tar.zst} +0 -0
- package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +1 -0
- package/.turbo/cache/d3afdb9a7db9eacc-meta.json +1 -0
- package/.turbo/cache/d3afdb9a7db9eacc.tar.zst +0 -0
- package/.turbo/cache/d7d47541c105641f-meta.json +1 -0
- package/.turbo/cache/d8ecdff9c663c38e-meta.json +1 -0
- package/.turbo/cache/de494df6a3006101-meta.json +1 -0
- package/.turbo/cache/de494df6a3006101.tar.zst +0 -0
- package/.turbo/cache/e56a9865641ec3e8-meta.json +1 -0
- package/.turbo/cache/e56a9865641ec3e8.tar.zst +0 -0
- package/.turbo/cache/e7ed9e7056d80938-meta.json +1 -0
- package/.turbo/cache/e837827cd24834c4-meta.json +1 -0
- package/.turbo/cache/e837827cd24834c4.tar.zst +0 -0
- package/.turbo/cache/e95a7d076e700003-meta.json +1 -0
- package/.turbo/cache/{bfc67af529cca6db.tar.zst → e95a7d076e700003.tar.zst} +0 -0
- package/.turbo/cache/e9ff93179777aa26-meta.json +1 -0
- package/.turbo/cache/{73752d5facada01a.tar.zst → e9ff93179777aa26.tar.zst} +0 -0
- package/.turbo/cache/f571abacf9ec4e84-meta.json +1 -0
- package/.turbo/cache/f571abacf9ec4e84.tar.zst +0 -0
- package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +1 -0
- package/.turbo/cache/f7ab9a13f9acc0ab.tar.zst +0 -0
- package/.turbo/cache/fa0bc0a1d41397e8-meta.json +1 -0
- package/.turbo/cache/fa0bc0a1d41397e8.tar.zst +0 -0
- package/.turbo/cache/fce6b6ea288791bf-meta.json +1 -0
- package/.turbo/cache/ff3c8a3042cab66e-meta.json +1 -0
- package/.turbo/cache/ff3c8a3042cab66e.tar.zst +0 -0
- package/CHANGELOG.md +13 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.md +0 -1
- package/components/checkbox/demo/api.min.js +252 -41
- package/components/checkbox/demo/index.min.js +252 -41
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +252 -41
- package/components/checkbox/package.json +1 -0
- package/components/checkbox/src/auro-checkbox-group.js +6 -4
- package/components/checkbox/src/styles/colorGroup-css.js +1 -1
- package/components/checkbox/src/styles/colorGroup.css +0 -8
- package/components/checkbox/src/styles/colorGroup.scss +0 -8
- package/components/checkbox/src/styles/tokens-css.js +1 -1
- package/components/checkbox/src/styles/tokens.css +0 -1
- package/components/checkbox/src/styles/tokens.scss +0 -1
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.min.js +611 -185
- package/components/combobox/demo/index.min.js +611 -185
- package/components/combobox/dist/index.js +582 -156
- package/components/combobox/src/auro-combobox.js +4 -4
- package/components/counter/.turbo/turbo-build.log +12 -3
- package/components/counter/.turbo/turbo-bundler.log +9 -3
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.min.js +163 -3126
- package/components/counter/demo/index.min.js +163 -3126
- package/components/counter/dist/index.js +163 -3126
- package/components/counter/src/styles/counter-button.css +1 -1
- package/components/datepicker/.turbo/turbo-build.log +1 -1
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.min.js +712 -286
- package/components/datepicker/demo/index.min.js +712 -286
- package/components/datepicker/dist/index.js +712 -286
- package/components/datepicker/src/auro-datepicker.js +4 -4
- package/components/datepicker/src/styles/style-css.js +1 -1
- package/components/datepicker/src/styles/style.css +0 -6
- package/components/datepicker/src/styles/style.scss +0 -6
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.md +0 -1
- package/components/dropdown/demo/api.min.js +259 -50
- package/components/dropdown/demo/index.min.js +259 -50
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +259 -50
- package/components/dropdown/package.json +1 -0
- package/components/dropdown/src/auro-dropdown.js +4 -5
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +0 -5
- package/components/dropdown/src/styles/color.scss +0 -5
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +0 -6
- package/components/dropdown/src/styles/style.scss +0 -6
- package/components/dropdown/src/styles/tokens-css.js +1 -1
- package/components/dropdown/src/styles/tokens.css +0 -1
- package/components/dropdown/src/styles/tokens.scss +0 -1
- package/components/form/.turbo/turbo-build.log +2 -2
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +1 -1
- package/components/form/src/styles/style.css +1 -1
- package/components/helptext/.stylelintrc.json +3 -0
- package/components/helptext/.turbo/turbo-build$colon$sass.log +34 -0
- package/components/helptext/.turbo/turbo-build.log +49 -0
- package/components/helptext/.turbo/turbo-bundler.log +7 -0
- package/components/helptext/.turbo/turbo-postCss$colon$component.log +4 -0
- package/components/helptext/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/helptext/.turbo/turbo-types.log +4 -0
- package/components/helptext/dist/auro-helptext.d.ts +46 -0
- package/components/helptext/dist/auro-helptext.d.ts.map +1 -0
- package/components/helptext/dist/index.d.ts +3 -0
- package/components/helptext/dist/index.d.ts.map +1 -0
- package/components/helptext/dist/index.js +212 -0
- package/components/{input/dist/styles/helpText-css.d.ts → helptext/dist/styles/color-css.d.ts} +1 -1
- package/components/helptext/dist/styles/color-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/style-css.d.ts +3 -0
- package/components/helptext/dist/styles/style-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/tokens-css.d.ts +3 -0
- package/components/helptext/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/helptext/node_modules/chalk/package.json +83 -0
- package/components/helptext/node_modules/chalk/readme.md +297 -0
- package/components/helptext/node_modules/chalk/source/index.d.ts +325 -0
- package/components/helptext/node_modules/chalk/source/index.js +225 -0
- package/components/helptext/node_modules/chalk/source/utilities.js +33 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/helptext/package.json +57 -0
- package/components/helptext/src/auro-helptext.js +115 -0
- package/components/helptext/src/index.js +6 -0
- package/components/helptext/src/styles/color-css.js +2 -0
- package/components/helptext/src/styles/color.css +8 -0
- package/components/helptext/src/styles/color.scss +11 -0
- package/components/helptext/src/styles/style-css.js +2 -0
- package/components/helptext/src/styles/style.css +20 -0
- package/components/helptext/src/styles/style.scss +30 -0
- package/components/helptext/src/styles/tokens-css.js +2 -0
- package/components/helptext/src/styles/tokens.css +3 -0
- package/components/helptext/src/styles/tokens.scss +5 -0
- package/components/input/.turbo/turbo-build$colon$sass.log +3 -13
- package/components/input/.turbo/turbo-build.log +6 -16
- package/components/input/.turbo/turbo-sass$colon$render.log +0 -6
- package/components/input/README.md +1 -1
- package/components/input/demo/api.md +0 -1
- package/components/input/demo/api.min.js +317 -100
- package/components/input/demo/index.min.js +317 -100
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/index.js +317 -100
- package/components/input/package.json +1 -0
- package/components/input/src/auro-input.js +18 -10
- package/components/input/src/styles/color-css.js +1 -1
- package/components/input/src/styles/color.css +0 -5
- package/components/input/src/styles/color.scss +0 -5
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +0 -7
- package/components/input/src/styles/style.scss +0 -1
- package/components/input/src/styles/tokens-css.js +1 -1
- package/components/input/src/styles/tokens.css +0 -1
- package/components/input/src/styles/tokens.scss +0 -1
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/menu/src/styles/style-menu.css +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.md +0 -1
- package/components/radio/demo/api.min.js +249 -39
- package/components/radio/demo/index.min.js +249 -39
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +249 -39
- package/components/radio/package.json +1 -0
- package/components/radio/src/auro-radio-group.js +5 -4
- package/components/radio/src/styles/groupColor-css.js +1 -1
- package/components/radio/src/styles/groupColor.css +0 -8
- package/components/radio/src/styles/groupColor.scss +0 -8
- package/components/radio/src/styles/tokens-css.js +1 -1
- package/components/radio/src/styles/tokens.css +0 -1
- package/components/radio/src/styles/tokens.scss +0 -1
- package/components/select/.turbo/turbo-build.log +3 -3
- package/components/select/README.md +3 -3
- package/components/select/demo/api.min.js +306 -97
- package/components/select/demo/index.min.js +306 -97
- package/components/select/dist/index.js +275 -66
- package/components/select/src/auro-select.js +6 -6
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +0 -6
- package/components/select/src/styles/style.scss +0 -6
- package/package.json +1 -1
- package/turbo.json +29 -1
- package/.turbo/cache/01837d45e23cd116-meta.json +0 -1
- package/.turbo/cache/01c730e29850df0e-meta.json +0 -1
- package/.turbo/cache/01c730e29850df0e.tar.zst +0 -0
- package/.turbo/cache/07e4aea841b5c179-meta.json +0 -1
- package/.turbo/cache/07e4aea841b5c179.tar.zst +0 -0
- package/.turbo/cache/0fc7683b19b36011-meta.json +0 -1
- package/.turbo/cache/0fc7683b19b36011.tar.zst +0 -0
- package/.turbo/cache/16a509b204dcbdb0-meta.json +0 -1
- package/.turbo/cache/186b768ac1b98f78-meta.json +0 -1
- package/.turbo/cache/186b768ac1b98f78.tar.zst +0 -0
- package/.turbo/cache/1bce84fdc42802d2-meta.json +0 -1
- package/.turbo/cache/1c255bf1aa2eafce-meta.json +0 -1
- package/.turbo/cache/1c255bf1aa2eafce.tar.zst +0 -0
- package/.turbo/cache/249d1d43631f5e4f-meta.json +0 -1
- package/.turbo/cache/249d1d43631f5e4f.tar.zst +0 -0
- package/.turbo/cache/275c3e7a5ca37cf1-meta.json +0 -1
- package/.turbo/cache/27ebfe2b553fe1ac-meta.json +0 -1
- package/.turbo/cache/2a6f0845cefd9b00-meta.json +0 -1
- package/.turbo/cache/2a6f0845cefd9b00.tar.zst +0 -0
- package/.turbo/cache/322ccd8a22ec9970-meta.json +0 -1
- package/.turbo/cache/322ccd8a22ec9970.tar.zst +0 -0
- package/.turbo/cache/343025281930ba78-meta.json +0 -1
- package/.turbo/cache/3da42d6d4786724b-meta.json +0 -1
- package/.turbo/cache/3da42d6d4786724b.tar.zst +0 -0
- package/.turbo/cache/404405300073400d-meta.json +0 -1
- package/.turbo/cache/4107ba68b8e8ebcf-meta.json +0 -1
- package/.turbo/cache/4107ba68b8e8ebcf.tar.zst +0 -0
- package/.turbo/cache/487b1fee94d973bd-meta.json +0 -1
- package/.turbo/cache/487b1fee94d973bd.tar.zst +0 -0
- package/.turbo/cache/490641dad66a5370-meta.json +0 -1
- package/.turbo/cache/490641dad66a5370.tar.zst +0 -0
- package/.turbo/cache/4d2f4072e8936a9f-meta.json +0 -1
- package/.turbo/cache/5737e8d759ed51ff-meta.json +0 -1
- package/.turbo/cache/5737e8d759ed51ff.tar.zst +0 -0
- package/.turbo/cache/58a5790c21b99cda-meta.json +0 -1
- package/.turbo/cache/58a5790c21b99cda.tar.zst +0 -0
- package/.turbo/cache/591529d76be34703-meta.json +0 -1
- package/.turbo/cache/6b0479ed69bd2065-meta.json +0 -1
- package/.turbo/cache/6b0479ed69bd2065.tar.zst +0 -0
- package/.turbo/cache/6f11f141e7fafacc-meta.json +0 -1
- package/.turbo/cache/6f11f141e7fafacc.tar.zst +0 -0
- package/.turbo/cache/6fb9e9bba51b6840-meta.json +0 -1
- package/.turbo/cache/6fb9e9bba51b6840.tar.zst +0 -0
- package/.turbo/cache/6ff997921af9fb59-meta.json +0 -1
- package/.turbo/cache/6ff997921af9fb59.tar.zst +0 -0
- package/.turbo/cache/70875e34db93847e-meta.json +0 -1
- package/.turbo/cache/71d0a5c0510249dc-meta.json +0 -1
- package/.turbo/cache/71d0a5c0510249dc.tar.zst +0 -0
- package/.turbo/cache/73752d5facada01a-meta.json +0 -1
- package/.turbo/cache/7408be1f1775d1c8-meta.json +0 -1
- package/.turbo/cache/7408be1f1775d1c8.tar.zst +0 -0
- package/.turbo/cache/7811c51b140b1749-meta.json +0 -1
- package/.turbo/cache/7811c51b140b1749.tar.zst +0 -0
- package/.turbo/cache/7ebc152219ff9567-meta.json +0 -1
- package/.turbo/cache/7ebc152219ff9567.tar.zst +0 -0
- package/.turbo/cache/7fd42eb47038ad9a-meta.json +0 -1
- package/.turbo/cache/86bc86f3d68ea7b8-meta.json +0 -1
- package/.turbo/cache/86bc86f3d68ea7b8.tar.zst +0 -0
- package/.turbo/cache/96bbdde6d7af7a07-meta.json +0 -1
- package/.turbo/cache/96bbdde6d7af7a07.tar.zst +0 -0
- package/.turbo/cache/987f6417dd39ab07-meta.json +0 -1
- package/.turbo/cache/99124fc7a6f04d50-meta.json +0 -1
- package/.turbo/cache/99124fc7a6f04d50.tar.zst +0 -0
- package/.turbo/cache/a35fd59a026ba05d-meta.json +0 -1
- package/.turbo/cache/a35fd59a026ba05d.tar.zst +0 -0
- package/.turbo/cache/a37f52c3a0711fb1-meta.json +0 -1
- package/.turbo/cache/a37f52c3a0711fb1.tar.zst +0 -0
- package/.turbo/cache/a41d8d5c41883f90-meta.json +0 -1
- package/.turbo/cache/a41d8d5c41883f90.tar.zst +0 -0
- package/.turbo/cache/b9afda223ab019c0-meta.json +0 -1
- package/.turbo/cache/bfc67af529cca6db-meta.json +0 -1
- package/.turbo/cache/bfdd5050193d8d7f-meta.json +0 -1
- package/.turbo/cache/bfdd5050193d8d7f.tar.zst +0 -0
- package/.turbo/cache/c4979afcbb735507-meta.json +0 -1
- package/.turbo/cache/c4979afcbb735507.tar.zst +0 -0
- package/.turbo/cache/cc0b63f78cad3f03-meta.json +0 -1
- package/.turbo/cache/d3a14c4caef9ac61-meta.json +0 -1
- package/.turbo/cache/d3a14c4caef9ac61.tar.zst +0 -0
- package/.turbo/cache/d4cf163d2e264a1c-meta.json +0 -1
- package/.turbo/cache/d6be9726dcdd22a3-meta.json +0 -1
- package/.turbo/cache/d817f099573f0c19-meta.json +0 -1
- package/.turbo/cache/d817f099573f0c19.tar.zst +0 -0
- package/.turbo/cache/dcc61c2e2c1d2d88-meta.json +0 -1
- package/.turbo/cache/e3244db4001289f3-meta.json +0 -1
- package/.turbo/cache/e3244db4001289f3.tar.zst +0 -0
- package/.turbo/cache/e7eabc578e94771c-meta.json +0 -1
- package/.turbo/cache/e7eabc578e94771c.tar.zst +0 -0
- package/.turbo/cache/e90b218494bb23ed-meta.json +0 -1
- package/.turbo/cache/e90b218494bb23ed.tar.zst +0 -0
- package/.turbo/cache/ee84ef9ff72212fa-meta.json +0 -1
- package/.turbo/cache/ee84ef9ff72212fa.tar.zst +0 -0
- package/.turbo/cache/ef71fdeaac2feb85-meta.json +0 -1
- package/.turbo/cache/f17caf2bbe9bc89a-meta.json +0 -1
- package/.turbo/cache/f17caf2bbe9bc89a.tar.zst +0 -0
- package/.turbo/cache/f5449eabca32be65-meta.json +0 -1
- package/.turbo/cache/f5449eabca32be65.tar.zst +0 -0
- package/.turbo/cache/ff343641ff2ba157-meta.json +0 -1
- package/.turbo/cache/ff343641ff2ba157.tar.zst +0 -0
- package/components/checkbox/.turbo/turbo-bundler.log +0 -13
- package/components/checkbox/.turbo/turbo-types.log +0 -4
- package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
- package/components/dropdown/.turbo/turbo-bundler.log +0 -13
- package/components/dropdown/.turbo/turbo-types.log +0 -4
- package/components/input/.turbo/turbo-build$colon$version.log +0 -10
- package/components/input/.turbo/turbo-bundler.log +0 -13
- package/components/input/.turbo/turbo-types.log +0 -4
- package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
- package/components/input/src/styles/helpText-css.js +0 -2
- package/components/input/src/styles/helpText.css +0 -6
- package/components/input/src/styles/helpText.scss +0 -9
- package/components/radio/.turbo/turbo-bundler.log +0 -13
- package/components/radio/.turbo/turbo-types.log +0 -4
- /package/.turbo/cache/{b9afda223ab019c0.tar.zst → 1e42bb6f66cd5516.tar.zst} +0 -0
- /package/.turbo/cache/{d4cf163d2e264a1c.tar.zst → 30fda91ef83677e4.tar.zst} +0 -0
- /package/.turbo/cache/{16a509b204dcbdb0.tar.zst → 4655a084a08732a7.tar.zst} +0 -0
- /package/.turbo/cache/{cc0b63f78cad3f03.tar.zst → 4e9c9a5dd62c50a4.tar.zst} +0 -0
- /package/.turbo/cache/{404405300073400d.tar.zst → bae62d7b71b88997.tar.zst} +0 -0
- /package/.turbo/cache/{dcc61c2e2c1d2d88.tar.zst → c45962e00a15f78b.tar.zst} +0 -0
- /package/.turbo/cache/{01837d45e23cd116.tar.zst → c49eaa579b60f045.tar.zst} +0 -0
- /package/.turbo/cache/{591529d76be34703.tar.zst → cbcd9db8ac9a2d52.tar.zst} +0 -0
- /package/.turbo/cache/{1bce84fdc42802d2.tar.zst → d7d47541c105641f.tar.zst} +0 -0
- /package/.turbo/cache/{4d2f4072e8936a9f.tar.zst → d8ecdff9c663c38e.tar.zst} +0 -0
- /package/.turbo/cache/{27ebfe2b553fe1ac.tar.zst → e7ed9e7056d80938.tar.zst} +0 -0
- /package/.turbo/cache/{987f6417dd39ab07.tar.zst → fce6b6ea288791bf.tar.zst} +0 -0
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const t$
|
|
6
|
+
const t$9=globalThis,e$c=t$9.ShadowRoot&&(undefined===t$9.ShadyCSS||t$9.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$a=Symbol(),o$d=new WeakMap;let n$c = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$a)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$c&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$d.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$d.set(s,t));}return t}toString(){return this.cssText}};const r$e=t=>new n$c("string"==typeof t?t:t+"",undefined,s$a),i$g=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$c(o,t,s$a)},S$7=(s,o)=>{if(e$c)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$9.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$b=e$c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$e(e)})(t):t;
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2017 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
|
-
*/const{is:i$
|
|
12
|
+
*/const{is:i$f,defineProperty:e$b,getOwnPropertyDescriptor:r$d,getOwnPropertyNames:h$7,getOwnPropertySymbols:o$c,getPrototypeOf:n$b}=Object,a$9=globalThis,c$a=a$9.trustedTypes,l$9=c$a?c$a.emptyScript:"",p$8=a$9.reactiveElementPolyfillSupport,d$7=(t,s)=>t,u$b={toAttribute(t,s){switch(s){case Boolean:t=t?l$9:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$7=(t,s)=>!i$f(t,s),y$7={attribute:true,type:String,converter:u$b,reflect:false,hasChanged:f$7};Symbol.metadata??=Symbol("metadata"),a$9.litPropertyMetadata??=new WeakMap;let b$4 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$7){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$b(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$d(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$7}static _$Ei(){if(this.hasOwnProperty(d$7("elementProperties")))return;const t=n$b(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$7("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$7("properties"))){const t=this.properties,s=[...h$7(t),...o$c(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(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$b(s));}else undefined!==s&&i.push(c$b(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$7(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$b).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(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$b;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$7)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=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$4.elementStyles=[],b$4.shadowRootOptions={mode:"open"},b$4[d$7("elementProperties")]=new Map,b$4[d$7("finalized")]=new Map,p$8?.({ReactiveElement:b$4}),(a$9.reactiveElementVersions??=[]).push("2.0.4");
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright 2017 Google LLC
|
|
17
17
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
18
|
*/
|
|
19
|
-
const t$
|
|
19
|
+
const t$8=globalThis,i$e=t$8.trustedTypes,s$9=i$e?i$e.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$a="$lit$",h$6=`lit$${Math.random().toFixed(9).slice(2)}$`,o$b="?"+h$6,n$a=`<${o$b}>`,r$c=document,l$8=()=>r$c.createComment(""),c$9=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$8=Array.isArray,u$a=t=>a$8(t)||"function"==typeof t?.[Symbol.iterator],d$6="[ \t\n\f\r]",f$6=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$5=/-->/g,_$4=/>/g,m$5=RegExp(`>|${d$6}(?:([^\\s"'>=/]+)(${d$6}*=${d$6}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$7=/'/g,g$4=/"/g,$$4=/^(?:script|style|textarea|title)$/i,y$6=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$4=y$6(1),T$4=Symbol.for("lit-noChange"),E$4=Symbol.for("lit-nothing"),A$4=new WeakMap,C$4=r$c.createTreeWalker(r$c,129);function P$4(t,i){if(!a$8(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$9?s$9.createHTML(i):i}const V$4=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$6;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$6?"!--"===u[1]?c=v$5:undefined!==u[1]?c=_$4:undefined!==u[2]?($$4.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$5):undefined!==u[3]&&(c=m$5):c===m$5?">"===u[0]?(c=r??f$6,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$5:'"'===u[3]?g$4:p$7):c===g$4||c===p$7?c=m$5:c===v$5||c===_$4?c=f$6:(c=m$5,r=undefined);const x=c===m$5&&t[i+1].startsWith("/>")?" ":"";l+=c===f$6?s+n$a:d>=0?(o.push(a),s.slice(0,d)+e$a+s.slice(d)+h$6+x):s+h$6+(-2===d?i:x);}return [P$4(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$4 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$4(t,s);if(this.el=N.createElement(f,n),C$4.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$4.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$a)){const i=v[a++],s=r.getAttribute(t).split(h$6),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$4:"?"===e[1]?I$4:"@"===e[1]?L$4:k$4}),r.removeAttribute(t);}else t.startsWith(h$6)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$4.test(r.tagName)){const t=r.textContent.split(h$6),s=t.length-1;if(s>0){r.textContent=i$e?i$e.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$8()),C$4.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$8());}}}else if(8===r.nodeType)if(r.data===o$b)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$6,t+1));)d.push({type:7,index:c}),t+=h$6.length-1;}c++;}}static createElement(t,i){const s=r$c.createElement("template");return s.innerHTML=t,s}};function S$6(t,i,s=t,e){if(i===T$4)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$9(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$6(t,h._$AS(t,i.values),h,e)),i}let M$5 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$c).importNode(i,true);C$4.currentNode=e;let h=C$4.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$4(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$4(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$4.nextNode(),o++);}return C$4.currentNode=r$c,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$4 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$4,this._$AN=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$6(this,t,i),c$9(t)?t===E$4||null==t||""===t?(this._$AH!==E$4&&this._$AR(),this._$AH=E$4):t!==this._$AH&&t!==T$4&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$a(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$4&&c$9(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$c.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$4.createElement(P$4(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$5(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$4.get(t.strings);return undefined===i&&A$4.set(t.strings,i=new N$4(t)),i}k(t){a$8(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$8()),this.O(l$8()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$4 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$4,this._$AN=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$4;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$6(this,t,i,0),o=!c$9(t)||t!==this._$AH&&t!==T$4,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$6(this,e[s+n],i,n),r===T$4&&(r=this._$AH[n]),o||=!c$9(r)||r!==this._$AH[n],r===E$4?t=E$4:t!==E$4&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$4?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$4 = class H extends k$4{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$4?undefined:t;}};let I$4 = class I extends k$4{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$4);}};let L$4 = class L extends k$4{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$6(this,t,i,0)??E$4)===T$4)return;const s=this._$AH,e=t===E$4&&s!==E$4||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$4&&(s===E$4||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$4 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$6(this,t);}};const j$4=t$8.litHtmlPolyfillSupport;j$4?.(N$4,R$4),(t$8.litHtmlVersions??=[]).push("3.2.1");const B$4=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$4(i.insertBefore(l$8(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/let r$
|
|
25
|
+
*/let r$b = class r extends b$4{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$4(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$4}};r$b._$litElement$=true,r$b["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$b});const i$d=globalThis.litElementPolyfillSupport;i$d?.({LitElement:r$b});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* @license
|
|
29
29
|
* Copyright 2020 Google LLC
|
|
30
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
31
|
*/
|
|
32
|
-
const a$
|
|
32
|
+
const a$7=Symbol.for(""),o$a=t=>{if(t?.r===a$7)return t?._$litStatic$},s$8=t=>({_$litStatic$:t,r:a$7}),i$c=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(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$7}),l$7=new Map,n$9=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$a(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$7.get(t))&&(n.raw=n,l$7.set(t,r=n)),e=u;}return t(r,...e)},u$9=n$9(x$4);
|
|
33
33
|
|
|
34
34
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
35
35
|
// See LICENSE in the project root for license information.
|
|
@@ -61,7 +61,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
|
61
61
|
*/
|
|
62
62
|
generateTag(baseName, version, tagClass) {
|
|
63
63
|
const elementName = this.generateElementName(baseName, version);
|
|
64
|
-
const tag = i$
|
|
64
|
+
const tag = i$c`${s$8(elementName)}`;
|
|
65
65
|
|
|
66
66
|
if (!customElements.get(elementName)) {
|
|
67
67
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -78,7 +78,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
|
78
78
|
|
|
79
79
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
80
80
|
|
|
81
|
-
let AuroLibraryRuntimeUtils$
|
|
81
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
82
82
|
|
|
83
83
|
/* eslint-disable jsdoc/require-param */
|
|
84
84
|
|
|
@@ -147,7 +147,7 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
|
147
147
|
|
|
148
148
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
149
149
|
constructor() {
|
|
150
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
150
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
/**
|
|
@@ -460,33 +460,33 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
460
460
|
* Copyright 2017 Google LLC
|
|
461
461
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
462
462
|
*/
|
|
463
|
-
const t$
|
|
463
|
+
const t$4$1=globalThis,i$9$1=t$4$1.trustedTypes,s$4$1=i$9$1?i$9$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$7$1="$lit$",h$3$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7$1="?"+h$3$1,n$6$1=`<${o$7$1}>`,r$7$1=document,l$4$1=()=>r$7$1.createComment(""),c$5$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4$1=Array.isArray,u$4$1=t=>a$4$1(t)||"function"==typeof t?.[Symbol.iterator],d$3$1="[ \t\n\f\r]",f$3$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1$1=/-->/g,_$1$1=/>/g,m$1$1=RegExp(`>|${d$3$1}(?:([^\\s"'>=/]+)(${d$3$1}*=${d$3$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$3$1=/'/g,g$1$1=/"/g,$$1$1=/^(?:script|style|textarea|title)$/i,y$3$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1$1=y$3$1(1),T$1$1=Symbol.for("lit-noChange"),E$1$1=Symbol.for("lit-nothing"),A$1$1=new WeakMap,C$1$1=r$7$1.createTreeWalker(r$7$1,129);function P$1$1(t,i){if(!a$4$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$4$1?s$4$1.createHTML(i):i}const V$1$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3$1?"!--"===u[1]?c=v$1$1:undefined!==u[1]?c=_$1$1:undefined!==u[2]?($$1$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1$1):undefined!==u[3]&&(c=m$1$1):c===m$1$1?">"===u[0]?(c=r??f$3$1,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$1$1:'"'===u[3]?g$1$1:p$3$1):c===g$1$1||c===p$3$1?c=m$1$1:c===v$1$1||c===_$1$1?c=f$3$1:(c=m$1$1,r=undefined);const x=c===m$1$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3$1?s+n$6$1:d>=0?(o.push(a),s.slice(0,d)+e$7$1+s.slice(d)+h$3$1+x):s+h$3$1+(-2===d?i:x);}return [P$1$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1$1(t,s);if(this.el=N.createElement(f,n),C$1$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7$1)){const i=v[a++],s=r.getAttribute(t).split(h$3$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1$1:"?"===e[1]?I$1$1:"@"===e[1]?L$1$1:k$1$1}),r.removeAttribute(t);}else t.startsWith(h$3$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1$1.test(r.tagName)){const t=r.textContent.split(h$3$1),s=t.length-1;if(s>0){r.textContent=i$9$1?i$9$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4$1()),C$1$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4$1());}}}else if(8===r.nodeType)if(r.data===o$7$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3$1,t+1));)d.push({type:7,index:c}),t+=h$3$1.length-1;}c++;}}static createElement(t,i){const s=r$7$1.createElement("template");return s.innerHTML=t,s}};function S$3$1(t,i,s=t,e){if(i===T$1$1)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$5$1(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$3$1(t,h._$AS(t,i.values),h,e)),i}let M$1$1 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7$1).importNode(i,true);C$1$1.currentNode=e;let h=C$1$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$1$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1$1.nextNode(),o++);}return C$1$1.currentNode=r$7$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1$1,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3$1(this,t,i),c$5$1(t)?t===E$1$1||null==t||""===t?(this._$AH!==E$1$1&&this._$AR(),this._$AH=E$1$1):t!==this._$AH&&t!==T$1$1&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$4$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1$1&&c$5$1(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$1$1.createElement(P$1$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1$1.get(t.strings);return undefined===i&&A$1$1.set(t.strings,i=new N$1$1(t)),i}k(t){a$4$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4$1()),this.O(l$4$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1$1,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$3$1(this,t,i,0),o=!c$5$1(t)||t!==this._$AH&&t!==T$1$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3$1(this,e[s+n],i,n),r===T$1$1&&(r=this._$AH[n]),o||=!c$5$1(r)||r!==this._$AH[n],r===E$1$1?t=E$1$1:t!==E$1$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1$1 = class H extends k$1$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1$1?undefined:t;}};let I$1$1 = class I extends k$1$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1$1);}};let L$1$1 = class L extends k$1$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3$1(this,t,i,0)??E$1$1)===T$1$1)return;const s=this._$AH,e=t===E$1$1&&s!==E$1$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1$1&&(s===E$1$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3$1(this,t);}};const j$1$1=t$4$1.litHtmlPolyfillSupport;j$1$1?.(N$1$1,R$1$1),(t$4$1.litHtmlVersions??=[]).push("3.2.1");const B$1$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1$1(i.insertBefore(l$4$1(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
466
|
* @license
|
|
467
467
|
* Copyright 2020 Google LLC
|
|
468
468
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
469
469
|
*/
|
|
470
|
-
const a$1
|
|
470
|
+
const a$3$1=Symbol.for(""),o$6$1=t=>{if(t?.r===a$3$1)return t?._$litStatic$},s$3$1=t=>({_$litStatic$:t,r:a$3$1}),i$8$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3$1}),l$3$1=new Map,n$5$1=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$6$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$3$1.get(t))&&(n.raw=n,l$3$1.set(t,r=n)),e=u;}return t(r,...e)},u$3$1=n$5$1(x$1$1);
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
473
|
* @license
|
|
474
474
|
* Copyright 2019 Google LLC
|
|
475
475
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
476
476
|
*/
|
|
477
|
-
const t$1
|
|
477
|
+
const t$3$1=globalThis,e$6$1=t$3$1.ShadowRoot&&(undefined===t$3$1.ShadyCSS||t$3$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$2=Symbol(),o$5$1=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$6$1&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$5$1.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5$1.set(s,t));}return t}toString(){return this.cssText}};const r$6$1=t=>new n$4$1("string"==typeof t?t:t+"",undefined,s$2$2),i$7$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4$1(o,t,s$2$2)},S$2$1=(s,o)=>{if(e$6$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4$1=e$6$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6$1(e)})(t):t;
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
480
|
* @license
|
|
481
481
|
* Copyright 2017 Google LLC
|
|
482
482
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
483
|
-
*/const{is:i$
|
|
483
|
+
*/const{is:i$6$1,defineProperty:e$5$1,getOwnPropertyDescriptor:r$5$1,getOwnPropertyNames:h$2$1,getOwnPropertySymbols:o$4$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$6$1(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$5$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2$1}static _$Ei(){if(this.hasOwnProperty(d$2$1("elementProperties")))return;const t=n$3$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$4$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$1(s));}else undefined!==s&&i.push(c$4$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$2$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");
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
486
|
* @license
|
|
487
487
|
* Copyright 2017 Google LLC
|
|
488
488
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
489
|
-
*/let r$
|
|
489
|
+
*/let r$4$1 = class r extends b$1$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1$1}};r$4$1._$litElement$=true,r$4$1["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4$1});const i$5$2=globalThis.litElementPolyfillSupport;i$5$2?.({LitElement:r$4$1});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
490
490
|
|
|
491
491
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
492
492
|
// See LICENSE in the project root for license information.
|
|
@@ -495,7 +495,7 @@ const t$1$2=globalThis,e$3$2=t$1$2.ShadowRoot&&(undefined===t$1$2.ShadyCSS||t$1$
|
|
|
495
495
|
|
|
496
496
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
497
497
|
|
|
498
|
-
let AuroLibraryRuntimeUtils$
|
|
498
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
499
499
|
|
|
500
500
|
/* eslint-disable jsdoc/require-param */
|
|
501
501
|
|
|
@@ -2470,7 +2470,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
2470
2470
|
*/
|
|
2471
2471
|
generateTag(baseName, version, tagClass) {
|
|
2472
2472
|
const elementName = this.generateElementName(baseName, version);
|
|
2473
|
-
const tag = i$
|
|
2473
|
+
const tag = i$8$1`${s$3$1(elementName)}`;
|
|
2474
2474
|
|
|
2475
2475
|
if (!customElements.get(elementName)) {
|
|
2476
2476
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -2485,19 +2485,19 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
2485
2485
|
* Copyright 2017 Google LLC
|
|
2486
2486
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2487
2487
|
*/
|
|
2488
|
-
const t$
|
|
2488
|
+
const t$2$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$4$2=t=>(...e)=>({_$litDirective$:t,values:e});let i$4$2 = 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)}};
|
|
2489
2489
|
|
|
2490
2490
|
/**
|
|
2491
2491
|
* @license
|
|
2492
2492
|
* Copyright 2018 Google LLC
|
|
2493
2493
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2494
|
-
*/const e$
|
|
2494
|
+
*/const e$3$2=e$4$2(class extends i$4$2{constructor(t){if(super(t),t.type!==t$2$2.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}});
|
|
2495
2495
|
|
|
2496
2496
|
/**
|
|
2497
2497
|
* @license
|
|
2498
2498
|
* Copyright 2018 Google LLC
|
|
2499
2499
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2500
|
-
*/const o$
|
|
2500
|
+
*/const o$3$2=o=>o??E$1$1;
|
|
2501
2501
|
|
|
2502
2502
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2503
2503
|
// See LICENSE in the project root for license information.
|
|
@@ -2509,7 +2509,7 @@ const t$5={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
|
|
|
2509
2509
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
2510
2510
|
*/
|
|
2511
2511
|
|
|
2512
|
-
let AuroElement$2 = class AuroElement extends r$
|
|
2512
|
+
let AuroElement$2 = class AuroElement extends r$4$1 {
|
|
2513
2513
|
|
|
2514
2514
|
// function to define props used within the scope of this component
|
|
2515
2515
|
static get properties() {
|
|
@@ -2565,7 +2565,7 @@ const cacheFetch$2 = (uri, options = {}) => {
|
|
|
2565
2565
|
return _fetchMap$2.get(uri);
|
|
2566
2566
|
};
|
|
2567
2567
|
|
|
2568
|
-
var styleCss$
|
|
2568
|
+
var styleCss$3$2 = i$7$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
|
|
2569
2569
|
|
|
2570
2570
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2571
2571
|
// See LICENSE in the project root for license information.
|
|
@@ -2604,8 +2604,8 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
2604
2604
|
}
|
|
2605
2605
|
|
|
2606
2606
|
static get styles() {
|
|
2607
|
-
return i$
|
|
2608
|
-
${styleCss$
|
|
2607
|
+
return i$7$1`
|
|
2608
|
+
${styleCss$3$2}
|
|
2609
2609
|
`;
|
|
2610
2610
|
}
|
|
2611
2611
|
|
|
@@ -2646,9 +2646,9 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
2646
2646
|
}
|
|
2647
2647
|
};
|
|
2648
2648
|
|
|
2649
|
-
var tokensCss$1
|
|
2649
|
+
var tokensCss$2$1 = i$7$1`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
2650
2650
|
|
|
2651
|
-
var colorCss$
|
|
2651
|
+
var colorCss$3$1 = i$7$1`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
2652
2652
|
|
|
2653
2653
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2654
2654
|
// See LICENSE in the project root for license information.
|
|
@@ -2710,7 +2710,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
2710
2710
|
this.success = false;
|
|
2711
2711
|
this.tertiary = false;
|
|
2712
2712
|
this.warning = false;
|
|
2713
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
2713
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
2714
2714
|
}
|
|
2715
2715
|
|
|
2716
2716
|
// function to define props used within the scope of this component
|
|
@@ -2792,9 +2792,9 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
2792
2792
|
static get styles() {
|
|
2793
2793
|
return [
|
|
2794
2794
|
super.styles,
|
|
2795
|
-
i$
|
|
2796
|
-
i$
|
|
2797
|
-
i$
|
|
2795
|
+
i$7$1`${tokensCss$2$1}`,
|
|
2796
|
+
i$7$1`${styleCss$3$2}`,
|
|
2797
|
+
i$7$1`${colorCss$3$1}`
|
|
2798
2798
|
];
|
|
2799
2799
|
}
|
|
2800
2800
|
|
|
@@ -2807,7 +2807,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
2807
2807
|
*
|
|
2808
2808
|
*/
|
|
2809
2809
|
static register(name = "auro-icon") {
|
|
2810
|
-
AuroLibraryRuntimeUtils$
|
|
2810
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
2811
2811
|
}
|
|
2812
2812
|
|
|
2813
2813
|
connectedCallback() {
|
|
@@ -2836,20 +2836,20 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
2836
2836
|
'wrapper': true,
|
|
2837
2837
|
};
|
|
2838
2838
|
|
|
2839
|
-
return x$
|
|
2839
|
+
return x$1$1`
|
|
2840
2840
|
<div
|
|
2841
|
-
class="${e$
|
|
2842
|
-
title="${o$
|
|
2843
|
-
<span aria-hidden="${o$
|
|
2844
|
-
${this.customSvg ? x$
|
|
2841
|
+
class="${e$3$2(classes)}"
|
|
2842
|
+
title="${o$3$2(this.title || undefined)}">
|
|
2843
|
+
<span aria-hidden="${o$3$2(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
2844
|
+
${this.customSvg ? x$1$1`
|
|
2845
2845
|
<slot name="svg"></slot>
|
|
2846
|
-
` : x$
|
|
2846
|
+
` : x$1$1`
|
|
2847
2847
|
${this.svg}
|
|
2848
2848
|
`
|
|
2849
2849
|
}
|
|
2850
2850
|
</span>
|
|
2851
2851
|
|
|
2852
|
-
<div class="${e$
|
|
2852
|
+
<div class="${e$3$2(a11y)}">
|
|
2853
2853
|
<slot></slot>
|
|
2854
2854
|
</div>
|
|
2855
2855
|
</div>
|
|
@@ -2859,15 +2859,226 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
2859
2859
|
|
|
2860
2860
|
var iconVersion$2 = '6.1.2';
|
|
2861
2861
|
|
|
2862
|
-
var styleCss$
|
|
2862
|
+
var styleCss$2$2 = i$7$1`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@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)}`;
|
|
2863
|
+
|
|
2864
|
+
var colorCss$2$2 = i$7$1`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-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);outline:1px solid 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)}`;
|
|
2865
|
+
|
|
2866
|
+
var tokensCss$1$2 = i$7$1`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-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)}`;
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* @license
|
|
2870
|
+
* Copyright 2019 Google LLC
|
|
2871
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2872
|
+
*/
|
|
2873
|
+
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;
|
|
2863
2874
|
|
|
2864
|
-
|
|
2875
|
+
/**
|
|
2876
|
+
* @license
|
|
2877
|
+
* Copyright 2017 Google LLC
|
|
2878
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2879
|
+
*/const{is:i$2$2,defineProperty:e$1$2,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$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$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$2(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1$2}static _$Ei(){if(this.hasOwnProperty(d$1$2("elementProperties")))return;const t=n$1$2(this);t.finalize(),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$3.elementStyles=[],b$3.shadowRootOptions={mode:"open"},b$3[d$1$2("elementProperties")]=new Map,b$3[d$1$2("finalized")]=new Map,p$1$2?.({ReactiveElement:b$3}),(a$1$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
2865
2880
|
|
|
2866
|
-
|
|
2881
|
+
/**
|
|
2882
|
+
* @license
|
|
2883
|
+
* Copyright 2017 Google LLC
|
|
2884
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2885
|
+
*/
|
|
2886
|
+
const t$7=globalThis,i$1$2=t$7.trustedTypes,s$7=i$1$2?i$1$2.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$2=document,l$6=()=>r$1$2.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$2.createTreeWalker(r$1$2,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$2?i$1$2.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$6()),C$3.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$6());}}}else if(8===r.nodeType)if(r.data===o$9)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$5,t+1));)d.push({type:7,index:c}),t+=h$5.length-1;}c++;}}static createElement(t,i){const s=r$1$2.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$2).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$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$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$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$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};
|
|
2867
2887
|
|
|
2868
|
-
|
|
2888
|
+
/**
|
|
2889
|
+
* @license
|
|
2890
|
+
* Copyright 2017 Google LLC
|
|
2891
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2892
|
+
*/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");
|
|
2869
2893
|
|
|
2870
|
-
var colorCss$
|
|
2894
|
+
var colorCss$1$2 = i$3$2`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
2895
|
+
|
|
2896
|
+
var styleCss$1$2 = i$3$2`.helptext-wrapper{display:none;margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0;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(p){margin-block:0}`;
|
|
2897
|
+
|
|
2898
|
+
var tokensCss$6 = i$3$2`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
2899
|
+
|
|
2900
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
2901
|
+
// See LICENSE in the project root for license information.
|
|
2902
|
+
|
|
2903
|
+
// ---------------------------------------------------------------------
|
|
2904
|
+
|
|
2905
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
2906
|
+
|
|
2907
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
2908
|
+
|
|
2909
|
+
/* eslint-disable jsdoc/require-param */
|
|
2910
|
+
|
|
2911
|
+
/**
|
|
2912
|
+
* This will register a new custom element with the browser.
|
|
2913
|
+
* @param {String} name - The name of the custom element.
|
|
2914
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
2915
|
+
* @returns {void}
|
|
2916
|
+
*/
|
|
2917
|
+
registerComponent(name, componentClass) {
|
|
2918
|
+
if (!customElements.get(name)) {
|
|
2919
|
+
customElements.define(name, class extends componentClass {});
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
/**
|
|
2924
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
2925
|
+
* @returns {void}
|
|
2926
|
+
*/
|
|
2927
|
+
closestElement(
|
|
2928
|
+
selector, // selector like in .closest()
|
|
2929
|
+
base = this, // extra functionality to skip a parent
|
|
2930
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
2931
|
+
!el || el === document || el === window
|
|
2932
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
2933
|
+
: found
|
|
2934
|
+
? found // found a selector INside this element
|
|
2935
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
2936
|
+
) {
|
|
2937
|
+
return __Closest(base);
|
|
2938
|
+
}
|
|
2939
|
+
/* eslint-enable jsdoc/require-param */
|
|
2940
|
+
|
|
2941
|
+
/**
|
|
2942
|
+
* 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.
|
|
2943
|
+
* @param {Object} elem - The element to check.
|
|
2944
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
2945
|
+
* @returns {void}
|
|
2946
|
+
*/
|
|
2947
|
+
handleComponentTagRename(elem, tagName) {
|
|
2948
|
+
const tag = tagName.toLowerCase();
|
|
2949
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
2950
|
+
|
|
2951
|
+
if (elemTag !== tag) {
|
|
2952
|
+
elem.setAttribute(tag, true);
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
|
|
2956
|
+
/**
|
|
2957
|
+
* Validates if an element is a specific Auro component.
|
|
2958
|
+
* @param {Object} elem - The element to validate.
|
|
2959
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
2960
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
2961
|
+
*/
|
|
2962
|
+
elementMatch(elem, tagName) {
|
|
2963
|
+
const tag = tagName.toLowerCase();
|
|
2964
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
2965
|
+
|
|
2966
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
2967
|
+
}
|
|
2968
|
+
};
|
|
2969
|
+
|
|
2970
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2971
|
+
// See LICENSE in the project root for license information.
|
|
2972
|
+
|
|
2973
|
+
|
|
2974
|
+
/**
|
|
2975
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
2976
|
+
*
|
|
2977
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
2978
|
+
*/
|
|
2979
|
+
let AuroHelpText$1 = class AuroHelpText extends r$a {
|
|
2980
|
+
|
|
2981
|
+
constructor() {
|
|
2982
|
+
super();
|
|
2983
|
+
|
|
2984
|
+
this.error = false;
|
|
2985
|
+
this.hasTextContent = false;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
static get styles() {
|
|
2989
|
+
return [
|
|
2990
|
+
colorCss$1$2,
|
|
2991
|
+
styleCss$1$2,
|
|
2992
|
+
tokensCss$6
|
|
2993
|
+
];
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
// function to define props used within the scope of this component
|
|
2997
|
+
static get properties() {
|
|
2998
|
+
return {
|
|
2999
|
+
|
|
3000
|
+
/**
|
|
3001
|
+
* @private
|
|
3002
|
+
*/
|
|
3003
|
+
slotNodes: {
|
|
3004
|
+
type: Boolean,
|
|
3005
|
+
},
|
|
3006
|
+
|
|
3007
|
+
/**
|
|
3008
|
+
* @private
|
|
3009
|
+
*/
|
|
3010
|
+
hasTextContent: {
|
|
3011
|
+
type: Boolean,
|
|
3012
|
+
},
|
|
3013
|
+
|
|
3014
|
+
/**
|
|
3015
|
+
* If declared, make font color red.
|
|
3016
|
+
*/
|
|
3017
|
+
error: {
|
|
3018
|
+
type: Boolean,
|
|
3019
|
+
reflect: true,
|
|
3020
|
+
},
|
|
3021
|
+
};
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3024
|
+
/**
|
|
3025
|
+
* This will register this element with the browser.
|
|
3026
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
3027
|
+
*
|
|
3028
|
+
* @example
|
|
3029
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
3030
|
+
*
|
|
3031
|
+
*/
|
|
3032
|
+
static register(name = "auro-helptext") {
|
|
3033
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3036
|
+
updated() {
|
|
3037
|
+
this.handleSlotChange();
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
handleSlotChange(event) {
|
|
3041
|
+
if (event) {
|
|
3042
|
+
this.slotNodes = event.target.assignedNodes();
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
if (this.slotNodes) {
|
|
3046
|
+
this.hasTextContent = this.slotNodes.some((slot) => {
|
|
3047
|
+
if (slot.textContent.trim()) {
|
|
3048
|
+
return true;
|
|
3049
|
+
}
|
|
3050
|
+
|
|
3051
|
+
if (!slot.querySelector) {
|
|
3052
|
+
return false;
|
|
3053
|
+
}
|
|
3054
|
+
|
|
3055
|
+
const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
|
|
3056
|
+
if (!nestedSlot) {
|
|
3057
|
+
return false;
|
|
3058
|
+
}
|
|
3059
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
3060
|
+
return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
|
|
3061
|
+
});
|
|
3062
|
+
} else {
|
|
3063
|
+
this.hasTextContent = false;
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
|
|
3067
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
3068
|
+
render() {
|
|
3069
|
+
return x$3`
|
|
3070
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
3071
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
3072
|
+
</div>
|
|
3073
|
+
`;
|
|
3074
|
+
}
|
|
3075
|
+
};
|
|
3076
|
+
|
|
3077
|
+
AuroHelpText$1.register();
|
|
3078
|
+
|
|
3079
|
+
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}`;
|
|
3080
|
+
|
|
3081
|
+
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)}`;
|
|
2871
3082
|
|
|
2872
3083
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2873
3084
|
// See LICENSE in the project root for license information.
|
|
@@ -2887,7 +3098,7 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
2887
3098
|
* @csspart bibContainer - Apply css to the bib container.
|
|
2888
3099
|
*/
|
|
2889
3100
|
|
|
2890
|
-
class AuroDropdownBib extends r$
|
|
3101
|
+
class AuroDropdownBib extends r$4$1 {
|
|
2891
3102
|
|
|
2892
3103
|
constructor() {
|
|
2893
3104
|
super();
|
|
@@ -2900,9 +3111,9 @@ class AuroDropdownBib extends r$6 {
|
|
|
2900
3111
|
|
|
2901
3112
|
static get styles() {
|
|
2902
3113
|
return [
|
|
2903
|
-
styleCss$
|
|
2904
|
-
colorCss$
|
|
2905
|
-
tokensCss$
|
|
3114
|
+
styleCss$6,
|
|
3115
|
+
colorCss$6,
|
|
3116
|
+
tokensCss$1$2
|
|
2906
3117
|
];
|
|
2907
3118
|
}
|
|
2908
3119
|
|
|
@@ -2953,7 +3164,7 @@ class AuroDropdownBib extends r$6 {
|
|
|
2953
3164
|
|
|
2954
3165
|
// function that renders the HTML and CSS into the scope of the component
|
|
2955
3166
|
render() {
|
|
2956
|
-
return u$1
|
|
3167
|
+
return u$3$1`
|
|
2957
3168
|
<div class="container" part="bibContainer">
|
|
2958
3169
|
<slot></slot>
|
|
2959
3170
|
</div>
|
|
@@ -2983,7 +3194,7 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
2983
3194
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
2984
3195
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
2985
3196
|
*/
|
|
2986
|
-
class AuroDropdown extends r$
|
|
3197
|
+
class AuroDropdown extends r$4$1 {
|
|
2987
3198
|
constructor() {
|
|
2988
3199
|
super();
|
|
2989
3200
|
|
|
@@ -3022,7 +3233,7 @@ class AuroDropdown extends r$6 {
|
|
|
3022
3233
|
/**
|
|
3023
3234
|
* @private
|
|
3024
3235
|
*/
|
|
3025
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
3236
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
3026
3237
|
|
|
3027
3238
|
/**
|
|
3028
3239
|
* @private
|
|
@@ -3223,9 +3434,9 @@ class AuroDropdown extends r$6 {
|
|
|
3223
3434
|
|
|
3224
3435
|
static get styles() {
|
|
3225
3436
|
return [
|
|
3226
|
-
colorCss$
|
|
3227
|
-
styleCss$
|
|
3228
|
-
tokensCss$
|
|
3437
|
+
colorCss$2$2,
|
|
3438
|
+
styleCss$2$2,
|
|
3439
|
+
tokensCss$1$2
|
|
3229
3440
|
];
|
|
3230
3441
|
}
|
|
3231
3442
|
|
|
@@ -3238,7 +3449,7 @@ class AuroDropdown extends r$6 {
|
|
|
3238
3449
|
*
|
|
3239
3450
|
*/
|
|
3240
3451
|
static register(name = "auro-dropdown") {
|
|
3241
|
-
AuroLibraryRuntimeUtils$
|
|
3452
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
|
|
3242
3453
|
}
|
|
3243
3454
|
|
|
3244
3455
|
connectedCallback() {
|
|
@@ -3362,7 +3573,7 @@ class AuroDropdown extends r$6 {
|
|
|
3362
3573
|
|
|
3363
3574
|
// function that renders the HTML and CSS into the scope of the component
|
|
3364
3575
|
render() {
|
|
3365
|
-
return u$1
|
|
3576
|
+
return u$3$1`
|
|
3366
3577
|
<div>
|
|
3367
3578
|
<div
|
|
3368
3579
|
id="trigger"
|
|
@@ -3380,10 +3591,10 @@ class AuroDropdown extends r$6 {
|
|
|
3380
3591
|
<div class="triggerContent">
|
|
3381
3592
|
<slot
|
|
3382
3593
|
name="trigger"
|
|
3383
|
-
@slotchange="${
|
|
3594
|
+
@slotchange="${this.handleTriggerContentSlotChange}"></slot>
|
|
3384
3595
|
</div>
|
|
3385
3596
|
</div>
|
|
3386
|
-
${this.chevron || this.common ? u$1
|
|
3597
|
+
${this.chevron || this.common ? u$3$1`
|
|
3387
3598
|
<div
|
|
3388
3599
|
id="showStateIcon"
|
|
3389
3600
|
part="chevron">
|
|
@@ -3397,11 +3608,9 @@ class AuroDropdown extends r$6 {
|
|
|
3397
3608
|
</div>
|
|
3398
3609
|
` : undefined }
|
|
3399
3610
|
</div>
|
|
3400
|
-
<
|
|
3401
|
-
class="helpText"
|
|
3402
|
-
part="helpText">
|
|
3611
|
+
<auro-helptext part="helpText" ?error="${this.error}">
|
|
3403
3612
|
<slot name="helpText"></slot>
|
|
3404
|
-
</
|
|
3613
|
+
</auro-helptext>
|
|
3405
3614
|
<div class="slotContent">
|
|
3406
3615
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
3407
3616
|
</div>
|
|
@@ -3427,46 +3636,46 @@ var dropdownVersion = '3.0.0';
|
|
|
3427
3636
|
* Copyright 2017 Google LLC
|
|
3428
3637
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3429
3638
|
*/
|
|
3430
|
-
const t$
|
|
3639
|
+
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};
|
|
3431
3640
|
|
|
3432
3641
|
/**
|
|
3433
3642
|
* @license
|
|
3434
3643
|
* Copyright 2020 Google LLC
|
|
3435
3644
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3436
3645
|
*/
|
|
3437
|
-
const a$
|
|
3646
|
+
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);
|
|
3438
3647
|
|
|
3439
3648
|
/**
|
|
3440
3649
|
* @license
|
|
3441
3650
|
* Copyright 2017 Google LLC
|
|
3442
3651
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3443
3652
|
*/
|
|
3444
|
-
const t$
|
|
3653
|
+
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)}};
|
|
3445
3654
|
|
|
3446
3655
|
/**
|
|
3447
3656
|
* @license
|
|
3448
3657
|
* Copyright 2020 Google LLC
|
|
3449
3658
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3450
|
-
*/const {I:t$
|
|
3659
|
+
*/const {I:t$3}=Z,s$3=()=>document.createComment(""),r$7=(o,i,n)=>{const e=o._$AA.parentNode,l=undefined===i?o._$AB:i._$AA;if(undefined===n){const i=e.insertBefore(s$3(),l),c=e.insertBefore(s$3(),l);n=new t$3(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,undefined!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v$1=(o,t,i=o)=>(o._$AI(t,i),o),u$4={},m$1=(o,t=u$4)=>o._$AH=t,p$3=o=>o._$AH,M$1=o=>{o._$AP?.(false,true);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
|
|
3451
3660
|
|
|
3452
3661
|
/**
|
|
3453
3662
|
* @license
|
|
3454
3663
|
* Copyright 2017 Google LLC
|
|
3455
3664
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3456
3665
|
*/
|
|
3457
|
-
const u$
|
|
3666
|
+
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}});
|
|
3458
3667
|
|
|
3459
3668
|
/**
|
|
3460
3669
|
* @license
|
|
3461
3670
|
* Copyright 2018 Google LLC
|
|
3462
3671
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3463
|
-
*/const e$
|
|
3672
|
+
*/const e$5=e$6(class extends i$7{constructor(t){if(super(t),t.type!==t$4.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
|
|
3464
3673
|
|
|
3465
3674
|
/**
|
|
3466
3675
|
* @license
|
|
3467
3676
|
* Copyright 2018 Google LLC
|
|
3468
3677
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3469
|
-
*/const o$
|
|
3678
|
+
*/const o$5=o=>o??E$1;
|
|
3470
3679
|
|
|
3471
3680
|
const watchedItems = new Set();
|
|
3472
3681
|
|
|
@@ -3576,25 +3785,25 @@ function stopNotifyingOnLangChange(element) {
|
|
|
3576
3785
|
* Copyright 2019 Google LLC
|
|
3577
3786
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3578
3787
|
*/
|
|
3579
|
-
const t$
|
|
3788
|
+
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$4 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$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$6=t=>new n$4("string"==typeof t?t:t+"",undefined,s$2$1),i$6=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4(o,t,s$2$1)},S$2=(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$4=e$4$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
|
|
3580
3789
|
|
|
3581
3790
|
/**
|
|
3582
3791
|
* @license
|
|
3583
3792
|
* Copyright 2017 Google LLC
|
|
3584
3793
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3585
|
-
*/const{is:i$
|
|
3794
|
+
*/const{is:i$5$1,defineProperty:e$3$1,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$3$1,getPrototypeOf:n$3$1}=Object,a$2$1=globalThis,c$3=a$2$1.trustedTypes,l$2$1=c$3?c$3.emptyScript:"",p$2=a$2$1.reactiveElementPolyfillSupport,d$2=(t,s)=>t,u$2$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$5$1(t,s),y$2={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$2$1.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$2){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$3$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2}static _$Ei(){if(this.hasOwnProperty(d$2("elementProperties")))return;const t=n$3$1(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2("properties"))){const t=this.properties,s=[...h$2(t),...o$3$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4(s));}else undefined!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$2$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$2$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$2("elementProperties")]=new Map,b$1[d$2("finalized")]=new Map,p$2?.({ReactiveElement:b$1}),(a$2$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
3586
3795
|
|
|
3587
3796
|
/**
|
|
3588
3797
|
* @license
|
|
3589
3798
|
* Copyright 2017 Google LLC
|
|
3590
3799
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3591
|
-
*/let r$
|
|
3800
|
+
*/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$1=globalThis.litElementPolyfillSupport;i$4$1?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
3592
3801
|
|
|
3593
|
-
var styleCss$
|
|
3802
|
+
var styleCss$4 = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}.clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}:host .wrapper:hover .clearBtn,:host .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:relative;overflow:hidden;min-height:var(--ds-size-700, 3.5rem);max-height:var(--ds-size-700, 3.5rem);flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
|
|
3594
3803
|
|
|
3595
|
-
var colorCss$
|
|
3804
|
+
var colorCss$4 = i$6`.wrapper{border-color:transparent}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-input-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}label{color:var(--ds-auro-input-label-text-color)}:host(:not([bordered],[borderless])) .wrapper{border-bottom-color:var(--ds-auro-input-border-color)}:host([bordered]) .wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-container-color)}:host([bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host(:not([borderless])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host(:not([borderless])) .wrapper:focus-within:before{border-bottom-color:transparent}:host([validity]:not([validity=valid])){--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
|
|
3596
3805
|
|
|
3597
|
-
var tokensCss$
|
|
3806
|
+
var tokensCss$4 = i$6`:host{--ds-auro-input-border-color: var(--ds-color-border-secondary-default, #939fad);--ds-auro-input-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #2c67b5);--ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #6a717c);--ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
3598
3807
|
|
|
3599
3808
|
var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
3600
3809
|
|
|
@@ -5559,7 +5768,7 @@ class AuroFormValidation {
|
|
|
5559
5768
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
5560
5769
|
*/
|
|
5561
5770
|
|
|
5562
|
-
class BaseInput extends r$
|
|
5771
|
+
class BaseInput extends r$4 {
|
|
5563
5772
|
|
|
5564
5773
|
constructor() {
|
|
5565
5774
|
super();
|
|
@@ -5901,9 +6110,9 @@ class BaseInput extends r$5 {
|
|
|
5901
6110
|
|
|
5902
6111
|
static get styles() {
|
|
5903
6112
|
return [
|
|
5904
|
-
i$
|
|
5905
|
-
i$
|
|
5906
|
-
i$
|
|
6113
|
+
i$6`${colorCss$4}`,
|
|
6114
|
+
i$6`${styleCss$4}`,
|
|
6115
|
+
i$6`${tokensCss$4}`
|
|
5907
6116
|
];
|
|
5908
6117
|
}
|
|
5909
6118
|
|
|
@@ -6476,7 +6685,7 @@ class BaseInput extends r$5 {
|
|
|
6476
6685
|
return !this.placeholder ? 'MM' : this.placeholder;
|
|
6477
6686
|
}
|
|
6478
6687
|
|
|
6479
|
-
return o$
|
|
6688
|
+
return o$5(this.placeholder);
|
|
6480
6689
|
}
|
|
6481
6690
|
|
|
6482
6691
|
/**
|
|
@@ -6653,7 +6862,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
6653
6862
|
*/
|
|
6654
6863
|
generateTag(baseName, version, tagClass) {
|
|
6655
6864
|
const elementName = this.generateElementName(baseName, version);
|
|
6656
|
-
const tag = i$
|
|
6865
|
+
const tag = i$8`${s$4(elementName)}`;
|
|
6657
6866
|
|
|
6658
6867
|
if (!customElements.get(elementName)) {
|
|
6659
6868
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -6673,7 +6882,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
6673
6882
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
6674
6883
|
*/
|
|
6675
6884
|
|
|
6676
|
-
let AuroElement$1 = class AuroElement extends r$
|
|
6885
|
+
let AuroElement$1 = class AuroElement extends r$4 {
|
|
6677
6886
|
|
|
6678
6887
|
// function to define props used within the scope of this component
|
|
6679
6888
|
static get properties() {
|
|
@@ -6729,7 +6938,7 @@ const cacheFetch$1 = (uri, options = {}) => {
|
|
|
6729
6938
|
return _fetchMap$1.get(uri);
|
|
6730
6939
|
};
|
|
6731
6940
|
|
|
6732
|
-
var styleCss$
|
|
6941
|
+
var styleCss$3$1 = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.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}`;
|
|
6733
6942
|
|
|
6734
6943
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6735
6944
|
// See LICENSE in the project root for license information.
|
|
@@ -6768,8 +6977,8 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
6768
6977
|
}
|
|
6769
6978
|
|
|
6770
6979
|
static get styles() {
|
|
6771
|
-
return i$
|
|
6772
|
-
${styleCss$
|
|
6980
|
+
return i$6`
|
|
6981
|
+
${styleCss$3$1}
|
|
6773
6982
|
`;
|
|
6774
6983
|
}
|
|
6775
6984
|
|
|
@@ -6810,9 +7019,9 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
6810
7019
|
}
|
|
6811
7020
|
};
|
|
6812
7021
|
|
|
6813
|
-
var tokensCss$
|
|
7022
|
+
var tokensCss$3 = i$6`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
6814
7023
|
|
|
6815
|
-
var colorCss$
|
|
7024
|
+
var colorCss$3 = i$6`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
6816
7025
|
|
|
6817
7026
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6818
7027
|
// See LICENSE in the project root for license information.
|
|
@@ -6956,9 +7165,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
6956
7165
|
static get styles() {
|
|
6957
7166
|
return [
|
|
6958
7167
|
super.styles,
|
|
6959
|
-
i$
|
|
6960
|
-
i$
|
|
6961
|
-
i$
|
|
7168
|
+
i$6`${tokensCss$3}`,
|
|
7169
|
+
i$6`${styleCss$3$1}`,
|
|
7170
|
+
i$6`${colorCss$3}`
|
|
6962
7171
|
];
|
|
6963
7172
|
}
|
|
6964
7173
|
|
|
@@ -7002,9 +7211,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
7002
7211
|
|
|
7003
7212
|
return x$1`
|
|
7004
7213
|
<div
|
|
7005
|
-
class="${e$
|
|
7006
|
-
title="${o$
|
|
7007
|
-
<span aria-hidden="${o$
|
|
7214
|
+
class="${e$5(classes)}"
|
|
7215
|
+
title="${o$5(this.title || undefined)}">
|
|
7216
|
+
<span aria-hidden="${o$5(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
7008
7217
|
${this.customSvg ? x$1`
|
|
7009
7218
|
<slot name="svg"></slot>
|
|
7010
7219
|
` : x$1`
|
|
@@ -7013,7 +7222,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
7013
7222
|
}
|
|
7014
7223
|
</span>
|
|
7015
7224
|
|
|
7016
|
-
<div class="${e$
|
|
7225
|
+
<div class="${e$5(a11y)}">
|
|
7017
7226
|
<slot></slot>
|
|
7018
7227
|
</div>
|
|
7019
7228
|
</div>
|
|
@@ -7023,17 +7232,17 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
7023
7232
|
|
|
7024
7233
|
var iconVersion$1 = '6.1.2';
|
|
7025
7234
|
|
|
7026
|
-
var styleCss$
|
|
7235
|
+
var styleCss$2$1 = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.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}`;
|
|
7027
7236
|
|
|
7028
|
-
var colorCss$1$1 = i$2$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}`;
|
|
7237
|
+
var colorCss$2$1 = i$6`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible:after{border-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-active-default, #225296)}.auro-button:not([ondark])[disabled]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-disabled-default, #a0c9f1)}@media(hover: hover){.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-text-color: var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-button-text-color: var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.auro-button:not([ondark])[variant=secondary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-button-text-color: var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-border-inset-color: var(--ds-color-border-ui-default-default, #2c67b5)}.auro-button:not([ondark])[variant=tertiary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-color-icon-ui-secondary-default-default);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-default);background-color:transparent;background-image:none;border-color:transparent}}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-color-icon-ui-secondary-disabled-default);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-button-loader-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7)}}.auro-button[ondark]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-active-inverse, #6ad5ef)}.auro-button[ondark][disabled]{--ds-auro-button-container-color: var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e);--ds-auro-button-border-color: var(--ds-color-container-ui-primary-disabled-inverse, #275b72)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-border-color: var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-text-color: var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=secondary]:hover{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: var(--ds-color-border-ui-hover-inverse, #a8e9f7);--ds-auro-button-text-color: var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color: var(--ds-color-border-ui-focus-inverse, #56bbde)}.auro-button[ondark][variant=secondary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color: var(--ds-color-border-ui-active-inverse, #6ad5ef);--ds-auro-button-text-color: var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: var(--ds-color-border-ui-disabled-inverse, #7e7e7e);--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color: var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-border-inset-color: var(--ds-color-border-ui-default-inverse, #56bbde)}.auro-button[ondark][variant=tertiary]:active{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-container-color: var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image: var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color: transparent;--ds-auro-button-text-color: var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=flat]{color:var(--ds-color-icon-ui-secondary-default-inverse);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-inverse);background-color:transparent;background-image:none;border-color:transparent}}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-color-icon-ui-disabled-default);background-color:transparent;background-image:none;border-color:transparent}`;
|
|
7029
7238
|
|
|
7030
|
-
var tokensCss$
|
|
7239
|
+
var tokensCss$2 = i$6`:host{--ds-auro-button-border-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-border-inset-color: var(--ds-color-border-emphasis-inverse, #f2f7fb);--ds-auro-button-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-container-image: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-loader-color: var(--ds-color-utility-navy-default, #265688);--ds-auro-button-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-tap-color: transparent}`;
|
|
7031
7240
|
|
|
7032
|
-
var styleCss$
|
|
7241
|
+
var styleCss$1$1 = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: 0.375rem;--margin-xs: 0.2rem;--margin-sm: 0.5rem;--margin-md: 0.75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
|
|
7033
7242
|
|
|
7034
|
-
var colorCss$
|
|
7243
|
+
var colorCss$1$1 = i$6`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color: var(--ds-color-utility-navy-default, #265688)}:host([ondark]){--ds-auro-loader-color: var(--ds-color-utility-cyan-inverse, #a8e9f7)}:host([white]){--ds-auro-loader-color: var(--ds-color-utility-neutral-inverse, #ccd2db)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
|
|
7035
7244
|
|
|
7036
|
-
var tokensCss$
|
|
7245
|
+
var tokensCss$1$1 = i$6`:host{--ds-auro-loader-background-color: currentcolor;--ds-auro-loader-border-color: currentcolor;--ds-auro-loader-color: currentcolor}`;
|
|
7037
7246
|
|
|
7038
7247
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7039
7248
|
// See LICENSE in the project root for license information.
|
|
@@ -7058,7 +7267,7 @@ var tokensCss$4 = i$2$1`:host{--ds-auro-loader-background-color: currentcolor;--
|
|
|
7058
7267
|
*/
|
|
7059
7268
|
|
|
7060
7269
|
// build the component class
|
|
7061
|
-
class AuroLoader extends r$
|
|
7270
|
+
class AuroLoader extends r$4 {
|
|
7062
7271
|
constructor() {
|
|
7063
7272
|
super();
|
|
7064
7273
|
|
|
@@ -7112,9 +7321,9 @@ class AuroLoader extends r$5 {
|
|
|
7112
7321
|
|
|
7113
7322
|
static get styles() {
|
|
7114
7323
|
return [
|
|
7115
|
-
i$
|
|
7116
|
-
i$
|
|
7117
|
-
i$
|
|
7324
|
+
i$6`${styleCss$1$1}`,
|
|
7325
|
+
i$6`${colorCss$1$1}`,
|
|
7326
|
+
i$6`${tokensCss$1$1}`
|
|
7118
7327
|
];
|
|
7119
7328
|
}
|
|
7120
7329
|
|
|
@@ -7213,7 +7422,7 @@ var loaderVersion = '3.1.1';
|
|
|
7213
7422
|
|
|
7214
7423
|
/* eslint-disable lit/no-invalid-html, lit/binding-positions */
|
|
7215
7424
|
|
|
7216
|
-
class AuroButton extends r$
|
|
7425
|
+
class AuroButton extends r$4 {
|
|
7217
7426
|
|
|
7218
7427
|
constructor() {
|
|
7219
7428
|
super();
|
|
@@ -7242,9 +7451,9 @@ class AuroButton extends r$5 {
|
|
|
7242
7451
|
|
|
7243
7452
|
static get styles() {
|
|
7244
7453
|
return [
|
|
7245
|
-
tokensCss$
|
|
7246
|
-
styleCss$
|
|
7247
|
-
colorCss$
|
|
7454
|
+
tokensCss$2,
|
|
7455
|
+
styleCss$2$1,
|
|
7456
|
+
colorCss$2$1
|
|
7248
7457
|
];
|
|
7249
7458
|
}
|
|
7250
7459
|
|
|
@@ -7381,27 +7590,27 @@ class AuroButton extends r$5 {
|
|
|
7381
7590
|
'loading': this.loading
|
|
7382
7591
|
};
|
|
7383
7592
|
|
|
7384
|
-
return u$
|
|
7593
|
+
return u$5`
|
|
7385
7594
|
<button
|
|
7386
7595
|
part="button"
|
|
7387
|
-
aria-label="${o$
|
|
7388
|
-
aria-labelledby="${o$
|
|
7596
|
+
aria-label="${o$5(this.arialabel ? this.arialabel : undefined)}"
|
|
7597
|
+
aria-labelledby="${o$5(this.arialabelledby ? this.arialabelledby : undefined)}"
|
|
7389
7598
|
?autofocus="${this.autofocus}"
|
|
7390
|
-
class="${e$
|
|
7599
|
+
class="${e$5(classes)}"
|
|
7391
7600
|
?disabled="${this.disabled || this.loading}"
|
|
7392
7601
|
?onDark="${this.onDark}"
|
|
7393
|
-
title="${o$
|
|
7394
|
-
name="${o$
|
|
7395
|
-
type="${o$
|
|
7396
|
-
variant="${o$
|
|
7397
|
-
.value="${o$
|
|
7602
|
+
title="${o$5(this.title ? this.title : undefined)}"
|
|
7603
|
+
name="${o$5(this.name ? this.name : undefined)}"
|
|
7604
|
+
type="${o$5(this.type ? this.type : undefined)}"
|
|
7605
|
+
variant="${o$5(this.variant ? this.variant : undefined)}"
|
|
7606
|
+
.value="${o$5(this.value ? this.value : undefined)}"
|
|
7398
7607
|
@click="${() => {}}"
|
|
7399
7608
|
>
|
|
7400
|
-
${o$
|
|
7609
|
+
${o$5(this.loading ? u$5`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
7401
7610
|
|
|
7402
7611
|
<span class="contentWrapper">
|
|
7403
7612
|
<span class="textSlot" part="text">
|
|
7404
|
-
${this.iconOnly ? undefined : u$
|
|
7613
|
+
${this.iconOnly ? undefined : u$5`<slot></slot>`}
|
|
7405
7614
|
</span>
|
|
7406
7615
|
|
|
7407
7616
|
<span part="icon">
|
|
@@ -7415,6 +7624,217 @@ class AuroButton extends r$5 {
|
|
|
7415
7624
|
|
|
7416
7625
|
var buttonVersion = '8.2.2';
|
|
7417
7626
|
|
|
7627
|
+
/**
|
|
7628
|
+
* @license
|
|
7629
|
+
* Copyright 2019 Google LLC
|
|
7630
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
7631
|
+
*/
|
|
7632
|
+
const t$1$1=globalThis,e$2$1=t$1$1.ShadowRoot&&(undefined===t$1$1.ShadyCSS||t$1$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1$1=Symbol(),o$2$1=new WeakMap;let n$2$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2$1&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2$1.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$1.set(s,t));}return t}toString(){return this.cssText}};const r$3$1=t=>new n$2$1("string"==typeof t?t:t+"",undefined,s$1$1),i$3$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2$1(o,t,s$1$1)},S$1$1=(s,o)=>{if(e$2$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$1=e$2$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$1(e)})(t):t;
|
|
7633
|
+
|
|
7634
|
+
/**
|
|
7635
|
+
* @license
|
|
7636
|
+
* Copyright 2017 Google LLC
|
|
7637
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
7638
|
+
*/const{is:i$2$1,defineProperty:e$1$1,getOwnPropertyDescriptor:r$2$1,getOwnPropertyNames:h$1$1,getOwnPropertySymbols:o$1$1,getPrototypeOf:n$1$1}=Object,a$1$1=globalThis,c$1$1=a$1$1.trustedTypes,l$1$1=c$1$1?c$1$1.emptyScript:"",p$1$1=a$1$1.reactiveElementPolyfillSupport,d$1$1=(t,s)=>t,u$1$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1$1=(t,s)=>!i$2$1(t,s),y$1$1={attribute:true,type:String,converter:u$1$1,reflect:false,hasChanged:f$1$1};Symbol.metadata??=Symbol("metadata"),a$1$1.litPropertyMetadata??=new WeakMap;let b$2 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$1$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1$1}static _$Ei(){if(this.hasOwnProperty(d$1$1("elementProperties")))return;const t=n$1$1(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$1("properties"))){const t=this.properties,s=[...h$1$1(t),...o$1$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2$1(s));}else undefined!==s&&i.push(c$2$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$1$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$1$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$2.elementStyles=[],b$2.shadowRootOptions={mode:"open"},b$2[d$1$1("elementProperties")]=new Map,b$2[d$1$1("finalized")]=new Map,p$1$1?.({ReactiveElement:b$2}),(a$1$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
7639
|
+
|
|
7640
|
+
/**
|
|
7641
|
+
* @license
|
|
7642
|
+
* Copyright 2017 Google LLC
|
|
7643
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
7644
|
+
*/
|
|
7645
|
+
const t$6=globalThis,i$1$1=t$6.trustedTypes,s$6=i$1$1?i$1$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$8="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$4,n$7=`<${o$8}>`,r$1$1=document,l$5=()=>r$1$1.createComment(""),c$7=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$7=t=>a$5(t)||"function"==typeof t?.[Symbol.iterator],d$4="[ \t\n\f\r]",f$4=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$2=/>/g,m$3=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$5=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,y$4=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$4(1),T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$1$1.createTreeWalker(r$1$1,129);function P$2(t,i){if(!a$5(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$6?s$6.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$4;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$4?"!--"===u[1]?c=v$3:undefined!==u[1]?c=_$2:undefined!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$3):undefined!==u[3]&&(c=m$3):c===m$3?">"===u[0]?(c=r??f$4,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$3:'"'===u[3]?g$2:p$5):c===g$2||c===p$5?c=m$3:c===v$3||c===_$2?c=f$4:(c=m$3,r=undefined);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$4?s+n$7:d>=0?(o.push(a),s.slice(0,d)+e$8+s.slice(d)+h$4+x):s+h$4+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$2 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$2(t,s);if(this.el=N.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$8)){const i=v[a++],s=r.getAttribute(t).split(h$4),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$4)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$4),s=t.length-1;if(s>0){r.textContent=i$1$1?i$1$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$5()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$5());}}}else if(8===r.nodeType)if(r.data===o$8)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$4,t+1));)d.push({type:7,index:c}),t+=h$4.length-1;}c++;}}static createElement(t,i){const s=r$1$1.createElement("template");return s.innerHTML=t,s}};function S$4(t,i,s=t,e){if(i===T$2)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$7(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$4(t,h._$AS(t,i.values),h,e)),i}let M$3 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1$1).importNode(i,true);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$2(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$2.nextNode(),o++);}return C$2.currentNode=r$1$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$2 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$2,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$4(this,t,i),c$7(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$7(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$2&&c$7(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$2.createElement(P$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$3(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return undefined===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a$5(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$5()),this.O(l$5()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$2 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$2,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$4(this,t,i,0),o=!c$7(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$4(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$7(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$2 = class H extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?undefined:t;}};let I$2 = class I extends k$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$2);}};let L$2 = class L extends k$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$4(this,t,i,0)??E$2)===T$2)return;const s=this._$AH,e=t===E$2&&s!==E$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$2&&(s===E$2||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$2 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$4(this,t);}};const j$2=t$6.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l$5(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
7646
|
+
|
|
7647
|
+
/**
|
|
7648
|
+
* @license
|
|
7649
|
+
* Copyright 2017 Google LLC
|
|
7650
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
7651
|
+
*/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");
|
|
7652
|
+
|
|
7653
|
+
var colorCss$5 = i$3$1`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
7654
|
+
|
|
7655
|
+
var styleCss$5 = i$3$1`.helptext-wrapper{display:none;margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0;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(p){margin-block:0}`;
|
|
7656
|
+
|
|
7657
|
+
var tokensCss$5 = i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
7658
|
+
|
|
7659
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
7660
|
+
// See LICENSE in the project root for license information.
|
|
7661
|
+
|
|
7662
|
+
// ---------------------------------------------------------------------
|
|
7663
|
+
|
|
7664
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
7665
|
+
|
|
7666
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
7667
|
+
|
|
7668
|
+
/* eslint-disable jsdoc/require-param */
|
|
7669
|
+
|
|
7670
|
+
/**
|
|
7671
|
+
* This will register a new custom element with the browser.
|
|
7672
|
+
* @param {String} name - The name of the custom element.
|
|
7673
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
7674
|
+
* @returns {void}
|
|
7675
|
+
*/
|
|
7676
|
+
registerComponent(name, componentClass) {
|
|
7677
|
+
if (!customElements.get(name)) {
|
|
7678
|
+
customElements.define(name, class extends componentClass {});
|
|
7679
|
+
}
|
|
7680
|
+
}
|
|
7681
|
+
|
|
7682
|
+
/**
|
|
7683
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
7684
|
+
* @returns {void}
|
|
7685
|
+
*/
|
|
7686
|
+
closestElement(
|
|
7687
|
+
selector, // selector like in .closest()
|
|
7688
|
+
base = this, // extra functionality to skip a parent
|
|
7689
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
7690
|
+
!el || el === document || el === window
|
|
7691
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
7692
|
+
: found
|
|
7693
|
+
? found // found a selector INside this element
|
|
7694
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
7695
|
+
) {
|
|
7696
|
+
return __Closest(base);
|
|
7697
|
+
}
|
|
7698
|
+
/* eslint-enable jsdoc/require-param */
|
|
7699
|
+
|
|
7700
|
+
/**
|
|
7701
|
+
* 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.
|
|
7702
|
+
* @param {Object} elem - The element to check.
|
|
7703
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
7704
|
+
* @returns {void}
|
|
7705
|
+
*/
|
|
7706
|
+
handleComponentTagRename(elem, tagName) {
|
|
7707
|
+
const tag = tagName.toLowerCase();
|
|
7708
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
7709
|
+
|
|
7710
|
+
if (elemTag !== tag) {
|
|
7711
|
+
elem.setAttribute(tag, true);
|
|
7712
|
+
}
|
|
7713
|
+
}
|
|
7714
|
+
|
|
7715
|
+
/**
|
|
7716
|
+
* Validates if an element is a specific Auro component.
|
|
7717
|
+
* @param {Object} elem - The element to validate.
|
|
7718
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
7719
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
7720
|
+
*/
|
|
7721
|
+
elementMatch(elem, tagName) {
|
|
7722
|
+
const tag = tagName.toLowerCase();
|
|
7723
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
7724
|
+
|
|
7725
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
7726
|
+
}
|
|
7727
|
+
};
|
|
7728
|
+
|
|
7729
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7730
|
+
// See LICENSE in the project root for license information.
|
|
7731
|
+
|
|
7732
|
+
|
|
7733
|
+
/**
|
|
7734
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
7735
|
+
*
|
|
7736
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
7737
|
+
*/
|
|
7738
|
+
class AuroHelpText extends r$9 {
|
|
7739
|
+
|
|
7740
|
+
constructor() {
|
|
7741
|
+
super();
|
|
7742
|
+
|
|
7743
|
+
this.error = false;
|
|
7744
|
+
this.hasTextContent = false;
|
|
7745
|
+
}
|
|
7746
|
+
|
|
7747
|
+
static get styles() {
|
|
7748
|
+
return [
|
|
7749
|
+
colorCss$5,
|
|
7750
|
+
styleCss$5,
|
|
7751
|
+
tokensCss$5
|
|
7752
|
+
];
|
|
7753
|
+
}
|
|
7754
|
+
|
|
7755
|
+
// function to define props used within the scope of this component
|
|
7756
|
+
static get properties() {
|
|
7757
|
+
return {
|
|
7758
|
+
|
|
7759
|
+
/**
|
|
7760
|
+
* @private
|
|
7761
|
+
*/
|
|
7762
|
+
slotNodes: {
|
|
7763
|
+
type: Boolean,
|
|
7764
|
+
},
|
|
7765
|
+
|
|
7766
|
+
/**
|
|
7767
|
+
* @private
|
|
7768
|
+
*/
|
|
7769
|
+
hasTextContent: {
|
|
7770
|
+
type: Boolean,
|
|
7771
|
+
},
|
|
7772
|
+
|
|
7773
|
+
/**
|
|
7774
|
+
* If declared, make font color red.
|
|
7775
|
+
*/
|
|
7776
|
+
error: {
|
|
7777
|
+
type: Boolean,
|
|
7778
|
+
reflect: true,
|
|
7779
|
+
},
|
|
7780
|
+
};
|
|
7781
|
+
}
|
|
7782
|
+
|
|
7783
|
+
/**
|
|
7784
|
+
* This will register this element with the browser.
|
|
7785
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
7786
|
+
*
|
|
7787
|
+
* @example
|
|
7788
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
7789
|
+
*
|
|
7790
|
+
*/
|
|
7791
|
+
static register(name = "auro-helptext") {
|
|
7792
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
7793
|
+
}
|
|
7794
|
+
|
|
7795
|
+
updated() {
|
|
7796
|
+
this.handleSlotChange();
|
|
7797
|
+
}
|
|
7798
|
+
|
|
7799
|
+
handleSlotChange(event) {
|
|
7800
|
+
if (event) {
|
|
7801
|
+
this.slotNodes = event.target.assignedNodes();
|
|
7802
|
+
}
|
|
7803
|
+
|
|
7804
|
+
if (this.slotNodes) {
|
|
7805
|
+
this.hasTextContent = this.slotNodes.some((slot) => {
|
|
7806
|
+
if (slot.textContent.trim()) {
|
|
7807
|
+
return true;
|
|
7808
|
+
}
|
|
7809
|
+
|
|
7810
|
+
if (!slot.querySelector) {
|
|
7811
|
+
return false;
|
|
7812
|
+
}
|
|
7813
|
+
|
|
7814
|
+
const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
|
|
7815
|
+
if (!nestedSlot) {
|
|
7816
|
+
return false;
|
|
7817
|
+
}
|
|
7818
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
7819
|
+
return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
|
|
7820
|
+
});
|
|
7821
|
+
} else {
|
|
7822
|
+
this.hasTextContent = false;
|
|
7823
|
+
}
|
|
7824
|
+
}
|
|
7825
|
+
|
|
7826
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
7827
|
+
render() {
|
|
7828
|
+
return x$2`
|
|
7829
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
7830
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
7831
|
+
</div>
|
|
7832
|
+
`;
|
|
7833
|
+
}
|
|
7834
|
+
}
|
|
7835
|
+
|
|
7836
|
+
AuroHelpText.register();
|
|
7837
|
+
|
|
7418
7838
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7419
7839
|
// See LICENSE in the project root for license information.
|
|
7420
7840
|
|
|
@@ -7502,7 +7922,7 @@ class AuroInput extends BaseInput {
|
|
|
7502
7922
|
'withValue': this.value && this.value.length > 0
|
|
7503
7923
|
};
|
|
7504
7924
|
|
|
7505
|
-
return u$
|
|
7925
|
+
return u$5`
|
|
7506
7926
|
<div class="wrapper" part="wrapper">
|
|
7507
7927
|
<div class="main">
|
|
7508
7928
|
<div class="typeIcon">
|
|
@@ -7511,7 +7931,7 @@ class AuroInput extends BaseInput {
|
|
|
7511
7931
|
<!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
|
|
7512
7932
|
This should be cleaned up when auro-icon issue #31 is resolved. -->
|
|
7513
7933
|
${this.inputIconName
|
|
7514
|
-
? c$
|
|
7934
|
+
? c$5([this.inputIconName], (val) => val, (name) => u$5`
|
|
7515
7935
|
<${this.iconTag}
|
|
7516
7936
|
class="accentIcon"
|
|
7517
7937
|
category="payment"
|
|
@@ -7523,7 +7943,7 @@ class AuroInput extends BaseInput {
|
|
|
7523
7943
|
}
|
|
7524
7944
|
|
|
7525
7945
|
${this.isDateType()
|
|
7526
|
-
? u$
|
|
7946
|
+
? u$5`
|
|
7527
7947
|
<${this.iconTag}
|
|
7528
7948
|
class="accentIcon"
|
|
7529
7949
|
category="interface"
|
|
@@ -7534,7 +7954,7 @@ class AuroInput extends BaseInput {
|
|
|
7534
7954
|
: undefined
|
|
7535
7955
|
}
|
|
7536
7956
|
</div>
|
|
7537
|
-
<label for=${this.id} class="${e$
|
|
7957
|
+
<label for=${this.id} class="${e$5(labelClasses)}" part="label">
|
|
7538
7958
|
<slot name="label">
|
|
7539
7959
|
${this.label}
|
|
7540
7960
|
</slot>
|
|
@@ -7545,23 +7965,23 @@ class AuroInput extends BaseInput {
|
|
|
7545
7965
|
@focusin="${this.handleFocusin}"
|
|
7546
7966
|
@blur="${this.handleBlur}"
|
|
7547
7967
|
id="${this.id}"
|
|
7548
|
-
name="${o$
|
|
7968
|
+
name="${o$5(this.name)}"
|
|
7549
7969
|
type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}"
|
|
7550
|
-
pattern="${o$
|
|
7551
|
-
maxlength="${o$
|
|
7552
|
-
minlength="${o$
|
|
7553
|
-
inputMode="${o$
|
|
7970
|
+
pattern="${o$5(this.definePattern())}"
|
|
7971
|
+
maxlength="${o$5(this.maxLength ? this.maxLength : undefined)}"
|
|
7972
|
+
minlength="${o$5(this.minLength ? this.minLength : undefined)}"
|
|
7973
|
+
inputMode="${o$5(this.inputMode ? this.inputMode : undefined)}"
|
|
7554
7974
|
?required="${this.required}"
|
|
7555
7975
|
?disabled="${this.disabled}"
|
|
7556
7976
|
aria-describedby="${this.uniqueId}"
|
|
7557
7977
|
aria-invalid="${this.validity !== 'valid'}"
|
|
7558
7978
|
placeholder=${this.getPlaceholder()}
|
|
7559
|
-
lang="${o$
|
|
7979
|
+
lang="${o$5(this.lang)}"
|
|
7560
7980
|
?activeLabel="${this.activeLabel}"
|
|
7561
|
-
spellcheck="${o$
|
|
7562
|
-
autocorrect="${o$
|
|
7563
|
-
autocapitalize="${o$
|
|
7564
|
-
autocomplete="${o$
|
|
7981
|
+
spellcheck="${o$5(this.spellcheck ? this.spellcheck : undefined)}"
|
|
7982
|
+
autocorrect="${o$5(this.autocorrect ? this.autocorrect : undefined)}"
|
|
7983
|
+
autocapitalize="${o$5(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
7984
|
+
autocomplete="${o$5(this.autocomplete ? this.autocomplete : undefined)}"
|
|
7565
7985
|
part="input"
|
|
7566
7986
|
/>
|
|
7567
7987
|
</div>
|
|
@@ -7569,7 +7989,7 @@ class AuroInput extends BaseInput {
|
|
|
7569
7989
|
class="notificationIcons"
|
|
7570
7990
|
part="notificationIcons"
|
|
7571
7991
|
?hasValue="${this.hasValue}">
|
|
7572
|
-
${this.validity && this.validity !== 'valid' ? u$
|
|
7992
|
+
${this.validity && this.validity !== 'valid' ? u$5`
|
|
7573
7993
|
<div class="notification alertNotification">
|
|
7574
7994
|
<${this.iconTag}
|
|
7575
7995
|
category="alert"
|
|
@@ -7578,8 +7998,8 @@ class AuroInput extends BaseInput {
|
|
|
7578
7998
|
</${this.iconTag}>
|
|
7579
7999
|
</div>
|
|
7580
8000
|
` : undefined}
|
|
7581
|
-
${this.hasValue ? u$
|
|
7582
|
-
${this.type === 'password' ? u$
|
|
8001
|
+
${this.hasValue ? u$5`
|
|
8002
|
+
${this.type === 'password' ? u$5`
|
|
7583
8003
|
<div class="notification">
|
|
7584
8004
|
<${this.buttonTag}
|
|
7585
8005
|
variant="flat"
|
|
@@ -7602,7 +8022,7 @@ class AuroInput extends BaseInput {
|
|
|
7602
8022
|
</${this.buttonTag}>
|
|
7603
8023
|
</div>
|
|
7604
8024
|
` : undefined}
|
|
7605
|
-
${!this.disabled && !this.readonly ? u$
|
|
8025
|
+
${!this.disabled && !this.readonly ? u$5`
|
|
7606
8026
|
<div class="notification">
|
|
7607
8027
|
<${this.buttonTag}
|
|
7608
8028
|
variant="flat"
|
|
@@ -7623,16 +8043,22 @@ class AuroInput extends BaseInput {
|
|
|
7623
8043
|
</div>
|
|
7624
8044
|
</div>
|
|
7625
8045
|
<!-- Help text and error message template -->
|
|
7626
|
-
|
|
7627
|
-
|
|
7628
|
-
<
|
|
7629
|
-
<
|
|
7630
|
-
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
8046
|
+
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
8047
|
+
? u$5`
|
|
8048
|
+
<auro-helptext>
|
|
8049
|
+
<p id="${this.uniqueId}" part="helpText">
|
|
8050
|
+
<slot name="helptext">${this.getHelpText(this.type)}</slot>
|
|
8051
|
+
</p>
|
|
8052
|
+
</auro-helptext>
|
|
8053
|
+
`
|
|
8054
|
+
: u$5`
|
|
8055
|
+
<auro-helptext error>
|
|
8056
|
+
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
8057
|
+
${this.errorMessage}
|
|
8058
|
+
</p>
|
|
8059
|
+
</auro-helptext>
|
|
8060
|
+
`
|
|
8061
|
+
}
|
|
7636
8062
|
`;
|
|
7637
8063
|
}
|
|
7638
8064
|
}
|
|
@@ -9152,7 +9578,7 @@ class AuroMenuOption extends r {
|
|
|
9152
9578
|
AuroMenu.register();
|
|
9153
9579
|
AuroMenuOption.register();
|
|
9154
9580
|
|
|
9155
|
-
var styleCss = i$
|
|
9581
|
+
var styleCss = 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}:host combobox-dropdown::part(trigger){padding-right:var(--ds-size-150, 0.75rem)}`;
|
|
9156
9582
|
|
|
9157
9583
|
// Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9158
9584
|
// See LICENSE in the project root for license information.
|
|
@@ -9168,7 +9594,7 @@ var styleCss = i$c`.util_displayInline{display:inline}.util_displayInlineBlock{d
|
|
|
9168
9594
|
*/
|
|
9169
9595
|
|
|
9170
9596
|
// build the component class
|
|
9171
|
-
class AuroCombobox extends r$
|
|
9597
|
+
class AuroCombobox extends r$b {
|
|
9172
9598
|
constructor() {
|
|
9173
9599
|
super();
|
|
9174
9600
|
|
|
@@ -9191,7 +9617,7 @@ class AuroCombobox extends r$7 {
|
|
|
9191
9617
|
|
|
9192
9618
|
this.validation = new AuroFormValidation$1();
|
|
9193
9619
|
|
|
9194
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9620
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
9195
9621
|
|
|
9196
9622
|
this.isHiddenWhileLoading = false;
|
|
9197
9623
|
|
|
@@ -9340,7 +9766,7 @@ class AuroCombobox extends r$7 {
|
|
|
9340
9766
|
*
|
|
9341
9767
|
*/
|
|
9342
9768
|
static register(name = "auro-combobox") {
|
|
9343
|
-
AuroLibraryRuntimeUtils$
|
|
9769
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroCombobox);
|
|
9344
9770
|
}
|
|
9345
9771
|
|
|
9346
9772
|
/**
|
|
@@ -9856,11 +10282,11 @@ class AuroCombobox extends r$7 {
|
|
|
9856
10282
|
|
|
9857
10283
|
// function that renders the HTML and CSS into the scope of the component
|
|
9858
10284
|
render() {
|
|
9859
|
-
return u$
|
|
10285
|
+
return u$9`
|
|
9860
10286
|
<div>
|
|
9861
10287
|
<div aria-live="polite" class="util_displayHiddenVisually">
|
|
9862
10288
|
${this.optionActive && this.availableOptions.length > 0
|
|
9863
|
-
? u$
|
|
10289
|
+
? u$9`
|
|
9864
10290
|
${`${this.optionActive.textContent}, selected, ${this.availableOptions.indexOf(this.optionActive) + 1} of ${this.availableOptions.length}`}
|
|
9865
10291
|
`
|
|
9866
10292
|
: undefined
|
|
@@ -9893,17 +10319,17 @@ class AuroCombobox extends r$7 {
|
|
|
9893
10319
|
</${this.inputTag}>
|
|
9894
10320
|
<div class="menuWrapper">
|
|
9895
10321
|
</div>
|
|
9896
|
-
<
|
|
10322
|
+
<p slot="helpText">
|
|
9897
10323
|
<!-- Help text and error message template -->
|
|
9898
10324
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
9899
|
-
? u$
|
|
10325
|
+
? u$9`
|
|
9900
10326
|
<slot name="helpText"></slot>
|
|
9901
|
-
` : u$
|
|
9902
|
-
<
|
|
10327
|
+
` : u$9`
|
|
10328
|
+
<span role="alert" aria-live="assertive" part="helpText">
|
|
9903
10329
|
${this.errorMessage}
|
|
9904
|
-
</
|
|
10330
|
+
</span>`
|
|
9905
10331
|
}
|
|
9906
|
-
</
|
|
10332
|
+
</p>
|
|
9907
10333
|
</${this.dropdownTag}>
|
|
9908
10334
|
</div>
|
|
9909
10335
|
`;
|