@trintel/zooy 1.0.1-beta.0 → 1.0.1
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/README.md +284 -339
- package/dist/chunks/{16-ChlL35BX.js → 16-BXti8Tu-.js} +6 -6
- package/dist/chunks/16-CMCRqVYz.js +1 -0
- package/dist/chunks/{20-CZPIOG-A.js → 20-CQLnFcRb.js} +9 -9
- package/dist/chunks/20-Df0dXwyx.js +1 -0
- package/dist/chunks/button-B1jzfT-Z.js +272 -0
- package/dist/chunks/button-C-oX8EmF.js +66 -0
- package/dist/chunks/button-skeleton-CK3BHdja.js +21 -0
- package/dist/chunks/{button-skeleton-COf2kCDL.js → button-skeleton-DoCp6sBb.js} +10 -9
- package/dist/chunks/checkbox-CgFjYxQ_.js +201 -0
- package/dist/chunks/checkbox-t3G-H1NN.js +40 -0
- package/dist/chunks/{class-map-BfNAkUL_.js → class-map-D6tjF27Y.js} +2 -2
- package/dist/chunks/{class-map-DEHG4tmw.js → class-map-FWQBIzSx.js} +1 -1
- package/dist/chunks/collection-helpers-Bk68Vaau.js +7 -0
- package/dist/chunks/collection-helpers-afBvMQaC.js +1 -0
- package/dist/chunks/content-switcher-item-CedjjtvP.js +351 -0
- package/dist/chunks/content-switcher-item-c4WBWz31.js +27 -0
- package/dist/chunks/defs-C88lSWuJ.js +1 -0
- package/dist/chunks/defs-Do0OvCKd.js +1165 -0
- package/dist/chunks/dropdown-item-C0SHr4st.js +69 -0
- package/dist/chunks/dropdown-item-Dh5IEXDr.js +621 -0
- package/dist/chunks/{focus-rQSNiwy7.js → focus-B3iymVyL.js} +1 -1
- package/dist/chunks/{focus-B9JYe97T.js → focus-WnKGH_xB.js} +1 -1
- package/dist/chunks/{icon-loader-Dk_AU26w.js → icon-loader-CJxyg-lp.js} +1 -1
- package/dist/chunks/{icon-loader-o_JYDmJX.js → icon-loader-ChKeNR4s.js} +1 -1
- package/dist/chunks/{icon-loader-utils-BEOGXn0q.js → icon-loader-utils-BwViqIXz.js} +23 -23
- package/dist/chunks/icon-loader-utils-DK8DViXt.js +5 -0
- package/dist/chunks/if-defined-DYWhlnlE.js +5 -0
- package/dist/chunks/{if-defined-C0yJsxi2.js → if-defined-eJcDYClo.js} +1 -1
- package/dist/chunks/{if-non-empty-DTGflHtA.js → if-non-empty-COTeEFkK.js} +1 -1
- package/dist/chunks/if-non-empty-CxMysAQW.js +1 -0
- package/dist/chunks/index-0AElqkkj.js +12 -0
- package/dist/chunks/{index-B3mXrMt1.js → index-4WNeLsiw.js} +4 -3
- package/dist/chunks/{index-BXczHDk-.js → index-4XJJobHw.js} +12 -11
- package/dist/chunks/index-7cXLLw89.js +881 -0
- package/dist/chunks/index-9fmHblh5.js +121 -0
- package/dist/chunks/{index-BwIoRMDI.js → index-B0nToMRj.js} +7 -6
- package/dist/chunks/index-B4SxU_Hu.js +87 -0
- package/dist/chunks/index-B5DpS-cb.js +2 -0
- package/dist/chunks/{index-CzTjJ8lP.js → index-B5GB0rQW.js} +47 -37
- package/dist/chunks/index-B8Ze9ISK.js +17 -0
- package/dist/chunks/index-BAAA4wkE.js +45 -0
- package/dist/chunks/index-BBWp83R-.js +160 -0
- package/dist/chunks/index-BBap1uCI.js +1 -0
- package/dist/chunks/index-BGGDxbLL.js +368 -0
- package/dist/chunks/index-BMquNDkd.js +381 -0
- package/dist/chunks/index-BQnyeVHX.js +1 -0
- package/dist/chunks/index-BRnzFxjk.js +25 -0
- package/dist/chunks/index-BbJQIwkY.js +452 -0
- package/dist/chunks/{index-hLI0Bnyb.js → index-Bb_1S0pr.js} +7 -6
- package/dist/chunks/index-BeMnerDj.js +111 -0
- package/dist/chunks/index-Bff6B9vY.js +254 -0
- package/dist/chunks/index-Bi9WliCA.js +683 -0
- package/dist/chunks/{index-D0xRAPD5.js → index-Bls8zdHV.js} +6 -5
- package/dist/chunks/index-Bo2QmpPO.js +1 -0
- package/dist/chunks/index-BseD7Jzt.js +75 -0
- package/dist/chunks/index-Bt7v-zqV.js +77 -0
- package/dist/chunks/index-Bunat0DP.js +337 -0
- package/dist/chunks/index-BvdNKhJw.js +19 -0
- package/dist/chunks/index-BwFE4R87.js +30 -0
- package/dist/chunks/index-BwRxBdeg.js +158 -0
- package/dist/chunks/index-Bymsj9gH.js +1 -0
- package/dist/chunks/index-C-pfDP7B.js +1 -0
- package/dist/chunks/index-C2oV5vU3.js +4 -0
- package/dist/chunks/index-C3n83pM3.js +103 -0
- package/dist/chunks/index-C572_UKV.js +22 -0
- package/dist/chunks/index-C6bOvXSf.js +129 -0
- package/dist/chunks/{index-CByffhPq.js → index-CBICHiFD.js} +147 -134
- package/dist/chunks/index-CEy6bu7P.js +79 -0
- package/dist/chunks/index-CFqKkC5Z.js +36 -0
- package/dist/chunks/index-CIZ3Gnmm.js +8 -0
- package/dist/chunks/index-CIiIAqrQ.js +414 -0
- package/dist/chunks/index-CJdEJ8pY.js +15 -0
- package/dist/chunks/index-CKYRBtLC.js +79 -0
- package/dist/chunks/index-CQl4NaPS.js +65 -0
- package/dist/chunks/index-CR3DrmQi.js +235 -0
- package/dist/chunks/index-CTsGb3mD.js +364 -0
- package/dist/chunks/{index-rwBsdvh6.js → index-CV7TVQ4T.js} +9 -8
- package/dist/chunks/index-CWlg_Hu2.js +150 -0
- package/dist/chunks/{index-Bwix1iwB.js → index-CYIcfuAW.js} +6 -5
- package/dist/chunks/{index-WNXgzThF.js → index-CkxGsCJy.js} +181 -181
- package/dist/chunks/index-ClE0uX_c.js +27 -0
- package/dist/chunks/index-Cnsy7Qk3.js +511 -0
- package/dist/chunks/index-CoAT1iC6.js +12 -0
- package/dist/chunks/index-Cp3P3KaW.js +45 -0
- package/dist/chunks/index-CqQZpHti.js +3 -0
- package/dist/chunks/index-CsjJntyD.js +23 -0
- package/dist/chunks/{index-BIaF1Dfx.js → index-Ctna95NT.js} +5 -4
- package/dist/chunks/index-Cu1u3Mjn.js +150 -0
- package/dist/chunks/index-Cv6qE9qP.js +22 -0
- package/dist/chunks/index-Cwb1pbm9.js +252 -0
- package/dist/chunks/{index-BSgHSOVT.js → index-CzAwJhyQ.js} +4 -3
- package/dist/chunks/index-D8LE8G2j.js +81 -0
- package/dist/chunks/{index-C_K070Kn.js → index-D9sRIKMQ.js} +9 -8
- package/dist/chunks/index-DBsASlZI.js +15 -0
- package/dist/chunks/{index-DurPWBYc.js → index-DGw1TVFB.js} +3 -2
- package/dist/chunks/index-DIsXKJDH.js +4 -0
- package/dist/chunks/{index-CT43RMOu.js → index-DNWjc2SJ.js} +3 -2
- package/dist/chunks/index-DSOPjl5x.js +563 -0
- package/dist/chunks/index-DUtoSCTU.js +455 -0
- package/dist/chunks/index-DWjrCygZ.js +49 -0
- package/dist/chunks/index-DYvD9xjl.js +4 -0
- package/dist/chunks/index-DZabSr3s.js +36 -0
- package/dist/chunks/index-DbAeG1nY.js +1 -0
- package/dist/chunks/index-Dc51G1mo.js +26 -0
- package/dist/chunks/index-Dd9iSSXa.js +260 -0
- package/dist/chunks/{index-C8LyfVmf.js → index-DfFx1Jz3.js} +6 -5
- package/dist/chunks/index-Dh4LYLg5.js +1604 -0
- package/dist/chunks/index-Dk3tlz8Q.js +15 -0
- package/dist/chunks/index-Do1DszoZ.js +1 -0
- package/dist/chunks/index-DrDKdYFJ.js +58 -0
- package/dist/chunks/index-DyO3Wdy_.js +37 -0
- package/dist/chunks/index-DyyLrVDY.js +188 -0
- package/dist/chunks/{index-45EApaFs.js → index-GDVDUQtg.js} +14 -13
- package/dist/chunks/index-GbWz6fuF.js +243 -0
- package/dist/chunks/index-JWULDURW.js +89 -0
- package/dist/chunks/index-MgWriQfr.js +35 -0
- package/dist/chunks/index-OgL1A9Rm.js +42 -0
- package/dist/chunks/{index-DdNZTQw1.js → index-QzojJs5M.js} +3 -2
- package/dist/chunks/index-TJL02uup.js +291 -0
- package/dist/chunks/index-Z4ar01y-.js +259 -0
- package/dist/chunks/{index-BSh7UYcP.js → index-_xRytR0j.js} +3 -3
- package/dist/chunks/index-cuMoh7qn.js +1 -0
- package/dist/chunks/index-du3RQU31.js +62 -0
- package/dist/chunks/{index-DFA4_spk.js → index-hH_m653R.js} +9 -8
- package/dist/chunks/index-hn76Yo-L.js +1 -0
- package/dist/chunks/index-i4heE-wx.js +71 -0
- package/dist/chunks/index-i9jyrFc9.js +19 -0
- package/dist/chunks/index-lFqOe0IJ.js +46 -0
- package/dist/chunks/index-pS6-humH.js +74 -0
- package/dist/chunks/index-pc36PiDY.js +57 -0
- package/dist/chunks/index-qgl9W8eF.js +52 -0
- package/dist/chunks/{index-BUxB7aWd.js → index-uwN33H1P.js} +9 -8
- package/dist/chunks/index-uxZPrL2m.js +406 -0
- package/dist/chunks/index-yzFU-E6F.js +22 -0
- package/dist/chunks/{loading-icon-DhJR6LyV.js → loading-icon-CPvmJvpZ.js} +2 -2
- package/dist/chunks/loading-icon-DdwpAk8-.js +24 -0
- package/dist/chunks/main-BGOPab-5.js +4041 -0
- package/dist/chunks/main-Bx21zlkN.js +65 -0
- package/dist/chunks/{property-pT1z5CCa.js → property-BkjBVRuu.js} +1 -1
- package/dist/chunks/property-DAFv3PCb.js +5 -0
- package/dist/chunks/register-BCEOkbXG.js +1583 -0
- package/dist/chunks/{register-BK21_Wkj.js → register-Bkr1UKav.js} +1 -1
- package/dist/chunks/{register-BMNs2hNG.js → register-DTXmg-gw.js} +1 -1
- package/dist/chunks/register-D_CXtGy1.js +1 -0
- package/dist/chunks/search-DDFN8-Mz.js +30 -0
- package/dist/chunks/search-npG8ywjx.js +240 -0
- package/dist/chunks/select-CFy3MvH6.js +76 -0
- package/dist/chunks/select-DkCpQORs.js +357 -0
- package/dist/chunks/settings-Bgpv8zuU.js +62 -0
- package/dist/chunks/settings-jvP7vP60.js +66 -0
- package/dist/chunks/{state-FnSmMH94.js → state-BdgD82MZ.js} +1 -1
- package/dist/chunks/{state-Bpmgn27B.js → state-uF7CZaP5.js} +1 -1
- package/dist/chunks/text-input-BUdM-ojg.js +68 -0
- package/dist/chunks/text-input-DVdkm07X.js +372 -0
- package/dist/chunks/tooltip-content-BXcBmMsV.js +3 -0
- package/dist/chunks/tooltip-content-CWRE_NqH.js +135 -0
- package/dist/chunks/{unsafe-html-D49sIpJ5.js → unsafe-html-Bg0eM3hS.js} +5 -5
- package/dist/chunks/{unsafe-html-C_MKAcuC.js → unsafe-html-CpAqmPyx.js} +1 -1
- package/dist/zooy.cjs.js +1 -1
- package/dist/zooy.es.js +20 -2
- package/package.json +3 -4
- package/src/sass/carbon.scss +117 -0
- package/src/sass/main.scss +1 -1
- package/src/sass/panels.scss +268 -359
- package/src/sass/split.scss +1 -0
- package/dist/chunks/16-41wFkj7S.js +0 -1
- package/dist/chunks/20-gmyNFvDv.js +0 -1
- package/dist/chunks/button-DdJepOoE.js +0 -271
- package/dist/chunks/button-skeleton-rf3WDPTZ.js +0 -21
- package/dist/chunks/button-zHEPxpXa.js +0 -66
- package/dist/chunks/checkbox-B5mHvx0J.js +0 -200
- package/dist/chunks/checkbox-BRPCg-DN.js +0 -40
- package/dist/chunks/collection-helpers-BwUB2CEz.js +0 -8
- package/dist/chunks/collection-helpers-CYLIiyii.js +0 -1
- package/dist/chunks/content-switcher-item-DeGjVRQY.js +0 -350
- package/dist/chunks/content-switcher-item-DucclV1b.js +0 -27
- package/dist/chunks/defs-DMmigODC.js +0 -1077
- package/dist/chunks/defs-DPD20sPK.js +0 -1
- package/dist/chunks/dropdown-item-BgLQ1VLo.js +0 -69
- package/dist/chunks/dropdown-item-DPdwOION.js +0 -620
- package/dist/chunks/icon-loader-utils-BBjK16O-.js +0 -5
- package/dist/chunks/if-defined-BdZRLDJ6.js +0 -5
- package/dist/chunks/if-non-empty-CEHK-hqx.js +0 -1
- package/dist/chunks/index-16wphaSo.js +0 -4
- package/dist/chunks/index-27oFQaOS.js +0 -37
- package/dist/chunks/index-5jmZyISW.js +0 -1
- package/dist/chunks/index-B1vQ44Hl.js +0 -363
- package/dist/chunks/index-B3CDjjXh.js +0 -214
- package/dist/chunks/index-B7mGUQhz.js +0 -79
- package/dist/chunks/index-BBNaYDog.js +0 -22
- package/dist/chunks/index-BBt9OmO5.js +0 -12
- package/dist/chunks/index-BJAuRs3y.js +0 -75
- package/dist/chunks/index-BJKftWYn.js +0 -89
- package/dist/chunks/index-BLjNrhkN.js +0 -4
- package/dist/chunks/index-BOTu9u-3.js +0 -86
- package/dist/chunks/index-BPVpH8ll.js +0 -160
- package/dist/chunks/index-BRuvyoCz.js +0 -15
- package/dist/chunks/index-BXIxcS00.js +0 -22
- package/dist/chunks/index-BaVyBv2V.js +0 -25
- package/dist/chunks/index-BgbqX0uv.js +0 -234
- package/dist/chunks/index-BjQlt8g2.js +0 -451
- package/dist/chunks/index-BoNLj7PW.js +0 -44
- package/dist/chunks/index-BxVW3p3I.js +0 -258
- package/dist/chunks/index-ByKyGGzb.js +0 -3
- package/dist/chunks/index-ByTSSU1x.js +0 -1
- package/dist/chunks/index-CBbsFlsv.js +0 -290
- package/dist/chunks/index-CIbRjtWm.js +0 -32
- package/dist/chunks/index-CIzeMGQv.js +0 -81
- package/dist/chunks/index-CLGxSjLW.js +0 -62
- package/dist/chunks/index-CMF5Cawn.js +0 -70
- package/dist/chunks/index-CO-A2KY9.js +0 -562
- package/dist/chunks/index-CONgwvp0.js +0 -12
- package/dist/chunks/index-CUgiXqyk.js +0 -4
- package/dist/chunks/index-C_ttE2g9.js +0 -16
- package/dist/chunks/index-CcgnA1uu.js +0 -29
- package/dist/chunks/index-Cd7aoWrX.js +0 -336
- package/dist/chunks/index-Ce-pMzBC.js +0 -19
- package/dist/chunks/index-CgYZ66P_.js +0 -187
- package/dist/chunks/index-ChcHMeAS.js +0 -35
- package/dist/chunks/index-Cixdzvwd.js +0 -682
- package/dist/chunks/index-Clq0Fl19.js +0 -15
- package/dist/chunks/index-CtxTJnIm.js +0 -58
- package/dist/chunks/index-Cv1hWa_y.js +0 -242
- package/dist/chunks/index-D25buhRm.js +0 -79
- package/dist/chunks/index-D4DqJG5_.js +0 -16
- package/dist/chunks/index-D5GGFPcS.js +0 -251
- package/dist/chunks/index-D5kiHJpX.js +0 -413
- package/dist/chunks/index-DEjRiv5B.js +0 -1
- package/dist/chunks/index-DFZsXFsx.js +0 -19
- package/dist/chunks/index-DGauWNwV.js +0 -156
- package/dist/chunks/index-DIR0jr3f.js +0 -127
- package/dist/chunks/index-DNeagy5a.js +0 -65
- package/dist/chunks/index-DO0fmDR9.js +0 -2
- package/dist/chunks/index-DSitHBEh.js +0 -36
- package/dist/chunks/index-DW7ST0tB.js +0 -1
- package/dist/chunks/index-DWfFgEXE.js +0 -110
- package/dist/chunks/index-DX6WAtmo.js +0 -874
- package/dist/chunks/index-DaPfSuLu.js +0 -393
- package/dist/chunks/index-DbKlVm7y.js +0 -74
- package/dist/chunks/index-Dgi-m1K-.js +0 -1
- package/dist/chunks/index-Dh4uigJs.js +0 -454
- package/dist/chunks/index-DnYNK1mz.js +0 -8
- package/dist/chunks/index-DnierBep.js +0 -510
- package/dist/chunks/index-DnpSGM23.js +0 -213
- package/dist/chunks/index-DntY4deR.js +0 -41
- package/dist/chunks/index-Dp4A8k6C.js +0 -103
- package/dist/chunks/index-Dphpk5r2.js +0 -1
- package/dist/chunks/index-DrBrgF-v.js +0 -49
- package/dist/chunks/index-Dr_cqQ-_.js +0 -77
- package/dist/chunks/index-Dt-nBtrQ.js +0 -26
- package/dist/chunks/index-DwTj7cFr.js +0 -57
- package/dist/chunks/index-DyZVAYLv.js +0 -52
- package/dist/chunks/index-Hh597Yu6.js +0 -121
- package/dist/chunks/index-LxkAuMAA.js +0 -1
- package/dist/chunks/index-OaQhvPR1.js +0 -46
- package/dist/chunks/index-UPr2EvBX.js +0 -149
- package/dist/chunks/index-WvrCPen2.js +0 -367
- package/dist/chunks/index-cTXIVcWI.js +0 -45
- package/dist/chunks/index-caLn8cu1.js +0 -1603
- package/dist/chunks/index-jBse-XgU.js +0 -35
- package/dist/chunks/index-oTjafsfN.js +0 -25
- package/dist/chunks/index-qNmuI3RB.js +0 -149
- package/dist/chunks/index-qiqzy9MI.js +0 -23
- package/dist/chunks/index-siqJUhKa.js +0 -1
- package/dist/chunks/index-w-G9CFId.js +0 -1
- package/dist/chunks/index-x6SeA7x7.js +0 -405
- package/dist/chunks/loading-icon-DJQIjg97.js +0 -23
- package/dist/chunks/main-DUusfqrI.js +0 -18
- package/dist/chunks/main-Dp7wHHgP.js +0 -2882
- package/dist/chunks/property-DCYiZTFF.js +0 -5
- package/dist/chunks/register-Cc9zkA5F.js +0 -1
- package/dist/chunks/register-JwwMwdRf.js +0 -1273
- package/dist/chunks/search-C3raqgOD.js +0 -30
- package/dist/chunks/search-CIhxkVjj.js +0 -239
- package/dist/chunks/select-item-4aISXm0r.js +0 -76
- package/dist/chunks/select-item-DjoxYopL.js +0 -356
- package/dist/chunks/settings-BPOpwVkr.js +0 -594
- package/dist/chunks/settings-CK2vhfPu.js +0 -78
- package/dist/chunks/text-input-BygzMjjc.js +0 -371
- package/dist/chunks/text-input-cjcnMXO-.js +0 -68
- package/dist/chunks/tooltip-content-BjdZJ_Ui.js +0 -134
- package/dist/chunks/tooltip-content-DHyDYyOH.js +0 -3
- package/src/sass/carbon-icons.scss +0 -46
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./tslib.es6-B07k2eac.js"),e=require("./settings-CK2vhfPu.js"),c=require("./property-DCYiZTFF.js"),z=require("./query-Dh8joWcT.js"),w=require("./class-map-BfNAkUL_.js"),A=require("./16-DylBiJnm.js"),F=require("./16-4Ffg4DOO.js"),E=require("./16-CpNRIuiB.js"),k=require("./if-defined-BdZRLDJ6.js"),O=require("./form-D6Tce4-W.js"),R=require("./collection-helpers-CYLIiyii.js"),D=require("./text-input-cjcnMXO-.js"),$=require("./icon-loader-o_JYDmJX.js"),X=require("./if-non-empty-CEHK-hqx.js"),N=require("./carbon-element-CbfPUYRT.js");/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2017 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/let P;function V(_){return(l,i)=>z.e$1(l,i,{get(){return(this.renderRoot??(P??=document.createDocumentFragment())).querySelectorAll(_)}})}var M=e.i$1(['.cds--layer-one,:root{--cds-layer:var(--cds-layer-01,#f4f4f4);--cds-layer-active:var(--cds-layer-active-01,#c6c6c6);--cds-layer-background:var(--cds-layer-background-01,#fff);--cds-layer-hover:var(--cds-layer-hover-01,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01,#a8a8a8);--cds-field:var(--cds-field-01,#f4f4f4);--cds-field-hover:var(--cds-field-hover-01,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01,#c6c6c6);--cds-border-strong:var(--cds-border-strong-01,#8d8d8d);--cds-border-tile:var(--cds-border-tile-01,#c6c6c6)}.cds--layer-two{--cds-layer:var(--cds-layer-02,#fff);--cds-layer-active:var(--cds-layer-active-02,#c6c6c6);--cds-layer-background:var(--cds-layer-background-02,#f4f4f4);--cds-layer-hover:var(--cds-layer-hover-02,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-02,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-02,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-02,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-02,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-02,#a8a8a8);--cds-field:var(--cds-field-02,#fff);--cds-field-hover:var(--cds-field-hover-02,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-01,#c6c6c6);--cds-border-subtle-selected:var(--cds-border-subtle-selected-02,#c6c6c6);--cds-border-strong:var(--cds-border-strong-02,#8d8d8d);--cds-border-tile:var(--cds-border-tile-02,#a8a8a8)}.cds--layer-three{--cds-layer:var(--cds-layer-03,#f4f4f4);--cds-layer-active:var(--cds-layer-active-03,#c6c6c6);--cds-layer-background:var(--cds-layer-background-03,#fff);--cds-layer-hover:var(--cds-layer-hover-03,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-03,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-03,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-03,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-03,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-03,#a8a8a8);--cds-field:var(--cds-field-03,#f4f4f4);--cds-field-hover:var(--cds-field-hover-03,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-02,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-03,#c6c6c6);--cds-border-strong:var(--cds-border-strong-03,#8d8d8d);--cds-border-tile:var(--cds-border-tile-03,#c6c6c6)}.cds--layer-one.cds--layer__with-background,.cds--layer-three.cds--layer__with-background,.cds--layer-two.cds--layer__with-background{background-color:var(--cds-layer-background)}@keyframes cds--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{box-shadow:0 0 0 1000px var(--cds-field) inset;-webkit-text-fill-color:var(--cds-text-primary,#161616)}.cds--fieldset{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--fieldset *,.cds--fieldset :after,.cds--fieldset :before{box-sizing:inherit}.cds--form-item{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572)}.cds--label{color:var(--cds-text-secondary,#525252);display:inline-block;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);font-weight:400;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin-block-end:.5rem;vertical-align:baseline}.cds--label html{font-size:100%}.cds--label body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--label code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--label strong{font-weight:600}.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds--label--no-margin{margin-block-end:0}.cds--label+.cds--tooltip{inset-block-start:.2rem;inset-inline-start:.5rem;position:relative}.cds--label+.cds--tooltip .cds--tooltip__trigger{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;box-sizing:border-box;cursor:pointer;display:inline-block;display:flex;font-family:inherit;font-size:100%;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);inline-size:100%;justify-content:center;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin:0;padding:0;text-align:start;vertical-align:baseline}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger :after,.cds--label+.cds--tooltip .cds--tooltip__trigger :before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{inset-block-start:.2rem;inset-inline-start:.5rem}.cds--label.cds--skeleton{background:var(--cds-skeleton-background,#e8e8e8);block-size:.875rem;border:none;box-shadow:none;inline-size:4.6875rem;padding:0;pointer-events:none;position:relative}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:none}.cds--label.cds--skeleton:before{animation:cds--skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-element,#c6c6c6);block-size:100%;content:"";inline-size:100%;inset-inline-start:0;position:absolute;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton:before{animation:none}}@media (forced-colors:active),screen and (-ms-high-contrast:active){.cds--label.cds--skeleton{background:CanvasText}.cds--label.cds--skeleton:before{background:Canvas;forced-color-adjust:none}}input[type=number],input[type=text].cds--number{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused,.cds--combo-box--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--number[data-invalid] input[type=text]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused,.cds--combo-box--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--number[data-invalid] input[type=text]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper--warn~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker--warning~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,:host(cds-select[warn]) .cds--select-input__wrapper~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;font-weight:400;max-block-size:12.5rem;overflow:visible}.cds--select--inline.cds--select--warning .cds--select-input--inline__wrapper~.cds--form-requirement,.cds--select-input--inline__wrapper[data-invalid]~.cds--form-requirement,:host(cds-select[inline]):host(cds-select[warn]) .cds--select-input--inline__wrapper~.cds--form-requirement{display:inline-flex;inline-size:100%;margin:0;margin-block-end:0;max-block-size:100%;overflow:visible;padding-inline-start:.5rem}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input--inline__wrapper[data-invalid]~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:none}.cds--form--fluid .cds--form-requirement{margin:0;padding:.5rem 2.5rem .5rem 1rem}input:not(output,[data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement{display:none;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin:.25rem 0 0;max-block-size:0;overflow:hidden}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--form-requirement strong{font-weight:600}.cds--select--inline .cds--form__helper-text,:host(cds-select[inline]) .cds--form__helper-text{margin-block-start:0}.cds--form__helper-text{color:var(--cds-text-helper,#6f6f6f);font-size:var(--cds-helper-text-01-font-size,.75rem);inline-size:100%;letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);margin-block-start:.25rem;opacity:1;z-index:0}.cds--form__helper-text--disabled,.cds--label--disabled,fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--select,:host(cds-select){align-items:flex-start;border:0;box-sizing:border-box;display:flex;flex-direction:column;font-family:inherit;font-size:100%;inline-size:100%;margin:0;padding:0;position:relative;vertical-align:baseline}.cds--select *,.cds--select :after,.cds--select :before,:host(cds-select) *,:host(cds-select) :after,:host(cds-select) :before{box-sizing:inherit}.cds--select-input__wrapper{align-items:center;display:flex;inline-size:100%;position:relative}.cds--select-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--cds-field);block-size:2.5rem;border:none;border-block-end:1px solid var(--cds-border-strong);border-radius:0;color:var(--cds-text-primary,#161616);cursor:pointer;display:block;font-family:inherit;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);opacity:1;outline:2px solid transparent;outline-offset:-2px;padding-block:0;padding-inline:1rem 3rem;text-overflow:ellipsis;transition:outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--select-input:hover{background-color:var(--cds-field-hover)}.cds--select-input::-ms-expand{display:none}@-moz-document url-prefix(){.cds--select-input:-moz-focusring,.cds--select-input::-moz-focus-inner{background-image:none;color:transparent;text-shadow:0 0 0 #000}}.cds--select-input:focus{color:var(--cds-text-primary,#161616);outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--select-input:focus{outline-style:dotted}}.cds--select-input:disabled,.cds--select-input:hover:disabled{background-color:var(--cds-field);border-block-end-color:transparent;color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed}.cds--select-input--sm{block-size:2rem;max-block-size:2rem}.cds--select-input--lg{block-size:3rem;max-block-size:3rem}.cds--select--disabled .cds--form__helper-text,.cds--select--disabled .cds--label,:host(cds-select[disabled]) .cds--form__helper-text,:host(cds-select[disabled]) .cds--label{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--select--warning .cds--select-input,.cds--select-input__wrapper[data-invalid] .cds--select-input,:host(cds-select[warn]) .cds--select-input{padding-inline-end:4rem}.cds--select-input:disabled~.cds--select__arrow{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}.cds--select--light .cds--select-input{background-color:var(--cds-field-02,#fff)}.cds--select--light .cds--select-input:hover{background-color:var(--cds-field-hover)}.cds--select--light .cds--select-input:disabled,.cds--select--light .cds--select-input:hover:disabled{background-color:var(--cds-field-02,#fff);color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed}.cds--select__arrow{block-size:100%;position:absolute;fill:var(--cds-icon-primary,#161616);inset-block-start:0;inset-inline-end:1rem;pointer-events:none}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--select__arrow path{fill:ButtonText}}.cds--select__invalid-icon{inset-inline-end:2.5rem;position:absolute}.cds--select-input--inline__wrapper[data-invalid] .cds--select__invalid-icon,.cds--select-input__wrapper[data-invalid] .cds--select-input~.cds--select__invalid-icon{fill:var(--cds-support-error,#da1e28)}.cds--select__invalid-icon--warning{fill:var(--cds-support-warning,#f1c21b)}.cds--select__invalid-icon--warning path[fill]{fill:#000;opacity:1}.cds--select-option,optgroup.cds--select-optgroup{background-color:var(--cds-layer-hover);color:var(--cds-text-primary,#161616)}.cds--select-option:disabled,optgroup.cds--select-optgroup:disabled{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--select--inline,:host(cds-select[inline]){align-items:center;display:flex;flex-direction:row}.cds--select--inline .cds--form__helper-text,:host(cds-select[inline]) .cds--form__helper-text{margin-block-end:0;margin-inline-start:.5rem}.cds--select--inline .cds--label,:host(cds-select[inline]) .cds--label{margin:0 .5rem 0 0;white-space:nowrap}.cds--select--inline .cds--select-input,:host(cds-select[inline]) .cds--select-input{background-color:transparent;border-block-end:none;color:var(--cds-text-primary,#161616);inline-size:100%;padding-inline:.5rem 3rem}.cds--select--inline .cds--select-input:hover,:host(cds-select[inline]) .cds--select-input:hover{background-color:var(--cds-field-hover)}.cds--select--inline .cds--select-input:focus,.cds--select--inline .cds--select-input:focus optgroup,.cds--select--inline .cds--select-input:focus option,:host(cds-select[inline]) .cds--select-input:focus,:host(cds-select[inline]) .cds--select-input:focus optgroup,:host(cds-select[inline]) .cds--select-input:focus option{background-color:var(--cds-background,#fff)}.cds--select--inline .cds--select-input:focus optgroup:hover,.cds--select--inline .cds--select-input:focus option:hover,.cds--select--inline .cds--select-input:focus:hover,:host(cds-select[inline]) .cds--select-input:focus optgroup:hover,:host(cds-select[inline]) .cds--select-input:focus option:hover,:host(cds-select[inline]) .cds--select-input:focus:hover{background-color:var(--cds-field-hover)}.cds--select--inline .cds--select-input[disabled],.cds--select--inline .cds--select-input[disabled]:hover,:host(cds-select[inline]) .cds--select-input[disabled]{background-color:var(--cds-background,#fff)}.cds--select--inline .cds--select__arrow,:host(cds-select[inline]) .cds--select__arrow{inset-inline-end:.5rem}.cds--select--inline.cds--select--invalid .cds--select-input,:host(cds-select[inline]):host(cds-select[invalid]) .cds--select-input{padding-inline-end:3.5rem}.cds--select--inline.cds--select--invalid .cds--select-input~.cds--select__invalid-icon,.cds--select--inline.cds--select--warning .cds--select-input~.cds--select__invalid-icon--warning,:host(cds-select[inline]):host(cds-select[invalid]) .cds--select-input~.cds--select__invalid-icon,:host(cds-select[inline]):host(cds-select[warn]) .cds--select-input~.cds--select__invalid-icon--warning{inset-inline-end:2rem}.cds--select--inline .cds--select-input:disabled,:host(cds-select[inline]) .cds--select-input:disabled{color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed}.cds--select--inline .cds--select-input:disabled~*,:host(cds-select[inline]) .cds--select-input:disabled~*{cursor:not-allowed}.cds--select--readonly .cds--select-input{background-color:transparent;border-block-end-color:var(--cds-border-subtle);cursor:default}.cds--select--readonly .cds--select__arrow{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}.cds--select--readonly.cds--select--inline .cds--select-input:hover{background-color:transparent}.cds--select.cds--skeleton{background:var(--cds-skeleton-background,#e8e8e8);block-size:2.5rem;border:none;box-shadow:none;inline-size:100%;padding:0;pointer-events:none;position:relative}.cds--select.cds--skeleton:active,.cds--select.cds--skeleton:focus,.cds--select.cds--skeleton:hover{border:none;cursor:default;outline:none}.cds--select.cds--skeleton:before{animation:cds--skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-element,#c6c6c6);block-size:100%;content:"";inline-size:100%;inset-inline-start:0;position:absolute;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--select.cds--skeleton:before{animation:none}}@media (forced-colors:active),screen and (-ms-high-contrast:active){.cds--select.cds--skeleton{background:CanvasText}.cds--select.cds--skeleton:before{background:Canvas;forced-color-adjust:none}}.cds--select.cds--skeleton .cds--select-input{display:none}.cds--select--decorator .cds--select__inner-wrapper--decorator>*,.cds--select--slug .cds--ai-label,.cds--select--slug .cds--slug,:host(cds-select[slug]) .cds--ai-label,:host(cds-select[slug]) .cds--slug{inset-block-start:50%;inset-inline-end:calc(2.5rem + 9px);margin-block-start:.03125rem;position:absolute;transform:translateY(-50%)}.cds--select--decorator .cds--select__inner-wrapper--decorator>:after,.cds--select--decorator .cds--select__inner-wrapper--decorator>:before,.cds--select--slug .cds--ai-label:after,.cds--select--slug .cds--ai-label:before,.cds--select--slug .cds--slug:after,.cds--select--slug .cds--slug:before,:host(cds-select[slug]) .cds--ai-label:after,:host(cds-select[slug]) .cds--ai-label:before,:host(cds-select[slug]) .cds--slug:after,:host(cds-select[slug]) .cds--slug:before{background-color:var(--cds-border-subtle-01,#c6c6c6);block-size:1rem;content:"";inline-size:.0625rem;position:absolute}.cds--select--decorator .cds--select__inner-wrapper--decorator>:before,.cds--select--slug .cds--ai-label:before,.cds--select--slug .cds--slug:before,:host(cds-select[slug]) .cds--ai-label:before,:host(cds-select[slug]) .cds--slug:before{display:none;inset-inline-start:calc(-.5rem - 1px)}.cds--select--decorator .cds--select__inner-wrapper--decorator>:after,.cds--select--slug .cds--ai-label:after,.cds--select--slug .cds--slug:after,:host(cds-select[slug]) .cds--ai-label:after,:host(cds-select[slug]) .cds--slug:after{display:block;inset-block-start:0;inset-inline-end:calc(-.5rem - 1px)}.cds--select--decorator .cds--select__inner-wrapper--decorator>.cds--ai-label--revert:before,.cds--select--slug .cds--ai-label--revert:before,.cds--select--slug .cds--slug--revert:before,:host(cds-select[slug]) .cds--ai-label--revert:before,:host(cds-select[slug]) .cds--slug--revert:before{inset-block-start:.5rem;inset-inline-start:0}.cds--select--decorator .cds--select__inner-wrapper--decorator>.cds--ai-label--revert,.cds--select--slug .cds--ai-label--revert,:host(cds-select[slug]) .cds--ai-label--revert{inset-inline-end:2.5625rem}.cds--select--decorator .cds--ai-label--revert:after,.cds--select--slug .cds--ai-label--revert:after,.cds--select--slug .cds--slug--revert:after,:host(cds-select[slug]) .cds--ai-label--revert:after,:host(cds-select[slug]) .cds--slug--revert:after{inset-block-start:.5rem;inset-inline-end:-1px}.cds--select--decorator .cds--select-input:has(~.cds--select__inner-wrapper--decorator),.cds--select--slug .cds--select-input:has(~.cds--ai-label),.cds--select--slug .cds--select-input:has(~.cds--slug),:host(cds-select[slug]) .cds--select-input:has(~.cds--ai-label),:host(cds-select[slug]) .cds--select-input:has(~.cds--slug){padding-inline-end:4rem}.cds--select--decorator:has(.cds--select__invalid-icon) .cds--select-input:has(~.cds--select__inner-wrapper--decorator),.cds--select--slug:has(.cds--select__invalid-icon) .cds--select-input:has(~.cds--ai-label),.cds--select--slug:has(.cds--select__invalid-icon) .cds--select-input:has(~.cds--slug),:has(.cds--select__invalid-icon):host(cds-select[slug]) .cds--select-input:has(~.cds--ai-label),:has(.cds--select__invalid-icon):host(cds-select[slug]) .cds--select-input:has(~.cds--slug){padding-inline-end:6rem}.cds--select--decorator .cds--select-input:has(~.cds--select__inner-wrapper--decorator .cds--ai-label):not(:has(~.cds--select__inner-wrapper--decorator .cds--ai-label--revert)),.cds--select--slug .cds--select-input:has(~.cds--ai-label):not(:has(~.cds--ai-label--revert)),.cds--select--slug .cds--select-input:has(~.cds--slug):not(:has(~.cds--slug--revert)),.cds--select-input-has--ai-label,:host(cds-select[slug]) .cds--select-input:has(~.cds--ai-label):not(:has(~.cds--ai-label--revert)),:host(cds-select[slug]) .cds--select-input:has(~.cds--slug):not(:has(~.cds--slug--revert)){background-image:linear-gradient(0deg,var(--cds-ai-aura-start-sm,rgba(69,137,255,.16)) 0,15%,var(--cds-ai-aura-end,hsla(0,0%,100%,0)) 50%,transparent 100%);border-block-end-color:var(--cds-ai-border-strong,#4589ff)}.cds--select--decorator:has(.cds--select__invalid-icon) .cds--select__inner-wrapper--decorator>:before,.cds--select--slug:has(.cds--select__invalid-icon) .cds--ai-label:before,.cds--select--slug:has(.cds--select__invalid-icon) .cds--slug:before,:has(.cds--select__invalid-icon):host(cds-select[slug]) .cds--ai-label:before,:has(.cds--select__invalid-icon):host(cds-select[slug]) .cds--slug:before{display:block}.cds--select--decorator .cds--select-input__wrapper .cds--select-input~.cds--select__invalid-icon,.cds--select--slug .cds--select-input__wrapper .cds--select-input~.cds--select__invalid-icon,.cds--select--slug .cds--select-input__wrapper[data-invalid] .cds--select-input~.cds--select__invalid-icon,:host(cds-select[slug]) .cds--select-input__wrapper .cds--select-input~.cds--select__invalid-icon{inset-inline-end:5rem}.cds--assistive-text,.cds--visually-hidden{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}:host(cds-select){outline:none}:host(cds-select) ::slotted(cds-ai-label),:host(cds-select) ::slotted(cds-slug){inset-block-start:50%;inset-inline-end:3rem;position:absolute}:host(cds-select) ::slotted(cds-ai-label:not([revert-active])),:host(cds-select) ::slotted(cds-slug:not([revert-active])){transform:translateY(-50%)}:host(cds-select) ::slotted(cds-ai-label):after,:host(cds-select) ::slotted(cds-ai-label):before{background-color:var(--cds-border-subtle-01,#c6c6c6);block-size:1rem;content:"";inline-size:.0625rem;inset-inline-start:calc(1.5rem - 1px);position:absolute}:host(cds-select) ::slotted(cds-ai-label):before{display:var(--cds-show-before);inset-inline-start:calc(-.5rem - 1px)}:host(cds-select[readonly]) select{pointer-events:none}:host(cds-select[pagination]) .cds--label{margin:0}:host(cds-select[pagination]) .cds--select-input{padding:0 2.25rem 0 1rem}:host(cds-select[pagination]) .cds--select-input:focus{background-color:transparent}:host(cds-select[pagination]) .cds--select__arrow{inset-block-start:50%;transform:translate(-.5rem,-50%)}:host(cds-select[pagination][left-select]) .cds--select-input{border-inline-end:1px solid var(--cds-border-subtle)}:host(cds-select[invalid]) ::slotted(cds-ai-label),:host(cds-select[invalid]) ::slotted(cds-slug),:host(cds-select[warn]) ::slotted(cds-ai-label),:host(cds-select[warn]) ::slotted(cds-slug){inset-inline-end:3rem}']);let s=class extends O.FormMixin(e.i){constructor(){super(...arguments),this._hasAILabel=!1,this._observerMutation=null,this._placeholderItemValue=`__${e.prefix}-select-placeholder_${Math.random().toString(36).slice(2)}`,this._handleMutation=()=>{this.requestUpdate()},this.autofocus=!1,this.disabled=!1,this.helperText="",this.hideLabel=!1,this.id="",this.invalid=!1,this.invalidText="",this.warn=!1,this.warnText="",this.labelText="",this.inline=!1,this.name="",this.pattern="",this.placeholder="",this.readonly=!1,this.required=!1,this.requiredValidityMessage="Please fill out this field.",this.size=D.INPUT_SIZE.MEDIUM,this.value=""}_handleInput({target:l}){const{value:i}=l;this.value=i;const{eventSelect:a}=this.constructor;this.dispatchEvent(new CustomEvent(a,{bubbles:!0,composed:!0,detail:{value:i}}))}_renderItems(l){const{selectorItem:i,selectorLeafItem:a}=this.constructor;return e.x`
|
|
6
|
-
${R.filter(l.childNodes,d=>d.nodeType===Node.ELEMENT_NODE&&d.matches(i)).map(d=>{const r=d.hasAttribute("disabled"),o=d.getAttribute("label"),u=d.hasAttribute("selected"),n=d.getAttribute("value"),{textContent:b}=d;return d.matches(a)?e.x`
|
|
7
|
-
<option
|
|
8
|
-
class="${e.prefix}--select-option"
|
|
9
|
-
?disabled="${r}"
|
|
10
|
-
label="${X.ifNonEmpty(o)}"
|
|
11
|
-
?selected="${u}"
|
|
12
|
-
value="${k.o(n)}">
|
|
13
|
-
${b}
|
|
14
|
-
</option>
|
|
15
|
-
`:e.x`
|
|
16
|
-
<optgroup
|
|
17
|
-
class="${e.prefix}--select-optgroup"
|
|
18
|
-
?disabled="${r}"
|
|
19
|
-
label="${k.o(o)}">
|
|
20
|
-
${this._renderItems(d)}
|
|
21
|
-
</optgroup>
|
|
22
|
-
`})}
|
|
23
|
-
`}_handleFormdata(l){const{formData:i}=l,{disabled:a,name:d,value:r}=this;a||i.append(d,r)}_handleAILabelSlotChange({target:l}){const i=l.assignedNodes().filter(a=>a.matches!==void 0?a.matches(this.constructor.aiLabelItem)||a.matches(this.constructor.slugItem):!1);this._hasAILabel=!!i,this.setAttribute("slug",`${this._hasAILabel}`),i[0].setAttribute("size","mini"),this.requestUpdate()}get length(){return this._selectNode.length}get options(){return this._selectNode.options}get type(){return this._selectNode.type}get multiple(){return!1}get selectedIndex(){var l;return(l=this._selectNode)===null||l===void 0?void 0:l.selectedIndex}set selectedIndex(l){this._selectNode.selectedIndex=l,this.value=this._selectNode.value}connectedCallback(){super.connectedCallback(),this._observerMutation=new MutationObserver(this._handleMutation),this._observerMutation.observe(this,{attributes:!0,childList:!0,subtree:!0})}disconnectedCallback(){this._observerMutation&&(this._observerMutation.disconnect(),this._observerMutation=null),super.disconnectedCallback()}updated(l){var i,a,d,r,o,u,n,b,v,p;if(l.has("value")){const{value:g,_placeholderItemValue:y}=this,m=(d=(i=this._selectedOptionNodes)===null||i===void 0?void 0:i[((a=this._selectedOptionNodes)===null||a===void 0?void 0:a.length)-1])===null||d===void 0?void 0:d.value;g?this._selectNode.value=g:m?this._selectNode.value=m:this._selectNode.value=y}const f=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelector("slot[name='ai-label']");f?(!((o=f.assignedNodes())===null||o===void 0)&&o.length&&((u=this._inputNode)===null||u===void 0||u.classList.add(`${e.prefix}--select-input-has--ai-label`)),f?.classList.toggle(`${e.prefix}--slug--revert`,(n=this.querySelector(`${e.prefix}-ai-label`))===null||n===void 0?void 0:n.hasAttribute("revert-active"))):(v=(b=this.shadowRoot)===null||b===void 0?void 0:b.querySelector("slot[name='slug']"))===null||v===void 0||v.classList.toggle(`${e.prefix}--slug--revert`,(p=this.querySelector(`${e.prefix}-slug`))===null||p===void 0?void 0:p.hasAttribute("revert-active"))}render(){const{disabled:l,helperText:i,hideLabel:a,inline:d,invalid:r,invalidText:o,labelText:u,placeholder:n,readonly:b,size:v,warn:p,warnText:f,value:g,_placeholderItemValue:y,_handleInput:m,_handleAILabelSlotChange:q}=this,B=w.e({[`${e.prefix}--select-input`]:!0,[`${e.prefix}--select-input--${v}`]:v}),T=w.e({[`${e.prefix}--label`]:!0,[`${e.prefix}--label--disabled`]:l,[`${e.prefix}--visually-hidden`]:a}),L=w.e({[`${e.prefix}--form__helper-text`]:!0,[`${e.prefix}--form__helper-text--disabled`]:l}),C=i?e.x`
|
|
24
|
-
<div id="helper-text" class="${L}">
|
|
25
|
-
<slot name="helper-text"> ${i} </slot>
|
|
26
|
-
</div>
|
|
27
|
-
`:null,I=r||p?e.x` <div id="error-text" class="${e.prefix}--form-requirement">
|
|
28
|
-
${r?o:f}
|
|
29
|
-
</div>`:null;let x;r||p?x="error-text":i&&(x="helper-text");const S=e.x`
|
|
30
|
-
<select
|
|
31
|
-
id="input"
|
|
32
|
-
class="${B}"
|
|
33
|
-
?disabled="${l}"
|
|
34
|
-
aria-readonly="${String(!!b)}"
|
|
35
|
-
aria-invalid="${String(!!r)}"
|
|
36
|
-
aria-describedby="${k.o(x)}"
|
|
37
|
-
@input="${m}">
|
|
38
|
-
${!n||g?void 0:e.x`
|
|
39
|
-
<option
|
|
40
|
-
disabled
|
|
41
|
-
hidden
|
|
42
|
-
class="${e.prefix}--select-option"
|
|
43
|
-
value="${y}">
|
|
44
|
-
${n}
|
|
45
|
-
</option>
|
|
46
|
-
`}
|
|
47
|
-
${this._renderItems(this)}
|
|
48
|
-
</select>
|
|
49
|
-
${$.iconLoader(A._16,{class:`${e.prefix}--select__arrow`,"aria-hidden":"true"})}
|
|
50
|
-
<slot
|
|
51
|
-
name="ai-label"
|
|
52
|
-
style="--${e.prefix}-show-before: ${p||r?"block":"none"}"
|
|
53
|
-
@slotchange=${q}></slot>
|
|
54
|
-
<slot name="slug" @slotchange=${q}></slot>
|
|
55
|
-
${r?$.iconLoader(F._16,{class:`${e.prefix}--select__invalid-icon`}):void 0}
|
|
56
|
-
${!r&&p?$.iconLoader(E._16,{class:`${e.prefix}--select__invalid-icon ${e.prefix}--select__invalid-icon--warning`}):null}
|
|
57
|
-
`;return e.x`
|
|
58
|
-
<label class="${T}" for="input">
|
|
59
|
-
<slot name="label-text"> ${u} </slot>
|
|
60
|
-
</label>
|
|
61
|
-
|
|
62
|
-
${d?e.x`<div
|
|
63
|
-
class="${e.prefix}--select-input--inline__wrapper"
|
|
64
|
-
?data-invalid="${r}">
|
|
65
|
-
<div
|
|
66
|
-
class="${e.prefix}--select-input__wrapper"
|
|
67
|
-
?data-invalid="${r}">
|
|
68
|
-
${S}
|
|
69
|
-
</div>
|
|
70
|
-
</div>`:e.x`<div
|
|
71
|
-
class="${e.prefix}--select-input__wrapper"
|
|
72
|
-
?data-invalid="${r}">
|
|
73
|
-
${S}
|
|
74
|
-
</div> `}
|
|
75
|
-
${I||C}
|
|
76
|
-
`}static get selectorItem(){return`${e.prefix}-select-item-group,${e.prefix}-select-item`}static get selectorLeafItem(){return`${e.prefix}-select-item`}static get slugItem(){return`${e.prefix}-slug`}static get aiLabelItem(){return`${e.prefix}-ai-label`}static get eventSelect(){return`${e.prefix}-select-selected`}};s.shadowRootOptions=Object.assign(Object.assign({},e.i.shadowRootOptions),{delegatesFocus:!0});s.styles=M;t.__decorate([z.e("select")],s.prototype,"_selectNode",void 0);t.__decorate([z.e("#input")],s.prototype,"_inputNode",void 0);t.__decorate([V(`.${e.prefix}--select-option[selected]`)],s.prototype,"_selectedOptionNodes",void 0);t.__decorate([c.n({type:Boolean})],s.prototype,"autofocus",void 0);t.__decorate([c.n({type:Boolean,reflect:!0})],s.prototype,"disabled",void 0);t.__decorate([c.n({attribute:"helper-text"})],s.prototype,"helperText",void 0);t.__decorate([c.n({type:Boolean,attribute:"hide-label"})],s.prototype,"hideLabel",void 0);t.__decorate([c.n()],s.prototype,"id",void 0);t.__decorate([c.n({type:Boolean,reflect:!0})],s.prototype,"invalid",void 0);t.__decorate([c.n({attribute:"invalid-text"})],s.prototype,"invalidText",void 0);t.__decorate([c.n({type:Boolean,reflect:!0})],s.prototype,"warn",void 0);t.__decorate([c.n({attribute:"warn-text"})],s.prototype,"warnText",void 0);t.__decorate([c.n({attribute:"label-text"})],s.prototype,"labelText",void 0);t.__decorate([c.n({type:Boolean,reflect:!0})],s.prototype,"inline",void 0);t.__decorate([c.n({type:Boolean})],s.prototype,"multiple",null);t.__decorate([c.n()],s.prototype,"name",void 0);t.__decorate([c.n()],s.prototype,"pattern",void 0);t.__decorate([c.n({reflect:!0})],s.prototype,"placeholder",void 0);t.__decorate([c.n({type:Boolean,reflect:!0})],s.prototype,"readonly",void 0);t.__decorate([c.n({type:Boolean,reflect:!0})],s.prototype,"required",void 0);t.__decorate([c.n({attribute:"required-validity-message"})],s.prototype,"requiredValidityMessage",void 0);t.__decorate([c.n({type:Number})],s.prototype,"selectedIndex",null);t.__decorate([c.n({reflect:!0})],s.prototype,"size",void 0);t.__decorate([c.n({reflect:!0})],s.prototype,"value",void 0);s=t.__decorate([N.carbonElement(`${e.prefix}-select`)],s);let h=class extends e.i{constructor(){super(...arguments),this.disabled=!1,this.label="",this.selected=!1,this.value=""}};t.__decorate([c.n({type:Boolean,reflect:!0})],h.prototype,"disabled",void 0);t.__decorate([c.n({reflect:!0})],h.prototype,"label",void 0);t.__decorate([c.n({type:Boolean,reflect:!0})],h.prototype,"selected",void 0);t.__decorate([c.n({reflect:!0})],h.prototype,"value",void 0);h=t.__decorate([N.carbonElement(`${e.prefix}-select-item`)],h);exports.styles=M;
|
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
import { _ as s } from "./tslib.es6-C5gLNDSD.js";
|
|
2
|
-
import { a as F, i as q, p as e, x as o } from "./settings-BPOpwVkr.js";
|
|
3
|
-
import { n as l } from "./property-pT1z5CCa.js";
|
|
4
|
-
import { a as E, e as M } from "./query-CbRg6ZGy.js";
|
|
5
|
-
import { e as k } from "./class-map-DEHG4tmw.js";
|
|
6
|
-
import { _ as O } from "./16-CDRTWf-C.js";
|
|
7
|
-
import { _ as R } from "./16-BiShwKPX.js";
|
|
8
|
-
import { _ as X } from "./16-BwDdccyH.js";
|
|
9
|
-
import { o as $ } from "./if-defined-C0yJsxi2.js";
|
|
10
|
-
import { F as D } from "./form-DpI-v6DA.js";
|
|
11
|
-
import { b as P } from "./collection-helpers-BwUB2CEz.js";
|
|
12
|
-
import { I as V } from "./text-input-BygzMjjc.js";
|
|
13
|
-
import { i as z } from "./icon-loader-Dk_AU26w.js";
|
|
14
|
-
import { i as j } from "./if-non-empty-DTGflHtA.js";
|
|
15
|
-
import { c as B } from "./carbon-element-DzDuXiyl.js";
|
|
16
|
-
/**
|
|
17
|
-
* @license
|
|
18
|
-
* Copyright 2017 Google LLC
|
|
19
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/
|
|
21
|
-
let U;
|
|
22
|
-
function Y(y) {
|
|
23
|
-
return (c, i) => E(c, i, { get() {
|
|
24
|
-
return (this.renderRoot ?? (U ??= document.createDocumentFragment())).querySelectorAll(y);
|
|
25
|
-
} });
|
|
26
|
-
}
|
|
27
|
-
var Z = F(['.cds--layer-one,:root{--cds-layer:var(--cds-layer-01,#f4f4f4);--cds-layer-active:var(--cds-layer-active-01,#c6c6c6);--cds-layer-background:var(--cds-layer-background-01,#fff);--cds-layer-hover:var(--cds-layer-hover-01,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01,#a8a8a8);--cds-field:var(--cds-field-01,#f4f4f4);--cds-field-hover:var(--cds-field-hover-01,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01,#c6c6c6);--cds-border-strong:var(--cds-border-strong-01,#8d8d8d);--cds-border-tile:var(--cds-border-tile-01,#c6c6c6)}.cds--layer-two{--cds-layer:var(--cds-layer-02,#fff);--cds-layer-active:var(--cds-layer-active-02,#c6c6c6);--cds-layer-background:var(--cds-layer-background-02,#f4f4f4);--cds-layer-hover:var(--cds-layer-hover-02,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-02,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-02,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-02,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-02,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-02,#a8a8a8);--cds-field:var(--cds-field-02,#fff);--cds-field-hover:var(--cds-field-hover-02,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-01,#c6c6c6);--cds-border-subtle-selected:var(--cds-border-subtle-selected-02,#c6c6c6);--cds-border-strong:var(--cds-border-strong-02,#8d8d8d);--cds-border-tile:var(--cds-border-tile-02,#a8a8a8)}.cds--layer-three{--cds-layer:var(--cds-layer-03,#f4f4f4);--cds-layer-active:var(--cds-layer-active-03,#c6c6c6);--cds-layer-background:var(--cds-layer-background-03,#fff);--cds-layer-hover:var(--cds-layer-hover-03,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-03,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-03,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-03,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-03,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-03,#a8a8a8);--cds-field:var(--cds-field-03,#f4f4f4);--cds-field-hover:var(--cds-field-hover-03,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-02,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-03,#c6c6c6);--cds-border-strong:var(--cds-border-strong-03,#8d8d8d);--cds-border-tile:var(--cds-border-tile-03,#c6c6c6)}.cds--layer-one.cds--layer__with-background,.cds--layer-three.cds--layer__with-background,.cds--layer-two.cds--layer__with-background{background-color:var(--cds-layer-background)}@keyframes cds--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{box-shadow:0 0 0 1000px var(--cds-field) inset;-webkit-text-fill-color:var(--cds-text-primary,#161616)}.cds--fieldset{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--fieldset *,.cds--fieldset :after,.cds--fieldset :before{box-sizing:inherit}.cds--form-item{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572)}.cds--label{color:var(--cds-text-secondary,#525252);display:inline-block;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);font-weight:400;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin-block-end:.5rem;vertical-align:baseline}.cds--label html{font-size:100%}.cds--label body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--label code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--label strong{font-weight:600}.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds--label--no-margin{margin-block-end:0}.cds--label+.cds--tooltip{inset-block-start:.2rem;inset-inline-start:.5rem;position:relative}.cds--label+.cds--tooltip .cds--tooltip__trigger{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;box-sizing:border-box;cursor:pointer;display:inline-block;display:flex;font-family:inherit;font-size:100%;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);inline-size:100%;justify-content:center;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin:0;padding:0;text-align:start;vertical-align:baseline}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger :after,.cds--label+.cds--tooltip .cds--tooltip__trigger :before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{inset-block-start:.2rem;inset-inline-start:.5rem}.cds--label.cds--skeleton{background:var(--cds-skeleton-background,#e8e8e8);block-size:.875rem;border:none;box-shadow:none;inline-size:4.6875rem;padding:0;pointer-events:none;position:relative}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:none}.cds--label.cds--skeleton:before{animation:cds--skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-element,#c6c6c6);block-size:100%;content:"";inline-size:100%;inset-inline-start:0;position:absolute;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton:before{animation:none}}@media (forced-colors:active),screen and (-ms-high-contrast:active){.cds--label.cds--skeleton{background:CanvasText}.cds--label.cds--skeleton:before{background:Canvas;forced-color-adjust:none}}input[type=number],input[type=text].cds--number{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused,.cds--combo-box--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--number[data-invalid] input[type=text]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused,.cds--combo-box--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--number[data-invalid] input[type=text]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper--warn~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker--warning~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,:host(cds-select[warn]) .cds--select-input__wrapper~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;font-weight:400;max-block-size:12.5rem;overflow:visible}.cds--select--inline.cds--select--warning .cds--select-input--inline__wrapper~.cds--form-requirement,.cds--select-input--inline__wrapper[data-invalid]~.cds--form-requirement,:host(cds-select[inline]):host(cds-select[warn]) .cds--select-input--inline__wrapper~.cds--form-requirement{display:inline-flex;inline-size:100%;margin:0;margin-block-end:0;max-block-size:100%;overflow:visible;padding-inline-start:.5rem}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input--inline__wrapper[data-invalid]~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:none}.cds--form--fluid .cds--form-requirement{margin:0;padding:.5rem 2.5rem .5rem 1rem}input:not(output,[data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement{display:none;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin:.25rem 0 0;max-block-size:0;overflow:hidden}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--form-requirement strong{font-weight:600}.cds--select--inline .cds--form__helper-text,:host(cds-select[inline]) .cds--form__helper-text{margin-block-start:0}.cds--form__helper-text{color:var(--cds-text-helper,#6f6f6f);font-size:var(--cds-helper-text-01-font-size,.75rem);inline-size:100%;letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);margin-block-start:.25rem;opacity:1;z-index:0}.cds--form__helper-text--disabled,.cds--label--disabled,fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--select,:host(cds-select){align-items:flex-start;border:0;box-sizing:border-box;display:flex;flex-direction:column;font-family:inherit;font-size:100%;inline-size:100%;margin:0;padding:0;position:relative;vertical-align:baseline}.cds--select *,.cds--select :after,.cds--select :before,:host(cds-select) *,:host(cds-select) :after,:host(cds-select) :before{box-sizing:inherit}.cds--select-input__wrapper{align-items:center;display:flex;inline-size:100%;position:relative}.cds--select-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--cds-field);block-size:2.5rem;border:none;border-block-end:1px solid var(--cds-border-strong);border-radius:0;color:var(--cds-text-primary,#161616);cursor:pointer;display:block;font-family:inherit;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);opacity:1;outline:2px solid transparent;outline-offset:-2px;padding-block:0;padding-inline:1rem 3rem;text-overflow:ellipsis;transition:outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--select-input:hover{background-color:var(--cds-field-hover)}.cds--select-input::-ms-expand{display:none}@-moz-document url-prefix(){.cds--select-input:-moz-focusring,.cds--select-input::-moz-focus-inner{background-image:none;color:transparent;text-shadow:0 0 0 #000}}.cds--select-input:focus{color:var(--cds-text-primary,#161616);outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--select-input:focus{outline-style:dotted}}.cds--select-input:disabled,.cds--select-input:hover:disabled{background-color:var(--cds-field);border-block-end-color:transparent;color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed}.cds--select-input--sm{block-size:2rem;max-block-size:2rem}.cds--select-input--lg{block-size:3rem;max-block-size:3rem}.cds--select--disabled .cds--form__helper-text,.cds--select--disabled .cds--label,:host(cds-select[disabled]) .cds--form__helper-text,:host(cds-select[disabled]) .cds--label{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--select--warning .cds--select-input,.cds--select-input__wrapper[data-invalid] .cds--select-input,:host(cds-select[warn]) .cds--select-input{padding-inline-end:4rem}.cds--select-input:disabled~.cds--select__arrow{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}.cds--select--light .cds--select-input{background-color:var(--cds-field-02,#fff)}.cds--select--light .cds--select-input:hover{background-color:var(--cds-field-hover)}.cds--select--light .cds--select-input:disabled,.cds--select--light .cds--select-input:hover:disabled{background-color:var(--cds-field-02,#fff);color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed}.cds--select__arrow{block-size:100%;position:absolute;fill:var(--cds-icon-primary,#161616);inset-block-start:0;inset-inline-end:1rem;pointer-events:none}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--select__arrow path{fill:ButtonText}}.cds--select__invalid-icon{inset-inline-end:2.5rem;position:absolute}.cds--select-input--inline__wrapper[data-invalid] .cds--select__invalid-icon,.cds--select-input__wrapper[data-invalid] .cds--select-input~.cds--select__invalid-icon{fill:var(--cds-support-error,#da1e28)}.cds--select__invalid-icon--warning{fill:var(--cds-support-warning,#f1c21b)}.cds--select__invalid-icon--warning path[fill]{fill:#000;opacity:1}.cds--select-option,optgroup.cds--select-optgroup{background-color:var(--cds-layer-hover);color:var(--cds-text-primary,#161616)}.cds--select-option:disabled,optgroup.cds--select-optgroup:disabled{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--select--inline,:host(cds-select[inline]){align-items:center;display:flex;flex-direction:row}.cds--select--inline .cds--form__helper-text,:host(cds-select[inline]) .cds--form__helper-text{margin-block-end:0;margin-inline-start:.5rem}.cds--select--inline .cds--label,:host(cds-select[inline]) .cds--label{margin:0 .5rem 0 0;white-space:nowrap}.cds--select--inline .cds--select-input,:host(cds-select[inline]) .cds--select-input{background-color:transparent;border-block-end:none;color:var(--cds-text-primary,#161616);inline-size:100%;padding-inline:.5rem 3rem}.cds--select--inline .cds--select-input:hover,:host(cds-select[inline]) .cds--select-input:hover{background-color:var(--cds-field-hover)}.cds--select--inline .cds--select-input:focus,.cds--select--inline .cds--select-input:focus optgroup,.cds--select--inline .cds--select-input:focus option,:host(cds-select[inline]) .cds--select-input:focus,:host(cds-select[inline]) .cds--select-input:focus optgroup,:host(cds-select[inline]) .cds--select-input:focus option{background-color:var(--cds-background,#fff)}.cds--select--inline .cds--select-input:focus optgroup:hover,.cds--select--inline .cds--select-input:focus option:hover,.cds--select--inline .cds--select-input:focus:hover,:host(cds-select[inline]) .cds--select-input:focus optgroup:hover,:host(cds-select[inline]) .cds--select-input:focus option:hover,:host(cds-select[inline]) .cds--select-input:focus:hover{background-color:var(--cds-field-hover)}.cds--select--inline .cds--select-input[disabled],.cds--select--inline .cds--select-input[disabled]:hover,:host(cds-select[inline]) .cds--select-input[disabled]{background-color:var(--cds-background,#fff)}.cds--select--inline .cds--select__arrow,:host(cds-select[inline]) .cds--select__arrow{inset-inline-end:.5rem}.cds--select--inline.cds--select--invalid .cds--select-input,:host(cds-select[inline]):host(cds-select[invalid]) .cds--select-input{padding-inline-end:3.5rem}.cds--select--inline.cds--select--invalid .cds--select-input~.cds--select__invalid-icon,.cds--select--inline.cds--select--warning .cds--select-input~.cds--select__invalid-icon--warning,:host(cds-select[inline]):host(cds-select[invalid]) .cds--select-input~.cds--select__invalid-icon,:host(cds-select[inline]):host(cds-select[warn]) .cds--select-input~.cds--select__invalid-icon--warning{inset-inline-end:2rem}.cds--select--inline .cds--select-input:disabled,:host(cds-select[inline]) .cds--select-input:disabled{color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed}.cds--select--inline .cds--select-input:disabled~*,:host(cds-select[inline]) .cds--select-input:disabled~*{cursor:not-allowed}.cds--select--readonly .cds--select-input{background-color:transparent;border-block-end-color:var(--cds-border-subtle);cursor:default}.cds--select--readonly .cds--select__arrow{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}.cds--select--readonly.cds--select--inline .cds--select-input:hover{background-color:transparent}.cds--select.cds--skeleton{background:var(--cds-skeleton-background,#e8e8e8);block-size:2.5rem;border:none;box-shadow:none;inline-size:100%;padding:0;pointer-events:none;position:relative}.cds--select.cds--skeleton:active,.cds--select.cds--skeleton:focus,.cds--select.cds--skeleton:hover{border:none;cursor:default;outline:none}.cds--select.cds--skeleton:before{animation:cds--skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-element,#c6c6c6);block-size:100%;content:"";inline-size:100%;inset-inline-start:0;position:absolute;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--select.cds--skeleton:before{animation:none}}@media (forced-colors:active),screen and (-ms-high-contrast:active){.cds--select.cds--skeleton{background:CanvasText}.cds--select.cds--skeleton:before{background:Canvas;forced-color-adjust:none}}.cds--select.cds--skeleton .cds--select-input{display:none}.cds--select--decorator .cds--select__inner-wrapper--decorator>*,.cds--select--slug .cds--ai-label,.cds--select--slug .cds--slug,:host(cds-select[slug]) .cds--ai-label,:host(cds-select[slug]) .cds--slug{inset-block-start:50%;inset-inline-end:calc(2.5rem + 9px);margin-block-start:.03125rem;position:absolute;transform:translateY(-50%)}.cds--select--decorator .cds--select__inner-wrapper--decorator>:after,.cds--select--decorator .cds--select__inner-wrapper--decorator>:before,.cds--select--slug .cds--ai-label:after,.cds--select--slug .cds--ai-label:before,.cds--select--slug .cds--slug:after,.cds--select--slug .cds--slug:before,:host(cds-select[slug]) .cds--ai-label:after,:host(cds-select[slug]) .cds--ai-label:before,:host(cds-select[slug]) .cds--slug:after,:host(cds-select[slug]) .cds--slug:before{background-color:var(--cds-border-subtle-01,#c6c6c6);block-size:1rem;content:"";inline-size:.0625rem;position:absolute}.cds--select--decorator .cds--select__inner-wrapper--decorator>:before,.cds--select--slug .cds--ai-label:before,.cds--select--slug .cds--slug:before,:host(cds-select[slug]) .cds--ai-label:before,:host(cds-select[slug]) .cds--slug:before{display:none;inset-inline-start:calc(-.5rem - 1px)}.cds--select--decorator .cds--select__inner-wrapper--decorator>:after,.cds--select--slug .cds--ai-label:after,.cds--select--slug .cds--slug:after,:host(cds-select[slug]) .cds--ai-label:after,:host(cds-select[slug]) .cds--slug:after{display:block;inset-block-start:0;inset-inline-end:calc(-.5rem - 1px)}.cds--select--decorator .cds--select__inner-wrapper--decorator>.cds--ai-label--revert:before,.cds--select--slug .cds--ai-label--revert:before,.cds--select--slug .cds--slug--revert:before,:host(cds-select[slug]) .cds--ai-label--revert:before,:host(cds-select[slug]) .cds--slug--revert:before{inset-block-start:.5rem;inset-inline-start:0}.cds--select--decorator .cds--select__inner-wrapper--decorator>.cds--ai-label--revert,.cds--select--slug .cds--ai-label--revert,:host(cds-select[slug]) .cds--ai-label--revert{inset-inline-end:2.5625rem}.cds--select--decorator .cds--ai-label--revert:after,.cds--select--slug .cds--ai-label--revert:after,.cds--select--slug .cds--slug--revert:after,:host(cds-select[slug]) .cds--ai-label--revert:after,:host(cds-select[slug]) .cds--slug--revert:after{inset-block-start:.5rem;inset-inline-end:-1px}.cds--select--decorator .cds--select-input:has(~.cds--select__inner-wrapper--decorator),.cds--select--slug .cds--select-input:has(~.cds--ai-label),.cds--select--slug .cds--select-input:has(~.cds--slug),:host(cds-select[slug]) .cds--select-input:has(~.cds--ai-label),:host(cds-select[slug]) .cds--select-input:has(~.cds--slug){padding-inline-end:4rem}.cds--select--decorator:has(.cds--select__invalid-icon) .cds--select-input:has(~.cds--select__inner-wrapper--decorator),.cds--select--slug:has(.cds--select__invalid-icon) .cds--select-input:has(~.cds--ai-label),.cds--select--slug:has(.cds--select__invalid-icon) .cds--select-input:has(~.cds--slug),:has(.cds--select__invalid-icon):host(cds-select[slug]) .cds--select-input:has(~.cds--ai-label),:has(.cds--select__invalid-icon):host(cds-select[slug]) .cds--select-input:has(~.cds--slug){padding-inline-end:6rem}.cds--select--decorator .cds--select-input:has(~.cds--select__inner-wrapper--decorator .cds--ai-label):not(:has(~.cds--select__inner-wrapper--decorator .cds--ai-label--revert)),.cds--select--slug .cds--select-input:has(~.cds--ai-label):not(:has(~.cds--ai-label--revert)),.cds--select--slug .cds--select-input:has(~.cds--slug):not(:has(~.cds--slug--revert)),.cds--select-input-has--ai-label,:host(cds-select[slug]) .cds--select-input:has(~.cds--ai-label):not(:has(~.cds--ai-label--revert)),:host(cds-select[slug]) .cds--select-input:has(~.cds--slug):not(:has(~.cds--slug--revert)){background-image:linear-gradient(0deg,var(--cds-ai-aura-start-sm,rgba(69,137,255,.16)) 0,15%,var(--cds-ai-aura-end,hsla(0,0%,100%,0)) 50%,transparent 100%);border-block-end-color:var(--cds-ai-border-strong,#4589ff)}.cds--select--decorator:has(.cds--select__invalid-icon) .cds--select__inner-wrapper--decorator>:before,.cds--select--slug:has(.cds--select__invalid-icon) .cds--ai-label:before,.cds--select--slug:has(.cds--select__invalid-icon) .cds--slug:before,:has(.cds--select__invalid-icon):host(cds-select[slug]) .cds--ai-label:before,:has(.cds--select__invalid-icon):host(cds-select[slug]) .cds--slug:before{display:block}.cds--select--decorator .cds--select-input__wrapper .cds--select-input~.cds--select__invalid-icon,.cds--select--slug .cds--select-input__wrapper .cds--select-input~.cds--select__invalid-icon,.cds--select--slug .cds--select-input__wrapper[data-invalid] .cds--select-input~.cds--select__invalid-icon,:host(cds-select[slug]) .cds--select-input__wrapper .cds--select-input~.cds--select__invalid-icon{inset-inline-end:5rem}.cds--assistive-text,.cds--visually-hidden{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}:host(cds-select){outline:none}:host(cds-select) ::slotted(cds-ai-label),:host(cds-select) ::slotted(cds-slug){inset-block-start:50%;inset-inline-end:3rem;position:absolute}:host(cds-select) ::slotted(cds-ai-label:not([revert-active])),:host(cds-select) ::slotted(cds-slug:not([revert-active])){transform:translateY(-50%)}:host(cds-select) ::slotted(cds-ai-label):after,:host(cds-select) ::slotted(cds-ai-label):before{background-color:var(--cds-border-subtle-01,#c6c6c6);block-size:1rem;content:"";inline-size:.0625rem;inset-inline-start:calc(1.5rem - 1px);position:absolute}:host(cds-select) ::slotted(cds-ai-label):before{display:var(--cds-show-before);inset-inline-start:calc(-.5rem - 1px)}:host(cds-select[readonly]) select{pointer-events:none}:host(cds-select[pagination]) .cds--label{margin:0}:host(cds-select[pagination]) .cds--select-input{padding:0 2.25rem 0 1rem}:host(cds-select[pagination]) .cds--select-input:focus{background-color:transparent}:host(cds-select[pagination]) .cds--select__arrow{inset-block-start:50%;transform:translate(-.5rem,-50%)}:host(cds-select[pagination][left-select]) .cds--select-input{border-inline-end:1px solid var(--cds-border-subtle)}:host(cds-select[invalid]) ::slotted(cds-ai-label),:host(cds-select[invalid]) ::slotted(cds-slug),:host(cds-select[warn]) ::slotted(cds-ai-label),:host(cds-select[warn]) ::slotted(cds-slug){inset-inline-end:3rem}']);
|
|
28
|
-
let t = class extends D(q) {
|
|
29
|
-
constructor() {
|
|
30
|
-
super(...arguments), this._hasAILabel = !1, this._observerMutation = null, this._placeholderItemValue = `__${e}-select-placeholder_${Math.random().toString(36).slice(2)}`, this._handleMutation = () => {
|
|
31
|
-
this.requestUpdate();
|
|
32
|
-
}, this.autofocus = !1, this.disabled = !1, this.helperText = "", this.hideLabel = !1, this.id = "", this.invalid = !1, this.invalidText = "", this.warn = !1, this.warnText = "", this.labelText = "", this.inline = !1, this.name = "", this.pattern = "", this.placeholder = "", this.readonly = !1, this.required = !1, this.requiredValidityMessage = "Please fill out this field.", this.size = V.MEDIUM, this.value = "";
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Handles `oninput` event on the `<input>`.
|
|
36
|
-
*
|
|
37
|
-
* @param event The event.
|
|
38
|
-
* @param event.target The event target.
|
|
39
|
-
*/
|
|
40
|
-
_handleInput({ target: c }) {
|
|
41
|
-
const { value: i } = c;
|
|
42
|
-
this.value = i;
|
|
43
|
-
const { eventSelect: a } = this.constructor;
|
|
44
|
-
this.dispatchEvent(new CustomEvent(a, {
|
|
45
|
-
bubbles: !0,
|
|
46
|
-
composed: !0,
|
|
47
|
-
detail: {
|
|
48
|
-
value: i
|
|
49
|
-
}
|
|
50
|
-
}));
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* @param element The parent element containing pseudo `<optgroup>`/`<option>`.
|
|
54
|
-
* @returns The template containing child `<optgroup>`/`<option>` that will be rendered to shadow DOM.
|
|
55
|
-
*/
|
|
56
|
-
_renderItems(c) {
|
|
57
|
-
const { selectorItem: i, selectorLeafItem: a } = this.constructor;
|
|
58
|
-
return o`
|
|
59
|
-
${P(c.childNodes, (d) => d.nodeType === Node.ELEMENT_NODE && d.matches(i)).map((d) => {
|
|
60
|
-
const r = d.hasAttribute("disabled"), n = d.getAttribute("label"), b = d.hasAttribute("selected"), p = d.getAttribute("value"), { textContent: f } = d;
|
|
61
|
-
return d.matches(a) ? o`
|
|
62
|
-
<option
|
|
63
|
-
class="${e}--select-option"
|
|
64
|
-
?disabled="${r}"
|
|
65
|
-
label="${j(n)}"
|
|
66
|
-
?selected="${b}"
|
|
67
|
-
value="${$(p)}">
|
|
68
|
-
${f}
|
|
69
|
-
</option>
|
|
70
|
-
` : o`
|
|
71
|
-
<optgroup
|
|
72
|
-
class="${e}--select-optgroup"
|
|
73
|
-
?disabled="${r}"
|
|
74
|
-
label="${$(n)}">
|
|
75
|
-
${this._renderItems(d)}
|
|
76
|
-
</optgroup>
|
|
77
|
-
`;
|
|
78
|
-
})}
|
|
79
|
-
`;
|
|
80
|
-
}
|
|
81
|
-
_handleFormdata(c) {
|
|
82
|
-
const { formData: i } = c, { disabled: a, name: d, value: r } = this;
|
|
83
|
-
a || i.append(d, r);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Handles `slotchange` event.
|
|
87
|
-
*/
|
|
88
|
-
_handleAILabelSlotChange({ target: c }) {
|
|
89
|
-
const i = c.assignedNodes().filter((a) => a.matches !== void 0 ? a.matches(this.constructor.aiLabelItem) || // remove reference to slug in v12
|
|
90
|
-
a.matches(this.constructor.slugItem) : !1);
|
|
91
|
-
this._hasAILabel = !!i, this.setAttribute("slug", `${this._hasAILabel}`), i[0].setAttribute("size", "mini"), this.requestUpdate();
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* The count of child `<option>`s.
|
|
95
|
-
* If the placeholder is in effect, it includes the `<option>` for the placeholder.
|
|
96
|
-
*/
|
|
97
|
-
get length() {
|
|
98
|
-
return this._selectNode.length;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* The child `<option>`s.
|
|
102
|
-
*/
|
|
103
|
-
get options() {
|
|
104
|
-
return this._selectNode.options;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* This form control's type.
|
|
108
|
-
*/
|
|
109
|
-
get type() {
|
|
110
|
-
return this._selectNode.type;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* `true` to enable multiple selection.
|
|
114
|
-
*/
|
|
115
|
-
get multiple() {
|
|
116
|
-
return !1;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* The selected index.
|
|
120
|
-
*/
|
|
121
|
-
get selectedIndex() {
|
|
122
|
-
var c;
|
|
123
|
-
return (c = this._selectNode) === null || c === void 0 ? void 0 : c.selectedIndex;
|
|
124
|
-
}
|
|
125
|
-
set selectedIndex(c) {
|
|
126
|
-
this._selectNode.selectedIndex = c, this.value = this._selectNode.value;
|
|
127
|
-
}
|
|
128
|
-
connectedCallback() {
|
|
129
|
-
super.connectedCallback(), this._observerMutation = new MutationObserver(this._handleMutation), this._observerMutation.observe(this, {
|
|
130
|
-
attributes: !0,
|
|
131
|
-
childList: !0,
|
|
132
|
-
subtree: !0
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
disconnectedCallback() {
|
|
136
|
-
this._observerMutation && (this._observerMutation.disconnect(), this._observerMutation = null), super.disconnectedCallback();
|
|
137
|
-
}
|
|
138
|
-
updated(c) {
|
|
139
|
-
var i, a, d, r, n, b, p, f, h, u;
|
|
140
|
-
if (c.has("value")) {
|
|
141
|
-
const { value: g, _placeholderItemValue: x } = this, _ = (d = (i = this._selectedOptionNodes) === null || i === void 0 ? void 0 : i[((a = this._selectedOptionNodes) === null || a === void 0 ? void 0 : a.length) - 1]) === null || d === void 0 ? void 0 : d.value;
|
|
142
|
-
g ? this._selectNode.value = g : _ ? this._selectNode.value = _ : this._selectNode.value = x;
|
|
143
|
-
}
|
|
144
|
-
const v = (r = this.shadowRoot) === null || r === void 0 ? void 0 : r.querySelector("slot[name='ai-label']");
|
|
145
|
-
v ? (!((n = v.assignedNodes()) === null || n === void 0) && n.length && ((b = this._inputNode) === null || b === void 0 || b.classList.add(`${e}--select-input-has--ai-label`)), v?.classList.toggle(`${e}--slug--revert`, (p = this.querySelector(`${e}-ai-label`)) === null || p === void 0 ? void 0 : p.hasAttribute("revert-active"))) : (h = (f = this.shadowRoot) === null || f === void 0 ? void 0 : f.querySelector("slot[name='slug']")) === null || h === void 0 || h.classList.toggle(`${e}--slug--revert`, (u = this.querySelector(`${e}-slug`)) === null || u === void 0 ? void 0 : u.hasAttribute("revert-active"));
|
|
146
|
-
}
|
|
147
|
-
render() {
|
|
148
|
-
const { disabled: c, helperText: i, hideLabel: a, inline: d, invalid: r, invalidText: n, labelText: b, placeholder: p, readonly: f, size: h, warn: u, warnText: v, value: g, _placeholderItemValue: x, _handleInput: _, _handleAILabelSlotChange: I } = this, T = k({
|
|
149
|
-
[`${e}--select-input`]: !0,
|
|
150
|
-
[`${e}--select-input--${h}`]: h
|
|
151
|
-
}), C = k({
|
|
152
|
-
[`${e}--label`]: !0,
|
|
153
|
-
[`${e}--label--disabled`]: c,
|
|
154
|
-
[`${e}--visually-hidden`]: a
|
|
155
|
-
}), L = k({
|
|
156
|
-
[`${e}--form__helper-text`]: !0,
|
|
157
|
-
[`${e}--form__helper-text--disabled`]: c
|
|
158
|
-
}), A = i ? o`
|
|
159
|
-
<div id="helper-text" class="${L}">
|
|
160
|
-
<slot name="helper-text"> ${i} </slot>
|
|
161
|
-
</div>
|
|
162
|
-
` : null, S = r || u ? o` <div id="error-text" class="${e}--form-requirement">
|
|
163
|
-
${r ? n : v}
|
|
164
|
-
</div>` : null;
|
|
165
|
-
let w;
|
|
166
|
-
r || u ? w = "error-text" : i && (w = "helper-text");
|
|
167
|
-
const N = o`
|
|
168
|
-
<select
|
|
169
|
-
id="input"
|
|
170
|
-
class="${T}"
|
|
171
|
-
?disabled="${c}"
|
|
172
|
-
aria-readonly="${String(!!f)}"
|
|
173
|
-
aria-invalid="${String(!!r)}"
|
|
174
|
-
aria-describedby="${$(w)}"
|
|
175
|
-
@input="${_}">
|
|
176
|
-
${!p || g ? void 0 : o`
|
|
177
|
-
<option
|
|
178
|
-
disabled
|
|
179
|
-
hidden
|
|
180
|
-
class="${e}--select-option"
|
|
181
|
-
value="${x}">
|
|
182
|
-
${p}
|
|
183
|
-
</option>
|
|
184
|
-
`}
|
|
185
|
-
${this._renderItems(this)}
|
|
186
|
-
</select>
|
|
187
|
-
${z(O, {
|
|
188
|
-
class: `${e}--select__arrow`,
|
|
189
|
-
"aria-hidden": "true"
|
|
190
|
-
})}
|
|
191
|
-
<slot
|
|
192
|
-
name="ai-label"
|
|
193
|
-
style="--${e}-show-before: ${u || r ? "block" : "none"}"
|
|
194
|
-
@slotchange=${I}></slot>
|
|
195
|
-
<slot name="slug" @slotchange=${I}></slot>
|
|
196
|
-
${r ? z(R, {
|
|
197
|
-
class: `${e}--select__invalid-icon`
|
|
198
|
-
}) : void 0}
|
|
199
|
-
${!r && u ? z(X, {
|
|
200
|
-
class: `${e}--select__invalid-icon ${e}--select__invalid-icon--warning`
|
|
201
|
-
}) : null}
|
|
202
|
-
`;
|
|
203
|
-
return o`
|
|
204
|
-
<label class="${C}" for="input">
|
|
205
|
-
<slot name="label-text"> ${b} </slot>
|
|
206
|
-
</label>
|
|
207
|
-
|
|
208
|
-
${d ? o`<div
|
|
209
|
-
class="${e}--select-input--inline__wrapper"
|
|
210
|
-
?data-invalid="${r}">
|
|
211
|
-
<div
|
|
212
|
-
class="${e}--select-input__wrapper"
|
|
213
|
-
?data-invalid="${r}">
|
|
214
|
-
${N}
|
|
215
|
-
</div>
|
|
216
|
-
</div>` : o`<div
|
|
217
|
-
class="${e}--select-input__wrapper"
|
|
218
|
-
?data-invalid="${r}">
|
|
219
|
-
${N}
|
|
220
|
-
</div> `}
|
|
221
|
-
${S || A}
|
|
222
|
-
`;
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* A selector selecting child pseudo `<optgroup>`/`<option>`.
|
|
226
|
-
*/
|
|
227
|
-
static get selectorItem() {
|
|
228
|
-
return `${e}-select-item-group,${e}-select-item`;
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* A selector selecting child pseudo `<option>`.
|
|
232
|
-
*/
|
|
233
|
-
static get selectorLeafItem() {
|
|
234
|
-
return `${e}-select-item`;
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
* A selector that will return the slug item.
|
|
238
|
-
*
|
|
239
|
-
* remove in v12
|
|
240
|
-
*/
|
|
241
|
-
static get slugItem() {
|
|
242
|
-
return `${e}-slug`;
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* A selector that will return the AI Label item.
|
|
246
|
-
*/
|
|
247
|
-
static get aiLabelItem() {
|
|
248
|
-
return `${e}-ai-label`;
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* The name of the custom event fired after item is selected.
|
|
252
|
-
*/
|
|
253
|
-
static get eventSelect() {
|
|
254
|
-
return `${e}-select-selected`;
|
|
255
|
-
}
|
|
256
|
-
};
|
|
257
|
-
t.shadowRootOptions = Object.assign(Object.assign({}, q.shadowRootOptions), { delegatesFocus: !0 });
|
|
258
|
-
t.styles = Z;
|
|
259
|
-
s([
|
|
260
|
-
M("select")
|
|
261
|
-
], t.prototype, "_selectNode", void 0);
|
|
262
|
-
s([
|
|
263
|
-
M("#input")
|
|
264
|
-
], t.prototype, "_inputNode", void 0);
|
|
265
|
-
s([
|
|
266
|
-
Y(`.${e}--select-option[selected]`)
|
|
267
|
-
], t.prototype, "_selectedOptionNodes", void 0);
|
|
268
|
-
s([
|
|
269
|
-
l({ type: Boolean })
|
|
270
|
-
], t.prototype, "autofocus", void 0);
|
|
271
|
-
s([
|
|
272
|
-
l({ type: Boolean, reflect: !0 })
|
|
273
|
-
], t.prototype, "disabled", void 0);
|
|
274
|
-
s([
|
|
275
|
-
l({ attribute: "helper-text" })
|
|
276
|
-
], t.prototype, "helperText", void 0);
|
|
277
|
-
s([
|
|
278
|
-
l({ type: Boolean, attribute: "hide-label" })
|
|
279
|
-
], t.prototype, "hideLabel", void 0);
|
|
280
|
-
s([
|
|
281
|
-
l()
|
|
282
|
-
], t.prototype, "id", void 0);
|
|
283
|
-
s([
|
|
284
|
-
l({ type: Boolean, reflect: !0 })
|
|
285
|
-
], t.prototype, "invalid", void 0);
|
|
286
|
-
s([
|
|
287
|
-
l({ attribute: "invalid-text" })
|
|
288
|
-
], t.prototype, "invalidText", void 0);
|
|
289
|
-
s([
|
|
290
|
-
l({ type: Boolean, reflect: !0 })
|
|
291
|
-
], t.prototype, "warn", void 0);
|
|
292
|
-
s([
|
|
293
|
-
l({ attribute: "warn-text" })
|
|
294
|
-
], t.prototype, "warnText", void 0);
|
|
295
|
-
s([
|
|
296
|
-
l({ attribute: "label-text" })
|
|
297
|
-
], t.prototype, "labelText", void 0);
|
|
298
|
-
s([
|
|
299
|
-
l({ type: Boolean, reflect: !0 })
|
|
300
|
-
], t.prototype, "inline", void 0);
|
|
301
|
-
s([
|
|
302
|
-
l({ type: Boolean })
|
|
303
|
-
], t.prototype, "multiple", null);
|
|
304
|
-
s([
|
|
305
|
-
l()
|
|
306
|
-
], t.prototype, "name", void 0);
|
|
307
|
-
s([
|
|
308
|
-
l()
|
|
309
|
-
], t.prototype, "pattern", void 0);
|
|
310
|
-
s([
|
|
311
|
-
l({ reflect: !0 })
|
|
312
|
-
], t.prototype, "placeholder", void 0);
|
|
313
|
-
s([
|
|
314
|
-
l({ type: Boolean, reflect: !0 })
|
|
315
|
-
], t.prototype, "readonly", void 0);
|
|
316
|
-
s([
|
|
317
|
-
l({ type: Boolean, reflect: !0 })
|
|
318
|
-
], t.prototype, "required", void 0);
|
|
319
|
-
s([
|
|
320
|
-
l({ attribute: "required-validity-message" })
|
|
321
|
-
], t.prototype, "requiredValidityMessage", void 0);
|
|
322
|
-
s([
|
|
323
|
-
l({ type: Number })
|
|
324
|
-
], t.prototype, "selectedIndex", null);
|
|
325
|
-
s([
|
|
326
|
-
l({ reflect: !0 })
|
|
327
|
-
], t.prototype, "size", void 0);
|
|
328
|
-
s([
|
|
329
|
-
l({ reflect: !0 })
|
|
330
|
-
], t.prototype, "value", void 0);
|
|
331
|
-
t = s([
|
|
332
|
-
B(`${e}-select`)
|
|
333
|
-
], t);
|
|
334
|
-
let m = class extends q {
|
|
335
|
-
constructor() {
|
|
336
|
-
super(...arguments), this.disabled = !1, this.label = "", this.selected = !1, this.value = "";
|
|
337
|
-
}
|
|
338
|
-
};
|
|
339
|
-
s([
|
|
340
|
-
l({ type: Boolean, reflect: !0 })
|
|
341
|
-
], m.prototype, "disabled", void 0);
|
|
342
|
-
s([
|
|
343
|
-
l({ reflect: !0 })
|
|
344
|
-
], m.prototype, "label", void 0);
|
|
345
|
-
s([
|
|
346
|
-
l({ type: Boolean, reflect: !0 })
|
|
347
|
-
], m.prototype, "selected", void 0);
|
|
348
|
-
s([
|
|
349
|
-
l({ reflect: !0 })
|
|
350
|
-
], m.prototype, "value", void 0);
|
|
351
|
-
m = s([
|
|
352
|
-
B(`${e}-select-item`)
|
|
353
|
-
], m);
|
|
354
|
-
export {
|
|
355
|
-
Z as s
|
|
356
|
-
};
|