@cordwainer/cw-elements 1.0.3 → 1.1.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.2HCOWDQ2.js +292 -0
- package/cdn/chunks/chunk.2ITDDQ74.js +11 -0
- package/cdn/chunks/chunk.2XB4N7HP.js +24 -0
- package/cdn/chunks/chunk.33RKYZ3H.js +42 -0
- package/cdn/chunks/chunk.3AON4UYF.js +25 -0
- package/cdn/chunks/chunk.3CFMBWU5.js +11 -0
- package/cdn/chunks/chunk.3ITR3YMH.js +16 -0
- package/cdn/chunks/chunk.3KQQNJDR.js +11 -0
- package/cdn/chunks/chunk.3TSAB5QT.js +11 -0
- package/cdn/chunks/chunk.3Z3PLTUL.js +11 -0
- package/cdn/chunks/chunk.43VOQH3T.js +25 -0
- package/cdn/chunks/chunk.4EES6GOQ.js +24 -0
- package/cdn/chunks/chunk.4FMYZJVU.js +24 -0
- package/cdn/chunks/chunk.4JFCP6SO.js +299 -0
- package/cdn/chunks/chunk.4JLZWUJ2.js +302 -0
- package/cdn/chunks/chunk.4K7B4CJ6.js +821 -0
- package/cdn/chunks/chunk.4N647OPV.js +21 -0
- package/cdn/chunks/chunk.4SKKVZ55.js +233 -0
- package/cdn/chunks/chunk.52JGCTU5.js +29 -0
- package/cdn/chunks/chunk.5DU3XP7U.js +24 -0
- package/cdn/chunks/chunk.5OTXX577.js +24 -0
- package/cdn/chunks/chunk.5UHI74VE.js +844 -0
- package/cdn/chunks/chunk.655SUSW2.js +11 -0
- package/cdn/chunks/chunk.66W6K6UW.js +114 -0
- package/cdn/chunks/chunk.6D4WVN7S.js +28 -0
- package/cdn/chunks/chunk.6LLJOWGP.js +36 -0
- package/cdn/chunks/chunk.6RODMT7E.js +24 -0
- package/cdn/chunks/chunk.6YPK3JMS.js +1990 -0
- package/cdn/chunks/chunk.7OU3XWCS.js +120 -0
- package/cdn/chunks/chunk.7PW5UITU.js +21 -0
- package/cdn/chunks/chunk.7QBOR7UC.js +11 -0
- package/cdn/chunks/chunk.7YLCMHGB.js +11 -0
- package/cdn/chunks/chunk.A3K6BVEY.js +1925 -0
- package/cdn/chunks/chunk.AM7AFPJX.js +21 -0
- package/cdn/chunks/chunk.AOMTPHQE.js +11 -0
- package/cdn/chunks/chunk.ARJRMDAZ.js +969 -0
- package/cdn/chunks/chunk.ARU2MPJN.js +49 -0
- package/cdn/chunks/chunk.AWKIJZ56.js +21 -0
- package/cdn/chunks/chunk.B5JS5PSY.js +11 -0
- package/cdn/chunks/chunk.BCL5BS7M.js +267 -0
- package/cdn/chunks/chunk.BQNIJLQQ.js +11 -0
- package/cdn/chunks/chunk.BYPPYZSC.js +174 -0
- package/cdn/chunks/chunk.C5JCJOBY.js +25 -0
- package/cdn/chunks/chunk.C7IERU4U.js +113 -0
- package/cdn/chunks/chunk.CAANYHVQ.js +11 -0
- package/cdn/chunks/chunk.CBIBDTMJ.js +21 -0
- package/cdn/chunks/chunk.CNH6N7WQ.js +11 -0
- package/cdn/chunks/chunk.D2S7DWGA.js +25 -0
- package/cdn/chunks/chunk.D4D7Z3EO.js +11 -0
- package/cdn/chunks/chunk.D5ENUSZC.js +11 -0
- package/cdn/chunks/chunk.DCEJQIUE.js +279 -0
- package/cdn/chunks/chunk.DI3FKHCW.js +904 -0
- package/cdn/chunks/chunk.DRVRTRXM.js +27 -0
- package/cdn/chunks/chunk.DWK5PZP6.js +142 -0
- package/cdn/chunks/chunk.DZF6GS3W.js +28 -0
- package/cdn/chunks/chunk.E7ZSKWYG.js +297 -0
- package/cdn/chunks/chunk.EBASGSNC.js +11 -0
- package/cdn/chunks/chunk.ECL4K2S3.js +95 -0
- package/cdn/chunks/chunk.EIZM5IQF.js +25 -0
- package/cdn/chunks/chunk.EZ4P5QWF.js +295 -0
- package/cdn/chunks/chunk.F3FBYMAV.js +11 -0
- package/cdn/chunks/chunk.FAF5A5AU.js +21 -0
- package/cdn/chunks/chunk.FFPZJUHY.js +11 -0
- package/cdn/chunks/chunk.FIUOWQRA.js +11 -0
- package/cdn/chunks/chunk.FJIVURHU.js +87 -0
- package/cdn/chunks/chunk.FJLDW473.js +339 -0
- package/cdn/chunks/chunk.FMXM264S.js +75 -0
- package/cdn/chunks/chunk.FS5NO3ZJ.js +21 -0
- package/cdn/chunks/chunk.FS7R2DXQ.js +11 -0
- package/cdn/chunks/chunk.G2HEPOXB.js +11 -0
- package/cdn/chunks/chunk.GAQ7ZUAW.js +11 -0
- package/cdn/chunks/chunk.GOD4KD5Z.js +122 -0
- package/cdn/chunks/chunk.GOEVWHFJ.js +218 -0
- package/cdn/chunks/chunk.GXTWKGV2.js +29 -0
- package/cdn/chunks/chunk.GZUCTJRZ.js +26 -0
- package/cdn/chunks/chunk.H6L5SOQU.js +580 -0
- package/cdn/chunks/chunk.HEWQ2PCJ.js +93 -0
- package/cdn/chunks/chunk.HIKINB52.js +27 -0
- package/cdn/chunks/chunk.HNF62D2W.js +402 -0
- package/cdn/chunks/chunk.HNTITCGD.js +11 -0
- package/cdn/chunks/chunk.HOBAXFUI.js +11 -0
- package/cdn/chunks/chunk.HRI5Y66I.js +391 -0
- package/cdn/chunks/chunk.IDD4S3NG.js +25 -0
- package/cdn/chunks/chunk.IFN3MYUZ.js +29 -0
- package/cdn/chunks/chunk.IL2DQ3QY.js +21 -0
- package/cdn/chunks/chunk.IP6SNBIW.js +11 -0
- package/cdn/chunks/chunk.IPSBD5ME.js +11 -0
- package/cdn/chunks/chunk.IQBSTJ65.js +197 -0
- package/cdn/chunks/chunk.JFBDWP4U.js +63 -0
- package/cdn/chunks/chunk.JTXCFBR4.js +11 -0
- package/cdn/chunks/chunk.JW7KHZ4J.js +11 -0
- package/cdn/chunks/chunk.KFWRQHN7.js +11 -0
- package/cdn/chunks/chunk.KGID72UV.js +33 -0
- package/cdn/chunks/chunk.KL5BH3FA.js +24 -0
- package/cdn/chunks/chunk.KSHAFN7C.js +33 -0
- package/cdn/chunks/chunk.KV2FDPRK.js +137 -0
- package/cdn/chunks/chunk.KYNXASIK.js +25 -0
- package/cdn/chunks/chunk.L2C3QJBP.js +11 -0
- package/cdn/chunks/chunk.L4XWYK6U.js +11 -0
- package/cdn/chunks/chunk.LBBPR7N5.js +127 -0
- package/cdn/chunks/chunk.LBW2TUUF.js +724 -0
- package/cdn/chunks/chunk.LCLK7HWZ.js +97 -0
- package/cdn/chunks/chunk.LFFIOKB5.js +33 -0
- package/cdn/chunks/chunk.LGLAK7IY.js +11 -0
- package/cdn/chunks/chunk.LJJCBC53.js +24 -0
- package/cdn/chunks/chunk.LNNK5UGF.js +21 -0
- package/cdn/chunks/chunk.LR4QSFK2.js +49 -0
- package/cdn/chunks/chunk.LWORAYYY.js +11 -0
- package/cdn/chunks/chunk.LWYKDK2Q.js +236 -0
- package/cdn/chunks/chunk.LY3FQEUG.js +135 -0
- package/cdn/chunks/chunk.M3LS5AU5.js +11 -0
- package/cdn/chunks/chunk.MNQ4FIA2.js +11 -0
- package/cdn/chunks/chunk.MSOI5XB5.js +11 -0
- package/cdn/chunks/chunk.MTGAZOUU.js +11 -0
- package/cdn/chunks/chunk.MZTIJ5NI.js +103 -0
- package/cdn/chunks/chunk.N233KOTU.js +50 -0
- package/cdn/chunks/chunk.NDAKKJTZ.js +314 -0
- package/cdn/chunks/chunk.NECVATDY.js +21 -0
- package/cdn/chunks/chunk.NLRLLJCX.js +24 -0
- package/cdn/chunks/chunk.NPMHLMPG.js +21 -0
- package/cdn/chunks/chunk.NQG4ZBID.js +11 -0
- package/cdn/chunks/chunk.NR6EKIVZ.js +216 -0
- package/cdn/chunks/chunk.NUN5N26D.js +25 -0
- package/cdn/chunks/chunk.NYW7VFFN.js +21 -0
- package/cdn/chunks/chunk.OEEDTQST.js +11 -0
- package/cdn/chunks/chunk.OEIWKWEU.js +499 -0
- package/cdn/chunks/chunk.OEJAVM5K.js +33 -0
- package/cdn/chunks/chunk.OIDIDCJJ.js +11 -0
- package/cdn/chunks/chunk.ON57KIEN.js +67 -0
- package/cdn/chunks/chunk.OOAK7TAG.js +44 -0
- package/cdn/chunks/chunk.ORVZZGLB.js +21 -0
- package/cdn/chunks/chunk.OUA6SC6S.js +11 -0
- package/cdn/chunks/chunk.OUT2YMSY.js +21 -0
- package/cdn/chunks/chunk.P4EIGKJN.js +11 -0
- package/cdn/chunks/chunk.P4VJA7SF.js +11 -0
- package/cdn/chunks/chunk.PA5QOKP5.js +11 -0
- package/cdn/chunks/chunk.PBTGD2ZW.js +346 -0
- package/cdn/chunks/chunk.PDXMUT4D.js +118 -0
- package/cdn/chunks/chunk.PFYG5PQN.js +11 -0
- package/cdn/chunks/chunk.PYGN5SMV.js +186 -0
- package/cdn/chunks/chunk.QD5DJ6HW.js +118 -0
- package/cdn/chunks/chunk.QEGMANJD.js +11 -0
- package/cdn/chunks/chunk.QFKEAIZB.js +11 -0
- package/cdn/chunks/chunk.QH62LR5V.js +11 -0
- package/cdn/chunks/chunk.QOTLA23K.js +11 -0
- package/cdn/chunks/chunk.QPA3FW75.js +378 -0
- package/cdn/chunks/chunk.QU63JKLN.js +11 -0
- package/cdn/chunks/chunk.QWWQCQV3.js +24 -0
- package/cdn/chunks/chunk.R2VYKFDL.js +11 -0
- package/cdn/chunks/chunk.R5YQVTTD.js +28 -0
- package/cdn/chunks/chunk.R6T7GVPW.js +291 -0
- package/cdn/chunks/chunk.R7WIIHCX.js +73 -0
- package/cdn/chunks/chunk.ROJPM4GQ.js +24 -0
- package/cdn/chunks/chunk.RT4CAW3E.js +26 -0
- package/cdn/chunks/chunk.RZJ3HU54.js +367 -0
- package/cdn/chunks/chunk.S2AVYGHA.js +11 -0
- package/cdn/chunks/chunk.SDP7CF3A.js +24 -0
- package/cdn/chunks/chunk.SE2G7R3B.js +21 -0
- package/cdn/chunks/chunk.SNCZLCHW.js +77 -0
- package/cdn/chunks/chunk.SYCSG742.js +52 -0
- package/cdn/chunks/chunk.SZPC7S7X.js +255 -0
- package/cdn/chunks/chunk.T6VVR4ZE.js +21 -0
- package/cdn/chunks/chunk.T73FEO3I.js +11 -0
- package/cdn/chunks/chunk.TEV7KYVM.js +24 -0
- package/cdn/chunks/chunk.TKCWOOX6.js +11 -0
- package/cdn/chunks/chunk.TWMGSSDH.js +11 -0
- package/cdn/chunks/chunk.TZPNJJKB.js +11 -0
- package/cdn/chunks/chunk.UC7EWMAO.js +29 -0
- package/cdn/chunks/chunk.UJDGTUBN.js +26 -0
- package/cdn/chunks/chunk.ULWZXCAU.js +27 -0
- package/cdn/chunks/chunk.V5LILEPX.js +153 -0
- package/cdn/chunks/chunk.VAJXTKN4.js +11 -0
- package/cdn/chunks/chunk.VAOKIXI6.js +27 -0
- package/cdn/chunks/chunk.VDP6PTWO.js +21 -0
- package/cdn/chunks/chunk.VMPRIN5S.js +28 -0
- package/cdn/chunks/chunk.VWYUYCHL.js +158 -0
- package/cdn/chunks/chunk.W3N2EFBL.js +21 -0
- package/cdn/chunks/chunk.WAGPTPZE.js +11 -0
- package/cdn/chunks/chunk.WLRCSPNA.js +79 -0
- package/cdn/chunks/chunk.WQSEOTUN.js +11 -0
- package/cdn/chunks/chunk.WY27JU74.js +11 -0
- package/cdn/chunks/chunk.X7J57Z6J.js +11 -0
- package/cdn/chunks/chunk.XPKWG7LR.js +28 -0
- package/cdn/chunks/chunk.XQWZA6HB.js +21 -0
- package/cdn/chunks/chunk.Y2YDNSAD.js +27 -0
- package/cdn/chunks/chunk.Y6MNSLG2.js +350 -0
- package/cdn/chunks/chunk.YMYUMO3J.js +336 -0
- package/cdn/chunks/chunk.YXJDZ2OS.js +21 -0
- package/cdn/chunks/chunk.ZQL4G2MF.js +25 -0
- package/cdn/chunks/chunk.ZRPKY6II.js +11 -0
- package/cdn/chunks/chunk.ZSU7N44F.js +21 -0
- package/cdn/chunks/chunk.ZSVNJLS5.js +455 -0
- package/cdn/chunks/chunk.ZU6JOHHU.js +24 -0
- package/cdn/chunks/chunk.ZVSJARP7.js +82 -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 +16 -16
- package/cdn/components/color-picker/color-picker.js +17 -17
- package/cdn/components/combobox/combobox.component.d.ts +219 -0
- package/cdn/components/combobox/combobox.component.js +44 -0
- package/cdn/components/combobox/combobox.d.ts +8 -0
- package/cdn/components/combobox/combobox.js +45 -0
- package/cdn/components/combobox/combobox.styles.d.ts +2 -0
- package/cdn/components/combobox/combobox.styles.js +8 -0
- package/cdn/components/copy-button/copy-button.component.js +10 -10
- package/cdn/components/copy-button/copy-button.js +11 -11
- package/cdn/components/date-picker/date-picker.component.d.ts +190 -0
- package/cdn/components/date-picker/date-picker.component.js +36 -0
- package/cdn/components/date-picker/date-picker.d.ts +8 -0
- package/cdn/components/date-picker/date-picker.js +37 -0
- package/cdn/components/date-picker/date-picker.styles.d.ts +2 -0
- package/cdn/components/date-picker/date-picker.styles.js +8 -0
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +9 -9
- package/cdn/components/dialog/dialog.js +10 -10
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +9 -9
- package/cdn/components/drawer/drawer.js +10 -10
- 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/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 +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +7 -7
- package/cdn/components/input/input.js +8 -8
- 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 +9 -9
- package/cdn/components/menu-item/menu-item.js +10 -10
- 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.d.ts +49 -0
- package/cdn/components/pagination/pagination.component.js +28 -0
- package/cdn/components/pagination/pagination.d.ts +8 -0
- package/cdn/components/pagination/pagination.js +29 -0
- package/cdn/components/pagination/pagination.styles.d.ts +2 -0
- package/cdn/components/pagination/pagination.styles.js +8 -0
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- 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 +8 -8
- package/cdn/components/rating/rating.js +9 -9
- 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/select/select.component.js +12 -12
- package/cdn/components/select/select.js +13 -13
- 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.d.ts +184 -0
- package/cdn/components/time-picker/time-picker.component.js +35 -0
- package/cdn/components/time-picker/time-picker.d.ts +8 -0
- package/cdn/components/time-picker/time-picker.js +36 -0
- package/cdn/components/time-picker/time-picker.styles.d.ts +2 -0
- package/cdn/components/time-picker/time-picker.styles.js +8 -0
- 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 +10787 -7218
- package/cdn/cw-elements.d.ts +4 -0
- package/cdn/cw-elements.js +176 -152
- 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 +17 -17
- package/cdn/react/combobox/index.d.ts +87 -0
- package/cdn/react/combobox/index.js +45 -0
- package/cdn/react/copy-button/index.js +11 -11
- package/cdn/react/date-picker/index.d.ts +81 -0
- package/cdn/react/date-picker/index.js +37 -0
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +10 -10
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +10 -10
- 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/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 +3 -3
- package/cdn/react/index.d.ts +4 -0
- package/cdn/react/index.js +179 -155
- package/cdn/react/input/index.js +8 -8
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +10 -10
- 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.d.ts +26 -0
- package/cdn/react/pagination/index.js +29 -0
- package/cdn/react/popup/index.js +5 -5
- 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 +9 -9
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/select/index.js +13 -13
- 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.d.ts +77 -0
- package/cdn/react/time-picker/index.js +36 -0
- 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 +472 -0
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/utilities/localize.d.ts +10 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +377 -0
- package/cdn/web-types.json +2113 -1026
- package/dist/chunks/chunk.2H4HZOD6.js +15 -0
- package/dist/chunks/chunk.2MQORRRY.js +11 -0
- package/dist/chunks/chunk.2PKCIQLP.js +42 -0
- package/dist/chunks/chunk.2RLWEUTO.js +33 -0
- package/dist/chunks/chunk.3J5QI4JK.js +25 -0
- package/dist/chunks/chunk.3KHBUHFC.js +11 -0
- package/dist/chunks/chunk.3SGQL66D.js +34 -0
- package/dist/chunks/chunk.3TDGRVGW.js +231 -0
- package/dist/chunks/chunk.43D3JN4D.js +813 -0
- package/dist/chunks/chunk.4EVEVJPF.js +11 -0
- package/dist/chunks/chunk.4IMMLOHV.js +21 -0
- package/dist/chunks/chunk.4PELDTWU.js +94 -0
- package/dist/chunks/chunk.4QI4XQMO.js +370 -0
- package/dist/chunks/chunk.5BCRHR5N.js +11 -0
- package/dist/chunks/chunk.5FHLKLBD.js +33 -0
- package/dist/chunks/chunk.5LAPZTKG.js +67 -0
- package/dist/chunks/chunk.5NIRKV36.js +11 -0
- package/dist/chunks/chunk.5Q7Z4CF5.js +11 -0
- package/dist/chunks/chunk.5QKXA4SG.js +11 -0
- package/dist/chunks/chunk.5UHMCLES.js +113 -0
- package/dist/chunks/chunk.5Z6HEUEV.js +227 -0
- package/dist/chunks/chunk.65DV4VYU.js +294 -0
- package/dist/chunks/chunk.65IQW2LO.js +11 -0
- package/dist/chunks/chunk.6KCZ7HCZ.js +21 -0
- package/dist/chunks/chunk.6S2N3IGZ.js +24 -0
- package/dist/chunks/chunk.6V4BLPJO.js +27 -0
- package/dist/chunks/chunk.73HOFQXB.js +73 -0
- package/dist/chunks/chunk.76PNPNJ3.js +116 -0
- package/dist/chunks/chunk.76QD6SEE.js +192 -0
- package/dist/chunks/chunk.7F5K2B3K.js +11 -0
- package/dist/chunks/chunk.7H5CO23V.js +21 -0
- package/dist/chunks/chunk.7NNDVKVL.js +27 -0
- package/dist/chunks/chunk.7R6FIZB3.js +26 -0
- package/dist/chunks/chunk.7RBDQ2Q2.js +290 -0
- package/dist/chunks/chunk.7RGLY5S5.js +11 -0
- package/dist/chunks/chunk.7RZ4QYRJ.js +24 -0
- package/dist/chunks/chunk.7UJMCUQZ.js +93 -0
- package/dist/chunks/chunk.7XNX5RX5.js +21 -0
- package/dist/chunks/chunk.ACJPI2ZP.js +21 -0
- package/dist/chunks/chunk.AK7AQCUZ.js +397 -0
- package/dist/chunks/chunk.AMPETZRT.js +25 -0
- package/dist/chunks/chunk.AO5R5WRH.js +11 -0
- package/dist/chunks/chunk.AODRAEIP.js +27 -0
- package/dist/chunks/chunk.ARJBERRZ.js +11 -0
- package/dist/chunks/chunk.ATZFHYGU.js +11 -0
- package/dist/chunks/chunk.AX4VQJ2Y.js +837 -0
- package/dist/chunks/chunk.AY44GO7E.js +11 -0
- package/dist/chunks/chunk.B2H5BCXK.js +26 -0
- package/dist/chunks/chunk.BBCQTHKV.js +25 -0
- package/dist/chunks/chunk.BHQYPJVY.js +85 -0
- package/dist/chunks/chunk.BW7LP64Q.js +28 -0
- package/dist/chunks/chunk.C6CMN3L6.js +21 -0
- package/dist/chunks/chunk.C73LCOB6.js +11 -0
- package/dist/chunks/chunk.CA4QX643.js +135 -0
- package/dist/chunks/chunk.CIX52UF6.js +11 -0
- package/dist/chunks/chunk.D6GLBPCC.js +50 -0
- package/dist/chunks/chunk.DEOXGA6Y.js +11 -0
- package/dist/chunks/chunk.DFQRUEUQ.js +961 -0
- package/dist/chunks/chunk.DW73DS3K.js +21 -0
- package/dist/chunks/chunk.E6CN5MCG.js +45 -0
- package/dist/chunks/chunk.ECLUEVFQ.js +11 -0
- package/dist/chunks/chunk.ELM2KTTL.js +336 -0
- package/dist/chunks/chunk.EPO6OMTJ.js +11 -0
- package/dist/chunks/chunk.EXT4JQLR.js +42 -0
- package/dist/chunks/chunk.EYA3B3XL.js +292 -0
- package/dist/chunks/chunk.F32NLI2K.js +22 -0
- package/dist/chunks/chunk.F3HU4FRE.js +11 -0
- package/dist/chunks/chunk.FHGNOZ3M.js +24 -0
- package/dist/chunks/chunk.GACJOPHW.js +21 -0
- package/dist/chunks/chunk.GB5ZNIFK.js +115 -0
- package/dist/chunks/chunk.GNTQPKMI.js +22 -0
- package/dist/chunks/chunk.GR5TXY3I.js +11 -0
- package/dist/chunks/chunk.H5OSCBD4.js +11 -0
- package/dist/chunks/chunk.H6XYUOZQ.js +21 -0
- package/dist/chunks/chunk.HQABLPRL.js +11 -0
- package/dist/chunks/chunk.HR4KJEN7.js +21 -0
- package/dist/chunks/chunk.IBBKXLSG.js +247 -0
- package/dist/chunks/chunk.IBFFKPMJ.js +21 -0
- package/dist/chunks/chunk.IEHK5ZAT.js +28 -0
- package/dist/chunks/chunk.ILC22ZAI.js +315 -0
- package/dist/chunks/chunk.ISPW6VWV.js +25 -0
- package/dist/chunks/chunk.ITLMQYJE.js +11 -0
- package/dist/chunks/chunk.J4LIU6PI.js +109 -0
- package/dist/chunks/chunk.JD34XJ6C.js +417 -0
- package/dist/chunks/chunk.JNQIYERA.js +80 -0
- package/dist/chunks/chunk.K5Z3ITGZ.js +24 -0
- package/dist/chunks/chunk.K7LTF73O.js +11 -0
- package/dist/chunks/chunk.KDQUV5WY.js +11 -0
- package/dist/chunks/chunk.KHBX4ULR.js +181 -0
- package/dist/chunks/chunk.KPHFMPFR.js +11 -0
- package/dist/chunks/chunk.KQTQK5MD.js +111 -0
- package/dist/chunks/chunk.KZNVSSO7.js +280 -0
- package/dist/chunks/chunk.L4XMKPQH.js +25 -0
- package/dist/chunks/chunk.LAFKBNYZ.js +119 -0
- package/dist/chunks/chunk.LAFWNCOU.js +11 -0
- package/dist/chunks/chunk.LKADYOCK.js +24 -0
- package/dist/chunks/chunk.LQ347S54.js +126 -0
- package/dist/chunks/chunk.LWLRBQ5J.js +949 -0
- package/dist/chunks/chunk.LWMAUYHC.js +26 -0
- package/dist/chunks/chunk.LXY3R7YG.js +21 -0
- package/dist/chunks/chunk.MDYXLMXH.js +11 -0
- package/dist/chunks/chunk.MICTHKCS.js +151 -0
- package/dist/chunks/chunk.MQA77RMD.js +100 -0
- package/dist/chunks/chunk.MVOUSXSF.js +91 -0
- package/dist/chunks/chunk.NBUSQ542.js +24 -0
- package/dist/chunks/chunk.NH42D4UE.js +24 -0
- package/dist/chunks/chunk.NP4OUAXU.js +11 -0
- package/dist/chunks/chunk.O2IU3M7C.js +24 -0
- package/dist/chunks/chunk.O2ZVM6SW.js +75 -0
- package/dist/chunks/chunk.O4GMXCLR.js +134 -0
- package/dist/chunks/chunk.O5XY6B7A.js +11 -0
- package/dist/chunks/chunk.OGWIBXT7.js +63 -0
- package/dist/chunks/chunk.OIFFM3XU.js +75 -0
- package/dist/chunks/chunk.OIPUR7ON.js +11 -0
- package/dist/chunks/chunk.OOAK7TAG.js +44 -0
- package/dist/chunks/chunk.PAX3G5WD.js +11 -0
- package/dist/chunks/chunk.PFF33EOI.js +11 -0
- package/dist/chunks/chunk.PQ3TMW3U.js +11 -0
- package/dist/chunks/chunk.PYUUOHXO.js +11 -0
- package/dist/chunks/chunk.PZEU3QVW.js +29 -0
- package/dist/chunks/chunk.Q2KYARNF.js +11 -0
- package/dist/chunks/chunk.QCNSBCC4.js +21 -0
- package/dist/chunks/chunk.QD6ZHCQB.js +11 -0
- package/dist/chunks/chunk.QDHPCZYU.js +361 -0
- package/dist/chunks/chunk.QDI4JIQP.js +21 -0
- package/dist/chunks/chunk.QXODBA7E.js +274 -0
- package/dist/chunks/chunk.R55RM4C7.js +21 -0
- package/dist/chunks/chunk.RGBGPSJY.js +49 -0
- package/dist/chunks/chunk.RIZVMR72.js +28 -0
- package/dist/chunks/chunk.RM5L3IOA.js +90 -0
- package/dist/chunks/chunk.RU4DLCZV.js +337 -0
- package/dist/chunks/chunk.S6V3X736.js +311 -0
- package/dist/chunks/chunk.SDOJGRAK.js +11 -0
- package/dist/chunks/chunk.SEZSK32Z.js +29 -0
- package/dist/chunks/chunk.SGSFAE2H.js +11 -0
- package/dist/chunks/chunk.SOXPH2YX.js +11 -0
- package/dist/chunks/chunk.SPHLRGEH.js +24 -0
- package/dist/chunks/chunk.SRCMHGIO.js +448 -0
- package/dist/chunks/chunk.SU27LAPT.js +21 -0
- package/dist/chunks/chunk.T2O3LNNZ.js +11 -0
- package/dist/chunks/chunk.T325IMR5.js +21 -0
- package/dist/chunks/chunk.T532OZDW.js +28 -0
- package/dist/chunks/chunk.TAFVMUNL.js +24 -0
- package/dist/chunks/chunk.TLANNMVK.js +29 -0
- package/dist/chunks/chunk.TNOY6DAH.js +491 -0
- package/dist/chunks/chunk.TRSBHO5X.js +213 -0
- package/dist/chunks/chunk.TWJDGQUP.js +21 -0
- package/dist/chunks/chunk.U2KFH7IQ.js +11 -0
- package/dist/chunks/chunk.U2VXEMIB.js +27 -0
- package/dist/chunks/chunk.U3E4RUF3.js +25 -0
- package/dist/chunks/chunk.U5LW3SOP.js +170 -0
- package/dist/chunks/chunk.UBMVNKLH.js +11 -0
- package/dist/chunks/chunk.UGMPZPOC.js +896 -0
- package/dist/chunks/chunk.UQJIYR5Y.js +25 -0
- package/dist/chunks/chunk.UVAZQGMH.js +259 -0
- package/dist/chunks/chunk.UYUXI3C5.js +11 -0
- package/dist/chunks/chunk.UZ32VHHN.js +25 -0
- package/dist/chunks/chunk.V7L5VH2Q.js +28 -0
- package/dist/chunks/chunk.V7MYJXMP.js +11 -0
- package/dist/chunks/chunk.VBV4B3MS.js +45 -0
- package/dist/chunks/chunk.VOHIUZ6B.js +11 -0
- package/dist/chunks/chunk.VPBLXZTT.js +11 -0
- package/dist/chunks/chunk.VQCBJ2CK.js +25 -0
- package/dist/chunks/chunk.VU3W74XH.js +11 -0
- package/dist/chunks/chunk.W2GR4RJE.js +33 -0
- package/dist/chunks/chunk.W4JLUJUI.js +21 -0
- package/dist/chunks/chunk.WD6B4MTR.js +11 -0
- package/dist/chunks/chunk.WJF5XUDZ.js +21 -0
- package/dist/chunks/chunk.WTPEMOIE.js +29 -0
- package/dist/chunks/chunk.WW7EXCNV.js +11 -0
- package/dist/chunks/chunk.X2CXPW44.js +11 -0
- package/dist/chunks/chunk.XBZBOF5F.js +11 -0
- package/dist/chunks/chunk.XEIGR7UN.js +11 -0
- package/dist/chunks/chunk.XMG7E7TA.js +24 -0
- package/dist/chunks/chunk.XN44PEUX.js +11 -0
- package/dist/chunks/chunk.XOU3MYJD.js +21 -0
- package/dist/chunks/chunk.XPDQCCD3.js +11 -0
- package/dist/chunks/chunk.XTSODF7Y.js +33 -0
- package/dist/chunks/chunk.XYCRVLA3.js +11 -0
- package/dist/chunks/chunk.Y7NKENZS.js +11 -0
- package/dist/chunks/chunk.YBDJDQJP.js +11 -0
- package/dist/chunks/chunk.YE5N3PSS.js +59 -0
- package/dist/chunks/chunk.YK27CZ2Z.js +550 -0
- package/dist/chunks/chunk.YMDR4GNB.js +11 -0
- package/dist/chunks/chunk.YOSWTWCE.js +293 -0
- package/dist/chunks/chunk.YQYPY5UZ.js +347 -0
- package/dist/chunks/chunk.YS6YVFW6.js +11 -0
- package/dist/chunks/chunk.YYOXSBIU.js +11 -0
- package/dist/chunks/chunk.Z2AEINB6.js +24 -0
- package/dist/chunks/chunk.Z2UUL2QO.js +117 -0
- package/dist/chunks/chunk.Z2XNWJKH.js +25 -0
- package/dist/chunks/chunk.Z4VHIICI.js +147 -0
- package/dist/chunks/chunk.ZF3SPCYS.js +100 -0
- package/dist/chunks/chunk.ZQVQKLWH.js +286 -0
- package/dist/chunks/chunk.ZVXW5IDX.js +384 -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 +16 -16
- package/dist/components/color-picker/color-picker.js +17 -17
- package/dist/components/combobox/combobox.component.d.ts +219 -0
- package/dist/components/combobox/combobox.component.js +36 -0
- package/dist/components/combobox/combobox.d.ts +8 -0
- package/dist/components/combobox/combobox.js +37 -0
- package/dist/components/combobox/combobox.styles.d.ts +2 -0
- package/dist/components/combobox/combobox.styles.js +7 -0
- package/dist/components/copy-button/copy-button.component.js +10 -10
- package/dist/components/copy-button/copy-button.js +11 -11
- package/dist/components/date-picker/date-picker.component.d.ts +190 -0
- package/dist/components/date-picker/date-picker.component.js +29 -0
- package/dist/components/date-picker/date-picker.d.ts +8 -0
- package/dist/components/date-picker/date-picker.js +30 -0
- package/dist/components/date-picker/date-picker.styles.d.ts +2 -0
- package/dist/components/date-picker/date-picker.styles.js +7 -0
- package/dist/components/details/details.component.js +7 -7
- package/dist/components/details/details.js +8 -8
- package/dist/components/dialog/dialog.component.js +9 -9
- package/dist/components/dialog/dialog.js +10 -10
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +9 -9
- package/dist/components/drawer/drawer.js +10 -10
- 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/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 +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- 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 +9 -9
- package/dist/components/menu-item/menu-item.js +10 -10
- 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.d.ts +49 -0
- package/dist/components/pagination/pagination.component.js +21 -0
- package/dist/components/pagination/pagination.d.ts +8 -0
- package/dist/components/pagination/pagination.js +22 -0
- package/dist/components/pagination/pagination.styles.d.ts +2 -0
- package/dist/components/pagination/pagination.styles.js +7 -0
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- 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/select/select.component.js +12 -12
- package/dist/components/select/select.js +13 -13
- 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.d.ts +184 -0
- package/dist/components/time-picker/time-picker.component.js +30 -0
- package/dist/components/time-picker/time-picker.d.ts +8 -0
- package/dist/components/time-picker/time-picker.js +31 -0
- package/dist/components/time-picker/time-picker.styles.d.ts +2 -0
- package/dist/components/time-picker/time-picker.styles.js +7 -0
- 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 +10787 -7218
- package/dist/cw-elements.d.ts +4 -0
- package/dist/cw-elements.js +175 -151
- 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 +17 -17
- package/dist/react/combobox/index.d.ts +87 -0
- package/dist/react/combobox/index.js +37 -0
- package/dist/react/copy-button/index.js +11 -11
- package/dist/react/date-picker/index.d.ts +81 -0
- package/dist/react/date-picker/index.js +30 -0
- package/dist/react/details/index.js +8 -8
- package/dist/react/dialog/index.js +10 -10
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +10 -10
- 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/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 +3 -3
- package/dist/react/index.d.ts +4 -0
- package/dist/react/index.js +178 -154
- package/dist/react/input/index.js +8 -8
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +10 -10
- 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.d.ts +26 -0
- package/dist/react/pagination/index.js +22 -0
- package/dist/react/popup/index.js +5 -5
- 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/select/index.js +13 -13
- 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.d.ts +77 -0
- package/dist/react/time-picker/index.js +31 -0
- 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 +472 -0
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +10 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +377 -0
- package/dist/web-types.json +2113 -1026
- package/package.json +1 -1
- package/cdn/chunks/chunk.2A5EVHQW.js +0 -153
- package/cdn/chunks/chunk.2CIIZRV6.js +0 -11
- package/cdn/chunks/chunk.2COBQQ72.js +0 -24
- package/cdn/chunks/chunk.2KPKFPBC.js +0 -11
- package/cdn/chunks/chunk.2MBBWAS7.js +0 -11
- package/cdn/chunks/chunk.2SBPTIVZ.js +0 -95
- package/cdn/chunks/chunk.2SZ44Q7D.js +0 -28
- package/cdn/chunks/chunk.3262A2RG.js +0 -11
- package/cdn/chunks/chunk.37SIMBWB.js +0 -455
- package/cdn/chunks/chunk.3H3FIH4V.js +0 -24
- package/cdn/chunks/chunk.3H7X4FT7.js +0 -26
- package/cdn/chunks/chunk.3MBUK4N5.js +0 -11
- package/cdn/chunks/chunk.3WEFI5D7.js +0 -11
- package/cdn/chunks/chunk.43MUAJCV.js +0 -267
- package/cdn/chunks/chunk.4AM6XMKQ.js +0 -11
- package/cdn/chunks/chunk.4CIDPXAY.js +0 -25
- package/cdn/chunks/chunk.4IRRRSCC.js +0 -24
- package/cdn/chunks/chunk.52LF3CZT.js +0 -11
- package/cdn/chunks/chunk.5CZ3RSWA.js +0 -11
- package/cdn/chunks/chunk.5FKQOEKB.js +0 -21
- package/cdn/chunks/chunk.5GIZDV7W.js +0 -21
- package/cdn/chunks/chunk.5NAM7XRN.js +0 -24
- package/cdn/chunks/chunk.5W77ZLUX.js +0 -233
- package/cdn/chunks/chunk.5YE55SVX.js +0 -11
- package/cdn/chunks/chunk.66DIT4A6.js +0 -11
- package/cdn/chunks/chunk.6BQKHBKT.js +0 -11
- package/cdn/chunks/chunk.6KU7ANFF.js +0 -24
- package/cdn/chunks/chunk.6LMG674A.js +0 -21
- package/cdn/chunks/chunk.6XXSWUEV.js +0 -50
- package/cdn/chunks/chunk.7FBTQVS6.js +0 -11
- package/cdn/chunks/chunk.7IYRG36H.js +0 -21
- package/cdn/chunks/chunk.7KJ3FFQC.js +0 -11
- package/cdn/chunks/chunk.7OZ22UC2.js +0 -11
- package/cdn/chunks/chunk.7VHYET4Z.js +0 -33
- package/cdn/chunks/chunk.7VZWUFNK.js +0 -11
- package/cdn/chunks/chunk.A2IV4J54.js +0 -24
- package/cdn/chunks/chunk.A5U2MRBT.js +0 -314
- package/cdn/chunks/chunk.AAK7KQLT.js +0 -21
- package/cdn/chunks/chunk.ACBP6OFO.js +0 -63
- package/cdn/chunks/chunk.AD6S3FNO.js +0 -11
- package/cdn/chunks/chunk.AHAJ7OZZ.js +0 -580
- package/cdn/chunks/chunk.ANKYWNXV.js +0 -27
- package/cdn/chunks/chunk.AYAHOY7H.js +0 -127
- package/cdn/chunks/chunk.BJNGUGY3.js +0 -21
- package/cdn/chunks/chunk.BRDR23J7.js +0 -255
- package/cdn/chunks/chunk.C4N4QJUT.js +0 -11
- package/cdn/chunks/chunk.C4QY7KGQ.js +0 -44
- package/cdn/chunks/chunk.CEYI3GND.js +0 -279
- package/cdn/chunks/chunk.CFQJHSSK.js +0 -821
- package/cdn/chunks/chunk.CIGGIY2H.js +0 -11
- package/cdn/chunks/chunk.CV7H2AAD.js +0 -87
- package/cdn/chunks/chunk.D3CH37HR.js +0 -11
- package/cdn/chunks/chunk.DHESEN7B.js +0 -186
- package/cdn/chunks/chunk.DLOQPGSH.js +0 -208
- package/cdn/chunks/chunk.DOWZF6IJ.js +0 -336
- package/cdn/chunks/chunk.DQAWKO65.js +0 -297
- package/cdn/chunks/chunk.E3ENMZZJ.js +0 -402
- package/cdn/chunks/chunk.E45UKEGD.js +0 -24
- package/cdn/chunks/chunk.ECW76WEO.js +0 -21
- package/cdn/chunks/chunk.EHHWE3LS.js +0 -21
- package/cdn/chunks/chunk.EHLCOUWY.js +0 -82
- package/cdn/chunks/chunk.EHPA5QTP.js +0 -25
- package/cdn/chunks/chunk.EI63SNKE.js +0 -299
- package/cdn/chunks/chunk.FBUJEC6X.js +0 -27
- package/cdn/chunks/chunk.FFZ2BP5P.js +0 -21
- package/cdn/chunks/chunk.FMCF6L7Y.js +0 -25
- package/cdn/chunks/chunk.FNYA6AEO.js +0 -25
- package/cdn/chunks/chunk.FZLL5W67.js +0 -11
- package/cdn/chunks/chunk.GHKLTH2F.js +0 -11
- package/cdn/chunks/chunk.GQ6D6Y7V.js +0 -21
- package/cdn/chunks/chunk.GZUHFML5.js +0 -24
- package/cdn/chunks/chunk.H3YHS4A2.js +0 -11
- package/cdn/chunks/chunk.H6VYJGLA.js +0 -114
- package/cdn/chunks/chunk.HG2RYHY6.js +0 -25
- package/cdn/chunks/chunk.HGHAGNDK.js +0 -49
- package/cdn/chunks/chunk.HLRX7KTA.js +0 -11
- package/cdn/chunks/chunk.HNCLB7RZ.js +0 -27
- package/cdn/chunks/chunk.HO5H3XLJ.js +0 -11
- package/cdn/chunks/chunk.HS4CJ7PO.js +0 -118
- package/cdn/chunks/chunk.HUI4TPYQ.js +0 -346
- package/cdn/chunks/chunk.HYISJTDZ.js +0 -120
- package/cdn/chunks/chunk.I6KI64WH.js +0 -21
- package/cdn/chunks/chunk.I7S4EEMN.js +0 -724
- package/cdn/chunks/chunk.IBRIHWFK.js +0 -24
- package/cdn/chunks/chunk.J34BGR2T.js +0 -367
- package/cdn/chunks/chunk.JCGJ5ILX.js +0 -28
- package/cdn/chunks/chunk.JIF4PGM7.js +0 -77
- package/cdn/chunks/chunk.JIPM32DT.js +0 -11
- package/cdn/chunks/chunk.JPNJJ5LC.js +0 -11
- package/cdn/chunks/chunk.JTRSQY5G.js +0 -291
- package/cdn/chunks/chunk.JZOKGM7V.js +0 -11
- package/cdn/chunks/chunk.KKNABC46.js +0 -21
- package/cdn/chunks/chunk.KOXJFB6O.js +0 -27
- package/cdn/chunks/chunk.KOZ6K4KB.js +0 -302
- package/cdn/chunks/chunk.KV5T4QLP.js +0 -378
- package/cdn/chunks/chunk.KYTQR7YW.js +0 -11
- package/cdn/chunks/chunk.L3HSJDIL.js +0 -122
- package/cdn/chunks/chunk.L4VU3CEF.js +0 -21
- package/cdn/chunks/chunk.L5ZEEGKA.js +0 -391
- package/cdn/chunks/chunk.L7ROUYT4.js +0 -21
- package/cdn/chunks/chunk.LBW5NBV6.js +0 -11
- package/cdn/chunks/chunk.LCWF66XK.js +0 -113
- package/cdn/chunks/chunk.LUGCUBOX.js +0 -11
- package/cdn/chunks/chunk.LZ577XOU.js +0 -11
- package/cdn/chunks/chunk.LZDH4W5S.js +0 -137
- package/cdn/chunks/chunk.MFGDBCHN.js +0 -25
- package/cdn/chunks/chunk.MKLVZ667.js +0 -27
- package/cdn/chunks/chunk.MKMC55HU.js +0 -21
- package/cdn/chunks/chunk.MKUT34KI.js +0 -11
- package/cdn/chunks/chunk.N4V2MUJF.js +0 -73
- package/cdn/chunks/chunk.NGBE7CGI.js +0 -11
- package/cdn/chunks/chunk.NXWBJTYQ.js +0 -28
- package/cdn/chunks/chunk.O3MV4WDU.js +0 -1925
- package/cdn/chunks/chunk.OESEEZOO.js +0 -11
- package/cdn/chunks/chunk.OHDELZVG.js +0 -11
- package/cdn/chunks/chunk.OITV5Q4M.js +0 -11
- package/cdn/chunks/chunk.OPGPYL6M.js +0 -93
- package/cdn/chunks/chunk.ORMYBK76.js +0 -67
- package/cdn/chunks/chunk.P4KFYA6W.js +0 -11
- package/cdn/chunks/chunk.P7OJIK3I.js +0 -142
- package/cdn/chunks/chunk.PLLWAFGU.js +0 -24
- package/cdn/chunks/chunk.PM37NS6R.js +0 -25
- package/cdn/chunks/chunk.PU2FRPCZ.js +0 -25
- package/cdn/chunks/chunk.Q3KIIXIF.js +0 -49
- package/cdn/chunks/chunk.Q7NNOIM7.js +0 -25
- package/cdn/chunks/chunk.QEKOQQNR.js +0 -24
- package/cdn/chunks/chunk.QVT32MJC.js +0 -11
- package/cdn/chunks/chunk.QWVE24DV.js +0 -11
- package/cdn/chunks/chunk.QXPOR5HV.js +0 -21
- package/cdn/chunks/chunk.RBUASREB.js +0 -1990
- package/cdn/chunks/chunk.RF5CSPCC.js +0 -292
- package/cdn/chunks/chunk.RGIC5PFY.js +0 -79
- package/cdn/chunks/chunk.RH6LIJFS.js +0 -26
- package/cdn/chunks/chunk.RTLK5JPO.js +0 -11
- package/cdn/chunks/chunk.RVQFGDP5.js +0 -11
- package/cdn/chunks/chunk.RW7KVOST.js +0 -21
- package/cdn/chunks/chunk.SHAQUV67.js +0 -26
- package/cdn/chunks/chunk.SMFERX2T.js +0 -11
- package/cdn/chunks/chunk.SMRIWF2S.js +0 -11
- package/cdn/chunks/chunk.SPGXP4KE.js +0 -24
- package/cdn/chunks/chunk.SWR3SNWR.js +0 -11
- package/cdn/chunks/chunk.TCSE25HK.js +0 -11
- package/cdn/chunks/chunk.TKE527J7.js +0 -28
- package/cdn/chunks/chunk.TKEECB7E.js +0 -11
- package/cdn/chunks/chunk.TLMJU2OB.js +0 -11
- package/cdn/chunks/chunk.TLTQO3CH.js +0 -11
- package/cdn/chunks/chunk.TM5VNFZE.js +0 -75
- package/cdn/chunks/chunk.TR7FQ3ZG.js +0 -21
- package/cdn/chunks/chunk.TTLE7BKW.js +0 -29
- package/cdn/chunks/chunk.TY6Z2QNH.js +0 -236
- package/cdn/chunks/chunk.U5GNII6R.js +0 -29
- package/cdn/chunks/chunk.UILESE4L.js +0 -11
- package/cdn/chunks/chunk.UU6PFMXT.js +0 -36
- package/cdn/chunks/chunk.UWP6RHHS.js +0 -11
- package/cdn/chunks/chunk.W2UXVIQE.js +0 -11
- package/cdn/chunks/chunk.WBLTQD6C.js +0 -197
- package/cdn/chunks/chunk.WF4B5CX5.js +0 -21
- package/cdn/chunks/chunk.WOEBD6LC.js +0 -29
- package/cdn/chunks/chunk.XAG7GB5I.js +0 -42
- package/cdn/chunks/chunk.XF36G36X.js +0 -135
- package/cdn/chunks/chunk.XGBZFDFN.js +0 -158
- package/cdn/chunks/chunk.XHIZYSOX.js +0 -11
- package/cdn/chunks/chunk.XIJ5MMLY.js +0 -11
- package/cdn/chunks/chunk.XNMKNLYR.js +0 -103
- package/cdn/chunks/chunk.XZ4JKK5S.js +0 -216
- package/cdn/chunks/chunk.XZBGILKA.js +0 -11
- package/cdn/chunks/chunk.Y6NDVPIT.js +0 -11
- package/cdn/chunks/chunk.YB6NPK7S.js +0 -42
- package/cdn/chunks/chunk.YFO4ZW45.js +0 -24
- package/cdn/chunks/chunk.YG3DTK7H.js +0 -21
- package/cdn/chunks/chunk.YG7T6UCH.js +0 -97
- package/cdn/chunks/chunk.YL2XWZJ6.js +0 -499
- package/cdn/chunks/chunk.YSELPFTP.js +0 -29
- package/cdn/chunks/chunk.YVCV474L.js +0 -21
- package/cdn/chunks/chunk.Z46D7BRX.js +0 -16
- package/cdn/chunks/chunk.Z4LMVVXH.js +0 -28
- package/cdn/chunks/chunk.ZQQ2VRTL.js +0 -11
- package/cdn/chunks/chunk.ZVCP457Q.js +0 -11
- package/dist/chunks/chunk.25DBUKBD.js +0 -27
- package/dist/chunks/chunk.2GLSHNYS.js +0 -25
- package/dist/chunks/chunk.2GRSESM4.js +0 -11
- package/dist/chunks/chunk.2J2H5W2L.js +0 -11
- package/dist/chunks/chunk.2W6AVKJ3.js +0 -11
- package/dist/chunks/chunk.2WWRIQU5.js +0 -21
- package/dist/chunks/chunk.36MZCQXU.js +0 -45
- package/dist/chunks/chunk.3E3JPGHN.js +0 -134
- package/dist/chunks/chunk.3EMXJHKK.js +0 -11
- package/dist/chunks/chunk.3IWXNFPK.js +0 -100
- package/dist/chunks/chunk.44L7SRPK.js +0 -119
- package/dist/chunks/chunk.4DFHYFII.js +0 -24
- package/dist/chunks/chunk.4NDG46JO.js +0 -21
- package/dist/chunks/chunk.4OCGYOOT.js +0 -11
- package/dist/chunks/chunk.4TIVNLRE.js +0 -11
- package/dist/chunks/chunk.564UI6PW.js +0 -21
- package/dist/chunks/chunk.5662BZAR.js +0 -259
- package/dist/chunks/chunk.56JVAFOW.js +0 -11
- package/dist/chunks/chunk.5A2AVMPJ.js +0 -491
- package/dist/chunks/chunk.62B6AN4G.js +0 -417
- package/dist/chunks/chunk.62C747SM.js +0 -11
- package/dist/chunks/chunk.66AMABIA.js +0 -94
- package/dist/chunks/chunk.6GLJMNLF.js +0 -21
- package/dist/chunks/chunk.6REPXOV2.js +0 -126
- package/dist/chunks/chunk.6YXYHHVS.js +0 -28
- package/dist/chunks/chunk.7I3N4VKN.js +0 -337
- package/dist/chunks/chunk.7RHIZ2X6.js +0 -274
- package/dist/chunks/chunk.7S6VSYA5.js +0 -21
- package/dist/chunks/chunk.A7BVYOGM.js +0 -11
- package/dist/chunks/chunk.AECOOL73.js +0 -25
- package/dist/chunks/chunk.AFVDL4XO.js +0 -21
- package/dist/chunks/chunk.AGFIG65W.js +0 -11
- package/dist/chunks/chunk.ANHE2WFW.js +0 -25
- package/dist/chunks/chunk.AOVLR7JD.js +0 -75
- package/dist/chunks/chunk.BDHMZWKP.js +0 -45
- package/dist/chunks/chunk.BHPSDIUZ.js +0 -28
- package/dist/chunks/chunk.BZUG556F.js +0 -11
- package/dist/chunks/chunk.C2DCJFUM.js +0 -26
- package/dist/chunks/chunk.C4QY7KGQ.js +0 -44
- package/dist/chunks/chunk.CPNPX6S7.js +0 -147
- package/dist/chunks/chunk.CXZNHRVR.js +0 -448
- package/dist/chunks/chunk.D24TMZV4.js +0 -11
- package/dist/chunks/chunk.D2G52ZGP.js +0 -24
- package/dist/chunks/chunk.D3BAPYS4.js +0 -63
- package/dist/chunks/chunk.D5J66JPV.js +0 -11
- package/dist/chunks/chunk.DD4CHTVK.js +0 -24
- package/dist/chunks/chunk.DHR6SD6T.js +0 -25
- package/dist/chunks/chunk.DQIRIOBB.js +0 -11
- package/dist/chunks/chunk.DQWXJ5OO.js +0 -151
- package/dist/chunks/chunk.DRTTJSJH.js +0 -11
- package/dist/chunks/chunk.DRX7ZWPK.js +0 -34
- package/dist/chunks/chunk.DYPNSJFE.js +0 -75
- package/dist/chunks/chunk.E2O25FNN.js +0 -11
- package/dist/chunks/chunk.E5JRHEXH.js +0 -293
- package/dist/chunks/chunk.E6O5QIVP.js +0 -11
- package/dist/chunks/chunk.EASVNPP3.js +0 -109
- package/dist/chunks/chunk.EDJXBUG2.js +0 -25
- package/dist/chunks/chunk.EIBS2Z7P.js +0 -29
- package/dist/chunks/chunk.EJYF7PE7.js +0 -813
- package/dist/chunks/chunk.EMZ442PQ.js +0 -949
- package/dist/chunks/chunk.ETZMOOLO.js +0 -21
- package/dist/chunks/chunk.EUZUWL7P.js +0 -24
- package/dist/chunks/chunk.EVII3AXJ.js +0 -11
- package/dist/chunks/chunk.EY5ALKH5.js +0 -11
- package/dist/chunks/chunk.F2URQJQT.js +0 -227
- package/dist/chunks/chunk.F7DY7EII.js +0 -24
- package/dist/chunks/chunk.FJTQ32X4.js +0 -22
- package/dist/chunks/chunk.FLMZEQSZ.js +0 -21
- package/dist/chunks/chunk.FMTXOEH4.js +0 -11
- package/dist/chunks/chunk.FXJFE27W.js +0 -24
- package/dist/chunks/chunk.FXKV67MH.js +0 -11
- package/dist/chunks/chunk.FXUPPYRG.js +0 -135
- package/dist/chunks/chunk.G4U57SOA.js +0 -11
- package/dist/chunks/chunk.G6M65V6R.js +0 -24
- package/dist/chunks/chunk.GJH2YKWQ.js +0 -100
- package/dist/chunks/chunk.GMATCVRU.js +0 -247
- package/dist/chunks/chunk.GVUMLOIR.js +0 -290
- package/dist/chunks/chunk.H6PSWXCY.js +0 -21
- package/dist/chunks/chunk.H7XO3O2G.js +0 -11
- package/dist/chunks/chunk.HDE5RX2K.js +0 -11
- package/dist/chunks/chunk.HHU3WBEO.js +0 -21
- package/dist/chunks/chunk.HOHI2BQZ.js +0 -11
- package/dist/chunks/chunk.HRODKK2V.js +0 -21
- package/dist/chunks/chunk.HRTLU4OR.js +0 -11
- package/dist/chunks/chunk.HXFFB7NF.js +0 -42
- package/dist/chunks/chunk.HY3GW4MF.js +0 -50
- package/dist/chunks/chunk.IDPNXIPQ.js +0 -15
- package/dist/chunks/chunk.IKUYKBO4.js +0 -25
- package/dist/chunks/chunk.IM2UWHYW.js +0 -11
- package/dist/chunks/chunk.IQKCYCJD.js +0 -397
- package/dist/chunks/chunk.JECDUKTT.js +0 -11
- package/dist/chunks/chunk.JFSBJ5M5.js +0 -294
- package/dist/chunks/chunk.JQPDPO4H.js +0 -27
- package/dist/chunks/chunk.JQXGML5I.js +0 -192
- package/dist/chunks/chunk.K6SO2YK2.js +0 -28
- package/dist/chunks/chunk.KDZTBW7D.js +0 -25
- package/dist/chunks/chunk.KKFZJXVH.js +0 -11
- package/dist/chunks/chunk.KROEUMQN.js +0 -311
- package/dist/chunks/chunk.KRWWGSDD.js +0 -25
- package/dist/chunks/chunk.KSZAQSOO.js +0 -11
- package/dist/chunks/chunk.L7HUUF24.js +0 -11
- package/dist/chunks/chunk.LNTLR2EB.js +0 -113
- package/dist/chunks/chunk.LP3LYQNE.js +0 -181
- package/dist/chunks/chunk.LQJYBS5E.js +0 -80
- package/dist/chunks/chunk.LRZVQO2O.js +0 -29
- package/dist/chunks/chunk.LTJ3ANS7.js +0 -11
- package/dist/chunks/chunk.LYXWBS3Q.js +0 -27
- package/dist/chunks/chunk.M2AG3GLJ.js +0 -11
- package/dist/chunks/chunk.MMPT3YUH.js +0 -384
- package/dist/chunks/chunk.MNDJRNQX.js +0 -11
- package/dist/chunks/chunk.N7FPHAE2.js +0 -116
- package/dist/chunks/chunk.NBD2IHTY.js +0 -11
- package/dist/chunks/chunk.NGS2GE2N.js +0 -21
- package/dist/chunks/chunk.NN3ZWPJX.js +0 -11
- package/dist/chunks/chunk.NRRR52DX.js +0 -370
- package/dist/chunks/chunk.O5OIXIRM.js +0 -24
- package/dist/chunks/chunk.O5ZG7J4B.js +0 -550
- package/dist/chunks/chunk.ONTO4X2V.js +0 -11
- package/dist/chunks/chunk.OP2IZEZE.js +0 -11
- package/dist/chunks/chunk.OP34ILHF.js +0 -11
- package/dist/chunks/chunk.PHBLDWGW.js +0 -117
- package/dist/chunks/chunk.PJH66TLC.js +0 -21
- package/dist/chunks/chunk.PKOA4DIJ.js +0 -315
- package/dist/chunks/chunk.PTURT3LB.js +0 -24
- package/dist/chunks/chunk.PUABCOFU.js +0 -28
- package/dist/chunks/chunk.PXU77CI5.js +0 -11
- package/dist/chunks/chunk.QDCIHSOI.js +0 -21
- package/dist/chunks/chunk.QDWLFJVV.js +0 -111
- package/dist/chunks/chunk.QFOOSPUP.js +0 -11
- package/dist/chunks/chunk.QOZNNXXE.js +0 -26
- package/dist/chunks/chunk.QRHPRDG2.js +0 -11
- package/dist/chunks/chunk.QTX5MLC4.js +0 -280
- package/dist/chunks/chunk.QW2MM7A4.js +0 -361
- package/dist/chunks/chunk.R33Z4OMO.js +0 -25
- package/dist/chunks/chunk.RCGIQXPE.js +0 -21
- package/dist/chunks/chunk.RKT7G4BL.js +0 -67
- package/dist/chunks/chunk.RLEISJRJ.js +0 -11
- package/dist/chunks/chunk.S2Y3A3AM.js +0 -93
- package/dist/chunks/chunk.SUSYSSMZ.js +0 -22
- package/dist/chunks/chunk.SXVQRCVR.js +0 -39
- package/dist/chunks/chunk.SY2IIVVQ.js +0 -11
- package/dist/chunks/chunk.T25J2IHG.js +0 -25
- package/dist/chunks/chunk.T3V7LRHS.js +0 -29
- package/dist/chunks/chunk.TB57WXUT.js +0 -73
- package/dist/chunks/chunk.TDTPJGI7.js +0 -28
- package/dist/chunks/chunk.TEXG3V5D.js +0 -42
- package/dist/chunks/chunk.TM2K2VOC.js +0 -11
- package/dist/chunks/chunk.TZG3G36D.js +0 -11
- package/dist/chunks/chunk.U6GD7RA5.js +0 -21
- package/dist/chunks/chunk.UAZCJ6QG.js +0 -11
- package/dist/chunks/chunk.UDAYXY7O.js +0 -11
- package/dist/chunks/chunk.UF5F44EE.js +0 -11
- package/dist/chunks/chunk.UFRGXMNI.js +0 -21
- package/dist/chunks/chunk.UL7SBSXX.js +0 -286
- package/dist/chunks/chunk.UW3YGYZF.js +0 -21
- package/dist/chunks/chunk.UWQP3K4H.js +0 -24
- package/dist/chunks/chunk.VBYVEMQD.js +0 -11
- package/dist/chunks/chunk.VMYDYO3D.js +0 -11
- package/dist/chunks/chunk.VXDJVRIH.js +0 -11
- package/dist/chunks/chunk.W4Z25FAS.js +0 -59
- package/dist/chunks/chunk.WBFHQSPC.js +0 -11
- package/dist/chunks/chunk.WLPBOIVK.js +0 -11
- package/dist/chunks/chunk.WTGB44YK.js +0 -91
- package/dist/chunks/chunk.WWZY5XKI.js +0 -11
- package/dist/chunks/chunk.XC25AJEF.js +0 -90
- package/dist/chunks/chunk.XCF7CFRR.js +0 -231
- package/dist/chunks/chunk.XKAOTPRC.js +0 -11
- package/dist/chunks/chunk.XPSAM3J7.js +0 -29
- package/dist/chunks/chunk.XUZBVMW7.js +0 -11
- package/dist/chunks/chunk.Y4JGOR4A.js +0 -26
- package/dist/chunks/chunk.Y5ZYCHKK.js +0 -33
- package/dist/chunks/chunk.YRXC5ETZ.js +0 -85
- package/dist/chunks/chunk.YUDVWN6S.js +0 -21
- package/dist/chunks/chunk.YVLMZLTH.js +0 -27
- package/dist/chunks/chunk.YWLTG6BC.js +0 -21
- package/dist/chunks/chunk.Z2I7ITAV.js +0 -24
- package/dist/chunks/chunk.Z2IXAT5N.js +0 -11
- package/dist/chunks/chunk.Z5POFS5S.js +0 -213
- package/dist/chunks/chunk.ZHZ3PLWC.js +0 -21
|
@@ -0,0 +1,844 @@
|
|
|
1
|
+
import {
|
|
2
|
+
time_picker_styles_default
|
|
3
|
+
} from "./chunk.EZ4P5QWF.js";
|
|
4
|
+
import {
|
|
5
|
+
CwOption
|
|
6
|
+
} from "./chunk.V5LILEPX.js";
|
|
7
|
+
import {
|
|
8
|
+
scrollIntoView
|
|
9
|
+
} from "./chunk.PH2N3MLE.js";
|
|
10
|
+
import {
|
|
11
|
+
CwPopup
|
|
12
|
+
} from "./chunk.A3K6BVEY.js";
|
|
13
|
+
import {
|
|
14
|
+
form_control_styles_default
|
|
15
|
+
} from "./chunk.DJVND463.js";
|
|
16
|
+
import {
|
|
17
|
+
FormControlController
|
|
18
|
+
} from "./chunk.FIVNGT4O.js";
|
|
19
|
+
import {
|
|
20
|
+
getAnimation,
|
|
21
|
+
setDefaultAnimation
|
|
22
|
+
} from "./chunk.JSLXCIMZ.js";
|
|
23
|
+
import {
|
|
24
|
+
waitForEvent
|
|
25
|
+
} from "./chunk.B4BZKR24.js";
|
|
26
|
+
import {
|
|
27
|
+
animateTo,
|
|
28
|
+
stopAnimations
|
|
29
|
+
} from "./chunk.3CTNMS55.js";
|
|
30
|
+
import {
|
|
31
|
+
LocalizeController
|
|
32
|
+
} from "./chunk.3ITR3YMH.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.PYGN5SMV.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
|
+
r2
|
|
54
|
+
} from "./chunk.GOEVWHFJ.js";
|
|
55
|
+
import {
|
|
56
|
+
b
|
|
57
|
+
} from "./chunk.6A2LG33L.js";
|
|
58
|
+
import {
|
|
59
|
+
__decorateClass
|
|
60
|
+
} from "./chunk.QIOX6AG5.js";
|
|
61
|
+
|
|
62
|
+
// src/components/time-picker/time-picker.component.ts
|
|
63
|
+
var pad = (value) => String(value).padStart(2, "0");
|
|
64
|
+
var range = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
|
|
65
|
+
function parseTimeValue(value) {
|
|
66
|
+
const match = /^([0-9]{1,2})(?::([0-9]{1,2}))?(?::([0-9]{1,2}))?$/.exec(value.trim());
|
|
67
|
+
if (!match) {
|
|
68
|
+
return void 0;
|
|
69
|
+
}
|
|
70
|
+
const hour = Number(match[1]);
|
|
71
|
+
const minute = match[2] !== void 0 ? Number(match[2]) : 0;
|
|
72
|
+
const second = match[3] !== void 0 ? Number(match[3]) : 0;
|
|
73
|
+
if (hour > 23 || minute > 59 || second > 59) {
|
|
74
|
+
return void 0;
|
|
75
|
+
}
|
|
76
|
+
return { hour, minute, second };
|
|
77
|
+
}
|
|
78
|
+
function formatTimeValue(parts, granularity) {
|
|
79
|
+
if (granularity === "hour") {
|
|
80
|
+
return pad(parts.hour);
|
|
81
|
+
}
|
|
82
|
+
if (granularity === "second") {
|
|
83
|
+
return `${pad(parts.hour)}:${pad(parts.minute)}:${pad(parts.second)}`;
|
|
84
|
+
}
|
|
85
|
+
return `${pad(parts.hour)}:${pad(parts.minute)}`;
|
|
86
|
+
}
|
|
87
|
+
var CwTimePicker = class extends CwElement {
|
|
88
|
+
constructor() {
|
|
89
|
+
super(...arguments);
|
|
90
|
+
this.formControlController = new FormControlController(this, {
|
|
91
|
+
assumeInteractionOn: ["cw-blur", "cw-input"]
|
|
92
|
+
});
|
|
93
|
+
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
94
|
+
this.localize = new LocalizeController(this);
|
|
95
|
+
this.hasFocus = false;
|
|
96
|
+
this.activeColumn = "hour";
|
|
97
|
+
this.valueHasChanged = false;
|
|
98
|
+
this.name = "";
|
|
99
|
+
this._value = "";
|
|
100
|
+
this.defaultValue = "";
|
|
101
|
+
this.granularity = "minute";
|
|
102
|
+
this.hourFormat = "auto";
|
|
103
|
+
this.size = "medium";
|
|
104
|
+
this.placeholder = "";
|
|
105
|
+
this.disabled = false;
|
|
106
|
+
this.clearable = false;
|
|
107
|
+
this.open = false;
|
|
108
|
+
this.hoist = false;
|
|
109
|
+
this.filled = false;
|
|
110
|
+
this.pill = false;
|
|
111
|
+
this.label = "";
|
|
112
|
+
this.placement = "bottom";
|
|
113
|
+
this.helpText = "";
|
|
114
|
+
this.form = "";
|
|
115
|
+
this.required = false;
|
|
116
|
+
this.handleDocumentFocusIn = (event) => {
|
|
117
|
+
const path = event.composedPath();
|
|
118
|
+
if (this && !path.includes(this)) {
|
|
119
|
+
this.hide();
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
this.handleDocumentMouseDown = (event) => {
|
|
123
|
+
const path = event.composedPath();
|
|
124
|
+
if (this && !path.includes(this)) {
|
|
125
|
+
this.hide();
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
this.handleDocumentKeyDown = (event) => {
|
|
129
|
+
var _a;
|
|
130
|
+
const target = event.target;
|
|
131
|
+
const isClearButton = target.closest(".time-picker__clear") !== null;
|
|
132
|
+
if (isClearButton) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
if (event.key === "Escape" && this.open && !this.closeWatcher) {
|
|
136
|
+
event.preventDefault();
|
|
137
|
+
event.stopPropagation();
|
|
138
|
+
this.hide();
|
|
139
|
+
this.displayInput.focus({ preventScroll: true });
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
143
|
+
event.preventDefault();
|
|
144
|
+
if (!this.open) {
|
|
145
|
+
this.show();
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
this.hide();
|
|
149
|
+
this.displayInput.focus({ preventScroll: true });
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Home", "End"].includes(event.key)) {
|
|
153
|
+
event.preventDefault();
|
|
154
|
+
if (!this.open) {
|
|
155
|
+
this.show();
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
const columns = this.getColumns();
|
|
159
|
+
const columnIndex = Math.max(
|
|
160
|
+
0,
|
|
161
|
+
columns.findIndex((column2) => column2.name === this.activeColumn)
|
|
162
|
+
);
|
|
163
|
+
if (event.key === "ArrowLeft" || event.key === "ArrowRight") {
|
|
164
|
+
const delta = event.key === "ArrowRight" ? 1 : -1;
|
|
165
|
+
this.activeColumn = columns[(columnIndex + delta + columns.length) % columns.length].name;
|
|
166
|
+
this.updateComplete.then(() => this.scrollActiveOptionsIntoView());
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
const column = columns[columnIndex];
|
|
170
|
+
const parts = (_a = this.parsedValue) != null ? _a : { hour: 0, minute: 0, second: 0 };
|
|
171
|
+
const currentValue = this.getColumnValue(column.name, parts);
|
|
172
|
+
let newValue;
|
|
173
|
+
if (event.key === "Home") {
|
|
174
|
+
newValue = column.values[0];
|
|
175
|
+
} else if (event.key === "End") {
|
|
176
|
+
newValue = column.values[column.values.length - 1];
|
|
177
|
+
} else {
|
|
178
|
+
const currentIndex = column.values.indexOf(currentValue);
|
|
179
|
+
const delta = event.key === "ArrowDown" ? 1 : -1;
|
|
180
|
+
newValue = column.values[(currentIndex + delta + column.values.length) % column.values.length];
|
|
181
|
+
}
|
|
182
|
+
this.applyColumnValue(column.name, newValue);
|
|
183
|
+
this.updateComplete.then(() => this.scrollActiveOptionsIntoView());
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
get value() {
|
|
188
|
+
return this._value;
|
|
189
|
+
}
|
|
190
|
+
set value(val) {
|
|
191
|
+
if (this._value === val) {
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
this.valueHasChanged = true;
|
|
195
|
+
this._value = val;
|
|
196
|
+
}
|
|
197
|
+
/** Gets the validity state object */
|
|
198
|
+
get validity() {
|
|
199
|
+
return this.valueInput.validity;
|
|
200
|
+
}
|
|
201
|
+
/** Gets the validation message */
|
|
202
|
+
get validationMessage() {
|
|
203
|
+
return this.valueInput.validationMessage;
|
|
204
|
+
}
|
|
205
|
+
// The current value parsed into hour/minute/second parts, or `undefined` if the value is empty/invalid
|
|
206
|
+
get parsedValue() {
|
|
207
|
+
return parseTimeValue(this.value);
|
|
208
|
+
}
|
|
209
|
+
connectedCallback() {
|
|
210
|
+
super.connectedCallback();
|
|
211
|
+
this.open = false;
|
|
212
|
+
}
|
|
213
|
+
addOpenListeners() {
|
|
214
|
+
var _a;
|
|
215
|
+
document.addEventListener("focusin", this.handleDocumentFocusIn);
|
|
216
|
+
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
217
|
+
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
218
|
+
if (this.getRootNode() !== document) {
|
|
219
|
+
this.getRootNode().addEventListener("focusin", this.handleDocumentFocusIn);
|
|
220
|
+
}
|
|
221
|
+
if ("CloseWatcher" in window) {
|
|
222
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
223
|
+
this.closeWatcher = new CloseWatcher();
|
|
224
|
+
this.closeWatcher.onclose = () => {
|
|
225
|
+
if (this.open) {
|
|
226
|
+
this.hide();
|
|
227
|
+
this.displayInput.focus({ preventScroll: true });
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
removeOpenListeners() {
|
|
233
|
+
var _a;
|
|
234
|
+
document.removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
235
|
+
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
236
|
+
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
237
|
+
if (this.getRootNode() !== document) {
|
|
238
|
+
this.getRootNode().removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
239
|
+
}
|
|
240
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
241
|
+
}
|
|
242
|
+
handleFocus() {
|
|
243
|
+
this.hasFocus = true;
|
|
244
|
+
this.emit("cw-focus");
|
|
245
|
+
}
|
|
246
|
+
handleBlur() {
|
|
247
|
+
this.hasFocus = false;
|
|
248
|
+
this.emit("cw-blur");
|
|
249
|
+
}
|
|
250
|
+
handleLabelClick() {
|
|
251
|
+
this.displayInput.focus();
|
|
252
|
+
}
|
|
253
|
+
handleComboboxMouseDown(event) {
|
|
254
|
+
const path = event.composedPath();
|
|
255
|
+
const isIconButton = path.some((el) => el instanceof Element && el.tagName.toLowerCase() === "cw-icon-button");
|
|
256
|
+
if (this.disabled || isIconButton) {
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
event.preventDefault();
|
|
260
|
+
this.displayInput.focus({ preventScroll: true });
|
|
261
|
+
this.open = !this.open;
|
|
262
|
+
}
|
|
263
|
+
handleComboboxKeyDown(event) {
|
|
264
|
+
if (event.key === "Tab") {
|
|
265
|
+
return;
|
|
266
|
+
}
|
|
267
|
+
event.stopPropagation();
|
|
268
|
+
this.handleDocumentKeyDown(event);
|
|
269
|
+
}
|
|
270
|
+
handleClearClick(event) {
|
|
271
|
+
event.stopPropagation();
|
|
272
|
+
if (this.value !== "") {
|
|
273
|
+
this.setTimeValue(void 0);
|
|
274
|
+
this.displayInput.focus({ preventScroll: true });
|
|
275
|
+
this.updateComplete.then(() => {
|
|
276
|
+
this.emit("cw-clear");
|
|
277
|
+
this.emit("cw-input");
|
|
278
|
+
this.emit("cw-change");
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
handleClearMouseDown(event) {
|
|
283
|
+
event.stopPropagation();
|
|
284
|
+
event.preventDefault();
|
|
285
|
+
}
|
|
286
|
+
handleListboxMouseDown(event) {
|
|
287
|
+
event.preventDefault();
|
|
288
|
+
}
|
|
289
|
+
handleOptionClick(event) {
|
|
290
|
+
const target = event.target;
|
|
291
|
+
const option = target.closest("cw-option");
|
|
292
|
+
const columnEl = target.closest("[data-column]");
|
|
293
|
+
if (!option || option.disabled || !columnEl || this.disabled) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
this.activeColumn = columnEl.dataset.column;
|
|
297
|
+
this.applyColumnValue(this.activeColumn, Number(option.value));
|
|
298
|
+
this.displayInput.focus({ preventScroll: true });
|
|
299
|
+
}
|
|
300
|
+
handleInvalid(event) {
|
|
301
|
+
this.formControlController.setValidity(false);
|
|
302
|
+
this.formControlController.emitInvalidEvent(event);
|
|
303
|
+
}
|
|
304
|
+
// Determines the hour cycle to use based on `hourFormat`, falling back to the page's locale
|
|
305
|
+
getHourCycle() {
|
|
306
|
+
var _a;
|
|
307
|
+
if (this.hourFormat === "12") {
|
|
308
|
+
return "h12";
|
|
309
|
+
}
|
|
310
|
+
if (this.hourFormat === "24") {
|
|
311
|
+
return "h23";
|
|
312
|
+
}
|
|
313
|
+
const resolvedOptions = new Intl.DateTimeFormat(this.localize.lang(), {
|
|
314
|
+
hour: "numeric"
|
|
315
|
+
}).resolvedOptions();
|
|
316
|
+
return (_a = resolvedOptions.hourCycle) != null ? _a : "h23";
|
|
317
|
+
}
|
|
318
|
+
is12Hour() {
|
|
319
|
+
const hourCycle = this.getHourCycle();
|
|
320
|
+
return hourCycle === "h11" || hourCycle === "h12";
|
|
321
|
+
}
|
|
322
|
+
// Returns the localized label for the AM (0) or PM (1) period
|
|
323
|
+
getPeriodLabel(period) {
|
|
324
|
+
var _a, _b;
|
|
325
|
+
const date = new Date(1970, 0, 1, period === 1 ? 13 : 1);
|
|
326
|
+
const parts = new Intl.DateTimeFormat(this.localize.lang(), { hour: "numeric", hourCycle: "h12" }).formatToParts(
|
|
327
|
+
date
|
|
328
|
+
);
|
|
329
|
+
return (_b = (_a = parts.find((part) => part.type === "dayPeriod")) == null ? void 0 : _a.value) != null ? _b : period === 1 ? "PM" : "AM";
|
|
330
|
+
}
|
|
331
|
+
// Builds the list of columns to render based on `granularity` and the resolved hour format
|
|
332
|
+
getColumns() {
|
|
333
|
+
const columns = [
|
|
334
|
+
{ name: "hour", values: this.is12Hour() ? range(1, 12) : range(0, 23) }
|
|
335
|
+
];
|
|
336
|
+
if (this.granularity !== "hour") {
|
|
337
|
+
columns.push({ name: "minute", values: range(0, 59) });
|
|
338
|
+
}
|
|
339
|
+
if (this.granularity === "second") {
|
|
340
|
+
columns.push({ name: "second", values: range(0, 59) });
|
|
341
|
+
}
|
|
342
|
+
if (this.is12Hour()) {
|
|
343
|
+
columns.push({ name: "meridiem", values: [0, 1] });
|
|
344
|
+
}
|
|
345
|
+
return columns;
|
|
346
|
+
}
|
|
347
|
+
// Gets the value currently displayed in the given column for the provided time parts
|
|
348
|
+
getColumnValue(name, parts) {
|
|
349
|
+
switch (name) {
|
|
350
|
+
case "hour":
|
|
351
|
+
if (this.is12Hour()) {
|
|
352
|
+
const displayHour = parts.hour % 12;
|
|
353
|
+
return displayHour === 0 ? 12 : displayHour;
|
|
354
|
+
}
|
|
355
|
+
return parts.hour;
|
|
356
|
+
case "minute":
|
|
357
|
+
return parts.minute;
|
|
358
|
+
case "second":
|
|
359
|
+
return parts.second;
|
|
360
|
+
case "meridiem":
|
|
361
|
+
return parts.hour >= 12 ? 1 : 0;
|
|
362
|
+
default:
|
|
363
|
+
return 0;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
// Applies a newly selected column value to the time picker's value
|
|
367
|
+
applyColumnValue(name, value) {
|
|
368
|
+
var _a;
|
|
369
|
+
const oldValue = this.value;
|
|
370
|
+
const parts = (_a = this.parsedValue) != null ? _a : { hour: 0, minute: 0, second: 0 };
|
|
371
|
+
switch (name) {
|
|
372
|
+
case "hour":
|
|
373
|
+
if (this.is12Hour()) {
|
|
374
|
+
parts.hour = value % 12 + (parts.hour >= 12 ? 12 : 0);
|
|
375
|
+
} else {
|
|
376
|
+
parts.hour = value;
|
|
377
|
+
}
|
|
378
|
+
break;
|
|
379
|
+
case "minute":
|
|
380
|
+
parts.minute = value;
|
|
381
|
+
break;
|
|
382
|
+
case "second":
|
|
383
|
+
parts.second = value;
|
|
384
|
+
break;
|
|
385
|
+
case "meridiem": {
|
|
386
|
+
const displayHour = parts.hour % 12;
|
|
387
|
+
parts.hour = displayHour + (value === 1 ? 12 : 0);
|
|
388
|
+
break;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
this.setTimeValue(parts);
|
|
392
|
+
if (this.value !== oldValue) {
|
|
393
|
+
this.updateComplete.then(() => {
|
|
394
|
+
this.emit("cw-input");
|
|
395
|
+
this.emit("cw-change");
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
setTimeValue(parts) {
|
|
400
|
+
this.valueHasChanged = true;
|
|
401
|
+
this.value = parts ? formatTimeValue(parts, this.granularity) : "";
|
|
402
|
+
}
|
|
403
|
+
// Scrolls the selected (or default) option of each column into view
|
|
404
|
+
scrollActiveOptionsIntoView() {
|
|
405
|
+
const parts = this.parsedValue;
|
|
406
|
+
this.columnElements.forEach((columnEl) => {
|
|
407
|
+
var _a;
|
|
408
|
+
const columnName = columnEl.dataset.column;
|
|
409
|
+
const value = parts ? this.getColumnValue(columnName, parts) : (_a = this.getColumns().find((column) => column.name === columnName)) == null ? void 0 : _a.values[0];
|
|
410
|
+
const option = [...columnEl.querySelectorAll("cw-option")].find((el) => Number(el.value) === value);
|
|
411
|
+
if (option) {
|
|
412
|
+
scrollIntoView(option, columnEl, "vertical", "auto");
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
// Formats the current value for display in the input
|
|
417
|
+
get displayLabel() {
|
|
418
|
+
const parts = this.parsedValue;
|
|
419
|
+
if (!parts) {
|
|
420
|
+
return "";
|
|
421
|
+
}
|
|
422
|
+
const date = new Date(1970, 0, 1, parts.hour, parts.minute, parts.second);
|
|
423
|
+
const options = { hour: "numeric" };
|
|
424
|
+
if (this.granularity !== "hour") {
|
|
425
|
+
options.minute = "2-digit";
|
|
426
|
+
}
|
|
427
|
+
if (this.granularity === "second") {
|
|
428
|
+
options.second = "2-digit";
|
|
429
|
+
}
|
|
430
|
+
if (this.hourFormat !== "auto") {
|
|
431
|
+
options.hourCycle = this.hourFormat === "12" ? "h12" : "h23";
|
|
432
|
+
}
|
|
433
|
+
return new Intl.DateTimeFormat(this.localize.lang(), options).format(date);
|
|
434
|
+
}
|
|
435
|
+
// Returns the localized aria-label for a column
|
|
436
|
+
getColumnLabel(name) {
|
|
437
|
+
switch (name) {
|
|
438
|
+
case "hour":
|
|
439
|
+
return this.localize.term("hour");
|
|
440
|
+
case "minute":
|
|
441
|
+
return this.localize.term("minute");
|
|
442
|
+
case "second":
|
|
443
|
+
return this.localize.term("second");
|
|
444
|
+
case "meridiem":
|
|
445
|
+
return this.localize.term("meridiem");
|
|
446
|
+
default:
|
|
447
|
+
return "";
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
// Returns the label shown for a given value within a column
|
|
451
|
+
getColumnOptionLabel(name, value) {
|
|
452
|
+
if (name === "meridiem") {
|
|
453
|
+
return this.getPeriodLabel(value);
|
|
454
|
+
}
|
|
455
|
+
if (name === "hour" && this.is12Hour()) {
|
|
456
|
+
return String(value);
|
|
457
|
+
}
|
|
458
|
+
return pad(value);
|
|
459
|
+
}
|
|
460
|
+
renderColumn(column) {
|
|
461
|
+
const parts = this.parsedValue;
|
|
462
|
+
const selectedValue = parts ? this.getColumnValue(column.name, parts) : void 0;
|
|
463
|
+
return b`
|
|
464
|
+
<div
|
|
465
|
+
part="column"
|
|
466
|
+
class="time-picker__column"
|
|
467
|
+
role="listbox"
|
|
468
|
+
aria-label=${this.getColumnLabel(column.name)}
|
|
469
|
+
data-column=${column.name}
|
|
470
|
+
>
|
|
471
|
+
${column.values.map((value, index) => {
|
|
472
|
+
const isSelected = selectedValue === value;
|
|
473
|
+
const isFocusable = selectedValue !== void 0 ? isSelected : index === 0;
|
|
474
|
+
return b`
|
|
475
|
+
<cw-option
|
|
476
|
+
part="option"
|
|
477
|
+
exportparts="base:option__base, label:option__label"
|
|
478
|
+
.value=${String(value)}
|
|
479
|
+
.selected=${isSelected}
|
|
480
|
+
.current=${isSelected && this.activeColumn === column.name}
|
|
481
|
+
tabindex=${isFocusable ? 0 : -1}
|
|
482
|
+
>
|
|
483
|
+
${this.getColumnOptionLabel(column.name, value)}
|
|
484
|
+
</cw-option>
|
|
485
|
+
`;
|
|
486
|
+
})}
|
|
487
|
+
</div>
|
|
488
|
+
`;
|
|
489
|
+
}
|
|
490
|
+
handleDisabledChange() {
|
|
491
|
+
if (this.disabled) {
|
|
492
|
+
this.open = false;
|
|
493
|
+
this.handleOpenChange();
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
497
|
+
super.attributeChangedCallback(name, oldVal, newVal);
|
|
498
|
+
if (name === "value") {
|
|
499
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
500
|
+
this.value = this.defaultValue;
|
|
501
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
handleValueChange() {
|
|
505
|
+
if (!this.valueHasChanged) {
|
|
506
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
507
|
+
this.value = this.defaultValue;
|
|
508
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
509
|
+
}
|
|
510
|
+
this.updateComplete.then(() => this.formControlController.updateValidity());
|
|
511
|
+
}
|
|
512
|
+
handleGranularityOrHourFormatChange() {
|
|
513
|
+
const columns = this.getColumns();
|
|
514
|
+
if (!columns.some((column) => column.name === this.activeColumn)) {
|
|
515
|
+
this.activeColumn = "hour";
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
async handleOpenChange() {
|
|
519
|
+
if (this.open && !this.disabled) {
|
|
520
|
+
this.emit("cw-show");
|
|
521
|
+
this.addOpenListeners();
|
|
522
|
+
await stopAnimations(this);
|
|
523
|
+
this.listbox.hidden = false;
|
|
524
|
+
this.popup.active = true;
|
|
525
|
+
requestAnimationFrame(() => {
|
|
526
|
+
this.scrollActiveOptionsIntoView();
|
|
527
|
+
});
|
|
528
|
+
const { keyframes, options } = getAnimation(this, "time-picker.show", { dir: this.localize.dir() });
|
|
529
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
530
|
+
this.emit("cw-after-show");
|
|
531
|
+
} else {
|
|
532
|
+
this.emit("cw-hide");
|
|
533
|
+
this.removeOpenListeners();
|
|
534
|
+
await stopAnimations(this);
|
|
535
|
+
const { keyframes, options } = getAnimation(this, "time-picker.hide", { dir: this.localize.dir() });
|
|
536
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
537
|
+
this.listbox.hidden = true;
|
|
538
|
+
this.popup.active = false;
|
|
539
|
+
this.emit("cw-after-hide");
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
/** Shows the listbox. */
|
|
543
|
+
async show() {
|
|
544
|
+
if (this.open || this.disabled) {
|
|
545
|
+
return void 0;
|
|
546
|
+
}
|
|
547
|
+
this.open = true;
|
|
548
|
+
return waitForEvent(this, "cw-after-show");
|
|
549
|
+
}
|
|
550
|
+
/** Hides the listbox. */
|
|
551
|
+
async hide() {
|
|
552
|
+
if (!this.open || this.disabled) {
|
|
553
|
+
return void 0;
|
|
554
|
+
}
|
|
555
|
+
this.open = false;
|
|
556
|
+
return waitForEvent(this, "cw-after-hide");
|
|
557
|
+
}
|
|
558
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
559
|
+
checkValidity() {
|
|
560
|
+
return this.valueInput.checkValidity();
|
|
561
|
+
}
|
|
562
|
+
/** Gets the associated form, if one exists. */
|
|
563
|
+
getForm() {
|
|
564
|
+
return this.formControlController.getForm();
|
|
565
|
+
}
|
|
566
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
567
|
+
reportValidity() {
|
|
568
|
+
return this.valueInput.reportValidity();
|
|
569
|
+
}
|
|
570
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
571
|
+
setCustomValidity(message) {
|
|
572
|
+
this.valueInput.setCustomValidity(message);
|
|
573
|
+
this.formControlController.updateValidity();
|
|
574
|
+
}
|
|
575
|
+
/** Sets focus on the control. */
|
|
576
|
+
focus(options) {
|
|
577
|
+
this.displayInput.focus(options);
|
|
578
|
+
}
|
|
579
|
+
/** Removes focus from the control. */
|
|
580
|
+
blur() {
|
|
581
|
+
this.displayInput.blur();
|
|
582
|
+
}
|
|
583
|
+
render() {
|
|
584
|
+
const hasLabelSlot = this.hasSlotController.test("label");
|
|
585
|
+
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
586
|
+
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
587
|
+
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
588
|
+
const hasClearIcon = this.clearable && !this.disabled && this.value.length > 0;
|
|
589
|
+
const isPlaceholderVisible = this.placeholder && this.value.length === 0;
|
|
590
|
+
return b`
|
|
591
|
+
<div
|
|
592
|
+
part="form-control"
|
|
593
|
+
class=${e({
|
|
594
|
+
"form-control": true,
|
|
595
|
+
"form-control--small": this.size === "small",
|
|
596
|
+
"form-control--medium": this.size === "medium",
|
|
597
|
+
"form-control--large": this.size === "large",
|
|
598
|
+
"form-control--has-label": hasLabel,
|
|
599
|
+
"form-control--has-help-text": hasHelpText
|
|
600
|
+
})}
|
|
601
|
+
>
|
|
602
|
+
<label
|
|
603
|
+
id="label"
|
|
604
|
+
part="form-control-label"
|
|
605
|
+
class="form-control__label"
|
|
606
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
607
|
+
@click=${this.handleLabelClick}
|
|
608
|
+
>
|
|
609
|
+
<slot name="label">${this.label}</slot>
|
|
610
|
+
</label>
|
|
611
|
+
|
|
612
|
+
<div part="form-control-input" class="form-control-input">
|
|
613
|
+
<cw-popup
|
|
614
|
+
class=${e({
|
|
615
|
+
"time-picker": true,
|
|
616
|
+
"time-picker--standard": true,
|
|
617
|
+
"time-picker--filled": this.filled,
|
|
618
|
+
"time-picker--pill": this.pill,
|
|
619
|
+
"time-picker--open": this.open,
|
|
620
|
+
"time-picker--disabled": this.disabled,
|
|
621
|
+
"time-picker--focused": this.hasFocus,
|
|
622
|
+
"time-picker--placeholder-visible": isPlaceholderVisible,
|
|
623
|
+
"time-picker--top": this.placement === "top",
|
|
624
|
+
"time-picker--bottom": this.placement === "bottom",
|
|
625
|
+
"time-picker--small": this.size === "small",
|
|
626
|
+
"time-picker--medium": this.size === "medium",
|
|
627
|
+
"time-picker--large": this.size === "large"
|
|
628
|
+
})}
|
|
629
|
+
placement=${this.placement}
|
|
630
|
+
strategy=${this.hoist ? "fixed" : "absolute"}
|
|
631
|
+
flip
|
|
632
|
+
shift
|
|
633
|
+
auto-size="vertical"
|
|
634
|
+
auto-size-padding="10"
|
|
635
|
+
>
|
|
636
|
+
<div
|
|
637
|
+
part="combobox"
|
|
638
|
+
class="time-picker__combobox"
|
|
639
|
+
slot="anchor"
|
|
640
|
+
@keydown=${this.handleComboboxKeyDown}
|
|
641
|
+
@mousedown=${this.handleComboboxMouseDown}
|
|
642
|
+
>
|
|
643
|
+
<slot part="prefix" name="prefix" class="time-picker__prefix"></slot>
|
|
644
|
+
|
|
645
|
+
<input
|
|
646
|
+
part="display-input"
|
|
647
|
+
class="time-picker__display-input"
|
|
648
|
+
type="text"
|
|
649
|
+
placeholder=${this.placeholder}
|
|
650
|
+
.disabled=${this.disabled}
|
|
651
|
+
.value=${this.displayLabel}
|
|
652
|
+
autocomplete="off"
|
|
653
|
+
spellcheck="false"
|
|
654
|
+
autocapitalize="off"
|
|
655
|
+
readonly
|
|
656
|
+
aria-controls="listbox"
|
|
657
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
658
|
+
aria-haspopup="listbox"
|
|
659
|
+
aria-labelledby="label"
|
|
660
|
+
aria-disabled=${this.disabled ? "true" : "false"}
|
|
661
|
+
aria-describedby="help-text"
|
|
662
|
+
role="combobox"
|
|
663
|
+
tabindex="0"
|
|
664
|
+
@focus=${this.handleFocus}
|
|
665
|
+
@blur=${this.handleBlur}
|
|
666
|
+
/>
|
|
667
|
+
|
|
668
|
+
<input
|
|
669
|
+
class="time-picker__value-input"
|
|
670
|
+
type="text"
|
|
671
|
+
?disabled=${this.disabled}
|
|
672
|
+
?required=${this.required}
|
|
673
|
+
.value=${this.value}
|
|
674
|
+
tabindex="-1"
|
|
675
|
+
aria-hidden="true"
|
|
676
|
+
@focus=${() => this.focus()}
|
|
677
|
+
@invalid=${this.handleInvalid}
|
|
678
|
+
/>
|
|
679
|
+
|
|
680
|
+
${hasClearIcon ? b`
|
|
681
|
+
<button
|
|
682
|
+
part="clear-button"
|
|
683
|
+
class="time-picker__clear"
|
|
684
|
+
type="button"
|
|
685
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
686
|
+
@mousedown=${this.handleClearMouseDown}
|
|
687
|
+
@click=${this.handleClearClick}
|
|
688
|
+
tabindex="-1"
|
|
689
|
+
>
|
|
690
|
+
<slot name="clear-icon">
|
|
691
|
+
<cw-icon name="x-circle-fill" library="system"></cw-icon>
|
|
692
|
+
</slot>
|
|
693
|
+
</button>
|
|
694
|
+
` : ""}
|
|
695
|
+
|
|
696
|
+
<slot name="suffix" part="suffix" class="time-picker__suffix"></slot>
|
|
697
|
+
|
|
698
|
+
<slot name="expand-icon" part="expand-icon" class="time-picker__expand-icon">
|
|
699
|
+
<cw-icon library="system" name="clock"></cw-icon>
|
|
700
|
+
</slot>
|
|
701
|
+
</div>
|
|
702
|
+
|
|
703
|
+
<div
|
|
704
|
+
id="listbox"
|
|
705
|
+
part="listbox"
|
|
706
|
+
class="time-picker__listbox"
|
|
707
|
+
tabindex="-1"
|
|
708
|
+
@mousedown=${this.handleListboxMouseDown}
|
|
709
|
+
@mouseup=${this.handleOptionClick}
|
|
710
|
+
>
|
|
711
|
+
${this.getColumns().map((column) => this.renderColumn(column))}
|
|
712
|
+
</div>
|
|
713
|
+
</cw-popup>
|
|
714
|
+
</div>
|
|
715
|
+
|
|
716
|
+
<div
|
|
717
|
+
part="form-control-help-text"
|
|
718
|
+
id="help-text"
|
|
719
|
+
class="form-control__help-text"
|
|
720
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
721
|
+
>
|
|
722
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
723
|
+
</div>
|
|
724
|
+
</div>
|
|
725
|
+
`;
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
CwTimePicker.styles = [component_styles_default, form_control_styles_default, time_picker_styles_default];
|
|
729
|
+
CwTimePicker.dependencies = {
|
|
730
|
+
"cw-icon": CwIcon,
|
|
731
|
+
"cw-option": CwOption,
|
|
732
|
+
"cw-popup": CwPopup
|
|
733
|
+
};
|
|
734
|
+
__decorateClass([
|
|
735
|
+
e2(".time-picker")
|
|
736
|
+
], CwTimePicker.prototype, "popup", 2);
|
|
737
|
+
__decorateClass([
|
|
738
|
+
e2(".time-picker__combobox")
|
|
739
|
+
], CwTimePicker.prototype, "combobox", 2);
|
|
740
|
+
__decorateClass([
|
|
741
|
+
e2(".time-picker__display-input")
|
|
742
|
+
], CwTimePicker.prototype, "displayInput", 2);
|
|
743
|
+
__decorateClass([
|
|
744
|
+
e2(".time-picker__value-input")
|
|
745
|
+
], CwTimePicker.prototype, "valueInput", 2);
|
|
746
|
+
__decorateClass([
|
|
747
|
+
e2(".time-picker__listbox")
|
|
748
|
+
], CwTimePicker.prototype, "listbox", 2);
|
|
749
|
+
__decorateClass([
|
|
750
|
+
r2(".time-picker__column")
|
|
751
|
+
], CwTimePicker.prototype, "columnElements", 2);
|
|
752
|
+
__decorateClass([
|
|
753
|
+
r()
|
|
754
|
+
], CwTimePicker.prototype, "hasFocus", 2);
|
|
755
|
+
__decorateClass([
|
|
756
|
+
r()
|
|
757
|
+
], CwTimePicker.prototype, "activeColumn", 2);
|
|
758
|
+
__decorateClass([
|
|
759
|
+
r()
|
|
760
|
+
], CwTimePicker.prototype, "valueHasChanged", 2);
|
|
761
|
+
__decorateClass([
|
|
762
|
+
n()
|
|
763
|
+
], CwTimePicker.prototype, "name", 2);
|
|
764
|
+
__decorateClass([
|
|
765
|
+
r()
|
|
766
|
+
], CwTimePicker.prototype, "value", 1);
|
|
767
|
+
__decorateClass([
|
|
768
|
+
n({ attribute: "value" })
|
|
769
|
+
], CwTimePicker.prototype, "defaultValue", 2);
|
|
770
|
+
__decorateClass([
|
|
771
|
+
n({ reflect: true })
|
|
772
|
+
], CwTimePicker.prototype, "granularity", 2);
|
|
773
|
+
__decorateClass([
|
|
774
|
+
n({ attribute: "hour-format" })
|
|
775
|
+
], CwTimePicker.prototype, "hourFormat", 2);
|
|
776
|
+
__decorateClass([
|
|
777
|
+
n({ reflect: true })
|
|
778
|
+
], CwTimePicker.prototype, "size", 2);
|
|
779
|
+
__decorateClass([
|
|
780
|
+
n()
|
|
781
|
+
], CwTimePicker.prototype, "placeholder", 2);
|
|
782
|
+
__decorateClass([
|
|
783
|
+
n({ type: Boolean, reflect: true })
|
|
784
|
+
], CwTimePicker.prototype, "disabled", 2);
|
|
785
|
+
__decorateClass([
|
|
786
|
+
n({ type: Boolean })
|
|
787
|
+
], CwTimePicker.prototype, "clearable", 2);
|
|
788
|
+
__decorateClass([
|
|
789
|
+
n({ type: Boolean, reflect: true })
|
|
790
|
+
], CwTimePicker.prototype, "open", 2);
|
|
791
|
+
__decorateClass([
|
|
792
|
+
n({ type: Boolean })
|
|
793
|
+
], CwTimePicker.prototype, "hoist", 2);
|
|
794
|
+
__decorateClass([
|
|
795
|
+
n({ type: Boolean, reflect: true })
|
|
796
|
+
], CwTimePicker.prototype, "filled", 2);
|
|
797
|
+
__decorateClass([
|
|
798
|
+
n({ type: Boolean, reflect: true })
|
|
799
|
+
], CwTimePicker.prototype, "pill", 2);
|
|
800
|
+
__decorateClass([
|
|
801
|
+
n()
|
|
802
|
+
], CwTimePicker.prototype, "label", 2);
|
|
803
|
+
__decorateClass([
|
|
804
|
+
n({ reflect: true })
|
|
805
|
+
], CwTimePicker.prototype, "placement", 2);
|
|
806
|
+
__decorateClass([
|
|
807
|
+
n({ attribute: "help-text" })
|
|
808
|
+
], CwTimePicker.prototype, "helpText", 2);
|
|
809
|
+
__decorateClass([
|
|
810
|
+
n({ reflect: true })
|
|
811
|
+
], CwTimePicker.prototype, "form", 2);
|
|
812
|
+
__decorateClass([
|
|
813
|
+
n({ type: Boolean, reflect: true })
|
|
814
|
+
], CwTimePicker.prototype, "required", 2);
|
|
815
|
+
__decorateClass([
|
|
816
|
+
watch("disabled", { waitUntilFirstUpdate: true })
|
|
817
|
+
], CwTimePicker.prototype, "handleDisabledChange", 1);
|
|
818
|
+
__decorateClass([
|
|
819
|
+
watch(["defaultValue", "value"], { waitUntilFirstUpdate: true })
|
|
820
|
+
], CwTimePicker.prototype, "handleValueChange", 1);
|
|
821
|
+
__decorateClass([
|
|
822
|
+
watch(["granularity", "hourFormat"], { waitUntilFirstUpdate: true })
|
|
823
|
+
], CwTimePicker.prototype, "handleGranularityOrHourFormatChange", 1);
|
|
824
|
+
__decorateClass([
|
|
825
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
826
|
+
], CwTimePicker.prototype, "handleOpenChange", 1);
|
|
827
|
+
setDefaultAnimation("time-picker.show", {
|
|
828
|
+
keyframes: [
|
|
829
|
+
{ opacity: 0, scale: 0.9 },
|
|
830
|
+
{ opacity: 1, scale: 1 }
|
|
831
|
+
],
|
|
832
|
+
options: { duration: 100, easing: "ease" }
|
|
833
|
+
});
|
|
834
|
+
setDefaultAnimation("time-picker.hide", {
|
|
835
|
+
keyframes: [
|
|
836
|
+
{ opacity: 1, scale: 1 },
|
|
837
|
+
{ opacity: 0, scale: 0.9 }
|
|
838
|
+
],
|
|
839
|
+
options: { duration: 100, easing: "ease" }
|
|
840
|
+
});
|
|
841
|
+
|
|
842
|
+
export {
|
|
843
|
+
CwTimePicker
|
|
844
|
+
};
|