@cordwainer/cw-elements 1.3.0-alpha.2 → 1.3.0-alpha.3
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/cdn/chunks/chunk.226H2XME.js +21 -0
- package/cdn/chunks/chunk.2FBHDZYI.js +158 -0
- package/cdn/chunks/chunk.2HJCX5A6.js +24 -0
- package/cdn/chunks/chunk.2KLLANX4.js +42 -0
- package/cdn/chunks/chunk.2VXFCBQH.js +21 -0
- package/cdn/chunks/chunk.2WPE5WVD.js +21 -0
- package/cdn/chunks/chunk.2Y6D4M3M.js +11 -0
- package/cdn/chunks/chunk.33JDR4KU.js +11 -0
- package/cdn/chunks/chunk.3BIGWCZ4.js +62 -0
- package/cdn/chunks/chunk.3BJV72HE.js +11 -0
- package/cdn/chunks/chunk.3OBWEMI7.js +233 -0
- package/cdn/chunks/chunk.3OHUFSAI.js +197 -0
- package/cdn/chunks/chunk.3TSU6ISD.js +11 -0
- package/cdn/chunks/chunk.3TVLMCS6.js +11 -0
- package/cdn/chunks/chunk.3UGCIMST.js +821 -0
- package/cdn/chunks/chunk.3WMUVWQU.js +724 -0
- package/cdn/chunks/chunk.3WQQ3DIF.js +21 -0
- package/cdn/chunks/chunk.3Z2JFRFO.js +11 -0
- package/cdn/chunks/chunk.43ZICRBF.js +11 -0
- package/cdn/chunks/chunk.4C6E5U42.js +28 -0
- package/cdn/chunks/chunk.4TOVZLKH.js +49 -0
- package/cdn/chunks/chunk.5TFW6EMU.js +25 -0
- package/cdn/chunks/chunk.5ULOFHJE.js +11 -0
- package/cdn/chunks/chunk.5WH2LY5S.js +11 -0
- package/cdn/chunks/chunk.6A5X7QCO.js +97 -0
- package/cdn/chunks/chunk.6EB6HTL2.js +33 -0
- package/cdn/chunks/chunk.6GGATZ6Y.js +11 -0
- package/cdn/chunks/chunk.6MWQWHS6.js +11 -0
- package/cdn/chunks/chunk.6NODBHQY.js +11 -0
- package/cdn/chunks/chunk.6XJ7ZAEI.js +21 -0
- package/cdn/chunks/chunk.75ZQOYXC.js +16 -0
- package/cdn/chunks/chunk.7BMDID53.js +135 -0
- package/cdn/chunks/chunk.7IF4GI63.js +114 -0
- package/cdn/chunks/chunk.7LWWY5VS.js +292 -0
- package/cdn/chunks/chunk.7NVS4H62.js +11 -0
- package/cdn/chunks/chunk.7RHFYXI3.js +73 -0
- package/cdn/chunks/chunk.7TYO2TF2.js +21 -0
- package/cdn/chunks/chunk.7UGVRQCC.js +11 -0
- package/cdn/chunks/chunk.7VHKCX3C.js +11 -0
- package/cdn/chunks/chunk.7Y6PL4W4.js +391 -0
- package/cdn/chunks/chunk.AIEOFQO7.js +21 -0
- package/cdn/chunks/chunk.AKOUPFAA.js +21 -0
- package/cdn/chunks/chunk.AP5TH3IV.js +21 -0
- package/cdn/chunks/chunk.AWJA5KJB.js +33 -0
- package/cdn/chunks/chunk.BBUQESW6.js +75 -0
- package/cdn/chunks/chunk.BFN6T5H3.js +24 -0
- package/cdn/chunks/chunk.BGLUMLW2.js +79 -0
- package/cdn/chunks/chunk.BH2IXANY.js +24 -0
- package/cdn/chunks/chunk.BLC5WO43.js +11 -0
- package/cdn/chunks/chunk.BNXVZPNG.js +21 -0
- package/cdn/chunks/chunk.BPTEXHV7.js +11 -0
- package/cdn/chunks/chunk.BRW3RTPR.js +1990 -0
- package/cdn/chunks/chunk.BUPMJQVE.js +28 -0
- package/cdn/chunks/chunk.C64PDCNZ.js +27 -0
- package/cdn/chunks/chunk.CB2MJ6UM.js +185 -0
- package/cdn/chunks/chunk.CJ4ELSOK.js +137 -0
- package/cdn/chunks/chunk.CNH2S2VI.js +11 -0
- package/cdn/chunks/chunk.CRKOKI4E.js +904 -0
- package/cdn/chunks/chunk.CSVADJJO.js +82 -0
- package/cdn/chunks/chunk.CZIL2LWC.js +28 -0
- package/cdn/chunks/chunk.D5KXVYWW.js +11 -0
- package/cdn/chunks/chunk.DCTJAMFP.js +24 -0
- package/cdn/chunks/chunk.DDTAZJ35.js +574 -0
- package/cdn/chunks/chunk.DF5UV6KZ.js +385 -0
- package/cdn/chunks/chunk.DQDDBDT3.js +11 -0
- package/cdn/chunks/chunk.DRMN5Y7D.js +29 -0
- package/cdn/chunks/chunk.DURM5PJ2.js +174 -0
- package/cdn/chunks/chunk.DVNGAMKZ.js +25 -0
- package/cdn/chunks/chunk.E7K35VL3.js +103 -0
- package/cdn/chunks/chunk.ECVJHFAA.js +27 -0
- package/cdn/chunks/chunk.EGC32U77.js +21 -0
- package/cdn/chunks/chunk.EGNI7IBK.js +499 -0
- package/cdn/chunks/chunk.EH6A32WH.js +25 -0
- package/cdn/chunks/chunk.EJEQ46H4.js +21 -0
- package/cdn/chunks/chunk.EKI2M53W.js +11 -0
- package/cdn/chunks/chunk.ESE3UQ3S.js +21 -0
- package/cdn/chunks/chunk.EVQIKOYO.js +11 -0
- package/cdn/chunks/chunk.EXSHEEI4.js +113 -0
- package/cdn/chunks/chunk.FEBGF4BQ.js +24 -0
- package/cdn/chunks/chunk.FLIWP2FX.js +11 -0
- package/cdn/chunks/chunk.FLRJCPEL.js +346 -0
- package/cdn/chunks/chunk.FMG33YLO.js +11 -0
- package/cdn/chunks/chunk.FRKUENCJ.js +11 -0
- package/cdn/chunks/chunk.FSKDMKIF.js +26 -0
- package/cdn/chunks/chunk.FW7GGXIF.js +297 -0
- package/cdn/chunks/chunk.FYUXTKBL.js +11 -0
- package/cdn/chunks/chunk.GCCCSG4Z.js +26 -0
- package/cdn/chunks/chunk.GGBSRUGY.js +25 -0
- package/cdn/chunks/chunk.GGU42YBU.js +87 -0
- package/cdn/chunks/chunk.GIKR5JDZ.js +11 -0
- package/cdn/chunks/chunk.GM5H7LXD.js +21 -0
- package/cdn/chunks/chunk.GOGMY7JX.js +24 -0
- package/cdn/chunks/chunk.GSF6VW3W.js +77 -0
- package/cdn/chunks/chunk.GYC5O4LL.js +21 -0
- package/cdn/chunks/chunk.H5TYP2MM.js +27 -0
- package/cdn/chunks/chunk.H6FO5PYL.js +11 -0
- package/cdn/chunks/chunk.HCKUIZAI.js +63 -0
- package/cdn/chunks/chunk.HD3OD7GW.js +11 -0
- package/cdn/chunks/chunk.HJ6FIPRK.js +11 -0
- package/cdn/chunks/chunk.HK4Q4WF4.js +11 -0
- package/cdn/chunks/chunk.HYAA4WFC.js +330 -0
- package/cdn/chunks/chunk.HZU2O5S3.js +11 -0
- package/cdn/chunks/chunk.I37D2VRV.js +11 -0
- package/cdn/chunks/chunk.I44PCRNZ.js +28 -0
- package/cdn/chunks/chunk.I5W7MMKL.js +142 -0
- package/cdn/chunks/chunk.IJBDNOE3.js +218 -0
- package/cdn/chunks/chunk.IKLTKVD7.js +186 -0
- package/cdn/chunks/chunk.ISTQKUXY.js +11 -0
- package/cdn/chunks/chunk.ITBSU3SS.js +11 -0
- package/cdn/chunks/chunk.ITFNGXU6.js +29 -0
- package/cdn/chunks/chunk.IZOCFCLM.js +120 -0
- package/cdn/chunks/chunk.J3Z5Q6H7.js +21 -0
- package/cdn/chunks/chunk.J4NJV6UH.js +314 -0
- package/cdn/chunks/chunk.JCTVDZ7H.js +11 -0
- package/cdn/chunks/chunk.JGT4UNZV.js +25 -0
- package/cdn/chunks/chunk.JO35Y2NU.js +29 -0
- package/cdn/chunks/chunk.JRLDI2QT.js +24 -0
- package/cdn/chunks/chunk.KBHJHHHF.js +11 -0
- package/cdn/chunks/chunk.KCYG2PKB.js +25 -0
- package/cdn/chunks/chunk.KE66ZNZP.js +11 -0
- package/cdn/chunks/chunk.KE7WCNPM.js +402 -0
- package/cdn/chunks/chunk.KRMAOV5B.js +21 -0
- package/cdn/chunks/chunk.KU6CUQFL.js +11 -0
- package/cdn/chunks/chunk.KX36BMVZ.js +11 -0
- package/cdn/chunks/chunk.L2EH77SL.js +236 -0
- package/cdn/chunks/chunk.L2YZS6TL.js +25 -0
- package/cdn/chunks/chunk.L57O4AXT.js +11 -0
- package/cdn/chunks/chunk.L7QMIVGY.js +11 -0
- package/cdn/chunks/chunk.LANHAUU4.js +216 -0
- package/cdn/chunks/chunk.LOI3TZXT.js +11 -0
- package/cdn/chunks/chunk.LOLKSADN.js +11 -0
- package/cdn/chunks/chunk.LPIKNMC5.js +11 -0
- package/cdn/chunks/chunk.LR64YFRG.js +120 -0
- package/cdn/chunks/chunk.LT7OFBDG.js +93 -0
- package/cdn/chunks/chunk.M5ET52ZA.js +11 -0
- package/cdn/chunks/chunk.MDRWCAS6.js +84 -0
- package/cdn/chunks/chunk.N43ZVHKN.js +11 -0
- package/cdn/chunks/chunk.NGZMRFMK.js +302 -0
- package/cdn/chunks/chunk.NJDU66LP.js +1925 -0
- package/cdn/chunks/chunk.NLLMKXNM.js +11 -0
- package/cdn/chunks/chunk.NR6OWVLF.js +36 -0
- package/cdn/chunks/chunk.NUFGHSJ2.js +95 -0
- package/cdn/chunks/chunk.NXNMM2RP.js +11 -0
- package/cdn/chunks/chunk.O5JJ22T2.js +11 -0
- package/cdn/chunks/chunk.OA4DHYQO.js +24 -0
- package/cdn/chunks/chunk.OJX5QJ5L.js +21 -0
- package/cdn/chunks/chunk.P22A4UNK.js +11 -0
- package/cdn/chunks/chunk.P64DGGOT.js +299 -0
- package/cdn/chunks/chunk.PBOFXHRS.js +11 -0
- package/cdn/chunks/chunk.PJRGG3NB.js +11 -0
- package/cdn/chunks/chunk.Q3LLXJM4.js +49 -0
- package/cdn/chunks/chunk.Q5TEKA4L.js +11 -0
- package/cdn/chunks/chunk.QBC5N3FA.js +11 -0
- package/cdn/chunks/chunk.QE356TMC.js +25 -0
- package/cdn/chunks/chunk.QH7OFMBT.js +27 -0
- package/cdn/chunks/chunk.QKYW3H7O.js +11 -0
- package/cdn/chunks/chunk.QQ3ZPWEH.js +21 -0
- package/cdn/chunks/chunk.RHYAPCFQ.js +24 -0
- package/cdn/chunks/chunk.RHYRVJFN.js +21 -0
- package/cdn/chunks/chunk.ROUNOGTD.js +24 -0
- package/cdn/chunks/chunk.S4GLLR7O.js +24 -0
- package/cdn/chunks/chunk.SBBB4QH5.js +67 -0
- package/cdn/chunks/chunk.SFSLKWOO.js +11 -0
- package/cdn/chunks/chunk.SH7YSOPZ.js +11 -0
- package/cdn/chunks/chunk.SHHCXFLB.js +28 -0
- package/cdn/chunks/chunk.SIAZ4CCU.js +79 -0
- package/cdn/chunks/chunk.SPZR4S6G.js +279 -0
- package/cdn/chunks/chunk.STSF2XXD.js +21 -0
- package/cdn/chunks/chunk.SXAW7KB2.js +28 -0
- package/cdn/chunks/chunk.SY44EFBG.js +27 -0
- package/cdn/chunks/chunk.TBQN6R4J.js +11 -0
- package/cdn/chunks/chunk.TEPI7CQM.js +218 -0
- package/cdn/chunks/chunk.TJKNPNM3.js +455 -0
- package/cdn/chunks/chunk.TR7YSMOD.js +11 -0
- package/cdn/chunks/chunk.TWFO3Y37.js +11 -0
- package/cdn/chunks/chunk.U5OUTTYB.js +21 -0
- package/cdn/chunks/chunk.U6VEUUD6.js +11 -0
- package/cdn/chunks/chunk.UBJPD2BF.js +26 -0
- package/cdn/chunks/chunk.UBQRNZXI.js +122 -0
- package/cdn/chunks/chunk.UGGNHYQK.js +11 -0
- package/cdn/chunks/chunk.UUBMY2UW.js +11 -0
- package/cdn/chunks/chunk.UYMPEUDM.js +24 -0
- package/cdn/chunks/chunk.VB6GTPI3.js +114 -0
- package/cdn/chunks/chunk.VBL7PL6T.js +25 -0
- package/cdn/chunks/chunk.VGX7H4RC.js +33 -0
- package/cdn/chunks/chunk.VJGJGSPQ.js +147 -0
- package/cdn/chunks/chunk.VPBXGZAT.js +11 -0
- package/cdn/chunks/chunk.VSUH7AKY.js +844 -0
- package/cdn/chunks/chunk.VWL5HSPU.js +11 -0
- package/cdn/chunks/chunk.W25AEHHV.js +11 -0
- package/cdn/chunks/chunk.W4VTQXFP.js +378 -0
- package/cdn/chunks/chunk.WD6RVYZZ.js +153 -0
- package/cdn/chunks/chunk.WEMGUZ5P.js +291 -0
- package/cdn/chunks/chunk.WK2VOR3C.js +29 -0
- package/cdn/chunks/chunk.X2GKMS7P.js +27 -0
- package/cdn/chunks/chunk.X46Z6BWK.js +27 -0
- package/cdn/chunks/chunk.X57EW4SN.js +11 -0
- package/cdn/chunks/chunk.XAYB4TW6.js +267 -0
- package/cdn/chunks/chunk.XBFEVTUR.js +127 -0
- package/cdn/chunks/chunk.XJYAGTFI.js +27 -0
- package/cdn/chunks/chunk.XVS43AYW.js +367 -0
- package/cdn/chunks/chunk.XY3CWS6N.js +33 -0
- package/cdn/chunks/chunk.XZV5HNEU.js +50 -0
- package/cdn/chunks/chunk.Y2MQ7DM7.js +11 -0
- package/cdn/chunks/chunk.Y72GYRHH.js +24 -0
- package/cdn/chunks/chunk.YEDPTOAU.js +11 -0
- package/cdn/chunks/chunk.YGEJQJTF.js +24 -0
- package/cdn/chunks/chunk.YI7R7XKA.js +109 -0
- package/cdn/chunks/chunk.YK5AIOA4.js +26 -0
- package/cdn/chunks/chunk.YLSJD4WY.js +21 -0
- package/cdn/chunks/chunk.YRG3JUQX.js +21 -0
- package/cdn/chunks/chunk.YV57XT4H.js +21 -0
- package/cdn/chunks/chunk.YYBORLW3.js +44 -0
- package/cdn/chunks/chunk.Z4S76TZP.js +11 -0
- package/cdn/chunks/chunk.Z4ZZDS3Q.js +255 -0
- package/cdn/chunks/chunk.ZNCV2I5K.js +969 -0
- package/cdn/chunks/chunk.ZPNLF2N5.js +336 -0
- package/cdn/chunks/chunk.ZXLLMDGO.js +21 -0
- package/cdn/components/alert/alert.component.js +8 -8
- package/cdn/components/alert/alert.js +9 -9
- package/cdn/components/animated-image/animated-image.component.js +5 -5
- package/cdn/components/animated-image/animated-image.js +6 -6
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +5 -5
- package/cdn/components/avatar/avatar.js +6 -6
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +7 -7
- package/cdn/components/breadcrumb/breadcrumb.js +8 -8
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +7 -7
- package/cdn/components/carousel/carousel.js +8 -8
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/combobox/combobox.component.js +12 -12
- package/cdn/components/combobox/combobox.js +13 -13
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/data-table/data-table.component.js +9 -9
- package/cdn/components/data-table/data-table.js +10 -10
- package/cdn/components/data-table-column/data-table-column.component.js +2 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +9 -9
- package/cdn/components/date-picker/date-picker.js +10 -10
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +8 -8
- package/cdn/components/drawer/drawer.js +9 -9
- package/cdn/components/dropdown/dropdown.component.js +5 -5
- package/cdn/components/dropdown/dropdown.js +6 -6
- package/cdn/components/format-bytes/format-bytes.component.js +4 -4
- package/cdn/components/format-bytes/format-bytes.js +5 -5
- package/cdn/components/format-date/format-date.component.js +4 -4
- package/cdn/components/format-date/format-date.js +5 -5
- package/cdn/components/format-number/format-number.component.js +4 -4
- package/cdn/components/format-number/format-number.js +5 -5
- package/cdn/components/header/header.component.d.ts +100 -0
- package/cdn/components/header/header.component.js +32 -0
- package/cdn/components/header/header.d.ts +8 -0
- package/cdn/components/header/header.js +33 -0
- package/cdn/components/header/header.styles.d.ts +2 -0
- package/cdn/components/header/header.styles.js +8 -0
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/icon-button/icon-button.component.js +5 -5
- package/cdn/components/icon-button/icon-button.js +6 -6
- package/cdn/components/image-comparer/image-comparer.component.js +7 -7
- package/cdn/components/image-comparer/image-comparer.js +8 -8
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +7 -7
- package/cdn/components/input/input.js +8 -8
- package/cdn/components/logo/logo.component.js +4 -4
- package/cdn/components/logo/logo.js +5 -5
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +10 -10
- package/cdn/components/menu-item/menu-item.js +11 -11
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/option/option.component.js +7 -7
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/pagination/pagination.component.js +8 -8
- package/cdn/components/pagination/pagination.js +9 -9
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- package/cdn/components/primary-navigation/primary-navigation.component.js +7 -7
- package/cdn/components/primary-navigation/primary-navigation.js +8 -8
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +9 -9
- package/cdn/components/primary-navigation-item/primary-navigation-item.js +10 -10
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +5 -5
- package/cdn/components/progress-ring/progress-ring.component.js +4 -4
- package/cdn/components/progress-ring/progress-ring.js +5 -5
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +5 -5
- package/cdn/components/radio/radio.js +6 -6
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +7 -7
- package/cdn/components/rating/rating.js +8 -8
- package/cdn/components/relative-time/relative-time.component.js +4 -4
- package/cdn/components/relative-time/relative-time.js +5 -5
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/secondary-navigation/secondary-navigation.component.js +8 -8
- package/cdn/components/secondary-navigation/secondary-navigation.js +9 -9
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.js +2 -2
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.js +3 -3
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +4 -4
- package/cdn/components/spinner/spinner.js +5 -5
- package/cdn/components/split-panel/split-panel.component.js +4 -4
- package/cdn/components/split-panel/split-panel.js +5 -5
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-picker/time-picker.component.js +9 -9
- package/cdn/components/time-picker/time-picker.js +10 -10
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +11 -11
- package/cdn/components/tree/tree.js +12 -12
- package/cdn/components/tree-item/tree-item.component.js +9 -9
- package/cdn/components/tree-item/tree-item.js +10 -10
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +1504 -1100
- package/cdn/cw-elements.d.ts +1 -0
- package/cdn/cw-elements.js +199 -193
- package/cdn/events/cw-panel-after-hide.d.ts +8 -0
- package/cdn/events/cw-panel-after-show.d.ts +8 -0
- package/cdn/events/cw-panel-hide.d.ts +8 -0
- package/cdn/events/cw-panel-show.d.ts +8 -0
- package/cdn/events/events.d.ts +4 -0
- package/cdn/react/alert/index.js +9 -9
- package/cdn/react/animated-image/index.js +6 -6
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +6 -6
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +8 -8
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +8 -8
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/combobox/index.js +13 -13
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/data-table/index.js +10 -10
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +10 -10
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- package/cdn/react/dropdown/index.js +6 -6
- package/cdn/react/format-bytes/index.js +5 -5
- package/cdn/react/format-date/index.js +5 -5
- package/cdn/react/format-number/index.js +5 -5
- package/cdn/react/header/index.d.ts +63 -0
- package/cdn/react/header/index.js +33 -0
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/icon-button/index.js +6 -6
- package/cdn/react/image-comparer/index.js +8 -8
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.d.ts +2 -1
- package/cdn/react/index.js +206 -200
- package/cdn/react/input/index.js +8 -8
- package/cdn/react/logo/index.js +5 -5
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +11 -11
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +8 -8
- package/cdn/react/pagination/index.js +9 -9
- package/cdn/react/popup/index.js +5 -5
- package/cdn/react/primary-navigation/index.js +8 -8
- package/cdn/react/primary-navigation-item/index.js +10 -10
- package/cdn/react/primary-navigation-menu/index.js +3 -3
- package/cdn/react/progress-bar/index.js +5 -5
- package/cdn/react/progress-ring/index.js +5 -5
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +6 -6
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +8 -8
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/secondary-navigation/index.js +9 -9
- package/cdn/react/secondary-navigation-item/index.js +3 -3
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +5 -5
- package/cdn/react/split-panel/index.js +5 -5
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +10 -10
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +12 -12
- package/cdn/react/tree-item/index.js +10 -10
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/translations/da.js +2 -2
- package/cdn/translations/de-ch.js +2 -2
- package/cdn/translations/de.js +2 -2
- package/cdn/translations/en-gb.js +2 -2
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es.js +2 -2
- package/cdn/translations/fa.js +2 -2
- package/cdn/translations/fr.js +2 -2
- package/cdn/translations/he.js +2 -2
- package/cdn/translations/hu.js +2 -2
- package/cdn/translations/ja.js +2 -2
- package/cdn/translations/nb.js +2 -2
- package/cdn/translations/nl.js +2 -2
- package/cdn/translations/nn.js +2 -2
- package/cdn/translations/pl.js +2 -2
- package/cdn/translations/pt.js +2 -2
- package/cdn/translations/ru.js +2 -2
- package/cdn/translations/sv.js +2 -2
- package/cdn/translations/tr.js +2 -2
- package/cdn/translations/uk.js +2 -2
- package/cdn/translations/zh-cn.js +2 -2
- package/cdn/translations/zh-tw.js +2 -2
- package/cdn/types/vue/index.d.ts +157 -83
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/utilities/localize.d.ts +5 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +79 -62
- package/cdn/web-types.json +262 -157
- package/dist/chunks/chunk.224VCG4W.js +26 -0
- package/dist/chunks/chunk.23I7DEOC.js +24 -0
- package/dist/chunks/chunk.24NCYGO7.js +67 -0
- package/dist/chunks/chunk.2632TVU3.js +170 -0
- package/dist/chunks/chunk.2CMBTRNR.js +448 -0
- package/dist/chunks/chunk.2DD342C3.js +11 -0
- package/dist/chunks/chunk.2QYULO2M.js +59 -0
- package/dist/chunks/chunk.2V2GFRWO.js +27 -0
- package/dist/chunks/chunk.2V6N6ZSP.js +11 -0
- package/dist/chunks/chunk.3433W4VE.js +896 -0
- package/dist/chunks/chunk.34JYKKZP.js +11 -0
- package/dist/chunks/chunk.3B3CVFV5.js +11 -0
- package/dist/chunks/chunk.3FCU7QWE.js +323 -0
- package/dist/chunks/chunk.3OJNKEJ2.js +21 -0
- package/dist/chunks/chunk.4AUIKZGT.js +11 -0
- package/dist/chunks/chunk.4FXP4O5O.js +11 -0
- package/dist/chunks/chunk.4HF654UP.js +11 -0
- package/dist/chunks/chunk.4J6K3XWA.js +27 -0
- package/dist/chunks/chunk.4JL2RPYG.js +26 -0
- package/dist/chunks/chunk.4KBIEY2C.js +25 -0
- package/dist/chunks/chunk.57DFARAY.js +42 -0
- package/dist/chunks/chunk.5G2QQFJC.js +11 -0
- package/dist/chunks/chunk.5KXTVDLA.js +11 -0
- package/dist/chunks/chunk.5LPGLWKR.js +28 -0
- package/dist/chunks/chunk.5XCKDKYC.js +25 -0
- package/dist/chunks/chunk.6D6RQKW5.js +109 -0
- package/dist/chunks/chunk.6EDD3RFJ.js +24 -0
- package/dist/chunks/chunk.6KIT4FQU.js +26 -0
- package/dist/chunks/chunk.6Q5HVQ6V.js +111 -0
- package/dist/chunks/chunk.6QPGBPGN.js +21 -0
- package/dist/chunks/chunk.6SRKLXOJ.js +11 -0
- package/dist/chunks/chunk.6YIQUXHB.js +134 -0
- package/dist/chunks/chunk.7OAARADR.js +11 -0
- package/dist/chunks/chunk.7OSOKXMD.js +11 -0
- package/dist/chunks/chunk.AID2WEM2.js +11 -0
- package/dist/chunks/chunk.ALD6RBOX.js +117 -0
- package/dist/chunks/chunk.ALDFJMXH.js +370 -0
- package/dist/chunks/chunk.AMQBI4IL.js +26 -0
- package/dist/chunks/chunk.AO3F26A2.js +63 -0
- package/dist/chunks/chunk.AO754R6D.js +11 -0
- package/dist/chunks/chunk.AOCGYKHJ.js +115 -0
- package/dist/chunks/chunk.ARFOS5WS.js +11 -0
- package/dist/chunks/chunk.AUHQ7HIP.js +11 -0
- package/dist/chunks/chunk.AVUGAM3Q.js +21 -0
- package/dist/chunks/chunk.B3EHLRHY.js +34 -0
- package/dist/chunks/chunk.B5FED4B6.js +11 -0
- package/dist/chunks/chunk.BIU2HNSQ.js +11 -0
- package/dist/chunks/chunk.BML67X7M.js +11 -0
- package/dist/chunks/chunk.BTMMJQC5.js +33 -0
- package/dist/chunks/chunk.BXMPI3NI.js +11 -0
- package/dist/chunks/chunk.C4YQQEAC.js +50 -0
- package/dist/chunks/chunk.CWWRBFDP.js +11 -0
- package/dist/chunks/chunk.CYBF35P2.js +59 -0
- package/dist/chunks/chunk.DBVPU253.js +491 -0
- package/dist/chunks/chunk.DGZBBV4P.js +116 -0
- package/dist/chunks/chunk.DLMOUTJY.js +45 -0
- package/dist/chunks/chunk.DYVVV32U.js +11 -0
- package/dist/chunks/chunk.E5X77ZBO.js +24 -0
- package/dist/chunks/chunk.E7ACDJFR.js +11 -0
- package/dist/chunks/chunk.EC2QCNGR.js +21 -0
- package/dist/chunks/chunk.ECLUIVBY.js +11 -0
- package/dist/chunks/chunk.EHOWGZIQ.js +33 -0
- package/dist/chunks/chunk.EISOPC4K.js +294 -0
- package/dist/chunks/chunk.EPCXR72G.js +42 -0
- package/dist/chunks/chunk.F5LAL3JM.js +11 -0
- package/dist/chunks/chunk.FBAK4VQV.js +21 -0
- package/dist/chunks/chunk.FBBNYN3O.js +11 -0
- package/dist/chunks/chunk.FDWAROZP.js +25 -0
- package/dist/chunks/chunk.FF22TNLQ.js +11 -0
- package/dist/chunks/chunk.FG5VVWTY.js +21 -0
- package/dist/chunks/chunk.FHCDITYM.js +26 -0
- package/dist/chunks/chunk.FHKIHYCN.js +25 -0
- package/dist/chunks/chunk.FPCQ5B5W.js +21 -0
- package/dist/chunks/chunk.FRSRALIA.js +417 -0
- package/dist/chunks/chunk.GBCYYCVK.js +11 -0
- package/dist/chunks/chunk.GBW42NEM.js +82 -0
- package/dist/chunks/chunk.GN5MI3CE.js +11 -0
- package/dist/chunks/chunk.GSC7QLBZ.js +27 -0
- package/dist/chunks/chunk.GTP45GXJ.js +11 -0
- package/dist/chunks/chunk.GUIJ7RZI.js +75 -0
- package/dist/chunks/chunk.GXJ7DE7E.js +11 -0
- package/dist/chunks/chunk.HGXRN3PM.js +212 -0
- package/dist/chunks/chunk.HWNUBTH7.js +21 -0
- package/dist/chunks/chunk.I3WTHZ7R.js +231 -0
- package/dist/chunks/chunk.IAKED3KT.js +961 -0
- package/dist/chunks/chunk.ICQ5PB7T.js +24 -0
- package/dist/chunks/chunk.IGZPDARD.js +24 -0
- package/dist/chunks/chunk.IR6KOASV.js +11 -0
- package/dist/chunks/chunk.JWMOYNPA.js +11 -0
- package/dist/chunks/chunk.JZK7VX3D.js +11 -0
- package/dist/chunks/chunk.KFY4RH5D.js +28 -0
- package/dist/chunks/chunk.KKCXXLT2.js +11 -0
- package/dist/chunks/chunk.KLM3M5UZ.js +45 -0
- package/dist/chunks/chunk.KLQPRBIH.js +100 -0
- package/dist/chunks/chunk.KTTUFOTO.js +337 -0
- package/dist/chunks/chunk.KVDRJ6B6.js +11 -0
- package/dist/chunks/chunk.KYY5CHMV.js +33 -0
- package/dist/chunks/chunk.L4YGHWEO.js +21 -0
- package/dist/chunks/chunk.L7LQQHFF.js +109 -0
- package/dist/chunks/chunk.LBRDDQFU.js +247 -0
- package/dist/chunks/chunk.LDYMU5N2.js +11 -0
- package/dist/chunks/chunk.LGJE6SK4.js +29 -0
- package/dist/chunks/chunk.LKQDIN4P.js +11 -0
- package/dist/chunks/chunk.LNGMNQ42.js +21 -0
- package/dist/chunks/chunk.LW2U6XJ2.js +126 -0
- package/dist/chunks/chunk.LW2UYNG6.js +11 -0
- package/dist/chunks/chunk.LZ7NMOAS.js +837 -0
- package/dist/chunks/chunk.M3BUZZ7G.js +94 -0
- package/dist/chunks/chunk.MCUWEYQX.js +11 -0
- package/dist/chunks/chunk.MFAMRP7B.js +11 -0
- package/dist/chunks/chunk.MN2YMAOT.js +11 -0
- package/dist/chunks/chunk.MPFD3ANV.js +375 -0
- package/dist/chunks/chunk.MRE4KRL3.js +11 -0
- package/dist/chunks/chunk.MVBE5W45.js +11 -0
- package/dist/chunks/chunk.MVDLRU3V.js +25 -0
- package/dist/chunks/chunk.MVSYQSXK.js +550 -0
- package/dist/chunks/chunk.MWONAOTE.js +384 -0
- package/dist/chunks/chunk.N5U3KVML.js +178 -0
- package/dist/chunks/chunk.NAT2CSKE.js +22 -0
- package/dist/chunks/chunk.NE4EUIOT.js +22 -0
- package/dist/chunks/chunk.NGUQFNBK.js +227 -0
- package/dist/chunks/chunk.NGXVPPWO.js +147 -0
- package/dist/chunks/chunk.NM675H6M.js +138 -0
- package/dist/chunks/chunk.NPGQJOVP.js +21 -0
- package/dist/chunks/chunk.NRFVY7RL.js +29 -0
- package/dist/chunks/chunk.NZZI4WTC.js +11 -0
- package/dist/chunks/chunk.O6JR2TAX.js +24 -0
- package/dist/chunks/chunk.OAU2ENTX.js +25 -0
- package/dist/chunks/chunk.OCFTT7EP.js +21 -0
- package/dist/chunks/chunk.OCTSXPRY.js +11 -0
- package/dist/chunks/chunk.OFCTYVJX.js +21 -0
- package/dist/chunks/chunk.OFFCHZOX.js +15 -0
- package/dist/chunks/chunk.OJIYDGCW.js +21 -0
- package/dist/chunks/chunk.OJVLVQCH.js +27 -0
- package/dist/chunks/chunk.OOZYZPW2.js +361 -0
- package/dist/chunks/chunk.OPHJ6NLY.js +290 -0
- package/dist/chunks/chunk.OSK2FI5B.js +119 -0
- package/dist/chunks/chunk.PARQ4IVI.js +93 -0
- package/dist/chunks/chunk.PCAMY7PA.js +25 -0
- package/dist/chunks/chunk.PICQMRD5.js +25 -0
- package/dist/chunks/chunk.PNNQLN2R.js +21 -0
- package/dist/chunks/chunk.PRTT72VV.js +24 -0
- package/dist/chunks/chunk.Q2BQL4Y5.js +11 -0
- package/dist/chunks/chunk.Q33B754G.js +11 -0
- package/dist/chunks/chunk.Q637H6KS.js +315 -0
- package/dist/chunks/chunk.QA65DAAU.js +27 -0
- package/dist/chunks/chunk.QBBKCXEB.js +28 -0
- package/dist/chunks/chunk.QCU4G5UJ.js +21 -0
- package/dist/chunks/chunk.QIEBJXU4.js +181 -0
- package/dist/chunks/chunk.R2GQNJQN.js +11 -0
- package/dist/chunks/chunk.RBZLHMC6.js +311 -0
- package/dist/chunks/chunk.RFVY3XWA.js +11 -0
- package/dist/chunks/chunk.RG5YD3LX.js +280 -0
- package/dist/chunks/chunk.RKY6BBDQ.js +11 -0
- package/dist/chunks/chunk.RLKXG55N.js +11 -0
- package/dist/chunks/chunk.RMJWPGIN.js +85 -0
- package/dist/chunks/chunk.RN2RXBW7.js +813 -0
- package/dist/chunks/chunk.S26STI6B.js +11 -0
- package/dist/chunks/chunk.SB4CLUI6.js +11 -0
- package/dist/chunks/chunk.SDMVDHXD.js +11 -0
- package/dist/chunks/chunk.SFFF2XR3.js +286 -0
- package/dist/chunks/chunk.SHTTWTYY.js +24 -0
- package/dist/chunks/chunk.SNZOFLHZ.js +80 -0
- package/dist/chunks/chunk.SXINB2EJ.js +27 -0
- package/dist/chunks/chunk.SZ3YJUKS.js +33 -0
- package/dist/chunks/chunk.T4A22N5N.js +11 -0
- package/dist/chunks/chunk.TAKUZOYZ.js +397 -0
- package/dist/chunks/chunk.TB6JWS5S.js +11 -0
- package/dist/chunks/chunk.TDJVPOPM.js +24 -0
- package/dist/chunks/chunk.THOS5O4P.js +21 -0
- package/dist/chunks/chunk.TMCC3UKQ.js +21 -0
- package/dist/chunks/chunk.TN6JTDSQ.js +949 -0
- package/dist/chunks/chunk.TRTAZZD4.js +11 -0
- package/dist/chunks/chunk.TRWF62AZ.js +11 -0
- package/dist/chunks/chunk.UA7F4MBI.js +11 -0
- package/dist/chunks/chunk.UAKTVMBG.js +213 -0
- package/dist/chunks/chunk.UNYMTLSZ.js +29 -0
- package/dist/chunks/chunk.UVR5GWMI.js +21 -0
- package/dist/chunks/chunk.V4KVFK7K.js +28 -0
- package/dist/chunks/chunk.V5LOHCGA.js +24 -0
- package/dist/chunks/chunk.VAJUAA6U.js +11 -0
- package/dist/chunks/chunk.VEY6WDW6.js +72 -0
- package/dist/chunks/chunk.VO43OYKN.js +11 -0
- package/dist/chunks/chunk.VOGX43M6.js +29 -0
- package/dist/chunks/chunk.VWYHTSLQ.js +11 -0
- package/dist/chunks/chunk.W3ONTIWM.js +24 -0
- package/dist/chunks/chunk.W5A3YKHB.js +11 -0
- package/dist/chunks/chunk.WCD27COB.js +21 -0
- package/dist/chunks/chunk.WIPTBKDZ.js +11 -0
- package/dist/chunks/chunk.WIZ7BVBF.js +11 -0
- package/dist/chunks/chunk.WKMRJBYS.js +21 -0
- package/dist/chunks/chunk.WOE6DQJ5.js +21 -0
- package/dist/chunks/chunk.WUNSEXOV.js +21 -0
- package/dist/chunks/chunk.X3ECRBEK.js +192 -0
- package/dist/chunks/chunk.X3ZKY6XT.js +73 -0
- package/dist/chunks/chunk.X6RBCTM2.js +11 -0
- package/dist/chunks/chunk.XAPSGUMU.js +274 -0
- package/dist/chunks/chunk.XNFHH6AG.js +135 -0
- package/dist/chunks/chunk.XRUSBKDL.js +21 -0
- package/dist/chunks/chunk.XTOPRACL.js +100 -0
- package/dist/chunks/chunk.Y4GOEZZI.js +11 -0
- package/dist/chunks/chunk.Y5N7HWGN.js +90 -0
- package/dist/chunks/chunk.YBXHAJCA.js +27 -0
- package/dist/chunks/chunk.YLSAFYRU.js +25 -0
- package/dist/chunks/chunk.YR3F5CUU.js +293 -0
- package/dist/chunks/chunk.YSL6CK2V.js +25 -0
- package/dist/chunks/chunk.YUHTLMJA.js +259 -0
- package/dist/chunks/chunk.YYBORLW3.js +44 -0
- package/dist/chunks/chunk.Z53NO6PU.js +151 -0
- package/dist/chunks/chunk.Z6M2YRMK.js +11 -0
- package/dist/chunks/chunk.Z7YFHLUC.js +21 -0
- package/dist/chunks/chunk.ZDIGY7BF.js +11 -0
- package/dist/chunks/chunk.ZGGYKZPE.js +106 -0
- package/dist/chunks/chunk.ZLQCADZE.js +28 -0
- package/dist/chunks/chunk.ZPTKWHPA.js +11 -0
- package/dist/chunks/chunk.ZRLCPXL2.js +91 -0
- package/dist/chunks/chunk.ZT4T5QQG.js +24 -0
- package/dist/chunks/chunk.ZTQSWMXB.js +21 -0
- package/dist/chunks/chunk.ZZTNJ7CA.js +75 -0
- package/dist/components/alert/alert.component.js +8 -8
- package/dist/components/alert/alert.js +9 -9
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.js +8 -8
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +8 -8
- package/dist/components/button/button.js +9 -9
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +7 -7
- package/dist/components/carousel/carousel.js +8 -8
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/combobox/combobox.component.js +12 -12
- package/dist/components/combobox/combobox.js +13 -13
- package/dist/components/copy-button/copy-button.component.js +9 -9
- package/dist/components/copy-button/copy-button.js +10 -10
- package/dist/components/data-table/data-table.component.js +9 -9
- package/dist/components/data-table/data-table.js +10 -10
- package/dist/components/data-table-column/data-table-column.component.js +2 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +9 -9
- package/dist/components/date-picker/date-picker.js +10 -10
- package/dist/components/details/details.component.js +7 -7
- package/dist/components/details/details.js +8 -8
- package/dist/components/dialog/dialog.component.js +8 -8
- package/dist/components/dialog/dialog.js +9 -9
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +8 -8
- package/dist/components/drawer/drawer.js +9 -9
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- package/dist/components/format-bytes/format-bytes.component.js +4 -4
- package/dist/components/format-bytes/format-bytes.js +5 -5
- package/dist/components/format-date/format-date.component.js +4 -4
- package/dist/components/format-date/format-date.js +5 -5
- package/dist/components/format-number/format-number.component.js +4 -4
- package/dist/components/format-number/format-number.js +5 -5
- package/dist/components/header/header.component.d.ts +100 -0
- package/dist/components/header/header.component.js +25 -0
- package/dist/components/header/header.d.ts +8 -0
- package/dist/components/header/header.js +26 -0
- package/dist/components/header/header.styles.d.ts +2 -0
- package/dist/components/header/header.styles.js +7 -0
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/image-comparer/image-comparer.component.js +7 -7
- package/dist/components/image-comparer/image-comparer.js +8 -8
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- package/dist/components/logo/logo.component.js +4 -4
- package/dist/components/logo/logo.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +10 -10
- package/dist/components/menu-item/menu-item.js +11 -11
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +7 -7
- package/dist/components/option/option.js +8 -8
- package/dist/components/pagination/pagination.component.js +8 -8
- package/dist/components/pagination/pagination.js +9 -9
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- package/dist/components/primary-navigation/primary-navigation.component.js +7 -7
- package/dist/components/primary-navigation/primary-navigation.js +8 -8
- package/dist/components/primary-navigation-item/primary-navigation-item.component.js +9 -9
- package/dist/components/primary-navigation-item/primary-navigation-item.js +10 -10
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/dist/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-ring/progress-ring.component.js +4 -4
- package/dist/components/progress-ring/progress-ring.js +5 -5
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +5 -5
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +4 -4
- package/dist/components/range/range.js +5 -5
- package/dist/components/rating/rating.component.js +7 -7
- package/dist/components/rating/rating.js +8 -8
- package/dist/components/relative-time/relative-time.component.js +4 -4
- package/dist/components/relative-time/relative-time.js +5 -5
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/secondary-navigation/secondary-navigation.component.js +8 -8
- package/dist/components/secondary-navigation/secondary-navigation.js +9 -9
- package/dist/components/secondary-navigation-item/secondary-navigation-item.component.js +2 -2
- package/dist/components/secondary-navigation-item/secondary-navigation-item.js +3 -3
- package/dist/components/select/select.component.js +10 -10
- package/dist/components/select/select.js +11 -11
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/split-panel/split-panel.component.js +4 -4
- package/dist/components/split-panel/split-panel.js +5 -5
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +8 -8
- package/dist/components/tab/tab.js +9 -9
- package/dist/components/tab-group/tab-group.component.js +9 -9
- package/dist/components/tab-group/tab-group.js +10 -10
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +8 -8
- package/dist/components/tag/tag.js +9 -9
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-picker/time-picker.component.js +9 -9
- package/dist/components/time-picker/time-picker.js +10 -10
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/tree/tree.component.js +11 -11
- package/dist/components/tree/tree.js +12 -12
- package/dist/components/tree-item/tree-item.component.js +9 -9
- package/dist/components/tree-item/tree-item.js +10 -10
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +1504 -1100
- package/dist/cw-elements.d.ts +1 -0
- package/dist/cw-elements.js +199 -193
- package/dist/events/cw-panel-after-hide.d.ts +8 -0
- package/dist/events/cw-panel-after-show.d.ts +8 -0
- package/dist/events/cw-panel-hide.d.ts +8 -0
- package/dist/events/cw-panel-show.d.ts +8 -0
- package/dist/events/events.d.ts +4 -0
- package/dist/react/alert/index.js +9 -9
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +8 -8
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +9 -9
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +8 -8
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/combobox/index.js +13 -13
- package/dist/react/copy-button/index.js +10 -10
- package/dist/react/data-table/index.js +10 -10
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +10 -10
- package/dist/react/details/index.js +8 -8
- package/dist/react/dialog/index.js +9 -9
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +9 -9
- package/dist/react/dropdown/index.js +6 -6
- package/dist/react/format-bytes/index.js +5 -5
- package/dist/react/format-date/index.js +5 -5
- package/dist/react/format-number/index.js +5 -5
- package/dist/react/header/index.d.ts +63 -0
- package/dist/react/header/index.js +26 -0
- package/dist/react/icon/index.js +5 -5
- package/dist/react/icon-button/index.js +6 -6
- package/dist/react/image-comparer/index.js +8 -8
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.d.ts +2 -1
- package/dist/react/index.js +206 -200
- package/dist/react/input/index.js +8 -8
- package/dist/react/logo/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +11 -11
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +8 -8
- package/dist/react/pagination/index.js +9 -9
- package/dist/react/popup/index.js +5 -5
- package/dist/react/primary-navigation/index.js +8 -8
- package/dist/react/primary-navigation-item/index.js +10 -10
- package/dist/react/primary-navigation-menu/index.js +3 -3
- package/dist/react/progress-bar/index.js +5 -5
- package/dist/react/progress-ring/index.js +5 -5
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +6 -6
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +5 -5
- package/dist/react/rating/index.js +8 -8
- package/dist/react/relative-time/index.js +5 -5
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/secondary-navigation/index.js +9 -9
- package/dist/react/secondary-navigation-item/index.js +3 -3
- package/dist/react/select/index.js +11 -11
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +5 -5
- package/dist/react/split-panel/index.js +5 -5
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +9 -9
- package/dist/react/tab-group/index.js +10 -10
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +9 -9
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +10 -10
- package/dist/react/tooltip/index.js +6 -6
- package/dist/react/tree/index.js +12 -12
- package/dist/react/tree-item/index.js +10 -10
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/translations/da.js +2 -2
- package/dist/translations/de-ch.js +3 -3
- package/dist/translations/de.js +3 -3
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nn.js +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-tw.js +2 -2
- package/dist/types/vue/index.d.ts +157 -83
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +5 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +79 -62
- package/dist/web-types.json +262 -157
- package/package.json +1 -1
- package/cdn/chunks/chunk.26WSOE2X.js +0 -82
- package/cdn/chunks/chunk.2GQBK57C.js +0 -21
- package/cdn/chunks/chunk.2PW2QKYS.js +0 -11
- package/cdn/chunks/chunk.2U2TTDFY.js +0 -21
- package/cdn/chunks/chunk.3242SXOJ.js +0 -336
- package/cdn/chunks/chunk.32ZRRHBU.js +0 -302
- package/cdn/chunks/chunk.33URXAH3.js +0 -218
- package/cdn/chunks/chunk.3ARB4BUC.js +0 -27
- package/cdn/chunks/chunk.3IUWADBZ.js +0 -216
- package/cdn/chunks/chunk.3J7CB5LK.js +0 -24
- package/cdn/chunks/chunk.3K3JJKK4.js +0 -73
- package/cdn/chunks/chunk.3PDPHGHG.js +0 -255
- package/cdn/chunks/chunk.3PZEB6JT.js +0 -11
- package/cdn/chunks/chunk.3TPA7GQN.js +0 -24
- package/cdn/chunks/chunk.45KMUOKV.js +0 -11
- package/cdn/chunks/chunk.4G6AE6LA.js +0 -24
- package/cdn/chunks/chunk.4K75R5VR.js +0 -11
- package/cdn/chunks/chunk.4RAPVAHL.js +0 -25
- package/cdn/chunks/chunk.4XLQ4X2K.js +0 -21
- package/cdn/chunks/chunk.57J7OEEI.js +0 -25
- package/cdn/chunks/chunk.5F76MEWP.js +0 -346
- package/cdn/chunks/chunk.5L7AW6FM.js +0 -25
- package/cdn/chunks/chunk.5PHXVCME.js +0 -11
- package/cdn/chunks/chunk.5WYMZNF6.js +0 -28
- package/cdn/chunks/chunk.65MZCEGR.js +0 -233
- package/cdn/chunks/chunk.6GU47XCA.js +0 -26
- package/cdn/chunks/chunk.6PHTFONO.js +0 -26
- package/cdn/chunks/chunk.6QLQZBQU.js +0 -50
- package/cdn/chunks/chunk.77PJUHB6.js +0 -28
- package/cdn/chunks/chunk.7AAZHDDS.js +0 -49
- package/cdn/chunks/chunk.7BUXWMXE.js +0 -28
- package/cdn/chunks/chunk.7DAXFFSC.js +0 -11
- package/cdn/chunks/chunk.7NULNU3H.js +0 -11
- package/cdn/chunks/chunk.7TPEJNB7.js +0 -844
- package/cdn/chunks/chunk.7XOG5GFO.js +0 -11
- package/cdn/chunks/chunk.7ZBK5WGA.js +0 -11
- package/cdn/chunks/chunk.7ZMWKRVJ.js +0 -391
- package/cdn/chunks/chunk.ABX25UC6.js +0 -27
- package/cdn/chunks/chunk.AJKXWZ4C.js +0 -75
- package/cdn/chunks/chunk.AKDLLCMM.js +0 -26
- package/cdn/chunks/chunk.AO4IHDIX.js +0 -21
- package/cdn/chunks/chunk.ASUHMZ5Z.js +0 -218
- package/cdn/chunks/chunk.B3OMWAHY.js +0 -42
- package/cdn/chunks/chunk.B4ACYUD5.js +0 -21
- package/cdn/chunks/chunk.B5NVEHPC.js +0 -21
- package/cdn/chunks/chunk.BCZHAALL.js +0 -367
- package/cdn/chunks/chunk.BNR5DOZQ.js +0 -103
- package/cdn/chunks/chunk.BOUHC5RQ.js +0 -28
- package/cdn/chunks/chunk.BYE2GI7R.js +0 -21
- package/cdn/chunks/chunk.C462ROOD.js +0 -197
- package/cdn/chunks/chunk.CBQPV2XP.js +0 -11
- package/cdn/chunks/chunk.CFLXAVEG.js +0 -114
- package/cdn/chunks/chunk.CIMQMOO5.js +0 -11
- package/cdn/chunks/chunk.CMJ2JOSO.js +0 -33
- package/cdn/chunks/chunk.CPS6O74Q.js +0 -33
- package/cdn/chunks/chunk.D5D6WCXD.js +0 -24
- package/cdn/chunks/chunk.D5DMNQ2B.js +0 -186
- package/cdn/chunks/chunk.DAMD3CDQ.js +0 -113
- package/cdn/chunks/chunk.DAUE7NHW.js +0 -11
- package/cdn/chunks/chunk.DH3IY2T5.js +0 -267
- package/cdn/chunks/chunk.DIJ445RQ.js +0 -11
- package/cdn/chunks/chunk.DT7CPYIO.js +0 -25
- package/cdn/chunks/chunk.DVUIGSMD.js +0 -25
- package/cdn/chunks/chunk.E7R53EFE.js +0 -11
- package/cdn/chunks/chunk.EET3ZV5W.js +0 -11
- package/cdn/chunks/chunk.EGCD4LGL.js +0 -97
- package/cdn/chunks/chunk.EMATHFZN.js +0 -11
- package/cdn/chunks/chunk.EOHBQQVF.js +0 -21
- package/cdn/chunks/chunk.ETCTXR4G.js +0 -11
- package/cdn/chunks/chunk.EURPGK3R.js +0 -11
- package/cdn/chunks/chunk.F57BXPJ7.js +0 -24
- package/cdn/chunks/chunk.F6VYXVQB.js +0 -21
- package/cdn/chunks/chunk.F7IXHFWY.js +0 -11
- package/cdn/chunks/chunk.FBHWAQR5.js +0 -11
- package/cdn/chunks/chunk.FGF6DRYC.js +0 -29
- package/cdn/chunks/chunk.FM2IBS7V.js +0 -11
- package/cdn/chunks/chunk.FUCWH2MU.js +0 -21
- package/cdn/chunks/chunk.FUI6TCOP.js +0 -122
- package/cdn/chunks/chunk.G2NWQJHP.js +0 -57
- package/cdn/chunks/chunk.G7T475QM.js +0 -1990
- package/cdn/chunks/chunk.GCLPDTUN.js +0 -25
- package/cdn/chunks/chunk.GHDM3OKR.js +0 -11
- package/cdn/chunks/chunk.GQC2ZJN5.js +0 -24
- package/cdn/chunks/chunk.GR3UGU76.js +0 -11
- package/cdn/chunks/chunk.GT5LUF36.js +0 -24
- package/cdn/chunks/chunk.HCEZF4HT.js +0 -21
- package/cdn/chunks/chunk.HYUTZFKB.js +0 -11
- package/cdn/chunks/chunk.I3WRJS2F.js +0 -21
- package/cdn/chunks/chunk.I7YBGNHY.js +0 -11
- package/cdn/chunks/chunk.IBSOCOZ7.js +0 -29
- package/cdn/chunks/chunk.IBYPWCZO.js +0 -21
- package/cdn/chunks/chunk.IGH4CPIX.js +0 -11
- package/cdn/chunks/chunk.IQ5BJRLN.js +0 -11
- package/cdn/chunks/chunk.IV6TAUME.js +0 -21
- package/cdn/chunks/chunk.IVBS2WNU.js +0 -11
- package/cdn/chunks/chunk.IZQHECE7.js +0 -29
- package/cdn/chunks/chunk.J2OEIMMO.js +0 -49
- package/cdn/chunks/chunk.J7S6MZKH.js +0 -402
- package/cdn/chunks/chunk.JCVV7FTN.js +0 -499
- package/cdn/chunks/chunk.JES63NI3.js +0 -29
- package/cdn/chunks/chunk.JFDV7RKY.js +0 -11
- package/cdn/chunks/chunk.JFZYJELR.js +0 -11
- package/cdn/chunks/chunk.JIWXBKLW.js +0 -11
- package/cdn/chunks/chunk.JNUSXZTH.js +0 -21
- package/cdn/chunks/chunk.JTU2PXLS.js +0 -11
- package/cdn/chunks/chunk.JWEYXEY2.js +0 -11
- package/cdn/chunks/chunk.K26M7D5A.js +0 -11
- package/cdn/chunks/chunk.K6IPJRL5.js +0 -385
- package/cdn/chunks/chunk.KCJICFCB.js +0 -21
- package/cdn/chunks/chunk.KDE7EMTP.js +0 -292
- package/cdn/chunks/chunk.KGIX6ROS.js +0 -24
- package/cdn/chunks/chunk.KJ6M2O43.js +0 -11
- package/cdn/chunks/chunk.KTWVV2FN.js +0 -11
- package/cdn/chunks/chunk.L4ARAZBG.js +0 -63
- package/cdn/chunks/chunk.L4TLIABV.js +0 -11
- package/cdn/chunks/chunk.L7DERNBR.js +0 -11
- package/cdn/chunks/chunk.LA2XEONC.js +0 -236
- package/cdn/chunks/chunk.LBQAIEIN.js +0 -11
- package/cdn/chunks/chunk.LHUBLSFM.js +0 -11
- package/cdn/chunks/chunk.LMDDPIDT.js +0 -11
- package/cdn/chunks/chunk.LOEDGLOZ.js +0 -11
- package/cdn/chunks/chunk.LQYAK6GR.js +0 -11
- package/cdn/chunks/chunk.LV3IZIAM.js +0 -147
- package/cdn/chunks/chunk.M4DCQYRX.js +0 -25
- package/cdn/chunks/chunk.M7X77RSC.js +0 -455
- package/cdn/chunks/chunk.MIA7HZ3H.js +0 -21
- package/cdn/chunks/chunk.MIWC3G2J.js +0 -11
- package/cdn/chunks/chunk.MMXL36JV.js +0 -24
- package/cdn/chunks/chunk.MQIMXAK3.js +0 -77
- package/cdn/chunks/chunk.MQZIWK2T.js +0 -26
- package/cdn/chunks/chunk.MXHQEQMC.js +0 -25
- package/cdn/chunks/chunk.MYXDOTBB.js +0 -87
- package/cdn/chunks/chunk.N2KNURD2.js +0 -291
- package/cdn/chunks/chunk.N3AV6QCX.js +0 -314
- package/cdn/chunks/chunk.N6OZTRMB.js +0 -11
- package/cdn/chunks/chunk.NBUPY5HO.js +0 -969
- package/cdn/chunks/chunk.NDGZTN7F.js +0 -11
- package/cdn/chunks/chunk.NGGQGQJJ.js +0 -11
- package/cdn/chunks/chunk.NPF6GP5E.js +0 -11
- package/cdn/chunks/chunk.NQ3SOIHB.js +0 -114
- package/cdn/chunks/chunk.NRQKIYZ3.js +0 -11
- package/cdn/chunks/chunk.NWSMFKBB.js +0 -21
- package/cdn/chunks/chunk.NWWBD2UI.js +0 -1925
- package/cdn/chunks/chunk.O63FAKPX.js +0 -21
- package/cdn/chunks/chunk.OE45G6KG.js +0 -33
- package/cdn/chunks/chunk.OE6WR3NM.js +0 -25
- package/cdn/chunks/chunk.OGDS2SL5.js +0 -378
- package/cdn/chunks/chunk.OI6ORT62.js +0 -67
- package/cdn/chunks/chunk.OKNJFDCH.js +0 -11
- package/cdn/chunks/chunk.ORADZNTG.js +0 -28
- package/cdn/chunks/chunk.OSZMUMUP.js +0 -11
- package/cdn/chunks/chunk.OUUT2YHY.js +0 -24
- package/cdn/chunks/chunk.PDV2THVX.js +0 -93
- package/cdn/chunks/chunk.PYBDC3MU.js +0 -11
- package/cdn/chunks/chunk.QAXCHGNL.js +0 -135
- package/cdn/chunks/chunk.QG5WVM6I.js +0 -79
- package/cdn/chunks/chunk.QKV6PS52.js +0 -21
- package/cdn/chunks/chunk.QPVOSM7H.js +0 -11
- package/cdn/chunks/chunk.QW3SVSVB.js +0 -21
- package/cdn/chunks/chunk.QZN7YQN6.js +0 -21
- package/cdn/chunks/chunk.QZXDAMIQ.js +0 -11
- package/cdn/chunks/chunk.RJM4Q2BU.js +0 -16
- package/cdn/chunks/chunk.RLGPPF56.js +0 -279
- package/cdn/chunks/chunk.RWB3DAQ5.js +0 -142
- package/cdn/chunks/chunk.RYYAT43F.js +0 -27
- package/cdn/chunks/chunk.S5HHCXOC.js +0 -174
- package/cdn/chunks/chunk.S5VFNGJV.js +0 -24
- package/cdn/chunks/chunk.SBLEJD36.js +0 -21
- package/cdn/chunks/chunk.SDU4EZUW.js +0 -299
- package/cdn/chunks/chunk.SGLAHQRL.js +0 -21
- package/cdn/chunks/chunk.SNUTS4EA.js +0 -11
- package/cdn/chunks/chunk.SNYMIIEP.js +0 -27
- package/cdn/chunks/chunk.SR2E6BTY.js +0 -24
- package/cdn/chunks/chunk.SRHEI2X6.js +0 -11
- package/cdn/chunks/chunk.STXVOCON.js +0 -11
- package/cdn/chunks/chunk.THCTK4XY.js +0 -84
- package/cdn/chunks/chunk.TKP5Z3UW.js +0 -36
- package/cdn/chunks/chunk.TLVNUJKC.js +0 -120
- package/cdn/chunks/chunk.TM3XPVG7.js +0 -24
- package/cdn/chunks/chunk.TZ6OXKDT.js +0 -27
- package/cdn/chunks/chunk.U5JHA3PI.js +0 -11
- package/cdn/chunks/chunk.UUYBM2KC.js +0 -724
- package/cdn/chunks/chunk.V2O2M3XM.js +0 -11
- package/cdn/chunks/chunk.VJRT6DCH.js +0 -11
- package/cdn/chunks/chunk.VKQZTDML.js +0 -21
- package/cdn/chunks/chunk.VLJXTLJA.js +0 -153
- package/cdn/chunks/chunk.VNAVQLUE.js +0 -79
- package/cdn/chunks/chunk.VU7BAVDX.js +0 -33
- package/cdn/chunks/chunk.VYXQIKER.js +0 -24
- package/cdn/chunks/chunk.VZ75OPN7.js +0 -127
- package/cdn/chunks/chunk.WZ4D4SZQ.js +0 -11
- package/cdn/chunks/chunk.XIIPR36B.js +0 -44
- package/cdn/chunks/chunk.XKNAM3LM.js +0 -11
- package/cdn/chunks/chunk.XVBI2VEE.js +0 -27
- package/cdn/chunks/chunk.XWEVEBXH.js +0 -27
- package/cdn/chunks/chunk.XX22KMJK.js +0 -11
- package/cdn/chunks/chunk.XZQIOR6G.js +0 -120
- package/cdn/chunks/chunk.Y2QIMVUH.js +0 -821
- package/cdn/chunks/chunk.Y6AS3IIB.js +0 -574
- package/cdn/chunks/chunk.YA36YBRA.js +0 -11
- package/cdn/chunks/chunk.YAAV24U7.js +0 -28
- package/cdn/chunks/chunk.YH2AHAF2.js +0 -21
- package/cdn/chunks/chunk.YHZKTEVR.js +0 -11
- package/cdn/chunks/chunk.YLHWUAPP.js +0 -95
- package/cdn/chunks/chunk.YQZWG6CV.js +0 -11
- package/cdn/chunks/chunk.YSYZNFML.js +0 -137
- package/cdn/chunks/chunk.Z3TAOUKV.js +0 -904
- package/cdn/chunks/chunk.Z4NJEIK6.js +0 -11
- package/cdn/chunks/chunk.Z5D3QFBU.js +0 -11
- package/cdn/chunks/chunk.Z5HMEPDI.js +0 -158
- package/cdn/chunks/chunk.Z7CDTIHL.js +0 -11
- package/cdn/chunks/chunk.ZHH5AAWV.js +0 -297
- package/cdn/chunks/chunk.ZVJEVVDB.js +0 -185
- package/cdn/chunks/chunk.ZWWZHDAR.js +0 -11
- package/dist/chunks/chunk.2GZXC4JN.js +0 -11
- package/dist/chunks/chunk.2HQCTLS6.js +0 -25
- package/dist/chunks/chunk.2QQRBXOQ.js +0 -11
- package/dist/chunks/chunk.2WAUDZSH.js +0 -28
- package/dist/chunks/chunk.2WM72Z76.js +0 -21
- package/dist/chunks/chunk.35NWM5WT.js +0 -294
- package/dist/chunks/chunk.3AJKB2XW.js +0 -24
- package/dist/chunks/chunk.3BCUZO2I.js +0 -93
- package/dist/chunks/chunk.3E4TZ6Q4.js +0 -813
- package/dist/chunks/chunk.3F36WHGW.js +0 -11
- package/dist/chunks/chunk.3GDQEEJB.js +0 -33
- package/dist/chunks/chunk.3IKG4TUS.js +0 -11
- package/dist/chunks/chunk.3MSV6DEV.js +0 -25
- package/dist/chunks/chunk.3Z5DWOPR.js +0 -21
- package/dist/chunks/chunk.3ZPQKYXT.js +0 -11
- package/dist/chunks/chunk.42DTM56F.js +0 -192
- package/dist/chunks/chunk.437OBCKQ.js +0 -59
- package/dist/chunks/chunk.4GF4EQ45.js +0 -21
- package/dist/chunks/chunk.4REC2SBZ.js +0 -11
- package/dist/chunks/chunk.4WUKLYFS.js +0 -15
- package/dist/chunks/chunk.53VJSHOV.js +0 -24
- package/dist/chunks/chunk.5BT644RT.js +0 -213
- package/dist/chunks/chunk.5FHGGPOR.js +0 -293
- package/dist/chunks/chunk.5RELZ2GS.js +0 -90
- package/dist/chunks/chunk.5SCBY5DV.js +0 -33
- package/dist/chunks/chunk.5UROAQQY.js +0 -22
- package/dist/chunks/chunk.5ZLI6XXJ.js +0 -290
- package/dist/chunks/chunk.67Z45I6U.js +0 -33
- package/dist/chunks/chunk.6KLJ73UK.js +0 -448
- package/dist/chunks/chunk.6VO4DU6P.js +0 -11
- package/dist/chunks/chunk.6XKTEQE7.js +0 -11
- package/dist/chunks/chunk.74FKGAXK.js +0 -11
- package/dist/chunks/chunk.756BFCA3.js +0 -11
- package/dist/chunks/chunk.7D6BDGCC.js +0 -11
- package/dist/chunks/chunk.7HNY5BKU.js +0 -11
- package/dist/chunks/chunk.7KYKUXBB.js +0 -11
- package/dist/chunks/chunk.7N35AGCE.js +0 -961
- package/dist/chunks/chunk.ABLVNDXC.js +0 -21
- package/dist/chunks/chunk.AHPTEP6U.js +0 -837
- package/dist/chunks/chunk.AL7G7BLQ.js +0 -25
- package/dist/chunks/chunk.ANHS4EDT.js +0 -11
- package/dist/chunks/chunk.AQQBGFYR.js +0 -181
- package/dist/chunks/chunk.AW7Y7YWX.js +0 -27
- package/dist/chunks/chunk.AXILOHSN.js +0 -11
- package/dist/chunks/chunk.AXSLQ4D3.js +0 -491
- package/dist/chunks/chunk.AXXHNRKW.js +0 -337
- package/dist/chunks/chunk.B3ILT4H6.js +0 -29
- package/dist/chunks/chunk.BC24B56H.js +0 -42
- package/dist/chunks/chunk.BJIJHJAU.js +0 -11
- package/dist/chunks/chunk.BOHDFDFV.js +0 -311
- package/dist/chunks/chunk.BOVZVVI5.js +0 -26
- package/dist/chunks/chunk.CC6UYX57.js +0 -138
- package/dist/chunks/chunk.CJPQTJA4.js +0 -134
- package/dist/chunks/chunk.COLGBPEB.js +0 -147
- package/dist/chunks/chunk.CRNYOOIV.js +0 -375
- package/dist/chunks/chunk.CRWKNCBY.js +0 -11
- package/dist/chunks/chunk.D2ZIHOYJ.js +0 -21
- package/dist/chunks/chunk.DHX7EK7H.js +0 -11
- package/dist/chunks/chunk.DQNNYTV6.js +0 -11
- package/dist/chunks/chunk.DVNINZLP.js +0 -259
- package/dist/chunks/chunk.E4VPSCWI.js +0 -11
- package/dist/chunks/chunk.E5SZJSBP.js +0 -11
- package/dist/chunks/chunk.E6YLOWSL.js +0 -24
- package/dist/chunks/chunk.E6ZJ7PQP.js +0 -212
- package/dist/chunks/chunk.ECSI4YVN.js +0 -11
- package/dist/chunks/chunk.EI4QCQMB.js +0 -11
- package/dist/chunks/chunk.ELTS45P5.js +0 -11
- package/dist/chunks/chunk.EOSZJ4SD.js +0 -25
- package/dist/chunks/chunk.EQGE6544.js +0 -22
- package/dist/chunks/chunk.ERIUQRMZ.js +0 -11
- package/dist/chunks/chunk.FATOYQ7B.js +0 -72
- package/dist/chunks/chunk.FAYQVMJL.js +0 -11
- package/dist/chunks/chunk.FEAFR73M.js +0 -25
- package/dist/chunks/chunk.FGELTOEY.js +0 -11
- package/dist/chunks/chunk.FLF4HGKO.js +0 -45
- package/dist/chunks/chunk.FLWJDM6A.js +0 -26
- package/dist/chunks/chunk.FWHJWE2G.js +0 -21
- package/dist/chunks/chunk.FX7MFH3R.js +0 -11
- package/dist/chunks/chunk.G5JZHX5D.js +0 -11
- package/dist/chunks/chunk.G755YBUT.js +0 -21
- package/dist/chunks/chunk.G7BJUIQC.js +0 -119
- package/dist/chunks/chunk.GHO3TM7A.js +0 -27
- package/dist/chunks/chunk.GJ435TZ6.js +0 -11
- package/dist/chunks/chunk.GMJGHZKY.js +0 -73
- package/dist/chunks/chunk.GRUF2DYM.js +0 -11
- package/dist/chunks/chunk.GUJ4OA2U.js +0 -11
- package/dist/chunks/chunk.GV5X3WU5.js +0 -11
- package/dist/chunks/chunk.GYGNIFDN.js +0 -27
- package/dist/chunks/chunk.HESYXIGV.js +0 -11
- package/dist/chunks/chunk.HIR3YFEV.js +0 -100
- package/dist/chunks/chunk.HJSJ3IP3.js +0 -26
- package/dist/chunks/chunk.HKJQ6X5W.js +0 -21
- package/dist/chunks/chunk.HKMEBY7F.js +0 -94
- package/dist/chunks/chunk.HPOKBXO4.js +0 -384
- package/dist/chunks/chunk.HRDFQJ5Y.js +0 -280
- package/dist/chunks/chunk.HSFXY4KH.js +0 -24
- package/dist/chunks/chunk.HSJP5VT4.js +0 -11
- package/dist/chunks/chunk.HVQNWM7O.js +0 -11
- package/dist/chunks/chunk.I4VO3JYX.js +0 -42
- package/dist/chunks/chunk.IJXCWUGJ.js +0 -24
- package/dist/chunks/chunk.IKBHGKOM.js +0 -11
- package/dist/chunks/chunk.INBZV4AW.js +0 -25
- package/dist/chunks/chunk.IWCE2ZBD.js +0 -11
- package/dist/chunks/chunk.IWRFAONO.js +0 -21
- package/dist/chunks/chunk.J7HBOMZP.js +0 -50
- package/dist/chunks/chunk.JL6FVUMD.js +0 -11
- package/dist/chunks/chunk.KJKHTQ5H.js +0 -21
- package/dist/chunks/chunk.KLHGSGI4.js +0 -11
- package/dist/chunks/chunk.KTCUV3WH.js +0 -24
- package/dist/chunks/chunk.KVIUFBWR.js +0 -21
- package/dist/chunks/chunk.KVX4KZQ7.js +0 -54
- package/dist/chunks/chunk.L7263K5F.js +0 -11
- package/dist/chunks/chunk.L7RQQ75G.js +0 -25
- package/dist/chunks/chunk.LJKKQZ4Z.js +0 -135
- package/dist/chunks/chunk.LMEVH2KX.js +0 -11
- package/dist/chunks/chunk.LS56SMFF.js +0 -82
- package/dist/chunks/chunk.LUHSGF5O.js +0 -11
- package/dist/chunks/chunk.LUZLX6TY.js +0 -11
- package/dist/chunks/chunk.LXJDJY6J.js +0 -27
- package/dist/chunks/chunk.M2LW36F5.js +0 -63
- package/dist/chunks/chunk.M3IAQ5C5.js +0 -417
- package/dist/chunks/chunk.M6VSAABN.js +0 -151
- package/dist/chunks/chunk.M6VYHEFS.js +0 -11
- package/dist/chunks/chunk.ME6NRBKV.js +0 -11
- package/dist/chunks/chunk.MHML5OPO.js +0 -21
- package/dist/chunks/chunk.MJ2ZSVNB.js +0 -116
- package/dist/chunks/chunk.MLQ2OIB4.js +0 -33
- package/dist/chunks/chunk.MMN2BRAX.js +0 -21
- package/dist/chunks/chunk.MMR3NJZ2.js +0 -11
- package/dist/chunks/chunk.MP6J6SFL.js +0 -100
- package/dist/chunks/chunk.MVG6Y5IP.js +0 -28
- package/dist/chunks/chunk.MZEDTK4Y.js +0 -315
- package/dist/chunks/chunk.NGIRM5NK.js +0 -21
- package/dist/chunks/chunk.NT2UFBPQ.js +0 -11
- package/dist/chunks/chunk.NTBPP47X.js +0 -67
- package/dist/chunks/chunk.NTMPQXJG.js +0 -29
- package/dist/chunks/chunk.OEAWG44Z.js +0 -11
- package/dist/chunks/chunk.OHLVVUNL.js +0 -24
- package/dist/chunks/chunk.OJW3NTAT.js +0 -11
- package/dist/chunks/chunk.OQKWR6LX.js +0 -21
- package/dist/chunks/chunk.OQTBCO5T.js +0 -11
- package/dist/chunks/chunk.OVSWWNRG.js +0 -11
- package/dist/chunks/chunk.OVU6B7B2.js +0 -21
- package/dist/chunks/chunk.PQQTXJLY.js +0 -21
- package/dist/chunks/chunk.Q2TYF4FT.js +0 -11
- package/dist/chunks/chunk.Q75FLSRT.js +0 -126
- package/dist/chunks/chunk.QAUJC7Y2.js +0 -11
- package/dist/chunks/chunk.QDADM44L.js +0 -11
- package/dist/chunks/chunk.QJDCLJOW.js +0 -231
- package/dist/chunks/chunk.QN764SXC.js +0 -11
- package/dist/chunks/chunk.QPMEGAFM.js +0 -11
- package/dist/chunks/chunk.QUZR3IPH.js +0 -11
- package/dist/chunks/chunk.QWETGG6V.js +0 -25
- package/dist/chunks/chunk.R264AHE5.js +0 -21
- package/dist/chunks/chunk.R4VWT25Q.js +0 -80
- package/dist/chunks/chunk.RA5EMTOH.js +0 -21
- package/dist/chunks/chunk.RLGMXIQB.js +0 -170
- package/dist/chunks/chunk.RN3JCVX7.js +0 -45
- package/dist/chunks/chunk.RU7IDTFE.js +0 -109
- package/dist/chunks/chunk.RUBNRH3N.js +0 -27
- package/dist/chunks/chunk.RWTUEMYD.js +0 -21
- package/dist/chunks/chunk.SCFLJGXH.js +0 -29
- package/dist/chunks/chunk.SER5IREF.js +0 -24
- package/dist/chunks/chunk.SRQQNER7.js +0 -227
- package/dist/chunks/chunk.SSJBN76Y.js +0 -26
- package/dist/chunks/chunk.SXUKHJ7G.js +0 -11
- package/dist/chunks/chunk.T6H2ZLRP.js +0 -11
- package/dist/chunks/chunk.T6NLHTZM.js +0 -27
- package/dist/chunks/chunk.T6XA5WMW.js +0 -949
- package/dist/chunks/chunk.TEC4BLIT.js +0 -21
- package/dist/chunks/chunk.TXK3MU4Q.js +0 -24
- package/dist/chunks/chunk.TYML6Z66.js +0 -115
- package/dist/chunks/chunk.U4CUAG4F.js +0 -111
- package/dist/chunks/chunk.UD6INT3K.js +0 -11
- package/dist/chunks/chunk.UFF4TD4R.js +0 -34
- package/dist/chunks/chunk.UM5MYKWP.js +0 -24
- package/dist/chunks/chunk.UNGZECYX.js +0 -25
- package/dist/chunks/chunk.URKVUXPL.js +0 -11
- package/dist/chunks/chunk.UUHRNQ6S.js +0 -11
- package/dist/chunks/chunk.UVIGMCMU.js +0 -361
- package/dist/chunks/chunk.UVRBO4UU.js +0 -26
- package/dist/chunks/chunk.V4UPPRVV.js +0 -896
- package/dist/chunks/chunk.VNZGNXRR.js +0 -28
- package/dist/chunks/chunk.VO2WW6BN.js +0 -11
- package/dist/chunks/chunk.VWGYPYIQ.js +0 -11
- package/dist/chunks/chunk.W4VVINBW.js +0 -11
- package/dist/chunks/chunk.WGMKOXQR.js +0 -21
- package/dist/chunks/chunk.WJJ4EIAS.js +0 -109
- package/dist/chunks/chunk.WKNK4GUR.js +0 -75
- package/dist/chunks/chunk.WQQF33MM.js +0 -117
- package/dist/chunks/chunk.WUPFC44E.js +0 -25
- package/dist/chunks/chunk.WW35BDZF.js +0 -11
- package/dist/chunks/chunk.WZUCFRNR.js +0 -28
- package/dist/chunks/chunk.X25VL6EN.js +0 -21
- package/dist/chunks/chunk.XFOT6PSZ.js +0 -21
- package/dist/chunks/chunk.XIIPR36B.js +0 -44
- package/dist/chunks/chunk.XJCWQTAY.js +0 -370
- package/dist/chunks/chunk.XKRYR7C2.js +0 -11
- package/dist/chunks/chunk.XN6HXDDA.js +0 -85
- package/dist/chunks/chunk.XOLRLGIB.js +0 -24
- package/dist/chunks/chunk.Y4VQRJGR.js +0 -11
- package/dist/chunks/chunk.Y5ESJU2K.js +0 -286
- package/dist/chunks/chunk.YKHSLXCL.js +0 -274
- package/dist/chunks/chunk.YP5MP3RI.js +0 -550
- package/dist/chunks/chunk.YQ6HMBXN.js +0 -28
- package/dist/chunks/chunk.YSS6PQWE.js +0 -21
- package/dist/chunks/chunk.Z2CP2S43.js +0 -11
- package/dist/chunks/chunk.ZAVCCMCL.js +0 -75
- package/dist/chunks/chunk.ZDXHD2JA.js +0 -24
- package/dist/chunks/chunk.ZHV37UKQ.js +0 -91
- package/dist/chunks/chunk.ZJS7CYVN.js +0 -21
- package/dist/chunks/chunk.ZMC65GVN.js +0 -178
- package/dist/chunks/chunk.ZMYAXCMC.js +0 -29
- package/dist/chunks/chunk.ZPFMCIYD.js +0 -247
- package/dist/chunks/chunk.ZWCEEPTV.js +0 -397
|
@@ -0,0 +1,904 @@
|
|
|
1
|
+
import {
|
|
2
|
+
date_picker_styles_default
|
|
3
|
+
} from "./chunk.Y6MNSLG2.js";
|
|
4
|
+
import {
|
|
5
|
+
CwPopup
|
|
6
|
+
} from "./chunk.NJDU66LP.js";
|
|
7
|
+
import {
|
|
8
|
+
form_control_styles_default
|
|
9
|
+
} from "./chunk.DJVND463.js";
|
|
10
|
+
import {
|
|
11
|
+
FormControlController
|
|
12
|
+
} from "./chunk.FIVNGT4O.js";
|
|
13
|
+
import {
|
|
14
|
+
CwIconButton
|
|
15
|
+
} from "./chunk.7BMDID53.js";
|
|
16
|
+
import {
|
|
17
|
+
getAnimation,
|
|
18
|
+
setDefaultAnimation
|
|
19
|
+
} from "./chunk.JSLXCIMZ.js";
|
|
20
|
+
import {
|
|
21
|
+
waitForEvent
|
|
22
|
+
} from "./chunk.B4BZKR24.js";
|
|
23
|
+
import {
|
|
24
|
+
animateTo,
|
|
25
|
+
stopAnimations
|
|
26
|
+
} from "./chunk.3CTNMS55.js";
|
|
27
|
+
import {
|
|
28
|
+
LocalizeController
|
|
29
|
+
} from "./chunk.75ZQOYXC.js";
|
|
30
|
+
import {
|
|
31
|
+
o
|
|
32
|
+
} from "./chunk.LRAERZML.js";
|
|
33
|
+
import {
|
|
34
|
+
HasSlotController
|
|
35
|
+
} from "./chunk.BVGZUUCX.js";
|
|
36
|
+
import {
|
|
37
|
+
e
|
|
38
|
+
} from "./chunk.VBR4VS53.js";
|
|
39
|
+
import {
|
|
40
|
+
CwIcon
|
|
41
|
+
} from "./chunk.IKLTKVD7.js";
|
|
42
|
+
import {
|
|
43
|
+
watch
|
|
44
|
+
} from "./chunk.RB5L7E7Z.js";
|
|
45
|
+
import {
|
|
46
|
+
component_styles_default
|
|
47
|
+
} from "./chunk.NJIHXHXI.js";
|
|
48
|
+
import {
|
|
49
|
+
CwElement,
|
|
50
|
+
e as e2,
|
|
51
|
+
n,
|
|
52
|
+
r
|
|
53
|
+
} from "./chunk.TEPI7CQM.js";
|
|
54
|
+
import {
|
|
55
|
+
b
|
|
56
|
+
} from "./chunk.6A2LG33L.js";
|
|
57
|
+
import {
|
|
58
|
+
__decorateClass
|
|
59
|
+
} from "./chunk.QIOX6AG5.js";
|
|
60
|
+
|
|
61
|
+
// src/components/date-picker/date-picker.component.ts
|
|
62
|
+
var pad = (value) => String(value).padStart(2, "0");
|
|
63
|
+
var range = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
|
|
64
|
+
function makeDate(year, month, day) {
|
|
65
|
+
return new Date(year, month, day);
|
|
66
|
+
}
|
|
67
|
+
function isSameDay(a, b2) {
|
|
68
|
+
return a.getFullYear() === b2.getFullYear() && a.getMonth() === b2.getMonth() && a.getDate() === b2.getDate();
|
|
69
|
+
}
|
|
70
|
+
function parseDateValue(value) {
|
|
71
|
+
const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(value.trim());
|
|
72
|
+
if (!match) {
|
|
73
|
+
return void 0;
|
|
74
|
+
}
|
|
75
|
+
const year = Number(match[1]);
|
|
76
|
+
const month = Number(match[2]);
|
|
77
|
+
const day = Number(match[3]);
|
|
78
|
+
const date = makeDate(year, month - 1, day);
|
|
79
|
+
if (date.getFullYear() !== year || date.getMonth() !== month - 1 || date.getDate() !== day) {
|
|
80
|
+
return void 0;
|
|
81
|
+
}
|
|
82
|
+
return date;
|
|
83
|
+
}
|
|
84
|
+
function formatDateValue(date) {
|
|
85
|
+
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`;
|
|
86
|
+
}
|
|
87
|
+
function getMonthGrid(year, month, firstDayOfWeek, selected, min, max) {
|
|
88
|
+
const today = /* @__PURE__ */ new Date();
|
|
89
|
+
const firstOfMonth = makeDate(year, month, 1);
|
|
90
|
+
const startOffset = (firstOfMonth.getDay() - firstDayOfWeek + 7) % 7;
|
|
91
|
+
const start = makeDate(year, month, 1 - startOffset);
|
|
92
|
+
return range(0, 41).map((index) => {
|
|
93
|
+
const date = makeDate(start.getFullYear(), start.getMonth(), start.getDate() + index);
|
|
94
|
+
return {
|
|
95
|
+
date,
|
|
96
|
+
day: date.getDate(),
|
|
97
|
+
isCurrentMonth: date.getMonth() === month,
|
|
98
|
+
isToday: isSameDay(date, today),
|
|
99
|
+
isSelected: selected !== void 0 && isSameDay(date, selected),
|
|
100
|
+
isDisabled: min !== void 0 && date < min || max !== void 0 && date > max
|
|
101
|
+
};
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
var CwDatePicker = class extends CwElement {
|
|
105
|
+
constructor() {
|
|
106
|
+
super(...arguments);
|
|
107
|
+
this.formControlController = new FormControlController(this, {
|
|
108
|
+
assumeInteractionOn: ["cw-blur", "cw-input"]
|
|
109
|
+
});
|
|
110
|
+
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
111
|
+
this.localize = new LocalizeController(this);
|
|
112
|
+
this.hasFocus = false;
|
|
113
|
+
this.focusedDate = /* @__PURE__ */ new Date();
|
|
114
|
+
this.valueHasChanged = false;
|
|
115
|
+
this.name = "";
|
|
116
|
+
this._value = "";
|
|
117
|
+
this.defaultValue = "";
|
|
118
|
+
this.min = "";
|
|
119
|
+
this.max = "";
|
|
120
|
+
this.size = "medium";
|
|
121
|
+
this.placeholder = "";
|
|
122
|
+
this.disabled = false;
|
|
123
|
+
this.clearable = false;
|
|
124
|
+
this.open = false;
|
|
125
|
+
this.hoist = false;
|
|
126
|
+
this.filled = false;
|
|
127
|
+
this.pill = false;
|
|
128
|
+
this.label = "";
|
|
129
|
+
this.placement = "bottom";
|
|
130
|
+
this.helpText = "";
|
|
131
|
+
this.form = "";
|
|
132
|
+
this.required = false;
|
|
133
|
+
this.handleDocumentFocusIn = (event) => {
|
|
134
|
+
const path = event.composedPath();
|
|
135
|
+
if (this && !path.includes(this)) {
|
|
136
|
+
this.hide();
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
this.handleDocumentMouseDown = (event) => {
|
|
140
|
+
const path = event.composedPath();
|
|
141
|
+
if (this && !path.includes(this)) {
|
|
142
|
+
this.hide();
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
this.handleDocumentKeyDown = (event) => {
|
|
146
|
+
const target = event.target;
|
|
147
|
+
const isClearButton = target.closest(".date-picker__clear") !== null;
|
|
148
|
+
if (isClearButton) {
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
if (event.key === "Escape" && this.open && !this.closeWatcher) {
|
|
152
|
+
event.preventDefault();
|
|
153
|
+
event.stopPropagation();
|
|
154
|
+
this.hide();
|
|
155
|
+
this.displayInput.focus({ preventScroll: true });
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
159
|
+
event.preventDefault();
|
|
160
|
+
if (!this.open) {
|
|
161
|
+
this.show();
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
this.selectDate(this.focusedDate);
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
const navigationKeys = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Home", "End", "PageUp", "PageDown"];
|
|
168
|
+
if (navigationKeys.includes(event.key)) {
|
|
169
|
+
event.preventDefault();
|
|
170
|
+
if (!this.open) {
|
|
171
|
+
this.show();
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
const isRtl = this.localize.dir() === "rtl";
|
|
175
|
+
switch (event.key) {
|
|
176
|
+
case "ArrowUp":
|
|
177
|
+
this.moveFocusedDate(-7);
|
|
178
|
+
break;
|
|
179
|
+
case "ArrowDown":
|
|
180
|
+
this.moveFocusedDate(7);
|
|
181
|
+
break;
|
|
182
|
+
case "ArrowLeft":
|
|
183
|
+
this.moveFocusedDate(isRtl ? 1 : -1);
|
|
184
|
+
break;
|
|
185
|
+
case "ArrowRight":
|
|
186
|
+
this.moveFocusedDate(isRtl ? -1 : 1);
|
|
187
|
+
break;
|
|
188
|
+
case "Home":
|
|
189
|
+
this.moveFocusedDateToStartOfWeek();
|
|
190
|
+
break;
|
|
191
|
+
case "End":
|
|
192
|
+
this.moveFocusedDateToEndOfWeek();
|
|
193
|
+
break;
|
|
194
|
+
case "PageUp":
|
|
195
|
+
if (event.shiftKey) {
|
|
196
|
+
this.navigateYear(-1);
|
|
197
|
+
} else {
|
|
198
|
+
this.navigateMonth(-1);
|
|
199
|
+
}
|
|
200
|
+
break;
|
|
201
|
+
case "PageDown":
|
|
202
|
+
if (event.shiftKey) {
|
|
203
|
+
this.navigateYear(1);
|
|
204
|
+
} else {
|
|
205
|
+
this.navigateMonth(1);
|
|
206
|
+
}
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
get value() {
|
|
213
|
+
return this._value;
|
|
214
|
+
}
|
|
215
|
+
set value(val) {
|
|
216
|
+
if (this._value === val) {
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
this.valueHasChanged = true;
|
|
220
|
+
this._value = val;
|
|
221
|
+
}
|
|
222
|
+
/** Gets the validity state object */
|
|
223
|
+
get validity() {
|
|
224
|
+
return this.valueInput.validity;
|
|
225
|
+
}
|
|
226
|
+
/** Gets the validation message */
|
|
227
|
+
get validationMessage() {
|
|
228
|
+
return this.valueInput.validationMessage;
|
|
229
|
+
}
|
|
230
|
+
// The current value parsed into a Date, or `undefined` if the value is empty/invalid
|
|
231
|
+
get parsedValue() {
|
|
232
|
+
return parseDateValue(this.value);
|
|
233
|
+
}
|
|
234
|
+
// The minimum selectable date, or `undefined` if `min` is empty/invalid
|
|
235
|
+
get parsedMin() {
|
|
236
|
+
return parseDateValue(this.min);
|
|
237
|
+
}
|
|
238
|
+
// The maximum selectable date, or `undefined` if `max` is empty/invalid
|
|
239
|
+
get parsedMax() {
|
|
240
|
+
return parseDateValue(this.max);
|
|
241
|
+
}
|
|
242
|
+
connectedCallback() {
|
|
243
|
+
super.connectedCallback();
|
|
244
|
+
this.open = false;
|
|
245
|
+
}
|
|
246
|
+
addOpenListeners() {
|
|
247
|
+
var _a;
|
|
248
|
+
document.addEventListener("focusin", this.handleDocumentFocusIn);
|
|
249
|
+
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
250
|
+
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
251
|
+
if (this.getRootNode() !== document) {
|
|
252
|
+
this.getRootNode().addEventListener("focusin", this.handleDocumentFocusIn);
|
|
253
|
+
}
|
|
254
|
+
if ("CloseWatcher" in window) {
|
|
255
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
256
|
+
this.closeWatcher = new CloseWatcher();
|
|
257
|
+
this.closeWatcher.onclose = () => {
|
|
258
|
+
if (this.open) {
|
|
259
|
+
this.hide();
|
|
260
|
+
this.displayInput.focus({ preventScroll: true });
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
removeOpenListeners() {
|
|
266
|
+
var _a;
|
|
267
|
+
document.removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
268
|
+
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
269
|
+
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
270
|
+
if (this.getRootNode() !== document) {
|
|
271
|
+
this.getRootNode().removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
272
|
+
}
|
|
273
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
274
|
+
}
|
|
275
|
+
handleFocus() {
|
|
276
|
+
this.hasFocus = true;
|
|
277
|
+
this.emit("cw-focus");
|
|
278
|
+
}
|
|
279
|
+
handleBlur() {
|
|
280
|
+
this.hasFocus = false;
|
|
281
|
+
this.emit("cw-blur");
|
|
282
|
+
}
|
|
283
|
+
handleLabelClick() {
|
|
284
|
+
this.displayInput.focus();
|
|
285
|
+
}
|
|
286
|
+
handleComboboxMouseDown(event) {
|
|
287
|
+
const path = event.composedPath();
|
|
288
|
+
const isIconButton = path.some((el) => el instanceof Element && el.tagName.toLowerCase() === "cw-icon-button");
|
|
289
|
+
if (this.disabled || isIconButton) {
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
event.preventDefault();
|
|
293
|
+
this.displayInput.focus({ preventScroll: true });
|
|
294
|
+
this.open = !this.open;
|
|
295
|
+
}
|
|
296
|
+
handleComboboxKeyDown(event) {
|
|
297
|
+
if (event.key === "Tab") {
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
event.stopPropagation();
|
|
301
|
+
this.handleDocumentKeyDown(event);
|
|
302
|
+
}
|
|
303
|
+
handleClearClick(event) {
|
|
304
|
+
event.stopPropagation();
|
|
305
|
+
if (this.value !== "") {
|
|
306
|
+
this.setDateValue(void 0);
|
|
307
|
+
this.displayInput.focus({ preventScroll: true });
|
|
308
|
+
this.updateComplete.then(() => {
|
|
309
|
+
this.emit("cw-clear");
|
|
310
|
+
this.emit("cw-input");
|
|
311
|
+
this.emit("cw-change");
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
handleClearMouseDown(event) {
|
|
316
|
+
event.stopPropagation();
|
|
317
|
+
event.preventDefault();
|
|
318
|
+
}
|
|
319
|
+
handleCalendarMouseDown(event) {
|
|
320
|
+
event.preventDefault();
|
|
321
|
+
}
|
|
322
|
+
handleDayClick(event) {
|
|
323
|
+
var _a;
|
|
324
|
+
const target = event.target;
|
|
325
|
+
const dayEl = target.closest(".date-picker__day");
|
|
326
|
+
if (!dayEl || this.disabled || dayEl.getAttribute("aria-disabled") === "true") {
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
329
|
+
const date = parseDateValue((_a = dayEl.dataset.date) != null ? _a : "");
|
|
330
|
+
if (!date) {
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
333
|
+
this.selectDate(date);
|
|
334
|
+
}
|
|
335
|
+
handlePreviousMonthClick() {
|
|
336
|
+
this.navigateMonth(-1);
|
|
337
|
+
this.displayInput.focus({ preventScroll: true });
|
|
338
|
+
}
|
|
339
|
+
handleNextMonthClick() {
|
|
340
|
+
this.navigateMonth(1);
|
|
341
|
+
this.displayInput.focus({ preventScroll: true });
|
|
342
|
+
}
|
|
343
|
+
handleInvalid(event) {
|
|
344
|
+
this.formControlController.setValidity(false);
|
|
345
|
+
this.formControlController.emitInvalidEvent(event);
|
|
346
|
+
}
|
|
347
|
+
// Determines the first day of the week (0 = Sunday, 6 = Saturday), falling back to the page's locale and then Sunday
|
|
348
|
+
getFirstDayOfWeek() {
|
|
349
|
+
var _a, _b;
|
|
350
|
+
if (this.firstDayOfWeek !== void 0) {
|
|
351
|
+
return (this.firstDayOfWeek % 7 + 7) % 7;
|
|
352
|
+
}
|
|
353
|
+
const locale = new Intl.Locale(this.localize.lang());
|
|
354
|
+
const firstDay = (_b = (_a = locale.getWeekInfo) == null ? void 0 : _a.call(locale)) == null ? void 0 : _b.firstDay;
|
|
355
|
+
return firstDay !== void 0 ? firstDay % 7 : 0;
|
|
356
|
+
}
|
|
357
|
+
// Returns the short and long localized names of each weekday, starting from the first day of the week
|
|
358
|
+
getWeekdayLabels(firstDayOfWeek) {
|
|
359
|
+
const shortFormat = new Intl.DateTimeFormat(this.localize.lang(), { weekday: "short" });
|
|
360
|
+
const longFormat = new Intl.DateTimeFormat(this.localize.lang(), { weekday: "long" });
|
|
361
|
+
return range(0, 6).map((offset) => {
|
|
362
|
+
const date = makeDate(2023, 0, 1 + (firstDayOfWeek + offset) % 7);
|
|
363
|
+
return { short: shortFormat.format(date), long: longFormat.format(date) };
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
// Returns the localized "Month YYYY" label for the calendar header
|
|
367
|
+
getHeaderLabel(date) {
|
|
368
|
+
return new Intl.DateTimeFormat(this.localize.lang(), { month: "long", year: "numeric" }).format(date);
|
|
369
|
+
}
|
|
370
|
+
// Returns the full localized label for a day, used for its accessible name
|
|
371
|
+
getDayLabel(date) {
|
|
372
|
+
return new Intl.DateTimeFormat(this.localize.lang(), {
|
|
373
|
+
weekday: "long",
|
|
374
|
+
month: "long",
|
|
375
|
+
day: "numeric",
|
|
376
|
+
year: "numeric"
|
|
377
|
+
}).format(date);
|
|
378
|
+
}
|
|
379
|
+
// Formats the current value for display in the input
|
|
380
|
+
get displayLabel() {
|
|
381
|
+
const date = this.parsedValue;
|
|
382
|
+
if (!date) {
|
|
383
|
+
return "";
|
|
384
|
+
}
|
|
385
|
+
return new Intl.DateTimeFormat(this.localize.lang(), { year: "numeric", month: "short", day: "numeric" }).format(
|
|
386
|
+
date
|
|
387
|
+
);
|
|
388
|
+
}
|
|
389
|
+
moveFocusedDate(deltaDays) {
|
|
390
|
+
const current = this.focusedDate;
|
|
391
|
+
this.focusedDate = makeDate(current.getFullYear(), current.getMonth(), current.getDate() + deltaDays);
|
|
392
|
+
}
|
|
393
|
+
moveFocusedDateToStartOfWeek() {
|
|
394
|
+
const current = this.focusedDate;
|
|
395
|
+
const firstDayOfWeek = this.getFirstDayOfWeek();
|
|
396
|
+
const offset = (current.getDay() - firstDayOfWeek + 7) % 7;
|
|
397
|
+
this.focusedDate = makeDate(current.getFullYear(), current.getMonth(), current.getDate() - offset);
|
|
398
|
+
}
|
|
399
|
+
moveFocusedDateToEndOfWeek() {
|
|
400
|
+
const current = this.focusedDate;
|
|
401
|
+
const firstDayOfWeek = this.getFirstDayOfWeek();
|
|
402
|
+
const offset = (current.getDay() - firstDayOfWeek + 7) % 7;
|
|
403
|
+
this.focusedDate = makeDate(current.getFullYear(), current.getMonth(), current.getDate() + (6 - offset));
|
|
404
|
+
}
|
|
405
|
+
// Moves the focused date to the same day in the previous/next month, clamping to the last day of that month
|
|
406
|
+
navigateMonth(delta) {
|
|
407
|
+
const current = this.focusedDate;
|
|
408
|
+
const daysInTargetMonth = makeDate(current.getFullYear(), current.getMonth() + delta + 1, 0).getDate();
|
|
409
|
+
this.focusedDate = makeDate(
|
|
410
|
+
current.getFullYear(),
|
|
411
|
+
current.getMonth() + delta,
|
|
412
|
+
Math.min(current.getDate(), daysInTargetMonth)
|
|
413
|
+
);
|
|
414
|
+
}
|
|
415
|
+
// Moves the focused date to the same day in the previous/next year, clamping to the last day of that month
|
|
416
|
+
navigateYear(delta) {
|
|
417
|
+
const current = this.focusedDate;
|
|
418
|
+
const daysInTargetMonth = makeDate(current.getFullYear() + delta, current.getMonth() + 1, 0).getDate();
|
|
419
|
+
this.focusedDate = makeDate(
|
|
420
|
+
current.getFullYear() + delta,
|
|
421
|
+
current.getMonth(),
|
|
422
|
+
Math.min(current.getDate(), daysInTargetMonth)
|
|
423
|
+
);
|
|
424
|
+
}
|
|
425
|
+
isDateDisabled(date) {
|
|
426
|
+
const min = this.parsedMin;
|
|
427
|
+
const max = this.parsedMax;
|
|
428
|
+
return min !== void 0 && date < min || max !== void 0 && date > max;
|
|
429
|
+
}
|
|
430
|
+
selectDate(date) {
|
|
431
|
+
if (this.isDateDisabled(date)) {
|
|
432
|
+
return;
|
|
433
|
+
}
|
|
434
|
+
const oldValue = this.value;
|
|
435
|
+
this.focusedDate = date;
|
|
436
|
+
this.setDateValue(date);
|
|
437
|
+
if (this.value !== oldValue) {
|
|
438
|
+
this.updateComplete.then(() => {
|
|
439
|
+
this.emit("cw-input");
|
|
440
|
+
this.emit("cw-change");
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
this.hide();
|
|
444
|
+
this.displayInput.focus({ preventScroll: true });
|
|
445
|
+
}
|
|
446
|
+
setDateValue(date) {
|
|
447
|
+
this.valueHasChanged = true;
|
|
448
|
+
this.value = date ? formatDateValue(date) : "";
|
|
449
|
+
}
|
|
450
|
+
// Determines which date should receive focus when the calendar opens
|
|
451
|
+
getInitialFocusDate() {
|
|
452
|
+
const value = this.parsedValue;
|
|
453
|
+
if (value) {
|
|
454
|
+
return value;
|
|
455
|
+
}
|
|
456
|
+
const today = makeDate((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate());
|
|
457
|
+
const min = this.parsedMin;
|
|
458
|
+
const max = this.parsedMax;
|
|
459
|
+
if (min !== void 0 && today < min) {
|
|
460
|
+
return min;
|
|
461
|
+
}
|
|
462
|
+
if (max !== void 0 && today > max) {
|
|
463
|
+
return max;
|
|
464
|
+
}
|
|
465
|
+
return today;
|
|
466
|
+
}
|
|
467
|
+
renderDay(day) {
|
|
468
|
+
const dateString = formatDateValue(day.date);
|
|
469
|
+
const isFocused = isSameDay(day.date, this.focusedDate);
|
|
470
|
+
return b`
|
|
471
|
+
<span
|
|
472
|
+
id="date-picker-day-${dateString}"
|
|
473
|
+
part="day"
|
|
474
|
+
role="gridcell"
|
|
475
|
+
class=${e({
|
|
476
|
+
"date-picker__day": true,
|
|
477
|
+
"date-picker__day--adjacent": !day.isCurrentMonth,
|
|
478
|
+
"date-picker__day--today": day.isToday,
|
|
479
|
+
"date-picker__day--selected": day.isSelected,
|
|
480
|
+
"date-picker__day--disabled": day.isDisabled,
|
|
481
|
+
"date-picker__day--focused": isFocused
|
|
482
|
+
})}
|
|
483
|
+
aria-selected=${day.isSelected ? "true" : "false"}
|
|
484
|
+
aria-disabled=${day.isDisabled ? "true" : "false"}
|
|
485
|
+
aria-current=${day.isToday ? "date" : "false"}
|
|
486
|
+
aria-label=${this.getDayLabel(day.date)}
|
|
487
|
+
data-date=${dateString}
|
|
488
|
+
>
|
|
489
|
+
${day.day}
|
|
490
|
+
</span>
|
|
491
|
+
`;
|
|
492
|
+
}
|
|
493
|
+
renderCalendar() {
|
|
494
|
+
const firstDayOfWeek = this.getFirstDayOfWeek();
|
|
495
|
+
const weekdays = this.getWeekdayLabels(firstDayOfWeek);
|
|
496
|
+
const grid = getMonthGrid(
|
|
497
|
+
this.focusedDate.getFullYear(),
|
|
498
|
+
this.focusedDate.getMonth(),
|
|
499
|
+
firstDayOfWeek,
|
|
500
|
+
this.parsedValue,
|
|
501
|
+
this.parsedMin,
|
|
502
|
+
this.parsedMax
|
|
503
|
+
);
|
|
504
|
+
const weeks = range(0, 5).map((week) => grid.slice(week * 7, week * 7 + 7));
|
|
505
|
+
return b`
|
|
506
|
+
<div
|
|
507
|
+
id="calendar"
|
|
508
|
+
part="calendar"
|
|
509
|
+
class="date-picker__calendar"
|
|
510
|
+
hidden
|
|
511
|
+
@mousedown=${this.handleCalendarMouseDown}
|
|
512
|
+
@mouseup=${this.handleDayClick}
|
|
513
|
+
>
|
|
514
|
+
<div part="header" class="date-picker__header">
|
|
515
|
+
<cw-icon-button
|
|
516
|
+
part="previous-button"
|
|
517
|
+
exportparts="base:previous-button__base"
|
|
518
|
+
class="date-picker__previous"
|
|
519
|
+
name="chevron-left"
|
|
520
|
+
library="system"
|
|
521
|
+
label=${this.localize.term("previousMonth")}
|
|
522
|
+
@click=${this.handlePreviousMonthClick}
|
|
523
|
+
></cw-icon-button>
|
|
524
|
+
|
|
525
|
+
<span part="heading" class="date-picker__heading" aria-live="polite">
|
|
526
|
+
${this.getHeaderLabel(this.focusedDate)}
|
|
527
|
+
</span>
|
|
528
|
+
|
|
529
|
+
<cw-icon-button
|
|
530
|
+
part="next-button"
|
|
531
|
+
exportparts="base:next-button__base"
|
|
532
|
+
class="date-picker__next"
|
|
533
|
+
name="chevron-right"
|
|
534
|
+
library="system"
|
|
535
|
+
label=${this.localize.term("nextMonth")}
|
|
536
|
+
@click=${this.handleNextMonthClick}
|
|
537
|
+
></cw-icon-button>
|
|
538
|
+
</div>
|
|
539
|
+
|
|
540
|
+
<div
|
|
541
|
+
id="grid"
|
|
542
|
+
part="grid"
|
|
543
|
+
class="date-picker__grid"
|
|
544
|
+
role="grid"
|
|
545
|
+
aria-label=${this.getHeaderLabel(this.focusedDate)}
|
|
546
|
+
>
|
|
547
|
+
<div part="weekdays" class="date-picker__weekdays" role="row">
|
|
548
|
+
${weekdays.map(
|
|
549
|
+
(weekday) => b`
|
|
550
|
+
<span part="weekday" class="date-picker__weekday" role="columnheader" aria-label=${weekday.long}>
|
|
551
|
+
${weekday.short}
|
|
552
|
+
</span>
|
|
553
|
+
`
|
|
554
|
+
)}
|
|
555
|
+
</div>
|
|
556
|
+
|
|
557
|
+
${weeks.map(
|
|
558
|
+
(week) => b`
|
|
559
|
+
<div part="row" class="date-picker__row" role="row">${week.map((day) => this.renderDay(day))}</div>
|
|
560
|
+
`
|
|
561
|
+
)}
|
|
562
|
+
</div>
|
|
563
|
+
</div>
|
|
564
|
+
`;
|
|
565
|
+
}
|
|
566
|
+
handleDisabledChange() {
|
|
567
|
+
if (this.disabled) {
|
|
568
|
+
this.open = false;
|
|
569
|
+
this.handleOpenChange();
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
573
|
+
super.attributeChangedCallback(name, oldVal, newVal);
|
|
574
|
+
if (name === "value") {
|
|
575
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
576
|
+
this.value = this.defaultValue;
|
|
577
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
handleValueChange() {
|
|
581
|
+
if (!this.valueHasChanged) {
|
|
582
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
583
|
+
this.value = this.defaultValue;
|
|
584
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
585
|
+
}
|
|
586
|
+
this.updateComplete.then(() => this.formControlController.updateValidity());
|
|
587
|
+
}
|
|
588
|
+
async handleOpenChange() {
|
|
589
|
+
if (this.open && !this.disabled) {
|
|
590
|
+
this.emit("cw-show");
|
|
591
|
+
this.addOpenListeners();
|
|
592
|
+
this.focusedDate = this.getInitialFocusDate();
|
|
593
|
+
await stopAnimations(this);
|
|
594
|
+
this.calendar.hidden = false;
|
|
595
|
+
this.popup.active = true;
|
|
596
|
+
const { keyframes, options } = getAnimation(this, "date-picker.show", { dir: this.localize.dir() });
|
|
597
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
598
|
+
this.emit("cw-after-show");
|
|
599
|
+
} else {
|
|
600
|
+
this.emit("cw-hide");
|
|
601
|
+
this.removeOpenListeners();
|
|
602
|
+
await stopAnimations(this);
|
|
603
|
+
const { keyframes, options } = getAnimation(this, "date-picker.hide", { dir: this.localize.dir() });
|
|
604
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
605
|
+
this.calendar.hidden = true;
|
|
606
|
+
this.popup.active = false;
|
|
607
|
+
this.emit("cw-after-hide");
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
/** Shows the calendar. */
|
|
611
|
+
async show() {
|
|
612
|
+
if (this.open || this.disabled) {
|
|
613
|
+
return void 0;
|
|
614
|
+
}
|
|
615
|
+
this.open = true;
|
|
616
|
+
return waitForEvent(this, "cw-after-show");
|
|
617
|
+
}
|
|
618
|
+
/** Hides the calendar. */
|
|
619
|
+
async hide() {
|
|
620
|
+
if (!this.open || this.disabled) {
|
|
621
|
+
return void 0;
|
|
622
|
+
}
|
|
623
|
+
this.open = false;
|
|
624
|
+
return waitForEvent(this, "cw-after-hide");
|
|
625
|
+
}
|
|
626
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
627
|
+
checkValidity() {
|
|
628
|
+
return this.valueInput.checkValidity();
|
|
629
|
+
}
|
|
630
|
+
/** Gets the associated form, if one exists. */
|
|
631
|
+
getForm() {
|
|
632
|
+
return this.formControlController.getForm();
|
|
633
|
+
}
|
|
634
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
635
|
+
reportValidity() {
|
|
636
|
+
return this.valueInput.reportValidity();
|
|
637
|
+
}
|
|
638
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
639
|
+
setCustomValidity(message) {
|
|
640
|
+
this.valueInput.setCustomValidity(message);
|
|
641
|
+
this.formControlController.updateValidity();
|
|
642
|
+
}
|
|
643
|
+
/** Sets focus on the control. */
|
|
644
|
+
focus(options) {
|
|
645
|
+
this.displayInput.focus(options);
|
|
646
|
+
}
|
|
647
|
+
/** Removes focus from the control. */
|
|
648
|
+
blur() {
|
|
649
|
+
this.displayInput.blur();
|
|
650
|
+
}
|
|
651
|
+
render() {
|
|
652
|
+
const hasLabelSlot = this.hasSlotController.test("label");
|
|
653
|
+
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
654
|
+
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
655
|
+
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
656
|
+
const hasClearIcon = this.clearable && !this.disabled && this.value.length > 0;
|
|
657
|
+
const isPlaceholderVisible = this.placeholder && this.value.length === 0;
|
|
658
|
+
const activeDescendant = this.open ? `date-picker-day-${formatDateValue(this.focusedDate)}` : void 0;
|
|
659
|
+
return b`
|
|
660
|
+
<div
|
|
661
|
+
part="form-control"
|
|
662
|
+
class=${e({
|
|
663
|
+
"form-control": true,
|
|
664
|
+
"form-control--small": this.size === "small",
|
|
665
|
+
"form-control--medium": this.size === "medium",
|
|
666
|
+
"form-control--large": this.size === "large",
|
|
667
|
+
"form-control--has-label": hasLabel,
|
|
668
|
+
"form-control--has-help-text": hasHelpText
|
|
669
|
+
})}
|
|
670
|
+
>
|
|
671
|
+
<label
|
|
672
|
+
id="label"
|
|
673
|
+
part="form-control-label"
|
|
674
|
+
class="form-control__label"
|
|
675
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
676
|
+
@click=${this.handleLabelClick}
|
|
677
|
+
>
|
|
678
|
+
<slot name="label">${this.label}</slot>
|
|
679
|
+
</label>
|
|
680
|
+
|
|
681
|
+
<div part="form-control-input" class="form-control-input">
|
|
682
|
+
<cw-popup
|
|
683
|
+
class=${e({
|
|
684
|
+
"date-picker": true,
|
|
685
|
+
"date-picker--standard": true,
|
|
686
|
+
"date-picker--filled": this.filled,
|
|
687
|
+
"date-picker--pill": this.pill,
|
|
688
|
+
"date-picker--open": this.open,
|
|
689
|
+
"date-picker--disabled": this.disabled,
|
|
690
|
+
"date-picker--focused": this.hasFocus,
|
|
691
|
+
"date-picker--placeholder-visible": isPlaceholderVisible,
|
|
692
|
+
"date-picker--top": this.placement === "top",
|
|
693
|
+
"date-picker--bottom": this.placement === "bottom",
|
|
694
|
+
"date-picker--small": this.size === "small",
|
|
695
|
+
"date-picker--medium": this.size === "medium",
|
|
696
|
+
"date-picker--large": this.size === "large"
|
|
697
|
+
})}
|
|
698
|
+
placement=${this.placement}
|
|
699
|
+
strategy=${this.hoist ? "fixed" : "absolute"}
|
|
700
|
+
flip
|
|
701
|
+
shift
|
|
702
|
+
auto-size="vertical"
|
|
703
|
+
auto-size-padding="10"
|
|
704
|
+
>
|
|
705
|
+
<div
|
|
706
|
+
part="combobox"
|
|
707
|
+
class="date-picker__combobox"
|
|
708
|
+
slot="anchor"
|
|
709
|
+
@keydown=${this.handleComboboxKeyDown}
|
|
710
|
+
@mousedown=${this.handleComboboxMouseDown}
|
|
711
|
+
>
|
|
712
|
+
<slot part="prefix" name="prefix" class="date-picker__prefix"></slot>
|
|
713
|
+
|
|
714
|
+
<input
|
|
715
|
+
part="display-input"
|
|
716
|
+
class="date-picker__display-input"
|
|
717
|
+
type="text"
|
|
718
|
+
placeholder=${this.placeholder}
|
|
719
|
+
.disabled=${this.disabled}
|
|
720
|
+
.value=${this.displayLabel}
|
|
721
|
+
autocomplete="off"
|
|
722
|
+
spellcheck="false"
|
|
723
|
+
autocapitalize="off"
|
|
724
|
+
readonly
|
|
725
|
+
role="combobox"
|
|
726
|
+
aria-controls="grid"
|
|
727
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
728
|
+
aria-haspopup="grid"
|
|
729
|
+
aria-labelledby="label"
|
|
730
|
+
aria-disabled=${this.disabled ? "true" : "false"}
|
|
731
|
+
aria-describedby="help-text"
|
|
732
|
+
aria-activedescendant=${o(activeDescendant)}
|
|
733
|
+
tabindex="0"
|
|
734
|
+
@focus=${this.handleFocus}
|
|
735
|
+
@blur=${this.handleBlur}
|
|
736
|
+
/>
|
|
737
|
+
|
|
738
|
+
<input
|
|
739
|
+
class="date-picker__value-input"
|
|
740
|
+
type="date"
|
|
741
|
+
?disabled=${this.disabled}
|
|
742
|
+
?required=${this.required}
|
|
743
|
+
min=${o(this.min || void 0)}
|
|
744
|
+
max=${o(this.max || void 0)}
|
|
745
|
+
.value=${this.value}
|
|
746
|
+
tabindex="-1"
|
|
747
|
+
aria-hidden="true"
|
|
748
|
+
@focus=${() => this.focus()}
|
|
749
|
+
@invalid=${this.handleInvalid}
|
|
750
|
+
/>
|
|
751
|
+
|
|
752
|
+
${hasClearIcon ? b`
|
|
753
|
+
<button
|
|
754
|
+
part="clear-button"
|
|
755
|
+
class="date-picker__clear"
|
|
756
|
+
type="button"
|
|
757
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
758
|
+
@mousedown=${this.handleClearMouseDown}
|
|
759
|
+
@click=${this.handleClearClick}
|
|
760
|
+
tabindex="-1"
|
|
761
|
+
>
|
|
762
|
+
<slot name="clear-icon">
|
|
763
|
+
<cw-icon name="x-circle-fill" library="system"></cw-icon>
|
|
764
|
+
</slot>
|
|
765
|
+
</button>
|
|
766
|
+
` : ""}
|
|
767
|
+
|
|
768
|
+
<slot name="suffix" part="suffix" class="date-picker__suffix"></slot>
|
|
769
|
+
|
|
770
|
+
<slot name="expand-icon" part="expand-icon" class="date-picker__expand-icon">
|
|
771
|
+
<cw-icon library="system" name="calendar3"></cw-icon>
|
|
772
|
+
</slot>
|
|
773
|
+
</div>
|
|
774
|
+
|
|
775
|
+
${this.renderCalendar()}
|
|
776
|
+
</cw-popup>
|
|
777
|
+
</div>
|
|
778
|
+
|
|
779
|
+
<div
|
|
780
|
+
part="form-control-help-text"
|
|
781
|
+
id="help-text"
|
|
782
|
+
class="form-control__help-text"
|
|
783
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
784
|
+
>
|
|
785
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
786
|
+
</div>
|
|
787
|
+
</div>
|
|
788
|
+
`;
|
|
789
|
+
}
|
|
790
|
+
};
|
|
791
|
+
CwDatePicker.styles = [component_styles_default, form_control_styles_default, date_picker_styles_default];
|
|
792
|
+
CwDatePicker.dependencies = {
|
|
793
|
+
"cw-icon": CwIcon,
|
|
794
|
+
"cw-icon-button": CwIconButton,
|
|
795
|
+
"cw-popup": CwPopup
|
|
796
|
+
};
|
|
797
|
+
__decorateClass([
|
|
798
|
+
e2(".date-picker")
|
|
799
|
+
], CwDatePicker.prototype, "popup", 2);
|
|
800
|
+
__decorateClass([
|
|
801
|
+
e2(".date-picker__combobox")
|
|
802
|
+
], CwDatePicker.prototype, "combobox", 2);
|
|
803
|
+
__decorateClass([
|
|
804
|
+
e2(".date-picker__display-input")
|
|
805
|
+
], CwDatePicker.prototype, "displayInput", 2);
|
|
806
|
+
__decorateClass([
|
|
807
|
+
e2(".date-picker__value-input")
|
|
808
|
+
], CwDatePicker.prototype, "valueInput", 2);
|
|
809
|
+
__decorateClass([
|
|
810
|
+
e2(".date-picker__calendar")
|
|
811
|
+
], CwDatePicker.prototype, "calendar", 2);
|
|
812
|
+
__decorateClass([
|
|
813
|
+
r()
|
|
814
|
+
], CwDatePicker.prototype, "hasFocus", 2);
|
|
815
|
+
__decorateClass([
|
|
816
|
+
r()
|
|
817
|
+
], CwDatePicker.prototype, "focusedDate", 2);
|
|
818
|
+
__decorateClass([
|
|
819
|
+
r()
|
|
820
|
+
], CwDatePicker.prototype, "valueHasChanged", 2);
|
|
821
|
+
__decorateClass([
|
|
822
|
+
n()
|
|
823
|
+
], CwDatePicker.prototype, "name", 2);
|
|
824
|
+
__decorateClass([
|
|
825
|
+
r()
|
|
826
|
+
], CwDatePicker.prototype, "value", 1);
|
|
827
|
+
__decorateClass([
|
|
828
|
+
n({ attribute: "value" })
|
|
829
|
+
], CwDatePicker.prototype, "defaultValue", 2);
|
|
830
|
+
__decorateClass([
|
|
831
|
+
n()
|
|
832
|
+
], CwDatePicker.prototype, "min", 2);
|
|
833
|
+
__decorateClass([
|
|
834
|
+
n()
|
|
835
|
+
], CwDatePicker.prototype, "max", 2);
|
|
836
|
+
__decorateClass([
|
|
837
|
+
n({ attribute: "first-day-of-week", type: Number })
|
|
838
|
+
], CwDatePicker.prototype, "firstDayOfWeek", 2);
|
|
839
|
+
__decorateClass([
|
|
840
|
+
n({ reflect: true })
|
|
841
|
+
], CwDatePicker.prototype, "size", 2);
|
|
842
|
+
__decorateClass([
|
|
843
|
+
n()
|
|
844
|
+
], CwDatePicker.prototype, "placeholder", 2);
|
|
845
|
+
__decorateClass([
|
|
846
|
+
n({ type: Boolean, reflect: true })
|
|
847
|
+
], CwDatePicker.prototype, "disabled", 2);
|
|
848
|
+
__decorateClass([
|
|
849
|
+
n({ type: Boolean })
|
|
850
|
+
], CwDatePicker.prototype, "clearable", 2);
|
|
851
|
+
__decorateClass([
|
|
852
|
+
n({ type: Boolean, reflect: true })
|
|
853
|
+
], CwDatePicker.prototype, "open", 2);
|
|
854
|
+
__decorateClass([
|
|
855
|
+
n({ type: Boolean })
|
|
856
|
+
], CwDatePicker.prototype, "hoist", 2);
|
|
857
|
+
__decorateClass([
|
|
858
|
+
n({ type: Boolean, reflect: true })
|
|
859
|
+
], CwDatePicker.prototype, "filled", 2);
|
|
860
|
+
__decorateClass([
|
|
861
|
+
n({ type: Boolean, reflect: true })
|
|
862
|
+
], CwDatePicker.prototype, "pill", 2);
|
|
863
|
+
__decorateClass([
|
|
864
|
+
n()
|
|
865
|
+
], CwDatePicker.prototype, "label", 2);
|
|
866
|
+
__decorateClass([
|
|
867
|
+
n({ reflect: true })
|
|
868
|
+
], CwDatePicker.prototype, "placement", 2);
|
|
869
|
+
__decorateClass([
|
|
870
|
+
n({ attribute: "help-text" })
|
|
871
|
+
], CwDatePicker.prototype, "helpText", 2);
|
|
872
|
+
__decorateClass([
|
|
873
|
+
n({ reflect: true })
|
|
874
|
+
], CwDatePicker.prototype, "form", 2);
|
|
875
|
+
__decorateClass([
|
|
876
|
+
n({ type: Boolean, reflect: true })
|
|
877
|
+
], CwDatePicker.prototype, "required", 2);
|
|
878
|
+
__decorateClass([
|
|
879
|
+
watch("disabled", { waitUntilFirstUpdate: true })
|
|
880
|
+
], CwDatePicker.prototype, "handleDisabledChange", 1);
|
|
881
|
+
__decorateClass([
|
|
882
|
+
watch(["defaultValue", "value"], { waitUntilFirstUpdate: true })
|
|
883
|
+
], CwDatePicker.prototype, "handleValueChange", 1);
|
|
884
|
+
__decorateClass([
|
|
885
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
886
|
+
], CwDatePicker.prototype, "handleOpenChange", 1);
|
|
887
|
+
setDefaultAnimation("date-picker.show", {
|
|
888
|
+
keyframes: [
|
|
889
|
+
{ opacity: 0, scale: 0.9 },
|
|
890
|
+
{ opacity: 1, scale: 1 }
|
|
891
|
+
],
|
|
892
|
+
options: { duration: 100, easing: "ease" }
|
|
893
|
+
});
|
|
894
|
+
setDefaultAnimation("date-picker.hide", {
|
|
895
|
+
keyframes: [
|
|
896
|
+
{ opacity: 1, scale: 1 },
|
|
897
|
+
{ opacity: 0, scale: 0.9 }
|
|
898
|
+
],
|
|
899
|
+
options: { duration: 100, easing: "ease" }
|
|
900
|
+
});
|
|
901
|
+
|
|
902
|
+
export {
|
|
903
|
+
CwDatePicker
|
|
904
|
+
};
|