@esri/calcite-components 1.4.0-next.15 → 1.4.0-next.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/af.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/am.js +40 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +41 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +41 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +27 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +41 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar.js +74 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/az.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/be.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bg.js +55 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bi.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bm.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +81 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn.js +72 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bo.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/br.js +93 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bs.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ca.js +44 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cs.js +120 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cv.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cy.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/da.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-at.js +63 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-ch.js +63 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de.js +64 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/dv.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/el.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-au.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ca.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-gb.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ie.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-il.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-in.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-nz.js +41 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-sg.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-tt.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en.js +12 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eo.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-do.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-mx.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-pr.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-us.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/et.js +65 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eu.js +43 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fa.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fi.js +88 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fo.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr.js +41 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fy.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ga.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gd.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gl.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +25 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gu.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/he.js +78 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hi.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hr.js +53 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ht.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hu.js +61 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hy-am.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/id.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/is.js +68 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it-ch.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ja.js +45 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/jv.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ka.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kk.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/km.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kn.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ko.js +45 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ku.js +77 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ky.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lb.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lo.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lt.js +70 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lv.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/me.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mi.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mk.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ml.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mn.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mr.js +23 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms-my.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mt.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/my.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nb.js +40 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ne.js +40 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl-be.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl.js +40 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nn.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pa-in.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pl.js +87 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt-br.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt.js +40 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rn.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ro.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ru.js +99 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rw.js +35 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sd.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/se.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/si.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sk.js +121 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sl.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sq.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +74 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr.js +74 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ss.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +46 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv.js +44 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sw.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ta.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/te.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tet.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tg.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/th.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tk.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tlh.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tr.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzl.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uk.js +77 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ur.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/vi.js +43 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/yo.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +67 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +44 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +65 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh.js +67 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-095fbb9c.js → p-0277618c.js} +2 -2
- package/dist/calcite/{p-fa6923d6.js → p-0351d9cc.js} +1 -1
- package/dist/calcite/{p-723b5d57.entry.js → p-04f61853.entry.js} +2 -2
- package/dist/calcite/p-05c6a039.js +6 -0
- package/dist/calcite/{p-ef9a5d3b.entry.js → p-067a3f69.entry.js} +2 -2
- package/dist/calcite/{p-fc7e968f.entry.js → p-0beba072.entry.js} +2 -2
- package/dist/calcite/{p-1c64a43e.js → p-0c863081.js} +1 -1
- package/dist/calcite/{p-078d6125.entry.js → p-1547dd35.entry.js} +2 -2
- package/dist/calcite/{p-7cb7075d.js → p-18728d14.js} +2 -2
- package/dist/calcite/{p-813c2be6.js → p-1ea8f0fe.js} +2 -2
- package/dist/calcite/{p-ff929412.js → p-1f7ffee5.js} +2 -2
- package/dist/calcite/{p-ac57fd08.js → p-2111fbc3.js} +1 -1
- package/dist/calcite/{p-b518bfe5.entry.js → p-23aa6e59.entry.js} +2 -2
- package/dist/calcite/{p-eb6a719c.entry.js → p-27d590b1.entry.js} +2 -2
- package/dist/calcite/{p-2070426b.entry.js → p-290ef70e.entry.js} +2 -2
- package/dist/calcite/{p-f6c7f848.entry.js → p-2bfd4ac6.entry.js} +2 -2
- package/dist/calcite/{p-6d1c78c6.entry.js → p-30cd338f.entry.js} +2 -2
- package/dist/calcite/{p-36ba59b5.entry.js → p-31227f59.entry.js} +2 -2
- package/dist/calcite/{p-8b7ba09e.entry.js → p-33bf004c.entry.js} +2 -2
- package/dist/calcite/p-3455164c.js +6 -0
- package/dist/calcite/{p-942951dc.entry.js → p-3c0b7686.entry.js} +2 -2
- package/dist/calcite/{p-9ff06d7d.entry.js → p-3cf838da.entry.js} +2 -2
- package/dist/calcite/{p-fd91322a.js → p-3e8b5d77.js} +2 -2
- package/dist/calcite/{p-389364ac.js → p-4301c76a.js} +1 -1
- package/dist/calcite/{p-d6771d3f.entry.js → p-47067509.entry.js} +2 -2
- package/dist/calcite/{p-2a7a2dab.entry.js → p-48f73042.entry.js} +2 -2
- package/dist/calcite/{p-abbc9a4c.entry.js → p-49fe68e2.entry.js} +2 -2
- package/dist/calcite/{p-d0c901cb.entry.js → p-4a2c2c79.entry.js} +2 -2
- package/dist/calcite/{p-4f365c55.entry.js → p-4a7993f4.entry.js} +2 -2
- package/dist/calcite/{p-497e2df8.js → p-4b969718.js} +1 -1
- package/dist/calcite/{p-51b52626.entry.js → p-4f56cc1a.entry.js} +2 -2
- package/dist/calcite/{p-23bc8627.js → p-525e4cca.js} +1 -1
- package/dist/calcite/{p-8299bb39.entry.js → p-52651115.entry.js} +2 -2
- package/dist/calcite/{p-0755be9a.js → p-54881950.js} +2 -2
- package/dist/calcite/{p-de32f502.entry.js → p-5b77ced0.entry.js} +2 -2
- package/dist/calcite/{p-ab452c72.js → p-6010ff85.js} +2 -2
- package/dist/calcite/{p-f8f811bb.entry.js → p-61673f47.entry.js} +2 -2
- package/dist/calcite/{p-1d0edcf2.entry.js → p-638fc38b.entry.js} +2 -2
- package/dist/calcite/{p-fb688b5f.js → p-63e02de9.js} +1 -1
- package/dist/calcite/{p-c8bc99d8.entry.js → p-641219f4.entry.js} +2 -2
- package/dist/calcite/{p-e1754d5b.js → p-655a7f16.js} +2 -2
- package/dist/calcite/{p-03ebe28a.entry.js → p-6734907f.entry.js} +2 -2
- package/dist/calcite/{p-285d0db5.entry.js → p-6a2f5917.entry.js} +2 -2
- package/dist/calcite/{p-77cac495.entry.js → p-6ab42776.entry.js} +2 -2
- package/dist/calcite/{p-d8ba414c.entry.js → p-71895bb1.entry.js} +2 -2
- package/dist/calcite/{p-d499f213.entry.js → p-72e7c38f.entry.js} +2 -2
- package/dist/calcite/{p-509083d3.entry.js → p-73b5d396.entry.js} +2 -2
- package/dist/calcite/{p-0a5b5a74.entry.js → p-74b246d9.entry.js} +2 -2
- package/dist/calcite/{p-7eefc501.entry.js → p-751cb0a1.entry.js} +2 -2
- package/dist/calcite/{p-aceac04a.js → p-751cb1dd.js} +1 -1
- package/dist/calcite/{p-02df5871.entry.js → p-75859925.entry.js} +2 -2
- package/dist/calcite/{p-f9496bf8.js → p-767b434a.js} +1 -1
- package/dist/calcite/p-80935f8d.js +6 -0
- package/dist/calcite/{p-9c7997b7.entry.js → p-8137ba3e.entry.js} +2 -2
- package/dist/calcite/{p-70d114e8.entry.js → p-83ff7236.entry.js} +2 -2
- package/dist/calcite/{p-f1839118.entry.js → p-89dc4d82.entry.js} +2 -2
- package/dist/calcite/{p-1285cf8b.js → p-8b690f1c.js} +1 -1
- package/dist/calcite/{p-7ad3037f.entry.js → p-90274aea.entry.js} +2 -2
- package/dist/calcite/p-90424657.entry.js +6 -0
- package/dist/calcite/{p-f24dde3f.entry.js → p-919af7b6.entry.js} +2 -2
- package/dist/calcite/{p-792983c2.entry.js → p-93512e63.entry.js} +2 -2
- package/dist/calcite/{p-dfb043b0.entry.js → p-941883f9.entry.js} +2 -2
- package/dist/calcite/{p-6954918d.entry.js → p-9500d582.entry.js} +2 -2
- package/dist/calcite/p-95bfaf00.js +6 -0
- package/dist/calcite/{p-8b42ad57.js → p-974e1ec2.js} +1 -1
- package/dist/calcite/{p-f877d3e8.entry.js → p-9ce84574.entry.js} +2 -2
- package/dist/calcite/{p-0ea2ca75.js → p-9f3432bc.js} +1 -1
- package/dist/calcite/{p-6b0060f3.entry.js → p-a09111b0.entry.js} +2 -2
- package/dist/calcite/{p-696ecb2a.js → p-a5034525.js} +2 -2
- package/dist/calcite/{p-37324b1c.entry.js → p-a7eea6e0.entry.js} +2 -2
- package/dist/calcite/{p-c5ddb9fe.js → p-aa77ca77.js} +1 -1
- package/dist/calcite/{p-e3a49bb8.entry.js → p-ad587efe.entry.js} +2 -2
- package/dist/calcite/{p-33cea899.js → p-b43e6bcd.js} +2 -2
- package/dist/calcite/{p-fdaa6bed.entry.js → p-b7f288f9.entry.js} +2 -2
- package/dist/calcite/p-ba42e0c7.entry.js +6 -0
- package/dist/calcite/{p-8f87ceda.entry.js → p-bbd9bada.entry.js} +2 -2
- package/dist/calcite/{p-5b77aa9d.js → p-bcbe2e66.js} +1 -1
- package/dist/calcite/{p-0de1080c.entry.js → p-bdb39383.entry.js} +2 -2
- package/dist/calcite/{p-b52371fa.entry.js → p-bf4bc523.entry.js} +2 -2
- package/dist/calcite/{p-a2ccf37f.entry.js → p-c0f2906e.entry.js} +2 -2
- package/dist/calcite/p-c335f66c.entry.js +6 -0
- package/dist/calcite/{p-fddd3bb0.js → p-c6a450ac.js} +2 -2
- package/dist/calcite/{p-b7f1c41a.js → p-ca01e893.js} +1 -1
- package/dist/calcite/{p-34e90904.entry.js → p-cb8cc2ae.entry.js} +2 -2
- package/dist/calcite/{p-fbf56ac8.entry.js → p-ce58f7d7.entry.js} +2 -2
- package/dist/calcite/{p-c18fb42e.js → p-d7126b30.js} +1 -1
- package/dist/calcite/{p-37a3e4db.entry.js → p-d79bee90.entry.js} +2 -2
- package/dist/calcite/{p-41c9226d.entry.js → p-ddb757f8.entry.js} +2 -2
- package/dist/calcite/{p-37b3f9f2.entry.js → p-df227eee.entry.js} +2 -2
- package/dist/calcite/{p-54ddb46b.entry.js → p-e2856b56.entry.js} +2 -2
- package/dist/calcite/{p-2e6e3803.js → p-e57baa62.js} +1 -1
- package/dist/calcite/p-e9ca882b.entry.js +6 -0
- package/dist/calcite/p-ed14617d.js +6 -0
- package/dist/calcite/{p-c26b7719.entry.js → p-f536425b.entry.js} +2 -2
- package/dist/calcite/{p-3e74d103.js → p-f6769d95.js} +2 -2
- package/dist/calcite/{p-986d7d14.entry.js → p-fa172a75.entry.js} +2 -2
- package/dist/calcite/p-fae9b6ae.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-4964074d.js → ExpandToggle-21b87aff.js} +5 -5
- package/dist/cjs/{FloatingArrow-523c7403.js → FloatingArrow-b64770c5.js} +2 -2
- package/dist/cjs/{Heading-bf05a02a.js → Heading-8ec0e9a4.js} +2 -2
- package/dist/cjs/{app-globals-2e650af9.js → app-globals-7a40598d.js} +2 -2
- package/dist/cjs/{array-b64fa499.js → array-1885b314.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +1394 -139
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-d69c8fda.js → composed-offset-position.esm-29b10e84.js} +1 -1
- package/dist/cjs/{conditionalSlot-74be73a3.js → conditionalSlot-ff28b6c2.js} +3 -3
- package/dist/cjs/{debounce-27c45e5c.js → debounce-a6d3c360.js} +1 -1
- package/dist/cjs/{dom-b2504a19.js → dom-8103e5d3.js} +3 -3
- package/dist/cjs/{filter-f9cefdd8.js → filter-30a92dd5.js} +2 -2
- package/dist/cjs/{floating-ui-122d18e2.js → floating-ui-44c979d3.js} +4 -4
- package/dist/cjs/{focusTrapComponent-c1bc0bed.js → focusTrapComponent-e1962858.js} +2 -2
- package/dist/cjs/{form-e2463761.js → form-c33f638c.js} +3 -3
- package/dist/cjs/{guid-796bc06f.js → guid-ab357421.js} +1 -1
- package/dist/cjs/{index-ba11e876.js → index-a6397f75.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-fe8c2e65.js → interactive-9bcd6d9c.js} +1 -1
- package/dist/cjs/{key-08d15055.js → key-d3c0dbf4.js} +1 -1
- package/dist/cjs/{label-1185ba45.js → label-345ac153.js} +2 -2
- package/dist/cjs/{loadable-99b8d133.js → loadable-8ff80e11.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-be9685fe.js → locale-7ca4ffad.js} +4 -5
- package/dist/cjs/{math-1416c1a5.js → math-cabcb9bc.js} +1 -1
- package/dist/cjs/{observers-66e308ef.js → observers-cd7bfa1c.js} +1 -1
- package/dist/cjs/{openCloseComponent-71c634a5.js → openCloseComponent-a9038463.js} +2 -2
- package/dist/cjs/{resources-f6ea12a3.js → resources-236179cd.js} +5 -5
- package/dist/cjs/{resources-5e6e2b7b.js → resources-9a030531.js} +1 -1
- package/dist/cjs/{resources-a097ecc7.js → resources-9ed889ab.js} +1 -1
- package/dist/cjs/{resources-3ec80baa.js → resources-b683202a.js} +1 -1
- package/dist/cjs/{resources-9d40bb1e.js → resources-e5fde64b.js} +1 -1
- package/dist/cjs/{resources-58b84dd2.js → resources-f32ec864.js} +1 -1
- package/dist/cjs/{sortable.esm-74b36e3a.js → sortable.esm-e84187bc.js} +1 -1
- package/dist/cjs/{t9n-a35fc0f0.js → t9n-e37aefc9.js} +3 -3
- package/dist/cjs/{throttle-fe35ee40.js → throttle-09295850.js} +2 -2
- package/dist/cjs/{utils-e102b74c.js → utils-00ef0eb9.js} +3 -3
- package/dist/cjs/{utils-82495168.js → utils-a0a56adf.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/af.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/am.js +40 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +41 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +41 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +27 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +41 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar.js +74 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/az.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/be.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bg.js +55 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bi.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bm.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +81 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn.js +72 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bo.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/br.js +93 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bs.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ca.js +44 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cs.js +120 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cv.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cy.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/da.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-at.js +63 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-ch.js +63 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de.js +64 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/dv.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/el.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-au.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ca.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-gb.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ie.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-il.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-in.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-nz.js +41 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-sg.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-tt.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en.js +12 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eo.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-do.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-mx.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-pr.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-us.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/et.js +65 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eu.js +43 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fa.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fi.js +88 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fo.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr.js +41 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fy.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ga.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gd.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gl.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +25 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gu.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/he.js +78 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hi.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hr.js +53 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ht.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hu.js +61 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hy-am.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/id.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/is.js +68 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it-ch.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ja.js +45 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/jv.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ka.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kk.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/km.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kn.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ko.js +45 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ku.js +77 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ky.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lb.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lo.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lt.js +70 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lv.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/me.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mi.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mk.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ml.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mn.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mr.js +23 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms-my.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mt.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/my.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nb.js +40 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ne.js +40 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl-be.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl.js +40 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nn.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pa-in.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pl.js +87 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt-br.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt.js +40 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rn.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ro.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ru.js +99 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rw.js +35 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sd.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/se.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/si.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sk.js +121 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sl.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sq.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +74 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr.js +74 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ss.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +46 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv.js +44 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sw.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ta.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/te.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tet.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tg.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/th.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tk.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tlh.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tr.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzl.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uk.js +77 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ur.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/vi.js +43 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/yo.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +67 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +44 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +65 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh.js +67 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +270 -104
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +6 -3
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -2
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +12 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1320 -100
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -2
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +18 -4
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-90c08e90.js → ExpandToggle-9e199305.js} +5 -5
- package/dist/esm/{FloatingArrow-d2704880.js → FloatingArrow-d30e41d5.js} +2 -2
- package/dist/esm/{Heading-51f65ea7.js → Heading-d9ec2a7d.js} +2 -2
- package/dist/esm/{app-globals-c8353da5.js → app-globals-17e3c9c1.js} +2 -2
- package/dist/esm/{array-39e85e78.js → array-d9bde3f7.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +1347 -112
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +12 -12
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-1dcb821a.js → composed-offset-position.esm-4881170f.js} +1 -1
- package/dist/esm/{conditionalSlot-c0a2ecbd.js → conditionalSlot-abd32f3d.js} +3 -3
- package/dist/esm/{debounce-eb760c97.js → debounce-08574d11.js} +1 -1
- package/dist/esm/{dom-255c571e.js → dom-d5d734bd.js} +3 -3
- package/dist/esm/{filter-7ca09a76.js → filter-b75ecdca.js} +2 -2
- package/dist/esm/{floating-ui-186068e5.js → floating-ui-5bb808ed.js} +4 -4
- package/dist/esm/{focusTrapComponent-2b209cb1.js → focusTrapComponent-99045c04.js} +2 -2
- package/dist/esm/{form-368465b2.js → form-f65000a4.js} +3 -3
- package/dist/esm/{guid-fb5f74f7.js → guid-62b4a4f7.js} +1 -1
- package/dist/esm/{index-8274f2b3.js → index-7cd86b2f.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-d006c00f.js → interactive-57ca2112.js} +1 -1
- package/dist/esm/{key-c423f367.js → key-c1b3e626.js} +1 -1
- package/dist/esm/{label-71f9052a.js → label-a8a069a3.js} +2 -2
- package/dist/esm/{loadable-e4485246.js → loadable-a2065647.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-ec48f9fd.js → locale-2890210d.js} +4 -5
- package/dist/esm/{math-074762ab.js → math-b3aebb9d.js} +1 -1
- package/dist/esm/{observers-609d2ec6.js → observers-70580c98.js} +1 -1
- package/dist/esm/{openCloseComponent-962fbce0.js → openCloseComponent-91356b53.js} +2 -2
- package/dist/esm/{resources-dd3a21e6.js → resources-43ace532.js} +5 -5
- package/dist/esm/{resources-87a469f9.js → resources-57c4c301.js} +1 -1
- package/dist/esm/{resources-91b4e652.js → resources-6c7afda8.js} +1 -1
- package/dist/esm/{resources-b10a8747.js → resources-992a8ce3.js} +1 -1
- package/dist/esm/{resources-8fedc3fa.js → resources-a927420b.js} +1 -1
- package/dist/esm/{resources-df8977b4.js → resources-e1321a5a.js} +1 -1
- package/dist/esm/{sortable.esm-1fe57572.js → sortable.esm-c7bba34c.js} +1 -1
- package/dist/esm/{t9n-1ff5274f.js → t9n-c6c4c747.js} +3 -3
- package/dist/esm/{throttle-e4065614.js → throttle-5619e039.js} +2 -2
- package/dist/esm/{utils-9b81ae02.js → utils-ac238ffd.js} +3 -3
- package/dist/esm/{utils-7a634b60.js → utils-f874a9d1.js} +1 -1
- package/dist/extras/docs-json.json +2 -2
- package/dist/extras/vscode-data.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +24 -8
- package/dist/types/components.d.ts +2 -2
- package/dist/types/utils/time.d.ts +1 -0
- package/hydrate/index.js +1354 -101
- package/package.json +7 -3
- package/dist/calcite/p-0f895f5b.js +0 -6
- package/dist/calcite/p-141ee740.entry.js +0 -6
- package/dist/calcite/p-1597128c.js +0 -6
- package/dist/calcite/p-3b2fa38d.js +0 -6
- package/dist/calcite/p-95cdc2ce.entry.js +0 -6
- package/dist/calcite/p-96dbffb1.js +0 -6
- package/dist/calcite/p-d1d88d7e.js +0 -6
- package/dist/calcite/p-da225746.entry.js +0 -6
- package/dist/calcite/p-e9f8edb1.entry.js +0 -6
- package/dist/calcite/p-eb9ba591.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.16
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -4947,6 +4947,26 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
4947
4947
|
/*hydrateAppClosure start*/
|
|
4948
4948
|
|
|
4949
4949
|
|
|
4950
|
+
function _interopNamespace(e) {
|
|
4951
|
+
if (e && e.__esModule) return e;
|
|
4952
|
+
var n = Object.create(null);
|
|
4953
|
+
if (e) {
|
|
4954
|
+
Object.keys(e).forEach(function (k) {
|
|
4955
|
+
if (k !== 'default') {
|
|
4956
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
4957
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
4958
|
+
enumerable: true,
|
|
4959
|
+
get: function () {
|
|
4960
|
+
return e[k];
|
|
4961
|
+
}
|
|
4962
|
+
});
|
|
4963
|
+
}
|
|
4964
|
+
});
|
|
4965
|
+
}
|
|
4966
|
+
n['default'] = e;
|
|
4967
|
+
return Object.freeze(n);
|
|
4968
|
+
}
|
|
4969
|
+
|
|
4950
4970
|
const NAMESPACE = 'calcite';
|
|
4951
4971
|
const BUILD = /* calcite */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, cssVarShim: false, devTools: false, disconnectedCallback: true, dynamicImportShim: false, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, safari10: false, scoped: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
4952
4972
|
|
|
@@ -7564,7 +7584,6 @@ class NumberStringFormat {
|
|
|
7564
7584
|
// `numberFormatOptions` must be set in a component to create and cache the formatter.
|
|
7565
7585
|
this._numberFormatOptions
|
|
7566
7586
|
? sanitizeExponentialNumberString(numberString, (nonExpoNumString) => nonExpoNumString
|
|
7567
|
-
.trim()
|
|
7568
7587
|
.replace(new RegExp(`[${this._minusSign}]`, "g"), "-")
|
|
7569
7588
|
.replace(new RegExp(`[${this._group}]`, "g"), "")
|
|
7570
7589
|
.replace(new RegExp(`[${this._decimal}]`, "g"), ".")
|
|
@@ -25797,13 +25816,1091 @@ function parseTimeString(value) {
|
|
|
25797
25816
|
second: null
|
|
25798
25817
|
};
|
|
25799
25818
|
}
|
|
25819
|
+
function toISOTimeString(value, includeSeconds = true) {
|
|
25820
|
+
if (!isValidTime(value)) {
|
|
25821
|
+
return "";
|
|
25822
|
+
}
|
|
25823
|
+
const { hour, minute, second } = parseTimeString(value);
|
|
25824
|
+
let isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
|
|
25825
|
+
if (includeSeconds) {
|
|
25826
|
+
isoTimeString += `:${formatTimePart(parseInt((includeSeconds && second) || "0"))}`;
|
|
25827
|
+
}
|
|
25828
|
+
return isoTimeString;
|
|
25829
|
+
}
|
|
25800
25830
|
|
|
25801
25831
|
const CSS$v = {
|
|
25802
25832
|
toggleIcon: "toggle-icon"
|
|
25803
25833
|
};
|
|
25804
25834
|
|
|
25835
|
+
var SECONDS_A_MINUTE = 60;
|
|
25836
|
+
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
|
25837
|
+
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
|
25838
|
+
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
|
25839
|
+
var MILLISECONDS_A_SECOND = 1e3;
|
|
25840
|
+
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
|
25841
|
+
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
|
25842
|
+
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
|
25843
|
+
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
|
25844
|
+
|
|
25845
|
+
var MS = 'millisecond';
|
|
25846
|
+
var S = 'second';
|
|
25847
|
+
var MIN = 'minute';
|
|
25848
|
+
var H = 'hour';
|
|
25849
|
+
var D = 'day';
|
|
25850
|
+
var W = 'week';
|
|
25851
|
+
var M = 'month';
|
|
25852
|
+
var Q = 'quarter';
|
|
25853
|
+
var Y = 'year';
|
|
25854
|
+
var DATE = 'date';
|
|
25855
|
+
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
|
25856
|
+
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
|
25857
|
+
|
|
25858
|
+
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
|
25859
|
+
var REGEX_FORMAT = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
|
|
25860
|
+
|
|
25861
|
+
// English [en]
|
|
25862
|
+
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
|
25863
|
+
var en = {
|
|
25864
|
+
name: 'en',
|
|
25865
|
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
|
25866
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
|
25867
|
+
ordinal: function ordinal(n) {
|
|
25868
|
+
var s = ['th', 'st', 'nd', 'rd'];
|
|
25869
|
+
var v = n % 100;
|
|
25870
|
+
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
|
25871
|
+
}
|
|
25872
|
+
};
|
|
25873
|
+
|
|
25874
|
+
var padStart = function padStart(string, length, pad) {
|
|
25875
|
+
var s = String(string);
|
|
25876
|
+
if (!s || s.length >= length) return string;
|
|
25877
|
+
return "" + Array(length + 1 - s.length).join(pad) + string;
|
|
25878
|
+
};
|
|
25879
|
+
|
|
25880
|
+
var padZoneStr = function padZoneStr(instance) {
|
|
25881
|
+
var negMinutes = -instance.utcOffset();
|
|
25882
|
+
var minutes = Math.abs(negMinutes);
|
|
25883
|
+
var hourOffset = Math.floor(minutes / 60);
|
|
25884
|
+
var minuteOffset = minutes % 60;
|
|
25885
|
+
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
|
25886
|
+
};
|
|
25887
|
+
|
|
25888
|
+
var monthDiff = function monthDiff(a, b) {
|
|
25889
|
+
// function from moment.js in order to keep the same result
|
|
25890
|
+
if (a.date() < b.date()) return -monthDiff(b, a);
|
|
25891
|
+
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
|
25892
|
+
var anchor = a.clone().add(wholeMonthDiff, M);
|
|
25893
|
+
var c = b - anchor < 0;
|
|
25894
|
+
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
|
25895
|
+
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
|
25896
|
+
};
|
|
25897
|
+
|
|
25898
|
+
var absFloor = function absFloor(n) {
|
|
25899
|
+
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
|
25900
|
+
};
|
|
25901
|
+
|
|
25902
|
+
var prettyUnit = function prettyUnit(u) {
|
|
25903
|
+
var special = {
|
|
25904
|
+
M: M,
|
|
25905
|
+
y: Y,
|
|
25906
|
+
w: W,
|
|
25907
|
+
d: D,
|
|
25908
|
+
D: DATE,
|
|
25909
|
+
h: H,
|
|
25910
|
+
m: MIN,
|
|
25911
|
+
s: S,
|
|
25912
|
+
ms: MS,
|
|
25913
|
+
Q: Q
|
|
25914
|
+
};
|
|
25915
|
+
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
|
25916
|
+
};
|
|
25917
|
+
|
|
25918
|
+
var isUndefined = function isUndefined(s) {
|
|
25919
|
+
return s === undefined;
|
|
25920
|
+
};
|
|
25921
|
+
|
|
25922
|
+
var U = {
|
|
25923
|
+
s: padStart,
|
|
25924
|
+
z: padZoneStr,
|
|
25925
|
+
m: monthDiff,
|
|
25926
|
+
a: absFloor,
|
|
25927
|
+
p: prettyUnit,
|
|
25928
|
+
u: isUndefined
|
|
25929
|
+
};
|
|
25930
|
+
|
|
25931
|
+
var L = 'en'; // global locale
|
|
25932
|
+
|
|
25933
|
+
var Ls = {}; // global loaded locale
|
|
25934
|
+
|
|
25935
|
+
Ls[L] = en;
|
|
25936
|
+
|
|
25937
|
+
var isDayjs = function isDayjs(d) {
|
|
25938
|
+
return d instanceof Dayjs;
|
|
25939
|
+
}; // eslint-disable-line no-use-before-define
|
|
25940
|
+
|
|
25941
|
+
|
|
25942
|
+
var parseLocale = function parseLocale(preset, object, isLocal) {
|
|
25943
|
+
var l;
|
|
25944
|
+
if (!preset) return L;
|
|
25945
|
+
|
|
25946
|
+
if (typeof preset === 'string') {
|
|
25947
|
+
var presetLower = preset.toLowerCase();
|
|
25948
|
+
|
|
25949
|
+
if (Ls[presetLower]) {
|
|
25950
|
+
l = presetLower;
|
|
25951
|
+
}
|
|
25952
|
+
|
|
25953
|
+
if (object) {
|
|
25954
|
+
Ls[presetLower] = object;
|
|
25955
|
+
l = presetLower;
|
|
25956
|
+
}
|
|
25957
|
+
|
|
25958
|
+
var presetSplit = preset.split('-');
|
|
25959
|
+
|
|
25960
|
+
if (!l && presetSplit.length > 1) {
|
|
25961
|
+
return parseLocale(presetSplit[0]);
|
|
25962
|
+
}
|
|
25963
|
+
} else {
|
|
25964
|
+
var name = preset.name;
|
|
25965
|
+
Ls[name] = preset;
|
|
25966
|
+
l = name;
|
|
25967
|
+
}
|
|
25968
|
+
|
|
25969
|
+
if (!isLocal && l) L = l;
|
|
25970
|
+
return l || !isLocal && L;
|
|
25971
|
+
};
|
|
25972
|
+
|
|
25973
|
+
var dayjs = function dayjs(date, c) {
|
|
25974
|
+
if (isDayjs(date)) {
|
|
25975
|
+
return date.clone();
|
|
25976
|
+
} // eslint-disable-next-line no-nested-ternary
|
|
25977
|
+
|
|
25978
|
+
|
|
25979
|
+
var cfg = typeof c === 'object' ? c : {};
|
|
25980
|
+
cfg.date = date;
|
|
25981
|
+
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
|
25982
|
+
|
|
25983
|
+
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
|
25984
|
+
};
|
|
25985
|
+
|
|
25986
|
+
var wrapper = function wrapper(date, instance) {
|
|
25987
|
+
return dayjs(date, {
|
|
25988
|
+
locale: instance.$L,
|
|
25989
|
+
utc: instance.$u,
|
|
25990
|
+
x: instance.$x,
|
|
25991
|
+
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
|
25992
|
+
|
|
25993
|
+
});
|
|
25994
|
+
};
|
|
25995
|
+
|
|
25996
|
+
var Utils = U; // for plugin use
|
|
25997
|
+
|
|
25998
|
+
Utils.l = parseLocale;
|
|
25999
|
+
Utils.i = isDayjs;
|
|
26000
|
+
Utils.w = wrapper;
|
|
26001
|
+
|
|
26002
|
+
var parseDate = function parseDate(cfg) {
|
|
26003
|
+
var date = cfg.date,
|
|
26004
|
+
utc = cfg.utc;
|
|
26005
|
+
if (date === null) return new Date(NaN); // null is invalid
|
|
26006
|
+
|
|
26007
|
+
if (Utils.u(date)) return new Date(); // today
|
|
26008
|
+
|
|
26009
|
+
if (date instanceof Date) return new Date(date);
|
|
26010
|
+
|
|
26011
|
+
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
|
26012
|
+
var d = date.match(REGEX_PARSE);
|
|
26013
|
+
|
|
26014
|
+
if (d) {
|
|
26015
|
+
var m = d[2] - 1 || 0;
|
|
26016
|
+
var ms = (d[7] || '0').substring(0, 3);
|
|
26017
|
+
|
|
26018
|
+
if (utc) {
|
|
26019
|
+
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
|
26020
|
+
}
|
|
26021
|
+
|
|
26022
|
+
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
|
26023
|
+
}
|
|
26024
|
+
}
|
|
26025
|
+
|
|
26026
|
+
return new Date(date); // everything else
|
|
26027
|
+
};
|
|
26028
|
+
|
|
26029
|
+
var Dayjs = /*#__PURE__*/function () {
|
|
26030
|
+
function Dayjs(cfg) {
|
|
26031
|
+
this.$L = parseLocale(cfg.locale, null, true);
|
|
26032
|
+
this.parse(cfg); // for plugin
|
|
26033
|
+
}
|
|
26034
|
+
|
|
26035
|
+
var _proto = Dayjs.prototype;
|
|
26036
|
+
|
|
26037
|
+
_proto.parse = function parse(cfg) {
|
|
26038
|
+
this.$d = parseDate(cfg);
|
|
26039
|
+
this.$x = cfg.x || {};
|
|
26040
|
+
this.init();
|
|
26041
|
+
};
|
|
26042
|
+
|
|
26043
|
+
_proto.init = function init() {
|
|
26044
|
+
var $d = this.$d;
|
|
26045
|
+
this.$y = $d.getFullYear();
|
|
26046
|
+
this.$M = $d.getMonth();
|
|
26047
|
+
this.$D = $d.getDate();
|
|
26048
|
+
this.$W = $d.getDay();
|
|
26049
|
+
this.$H = $d.getHours();
|
|
26050
|
+
this.$m = $d.getMinutes();
|
|
26051
|
+
this.$s = $d.getSeconds();
|
|
26052
|
+
this.$ms = $d.getMilliseconds();
|
|
26053
|
+
} // eslint-disable-next-line class-methods-use-this
|
|
26054
|
+
;
|
|
26055
|
+
|
|
26056
|
+
_proto.$utils = function $utils() {
|
|
26057
|
+
return Utils;
|
|
26058
|
+
};
|
|
26059
|
+
|
|
26060
|
+
_proto.isValid = function isValid() {
|
|
26061
|
+
return !(this.$d.toString() === INVALID_DATE_STRING);
|
|
26062
|
+
};
|
|
26063
|
+
|
|
26064
|
+
_proto.isSame = function isSame(that, units) {
|
|
26065
|
+
var other = dayjs(that);
|
|
26066
|
+
return this.startOf(units) <= other && other <= this.endOf(units);
|
|
26067
|
+
};
|
|
26068
|
+
|
|
26069
|
+
_proto.isAfter = function isAfter(that, units) {
|
|
26070
|
+
return dayjs(that) < this.startOf(units);
|
|
26071
|
+
};
|
|
26072
|
+
|
|
26073
|
+
_proto.isBefore = function isBefore(that, units) {
|
|
26074
|
+
return this.endOf(units) < dayjs(that);
|
|
26075
|
+
};
|
|
26076
|
+
|
|
26077
|
+
_proto.$g = function $g(input, get, set) {
|
|
26078
|
+
if (Utils.u(input)) return this[get];
|
|
26079
|
+
return this.set(set, input);
|
|
26080
|
+
};
|
|
26081
|
+
|
|
26082
|
+
_proto.unix = function unix() {
|
|
26083
|
+
return Math.floor(this.valueOf() / 1000);
|
|
26084
|
+
};
|
|
26085
|
+
|
|
26086
|
+
_proto.valueOf = function valueOf() {
|
|
26087
|
+
// timezone(hour) * 60 * 60 * 1000 => ms
|
|
26088
|
+
return this.$d.getTime();
|
|
26089
|
+
};
|
|
26090
|
+
|
|
26091
|
+
_proto.startOf = function startOf(units, _startOf) {
|
|
26092
|
+
var _this = this;
|
|
26093
|
+
|
|
26094
|
+
// startOf -> endOf
|
|
26095
|
+
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
|
26096
|
+
var unit = Utils.p(units);
|
|
26097
|
+
|
|
26098
|
+
var instanceFactory = function instanceFactory(d, m) {
|
|
26099
|
+
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
|
26100
|
+
return isStartOf ? ins : ins.endOf(D);
|
|
26101
|
+
};
|
|
26102
|
+
|
|
26103
|
+
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
|
26104
|
+
var argumentStart = [0, 0, 0, 0];
|
|
26105
|
+
var argumentEnd = [23, 59, 59, 999];
|
|
26106
|
+
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
|
26107
|
+
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
|
26108
|
+
};
|
|
26109
|
+
|
|
26110
|
+
var $W = this.$W,
|
|
26111
|
+
$M = this.$M,
|
|
26112
|
+
$D = this.$D;
|
|
26113
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
26114
|
+
|
|
26115
|
+
switch (unit) {
|
|
26116
|
+
case Y:
|
|
26117
|
+
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
|
26118
|
+
|
|
26119
|
+
case M:
|
|
26120
|
+
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
|
26121
|
+
|
|
26122
|
+
case W:
|
|
26123
|
+
{
|
|
26124
|
+
var weekStart = this.$locale().weekStart || 0;
|
|
26125
|
+
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
|
26126
|
+
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
|
26127
|
+
}
|
|
26128
|
+
|
|
26129
|
+
case D:
|
|
26130
|
+
case DATE:
|
|
26131
|
+
return instanceFactorySet(utcPad + "Hours", 0);
|
|
26132
|
+
|
|
26133
|
+
case H:
|
|
26134
|
+
return instanceFactorySet(utcPad + "Minutes", 1);
|
|
26135
|
+
|
|
26136
|
+
case MIN:
|
|
26137
|
+
return instanceFactorySet(utcPad + "Seconds", 2);
|
|
26138
|
+
|
|
26139
|
+
case S:
|
|
26140
|
+
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
|
26141
|
+
|
|
26142
|
+
default:
|
|
26143
|
+
return this.clone();
|
|
26144
|
+
}
|
|
26145
|
+
};
|
|
26146
|
+
|
|
26147
|
+
_proto.endOf = function endOf(arg) {
|
|
26148
|
+
return this.startOf(arg, false);
|
|
26149
|
+
};
|
|
26150
|
+
|
|
26151
|
+
_proto.$set = function $set(units, _int) {
|
|
26152
|
+
var _C$D$C$DATE$C$M$C$Y$C;
|
|
26153
|
+
|
|
26154
|
+
// private set
|
|
26155
|
+
var unit = Utils.p(units);
|
|
26156
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
26157
|
+
var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
|
|
26158
|
+
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
|
26159
|
+
|
|
26160
|
+
if (unit === M || unit === Y) {
|
|
26161
|
+
// clone is for badMutable plugin
|
|
26162
|
+
var date = this.clone().set(DATE, 1);
|
|
26163
|
+
date.$d[name](arg);
|
|
26164
|
+
date.init();
|
|
26165
|
+
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
|
26166
|
+
} else if (name) this.$d[name](arg);
|
|
26167
|
+
|
|
26168
|
+
this.init();
|
|
26169
|
+
return this;
|
|
26170
|
+
};
|
|
26171
|
+
|
|
26172
|
+
_proto.set = function set(string, _int2) {
|
|
26173
|
+
return this.clone().$set(string, _int2);
|
|
26174
|
+
};
|
|
26175
|
+
|
|
26176
|
+
_proto.get = function get(unit) {
|
|
26177
|
+
return this[Utils.p(unit)]();
|
|
26178
|
+
};
|
|
26179
|
+
|
|
26180
|
+
_proto.add = function add(number, units) {
|
|
26181
|
+
var _this2 = this,
|
|
26182
|
+
_C$MIN$C$H$C$S$unit;
|
|
26183
|
+
|
|
26184
|
+
number = Number(number); // eslint-disable-line no-param-reassign
|
|
26185
|
+
|
|
26186
|
+
var unit = Utils.p(units);
|
|
26187
|
+
|
|
26188
|
+
var instanceFactorySet = function instanceFactorySet(n) {
|
|
26189
|
+
var d = dayjs(_this2);
|
|
26190
|
+
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
|
26191
|
+
};
|
|
26192
|
+
|
|
26193
|
+
if (unit === M) {
|
|
26194
|
+
return this.set(M, this.$M + number);
|
|
26195
|
+
}
|
|
26196
|
+
|
|
26197
|
+
if (unit === Y) {
|
|
26198
|
+
return this.set(Y, this.$y + number);
|
|
26199
|
+
}
|
|
26200
|
+
|
|
26201
|
+
if (unit === D) {
|
|
26202
|
+
return instanceFactorySet(1);
|
|
26203
|
+
}
|
|
26204
|
+
|
|
26205
|
+
if (unit === W) {
|
|
26206
|
+
return instanceFactorySet(7);
|
|
26207
|
+
}
|
|
26208
|
+
|
|
26209
|
+
var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms
|
|
26210
|
+
|
|
26211
|
+
var nextTimeStamp = this.$d.getTime() + number * step;
|
|
26212
|
+
return Utils.w(nextTimeStamp, this);
|
|
26213
|
+
};
|
|
26214
|
+
|
|
26215
|
+
_proto.subtract = function subtract(number, string) {
|
|
26216
|
+
return this.add(number * -1, string);
|
|
26217
|
+
};
|
|
26218
|
+
|
|
26219
|
+
_proto.format = function format(formatStr) {
|
|
26220
|
+
var _this3 = this;
|
|
26221
|
+
|
|
26222
|
+
var locale = this.$locale();
|
|
26223
|
+
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
|
26224
|
+
var str = formatStr || FORMAT_DEFAULT;
|
|
26225
|
+
var zoneStr = Utils.z(this);
|
|
26226
|
+
var $H = this.$H,
|
|
26227
|
+
$m = this.$m,
|
|
26228
|
+
$M = this.$M;
|
|
26229
|
+
var weekdays = locale.weekdays,
|
|
26230
|
+
months = locale.months,
|
|
26231
|
+
meridiem = locale.meridiem;
|
|
26232
|
+
|
|
26233
|
+
var getShort = function getShort(arr, index, full, length) {
|
|
26234
|
+
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
|
26235
|
+
};
|
|
26236
|
+
|
|
26237
|
+
var get$H = function get$H(num) {
|
|
26238
|
+
return Utils.s($H % 12 || 12, num, '0');
|
|
26239
|
+
};
|
|
26240
|
+
|
|
26241
|
+
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
|
26242
|
+
var m = hour < 12 ? 'AM' : 'PM';
|
|
26243
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
26244
|
+
};
|
|
26245
|
+
|
|
26246
|
+
var matches = {
|
|
26247
|
+
YY: String(this.$y).slice(-2),
|
|
26248
|
+
YYYY: this.$y,
|
|
26249
|
+
M: $M + 1,
|
|
26250
|
+
MM: Utils.s($M + 1, 2, '0'),
|
|
26251
|
+
MMM: getShort(locale.monthsShort, $M, months, 3),
|
|
26252
|
+
MMMM: getShort(months, $M),
|
|
26253
|
+
D: this.$D,
|
|
26254
|
+
DD: Utils.s(this.$D, 2, '0'),
|
|
26255
|
+
d: String(this.$W),
|
|
26256
|
+
dd: getShort(locale.weekdaysMin, this.$W, weekdays, 2),
|
|
26257
|
+
ddd: getShort(locale.weekdaysShort, this.$W, weekdays, 3),
|
|
26258
|
+
dddd: weekdays[this.$W],
|
|
26259
|
+
H: String($H),
|
|
26260
|
+
HH: Utils.s($H, 2, '0'),
|
|
26261
|
+
h: get$H(1),
|
|
26262
|
+
hh: get$H(2),
|
|
26263
|
+
a: meridiemFunc($H, $m, true),
|
|
26264
|
+
A: meridiemFunc($H, $m, false),
|
|
26265
|
+
m: String($m),
|
|
26266
|
+
mm: Utils.s($m, 2, '0'),
|
|
26267
|
+
s: String(this.$s),
|
|
26268
|
+
ss: Utils.s(this.$s, 2, '0'),
|
|
26269
|
+
SSS: Utils.s(this.$ms, 3, '0'),
|
|
26270
|
+
Z: zoneStr // 'ZZ' logic below
|
|
26271
|
+
|
|
26272
|
+
};
|
|
26273
|
+
return str.replace(REGEX_FORMAT, function (match, $1) {
|
|
26274
|
+
return $1 || matches[match] || zoneStr.replace(':', '');
|
|
26275
|
+
}); // 'ZZ'
|
|
26276
|
+
};
|
|
26277
|
+
|
|
26278
|
+
_proto.utcOffset = function utcOffset() {
|
|
26279
|
+
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
|
26280
|
+
// https://github.com/moment/moment/pull/1871
|
|
26281
|
+
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
|
26282
|
+
};
|
|
26283
|
+
|
|
26284
|
+
_proto.diff = function diff(input, units, _float) {
|
|
26285
|
+
var _C$Y$C$M$C$Q$C$W$C$D$;
|
|
26286
|
+
|
|
26287
|
+
var unit = Utils.p(units);
|
|
26288
|
+
var that = dayjs(input);
|
|
26289
|
+
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
|
26290
|
+
var diff = this - that;
|
|
26291
|
+
var result = Utils.m(this, that);
|
|
26292
|
+
result = (_C$Y$C$M$C$Q$C$W$C$D$ = {}, _C$Y$C$M$C$Q$C$W$C$D$[Y] = result / 12, _C$Y$C$M$C$Q$C$W$C$D$[M] = result, _C$Y$C$M$C$Q$C$W$C$D$[Q] = result / 3, _C$Y$C$M$C$Q$C$W$C$D$[W] = (diff - zoneDelta) / MILLISECONDS_A_WEEK, _C$Y$C$M$C$Q$C$W$C$D$[D] = (diff - zoneDelta) / MILLISECONDS_A_DAY, _C$Y$C$M$C$Q$C$W$C$D$[H] = diff / MILLISECONDS_A_HOUR, _C$Y$C$M$C$Q$C$W$C$D$[MIN] = diff / MILLISECONDS_A_MINUTE, _C$Y$C$M$C$Q$C$W$C$D$[S] = diff / MILLISECONDS_A_SECOND, _C$Y$C$M$C$Q$C$W$C$D$)[unit] || diff; // milliseconds
|
|
26293
|
+
|
|
26294
|
+
return _float ? result : Utils.a(result);
|
|
26295
|
+
};
|
|
26296
|
+
|
|
26297
|
+
_proto.daysInMonth = function daysInMonth() {
|
|
26298
|
+
return this.endOf(M).$D;
|
|
26299
|
+
};
|
|
26300
|
+
|
|
26301
|
+
_proto.$locale = function $locale() {
|
|
26302
|
+
// get locale object
|
|
26303
|
+
return Ls[this.$L];
|
|
26304
|
+
};
|
|
26305
|
+
|
|
26306
|
+
_proto.locale = function locale(preset, object) {
|
|
26307
|
+
if (!preset) return this.$L;
|
|
26308
|
+
var that = this.clone();
|
|
26309
|
+
var nextLocaleName = parseLocale(preset, object, true);
|
|
26310
|
+
if (nextLocaleName) that.$L = nextLocaleName;
|
|
26311
|
+
return that;
|
|
26312
|
+
};
|
|
26313
|
+
|
|
26314
|
+
_proto.clone = function clone() {
|
|
26315
|
+
return Utils.w(this.$d, this);
|
|
26316
|
+
};
|
|
26317
|
+
|
|
26318
|
+
_proto.toDate = function toDate() {
|
|
26319
|
+
return new Date(this.valueOf());
|
|
26320
|
+
};
|
|
26321
|
+
|
|
26322
|
+
_proto.toJSON = function toJSON() {
|
|
26323
|
+
return this.isValid() ? this.toISOString() : null;
|
|
26324
|
+
};
|
|
26325
|
+
|
|
26326
|
+
_proto.toISOString = function toISOString() {
|
|
26327
|
+
// ie 8 return
|
|
26328
|
+
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
|
26329
|
+
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
|
26330
|
+
return this.$d.toISOString();
|
|
26331
|
+
};
|
|
26332
|
+
|
|
26333
|
+
_proto.toString = function toString() {
|
|
26334
|
+
return this.$d.toUTCString();
|
|
26335
|
+
};
|
|
26336
|
+
|
|
26337
|
+
return Dayjs;
|
|
26338
|
+
}();
|
|
26339
|
+
|
|
26340
|
+
var proto = Dayjs.prototype;
|
|
26341
|
+
dayjs.prototype = proto;
|
|
26342
|
+
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
|
26343
|
+
proto[g[1]] = function (input) {
|
|
26344
|
+
return this.$g(input, g[0], g[1]);
|
|
26345
|
+
};
|
|
26346
|
+
});
|
|
26347
|
+
|
|
26348
|
+
dayjs.extend = function (plugin, option) {
|
|
26349
|
+
if (!plugin.$i) {
|
|
26350
|
+
// install plugin only once
|
|
26351
|
+
plugin(option, Dayjs, dayjs);
|
|
26352
|
+
plugin.$i = true;
|
|
26353
|
+
}
|
|
26354
|
+
|
|
26355
|
+
return dayjs;
|
|
26356
|
+
};
|
|
26357
|
+
|
|
26358
|
+
dayjs.locale = parseLocale;
|
|
26359
|
+
dayjs.isDayjs = isDayjs;
|
|
26360
|
+
|
|
26361
|
+
dayjs.unix = function (timestamp) {
|
|
26362
|
+
return dayjs(timestamp * 1e3);
|
|
26363
|
+
};
|
|
26364
|
+
|
|
26365
|
+
dayjs.en = Ls[L];
|
|
26366
|
+
dayjs.Ls = Ls;
|
|
26367
|
+
dayjs.p = {};
|
|
26368
|
+
|
|
26369
|
+
// eslint-disable-next-line import/prefer-default-export
|
|
26370
|
+
var t = function t(format) {
|
|
26371
|
+
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
|
26372
|
+
return a || b.slice(1);
|
|
26373
|
+
});
|
|
26374
|
+
};
|
|
26375
|
+
var englishFormats = {
|
|
26376
|
+
LTS: 'h:mm:ss A',
|
|
26377
|
+
LT: 'h:mm A',
|
|
26378
|
+
L: 'MM/DD/YYYY',
|
|
26379
|
+
LL: 'MMMM D, YYYY',
|
|
26380
|
+
LLL: 'MMMM D, YYYY h:mm A',
|
|
26381
|
+
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
|
26382
|
+
};
|
|
26383
|
+
var u = function u(formatStr, formats) {
|
|
26384
|
+
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
|
26385
|
+
var B = b && b.toUpperCase();
|
|
26386
|
+
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
|
26387
|
+
});
|
|
26388
|
+
};
|
|
26389
|
+
|
|
26390
|
+
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
|
26391
|
+
var match1 = /\d/; // 0 - 9
|
|
26392
|
+
|
|
26393
|
+
var match2 = /\d\d/; // 00 - 99
|
|
26394
|
+
|
|
26395
|
+
var match3 = /\d{3}/; // 000 - 999
|
|
26396
|
+
|
|
26397
|
+
var match4 = /\d{4}/; // 0000 - 9999
|
|
26398
|
+
|
|
26399
|
+
var match1to2 = /\d\d?/; // 0 - 99
|
|
26400
|
+
|
|
26401
|
+
var matchSigned = /[+-]?\d+/; // -inf - inf
|
|
26402
|
+
|
|
26403
|
+
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
|
26404
|
+
|
|
26405
|
+
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
|
26406
|
+
|
|
26407
|
+
var locale = {};
|
|
26408
|
+
|
|
26409
|
+
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
|
26410
|
+
input = +input;
|
|
26411
|
+
return input + (input > 68 ? 1900 : 2000);
|
|
26412
|
+
};
|
|
26413
|
+
|
|
26414
|
+
function offsetFromString(string) {
|
|
26415
|
+
if (!string) return 0;
|
|
26416
|
+
if (string === 'Z') return 0;
|
|
26417
|
+
var parts = string.match(/([+-]|\d\d)/g);
|
|
26418
|
+
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
|
26419
|
+
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
|
26420
|
+
}
|
|
26421
|
+
|
|
26422
|
+
var addInput = function addInput(property) {
|
|
26423
|
+
return function (input) {
|
|
26424
|
+
this[property] = +input;
|
|
26425
|
+
};
|
|
26426
|
+
};
|
|
26427
|
+
|
|
26428
|
+
var zoneExpressions = [matchOffset, function (input) {
|
|
26429
|
+
var zone = this.zone || (this.zone = {});
|
|
26430
|
+
zone.offset = offsetFromString(input);
|
|
26431
|
+
}];
|
|
26432
|
+
|
|
26433
|
+
var getLocalePart = function getLocalePart(name) {
|
|
26434
|
+
var part = locale[name];
|
|
26435
|
+
return part && (part.indexOf ? part : part.s.concat(part.f));
|
|
26436
|
+
};
|
|
26437
|
+
|
|
26438
|
+
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
|
26439
|
+
var isAfternoon;
|
|
26440
|
+
var _locale = locale,
|
|
26441
|
+
meridiem = _locale.meridiem;
|
|
26442
|
+
|
|
26443
|
+
if (!meridiem) {
|
|
26444
|
+
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
|
26445
|
+
} else {
|
|
26446
|
+
for (var i = 1; i <= 24; i += 1) {
|
|
26447
|
+
// todo: fix input === meridiem(i, 0, isLowerCase)
|
|
26448
|
+
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
|
26449
|
+
isAfternoon = i > 12;
|
|
26450
|
+
break;
|
|
26451
|
+
}
|
|
26452
|
+
}
|
|
26453
|
+
}
|
|
26454
|
+
|
|
26455
|
+
return isAfternoon;
|
|
26456
|
+
};
|
|
26457
|
+
|
|
26458
|
+
var expressions = {
|
|
26459
|
+
A: [matchWord, function (input) {
|
|
26460
|
+
this.afternoon = meridiemMatch(input, false);
|
|
26461
|
+
}],
|
|
26462
|
+
a: [matchWord, function (input) {
|
|
26463
|
+
this.afternoon = meridiemMatch(input, true);
|
|
26464
|
+
}],
|
|
26465
|
+
S: [match1, function (input) {
|
|
26466
|
+
this.milliseconds = +input * 100;
|
|
26467
|
+
}],
|
|
26468
|
+
SS: [match2, function (input) {
|
|
26469
|
+
this.milliseconds = +input * 10;
|
|
26470
|
+
}],
|
|
26471
|
+
SSS: [match3, function (input) {
|
|
26472
|
+
this.milliseconds = +input;
|
|
26473
|
+
}],
|
|
26474
|
+
s: [match1to2, addInput('seconds')],
|
|
26475
|
+
ss: [match1to2, addInput('seconds')],
|
|
26476
|
+
m: [match1to2, addInput('minutes')],
|
|
26477
|
+
mm: [match1to2, addInput('minutes')],
|
|
26478
|
+
H: [match1to2, addInput('hours')],
|
|
26479
|
+
h: [match1to2, addInput('hours')],
|
|
26480
|
+
HH: [match1to2, addInput('hours')],
|
|
26481
|
+
hh: [match1to2, addInput('hours')],
|
|
26482
|
+
D: [match1to2, addInput('day')],
|
|
26483
|
+
DD: [match2, addInput('day')],
|
|
26484
|
+
Do: [matchWord, function (input) {
|
|
26485
|
+
var _locale2 = locale,
|
|
26486
|
+
ordinal = _locale2.ordinal;
|
|
26487
|
+
|
|
26488
|
+
var _input$match = input.match(/\d+/);
|
|
26489
|
+
|
|
26490
|
+
this.day = _input$match[0];
|
|
26491
|
+
if (!ordinal) return;
|
|
26492
|
+
|
|
26493
|
+
for (var i = 1; i <= 31; i += 1) {
|
|
26494
|
+
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
|
26495
|
+
this.day = i;
|
|
26496
|
+
}
|
|
26497
|
+
}
|
|
26498
|
+
}],
|
|
26499
|
+
M: [match1to2, addInput('month')],
|
|
26500
|
+
MM: [match2, addInput('month')],
|
|
26501
|
+
MMM: [matchWord, function (input) {
|
|
26502
|
+
var months = getLocalePart('months');
|
|
26503
|
+
var monthsShort = getLocalePart('monthsShort');
|
|
26504
|
+
var matchIndex = (monthsShort || months.map(function (_) {
|
|
26505
|
+
return _.slice(0, 3);
|
|
26506
|
+
})).indexOf(input) + 1;
|
|
26507
|
+
|
|
26508
|
+
if (matchIndex < 1) {
|
|
26509
|
+
throw new Error();
|
|
26510
|
+
}
|
|
26511
|
+
|
|
26512
|
+
this.month = matchIndex % 12 || matchIndex;
|
|
26513
|
+
}],
|
|
26514
|
+
MMMM: [matchWord, function (input) {
|
|
26515
|
+
var months = getLocalePart('months');
|
|
26516
|
+
var matchIndex = months.indexOf(input) + 1;
|
|
26517
|
+
|
|
26518
|
+
if (matchIndex < 1) {
|
|
26519
|
+
throw new Error();
|
|
26520
|
+
}
|
|
26521
|
+
|
|
26522
|
+
this.month = matchIndex % 12 || matchIndex;
|
|
26523
|
+
}],
|
|
26524
|
+
Y: [matchSigned, addInput('year')],
|
|
26525
|
+
YY: [match2, function (input) {
|
|
26526
|
+
this.year = parseTwoDigitYear(input);
|
|
26527
|
+
}],
|
|
26528
|
+
YYYY: [match4, addInput('year')],
|
|
26529
|
+
Z: zoneExpressions,
|
|
26530
|
+
ZZ: zoneExpressions
|
|
26531
|
+
};
|
|
26532
|
+
|
|
26533
|
+
function correctHours(time) {
|
|
26534
|
+
var afternoon = time.afternoon;
|
|
26535
|
+
|
|
26536
|
+
if (afternoon !== undefined) {
|
|
26537
|
+
var hours = time.hours;
|
|
26538
|
+
|
|
26539
|
+
if (afternoon) {
|
|
26540
|
+
if (hours < 12) {
|
|
26541
|
+
time.hours += 12;
|
|
26542
|
+
}
|
|
26543
|
+
} else if (hours === 12) {
|
|
26544
|
+
time.hours = 0;
|
|
26545
|
+
}
|
|
26546
|
+
|
|
26547
|
+
delete time.afternoon;
|
|
26548
|
+
}
|
|
26549
|
+
}
|
|
26550
|
+
|
|
26551
|
+
function makeParser(format) {
|
|
26552
|
+
format = u(format, locale && locale.formats);
|
|
26553
|
+
var array = format.match(formattingTokens);
|
|
26554
|
+
var length = array.length;
|
|
26555
|
+
|
|
26556
|
+
for (var i = 0; i < length; i += 1) {
|
|
26557
|
+
var token = array[i];
|
|
26558
|
+
var parseTo = expressions[token];
|
|
26559
|
+
var regex = parseTo && parseTo[0];
|
|
26560
|
+
var parser = parseTo && parseTo[1];
|
|
26561
|
+
|
|
26562
|
+
if (parser) {
|
|
26563
|
+
array[i] = {
|
|
26564
|
+
regex: regex,
|
|
26565
|
+
parser: parser
|
|
26566
|
+
};
|
|
26567
|
+
} else {
|
|
26568
|
+
array[i] = token.replace(/^\[|\]$/g, '');
|
|
26569
|
+
}
|
|
26570
|
+
}
|
|
26571
|
+
|
|
26572
|
+
return function (input) {
|
|
26573
|
+
var time = {};
|
|
26574
|
+
|
|
26575
|
+
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
|
26576
|
+
var _token = array[_i];
|
|
26577
|
+
|
|
26578
|
+
if (typeof _token === 'string') {
|
|
26579
|
+
start += _token.length;
|
|
26580
|
+
} else {
|
|
26581
|
+
var _regex = _token.regex,
|
|
26582
|
+
_parser = _token.parser;
|
|
26583
|
+
var part = input.slice(start);
|
|
26584
|
+
|
|
26585
|
+
var match = _regex.exec(part);
|
|
26586
|
+
|
|
26587
|
+
var value = match[0];
|
|
26588
|
+
|
|
26589
|
+
_parser.call(time, value);
|
|
26590
|
+
|
|
26591
|
+
input = input.replace(value, '');
|
|
26592
|
+
}
|
|
26593
|
+
}
|
|
26594
|
+
|
|
26595
|
+
correctHours(time);
|
|
26596
|
+
return time;
|
|
26597
|
+
};
|
|
26598
|
+
}
|
|
26599
|
+
|
|
26600
|
+
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
|
26601
|
+
try {
|
|
26602
|
+
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
|
26603
|
+
var parser = makeParser(format);
|
|
26604
|
+
|
|
26605
|
+
var _parser2 = parser(input),
|
|
26606
|
+
year = _parser2.year,
|
|
26607
|
+
month = _parser2.month,
|
|
26608
|
+
day = _parser2.day,
|
|
26609
|
+
hours = _parser2.hours,
|
|
26610
|
+
minutes = _parser2.minutes,
|
|
26611
|
+
seconds = _parser2.seconds,
|
|
26612
|
+
milliseconds = _parser2.milliseconds,
|
|
26613
|
+
zone = _parser2.zone;
|
|
26614
|
+
|
|
26615
|
+
var now = new Date();
|
|
26616
|
+
var d = day || (!year && !month ? now.getDate() : 1);
|
|
26617
|
+
var y = year || now.getFullYear();
|
|
26618
|
+
var M = 0;
|
|
26619
|
+
|
|
26620
|
+
if (!(year && !month)) {
|
|
26621
|
+
M = month > 0 ? month - 1 : now.getMonth();
|
|
26622
|
+
}
|
|
26623
|
+
|
|
26624
|
+
var h = hours || 0;
|
|
26625
|
+
var m = minutes || 0;
|
|
26626
|
+
var s = seconds || 0;
|
|
26627
|
+
var ms = milliseconds || 0;
|
|
26628
|
+
|
|
26629
|
+
if (zone) {
|
|
26630
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
|
26631
|
+
}
|
|
26632
|
+
|
|
26633
|
+
if (utc) {
|
|
26634
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
|
26635
|
+
}
|
|
26636
|
+
|
|
26637
|
+
return new Date(y, M, d, h, m, s, ms);
|
|
26638
|
+
} catch (e) {
|
|
26639
|
+
return new Date(''); // Invalid Date
|
|
26640
|
+
}
|
|
26641
|
+
};
|
|
26642
|
+
|
|
26643
|
+
var customParseFormat = (function (o, C, d) {
|
|
26644
|
+
d.p.customParseFormat = true;
|
|
26645
|
+
|
|
26646
|
+
if (o && o.parseTwoDigitYear) {
|
|
26647
|
+
parseTwoDigitYear = o.parseTwoDigitYear;
|
|
26648
|
+
}
|
|
26649
|
+
|
|
26650
|
+
var proto = C.prototype;
|
|
26651
|
+
var oldParse = proto.parse;
|
|
26652
|
+
|
|
26653
|
+
proto.parse = function (cfg) {
|
|
26654
|
+
var date = cfg.date,
|
|
26655
|
+
utc = cfg.utc,
|
|
26656
|
+
args = cfg.args;
|
|
26657
|
+
this.$u = utc;
|
|
26658
|
+
var format = args[1];
|
|
26659
|
+
|
|
26660
|
+
if (typeof format === 'string') {
|
|
26661
|
+
var isStrictWithoutLocale = args[2] === true;
|
|
26662
|
+
var isStrictWithLocale = args[3] === true;
|
|
26663
|
+
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
|
26664
|
+
var pl = args[2];
|
|
26665
|
+
|
|
26666
|
+
if (isStrictWithLocale) {
|
|
26667
|
+
pl = args[2];
|
|
26668
|
+
}
|
|
26669
|
+
|
|
26670
|
+
locale = this.$locale();
|
|
26671
|
+
|
|
26672
|
+
if (!isStrictWithoutLocale && pl) {
|
|
26673
|
+
locale = d.Ls[pl];
|
|
26674
|
+
}
|
|
26675
|
+
|
|
26676
|
+
this.$d = parseFormattedInput(date, format, utc);
|
|
26677
|
+
this.init();
|
|
26678
|
+
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
|
26679
|
+
// input number 1410715640579 and format string '1410715640579' equal
|
|
26680
|
+
// eslint-disable-next-line eqeqeq
|
|
26681
|
+
|
|
26682
|
+
if (isStrict && date != this.format(format)) {
|
|
26683
|
+
this.$d = new Date('');
|
|
26684
|
+
} // reset global locale to make parallel unit test
|
|
26685
|
+
|
|
26686
|
+
|
|
26687
|
+
locale = {};
|
|
26688
|
+
} else if (format instanceof Array) {
|
|
26689
|
+
var len = format.length;
|
|
26690
|
+
|
|
26691
|
+
for (var i = 1; i <= len; i += 1) {
|
|
26692
|
+
args[1] = format[i - 1];
|
|
26693
|
+
var result = d.apply(this, args);
|
|
26694
|
+
|
|
26695
|
+
if (result.isValid()) {
|
|
26696
|
+
this.$d = result.$d;
|
|
26697
|
+
this.$L = result.$L;
|
|
26698
|
+
this.init();
|
|
26699
|
+
break;
|
|
26700
|
+
}
|
|
26701
|
+
|
|
26702
|
+
if (i === len) this.$d = new Date('');
|
|
26703
|
+
}
|
|
26704
|
+
} else {
|
|
26705
|
+
oldParse.call(this, cfg);
|
|
26706
|
+
}
|
|
26707
|
+
};
|
|
26708
|
+
});
|
|
26709
|
+
|
|
26710
|
+
var localeData = (function (o, c, dayjs) {
|
|
26711
|
+
// locale needed later
|
|
26712
|
+
var proto = c.prototype;
|
|
26713
|
+
|
|
26714
|
+
var getLocalePart = function getLocalePart(part) {
|
|
26715
|
+
return part && (part.indexOf ? part : part.s);
|
|
26716
|
+
};
|
|
26717
|
+
|
|
26718
|
+
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
|
26719
|
+
var locale = ins.name ? ins : ins.$locale();
|
|
26720
|
+
var targetLocale = getLocalePart(locale[target]);
|
|
26721
|
+
var fullLocale = getLocalePart(locale[full]);
|
|
26722
|
+
var result = targetLocale || fullLocale.map(function (f) {
|
|
26723
|
+
return f.slice(0, num);
|
|
26724
|
+
});
|
|
26725
|
+
if (!localeOrder) return result;
|
|
26726
|
+
var weekStart = locale.weekStart;
|
|
26727
|
+
return result.map(function (_, index) {
|
|
26728
|
+
return result[(index + (weekStart || 0)) % 7];
|
|
26729
|
+
});
|
|
26730
|
+
};
|
|
26731
|
+
|
|
26732
|
+
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
|
26733
|
+
return dayjs.Ls[dayjs.locale()];
|
|
26734
|
+
};
|
|
26735
|
+
|
|
26736
|
+
var getLongDateFormat = function getLongDateFormat(l, format) {
|
|
26737
|
+
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
|
26738
|
+
};
|
|
26739
|
+
|
|
26740
|
+
var localeData = function localeData() {
|
|
26741
|
+
var _this = this;
|
|
26742
|
+
|
|
26743
|
+
return {
|
|
26744
|
+
months: function months(instance) {
|
|
26745
|
+
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
|
26746
|
+
},
|
|
26747
|
+
monthsShort: function monthsShort(instance) {
|
|
26748
|
+
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
|
26749
|
+
},
|
|
26750
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
|
26751
|
+
return _this.$locale().weekStart || 0;
|
|
26752
|
+
},
|
|
26753
|
+
weekdays: function weekdays(instance) {
|
|
26754
|
+
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
|
26755
|
+
},
|
|
26756
|
+
weekdaysMin: function weekdaysMin(instance) {
|
|
26757
|
+
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
|
26758
|
+
},
|
|
26759
|
+
weekdaysShort: function weekdaysShort(instance) {
|
|
26760
|
+
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
|
26761
|
+
},
|
|
26762
|
+
longDateFormat: function longDateFormat(format) {
|
|
26763
|
+
return getLongDateFormat(_this.$locale(), format);
|
|
26764
|
+
},
|
|
26765
|
+
meridiem: this.$locale().meridiem,
|
|
26766
|
+
ordinal: this.$locale().ordinal
|
|
26767
|
+
};
|
|
26768
|
+
};
|
|
26769
|
+
|
|
26770
|
+
proto.localeData = function () {
|
|
26771
|
+
return localeData.bind(this)();
|
|
26772
|
+
};
|
|
26773
|
+
|
|
26774
|
+
dayjs.localeData = function () {
|
|
26775
|
+
var localeObject = getDayjsLocaleObject();
|
|
26776
|
+
return {
|
|
26777
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
|
26778
|
+
return localeObject.weekStart || 0;
|
|
26779
|
+
},
|
|
26780
|
+
weekdays: function weekdays() {
|
|
26781
|
+
return dayjs.weekdays();
|
|
26782
|
+
},
|
|
26783
|
+
weekdaysShort: function weekdaysShort() {
|
|
26784
|
+
return dayjs.weekdaysShort();
|
|
26785
|
+
},
|
|
26786
|
+
weekdaysMin: function weekdaysMin() {
|
|
26787
|
+
return dayjs.weekdaysMin();
|
|
26788
|
+
},
|
|
26789
|
+
months: function months() {
|
|
26790
|
+
return dayjs.months();
|
|
26791
|
+
},
|
|
26792
|
+
monthsShort: function monthsShort() {
|
|
26793
|
+
return dayjs.monthsShort();
|
|
26794
|
+
},
|
|
26795
|
+
longDateFormat: function longDateFormat(format) {
|
|
26796
|
+
return getLongDateFormat(localeObject, format);
|
|
26797
|
+
},
|
|
26798
|
+
meridiem: localeObject.meridiem,
|
|
26799
|
+
ordinal: localeObject.ordinal
|
|
26800
|
+
};
|
|
26801
|
+
};
|
|
26802
|
+
|
|
26803
|
+
dayjs.months = function () {
|
|
26804
|
+
return getShort(getDayjsLocaleObject(), 'months');
|
|
26805
|
+
};
|
|
26806
|
+
|
|
26807
|
+
dayjs.monthsShort = function () {
|
|
26808
|
+
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
|
26809
|
+
};
|
|
26810
|
+
|
|
26811
|
+
dayjs.weekdays = function (localeOrder) {
|
|
26812
|
+
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
|
26813
|
+
};
|
|
26814
|
+
|
|
26815
|
+
dayjs.weekdaysShort = function (localeOrder) {
|
|
26816
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
|
26817
|
+
};
|
|
26818
|
+
|
|
26819
|
+
dayjs.weekdaysMin = function (localeOrder) {
|
|
26820
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
|
26821
|
+
};
|
|
26822
|
+
});
|
|
26823
|
+
|
|
26824
|
+
var localizedFormat = (function (o, c, d) {
|
|
26825
|
+
var proto = c.prototype;
|
|
26826
|
+
var oldFormat = proto.format;
|
|
26827
|
+
d.en.formats = englishFormats;
|
|
26828
|
+
|
|
26829
|
+
proto.format = function (formatStr) {
|
|
26830
|
+
if (formatStr === void 0) {
|
|
26831
|
+
formatStr = FORMAT_DEFAULT;
|
|
26832
|
+
}
|
|
26833
|
+
|
|
26834
|
+
var _this$$locale = this.$locale(),
|
|
26835
|
+
_this$$locale$formats = _this$$locale.formats,
|
|
26836
|
+
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
|
26837
|
+
|
|
26838
|
+
var result = u(formatStr, formats);
|
|
26839
|
+
return oldFormat.call(this, result);
|
|
26840
|
+
};
|
|
26841
|
+
});
|
|
26842
|
+
|
|
26843
|
+
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
|
26844
|
+
var preParsePostFormat = (function (option, dayjsClass) {
|
|
26845
|
+
var oldParse = dayjsClass.prototype.parse;
|
|
26846
|
+
|
|
26847
|
+
dayjsClass.prototype.parse = function (cfg) {
|
|
26848
|
+
if (typeof cfg.date === 'string') {
|
|
26849
|
+
var locale = this.$locale();
|
|
26850
|
+
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
|
26851
|
+
} // original parse result
|
|
26852
|
+
|
|
26853
|
+
|
|
26854
|
+
return oldParse.bind(this)(cfg);
|
|
26855
|
+
}; // // overriding existing API
|
|
26856
|
+
// // e.g. extend dayjs().format()
|
|
26857
|
+
|
|
26858
|
+
|
|
26859
|
+
var oldFormat = dayjsClass.prototype.format;
|
|
26860
|
+
|
|
26861
|
+
dayjsClass.prototype.format = function () {
|
|
26862
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
26863
|
+
args[_key] = arguments[_key];
|
|
26864
|
+
}
|
|
26865
|
+
|
|
26866
|
+
// original format result
|
|
26867
|
+
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
|
26868
|
+
|
|
26869
|
+
var locale = this.$locale();
|
|
26870
|
+
return locale && locale.postformat ? locale.postformat(result) : result;
|
|
26871
|
+
};
|
|
26872
|
+
|
|
26873
|
+
var oldFromTo = dayjsClass.prototype.fromToBase;
|
|
26874
|
+
|
|
26875
|
+
if (oldFromTo) {
|
|
26876
|
+
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
|
26877
|
+
var locale = this.$locale() || instance.$locale(); // original format result
|
|
26878
|
+
|
|
26879
|
+
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
|
26880
|
+
};
|
|
26881
|
+
}
|
|
26882
|
+
});
|
|
26883
|
+
|
|
26884
|
+
var updateLocale = (function (option, Dayjs, dayjs) {
|
|
26885
|
+
dayjs.updateLocale = function (locale, customConfig) {
|
|
26886
|
+
var localeList = dayjs.Ls;
|
|
26887
|
+
var localeConfig = localeList[locale];
|
|
26888
|
+
if (!localeConfig) return;
|
|
26889
|
+
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
|
26890
|
+
customConfigKeys.forEach(function (c) {
|
|
26891
|
+
localeConfig[c] = customConfig[c];
|
|
26892
|
+
});
|
|
26893
|
+
return localeConfig; // eslint-disable-line consistent-return
|
|
26894
|
+
};
|
|
26895
|
+
});
|
|
26896
|
+
|
|
25805
26897
|
const inputTimePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-input-time-picker:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-input-time-picker{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-time-picker{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-time-picker{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-time-picker{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-input-time-picker{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-input-time-picker{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-time-picker{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-time-picker:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-input-time-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-input-time-picker-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-time-picker-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-input-time-picker-h *.sc-calcite-input-time-picker,.sc-calcite-input-time-picker-h[disabled] .sc-calcite-input-time-picker-s>*{pointer-events:none}/*!@:host*/.sc-calcite-input-time-picker-h{display:inline-block;-webkit-user-select:none;user-select:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-time-picker-h[disabled] .sc-calcite-input-time-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-time-picker-h [calcite-hydrated][disabled].sc-calcite-input-time-picker{opacity:1}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-time-picker-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}/*!@:host([scale=s])*/[scale=s].sc-calcite-input-time-picker-h{--calcite-toggle-spacing:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-input-time-picker-h{--calcite-toggle-spacing:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-input-time-picker-h{--calcite-toggle-spacing:1rem}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-time-picker{position:relative}/*!@.toggle-icon*/.toggle-icon.sc-calcite-input-time-picker{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";
|
|
25806
26898
|
|
|
26899
|
+
dayjs.extend(customParseFormat);
|
|
26900
|
+
dayjs.extend(localeData);
|
|
26901
|
+
dayjs.extend(localizedFormat);
|
|
26902
|
+
dayjs.extend(preParsePostFormat);
|
|
26903
|
+
dayjs.extend(updateLocale);
|
|
25807
26904
|
class InputTimePicker {
|
|
25808
26905
|
constructor(hostRef) {
|
|
25809
26906
|
registerInstance(this, hostRef);
|
|
@@ -25811,66 +26908,71 @@ class InputTimePicker {
|
|
|
25811
26908
|
this.focusOnOpen = false;
|
|
25812
26909
|
this.dialogId = `time-picker-dialog--${guid()}`;
|
|
25813
26910
|
/** whether the value of the input was changed as a result of user typing or not */
|
|
25814
|
-
this.
|
|
25815
|
-
this.previousValidValue = null;
|
|
26911
|
+
this.userChangedValue = false;
|
|
25816
26912
|
this.referenceElementId = `input-time-picker-${guid()}`;
|
|
25817
26913
|
//--------------------------------------------------------------------------
|
|
25818
26914
|
//
|
|
25819
26915
|
// Event Listeners
|
|
25820
26916
|
//
|
|
25821
26917
|
//--------------------------------------------------------------------------
|
|
25822
|
-
this.
|
|
25823
|
-
const
|
|
25824
|
-
const
|
|
25825
|
-
|
|
25826
|
-
|
|
25827
|
-
|
|
25828
|
-
|
|
25829
|
-
|
|
25830
|
-
|
|
25831
|
-
|
|
25832
|
-
|
|
25833
|
-
|
|
25834
|
-
locale,
|
|
25835
|
-
numberingSystem
|
|
26918
|
+
this.hostBlurHandler = () => {
|
|
26919
|
+
const inputValue = this.calciteInputEl.value;
|
|
26920
|
+
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
|
26921
|
+
if (!delocalizedInputValue) {
|
|
26922
|
+
this.setValue("");
|
|
26923
|
+
return;
|
|
26924
|
+
}
|
|
26925
|
+
if (delocalizedInputValue !== this.value) {
|
|
26926
|
+
this.setValue(delocalizedInputValue);
|
|
26927
|
+
}
|
|
26928
|
+
const localizedTimeString = localizeTimeString({
|
|
26929
|
+
value: this.value,
|
|
26930
|
+
locale: this.effectiveLocale,
|
|
26931
|
+
numberingSystem: this.numberingSystem,
|
|
26932
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
25836
26933
|
});
|
|
25837
|
-
|
|
25838
|
-
|
|
26934
|
+
if (localizedTimeString !== inputValue) {
|
|
26935
|
+
this.setInputValue(localizedTimeString);
|
|
26936
|
+
}
|
|
26937
|
+
this.deactivate();
|
|
25839
26938
|
};
|
|
25840
26939
|
this.calciteInternalInputFocusHandler = (event) => {
|
|
25841
26940
|
if (!this.readOnly) {
|
|
25842
26941
|
event.stopPropagation();
|
|
25843
26942
|
}
|
|
25844
26943
|
};
|
|
25845
|
-
this.
|
|
25846
|
-
const
|
|
25847
|
-
|
|
25848
|
-
|
|
25849
|
-
|
|
25850
|
-
|
|
25851
|
-
|
|
25852
|
-
|
|
25853
|
-
|
|
25854
|
-
|
|
25855
|
-
|
|
25856
|
-
|
|
25857
|
-
|
|
25858
|
-
|
|
25859
|
-
|
|
25860
|
-
|
|
25861
|
-
|
|
26944
|
+
this.calciteInternalInputInputHandler = (event) => {
|
|
26945
|
+
const { effectiveLocale: locale, numberingSystem } = this;
|
|
26946
|
+
if (numberingSystem && numberingSystem !== "latn") {
|
|
26947
|
+
const target = event.target;
|
|
26948
|
+
numberStringFormatter.numberFormatOptions = {
|
|
26949
|
+
locale,
|
|
26950
|
+
numberingSystem,
|
|
26951
|
+
useGrouping: false
|
|
26952
|
+
};
|
|
26953
|
+
const valueInNumberingSystem = numberStringFormatter
|
|
26954
|
+
.delocalize(target.value)
|
|
26955
|
+
.split("")
|
|
26956
|
+
.map((char) => numberKeys.includes(char)
|
|
26957
|
+
? numberStringFormatter.numberFormatter.format(Number(char))
|
|
26958
|
+
: char)
|
|
26959
|
+
.join("");
|
|
26960
|
+
this.setInputValue(valueInNumberingSystem);
|
|
26961
|
+
}
|
|
25862
26962
|
};
|
|
25863
26963
|
this.timePickerChangeHandler = (event) => {
|
|
25864
26964
|
event.stopPropagation();
|
|
25865
26965
|
const target = event.target;
|
|
25866
26966
|
const value = target.value;
|
|
25867
|
-
this.
|
|
26967
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
|
26968
|
+
this.setValue(toISOTimeString(value, includeSeconds));
|
|
26969
|
+
this.setInputValue(localizeTimeString({
|
|
26970
|
+
value,
|
|
26971
|
+
locale: this.effectiveLocale,
|
|
26972
|
+
numberingSystem: this.numberingSystem,
|
|
26973
|
+
includeSeconds
|
|
26974
|
+
}));
|
|
25868
26975
|
};
|
|
25869
|
-
// --------------------------------------------------------------------------
|
|
25870
|
-
//
|
|
25871
|
-
// Private Methods
|
|
25872
|
-
//
|
|
25873
|
-
// --------------------------------------------------------------------------
|
|
25874
26976
|
this.popoverCloseHandler = () => {
|
|
25875
26977
|
deactivateFocusTrap(this, {
|
|
25876
26978
|
onDeactivate: () => {
|
|
@@ -25899,6 +27001,20 @@ class InputTimePicker {
|
|
|
25899
27001
|
event.preventDefault();
|
|
25900
27002
|
this.calciteInputEl.setFocus();
|
|
25901
27003
|
}
|
|
27004
|
+
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
|
27005
|
+
return;
|
|
27006
|
+
}
|
|
27007
|
+
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
|
27008
|
+
this.setValue(newValue);
|
|
27009
|
+
const localizedTimeString = localizeTimeString({
|
|
27010
|
+
value: this.value,
|
|
27011
|
+
locale: this.effectiveLocale,
|
|
27012
|
+
numberingSystem: this.numberingSystem,
|
|
27013
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27014
|
+
});
|
|
27015
|
+
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
|
27016
|
+
this.setInputValue(localizedTimeString);
|
|
27017
|
+
}
|
|
25902
27018
|
}
|
|
25903
27019
|
else if (key === "ArrowDown") {
|
|
25904
27020
|
this.open = true;
|
|
@@ -25933,50 +27049,50 @@ class InputTimePicker {
|
|
|
25933
27049
|
}
|
|
25934
27050
|
this.calciteInputEl.value = newInputValue;
|
|
25935
27051
|
};
|
|
25936
|
-
|
|
25937
|
-
|
|
25938
|
-
|
|
25939
|
-
|
|
25940
|
-
|
|
25941
|
-
|
|
25942
|
-
|
|
25943
|
-
|
|
25944
|
-
|
|
25945
|
-
|
|
25946
|
-
|
|
25947
|
-
origin !== "external" &&
|
|
25948
|
-
((value !== this.previousValidValue && !value) ||
|
|
25949
|
-
!!(!this.previousValidValue && newValue) ||
|
|
25950
|
-
(newValue !== this.previousValidValue && newValue));
|
|
25951
|
-
if (value) {
|
|
25952
|
-
if (shouldEmit) {
|
|
25953
|
-
this.previousValidValue = newValue;
|
|
25954
|
-
}
|
|
25955
|
-
if (newValue && newValue !== this.value) {
|
|
25956
|
-
this.value = newValue;
|
|
25957
|
-
}
|
|
25958
|
-
this.localizedValue = newLocalizedValue;
|
|
25959
|
-
}
|
|
25960
|
-
else {
|
|
25961
|
-
this.value = value;
|
|
25962
|
-
this.localizedValue = null;
|
|
25963
|
-
}
|
|
25964
|
-
if (origin === "time-picker" || origin === "external") {
|
|
25965
|
-
this.setInputValue(newLocalizedValue);
|
|
27052
|
+
/**
|
|
27053
|
+
* Sets the value and emits a change event.
|
|
27054
|
+
* This is used to update the value as a result of user interaction.
|
|
27055
|
+
*
|
|
27056
|
+
* @param value
|
|
27057
|
+
*/
|
|
27058
|
+
this.setValue = (value) => {
|
|
27059
|
+
const oldValue = this.value;
|
|
27060
|
+
const newValue = formatTimeString(value) || "";
|
|
27061
|
+
if (newValue === oldValue) {
|
|
27062
|
+
return;
|
|
25966
27063
|
}
|
|
25967
|
-
|
|
25968
|
-
|
|
25969
|
-
|
|
25970
|
-
|
|
25971
|
-
|
|
25972
|
-
|
|
25973
|
-
|
|
25974
|
-
|
|
25975
|
-
|
|
25976
|
-
this.
|
|
25977
|
-
|
|
27064
|
+
this.userChangedValue = true;
|
|
27065
|
+
this.value = newValue || "";
|
|
27066
|
+
const changeEvent = this.calciteInputTimePickerChange.emit();
|
|
27067
|
+
if (changeEvent.defaultPrevented) {
|
|
27068
|
+
this.userChangedValue = false;
|
|
27069
|
+
this.value = oldValue;
|
|
27070
|
+
this.setInputValue(localizeTimeString({
|
|
27071
|
+
value: oldValue,
|
|
27072
|
+
locale: this.effectiveLocale,
|
|
27073
|
+
numberingSystem: this.numberingSystem,
|
|
27074
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27075
|
+
}));
|
|
25978
27076
|
}
|
|
25979
27077
|
};
|
|
27078
|
+
/**
|
|
27079
|
+
* Sets the value directly without emitting a change event.
|
|
27080
|
+
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
|
27081
|
+
*
|
|
27082
|
+
* @param value
|
|
27083
|
+
*/
|
|
27084
|
+
this.setValueDirectly = (value) => {
|
|
27085
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
|
27086
|
+
this.value = toISOTimeString(value, includeSeconds);
|
|
27087
|
+
this.setInputValue(this.value
|
|
27088
|
+
? localizeTimeString({
|
|
27089
|
+
value: this.value,
|
|
27090
|
+
includeSeconds,
|
|
27091
|
+
locale: this.effectiveLocale,
|
|
27092
|
+
numberingSystem: this.numberingSystem
|
|
27093
|
+
})
|
|
27094
|
+
: "");
|
|
27095
|
+
};
|
|
25980
27096
|
this.onInputWrapperClick = () => {
|
|
25981
27097
|
this.open = !this.open;
|
|
25982
27098
|
};
|
|
@@ -26000,7 +27116,6 @@ class InputTimePicker {
|
|
|
26000
27116
|
this.value = null;
|
|
26001
27117
|
this.defaultMessages = undefined;
|
|
26002
27118
|
this.effectiveLocale = "";
|
|
26003
|
-
this.localizedValue = undefined;
|
|
26004
27119
|
}
|
|
26005
27120
|
openHandler(value) {
|
|
26006
27121
|
if (this.disabled || this.readOnly) {
|
|
@@ -26025,16 +27140,31 @@ class InputTimePicker {
|
|
|
26025
27140
|
onMessagesChange() {
|
|
26026
27141
|
/* wired up by t9n util */
|
|
26027
27142
|
}
|
|
27143
|
+
numberingSystemWatcher(numberingSystem) {
|
|
27144
|
+
this.setInputValue(localizeTimeString({
|
|
27145
|
+
value: this.value,
|
|
27146
|
+
locale: this.effectiveLocale,
|
|
27147
|
+
numberingSystem,
|
|
27148
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27149
|
+
}));
|
|
27150
|
+
}
|
|
27151
|
+
stepWatcher(newStep, oldStep) {
|
|
27152
|
+
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
|
27153
|
+
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
|
27154
|
+
this.setValueDirectly(this.value);
|
|
27155
|
+
}
|
|
27156
|
+
}
|
|
26028
27157
|
valueWatcher(newValue) {
|
|
26029
|
-
if (!this.
|
|
26030
|
-
this.
|
|
27158
|
+
if (!this.userChangedValue) {
|
|
27159
|
+
this.setValueDirectly(newValue);
|
|
26031
27160
|
}
|
|
26032
|
-
this.
|
|
27161
|
+
this.userChangedValue = false;
|
|
26033
27162
|
}
|
|
26034
|
-
|
|
27163
|
+
async effectiveLocaleWatcher(locale) {
|
|
27164
|
+
await this.loadDateTimeLocaleData();
|
|
26035
27165
|
this.setInputValue(localizeTimeString({
|
|
26036
27166
|
value: this.value,
|
|
26037
|
-
locale
|
|
27167
|
+
locale,
|
|
26038
27168
|
numberingSystem: this.numberingSystem,
|
|
26039
27169
|
includeSeconds: this.shouldIncludeSeconds()
|
|
26040
27170
|
}));
|
|
@@ -26057,6 +27187,105 @@ class InputTimePicker {
|
|
|
26057
27187
|
async reposition(delayed = false) {
|
|
26058
27188
|
this.popoverEl?.reposition(delayed);
|
|
26059
27189
|
}
|
|
27190
|
+
// --------------------------------------------------------------------------
|
|
27191
|
+
//
|
|
27192
|
+
// Private Methods
|
|
27193
|
+
//
|
|
27194
|
+
// --------------------------------------------------------------------------
|
|
27195
|
+
delocalizeTimeString(value) {
|
|
27196
|
+
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
|
27197
|
+
dayjs.locale(this.effectiveLocale.toLowerCase());
|
|
27198
|
+
const dayjsParseResult = dayjs(value, ["LTS", "LT"]);
|
|
27199
|
+
if (dayjsParseResult.isValid()) {
|
|
27200
|
+
let unformattedTimeString = `${dayjsParseResult.get("hour")}:${dayjsParseResult.get("minute")}`;
|
|
27201
|
+
if (this.shouldIncludeSeconds()) {
|
|
27202
|
+
unformattedTimeString += `:${dayjsParseResult.get("seconds") || 0}`;
|
|
27203
|
+
}
|
|
27204
|
+
return formatTimeString(unformattedTimeString) || "";
|
|
27205
|
+
}
|
|
27206
|
+
return "";
|
|
27207
|
+
}
|
|
27208
|
+
async loadDateTimeLocaleData() {
|
|
27209
|
+
const { effectiveLocale } = this;
|
|
27210
|
+
if (effectiveLocale === "en" || effectiveLocale === "en-US") {
|
|
27211
|
+
return;
|
|
27212
|
+
}
|
|
27213
|
+
let dayjsLocale = effectiveLocale.toLowerCase();
|
|
27214
|
+
if (effectiveLocale === "pt-PT") {
|
|
27215
|
+
dayjsLocale = "pt";
|
|
27216
|
+
}
|
|
27217
|
+
if (effectiveLocale === "no") {
|
|
27218
|
+
dayjsLocale = "nb";
|
|
27219
|
+
}
|
|
27220
|
+
const { default: localeConfig } = await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(getAssetPath(`./assets/input-time-picker/nls/dayjs/locale/${dayjsLocale}.js`))); });
|
|
27221
|
+
dayjs.locale(localeConfig, null, true);
|
|
27222
|
+
dayjs.updateLocale(dayjsLocale, this.getExtendedLocaleConfig(dayjsLocale));
|
|
27223
|
+
}
|
|
27224
|
+
getExtendedLocaleConfig(locale) {
|
|
27225
|
+
if (locale === "ar") {
|
|
27226
|
+
return {
|
|
27227
|
+
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
|
27228
|
+
formats: {
|
|
27229
|
+
LT: "HH:mm A",
|
|
27230
|
+
LTS: "HH:mm:ss A",
|
|
27231
|
+
L: "DD/MM/YYYY",
|
|
27232
|
+
LL: "D MMMM YYYY",
|
|
27233
|
+
LLL: "D MMMM YYYY HH:mm A",
|
|
27234
|
+
LLLL: "dddd D MMMM YYYY HH:mm A"
|
|
27235
|
+
}
|
|
27236
|
+
};
|
|
27237
|
+
}
|
|
27238
|
+
if (locale === "en-au") {
|
|
27239
|
+
return {
|
|
27240
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am")
|
|
27241
|
+
};
|
|
27242
|
+
}
|
|
27243
|
+
if (locale === "en-ca") {
|
|
27244
|
+
return {
|
|
27245
|
+
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m.")
|
|
27246
|
+
};
|
|
27247
|
+
}
|
|
27248
|
+
if (locale === "el") {
|
|
27249
|
+
return {
|
|
27250
|
+
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ.")
|
|
27251
|
+
};
|
|
27252
|
+
}
|
|
27253
|
+
if (locale === "hi") {
|
|
27254
|
+
return {
|
|
27255
|
+
formats: {
|
|
27256
|
+
LT: "h:mm A",
|
|
27257
|
+
LTS: "h:mm:ss A",
|
|
27258
|
+
L: "DD/MM/YYYY",
|
|
27259
|
+
LL: "D MMMM YYYY",
|
|
27260
|
+
LLL: "D MMMM YYYY, h:mm A",
|
|
27261
|
+
LLLL: "dddd, D MMMM YYYY, h:mm A"
|
|
27262
|
+
},
|
|
27263
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am")
|
|
27264
|
+
};
|
|
27265
|
+
}
|
|
27266
|
+
if (locale === "ko") {
|
|
27267
|
+
return {
|
|
27268
|
+
meridiem: (hour) => (hour > 12 ? "오후" : "오전")
|
|
27269
|
+
};
|
|
27270
|
+
}
|
|
27271
|
+
if (locale === "zh-tw") {
|
|
27272
|
+
return {
|
|
27273
|
+
formats: {
|
|
27274
|
+
LT: "AHH:mm",
|
|
27275
|
+
LTS: "AHH:mm:ss"
|
|
27276
|
+
}
|
|
27277
|
+
};
|
|
27278
|
+
}
|
|
27279
|
+
if (locale === "zh-hk") {
|
|
27280
|
+
return {
|
|
27281
|
+
formats: {
|
|
27282
|
+
LT: "AHH:mm",
|
|
27283
|
+
LTS: "AHH:mm:ss"
|
|
27284
|
+
},
|
|
27285
|
+
meridiem: (hour) => (hour > 12 ? "下午" : "上午")
|
|
27286
|
+
};
|
|
27287
|
+
}
|
|
27288
|
+
}
|
|
26060
27289
|
onLabelClick() {
|
|
26061
27290
|
this.setFocus();
|
|
26062
27291
|
}
|
|
@@ -26070,8 +27299,22 @@ class InputTimePicker {
|
|
|
26070
27299
|
//--------------------------------------------------------------------------
|
|
26071
27300
|
connectedCallback() {
|
|
26072
27301
|
connectLocalized(this);
|
|
26073
|
-
|
|
26074
|
-
|
|
27302
|
+
let { effectiveLocale } = this;
|
|
27303
|
+
if (effectiveLocale === "en-US") {
|
|
27304
|
+
effectiveLocale = "en";
|
|
27305
|
+
}
|
|
27306
|
+
if (effectiveLocale === "pt-PT") {
|
|
27307
|
+
effectiveLocale = "pt";
|
|
27308
|
+
}
|
|
27309
|
+
if (effectiveLocale === "no") {
|
|
27310
|
+
effectiveLocale = "nb";
|
|
27311
|
+
}
|
|
27312
|
+
this.effectiveLocale = effectiveLocale;
|
|
27313
|
+
if (isValidTime(this.value)) {
|
|
27314
|
+
this.setValueDirectly(this.value);
|
|
27315
|
+
}
|
|
27316
|
+
else {
|
|
27317
|
+
this.value = undefined;
|
|
26075
27318
|
}
|
|
26076
27319
|
connectLabel(this);
|
|
26077
27320
|
connectForm(this);
|
|
@@ -26079,11 +27322,18 @@ class InputTimePicker {
|
|
|
26079
27322
|
}
|
|
26080
27323
|
async componentWillLoad() {
|
|
26081
27324
|
setUpLoadableComponent(this);
|
|
26082
|
-
await setUpMessages(this);
|
|
27325
|
+
await Promise.all([setUpMessages(this), this.loadDateTimeLocaleData()]);
|
|
26083
27326
|
}
|
|
26084
27327
|
componentDidLoad() {
|
|
26085
27328
|
setComponentLoaded(this);
|
|
26086
|
-
|
|
27329
|
+
if (isValidTime(this.value)) {
|
|
27330
|
+
this.setInputValue(localizeTimeString({
|
|
27331
|
+
value: this.value,
|
|
27332
|
+
locale: this.effectiveLocale,
|
|
27333
|
+
numberingSystem: this.numberingSystem,
|
|
27334
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27335
|
+
}));
|
|
27336
|
+
}
|
|
26087
27337
|
}
|
|
26088
27338
|
disconnectedCallback() {
|
|
26089
27339
|
disconnectLabel(this);
|
|
@@ -26102,9 +27352,9 @@ class InputTimePicker {
|
|
|
26102
27352
|
// --------------------------------------------------------------------------
|
|
26103
27353
|
render() {
|
|
26104
27354
|
const { disabled, messages, readOnly, dialogId } = this;
|
|
26105
|
-
return (hAsync(Host, { onBlur: this.
|
|
27355
|
+
return (hAsync(Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
|
|
26106
27356
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26107
|
-
ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
27357
|
+
ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
26108
27358
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26109
27359
|
ref: this.setCalcitePopoverEl }, hAsync("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
|
|
26110
27360
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -26122,9 +27372,10 @@ class InputTimePicker {
|
|
|
26122
27372
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
26123
27373
|
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
26124
27374
|
"messageOverrides": ["onMessagesChange"],
|
|
27375
|
+
"numberingSystem": ["numberingSystemWatcher"],
|
|
27376
|
+
"step": ["stepWatcher"],
|
|
26125
27377
|
"value": ["valueWatcher"],
|
|
26126
|
-
"effectiveLocale": ["
|
|
26127
|
-
"step": ["valueRelatedPropChange"]
|
|
27378
|
+
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
26128
27379
|
}; }
|
|
26129
27380
|
static get style() { return inputTimePickerCss; }
|
|
26130
27381
|
static get cmpMeta() { return {
|
|
@@ -26148,7 +27399,6 @@ class InputTimePicker {
|
|
|
26148
27399
|
"value": [1025],
|
|
26149
27400
|
"defaultMessages": [32],
|
|
26150
27401
|
"effectiveLocale": [32],
|
|
26151
|
-
"localizedValue": [32],
|
|
26152
27402
|
"setFocus": [64],
|
|
26153
27403
|
"reposition": [64]
|
|
26154
27404
|
},
|
|
@@ -37792,8 +39042,11 @@ class TimePicker {
|
|
|
37792
39042
|
});
|
|
37793
39043
|
}
|
|
37794
39044
|
if (this.hour && this.minute) {
|
|
37795
|
-
|
|
37796
|
-
this.
|
|
39045
|
+
let newValue = `${this.hour}:${this.minute}`;
|
|
39046
|
+
if (this.showSecond) {
|
|
39047
|
+
newValue = `${newValue}:${this.second ?? "00"}`;
|
|
39048
|
+
}
|
|
39049
|
+
this.value = newValue;
|
|
37797
39050
|
}
|
|
37798
39051
|
else {
|
|
37799
39052
|
this.value = null;
|