@cordwainer/cw-elements 1.3.0-alpha.1 → 1.3.0-alpha.2
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.26WSOE2X.js +82 -0
- package/cdn/chunks/chunk.2GQBK57C.js +21 -0
- package/cdn/chunks/chunk.2PW2QKYS.js +11 -0
- package/cdn/chunks/chunk.2U2TTDFY.js +21 -0
- package/cdn/chunks/chunk.3242SXOJ.js +336 -0
- package/cdn/chunks/chunk.32ZRRHBU.js +302 -0
- package/cdn/chunks/chunk.33URXAH3.js +218 -0
- package/cdn/chunks/chunk.3ARB4BUC.js +27 -0
- package/cdn/chunks/chunk.3IUWADBZ.js +216 -0
- package/cdn/chunks/chunk.3J7CB5LK.js +24 -0
- package/cdn/chunks/chunk.3K3JJKK4.js +73 -0
- package/cdn/chunks/chunk.3PDPHGHG.js +255 -0
- package/cdn/chunks/chunk.3PZEB6JT.js +11 -0
- package/cdn/chunks/chunk.3TPA7GQN.js +24 -0
- package/cdn/chunks/chunk.45KMUOKV.js +11 -0
- package/cdn/chunks/chunk.4G6AE6LA.js +24 -0
- package/cdn/chunks/chunk.4K75R5VR.js +11 -0
- package/cdn/chunks/chunk.4RAPVAHL.js +25 -0
- package/cdn/chunks/chunk.4XLQ4X2K.js +21 -0
- package/cdn/chunks/chunk.57J7OEEI.js +25 -0
- package/cdn/chunks/chunk.5F76MEWP.js +346 -0
- package/cdn/chunks/chunk.5L7AW6FM.js +25 -0
- package/cdn/chunks/chunk.5PHXVCME.js +11 -0
- package/cdn/chunks/chunk.5WYMZNF6.js +28 -0
- package/cdn/chunks/chunk.65MZCEGR.js +233 -0
- package/cdn/chunks/chunk.6GU47XCA.js +26 -0
- package/cdn/chunks/chunk.6PHTFONO.js +26 -0
- package/cdn/chunks/chunk.6QLQZBQU.js +50 -0
- package/cdn/chunks/chunk.77PJUHB6.js +28 -0
- package/cdn/chunks/chunk.7AAZHDDS.js +49 -0
- package/cdn/chunks/chunk.7BUXWMXE.js +28 -0
- package/cdn/chunks/chunk.7DAXFFSC.js +11 -0
- package/cdn/chunks/chunk.7NULNU3H.js +11 -0
- package/cdn/chunks/chunk.7TPEJNB7.js +844 -0
- package/cdn/chunks/chunk.7XOG5GFO.js +11 -0
- package/cdn/chunks/chunk.7ZBK5WGA.js +11 -0
- package/cdn/chunks/chunk.7ZMWKRVJ.js +391 -0
- package/cdn/chunks/chunk.ABX25UC6.js +27 -0
- package/cdn/chunks/chunk.AJKXWZ4C.js +75 -0
- package/cdn/chunks/chunk.AKDLLCMM.js +26 -0
- package/cdn/chunks/chunk.AO4IHDIX.js +21 -0
- package/cdn/chunks/chunk.ASUHMZ5Z.js +218 -0
- package/cdn/chunks/chunk.B3OMWAHY.js +42 -0
- package/cdn/chunks/chunk.B4ACYUD5.js +21 -0
- package/cdn/chunks/chunk.B5NVEHPC.js +21 -0
- package/cdn/chunks/chunk.BCZHAALL.js +367 -0
- package/cdn/chunks/chunk.BNR5DOZQ.js +103 -0
- package/cdn/chunks/chunk.BOUHC5RQ.js +28 -0
- package/cdn/chunks/chunk.BYE2GI7R.js +21 -0
- package/cdn/chunks/chunk.C462ROOD.js +197 -0
- package/cdn/chunks/chunk.CBQPV2XP.js +11 -0
- package/cdn/chunks/chunk.CFLXAVEG.js +114 -0
- package/cdn/chunks/chunk.CIMQMOO5.js +11 -0
- package/cdn/chunks/chunk.CMJ2JOSO.js +33 -0
- package/cdn/chunks/chunk.CPS6O74Q.js +33 -0
- package/cdn/chunks/chunk.D5D6WCXD.js +24 -0
- package/cdn/chunks/chunk.D5DMNQ2B.js +186 -0
- package/cdn/chunks/chunk.DAMD3CDQ.js +113 -0
- package/cdn/chunks/chunk.DAUE7NHW.js +11 -0
- package/cdn/chunks/chunk.DH3IY2T5.js +267 -0
- package/cdn/chunks/chunk.DIJ445RQ.js +11 -0
- package/cdn/chunks/chunk.DT7CPYIO.js +25 -0
- package/cdn/chunks/chunk.DVUIGSMD.js +25 -0
- package/cdn/chunks/chunk.E7R53EFE.js +11 -0
- package/cdn/chunks/chunk.EET3ZV5W.js +11 -0
- package/cdn/chunks/chunk.EGCD4LGL.js +97 -0
- package/cdn/chunks/chunk.EMATHFZN.js +11 -0
- package/cdn/chunks/chunk.EOHBQQVF.js +21 -0
- package/cdn/chunks/chunk.ETCTXR4G.js +11 -0
- package/cdn/chunks/chunk.EURPGK3R.js +11 -0
- package/cdn/chunks/chunk.EZE3OMZ6.js +82 -0
- package/cdn/chunks/chunk.F57BXPJ7.js +24 -0
- package/cdn/chunks/chunk.F6VYXVQB.js +21 -0
- package/cdn/chunks/chunk.F7IXHFWY.js +11 -0
- package/cdn/chunks/chunk.FBHWAQR5.js +11 -0
- package/cdn/chunks/chunk.FGF6DRYC.js +29 -0
- package/cdn/chunks/chunk.FM2IBS7V.js +11 -0
- package/cdn/chunks/chunk.FUCWH2MU.js +21 -0
- package/cdn/chunks/chunk.FUI6TCOP.js +122 -0
- package/cdn/chunks/chunk.G2NWQJHP.js +57 -0
- package/cdn/chunks/chunk.G7T475QM.js +1990 -0
- package/cdn/chunks/chunk.GCLPDTUN.js +25 -0
- package/cdn/chunks/chunk.GHDM3OKR.js +11 -0
- package/cdn/chunks/chunk.GQC2ZJN5.js +24 -0
- package/cdn/chunks/chunk.GR3UGU76.js +11 -0
- package/cdn/chunks/chunk.GT5LUF36.js +24 -0
- package/cdn/chunks/chunk.HCEZF4HT.js +21 -0
- package/cdn/chunks/chunk.HYUTZFKB.js +11 -0
- package/cdn/chunks/chunk.I3WRJS2F.js +21 -0
- package/cdn/chunks/chunk.I7YBGNHY.js +11 -0
- package/cdn/chunks/chunk.IBSOCOZ7.js +29 -0
- package/cdn/chunks/chunk.IBYPWCZO.js +21 -0
- package/cdn/chunks/chunk.IGH4CPIX.js +11 -0
- package/cdn/chunks/chunk.IQ5BJRLN.js +11 -0
- package/cdn/chunks/chunk.IV6TAUME.js +21 -0
- package/cdn/chunks/chunk.IVBS2WNU.js +11 -0
- package/cdn/chunks/chunk.IZQHECE7.js +29 -0
- package/cdn/chunks/chunk.J2OEIMMO.js +49 -0
- package/cdn/chunks/chunk.J7S6MZKH.js +402 -0
- package/cdn/chunks/chunk.JCVV7FTN.js +499 -0
- package/cdn/chunks/chunk.JES63NI3.js +29 -0
- package/cdn/chunks/chunk.JFDV7RKY.js +11 -0
- package/cdn/chunks/chunk.JFZYJELR.js +11 -0
- package/cdn/chunks/chunk.JIWXBKLW.js +11 -0
- package/cdn/chunks/chunk.JNUSXZTH.js +21 -0
- package/cdn/chunks/chunk.JTU2PXLS.js +11 -0
- package/cdn/chunks/chunk.JWEYXEY2.js +11 -0
- package/cdn/chunks/chunk.K26M7D5A.js +11 -0
- package/cdn/chunks/chunk.K6IPJRL5.js +385 -0
- package/cdn/chunks/chunk.KCJICFCB.js +21 -0
- package/cdn/chunks/chunk.KDE7EMTP.js +292 -0
- package/cdn/chunks/chunk.KGIX6ROS.js +24 -0
- package/cdn/chunks/chunk.KJ6M2O43.js +11 -0
- package/cdn/chunks/chunk.KTWVV2FN.js +11 -0
- package/cdn/chunks/chunk.L4ARAZBG.js +63 -0
- package/cdn/chunks/chunk.L4TLIABV.js +11 -0
- package/cdn/chunks/chunk.L7DERNBR.js +11 -0
- package/cdn/chunks/chunk.LA2XEONC.js +236 -0
- package/cdn/chunks/chunk.LBQAIEIN.js +11 -0
- package/cdn/chunks/chunk.LHUBLSFM.js +11 -0
- package/cdn/chunks/chunk.LMDDPIDT.js +11 -0
- package/cdn/chunks/chunk.LOEDGLOZ.js +11 -0
- package/cdn/chunks/chunk.LQYAK6GR.js +11 -0
- package/cdn/chunks/chunk.LV3IZIAM.js +147 -0
- package/cdn/chunks/chunk.M4DCQYRX.js +25 -0
- package/cdn/chunks/chunk.M7X77RSC.js +455 -0
- package/cdn/chunks/chunk.MIA7HZ3H.js +21 -0
- package/cdn/chunks/chunk.MIWC3G2J.js +11 -0
- package/cdn/chunks/chunk.MJ3WZN3N.js +49 -0
- package/cdn/chunks/chunk.MMXL36JV.js +24 -0
- package/cdn/chunks/chunk.MQIMXAK3.js +77 -0
- package/cdn/chunks/chunk.MQZIWK2T.js +26 -0
- package/cdn/chunks/chunk.MXHQEQMC.js +25 -0
- package/cdn/chunks/chunk.MYXDOTBB.js +87 -0
- package/cdn/chunks/chunk.N2KNURD2.js +291 -0
- package/cdn/chunks/chunk.N3AV6QCX.js +314 -0
- package/cdn/chunks/chunk.N6OZTRMB.js +11 -0
- package/cdn/chunks/chunk.NBUPY5HO.js +969 -0
- package/cdn/chunks/chunk.NDGZTN7F.js +11 -0
- package/cdn/chunks/chunk.NGGQGQJJ.js +11 -0
- package/cdn/chunks/chunk.NPF6GP5E.js +11 -0
- package/cdn/chunks/chunk.NQ3SOIHB.js +114 -0
- package/cdn/chunks/chunk.NRQKIYZ3.js +11 -0
- package/cdn/chunks/chunk.NWSMFKBB.js +21 -0
- package/cdn/chunks/chunk.NWWBD2UI.js +1925 -0
- package/cdn/chunks/chunk.O63FAKPX.js +21 -0
- package/cdn/chunks/chunk.OE45G6KG.js +33 -0
- package/cdn/chunks/chunk.OE6WR3NM.js +25 -0
- package/cdn/chunks/chunk.OGDS2SL5.js +378 -0
- package/cdn/chunks/chunk.OI6ORT62.js +67 -0
- package/cdn/chunks/chunk.OKNJFDCH.js +11 -0
- package/cdn/chunks/chunk.ORADZNTG.js +28 -0
- package/cdn/chunks/chunk.OSZMUMUP.js +11 -0
- package/cdn/chunks/chunk.OUUT2YHY.js +24 -0
- package/cdn/chunks/chunk.PDV2THVX.js +93 -0
- package/cdn/chunks/chunk.PYBDC3MU.js +11 -0
- package/cdn/chunks/chunk.QAXCHGNL.js +135 -0
- package/cdn/chunks/chunk.QG5WVM6I.js +79 -0
- package/cdn/chunks/chunk.QKV6PS52.js +21 -0
- package/cdn/chunks/chunk.QPVOSM7H.js +11 -0
- package/cdn/chunks/chunk.QW3SVSVB.js +21 -0
- package/cdn/chunks/chunk.QZN7YQN6.js +21 -0
- package/cdn/chunks/chunk.QZXDAMIQ.js +11 -0
- package/cdn/chunks/chunk.RJM4Q2BU.js +16 -0
- package/cdn/chunks/chunk.RLGPPF56.js +279 -0
- package/cdn/chunks/chunk.RWB3DAQ5.js +142 -0
- package/cdn/chunks/chunk.RYYAT43F.js +27 -0
- package/cdn/chunks/chunk.S5HHCXOC.js +174 -0
- package/cdn/chunks/chunk.S5VFNGJV.js +24 -0
- package/cdn/chunks/chunk.SBLEJD36.js +21 -0
- package/cdn/chunks/chunk.SDU4EZUW.js +299 -0
- package/cdn/chunks/chunk.SGLAHQRL.js +21 -0
- package/cdn/chunks/chunk.SNUTS4EA.js +11 -0
- package/cdn/chunks/chunk.SNYMIIEP.js +27 -0
- package/cdn/chunks/chunk.SR2E6BTY.js +24 -0
- package/cdn/chunks/chunk.SRHEI2X6.js +11 -0
- package/cdn/chunks/chunk.STXVOCON.js +11 -0
- package/cdn/chunks/chunk.THCTK4XY.js +84 -0
- package/cdn/chunks/chunk.TKP5Z3UW.js +36 -0
- package/cdn/chunks/chunk.TLVNUJKC.js +120 -0
- package/cdn/chunks/chunk.TM3XPVG7.js +24 -0
- package/cdn/chunks/chunk.TZ6OXKDT.js +27 -0
- package/cdn/chunks/chunk.U5JHA3PI.js +11 -0
- package/cdn/chunks/chunk.UUYBM2KC.js +724 -0
- package/cdn/chunks/chunk.V2O2M3XM.js +11 -0
- package/cdn/chunks/chunk.VJRT6DCH.js +11 -0
- package/cdn/chunks/chunk.VKQZTDML.js +21 -0
- package/cdn/chunks/chunk.VLJXTLJA.js +153 -0
- package/cdn/chunks/chunk.VNAVQLUE.js +79 -0
- package/cdn/chunks/chunk.VU7BAVDX.js +33 -0
- package/cdn/chunks/chunk.VYXQIKER.js +24 -0
- package/cdn/chunks/chunk.VZ75OPN7.js +127 -0
- package/cdn/chunks/chunk.WZ4D4SZQ.js +11 -0
- package/cdn/chunks/chunk.XKNAM3LM.js +11 -0
- package/cdn/chunks/chunk.XVBI2VEE.js +27 -0
- package/cdn/chunks/chunk.XWEVEBXH.js +27 -0
- package/cdn/chunks/chunk.XX22KMJK.js +11 -0
- package/cdn/chunks/chunk.XZQIOR6G.js +120 -0
- package/cdn/chunks/chunk.Y2QIMVUH.js +821 -0
- package/cdn/chunks/chunk.Y6AS3IIB.js +574 -0
- package/cdn/chunks/chunk.YA36YBRA.js +11 -0
- package/cdn/chunks/chunk.YAAV24U7.js +28 -0
- package/cdn/chunks/chunk.YH2AHAF2.js +21 -0
- package/cdn/chunks/chunk.YHZKTEVR.js +11 -0
- package/cdn/chunks/chunk.YLHWUAPP.js +95 -0
- package/cdn/chunks/chunk.YQZWG6CV.js +11 -0
- package/cdn/chunks/chunk.YSYZNFML.js +137 -0
- package/cdn/chunks/chunk.Z3TAOUKV.js +904 -0
- package/cdn/chunks/chunk.Z4NJEIK6.js +11 -0
- package/cdn/chunks/chunk.Z5D3QFBU.js +11 -0
- package/cdn/chunks/chunk.Z5HMEPDI.js +158 -0
- package/cdn/chunks/chunk.Z7CDTIHL.js +11 -0
- package/cdn/chunks/chunk.ZHH5AAWV.js +297 -0
- package/cdn/chunks/chunk.ZVJEVVDB.js +185 -0
- package/cdn/chunks/chunk.ZWWZHDAR.js +11 -0
- package/cdn/components/alert/alert.component.js +6 -6
- package/cdn/components/alert/alert.js +7 -7
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
- package/cdn/components/breadcrumb/breadcrumb.js +6 -6
- 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 +6 -6
- package/cdn/components/button/button.js +7 -7
- 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 +5 -5
- package/cdn/components/carousel/carousel.js +6 -6
- 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 +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +12 -12
- package/cdn/components/color-picker/color-picker.js +13 -13
- package/cdn/components/combobox/combobox.component.js +10 -10
- package/cdn/components/combobox/combobox.js +11 -11
- package/cdn/components/copy-button/copy-button.component.js +7 -7
- package/cdn/components/copy-button/copy-button.js +8 -8
- package/cdn/components/data-table/data-table.component.js +7 -7
- package/cdn/components/data-table/data-table.js +8 -8
- package/cdn/components/data-table-column/data-table-column.component.d.ts +39 -0
- package/cdn/components/data-table-column/data-table-column.component.js +10 -0
- package/cdn/components/data-table-column/data-table-column.d.ts +8 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +7 -7
- package/cdn/components/date-picker/date-picker.js +8 -8
- package/cdn/components/details/details.component.js +5 -5
- package/cdn/components/details/details.js +6 -6
- package/cdn/components/dialog/dialog.component.js +6 -6
- package/cdn/components/dialog/dialog.js +7 -7
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +7 -7
- package/cdn/components/drawer/drawer.js +8 -8
- 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 +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +5 -5
- package/cdn/components/image-comparer/image-comparer.js +6 -6
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- package/cdn/components/logo/logo.component.js +4 -4
- package/cdn/components/logo/logo.js +5 -5
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +7 -7
- package/cdn/components/menu-item/menu-item.js +8 -8
- 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 +5 -5
- package/cdn/components/option/option.js +6 -6
- package/cdn/components/pagination/pagination.component.js +6 -6
- package/cdn/components/pagination/pagination.js +7 -7
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- package/cdn/components/primary-navigation/primary-navigation.component.js +5 -5
- package/cdn/components/primary-navigation/primary-navigation.js +6 -6
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +7 -7
- package/cdn/components/primary-navigation-item/primary-navigation-item.js +8 -8
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +5 -5
- package/cdn/components/progress-ring/progress-ring.component.js +4 -4
- package/cdn/components/progress-ring/progress-ring.js +5 -5
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- 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 +5 -5
- package/cdn/components/rating/rating.js +6 -6
- package/cdn/components/relative-time/relative-time.component.js +4 -4
- package/cdn/components/relative-time/relative-time.js +5 -5
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/secondary-navigation/secondary-navigation.component.d.ts +52 -0
- package/cdn/components/secondary-navigation/secondary-navigation.component.js +28 -0
- package/cdn/components/secondary-navigation/secondary-navigation.d.ts +8 -0
- package/cdn/components/secondary-navigation/secondary-navigation.js +29 -0
- package/cdn/components/secondary-navigation/secondary-navigation.styles.d.ts +2 -0
- package/cdn/components/secondary-navigation/secondary-navigation.styles.js +8 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.d.ts +29 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.js +14 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.d.ts +8 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.js +15 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.styles.d.ts +2 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.styles.js +8 -0
- package/cdn/components/select/select.component.js +8 -8
- package/cdn/components/select/select.js +9 -9
- 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 +6 -6
- package/cdn/components/tab/tab.js +7 -7
- package/cdn/components/tab-group/tab-group.component.js +7 -7
- package/cdn/components/tab-group/tab-group.js +8 -8
- 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 +6 -6
- package/cdn/components/tag/tag.js +7 -7
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-picker/time-picker.component.js +7 -7
- package/cdn/components/time-picker/time-picker.js +8 -8
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +9 -9
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.component.js +7 -7
- package/cdn/components/tree-item/tree-item.js +8 -8
- 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 +1700 -1367
- package/cdn/cw-elements.d.ts +3 -1
- package/cdn/cw-elements.js +186 -174
- package/cdn/react/alert/index.js +7 -7
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +6 -6
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +7 -7
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +6 -6
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +13 -13
- package/cdn/react/combobox/index.js +11 -11
- package/cdn/react/copy-button/index.js +8 -8
- package/cdn/react/data-table/index.js +8 -8
- package/cdn/react/data-table-column/index.d.ts +2 -2
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +8 -8
- package/cdn/react/details/index.js +6 -6
- package/cdn/react/dialog/index.js +7 -7
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +8 -8
- 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 +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +6 -6
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.d.ts +4 -2
- package/cdn/react/index.js +199 -187
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/logo/index.js +5 -5
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +8 -8
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +6 -6
- package/cdn/react/pagination/index.js +7 -7
- package/cdn/react/popup/index.js +5 -5
- package/cdn/react/primary-navigation/index.js +6 -6
- package/cdn/react/primary-navigation-item/index.js +8 -8
- package/cdn/react/primary-navigation-menu/index.js +3 -3
- package/cdn/react/progress-bar/index.js +5 -5
- package/cdn/react/progress-ring/index.js +5 -5
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- 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 +6 -6
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/secondary-navigation/index.d.ts +22 -0
- package/cdn/react/secondary-navigation/index.js +29 -0
- package/cdn/react/secondary-navigation-item/index.d.ts +14 -0
- package/cdn/react/secondary-navigation-item/index.js +15 -0
- package/cdn/react/select/index.js +9 -9
- 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 +7 -7
- package/cdn/react/tab-group/index.js +8 -8
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +7 -7
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +8 -8
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +10 -10
- package/cdn/react/tree-item/index.js +8 -8
- 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 +171 -114
- package/cdn/utilities/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +172 -113
- package/cdn/web-types.json +401 -300
- package/dist/chunks/chunk.2GZXC4JN.js +11 -0
- package/dist/chunks/chunk.2HQCTLS6.js +25 -0
- package/dist/chunks/chunk.2QQRBXOQ.js +11 -0
- package/dist/chunks/chunk.2WAUDZSH.js +28 -0
- package/dist/chunks/chunk.2WM72Z76.js +21 -0
- package/dist/chunks/chunk.35NWM5WT.js +294 -0
- package/dist/chunks/chunk.3AJKB2XW.js +24 -0
- package/dist/chunks/chunk.3BCUZO2I.js +93 -0
- package/dist/chunks/chunk.3E4TZ6Q4.js +813 -0
- package/dist/chunks/chunk.3F36WHGW.js +11 -0
- package/dist/chunks/chunk.3GDQEEJB.js +33 -0
- package/dist/chunks/chunk.3IKG4TUS.js +11 -0
- package/dist/chunks/chunk.3MSV6DEV.js +25 -0
- package/dist/chunks/chunk.3Z5DWOPR.js +21 -0
- package/dist/chunks/chunk.3ZPQKYXT.js +11 -0
- package/dist/chunks/chunk.42DTM56F.js +192 -0
- package/dist/chunks/chunk.437OBCKQ.js +59 -0
- package/dist/chunks/chunk.4GF4EQ45.js +21 -0
- package/dist/chunks/chunk.4REC2SBZ.js +11 -0
- package/dist/chunks/chunk.4WUKLYFS.js +15 -0
- package/dist/chunks/chunk.53VJSHOV.js +24 -0
- package/dist/chunks/chunk.5BT644RT.js +213 -0
- package/dist/chunks/chunk.5FHGGPOR.js +293 -0
- package/dist/chunks/chunk.5RELZ2GS.js +90 -0
- package/dist/chunks/chunk.5SCBY5DV.js +33 -0
- package/dist/chunks/chunk.5UROAQQY.js +22 -0
- package/dist/chunks/chunk.5ZLI6XXJ.js +290 -0
- package/dist/chunks/chunk.67Z45I6U.js +33 -0
- package/dist/chunks/chunk.6KLJ73UK.js +448 -0
- package/dist/chunks/chunk.6VO4DU6P.js +11 -0
- package/dist/chunks/chunk.6XKTEQE7.js +11 -0
- package/dist/chunks/chunk.74FKGAXK.js +11 -0
- package/dist/chunks/chunk.756BFCA3.js +11 -0
- package/dist/chunks/chunk.7D6BDGCC.js +11 -0
- package/dist/chunks/chunk.7HNY5BKU.js +11 -0
- package/dist/chunks/chunk.7KYKUXBB.js +11 -0
- package/dist/chunks/chunk.7N35AGCE.js +961 -0
- package/dist/chunks/chunk.ABLVNDXC.js +21 -0
- package/dist/chunks/chunk.AHPTEP6U.js +837 -0
- package/dist/chunks/chunk.AL7G7BLQ.js +25 -0
- package/dist/chunks/chunk.ANHS4EDT.js +11 -0
- package/dist/chunks/chunk.AQQBGFYR.js +181 -0
- package/dist/chunks/chunk.AW7Y7YWX.js +27 -0
- package/dist/chunks/chunk.AXILOHSN.js +11 -0
- package/dist/chunks/chunk.AXSLQ4D3.js +491 -0
- package/dist/chunks/chunk.AXXHNRKW.js +337 -0
- package/dist/chunks/chunk.B3ILT4H6.js +29 -0
- package/dist/chunks/chunk.BC24B56H.js +42 -0
- package/dist/chunks/chunk.BJIJHJAU.js +11 -0
- package/dist/chunks/chunk.BOHDFDFV.js +311 -0
- package/dist/chunks/chunk.BOVZVVI5.js +26 -0
- package/dist/chunks/chunk.CC6UYX57.js +138 -0
- package/dist/chunks/chunk.CJPQTJA4.js +134 -0
- package/dist/chunks/chunk.COLGBPEB.js +147 -0
- package/dist/chunks/chunk.CRNYOOIV.js +375 -0
- package/dist/chunks/chunk.CRWKNCBY.js +11 -0
- package/dist/chunks/chunk.D2ZIHOYJ.js +21 -0
- package/dist/chunks/chunk.DHX7EK7H.js +11 -0
- package/dist/chunks/chunk.DQNNYTV6.js +11 -0
- package/dist/chunks/chunk.DVNINZLP.js +259 -0
- package/dist/chunks/chunk.E4VPSCWI.js +11 -0
- package/dist/chunks/chunk.E5SZJSBP.js +11 -0
- package/dist/chunks/chunk.E6YLOWSL.js +24 -0
- package/dist/chunks/chunk.E6ZJ7PQP.js +212 -0
- package/dist/chunks/chunk.ECSI4YVN.js +11 -0
- package/dist/chunks/chunk.EI4QCQMB.js +11 -0
- package/dist/chunks/chunk.ELTS45P5.js +11 -0
- package/dist/chunks/chunk.EOSZJ4SD.js +25 -0
- package/dist/chunks/chunk.EQGE6544.js +22 -0
- package/dist/chunks/chunk.ERIUQRMZ.js +11 -0
- package/dist/chunks/chunk.FATOYQ7B.js +72 -0
- package/dist/chunks/chunk.FAYQVMJL.js +11 -0
- package/dist/chunks/chunk.FEAFR73M.js +25 -0
- package/dist/chunks/chunk.FGELTOEY.js +11 -0
- package/dist/chunks/chunk.FLF4HGKO.js +45 -0
- package/dist/chunks/chunk.FLWJDM6A.js +26 -0
- package/dist/chunks/chunk.FWHJWE2G.js +21 -0
- package/dist/chunks/chunk.FX7MFH3R.js +11 -0
- package/dist/chunks/chunk.G5JZHX5D.js +11 -0
- package/dist/chunks/chunk.G755YBUT.js +21 -0
- package/dist/chunks/chunk.G7BJUIQC.js +119 -0
- package/dist/chunks/chunk.GHO3TM7A.js +27 -0
- package/dist/chunks/chunk.GJ435TZ6.js +11 -0
- package/dist/chunks/chunk.GMJGHZKY.js +73 -0
- package/dist/chunks/chunk.GRUF2DYM.js +11 -0
- package/dist/chunks/chunk.GUJ4OA2U.js +11 -0
- package/dist/chunks/chunk.GV5X3WU5.js +11 -0
- package/dist/chunks/chunk.GYGNIFDN.js +27 -0
- package/dist/chunks/chunk.HESYXIGV.js +11 -0
- package/dist/chunks/chunk.HIR3YFEV.js +100 -0
- package/dist/chunks/chunk.HJSJ3IP3.js +26 -0
- package/dist/chunks/chunk.HKJQ6X5W.js +21 -0
- package/dist/chunks/chunk.HKMEBY7F.js +94 -0
- package/dist/chunks/chunk.HPOKBXO4.js +384 -0
- package/dist/chunks/chunk.HRDFQJ5Y.js +280 -0
- package/dist/chunks/chunk.HSFXY4KH.js +24 -0
- package/dist/chunks/chunk.HSJP5VT4.js +11 -0
- package/dist/chunks/chunk.HVQNWM7O.js +11 -0
- package/dist/chunks/chunk.I4VO3JYX.js +42 -0
- package/dist/chunks/chunk.IJXCWUGJ.js +24 -0
- package/dist/chunks/chunk.IKBHGKOM.js +11 -0
- package/dist/chunks/chunk.INBZV4AW.js +25 -0
- package/dist/chunks/chunk.IWCE2ZBD.js +11 -0
- package/dist/chunks/chunk.IWRFAONO.js +21 -0
- package/dist/chunks/chunk.J7HBOMZP.js +50 -0
- package/dist/chunks/chunk.JL6FVUMD.js +11 -0
- package/dist/chunks/chunk.KJKHTQ5H.js +21 -0
- package/dist/chunks/chunk.KLHGSGI4.js +11 -0
- package/dist/chunks/chunk.KTCUV3WH.js +24 -0
- package/dist/chunks/chunk.KVIUFBWR.js +21 -0
- package/dist/chunks/chunk.KVX4KZQ7.js +54 -0
- package/dist/chunks/chunk.L7263K5F.js +11 -0
- package/dist/chunks/chunk.L7RQQ75G.js +25 -0
- package/dist/chunks/chunk.LJKKQZ4Z.js +135 -0
- package/dist/chunks/chunk.LMEVH2KX.js +11 -0
- package/dist/chunks/chunk.LS56SMFF.js +82 -0
- package/dist/chunks/chunk.LUHSGF5O.js +11 -0
- package/dist/chunks/chunk.LUZLX6TY.js +11 -0
- package/dist/chunks/chunk.LXJDJY6J.js +27 -0
- package/dist/chunks/chunk.M2LW36F5.js +63 -0
- package/dist/chunks/chunk.M3IAQ5C5.js +417 -0
- package/dist/chunks/chunk.M6VSAABN.js +151 -0
- package/dist/chunks/chunk.M6VYHEFS.js +11 -0
- package/dist/chunks/chunk.ME6NRBKV.js +11 -0
- package/dist/chunks/chunk.MHML5OPO.js +21 -0
- package/dist/chunks/chunk.MJ2ZSVNB.js +116 -0
- package/dist/chunks/chunk.MLQ2OIB4.js +33 -0
- package/dist/chunks/chunk.MMN2BRAX.js +21 -0
- package/dist/chunks/chunk.MMR3NJZ2.js +11 -0
- package/dist/chunks/chunk.MP6J6SFL.js +100 -0
- package/dist/chunks/chunk.MVG6Y5IP.js +28 -0
- package/dist/chunks/chunk.MZEDTK4Y.js +315 -0
- package/dist/chunks/chunk.NGIRM5NK.js +21 -0
- package/dist/chunks/chunk.NT2UFBPQ.js +11 -0
- package/dist/chunks/chunk.NTBPP47X.js +67 -0
- package/dist/chunks/chunk.NTMPQXJG.js +29 -0
- package/dist/chunks/chunk.OEAWG44Z.js +11 -0
- package/dist/chunks/chunk.OHLVVUNL.js +24 -0
- package/dist/chunks/chunk.OJW3NTAT.js +11 -0
- package/dist/chunks/chunk.OQKWR6LX.js +21 -0
- package/dist/chunks/chunk.OQTBCO5T.js +11 -0
- package/dist/chunks/chunk.OVSWWNRG.js +11 -0
- package/dist/chunks/chunk.OVU6B7B2.js +21 -0
- package/dist/chunks/chunk.PQQTXJLY.js +21 -0
- package/dist/chunks/chunk.Q2TYF4FT.js +11 -0
- package/dist/chunks/chunk.Q75FLSRT.js +126 -0
- package/dist/chunks/chunk.QAUJC7Y2.js +11 -0
- package/dist/chunks/chunk.QDADM44L.js +11 -0
- package/dist/chunks/chunk.QJDCLJOW.js +231 -0
- package/dist/chunks/chunk.QN764SXC.js +11 -0
- package/dist/chunks/chunk.QPMEGAFM.js +11 -0
- package/dist/chunks/chunk.QUZR3IPH.js +11 -0
- package/dist/chunks/chunk.QWETGG6V.js +25 -0
- package/dist/chunks/chunk.R264AHE5.js +21 -0
- package/dist/chunks/chunk.R4VWT25Q.js +80 -0
- package/dist/chunks/chunk.RA5EMTOH.js +21 -0
- package/dist/chunks/chunk.RLGMXIQB.js +170 -0
- package/dist/chunks/chunk.RN3JCVX7.js +45 -0
- package/dist/chunks/chunk.RU7IDTFE.js +109 -0
- package/dist/chunks/chunk.RUBNRH3N.js +27 -0
- package/dist/chunks/chunk.RWTUEMYD.js +21 -0
- package/dist/chunks/chunk.SCFLJGXH.js +29 -0
- package/dist/chunks/chunk.SER5IREF.js +24 -0
- package/dist/chunks/chunk.SRQQNER7.js +227 -0
- package/dist/chunks/chunk.SSJBN76Y.js +26 -0
- package/dist/chunks/chunk.SXUKHJ7G.js +11 -0
- package/dist/chunks/chunk.T6H2ZLRP.js +11 -0
- package/dist/chunks/chunk.T6NLHTZM.js +27 -0
- package/dist/chunks/chunk.T6XA5WMW.js +949 -0
- package/dist/chunks/chunk.TEC4BLIT.js +21 -0
- package/dist/chunks/chunk.TXK3MU4Q.js +24 -0
- package/dist/chunks/chunk.TYML6Z66.js +115 -0
- package/dist/chunks/chunk.U4CUAG4F.js +111 -0
- package/dist/chunks/chunk.UD6INT3K.js +11 -0
- package/dist/chunks/chunk.UFF4TD4R.js +34 -0
- package/dist/chunks/chunk.UM5MYKWP.js +24 -0
- package/dist/chunks/chunk.UNGZECYX.js +25 -0
- package/dist/chunks/chunk.URKVUXPL.js +11 -0
- package/dist/chunks/chunk.UUHRNQ6S.js +11 -0
- package/dist/chunks/chunk.UVIGMCMU.js +361 -0
- package/dist/chunks/chunk.UVRBO4UU.js +26 -0
- package/dist/chunks/chunk.V4UPPRVV.js +896 -0
- package/dist/chunks/chunk.VNZGNXRR.js +28 -0
- package/dist/chunks/chunk.VO2WW6BN.js +11 -0
- package/dist/chunks/chunk.VWGYPYIQ.js +11 -0
- package/dist/chunks/chunk.W2QFWIXM.js +79 -0
- package/dist/chunks/chunk.W4VVINBW.js +11 -0
- package/dist/chunks/chunk.WGMKOXQR.js +21 -0
- package/dist/chunks/chunk.WJJ4EIAS.js +109 -0
- package/dist/chunks/chunk.WKNK4GUR.js +75 -0
- package/dist/chunks/chunk.WQQF33MM.js +117 -0
- package/dist/chunks/chunk.WUPFC44E.js +25 -0
- package/dist/chunks/chunk.WUY3LQIT.js +46 -0
- package/dist/chunks/chunk.WW35BDZF.js +11 -0
- package/dist/chunks/chunk.WZUCFRNR.js +28 -0
- package/dist/chunks/chunk.X25VL6EN.js +21 -0
- package/dist/chunks/chunk.XFOT6PSZ.js +21 -0
- package/dist/chunks/chunk.XJCWQTAY.js +370 -0
- package/dist/chunks/chunk.XKRYR7C2.js +11 -0
- package/dist/chunks/chunk.XN6HXDDA.js +85 -0
- package/dist/chunks/chunk.XOLRLGIB.js +24 -0
- package/dist/chunks/chunk.Y4VQRJGR.js +11 -0
- package/dist/chunks/chunk.Y5ESJU2K.js +286 -0
- package/dist/chunks/chunk.YKHSLXCL.js +274 -0
- package/dist/chunks/chunk.YP5MP3RI.js +550 -0
- package/dist/chunks/chunk.YQ6HMBXN.js +28 -0
- package/dist/chunks/chunk.YSS6PQWE.js +21 -0
- package/dist/chunks/chunk.Z2CP2S43.js +11 -0
- package/dist/chunks/chunk.ZAVCCMCL.js +75 -0
- package/dist/chunks/chunk.ZDXHD2JA.js +24 -0
- package/dist/chunks/chunk.ZHV37UKQ.js +91 -0
- package/dist/chunks/chunk.ZJS7CYVN.js +21 -0
- package/dist/chunks/chunk.ZMC65GVN.js +178 -0
- package/dist/chunks/chunk.ZMYAXCMC.js +29 -0
- package/dist/chunks/chunk.ZPFMCIYD.js +247 -0
- package/dist/chunks/chunk.ZWCEEPTV.js +397 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.js +6 -6
- 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 +6 -6
- package/dist/components/button/button.js +7 -7
- 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 +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- 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 +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +12 -12
- package/dist/components/color-picker/color-picker.js +13 -13
- package/dist/components/combobox/combobox.component.js +10 -10
- package/dist/components/combobox/combobox.js +11 -11
- package/dist/components/copy-button/copy-button.component.js +7 -7
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/data-table/data-table.component.js +7 -7
- package/dist/components/data-table/data-table.js +8 -8
- package/dist/components/data-table-column/data-table-column.component.d.ts +39 -0
- package/dist/components/data-table-column/data-table-column.component.js +9 -0
- package/dist/components/data-table-column/data-table-column.d.ts +8 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +7 -7
- package/dist/components/date-picker/date-picker.js +8 -8
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- 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 +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +5 -5
- package/dist/components/image-comparer/image-comparer.js +6 -6
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/logo/logo.component.js +4 -4
- package/dist/components/logo/logo.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- 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 +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/pagination/pagination.component.js +6 -6
- package/dist/components/pagination/pagination.js +7 -7
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- package/dist/components/primary-navigation/primary-navigation.component.js +5 -5
- package/dist/components/primary-navigation/primary-navigation.js +6 -6
- package/dist/components/primary-navigation-item/primary-navigation-item.component.js +7 -7
- package/dist/components/primary-navigation-item/primary-navigation-item.js +8 -8
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/dist/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-ring/progress-ring.component.js +4 -4
- package/dist/components/progress-ring/progress-ring.js +5 -5
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- 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 +5 -5
- package/dist/components/rating/rating.js +6 -6
- package/dist/components/relative-time/relative-time.component.js +4 -4
- package/dist/components/relative-time/relative-time.js +5 -5
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/secondary-navigation/secondary-navigation.component.d.ts +52 -0
- package/dist/components/secondary-navigation/secondary-navigation.component.js +21 -0
- package/dist/components/secondary-navigation/secondary-navigation.d.ts +8 -0
- package/dist/components/secondary-navigation/secondary-navigation.js +22 -0
- package/dist/components/secondary-navigation/secondary-navigation.styles.d.ts +2 -0
- package/dist/components/secondary-navigation/secondary-navigation.styles.js +7 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.component.d.ts +29 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.component.js +10 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.d.ts +8 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.js +11 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.styles.d.ts +2 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.styles.js +7 -0
- package/dist/components/select/select.component.js +8 -8
- package/dist/components/select/select.js +9 -9
- 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 +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- 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 +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-picker/time-picker.component.js +7 -7
- package/dist/components/time-picker/time-picker.js +8 -8
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- 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 +1700 -1367
- package/dist/cw-elements.d.ts +3 -1
- package/dist/cw-elements.js +186 -174
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +6 -6
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +13 -13
- package/dist/react/combobox/index.js +11 -11
- package/dist/react/copy-button/index.js +8 -8
- package/dist/react/data-table/index.js +8 -8
- package/dist/react/data-table-column/index.d.ts +2 -2
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +8 -8
- package/dist/react/details/index.js +6 -6
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +8 -8
- 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 +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +6 -6
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.d.ts +4 -2
- package/dist/react/index.js +199 -187
- package/dist/react/input/index.js +6 -6
- package/dist/react/logo/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +6 -6
- package/dist/react/pagination/index.js +7 -7
- package/dist/react/popup/index.js +5 -5
- package/dist/react/primary-navigation/index.js +6 -6
- package/dist/react/primary-navigation-item/index.js +8 -8
- package/dist/react/primary-navigation-menu/index.js +3 -3
- package/dist/react/progress-bar/index.js +5 -5
- package/dist/react/progress-ring/index.js +5 -5
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- 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 +6 -6
- package/dist/react/relative-time/index.js +5 -5
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/secondary-navigation/index.d.ts +22 -0
- package/dist/react/secondary-navigation/index.js +22 -0
- package/dist/react/secondary-navigation-item/index.d.ts +14 -0
- package/dist/react/secondary-navigation-item/index.js +11 -0
- package/dist/react/select/index.js +9 -9
- 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 +7 -7
- package/dist/react/tab-group/index.js +8 -8
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +7 -7
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +8 -8
- package/dist/react/tooltip/index.js +6 -6
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- 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 +171 -114
- package/dist/utilities/localize.d.ts +1 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +172 -113
- package/dist/web-types.json +401 -300
- package/package.json +1 -1
- package/cdn/chunks/chunk.25HC2TNX.js +0 -113
- package/cdn/chunks/chunk.2KVDB3GS.js +0 -186
- package/cdn/chunks/chunk.34HPBSDA.js +0 -11
- package/cdn/chunks/chunk.35R4VUT2.js +0 -21
- package/cdn/chunks/chunk.36WD7XXM.js +0 -147
- package/cdn/chunks/chunk.3B2I6H6O.js +0 -153
- package/cdn/chunks/chunk.3BNKKZRC.js +0 -11
- package/cdn/chunks/chunk.3SBB34SH.js +0 -11
- package/cdn/chunks/chunk.3TFHILX5.js +0 -25
- package/cdn/chunks/chunk.3ZEBFGMU.js +0 -218
- package/cdn/chunks/chunk.43Y4C6GV.js +0 -29
- package/cdn/chunks/chunk.4K4GPXQ6.js +0 -67
- package/cdn/chunks/chunk.4NAW3OK6.js +0 -28
- package/cdn/chunks/chunk.4PDN26IB.js +0 -21
- package/cdn/chunks/chunk.4VYBE7JV.js +0 -11
- package/cdn/chunks/chunk.55EOWGK7.js +0 -24
- package/cdn/chunks/chunk.5CBYJU7J.js +0 -402
- package/cdn/chunks/chunk.5EPARVAX.js +0 -103
- package/cdn/chunks/chunk.5G4WJTTM.js +0 -21
- package/cdn/chunks/chunk.5ICRUTWX.js +0 -1990
- package/cdn/chunks/chunk.5KLYF4UR.js +0 -25
- package/cdn/chunks/chunk.5NTO4ADB.js +0 -21
- package/cdn/chunks/chunk.5NXWAE6N.js +0 -11
- package/cdn/chunks/chunk.5TYLDWFE.js +0 -29
- package/cdn/chunks/chunk.663SYEXM.js +0 -27
- package/cdn/chunks/chunk.6ABNF3XX.js +0 -33
- package/cdn/chunks/chunk.6ACFVJIP.js +0 -24
- package/cdn/chunks/chunk.6BKROYI5.js +0 -236
- package/cdn/chunks/chunk.6VYMRJ5O.js +0 -21
- package/cdn/chunks/chunk.725PEUUS.js +0 -21
- package/cdn/chunks/chunk.75EFGFPQ.js +0 -11
- package/cdn/chunks/chunk.76CQI3EP.js +0 -11
- package/cdn/chunks/chunk.76LE24OF.js +0 -120
- package/cdn/chunks/chunk.7BYEDYOU.js +0 -49
- package/cdn/chunks/chunk.7XZ3Z5SS.js +0 -25
- package/cdn/chunks/chunk.A7UQKMR4.js +0 -299
- package/cdn/chunks/chunk.AFEQNT24.js +0 -11
- package/cdn/chunks/chunk.AHPAS322.js +0 -56
- package/cdn/chunks/chunk.AOZ7HEXC.js +0 -11
- package/cdn/chunks/chunk.AQA4AEJV.js +0 -11
- package/cdn/chunks/chunk.AQRXNCPR.js +0 -24
- package/cdn/chunks/chunk.AVFM4W6N.js +0 -279
- package/cdn/chunks/chunk.AWV2REMY.js +0 -821
- package/cdn/chunks/chunk.AYLSHETT.js +0 -82
- package/cdn/chunks/chunk.AZ74HJ56.js +0 -21
- package/cdn/chunks/chunk.AZIGJB6D.js +0 -26
- package/cdn/chunks/chunk.BDO27C2F.js +0 -50
- package/cdn/chunks/chunk.BFNUT3HZ.js +0 -346
- package/cdn/chunks/chunk.BOSGCMRO.js +0 -26
- package/cdn/chunks/chunk.BR6H6TKN.js +0 -27
- package/cdn/chunks/chunk.BZHO4PBI.js +0 -84
- package/cdn/chunks/chunk.C5ORLKR6.js +0 -27
- package/cdn/chunks/chunk.CCDQRK2F.js +0 -21
- package/cdn/chunks/chunk.CDQK3ZAN.js +0 -11
- package/cdn/chunks/chunk.CLSIJLPG.js +0 -25
- package/cdn/chunks/chunk.CS24FIPV.js +0 -21
- package/cdn/chunks/chunk.CUS2KS6G.js +0 -11
- package/cdn/chunks/chunk.CWOMG6XW.js +0 -33
- package/cdn/chunks/chunk.CXKRHPS3.js +0 -24
- package/cdn/chunks/chunk.CY4JWIVB.js +0 -844
- package/cdn/chunks/chunk.D2L5BZWI.js +0 -11
- package/cdn/chunks/chunk.DENJEQJ7.js +0 -11
- package/cdn/chunks/chunk.DO5JU7WR.js +0 -16
- package/cdn/chunks/chunk.DQHKJW6N.js +0 -21
- package/cdn/chunks/chunk.DRVXZJF3.js +0 -11
- package/cdn/chunks/chunk.DTYA6CQM.js +0 -11
- package/cdn/chunks/chunk.DWGHSRHI.js +0 -218
- package/cdn/chunks/chunk.E342SEX2.js +0 -120
- package/cdn/chunks/chunk.EYSJPUHK.js +0 -49
- package/cdn/chunks/chunk.F22SWSDH.js +0 -27
- package/cdn/chunks/chunk.F4UNXDJD.js +0 -21
- package/cdn/chunks/chunk.F7OG5JD6.js +0 -11
- package/cdn/chunks/chunk.FAZKZNDK.js +0 -28
- package/cdn/chunks/chunk.FHT4QAN7.js +0 -21
- package/cdn/chunks/chunk.FHYWLZZU.js +0 -21
- package/cdn/chunks/chunk.FJRLQBA7.js +0 -11
- package/cdn/chunks/chunk.FUQ2ZDNI.js +0 -11
- package/cdn/chunks/chunk.FWVJUBAE.js +0 -11
- package/cdn/chunks/chunk.G2BW7MR4.js +0 -11
- package/cdn/chunks/chunk.G3UW5CXJ.js +0 -142
- package/cdn/chunks/chunk.G7AE5CNU.js +0 -127
- package/cdn/chunks/chunk.GMYZSXMF.js +0 -11
- package/cdn/chunks/chunk.GT7BIDMW.js +0 -11
- package/cdn/chunks/chunk.GWJDEHLP.js +0 -11
- package/cdn/chunks/chunk.H4VA4XLS.js +0 -297
- package/cdn/chunks/chunk.HGD5NS2E.js +0 -11
- package/cdn/chunks/chunk.HTQRANNA.js +0 -11
- package/cdn/chunks/chunk.HZH4JGE7.js +0 -25
- package/cdn/chunks/chunk.I3W5I4J5.js +0 -36
- package/cdn/chunks/chunk.I6PAUBOR.js +0 -11
- package/cdn/chunks/chunk.I6XHF23Y.js +0 -267
- package/cdn/chunks/chunk.IEMP3YX7.js +0 -24
- package/cdn/chunks/chunk.IGJFAKDZ.js +0 -27
- package/cdn/chunks/chunk.IHDISX7L.js +0 -292
- package/cdn/chunks/chunk.IIISH2LC.js +0 -11
- package/cdn/chunks/chunk.IKNMXF6V.js +0 -455
- package/cdn/chunks/chunk.IQIMMSVX.js +0 -114
- package/cdn/chunks/chunk.IQSMFQMU.js +0 -25
- package/cdn/chunks/chunk.ITGKRJLW.js +0 -216
- package/cdn/chunks/chunk.IYCBDWMJ.js +0 -11
- package/cdn/chunks/chunk.IYZX2A4Y.js +0 -11
- package/cdn/chunks/chunk.JA4DEPYX.js +0 -11
- package/cdn/chunks/chunk.JAPWXLC7.js +0 -11
- package/cdn/chunks/chunk.JGKL4HCP.js +0 -378
- package/cdn/chunks/chunk.JHNOPOOW.js +0 -969
- package/cdn/chunks/chunk.JKUKZAIG.js +0 -11
- package/cdn/chunks/chunk.JOA42MIF.js +0 -95
- package/cdn/chunks/chunk.JPDT5M4J.js +0 -25
- package/cdn/chunks/chunk.JSYAC6FV.js +0 -11
- package/cdn/chunks/chunk.KPQAAY6W.js +0 -24
- package/cdn/chunks/chunk.KS6KQUFW.js +0 -574
- package/cdn/chunks/chunk.KUIP5OFB.js +0 -158
- package/cdn/chunks/chunk.KXOHYTZG.js +0 -1925
- package/cdn/chunks/chunk.KXQ47DFE.js +0 -75
- package/cdn/chunks/chunk.KY6LWMAI.js +0 -24
- package/cdn/chunks/chunk.L4NRGK6Y.js +0 -24
- package/cdn/chunks/chunk.L6KFDSL6.js +0 -122
- package/cdn/chunks/chunk.L7HKK6HO.js +0 -24
- package/cdn/chunks/chunk.LWQIUDKF.js +0 -11
- package/cdn/chunks/chunk.M3GEZ7UC.js +0 -63
- package/cdn/chunks/chunk.M73T25KG.js +0 -135
- package/cdn/chunks/chunk.MG5GOYVO.js +0 -11
- package/cdn/chunks/chunk.MTBWWDRM.js +0 -87
- package/cdn/chunks/chunk.MXR7SE2S.js +0 -11
- package/cdn/chunks/chunk.MY6RFJNR.js +0 -314
- package/cdn/chunks/chunk.MZJMZIWX.js +0 -11
- package/cdn/chunks/chunk.N2UZJMC5.js +0 -11
- package/cdn/chunks/chunk.N3CDMXUS.js +0 -11
- package/cdn/chunks/chunk.NGKGH4WU.js +0 -21
- package/cdn/chunks/chunk.NIBXSKQN.js +0 -28
- package/cdn/chunks/chunk.NLQWXNUN.js +0 -33
- package/cdn/chunks/chunk.NP52EMOC.js +0 -233
- package/cdn/chunks/chunk.NRJRENXP.js +0 -291
- package/cdn/chunks/chunk.NWZYBWST.js +0 -26
- package/cdn/chunks/chunk.NXO7B7YH.js +0 -11
- package/cdn/chunks/chunk.NZ3T2D5G.js +0 -11
- package/cdn/chunks/chunk.NZPOHI3I.js +0 -11
- package/cdn/chunks/chunk.O6GQCEGL.js +0 -93
- package/cdn/chunks/chunk.ODF5BWXM.js +0 -21
- package/cdn/chunks/chunk.OGICRR7X.js +0 -11
- package/cdn/chunks/chunk.OGRFZ52L.js +0 -11
- package/cdn/chunks/chunk.OKP43IGW.js +0 -137
- package/cdn/chunks/chunk.OKUIU27O.js +0 -11
- package/cdn/chunks/chunk.OL4WGM7S.js +0 -24
- package/cdn/chunks/chunk.OQNOYS6X.js +0 -11
- package/cdn/chunks/chunk.OVRV5B3A.js +0 -27
- package/cdn/chunks/chunk.OWS2QLSV.js +0 -499
- package/cdn/chunks/chunk.OZCBAAOA.js +0 -21
- package/cdn/chunks/chunk.PCCWSJ2O.js +0 -21
- package/cdn/chunks/chunk.PTEZRLQP.js +0 -11
- package/cdn/chunks/chunk.PTYGQ7ZB.js +0 -11
- package/cdn/chunks/chunk.PW7HCE7U.js +0 -24
- package/cdn/chunks/chunk.PYONQE2S.js +0 -21
- package/cdn/chunks/chunk.PYU57BWN.js +0 -21
- package/cdn/chunks/chunk.Q2DSJ2BM.js +0 -11
- package/cdn/chunks/chunk.Q3UNKI7R.js +0 -21
- package/cdn/chunks/chunk.Q7CNVANF.js +0 -11
- package/cdn/chunks/chunk.QIFA3KY7.js +0 -11
- package/cdn/chunks/chunk.QKYCMJFP.js +0 -24
- package/cdn/chunks/chunk.QPATQWD7.js +0 -11
- package/cdn/chunks/chunk.QUTMUPOY.js +0 -11
- package/cdn/chunks/chunk.R55LTCNM.js +0 -97
- package/cdn/chunks/chunk.RBX3DUMR.js +0 -174
- package/cdn/chunks/chunk.RG3YG3GV.js +0 -25
- package/cdn/chunks/chunk.RHXL3QRR.js +0 -24
- package/cdn/chunks/chunk.RW2TEVKY.js +0 -26
- package/cdn/chunks/chunk.SAHNSFLV.js +0 -391
- package/cdn/chunks/chunk.SBOM6WSN.js +0 -73
- package/cdn/chunks/chunk.TBCUDDWG.js +0 -385
- package/cdn/chunks/chunk.TEP7XNVE.js +0 -11
- package/cdn/chunks/chunk.TMEAO2OG.js +0 -79
- package/cdn/chunks/chunk.TOVMVKDL.js +0 -255
- package/cdn/chunks/chunk.TVFGC6CM.js +0 -11
- package/cdn/chunks/chunk.TXSWUFZ3.js +0 -11
- package/cdn/chunks/chunk.U3Z423K2.js +0 -11
- package/cdn/chunks/chunk.UF7A72JX.js +0 -11
- package/cdn/chunks/chunk.UGJSCMRG.js +0 -29
- package/cdn/chunks/chunk.UQ2DOY26.js +0 -42
- package/cdn/chunks/chunk.V2TFR3DD.js +0 -11
- package/cdn/chunks/chunk.V6CDFEOP.js +0 -11
- package/cdn/chunks/chunk.VL2ZMD4X.js +0 -77
- package/cdn/chunks/chunk.VPJPF5P6.js +0 -27
- package/cdn/chunks/chunk.VVHFNAY7.js +0 -11
- package/cdn/chunks/chunk.VZ7LRB2U.js +0 -197
- package/cdn/chunks/chunk.W7JFXHIS.js +0 -336
- package/cdn/chunks/chunk.WHDHDJDE.js +0 -11
- package/cdn/chunks/chunk.WOGEMA6X.js +0 -33
- package/cdn/chunks/chunk.X2JJRHAH.js +0 -724
- package/cdn/chunks/chunk.X3J7EYYG.js +0 -21
- package/cdn/chunks/chunk.X3LSISEE.js +0 -29
- package/cdn/chunks/chunk.XCO3IFMI.js +0 -11
- package/cdn/chunks/chunk.XELVJGWR.js +0 -11
- package/cdn/chunks/chunk.XGCPMOS3.js +0 -21
- package/cdn/chunks/chunk.XICAG7IT.js +0 -302
- package/cdn/chunks/chunk.XJUUYEA5.js +0 -28
- package/cdn/chunks/chunk.XM3PHTJA.js +0 -904
- package/cdn/chunks/chunk.Y2BWUMNR.js +0 -11
- package/cdn/chunks/chunk.Y2XG2IOB.js +0 -114
- package/cdn/chunks/chunk.Y3ND3X6R.js +0 -28
- package/cdn/chunks/chunk.YB5XWX2N.js +0 -11
- package/cdn/chunks/chunk.Z5ZS2BBT.js +0 -25
- package/cdn/chunks/chunk.Z62K6DFZ.js +0 -28
- package/cdn/chunks/chunk.Z6ZIZS2Y.js +0 -21
- package/cdn/chunks/chunk.ZKSMCS2T.js +0 -367
- package/cdn/chunks/chunk.ZSVDAYLS.js +0 -24
- package/cdn/chunks/chunk.ZWDPSLNT.js +0 -11
- package/cdn/chunks/chunk.ZZTG2S7G.js +0 -21
- package/cdn/components/data-table/data-table-column.component.d.ts +0 -39
- package/cdn/components/data-table/data-table-column.component.js +0 -10
- package/cdn/components/data-table/data-table-column.d.ts +0 -8
- package/cdn/components/data-table/data-table-column.js +0 -11
- package/cdn/components/data-table/define/cw-data-table-column.d.ts +0 -8
- package/cdn/components/data-table/define/cw-data-table-column.js +0 -14
- package/dist/chunks/chunk.24V5JLSY.js +0 -22
- package/dist/chunks/chunk.25MDAAX7.js +0 -11
- package/dist/chunks/chunk.2H3D3OJG.js +0 -29
- package/dist/chunks/chunk.2IJWIQYP.js +0 -11
- package/dist/chunks/chunk.2NGUOJQ2.js +0 -109
- package/dist/chunks/chunk.2O4KPUYD.js +0 -11
- package/dist/chunks/chunk.2PC4KE4M.js +0 -170
- package/dist/chunks/chunk.2XIMM6GP.js +0 -11
- package/dist/chunks/chunk.32VLMCC4.js +0 -45
- package/dist/chunks/chunk.35EDZZ4U.js +0 -24
- package/dist/chunks/chunk.3J24TNFK.js +0 -82
- package/dist/chunks/chunk.3WHQ6WL7.js +0 -26
- package/dist/chunks/chunk.456GZGXR.js +0 -21
- package/dist/chunks/chunk.46I35JVG.js +0 -11
- package/dist/chunks/chunk.46XEZ73Z.js +0 -11
- package/dist/chunks/chunk.47CTIY27.js +0 -53
- package/dist/chunks/chunk.4AVVOWVX.js +0 -33
- package/dist/chunks/chunk.4KKGULDM.js +0 -75
- package/dist/chunks/chunk.4R2Z3PR2.js +0 -11
- package/dist/chunks/chunk.54ZYAOKB.js +0 -100
- package/dist/chunks/chunk.564J5FVI.js +0 -231
- package/dist/chunks/chunk.5CWGKPUK.js +0 -21
- package/dist/chunks/chunk.5GTO6ATC.js +0 -11
- package/dist/chunks/chunk.5L2Q4NDI.js +0 -259
- package/dist/chunks/chunk.5P7CDNRJ.js +0 -11
- package/dist/chunks/chunk.5PRFL3SZ.js +0 -116
- package/dist/chunks/chunk.5PTFHNC6.js +0 -21
- package/dist/chunks/chunk.5SDTSGQR.js +0 -11
- package/dist/chunks/chunk.5ZPPSILE.js +0 -24
- package/dist/chunks/chunk.63WCUPKC.js +0 -11
- package/dist/chunks/chunk.67DYIAZ4.js +0 -29
- package/dist/chunks/chunk.6A25KQEH.js +0 -11
- package/dist/chunks/chunk.6DNKLOX5.js +0 -397
- package/dist/chunks/chunk.6IRQ4MLQ.js +0 -24
- package/dist/chunks/chunk.6OD3P3GY.js +0 -11
- package/dist/chunks/chunk.6R2MX2II.js +0 -29
- package/dist/chunks/chunk.6RXO67Z3.js +0 -11
- package/dist/chunks/chunk.6TNKOIDC.js +0 -294
- package/dist/chunks/chunk.6WC7EWFU.js +0 -11
- package/dist/chunks/chunk.6YIANGUI.js +0 -24
- package/dist/chunks/chunk.73S5Z2IL.js +0 -63
- package/dist/chunks/chunk.746GMAQ3.js +0 -15
- package/dist/chunks/chunk.7E72G3C2.js +0 -247
- package/dist/chunks/chunk.7F3FLHWU.js +0 -93
- package/dist/chunks/chunk.7HXSMNBI.js +0 -21
- package/dist/chunks/chunk.7N5BSNPL.js +0 -25
- package/dist/chunks/chunk.7PC6U4ZK.js +0 -109
- package/dist/chunks/chunk.7S6GV6HW.js +0 -293
- package/dist/chunks/chunk.7VQDJNZ4.js +0 -24
- package/dist/chunks/chunk.A3NQWEUU.js +0 -138
- package/dist/chunks/chunk.A4A56CXT.js +0 -27
- package/dist/chunks/chunk.AM3AAGTK.js +0 -212
- package/dist/chunks/chunk.ARESZPGS.js +0 -28
- package/dist/chunks/chunk.ARLMYVMZ.js +0 -21
- package/dist/chunks/chunk.AUAEXEBG.js +0 -117
- package/dist/chunks/chunk.AZMW2USQ.js +0 -337
- package/dist/chunks/chunk.AZSINXRG.js +0 -24
- package/dist/chunks/chunk.B2RFSKQC.js +0 -26
- package/dist/chunks/chunk.B4K45YXB.js +0 -25
- package/dist/chunks/chunk.BBZVPAPU.js +0 -21
- package/dist/chunks/chunk.BJRCPJTT.js +0 -85
- package/dist/chunks/chunk.BRSHVZF4.js +0 -24
- package/dist/chunks/chunk.BRULING5.js +0 -274
- package/dist/chunks/chunk.BS5MKC2V.js +0 -28
- package/dist/chunks/chunk.BXM7IW7U.js +0 -11
- package/dist/chunks/chunk.BZB7767D.js +0 -24
- package/dist/chunks/chunk.C5U4L55P.js +0 -192
- package/dist/chunks/chunk.CL3PICXW.js +0 -11
- package/dist/chunks/chunk.CNCMOYJ3.js +0 -59
- package/dist/chunks/chunk.CWEGIW7H.js +0 -11
- package/dist/chunks/chunk.CYBV247K.js +0 -375
- package/dist/chunks/chunk.CYIS2LIK.js +0 -21
- package/dist/chunks/chunk.DB65HO54.js +0 -11
- package/dist/chunks/chunk.DDILNMIS.js +0 -25
- package/dist/chunks/chunk.DJ47HHDT.js +0 -11
- package/dist/chunks/chunk.DKNFFG5N.js +0 -21
- package/dist/chunks/chunk.DSXHSFND.js +0 -417
- package/dist/chunks/chunk.DUHFQC5S.js +0 -11
- package/dist/chunks/chunk.DXEKWMYK.js +0 -94
- package/dist/chunks/chunk.E5F6IPBT.js +0 -21
- package/dist/chunks/chunk.E5KLQVU6.js +0 -135
- package/dist/chunks/chunk.EDNK7SY6.js +0 -11
- package/dist/chunks/chunk.EPZSIX5O.js +0 -73
- package/dist/chunks/chunk.EVIDG6GS.js +0 -90
- package/dist/chunks/chunk.EVURTA7J.js +0 -50
- package/dist/chunks/chunk.EYMNXHXD.js +0 -227
- package/dist/chunks/chunk.F6IW7SUG.js +0 -28
- package/dist/chunks/chunk.FGLLASPY.js +0 -11
- package/dist/chunks/chunk.FNCCMHFT.js +0 -33
- package/dist/chunks/chunk.FRRK3ONV.js +0 -21
- package/dist/chunks/chunk.GGY6MFM6.js +0 -11
- package/dist/chunks/chunk.GHPJSGNF.js +0 -11
- package/dist/chunks/chunk.GI2EZWPT.js +0 -28
- package/dist/chunks/chunk.GO3Y5OMD.js +0 -11
- package/dist/chunks/chunk.GOTHSXUS.js +0 -11
- package/dist/chunks/chunk.GQOQKYZ5.js +0 -24
- package/dist/chunks/chunk.GYTXGGUB.js +0 -21
- package/dist/chunks/chunk.H5ST3L7Q.js +0 -25
- package/dist/chunks/chunk.HBZROAKX.js +0 -370
- package/dist/chunks/chunk.HWPEN73P.js +0 -550
- package/dist/chunks/chunk.HWQYGFIK.js +0 -21
- package/dist/chunks/chunk.HY3LHQRE.js +0 -11
- package/dist/chunks/chunk.I2XAUDCU.js +0 -25
- package/dist/chunks/chunk.I5QGNKDV.js +0 -11
- package/dist/chunks/chunk.IGUWUPBR.js +0 -384
- package/dist/chunks/chunk.IIT5OLA3.js +0 -11
- package/dist/chunks/chunk.IR6SOYX7.js +0 -67
- package/dist/chunks/chunk.IXHTATEG.js +0 -11
- package/dist/chunks/chunk.IYE53CH6.js +0 -27
- package/dist/chunks/chunk.IYZ2ZODF.js +0 -11
- package/dist/chunks/chunk.JNEAVIDA.js +0 -80
- package/dist/chunks/chunk.KCT44LWB.js +0 -27
- package/dist/chunks/chunk.KG2Q6ZEU.js +0 -24
- package/dist/chunks/chunk.KKAVIJ7F.js +0 -100
- package/dist/chunks/chunk.KLUVQHIC.js +0 -151
- package/dist/chunks/chunk.KQQEEG63.js +0 -315
- package/dist/chunks/chunk.KTKPJPFF.js +0 -21
- package/dist/chunks/chunk.KWS7E2DY.js +0 -25
- package/dist/chunks/chunk.L26CEFTR.js +0 -11
- package/dist/chunks/chunk.L3EOK5SZ.js +0 -119
- package/dist/chunks/chunk.LH7BCCX2.js +0 -11
- package/dist/chunks/chunk.LJ7QTRR3.js +0 -11
- package/dist/chunks/chunk.LV24GA5E.js +0 -837
- package/dist/chunks/chunk.M3GNJW4O.js +0 -448
- package/dist/chunks/chunk.M6LPTVBO.js +0 -11
- package/dist/chunks/chunk.MA4ZXLMA.js +0 -134
- package/dist/chunks/chunk.MASRUHI2.js +0 -11
- package/dist/chunks/chunk.MBEKBBTL.js +0 -11
- package/dist/chunks/chunk.MEMNH575.js +0 -115
- package/dist/chunks/chunk.MH7RJZQS.js +0 -29
- package/dist/chunks/chunk.MRIUGY3Y.js +0 -11
- package/dist/chunks/chunk.MXGNQPCP.js +0 -21
- package/dist/chunks/chunk.N23CSDVQ.js +0 -11
- package/dist/chunks/chunk.N5X6HP3H.js +0 -27
- package/dist/chunks/chunk.NCCNTTVP.js +0 -491
- package/dist/chunks/chunk.ND4VKQAR.js +0 -11
- package/dist/chunks/chunk.NEHR5VYL.js +0 -181
- package/dist/chunks/chunk.O7AMDMYT.js +0 -21
- package/dist/chunks/chunk.O7SVFROZ.js +0 -91
- package/dist/chunks/chunk.OJLUK4YJ.js +0 -11
- package/dist/chunks/chunk.OJNI45LH.js +0 -24
- package/dist/chunks/chunk.OM6CJ7RY.js +0 -21
- package/dist/chunks/chunk.P354YNEK.js +0 -280
- package/dist/chunks/chunk.P7EINVQN.js +0 -949
- package/dist/chunks/chunk.PEORTZKS.js +0 -26
- package/dist/chunks/chunk.PIJXZI4W.js +0 -25
- package/dist/chunks/chunk.PIRLZVAL.js +0 -21
- package/dist/chunks/chunk.PJOP4OO3.js +0 -311
- package/dist/chunks/chunk.PNQA5AXL.js +0 -11
- package/dist/chunks/chunk.Q24JKOGO.js +0 -21
- package/dist/chunks/chunk.Q76AOV4W.js +0 -11
- package/dist/chunks/chunk.QD4NWSGB.js +0 -213
- package/dist/chunks/chunk.QDJMQSR2.js +0 -11
- package/dist/chunks/chunk.QJEYTSGQ.js +0 -11
- package/dist/chunks/chunk.QNBEBQZU.js +0 -11
- package/dist/chunks/chunk.QO6FFSCW.js +0 -11
- package/dist/chunks/chunk.QOBXBQKG.js +0 -27
- package/dist/chunks/chunk.QTMEDT7S.js +0 -27
- package/dist/chunks/chunk.QTU7CGDI.js +0 -34
- package/dist/chunks/chunk.QWWVEOHJ.js +0 -24
- package/dist/chunks/chunk.RTFTWROR.js +0 -33
- package/dist/chunks/chunk.RVGKEHHX.js +0 -22
- package/dist/chunks/chunk.S6C3O4ZK.js +0 -21
- package/dist/chunks/chunk.S73VW3BW.js +0 -21
- package/dist/chunks/chunk.SFCRZSHE.js +0 -11
- package/dist/chunks/chunk.SYV2RXBI.js +0 -75
- package/dist/chunks/chunk.T3YPUGMG.js +0 -45
- package/dist/chunks/chunk.T7HJK4I5.js +0 -896
- package/dist/chunks/chunk.TDLAABKV.js +0 -11
- package/dist/chunks/chunk.THGTTXRL.js +0 -33
- package/dist/chunks/chunk.TSCM7YYI.js +0 -42
- package/dist/chunks/chunk.TY6BUWX3.js +0 -11
- package/dist/chunks/chunk.U3E4A4DD.js +0 -11
- package/dist/chunks/chunk.U73BRXUL.js +0 -11
- package/dist/chunks/chunk.UB5YLTZD.js +0 -11
- package/dist/chunks/chunk.UIAV3XAS.js +0 -111
- package/dist/chunks/chunk.ULZE75JH.js +0 -11
- package/dist/chunks/chunk.UW5CYJSJ.js +0 -11
- package/dist/chunks/chunk.V6EL5MTL.js +0 -25
- package/dist/chunks/chunk.VNN6ADT4.js +0 -11
- package/dist/chunks/chunk.VR622E3R.js +0 -126
- package/dist/chunks/chunk.W2WQ63A6.js +0 -11
- package/dist/chunks/chunk.W66MLEV6.js +0 -26
- package/dist/chunks/chunk.WALMX3ZP.js +0 -42
- package/dist/chunks/chunk.WBMJLEWH.js +0 -11
- package/dist/chunks/chunk.WGIVDA4B.js +0 -361
- package/dist/chunks/chunk.WKCCAX7X.js +0 -11
- package/dist/chunks/chunk.XBITRFIS.js +0 -290
- package/dist/chunks/chunk.XKSPHC6B.js +0 -11
- package/dist/chunks/chunk.XLSHNTSC.js +0 -21
- package/dist/chunks/chunk.XOXHQ24F.js +0 -11
- package/dist/chunks/chunk.XSUMCUUV.js +0 -813
- package/dist/chunks/chunk.XWG46CFQ.js +0 -11
- package/dist/chunks/chunk.XZR2P4EL.js +0 -11
- package/dist/chunks/chunk.Y27MKK7H.js +0 -11
- package/dist/chunks/chunk.Y3NPADW4.js +0 -28
- package/dist/chunks/chunk.Y5HUVIMJ.js +0 -26
- package/dist/chunks/chunk.Y6KO5DPP.js +0 -11
- package/dist/chunks/chunk.Y7MLK7XY.js +0 -961
- package/dist/chunks/chunk.YD3LMWW2.js +0 -147
- package/dist/chunks/chunk.YYUA6DF2.js +0 -21
- package/dist/chunks/chunk.ZFABPK2P.js +0 -25
- package/dist/chunks/chunk.ZH4GBWQA.js +0 -25
- package/dist/chunks/chunk.ZMUBKI6T.js +0 -286
- package/dist/chunks/chunk.ZNH7GH4D.js +0 -11
- package/dist/chunks/chunk.ZRSEGYLN.js +0 -21
- package/dist/chunks/chunk.ZSEBJY7D.js +0 -21
- package/dist/chunks/chunk.ZU5BP6F6.js +0 -11
- package/dist/components/data-table/data-table-column.component.d.ts +0 -39
- package/dist/components/data-table/data-table-column.component.js +0 -9
- package/dist/components/data-table/data-table-column.d.ts +0 -8
- package/dist/components/data-table/data-table-column.js +0 -10
- package/dist/components/data-table/define/cw-data-table-column.d.ts +0 -8
- package/dist/components/data-table/define/cw-data-table-column.js +0 -13
|
@@ -1,844 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
time_picker_styles_default
|
|
3
|
-
} from "./chunk.EZ4P5QWF.js";
|
|
4
|
-
import {
|
|
5
|
-
CwOption
|
|
6
|
-
} from "./chunk.3B2I6H6O.js";
|
|
7
|
-
import {
|
|
8
|
-
scrollIntoView
|
|
9
|
-
} from "./chunk.PH2N3MLE.js";
|
|
10
|
-
import {
|
|
11
|
-
CwPopup
|
|
12
|
-
} from "./chunk.KXOHYTZG.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.DO5JU7WR.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.2KVDB3GS.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.3ZEBFGMU.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
|
-
};
|