@cordwainer/cw-elements 1.2.3 → 1.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.25HC2TNX.js +113 -0
- package/cdn/chunks/chunk.2KVDB3GS.js +186 -0
- package/cdn/chunks/chunk.34HPBSDA.js +11 -0
- package/cdn/chunks/chunk.35R4VUT2.js +21 -0
- package/cdn/chunks/chunk.36WD7XXM.js +147 -0
- package/cdn/chunks/chunk.3B2I6H6O.js +153 -0
- package/cdn/chunks/chunk.3BNKKZRC.js +11 -0
- package/cdn/chunks/chunk.3SBB34SH.js +11 -0
- package/cdn/chunks/chunk.3TFHILX5.js +25 -0
- package/cdn/chunks/chunk.3WY5UV4F.js +68 -0
- package/cdn/chunks/chunk.3ZEBFGMU.js +218 -0
- package/cdn/chunks/chunk.43Y4C6GV.js +29 -0
- package/cdn/chunks/chunk.4K4GPXQ6.js +67 -0
- package/cdn/chunks/chunk.4NAW3OK6.js +28 -0
- package/cdn/chunks/chunk.4PDN26IB.js +21 -0
- package/cdn/chunks/chunk.4VYBE7JV.js +11 -0
- package/cdn/chunks/chunk.55EOWGK7.js +24 -0
- package/cdn/chunks/chunk.5CBYJU7J.js +402 -0
- package/cdn/chunks/chunk.5EPARVAX.js +103 -0
- package/cdn/chunks/chunk.5G4WJTTM.js +21 -0
- package/cdn/chunks/chunk.5ICRUTWX.js +1990 -0
- package/cdn/chunks/chunk.5KLYF4UR.js +25 -0
- package/cdn/chunks/chunk.5NTO4ADB.js +21 -0
- package/cdn/chunks/chunk.5NXWAE6N.js +11 -0
- package/cdn/chunks/chunk.5TYLDWFE.js +29 -0
- package/cdn/chunks/chunk.663SYEXM.js +27 -0
- package/cdn/chunks/chunk.6ABNF3XX.js +33 -0
- package/cdn/chunks/chunk.6ACFVJIP.js +24 -0
- package/cdn/chunks/chunk.6BKROYI5.js +236 -0
- package/cdn/chunks/chunk.6VYMRJ5O.js +21 -0
- package/cdn/chunks/chunk.725PEUUS.js +21 -0
- package/cdn/chunks/chunk.75EFGFPQ.js +11 -0
- package/cdn/chunks/chunk.76CQI3EP.js +11 -0
- package/cdn/chunks/chunk.76LE24OF.js +120 -0
- package/cdn/chunks/chunk.7BYEDYOU.js +49 -0
- package/cdn/chunks/chunk.7XZ3Z5SS.js +25 -0
- package/cdn/chunks/chunk.A7UQKMR4.js +299 -0
- package/cdn/chunks/chunk.AFEQNT24.js +11 -0
- package/cdn/chunks/chunk.AHPAS322.js +56 -0
- package/cdn/chunks/chunk.AOZ7HEXC.js +11 -0
- package/cdn/chunks/chunk.AQA4AEJV.js +11 -0
- package/cdn/chunks/chunk.AQRXNCPR.js +24 -0
- package/cdn/chunks/chunk.AVFM4W6N.js +279 -0
- package/cdn/chunks/chunk.AWV2REMY.js +821 -0
- package/cdn/chunks/chunk.AYLSHETT.js +82 -0
- package/cdn/chunks/chunk.AZ74HJ56.js +21 -0
- package/cdn/chunks/chunk.AZIGJB6D.js +26 -0
- package/cdn/chunks/chunk.BDO27C2F.js +50 -0
- package/cdn/chunks/chunk.BFNUT3HZ.js +346 -0
- package/cdn/chunks/chunk.BOSGCMRO.js +26 -0
- package/cdn/chunks/chunk.BR6H6TKN.js +27 -0
- package/cdn/chunks/chunk.BZHO4PBI.js +84 -0
- package/cdn/chunks/chunk.C5ORLKR6.js +27 -0
- package/cdn/chunks/chunk.CCDQRK2F.js +21 -0
- package/cdn/chunks/chunk.CDQK3ZAN.js +11 -0
- package/cdn/chunks/chunk.CLSIJLPG.js +25 -0
- package/cdn/chunks/chunk.CS24FIPV.js +21 -0
- package/cdn/chunks/chunk.CUS2KS6G.js +11 -0
- package/cdn/chunks/chunk.CWOMG6XW.js +33 -0
- package/cdn/chunks/chunk.CXKRHPS3.js +24 -0
- package/cdn/chunks/chunk.CY4JWIVB.js +844 -0
- package/cdn/chunks/chunk.D2L5BZWI.js +11 -0
- package/cdn/chunks/chunk.DENJEQJ7.js +11 -0
- package/cdn/chunks/chunk.DO5JU7WR.js +16 -0
- package/cdn/chunks/chunk.DQHKJW6N.js +21 -0
- package/cdn/chunks/chunk.DRVXZJF3.js +11 -0
- package/cdn/chunks/chunk.DTYA6CQM.js +11 -0
- package/cdn/chunks/chunk.DWGHSRHI.js +218 -0
- package/cdn/chunks/chunk.E342SEX2.js +120 -0
- package/cdn/chunks/chunk.EYSJPUHK.js +49 -0
- package/cdn/chunks/chunk.F22SWSDH.js +27 -0
- package/cdn/chunks/chunk.F4UNXDJD.js +21 -0
- package/cdn/chunks/chunk.F7OG5JD6.js +11 -0
- package/cdn/chunks/chunk.FAZKZNDK.js +28 -0
- package/cdn/chunks/chunk.FHT4QAN7.js +21 -0
- package/cdn/chunks/chunk.FHYWLZZU.js +21 -0
- package/cdn/chunks/chunk.FJRLQBA7.js +11 -0
- package/cdn/chunks/chunk.FUQ2ZDNI.js +11 -0
- package/cdn/chunks/chunk.FWVJUBAE.js +11 -0
- package/cdn/chunks/chunk.G2BW7MR4.js +11 -0
- package/cdn/chunks/chunk.G3UW5CXJ.js +142 -0
- package/cdn/chunks/chunk.G7AE5CNU.js +127 -0
- package/cdn/chunks/chunk.GMYZSXMF.js +11 -0
- package/cdn/chunks/chunk.GT7BIDMW.js +11 -0
- package/cdn/chunks/chunk.GWJDEHLP.js +11 -0
- package/cdn/chunks/chunk.H4VA4XLS.js +297 -0
- package/cdn/chunks/chunk.HGD5NS2E.js +11 -0
- package/cdn/chunks/chunk.HTQRANNA.js +11 -0
- package/cdn/chunks/chunk.HXY4Y6R7.js +50 -0
- package/cdn/chunks/chunk.HZH4JGE7.js +25 -0
- package/cdn/chunks/chunk.I3W5I4J5.js +36 -0
- package/cdn/chunks/chunk.I6PAUBOR.js +11 -0
- package/cdn/chunks/chunk.I6XHF23Y.js +267 -0
- package/cdn/chunks/chunk.IEMP3YX7.js +24 -0
- package/cdn/chunks/chunk.IGJFAKDZ.js +27 -0
- package/cdn/chunks/chunk.IHDISX7L.js +292 -0
- package/cdn/chunks/chunk.IIISH2LC.js +11 -0
- package/cdn/chunks/chunk.IKNMXF6V.js +455 -0
- package/cdn/chunks/chunk.IQIMMSVX.js +114 -0
- package/cdn/chunks/chunk.IQSMFQMU.js +25 -0
- package/cdn/chunks/chunk.ITGKRJLW.js +216 -0
- package/cdn/chunks/chunk.IYCBDWMJ.js +11 -0
- package/cdn/chunks/chunk.IYZX2A4Y.js +11 -0
- package/cdn/chunks/chunk.JA4DEPYX.js +11 -0
- package/cdn/chunks/chunk.JAPWXLC7.js +11 -0
- package/cdn/chunks/chunk.JGKL4HCP.js +378 -0
- package/cdn/chunks/chunk.JHNOPOOW.js +969 -0
- package/cdn/chunks/chunk.JKUKZAIG.js +11 -0
- package/cdn/chunks/chunk.JOA42MIF.js +95 -0
- package/cdn/chunks/chunk.JPDT5M4J.js +25 -0
- package/cdn/chunks/chunk.JSYAC6FV.js +11 -0
- package/cdn/chunks/chunk.KPQAAY6W.js +24 -0
- package/cdn/chunks/chunk.KS6KQUFW.js +574 -0
- package/cdn/chunks/chunk.KUIP5OFB.js +158 -0
- package/cdn/chunks/chunk.KXOHYTZG.js +1925 -0
- package/cdn/chunks/chunk.KXQ47DFE.js +75 -0
- package/cdn/chunks/chunk.KY6LWMAI.js +24 -0
- package/cdn/chunks/chunk.L4NRGK6Y.js +24 -0
- package/cdn/chunks/chunk.L6KFDSL6.js +122 -0
- package/cdn/chunks/chunk.L7HKK6HO.js +24 -0
- package/cdn/chunks/chunk.LWQIUDKF.js +11 -0
- package/cdn/chunks/chunk.M3GEZ7UC.js +63 -0
- package/cdn/chunks/chunk.M73T25KG.js +135 -0
- package/cdn/chunks/chunk.MG5GOYVO.js +11 -0
- package/cdn/chunks/chunk.MTBWWDRM.js +87 -0
- package/cdn/chunks/chunk.MXR7SE2S.js +11 -0
- package/cdn/chunks/chunk.MY6RFJNR.js +314 -0
- package/cdn/chunks/chunk.MZJMZIWX.js +11 -0
- package/cdn/chunks/chunk.N2UZJMC5.js +11 -0
- package/cdn/chunks/chunk.N3CDMXUS.js +11 -0
- package/cdn/chunks/chunk.NGKGH4WU.js +21 -0
- package/cdn/chunks/chunk.NIBXSKQN.js +28 -0
- package/cdn/chunks/chunk.NLQWXNUN.js +33 -0
- package/cdn/chunks/chunk.NP52EMOC.js +233 -0
- package/cdn/chunks/chunk.NRJRENXP.js +291 -0
- package/cdn/chunks/chunk.NWZYBWST.js +26 -0
- package/cdn/chunks/chunk.NXO7B7YH.js +11 -0
- package/cdn/chunks/chunk.NZ3T2D5G.js +11 -0
- package/cdn/chunks/chunk.NZPOHI3I.js +11 -0
- package/cdn/chunks/chunk.O6GQCEGL.js +93 -0
- package/cdn/chunks/chunk.ODF5BWXM.js +21 -0
- package/cdn/chunks/chunk.OGICRR7X.js +11 -0
- package/cdn/chunks/chunk.OGRFZ52L.js +11 -0
- package/cdn/chunks/chunk.OKP43IGW.js +137 -0
- package/cdn/chunks/chunk.OKUIU27O.js +11 -0
- package/cdn/chunks/chunk.OL4WGM7S.js +24 -0
- package/cdn/chunks/chunk.OQNOYS6X.js +11 -0
- package/cdn/chunks/chunk.OVRV5B3A.js +27 -0
- package/cdn/chunks/chunk.OWS2QLSV.js +499 -0
- package/cdn/chunks/chunk.OZCBAAOA.js +21 -0
- package/cdn/chunks/chunk.PCCWSJ2O.js +21 -0
- package/cdn/chunks/chunk.PLKIFY5H.js +147 -0
- package/cdn/chunks/chunk.PPL67JOV.js +56 -0
- package/cdn/chunks/chunk.PTEZRLQP.js +11 -0
- package/cdn/chunks/chunk.PTYGQ7ZB.js +11 -0
- package/cdn/chunks/chunk.PW7HCE7U.js +24 -0
- package/cdn/chunks/chunk.PYONQE2S.js +21 -0
- package/cdn/chunks/chunk.PYU57BWN.js +21 -0
- package/cdn/chunks/chunk.Q2DSJ2BM.js +11 -0
- package/cdn/chunks/chunk.Q3UNKI7R.js +21 -0
- package/cdn/chunks/chunk.Q7CNVANF.js +11 -0
- package/cdn/chunks/chunk.QIFA3KY7.js +11 -0
- package/cdn/chunks/chunk.QKYCMJFP.js +24 -0
- package/cdn/chunks/chunk.QPATQWD7.js +11 -0
- package/cdn/chunks/chunk.QUTMUPOY.js +11 -0
- package/cdn/chunks/chunk.R55LTCNM.js +97 -0
- package/cdn/chunks/chunk.RBX3DUMR.js +174 -0
- package/cdn/chunks/chunk.RG3YG3GV.js +25 -0
- package/cdn/chunks/chunk.RHXL3QRR.js +24 -0
- package/cdn/chunks/chunk.RW2TEVKY.js +26 -0
- package/cdn/chunks/chunk.SAHNSFLV.js +391 -0
- package/cdn/chunks/chunk.SBOM6WSN.js +73 -0
- package/cdn/chunks/chunk.TBCUDDWG.js +385 -0
- package/cdn/chunks/chunk.TEP7XNVE.js +11 -0
- package/cdn/chunks/chunk.TMEAO2OG.js +79 -0
- package/cdn/chunks/chunk.TOVMVKDL.js +255 -0
- package/cdn/chunks/chunk.TVFGC6CM.js +11 -0
- package/cdn/chunks/chunk.TXSWUFZ3.js +11 -0
- package/cdn/chunks/chunk.TYQ7ZMBW.js +24 -0
- package/cdn/chunks/chunk.U3Z423K2.js +11 -0
- package/cdn/chunks/chunk.UF7A72JX.js +11 -0
- package/cdn/chunks/chunk.UGJSCMRG.js +29 -0
- package/cdn/chunks/chunk.UQ2DOY26.js +42 -0
- package/cdn/chunks/chunk.V2TFR3DD.js +11 -0
- package/cdn/chunks/chunk.V6CDFEOP.js +11 -0
- package/cdn/chunks/chunk.VDHDE7LM.js +205 -0
- package/cdn/chunks/chunk.VL2ZMD4X.js +77 -0
- package/cdn/chunks/chunk.VPJPF5P6.js +27 -0
- package/cdn/chunks/chunk.VVHFNAY7.js +11 -0
- package/cdn/chunks/chunk.VZ7LRB2U.js +197 -0
- package/cdn/chunks/chunk.W7JFXHIS.js +336 -0
- package/cdn/chunks/chunk.WHDHDJDE.js +11 -0
- package/cdn/chunks/chunk.WOGEMA6X.js +33 -0
- package/cdn/chunks/chunk.X2JJRHAH.js +724 -0
- package/cdn/chunks/chunk.X3J7EYYG.js +21 -0
- package/cdn/chunks/chunk.X3LSISEE.js +29 -0
- package/cdn/chunks/chunk.XCO3IFMI.js +11 -0
- package/cdn/chunks/chunk.XELVJGWR.js +11 -0
- package/cdn/chunks/chunk.XGCPMOS3.js +21 -0
- package/cdn/chunks/chunk.XICAG7IT.js +302 -0
- package/cdn/chunks/chunk.XIIPR36B.js +44 -0
- package/cdn/chunks/chunk.XJUUYEA5.js +28 -0
- package/cdn/chunks/chunk.XM3PHTJA.js +904 -0
- package/cdn/chunks/chunk.Y2BWUMNR.js +11 -0
- package/cdn/chunks/chunk.Y2XG2IOB.js +114 -0
- package/cdn/chunks/chunk.Y3ND3X6R.js +28 -0
- package/cdn/chunks/chunk.YB5XWX2N.js +11 -0
- package/cdn/chunks/chunk.YSL3YDFJ.js +79 -0
- package/cdn/chunks/chunk.Z5ZS2BBT.js +25 -0
- package/cdn/chunks/chunk.Z62K6DFZ.js +28 -0
- package/cdn/chunks/chunk.Z6ZIZS2Y.js +21 -0
- package/cdn/chunks/chunk.ZKSMCS2T.js +367 -0
- package/cdn/chunks/chunk.ZSVDAYLS.js +24 -0
- package/cdn/chunks/chunk.ZWDPSLNT.js +11 -0
- package/cdn/chunks/chunk.ZZTG2S7G.js +21 -0
- package/cdn/components/alert/alert.component.js +8 -8
- package/cdn/components/alert/alert.js +9 -9
- package/cdn/components/animated-image/animated-image.component.js +5 -5
- package/cdn/components/animated-image/animated-image.js +6 -6
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +5 -5
- package/cdn/components/avatar/avatar.js +6 -6
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +7 -7
- package/cdn/components/breadcrumb/breadcrumb.js +8 -8
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +7 -7
- package/cdn/components/carousel/carousel.js +8 -8
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/combobox/combobox.component.js +12 -12
- package/cdn/components/combobox/combobox.js +13 -13
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/data-table/data-table-column.component.js +2 -2
- package/cdn/components/data-table/data-table-column.js +3 -3
- package/cdn/components/data-table/data-table.component.d.ts +3 -0
- package/cdn/components/data-table/data-table.component.js +11 -10
- package/cdn/components/data-table/data-table.js +12 -11
- package/cdn/components/data-table/data-table.styles.js +1 -1
- package/cdn/components/data-table/define/cw-data-table-column.js +2 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +9 -9
- package/cdn/components/date-picker/date-picker.js +10 -10
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +8 -8
- package/cdn/components/drawer/drawer.js +9 -9
- package/cdn/components/dropdown/dropdown.component.js +5 -5
- package/cdn/components/dropdown/dropdown.js +6 -6
- package/cdn/components/format-bytes/format-bytes.component.js +4 -4
- package/cdn/components/format-bytes/format-bytes.js +5 -5
- package/cdn/components/format-date/format-date.component.js +4 -4
- package/cdn/components/format-date/format-date.js +5 -5
- package/cdn/components/format-number/format-number.component.js +4 -4
- package/cdn/components/format-number/format-number.js +5 -5
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.component.js +5 -5
- package/cdn/components/icon-button/icon-button.js +6 -6
- package/cdn/components/image-comparer/image-comparer.component.js +7 -7
- package/cdn/components/image-comparer/image-comparer.js +8 -8
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +7 -7
- package/cdn/components/input/input.js +8 -8
- package/cdn/components/logo/logo.component.d.ts +43 -0
- package/cdn/components/logo/logo.component.js +16 -0
- package/cdn/components/logo/logo.d.ts +8 -0
- package/cdn/components/logo/logo.js +17 -0
- package/cdn/components/logo/logo.styles.d.ts +2 -0
- package/cdn/components/logo/logo.styles.js +8 -0
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +9 -9
- package/cdn/components/menu-item/menu-item.js +10 -10
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/option/option.component.js +7 -7
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/pagination/pagination.component.js +8 -8
- package/cdn/components/pagination/pagination.js +9 -9
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- package/cdn/components/primary-navigation/primary-navigation.component.d.ts +60 -0
- package/cdn/components/primary-navigation/primary-navigation.component.js +27 -0
- package/cdn/components/primary-navigation/primary-navigation.d.ts +8 -0
- package/cdn/components/primary-navigation/primary-navigation.js +28 -0
- package/cdn/components/primary-navigation/primary-navigation.styles.d.ts +2 -0
- package/cdn/components/primary-navigation/primary-navigation.styles.js +8 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.d.ts +59 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +33 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.d.ts +8 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.js +34 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.styles.d.ts +2 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.styles.js +8 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.d.ts +17 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +11 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.d.ts +8 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +12 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.styles.d.ts +2 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.styles.js +8 -0
- package/cdn/components/progress-bar/progress-bar.component.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +5 -5
- package/cdn/components/progress-ring/progress-ring.component.js +4 -4
- package/cdn/components/progress-ring/progress-ring.js +5 -5
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +5 -5
- package/cdn/components/radio/radio.js +6 -6
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +7 -7
- package/cdn/components/rating/rating.js +8 -8
- package/cdn/components/relative-time/relative-time.component.js +4 -4
- package/cdn/components/relative-time/relative-time.js +5 -5
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +4 -4
- package/cdn/components/spinner/spinner.js +5 -5
- package/cdn/components/split-panel/split-panel.component.js +4 -4
- package/cdn/components/split-panel/split-panel.js +5 -5
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-picker/time-picker.component.js +9 -9
- package/cdn/components/time-picker/time-picker.js +10 -10
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +10 -10
- package/cdn/components/tree/tree.js +11 -11
- package/cdn/components/tree-item/tree-item.component.js +9 -9
- package/cdn/components/tree-item/tree-item.js +10 -10
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +737 -1
- package/cdn/cw-elements.d.ts +4 -0
- package/cdn/cw-elements.js +195 -170
- package/cdn/internal/host-context-fallback.d.ts +8 -0
- package/cdn/react/alert/index.js +9 -9
- package/cdn/react/animated-image/index.js +6 -6
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +6 -6
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +8 -8
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +8 -8
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/combobox/index.js +13 -13
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/data-table/index.js +12 -11
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +10 -10
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- package/cdn/react/dropdown/index.js +6 -6
- package/cdn/react/format-bytes/index.js +5 -5
- package/cdn/react/format-date/index.js +5 -5
- package/cdn/react/format-number/index.js +5 -5
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/icon-button/index.js +6 -6
- package/cdn/react/image-comparer/index.js +8 -8
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.d.ts +4 -0
- package/cdn/react/index.js +193 -168
- package/cdn/react/input/index.js +8 -8
- package/cdn/react/logo/index.d.ts +18 -0
- package/cdn/react/logo/index.js +17 -0
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +10 -10
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +8 -8
- package/cdn/react/pagination/index.js +9 -9
- package/cdn/react/popup/index.js +5 -5
- package/cdn/react/primary-navigation/index.d.ts +39 -0
- package/cdn/react/primary-navigation/index.js +28 -0
- package/cdn/react/primary-navigation-item/index.d.ts +40 -0
- package/cdn/react/primary-navigation-item/index.js +34 -0
- package/cdn/react/primary-navigation-menu/index.d.ts +14 -0
- package/cdn/react/primary-navigation-menu/index.js +12 -0
- package/cdn/react/progress-bar/index.js +5 -5
- package/cdn/react/progress-ring/index.js +5 -5
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +6 -6
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +8 -8
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +5 -5
- package/cdn/react/split-panel/index.js +5 -5
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +10 -10
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +11 -11
- package/cdn/react/tree-item/index.js +10 -10
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/translations/da.js +2 -2
- package/cdn/translations/de-ch.js +2 -2
- package/cdn/translations/de.js +2 -2
- package/cdn/translations/en-gb.js +2 -2
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es.js +3 -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 +156 -0
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/utilities/localize.d.ts +4 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +123 -0
- package/cdn/web-types.json +285 -1
- package/dist/chunks/chunk.24V5JLSY.js +22 -0
- package/dist/chunks/chunk.25MDAAX7.js +11 -0
- package/dist/chunks/chunk.2H3D3OJG.js +29 -0
- package/dist/chunks/chunk.2IJWIQYP.js +11 -0
- package/dist/chunks/chunk.2NGUOJQ2.js +109 -0
- package/dist/chunks/chunk.2O4KPUYD.js +11 -0
- package/dist/chunks/chunk.2PC4KE4M.js +170 -0
- package/dist/chunks/chunk.2XIMM6GP.js +11 -0
- package/dist/chunks/chunk.32VLMCC4.js +45 -0
- package/dist/chunks/chunk.35EDZZ4U.js +24 -0
- package/dist/chunks/chunk.3J24TNFK.js +82 -0
- package/dist/chunks/chunk.3WHQ6WL7.js +26 -0
- package/dist/chunks/chunk.456GZGXR.js +21 -0
- package/dist/chunks/chunk.46I35JVG.js +11 -0
- package/dist/chunks/chunk.46XEZ73Z.js +11 -0
- package/dist/chunks/chunk.47CTIY27.js +53 -0
- package/dist/chunks/chunk.4AVVOWVX.js +33 -0
- package/dist/chunks/chunk.4KKGULDM.js +75 -0
- package/dist/chunks/chunk.4R2Z3PR2.js +11 -0
- package/dist/chunks/chunk.4WL3YI3O.js +65 -0
- package/dist/chunks/chunk.54ZYAOKB.js +100 -0
- package/dist/chunks/chunk.564J5FVI.js +231 -0
- package/dist/chunks/chunk.5CWGKPUK.js +21 -0
- package/dist/chunks/chunk.5GTO6ATC.js +11 -0
- package/dist/chunks/chunk.5GXIU7UK.js +202 -0
- package/dist/chunks/chunk.5L2Q4NDI.js +259 -0
- package/dist/chunks/chunk.5P7CDNRJ.js +11 -0
- package/dist/chunks/chunk.5PRFL3SZ.js +116 -0
- package/dist/chunks/chunk.5PTFHNC6.js +21 -0
- package/dist/chunks/chunk.5SDTSGQR.js +11 -0
- package/dist/chunks/chunk.5ZPPSILE.js +24 -0
- package/dist/chunks/chunk.63WCUPKC.js +11 -0
- package/dist/chunks/chunk.67DYIAZ4.js +29 -0
- package/dist/chunks/chunk.6A25KQEH.js +11 -0
- package/dist/chunks/chunk.6DNKLOX5.js +397 -0
- package/dist/chunks/chunk.6IRQ4MLQ.js +24 -0
- package/dist/chunks/chunk.6OD3P3GY.js +11 -0
- package/dist/chunks/chunk.6R2MX2II.js +29 -0
- package/dist/chunks/chunk.6RXO67Z3.js +11 -0
- package/dist/chunks/chunk.6TNKOIDC.js +294 -0
- package/dist/chunks/chunk.6WC7EWFU.js +11 -0
- package/dist/chunks/chunk.6YIANGUI.js +24 -0
- package/dist/chunks/chunk.73S5Z2IL.js +63 -0
- package/dist/chunks/chunk.746GMAQ3.js +15 -0
- package/dist/chunks/chunk.7E72G3C2.js +247 -0
- package/dist/chunks/chunk.7F3FLHWU.js +93 -0
- package/dist/chunks/chunk.7HXSMNBI.js +21 -0
- package/dist/chunks/chunk.7N5BSNPL.js +25 -0
- package/dist/chunks/chunk.7PC6U4ZK.js +109 -0
- package/dist/chunks/chunk.7S6GV6HW.js +293 -0
- package/dist/chunks/chunk.7VQDJNZ4.js +24 -0
- package/dist/chunks/chunk.A3NQWEUU.js +138 -0
- package/dist/chunks/chunk.A4A56CXT.js +27 -0
- package/dist/chunks/chunk.AM3AAGTK.js +212 -0
- package/dist/chunks/chunk.ARESZPGS.js +28 -0
- package/dist/chunks/chunk.ARLMYVMZ.js +21 -0
- package/dist/chunks/chunk.AUAEXEBG.js +117 -0
- package/dist/chunks/chunk.AZMW2USQ.js +337 -0
- package/dist/chunks/chunk.AZSINXRG.js +24 -0
- package/dist/chunks/chunk.B2RFSKQC.js +26 -0
- package/dist/chunks/chunk.B4K45YXB.js +25 -0
- package/dist/chunks/chunk.BBZVPAPU.js +21 -0
- package/dist/chunks/chunk.BJRCPJTT.js +85 -0
- package/dist/chunks/chunk.BRSHVZF4.js +24 -0
- package/dist/chunks/chunk.BRULING5.js +274 -0
- package/dist/chunks/chunk.BS5MKC2V.js +28 -0
- package/dist/chunks/chunk.BXM7IW7U.js +11 -0
- package/dist/chunks/chunk.BZB7767D.js +24 -0
- package/dist/chunks/chunk.C5U4L55P.js +192 -0
- package/dist/chunks/chunk.CL3PICXW.js +11 -0
- package/dist/chunks/chunk.CNCMOYJ3.js +59 -0
- package/dist/chunks/chunk.CWEGIW7H.js +11 -0
- package/dist/chunks/chunk.CYBV247K.js +375 -0
- package/dist/chunks/chunk.CYIS2LIK.js +21 -0
- package/dist/chunks/chunk.D7OC7254.js +76 -0
- package/dist/chunks/chunk.DB65HO54.js +11 -0
- package/dist/chunks/chunk.DDILNMIS.js +25 -0
- package/dist/chunks/chunk.DJ47HHDT.js +11 -0
- package/dist/chunks/chunk.DKNFFG5N.js +21 -0
- package/dist/chunks/chunk.DSXHSFND.js +417 -0
- package/dist/chunks/chunk.DUHFQC5S.js +11 -0
- package/dist/chunks/chunk.DXEKWMYK.js +94 -0
- package/dist/chunks/chunk.E5F6IPBT.js +21 -0
- package/dist/chunks/chunk.E5KLQVU6.js +135 -0
- package/dist/chunks/chunk.EDNK7SY6.js +11 -0
- package/dist/chunks/chunk.EPZSIX5O.js +73 -0
- package/dist/chunks/chunk.EVIDG6GS.js +90 -0
- package/dist/chunks/chunk.EVURTA7J.js +50 -0
- package/dist/chunks/chunk.EYMNXHXD.js +227 -0
- package/dist/chunks/chunk.F6IW7SUG.js +28 -0
- package/dist/chunks/chunk.FGLLASPY.js +11 -0
- package/dist/chunks/chunk.FNCCMHFT.js +33 -0
- package/dist/chunks/chunk.FRRK3ONV.js +21 -0
- package/dist/chunks/chunk.GGY6MFM6.js +11 -0
- package/dist/chunks/chunk.GHPJSGNF.js +11 -0
- package/dist/chunks/chunk.GI2EZWPT.js +28 -0
- package/dist/chunks/chunk.GO3Y5OMD.js +11 -0
- package/dist/chunks/chunk.GOTHSXUS.js +11 -0
- package/dist/chunks/chunk.GQOQKYZ5.js +24 -0
- package/dist/chunks/chunk.GYTXGGUB.js +21 -0
- package/dist/chunks/chunk.H5ST3L7Q.js +25 -0
- package/dist/chunks/chunk.HBZROAKX.js +370 -0
- package/dist/chunks/chunk.HWPEN73P.js +550 -0
- package/dist/chunks/chunk.HWQYGFIK.js +21 -0
- package/dist/chunks/chunk.HY3LHQRE.js +11 -0
- package/dist/chunks/chunk.I2XAUDCU.js +25 -0
- package/dist/chunks/chunk.I5QGNKDV.js +11 -0
- package/dist/chunks/chunk.IGUWUPBR.js +384 -0
- package/dist/chunks/chunk.IIT5OLA3.js +11 -0
- package/dist/chunks/chunk.IR6SOYX7.js +67 -0
- package/dist/chunks/chunk.IXHTATEG.js +11 -0
- package/dist/chunks/chunk.IYE53CH6.js +27 -0
- package/dist/chunks/chunk.IYZ2ZODF.js +11 -0
- package/dist/chunks/chunk.JNEAVIDA.js +80 -0
- package/dist/chunks/chunk.KCT44LWB.js +27 -0
- package/dist/chunks/chunk.KG2Q6ZEU.js +24 -0
- package/dist/chunks/chunk.KKAVIJ7F.js +100 -0
- package/dist/chunks/chunk.KLUVQHIC.js +151 -0
- package/dist/chunks/chunk.KQQEEG63.js +315 -0
- package/dist/chunks/chunk.KTKPJPFF.js +21 -0
- package/dist/chunks/chunk.KWS7E2DY.js +25 -0
- package/dist/chunks/chunk.L26CEFTR.js +11 -0
- package/dist/chunks/chunk.L3EOK5SZ.js +119 -0
- package/dist/chunks/chunk.LH7BCCX2.js +11 -0
- package/dist/chunks/chunk.LJ7QTRR3.js +11 -0
- package/dist/chunks/chunk.LV24GA5E.js +837 -0
- package/dist/chunks/chunk.M3GNJW4O.js +448 -0
- package/dist/chunks/chunk.M6LPTVBO.js +11 -0
- package/dist/chunks/chunk.MA4ZXLMA.js +134 -0
- package/dist/chunks/chunk.MASRUHI2.js +11 -0
- package/dist/chunks/chunk.MBEKBBTL.js +11 -0
- package/dist/chunks/chunk.MEMNH575.js +115 -0
- package/dist/chunks/chunk.MH7RJZQS.js +29 -0
- package/dist/chunks/chunk.MRIUGY3Y.js +11 -0
- package/dist/chunks/chunk.MXGNQPCP.js +21 -0
- package/dist/chunks/chunk.N23CSDVQ.js +11 -0
- package/dist/chunks/chunk.N5X6HP3H.js +27 -0
- package/dist/chunks/chunk.NCCNTTVP.js +491 -0
- package/dist/chunks/chunk.ND4VKQAR.js +11 -0
- package/dist/chunks/chunk.NEHR5VYL.js +181 -0
- package/dist/chunks/chunk.O7AMDMYT.js +21 -0
- package/dist/chunks/chunk.O7SVFROZ.js +91 -0
- package/dist/chunks/chunk.OJLUK4YJ.js +11 -0
- package/dist/chunks/chunk.OJNI45LH.js +24 -0
- package/dist/chunks/chunk.OM6CJ7RY.js +21 -0
- package/dist/chunks/chunk.P354YNEK.js +280 -0
- package/dist/chunks/chunk.P7EINVQN.js +949 -0
- package/dist/chunks/chunk.PDPBXHUC.js +47 -0
- package/dist/chunks/chunk.PEORTZKS.js +26 -0
- package/dist/chunks/chunk.PIJXZI4W.js +25 -0
- package/dist/chunks/chunk.PIRLZVAL.js +21 -0
- package/dist/chunks/chunk.PJOP4OO3.js +311 -0
- package/dist/chunks/chunk.PLKIFY5H.js +147 -0
- package/dist/chunks/chunk.PNQA5AXL.js +11 -0
- package/dist/chunks/chunk.Q24JKOGO.js +21 -0
- package/dist/chunks/chunk.Q76AOV4W.js +11 -0
- package/dist/chunks/chunk.QD4NWSGB.js +213 -0
- package/dist/chunks/chunk.QDJMQSR2.js +11 -0
- package/dist/chunks/chunk.QJEYTSGQ.js +11 -0
- package/dist/chunks/chunk.QNBEBQZU.js +11 -0
- package/dist/chunks/chunk.QO6FFSCW.js +11 -0
- package/dist/chunks/chunk.QOBXBQKG.js +27 -0
- package/dist/chunks/chunk.QTMEDT7S.js +27 -0
- package/dist/chunks/chunk.QTU7CGDI.js +34 -0
- package/dist/chunks/chunk.QWWVEOHJ.js +24 -0
- package/dist/chunks/chunk.RTFTWROR.js +33 -0
- package/dist/chunks/chunk.RVGKEHHX.js +22 -0
- package/dist/chunks/chunk.S6C3O4ZK.js +21 -0
- package/dist/chunks/chunk.S73VW3BW.js +21 -0
- package/dist/chunks/chunk.SFCRZSHE.js +11 -0
- package/dist/chunks/chunk.SYV2RXBI.js +75 -0
- package/dist/chunks/chunk.T3YPUGMG.js +45 -0
- package/dist/chunks/chunk.T7HJK4I5.js +896 -0
- package/dist/chunks/chunk.TDLAABKV.js +11 -0
- package/dist/chunks/chunk.THGTTXRL.js +33 -0
- package/dist/chunks/chunk.TSCM7YYI.js +42 -0
- package/dist/chunks/chunk.TY6BUWX3.js +11 -0
- package/dist/chunks/chunk.TYQ7ZMBW.js +24 -0
- package/dist/chunks/chunk.U3E4A4DD.js +11 -0
- package/dist/chunks/chunk.U73BRXUL.js +11 -0
- package/dist/chunks/chunk.UB5YLTZD.js +11 -0
- package/dist/chunks/chunk.UIAV3XAS.js +111 -0
- package/dist/chunks/chunk.ULZE75JH.js +11 -0
- package/dist/chunks/chunk.UW5CYJSJ.js +11 -0
- package/dist/chunks/chunk.V6EL5MTL.js +25 -0
- package/dist/chunks/chunk.VNN6ADT4.js +11 -0
- package/dist/chunks/chunk.VR622E3R.js +126 -0
- package/dist/chunks/chunk.W2WQ63A6.js +11 -0
- package/dist/chunks/chunk.W66MLEV6.js +26 -0
- package/dist/chunks/chunk.WALMX3ZP.js +42 -0
- package/dist/chunks/chunk.WBMJLEWH.js +11 -0
- package/dist/chunks/chunk.WGIVDA4B.js +361 -0
- package/dist/chunks/chunk.WKCCAX7X.js +11 -0
- package/dist/chunks/chunk.XBITRFIS.js +290 -0
- package/dist/chunks/chunk.XIIPR36B.js +44 -0
- package/dist/chunks/chunk.XKSPHC6B.js +11 -0
- package/dist/chunks/chunk.XLSHNTSC.js +21 -0
- package/dist/chunks/chunk.XOXHQ24F.js +11 -0
- package/dist/chunks/chunk.XSUMCUUV.js +813 -0
- package/dist/chunks/chunk.XWG46CFQ.js +11 -0
- package/dist/chunks/chunk.XZR2P4EL.js +11 -0
- package/dist/chunks/chunk.Y27MKK7H.js +11 -0
- package/dist/chunks/chunk.Y3NPADW4.js +28 -0
- package/dist/chunks/chunk.Y5HUVIMJ.js +26 -0
- package/dist/chunks/chunk.Y6KO5DPP.js +11 -0
- package/dist/chunks/chunk.Y7MLK7XY.js +961 -0
- package/dist/chunks/chunk.YD3LMWW2.js +147 -0
- package/dist/chunks/chunk.YYUA6DF2.js +21 -0
- package/dist/chunks/chunk.ZFABPK2P.js +25 -0
- package/dist/chunks/chunk.ZH4GBWQA.js +25 -0
- package/dist/chunks/chunk.ZJCU7ADP.js +53 -0
- package/dist/chunks/chunk.ZMUBKI6T.js +286 -0
- package/dist/chunks/chunk.ZNH7GH4D.js +11 -0
- package/dist/chunks/chunk.ZRSEGYLN.js +21 -0
- package/dist/chunks/chunk.ZSEBJY7D.js +21 -0
- package/dist/chunks/chunk.ZU5BP6F6.js +11 -0
- package/dist/components/alert/alert.component.js +8 -8
- package/dist/components/alert/alert.js +9 -9
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.js +8 -8
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +8 -8
- package/dist/components/button/button.js +9 -9
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +7 -7
- package/dist/components/carousel/carousel.js +8 -8
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/combobox/combobox.component.js +12 -12
- package/dist/components/combobox/combobox.js +13 -13
- package/dist/components/copy-button/copy-button.component.js +9 -9
- package/dist/components/copy-button/copy-button.js +10 -10
- package/dist/components/data-table/data-table-column.component.js +2 -2
- package/dist/components/data-table/data-table-column.js +3 -3
- package/dist/components/data-table/data-table.component.d.ts +3 -0
- package/dist/components/data-table/data-table.component.js +11 -10
- package/dist/components/data-table/data-table.js +12 -11
- package/dist/components/data-table/data-table.styles.js +1 -1
- package/dist/components/data-table/define/cw-data-table-column.js +2 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +9 -9
- package/dist/components/date-picker/date-picker.js +10 -10
- package/dist/components/details/details.component.js +7 -7
- package/dist/components/details/details.js +8 -8
- package/dist/components/dialog/dialog.component.js +8 -8
- package/dist/components/dialog/dialog.js +9 -9
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +8 -8
- package/dist/components/drawer/drawer.js +9 -9
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- package/dist/components/format-bytes/format-bytes.component.js +4 -4
- package/dist/components/format-bytes/format-bytes.js +5 -5
- package/dist/components/format-date/format-date.component.js +4 -4
- package/dist/components/format-date/format-date.js +5 -5
- package/dist/components/format-number/format-number.component.js +4 -4
- package/dist/components/format-number/format-number.js +5 -5
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/image-comparer/image-comparer.component.js +7 -7
- package/dist/components/image-comparer/image-comparer.js +8 -8
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- package/dist/components/logo/logo.component.d.ts +43 -0
- package/dist/components/logo/logo.component.js +13 -0
- package/dist/components/logo/logo.d.ts +8 -0
- package/dist/components/logo/logo.js +14 -0
- package/dist/components/logo/logo.styles.d.ts +2 -0
- package/dist/components/logo/logo.styles.js +7 -0
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +9 -9
- package/dist/components/menu-item/menu-item.js +10 -10
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +7 -7
- package/dist/components/option/option.js +8 -8
- package/dist/components/pagination/pagination.component.js +8 -8
- package/dist/components/pagination/pagination.js +9 -9
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- package/dist/components/primary-navigation/primary-navigation.component.d.ts +60 -0
- package/dist/components/primary-navigation/primary-navigation.component.js +22 -0
- package/dist/components/primary-navigation/primary-navigation.d.ts +8 -0
- package/dist/components/primary-navigation/primary-navigation.js +23 -0
- package/dist/components/primary-navigation/primary-navigation.styles.d.ts +2 -0
- package/dist/components/primary-navigation/primary-navigation.styles.js +7 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.component.d.ts +59 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.component.js +27 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.d.ts +8 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.js +28 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.styles.d.ts +2 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.styles.js +7 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.d.ts +17 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +10 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.d.ts +8 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.js +11 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.styles.d.ts +2 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.styles.js +7 -0
- package/dist/components/progress-bar/progress-bar.component.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-ring/progress-ring.component.js +4 -4
- package/dist/components/progress-ring/progress-ring.js +5 -5
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +5 -5
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +4 -4
- package/dist/components/range/range.js +5 -5
- package/dist/components/rating/rating.component.js +7 -7
- package/dist/components/rating/rating.js +8 -8
- package/dist/components/relative-time/relative-time.component.js +4 -4
- package/dist/components/relative-time/relative-time.js +5 -5
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/select/select.component.js +10 -10
- package/dist/components/select/select.js +11 -11
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/split-panel/split-panel.component.js +4 -4
- package/dist/components/split-panel/split-panel.js +5 -5
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +8 -8
- package/dist/components/tab/tab.js +9 -9
- package/dist/components/tab-group/tab-group.component.js +9 -9
- package/dist/components/tab-group/tab-group.js +10 -10
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +8 -8
- package/dist/components/tag/tag.js +9 -9
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-picker/time-picker.component.js +9 -9
- package/dist/components/time-picker/time-picker.js +10 -10
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/tree/tree.component.js +10 -10
- package/dist/components/tree/tree.js +11 -11
- package/dist/components/tree-item/tree-item.component.js +9 -9
- package/dist/components/tree-item/tree-item.js +10 -10
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +737 -1
- package/dist/cw-elements.d.ts +4 -0
- package/dist/cw-elements.js +195 -170
- package/dist/internal/host-context-fallback.d.ts +8 -0
- package/dist/react/alert/index.js +9 -9
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +8 -8
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +9 -9
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +8 -8
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/combobox/index.js +13 -13
- package/dist/react/copy-button/index.js +10 -10
- package/dist/react/data-table/index.js +12 -11
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +10 -10
- package/dist/react/details/index.js +8 -8
- package/dist/react/dialog/index.js +9 -9
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +9 -9
- package/dist/react/dropdown/index.js +6 -6
- package/dist/react/format-bytes/index.js +5 -5
- package/dist/react/format-date/index.js +5 -5
- package/dist/react/format-number/index.js +5 -5
- package/dist/react/icon/index.js +5 -5
- package/dist/react/icon-button/index.js +6 -6
- package/dist/react/image-comparer/index.js +8 -8
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.d.ts +4 -0
- package/dist/react/index.js +193 -168
- package/dist/react/input/index.js +8 -8
- package/dist/react/logo/index.d.ts +18 -0
- package/dist/react/logo/index.js +14 -0
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +10 -10
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +8 -8
- package/dist/react/pagination/index.js +9 -9
- package/dist/react/popup/index.js +5 -5
- package/dist/react/primary-navigation/index.d.ts +39 -0
- package/dist/react/primary-navigation/index.js +23 -0
- package/dist/react/primary-navigation-item/index.d.ts +40 -0
- package/dist/react/primary-navigation-item/index.js +28 -0
- package/dist/react/primary-navigation-menu/index.d.ts +14 -0
- package/dist/react/primary-navigation-menu/index.js +11 -0
- package/dist/react/progress-bar/index.js +5 -5
- package/dist/react/progress-ring/index.js +5 -5
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +6 -6
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +5 -5
- package/dist/react/rating/index.js +8 -8
- package/dist/react/relative-time/index.js +5 -5
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/select/index.js +11 -11
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +5 -5
- package/dist/react/split-panel/index.js +5 -5
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +9 -9
- package/dist/react/tab-group/index.js +10 -10
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +9 -9
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +10 -10
- package/dist/react/tooltip/index.js +6 -6
- package/dist/react/tree/index.js +11 -11
- package/dist/react/tree-item/index.js +10 -10
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/translations/da.js +2 -2
- package/dist/translations/de-ch.js +3 -3
- package/dist/translations/de.js +3 -3
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/translations/es.js +3 -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 +156 -0
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +4 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +123 -0
- package/dist/web-types.json +285 -1
- package/package.json +1 -1
- package/cdn/chunks/chunk.27DWKH6T.js +0 -11
- package/cdn/chunks/chunk.2DDICLPD.js +0 -28
- package/cdn/chunks/chunk.2FFPERIE.js +0 -153
- package/cdn/chunks/chunk.2P4ZZC7W.js +0 -11
- package/cdn/chunks/chunk.2UFSI2MO.js +0 -267
- package/cdn/chunks/chunk.2VN5Z4ZW.js +0 -11
- package/cdn/chunks/chunk.3ALKICKA.js +0 -24
- package/cdn/chunks/chunk.3ITR3YMH.js +0 -16
- package/cdn/chunks/chunk.3MIQW4YV.js +0 -24
- package/cdn/chunks/chunk.472JP4U2.js +0 -21
- package/cdn/chunks/chunk.4AOCDYQ7.js +0 -25
- package/cdn/chunks/chunk.4GH37RHM.js +0 -11
- package/cdn/chunks/chunk.4GJSHMMS.js +0 -11
- package/cdn/chunks/chunk.4HGRVMHE.js +0 -27
- package/cdn/chunks/chunk.4L4ADGYI.js +0 -11
- package/cdn/chunks/chunk.4PYMSCBF.js +0 -11
- package/cdn/chunks/chunk.4SW6W2T3.js +0 -67
- package/cdn/chunks/chunk.4YGPL3O5.js +0 -21
- package/cdn/chunks/chunk.5DDDX6SU.js +0 -11
- package/cdn/chunks/chunk.5NRIGGVD.js +0 -82
- package/cdn/chunks/chunk.5P27I6WT.js +0 -26
- package/cdn/chunks/chunk.5ZFLYA52.js +0 -36
- package/cdn/chunks/chunk.645KM5OC.js +0 -95
- package/cdn/chunks/chunk.657OE6QW.js +0 -11
- package/cdn/chunks/chunk.67VUP6R6.js +0 -49
- package/cdn/chunks/chunk.6FPJ4FPW.js +0 -25
- package/cdn/chunks/chunk.6TG2M3KU.js +0 -11
- package/cdn/chunks/chunk.73WVTKBY.js +0 -1990
- package/cdn/chunks/chunk.74SHEGOG.js +0 -49
- package/cdn/chunks/chunk.76UKF746.js +0 -28
- package/cdn/chunks/chunk.7DXYZUKL.js +0 -33
- package/cdn/chunks/chunk.7ZIVYTTK.js +0 -199
- package/cdn/chunks/chunk.AANGFSUB.js +0 -291
- package/cdn/chunks/chunk.AKBYURFA.js +0 -24
- package/cdn/chunks/chunk.ALSOXEVP.js +0 -11
- package/cdn/chunks/chunk.AOZIM25C.js +0 -363
- package/cdn/chunks/chunk.AQBPTBC5.js +0 -314
- package/cdn/chunks/chunk.AQQFKDOW.js +0 -63
- package/cdn/chunks/chunk.AR7N2GNT.js +0 -11
- package/cdn/chunks/chunk.ARN3CCTG.js +0 -24
- package/cdn/chunks/chunk.AUJND7BT.js +0 -11
- package/cdn/chunks/chunk.AXPW2B6I.js +0 -11
- package/cdn/chunks/chunk.B5XCFP5B.js +0 -25
- package/cdn/chunks/chunk.BNI3PLC7.js +0 -24
- package/cdn/chunks/chunk.BUKC7CMC.js +0 -724
- package/cdn/chunks/chunk.C3OPPFUA.js +0 -336
- package/cdn/chunks/chunk.C4KXBIGP.js +0 -11
- package/cdn/chunks/chunk.C7MOQHUM.js +0 -11
- package/cdn/chunks/chunk.CETTTOVQ.js +0 -29
- package/cdn/chunks/chunk.COBVAO57.js +0 -292
- package/cdn/chunks/chunk.CTZTBJX6.js +0 -25
- package/cdn/chunks/chunk.D4RHZ3VF.js +0 -50
- package/cdn/chunks/chunk.DBO4KLPN.js +0 -21
- package/cdn/chunks/chunk.DCDRLLMM.js +0 -24
- package/cdn/chunks/chunk.DL7KX4XQ.js +0 -11
- package/cdn/chunks/chunk.DLXKA2WE.js +0 -11
- package/cdn/chunks/chunk.DPWUHO5G.js +0 -236
- package/cdn/chunks/chunk.DZIZWO42.js +0 -77
- package/cdn/chunks/chunk.EAYAE4R4.js +0 -142
- package/cdn/chunks/chunk.ELLNTHHF.js +0 -21
- package/cdn/chunks/chunk.EN47T4SP.js +0 -11
- package/cdn/chunks/chunk.EOCEWG7C.js +0 -11
- package/cdn/chunks/chunk.ESZSDU54.js +0 -11
- package/cdn/chunks/chunk.EUB4VEZI.js +0 -11
- package/cdn/chunks/chunk.EURODS3L.js +0 -24
- package/cdn/chunks/chunk.EWDXUCUZ.js +0 -21
- package/cdn/chunks/chunk.EZB4OORS.js +0 -21
- package/cdn/chunks/chunk.F4GUMM7Z.js +0 -84
- package/cdn/chunks/chunk.F6DTB5PE.js +0 -28
- package/cdn/chunks/chunk.FAJPJSRZ.js +0 -24
- package/cdn/chunks/chunk.FEDW52Q4.js +0 -11
- package/cdn/chunks/chunk.FFDZMFCK.js +0 -11
- package/cdn/chunks/chunk.FHUJBZLE.js +0 -27
- package/cdn/chunks/chunk.FJ6XPN5Y.js +0 -29
- package/cdn/chunks/chunk.FKKIPZQY.js +0 -11
- package/cdn/chunks/chunk.FN5M275P.js +0 -11
- package/cdn/chunks/chunk.FQWZODEG.js +0 -24
- package/cdn/chunks/chunk.GJS4NFZQ.js +0 -11
- package/cdn/chunks/chunk.GKDT6QDX.js +0 -137
- package/cdn/chunks/chunk.GMTRFL2A.js +0 -11
- package/cdn/chunks/chunk.GP3T2NEF.js +0 -29
- package/cdn/chunks/chunk.GTN47IXP.js +0 -297
- package/cdn/chunks/chunk.GTV3SFZH.js +0 -11
- package/cdn/chunks/chunk.GTXKIR57.js +0 -33
- package/cdn/chunks/chunk.GTZX7PG7.js +0 -11
- package/cdn/chunks/chunk.GUA2R5I7.js +0 -402
- package/cdn/chunks/chunk.GWG3KO7N.js +0 -255
- package/cdn/chunks/chunk.GWQBPWIA.js +0 -33
- package/cdn/chunks/chunk.HD7BS73M.js +0 -11
- package/cdn/chunks/chunk.HDIQVJNT.js +0 -11
- package/cdn/chunks/chunk.HEBUFHZQ.js +0 -11
- package/cdn/chunks/chunk.HFCQVBWC.js +0 -11
- package/cdn/chunks/chunk.HRF64CAP.js +0 -391
- package/cdn/chunks/chunk.I3I6CEYW.js +0 -574
- package/cdn/chunks/chunk.I46LCLLP.js +0 -24
- package/cdn/chunks/chunk.IAHYET3T.js +0 -21
- package/cdn/chunks/chunk.IEN6MHOY.js +0 -24
- package/cdn/chunks/chunk.IUTQYA3C.js +0 -25
- package/cdn/chunks/chunk.J4OZIFDM.js +0 -42
- package/cdn/chunks/chunk.J6B3QIGZ.js +0 -24
- package/cdn/chunks/chunk.K5EH3RMN.js +0 -299
- package/cdn/chunks/chunk.K5MA6C63.js +0 -11
- package/cdn/chunks/chunk.K7HRJYUO.js +0 -24
- package/cdn/chunks/chunk.KAD2F52T.js +0 -844
- package/cdn/chunks/chunk.KFWERZX4.js +0 -158
- package/cdn/chunks/chunk.KKHUHZCF.js +0 -11
- package/cdn/chunks/chunk.KLWOOM7L.js +0 -21
- package/cdn/chunks/chunk.KNIMCNTZ.js +0 -218
- package/cdn/chunks/chunk.KX5VDMEI.js +0 -21
- package/cdn/chunks/chunk.KYYCBJMX.js +0 -11
- package/cdn/chunks/chunk.L6YMQL6L.js +0 -21
- package/cdn/chunks/chunk.LARJ342C.js +0 -29
- package/cdn/chunks/chunk.LE4IQW2L.js +0 -197
- package/cdn/chunks/chunk.LSY6YX4H.js +0 -28
- package/cdn/chunks/chunk.MITK4Y4A.js +0 -97
- package/cdn/chunks/chunk.MKFHQIET.js +0 -21
- package/cdn/chunks/chunk.MVUSKR7C.js +0 -11
- package/cdn/chunks/chunk.MWAGFGKT.js +0 -75
- package/cdn/chunks/chunk.N6MFPWKB.js +0 -25
- package/cdn/chunks/chunk.NCDRUVIZ.js +0 -11
- package/cdn/chunks/chunk.NFVRWEEV.js +0 -113
- package/cdn/chunks/chunk.NY36WSQL.js +0 -11
- package/cdn/chunks/chunk.NYP7QB2C.js +0 -27
- package/cdn/chunks/chunk.O4AEKGPG.js +0 -103
- package/cdn/chunks/chunk.O5SH3R2S.js +0 -499
- package/cdn/chunks/chunk.OAEMXTXE.js +0 -346
- package/cdn/chunks/chunk.OEUG7QY3.js +0 -33
- package/cdn/chunks/chunk.OIINJHKG.js +0 -11
- package/cdn/chunks/chunk.OIQCODSK.js +0 -122
- package/cdn/chunks/chunk.OJPTRK7F.js +0 -11
- package/cdn/chunks/chunk.OJX7VSUJ.js +0 -79
- package/cdn/chunks/chunk.ONTMT5LW.js +0 -11
- package/cdn/chunks/chunk.OX7ATLHD.js +0 -11
- package/cdn/chunks/chunk.P23SGZLF.js +0 -127
- package/cdn/chunks/chunk.P23UHFGK.js +0 -11
- package/cdn/chunks/chunk.PDCLSMMS.js +0 -26
- package/cdn/chunks/chunk.PFOQ6JAV.js +0 -378
- package/cdn/chunks/chunk.PPHSH4CX.js +0 -21
- package/cdn/chunks/chunk.PVWDCFHB.js +0 -25
- package/cdn/chunks/chunk.PZ5C5PLV.js +0 -11
- package/cdn/chunks/chunk.Q66ZEK7K.js +0 -28
- package/cdn/chunks/chunk.QLLO4QPD.js +0 -11
- package/cdn/chunks/chunk.QONVXYG5.js +0 -21
- package/cdn/chunks/chunk.QQLNEH7Q.js +0 -25
- package/cdn/chunks/chunk.QVFSL6NQ.js +0 -11
- package/cdn/chunks/chunk.QW4QMDCV.js +0 -21
- package/cdn/chunks/chunk.QY7D75ZP.js +0 -969
- package/cdn/chunks/chunk.R2NMH67H.js +0 -11
- package/cdn/chunks/chunk.RIGA6ZDJ.js +0 -114
- package/cdn/chunks/chunk.RLJ5SPTY.js +0 -21
- package/cdn/chunks/chunk.RN7BZPQ4.js +0 -44
- package/cdn/chunks/chunk.SIDBRE7F.js +0 -367
- package/cdn/chunks/chunk.SKSHB4FA.js +0 -21
- package/cdn/chunks/chunk.SO6THTVQ.js +0 -11
- package/cdn/chunks/chunk.SY3MSP6Z.js +0 -21
- package/cdn/chunks/chunk.SYCSG742.js +0 -52
- package/cdn/chunks/chunk.T57ACNT3.js +0 -11
- package/cdn/chunks/chunk.TFG2J4TS.js +0 -186
- package/cdn/chunks/chunk.TFGNAFBD.js +0 -11
- package/cdn/chunks/chunk.TMUYFMT3.js +0 -216
- package/cdn/chunks/chunk.TOK4VYF6.js +0 -1925
- package/cdn/chunks/chunk.TVZ5WEQP.js +0 -279
- package/cdn/chunks/chunk.UGWSTXXI.js +0 -11
- package/cdn/chunks/chunk.UMQORM2W.js +0 -11
- package/cdn/chunks/chunk.UPU52UDS.js +0 -21
- package/cdn/chunks/chunk.UTEBD5S7.js +0 -27
- package/cdn/chunks/chunk.V7KENM7T.js +0 -233
- package/cdn/chunks/chunk.V7PVKTVW.js +0 -142
- package/cdn/chunks/chunk.VFGWPTCN.js +0 -11
- package/cdn/chunks/chunk.VQE2DRLS.js +0 -135
- package/cdn/chunks/chunk.VU37Z6RL.js +0 -11
- package/cdn/chunks/chunk.W3YZCA4C.js +0 -11
- package/cdn/chunks/chunk.W6US6GNQ.js +0 -24
- package/cdn/chunks/chunk.WAGONEYI.js +0 -302
- package/cdn/chunks/chunk.WCRO256V.js +0 -26
- package/cdn/chunks/chunk.WF6PWDU3.js +0 -93
- package/cdn/chunks/chunk.WKH2ZOZU.js +0 -25
- package/cdn/chunks/chunk.WNADPE2V.js +0 -21
- package/cdn/chunks/chunk.XCRIXBIS.js +0 -21
- package/cdn/chunks/chunk.XGANYK22.js +0 -120
- package/cdn/chunks/chunk.XQNKEAPY.js +0 -11
- package/cdn/chunks/chunk.XQRBW55Q.js +0 -174
- package/cdn/chunks/chunk.Y3VDNFYF.js +0 -821
- package/cdn/chunks/chunk.YCRBTYTG.js +0 -11
- package/cdn/chunks/chunk.YDURJ65O.js +0 -11
- package/cdn/chunks/chunk.YJOB5B4Q.js +0 -11
- package/cdn/chunks/chunk.YOKPFMB5.js +0 -27
- package/cdn/chunks/chunk.YP3D6CJV.js +0 -73
- package/cdn/chunks/chunk.YQBZBVE3.js +0 -26
- package/cdn/chunks/chunk.YTJW2VG2.js +0 -11
- package/cdn/chunks/chunk.ZFOK3JXZ.js +0 -87
- package/cdn/chunks/chunk.ZFORX3IG.js +0 -21
- package/cdn/chunks/chunk.ZHCMYQ2U.js +0 -21
- package/cdn/chunks/chunk.ZJ7CDAFI.js +0 -120
- package/cdn/chunks/chunk.ZLIKKNJM.js +0 -455
- package/cdn/chunks/chunk.ZNEUG3IK.js +0 -904
- package/cdn/chunks/chunk.ZUPXBXTX.js +0 -11
- package/cdn/chunks/chunk.ZZ7YCEI3.js +0 -11
- package/dist/chunks/chunk.23N4SAMY.js +0 -34
- package/dist/chunks/chunk.2CXXSXIX.js +0 -11
- package/dist/chunks/chunk.2H4HZOD6.js +0 -15
- package/dist/chunks/chunk.2I6PDZ3R.js +0 -11
- package/dist/chunks/chunk.3KEYLNAR.js +0 -11
- package/dist/chunks/chunk.3KXOVRKI.js +0 -80
- package/dist/chunks/chunk.3TYZILKJ.js +0 -315
- package/dist/chunks/chunk.3WFPBVZF.js +0 -25
- package/dist/chunks/chunk.3YY7BARO.js +0 -11
- package/dist/chunks/chunk.4EIVALKT.js +0 -11
- package/dist/chunks/chunk.4IRXF2F4.js +0 -11
- package/dist/chunks/chunk.4RXZVGY3.js +0 -29
- package/dist/chunks/chunk.5BQHFM4W.js +0 -25
- package/dist/chunks/chunk.5CZ7WNV6.js +0 -11
- package/dist/chunks/chunk.5D64KNSO.js +0 -11
- package/dist/chunks/chunk.5HWZYFVQ.js +0 -448
- package/dist/chunks/chunk.5OAIQ7IB.js +0 -29
- package/dist/chunks/chunk.5PHJIWJY.js +0 -21
- package/dist/chunks/chunk.5U4NNYDR.js +0 -11
- package/dist/chunks/chunk.6CA3JTSS.js +0 -290
- package/dist/chunks/chunk.6DDZRALL.js +0 -11
- package/dist/chunks/chunk.6Y7LWTWC.js +0 -22
- package/dist/chunks/chunk.6YJKCUTH.js +0 -24
- package/dist/chunks/chunk.6ZQ3L2JR.js +0 -837
- package/dist/chunks/chunk.7IPNC6N4.js +0 -192
- package/dist/chunks/chunk.7OBNRVTG.js +0 -151
- package/dist/chunks/chunk.7RMULBN7.js +0 -59
- package/dist/chunks/chunk.7YFX6UD5.js +0 -24
- package/dist/chunks/chunk.ACFMG3B2.js +0 -21
- package/dist/chunks/chunk.AID3TGOX.js +0 -21
- package/dist/chunks/chunk.ARDUAB5Q.js +0 -11
- package/dist/chunks/chunk.AUYLSGQO.js +0 -33
- package/dist/chunks/chunk.BN7R6GBX.js +0 -67
- package/dist/chunks/chunk.BNUVSZQZ.js +0 -21
- package/dist/chunks/chunk.BOPYTRGY.js +0 -42
- package/dist/chunks/chunk.BTOJUKXC.js +0 -259
- package/dist/chunks/chunk.BTWNDTCP.js +0 -11
- package/dist/chunks/chunk.C5J4BILB.js +0 -11
- package/dist/chunks/chunk.CCL6GA7T.js +0 -27
- package/dist/chunks/chunk.CEIJBG6Z.js +0 -293
- package/dist/chunks/chunk.CFMVEJY2.js +0 -24
- package/dist/chunks/chunk.CGLGYZBQ.js +0 -21
- package/dist/chunks/chunk.COJHSVW5.js +0 -11
- package/dist/chunks/chunk.CQCVZ3YH.js +0 -11
- package/dist/chunks/chunk.CTWSV766.js +0 -33
- package/dist/chunks/chunk.CVT53LCI.js +0 -63
- package/dist/chunks/chunk.CW6OZ54I.js +0 -813
- package/dist/chunks/chunk.CXJRAFME.js +0 -11
- package/dist/chunks/chunk.CXZ42BCB.js +0 -311
- package/dist/chunks/chunk.D3WZPEZ7.js +0 -24
- package/dist/chunks/chunk.D6RZFAZT.js +0 -28
- package/dist/chunks/chunk.D74ACVEA.js +0 -11
- package/dist/chunks/chunk.DLJ4D6XI.js +0 -45
- package/dist/chunks/chunk.DPDIUYSC.js +0 -417
- package/dist/chunks/chunk.E4LENKUP.js +0 -126
- package/dist/chunks/chunk.E6ZE6XZA.js +0 -361
- package/dist/chunks/chunk.EFPXZPLF.js +0 -25
- package/dist/chunks/chunk.EONAQ3TD.js +0 -75
- package/dist/chunks/chunk.EOOAC2OP.js +0 -24
- package/dist/chunks/chunk.EQY4YMS4.js +0 -491
- package/dist/chunks/chunk.EUI4TRBJ.js +0 -196
- package/dist/chunks/chunk.EXT4JQLR.js +0 -42
- package/dist/chunks/chunk.F5EDU6OE.js +0 -21
- package/dist/chunks/chunk.F6KTOKBY.js +0 -26
- package/dist/chunks/chunk.FBLDFC7P.js +0 -21
- package/dist/chunks/chunk.FE3JZ2VR.js +0 -25
- package/dist/chunks/chunk.FEYZXJOB.js +0 -11
- package/dist/chunks/chunk.FHXXOO7G.js +0 -147
- package/dist/chunks/chunk.FV55SEKJ.js +0 -11
- package/dist/chunks/chunk.FZGFBVSM.js +0 -21
- package/dist/chunks/chunk.G6CMRQ7K.js +0 -11
- package/dist/chunks/chunk.GAYWTLIM.js +0 -353
- package/dist/chunks/chunk.GIAIEH4Y.js +0 -11
- package/dist/chunks/chunk.GMR3NLB6.js +0 -11
- package/dist/chunks/chunk.GRVR5DL2.js +0 -11
- package/dist/chunks/chunk.GSHFSL62.js +0 -45
- package/dist/chunks/chunk.GU5XYVWV.js +0 -397
- package/dist/chunks/chunk.GWI6XHIR.js +0 -21
- package/dist/chunks/chunk.H47NIUSR.js +0 -11
- package/dist/chunks/chunk.HCDRZ3LC.js +0 -11
- package/dist/chunks/chunk.HLR4DDQR.js +0 -24
- package/dist/chunks/chunk.HMFUBDZD.js +0 -337
- package/dist/chunks/chunk.HWZ7TZXA.js +0 -29
- package/dist/chunks/chunk.HXHTA5SF.js +0 -11
- package/dist/chunks/chunk.HXKJACW5.js +0 -21
- package/dist/chunks/chunk.I2KRLKCK.js +0 -28
- package/dist/chunks/chunk.I6AAGNGJ.js +0 -11
- package/dist/chunks/chunk.IGYJFBTO.js +0 -24
- package/dist/chunks/chunk.IK6DMWZC.js +0 -100
- package/dist/chunks/chunk.IQVJDH3V.js +0 -11
- package/dist/chunks/chunk.IR5BKOLA.js +0 -93
- package/dist/chunks/chunk.IRCP3L77.js +0 -24
- package/dist/chunks/chunk.ISKWVDD7.js +0 -25
- package/dist/chunks/chunk.IWKWPOO6.js +0 -286
- package/dist/chunks/chunk.J2MX4VMS.js +0 -294
- package/dist/chunks/chunk.JAJ4RV4L.js +0 -11
- package/dist/chunks/chunk.JBFXIBJH.js +0 -24
- package/dist/chunks/chunk.JBGFES6N.js +0 -11
- package/dist/chunks/chunk.JJEVDLD4.js +0 -280
- package/dist/chunks/chunk.JNM54WIG.js +0 -33
- package/dist/chunks/chunk.JZSXGRVZ.js +0 -90
- package/dist/chunks/chunk.K5G5LLRV.js +0 -11
- package/dist/chunks/chunk.KBXOSUEA.js +0 -11
- package/dist/chunks/chunk.KHZCJT6C.js +0 -11
- package/dist/chunks/chunk.KT4N3HLN.js +0 -181
- package/dist/chunks/chunk.KWAIF557.js +0 -170
- package/dist/chunks/chunk.L75F42ZU.js +0 -21
- package/dist/chunks/chunk.LDZNPU2T.js +0 -75
- package/dist/chunks/chunk.LEIQTV2L.js +0 -82
- package/dist/chunks/chunk.MD5MSAMT.js +0 -117
- package/dist/chunks/chunk.MIYXXMLB.js +0 -25
- package/dist/chunks/chunk.MPJHNR5Z.js +0 -11
- package/dist/chunks/chunk.MXXHCU7O.js +0 -11
- package/dist/chunks/chunk.MZM4L5SM.js +0 -11
- package/dist/chunks/chunk.N5H4L3UV.js +0 -21
- package/dist/chunks/chunk.NC6YOWH4.js +0 -27
- package/dist/chunks/chunk.NCJAEK4J.js +0 -11
- package/dist/chunks/chunk.NL6IHKV2.js +0 -21
- package/dist/chunks/chunk.NMP6U3G2.js +0 -22
- package/dist/chunks/chunk.NPTBUNDK.js +0 -11
- package/dist/chunks/chunk.NVOFMWPG.js +0 -73
- package/dist/chunks/chunk.O4L44QUN.js +0 -24
- package/dist/chunks/chunk.O6HFIWAA.js +0 -21
- package/dist/chunks/chunk.O7TV75SE.js +0 -213
- package/dist/chunks/chunk.OHV2SI2S.js +0 -11
- package/dist/chunks/chunk.OP4OBQAA.js +0 -25
- package/dist/chunks/chunk.P2RQFEMU.js +0 -11
- package/dist/chunks/chunk.P7T7FOE5.js +0 -961
- package/dist/chunks/chunk.PA4JVCSN.js +0 -11
- package/dist/chunks/chunk.PAOBXVAT.js +0 -11
- package/dist/chunks/chunk.PCCJSGYV.js +0 -11
- package/dist/chunks/chunk.PDNMI4RF.js +0 -274
- package/dist/chunks/chunk.PMFK4GLD.js +0 -11
- package/dist/chunks/chunk.PT77KAII.js +0 -25
- package/dist/chunks/chunk.PV2Y6T4G.js +0 -21
- package/dist/chunks/chunk.Q6VIDFKN.js +0 -33
- package/dist/chunks/chunk.QMTDXZSJ.js +0 -116
- package/dist/chunks/chunk.QTC7GAFZ.js +0 -11
- package/dist/chunks/chunk.R5U4J5ZX.js +0 -11
- package/dist/chunks/chunk.RCHVO5BU.js +0 -11
- package/dist/chunks/chunk.RGBGPSJY.js +0 -49
- package/dist/chunks/chunk.RKKW4FV2.js +0 -384
- package/dist/chunks/chunk.RLAVZQMK.js +0 -370
- package/dist/chunks/chunk.RN7BZPQ4.js +0 -44
- package/dist/chunks/chunk.S4TJW5AL.js +0 -21
- package/dist/chunks/chunk.SB7LKQKZ.js +0 -11
- package/dist/chunks/chunk.SILJFXYQ.js +0 -21
- package/dist/chunks/chunk.SJPL5DWG.js +0 -11
- package/dist/chunks/chunk.SJVLRJH4.js +0 -119
- package/dist/chunks/chunk.SXJFWD67.js +0 -21
- package/dist/chunks/chunk.SYRYMRUL.js +0 -231
- package/dist/chunks/chunk.T2VTUW4B.js +0 -227
- package/dist/chunks/chunk.T3GN4DLR.js +0 -50
- package/dist/chunks/chunk.T5JB6BN4.js +0 -26
- package/dist/chunks/chunk.T62FZLC2.js +0 -11
- package/dist/chunks/chunk.TBGGCI6E.js +0 -11
- package/dist/chunks/chunk.TECRUSQH.js +0 -27
- package/dist/chunks/chunk.TQCMER4O.js +0 -21
- package/dist/chunks/chunk.TUH2GJI5.js +0 -21
- package/dist/chunks/chunk.TUPFUUKJ.js +0 -25
- package/dist/chunks/chunk.U4A26HHQ.js +0 -11
- package/dist/chunks/chunk.U62LDBVA.js +0 -111
- package/dist/chunks/chunk.U67V6OSH.js +0 -896
- package/dist/chunks/chunk.U7R5JOFG.js +0 -94
- package/dist/chunks/chunk.UCI2WE4M.js +0 -11
- package/dist/chunks/chunk.UZRLTOEQ.js +0 -247
- package/dist/chunks/chunk.V3THGZWL.js +0 -28
- package/dist/chunks/chunk.V7PVKTVW.js +0 -142
- package/dist/chunks/chunk.VAAGB7RU.js +0 -11
- package/dist/chunks/chunk.VDPMDJGA.js +0 -24
- package/dist/chunks/chunk.VKGTIHMS.js +0 -21
- package/dist/chunks/chunk.VYOVK7BA.js +0 -949
- package/dist/chunks/chunk.WDLDVZW3.js +0 -11
- package/dist/chunks/chunk.WMHX7OZQ.js +0 -26
- package/dist/chunks/chunk.WOYQ5I6F.js +0 -11
- package/dist/chunks/chunk.WSFBE4H4.js +0 -26
- package/dist/chunks/chunk.XCRXZRGV.js +0 -134
- package/dist/chunks/chunk.XFFPNCES.js +0 -115
- package/dist/chunks/chunk.XMY3HVZA.js +0 -11
- package/dist/chunks/chunk.XP4FEI4M.js +0 -11
- package/dist/chunks/chunk.XQF762VL.js +0 -135
- package/dist/chunks/chunk.XQXAJ5FU.js +0 -11
- package/dist/chunks/chunk.XTBOWYQC.js +0 -11
- package/dist/chunks/chunk.XTDWTS2T.js +0 -85
- package/dist/chunks/chunk.XUIFIKTL.js +0 -100
- package/dist/chunks/chunk.XY4WIQPN.js +0 -550
- package/dist/chunks/chunk.XZVQSRZC.js +0 -109
- package/dist/chunks/chunk.YE63MSG4.js +0 -29
- package/dist/chunks/chunk.YFONFUQA.js +0 -21
- package/dist/chunks/chunk.YGOPRZT5.js +0 -28
- package/dist/chunks/chunk.YGVM7SPC.js +0 -11
- package/dist/chunks/chunk.YMKC5AO5.js +0 -11
- package/dist/chunks/chunk.Z5KSQILQ.js +0 -28
- package/dist/chunks/chunk.ZBA5Z7YW.js +0 -11
- package/dist/chunks/chunk.ZMAWTMUV.js +0 -11
- package/dist/chunks/chunk.ZMMF6C2X.js +0 -25
- package/dist/chunks/chunk.ZNTCWYKB.js +0 -24
- package/dist/chunks/chunk.ZYTFF3TR.js +0 -27
- package/dist/chunks/chunk.ZZQ6JNAT.js +0 -91
|
@@ -0,0 +1,844 @@
|
|
|
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
|
+
};
|