@trintel/zooy 1.0.16 → 1.0.20
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/dist/chunks/16-B2HVhDIW.js +1 -0
- package/dist/chunks/{16-Drl9-5Gn.js → 16-B9Ad4Fob.js} +2 -4
- package/dist/chunks/{16-CqC9427V.js → 16-BXsOcjPx.js} +2 -4
- package/dist/chunks/16-BZCBqUx6.js +1 -0
- package/dist/chunks/16-BmOXGjZf.js +1 -0
- package/dist/chunks/{16-BTonF5Je.js → 16-BsQdCz_w.js} +2 -4
- package/dist/chunks/16-C-Rp3Nso.js +1 -0
- package/dist/chunks/{16-BiShwKPX.js → 16-C36sVk5F.js} +2 -4
- package/dist/chunks/16-CZycT1I8.js +1 -0
- package/dist/chunks/16-Ce_hDgPW.js +1 -0
- package/dist/chunks/{16-CSWwhDUY.js → 16-CinLDpNC.js} +2 -4
- package/dist/chunks/16-Cj0hOjaI.js +1 -0
- package/dist/chunks/{16-8pr5mbIO.js → 16-Cx-PCMJJ.js} +2 -4
- package/dist/chunks/16-D8XFc44J.js +110 -0
- package/dist/chunks/16-DVx7Niko.js +33 -0
- package/dist/chunks/16-DZJZDJYY.js +1 -0
- package/dist/chunks/{16-BFJN6B6d.js → 16-DoCnqtvj.js} +4 -8
- package/dist/chunks/{16-CDRTWf-C.js → 16-DyCV3lkl.js} +2 -4
- package/dist/chunks/{16-D3Ol0pdg.js → 16-SwMpxJpB.js} +2 -4
- package/dist/chunks/16-jVjxC8Bu.js +1 -0
- package/dist/chunks/16-ma2Q_204.js +1 -0
- package/dist/chunks/16-qZ3FOIw0.js +1 -0
- package/dist/chunks/{20-CQLnFcRb.js → 20-BwzzGcZC.js} +27 -31
- package/dist/chunks/20-CqNSki3g.js +1 -0
- package/dist/chunks/accordion-0mybViUv.js +236 -0
- package/dist/chunks/accordion-CvcaulG8.js +45 -0
- package/dist/chunks/badge-indicator-BUdDkz6Z.js +18 -0
- package/dist/chunks/badge-indicator-DuYbJV5o.js +1 -0
- package/dist/chunks/breadcrumb-CYKgjbdB.js +19 -0
- package/dist/chunks/breadcrumb-DB0PkiBX.js +140 -0
- package/dist/chunks/button-1g5b3tWS.js +268 -0
- package/dist/chunks/button-BKj8189A.js +4 -0
- package/dist/chunks/button-DAOoyQ8b.js +67 -0
- package/dist/chunks/button-DfRkC-OR.js +72 -0
- package/dist/chunks/button-skeleton-C0mW3D7v.js +44 -0
- package/dist/chunks/button-skeleton-KFGdwtUH.js +21 -0
- package/dist/chunks/carbon-element-BsPGNbmz.js +1 -0
- package/dist/chunks/{carbon-element-DzDuXiyl.js → carbon-element-Z5iEnFdr.js} +4 -5
- package/dist/chunks/checkbox-CBD8Qmjx.js +37 -0
- package/dist/chunks/checkbox-CewERWBu.js +40 -0
- package/dist/chunks/checkbox-CxxD4wgP.js +176 -0
- package/dist/chunks/checkbox-DKS7fw29.js +168 -0
- package/dist/chunks/class-map-BwUbMyhc.js +1 -0
- package/dist/chunks/{class-map-CgGieoOz.js → class-map-qeLb1IA_.js} +5 -10
- package/dist/chunks/code-snippet-BJhK27fG.js +205 -0
- package/dist/chunks/code-snippet-BUQFh_v7.js +53 -0
- package/dist/chunks/collection-helpers-DPVzwwb8.js +7 -0
- package/dist/chunks/collection-helpers-g7DrZSRQ.js +1 -0
- package/dist/chunks/combo-box-BCOUQHyG.js +39 -0
- package/dist/chunks/combo-box-Bms5blM6.js +325 -0
- package/dist/chunks/combo-button-BSBAvBIW.js +15 -0
- package/dist/chunks/combo-button-Bc3hx7VJ.js +92 -0
- package/dist/chunks/component-library-registry-CJ1Yb_8E.js +98 -0
- package/dist/chunks/component-library-registry-Co7WzTfw.js +1 -0
- package/dist/chunks/content-switcher-BuLZ3Aae.js +1 -0
- package/dist/chunks/content-switcher-DIODRHwc.js +2 -0
- package/dist/chunks/content-switcher-item-0YPDXW1z.js +27 -0
- package/dist/chunks/content-switcher-item-DkRD8k8n.js +272 -0
- package/dist/chunks/copy-button-XD4reiTK.js +121 -0
- package/dist/chunks/copy-button-eI9B8iKc.js +17 -0
- package/dist/chunks/data-table-BImLEoIA.js +1243 -0
- package/dist/chunks/data-table-YLNCQhJx.js +158 -0
- package/dist/chunks/date-picker-CWIAwkKj.js +66 -0
- package/dist/chunks/date-picker-CXjiOkZH.js +2167 -0
- package/dist/chunks/{settings-Bgpv8zuU.js → decorate-Cnz2C5jL.js} +2 -2
- package/dist/chunks/{settings-jvP7vP60.js → decorate-DT052P_1.js} +9 -3
- package/dist/chunks/decorators-CHZSYVOk.js +1 -0
- package/dist/chunks/decorators-CK8kfuyw.js +87 -0
- package/dist/chunks/deep-shadow-contains-BlQ_KSu4.js +15 -0
- package/dist/chunks/deep-shadow-contains-OTuAt1VE.js +1 -0
- package/dist/chunks/directive-CtTB8jL3.js +31 -0
- package/dist/chunks/directive-DWoJrOxt.js +1 -0
- package/dist/chunks/dropdown-Cg9JduA5.js +4 -0
- package/dist/chunks/dropdown-item-CYwutWei.js +677 -0
- package/dist/chunks/dropdown-item-H53zayYk.js +73 -0
- package/dist/chunks/dropdown-jdFaaXEa.js +32 -0
- package/dist/chunks/file-uploader-6FOP_GAh.js +79 -0
- package/dist/chunks/file-uploader-BTk1MqcJ.js +342 -0
- package/dist/chunks/floating-controller-BphaSUPY.js +1012 -0
- package/dist/chunks/floating-controller-C4ivnNvp.js +1 -0
- package/dist/chunks/focus-C1mbe9-i.js +1 -0
- package/dist/chunks/focus-Dpis0wA_.js +13 -0
- package/dist/chunks/{form-DpI-v6DA.js → form-BEmId1-D.js} +6 -6
- package/dist/chunks/form-BmSVyKnm.js +1 -0
- package/dist/chunks/form-DUzcwJO9.js +23 -0
- package/dist/chunks/form-crnrWPVH.js +3 -0
- package/dist/chunks/form-group-Dax3eYD4.js +43 -0
- package/dist/chunks/form-group-dIvuqjw2.js +12 -0
- package/dist/chunks/{index-kjtnf5Y1.js → heading-BbB6mvMG.js} +24 -43
- package/dist/chunks/heading-UN9MO1TN.js +5 -0
- package/dist/chunks/host-listener-BBI7oAFw.js +37 -0
- package/dist/chunks/host-listener-BzjpIsFF.js +1 -0
- package/dist/chunks/host-listener-CtA1D-wt.js +1 -0
- package/dist/chunks/host-listener-DJEakRMM.js +17 -0
- package/dist/chunks/icon-B_S1_kDJ.js +1 -0
- package/dist/chunks/icon-CINf5Icb.js +28 -0
- package/dist/chunks/icon-button-BtE0-oCE.js +1 -0
- package/dist/chunks/icon-button-CACU21y5.js +16 -0
- package/dist/chunks/icon-button-D2STrB4d.js +6 -0
- package/dist/chunks/icon-button-D569kvcZ.js +84 -0
- package/dist/chunks/icon-indicator-BkILzP5o.js +1 -0
- package/dist/chunks/icon-indicator-D_IHkSon.js +445 -0
- package/dist/chunks/icon-loader-B9uu2SkP.js +7 -0
- package/dist/chunks/icon-loader-CZ8MQjNl.js +1 -0
- package/dist/chunks/{icon-loader-utils-DSajrZop.js → icon-loader-utils-BKulYpY6.js} +35 -42
- package/dist/chunks/icon-loader-utils-C-vWa1iy.js +1 -0
- package/dist/chunks/if-defined-C4rY5CqG.js +1 -0
- package/dist/chunks/if-defined-DvPh-nZx.js +5 -0
- package/dist/chunks/if-non-empty-CqihXhSU.js +1 -0
- package/dist/chunks/if-non-empty-DIcT03Pc.js +5 -0
- package/dist/chunks/inline-loading-BIB-coVZ.js +83 -0
- package/dist/chunks/inline-loading-C4MpPNzv.js +12 -0
- package/dist/chunks/link-Bz8knkhr.js +1 -0
- package/dist/chunks/link-CyrOt3Yx.js +24 -0
- package/dist/chunks/link-DlDoN1r0.js +1 -0
- package/dist/chunks/link-MrslkhR7.js +106 -0
- package/dist/chunks/lit-BNk7ncU9.js +3 -0
- package/dist/chunks/lit-uyM4-HrV.js +552 -0
- package/dist/chunks/loading-CUUY8ITP.js +68 -0
- package/dist/chunks/loading-CX_B-YYv.js +1 -0
- package/dist/chunks/loading-SDDHeWof.js +1 -0
- package/dist/chunks/loading-icon-BsInpAjb.js +16 -0
- package/dist/chunks/loading-icon-iCI-C5ZG.js +24 -0
- package/dist/chunks/loading-xKooWNUJ.js +2 -0
- package/dist/chunks/menu-D2kFhclQ.js +56 -0
- package/dist/chunks/menu-DG7s9yXJ.js +682 -0
- package/dist/chunks/modal-C2EEHjQh.js +27 -0
- package/dist/chunks/modal-DEGWE2iT.js +414 -0
- package/dist/chunks/multi-select-BXST526m.js +63 -0
- package/dist/chunks/multi-select-CgDCOBWa.js +384 -0
- package/dist/chunks/notification-BEvb6zBP.js +89 -0
- package/dist/chunks/notification-DLOgEfr6.js +426 -0
- package/dist/chunks/number-input-CRIgLD3k.js +284 -0
- package/dist/chunks/number-input-CiXkIGVz.js +76 -0
- package/dist/chunks/on-D2_IwJad.js +8 -0
- package/dist/chunks/on-_BJL2XbM.js +1 -0
- package/dist/chunks/overflow-menu-BSMy7pUY.js +34 -0
- package/dist/chunks/overflow-menu-CGghH3Mz.js +387 -0
- package/dist/chunks/pagination-4SuGaSx6.js +77 -0
- package/dist/chunks/pagination-D7VFRyN2.js +293 -0
- package/dist/chunks/password-input-Cx2ItLqG.js +68 -0
- package/dist/chunks/password-input-NoZg_DjL.js +210 -0
- package/dist/chunks/popover--wvkgqdv.js +1 -0
- package/dist/chunks/popover-Ca4f4ZCE.js +6 -0
- package/dist/chunks/popover-content-BOaLSQt3.js +15 -0
- package/dist/chunks/popover-content-Bi-ydBhZ.js +277 -0
- package/dist/chunks/{index-D6Eg6Zh4.js → progress-bar-BTHREDPK.js} +96 -17
- package/dist/chunks/progress-bar-p0YwLsuh.js +22 -0
- package/dist/chunks/progress-indicator-BP8k-xTC.js +252 -0
- package/dist/chunks/progress-indicator-cr687P29.js +35 -0
- package/dist/chunks/radio-button-CNOPBUK8.js +396 -0
- package/dist/chunks/radio-button-CU2ngHxo.js +44 -0
- package/dist/chunks/radio-group-manager-iPCcbWB8.js +60 -0
- package/dist/chunks/radio-group-manager-zfU1GLIW.js +1 -0
- package/dist/chunks/register-BXKEXKsC.js +15 -0
- package/dist/chunks/register-Bx7SlevL.js +8198 -0
- package/dist/chunks/register-CnJjkv07.js +1 -0
- package/dist/chunks/register-DqgfpeXv.js +1399 -0
- package/dist/chunks/search-BYWQ80wI.js +4 -0
- package/dist/chunks/search-BgSG9LA9.js +22 -0
- package/dist/chunks/search-CET7sHGW.js +173 -0
- package/dist/chunks/search-CUuRRsTX.js +31 -0
- package/dist/chunks/select-BifhTIxt.js +37 -0
- package/dist/chunks/select-Dh4AFZ2v.js +4 -0
- package/dist/chunks/select-item-BvwJ4Wc-.js +77 -0
- package/dist/chunks/select-item-DLWdT1CE.js +272 -0
- package/dist/chunks/shared-enums-BdDASwq-.js +1 -0
- package/dist/chunks/shared-enums-Cd0vBQFM.js +6 -0
- package/dist/chunks/{index-BxRbUwdY.js → skeleton-placeholder-Czj5sAeI.js} +23 -25
- package/dist/chunks/{index-CTB8Esah.js → skeleton-placeholder-aS-woCl8.js} +1 -1
- package/dist/chunks/skeleton-text-BIHdj7Jx.js +1 -0
- package/dist/chunks/skeleton-text-CZ2bSuDE.js +6 -0
- package/dist/chunks/skeleton-text-DJrow5mh.js +1 -0
- package/dist/chunks/skeleton-text-INjLvc2Y.js +71 -0
- package/dist/chunks/slider-CoHP_UJ2.js +878 -0
- package/dist/chunks/slider-DhIZP9Ms.js +246 -0
- package/dist/chunks/stack-C66k74Zo.js +1 -0
- package/dist/chunks/stack-vrK3hQYJ.js +85 -0
- package/dist/chunks/structured-list-BWjXHFbX.js +19 -0
- package/dist/chunks/{index-C2r3MkpB.js → structured-list-lqhD2RqL.js} +140 -158
- package/dist/chunks/tabs-DixpRz83.js +58 -0
- package/dist/chunks/tabs-DkIGB3cC.js +316 -0
- package/dist/chunks/tag-DpezbQqm.js +93 -0
- package/dist/chunks/tag-rQOD2v2s.js +412 -0
- package/dist/chunks/text-input-BYjtsh0H.js +26 -0
- package/dist/chunks/text-input-C2jRG8Lb.js +72 -0
- package/dist/chunks/text-input-DvygxhCJ.js +4 -0
- package/dist/chunks/text-input-DzSNpORC.js +309 -0
- package/dist/chunks/textarea-BZ34-RaT.js +190 -0
- package/dist/chunks/textarea-Be3YTme6.js +57 -0
- package/dist/chunks/tile-CQ9nINGM.js +524 -0
- package/dist/chunks/tile-DNWy90OU.js +74 -0
- package/dist/chunks/time-picker-CJ_ONMZi.js +267 -0
- package/dist/chunks/time-picker-DK_Lu3AK.js +52 -0
- package/dist/chunks/toggle-BBdusHAx.js +36 -0
- package/dist/chunks/toggle-Bfx6cOUM.js +156 -0
- package/dist/chunks/toggle-tip-CkH7fFX4.js +46 -0
- package/dist/chunks/toggle-tip-DF_GKfoM.js +169 -0
- package/dist/chunks/tooltip-COwRDvmc.js +85 -0
- package/dist/chunks/tooltip-DbGsUOZ8.js +23 -0
- package/dist/chunks/tooltip-content-BDcgoT6r.js +1 -0
- package/dist/chunks/tooltip-content-CkxKIMDr.js +116 -0
- package/dist/chunks/tree-utils-AeNlEhIR.js +1 -0
- package/dist/chunks/tree-utils-D7kpr-Wj.js +266 -0
- package/dist/chunks/tree-view-BmoD8n0Y.js +292 -0
- package/dist/chunks/tree-view-Drfa7DNm.js +82 -0
- package/dist/chunks/unsafe-html-BP-z2WTp.js +26 -0
- package/dist/chunks/unsafe-html-Dego4Lbw.js +1 -0
- package/dist/chunks/validity-CMW3OiFU.js +31 -0
- package/dist/chunks/validity-zT-XWh2t.js +1 -0
- package/dist/chunks/zoo-Bb5HHyrn.js +721 -0
- package/dist/chunks/zoo-C_CBOaHL.js +52 -0
- package/dist/zooy.cjs.js +19 -1
- package/dist/zooy.es.js +1309 -20
- package/package.json +8 -6
- package/dist/chunks/16-30f5E9no.js +0 -1
- package/dist/chunks/16-4Ffg4DOO.js +0 -1
- package/dist/chunks/16-B56B50XT.js +0 -1
- package/dist/chunks/16-BXti8Tu-.js +0 -62
- package/dist/chunks/16-BwDdccyH.js +0 -33
- package/dist/chunks/16-C7Xs-wKv.js +0 -1
- package/dist/chunks/16-CMCRqVYz.js +0 -1
- package/dist/chunks/16-CpNRIuiB.js +0 -1
- package/dist/chunks/16-Cubm18Em.js +0 -1
- package/dist/chunks/16-DH311Of_.js +0 -1
- package/dist/chunks/16-Dlq3qxDh.js +0 -1
- package/dist/chunks/16-Dt4v0bcc.js +0 -1
- package/dist/chunks/16-DylBiJnm.js +0 -1
- package/dist/chunks/20-Df0dXwyx.js +0 -1
- package/dist/chunks/button-D3QMXGP6.js +0 -66
- package/dist/chunks/button-cEVHuDC9.js +0 -272
- package/dist/chunks/button-skeleton-BuDQrAgi.js +0 -21
- package/dist/chunks/button-skeleton-CxKOKEQr.js +0 -49
- package/dist/chunks/carbon-element-CbfPUYRT.js +0 -1
- package/dist/chunks/checkbox-B_b_oOJ5.js +0 -40
- package/dist/chunks/checkbox-CsuLOYIT.js +0 -201
- package/dist/chunks/class-map-BwrbvkxB.js +0 -5
- package/dist/chunks/collection-helpers-Bk68Vaau.js +0 -7
- package/dist/chunks/collection-helpers-afBvMQaC.js +0 -1
- package/dist/chunks/content-switcher-item-C1gdd6k4.js +0 -351
- package/dist/chunks/content-switcher-item-c0sXBGJ-.js +0 -27
- package/dist/chunks/defs-C88lSWuJ.js +0 -1
- package/dist/chunks/defs-Do0OvCKd.js +0 -1165
- package/dist/chunks/directive-Dp4ZTz-F.js +0 -5
- package/dist/chunks/directive-kLG6oqUu.js +0 -27
- package/dist/chunks/dropdown-item-T1jCm1fo.js +0 -69
- package/dist/chunks/dropdown-item-Wc8Nj3w-.js +0 -632
- package/dist/chunks/focus-B3iymVyL.js +0 -1
- package/dist/chunks/focus-WnKGH_xB.js +0 -20
- package/dist/chunks/form-D6Tce4-W.js +0 -1
- package/dist/chunks/host-listener-CN245INl.js +0 -37
- package/dist/chunks/host-listener-DD3oGxvg.js +0 -16
- package/dist/chunks/host-listener-gxrTpxgv.js +0 -1
- package/dist/chunks/host-listener-rUcT_LUW.js +0 -1
- package/dist/chunks/icon-loader-CTCoE5GC.js +0 -7
- package/dist/chunks/icon-loader-C_ze306U.js +0 -1
- package/dist/chunks/icon-loader-utils-DxaQOvJB.js +0 -5
- package/dist/chunks/if-defined-7syLabv-.js +0 -10
- package/dist/chunks/if-defined-CfI-rREy.js +0 -5
- package/dist/chunks/if-non-empty-CsjL_4Ck.js +0 -5
- package/dist/chunks/if-non-empty-Dp8CFMva.js +0 -1
- package/dist/chunks/index-24ucriY6.js +0 -4
- package/dist/chunks/index-5uuGFlSc.js +0 -1
- package/dist/chunks/index-ACUVets3.js +0 -188
- package/dist/chunks/index-B-VOos8Q.js +0 -108
- package/dist/chunks/index-B-qA_3dy.js +0 -52
- package/dist/chunks/index-B0PkuE0I.js +0 -188
- package/dist/chunks/index-B1QlHHpn.js +0 -381
- package/dist/chunks/index-B2dVOGmx.js +0 -458
- package/dist/chunks/index-BEAD73rD.js +0 -17
- package/dist/chunks/index-BEyeMcZh.js +0 -25
- package/dist/chunks/index-BJ3okuBC.js +0 -78
- package/dist/chunks/index-BJNdKx6x.js +0 -23
- package/dist/chunks/index-BL8xz2V4.js +0 -161
- package/dist/chunks/index-BL_Y57_H.js +0 -57
- package/dist/chunks/index-BLxE94Et.js +0 -3
- package/dist/chunks/index-BP0bDhTG.js +0 -2340
- package/dist/chunks/index-BUXzbqzT.js +0 -364
- package/dist/chunks/index-BVDZj6Fh.js +0 -76
- package/dist/chunks/index-BWqDKfds.js +0 -62
- package/dist/chunks/index-BaVSzIan.js +0 -79
- package/dist/chunks/index-BatQ1Mfz.js +0 -25
- package/dist/chunks/index-BefBe_sK.js +0 -19
- package/dist/chunks/index-BekoThXC.js +0 -49
- package/dist/chunks/index-BnOH6_4r.js +0 -103
- package/dist/chunks/index-Bnfa6YBY.js +0 -71
- package/dist/chunks/index-BrtdLKIG.js +0 -455
- package/dist/chunks/index-BtFYirUg.js +0 -44
- package/dist/chunks/index-BtHVJn7K.js +0 -75
- package/dist/chunks/index-Bu7ZAHDG.js +0 -12
- package/dist/chunks/index-ByQl0Dwz.js +0 -9
- package/dist/chunks/index-C-PAoN2Y.js +0 -25
- package/dist/chunks/index-C2-pFkgT.js +0 -406
- package/dist/chunks/index-C5DwYOee.js +0 -89
- package/dist/chunks/index-C5euLddc.js +0 -46
- package/dist/chunks/index-C89rc2i5.js +0 -35
- package/dist/chunks/index-C8IUL9KS.js +0 -22
- package/dist/chunks/index-C99Nf_aK.js +0 -15
- package/dist/chunks/index-CDaECc1q.js +0 -12
- package/dist/chunks/index-CIeU44CB.js +0 -97
- package/dist/chunks/index-CL8Un64Y.js +0 -150
- package/dist/chunks/index-CQ1zfW-Z.js +0 -22
- package/dist/chunks/index-CR6HxSEn.js +0 -15
- package/dist/chunks/index-CSH8oUIN.js +0 -36
- package/dist/chunks/index-CX6f-3xD.js +0 -563
- package/dist/chunks/index-CXSCYGFC.js +0 -452
- package/dist/chunks/index-CZQ45Dj9.js +0 -1
- package/dist/chunks/index-Cc-HBEN2.js +0 -150
- package/dist/chunks/index-Cf3ALdZ-.js +0 -4
- package/dist/chunks/index-Cid77wr3.js +0 -45
- package/dist/chunks/index-ClBPGpC0.js +0 -129
- package/dist/chunks/index-CmXHpydu.js +0 -121
- package/dist/chunks/index-CsaKV6jI.js +0 -511
- package/dist/chunks/index-CvxrJ8vE.js +0 -39
- package/dist/chunks/index-Cy6EogCp.js +0 -429
- package/dist/chunks/index-CyTN35KA.js +0 -424
- package/dist/chunks/index-D3hwHwSn.js +0 -243
- package/dist/chunks/index-D7GY2E-B.js +0 -8
- package/dist/chunks/index-DCqxl0e0.js +0 -26
- package/dist/chunks/index-DDKqKtU4.js +0 -15
- package/dist/chunks/index-DHksIe-y.js +0 -1
- package/dist/chunks/index-DI-PunST.js +0 -224
- package/dist/chunks/index-DIWoAC3Z.js +0 -74
- package/dist/chunks/index-DLWyvZrE.js +0 -21
- package/dist/chunks/index-DLa-KLg_.js +0 -881
- package/dist/chunks/index-DLwGUJd2.js +0 -25
- package/dist/chunks/index-DMIKb9St.js +0 -2
- package/dist/chunks/index-DOfvb1f6.js +0 -79
- package/dist/chunks/index-DQoGlgyI.js +0 -1
- package/dist/chunks/index-DR8UmItB.js +0 -1
- package/dist/chunks/index-DUiT0Yz_.js +0 -57
- package/dist/chunks/index-DW1p-hc-.js +0 -1604
- package/dist/chunks/index-DbPU3mfX.js +0 -368
- package/dist/chunks/index-DgI4_4yz.js +0 -37
- package/dist/chunks/index-DhPg7DCD.js +0 -1
- package/dist/chunks/index-Dj-7w7wt.js +0 -65
- package/dist/chunks/index-DjSdHUmw.js +0 -284
- package/dist/chunks/index-DpCo2duE.js +0 -87
- package/dist/chunks/index-DqLDehu6.js +0 -111
- package/dist/chunks/index-Ds3e0NlH.js +0 -285
- package/dist/chunks/index-DsKNYemW.js +0 -295
- package/dist/chunks/index-DwGKd66A.js +0 -259
- package/dist/chunks/index-FAwjNd-C.js +0 -4
- package/dist/chunks/index-HTZtnvAV.js +0 -81
- package/dist/chunks/index-JUJu4Jsu.js +0 -235
- package/dist/chunks/index-JmiGhJR9.js +0 -1
- package/dist/chunks/index-K3aE8_a_.js +0 -45
- package/dist/chunks/index-LVNWqV95.js +0 -683
- package/dist/chunks/index-NduNWecG.js +0 -88
- package/dist/chunks/index-QOHPo0v8.js +0 -19
- package/dist/chunks/index-TnoTOPwm.js +0 -158
- package/dist/chunks/index-UIEjSWhu.js +0 -58
- package/dist/chunks/index-WQ40q6Fp.js +0 -77
- package/dist/chunks/index-a_56_OA-.js +0 -776
- package/dist/chunks/index-azaqRvif.js +0 -27
- package/dist/chunks/index-dT_yGOFJ.js +0 -1
- package/dist/chunks/index-lOiJBnZe.js +0 -160
- package/dist/chunks/index-sl9jQQX-.js +0 -36
- package/dist/chunks/index-vkfOeAd5.js +0 -260
- package/dist/chunks/index-z2pAR1iR.js +0 -337
- package/dist/chunks/loading-icon-9-L_8sVv.js +0 -16
- package/dist/chunks/loading-icon-CMPQny72.js +0 -24
- package/dist/chunks/main-CXPn-jnk.js +0 -4260
- package/dist/chunks/main-CZIPBRMI.js +0 -88
- package/dist/chunks/on-BPhwbVf3.js +0 -10
- package/dist/chunks/on-XRofyGQh.js +0 -1
- package/dist/chunks/property-BIgIlh0E.js +0 -5
- package/dist/chunks/property-CTp3Zz2M.js +0 -36
- package/dist/chunks/query-CbRg6ZGy.js +0 -23
- package/dist/chunks/query-Dh8joWcT.js +0 -9
- package/dist/chunks/radio-group-manager-DBAEmhDM.js +0 -1
- package/dist/chunks/radio-group-manager-Du5wSOS1.js +0 -102
- package/dist/chunks/register-BgvWUC9m.js +0 -11035
- package/dist/chunks/register-CFDNay1l.js +0 -1
- package/dist/chunks/register-DyYwnhHb.js +0 -2157
- package/dist/chunks/register-HH_4Uw0Q.js +0 -1678
- package/dist/chunks/search-CC47funo.js +0 -241
- package/dist/chunks/search-DB4cjN-w.js +0 -31
- package/dist/chunks/select-item-D6rKfA9z.js +0 -80
- package/dist/chunks/select-item-Dj2fYOn6.js +0 -364
- package/dist/chunks/shared-enums-BJDDuJr7.js +0 -1
- package/dist/chunks/shared-enums-DALKjQ7e.js +0 -7
- package/dist/chunks/state-4XYw1ZN5.js +0 -12
- package/dist/chunks/state-BoZ0xvIn.js +0 -5
- package/dist/chunks/text-input-BUBwT5gK.js +0 -68
- package/dist/chunks/text-input-Dpl3TIYz.js +0 -372
- package/dist/chunks/tooltip-content-BV1N7BVi.js +0 -3
- package/dist/chunks/tooltip-content-UQcG3dlT.js +0 -135
- package/dist/chunks/tslib.es6-B07k2eac.js +0 -1
- package/dist/chunks/tslib.es6-C5gLNDSD.js +0 -160
- package/dist/chunks/unsafe-html-CCJqBESk.js +0 -5
- package/dist/chunks/unsafe-html-KUWR4Xn7.js +0 -27
- package/dist/chunks/validity-BMLNCMmP.js +0 -1
- package/dist/chunks/validity-CTz7ivUd.js +0 -59
|
@@ -1,881 +0,0 @@
|
|
|
1
|
-
import { _ as n } from "./tslib.es6-C5gLNDSD.js";
|
|
2
|
-
import { a as se, i as S, x as _ } from "./main-CXPn-jnk.js";
|
|
3
|
-
import { n as p } from "./property-CTp3Zz2M.js";
|
|
4
|
-
import { e as j } from "./query-CbRg6ZGy.js";
|
|
5
|
-
import { e as M } from "./class-map-CgGieoOz.js";
|
|
6
|
-
import { p as s } from "./settings-jvP7vP60.js";
|
|
7
|
-
import { F as Z } from "./focus-WnKGH_xB.js";
|
|
8
|
-
import { F as re } from "./form-DpI-v6DA.js";
|
|
9
|
-
import { H as de } from "./host-listener-CN245INl.js";
|
|
10
|
-
import { H as K } from "./host-listener-DD3oGxvg.js";
|
|
11
|
-
import { c as O } from "./carbon-element-DzDuXiyl.js";
|
|
12
|
-
import { o as D } from "./if-defined-7syLabv-.js";
|
|
13
|
-
import { i as P } from "./icon-loader-CTCoE5GC.js";
|
|
14
|
-
import { _ as ae } from "./16-BiShwKPX.js";
|
|
15
|
-
import { _ as ne } from "./16-BwDdccyH.js";
|
|
16
|
-
function q(r) {
|
|
17
|
-
var e = typeof r;
|
|
18
|
-
return r != null && (e == "object" || e == "function");
|
|
19
|
-
}
|
|
20
|
-
var le = typeof global == "object" && global && global.Object === Object && global, oe = typeof self == "object" && self && self.Object === Object && self, G = le || oe || Function("return this")(), L = function() {
|
|
21
|
-
return G.Date.now();
|
|
22
|
-
}, ce = /\s/;
|
|
23
|
-
function pe(r) {
|
|
24
|
-
for (var e = r.length; e-- && ce.test(r.charAt(e)); )
|
|
25
|
-
;
|
|
26
|
-
return e;
|
|
27
|
-
}
|
|
28
|
-
var ue = /^\s+/;
|
|
29
|
-
function me(r) {
|
|
30
|
-
return r && r.slice(0, pe(r) + 1).replace(ue, "");
|
|
31
|
-
}
|
|
32
|
-
var E = G.Symbol, J = Object.prototype, he = J.hasOwnProperty, be = J.toString, U = E ? E.toStringTag : void 0;
|
|
33
|
-
function ve(r) {
|
|
34
|
-
var e = he.call(r, U), t = r[U];
|
|
35
|
-
try {
|
|
36
|
-
r[U] = void 0;
|
|
37
|
-
var i = !0;
|
|
38
|
-
} catch {
|
|
39
|
-
}
|
|
40
|
-
var d = be.call(r);
|
|
41
|
-
return i && (e ? r[U] = t : delete r[U]), d;
|
|
42
|
-
}
|
|
43
|
-
var _e = Object.prototype, fe = _e.toString;
|
|
44
|
-
function ge(r) {
|
|
45
|
-
return fe.call(r);
|
|
46
|
-
}
|
|
47
|
-
var xe = "[object Null]", ye = "[object Undefined]", F = E ? E.toStringTag : void 0;
|
|
48
|
-
function we(r) {
|
|
49
|
-
return r == null ? r === void 0 ? ye : xe : F && F in Object(r) ? ve(r) : ge(r);
|
|
50
|
-
}
|
|
51
|
-
function ke(r) {
|
|
52
|
-
return r != null && typeof r == "object";
|
|
53
|
-
}
|
|
54
|
-
var ze = "[object Symbol]";
|
|
55
|
-
function $e(r) {
|
|
56
|
-
return typeof r == "symbol" || ke(r) && we(r) == ze;
|
|
57
|
-
}
|
|
58
|
-
var X = NaN, Me = /^[-+]0x[0-9a-f]+$/i, Ce = /^0b[01]+$/i, Te = /^0o[0-7]+$/i, Ne = parseInt;
|
|
59
|
-
function A(r) {
|
|
60
|
-
if (typeof r == "number")
|
|
61
|
-
return r;
|
|
62
|
-
if ($e(r))
|
|
63
|
-
return X;
|
|
64
|
-
if (q(r)) {
|
|
65
|
-
var e = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
66
|
-
r = q(e) ? e + "" : e;
|
|
67
|
-
}
|
|
68
|
-
if (typeof r != "string")
|
|
69
|
-
return r === 0 ? r : +r;
|
|
70
|
-
r = me(r);
|
|
71
|
-
var t = Ce.test(r);
|
|
72
|
-
return t || Te.test(r) ? Ne(r.slice(2), t ? 2 : 8) : Me.test(r) ? X : +r;
|
|
73
|
-
}
|
|
74
|
-
var Ue = "Expected a function", Se = Math.max, Ie = Math.min;
|
|
75
|
-
function qe(r, e, t) {
|
|
76
|
-
var i, d, a, o, l, c, h = 0, b = !1, y = !1, w = !0;
|
|
77
|
-
if (typeof r != "function")
|
|
78
|
-
throw new TypeError(Ue);
|
|
79
|
-
e = A(e) || 0, q(t) && (b = !!t.leading, y = "maxWait" in t, a = y ? Se(A(t.maxWait) || 0, e) : a, w = "trailing" in t ? !!t.trailing : w);
|
|
80
|
-
function f(v) {
|
|
81
|
-
var z = i, C = d;
|
|
82
|
-
return i = d = void 0, h = v, o = r.apply(C, z), o;
|
|
83
|
-
}
|
|
84
|
-
function k(v) {
|
|
85
|
-
return h = v, l = setTimeout(g, e), b ? f(v) : o;
|
|
86
|
-
}
|
|
87
|
-
function $(v) {
|
|
88
|
-
var z = v - c, C = v - h, N = e - z;
|
|
89
|
-
return y ? Ie(N, a - C) : N;
|
|
90
|
-
}
|
|
91
|
-
function m(v) {
|
|
92
|
-
var z = v - c, C = v - h;
|
|
93
|
-
return c === void 0 || z >= e || z < 0 || y && C >= a;
|
|
94
|
-
}
|
|
95
|
-
function g() {
|
|
96
|
-
var v = L();
|
|
97
|
-
if (m(v))
|
|
98
|
-
return I(v);
|
|
99
|
-
l = setTimeout(g, $(v));
|
|
100
|
-
}
|
|
101
|
-
function I(v) {
|
|
102
|
-
return l = void 0, w && i ? f(v) : (i = d = void 0, o);
|
|
103
|
-
}
|
|
104
|
-
function B() {
|
|
105
|
-
l !== void 0 && clearTimeout(l), h = 0, i = c = d = l = void 0;
|
|
106
|
-
}
|
|
107
|
-
function R() {
|
|
108
|
-
return l === void 0 ? o : I(L());
|
|
109
|
-
}
|
|
110
|
-
function T() {
|
|
111
|
-
var v = L(), z = m(v);
|
|
112
|
-
if (i = arguments, d = this, c = v, z) {
|
|
113
|
-
if (l === void 0)
|
|
114
|
-
return k(c);
|
|
115
|
-
if (y)
|
|
116
|
-
return clearTimeout(l), l = setTimeout(g, e), f(c);
|
|
117
|
-
}
|
|
118
|
-
return l === void 0 && (l = setTimeout(g, e)), o;
|
|
119
|
-
}
|
|
120
|
-
return T.cancel = B, T.flush = R, T;
|
|
121
|
-
}
|
|
122
|
-
var Ee = "Expected a function";
|
|
123
|
-
function W(r, e, t) {
|
|
124
|
-
var i = !0, d = !0;
|
|
125
|
-
if (typeof r != "function")
|
|
126
|
-
throw new TypeError(Ee);
|
|
127
|
-
return q(t) && (i = "leading" in t ? !!t.leading : i, d = "trailing" in t ? !!t.trailing : d), qe(r, e, {
|
|
128
|
-
leading: i,
|
|
129
|
-
maxWait: e,
|
|
130
|
-
trailing: d
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
var V = se(['.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 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{color:var(--cds-text-secondary,#525252);display:inline-block;font-weight:var(--cds-label-01-font-weight,400);font-weight:400;line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin-block-end:.5rem;vertical-align:baseline}.cds--label,.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label .cds--toggletip-label{font-weight:var(--cds-label-01-font-weight,400);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{box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;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{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;cursor:pointer;display:inline-block;inline-size:100%;padding:0;text-align:start}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger{align-items:center;display:flex;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);justify-content:center;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.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);border:none;box-shadow:none;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}}.cds--label.cds--skeleton{block-size:.875rem;inline-size:4.6875rem}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,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{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 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--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--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--layout--size-xs{--cds-layout-size-height-context:var(--cds-layout-size-height-xs,1.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-xs{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xs,1.5rem))}.cds--layout-constraint--size__min-xs{--cds-layout-size-height-min:var(--cds-layout-size-height-xs,1.5rem)}.cds--layout-constraint--size__max-xs{--cds-layout-size-height-max:var(--cds-layout-size-height-xs,1.5rem)}.cds--layout--size-sm{--cds-layout-size-height-context:var(--cds-layout-size-height-sm,2rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-sm{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-sm,2rem))}.cds--layout-constraint--size__min-sm{--cds-layout-size-height-min:var(--cds-layout-size-height-sm,2rem)}.cds--layout-constraint--size__max-sm{--cds-layout-size-height-max:var(--cds-layout-size-height-sm,2rem)}.cds--layout--size-md{--cds-layout-size-height-context:var(--cds-layout-size-height-md,2.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-md{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-md,2.5rem))}.cds--layout-constraint--size__min-md{--cds-layout-size-height-min:var(--cds-layout-size-height-md,2.5rem)}.cds--layout-constraint--size__max-md{--cds-layout-size-height-max:var(--cds-layout-size-height-md,2.5rem)}.cds--layout--size-lg{--cds-layout-size-height-context:var(--cds-layout-size-height-lg,3rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-lg{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-lg,3rem))}.cds--layout-constraint--size__min-lg{--cds-layout-size-height-min:var(--cds-layout-size-height-lg,3rem)}.cds--layout-constraint--size__max-lg{--cds-layout-size-height-max:var(--cds-layout-size-height-lg,3rem)}.cds--layout--size-xl{--cds-layout-size-height-context:var(--cds-layout-size-height-xl,4rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xl,4rem))}.cds--layout-constraint--size__min-xl{--cds-layout-size-height-min:var(--cds-layout-size-height-xl,4rem)}.cds--layout-constraint--size__max-xl{--cds-layout-size-height-max:var(--cds-layout-size-height-xl,4rem)}.cds--layout--size-2xl{--cds-layout-size-height-context:var(--cds-layout-size-height-2xl,5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-2xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-2xl,5rem))}.cds--layout-constraint--size__min-2xl{--cds-layout-size-height-min:var(--cds-layout-size-height-2xl,5rem)}.cds--layout-constraint--size__max-2xl{--cds-layout-size-height-max:var(--cds-layout-size-height-2xl,5rem)}.cds--layout--density-condensed{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-condensed,0.5rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds--layout-constraint--density__default-condensed{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-condensed,0.5rem))}.cds--layout-constraint--density__min-condensed{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds--layout-constraint--density__max-condensed{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds--layout--density-normal{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-normal,1rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds--layout-constraint--density__default-normal{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-normal,1rem))}.cds--layout-constraint--density__min-normal{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-normal,1rem)}.cds--layout-constraint--density__max-normal{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-normal,1rem)}:root{--cds-layout-size-height-xs:1.5rem;--cds-layout-size-height-sm:2rem;--cds-layout-size-height-md:2.5rem;--cds-layout-size-height-lg:3rem;--cds-layout-size-height-xl:4rem;--cds-layout-size-height-2xl:5rem;--cds-layout-size-height-min:0px;--cds-layout-size-height-max:999999999px;--cds-layout-density-padding-inline-condensed:0.5rem;--cds-layout-density-padding-inline-normal:1rem;--cds-layout-density-padding-inline-min:0px;--cds-layout-density-padding-inline-max:999999999px}.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}.cds--text-input{--cds-layout-size-height-local:clamp(max(var(--cds-layout-size-height-min),var(--cds-layout-size-height-sm)),var(--cds-layout-size-height,var(--cds-layout-size-height-md)),min(var(--cds-layout-size-height-max),var(--cds-layout-size-height-lg)));--cds-layout-density-padding-inline-local:clamp(var(--cds-layout-density-padding-inline-min),var(--cds-layout-density-padding-inline,var(--cds-layout-density-padding-inline-normal)),var(--cds-layout-density-padding-inline-max));border:0;box-sizing:border-box;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--text-input *,.cds--text-input :after,.cds--text-input :before{box-sizing:inherit}.cds--text-input{background-color:var(--cds-field);block-size:var(--cds-layout-size-height-local);border:none;border-block-end:1px solid var(--cds-border-strong);color:var(--cds-text-primary,#161616);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);outline:2px solid transparent;outline-offset:-2px;padding:0 var(--cds-layout-density-padding-inline-local);transition:background-color 70ms cubic-bezier(.2,0,.38,.9),outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--text-input:active,.cds--text-input:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--text-input:active,.cds--text-input:focus{outline-style:dotted}}.cds--text-input-wrapper svg[hidden]{display:none}.cds--password-input{padding-inline-end:2.5rem}.cds--text-input--sm.cds--password-input{padding-inline-end:2rem}.cds--text-input--lg.cds--password-input{padding-inline-end:3rem}.cds--text-input::-moz-placeholder{color:var(--cds-text-placeholder,hsla(0,0%,9%,.4));opacity:1}.cds--text-input::placeholder{color:var(--cds-text-placeholder,hsla(0,0%,9%,.4));opacity:1}.cds--text-input--light{background-color:var(--cds-field-02,#fff)}.cds--text-input__field-wrapper{display:flex;inline-size:100%;position:relative}.cds--text-input__invalid-icon{position:absolute;fill:var(--cds-support-error,#da1e28);inset-block-start:50%;inset-inline-end:1rem;transform:translateY(-50%)}.cds--text-input__invalid-icon--warning{fill:var(--cds-support-warning,#f1c21b)}.cds--text-input__invalid-icon--warning path:first-of-type{fill:#000;opacity:1}.cds--text-input--password__visibility{align-items:center;display:inline-flex;overflow:visible;position:relative}.cds--text-input--password__visibility:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.cds--text-input--password__visibility:focus{outline-style:dotted}}.cds--text-input--password__visibility{cursor:pointer}.cds--text-input--password__visibility:focus{outline:1px solid transparent}.cds--text-input--password__visibility:focus svg{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.cds--text-input--password__visibility:focus svg{outline-style:dotted}}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after,.cds--text-input--password__visibility:before{align-items:center;display:flex;opacity:0;pointer-events:none;position:absolute;z-index:6000}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after,.cds--text-input--password__visibility:before{display:inline-block}}.cds--text-input--password__visibility:after,.cds--text-input--password__visibility:before{transition:opacity 70ms cubic-bezier(.2,0,.38,.9)}@media screen and (prefers-reduced-motion:reduce){.cds--text-input--password__visibility:after,.cds--text-input--password__visibility:before{transition:none}}.cds--text-input--password__visibility.cds--tooltip--a11y:after,.cds--text-input--password__visibility.cds--tooltip--a11y:before{transition:none}.cds--text-input--password__visibility:before{block-size:0;border-style:solid;content:"";inline-size:0}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text{box-sizing:content-box;color:inherit;opacity:1;white-space:normal;word-break:break-word}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{background-color:var(--cds-background-inverse,#393939);block-size:auto;border-radius:.125rem;box-shadow:0 2px 6px var(--cds-shadow,rgba(0,0,0,.3));color:var(--cds-text-inverse,#fff);font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:400;font-weight:var(--cds-body-compact-01-font-weight,400);inline-size:-moz-max-content;inline-size:max-content;letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);max-inline-size:13rem;min-inline-size:1.5rem;padding:.1875rem 1rem;text-align:start;transform:translateX(-50%);z-index:6000}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{inline-size:auto}}@supports (-ms-accelerator:true){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{inline-size:auto}}@supports (-ms-ime-align:auto){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{inline-size:auto}}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{border:1px solid transparent}}.cds--text-input--password__visibility:after{content:attr(aria-label)}.cds--text-input--password__visibility.cds--tooltip--a11y:after{content:none}.cds--text-input--password__visibility.cds--tooltip--visible:after,.cds--text-input--password__visibility.cds--tooltip--visible:before,.cds--text-input--password__visibility:focus:after,.cds--text-input--password__visibility:focus:before,.cds--text-input--password__visibility:hover:after,.cds--text-input--password__visibility:hover:before{opacity:1}@keyframes cds--tooltip-fade{0%{opacity:0}to{opacity:1}}.cds--text-input--password__visibility.cds--tooltip--visible .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible+.cds--assistive-text,.cds--text-input--password__visibility:focus .cds--assistive-text,.cds--text-input--password__visibility:focus+.cds--assistive-text,.cds--text-input--password__visibility:hover .cds--assistive-text,.cds--text-input--password__visibility:hover+.cds--assistive-text{margin:auto;overflow:visible;clip:auto}.cds--text-input--password__visibility.cds--tooltip--visible .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible+.cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible.cds--tooltip--a11y:before,.cds--text-input--password__visibility:focus .cds--assistive-text,.cds--text-input--password__visibility:focus+.cds--assistive-text,.cds--text-input--password__visibility:focus.cds--tooltip--a11y:before,.cds--text-input--password__visibility:hover .cds--assistive-text,.cds--text-input--password__visibility:hover+.cds--assistive-text,.cds--text-input--password__visibility:hover.cds--tooltip--a11y:before{animation:cds--tooltip-fade 70ms cubic-bezier(.2,0,.38,.9)}.cds--text-input--password__visibility.cds--tooltip--hidden .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--hidden+.cds--assistive-text{margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.cds--text-input--password__visibility.cds--tooltip--hidden.cds--tooltip--a11y:before{animation:none;opacity:0}.cds--text-input--password__visibility .cds--assistive-text:after{block-size:.75rem;content:"";display:block;inline-size:100%;inset-block-start:-.75rem;inset-inline-start:0;position:absolute}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after,.cds--text-input--password__visibility:before{inset-block-end:0;inset-inline-start:50%}.cds--text-input--password__visibility:before{border-color:transparent transparent var(--cds-background-inverse,#393939);border-width:0 .25rem .3125rem;inset-block-end:-.5rem;transform:translate(-50%,100%)}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{inset-block-end:-.8125rem;transform:translate(-50%,100%)}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{align-items:center;background:none;block-size:100%;border:0;cursor:pointer;display:flex;inline-size:2.5rem;inset-inline-end:0;justify-content:center;min-block-size:auto;outline:2px solid transparent;outline-offset:-2px;padding:0;position:absolute;transition:outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--toggle-password-tooltip .cds--popover{inset-inline-start:-2.5rem}.cds--toggle-password-tooltip .cds--popover-content{min-inline-size:2.5rem}.cds--text-input--sm+.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{inline-size:2rem}.cds--text-input--lg+.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{inline-size:3rem}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252);transition:fill 70ms cubic-bezier(.2,0,.38,.9)}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus{outline-style:dotted}}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus svg,.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:hover svg{fill:var(--cds-icon-primary,#161616)}.cds--text-input--invalid,.cds--text-input--warning{padding-inline-end:2.5rem}.cds--text-input--invalid.cds--password-input{padding-inline-end:4rem}.cds--text-input--invalid+.cds--text-input--password__visibility__toggle{inset-inline-end:1rem}.cds--password-input-wrapper .cds--text-input__invalid-icon{inset-inline-end:2.5rem}.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{cursor:not-allowed}.cds--text-input--password__visibility__toggle:disabled.cds--tooltip__trigger svg,.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg,.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg:hover{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}.cds--text-input--password__visibility__toggle:disabled.cds--tooltip__trigger{cursor:default}.cds--text-input--password__visibility__toggle:disabled.cds--tooltip__trigger:hover svg{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}.cds--text-input--password__visibility__toggle:disabled.cds--tooltip__trigger:hover{cursor:default}.cds--text-input__counter-alert{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px}.cds--text-input:disabled{background-color:var(--cds-field);border-block-end:1px solid transparent;color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed;outline:2px solid transparent;outline-offset:-2px;-webkit-text-fill-color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--text-input--light:disabled{background-color:var(--cds-field-02,#fff)}.cds--text-input:disabled::-moz-placeholder{color:var(--cds-text-disabled,hsla(0,0%,9%,.25));opacity:1}.cds--text-input:disabled::placeholder{color:var(--cds-text-disabled,hsla(0,0%,9%,.25));opacity:1}.cds--text-input--invalid{outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--text-input--invalid{outline-style:dotted}}.cds--text-input--invalid{box-shadow:none}.cds--text-input--invalid .cds--text-input--password__visibility__toggle{inset-inline-end:2.5rem}.cds--skeleton.cds--text-input{background:var(--cds-skeleton-background,#e8e8e8);border:none;box-shadow:none;padding:0;pointer-events:none;position:relative}.cds--skeleton.cds--text-input:active,.cds--skeleton.cds--text-input:focus,.cds--skeleton.cds--text-input:hover{border:none;cursor:default;outline:none}.cds--skeleton.cds--text-input: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--skeleton.cds--text-input:before{animation:none}}@media (forced-colors:active),screen and (-ms-high-contrast:active){.cds--skeleton.cds--text-input{background:CanvasText}.cds--skeleton.cds--text-input:before{background:Canvas;forced-color-adjust:none}}.cds--form--fluid .cds--text-input-wrapper{background:var(--cds-field);position:relative;transition:background-color 70ms cubic-bezier(.2,0,.38,.9),outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--form--fluid .cds--label{align-items:center;block-size:1rem;display:flex;inset-block-start:.8125rem;inset-inline-start:1rem;margin:0;position:absolute;z-index:1}.cds--form--fluid .cds--form__helper-text{display:none}.cds--form--fluid .cds--text-input{min-block-size:4rem;padding:2rem 1rem .8125rem}.cds--form--fluid .cds--text-input__divider,.cds--text-input__divider{display:none}.cds--form--fluid .cds--text-input--invalid,.cds--form--fluid .cds--text-input--warning{border-block-end:none}.cds--form--fluid .cds--text-input--invalid+.cds--text-input__divider,.cds--form--fluid .cds--text-input--warning+.cds--text-input__divider{border-color:var(--cds-border-subtle);border-style:solid;border-block-end:none;display:block;margin:0 1rem}.cds--form--fluid .cds--text-input__invalid-icon{inset-block-start:5rem}.cds--form--fluid .cds--text-input__field-wrapper--warning>.cds--text-input--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid{outline:none}.cds--form--fluid .cds--text-input__field-wrapper--warning{border-block-end:1px solid var(--cds-border-strong)}.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:not(:focus){outline-style:dotted}}.cds--form--fluid .cds--text-input__field-wrapper--warning:focus-within,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:focus-within{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--form--fluid .cds--text-input__field-wrapper--warning:focus-within,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:focus-within{outline-style:dotted}}.cds--form--fluid .cds--text-input__field-wrapper--warning>.cds--text-input--warning:focus,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:focus{outline:none}.cds--text-input-wrapper.cds--text-input-wrapper--inline{flex-flow:row wrap}.cds--text-input-wrapper .cds--label--inline{flex:1;margin:.8125rem 0 0;overflow-wrap:break-word;word-break:break-word}.cds--text-input-wrapper .cds--label--inline--sm{margin-block-start:.5625rem}.cds--text-input-wrapper .cds--label--inline--lg{margin-block-start:1.0625rem}.cds--text-input__label-helper-wrapper{flex:2;flex-direction:column;margin-inline-end:1.5rem;max-inline-size:8rem;overflow-wrap:break-word}.cds--text-input-wrapper .cds--form__helper-text--inline{margin-block-start:.125rem}.cds--text-input__field-outer-wrapper{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;inline-size:100%}.cds--text-input__field-outer-wrapper--inline{flex:8;flex-direction:column}.cds--text-input-wrapper--inline .cds--form-requirement{display:block;font-weight:400;max-block-size:12.5rem;overflow:visible}.cds--text-input-wrapper--inline--invalid .cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input-wrapper--readonly,.cds--text-input-wrapper--readonly .cds--text-input{background:transparent;border-block-end-color:var(--cds-border-subtle)}.cds--text-input__field-wrapper .cds--ai-label,.cds--text-input__field-wrapper .cds--slug,.cds--text-input__field-wrapper--decorator .cds--text-input__field-inner-wrapper--decorator>*{inset-block-start:50%;inset-inline-end:1rem;position:absolute;transform:translateY(-50%)}.cds--text-input__field-wrapper--decorator .cds--text-input:has(~.cds--text-input__field-inner-wrapper--decorator .cds--ai-label):not(:has(~.cds--text-input__field-inner-wrapper--decorator .cds--ai-label--revert)),.cds--text-input__field-wrapper--slug .cds--text-input:has(~.cds--ai-label):not(:has(~.cds--ai-label--revert)),.cds--text-input__field-wrapper--slug .cds--text-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--text-input__field-wrapper--decorator .cds--text-input:has(~.cds--text-input__field-inner-wrapper--decorator>*),.cds--text-input__field-wrapper--slug .cds--text-input:has(~.cds--ai-label),.cds--text-input__field-wrapper--slug .cds--text-input:has(~.cds--slug){padding-inline-end:2.5rem}.cds--text-input--invalid:has(~.cds--ai-label),.cds--text-input--invalid:has(~.cds--slug),.cds--text-input--invalid:has(~.cds--text-input__field-inner-wrapper--decorator>*),.cds--text-input--warning:has(~.cds--ai-label),.cds--text-input--warning:has(~.cds--slug),.cds--text-input--warning:has(~.cds--text-input__field-inner-wrapper--decorator>*){padding-inline-end:4rem}.cds--text-input--invalid~.cds--ai-label,.cds--text-input--invalid~.cds--slug,.cds--text-input--invalid~.cds--text-input__field-inner-wrapper--decorator>*,.cds--text-input--warning~.cds--ai-label,.cds--text-input--warning~.cds--slug,.cds--text-input--warning~.cds--text-input__field-inner-wrapper--decorator>*{inset-inline-end:2.5rem}.cds--text-input__field-wrapper--decorator .cds--text-input__field-inner-wrapper--decorator:not(:has(.cds--ai-label))>*{block-size:1rem}.cds--text-input__label-wrapper{display:flex;inline-size:100%;justify-content:space-between}.cds--slider-container{align-items:center;display:flex;gap:1rem;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cds--slider{cursor:pointer;inline-size:100%;max-inline-size:40rem;min-inline-size:12.5rem;padding:1rem 0;position:relative}.cds--slider-container--two-handles .cds--slider{margin-inline:.25rem}.cds--slider__range-label{color:var(--cds-text-primary,#161616);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);white-space:nowrap}.cds--slider__track{block-size:.125rem;inline-size:100%;transform:translateY(-50%)}.cds--slider__track,.cds--slider__track:before{background:var(--cds-border-subtle);position:absolute}.cds--slider__track:before{block-size:.25rem;content:"";display:inline-block;inline-size:.125rem;inset-block-start:-.3125rem;inset-inline-start:50%;transform:translate(-50%)}.cds--slider__filled-track{background:var(--cds-layer-selected-inverse,#161616);block-size:.125rem;inline-size:100%;pointer-events:none;position:absolute;transform:translateY(-50%);transform-origin:left;transition:background .11s cubic-bezier(.2,0,.38,.9)}.cds--slider__thumb-wrapper{block-size:.875rem;inline-size:.875rem;position:absolute;transform:translate(-50%,-50%);z-index:3;--cds-tooltip-padding-inline:0.5rem;--cds-popover-offset:0.5rem}.cds--slider-container--rtl .cds--slider__thumb-wrapper{transform:translate(50%,-50%)}.cds--slider__thumb-wrapper--lower,.cds--slider__thumb-wrapper--upper{block-size:24px;inline-size:16px;--cds-popover-offset:var(--cds-popover-caret-height,0.5rem)}.cds--slider__thumb-wrapper--lower{transform:translate(-100%,-50%)}.cds--slider__thumb-wrapper--lower>.cds--popover>.cds--popover-content{transform:translate(50%,calc(-100% - var(--cds-popover-offset, 0rem)))}.cds--slider__thumb-wrapper--lower>.cds--popover>.cds--popover-caret{inset-inline-start:revert;transform:translate(50%,calc(var(--cds-popover-offset, 0rem)*-1))}.cds--slider-container--rtl .cds--slider__thumb-wrapper--lower{transform:translate(100%,-50%)}.cds--slider-container--rtl .cds--slider__thumb-wrapper--lower>.cds--popover>.cds--popover-content{transform:translateY(calc(-100% - var(--cds-popover-offset, 0rem)))}.cds--slider-container--rtl .cds--slider__thumb-wrapper--lower>.cds--popover>.cds--popover-caret{transform:translate(-50%,calc(var(--cds-popover-offset, 0rem)*-1))}.cds--slider__thumb-wrapper--upper{transform:translateY(-50%)}.cds--slider__thumb-wrapper--upper>.cds--popover>.cds--popover-content{transform:translate(-50%,calc(-100% - var(--cds-popover-offset, 0rem)))}.cds--slider__thumb-wrapper--upper>.cds--popover>.cds--popover-caret{transform:translate(-50%,calc(var(--cds-popover-offset, 0rem)*-1))}.cds--slider-container--rtl .cds--slider__thumb-wrapper--upper{transform:translateY(-50%)}.cds--slider-container--rtl .cds--slider__thumb-wrapper--upper>.cds--popover>.cds--popover-content{transform:translateY(calc(-100% - var(--cds-popover-offset, 0rem)))}.cds--slider-container--rtl .cds--slider__thumb-wrapper--upper>.cds--popover>.cds--popover-caret{transform:translate(50%,calc(var(--cds-popover-offset, 0rem)*-1))}.cds--slider__thumb{background:var(--cds-layer-selected-inverse,#161616);border-radius:50%;box-shadow:inset 0 0 0 1px transparent,inset 0 0 0 2px transparent;inset:0;outline:none;position:absolute;transition:transform .11s cubic-bezier(.2,0,.38,.9),background .11s cubic-bezier(.2,0,.38,.9),box-shadow .11s cubic-bezier(.2,0,.38,.9)}.cds--slider__thumb:hover{transform:scale(1.4286)}.cds--slider__thumb:focus{background-color:var(--cds-interactive,#0f62fe);box-shadow:inset 0 0 0 2px var(--cds-interactive,#0f62fe),inset 0 0 0 3px var(--cds-layer);transform:scale(1.4286)}.cds--slider__thumb:active{box-shadow:inset 0 0 0 2px var(--cds-interactive,#0f62fe);transform:scale(1.4286)}.cds--slider__thumb-icon{fill:var(--cds-layer-selected-inverse,#161616)}.cds--slider__thumb-icon--focus{display:none;fill:var(--cds-interactive,#0f62fe)}.cds--slider__thumb--lower,.cds--slider__thumb--upper{background-color:transparent;border-radius:unset;box-shadow:none;inset:0;position:absolute;transition:none}.cds--slider__thumb--lower:before,.cds--slider__thumb--upper:before{background:var(--cds-background,#fff);block-size:.125rem;content:"";display:block;inline-size:.375rem;inset-block-start:calc(50% - .0625rem);inset-inline-end:0;position:absolute;z-index:-1}.cds--slider__thumb--lower:hover,.cds--slider__thumb--upper:hover{transform:none}.cds--slider__thumb--lower:hover .cds--slider__thumb-icon,.cds--slider__thumb--upper:hover .cds--slider__thumb-icon{fill:var(--cds-text-secondary,#525252)}.cds--slider__thumb--lower:active,.cds--slider__thumb--upper:active{box-shadow:none;transform:none}.cds--slider__thumb--lower:focus,.cds--slider__thumb--upper:focus{background-color:transparent;box-shadow:none;transform:none}.cds--slider__thumb--lower:focus .cds--slider__thumb-icon,.cds--slider__thumb--upper:focus .cds--slider__thumb-icon{display:none;fill:var(--cds-interactive,#0f62fe)}.cds--slider__thumb--lower:focus .cds--slider__thumb-icon--focus,.cds--slider__thumb--upper:focus .cds--slider__thumb-icon--focus{display:block}.cds--slider__thumb--lower:focus:before,.cds--slider__thumb--upper:focus:before{inline-size:100%}.cds--slider__thumb--upper{transform:none}.cds--slider__thumb--upper:before{inset-inline:0 auto}.cds--slider__thumb--upper:active,.cds--slider__thumb--upper:focus,.cds--slider__thumb--upper:hover{transform:none}.cds--slider__input{display:none}.cds--slider-text-input-wrapper{position:relative}.cds--slider-text-input-wrapper--hidden{display:none}.cds--slider-text-input,.cds-slider-text-input{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;block-size:2.5rem;inline-size:4rem}.cds--slider-text-input::-webkit-inner-spin-button,.cds--slider-text-input::-webkit-outer-spin-button,.cds-slider-text-input::-webkit-inner-spin-button,.cds-slider-text-input::-webkit-outer-spin-button{display:none}.cds--slider__thumb-wrapper:focus-within~.cds--slider__filled-track,.cds--slider__thumb:focus~.cds--slider__filled-track{background-color:var(--cds-border-interactive,#0f62fe)}.cds--slider-text-input--warn,.cds--slider-text-input.cds--text-input--invalid{inline-size:6rem;padding-inline-end:3rem}.cds--slider__invalid-icon{position:absolute;fill:var(--cds-support-error,#da1e28);inset-block-start:50%;inset-inline-end:1rem;transform:translateY(-50%)}.cds--slider__validation-msg.cds--form-requirement{display:block;max-block-size:100%;overflow:visible}.cds--slider__validation-msg--invalid{color:var(--cds-text-error,#da1e28)}.cds--slider__invalid-icon.cds--slider__invalid-icon--warning{fill:var(--cds-support-warning,#f1c21b)}.cds--slider__invalid-icon--warning path:first-of-type{fill:#000;opacity:1}.cds--label--disabled~.cds--slider-container>.cds--slider__range-label{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--slider--disabled.cds--slider{cursor:not-allowed}.cds--slider--disabled .cds--slider__thumb{background-color:var(--cds-border-disabled,#c6c6c6)}.cds--slider--disabled .cds--slider__thumb:hover{cursor:not-allowed;transform:none}.cds--slider--disabled .cds--slider__thumb:focus{background-color:var(--cds-border-disabled,#c6c6c6);box-shadow:none;outline:none;transform:none}.cds--slider--disabled .cds--slider__thumb:active{background:var(--cds-border-disabled,#c6c6c6);box-shadow:none;transform:none}.cds--slider--disabled .cds--slider__thumb--lower,.cds--slider--disabled .cds--slider__thumb--upper{background-color:transparent}.cds--slider--disabled .cds--slider__thumb--lower:active,.cds--slider--disabled .cds--slider__thumb--lower:focus,.cds--slider--disabled .cds--slider__thumb--lower:hover,.cds--slider--disabled .cds--slider__thumb--upper:active,.cds--slider--disabled .cds--slider__thumb--upper:focus,.cds--slider--disabled .cds--slider__thumb--upper:hover{background-color:transparent;transform:none}.cds--slider--disabled .cds--slider__thumb--lower .cds--slider__thumb-icon,.cds--slider--disabled .cds--slider__thumb--upper .cds--slider__thumb-icon{fill:var(--cds-border-disabled,#c6c6c6)}.cds--slider--disabled .cds--slider__filled-track,.cds--slider--disabled .cds--slider__thumb:focus~.cds--slider__filled-track,.cds--slider--disabled .cds--slider__track{background-color:var(--cds-border-disabled,#c6c6c6)}.cds--slider--disabled~.cds--form-item .cds--slider-text-input,.cds--slider--disabled~.cds--slider-text-input{background-color:var(--cds-field);border:none;color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed;transition:none}.cds--slider--disabled~.cds--form-item .cds--slider-text-input:active,.cds--slider--disabled~.cds--form-item .cds--slider-text-input:focus,.cds--slider--disabled~.cds--form-item .cds--slider-text-input:hover,.cds--slider--disabled~.cds--slider-text-input:active,.cds--slider--disabled~.cds--slider-text-input:focus,.cds--slider--disabled~.cds--slider-text-input:hover{color:var(--cds-text-disabled,hsla(0,0%,9%,.25));outline:none}.cds--slider--readonly{cursor:default}.cds--slider-container--readonly .cds--slider__thumb{block-size:0;inline-size:0}.cds--slider-container--readonly .cds--slider__thumb:after,.cds--slider-container--readonly .cds--slider__thumb:before{display:none}.cds--slider-container--readonly .cds--slider-text-input{background-color:transparent}.cds--slider__status-msg.cds--form-requirement{display:block;max-block-size:100%;overflow:visible}.cds--slider-container.cds--skeleton .cds--slider__range-label{background:var(--cds-skeleton-background,#e8e8e8);border:none;box-shadow:none;padding:0;pointer-events:none;position:relative}.cds--slider-container.cds--skeleton .cds--slider__range-label:active,.cds--slider-container.cds--skeleton .cds--slider__range-label:focus,.cds--slider-container.cds--skeleton .cds--slider__range-label:hover{border:none;cursor:default;outline:none}.cds--slider-container.cds--skeleton .cds--slider__range-label: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--slider-container.cds--skeleton .cds--slider__range-label:before{animation:none}}@media (forced-colors:active),screen and (-ms-high-contrast:active){.cds--slider-container.cds--skeleton .cds--slider__range-label{background:CanvasText}.cds--slider-container.cds--skeleton .cds--slider__range-label:before{background:Canvas;forced-color-adjust:none}}.cds--slider-container.cds--skeleton .cds--slider__range-label{block-size:.75rem;inline-size:1.25rem}.cds--slider-container.cds--skeleton .cds--slider__track{cursor:default;pointer-events:none}.cds--slider-container.cds--skeleton .cds--slider__thumb-wrapper{inset-inline-start:50%}.cds--slider-container.cds--skeleton .cds--slider__thumb{cursor:default;pointer-events:none}.cds--slider-container.cds--skeleton .cds--slider__thumb-wrapper--lower{inset-inline-start:0}.cds--slider-container.cds--skeleton .cds--slider__thumb-wrapper--upper{inset-inline-start:100%}.cds--popover-container.cds--slider__thumb-wrapper{position:absolute}@media (forced-colors:active),screen and (-ms-high-contrast:active){.cds--slider__thumb{outline:1px solid transparent}.cds--slider__thumb:focus{color:Highlight;outline:1px solid Highlight}.cds--slider__track{outline:1px solid transparent}}:host(cds-slider),:host(cds-slider-skeleton){outline:none;--cds-layout-size-height-xs:1.5rem;--cds-layout-size-height-sm:2rem;--cds-layout-size-height-md:2.5rem;--cds-layout-size-height-lg:3rem;--cds-layout-size-height-xl:4rem;--cds-layout-size-height-2xl:5rem;--cds-layout-size-height-min:0px;--cds-layout-size-height-max:999999999px;--cds-layout-density-padding-inline-condensed:0.5rem;--cds-layout-density-padding-inline-normal:1rem;--cds-layout-density-padding-inline-min:0px;--cds-layout-density-padding-inline-max:999999999px}:host(cds-slider) .cds--slider,:host(cds-slider-skeleton) .cds--slider{transform:rotate(0)}:host(cds-slider) .cds-ce--slider__filled-track-container,:host(cds-slider-skeleton) .cds-ce--slider__filled-track-container{transform:rotate(0)}:host(cds-slider) .cds--slider__thumb,:host(cds-slider-skeleton) .cds--slider__thumb{block-size:.875rem;inline-size:.875rem;inset:inherit;transform:translate(-50%,-50%);z-index:3}:host(cds-slider) .cds--slider__thumb:focus~.cds-ce--slider__filled-track-container .cds--slider__filled-track,:host(cds-slider-skeleton) .cds--slider__thumb:focus~.cds-ce--slider__filled-track-container .cds--slider__filled-track{background-color:var(--cds-interactive,#0f62fe)}:host(cds-slider-input){position:relative}:host(cds-slider-input) input{box-sizing:border-box}:host(cds-slider-input[readonly]) input{background-color:transparent}.cds--slider__thumb-wrapper:focus-within .cds--slider__thumb-icon{display:none}.cds--slider__thumb-wrapper:focus-within .cds--slider__thumb-icon--focus{display:block}.cds--slider__thumb-disabled{pointer-events:none}:host(cds-slider-skeleton) .cds--slider__thumb{inset-inline-start:50%}:host(cds-slider-skeleton) .cds--slider__thumb--lower,:host(cds-slider-skeleton) .cds--slider__thumb--upper{block-size:inherit;inline-size:inherit;inset:initial;inset-inline-start:auto;transform:unset}.cds--slider--readonly .cds--slider__filled-track{background:var(--cds-border-inverse,#161616)}']);
|
|
134
|
-
const Y = {
|
|
135
|
-
Left: -1,
|
|
136
|
-
ArrowLeft: -1,
|
|
137
|
-
Up: -1,
|
|
138
|
-
ArrowUp: -1,
|
|
139
|
-
Right: 1,
|
|
140
|
-
ArrowRight: 1,
|
|
141
|
-
Down: 1,
|
|
142
|
-
ArrowDown: 1
|
|
143
|
-
}, He = 16;
|
|
144
|
-
let u = class extends de(re(Z(S))) {
|
|
145
|
-
constructor() {
|
|
146
|
-
super(...arguments), this._cachedRateUpper = 1, this._cachedRate = 0, this.dragCooldownTimeout = null, this.dragCoolDown = !1, this._max = "100", this._min = "0", this._step = "1", this._stepMultiplier = "4", this._throttledHandlePointermoveImpl = null, this._dragging = !1, this._draggingUpper = !1, this.onDrag = W(this._startDrag, He, {
|
|
147
|
-
leading: !0,
|
|
148
|
-
trailing: !1
|
|
149
|
-
}), this._handlePointermove = (e) => {
|
|
150
|
-
const { disabled: t, _dragging: i, _draggingUpper: d } = this;
|
|
151
|
-
!t && (i || d) && this._throttledHandlePointermoveImpl(e);
|
|
152
|
-
}, this._endDrag = () => {
|
|
153
|
-
this._dragging || this._draggingUpper ? this.dragCoolDown = !0 : this.dragCoolDown = !1, this._dragging ? (this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
154
|
-
bubbles: !0,
|
|
155
|
-
composed: !0,
|
|
156
|
-
detail: {
|
|
157
|
-
value: this.value
|
|
158
|
-
}
|
|
159
|
-
})), this._dragging = !1, this._thumbNode.style.touchAction = "") : this._draggingUpper && (this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
160
|
-
bubbles: !0,
|
|
161
|
-
composed: !0,
|
|
162
|
-
detail: {
|
|
163
|
-
value: this.unstable_valueUpper
|
|
164
|
-
}
|
|
165
|
-
})), this._draggingUpper = !1, this._thumbNodeUpper.style.touchAction = ""), (this._dragging || this._draggingUpper) && (this.dragCooldownTimeout = window.setTimeout(() => {
|
|
166
|
-
this.dragCoolDown = !1;
|
|
167
|
-
}, 100));
|
|
168
|
-
}, this._handleChangeInput = (e) => {
|
|
169
|
-
var t;
|
|
170
|
-
const i = e.target, d = (t = i.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector("input");
|
|
171
|
-
this.isValid = i.tagName === "CDS-SLIDER-INPUT" ? this._getInputValidity(i) : this.isValid, this.warn = this._getInputWarnigState(d);
|
|
172
|
-
const a = e.target.id, { detail: o } = e, { intermediate: l, value: c } = o;
|
|
173
|
-
this.warnText = l ? `The inputted value ${l} was corrected to the nearest allowed digit` : "", l !== c && (a === "upper" ? this.unstable_valueUpper = c : this.value = c);
|
|
174
|
-
const h = a === "upper" ? this.unstable_valueUpper : this.value;
|
|
175
|
-
h !== "" && this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
176
|
-
bubbles: !0,
|
|
177
|
-
composed: !0,
|
|
178
|
-
detail: {
|
|
179
|
-
value: h,
|
|
180
|
-
intermediate: l
|
|
181
|
-
}
|
|
182
|
-
}));
|
|
183
|
-
}, this.disabled = !1, this.required = !1, this.readonly = !1, this.labelText = "", this.maxLabel = "", this.minLabel = "", this.hideLabel = !1, this.formatMaxText = (e, t) => `${e}${t}`, this.formatMinText = (e, t) => `${e}${t}`, this.invalid = !1, this.invalidText = "", this.warn = !1, this.warnText = "", this.hideTextInput = !1;
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* The rate of the thumb position in the track.
|
|
187
|
-
* When we try to set a new value, we adjust the value considering `step` property.
|
|
188
|
-
*/
|
|
189
|
-
get _rate() {
|
|
190
|
-
const { max: e, min: t, value: i } = this;
|
|
191
|
-
if (i) {
|
|
192
|
-
const d = (Math.min(Number(e), Math.max(Number(t), i)) - Number(t)) / (Number(e) - Number(t));
|
|
193
|
-
return this._cachedRate = d, d;
|
|
194
|
-
} else
|
|
195
|
-
return this._cachedRate;
|
|
196
|
-
}
|
|
197
|
-
set _rate(e) {
|
|
198
|
-
const { max: t, min: i, step: d } = this;
|
|
199
|
-
this.value = Number(i) + Math.round((Number(t) - Number(i)) * Math.min(1, Math.max(0, e)) / Number(d)) * Number(d);
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* The rate of the upper thumb position in the track.
|
|
203
|
-
* When we try to set a new value for upper input, we adjust the value considering `step` property.
|
|
204
|
-
*/
|
|
205
|
-
get _rateUpper() {
|
|
206
|
-
const { max: e, min: t, unstable_valueUpper: i } = this;
|
|
207
|
-
if (i) {
|
|
208
|
-
const d = (Math.min(Number(e), Math.max(Number(t), i)) - Number(t)) / (Number(e) - Number(t));
|
|
209
|
-
return this._cachedRateUpper = d, d;
|
|
210
|
-
} else
|
|
211
|
-
return this._cachedRateUpper;
|
|
212
|
-
}
|
|
213
|
-
set _rateUpper(e) {
|
|
214
|
-
const { max: t, min: i, step: d } = this;
|
|
215
|
-
this.unstable_valueUpper = Number(i) + Math.round((Number(t) - Number(i)) * Math.min(1, Math.max(0, e)) / Number(d)) * Number(d);
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* Handles `click` event on the `<label>` to focus on the thumb.
|
|
219
|
-
*/
|
|
220
|
-
_handleClickLabel() {
|
|
221
|
-
var e;
|
|
222
|
-
(e = this._thumbNode) === null || e === void 0 || e.focus();
|
|
223
|
-
}
|
|
224
|
-
_handleFormdata(e) {
|
|
225
|
-
const { formData: t } = e, { disabled: i, name: d, value: a } = this;
|
|
226
|
-
i || t.append(d, String(a));
|
|
227
|
-
}
|
|
228
|
-
/**
|
|
229
|
-
* Handles `keydown` event on the thumb to increase/decrease the value.
|
|
230
|
-
*/
|
|
231
|
-
_handleKeydown(e) {
|
|
232
|
-
const t = e.target.id, { key: i, shiftKey: d } = e;
|
|
233
|
-
if (!this.disabled && !this.readonly && i in Y) {
|
|
234
|
-
const { max: a, min: o, step: l, stepMultiplier: c, value: h, unstable_valueUpper: b } = this, y = Number(a), w = Number(o), f = Number(l), k = Number(c), $ = (d ? (y - w) / k : f) * Y[i];
|
|
235
|
-
if (t == "thumb-upper") {
|
|
236
|
-
const m = (b + $) / f, g = Math.min(y, Math.max(w, ($ >= 0 ? Math.floor(m) : Math.ceil(m)) * f));
|
|
237
|
-
g >= this.value && (this.unstable_valueUpper = g), this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
238
|
-
bubbles: !0,
|
|
239
|
-
composed: !0,
|
|
240
|
-
detail: {
|
|
241
|
-
value: this.unstable_valueUpper,
|
|
242
|
-
intermediate: !1
|
|
243
|
-
}
|
|
244
|
-
}));
|
|
245
|
-
} else {
|
|
246
|
-
const m = (h + $) / f, g = Math.min(y, Math.max(w, ($ >= 0 ? Math.floor(m) : Math.ceil(m)) * f));
|
|
247
|
-
(!this.unstable_valueUpper || g <= this.unstable_valueUpper) && (this.value = g), this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
248
|
-
bubbles: !0,
|
|
249
|
-
composed: !0,
|
|
250
|
-
detail: {
|
|
251
|
-
value: this.value,
|
|
252
|
-
intermediate: !1
|
|
253
|
-
}
|
|
254
|
-
}));
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* Handles `pointerdown` event on the thumb to start dragging.
|
|
260
|
-
*/
|
|
261
|
-
_startDrag(e) {
|
|
262
|
-
if (!this.readonly && !this.disabled) {
|
|
263
|
-
let t = e.target.id;
|
|
264
|
-
if (!t) {
|
|
265
|
-
const i = e.target.nodeName;
|
|
266
|
-
(i == "path" || i == "svg") && (t = e.target.parentElement.closest(".cds--slider__thumb-wrapper").id);
|
|
267
|
-
}
|
|
268
|
-
t === "thumb" ? (this._dragging = !0, this._thumbNode.style.touchAction = "none") : (this._draggingUpper = !0, this._thumbNodeUpper.style.touchAction = "none");
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* Handles `pointerdown` event on the track to update the thumb position and the value as necessary.
|
|
273
|
-
*/
|
|
274
|
-
_handleClick(e) {
|
|
275
|
-
let t = e.target.id;
|
|
276
|
-
if (!t) {
|
|
277
|
-
const i = e.target.nodeName;
|
|
278
|
-
(i == "path" || i == "svg") && (t = e.target.parentElement.closest(".cds--slider__thumb-wrapper").id);
|
|
279
|
-
}
|
|
280
|
-
if (!this.disabled && !this.readonly) {
|
|
281
|
-
const { _trackNode: i } = this, d = (
|
|
282
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452
|
|
283
|
-
i.ownerDocument.defaultView.getComputedStyle(i).getPropertyValue("direction") === "rtl"
|
|
284
|
-
), a = e.clientX, { left: o, width: l } = i.getBoundingClientRect();
|
|
285
|
-
if (t === "thumb-upper")
|
|
286
|
-
this._rateUpper = (d ? o + l - a : a - o) / l, this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
287
|
-
bubbles: !0,
|
|
288
|
-
composed: !0,
|
|
289
|
-
detail: {
|
|
290
|
-
value: this.unstable_valueUpper
|
|
291
|
-
}
|
|
292
|
-
}));
|
|
293
|
-
else if (!this.unstable_valueUpper)
|
|
294
|
-
this._rate = (d ? o + l - a : a - o) / l, this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
295
|
-
bubbles: !0,
|
|
296
|
-
composed: !0,
|
|
297
|
-
detail: {
|
|
298
|
-
value: this.value
|
|
299
|
-
}
|
|
300
|
-
}));
|
|
301
|
-
else if (!this.dragCoolDown) {
|
|
302
|
-
const c = (d ? o + l - a : a - o) / l * 100, h = c > this.value ? c - this.value : this.value - c, b = c > this.unstable_valueUpper ? c - this.unstable_valueUpper : this.unstable_valueUpper - c;
|
|
303
|
-
h > b ? this._rateUpper = c / 100 : h < b ? this._rate = c / 100 : !this._dragging && !this._draggingUpper && h === b && (Math.round(c) > this.unstable_valueUpper ? this._rateUpper = c / 100 : this._rate = c / 100), this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
304
|
-
bubbles: !0,
|
|
305
|
-
composed: !0,
|
|
306
|
-
detail: {
|
|
307
|
-
value: this.value
|
|
308
|
-
}
|
|
309
|
-
}));
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* Updates thumb position and value upon user's `pointermove` gesture.
|
|
315
|
-
*
|
|
316
|
-
* @param event The event.
|
|
317
|
-
*/
|
|
318
|
-
_handlePointermoveImpl(e) {
|
|
319
|
-
const { disabled: t, _dragging: i, _trackNode: d, _draggingUpper: a } = this;
|
|
320
|
-
if (!t) {
|
|
321
|
-
const o = (
|
|
322
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452
|
|
323
|
-
d.ownerDocument.defaultView.getComputedStyle(d).getPropertyValue("direction") === "rtl"
|
|
324
|
-
), l = e.clientX, { left: c, width: h } = this._trackNode.getBoundingClientRect();
|
|
325
|
-
if (i) {
|
|
326
|
-
const b = (o ? c + h - l : l - c) / h;
|
|
327
|
-
(!this.unstable_valueUpper || b * 100 <= this.unstable_valueUpper) && (this._rate = b, this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
328
|
-
bubbles: !0,
|
|
329
|
-
composed: !0,
|
|
330
|
-
detail: {
|
|
331
|
-
value: this.value,
|
|
332
|
-
intermediate: !0
|
|
333
|
-
}
|
|
334
|
-
})));
|
|
335
|
-
} else if (a) {
|
|
336
|
-
const b = (o ? c + h - l : l - c) / h;
|
|
337
|
-
b * 100 >= this.value && (this._rateUpper = b, this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
338
|
-
bubbles: !0,
|
|
339
|
-
composed: !0,
|
|
340
|
-
detail: {
|
|
341
|
-
value: this.unstable_valueUpper,
|
|
342
|
-
intermediate: !0
|
|
343
|
-
}
|
|
344
|
-
})));
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
/**
|
|
349
|
-
* The maximum value.
|
|
350
|
-
*/
|
|
351
|
-
get max() {
|
|
352
|
-
return this._max.toString();
|
|
353
|
-
}
|
|
354
|
-
set max(e) {
|
|
355
|
-
const { max: t } = this;
|
|
356
|
-
this._max = e, this.requestUpdate("max", t);
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* The minimum value.
|
|
360
|
-
*/
|
|
361
|
-
get min() {
|
|
362
|
-
return this._min.toString();
|
|
363
|
-
}
|
|
364
|
-
set min(e) {
|
|
365
|
-
const { min: t } = this;
|
|
366
|
-
this._min = e, this.requestUpdate("min", t);
|
|
367
|
-
}
|
|
368
|
-
/**
|
|
369
|
-
* The snapping step of the value.
|
|
370
|
-
*/
|
|
371
|
-
get step() {
|
|
372
|
-
return this._step.toString();
|
|
373
|
-
}
|
|
374
|
-
set step(e) {
|
|
375
|
-
const { step: t } = this;
|
|
376
|
-
this._step = e, this.requestUpdate("step", t);
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
* A value determining how much the value should increase/decrease by Shift+arrow keys,
|
|
380
|
-
* which will be `(max - min) / stepMultiplier`.
|
|
381
|
-
*/
|
|
382
|
-
get stepMultiplier() {
|
|
383
|
-
return this._stepMultiplier.toString();
|
|
384
|
-
}
|
|
385
|
-
set stepMultiplier(e) {
|
|
386
|
-
const { stepMultiplier: t } = this;
|
|
387
|
-
this._stepMultiplier = e, this.requestUpdate("stepMultiplier", t);
|
|
388
|
-
}
|
|
389
|
-
_getInputValidity(e) {
|
|
390
|
-
var t;
|
|
391
|
-
const i = (t = e?.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector("input");
|
|
392
|
-
return !(this.invalid || e?.invalid || i?.valueAsNumber > Number(this.max) || i?.valueAsNumber < Number(this.min));
|
|
393
|
-
}
|
|
394
|
-
_getInputWarnigState(e) {
|
|
395
|
-
return e?.valueAsNumber > Number(e.max) || e?.valueAsNumber < Number(e.min);
|
|
396
|
-
}
|
|
397
|
-
connectedCallback() {
|
|
398
|
-
super.connectedCallback(), this._throttledHandlePointermoveImpl || (this._throttledHandlePointermoveImpl = W(this._handlePointermoveImpl, 10));
|
|
399
|
-
}
|
|
400
|
-
disconnectedCallback() {
|
|
401
|
-
this._throttledHandlePointermoveImpl && (this._throttledHandlePointermoveImpl.cancel(), this._throttledHandlePointermoveImpl = null), clearTimeout(this.dragCooldownTimeout), super.disconnectedCallback();
|
|
402
|
-
}
|
|
403
|
-
updated() {
|
|
404
|
-
var e;
|
|
405
|
-
const t = (e = this === null || this === void 0 ? void 0 : this.shadowRoot) === null || e === void 0 ? void 0 : e.querySelector(`.${s}--slider__filled-track`);
|
|
406
|
-
t && (this.unstable_valueUpper || this.unstable_valueUpper === "" ? t.style.transform = this.unstable_valueUpper ? `translate(${this._rate * 100}%, -50%) scaleX(${this._rateUpper - this._rate})` : `translate(0%, -50%) scaleX(${this._rate})` : t.style.transform = this.unstable_valueUpper ? `translate(${this._rate * 100}%, -50%) scaleX(${this._rateUpper - this._rate})` : `translate(0%, -50%) scaleX(${this._rate})`);
|
|
407
|
-
}
|
|
408
|
-
shouldUpdate(e) {
|
|
409
|
-
return this.querySelectorAll(this.constructor.selectorInput).forEach((i, d) => {
|
|
410
|
-
e.has("disabled") && (i && (i.disabled = this.disabled), this.disabled && (this._dragging = !1)), e.has("readonly") && (i && (i.readonly = this.readonly), this.readonly && (this._dragging = !1)), e.has("invalid") && (i.invalid = this.invalid), e.has("hideTextInput") && (i.hideTextInput = this.hideTextInput), i && ((this.unstable_valueUpper || this.unstable_valueUpper === "") && d > 0 ? ["max", "min", "step", "unstable_valueUpper"].forEach((a) => {
|
|
411
|
-
a === "unstable_valueUpper" ? i.value = this.unstable_valueUpper : a === "min" ? i[a] = this.value : i[a] = this[a];
|
|
412
|
-
}) : ["max", "min", "step", "value"].forEach((a) => {
|
|
413
|
-
this.unstable_valueUpper && a === "max" ? i[a] = this.unstable_valueUpper : i[a] = this[a];
|
|
414
|
-
}), (e.has("value") || e.has("invalid") || e.has("warn") || e.has("readonly")) && (this.isValid = this._getInputValidity(i), !this.readonly && !this.isValid ? i.invalid = !0 : i.invalid = !1));
|
|
415
|
-
}), !0;
|
|
416
|
-
}
|
|
417
|
-
render() {
|
|
418
|
-
const { disabled: e, formatMaxText: t, formatMinText: i, labelText: d, hideLabel: a, max: o, min: l, maxLabel: c, minLabel: h, readonly: b, invalidText: y, isValid: w, warn: f, warnText: k, value: $, unstable_valueUpper: m, _rate: g, _rateUpper: I, _handleClickLabel: B, _handleKeydown: R, _handleClick: T, onDrag: v, _endDrag: z } = this, C = !b && !e, N = {
|
|
419
|
-
invalid: C && !w,
|
|
420
|
-
warn: C && w && f
|
|
421
|
-
}, Q = M({
|
|
422
|
-
[`${s}--label`]: !0,
|
|
423
|
-
[`${s}--visually-hidden`]: a,
|
|
424
|
-
[`${s}--label--disabled`]: e
|
|
425
|
-
}), ee = M({
|
|
426
|
-
[`${s}--slider`]: !0,
|
|
427
|
-
[`${s}--slider--disabled`]: e,
|
|
428
|
-
[`${s}--slider--readonly`]: b
|
|
429
|
-
}), te = M({
|
|
430
|
-
[`${s}--icon-tooltip`]: m || m === "",
|
|
431
|
-
[`${s}--slider__thumb-wrapper`]: m || m === "",
|
|
432
|
-
[`${s}--slider__thumb-wrapper--lower`]: m || m === "",
|
|
433
|
-
[`${s}--slider__thumb`]: !(m || m === ""),
|
|
434
|
-
[`${s}--slider__thumb-disabled`]: e
|
|
435
|
-
}), ie = M({
|
|
436
|
-
[`${s}--icon-tooltip`]: !0,
|
|
437
|
-
[`${s}--slider__thumb-wrapper`]: !0,
|
|
438
|
-
[`${s}--slider__thumb-wrapper--upper`]: !0,
|
|
439
|
-
[`${s}--slider__thumb-disabled`]: e
|
|
440
|
-
});
|
|
441
|
-
return _`
|
|
442
|
-
<label class="${Q}" @click="${B}">
|
|
443
|
-
<slot name="label-text">${d}</slot>
|
|
444
|
-
</label>
|
|
445
|
-
<div class="${s}--slider-container">
|
|
446
|
-
${m || m === "" ? _` <slot name="lower-input"></slot>` : ""}
|
|
447
|
-
<span class="${s}--slider__range-label">
|
|
448
|
-
<slot name="min-text">${i(l, h)}</slot>
|
|
449
|
-
</span>
|
|
450
|
-
<div
|
|
451
|
-
@keydown="${R}"
|
|
452
|
-
@click="${T}"
|
|
453
|
-
@pointerup="${z}"
|
|
454
|
-
@pointerleave="${z}"
|
|
455
|
-
class="${ee}"
|
|
456
|
-
tabindex="-1"
|
|
457
|
-
role="presentation">
|
|
458
|
-
<div
|
|
459
|
-
id="thumb"
|
|
460
|
-
class="${te}"
|
|
461
|
-
role="slider"
|
|
462
|
-
tabindex="${b ? -1 : 0}"
|
|
463
|
-
aria-valuemax="${o}"
|
|
464
|
-
aria-valuemin="${l}"
|
|
465
|
-
aria-valuenow="${$}"
|
|
466
|
-
style="left: ${g * 100}%"
|
|
467
|
-
@pointerdown="${v}">
|
|
468
|
-
${(m || m === "") && !b ? _`
|
|
469
|
-
<div class="${s}--slider__thumb--lower">
|
|
470
|
-
<svg
|
|
471
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
472
|
-
viewBox="0 0 16 24"
|
|
473
|
-
class="${s}--slider__thumb-icon ${s}--slider__thumb-icon--lower">
|
|
474
|
-
<path
|
|
475
|
-
d="M15.08 6.46H16v11.08h-.92zM4.46 17.54c-.25 0-.46-.21-.46-.46V6.92a.465.465 0 0 1 .69-.4l8.77 5.08a.46.46 0 0 1 0 .8l-8.77 5.08c-.07.04-.15.06-.23.06Z"></path>
|
|
476
|
-
<path fill="none" d="M-4 0h24v24H-4z"></path>
|
|
477
|
-
</svg>
|
|
478
|
-
<svg
|
|
479
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
480
|
-
viewBox="0 0 16 24"
|
|
481
|
-
class="${s}--slider__thumb-icon ${s}--slider__thumb-icon--lower cds--slider__thumb-icon--focus">
|
|
482
|
-
<path
|
|
483
|
-
d="M15.08 6.46H16v11.08h-.92zM4.46 17.54c-.25 0-.46-.21-.46-.46V6.92a.465.465 0 0 1 .69-.4l8.77 5.08a.46.46 0 0 1 0 .8l-8.77 5.08c-.07.04-.15.06-.23.06Z"></path>
|
|
484
|
-
<path fill="none" d="M-4 0h24v24H-4z"></path>
|
|
485
|
-
<path d="M15.08 0H16v6.46h-.92z"></path>
|
|
486
|
-
<path d="M0 0h.92v24H0zM15.08 0H16v24h-.92z"></path>
|
|
487
|
-
<path d="M0 .92V0h16v.92zM0 24v-.92h16V24z"></path>
|
|
488
|
-
</svg>
|
|
489
|
-
</div>
|
|
490
|
-
` : ""}
|
|
491
|
-
</div>
|
|
492
|
-
${(m || m === "") && !b ? _`
|
|
493
|
-
<div
|
|
494
|
-
id="thumb-upper"
|
|
495
|
-
class="${ie}"
|
|
496
|
-
role="slider"
|
|
497
|
-
tabindex="${b ? -1 : 0}"
|
|
498
|
-
aria-valuemax="${o}"
|
|
499
|
-
aria-valuemin="${l}"
|
|
500
|
-
aria-valuenow="${m}"
|
|
501
|
-
style="left: ${I * 100}%"
|
|
502
|
-
@pointerdown="${v}">
|
|
503
|
-
<div class="${s}--slider__thumb--upper">
|
|
504
|
-
<svg
|
|
505
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
506
|
-
viewBox="0 0 16 24"
|
|
507
|
-
class="${s}--slider__thumb-icon ${s}--slider__thumb-icon--upper">
|
|
508
|
-
<path
|
|
509
|
-
d="M0 6.46h.92v11.08H0zM11.54 6.46c.25 0 .46.21.46.46v10.15a.465.465 0 0 1-.69.4L2.54 12.4a.46.46 0 0 1 0-.8l8.77-5.08c.07-.04.15-.06.23-.06Z"></path>
|
|
510
|
-
<path fill="none" d="M-4 0h24v24H-4z"></path>
|
|
511
|
-
</svg>
|
|
512
|
-
<svg
|
|
513
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
514
|
-
viewBox="0 0 16 24"
|
|
515
|
-
class="${s}--slider__thumb-icon ${s}--slider__thumb-icon--upper cds--slider__thumb-icon--focus">
|
|
516
|
-
<path
|
|
517
|
-
d="M0 6.46h.92v11.08H0zM11.54 6.46c.25 0 .46.21.46.46v10.15a.465.465 0 0 1-.69.4L2.54 12.4a.46.46 0 0 1 0-.8l8.77-5.08c.07-.04.15-.06.23-.06Z"></path>
|
|
518
|
-
<path fill="none" d="M-4 0h24v24H-4z"></path>
|
|
519
|
-
<path d="M.92 24H0v-6.46h.92z"></path>
|
|
520
|
-
<path d="M16 24h-.92V0H16zM.92 24H0V0h.92z"></path>
|
|
521
|
-
<path d="M16 23.08V24H0v-.92zM16 0v.92H0V0z"></path>
|
|
522
|
-
</svg>
|
|
523
|
-
</div>
|
|
524
|
-
</div>
|
|
525
|
-
` : _``}
|
|
526
|
-
<div id="track" class="${s}--slider__track"></div>
|
|
527
|
-
${m || m === "" ? _` <div class="${s}--slider__filled-track"></div> ` : _` <div class="${s}-ce--slider__filled-track-container">
|
|
528
|
-
<div class="${s}--slider__filled-track"></div>
|
|
529
|
-
</div>`}
|
|
530
|
-
</div>
|
|
531
|
-
<span class="${s}--slider__range-label">
|
|
532
|
-
<slot name="max-text">${t(o, c)}</slot>
|
|
533
|
-
</span>
|
|
534
|
-
<slot></slot>
|
|
535
|
-
</div>
|
|
536
|
-
|
|
537
|
-
${N.invalid ? _`
|
|
538
|
-
<div
|
|
539
|
-
class="${s}--slider__validation-msg ${s}--slider__validation-msg--invalid ${s}--form-requirement">
|
|
540
|
-
${y}
|
|
541
|
-
</div>
|
|
542
|
-
` : null}
|
|
543
|
-
${N.warn ? _`<div
|
|
544
|
-
class="${s}--slider__validation-msg ${s}--form-requirement">
|
|
545
|
-
${k}
|
|
546
|
-
</div>` : null}
|
|
547
|
-
`;
|
|
548
|
-
}
|
|
549
|
-
/**
|
|
550
|
-
* A selector that will return the `<input>` box got entering the value directly.
|
|
551
|
-
*/
|
|
552
|
-
static get selectorInput() {
|
|
553
|
-
return `${s}-slider-input`;
|
|
554
|
-
}
|
|
555
|
-
/**
|
|
556
|
-
* The name of the custom event fired after the value is changed by user gesture.
|
|
557
|
-
*/
|
|
558
|
-
static get eventChange() {
|
|
559
|
-
return `${s}-slider-changed`;
|
|
560
|
-
}
|
|
561
|
-
/**
|
|
562
|
-
* The name of the custom event fired after the value is changed in `<cds-slider-input>` by user gesture.
|
|
563
|
-
*/
|
|
564
|
-
static get eventChangeInput() {
|
|
565
|
-
return `${s}-slider-input-changed`;
|
|
566
|
-
}
|
|
567
|
-
};
|
|
568
|
-
u.shadowRootOptions = Object.assign(Object.assign({}, S.shadowRootOptions), { delegatesFocus: !0 });
|
|
569
|
-
u.styles = V;
|
|
570
|
-
n([
|
|
571
|
-
p({ type: Number, attribute: "value-upper" })
|
|
572
|
-
], u.prototype, "unstable_valueUpper", void 0);
|
|
573
|
-
n([
|
|
574
|
-
j("#thumb")
|
|
575
|
-
], u.prototype, "_thumbNode", void 0);
|
|
576
|
-
n([
|
|
577
|
-
j("#thumb-upper")
|
|
578
|
-
], u.prototype, "_thumbNodeUpper", void 0);
|
|
579
|
-
n([
|
|
580
|
-
j("#track")
|
|
581
|
-
], u.prototype, "_trackNode", void 0);
|
|
582
|
-
n([
|
|
583
|
-
K("document:pointermove")
|
|
584
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452
|
|
585
|
-
// @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
|
|
586
|
-
], u.prototype, "_handlePointermove", void 0);
|
|
587
|
-
n([
|
|
588
|
-
K("eventChangeInput")
|
|
589
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452
|
|
590
|
-
// @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
|
|
591
|
-
], u.prototype, "_handleChangeInput", void 0);
|
|
592
|
-
n([
|
|
593
|
-
p({ type: Boolean, reflect: !0 })
|
|
594
|
-
], u.prototype, "disabled", void 0);
|
|
595
|
-
n([
|
|
596
|
-
p({ type: Boolean, reflect: !0 })
|
|
597
|
-
], u.prototype, "required", void 0);
|
|
598
|
-
n([
|
|
599
|
-
p({ type: Boolean, reflect: !0 })
|
|
600
|
-
], u.prototype, "readonly", void 0);
|
|
601
|
-
n([
|
|
602
|
-
p({ attribute: "label-text" })
|
|
603
|
-
], u.prototype, "labelText", void 0);
|
|
604
|
-
n([
|
|
605
|
-
p({ attribute: "max-label", reflect: !0 })
|
|
606
|
-
], u.prototype, "maxLabel", void 0);
|
|
607
|
-
n([
|
|
608
|
-
p({ attribute: "min-label", reflect: !0 })
|
|
609
|
-
], u.prototype, "minLabel", void 0);
|
|
610
|
-
n([
|
|
611
|
-
p({ attribute: "hide-label", type: Boolean, reflect: !0 })
|
|
612
|
-
], u.prototype, "hideLabel", void 0);
|
|
613
|
-
n([
|
|
614
|
-
p({ attribute: !1 })
|
|
615
|
-
], u.prototype, "formatMaxText", void 0);
|
|
616
|
-
n([
|
|
617
|
-
p({ attribute: !1 })
|
|
618
|
-
], u.prototype, "formatMinText", void 0);
|
|
619
|
-
n([
|
|
620
|
-
p({ type: Number, reflect: !0 })
|
|
621
|
-
], u.prototype, "max", null);
|
|
622
|
-
n([
|
|
623
|
-
p({ type: Number, reflect: !0 })
|
|
624
|
-
], u.prototype, "min", null);
|
|
625
|
-
n([
|
|
626
|
-
p()
|
|
627
|
-
], u.prototype, "name", void 0);
|
|
628
|
-
n([
|
|
629
|
-
p({ type: Boolean, reflect: !0 })
|
|
630
|
-
], u.prototype, "invalid", void 0);
|
|
631
|
-
n([
|
|
632
|
-
p({ attribute: "invalid-text" })
|
|
633
|
-
], u.prototype, "invalidText", void 0);
|
|
634
|
-
n([
|
|
635
|
-
p({ type: Boolean, reflect: !0 })
|
|
636
|
-
], u.prototype, "warn", void 0);
|
|
637
|
-
n([
|
|
638
|
-
p({ attribute: "warn-text" })
|
|
639
|
-
], u.prototype, "warnText", void 0);
|
|
640
|
-
n([
|
|
641
|
-
p({ type: Boolean, attribute: "hide-text-input", reflect: !0 })
|
|
642
|
-
], u.prototype, "hideTextInput", void 0);
|
|
643
|
-
n([
|
|
644
|
-
p({ type: Number, reflect: !0 })
|
|
645
|
-
], u.prototype, "step", null);
|
|
646
|
-
n([
|
|
647
|
-
p({ type: Number, reflect: !0, attribute: "step-multiplier" })
|
|
648
|
-
], u.prototype, "stepMultiplier", null);
|
|
649
|
-
n([
|
|
650
|
-
p({ type: Number })
|
|
651
|
-
], u.prototype, "value", void 0);
|
|
652
|
-
n([
|
|
653
|
-
p({ type: Boolean })
|
|
654
|
-
], u.prototype, "isValid", void 0);
|
|
655
|
-
u = n([
|
|
656
|
-
O(`${s}-slider`)
|
|
657
|
-
], u);
|
|
658
|
-
let x = class extends Z(S) {
|
|
659
|
-
constructor() {
|
|
660
|
-
super(...arguments), this._max = "100", this._min = "0", this._step = "1", this.disabled = !1, this.invalid = !1, this.warn = !1, this.hideTextInput = !1, this.type = "number", this.readonly = !1;
|
|
661
|
-
}
|
|
662
|
-
/**
|
|
663
|
-
* Handles `change` event to fire a normalized custom event.
|
|
664
|
-
*/
|
|
665
|
-
_handleChange({ target: e }) {
|
|
666
|
-
const t = Number(this.min), i = Number(this.max), d = this.value, a = e.value, o = Number(a);
|
|
667
|
-
if (o >= t && o <= i && a !== "")
|
|
668
|
-
this.value = o, this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
669
|
-
bubbles: !0,
|
|
670
|
-
composed: !0,
|
|
671
|
-
detail: {
|
|
672
|
-
value: this.value,
|
|
673
|
-
intermediate: d
|
|
674
|
-
}
|
|
675
|
-
}));
|
|
676
|
-
else {
|
|
677
|
-
this.invalid = a === "", this.warn = (o < t || o > i) && a !== "";
|
|
678
|
-
const l = this.value;
|
|
679
|
-
a !== "" ? this.value = o < t ? t : i : this.value = "", this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
680
|
-
bubbles: !0,
|
|
681
|
-
composed: !0,
|
|
682
|
-
detail: {
|
|
683
|
-
value: this.value,
|
|
684
|
-
intermediate: l
|
|
685
|
-
}
|
|
686
|
-
}));
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
/**
|
|
690
|
-
* Handles `input` event to fire a normalized custom event.
|
|
691
|
-
*/
|
|
692
|
-
_handleInput({ target: e }) {
|
|
693
|
-
const t = e.value;
|
|
694
|
-
t && (this.value = Number(t), this.invalid = !1, this.value >= Number(this.min) && this.value <= Number(this.max) && (this.warn = !1, this.dispatchEvent(new CustomEvent(this.constructor.eventChange, {
|
|
695
|
-
bubbles: !0,
|
|
696
|
-
composed: !0,
|
|
697
|
-
detail: {
|
|
698
|
-
value: this.value,
|
|
699
|
-
intermediate: !0
|
|
700
|
-
}
|
|
701
|
-
}))));
|
|
702
|
-
}
|
|
703
|
-
/**
|
|
704
|
-
* The maximum value.
|
|
705
|
-
*/
|
|
706
|
-
get max() {
|
|
707
|
-
return this._max.toString();
|
|
708
|
-
}
|
|
709
|
-
set max(e) {
|
|
710
|
-
const { max: t } = this;
|
|
711
|
-
this._max = e, this.requestUpdate("max", t);
|
|
712
|
-
}
|
|
713
|
-
/**
|
|
714
|
-
* The minimum value.
|
|
715
|
-
*/
|
|
716
|
-
get min() {
|
|
717
|
-
return this._min.toString();
|
|
718
|
-
}
|
|
719
|
-
set min(e) {
|
|
720
|
-
const { min: t } = this;
|
|
721
|
-
this._min = e, this.requestUpdate("min", t);
|
|
722
|
-
}
|
|
723
|
-
/**
|
|
724
|
-
* The snapping step of the value.
|
|
725
|
-
*/
|
|
726
|
-
get step() {
|
|
727
|
-
return this._step.toString();
|
|
728
|
-
}
|
|
729
|
-
set step(e) {
|
|
730
|
-
const { step: t } = this;
|
|
731
|
-
this._step = e, this.requestUpdate("step", t);
|
|
732
|
-
}
|
|
733
|
-
render() {
|
|
734
|
-
const { disabled: e, hideTextInput: t, max: i, min: d, readonly: a, step: o, type: l, value: c, invalid: h, warn: b, _handleChange: y, _handleInput: w } = this, f = !a && !e, k = {
|
|
735
|
-
invalid: f && h,
|
|
736
|
-
warn: f && !h && b
|
|
737
|
-
}, $ = M({
|
|
738
|
-
[`${s}--text-input`]: !0,
|
|
739
|
-
[`${s}--slider-text-input`]: !0,
|
|
740
|
-
[`${s}--text-input--invalid`]: k.invalid,
|
|
741
|
-
[`${s}--slider-text-input--warn`]: k.warn
|
|
742
|
-
}), m = P(ae, {
|
|
743
|
-
class: `${s}--slider__invalid-icon`
|
|
744
|
-
}), g = P(ne, {
|
|
745
|
-
class: `${s}--slider__invalid-icon ${s}--slider__invalid-icon--warning`
|
|
746
|
-
});
|
|
747
|
-
return _`
|
|
748
|
-
${t ? null : _`
|
|
749
|
-
<input
|
|
750
|
-
?disabled="${e}"
|
|
751
|
-
?data-invalid="${k.invalid}"
|
|
752
|
-
type="${D(l)}"
|
|
753
|
-
class="${$}"
|
|
754
|
-
max="${i}"
|
|
755
|
-
min="${d}"
|
|
756
|
-
?readonly="${D(a)}"
|
|
757
|
-
step="${o}"
|
|
758
|
-
.value="${c}"
|
|
759
|
-
@change="${y}"
|
|
760
|
-
@input="${w}" />
|
|
761
|
-
${k.invalid ? _`${m}` : null}
|
|
762
|
-
${k.warn ? _`${g}` : null}
|
|
763
|
-
`}
|
|
764
|
-
`;
|
|
765
|
-
}
|
|
766
|
-
/**
|
|
767
|
-
* A selector that will return the parent slider.
|
|
768
|
-
*/
|
|
769
|
-
static get selectorParent() {
|
|
770
|
-
return `${s}-slider`;
|
|
771
|
-
}
|
|
772
|
-
/**
|
|
773
|
-
* The name of the custom event fired after the value is changed by user gesture.
|
|
774
|
-
*/
|
|
775
|
-
static get eventChange() {
|
|
776
|
-
return `${s}-slider-input-changed`;
|
|
777
|
-
}
|
|
778
|
-
};
|
|
779
|
-
x.shadowRootOptions = Object.assign(Object.assign({}, S.shadowRootOptions), { delegatesFocus: !0 });
|
|
780
|
-
x.styles = V;
|
|
781
|
-
n([
|
|
782
|
-
p({ type: Boolean, reflect: !0 })
|
|
783
|
-
], x.prototype, "disabled", void 0);
|
|
784
|
-
n([
|
|
785
|
-
p({ type: Boolean, reflect: !0 })
|
|
786
|
-
], x.prototype, "invalid", void 0);
|
|
787
|
-
n([
|
|
788
|
-
p({ type: Boolean, reflect: !0 })
|
|
789
|
-
], x.prototype, "warn", void 0);
|
|
790
|
-
n([
|
|
791
|
-
p({ type: Boolean })
|
|
792
|
-
], x.prototype, "hideTextInput", void 0);
|
|
793
|
-
n([
|
|
794
|
-
p({ type: Number, reflect: !0 })
|
|
795
|
-
], x.prototype, "max", null);
|
|
796
|
-
n([
|
|
797
|
-
p({ type: Number, reflect: !0 })
|
|
798
|
-
], x.prototype, "min", null);
|
|
799
|
-
n([
|
|
800
|
-
p({ type: Number, reflect: !0 })
|
|
801
|
-
], x.prototype, "step", null);
|
|
802
|
-
n([
|
|
803
|
-
p()
|
|
804
|
-
], x.prototype, "type", void 0);
|
|
805
|
-
n([
|
|
806
|
-
p({ type: Number })
|
|
807
|
-
], x.prototype, "value", void 0);
|
|
808
|
-
n([
|
|
809
|
-
p({ type: Boolean, reflect: !0 })
|
|
810
|
-
], x.prototype, "readonly", void 0);
|
|
811
|
-
x = n([
|
|
812
|
-
O(`${s}-slider-input`)
|
|
813
|
-
], x);
|
|
814
|
-
let H = class extends S {
|
|
815
|
-
constructor() {
|
|
816
|
-
super(...arguments), this.twoHandles = !1;
|
|
817
|
-
}
|
|
818
|
-
render() {
|
|
819
|
-
const { twoHandles: e } = this, t = M({
|
|
820
|
-
[`${s}--slider-container`]: !0,
|
|
821
|
-
[`${s}--skeleton`]: !0,
|
|
822
|
-
[`${s}--slider-container--two-handles`]: e
|
|
823
|
-
}), i = M({
|
|
824
|
-
[`${s}--slider__thumb`]: !0,
|
|
825
|
-
[`${s}--slider__thumb--lower`]: e
|
|
826
|
-
}), d = M({
|
|
827
|
-
[`${s}--slider__thumb`]: !0,
|
|
828
|
-
[`${s}--slider__thumb--upper`]: e
|
|
829
|
-
}), a = M({
|
|
830
|
-
[`${s}--slider__thumb-wrapper`]: !0,
|
|
831
|
-
[`${s}--slider__thumb-wrapper--lower`]: e
|
|
832
|
-
}), o = M({
|
|
833
|
-
[`${s}--slider__thumb-wrapper`]: !0,
|
|
834
|
-
[`${s}--slider__thumb-wrapper--upper`]: e
|
|
835
|
-
});
|
|
836
|
-
return _`
|
|
837
|
-
<span class="${s}--label ${s}--skeleton"></span>
|
|
838
|
-
<div class="${t}">
|
|
839
|
-
<span class="${s}--slider__range-label"></span>
|
|
840
|
-
<div class="${s}--slider">
|
|
841
|
-
<div class="${s}--slider__track"></div>
|
|
842
|
-
<div class="${s}--slider__filled-track"></div>
|
|
843
|
-
${e ? _`
|
|
844
|
-
<div class="${a}">
|
|
845
|
-
<div class="${i}">
|
|
846
|
-
<svg
|
|
847
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
848
|
-
viewBox="0 0 16 24"
|
|
849
|
-
class="${s}--slider__thumb-icon ${s}--slider__thumb-icon--lower">
|
|
850
|
-
<path
|
|
851
|
-
d="M15.08 6.46H16v11.08h-.92zM4.46 17.54c-.25 0-.46-.21-.46-.46V6.92a.465.465 0 0 1 .69-.4l8.77 5.08a.46.46 0 0 1 0 .8l-8.77 5.08c-.07.04-.15.06-.23.06Z"></path>
|
|
852
|
-
<path fill="none" d="M-4 0h24v24H-4z"></path>
|
|
853
|
-
</svg>
|
|
854
|
-
</div>
|
|
855
|
-
</div>
|
|
856
|
-
` : _` <div class="${i}"></div> `}
|
|
857
|
-
${e ? _` <div class="${o}">
|
|
858
|
-
<div class="${d}">
|
|
859
|
-
<svg
|
|
860
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
861
|
-
viewBox="0 0 16 24"
|
|
862
|
-
class="${s}--slider__thumb-icon ${s}--slider__thumb-icon--upper">
|
|
863
|
-
<path
|
|
864
|
-
d="M0 6.46h.92v11.08H0zM11.54 6.46c.25 0 .46.21.46.46v10.15a.465.465 0 0 1-.69.4L2.54 12.4a.46.46 0 0 1 0-.8l8.77-5.08c.07-.04.15-.06.23-.06Z"></path>
|
|
865
|
-
<path fill="none" d="M-4 0h24v24H-4z"></path>
|
|
866
|
-
</svg>
|
|
867
|
-
</div>
|
|
868
|
-
</div>` : void 0}
|
|
869
|
-
</div>
|
|
870
|
-
<span class="${s}--slider__range-label"></span>
|
|
871
|
-
</div>
|
|
872
|
-
`;
|
|
873
|
-
}
|
|
874
|
-
};
|
|
875
|
-
H.styles = V;
|
|
876
|
-
n([
|
|
877
|
-
p({ type: Boolean, reflect: !0 })
|
|
878
|
-
], H.prototype, "twoHandles", void 0);
|
|
879
|
-
H = n([
|
|
880
|
-
O(`${s}-slider-skeleton`)
|
|
881
|
-
], H);
|