@esri/calcite-components 1.4.0-next.15 → 1.4.0-next.17
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-eb9ba591.entry.js → p-010a6d6d.entry.js} +2 -2
- package/dist/calcite/{p-34e90904.entry.js → p-0775b69c.entry.js} +2 -2
- package/dist/calcite/{p-3b2fa38d.js → p-09e70048.js} +2 -2
- package/dist/calcite/{p-8299bb39.entry.js → p-0aa89d39.entry.js} +2 -2
- package/dist/calcite/{p-1d0edcf2.entry.js → p-0dbd3d9e.entry.js} +2 -2
- package/dist/calcite/{p-ff929412.js → p-11edf201.js} +4 -4
- package/dist/calcite/{p-0a5b5a74.entry.js → p-14ee023e.entry.js} +2 -2
- package/dist/calcite/p-1b6a1c2b.js +10 -0
- package/dist/calcite/p-1c17b078.entry.js +6 -0
- package/dist/calcite/{p-6b0060f3.entry.js → p-1c2da931.entry.js} +2 -2
- package/dist/calcite/{p-0ea2ca75.js → p-1c37ac48.js} +1 -1
- package/dist/calcite/{p-095fbb9c.js → p-1cac3915.js} +2 -2
- package/dist/calcite/{p-7ad3037f.entry.js → p-1f206cc0.entry.js} +2 -2
- package/dist/calcite/{p-b518bfe5.entry.js → p-2066bdd6.entry.js} +2 -2
- package/dist/calcite/{p-de32f502.entry.js → p-2220190a.entry.js} +2 -2
- package/dist/calcite/{p-d0c901cb.entry.js → p-22c04884.entry.js} +2 -2
- package/dist/calcite/{p-2a7a2dab.entry.js → p-2587b1c2.entry.js} +2 -2
- package/dist/calcite/{p-b7f1c41a.js → p-265e3f5a.js} +1 -1
- package/dist/calcite/p-276d6192.js +6 -0
- package/dist/calcite/{p-8f87ceda.entry.js → p-2fa2b87e.entry.js} +2 -2
- package/dist/calcite/{p-e3a49bb8.entry.js → p-32d88c38.entry.js} +2 -2
- package/dist/calcite/{p-abbc9a4c.entry.js → p-3879374c.entry.js} +2 -2
- package/dist/calcite/{p-fddd3bb0.js → p-3902f2dc.js} +2 -2
- package/dist/calcite/{p-c18fb42e.js → p-39377e19.js} +1 -1
- package/dist/calcite/{p-e1754d5b.js → p-398a8c7a.js} +2 -2
- package/dist/calcite/{p-c26b7719.entry.js → p-39ccf123.entry.js} +2 -2
- package/dist/calcite/p-3e19dce1.entry.js +6 -0
- package/dist/calcite/{p-f24dde3f.entry.js → p-463fe996.entry.js} +2 -2
- package/dist/calcite/{p-37324b1c.entry.js → p-48ec3faf.entry.js} +2 -2
- package/dist/calcite/{p-e9f8edb1.entry.js → p-4a17eb5a.entry.js} +2 -2
- package/dist/calcite/{p-0de1080c.entry.js → p-4a8b2c2e.entry.js} +2 -2
- package/dist/calcite/{p-f6c7f848.entry.js → p-4c326165.entry.js} +2 -2
- package/dist/calcite/{p-8b7ba09e.entry.js → p-4de058c7.entry.js} +2 -2
- package/dist/calcite/{p-942951dc.entry.js → p-4e0554a7.entry.js} +2 -2
- package/dist/calcite/{p-eb6a719c.entry.js → p-4f7a0875.entry.js} +2 -2
- package/dist/calcite/{p-fd91322a.js → p-4fcff4e7.js} +2 -2
- package/dist/calcite/p-527c458d.js +6 -0
- package/dist/calcite/{p-986d7d14.entry.js → p-5930e890.entry.js} +2 -2
- package/dist/calcite/p-5a2d09f2.entry.js +6 -0
- package/dist/calcite/{p-d1d88d7e.js → p-5e14e03d.js} +2 -2
- package/dist/calcite/{p-36ba59b5.entry.js → p-5f264089.entry.js} +2 -2
- package/dist/calcite/{p-fbf56ac8.entry.js → p-6621e277.entry.js} +2 -2
- package/dist/calcite/{p-dfb043b0.entry.js → p-69308ec7.entry.js} +2 -2
- package/dist/calcite/{p-03ebe28a.entry.js → p-6af3fdac.entry.js} +2 -2
- package/dist/calcite/{p-77cac495.entry.js → p-6c7b2a2f.entry.js} +2 -2
- package/dist/calcite/{p-fc7e968f.entry.js → p-6de7dc16.entry.js} +2 -2
- package/dist/calcite/p-7a6d30d7.entry.js +6 -0
- package/dist/calcite/{p-d8ba414c.entry.js → p-7aa538b8.entry.js} +2 -2
- package/dist/calcite/{p-fa6923d6.js → p-7dbaff6f.js} +1 -1
- package/dist/calcite/{p-813c2be6.js → p-817921a0.js} +2 -2
- package/dist/calcite/{p-1c64a43e.js → p-81ae9d18.js} +1 -1
- package/dist/calcite/{p-d6771d3f.entry.js → p-81c3d5ad.entry.js} +2 -2
- package/dist/calcite/p-82482e3e.js +6 -0
- package/dist/calcite/{p-37b3f9f2.entry.js → p-857f0377.entry.js} +2 -2
- package/dist/calcite/{p-4f365c55.entry.js → p-89532632.entry.js} +2 -2
- package/dist/calcite/{p-f1839118.entry.js → p-913da64b.entry.js} +2 -2
- package/dist/calcite/{p-f8f811bb.entry.js → p-93c084a3.entry.js} +2 -2
- package/dist/calcite/{p-078d6125.entry.js → p-955660c1.entry.js} +2 -2
- package/dist/calcite/{p-8b42ad57.js → p-9823e3ac.js} +1 -1
- package/dist/calcite/p-99b15e58.entry.js +6 -0
- package/dist/calcite/{p-723b5d57.entry.js → p-9b9a83b8.entry.js} +2 -2
- package/dist/calcite/{p-2070426b.entry.js → p-9c5cbc01.entry.js} +2 -2
- package/dist/calcite/{p-f877d3e8.entry.js → p-9dd1e693.entry.js} +2 -2
- package/dist/calcite/{p-33cea899.js → p-9fd5cf9a.js} +2 -2
- package/dist/calcite/{p-54ddb46b.entry.js → p-a39db8a1.entry.js} +2 -2
- package/dist/calcite/{p-2e6e3803.js → p-a4ccc9e9.js} +1 -1
- package/dist/calcite/{p-6954918d.entry.js → p-a64a057f.entry.js} +2 -2
- package/dist/calcite/{p-02df5871.entry.js → p-a74c111c.entry.js} +2 -2
- package/dist/calcite/{p-9c7997b7.entry.js → p-ac7eb511.entry.js} +2 -2
- package/dist/calcite/{p-70d114e8.entry.js → p-ac9d3184.entry.js} +2 -2
- package/dist/calcite/{p-696ecb2a.js → p-ad4af6d5.js} +2 -2
- package/dist/calcite/{p-0f895f5b.js → p-aff7bdbd.js} +2 -2
- package/dist/calcite/{p-389364ac.js → p-b30fc824.js} +1 -1
- package/dist/calcite/{p-792983c2.entry.js → p-b8c6748e.entry.js} +2 -2
- package/dist/calcite/{p-7cb7075d.js → p-c2169286.js} +2 -2
- package/dist/calcite/{p-c5ddb9fe.js → p-c98dea04.js} +1 -1
- package/dist/calcite/{p-a2ccf37f.entry.js → p-cb0ee8a4.entry.js} +2 -2
- package/dist/calcite/{p-96dbffb1.js → p-cfee6ec9.js} +2 -2
- package/dist/calcite/{p-ac57fd08.js → p-d22491fd.js} +1 -1
- package/dist/calcite/{p-5b77aa9d.js → p-d3942de5.js} +1 -1
- package/dist/calcite/{p-23bc8627.js → p-d401979a.js} +1 -1
- package/dist/calcite/{p-9ff06d7d.entry.js → p-d7cdd3ed.entry.js} +2 -2
- package/dist/calcite/{p-7eefc501.entry.js → p-db646ba9.entry.js} +2 -2
- package/dist/calcite/{p-6d1c78c6.entry.js → p-ddb13720.entry.js} +2 -2
- package/dist/calcite/{p-b52371fa.entry.js → p-dfe1f0d3.entry.js} +2 -2
- package/dist/calcite/{p-497e2df8.js → p-e17c0fbd.js} +1 -1
- package/dist/calcite/{p-509083d3.entry.js → p-e3e5341e.entry.js} +2 -2
- package/dist/calcite/{p-d499f213.entry.js → p-e7fbdfbf.entry.js} +2 -2
- package/dist/calcite/{p-3e74d103.js → p-e830b041.js} +2 -2
- package/dist/calcite/{p-f9496bf8.js → p-eadfb9bc.js} +1 -1
- package/dist/calcite/{p-95cdc2ce.entry.js → p-ecd0f4c4.entry.js} +2 -2
- package/dist/calcite/{p-aceac04a.js → p-edbd986d.js} +1 -1
- package/dist/calcite/p-eeebceac.entry.js +6 -0
- package/dist/calcite/{p-41c9226d.entry.js → p-f45fe5f8.entry.js} +2 -2
- package/dist/calcite/{p-ef9a5d3b.entry.js → p-f545659e.entry.js} +2 -2
- package/dist/calcite/{p-fb688b5f.js → p-fa6c63b6.js} +1 -1
- package/dist/calcite/{p-c8bc99d8.entry.js → p-fa9cf4d2.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-4964074d.js → ExpandToggle-acbc3ee4.js} +5 -5
- package/dist/cjs/{FloatingArrow-523c7403.js → FloatingArrow-1477fade.js} +2 -2
- package/dist/cjs/{Heading-bf05a02a.js → Heading-a9162034.js} +2 -2
- package/dist/cjs/{app-globals-2e650af9.js → app-globals-5847d2c4.js} +2 -2
- package/dist/cjs/{array-b64fa499.js → array-ae298e1e.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 +15 -23
- 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 +66 -23
- 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-12db17aa.js} +1 -1
- package/dist/cjs/{conditionalSlot-74be73a3.js → conditionalSlot-b947b7fc.js} +3 -3
- package/dist/cjs/{debounce-27c45e5c.js → debounce-0154946e.js} +1 -1
- package/dist/cjs/{dom-b2504a19.js → dom-df4bdad1.js} +4 -4
- package/dist/cjs/{filter-f9cefdd8.js → filter-dbb11911.js} +2 -2
- package/dist/cjs/{floating-ui-122d18e2.js → floating-ui-6f8c65ae.js} +4 -4
- package/dist/cjs/{focusTrapComponent-c1bc0bed.js → focusTrapComponent-afe7d4ca.js} +12 -11
- package/dist/cjs/{form-e2463761.js → form-a0850504.js} +3 -3
- package/dist/cjs/{guid-796bc06f.js → guid-b646bdc9.js} +1 -1
- package/dist/cjs/{index-ba11e876.js → index-108f48be.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-fe8c2e65.js → interactive-3e634839.js} +1 -1
- package/dist/cjs/{key-08d15055.js → key-fc34318f.js} +1 -1
- package/dist/cjs/{label-1185ba45.js → label-0d6ab11f.js} +2 -2
- package/dist/cjs/{loadable-99b8d133.js → loadable-d8fab61b.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-be9685fe.js → locale-5ac24ef1.js} +4 -5
- package/dist/cjs/{math-1416c1a5.js → math-6bdbf7ef.js} +1 -1
- package/dist/cjs/{observers-66e308ef.js → observers-6bc5b5cf.js} +1 -1
- package/dist/cjs/{openCloseComponent-71c634a5.js → openCloseComponent-3e44c394.js} +2 -2
- package/dist/cjs/{resources-a097ecc7.js → resources-0e9d04e4.js} +1 -1
- package/dist/cjs/{resources-58b84dd2.js → resources-2dd88ac9.js} +9 -2
- package/dist/cjs/{resources-3ec80baa.js → resources-63009400.js} +1 -1
- package/dist/cjs/{resources-9d40bb1e.js → resources-8fccbe64.js} +1 -1
- package/dist/cjs/{resources-5e6e2b7b.js → resources-aa546aec.js} +1 -1
- package/dist/cjs/{resources-f6ea12a3.js → resources-d9013970.js} +5 -5
- package/dist/cjs/{sortable.esm-74b36e3a.js → sortable.esm-f8c93080.js} +1 -1
- package/dist/cjs/{t9n-a35fc0f0.js → t9n-cacff3b4.js} +3 -3
- package/dist/cjs/{throttle-fe35ee40.js → throttle-3fb25410.js} +2 -2
- package/dist/cjs/{utils-82495168.js → utils-1b8009f5.js} +1 -1
- package/dist/cjs/{utils-e102b74c.js → utils-45b05f6d.js} +22 -4
- 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 +5 -12
- package/dist/collection/components/date-picker-month-header/resources.js +1 -2
- 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 +3 -2
- package/dist/collection/components/shell-panel/shell-panel.css +88 -23
- package/dist/collection/components/shell-panel/shell-panel.js +121 -19
- 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 +18 -2
- 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 +9 -2
- 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 +59 -14
- 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 +4 -12
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +19 -3
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +10 -3
- 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 +11 -10
- 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-938829e0.js} +5 -5
- package/dist/esm/{FloatingArrow-d2704880.js → FloatingArrow-36609ab3.js} +2 -2
- package/dist/esm/{Heading-51f65ea7.js → Heading-0a950d27.js} +2 -2
- package/dist/esm/{app-globals-c8353da5.js → app-globals-bf2c608f.js} +2 -2
- package/dist/esm/{array-39e85e78.js → array-a431dd65.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 +15 -23
- 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 +66 -23
- 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-c0a13389.js} +1 -1
- package/dist/esm/{conditionalSlot-c0a2ecbd.js → conditionalSlot-be546f47.js} +3 -3
- package/dist/esm/{debounce-eb760c97.js → debounce-f5be8ae6.js} +1 -1
- package/dist/esm/{dom-255c571e.js → dom-47f658ec.js} +4 -4
- package/dist/esm/{filter-7ca09a76.js → filter-e51bb53e.js} +2 -2
- package/dist/esm/{floating-ui-186068e5.js → floating-ui-2c009c35.js} +4 -4
- package/dist/esm/{focusTrapComponent-2b209cb1.js → focusTrapComponent-61d7381c.js} +12 -11
- package/dist/esm/{form-368465b2.js → form-4f0bb6ca.js} +3 -3
- package/dist/esm/{guid-fb5f74f7.js → guid-69b13525.js} +1 -1
- package/dist/esm/{index-8274f2b3.js → index-4499c9ea.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-d006c00f.js → interactive-dabb46c8.js} +1 -1
- package/dist/esm/{key-c423f367.js → key-2f7150b0.js} +1 -1
- package/dist/esm/{label-71f9052a.js → label-68d15e48.js} +2 -2
- package/dist/esm/{loadable-e4485246.js → loadable-51a3823d.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-ec48f9fd.js → locale-dd1283cd.js} +4 -5
- package/dist/esm/{math-074762ab.js → math-4f3cbc43.js} +1 -1
- package/dist/esm/{observers-609d2ec6.js → observers-91ae7030.js} +1 -1
- package/dist/esm/{openCloseComponent-962fbce0.js → openCloseComponent-07b32c3c.js} +2 -2
- package/dist/esm/{resources-b10a8747.js → resources-06a0b260.js} +9 -2
- package/dist/esm/{resources-91b4e652.js → resources-47f5ea29.js} +1 -1
- package/dist/esm/{resources-87a469f9.js → resources-4d50220e.js} +1 -1
- package/dist/esm/{resources-df8977b4.js → resources-7fd8b037.js} +1 -1
- package/dist/esm/{resources-dd3a21e6.js → resources-95cbf459.js} +5 -5
- package/dist/esm/{resources-8fedc3fa.js → resources-9f7fc469.js} +1 -1
- package/dist/esm/{sortable.esm-1fe57572.js → sortable.esm-9229c4aa.js} +1 -1
- package/dist/esm/{t9n-1ff5274f.js → t9n-16af4336.js} +3 -3
- package/dist/esm/{throttle-e4065614.js → throttle-90bb7f6e.js} +2 -2
- package/dist/esm/{utils-9b81ae02.js → utils-39b620d7.js} +21 -5
- package/dist/esm/{utils-7a634b60.js → utils-db38aa7c.js} +1 -1
- package/dist/extras/docs-json.json +74 -16
- package/dist/extras/vscode-data.json +34 -4
- 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/date-picker-month-header/resources.d.ts +0 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +24 -8
- package/dist/types/components/shell-panel/interfaces.d.ts +1 -0
- package/dist/types/components/shell-panel/resources.d.ts +2 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +21 -3
- package/dist/types/components.d.ts +29 -8
- package/dist/types/utils/date.d.ts +2 -0
- package/dist/types/utils/resources.d.ts +7 -0
- package/dist/types/utils/time.d.ts +1 -0
- package/hydrate/index.js +1450 -136
- package/package.json +8 -4
- package/dist/calcite/p-0755be9a.js +0 -10
- package/dist/calcite/p-1285cf8b.js +0 -6
- package/dist/calcite/p-141ee740.entry.js +0 -6
- package/dist/calcite/p-1597128c.js +0 -6
- package/dist/calcite/p-285d0db5.entry.js +0 -6
- package/dist/calcite/p-37a3e4db.entry.js +0 -6
- package/dist/calcite/p-51b52626.entry.js +0 -6
- package/dist/calcite/p-ab452c72.js +0 -6
- package/dist/calcite/p-da225746.entry.js +0 -6
- package/dist/calcite/p-fdaa6bed.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.17
|
|
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
|
|
|
@@ -4957,7 +4977,14 @@ const CSS_UTILITY = {
|
|
|
4957
4977
|
autoMode,
|
|
4958
4978
|
darkMode,
|
|
4959
4979
|
lightMode,
|
|
4960
|
-
rtl: "calcite--rtl"
|
|
4980
|
+
rtl: "calcite--rtl",
|
|
4981
|
+
calciteAnimate: "calcite-animate",
|
|
4982
|
+
calciteAnimateIn: "calcite-animate__in",
|
|
4983
|
+
calciteAnimateInUp: "calcite-animate__in-up",
|
|
4984
|
+
calciteAnimateInDown: "calcite-animate__in-down",
|
|
4985
|
+
calciteAnimateInRight: "calcite-animate__in-right",
|
|
4986
|
+
calciteAnimateInLeft: "calcite-animate__in-left",
|
|
4987
|
+
calciteAnimateInScale: "calcite-animate__in-scale"
|
|
4961
4988
|
};
|
|
4962
4989
|
|
|
4963
4990
|
/**
|
|
@@ -5988,7 +6015,7 @@ function processMutations(mutations) {
|
|
|
5988
6015
|
}
|
|
5989
6016
|
|
|
5990
6017
|
/*!
|
|
5991
|
-
* tabbable 6.1.
|
|
6018
|
+
* tabbable 6.1.2
|
|
5992
6019
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
5993
6020
|
*/
|
|
5994
6021
|
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
|
@@ -7564,7 +7591,6 @@ class NumberStringFormat {
|
|
|
7564
7591
|
// `numberFormatOptions` must be set in a component to create and cache the formatter.
|
|
7565
7592
|
this._numberFormatOptions
|
|
7566
7593
|
? sanitizeExponentialNumberString(numberString, (nonExpoNumString) => nonExpoNumString
|
|
7567
|
-
.trim()
|
|
7568
7594
|
.replace(new RegExp(`[${this._minusSign}]`, "g"), "-")
|
|
7569
7595
|
.replace(new RegExp(`[${this._group}]`, "g"), "")
|
|
7570
7596
|
.replace(new RegExp(`[${this._decimal}]`, "g"), ".")
|
|
@@ -19233,7 +19259,9 @@ function dateFromLocalizedString(value, localeData) {
|
|
|
19233
19259
|
return null;
|
|
19234
19260
|
}
|
|
19235
19261
|
const { separator } = localeData;
|
|
19236
|
-
const
|
|
19262
|
+
const parts = parseDateString(value, localeData);
|
|
19263
|
+
const { day, month } = parts;
|
|
19264
|
+
const year = parseCalendarYear(parts.year, localeData);
|
|
19237
19265
|
const date = new Date(year, month, day);
|
|
19238
19266
|
date.setFullYear(year);
|
|
19239
19267
|
const validDay = day > 0;
|
|
@@ -19246,6 +19274,20 @@ function dateFromLocalizedString(value, localeData) {
|
|
|
19246
19274
|
}
|
|
19247
19275
|
return null;
|
|
19248
19276
|
}
|
|
19277
|
+
function parseCalendarYear(year, localeData) {
|
|
19278
|
+
return processCalendarYear(year, localeData, "read");
|
|
19279
|
+
}
|
|
19280
|
+
function formatCalendarYear(year, localeData) {
|
|
19281
|
+
return processCalendarYear(year, localeData, "write");
|
|
19282
|
+
}
|
|
19283
|
+
function processCalendarYear(year, localeData, mode) {
|
|
19284
|
+
if (localeData["default-calendar"] !== "buddhist") {
|
|
19285
|
+
return year;
|
|
19286
|
+
}
|
|
19287
|
+
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
19288
|
+
const yearOffset = BUDDHIST_CALENDAR_YEAR_OFFSET * (mode === "read" ? -1 : 1);
|
|
19289
|
+
return year + yearOffset;
|
|
19290
|
+
}
|
|
19249
19291
|
/**
|
|
19250
19292
|
* Retrieve day, month, and year strings from a localized string
|
|
19251
19293
|
*
|
|
@@ -20291,7 +20333,6 @@ class DatePickerMonth {
|
|
|
20291
20333
|
}; }
|
|
20292
20334
|
}
|
|
20293
20335
|
|
|
20294
|
-
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
20295
20336
|
const CSS$K = {
|
|
20296
20337
|
header: "header",
|
|
20297
20338
|
month: "month",
|
|
@@ -20430,17 +20471,10 @@ class DatePickerMonthHeader {
|
|
|
20430
20471
|
this.prevMonthDate = dateFromRange(prevMonth(this.activeDate), this.min, this.max);
|
|
20431
20472
|
}
|
|
20432
20473
|
formatCalendarYear(year) {
|
|
20433
|
-
|
|
20434
|
-
const buddhistCalendar = localeData["default-calendar"] === "buddhist";
|
|
20435
|
-
const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
|
|
20436
|
-
return numberStringFormatter.localize(`${year + yearOffset}`);
|
|
20474
|
+
return numberStringFormatter.localize(`${formatCalendarYear(year, this.localeData)}`);
|
|
20437
20475
|
}
|
|
20438
20476
|
parseCalendarYear(year) {
|
|
20439
|
-
|
|
20440
|
-
const buddhistCalendar = localeData["default-calendar"] === "buddhist";
|
|
20441
|
-
const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
|
|
20442
|
-
const parsedYear = Number(numberStringFormatter.delocalize(year)) - yearOffset;
|
|
20443
|
-
return numberStringFormatter.localize(`${parsedYear}`);
|
|
20477
|
+
return numberStringFormatter.localize(`${parseCalendarYear(Number(numberStringFormatter.delocalize(year)), this.localeData)}`);
|
|
20444
20478
|
}
|
|
20445
20479
|
getInRangeDate({ localizedYear, offset = 0 }) {
|
|
20446
20480
|
const { min, max, activeDate } = this;
|
|
@@ -23175,7 +23209,7 @@ const CSS$y = {
|
|
|
23175
23209
|
};
|
|
23176
23210
|
|
|
23177
23211
|
/*!
|
|
23178
|
-
* focus-trap 7.4.
|
|
23212
|
+
* focus-trap 7.4.2
|
|
23179
23213
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
23180
23214
|
*/
|
|
23181
23215
|
|
|
@@ -23384,23 +23418,24 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
23384
23418
|
/**
|
|
23385
23419
|
* Finds the index of the container that contains the element.
|
|
23386
23420
|
* @param {HTMLElement} element
|
|
23421
|
+
* @param {Event} [event]
|
|
23387
23422
|
* @returns {number} Index of the container in either `state.containers` or
|
|
23388
23423
|
* `state.containerGroups` (the order/length of these lists are the same); -1
|
|
23389
23424
|
* if the element isn't found.
|
|
23390
23425
|
*/
|
|
23391
|
-
var findContainerIndex = function findContainerIndex(element) {
|
|
23426
|
+
var findContainerIndex = function findContainerIndex(element, event) {
|
|
23427
|
+
var composedPath = typeof (event === null || event === void 0 ? void 0 : event.composedPath) === 'function' ? event.composedPath() : undefined;
|
|
23392
23428
|
// NOTE: search `containerGroups` because it's possible a group contains no tabbable
|
|
23393
23429
|
// nodes, but still contains focusable nodes (e.g. if they all have `tabindex=-1`)
|
|
23394
23430
|
// and we still need to find the element in there
|
|
23395
23431
|
return state.containerGroups.findIndex(function (_ref) {
|
|
23396
23432
|
var container = _ref.container,
|
|
23397
23433
|
tabbableNodes = _ref.tabbableNodes;
|
|
23398
|
-
return container.contains(element) ||
|
|
23399
|
-
// fall back to explicit tabbable search which will take into consideration any
|
|
23434
|
+
return container.contains(element) || ( // fall back to explicit tabbable search which will take into consideration any
|
|
23400
23435
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
|
23401
23436
|
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
|
23402
23437
|
// look inside web components even if open)
|
|
23403
|
-
tabbableNodes.find(function (node) {
|
|
23438
|
+
composedPath === null || composedPath === void 0 ? void 0 : composedPath.includes(container)) || tabbableNodes.find(function (node) {
|
|
23404
23439
|
return node === element;
|
|
23405
23440
|
});
|
|
23406
23441
|
});
|
|
@@ -23561,7 +23596,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
23561
23596
|
// so that it precedes the focus event.
|
|
23562
23597
|
var checkPointerDown = function checkPointerDown(e) {
|
|
23563
23598
|
var target = getActualTarget(e);
|
|
23564
|
-
if (findContainerIndex(target) >= 0) {
|
|
23599
|
+
if (findContainerIndex(target, e) >= 0) {
|
|
23565
23600
|
// allow the click since it ocurred inside the trap
|
|
23566
23601
|
return;
|
|
23567
23602
|
}
|
|
@@ -23594,7 +23629,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
23594
23629
|
// In case focus escapes the trap for some strange reason, pull it back in.
|
|
23595
23630
|
var checkFocusIn = function checkFocusIn(e) {
|
|
23596
23631
|
var target = getActualTarget(e);
|
|
23597
|
-
var targetContained = findContainerIndex(target) >= 0;
|
|
23632
|
+
var targetContained = findContainerIndex(target, e) >= 0;
|
|
23598
23633
|
|
|
23599
23634
|
// In Firefox when you Tab out of an iframe the Document is briefly focused.
|
|
23600
23635
|
if (targetContained || target instanceof Document) {
|
|
@@ -23621,7 +23656,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
23621
23656
|
// make sure the target is actually contained in a group
|
|
23622
23657
|
// NOTE: the target may also be the container itself if it's focusable
|
|
23623
23658
|
// with tabIndex='-1' and was given initial focus
|
|
23624
|
-
var containerIndex = findContainerIndex(target);
|
|
23659
|
+
var containerIndex = findContainerIndex(target, event);
|
|
23625
23660
|
var containerGroup = containerIndex >= 0 ? state.containerGroups[containerIndex] : undefined;
|
|
23626
23661
|
if (containerIndex < 0) {
|
|
23627
23662
|
// target not found in any group: quite possible focus has escaped the trap,
|
|
@@ -23722,7 +23757,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
23722
23757
|
};
|
|
23723
23758
|
var checkClick = function checkClick(e) {
|
|
23724
23759
|
var target = getActualTarget(e);
|
|
23725
|
-
if (findContainerIndex(target) >= 0) {
|
|
23760
|
+
if (findContainerIndex(target, e) >= 0) {
|
|
23726
23761
|
return;
|
|
23727
23762
|
}
|
|
23728
23763
|
if (valueOrHandler(config.clickOutsideDeactivates, e)) {
|
|
@@ -25797,13 +25832,1091 @@ function parseTimeString(value) {
|
|
|
25797
25832
|
second: null
|
|
25798
25833
|
};
|
|
25799
25834
|
}
|
|
25835
|
+
function toISOTimeString(value, includeSeconds = true) {
|
|
25836
|
+
if (!isValidTime(value)) {
|
|
25837
|
+
return "";
|
|
25838
|
+
}
|
|
25839
|
+
const { hour, minute, second } = parseTimeString(value);
|
|
25840
|
+
let isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
|
|
25841
|
+
if (includeSeconds) {
|
|
25842
|
+
isoTimeString += `:${formatTimePart(parseInt((includeSeconds && second) || "0"))}`;
|
|
25843
|
+
}
|
|
25844
|
+
return isoTimeString;
|
|
25845
|
+
}
|
|
25800
25846
|
|
|
25801
25847
|
const CSS$v = {
|
|
25802
25848
|
toggleIcon: "toggle-icon"
|
|
25803
25849
|
};
|
|
25804
25850
|
|
|
25851
|
+
var SECONDS_A_MINUTE = 60;
|
|
25852
|
+
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
|
25853
|
+
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
|
25854
|
+
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
|
25855
|
+
var MILLISECONDS_A_SECOND = 1e3;
|
|
25856
|
+
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
|
25857
|
+
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
|
25858
|
+
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
|
25859
|
+
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
|
25860
|
+
|
|
25861
|
+
var MS = 'millisecond';
|
|
25862
|
+
var S = 'second';
|
|
25863
|
+
var MIN = 'minute';
|
|
25864
|
+
var H = 'hour';
|
|
25865
|
+
var D = 'day';
|
|
25866
|
+
var W = 'week';
|
|
25867
|
+
var M = 'month';
|
|
25868
|
+
var Q = 'quarter';
|
|
25869
|
+
var Y = 'year';
|
|
25870
|
+
var DATE = 'date';
|
|
25871
|
+
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
|
25872
|
+
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
|
25873
|
+
|
|
25874
|
+
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
|
25875
|
+
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;
|
|
25876
|
+
|
|
25877
|
+
// English [en]
|
|
25878
|
+
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
|
25879
|
+
var en = {
|
|
25880
|
+
name: 'en',
|
|
25881
|
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
|
25882
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
|
25883
|
+
ordinal: function ordinal(n) {
|
|
25884
|
+
var s = ['th', 'st', 'nd', 'rd'];
|
|
25885
|
+
var v = n % 100;
|
|
25886
|
+
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
|
25887
|
+
}
|
|
25888
|
+
};
|
|
25889
|
+
|
|
25890
|
+
var padStart = function padStart(string, length, pad) {
|
|
25891
|
+
var s = String(string);
|
|
25892
|
+
if (!s || s.length >= length) return string;
|
|
25893
|
+
return "" + Array(length + 1 - s.length).join(pad) + string;
|
|
25894
|
+
};
|
|
25895
|
+
|
|
25896
|
+
var padZoneStr = function padZoneStr(instance) {
|
|
25897
|
+
var negMinutes = -instance.utcOffset();
|
|
25898
|
+
var minutes = Math.abs(negMinutes);
|
|
25899
|
+
var hourOffset = Math.floor(minutes / 60);
|
|
25900
|
+
var minuteOffset = minutes % 60;
|
|
25901
|
+
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
|
25902
|
+
};
|
|
25903
|
+
|
|
25904
|
+
var monthDiff = function monthDiff(a, b) {
|
|
25905
|
+
// function from moment.js in order to keep the same result
|
|
25906
|
+
if (a.date() < b.date()) return -monthDiff(b, a);
|
|
25907
|
+
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
|
25908
|
+
var anchor = a.clone().add(wholeMonthDiff, M);
|
|
25909
|
+
var c = b - anchor < 0;
|
|
25910
|
+
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
|
25911
|
+
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
|
25912
|
+
};
|
|
25913
|
+
|
|
25914
|
+
var absFloor = function absFloor(n) {
|
|
25915
|
+
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
|
25916
|
+
};
|
|
25917
|
+
|
|
25918
|
+
var prettyUnit = function prettyUnit(u) {
|
|
25919
|
+
var special = {
|
|
25920
|
+
M: M,
|
|
25921
|
+
y: Y,
|
|
25922
|
+
w: W,
|
|
25923
|
+
d: D,
|
|
25924
|
+
D: DATE,
|
|
25925
|
+
h: H,
|
|
25926
|
+
m: MIN,
|
|
25927
|
+
s: S,
|
|
25928
|
+
ms: MS,
|
|
25929
|
+
Q: Q
|
|
25930
|
+
};
|
|
25931
|
+
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
|
25932
|
+
};
|
|
25933
|
+
|
|
25934
|
+
var isUndefined = function isUndefined(s) {
|
|
25935
|
+
return s === undefined;
|
|
25936
|
+
};
|
|
25937
|
+
|
|
25938
|
+
var U = {
|
|
25939
|
+
s: padStart,
|
|
25940
|
+
z: padZoneStr,
|
|
25941
|
+
m: monthDiff,
|
|
25942
|
+
a: absFloor,
|
|
25943
|
+
p: prettyUnit,
|
|
25944
|
+
u: isUndefined
|
|
25945
|
+
};
|
|
25946
|
+
|
|
25947
|
+
var L = 'en'; // global locale
|
|
25948
|
+
|
|
25949
|
+
var Ls = {}; // global loaded locale
|
|
25950
|
+
|
|
25951
|
+
Ls[L] = en;
|
|
25952
|
+
|
|
25953
|
+
var isDayjs = function isDayjs(d) {
|
|
25954
|
+
return d instanceof Dayjs;
|
|
25955
|
+
}; // eslint-disable-line no-use-before-define
|
|
25956
|
+
|
|
25957
|
+
|
|
25958
|
+
var parseLocale = function parseLocale(preset, object, isLocal) {
|
|
25959
|
+
var l;
|
|
25960
|
+
if (!preset) return L;
|
|
25961
|
+
|
|
25962
|
+
if (typeof preset === 'string') {
|
|
25963
|
+
var presetLower = preset.toLowerCase();
|
|
25964
|
+
|
|
25965
|
+
if (Ls[presetLower]) {
|
|
25966
|
+
l = presetLower;
|
|
25967
|
+
}
|
|
25968
|
+
|
|
25969
|
+
if (object) {
|
|
25970
|
+
Ls[presetLower] = object;
|
|
25971
|
+
l = presetLower;
|
|
25972
|
+
}
|
|
25973
|
+
|
|
25974
|
+
var presetSplit = preset.split('-');
|
|
25975
|
+
|
|
25976
|
+
if (!l && presetSplit.length > 1) {
|
|
25977
|
+
return parseLocale(presetSplit[0]);
|
|
25978
|
+
}
|
|
25979
|
+
} else {
|
|
25980
|
+
var name = preset.name;
|
|
25981
|
+
Ls[name] = preset;
|
|
25982
|
+
l = name;
|
|
25983
|
+
}
|
|
25984
|
+
|
|
25985
|
+
if (!isLocal && l) L = l;
|
|
25986
|
+
return l || !isLocal && L;
|
|
25987
|
+
};
|
|
25988
|
+
|
|
25989
|
+
var dayjs = function dayjs(date, c) {
|
|
25990
|
+
if (isDayjs(date)) {
|
|
25991
|
+
return date.clone();
|
|
25992
|
+
} // eslint-disable-next-line no-nested-ternary
|
|
25993
|
+
|
|
25994
|
+
|
|
25995
|
+
var cfg = typeof c === 'object' ? c : {};
|
|
25996
|
+
cfg.date = date;
|
|
25997
|
+
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
|
25998
|
+
|
|
25999
|
+
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
|
26000
|
+
};
|
|
26001
|
+
|
|
26002
|
+
var wrapper = function wrapper(date, instance) {
|
|
26003
|
+
return dayjs(date, {
|
|
26004
|
+
locale: instance.$L,
|
|
26005
|
+
utc: instance.$u,
|
|
26006
|
+
x: instance.$x,
|
|
26007
|
+
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
|
26008
|
+
|
|
26009
|
+
});
|
|
26010
|
+
};
|
|
26011
|
+
|
|
26012
|
+
var Utils = U; // for plugin use
|
|
26013
|
+
|
|
26014
|
+
Utils.l = parseLocale;
|
|
26015
|
+
Utils.i = isDayjs;
|
|
26016
|
+
Utils.w = wrapper;
|
|
26017
|
+
|
|
26018
|
+
var parseDate = function parseDate(cfg) {
|
|
26019
|
+
var date = cfg.date,
|
|
26020
|
+
utc = cfg.utc;
|
|
26021
|
+
if (date === null) return new Date(NaN); // null is invalid
|
|
26022
|
+
|
|
26023
|
+
if (Utils.u(date)) return new Date(); // today
|
|
26024
|
+
|
|
26025
|
+
if (date instanceof Date) return new Date(date);
|
|
26026
|
+
|
|
26027
|
+
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
|
26028
|
+
var d = date.match(REGEX_PARSE);
|
|
26029
|
+
|
|
26030
|
+
if (d) {
|
|
26031
|
+
var m = d[2] - 1 || 0;
|
|
26032
|
+
var ms = (d[7] || '0').substring(0, 3);
|
|
26033
|
+
|
|
26034
|
+
if (utc) {
|
|
26035
|
+
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
|
26036
|
+
}
|
|
26037
|
+
|
|
26038
|
+
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
|
26039
|
+
}
|
|
26040
|
+
}
|
|
26041
|
+
|
|
26042
|
+
return new Date(date); // everything else
|
|
26043
|
+
};
|
|
26044
|
+
|
|
26045
|
+
var Dayjs = /*#__PURE__*/function () {
|
|
26046
|
+
function Dayjs(cfg) {
|
|
26047
|
+
this.$L = parseLocale(cfg.locale, null, true);
|
|
26048
|
+
this.parse(cfg); // for plugin
|
|
26049
|
+
}
|
|
26050
|
+
|
|
26051
|
+
var _proto = Dayjs.prototype;
|
|
26052
|
+
|
|
26053
|
+
_proto.parse = function parse(cfg) {
|
|
26054
|
+
this.$d = parseDate(cfg);
|
|
26055
|
+
this.$x = cfg.x || {};
|
|
26056
|
+
this.init();
|
|
26057
|
+
};
|
|
26058
|
+
|
|
26059
|
+
_proto.init = function init() {
|
|
26060
|
+
var $d = this.$d;
|
|
26061
|
+
this.$y = $d.getFullYear();
|
|
26062
|
+
this.$M = $d.getMonth();
|
|
26063
|
+
this.$D = $d.getDate();
|
|
26064
|
+
this.$W = $d.getDay();
|
|
26065
|
+
this.$H = $d.getHours();
|
|
26066
|
+
this.$m = $d.getMinutes();
|
|
26067
|
+
this.$s = $d.getSeconds();
|
|
26068
|
+
this.$ms = $d.getMilliseconds();
|
|
26069
|
+
} // eslint-disable-next-line class-methods-use-this
|
|
26070
|
+
;
|
|
26071
|
+
|
|
26072
|
+
_proto.$utils = function $utils() {
|
|
26073
|
+
return Utils;
|
|
26074
|
+
};
|
|
26075
|
+
|
|
26076
|
+
_proto.isValid = function isValid() {
|
|
26077
|
+
return !(this.$d.toString() === INVALID_DATE_STRING);
|
|
26078
|
+
};
|
|
26079
|
+
|
|
26080
|
+
_proto.isSame = function isSame(that, units) {
|
|
26081
|
+
var other = dayjs(that);
|
|
26082
|
+
return this.startOf(units) <= other && other <= this.endOf(units);
|
|
26083
|
+
};
|
|
26084
|
+
|
|
26085
|
+
_proto.isAfter = function isAfter(that, units) {
|
|
26086
|
+
return dayjs(that) < this.startOf(units);
|
|
26087
|
+
};
|
|
26088
|
+
|
|
26089
|
+
_proto.isBefore = function isBefore(that, units) {
|
|
26090
|
+
return this.endOf(units) < dayjs(that);
|
|
26091
|
+
};
|
|
26092
|
+
|
|
26093
|
+
_proto.$g = function $g(input, get, set) {
|
|
26094
|
+
if (Utils.u(input)) return this[get];
|
|
26095
|
+
return this.set(set, input);
|
|
26096
|
+
};
|
|
26097
|
+
|
|
26098
|
+
_proto.unix = function unix() {
|
|
26099
|
+
return Math.floor(this.valueOf() / 1000);
|
|
26100
|
+
};
|
|
26101
|
+
|
|
26102
|
+
_proto.valueOf = function valueOf() {
|
|
26103
|
+
// timezone(hour) * 60 * 60 * 1000 => ms
|
|
26104
|
+
return this.$d.getTime();
|
|
26105
|
+
};
|
|
26106
|
+
|
|
26107
|
+
_proto.startOf = function startOf(units, _startOf) {
|
|
26108
|
+
var _this = this;
|
|
26109
|
+
|
|
26110
|
+
// startOf -> endOf
|
|
26111
|
+
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
|
26112
|
+
var unit = Utils.p(units);
|
|
26113
|
+
|
|
26114
|
+
var instanceFactory = function instanceFactory(d, m) {
|
|
26115
|
+
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
|
26116
|
+
return isStartOf ? ins : ins.endOf(D);
|
|
26117
|
+
};
|
|
26118
|
+
|
|
26119
|
+
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
|
26120
|
+
var argumentStart = [0, 0, 0, 0];
|
|
26121
|
+
var argumentEnd = [23, 59, 59, 999];
|
|
26122
|
+
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
|
26123
|
+
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
|
26124
|
+
};
|
|
26125
|
+
|
|
26126
|
+
var $W = this.$W,
|
|
26127
|
+
$M = this.$M,
|
|
26128
|
+
$D = this.$D;
|
|
26129
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
26130
|
+
|
|
26131
|
+
switch (unit) {
|
|
26132
|
+
case Y:
|
|
26133
|
+
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
|
26134
|
+
|
|
26135
|
+
case M:
|
|
26136
|
+
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
|
26137
|
+
|
|
26138
|
+
case W:
|
|
26139
|
+
{
|
|
26140
|
+
var weekStart = this.$locale().weekStart || 0;
|
|
26141
|
+
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
|
26142
|
+
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
|
26143
|
+
}
|
|
26144
|
+
|
|
26145
|
+
case D:
|
|
26146
|
+
case DATE:
|
|
26147
|
+
return instanceFactorySet(utcPad + "Hours", 0);
|
|
26148
|
+
|
|
26149
|
+
case H:
|
|
26150
|
+
return instanceFactorySet(utcPad + "Minutes", 1);
|
|
26151
|
+
|
|
26152
|
+
case MIN:
|
|
26153
|
+
return instanceFactorySet(utcPad + "Seconds", 2);
|
|
26154
|
+
|
|
26155
|
+
case S:
|
|
26156
|
+
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
|
26157
|
+
|
|
26158
|
+
default:
|
|
26159
|
+
return this.clone();
|
|
26160
|
+
}
|
|
26161
|
+
};
|
|
26162
|
+
|
|
26163
|
+
_proto.endOf = function endOf(arg) {
|
|
26164
|
+
return this.startOf(arg, false);
|
|
26165
|
+
};
|
|
26166
|
+
|
|
26167
|
+
_proto.$set = function $set(units, _int) {
|
|
26168
|
+
var _C$D$C$DATE$C$M$C$Y$C;
|
|
26169
|
+
|
|
26170
|
+
// private set
|
|
26171
|
+
var unit = Utils.p(units);
|
|
26172
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
26173
|
+
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];
|
|
26174
|
+
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
|
26175
|
+
|
|
26176
|
+
if (unit === M || unit === Y) {
|
|
26177
|
+
// clone is for badMutable plugin
|
|
26178
|
+
var date = this.clone().set(DATE, 1);
|
|
26179
|
+
date.$d[name](arg);
|
|
26180
|
+
date.init();
|
|
26181
|
+
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
|
26182
|
+
} else if (name) this.$d[name](arg);
|
|
26183
|
+
|
|
26184
|
+
this.init();
|
|
26185
|
+
return this;
|
|
26186
|
+
};
|
|
26187
|
+
|
|
26188
|
+
_proto.set = function set(string, _int2) {
|
|
26189
|
+
return this.clone().$set(string, _int2);
|
|
26190
|
+
};
|
|
26191
|
+
|
|
26192
|
+
_proto.get = function get(unit) {
|
|
26193
|
+
return this[Utils.p(unit)]();
|
|
26194
|
+
};
|
|
26195
|
+
|
|
26196
|
+
_proto.add = function add(number, units) {
|
|
26197
|
+
var _this2 = this,
|
|
26198
|
+
_C$MIN$C$H$C$S$unit;
|
|
26199
|
+
|
|
26200
|
+
number = Number(number); // eslint-disable-line no-param-reassign
|
|
26201
|
+
|
|
26202
|
+
var unit = Utils.p(units);
|
|
26203
|
+
|
|
26204
|
+
var instanceFactorySet = function instanceFactorySet(n) {
|
|
26205
|
+
var d = dayjs(_this2);
|
|
26206
|
+
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
|
26207
|
+
};
|
|
26208
|
+
|
|
26209
|
+
if (unit === M) {
|
|
26210
|
+
return this.set(M, this.$M + number);
|
|
26211
|
+
}
|
|
26212
|
+
|
|
26213
|
+
if (unit === Y) {
|
|
26214
|
+
return this.set(Y, this.$y + number);
|
|
26215
|
+
}
|
|
26216
|
+
|
|
26217
|
+
if (unit === D) {
|
|
26218
|
+
return instanceFactorySet(1);
|
|
26219
|
+
}
|
|
26220
|
+
|
|
26221
|
+
if (unit === W) {
|
|
26222
|
+
return instanceFactorySet(7);
|
|
26223
|
+
}
|
|
26224
|
+
|
|
26225
|
+
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
|
|
26226
|
+
|
|
26227
|
+
var nextTimeStamp = this.$d.getTime() + number * step;
|
|
26228
|
+
return Utils.w(nextTimeStamp, this);
|
|
26229
|
+
};
|
|
26230
|
+
|
|
26231
|
+
_proto.subtract = function subtract(number, string) {
|
|
26232
|
+
return this.add(number * -1, string);
|
|
26233
|
+
};
|
|
26234
|
+
|
|
26235
|
+
_proto.format = function format(formatStr) {
|
|
26236
|
+
var _this3 = this;
|
|
26237
|
+
|
|
26238
|
+
var locale = this.$locale();
|
|
26239
|
+
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
|
26240
|
+
var str = formatStr || FORMAT_DEFAULT;
|
|
26241
|
+
var zoneStr = Utils.z(this);
|
|
26242
|
+
var $H = this.$H,
|
|
26243
|
+
$m = this.$m,
|
|
26244
|
+
$M = this.$M;
|
|
26245
|
+
var weekdays = locale.weekdays,
|
|
26246
|
+
months = locale.months,
|
|
26247
|
+
meridiem = locale.meridiem;
|
|
26248
|
+
|
|
26249
|
+
var getShort = function getShort(arr, index, full, length) {
|
|
26250
|
+
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
|
26251
|
+
};
|
|
26252
|
+
|
|
26253
|
+
var get$H = function get$H(num) {
|
|
26254
|
+
return Utils.s($H % 12 || 12, num, '0');
|
|
26255
|
+
};
|
|
26256
|
+
|
|
26257
|
+
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
|
26258
|
+
var m = hour < 12 ? 'AM' : 'PM';
|
|
26259
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
26260
|
+
};
|
|
26261
|
+
|
|
26262
|
+
var matches = {
|
|
26263
|
+
YY: String(this.$y).slice(-2),
|
|
26264
|
+
YYYY: this.$y,
|
|
26265
|
+
M: $M + 1,
|
|
26266
|
+
MM: Utils.s($M + 1, 2, '0'),
|
|
26267
|
+
MMM: getShort(locale.monthsShort, $M, months, 3),
|
|
26268
|
+
MMMM: getShort(months, $M),
|
|
26269
|
+
D: this.$D,
|
|
26270
|
+
DD: Utils.s(this.$D, 2, '0'),
|
|
26271
|
+
d: String(this.$W),
|
|
26272
|
+
dd: getShort(locale.weekdaysMin, this.$W, weekdays, 2),
|
|
26273
|
+
ddd: getShort(locale.weekdaysShort, this.$W, weekdays, 3),
|
|
26274
|
+
dddd: weekdays[this.$W],
|
|
26275
|
+
H: String($H),
|
|
26276
|
+
HH: Utils.s($H, 2, '0'),
|
|
26277
|
+
h: get$H(1),
|
|
26278
|
+
hh: get$H(2),
|
|
26279
|
+
a: meridiemFunc($H, $m, true),
|
|
26280
|
+
A: meridiemFunc($H, $m, false),
|
|
26281
|
+
m: String($m),
|
|
26282
|
+
mm: Utils.s($m, 2, '0'),
|
|
26283
|
+
s: String(this.$s),
|
|
26284
|
+
ss: Utils.s(this.$s, 2, '0'),
|
|
26285
|
+
SSS: Utils.s(this.$ms, 3, '0'),
|
|
26286
|
+
Z: zoneStr // 'ZZ' logic below
|
|
26287
|
+
|
|
26288
|
+
};
|
|
26289
|
+
return str.replace(REGEX_FORMAT, function (match, $1) {
|
|
26290
|
+
return $1 || matches[match] || zoneStr.replace(':', '');
|
|
26291
|
+
}); // 'ZZ'
|
|
26292
|
+
};
|
|
26293
|
+
|
|
26294
|
+
_proto.utcOffset = function utcOffset() {
|
|
26295
|
+
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
|
26296
|
+
// https://github.com/moment/moment/pull/1871
|
|
26297
|
+
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
|
26298
|
+
};
|
|
26299
|
+
|
|
26300
|
+
_proto.diff = function diff(input, units, _float) {
|
|
26301
|
+
var _C$Y$C$M$C$Q$C$W$C$D$;
|
|
26302
|
+
|
|
26303
|
+
var unit = Utils.p(units);
|
|
26304
|
+
var that = dayjs(input);
|
|
26305
|
+
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
|
26306
|
+
var diff = this - that;
|
|
26307
|
+
var result = Utils.m(this, that);
|
|
26308
|
+
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
|
|
26309
|
+
|
|
26310
|
+
return _float ? result : Utils.a(result);
|
|
26311
|
+
};
|
|
26312
|
+
|
|
26313
|
+
_proto.daysInMonth = function daysInMonth() {
|
|
26314
|
+
return this.endOf(M).$D;
|
|
26315
|
+
};
|
|
26316
|
+
|
|
26317
|
+
_proto.$locale = function $locale() {
|
|
26318
|
+
// get locale object
|
|
26319
|
+
return Ls[this.$L];
|
|
26320
|
+
};
|
|
26321
|
+
|
|
26322
|
+
_proto.locale = function locale(preset, object) {
|
|
26323
|
+
if (!preset) return this.$L;
|
|
26324
|
+
var that = this.clone();
|
|
26325
|
+
var nextLocaleName = parseLocale(preset, object, true);
|
|
26326
|
+
if (nextLocaleName) that.$L = nextLocaleName;
|
|
26327
|
+
return that;
|
|
26328
|
+
};
|
|
26329
|
+
|
|
26330
|
+
_proto.clone = function clone() {
|
|
26331
|
+
return Utils.w(this.$d, this);
|
|
26332
|
+
};
|
|
26333
|
+
|
|
26334
|
+
_proto.toDate = function toDate() {
|
|
26335
|
+
return new Date(this.valueOf());
|
|
26336
|
+
};
|
|
26337
|
+
|
|
26338
|
+
_proto.toJSON = function toJSON() {
|
|
26339
|
+
return this.isValid() ? this.toISOString() : null;
|
|
26340
|
+
};
|
|
26341
|
+
|
|
26342
|
+
_proto.toISOString = function toISOString() {
|
|
26343
|
+
// ie 8 return
|
|
26344
|
+
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
|
26345
|
+
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
|
26346
|
+
return this.$d.toISOString();
|
|
26347
|
+
};
|
|
26348
|
+
|
|
26349
|
+
_proto.toString = function toString() {
|
|
26350
|
+
return this.$d.toUTCString();
|
|
26351
|
+
};
|
|
26352
|
+
|
|
26353
|
+
return Dayjs;
|
|
26354
|
+
}();
|
|
26355
|
+
|
|
26356
|
+
var proto = Dayjs.prototype;
|
|
26357
|
+
dayjs.prototype = proto;
|
|
26358
|
+
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
|
26359
|
+
proto[g[1]] = function (input) {
|
|
26360
|
+
return this.$g(input, g[0], g[1]);
|
|
26361
|
+
};
|
|
26362
|
+
});
|
|
26363
|
+
|
|
26364
|
+
dayjs.extend = function (plugin, option) {
|
|
26365
|
+
if (!plugin.$i) {
|
|
26366
|
+
// install plugin only once
|
|
26367
|
+
plugin(option, Dayjs, dayjs);
|
|
26368
|
+
plugin.$i = true;
|
|
26369
|
+
}
|
|
26370
|
+
|
|
26371
|
+
return dayjs;
|
|
26372
|
+
};
|
|
26373
|
+
|
|
26374
|
+
dayjs.locale = parseLocale;
|
|
26375
|
+
dayjs.isDayjs = isDayjs;
|
|
26376
|
+
|
|
26377
|
+
dayjs.unix = function (timestamp) {
|
|
26378
|
+
return dayjs(timestamp * 1e3);
|
|
26379
|
+
};
|
|
26380
|
+
|
|
26381
|
+
dayjs.en = Ls[L];
|
|
26382
|
+
dayjs.Ls = Ls;
|
|
26383
|
+
dayjs.p = {};
|
|
26384
|
+
|
|
26385
|
+
// eslint-disable-next-line import/prefer-default-export
|
|
26386
|
+
var t = function t(format) {
|
|
26387
|
+
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
|
26388
|
+
return a || b.slice(1);
|
|
26389
|
+
});
|
|
26390
|
+
};
|
|
26391
|
+
var englishFormats = {
|
|
26392
|
+
LTS: 'h:mm:ss A',
|
|
26393
|
+
LT: 'h:mm A',
|
|
26394
|
+
L: 'MM/DD/YYYY',
|
|
26395
|
+
LL: 'MMMM D, YYYY',
|
|
26396
|
+
LLL: 'MMMM D, YYYY h:mm A',
|
|
26397
|
+
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
|
26398
|
+
};
|
|
26399
|
+
var u = function u(formatStr, formats) {
|
|
26400
|
+
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
|
26401
|
+
var B = b && b.toUpperCase();
|
|
26402
|
+
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
|
26403
|
+
});
|
|
26404
|
+
};
|
|
26405
|
+
|
|
26406
|
+
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
|
26407
|
+
var match1 = /\d/; // 0 - 9
|
|
26408
|
+
|
|
26409
|
+
var match2 = /\d\d/; // 00 - 99
|
|
26410
|
+
|
|
26411
|
+
var match3 = /\d{3}/; // 000 - 999
|
|
26412
|
+
|
|
26413
|
+
var match4 = /\d{4}/; // 0000 - 9999
|
|
26414
|
+
|
|
26415
|
+
var match1to2 = /\d\d?/; // 0 - 99
|
|
26416
|
+
|
|
26417
|
+
var matchSigned = /[+-]?\d+/; // -inf - inf
|
|
26418
|
+
|
|
26419
|
+
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
|
26420
|
+
|
|
26421
|
+
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
|
26422
|
+
|
|
26423
|
+
var locale = {};
|
|
26424
|
+
|
|
26425
|
+
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
|
26426
|
+
input = +input;
|
|
26427
|
+
return input + (input > 68 ? 1900 : 2000);
|
|
26428
|
+
};
|
|
26429
|
+
|
|
26430
|
+
function offsetFromString(string) {
|
|
26431
|
+
if (!string) return 0;
|
|
26432
|
+
if (string === 'Z') return 0;
|
|
26433
|
+
var parts = string.match(/([+-]|\d\d)/g);
|
|
26434
|
+
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
|
26435
|
+
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
|
26436
|
+
}
|
|
26437
|
+
|
|
26438
|
+
var addInput = function addInput(property) {
|
|
26439
|
+
return function (input) {
|
|
26440
|
+
this[property] = +input;
|
|
26441
|
+
};
|
|
26442
|
+
};
|
|
26443
|
+
|
|
26444
|
+
var zoneExpressions = [matchOffset, function (input) {
|
|
26445
|
+
var zone = this.zone || (this.zone = {});
|
|
26446
|
+
zone.offset = offsetFromString(input);
|
|
26447
|
+
}];
|
|
26448
|
+
|
|
26449
|
+
var getLocalePart = function getLocalePart(name) {
|
|
26450
|
+
var part = locale[name];
|
|
26451
|
+
return part && (part.indexOf ? part : part.s.concat(part.f));
|
|
26452
|
+
};
|
|
26453
|
+
|
|
26454
|
+
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
|
26455
|
+
var isAfternoon;
|
|
26456
|
+
var _locale = locale,
|
|
26457
|
+
meridiem = _locale.meridiem;
|
|
26458
|
+
|
|
26459
|
+
if (!meridiem) {
|
|
26460
|
+
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
|
26461
|
+
} else {
|
|
26462
|
+
for (var i = 1; i <= 24; i += 1) {
|
|
26463
|
+
// todo: fix input === meridiem(i, 0, isLowerCase)
|
|
26464
|
+
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
|
26465
|
+
isAfternoon = i > 12;
|
|
26466
|
+
break;
|
|
26467
|
+
}
|
|
26468
|
+
}
|
|
26469
|
+
}
|
|
26470
|
+
|
|
26471
|
+
return isAfternoon;
|
|
26472
|
+
};
|
|
26473
|
+
|
|
26474
|
+
var expressions = {
|
|
26475
|
+
A: [matchWord, function (input) {
|
|
26476
|
+
this.afternoon = meridiemMatch(input, false);
|
|
26477
|
+
}],
|
|
26478
|
+
a: [matchWord, function (input) {
|
|
26479
|
+
this.afternoon = meridiemMatch(input, true);
|
|
26480
|
+
}],
|
|
26481
|
+
S: [match1, function (input) {
|
|
26482
|
+
this.milliseconds = +input * 100;
|
|
26483
|
+
}],
|
|
26484
|
+
SS: [match2, function (input) {
|
|
26485
|
+
this.milliseconds = +input * 10;
|
|
26486
|
+
}],
|
|
26487
|
+
SSS: [match3, function (input) {
|
|
26488
|
+
this.milliseconds = +input;
|
|
26489
|
+
}],
|
|
26490
|
+
s: [match1to2, addInput('seconds')],
|
|
26491
|
+
ss: [match1to2, addInput('seconds')],
|
|
26492
|
+
m: [match1to2, addInput('minutes')],
|
|
26493
|
+
mm: [match1to2, addInput('minutes')],
|
|
26494
|
+
H: [match1to2, addInput('hours')],
|
|
26495
|
+
h: [match1to2, addInput('hours')],
|
|
26496
|
+
HH: [match1to2, addInput('hours')],
|
|
26497
|
+
hh: [match1to2, addInput('hours')],
|
|
26498
|
+
D: [match1to2, addInput('day')],
|
|
26499
|
+
DD: [match2, addInput('day')],
|
|
26500
|
+
Do: [matchWord, function (input) {
|
|
26501
|
+
var _locale2 = locale,
|
|
26502
|
+
ordinal = _locale2.ordinal;
|
|
26503
|
+
|
|
26504
|
+
var _input$match = input.match(/\d+/);
|
|
26505
|
+
|
|
26506
|
+
this.day = _input$match[0];
|
|
26507
|
+
if (!ordinal) return;
|
|
26508
|
+
|
|
26509
|
+
for (var i = 1; i <= 31; i += 1) {
|
|
26510
|
+
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
|
26511
|
+
this.day = i;
|
|
26512
|
+
}
|
|
26513
|
+
}
|
|
26514
|
+
}],
|
|
26515
|
+
M: [match1to2, addInput('month')],
|
|
26516
|
+
MM: [match2, addInput('month')],
|
|
26517
|
+
MMM: [matchWord, function (input) {
|
|
26518
|
+
var months = getLocalePart('months');
|
|
26519
|
+
var monthsShort = getLocalePart('monthsShort');
|
|
26520
|
+
var matchIndex = (monthsShort || months.map(function (_) {
|
|
26521
|
+
return _.slice(0, 3);
|
|
26522
|
+
})).indexOf(input) + 1;
|
|
26523
|
+
|
|
26524
|
+
if (matchIndex < 1) {
|
|
26525
|
+
throw new Error();
|
|
26526
|
+
}
|
|
26527
|
+
|
|
26528
|
+
this.month = matchIndex % 12 || matchIndex;
|
|
26529
|
+
}],
|
|
26530
|
+
MMMM: [matchWord, function (input) {
|
|
26531
|
+
var months = getLocalePart('months');
|
|
26532
|
+
var matchIndex = months.indexOf(input) + 1;
|
|
26533
|
+
|
|
26534
|
+
if (matchIndex < 1) {
|
|
26535
|
+
throw new Error();
|
|
26536
|
+
}
|
|
26537
|
+
|
|
26538
|
+
this.month = matchIndex % 12 || matchIndex;
|
|
26539
|
+
}],
|
|
26540
|
+
Y: [matchSigned, addInput('year')],
|
|
26541
|
+
YY: [match2, function (input) {
|
|
26542
|
+
this.year = parseTwoDigitYear(input);
|
|
26543
|
+
}],
|
|
26544
|
+
YYYY: [match4, addInput('year')],
|
|
26545
|
+
Z: zoneExpressions,
|
|
26546
|
+
ZZ: zoneExpressions
|
|
26547
|
+
};
|
|
26548
|
+
|
|
26549
|
+
function correctHours(time) {
|
|
26550
|
+
var afternoon = time.afternoon;
|
|
26551
|
+
|
|
26552
|
+
if (afternoon !== undefined) {
|
|
26553
|
+
var hours = time.hours;
|
|
26554
|
+
|
|
26555
|
+
if (afternoon) {
|
|
26556
|
+
if (hours < 12) {
|
|
26557
|
+
time.hours += 12;
|
|
26558
|
+
}
|
|
26559
|
+
} else if (hours === 12) {
|
|
26560
|
+
time.hours = 0;
|
|
26561
|
+
}
|
|
26562
|
+
|
|
26563
|
+
delete time.afternoon;
|
|
26564
|
+
}
|
|
26565
|
+
}
|
|
26566
|
+
|
|
26567
|
+
function makeParser(format) {
|
|
26568
|
+
format = u(format, locale && locale.formats);
|
|
26569
|
+
var array = format.match(formattingTokens);
|
|
26570
|
+
var length = array.length;
|
|
26571
|
+
|
|
26572
|
+
for (var i = 0; i < length; i += 1) {
|
|
26573
|
+
var token = array[i];
|
|
26574
|
+
var parseTo = expressions[token];
|
|
26575
|
+
var regex = parseTo && parseTo[0];
|
|
26576
|
+
var parser = parseTo && parseTo[1];
|
|
26577
|
+
|
|
26578
|
+
if (parser) {
|
|
26579
|
+
array[i] = {
|
|
26580
|
+
regex: regex,
|
|
26581
|
+
parser: parser
|
|
26582
|
+
};
|
|
26583
|
+
} else {
|
|
26584
|
+
array[i] = token.replace(/^\[|\]$/g, '');
|
|
26585
|
+
}
|
|
26586
|
+
}
|
|
26587
|
+
|
|
26588
|
+
return function (input) {
|
|
26589
|
+
var time = {};
|
|
26590
|
+
|
|
26591
|
+
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
|
26592
|
+
var _token = array[_i];
|
|
26593
|
+
|
|
26594
|
+
if (typeof _token === 'string') {
|
|
26595
|
+
start += _token.length;
|
|
26596
|
+
} else {
|
|
26597
|
+
var _regex = _token.regex,
|
|
26598
|
+
_parser = _token.parser;
|
|
26599
|
+
var part = input.slice(start);
|
|
26600
|
+
|
|
26601
|
+
var match = _regex.exec(part);
|
|
26602
|
+
|
|
26603
|
+
var value = match[0];
|
|
26604
|
+
|
|
26605
|
+
_parser.call(time, value);
|
|
26606
|
+
|
|
26607
|
+
input = input.replace(value, '');
|
|
26608
|
+
}
|
|
26609
|
+
}
|
|
26610
|
+
|
|
26611
|
+
correctHours(time);
|
|
26612
|
+
return time;
|
|
26613
|
+
};
|
|
26614
|
+
}
|
|
26615
|
+
|
|
26616
|
+
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
|
26617
|
+
try {
|
|
26618
|
+
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
|
26619
|
+
var parser = makeParser(format);
|
|
26620
|
+
|
|
26621
|
+
var _parser2 = parser(input),
|
|
26622
|
+
year = _parser2.year,
|
|
26623
|
+
month = _parser2.month,
|
|
26624
|
+
day = _parser2.day,
|
|
26625
|
+
hours = _parser2.hours,
|
|
26626
|
+
minutes = _parser2.minutes,
|
|
26627
|
+
seconds = _parser2.seconds,
|
|
26628
|
+
milliseconds = _parser2.milliseconds,
|
|
26629
|
+
zone = _parser2.zone;
|
|
26630
|
+
|
|
26631
|
+
var now = new Date();
|
|
26632
|
+
var d = day || (!year && !month ? now.getDate() : 1);
|
|
26633
|
+
var y = year || now.getFullYear();
|
|
26634
|
+
var M = 0;
|
|
26635
|
+
|
|
26636
|
+
if (!(year && !month)) {
|
|
26637
|
+
M = month > 0 ? month - 1 : now.getMonth();
|
|
26638
|
+
}
|
|
26639
|
+
|
|
26640
|
+
var h = hours || 0;
|
|
26641
|
+
var m = minutes || 0;
|
|
26642
|
+
var s = seconds || 0;
|
|
26643
|
+
var ms = milliseconds || 0;
|
|
26644
|
+
|
|
26645
|
+
if (zone) {
|
|
26646
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
|
26647
|
+
}
|
|
26648
|
+
|
|
26649
|
+
if (utc) {
|
|
26650
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
|
26651
|
+
}
|
|
26652
|
+
|
|
26653
|
+
return new Date(y, M, d, h, m, s, ms);
|
|
26654
|
+
} catch (e) {
|
|
26655
|
+
return new Date(''); // Invalid Date
|
|
26656
|
+
}
|
|
26657
|
+
};
|
|
26658
|
+
|
|
26659
|
+
var customParseFormat = (function (o, C, d) {
|
|
26660
|
+
d.p.customParseFormat = true;
|
|
26661
|
+
|
|
26662
|
+
if (o && o.parseTwoDigitYear) {
|
|
26663
|
+
parseTwoDigitYear = o.parseTwoDigitYear;
|
|
26664
|
+
}
|
|
26665
|
+
|
|
26666
|
+
var proto = C.prototype;
|
|
26667
|
+
var oldParse = proto.parse;
|
|
26668
|
+
|
|
26669
|
+
proto.parse = function (cfg) {
|
|
26670
|
+
var date = cfg.date,
|
|
26671
|
+
utc = cfg.utc,
|
|
26672
|
+
args = cfg.args;
|
|
26673
|
+
this.$u = utc;
|
|
26674
|
+
var format = args[1];
|
|
26675
|
+
|
|
26676
|
+
if (typeof format === 'string') {
|
|
26677
|
+
var isStrictWithoutLocale = args[2] === true;
|
|
26678
|
+
var isStrictWithLocale = args[3] === true;
|
|
26679
|
+
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
|
26680
|
+
var pl = args[2];
|
|
26681
|
+
|
|
26682
|
+
if (isStrictWithLocale) {
|
|
26683
|
+
pl = args[2];
|
|
26684
|
+
}
|
|
26685
|
+
|
|
26686
|
+
locale = this.$locale();
|
|
26687
|
+
|
|
26688
|
+
if (!isStrictWithoutLocale && pl) {
|
|
26689
|
+
locale = d.Ls[pl];
|
|
26690
|
+
}
|
|
26691
|
+
|
|
26692
|
+
this.$d = parseFormattedInput(date, format, utc);
|
|
26693
|
+
this.init();
|
|
26694
|
+
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
|
26695
|
+
// input number 1410715640579 and format string '1410715640579' equal
|
|
26696
|
+
// eslint-disable-next-line eqeqeq
|
|
26697
|
+
|
|
26698
|
+
if (isStrict && date != this.format(format)) {
|
|
26699
|
+
this.$d = new Date('');
|
|
26700
|
+
} // reset global locale to make parallel unit test
|
|
26701
|
+
|
|
26702
|
+
|
|
26703
|
+
locale = {};
|
|
26704
|
+
} else if (format instanceof Array) {
|
|
26705
|
+
var len = format.length;
|
|
26706
|
+
|
|
26707
|
+
for (var i = 1; i <= len; i += 1) {
|
|
26708
|
+
args[1] = format[i - 1];
|
|
26709
|
+
var result = d.apply(this, args);
|
|
26710
|
+
|
|
26711
|
+
if (result.isValid()) {
|
|
26712
|
+
this.$d = result.$d;
|
|
26713
|
+
this.$L = result.$L;
|
|
26714
|
+
this.init();
|
|
26715
|
+
break;
|
|
26716
|
+
}
|
|
26717
|
+
|
|
26718
|
+
if (i === len) this.$d = new Date('');
|
|
26719
|
+
}
|
|
26720
|
+
} else {
|
|
26721
|
+
oldParse.call(this, cfg);
|
|
26722
|
+
}
|
|
26723
|
+
};
|
|
26724
|
+
});
|
|
26725
|
+
|
|
26726
|
+
var localeData = (function (o, c, dayjs) {
|
|
26727
|
+
// locale needed later
|
|
26728
|
+
var proto = c.prototype;
|
|
26729
|
+
|
|
26730
|
+
var getLocalePart = function getLocalePart(part) {
|
|
26731
|
+
return part && (part.indexOf ? part : part.s);
|
|
26732
|
+
};
|
|
26733
|
+
|
|
26734
|
+
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
|
26735
|
+
var locale = ins.name ? ins : ins.$locale();
|
|
26736
|
+
var targetLocale = getLocalePart(locale[target]);
|
|
26737
|
+
var fullLocale = getLocalePart(locale[full]);
|
|
26738
|
+
var result = targetLocale || fullLocale.map(function (f) {
|
|
26739
|
+
return f.slice(0, num);
|
|
26740
|
+
});
|
|
26741
|
+
if (!localeOrder) return result;
|
|
26742
|
+
var weekStart = locale.weekStart;
|
|
26743
|
+
return result.map(function (_, index) {
|
|
26744
|
+
return result[(index + (weekStart || 0)) % 7];
|
|
26745
|
+
});
|
|
26746
|
+
};
|
|
26747
|
+
|
|
26748
|
+
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
|
26749
|
+
return dayjs.Ls[dayjs.locale()];
|
|
26750
|
+
};
|
|
26751
|
+
|
|
26752
|
+
var getLongDateFormat = function getLongDateFormat(l, format) {
|
|
26753
|
+
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
|
26754
|
+
};
|
|
26755
|
+
|
|
26756
|
+
var localeData = function localeData() {
|
|
26757
|
+
var _this = this;
|
|
26758
|
+
|
|
26759
|
+
return {
|
|
26760
|
+
months: function months(instance) {
|
|
26761
|
+
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
|
26762
|
+
},
|
|
26763
|
+
monthsShort: function monthsShort(instance) {
|
|
26764
|
+
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
|
26765
|
+
},
|
|
26766
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
|
26767
|
+
return _this.$locale().weekStart || 0;
|
|
26768
|
+
},
|
|
26769
|
+
weekdays: function weekdays(instance) {
|
|
26770
|
+
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
|
26771
|
+
},
|
|
26772
|
+
weekdaysMin: function weekdaysMin(instance) {
|
|
26773
|
+
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
|
26774
|
+
},
|
|
26775
|
+
weekdaysShort: function weekdaysShort(instance) {
|
|
26776
|
+
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
|
26777
|
+
},
|
|
26778
|
+
longDateFormat: function longDateFormat(format) {
|
|
26779
|
+
return getLongDateFormat(_this.$locale(), format);
|
|
26780
|
+
},
|
|
26781
|
+
meridiem: this.$locale().meridiem,
|
|
26782
|
+
ordinal: this.$locale().ordinal
|
|
26783
|
+
};
|
|
26784
|
+
};
|
|
26785
|
+
|
|
26786
|
+
proto.localeData = function () {
|
|
26787
|
+
return localeData.bind(this)();
|
|
26788
|
+
};
|
|
26789
|
+
|
|
26790
|
+
dayjs.localeData = function () {
|
|
26791
|
+
var localeObject = getDayjsLocaleObject();
|
|
26792
|
+
return {
|
|
26793
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
|
26794
|
+
return localeObject.weekStart || 0;
|
|
26795
|
+
},
|
|
26796
|
+
weekdays: function weekdays() {
|
|
26797
|
+
return dayjs.weekdays();
|
|
26798
|
+
},
|
|
26799
|
+
weekdaysShort: function weekdaysShort() {
|
|
26800
|
+
return dayjs.weekdaysShort();
|
|
26801
|
+
},
|
|
26802
|
+
weekdaysMin: function weekdaysMin() {
|
|
26803
|
+
return dayjs.weekdaysMin();
|
|
26804
|
+
},
|
|
26805
|
+
months: function months() {
|
|
26806
|
+
return dayjs.months();
|
|
26807
|
+
},
|
|
26808
|
+
monthsShort: function monthsShort() {
|
|
26809
|
+
return dayjs.monthsShort();
|
|
26810
|
+
},
|
|
26811
|
+
longDateFormat: function longDateFormat(format) {
|
|
26812
|
+
return getLongDateFormat(localeObject, format);
|
|
26813
|
+
},
|
|
26814
|
+
meridiem: localeObject.meridiem,
|
|
26815
|
+
ordinal: localeObject.ordinal
|
|
26816
|
+
};
|
|
26817
|
+
};
|
|
26818
|
+
|
|
26819
|
+
dayjs.months = function () {
|
|
26820
|
+
return getShort(getDayjsLocaleObject(), 'months');
|
|
26821
|
+
};
|
|
26822
|
+
|
|
26823
|
+
dayjs.monthsShort = function () {
|
|
26824
|
+
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
|
26825
|
+
};
|
|
26826
|
+
|
|
26827
|
+
dayjs.weekdays = function (localeOrder) {
|
|
26828
|
+
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
|
26829
|
+
};
|
|
26830
|
+
|
|
26831
|
+
dayjs.weekdaysShort = function (localeOrder) {
|
|
26832
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
|
26833
|
+
};
|
|
26834
|
+
|
|
26835
|
+
dayjs.weekdaysMin = function (localeOrder) {
|
|
26836
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
|
26837
|
+
};
|
|
26838
|
+
});
|
|
26839
|
+
|
|
26840
|
+
var localizedFormat = (function (o, c, d) {
|
|
26841
|
+
var proto = c.prototype;
|
|
26842
|
+
var oldFormat = proto.format;
|
|
26843
|
+
d.en.formats = englishFormats;
|
|
26844
|
+
|
|
26845
|
+
proto.format = function (formatStr) {
|
|
26846
|
+
if (formatStr === void 0) {
|
|
26847
|
+
formatStr = FORMAT_DEFAULT;
|
|
26848
|
+
}
|
|
26849
|
+
|
|
26850
|
+
var _this$$locale = this.$locale(),
|
|
26851
|
+
_this$$locale$formats = _this$$locale.formats,
|
|
26852
|
+
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
|
26853
|
+
|
|
26854
|
+
var result = u(formatStr, formats);
|
|
26855
|
+
return oldFormat.call(this, result);
|
|
26856
|
+
};
|
|
26857
|
+
});
|
|
26858
|
+
|
|
26859
|
+
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
|
26860
|
+
var preParsePostFormat = (function (option, dayjsClass) {
|
|
26861
|
+
var oldParse = dayjsClass.prototype.parse;
|
|
26862
|
+
|
|
26863
|
+
dayjsClass.prototype.parse = function (cfg) {
|
|
26864
|
+
if (typeof cfg.date === 'string') {
|
|
26865
|
+
var locale = this.$locale();
|
|
26866
|
+
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
|
26867
|
+
} // original parse result
|
|
26868
|
+
|
|
26869
|
+
|
|
26870
|
+
return oldParse.bind(this)(cfg);
|
|
26871
|
+
}; // // overriding existing API
|
|
26872
|
+
// // e.g. extend dayjs().format()
|
|
26873
|
+
|
|
26874
|
+
|
|
26875
|
+
var oldFormat = dayjsClass.prototype.format;
|
|
26876
|
+
|
|
26877
|
+
dayjsClass.prototype.format = function () {
|
|
26878
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
26879
|
+
args[_key] = arguments[_key];
|
|
26880
|
+
}
|
|
26881
|
+
|
|
26882
|
+
// original format result
|
|
26883
|
+
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
|
26884
|
+
|
|
26885
|
+
var locale = this.$locale();
|
|
26886
|
+
return locale && locale.postformat ? locale.postformat(result) : result;
|
|
26887
|
+
};
|
|
26888
|
+
|
|
26889
|
+
var oldFromTo = dayjsClass.prototype.fromToBase;
|
|
26890
|
+
|
|
26891
|
+
if (oldFromTo) {
|
|
26892
|
+
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
|
26893
|
+
var locale = this.$locale() || instance.$locale(); // original format result
|
|
26894
|
+
|
|
26895
|
+
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
|
26896
|
+
};
|
|
26897
|
+
}
|
|
26898
|
+
});
|
|
26899
|
+
|
|
26900
|
+
var updateLocale = (function (option, Dayjs, dayjs) {
|
|
26901
|
+
dayjs.updateLocale = function (locale, customConfig) {
|
|
26902
|
+
var localeList = dayjs.Ls;
|
|
26903
|
+
var localeConfig = localeList[locale];
|
|
26904
|
+
if (!localeConfig) return;
|
|
26905
|
+
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
|
26906
|
+
customConfigKeys.forEach(function (c) {
|
|
26907
|
+
localeConfig[c] = customConfig[c];
|
|
26908
|
+
});
|
|
26909
|
+
return localeConfig; // eslint-disable-line consistent-return
|
|
26910
|
+
};
|
|
26911
|
+
});
|
|
26912
|
+
|
|
25805
26913
|
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
26914
|
|
|
26915
|
+
dayjs.extend(customParseFormat);
|
|
26916
|
+
dayjs.extend(localeData);
|
|
26917
|
+
dayjs.extend(localizedFormat);
|
|
26918
|
+
dayjs.extend(preParsePostFormat);
|
|
26919
|
+
dayjs.extend(updateLocale);
|
|
25807
26920
|
class InputTimePicker {
|
|
25808
26921
|
constructor(hostRef) {
|
|
25809
26922
|
registerInstance(this, hostRef);
|
|
@@ -25811,66 +26924,71 @@ class InputTimePicker {
|
|
|
25811
26924
|
this.focusOnOpen = false;
|
|
25812
26925
|
this.dialogId = `time-picker-dialog--${guid()}`;
|
|
25813
26926
|
/** whether the value of the input was changed as a result of user typing or not */
|
|
25814
|
-
this.
|
|
25815
|
-
this.previousValidValue = null;
|
|
26927
|
+
this.userChangedValue = false;
|
|
25816
26928
|
this.referenceElementId = `input-time-picker-${guid()}`;
|
|
25817
26929
|
//--------------------------------------------------------------------------
|
|
25818
26930
|
//
|
|
25819
26931
|
// Event Listeners
|
|
25820
26932
|
//
|
|
25821
26933
|
//--------------------------------------------------------------------------
|
|
25822
|
-
this.
|
|
25823
|
-
const
|
|
25824
|
-
const
|
|
25825
|
-
|
|
25826
|
-
|
|
25827
|
-
|
|
25828
|
-
|
|
25829
|
-
|
|
25830
|
-
|
|
25831
|
-
|
|
25832
|
-
|
|
25833
|
-
|
|
25834
|
-
locale,
|
|
25835
|
-
numberingSystem
|
|
26934
|
+
this.hostBlurHandler = () => {
|
|
26935
|
+
const inputValue = this.calciteInputEl.value;
|
|
26936
|
+
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
|
26937
|
+
if (!delocalizedInputValue) {
|
|
26938
|
+
this.setValue("");
|
|
26939
|
+
return;
|
|
26940
|
+
}
|
|
26941
|
+
if (delocalizedInputValue !== this.value) {
|
|
26942
|
+
this.setValue(delocalizedInputValue);
|
|
26943
|
+
}
|
|
26944
|
+
const localizedTimeString = localizeTimeString({
|
|
26945
|
+
value: this.value,
|
|
26946
|
+
locale: this.effectiveLocale,
|
|
26947
|
+
numberingSystem: this.numberingSystem,
|
|
26948
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
25836
26949
|
});
|
|
25837
|
-
|
|
25838
|
-
|
|
26950
|
+
if (localizedTimeString !== inputValue) {
|
|
26951
|
+
this.setInputValue(localizedTimeString);
|
|
26952
|
+
}
|
|
26953
|
+
this.deactivate();
|
|
25839
26954
|
};
|
|
25840
26955
|
this.calciteInternalInputFocusHandler = (event) => {
|
|
25841
26956
|
if (!this.readOnly) {
|
|
25842
26957
|
event.stopPropagation();
|
|
25843
26958
|
}
|
|
25844
26959
|
};
|
|
25845
|
-
this.
|
|
25846
|
-
const
|
|
25847
|
-
|
|
25848
|
-
|
|
25849
|
-
|
|
25850
|
-
|
|
25851
|
-
|
|
25852
|
-
|
|
25853
|
-
|
|
25854
|
-
|
|
25855
|
-
|
|
25856
|
-
|
|
25857
|
-
|
|
25858
|
-
|
|
25859
|
-
|
|
25860
|
-
|
|
25861
|
-
|
|
26960
|
+
this.calciteInternalInputInputHandler = (event) => {
|
|
26961
|
+
const { effectiveLocale: locale, numberingSystem } = this;
|
|
26962
|
+
if (numberingSystem && numberingSystem !== "latn") {
|
|
26963
|
+
const target = event.target;
|
|
26964
|
+
numberStringFormatter.numberFormatOptions = {
|
|
26965
|
+
locale,
|
|
26966
|
+
numberingSystem,
|
|
26967
|
+
useGrouping: false
|
|
26968
|
+
};
|
|
26969
|
+
const valueInNumberingSystem = numberStringFormatter
|
|
26970
|
+
.delocalize(target.value)
|
|
26971
|
+
.split("")
|
|
26972
|
+
.map((char) => numberKeys.includes(char)
|
|
26973
|
+
? numberStringFormatter.numberFormatter.format(Number(char))
|
|
26974
|
+
: char)
|
|
26975
|
+
.join("");
|
|
26976
|
+
this.setInputValue(valueInNumberingSystem);
|
|
26977
|
+
}
|
|
25862
26978
|
};
|
|
25863
26979
|
this.timePickerChangeHandler = (event) => {
|
|
25864
26980
|
event.stopPropagation();
|
|
25865
26981
|
const target = event.target;
|
|
25866
26982
|
const value = target.value;
|
|
25867
|
-
this.
|
|
26983
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
|
26984
|
+
this.setValue(toISOTimeString(value, includeSeconds));
|
|
26985
|
+
this.setInputValue(localizeTimeString({
|
|
26986
|
+
value,
|
|
26987
|
+
locale: this.effectiveLocale,
|
|
26988
|
+
numberingSystem: this.numberingSystem,
|
|
26989
|
+
includeSeconds
|
|
26990
|
+
}));
|
|
25868
26991
|
};
|
|
25869
|
-
// --------------------------------------------------------------------------
|
|
25870
|
-
//
|
|
25871
|
-
// Private Methods
|
|
25872
|
-
//
|
|
25873
|
-
// --------------------------------------------------------------------------
|
|
25874
26992
|
this.popoverCloseHandler = () => {
|
|
25875
26993
|
deactivateFocusTrap(this, {
|
|
25876
26994
|
onDeactivate: () => {
|
|
@@ -25899,6 +27017,20 @@ class InputTimePicker {
|
|
|
25899
27017
|
event.preventDefault();
|
|
25900
27018
|
this.calciteInputEl.setFocus();
|
|
25901
27019
|
}
|
|
27020
|
+
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
|
27021
|
+
return;
|
|
27022
|
+
}
|
|
27023
|
+
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
|
27024
|
+
this.setValue(newValue);
|
|
27025
|
+
const localizedTimeString = localizeTimeString({
|
|
27026
|
+
value: this.value,
|
|
27027
|
+
locale: this.effectiveLocale,
|
|
27028
|
+
numberingSystem: this.numberingSystem,
|
|
27029
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27030
|
+
});
|
|
27031
|
+
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
|
27032
|
+
this.setInputValue(localizedTimeString);
|
|
27033
|
+
}
|
|
25902
27034
|
}
|
|
25903
27035
|
else if (key === "ArrowDown") {
|
|
25904
27036
|
this.open = true;
|
|
@@ -25933,50 +27065,50 @@ class InputTimePicker {
|
|
|
25933
27065
|
}
|
|
25934
27066
|
this.calciteInputEl.value = newInputValue;
|
|
25935
27067
|
};
|
|
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);
|
|
27068
|
+
/**
|
|
27069
|
+
* Sets the value and emits a change event.
|
|
27070
|
+
* This is used to update the value as a result of user interaction.
|
|
27071
|
+
*
|
|
27072
|
+
* @param value
|
|
27073
|
+
*/
|
|
27074
|
+
this.setValue = (value) => {
|
|
27075
|
+
const oldValue = this.value;
|
|
27076
|
+
const newValue = formatTimeString(value) || "";
|
|
27077
|
+
if (newValue === oldValue) {
|
|
27078
|
+
return;
|
|
25966
27079
|
}
|
|
25967
|
-
|
|
25968
|
-
|
|
25969
|
-
|
|
25970
|
-
|
|
25971
|
-
|
|
25972
|
-
|
|
25973
|
-
|
|
25974
|
-
|
|
25975
|
-
|
|
25976
|
-
this.
|
|
25977
|
-
|
|
27080
|
+
this.userChangedValue = true;
|
|
27081
|
+
this.value = newValue || "";
|
|
27082
|
+
const changeEvent = this.calciteInputTimePickerChange.emit();
|
|
27083
|
+
if (changeEvent.defaultPrevented) {
|
|
27084
|
+
this.userChangedValue = false;
|
|
27085
|
+
this.value = oldValue;
|
|
27086
|
+
this.setInputValue(localizeTimeString({
|
|
27087
|
+
value: oldValue,
|
|
27088
|
+
locale: this.effectiveLocale,
|
|
27089
|
+
numberingSystem: this.numberingSystem,
|
|
27090
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27091
|
+
}));
|
|
25978
27092
|
}
|
|
25979
27093
|
};
|
|
27094
|
+
/**
|
|
27095
|
+
* Sets the value directly without emitting a change event.
|
|
27096
|
+
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
|
27097
|
+
*
|
|
27098
|
+
* @param value
|
|
27099
|
+
*/
|
|
27100
|
+
this.setValueDirectly = (value) => {
|
|
27101
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
|
27102
|
+
this.value = toISOTimeString(value, includeSeconds);
|
|
27103
|
+
this.setInputValue(this.value
|
|
27104
|
+
? localizeTimeString({
|
|
27105
|
+
value: this.value,
|
|
27106
|
+
includeSeconds,
|
|
27107
|
+
locale: this.effectiveLocale,
|
|
27108
|
+
numberingSystem: this.numberingSystem
|
|
27109
|
+
})
|
|
27110
|
+
: "");
|
|
27111
|
+
};
|
|
25980
27112
|
this.onInputWrapperClick = () => {
|
|
25981
27113
|
this.open = !this.open;
|
|
25982
27114
|
};
|
|
@@ -26000,7 +27132,6 @@ class InputTimePicker {
|
|
|
26000
27132
|
this.value = null;
|
|
26001
27133
|
this.defaultMessages = undefined;
|
|
26002
27134
|
this.effectiveLocale = "";
|
|
26003
|
-
this.localizedValue = undefined;
|
|
26004
27135
|
}
|
|
26005
27136
|
openHandler(value) {
|
|
26006
27137
|
if (this.disabled || this.readOnly) {
|
|
@@ -26025,16 +27156,31 @@ class InputTimePicker {
|
|
|
26025
27156
|
onMessagesChange() {
|
|
26026
27157
|
/* wired up by t9n util */
|
|
26027
27158
|
}
|
|
27159
|
+
numberingSystemWatcher(numberingSystem) {
|
|
27160
|
+
this.setInputValue(localizeTimeString({
|
|
27161
|
+
value: this.value,
|
|
27162
|
+
locale: this.effectiveLocale,
|
|
27163
|
+
numberingSystem,
|
|
27164
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27165
|
+
}));
|
|
27166
|
+
}
|
|
27167
|
+
stepWatcher(newStep, oldStep) {
|
|
27168
|
+
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
|
27169
|
+
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
|
27170
|
+
this.setValueDirectly(this.value);
|
|
27171
|
+
}
|
|
27172
|
+
}
|
|
26028
27173
|
valueWatcher(newValue) {
|
|
26029
|
-
if (!this.
|
|
26030
|
-
this.
|
|
27174
|
+
if (!this.userChangedValue) {
|
|
27175
|
+
this.setValueDirectly(newValue);
|
|
26031
27176
|
}
|
|
26032
|
-
this.
|
|
27177
|
+
this.userChangedValue = false;
|
|
26033
27178
|
}
|
|
26034
|
-
|
|
27179
|
+
async effectiveLocaleWatcher(locale) {
|
|
27180
|
+
await this.loadDateTimeLocaleData();
|
|
26035
27181
|
this.setInputValue(localizeTimeString({
|
|
26036
27182
|
value: this.value,
|
|
26037
|
-
locale
|
|
27183
|
+
locale,
|
|
26038
27184
|
numberingSystem: this.numberingSystem,
|
|
26039
27185
|
includeSeconds: this.shouldIncludeSeconds()
|
|
26040
27186
|
}));
|
|
@@ -26057,6 +27203,105 @@ class InputTimePicker {
|
|
|
26057
27203
|
async reposition(delayed = false) {
|
|
26058
27204
|
this.popoverEl?.reposition(delayed);
|
|
26059
27205
|
}
|
|
27206
|
+
// --------------------------------------------------------------------------
|
|
27207
|
+
//
|
|
27208
|
+
// Private Methods
|
|
27209
|
+
//
|
|
27210
|
+
// --------------------------------------------------------------------------
|
|
27211
|
+
delocalizeTimeString(value) {
|
|
27212
|
+
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
|
27213
|
+
dayjs.locale(this.effectiveLocale.toLowerCase());
|
|
27214
|
+
const dayjsParseResult = dayjs(value, ["LTS", "LT"]);
|
|
27215
|
+
if (dayjsParseResult.isValid()) {
|
|
27216
|
+
let unformattedTimeString = `${dayjsParseResult.get("hour")}:${dayjsParseResult.get("minute")}`;
|
|
27217
|
+
if (this.shouldIncludeSeconds()) {
|
|
27218
|
+
unformattedTimeString += `:${dayjsParseResult.get("seconds") || 0}`;
|
|
27219
|
+
}
|
|
27220
|
+
return formatTimeString(unformattedTimeString) || "";
|
|
27221
|
+
}
|
|
27222
|
+
return "";
|
|
27223
|
+
}
|
|
27224
|
+
async loadDateTimeLocaleData() {
|
|
27225
|
+
const { effectiveLocale } = this;
|
|
27226
|
+
if (effectiveLocale === "en" || effectiveLocale === "en-US") {
|
|
27227
|
+
return;
|
|
27228
|
+
}
|
|
27229
|
+
let dayjsLocale = effectiveLocale.toLowerCase();
|
|
27230
|
+
if (effectiveLocale === "pt-PT") {
|
|
27231
|
+
dayjsLocale = "pt";
|
|
27232
|
+
}
|
|
27233
|
+
if (effectiveLocale === "no") {
|
|
27234
|
+
dayjsLocale = "nb";
|
|
27235
|
+
}
|
|
27236
|
+
const { default: localeConfig } = await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(getAssetPath(`./assets/input-time-picker/nls/dayjs/locale/${dayjsLocale}.js`))); });
|
|
27237
|
+
dayjs.locale(localeConfig, null, true);
|
|
27238
|
+
dayjs.updateLocale(dayjsLocale, this.getExtendedLocaleConfig(dayjsLocale));
|
|
27239
|
+
}
|
|
27240
|
+
getExtendedLocaleConfig(locale) {
|
|
27241
|
+
if (locale === "ar") {
|
|
27242
|
+
return {
|
|
27243
|
+
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
|
27244
|
+
formats: {
|
|
27245
|
+
LT: "HH:mm A",
|
|
27246
|
+
LTS: "HH:mm:ss A",
|
|
27247
|
+
L: "DD/MM/YYYY",
|
|
27248
|
+
LL: "D MMMM YYYY",
|
|
27249
|
+
LLL: "D MMMM YYYY HH:mm A",
|
|
27250
|
+
LLLL: "dddd D MMMM YYYY HH:mm A"
|
|
27251
|
+
}
|
|
27252
|
+
};
|
|
27253
|
+
}
|
|
27254
|
+
if (locale === "en-au") {
|
|
27255
|
+
return {
|
|
27256
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am")
|
|
27257
|
+
};
|
|
27258
|
+
}
|
|
27259
|
+
if (locale === "en-ca") {
|
|
27260
|
+
return {
|
|
27261
|
+
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m.")
|
|
27262
|
+
};
|
|
27263
|
+
}
|
|
27264
|
+
if (locale === "el") {
|
|
27265
|
+
return {
|
|
27266
|
+
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ.")
|
|
27267
|
+
};
|
|
27268
|
+
}
|
|
27269
|
+
if (locale === "hi") {
|
|
27270
|
+
return {
|
|
27271
|
+
formats: {
|
|
27272
|
+
LT: "h:mm A",
|
|
27273
|
+
LTS: "h:mm:ss A",
|
|
27274
|
+
L: "DD/MM/YYYY",
|
|
27275
|
+
LL: "D MMMM YYYY",
|
|
27276
|
+
LLL: "D MMMM YYYY, h:mm A",
|
|
27277
|
+
LLLL: "dddd, D MMMM YYYY, h:mm A"
|
|
27278
|
+
},
|
|
27279
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am")
|
|
27280
|
+
};
|
|
27281
|
+
}
|
|
27282
|
+
if (locale === "ko") {
|
|
27283
|
+
return {
|
|
27284
|
+
meridiem: (hour) => (hour > 12 ? "오후" : "오전")
|
|
27285
|
+
};
|
|
27286
|
+
}
|
|
27287
|
+
if (locale === "zh-tw") {
|
|
27288
|
+
return {
|
|
27289
|
+
formats: {
|
|
27290
|
+
LT: "AHH:mm",
|
|
27291
|
+
LTS: "AHH:mm:ss"
|
|
27292
|
+
}
|
|
27293
|
+
};
|
|
27294
|
+
}
|
|
27295
|
+
if (locale === "zh-hk") {
|
|
27296
|
+
return {
|
|
27297
|
+
formats: {
|
|
27298
|
+
LT: "AHH:mm",
|
|
27299
|
+
LTS: "AHH:mm:ss"
|
|
27300
|
+
},
|
|
27301
|
+
meridiem: (hour) => (hour > 12 ? "下午" : "上午")
|
|
27302
|
+
};
|
|
27303
|
+
}
|
|
27304
|
+
}
|
|
26060
27305
|
onLabelClick() {
|
|
26061
27306
|
this.setFocus();
|
|
26062
27307
|
}
|
|
@@ -26070,8 +27315,22 @@ class InputTimePicker {
|
|
|
26070
27315
|
//--------------------------------------------------------------------------
|
|
26071
27316
|
connectedCallback() {
|
|
26072
27317
|
connectLocalized(this);
|
|
26073
|
-
|
|
26074
|
-
|
|
27318
|
+
let { effectiveLocale } = this;
|
|
27319
|
+
if (effectiveLocale === "en-US") {
|
|
27320
|
+
effectiveLocale = "en";
|
|
27321
|
+
}
|
|
27322
|
+
if (effectiveLocale === "pt-PT") {
|
|
27323
|
+
effectiveLocale = "pt";
|
|
27324
|
+
}
|
|
27325
|
+
if (effectiveLocale === "no") {
|
|
27326
|
+
effectiveLocale = "nb";
|
|
27327
|
+
}
|
|
27328
|
+
this.effectiveLocale = effectiveLocale;
|
|
27329
|
+
if (isValidTime(this.value)) {
|
|
27330
|
+
this.setValueDirectly(this.value);
|
|
27331
|
+
}
|
|
27332
|
+
else {
|
|
27333
|
+
this.value = undefined;
|
|
26075
27334
|
}
|
|
26076
27335
|
connectLabel(this);
|
|
26077
27336
|
connectForm(this);
|
|
@@ -26079,11 +27338,18 @@ class InputTimePicker {
|
|
|
26079
27338
|
}
|
|
26080
27339
|
async componentWillLoad() {
|
|
26081
27340
|
setUpLoadableComponent(this);
|
|
26082
|
-
await setUpMessages(this);
|
|
27341
|
+
await Promise.all([setUpMessages(this), this.loadDateTimeLocaleData()]);
|
|
26083
27342
|
}
|
|
26084
27343
|
componentDidLoad() {
|
|
26085
27344
|
setComponentLoaded(this);
|
|
26086
|
-
|
|
27345
|
+
if (isValidTime(this.value)) {
|
|
27346
|
+
this.setInputValue(localizeTimeString({
|
|
27347
|
+
value: this.value,
|
|
27348
|
+
locale: this.effectiveLocale,
|
|
27349
|
+
numberingSystem: this.numberingSystem,
|
|
27350
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27351
|
+
}));
|
|
27352
|
+
}
|
|
26087
27353
|
}
|
|
26088
27354
|
disconnectedCallback() {
|
|
26089
27355
|
disconnectLabel(this);
|
|
@@ -26102,9 +27368,9 @@ class InputTimePicker {
|
|
|
26102
27368
|
// --------------------------------------------------------------------------
|
|
26103
27369
|
render() {
|
|
26104
27370
|
const { disabled, messages, readOnly, dialogId } = this;
|
|
26105
|
-
return (hAsync(Host, { onBlur: this.
|
|
27371
|
+
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
27372
|
// 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,
|
|
27373
|
+
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
27374
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26109
27375
|
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
27376
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -26122,9 +27388,10 @@ class InputTimePicker {
|
|
|
26122
27388
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
26123
27389
|
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
26124
27390
|
"messageOverrides": ["onMessagesChange"],
|
|
27391
|
+
"numberingSystem": ["numberingSystemWatcher"],
|
|
27392
|
+
"step": ["stepWatcher"],
|
|
26125
27393
|
"value": ["valueWatcher"],
|
|
26126
|
-
"effectiveLocale": ["
|
|
26127
|
-
"step": ["valueRelatedPropChange"]
|
|
27394
|
+
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
26128
27395
|
}; }
|
|
26129
27396
|
static get style() { return inputTimePickerCss; }
|
|
26130
27397
|
static get cmpMeta() { return {
|
|
@@ -26148,7 +27415,6 @@ class InputTimePicker {
|
|
|
26148
27415
|
"value": [1025],
|
|
26149
27416
|
"defaultMessages": [32],
|
|
26150
27417
|
"effectiveLocale": [32],
|
|
26151
|
-
"localizedValue": [32],
|
|
26152
27418
|
"setFocus": [64],
|
|
26153
27419
|
"reposition": [64]
|
|
26154
27420
|
},
|
|
@@ -31065,7 +32331,8 @@ const CSS$c = {
|
|
|
31065
32331
|
content: "content",
|
|
31066
32332
|
contentHeader: "content__header",
|
|
31067
32333
|
contentBody: "content__body",
|
|
31068
|
-
|
|
32334
|
+
contentFloat: "content--float",
|
|
32335
|
+
contentOverlay: "content--overlay",
|
|
31069
32336
|
separator: "separator"
|
|
31070
32337
|
};
|
|
31071
32338
|
const SLOTS$6 = {
|
|
@@ -31073,7 +32340,7 @@ const SLOTS$6 = {
|
|
|
31073
32340
|
header: "header"
|
|
31074
32341
|
};
|
|
31075
32342
|
|
|
31076
|
-
const shellPanelCss = "@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-shell-panel: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-shell-panel{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-shell-panel{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell-panel{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell-panel{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-shell-panel{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-shell-panel{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell-panel{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-shell-panel:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-shell-panel: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-shell-panel-h{display:none}/*!@:host*/.sc-calcite-shell-panel-h{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;--calcite-shell-panel-detached-max-height:unset;z-index:var(--calcite-shell-panel-z-index, var(--calcite-app-z-index))}/*!@:host([layout=vertical])*/[layout=vertical].sc-calcite-shell-panel-h{z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index) + 1))}/*!@:host([layout=horizontal]) .content*/[layout=horizontal].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-height-internal:var(--calcite-shell-panel-height, 20vh);--calcite-shell-panel-max-height-internal:var(--calcite-shell-panel-max-height, 420px);--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 240px)}/*!@:host([layout=vertical][width-scale=s]) .content*/[layout=vertical][width-scale=s].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}/*!@:host([layout=vertical][width-scale=m]) .content*/[layout=vertical][width-scale=m].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}/*!@:host([layout=vertical][width-scale=l]) .content*/[layout=vertical][width-scale=l].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}/*!@:host([detached-height-scale=s]) .content--detached*/[detached-height-scale=s].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 40vh)}/*!@:host([detached-height-scale=m]) .content--detached*/[detached-height-scale=m].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 60vh)}/*!@:host([detached-height-scale=l]) .content--detached*/[detached-height-scale=l].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 80vh)}/*!@.container*/.container.sc-calcite-shell-panel{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@.container **/.container.sc-calcite-shell-panel *.sc-calcite-shell-panel{box-sizing:border-box}/*!@:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-shell-panel-h .container.sc-calcite-shell-panel{flex-direction:column}/*!@:host(:hover) .separator:not(:hover):not(:focus),\n:host(:focus-within) .separator:not(:hover):not(:focus)*/.sc-calcite-shell-panel-h:hover .separator.sc-calcite-shell-panel:not(:hover):not(:focus),.sc-calcite-shell-panel-h:focus-within .separator.sc-calcite-shell-panel:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}/*!@.separator*/.separator.sc-calcite-shell-panel{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}/*!@.separator:hover*/.separator.sc-calcite-shell-panel:hover{opacity:1;background-color:var(--calcite-ui-border-2)}/*!@.separator:focus*/.separator.sc-calcite-shell-panel:focus{background-color:var(--calcite-ui-brand);opacity:1}/*!@:host([layout=vertical]) .separator*/[layout=vertical].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}/*!@:host([layout=horizontal][position=start]) .separator*/[layout=horizontal][position=start].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-block-end:0px}/*!@:host([layout=horizontal][position=end]) .separator*/[layout=horizontal][position=end].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-block-start:0px}/*!@:host([layout=horizontal]) .separator*/[layout=horizontal].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}/*!@:host([layout=vertical][position=start]) .separator*/[layout=vertical][position=start].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-end:-2px}/*!@:host([layout=horizontal][position=start]) .separator*/[layout=horizontal][position=start].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-block-end:-2px}/*!@:host([layout=vertical][position=end]) .separator*/[layout=vertical][position=end].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-start:-2px}/*!@:host([layout=horizontal][position=end]) .separator*/[layout=horizontal][position=end].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-block-start:-2px}/*!@::slotted(calcite-panel),\n::slotted(calcite-flow)*/.sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-s>calcite-flow{block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}/*!@::slotted(.calcite-match-height)*/.sc-calcite-shell-panel-s>.calcite-match-height{display:flex;flex:1 1 auto;overflow:hidden}/*!@.content*/.content.sc-calcite-shell-panel{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}/*!@:host([layout=vertical]) .content*/[layout=vertical].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}/*!@:host([layout=horizontal]) .content*/[layout=horizontal].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}/*!@.content__header*/.content__header.sc-calcite-shell-panel{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}/*!@.content__body*/.content__body.sc-calcite-shell-panel{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}/*!@.content--detached*/.content--detached.sc-calcite-shell-panel{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height-internal)}/*!@.content--detached ::slotted(calcite-panel),\n.content--detached ::slotted(calcite-flow)*/.content--detached .sc-calcite-shell-panel-s>calcite-panel,.content--detached .sc-calcite-shell-panel-s>calcite-flow{max-block-size:unset}/*!@:host([position=start]) .content--detached ::slotted(calcite-panel),\n:host([position=start]) .content--detached ::slotted(calcite-flow),\n:host([position=end]) .content--detached ::slotted(calcite-panel),\n:host([position=end]) .content--detached ::slotted(calcite-flow)*/.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-flow{border-style:none}/*!@.content[hidden]*/.content[hidden].sc-calcite-shell-panel{display:none}/*!@slot[name=action-bar]::slotted(calcite-action-bar),\n.content ::slotted(calcite-flow),\n.content ::slotted(calcite-panel:not([closed]))*/slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.content .sc-calcite-shell-panel-s>calcite-flow,.content .sc-calcite-shell-panel-s>calcite-panel:not([closed]){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=start]) .content ::slotted(calcite-flow),\n:host([position=start]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=start] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-panel{border-inline-start:none}/*!@:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=end]) .content ::slotted(calcite-flow),\n:host([position=end]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=end] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-panel{border-inline-end:none}/*!@:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar)*/.sc-calcite-shell-panel-h[layout=horizontal] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar{border-inline:0}/*!@:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),\n:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[layout=horizontal][position=start] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[layout=horizontal][position=start] .content .sc-calcite-shell-panel-s>calcite-panel{border-inline:0;border-block-start:0}/*!@:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),\n:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[layout=horizontal][position=end] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[layout=horizontal][position=end] .content .sc-calcite-shell-panel-s>calcite-panel{border-inline:0;border-block-end:0}";
|
|
32343
|
+
const shellPanelCss = "@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-shell-panel: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-shell-panel{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-shell-panel{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell-panel{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell-panel{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-shell-panel{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-shell-panel{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell-panel{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-shell-panel:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-shell-panel: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-shell-panel-h{display:none}/*!@:host*/.sc-calcite-shell-panel-h{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}/*!@.calcite--rtl.content--overlay*/.calcite--rtl.content--overlay.sc-calcite-shell-panel{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}/*!@:host([layout=vertical])*/[layout=vertical].sc-calcite-shell-panel-h{z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index) + 1))}/*!@:host([layout=vertical][display-mode=overlay])*/[layout=vertical][display-mode=overlay].sc-calcite-shell-panel-h{z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}/*!@:host([layout=vertical][width-scale=s]) .content*/[layout=vertical][width-scale=s].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}/*!@:host([layout=vertical][width-scale=m]) .content*/[layout=vertical][width-scale=m].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}/*!@:host([layout=vertical][width-scale=l]) .content*/[layout=vertical][width-scale=l].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}/*!@:host([layout=horizontal][height-scale=s]) .content*/[layout=horizontal][height-scale=s].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}/*!@:host([layout=horizontal]) .content*/[layout=horizontal].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}/*!@:host([layout=horizontal][height-scale=l]) .content*/[layout=horizontal][height-scale=l].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}/*!@.container*/.container.sc-calcite-shell-panel{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@.container **/.container.sc-calcite-shell-panel *.sc-calcite-shell-panel{box-sizing:border-box}/*!@:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-shell-panel-h .container.sc-calcite-shell-panel{flex-direction:column}/*!@:host(:hover) .separator:not(:hover):not(:focus),\n:host(:focus-within) .separator:not(:hover):not(:focus)*/.sc-calcite-shell-panel-h:hover .separator.sc-calcite-shell-panel:not(:hover):not(:focus),.sc-calcite-shell-panel-h:focus-within .separator.sc-calcite-shell-panel:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}/*!@.separator*/.separator.sc-calcite-shell-panel{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}/*!@.separator:hover*/.separator.sc-calcite-shell-panel:hover{opacity:1;background-color:var(--calcite-ui-border-2)}/*!@.separator:focus*/.separator.sc-calcite-shell-panel:focus{background-color:var(--calcite-ui-brand);opacity:1}/*!@:host([layout=vertical]) .separator*/[layout=vertical].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}/*!@:host([layout=horizontal][position=start]) .separator*/[layout=horizontal][position=start].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-block-end:0px}/*!@:host([layout=horizontal][position=end]) .separator*/[layout=horizontal][position=end].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-block-start:0px}/*!@:host([layout=horizontal]) .separator*/[layout=horizontal].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}/*!@:host([layout=vertical][position=start]) .separator*/[layout=vertical][position=start].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-end:-2px}/*!@:host([layout=horizontal][position=start]) .separator*/[layout=horizontal][position=start].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-block-end:-2px}/*!@:host([layout=vertical][position=end]) .separator*/[layout=vertical][position=end].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-start:-2px}/*!@:host([layout=horizontal][position=end]) .separator*/[layout=horizontal][position=end].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-block-start:-2px}/*!@::slotted(calcite-panel),\n::slotted(calcite-flow)*/.sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-s>calcite-flow{block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}/*!@::slotted(.calcite-match-height)*/.sc-calcite-shell-panel-s>.calcite-match-height{display:flex;flex:1 1 auto;overflow:hidden}/*!@.content*/.content.sc-calcite-shell-panel{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}/*!@:host([layout=vertical]) .content*/[layout=vertical].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}/*!@:host([layout=horizontal]) .content*/[layout=horizontal].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}/*!@.content__header*/.content__header.sc-calcite-shell-panel{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}/*!@.content__body*/.content__body.sc-calcite-shell-panel{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}/*!@.content--overlay*/.content--overlay.sc-calcite-shell-panel{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([layout=vertical]) .content--overlay*/[layout=vertical].sc-calcite-shell-panel-h .content--overlay.sc-calcite-shell-panel{inset-block-start:0px;block-size:100%}/*!@:host([layout=horizontal]) .content--overlay*/[layout=horizontal].sc-calcite-shell-panel-h .content--overlay.sc-calcite-shell-panel{inset-inline-start:0px;inline-size:100%}/*!@:host([layout=vertical][position=start]) .content--overlay*/[layout=vertical][position=start].sc-calcite-shell-panel-h .content--overlay.sc-calcite-shell-panel{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}/*!@:host([layout=vertical][position=end]) .content--overlay*/[layout=vertical][position=end].sc-calcite-shell-panel-h .content--overlay.sc-calcite-shell-panel{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}/*!@:host([layout=horizontal][position=start]) .content--overlay*/[layout=horizontal][position=start].sc-calcite-shell-panel-h .content--overlay.sc-calcite-shell-panel{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}/*!@:host([layout=horizontal][position=end]) .content--overlay*/[layout=horizontal][position=end].sc-calcite-shell-panel-h .content--overlay.sc-calcite-shell-panel{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}/*!@.content--float*/.content--float.sc-calcite-shell-panel{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}/*!@.content--float ::slotted(calcite-panel),\n.content--float ::slotted(calcite-flow)*/.content--float .sc-calcite-shell-panel-s>calcite-panel,.content--float .sc-calcite-shell-panel-s>calcite-flow{max-block-size:unset}/*!@:host([layout=horizontal]) .content--float*/[layout=horizontal].sc-calcite-shell-panel-h .content--float.sc-calcite-shell-panel{margin-block:0.5rem}/*!@:host([position=start]) .content--float ::slotted(calcite-panel),\n:host([position=start]) .content--float ::slotted(calcite-flow),\n:host([position=end]) .content--float ::slotted(calcite-panel),\n:host([position=end]) .content--float ::slotted(calcite-flow)*/.sc-calcite-shell-panel-h[position=start] .content--float .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=start] .content--float .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content--float .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=end] .content--float .sc-calcite-shell-panel-s>calcite-flow{border-style:none}/*!@.content[hidden]*/.content[hidden].sc-calcite-shell-panel{display:none}/*!@slot[name=action-bar]::slotted(calcite-action-bar),\n.content ::slotted(calcite-flow),\n.content ::slotted(calcite-panel:not([closed]))*/slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.content .sc-calcite-shell-panel-s>calcite-flow,.content .sc-calcite-shell-panel-s>calcite-panel:not([closed]){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=start]) .content ::slotted(calcite-flow),\n:host([position=start]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=start] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-panel{border-inline-start:none}/*!@:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=end]) .content ::slotted(calcite-flow),\n:host([position=end]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=end] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-panel{border-inline-end:none}/*!@:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar)*/.sc-calcite-shell-panel-h[layout=horizontal] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar{border-inline:0}/*!@:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),\n:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[layout=horizontal][position=start] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[layout=horizontal][position=start] .content .sc-calcite-shell-panel-s>calcite-panel{border-inline:0;border-block-start:0}/*!@:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),\n:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[layout=horizontal][position=end] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[layout=horizontal][position=end] .content .sc-calcite-shell-panel-s>calcite-panel{border-inline:0;border-block-end:0}";
|
|
31077
32344
|
|
|
31078
32345
|
/**
|
|
31079
32346
|
* @slot - A slot for adding custom content.
|
|
@@ -31235,7 +32502,7 @@ class ShellPanel {
|
|
|
31235
32502
|
this.connectSeparator = (separatorEl) => {
|
|
31236
32503
|
this.disconnectSeparator();
|
|
31237
32504
|
this.separatorEl = separatorEl;
|
|
31238
|
-
separatorEl
|
|
32505
|
+
separatorEl?.addEventListener("pointerdown", this.separatorPointerDown);
|
|
31239
32506
|
};
|
|
31240
32507
|
this.disconnectSeparator = () => {
|
|
31241
32508
|
this.separatorEl?.removeEventListener("pointerdown", this.separatorPointerDown);
|
|
@@ -31250,10 +32517,12 @@ class ShellPanel {
|
|
|
31250
32517
|
};
|
|
31251
32518
|
this.collapsed = false;
|
|
31252
32519
|
this.detached = false;
|
|
31253
|
-
this.
|
|
32520
|
+
this.displayMode = "dock";
|
|
32521
|
+
this.detachedHeightScale = undefined;
|
|
32522
|
+
this.heightScale = undefined;
|
|
31254
32523
|
this.widthScale = "m";
|
|
31255
32524
|
this.layout = "vertical";
|
|
31256
|
-
this.position =
|
|
32525
|
+
this.position = "start";
|
|
31257
32526
|
this.resizable = false;
|
|
31258
32527
|
this.messages = undefined;
|
|
31259
32528
|
this.messageOverrides = undefined;
|
|
@@ -31262,6 +32531,23 @@ class ShellPanel {
|
|
|
31262
32531
|
this.defaultMessages = undefined;
|
|
31263
32532
|
this.effectiveLocale = "";
|
|
31264
32533
|
}
|
|
32534
|
+
handleDetached(value) {
|
|
32535
|
+
if (value) {
|
|
32536
|
+
this.displayMode = "float";
|
|
32537
|
+
}
|
|
32538
|
+
else if (this.displayMode === "float") {
|
|
32539
|
+
this.displayMode = "dock";
|
|
32540
|
+
}
|
|
32541
|
+
}
|
|
32542
|
+
handleDisplayMode(value) {
|
|
32543
|
+
this.detached = value === "float";
|
|
32544
|
+
}
|
|
32545
|
+
handleDetachedHeightScale(value) {
|
|
32546
|
+
this.heightScale = value;
|
|
32547
|
+
}
|
|
32548
|
+
handleHeightScale(value) {
|
|
32549
|
+
this.detachedHeightScale = value;
|
|
32550
|
+
}
|
|
31265
32551
|
layoutHandler() {
|
|
31266
32552
|
this.setActionBarsLayout(this.actionBars);
|
|
31267
32553
|
}
|
|
@@ -31304,8 +32590,9 @@ class ShellPanel {
|
|
|
31304
32590
|
return hasHeader ? (hAsync("div", { class: CSS$c.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$6.header }))) : null;
|
|
31305
32591
|
}
|
|
31306
32592
|
render() {
|
|
31307
|
-
const { collapsed,
|
|
31308
|
-
const
|
|
32593
|
+
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode } = this;
|
|
32594
|
+
const dir = getElementDir(this.el);
|
|
32595
|
+
const allowResizing = displayMode !== "float" && resizable;
|
|
31309
32596
|
const style = allowResizing
|
|
31310
32597
|
? layout === "horizontal"
|
|
31311
32598
|
? contentHeight
|
|
@@ -31315,16 +32602,34 @@ class ShellPanel {
|
|
|
31315
32602
|
? { width: `${contentWidth}px` }
|
|
31316
32603
|
: null
|
|
31317
32604
|
: null;
|
|
31318
|
-
const
|
|
31319
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
31320
|
-
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$c.contentBody }, hAsync("slot", null))));
|
|
31321
|
-
const separatorNode = allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": layout === "horizontal" ? "vertical" : "horizontal", "aria-valuemax": layout == "horizontal" ? contentHeightMax : contentWidthMax, "aria-valuemin": layout == "horizontal" ? contentHeightMin : contentWidthMin, "aria-valuenow": layout == "horizontal"
|
|
32605
|
+
const separatorNode = !collapsed && allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": layout === "horizontal" ? "vertical" : "horizontal", "aria-valuemax": layout == "horizontal" ? contentHeightMax : contentWidthMax, "aria-valuemin": layout == "horizontal" ? contentHeightMin : contentWidthMin, "aria-valuenow": layout == "horizontal"
|
|
31322
32606
|
? contentHeight ?? initialContentHeight
|
|
31323
32607
|
: contentWidth ?? initialContentWidth, class: CSS$c.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
31324
32608
|
// eslint-disable-next-line react/jsx-sort-props
|
|
31325
32609
|
ref: this.connectSeparator })) : null;
|
|
32610
|
+
const getAnimationDir = () => {
|
|
32611
|
+
if (layout === "horizontal") {
|
|
32612
|
+
return position === "start"
|
|
32613
|
+
? CSS_UTILITY.calciteAnimateInDown
|
|
32614
|
+
: CSS_UTILITY.calciteAnimateInUp;
|
|
32615
|
+
}
|
|
32616
|
+
else {
|
|
32617
|
+
const isStart = (dir === "ltr" && position === "end") || (dir === "rtl" && position === "start");
|
|
32618
|
+
return isStart ? CSS_UTILITY.calciteAnimateInLeft : CSS_UTILITY.calciteAnimateInRight;
|
|
32619
|
+
}
|
|
32620
|
+
};
|
|
32621
|
+
const contentNode = (hAsync("div", { class: {
|
|
32622
|
+
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
32623
|
+
[CSS$c.content]: true,
|
|
32624
|
+
[CSS$c.contentOverlay]: displayMode === "overlay",
|
|
32625
|
+
[CSS$c.contentFloat]: displayMode === "float",
|
|
32626
|
+
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
32627
|
+
[getAnimationDir()]: displayMode === "overlay"
|
|
32628
|
+
}, hidden: collapsed, key: "content", style: style,
|
|
32629
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
32630
|
+
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$c.contentBody }, hAsync("slot", null)), separatorNode));
|
|
31326
32631
|
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$6.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
31327
|
-
const mainNodes = [actionBarNode, contentNode
|
|
32632
|
+
const mainNodes = [actionBarNode, contentNode];
|
|
31328
32633
|
if (position === "end") {
|
|
31329
32634
|
mainNodes.reverse();
|
|
31330
32635
|
}
|
|
@@ -31393,6 +32698,10 @@ class ShellPanel {
|
|
|
31393
32698
|
static get assetsDirs() { return ["assets"]; }
|
|
31394
32699
|
get el() { return getElement(this); }
|
|
31395
32700
|
static get watchers() { return {
|
|
32701
|
+
"detached": ["handleDetached"],
|
|
32702
|
+
"displayMode": ["handleDisplayMode"],
|
|
32703
|
+
"detachedHeightScale": ["handleDetachedHeightScale"],
|
|
32704
|
+
"heightScale": ["handleHeightScale"],
|
|
31396
32705
|
"layout": ["layoutHandler"],
|
|
31397
32706
|
"messageOverrides": ["onMessagesChange"],
|
|
31398
32707
|
"effectiveLocale": ["effectiveLocaleChange"]
|
|
@@ -31404,7 +32713,9 @@ class ShellPanel {
|
|
|
31404
32713
|
"$members$": {
|
|
31405
32714
|
"collapsed": [516],
|
|
31406
32715
|
"detached": [516],
|
|
32716
|
+
"displayMode": [513, "display-mode"],
|
|
31407
32717
|
"detachedHeightScale": [513, "detached-height-scale"],
|
|
32718
|
+
"heightScale": [513, "height-scale"],
|
|
31408
32719
|
"widthScale": [513, "width-scale"],
|
|
31409
32720
|
"layout": [513],
|
|
31410
32721
|
"position": [513],
|
|
@@ -31418,7 +32729,7 @@ class ShellPanel {
|
|
|
31418
32729
|
},
|
|
31419
32730
|
"$listeners$": undefined,
|
|
31420
32731
|
"$lazyBundleId$": "-",
|
|
31421
|
-
"$attrsToReflect$": [["collapsed", "collapsed"], ["detached", "detached"], ["detachedHeightScale", "detached-height-scale"], ["widthScale", "width-scale"], ["layout", "layout"], ["position", "position"], ["resizable", "resizable"]]
|
|
32732
|
+
"$attrsToReflect$": [["collapsed", "collapsed"], ["detached", "detached"], ["displayMode", "display-mode"], ["detachedHeightScale", "detached-height-scale"], ["heightScale", "height-scale"], ["widthScale", "width-scale"], ["layout", "layout"], ["position", "position"], ["resizable", "resizable"]]
|
|
31422
32733
|
}; }
|
|
31423
32734
|
}
|
|
31424
32735
|
|
|
@@ -37792,8 +39103,11 @@ class TimePicker {
|
|
|
37792
39103
|
});
|
|
37793
39104
|
}
|
|
37794
39105
|
if (this.hour && this.minute) {
|
|
37795
|
-
|
|
37796
|
-
this.
|
|
39106
|
+
let newValue = `${this.hour}:${this.minute}`;
|
|
39107
|
+
if (this.showSecond) {
|
|
39108
|
+
newValue = `${newValue}:${this.second ?? "00"}`;
|
|
39109
|
+
}
|
|
39110
|
+
this.value = newValue;
|
|
37797
39111
|
}
|
|
37798
39112
|
else {
|
|
37799
39113
|
this.value = null;
|