@esri/calcite-components 1.4.0-next.14 → 1.4.0-next.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/af.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/am.js +40 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +41 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +41 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +27 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +41 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar.js +74 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/az.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/be.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bg.js +55 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bi.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bm.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +81 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn.js +72 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bo.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/br.js +93 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bs.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ca.js +44 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cs.js +120 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cv.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cy.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/da.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-at.js +63 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-ch.js +63 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de.js +64 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/dv.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/el.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-au.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ca.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-gb.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ie.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-il.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-in.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-nz.js +41 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-sg.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-tt.js +42 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en.js +12 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eo.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-do.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-mx.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-pr.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-us.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/et.js +65 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eu.js +43 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fa.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fi.js +88 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fo.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr.js +41 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fy.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ga.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gd.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gl.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +25 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gu.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/he.js +78 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hi.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hr.js +53 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ht.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hu.js +61 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hy-am.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/id.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/is.js +68 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it-ch.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ja.js +45 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/jv.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ka.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kk.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/km.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kn.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ko.js +45 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ku.js +77 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ky.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lb.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lo.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lt.js +70 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lv.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/me.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mi.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mk.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ml.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mn.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mr.js +23 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms-my.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mt.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/my.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nb.js +40 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ne.js +40 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl-be.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl.js +40 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nn.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pa-in.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pl.js +87 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt-br.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt.js +40 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rn.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ro.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ru.js +99 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rw.js +35 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sd.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/se.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/si.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sk.js +121 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sl.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sq.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +74 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr.js +74 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ss.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +46 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv.js +44 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sw.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ta.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/te.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tet.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tg.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/th.js +38 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tk.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tlh.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tr.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzl.js +24 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uk.js +77 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ur.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/vi.js +43 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/yo.js +39 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +67 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +44 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +65 -0
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh.js +67 -0
- package/dist/calcite/assets/menu/t9n/index.d.ts +3 -0
- package/dist/calcite/assets/menu/t9n/messages.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_ar.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_bg.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_bs.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_ca.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_cs.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_da.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_de.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_el.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_en.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_es.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_et.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_fi.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_fr.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_he.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_hr.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_hu.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_id.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_it.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_ja.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_ko.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_lt.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_lv.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_nl.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_no.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_pl.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_pt-BR.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_pt-PT.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_ro.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_ru.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_sk.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_sl.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_sr.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_sv.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_th.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_tr.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_uk.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_vi.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_zh-CN.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_zh-HK.json +3 -0
- package/dist/calcite/assets/menu/t9n/messages_zh-TW.json +3 -0
- package/dist/calcite/assets/menu-item/t9n/index.d.ts +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_ar.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_bg.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_bs.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_ca.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_cs.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_da.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_de.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_el.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_en.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_es.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_et.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_fi.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_fr.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_he.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_hr.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_hu.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_id.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_it.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_ja.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_ko.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_lt.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_lv.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_nl.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_no.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_pl.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_pt-BR.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_pt-PT.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_ro.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_ru.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_sk.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_sl.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_sr.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_sv.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_th.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_tr.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_uk.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_vi.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_zh-CN.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_zh-HK.json +4 -0
- package/dist/calcite/assets/menu-item/t9n/messages_zh-TW.json +4 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-65fc1a7e.js → p-0277618c.js} +2 -2
- package/dist/calcite/{p-0597cc24.js → p-0351d9cc.js} +1 -1
- package/dist/calcite/{p-67245bb1.entry.js → p-04f61853.entry.js} +2 -2
- package/dist/calcite/p-05c6a039.js +6 -0
- package/dist/calcite/{p-48bc776b.entry.js → p-067a3f69.entry.js} +2 -2
- package/dist/calcite/{p-6dec3b93.entry.js → p-0beba072.entry.js} +2 -2
- package/dist/calcite/{p-360ecbbd.js → p-0c863081.js} +1 -1
- package/dist/calcite/{p-5339a9a0.entry.js → p-1547dd35.entry.js} +2 -2
- package/dist/calcite/{p-79908db5.js → p-18728d14.js} +2 -2
- package/dist/calcite/{p-b617421a.js → p-1ea8f0fe.js} +2 -2
- package/dist/calcite/{p-2be3d7ed.js → p-1f7ffee5.js} +3 -3
- package/dist/calcite/{p-d3f93e4a.js → p-2111fbc3.js} +1 -1
- package/dist/calcite/{p-020432d2.entry.js → p-23aa6e59.entry.js} +2 -2
- package/dist/calcite/{p-8da1aa1d.entry.js → p-27d590b1.entry.js} +2 -2
- package/dist/calcite/{p-514ff628.entry.js → p-290ef70e.entry.js} +2 -2
- package/dist/calcite/{p-ed26d965.entry.js → p-2bfd4ac6.entry.js} +2 -2
- package/dist/calcite/{p-9a2f9370.entry.js → p-30cd338f.entry.js} +2 -2
- package/dist/calcite/{p-352d6c7a.entry.js → p-31227f59.entry.js} +2 -2
- package/dist/calcite/{p-0074103a.entry.js → p-33bf004c.entry.js} +2 -2
- package/dist/calcite/{p-9137447f.js → p-3455164c.js} +2 -2
- package/dist/calcite/{p-d61c11d6.entry.js → p-3c0b7686.entry.js} +2 -2
- package/dist/calcite/{p-aa3a29ca.entry.js → p-3cf838da.entry.js} +2 -2
- package/dist/calcite/{p-58498f37.js → p-3e8b5d77.js} +2 -2
- package/dist/calcite/{p-ec8fe625.js → p-4301c76a.js} +1 -1
- package/dist/calcite/{p-07391288.entry.js → p-47067509.entry.js} +2 -2
- package/dist/calcite/{p-f16d7364.entry.js → p-48f73042.entry.js} +2 -2
- package/dist/calcite/{p-4f5ca69c.entry.js → p-49fe68e2.entry.js} +2 -2
- package/dist/calcite/{p-27e7070d.entry.js → p-4a2c2c79.entry.js} +2 -2
- package/dist/calcite/{p-32002e09.entry.js → p-4a7993f4.entry.js} +2 -2
- package/dist/calcite/{p-c6c93fb2.js → p-4b969718.js} +1 -1
- package/dist/calcite/p-4f56cc1a.entry.js +6 -0
- package/dist/calcite/{p-94d51687.js → p-525e4cca.js} +1 -1
- package/dist/calcite/{p-c7bc2d2b.entry.js → p-52651115.entry.js} +2 -2
- package/dist/calcite/{p-bc049719.js → p-54881950.js} +3 -3
- package/dist/calcite/{p-70a3d8d8.entry.js → p-5b77ced0.entry.js} +2 -2
- package/dist/calcite/{p-b7ef373e.js → p-6010ff85.js} +2 -2
- package/dist/calcite/{p-a9d9abdf.entry.js → p-61673f47.entry.js} +2 -2
- package/dist/calcite/{p-ac4262f3.entry.js → p-638fc38b.entry.js} +2 -2
- package/dist/calcite/{p-d17ea507.js → p-63e02de9.js} +1 -1
- package/dist/calcite/{p-6e344fd8.entry.js → p-641219f4.entry.js} +2 -2
- package/dist/calcite/{p-11217e1e.js → p-655a7f16.js} +2 -2
- package/dist/calcite/{p-12b00787.entry.js → p-6734907f.entry.js} +2 -2
- package/dist/calcite/{p-e185db94.entry.js → p-6a2f5917.entry.js} +2 -2
- package/dist/calcite/{p-ade43e21.entry.js → p-6ab42776.entry.js} +2 -2
- package/dist/calcite/{p-cb0c5c39.entry.js → p-71895bb1.entry.js} +2 -2
- package/dist/calcite/{p-a9c0e5d4.entry.js → p-72e7c38f.entry.js} +2 -2
- package/dist/calcite/{p-8fc5d8b8.entry.js → p-73b5d396.entry.js} +2 -2
- package/dist/calcite/{p-c0e50276.entry.js → p-74b246d9.entry.js} +2 -2
- package/dist/calcite/{p-de4fa8e3.entry.js → p-751cb0a1.entry.js} +2 -2
- package/dist/calcite/{p-00367045.js → p-751cb1dd.js} +1 -1
- package/dist/calcite/{p-24f30adb.entry.js → p-75859925.entry.js} +2 -2
- package/dist/calcite/{p-a5b2e4e2.js → p-767b434a.js} +1 -1
- package/dist/calcite/p-80935f8d.js +6 -0
- package/dist/calcite/{p-3726b8f0.entry.js → p-8137ba3e.entry.js} +2 -2
- package/dist/calcite/{p-57a2a37a.entry.js → p-83ff7236.entry.js} +2 -2
- package/dist/calcite/{p-d3b888f3.entry.js → p-89dc4d82.entry.js} +2 -2
- package/dist/calcite/{p-2e81752c.js → p-8b690f1c.js} +1 -1
- package/dist/calcite/{p-11c987e4.entry.js → p-90274aea.entry.js} +2 -2
- package/dist/calcite/p-90424657.entry.js +6 -0
- package/dist/calcite/{p-60537e0b.entry.js → p-919af7b6.entry.js} +2 -2
- package/dist/calcite/{p-cae03d0a.entry.js → p-93512e63.entry.js} +2 -2
- package/dist/calcite/p-941883f9.entry.js +6 -0
- package/dist/calcite/{p-44f78605.entry.js → p-9500d582.entry.js} +2 -2
- package/dist/calcite/p-95bfaf00.js +6 -0
- package/dist/calcite/{p-4b5696e9.js → p-974e1ec2.js} +1 -1
- package/dist/calcite/{p-505302a5.entry.js → p-9ce84574.entry.js} +2 -2
- package/dist/calcite/{p-dd2784d2.js → p-9f3432bc.js} +1 -1
- package/dist/calcite/{p-25fb7ad5.entry.js → p-a09111b0.entry.js} +2 -2
- package/dist/calcite/{p-299c62cf.js → p-a5034525.js} +2 -2
- package/dist/calcite/{p-825fa0c6.entry.js → p-a7eea6e0.entry.js} +2 -2
- package/dist/calcite/{p-b94e2935.js → p-aa77ca77.js} +1 -1
- package/dist/calcite/{p-b70e4819.entry.js → p-ad587efe.entry.js} +2 -2
- package/dist/calcite/{p-9ce08066.js → p-b43e6bcd.js} +2 -2
- package/dist/calcite/{p-7f917900.entry.js → p-b7f288f9.entry.js} +2 -2
- package/dist/calcite/p-ba42e0c7.entry.js +6 -0
- package/dist/calcite/{p-d3920316.entry.js → p-bbd9bada.entry.js} +2 -2
- package/dist/calcite/{p-4fb34430.js → p-bcbe2e66.js} +1 -1
- package/dist/calcite/{p-1784bc53.entry.js → p-bdb39383.entry.js} +2 -2
- package/dist/calcite/{p-f5bac106.entry.js → p-bf4bc523.entry.js} +2 -2
- package/dist/calcite/{p-ed3ec545.entry.js → p-c0f2906e.entry.js} +2 -2
- package/dist/calcite/{p-7a40de8e.entry.js → p-c335f66c.entry.js} +2 -2
- package/dist/calcite/{p-2ed143a2.js → p-c6a450ac.js} +2 -2
- package/dist/calcite/{p-410e78b2.js → p-ca01e893.js} +1 -1
- package/dist/calcite/{p-c6e1db5f.entry.js → p-cb8cc2ae.entry.js} +2 -2
- package/dist/calcite/{p-309cf2ec.entry.js → p-ce58f7d7.entry.js} +2 -2
- package/dist/calcite/{p-163305e5.js → p-d7126b30.js} +1 -1
- package/dist/calcite/{p-b9696302.entry.js → p-d79bee90.entry.js} +2 -2
- package/dist/calcite/{p-f2ae8ccc.entry.js → p-ddb757f8.entry.js} +2 -2
- package/dist/calcite/{p-89fe9b5f.entry.js → p-df227eee.entry.js} +2 -2
- package/dist/calcite/{p-1a8d5ff1.entry.js → p-e2856b56.entry.js} +2 -2
- package/dist/calcite/{p-80fca754.js → p-e57baa62.js} +1 -1
- package/dist/calcite/{p-fb467cbc.entry.js → p-e9ca882b.entry.js} +2 -2
- package/dist/calcite/{p-a519733c.js → p-ed14617d.js} +2 -2
- package/dist/calcite/{p-bf9f1ff2.entry.js → p-f536425b.entry.js} +2 -2
- package/dist/calcite/{p-cf357544.js → p-f6769d95.js} +2 -2
- package/dist/calcite/{p-58bff44b.entry.js → p-fa172a75.entry.js} +2 -2
- package/dist/calcite/p-fae9b6ae.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-9c31ab87.js → ExpandToggle-21b87aff.js} +5 -5
- package/dist/cjs/{FloatingArrow-ea0d9052.js → FloatingArrow-b64770c5.js} +2 -2
- package/dist/cjs/{Heading-9240e419.js → Heading-8ec0e9a4.js} +2 -2
- package/dist/cjs/{app-globals-e2f06c1a.js → app-globals-7a40598d.js} +2 -2
- package/dist/cjs/{array-4d3c978f.js → array-1885b314.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +1394 -139
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +430 -0
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-76695f58.js → composed-offset-position.esm-29b10e84.js} +1 -1
- package/dist/cjs/{conditionalSlot-3c4d4c5e.js → conditionalSlot-ff28b6c2.js} +3 -3
- package/dist/cjs/{debounce-97bef5cc.js → debounce-a6d3c360.js} +1 -1
- package/dist/cjs/{dom-6020ba0d.js → dom-8103e5d3.js} +23 -22
- package/dist/cjs/{filter-c41f8c99.js → filter-30a92dd5.js} +2 -2
- package/dist/cjs/{floating-ui-051b693d.js → floating-ui-44c979d3.js} +4 -4
- package/dist/cjs/{focusTrapComponent-48567e95.js → focusTrapComponent-e1962858.js} +2 -2
- package/dist/cjs/{form-dc0a050f.js → form-c33f638c.js} +3 -3
- package/dist/cjs/{guid-69d047b5.js → guid-ab357421.js} +1 -1
- package/dist/cjs/{index-00e3efc6.js → index-a6397f75.js} +5 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-e6db0b4e.js → interactive-9bcd6d9c.js} +1 -1
- package/dist/cjs/{key-4f01001c.js → key-d3c0dbf4.js} +1 -1
- package/dist/cjs/{label-2122c592.js → label-345ac153.js} +2 -2
- package/dist/cjs/{loadable-d04b22c1.js → loadable-8ff80e11.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-60cf8ec6.js → locale-7ca4ffad.js} +4 -5
- package/dist/cjs/{math-c3d0a645.js → math-cabcb9bc.js} +1 -1
- package/dist/cjs/{observers-81688fb4.js → observers-cd7bfa1c.js} +1 -1
- package/dist/cjs/{openCloseComponent-b891545d.js → openCloseComponent-a9038463.js} +2 -2
- package/dist/cjs/{resources-dd3ecb31.js → resources-236179cd.js} +5 -5
- package/dist/cjs/{resources-53901061.js → resources-9a030531.js} +1 -1
- package/dist/cjs/{resources-18dc6042.js → resources-9ed889ab.js} +1 -1
- package/dist/cjs/{resources-aeb3e27a.js → resources-b683202a.js} +1 -1
- package/dist/cjs/{resources-bf55ec4f.js → resources-e5fde64b.js} +1 -1
- package/dist/cjs/{resources-5cf7ea9a.js → resources-f32ec864.js} +1 -1
- package/dist/cjs/{sortable.esm-b9b8fd90.js → sortable.esm-e84187bc.js} +1 -1
- package/dist/cjs/{t9n-1c4980c8.js → t9n-e37aefc9.js} +3 -3
- package/dist/cjs/{throttle-0117557c.js → throttle-09295850.js} +2 -2
- package/dist/cjs/{utils-b40c8b4d.js → utils-00ef0eb9.js} +3 -3
- package/dist/cjs/{utils-7b40f47e.js → utils-a0a56adf.js} +1 -1
- package/dist/collection/collection-manifest.json +8 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/af.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/am.js +40 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +41 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +41 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +27 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +41 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar.js +74 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/az.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/be.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bg.js +55 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bi.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bm.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +81 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn.js +72 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bo.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/br.js +93 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bs.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ca.js +44 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cs.js +120 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cv.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cy.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/da.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-at.js +63 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-ch.js +63 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de.js +64 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/dv.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/el.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-au.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ca.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-gb.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ie.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-il.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-in.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-nz.js +41 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-sg.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-tt.js +42 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en.js +12 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eo.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-do.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-mx.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-pr.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-us.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/et.js +65 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eu.js +43 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fa.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fi.js +88 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fo.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr.js +41 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fy.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ga.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gd.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gl.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +25 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gu.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/he.js +78 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hi.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hr.js +53 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ht.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hu.js +61 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hy-am.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/id.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/is.js +68 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it-ch.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ja.js +45 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/jv.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ka.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kk.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/km.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kn.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ko.js +45 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ku.js +77 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ky.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lb.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lo.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lt.js +70 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lv.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/me.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mi.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mk.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ml.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mn.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mr.js +23 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms-my.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mt.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/my.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nb.js +40 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ne.js +40 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl-be.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl.js +40 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nn.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pa-in.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pl.js +87 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt-br.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt.js +40 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rn.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ro.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ru.js +99 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rw.js +35 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sd.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/se.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/si.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sk.js +121 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sl.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sq.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +74 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr.js +74 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ss.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +46 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv.js +44 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sw.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ta.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/te.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tet.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tg.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/th.js +38 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tk.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tlh.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tr.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzl.js +24 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uk.js +77 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ur.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/vi.js +43 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/yo.js +39 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +67 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +44 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +65 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh.js +67 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +270 -104
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/index.d.ts +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_ar.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_bg.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_bs.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_ca.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_cs.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_da.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_de.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_el.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_en.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_es.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_et.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_fi.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_fr.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_he.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_hr.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_hu.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_id.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_it.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_ja.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_ko.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_lt.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_lv.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_nl.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_no.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_pl.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_pt-BR.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_pt-PT.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_ro.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_ru.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_sk.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_sl.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_sr.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_sv.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_th.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_tr.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_uk.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_vi.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_zh-CN.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_zh-HK.json +3 -0
- package/dist/collection/components/menu/assets/menu/t9n/messages_zh-TW.json +3 -0
- package/dist/collection/components/menu/menu.css +132 -0
- package/dist/collection/components/menu/menu.js +321 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/index.d.ts +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ar.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_bg.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_bs.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ca.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_cs.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_da.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_de.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_el.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_en.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_es.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_et.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_fi.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_fr.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_he.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_hr.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_hu.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_id.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_it.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ja.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ko.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_lt.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_lv.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_nl.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_no.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_pl.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_pt-BR.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_pt-PT.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ro.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ru.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_sk.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_sl.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_sr.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_sv.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_th.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_tr.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_uk.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_vi.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_zh-CN.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_zh-HK.json +4 -0
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_zh-TW.json +4 -0
- package/dist/collection/components/menu-item/interfaces.js +1 -0
- package/dist/collection/components/menu-item/menu-item.css +324 -0
- package/dist/collection/components/menu-item/menu-item.js +664 -0
- package/dist/collection/components/menu-item/resources.js +24 -0
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +6 -3
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +21 -20
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -2
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +12 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1320 -100
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.d.ts +11 -0
- package/dist/components/calcite-menu-item.js +334 -0
- package/dist/components/calcite-menu.d.ts +11 -0
- package/dist/components/calcite-menu.js +11 -0
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +21 -20
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.d.ts +2 -0
- 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 +189 -0
- 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-85989b7d.js → ExpandToggle-9e199305.js} +5 -5
- package/dist/esm/{FloatingArrow-41e290d7.js → FloatingArrow-d30e41d5.js} +2 -2
- package/dist/esm/{Heading-d75f4b83.js → Heading-d9ec2a7d.js} +2 -2
- package/dist/esm/{app-globals-14f31457.js → app-globals-17e3c9c1.js} +2 -2
- package/dist/esm/{array-9c6510e5.js → array-d9bde3f7.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +1347 -112
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +12 -12
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +425 -0
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-da0b47d8.js → composed-offset-position.esm-4881170f.js} +1 -1
- package/dist/esm/{conditionalSlot-f8f1ad5b.js → conditionalSlot-abd32f3d.js} +3 -3
- package/dist/esm/{debounce-ba58bc17.js → debounce-08574d11.js} +1 -1
- package/dist/esm/{dom-1a0b982d.js → dom-d5d734bd.js} +23 -22
- package/dist/esm/{filter-31c09fc5.js → filter-b75ecdca.js} +2 -2
- package/dist/esm/{floating-ui-c80fd08d.js → floating-ui-5bb808ed.js} +4 -4
- package/dist/esm/{focusTrapComponent-ccd53068.js → focusTrapComponent-99045c04.js} +2 -2
- package/dist/esm/{form-041b6656.js → form-f65000a4.js} +3 -3
- package/dist/esm/{guid-dc90cd76.js → guid-62b4a4f7.js} +1 -1
- package/dist/esm/{index-eabce9f2.js → index-7cd86b2f.js} +5 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-50aceb8c.js → interactive-57ca2112.js} +1 -1
- package/dist/esm/{key-5def0dae.js → key-c1b3e626.js} +1 -1
- package/dist/esm/{label-394feb97.js → label-a8a069a3.js} +2 -2
- package/dist/esm/{loadable-d2c70214.js → loadable-a2065647.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-466c2217.js → locale-2890210d.js} +4 -5
- package/dist/esm/{math-77148107.js → math-b3aebb9d.js} +1 -1
- package/dist/esm/{observers-cb07ddb7.js → observers-70580c98.js} +1 -1
- package/dist/esm/{openCloseComponent-0b69aed9.js → openCloseComponent-91356b53.js} +2 -2
- package/dist/esm/{resources-4f54924a.js → resources-43ace532.js} +5 -5
- package/dist/esm/{resources-ca8b522a.js → resources-57c4c301.js} +1 -1
- package/dist/esm/{resources-9bfca3bf.js → resources-6c7afda8.js} +1 -1
- package/dist/esm/{resources-c3847537.js → resources-992a8ce3.js} +1 -1
- package/dist/esm/{resources-16ddd7e3.js → resources-a927420b.js} +1 -1
- package/dist/esm/{resources-180956b2.js → resources-e1321a5a.js} +1 -1
- package/dist/esm/{sortable.esm-788746ed.js → sortable.esm-c7bba34c.js} +1 -1
- package/dist/esm/{t9n-3d46c9ad.js → t9n-c6c4c747.js} +3 -3
- package/dist/esm/{throttle-aa6e1871.js → throttle-5619e039.js} +2 -2
- package/dist/esm/{utils-ca526940.js → utils-ac238ffd.js} +3 -3
- package/dist/esm/{utils-f02afbb4.js → utils-f874a9d1.js} +1 -1
- package/dist/extras/docs-json.json +386 -2
- package/dist/extras/vscode-data.json +90 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +24 -8
- package/dist/types/components/menu/assets/menu/t9n/index.d.ts +3 -0
- package/dist/types/components/menu/menu.d.ts +51 -0
- package/dist/types/components/menu-item/interfaces.d.ts +5 -0
- package/dist/types/components/menu-item/menu-item.d.ts +100 -0
- package/dist/types/components/menu-item/resources.d.ts +19 -0
- package/dist/types/components.d.ts +186 -2
- package/dist/types/preact.d.ts +7 -0
- package/dist/types/utils/dom.d.ts +5 -4
- package/dist/types/utils/time.d.ts +1 -0
- package/hydrate/index.js +1895 -180
- package/package.json +7 -3
- package/dist/calcite/p-2957ffdb.entry.js +0 -6
- package/dist/calcite/p-5cae627d.entry.js +0 -6
- package/dist/calcite/p-79722c97.js +0 -6
- package/dist/calcite/p-961a4f1d.entry.js +0 -6
- package/dist/calcite/p-b0421d6e.js +0 -6
- package/dist/calcite/p-b281133c.entry.js +0 -6
- package/dist/calcite/p-fd8f5021.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.16
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -4947,6 +4947,26 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
4947
4947
|
/*hydrateAppClosure start*/
|
|
4948
4948
|
|
|
4949
4949
|
|
|
4950
|
+
function _interopNamespace(e) {
|
|
4951
|
+
if (e && e.__esModule) return e;
|
|
4952
|
+
var n = Object.create(null);
|
|
4953
|
+
if (e) {
|
|
4954
|
+
Object.keys(e).forEach(function (k) {
|
|
4955
|
+
if (k !== 'default') {
|
|
4956
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
4957
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
4958
|
+
enumerable: true,
|
|
4959
|
+
get: function () {
|
|
4960
|
+
return e[k];
|
|
4961
|
+
}
|
|
4962
|
+
});
|
|
4963
|
+
}
|
|
4964
|
+
});
|
|
4965
|
+
}
|
|
4966
|
+
n['default'] = e;
|
|
4967
|
+
return Object.freeze(n);
|
|
4968
|
+
}
|
|
4969
|
+
|
|
4950
4970
|
const NAMESPACE = 'calcite';
|
|
4951
4971
|
const BUILD = /* calcite */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, cssVarShim: false, devTools: false, disconnectedCallback: true, dynamicImportShim: false, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, safari10: false, scoped: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
4952
4972
|
|
|
@@ -6850,30 +6870,31 @@ function isPrimaryPointerButton(event) {
|
|
|
6850
6870
|
* This helper sets focus on and returns a destination element from within a group of provided elements.
|
|
6851
6871
|
*
|
|
6852
6872
|
* @param {Element[]} elements An array of elements.
|
|
6853
|
-
* @param {Element}
|
|
6854
|
-
* @param {FocusElementInGroupDestination} destination
|
|
6855
|
-
* @
|
|
6873
|
+
* @param {Element} currentElement The current element.
|
|
6874
|
+
* @param {FocusElementInGroupDestination} destination target destination element to focus.
|
|
6875
|
+
* @param {boolean} cycle Should navigation cycle through elements or stop at extent - defaults to true.
|
|
6876
|
+
* @returns {Element} The focused element.
|
|
6856
6877
|
*/
|
|
6857
|
-
const focusElementInGroup = (elements, currentElement, destination) => {
|
|
6878
|
+
const focusElementInGroup = (elements, currentElement, destination, cycle = true) => {
|
|
6858
6879
|
const currentIndex = elements.indexOf(currentElement);
|
|
6859
6880
|
const isFirstItem = currentIndex === 0;
|
|
6860
6881
|
const isLastItem = currentIndex === elements.length - 1;
|
|
6861
|
-
|
|
6862
|
-
destination
|
|
6882
|
+
if (cycle) {
|
|
6883
|
+
destination =
|
|
6884
|
+
destination === "previous" && isFirstItem ? "last" : destination === "next" && isLastItem ? "first" : destination;
|
|
6885
|
+
}
|
|
6863
6886
|
let focusTarget;
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
focusTarget = elements[currentIndex - 1] || elements[elements.length - 1];
|
|
6876
|
-
break;
|
|
6887
|
+
if (destination === "previous") {
|
|
6888
|
+
focusTarget = elements[currentIndex - 1] || elements[cycle ? elements.length - 1 : currentIndex];
|
|
6889
|
+
}
|
|
6890
|
+
else if (destination === "next") {
|
|
6891
|
+
focusTarget = elements[currentIndex + 1] || elements[cycle ? 0 : currentIndex];
|
|
6892
|
+
}
|
|
6893
|
+
else if (destination === "last") {
|
|
6894
|
+
focusTarget = elements[elements.length - 1];
|
|
6895
|
+
}
|
|
6896
|
+
else {
|
|
6897
|
+
focusTarget = elements[0];
|
|
6877
6898
|
}
|
|
6878
6899
|
focusElement(focusTarget);
|
|
6879
6900
|
return focusTarget;
|
|
@@ -6883,7 +6904,7 @@ const SLOTS$v = {
|
|
|
6883
6904
|
actionsStart: "actions-start",
|
|
6884
6905
|
actionsEnd: "actions-end"
|
|
6885
6906
|
};
|
|
6886
|
-
const CSS
|
|
6907
|
+
const CSS$$ = {
|
|
6887
6908
|
icon: "icon",
|
|
6888
6909
|
header: "header",
|
|
6889
6910
|
headerContent: "header-content",
|
|
@@ -6954,28 +6975,28 @@ class AccordionItem {
|
|
|
6954
6975
|
// --------------------------------------------------------------------------
|
|
6955
6976
|
renderActionsStart() {
|
|
6956
6977
|
const { el } = this;
|
|
6957
|
-
return getSlotted(el, SLOTS$v.actionsStart) ? (hAsync("div", { class: CSS
|
|
6978
|
+
return getSlotted(el, SLOTS$v.actionsStart) ? (hAsync("div", { class: CSS$$.actionsStart }, hAsync("slot", { name: SLOTS$v.actionsStart }))) : null;
|
|
6958
6979
|
}
|
|
6959
6980
|
renderActionsEnd() {
|
|
6960
6981
|
const { el } = this;
|
|
6961
|
-
return getSlotted(el, SLOTS$v.actionsEnd) ? (hAsync("div", { class: CSS
|
|
6982
|
+
return getSlotted(el, SLOTS$v.actionsEnd) ? (hAsync("div", { class: CSS$$.actionsEnd }, hAsync("slot", { name: SLOTS$v.actionsEnd }))) : null;
|
|
6962
6983
|
}
|
|
6963
6984
|
render() {
|
|
6964
6985
|
const { iconFlipRtl } = this;
|
|
6965
6986
|
const dir = getElementDir(this.el);
|
|
6966
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS
|
|
6967
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS
|
|
6987
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$$.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6988
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$$.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6968
6989
|
const { description } = this;
|
|
6969
6990
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6970
6991
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6971
6992
|
[`icon-type--${this.iconType}`]: true
|
|
6972
|
-
} }, hAsync("div", { class: { [CSS
|
|
6993
|
+
} }, hAsync("div", { class: { [CSS$$.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$$.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$$.headerContainer }, iconStartEl, hAsync("div", { class: CSS$$.headerText }, hAsync("span", { class: CSS$$.heading }, this.heading), description ? hAsync("span", { class: CSS$$.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$$.expandIcon, icon: this.iconType === "chevron"
|
|
6973
6994
|
? "chevronDown"
|
|
6974
6995
|
: this.iconType === "caret"
|
|
6975
6996
|
? "caretDown"
|
|
6976
6997
|
: this.expanded
|
|
6977
6998
|
? "minus"
|
|
6978
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS
|
|
6999
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$$.content }, hAsync("slot", null)))));
|
|
6979
7000
|
}
|
|
6980
7001
|
//--------------------------------------------------------------------------
|
|
6981
7002
|
//
|
|
@@ -7563,7 +7584,6 @@ class NumberStringFormat {
|
|
|
7563
7584
|
// `numberFormatOptions` must be set in a component to create and cache the formatter.
|
|
7564
7585
|
this._numberFormatOptions
|
|
7565
7586
|
? sanitizeExponentialNumberString(numberString, (nonExpoNumString) => nonExpoNumString
|
|
7566
|
-
.trim()
|
|
7567
7587
|
.replace(new RegExp(`[${this._minusSign}]`, "g"), "-")
|
|
7568
7588
|
.replace(new RegExp(`[${this._group}]`, "g"), "")
|
|
7569
7589
|
.replace(new RegExp(`[${this._decimal}]`, "g"), ".")
|
|
@@ -7763,7 +7783,7 @@ function defaultOnMessagesChange() {
|
|
|
7763
7783
|
mergeMessages(this);
|
|
7764
7784
|
}
|
|
7765
7785
|
|
|
7766
|
-
const CSS$
|
|
7786
|
+
const CSS$_ = {
|
|
7767
7787
|
button: "button",
|
|
7768
7788
|
buttonTextVisible: "button--text-visible",
|
|
7769
7789
|
buttonCompact: "button--compact",
|
|
@@ -7872,14 +7892,14 @@ class Action {
|
|
|
7872
7892
|
renderTextContainer() {
|
|
7873
7893
|
const { text, textEnabled } = this;
|
|
7874
7894
|
const textContainerClasses = {
|
|
7875
|
-
[CSS$
|
|
7876
|
-
[CSS$
|
|
7895
|
+
[CSS$_.textContainer]: true,
|
|
7896
|
+
[CSS$_.textContainerVisible]: textEnabled
|
|
7877
7897
|
};
|
|
7878
7898
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
7879
7899
|
}
|
|
7880
7900
|
renderIndicatorText() {
|
|
7881
7901
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
7882
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
7902
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$_.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
7883
7903
|
}
|
|
7884
7904
|
renderIconContainer() {
|
|
7885
7905
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -7890,18 +7910,18 @@ class Action {
|
|
|
7890
7910
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
7891
7911
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
7892
7912
|
const slotContainerNode = (hAsync("div", { class: {
|
|
7893
|
-
[CSS$
|
|
7894
|
-
[CSS$
|
|
7913
|
+
[CSS$_.slotContainer]: true,
|
|
7914
|
+
[CSS$_.slotContainerHidden]: loading
|
|
7895
7915
|
} }, hAsync("slot", null)));
|
|
7896
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
7916
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$_.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
7897
7917
|
}
|
|
7898
7918
|
render() {
|
|
7899
7919
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages } = this;
|
|
7900
7920
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
7901
7921
|
const buttonClasses = {
|
|
7902
|
-
[CSS$
|
|
7903
|
-
[CSS$
|
|
7904
|
-
[CSS$
|
|
7922
|
+
[CSS$_.button]: true,
|
|
7923
|
+
[CSS$_.buttonTextVisible]: textEnabled,
|
|
7924
|
+
[CSS$_.buttonCompact]: compact
|
|
7905
7925
|
};
|
|
7906
7926
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
7907
7927
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -9214,7 +9234,7 @@ const ICONS$h = {
|
|
|
9214
9234
|
menu: "ellipsis"
|
|
9215
9235
|
};
|
|
9216
9236
|
|
|
9217
|
-
const CSS$
|
|
9237
|
+
const CSS$Z = {
|
|
9218
9238
|
menu: "menu",
|
|
9219
9239
|
defaultTrigger: "default-trigger"
|
|
9220
9240
|
};
|
|
@@ -9316,7 +9336,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
9316
9336
|
return actionNode;
|
|
9317
9337
|
};
|
|
9318
9338
|
|
|
9319
|
-
const CSS$
|
|
9339
|
+
const CSS$Y = {
|
|
9320
9340
|
actionGroupBottom: "action-group--bottom"
|
|
9321
9341
|
};
|
|
9322
9342
|
const SLOTS$r = {
|
|
@@ -9504,7 +9524,7 @@ class ActionBar {
|
|
|
9504
9524
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
9505
9525
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9506
9526
|
ref: this.setExpandToggleRef })) : null;
|
|
9507
|
-
return getSlotted(el, SLOTS$r.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
9527
|
+
return getSlotted(el, SLOTS$r.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$Y.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$r.bottomActions }), hAsync("slot", { name: SLOTS$r.expandTooltip }), expandToggleNode)) : null;
|
|
9508
9528
|
}
|
|
9509
9529
|
render() {
|
|
9510
9530
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9910,7 +9930,7 @@ class ActionMenu {
|
|
|
9910
9930
|
}
|
|
9911
9931
|
renderMenuButton() {
|
|
9912
9932
|
const { label, scale, expanded } = this;
|
|
9913
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
9933
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$Z.defaultTrigger, icon: ICONS$g.menu, scale: scale, text: label, textEnabled: expanded,
|
|
9914
9934
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9915
9935
|
ref: this.setDefaultMenuButtonEl })));
|
|
9916
9936
|
return menuButtonSlot;
|
|
@@ -9919,7 +9939,7 @@ class ActionMenu {
|
|
|
9919
9939
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
9920
9940
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
9921
9941
|
const activeDescendantId = activeAction?.id || null;
|
|
9922
|
-
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$
|
|
9942
|
+
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$Z.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
9923
9943
|
}
|
|
9924
9944
|
render() {
|
|
9925
9945
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -9955,7 +9975,7 @@ class ActionMenu {
|
|
|
9955
9975
|
}; }
|
|
9956
9976
|
}
|
|
9957
9977
|
|
|
9958
|
-
const CSS$
|
|
9978
|
+
const CSS$X = {
|
|
9959
9979
|
actionGroupBottom: "action-group--bottom",
|
|
9960
9980
|
container: "container"
|
|
9961
9981
|
};
|
|
@@ -10075,10 +10095,10 @@ class ActionPad {
|
|
|
10075
10095
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
10076
10096
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10077
10097
|
ref: this.setExpandToggleRef })) : null;
|
|
10078
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10098
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$X.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
10079
10099
|
}
|
|
10080
10100
|
render() {
|
|
10081
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10101
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$X.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10082
10102
|
}
|
|
10083
10103
|
static get delegatesFocus() { return true; }
|
|
10084
10104
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10214,7 +10234,7 @@ const SLOTS$p = {
|
|
|
10214
10234
|
message: "message",
|
|
10215
10235
|
link: "link"
|
|
10216
10236
|
};
|
|
10217
|
-
const CSS$
|
|
10237
|
+
const CSS$W = {
|
|
10218
10238
|
actionsEnd: "actions-end",
|
|
10219
10239
|
container: "container",
|
|
10220
10240
|
close: "alert-close",
|
|
@@ -10372,10 +10392,10 @@ class Alert {
|
|
|
10372
10392
|
container: true,
|
|
10373
10393
|
queued,
|
|
10374
10394
|
[placement]: true,
|
|
10375
|
-
[CSS$
|
|
10395
|
+
[CSS$W.slottedInShell]: this.slottedInShell
|
|
10376
10396
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10377
10397
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10378
|
-
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.message }), hAsync("slot", { name: SLOTS$p.link })), hAsync("div", { class: CSS$
|
|
10398
|
+
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.message }), hAsync("slot", { name: SLOTS$p.link })), hAsync("div", { class: CSS$W.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10379
10399
|
}
|
|
10380
10400
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10381
10401
|
alertSync(event) {
|
|
@@ -10833,7 +10853,7 @@ const Heading = (props, children) => {
|
|
|
10833
10853
|
return hAsync(HeadingTag, { ...props }, children);
|
|
10834
10854
|
};
|
|
10835
10855
|
|
|
10836
|
-
const CSS$
|
|
10856
|
+
const CSS$V = {
|
|
10837
10857
|
container: "container",
|
|
10838
10858
|
content: "content",
|
|
10839
10859
|
headerContainer: "header-container",
|
|
@@ -10944,31 +10964,31 @@ class Block {
|
|
|
10944
10964
|
const statusIcon = showingLoadingStatus ? ICONS$e.refresh : ICONS$e[status];
|
|
10945
10965
|
const hasIcon = getSlotted(el, SLOTS$o.icon) || statusIcon;
|
|
10946
10966
|
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$o.icon })) : (hAsync("calcite-icon", { class: {
|
|
10947
|
-
[CSS$
|
|
10948
|
-
[CSS$
|
|
10949
|
-
[CSS$
|
|
10950
|
-
[CSS$
|
|
10967
|
+
[CSS$V.statusIcon]: true,
|
|
10968
|
+
[CSS$V.valid]: status == "valid",
|
|
10969
|
+
[CSS$V.invalid]: status == "invalid",
|
|
10970
|
+
[CSS$V.loading]: showingLoadingStatus
|
|
10951
10971
|
}, icon: statusIcon, scale: "m" }));
|
|
10952
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
10972
|
+
return hasIcon ? hAsync("div", { class: CSS$V.icon }, iconEl) : null;
|
|
10953
10973
|
}
|
|
10954
10974
|
renderTitle() {
|
|
10955
10975
|
const { heading, headingLevel, description } = this;
|
|
10956
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
10976
|
+
return heading || description ? (hAsync("div", { class: CSS$V.title }, hAsync(Heading, { class: CSS$V.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$V.description }, description) : null)) : null;
|
|
10957
10977
|
}
|
|
10958
10978
|
render() {
|
|
10959
10979
|
const { collapsible, el, loading, open, messages } = this;
|
|
10960
10980
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
10961
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
10981
|
+
const headerContent = (hAsync("header", { class: CSS$V.header }, this.renderIcon(), this.renderTitle()));
|
|
10962
10982
|
const hasControl = !!getSlotted(el, SLOTS$o.control);
|
|
10963
10983
|
const hasMenuActions = !!getSlotted(el, SLOTS$o.headerMenuActions);
|
|
10964
10984
|
const collapseIcon = open ? ICONS$e.opened : ICONS$e.closed;
|
|
10965
10985
|
const { guid } = this;
|
|
10966
10986
|
const regionId = `${guid}-region`;
|
|
10967
10987
|
const buttonId = `${guid}-button`;
|
|
10968
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
10988
|
+
const headerNode = (hAsync("div", { class: CSS$V.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$V.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$V.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$V.controlContainer }, hAsync("slot", { name: SLOTS$o.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$o.headerMenuActions }))) : null));
|
|
10969
10989
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
10970
|
-
[CSS$
|
|
10971
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
10990
|
+
[CSS$V.container]: true
|
|
10991
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$V.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
10972
10992
|
}
|
|
10973
10993
|
static get assetsDirs() { return ["assets"]; }
|
|
10974
10994
|
get el() { return getElement(this); }
|
|
@@ -11001,7 +11021,7 @@ class Block {
|
|
|
11001
11021
|
}; }
|
|
11002
11022
|
}
|
|
11003
11023
|
|
|
11004
|
-
const CSS$
|
|
11024
|
+
const CSS$U = {
|
|
11005
11025
|
content: "content",
|
|
11006
11026
|
invalid: "invalid",
|
|
11007
11027
|
toggle: "toggle",
|
|
@@ -11087,9 +11107,9 @@ class BlockSection {
|
|
|
11087
11107
|
const { status } = this;
|
|
11088
11108
|
const statusIcon = ICONS$d[status] ?? false;
|
|
11089
11109
|
const statusIconClasses = {
|
|
11090
|
-
[CSS$
|
|
11091
|
-
[CSS$
|
|
11092
|
-
[CSS$
|
|
11110
|
+
[CSS$U.statusIcon]: true,
|
|
11111
|
+
[CSS$U.valid]: status == "valid",
|
|
11112
|
+
[CSS$U.invalid]: status == "invalid"
|
|
11093
11113
|
};
|
|
11094
11114
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11095
11115
|
}
|
|
@@ -11106,13 +11126,13 @@ class BlockSection {
|
|
|
11106
11126
|
const regionId = `${guid}-region`;
|
|
11107
11127
|
const buttonId = `${guid}-button`;
|
|
11108
11128
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11109
|
-
[CSS$
|
|
11110
|
-
[CSS$
|
|
11111
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
11112
|
-
[CSS$
|
|
11113
|
-
[CSS$
|
|
11114
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
11115
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
11129
|
+
[CSS$U.toggle]: true,
|
|
11130
|
+
[CSS$U.toggleSwitch]: true
|
|
11131
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$U.toggleSwitchContent }, hAsync("span", { class: CSS$U.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11132
|
+
[CSS$U.sectionHeader]: true,
|
|
11133
|
+
[CSS$U.toggle]: true
|
|
11134
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$U.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11135
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$U.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
11116
11136
|
}
|
|
11117
11137
|
static get assetsDirs() { return ["assets"]; }
|
|
11118
11138
|
get el() { return getElement(this); }
|
|
@@ -11523,7 +11543,7 @@ function onLabelDisconnected() {
|
|
|
11523
11543
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11524
11544
|
}
|
|
11525
11545
|
|
|
11526
|
-
const CSS$
|
|
11546
|
+
const CSS$T = {
|
|
11527
11547
|
buttonLoader: "calcite-button--loader",
|
|
11528
11548
|
content: "content",
|
|
11529
11549
|
contentSlotted: "content--slotted",
|
|
@@ -11649,17 +11669,17 @@ class Button {
|
|
|
11649
11669
|
render() {
|
|
11650
11670
|
const childElType = this.href ? "a" : "button";
|
|
11651
11671
|
const Tag = childElType;
|
|
11652
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
11672
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$T.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$T.loadingIn : CSS$T.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11653
11673
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11654
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11655
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11656
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
11674
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$T.icon]: true, [CSS$T.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
11675
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$T.icon]: true, [CSS$T.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
11676
|
+
const contentEl = (hAsync("span", { class: CSS$T.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11657
11677
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
11658
|
-
[CSS$
|
|
11659
|
-
[CSS$
|
|
11660
|
-
[CSS$
|
|
11661
|
-
[CSS$
|
|
11662
|
-
[CSS$
|
|
11678
|
+
[CSS$T.buttonPadding]: noStartEndIcons,
|
|
11679
|
+
[CSS$T.buttonPaddingShrunk]: !noStartEndIcons,
|
|
11680
|
+
[CSS$T.contentSlotted]: this.hasContent,
|
|
11681
|
+
[CSS$T.iconStartEmpty]: !this.iconStart,
|
|
11682
|
+
[CSS$T.iconEndEmpty]: !this.iconEnd
|
|
11663
11683
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: this.setChildEl, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, title: this.tooltipText, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
11664
11684
|
}
|
|
11665
11685
|
//--------------------------------------------------------------------------
|
|
@@ -11740,6 +11760,465 @@ class Button {
|
|
|
11740
11760
|
}; }
|
|
11741
11761
|
}
|
|
11742
11762
|
|
|
11763
|
+
const menuCss = "@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-menu: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-menu{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-menu{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-menu{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-menu{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-menu{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-menu{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-menu{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-menu:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-menu: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-menu-h{display:none}/*!@:host*/.sc-calcite-menu-h{display:flex}/*!@ul*/ul.sc-calcite-menu{margin:0px;display:inline-flex;block-size:100%;align-items:center;padding:0px}/*!@:host([layout=vertical]) ul*/[layout=vertical].sc-calcite-menu-h ul.sc-calcite-menu{display:flex;inline-size:100%;flex-direction:column}";
|
|
11764
|
+
|
|
11765
|
+
class CalciteMenu {
|
|
11766
|
+
constructor(hostRef) {
|
|
11767
|
+
registerInstance(this, hostRef);
|
|
11768
|
+
this.menuItems = [];
|
|
11769
|
+
//--------------------------------------------------------------------------
|
|
11770
|
+
//
|
|
11771
|
+
// Private Methods
|
|
11772
|
+
//
|
|
11773
|
+
//--------------------------------------------------------------------------
|
|
11774
|
+
this.handleMenuSlotChange = (event) => {
|
|
11775
|
+
this.menuItems = slotChangeGetAssignedElements(event);
|
|
11776
|
+
this.setMenuItemLayout(this.menuItems, this.layout);
|
|
11777
|
+
};
|
|
11778
|
+
this.label = undefined;
|
|
11779
|
+
this.layout = "horizontal";
|
|
11780
|
+
this.messageOverrides = undefined;
|
|
11781
|
+
this.messages = undefined;
|
|
11782
|
+
this.role = "menubar";
|
|
11783
|
+
this.defaultMessages = undefined;
|
|
11784
|
+
this.effectiveLocale = "";
|
|
11785
|
+
}
|
|
11786
|
+
handleLayoutChange(value) {
|
|
11787
|
+
this.setMenuItemLayout(this.menuItems, value);
|
|
11788
|
+
}
|
|
11789
|
+
onMessagesChange() {
|
|
11790
|
+
/* wired up by t9n util */
|
|
11791
|
+
}
|
|
11792
|
+
effectiveLocaleChange() {
|
|
11793
|
+
updateMessages(this, this.effectiveLocale);
|
|
11794
|
+
}
|
|
11795
|
+
//--------------------------------------------------------------------------
|
|
11796
|
+
//
|
|
11797
|
+
// Lifecycle
|
|
11798
|
+
//
|
|
11799
|
+
//--------------------------------------------------------------------------
|
|
11800
|
+
connectedCallback() {
|
|
11801
|
+
connectLocalized(this);
|
|
11802
|
+
connectMessages(this);
|
|
11803
|
+
}
|
|
11804
|
+
async componentWillLoad() {
|
|
11805
|
+
setUpLoadableComponent(this);
|
|
11806
|
+
await setUpMessages(this);
|
|
11807
|
+
}
|
|
11808
|
+
componentDidLoad() {
|
|
11809
|
+
setComponentLoaded(this);
|
|
11810
|
+
}
|
|
11811
|
+
disconnectedCallback() {
|
|
11812
|
+
disconnectLocalized(this);
|
|
11813
|
+
disconnectMessages(this);
|
|
11814
|
+
}
|
|
11815
|
+
//--------------------------------------------------------------------------
|
|
11816
|
+
//
|
|
11817
|
+
// Public Methods
|
|
11818
|
+
//
|
|
11819
|
+
//--------------------------------------------------------------------------
|
|
11820
|
+
/** Sets focus on the component's first focusable element. */
|
|
11821
|
+
async setFocus() {
|
|
11822
|
+
await componentLoaded(this);
|
|
11823
|
+
this.el.focus();
|
|
11824
|
+
}
|
|
11825
|
+
//--------------------------------------------------------------------------
|
|
11826
|
+
//
|
|
11827
|
+
// Event Listeners
|
|
11828
|
+
//
|
|
11829
|
+
//--------------------------------------------------------------------------
|
|
11830
|
+
calciteInternalNavMenuItemKeyEvent(event) {
|
|
11831
|
+
const target = event.target;
|
|
11832
|
+
const submenuItems = event.detail.children;
|
|
11833
|
+
const key = event.detail.event.key;
|
|
11834
|
+
event.stopPropagation();
|
|
11835
|
+
if (key === "ArrowDown") {
|
|
11836
|
+
if (target.layout === "vertical") {
|
|
11837
|
+
focusElementInGroup(this.menuItems, target, "next", false);
|
|
11838
|
+
}
|
|
11839
|
+
else {
|
|
11840
|
+
if (event.detail.isSubmenuOpen) {
|
|
11841
|
+
submenuItems[0].setFocus();
|
|
11842
|
+
}
|
|
11843
|
+
}
|
|
11844
|
+
}
|
|
11845
|
+
else if (key === "ArrowUp") {
|
|
11846
|
+
if (this.layout === "vertical") {
|
|
11847
|
+
focusElementInGroup(this.menuItems, target, "previous", false);
|
|
11848
|
+
}
|
|
11849
|
+
else {
|
|
11850
|
+
if (event.detail.isSubmenuOpen) {
|
|
11851
|
+
submenuItems[submenuItems.length - 1].setFocus();
|
|
11852
|
+
}
|
|
11853
|
+
}
|
|
11854
|
+
}
|
|
11855
|
+
else if (key === "ArrowRight") {
|
|
11856
|
+
if (this.layout === "horizontal") {
|
|
11857
|
+
focusElementInGroup(this.menuItems, target, "next", false);
|
|
11858
|
+
}
|
|
11859
|
+
else {
|
|
11860
|
+
if (event.detail.isSubmenuOpen) {
|
|
11861
|
+
submenuItems[0].setFocus();
|
|
11862
|
+
}
|
|
11863
|
+
}
|
|
11864
|
+
}
|
|
11865
|
+
else if (key === "ArrowLeft") {
|
|
11866
|
+
if (this.layout === "horizontal") {
|
|
11867
|
+
focusElementInGroup(this.menuItems, target, "previous", false);
|
|
11868
|
+
}
|
|
11869
|
+
else {
|
|
11870
|
+
if (event.detail.isSubmenuOpen) {
|
|
11871
|
+
this.focusParentElement(event.target);
|
|
11872
|
+
}
|
|
11873
|
+
}
|
|
11874
|
+
}
|
|
11875
|
+
else if (key === "Escape") {
|
|
11876
|
+
this.focusParentElement(event.target);
|
|
11877
|
+
}
|
|
11878
|
+
event.preventDefault();
|
|
11879
|
+
}
|
|
11880
|
+
focusParentElement(el) {
|
|
11881
|
+
const parentEl = el.parentElement;
|
|
11882
|
+
if (parentEl) {
|
|
11883
|
+
focusElement(parentEl);
|
|
11884
|
+
parentEl.open = false;
|
|
11885
|
+
}
|
|
11886
|
+
}
|
|
11887
|
+
setMenuItemLayout(items, layout) {
|
|
11888
|
+
items.forEach((item) => {
|
|
11889
|
+
item.layout = layout;
|
|
11890
|
+
if (this.role === "menubar") {
|
|
11891
|
+
item.isTopLevelItem = true;
|
|
11892
|
+
item.topLevelMenuLayout = this.layout;
|
|
11893
|
+
}
|
|
11894
|
+
});
|
|
11895
|
+
}
|
|
11896
|
+
// --------------------------------------------------------------------------
|
|
11897
|
+
//
|
|
11898
|
+
// Render Methods
|
|
11899
|
+
//
|
|
11900
|
+
// --------------------------------------------------------------------------
|
|
11901
|
+
render() {
|
|
11902
|
+
return (hAsync(Host, null, hAsync("ul", { "aria-label": this.label, role: this.role }, hAsync("slot", { onSlotchange: this.handleMenuSlotChange }))));
|
|
11903
|
+
}
|
|
11904
|
+
static get delegatesFocus() { return true; }
|
|
11905
|
+
static get assetsDirs() { return ["assets"]; }
|
|
11906
|
+
get el() { return getElement(this); }
|
|
11907
|
+
static get watchers() { return {
|
|
11908
|
+
"layout": ["handleLayoutChange"],
|
|
11909
|
+
"messageOverrides": ["onMessagesChange"],
|
|
11910
|
+
"effectiveLocale": ["effectiveLocaleChange"]
|
|
11911
|
+
}; }
|
|
11912
|
+
static get style() { return menuCss; }
|
|
11913
|
+
static get cmpMeta() { return {
|
|
11914
|
+
"$flags$": 25,
|
|
11915
|
+
"$tagName$": "calcite-menu",
|
|
11916
|
+
"$members$": {
|
|
11917
|
+
"label": [1],
|
|
11918
|
+
"layout": [513],
|
|
11919
|
+
"messageOverrides": [1040],
|
|
11920
|
+
"messages": [1040],
|
|
11921
|
+
"role": [1],
|
|
11922
|
+
"defaultMessages": [32],
|
|
11923
|
+
"effectiveLocale": [32],
|
|
11924
|
+
"setFocus": [64]
|
|
11925
|
+
},
|
|
11926
|
+
"$listeners$": [[0, "calciteInternalMenuItemKeyEvent", "calciteInternalNavMenuItemKeyEvent"]],
|
|
11927
|
+
"$lazyBundleId$": "-",
|
|
11928
|
+
"$attrsToReflect$": [["layout", "layout"]]
|
|
11929
|
+
}; }
|
|
11930
|
+
}
|
|
11931
|
+
|
|
11932
|
+
const CSS$S = {
|
|
11933
|
+
container: "container",
|
|
11934
|
+
content: "content",
|
|
11935
|
+
dropdownVertical: "dropdown--vertical",
|
|
11936
|
+
dropdownMenuItems: "dropdown-menu-items",
|
|
11937
|
+
dropdownAction: "dropdown-action",
|
|
11938
|
+
layoutVertical: "layout--vertical",
|
|
11939
|
+
hoverHrefIcon: "hover-href-icon",
|
|
11940
|
+
icon: "icon",
|
|
11941
|
+
iconBreadcrumb: "icon--breadcrumb",
|
|
11942
|
+
iconDropdown: "icon--dropdown",
|
|
11943
|
+
iconEnd: "icon--end",
|
|
11944
|
+
iconStart: "icon--start",
|
|
11945
|
+
isParentVertical: "parent--vertical",
|
|
11946
|
+
itemContent: "item-content",
|
|
11947
|
+
open: "open",
|
|
11948
|
+
nested: "nested",
|
|
11949
|
+
textContainer: "text-container"
|
|
11950
|
+
};
|
|
11951
|
+
|
|
11952
|
+
const menuItemCss = "@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-menu-item: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-menu-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-menu-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-menu-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-menu-item{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-menu-item{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-menu-item{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-menu-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-menu-item:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-menu-item: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-menu-item-h{display:none}/*!@:host*/.sc-calcite-menu-item-h{position:relative;box-sizing:border-box;display:flex;block-size:100%;align-items:center;flex-shrink:0}/*!@:host .container, :host .item-content, :host .content*/.sc-calcite-menu-item-h .container.sc-calcite-menu-item,.sc-calcite-menu-item-h .item-content.sc-calcite-menu-item,.sc-calcite-menu-item-h .content.sc-calcite-menu-item{min-block-size:3rem}/*!@:host([layout=vertical])*/[layout=vertical].sc-calcite-menu-item-h{inline-size:100%}/*!@.container,\n.item-content*/.container.sc-calcite-menu-item,.item-content.sc-calcite-menu-item{display:flex;block-size:100%;inline-size:100%;flex-direction:row;align-items:stretch}/*!@.content*/.content.sc-calcite-menu-item{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);padding-inline:1rem;font-size:var(--calcite-font-size-0);color:var(--calcite-ui-text-2);outline:2px solid transparent;outline-offset:2px;text-decoration:none;border-block-end:0.125rem solid transparent;padding-block-start:0.125rem}/*!@.content:hover*/.content.sc-calcite-menu-item:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-2)}/*!@.content:focus*/.content.sc-calcite-menu-item:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-2);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.content:active*/.content.sc-calcite-menu-item:active{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@.content span*/.content.sc-calcite-menu-item span.sc-calcite-menu-item{display:inline-flex}/*!@.content.layout--vertical*/.content.layout--vertical.sc-calcite-menu-item{display:flex;inline-size:100%;justify-content:flex-start;padding-block:1rem;border-block-end:0;border-inline-end:0.25rem solid transparent}/*!@:host([active]) .content*/[active].sc-calcite-menu-item-h .content.sc-calcite-menu-item{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-brand)}/*!@:host([active]) .content .icon*/[active].sc-calcite-menu-item-h .content.sc-calcite-menu-item .icon.sc-calcite-menu-item{--calcite-ui-icon-color:var(--calcite-ui-brand)}/*!@.icon--start*/.icon--start.sc-calcite-menu-item{margin-inline-end:0.75rem}/*!@.icon--end*/.icon--end.sc-calcite-menu-item{margin-inline-start:0.75rem}/*!@.icon--dropdown*/.icon--dropdown.sc-calcite-menu-item{position:relative;margin-inline-start:auto;margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-ui-text-3)}/*!@:host([layout=vertical]) .icon--dropdown*/[layout=vertical].sc-calcite-menu-item-h .icon--dropdown.sc-calcite-menu-item{inset-inline-start:0.25rem}/*!@.icon--breadcrumb*/.icon--breadcrumb.sc-calcite-menu-item{margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-ui-text-3)}/*!@:host([breadcrumb]) .content*/[breadcrumb].sc-calcite-menu-item-h .content.sc-calcite-menu-item{padding-inline-end:0.75rem}/*!@calcite-action*/calcite-action.sc-calcite-menu-item{position:relative;block-size:auto;border-inline-start:1px solid var(--calcite-ui-foreground-1)}/*!@calcite-action:after*/calcite-action.sc-calcite-menu-item:after{position:absolute;inset-inline-start:-1px;display:block;inline-size:1px;content:\"\";inset-block:0.75rem;background-color:var(--calcite-ui-border-3)}/*!@calcite-action:hover:after*/calcite-action.sc-calcite-menu-item:hover:after{block-size:100%;inset-block:0}/*!@.content:focus ~ calcite-action,\n.content:hover ~ calcite-action*/.content.sc-calcite-menu-item:focus~calcite-action.sc-calcite-menu-item,.content.sc-calcite-menu-item:hover~calcite-action.sc-calcite-menu-item{color:var(--calcite-ui-text-1);border-inline-start:1px solid var(--calcite-ui-border-3)}/*!@.container:hover .dropdown-action*/.container.sc-calcite-menu-item:hover .dropdown-action.sc-calcite-menu-item{background-color:var(--calcite-ui-foreground-2)}/*!@.dropdown-menu-items*/.dropdown-menu-items.sc-calcite-menu-item{position:absolute;display:none;block-size:auto;min-inline-size:100%;flex-direction:column;overflow:visible;border:1px solid var(--calcite-ui-border-3);background:var(--calcite-ui-foreground-1);inset-block-start:100%;z-index:var(--calcite-app-z-index-dropdown)}/*!@.dropdown-menu-items.open*/.dropdown-menu-items.open.sc-calcite-menu-item{display:block}/*!@.dropdown-menu-items.nested*/.dropdown-menu-items.nested.sc-calcite-menu-item{position:absolute;inset-block-start:-1px;transform:translateX(calc(100% - 2px))}/*!@.parent--vertical*/.parent--vertical.sc-calcite-menu-item{flex-direction:column}/*!@.dropdown--vertical.dropdown-menu-items*/.dropdown--vertical.dropdown-menu-items.sc-calcite-menu-item{position:relative;border-radius:0px;box-shadow:none;inset-block-start:0;transform:none}/*!@.dropdown--vertical.dropdown-menu-items:last-of-type*/.dropdown--vertical.dropdown-menu-items.sc-calcite-menu-item:last-of-type{border-inline:0}/*!@:host([slot=submenu-item]) .parent--vertical*/[slot=submenu-item].sc-calcite-menu-item-h .parent--vertical.sc-calcite-menu-item{padding-inline-start:1.75rem}/*!@.dropdown-menu-items.nested.calcite--rtl*/.dropdown-menu-items.nested.calcite--rtl.sc-calcite-menu-item{transform:translateX(calc(-100% + 2px))}/*!@.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl*/.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl.sc-calcite-menu-item{transform:none}/*!@.hover-href-icon*/.hover-href-icon.sc-calcite-menu-item{position:relative;inset-inline-end:0.25rem;margin-inline-start:auto;padding-inline-start:2rem;opacity:0;transition:all var(--calcite-internal-animation-timing-medium) ease-in-out}/*!@content:focus .hover-href-icon,\ncontent:hover .hover-href-icon*/content.sc-calcite-menu-item:focus .hover-href-icon.sc-calcite-menu-item,content.sc-calcite-menu-item:hover .hover-href-icon.sc-calcite-menu-item{inset-inline-end:-0.25rem;opacity:1}";
|
|
11953
|
+
|
|
11954
|
+
/**
|
|
11955
|
+
* @slot submenu-item - A slot for adding `calcite-menu-item`s in submenu.
|
|
11956
|
+
*/
|
|
11957
|
+
class CalciteMenuItem {
|
|
11958
|
+
constructor(hostRef) {
|
|
11959
|
+
registerInstance(this, hostRef);
|
|
11960
|
+
this.calciteInternalMenuItemKeyEvent = createEvent(this, "calciteInternalMenuItemKeyEvent", 7);
|
|
11961
|
+
this.calciteMenuItemSelect = createEvent(this, "calciteMenuItemSelect", 7);
|
|
11962
|
+
this.clickHandler = (event) => {
|
|
11963
|
+
if ((this.href && event.target === this.dropdownActionEl) || (!this.href && this.hasSubmenu)) {
|
|
11964
|
+
this.open = !this.open;
|
|
11965
|
+
}
|
|
11966
|
+
this.selectMenuItem(event);
|
|
11967
|
+
};
|
|
11968
|
+
this.handleMenuItemSlotChange = (event) => {
|
|
11969
|
+
this.submenuItems = slotChangeGetAssignedElements(event);
|
|
11970
|
+
this.submenuItems.forEach((item) => {
|
|
11971
|
+
if (!item.topLevelMenuLayout) {
|
|
11972
|
+
item.topLevelMenuLayout = this.topLevelMenuLayout;
|
|
11973
|
+
}
|
|
11974
|
+
});
|
|
11975
|
+
this.hasSubmenu = this.submenuItems.length > 0;
|
|
11976
|
+
};
|
|
11977
|
+
this.keyDownHandler = async (event) => {
|
|
11978
|
+
// opening and closing of submenu is handled here. Any other functionality is bubbled to parent menu.
|
|
11979
|
+
if (event.key === " " || event.key === "Enter") {
|
|
11980
|
+
this.selectMenuItem(event);
|
|
11981
|
+
if (this.hasSubmenu &&
|
|
11982
|
+
(!this.href || (this.href && event.target === this.dropdownActionEl))) {
|
|
11983
|
+
this.open = !this.open;
|
|
11984
|
+
}
|
|
11985
|
+
event.preventDefault();
|
|
11986
|
+
}
|
|
11987
|
+
else if (event.key === "Escape") {
|
|
11988
|
+
if (this.open) {
|
|
11989
|
+
this.open = false;
|
|
11990
|
+
return;
|
|
11991
|
+
}
|
|
11992
|
+
this.calciteInternalMenuItemKeyEvent.emit({ event });
|
|
11993
|
+
event.preventDefault();
|
|
11994
|
+
}
|
|
11995
|
+
else if (event.key === "ArrowDown" || event.key === "ArrowUp") {
|
|
11996
|
+
event.preventDefault();
|
|
11997
|
+
if ((event.target === this.dropdownActionEl || !this.href) &&
|
|
11998
|
+
this.hasSubmenu &&
|
|
11999
|
+
!this.open &&
|
|
12000
|
+
this.layout === "horizontal") {
|
|
12001
|
+
this.open = true;
|
|
12002
|
+
return;
|
|
12003
|
+
}
|
|
12004
|
+
this.calciteInternalMenuItemKeyEvent.emit({
|
|
12005
|
+
event,
|
|
12006
|
+
children: this.submenuItems,
|
|
12007
|
+
isSubmenuOpen: this.open && this.hasSubmenu
|
|
12008
|
+
});
|
|
12009
|
+
}
|
|
12010
|
+
else if (event.key === "ArrowLeft") {
|
|
12011
|
+
event.preventDefault();
|
|
12012
|
+
this.calciteInternalMenuItemKeyEvent.emit({
|
|
12013
|
+
event,
|
|
12014
|
+
children: this.submenuItems,
|
|
12015
|
+
isSubmenuOpen: true
|
|
12016
|
+
});
|
|
12017
|
+
}
|
|
12018
|
+
else if (event.key === "ArrowRight") {
|
|
12019
|
+
event.preventDefault();
|
|
12020
|
+
if ((event.target === this.dropdownActionEl || !this.href) &&
|
|
12021
|
+
this.hasSubmenu &&
|
|
12022
|
+
!this.open &&
|
|
12023
|
+
this.layout === "vertical") {
|
|
12024
|
+
this.open = true;
|
|
12025
|
+
return;
|
|
12026
|
+
}
|
|
12027
|
+
this.calciteInternalMenuItemKeyEvent.emit({
|
|
12028
|
+
event,
|
|
12029
|
+
children: this.submenuItems,
|
|
12030
|
+
isSubmenuOpen: this.open && this.hasSubmenu
|
|
12031
|
+
});
|
|
12032
|
+
}
|
|
12033
|
+
};
|
|
12034
|
+
this.active = undefined;
|
|
12035
|
+
this.breadcrumb = undefined;
|
|
12036
|
+
this.href = undefined;
|
|
12037
|
+
this.iconEnd = undefined;
|
|
12038
|
+
this.iconFlipRtl = undefined;
|
|
12039
|
+
this.iconStart = undefined;
|
|
12040
|
+
this.isTopLevelItem = false;
|
|
12041
|
+
this.label = undefined;
|
|
12042
|
+
this.layout = undefined;
|
|
12043
|
+
this.messageOverrides = undefined;
|
|
12044
|
+
this.messages = undefined;
|
|
12045
|
+
this.open = false;
|
|
12046
|
+
this.rel = undefined;
|
|
12047
|
+
this.target = undefined;
|
|
12048
|
+
this.text = undefined;
|
|
12049
|
+
this.topLevelMenuLayout = undefined;
|
|
12050
|
+
this.defaultMessages = undefined;
|
|
12051
|
+
this.effectiveLocale = "";
|
|
12052
|
+
this.hasSubmenu = false;
|
|
12053
|
+
this.submenuItems = undefined;
|
|
12054
|
+
}
|
|
12055
|
+
onMessagesChange() {
|
|
12056
|
+
/* wired up by t9n util */
|
|
12057
|
+
}
|
|
12058
|
+
effectiveLocaleChange() {
|
|
12059
|
+
updateMessages(this, this.effectiveLocale);
|
|
12060
|
+
}
|
|
12061
|
+
//--------------------------------------------------------------------------
|
|
12062
|
+
//
|
|
12063
|
+
// Public Methods
|
|
12064
|
+
//
|
|
12065
|
+
//--------------------------------------------------------------------------
|
|
12066
|
+
/** Sets focus on the component. */
|
|
12067
|
+
async setFocus() {
|
|
12068
|
+
await componentLoaded(this);
|
|
12069
|
+
this.anchorEl.focus();
|
|
12070
|
+
}
|
|
12071
|
+
//--------------------------------------------------------------------------
|
|
12072
|
+
//
|
|
12073
|
+
// Event Listeners
|
|
12074
|
+
//
|
|
12075
|
+
//--------------------------------------------------------------------------
|
|
12076
|
+
handleClickOut(event) {
|
|
12077
|
+
if (this.topLevelMenuLayout !== "vertical" &&
|
|
12078
|
+
this.hasSubmenu &&
|
|
12079
|
+
this.open &&
|
|
12080
|
+
!event.composedPath().includes(this.el)) {
|
|
12081
|
+
this.open = false;
|
|
12082
|
+
}
|
|
12083
|
+
}
|
|
12084
|
+
handleFocusOut(event) {
|
|
12085
|
+
if (this.topLevelMenuLayout !== "vertical" &&
|
|
12086
|
+
!this.el.contains(event.relatedTarget)) {
|
|
12087
|
+
this.open = false;
|
|
12088
|
+
}
|
|
12089
|
+
}
|
|
12090
|
+
//--------------------------------------------------------------------------
|
|
12091
|
+
//
|
|
12092
|
+
// Lifecycle
|
|
12093
|
+
//
|
|
12094
|
+
//--------------------------------------------------------------------------
|
|
12095
|
+
connectedCallback() {
|
|
12096
|
+
connectLocalized(this);
|
|
12097
|
+
connectMessages(this);
|
|
12098
|
+
}
|
|
12099
|
+
async componentWillLoad() {
|
|
12100
|
+
setUpLoadableComponent(this);
|
|
12101
|
+
await setUpMessages(this);
|
|
12102
|
+
}
|
|
12103
|
+
componentDidLoad() {
|
|
12104
|
+
setComponentLoaded(this);
|
|
12105
|
+
}
|
|
12106
|
+
disconnectedCallback() {
|
|
12107
|
+
disconnectLocalized(this);
|
|
12108
|
+
disconnectMessages(this);
|
|
12109
|
+
}
|
|
12110
|
+
// --------------------------------------------------------------------------
|
|
12111
|
+
//
|
|
12112
|
+
// Private Methods
|
|
12113
|
+
//
|
|
12114
|
+
// --------------------------------------------------------------------------
|
|
12115
|
+
blurHandler() {
|
|
12116
|
+
this.isFocused = false;
|
|
12117
|
+
}
|
|
12118
|
+
focusHandler(event) {
|
|
12119
|
+
const target = event.target;
|
|
12120
|
+
this.isFocused = true;
|
|
12121
|
+
if (target.open && !this.open) {
|
|
12122
|
+
target.open = false;
|
|
12123
|
+
}
|
|
12124
|
+
}
|
|
12125
|
+
selectMenuItem(event) {
|
|
12126
|
+
if (event.target !== this.dropdownActionEl) {
|
|
12127
|
+
this.calciteMenuItemSelect.emit();
|
|
12128
|
+
}
|
|
12129
|
+
}
|
|
12130
|
+
//--------------------------------------------------------------------------
|
|
12131
|
+
//
|
|
12132
|
+
// Render Methods
|
|
12133
|
+
//
|
|
12134
|
+
//--------------------------------------------------------------------------
|
|
12135
|
+
renderIconStart() {
|
|
12136
|
+
return (hAsync("calcite-icon", { class: `${CSS$S.icon} ${CSS$S.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$S.iconStart, scale: "s" }));
|
|
12137
|
+
}
|
|
12138
|
+
renderIconEnd() {
|
|
12139
|
+
return (hAsync("calcite-icon", { class: `${CSS$S.icon} ${CSS$S.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$S.iconEnd, scale: "s" }));
|
|
12140
|
+
}
|
|
12141
|
+
renderBreadcrumbIcon(dir) {
|
|
12142
|
+
return (hAsync("calcite-icon", { class: `${CSS$S.icon} ${CSS$S.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$S.iconBreadcrumb, scale: "s" }));
|
|
12143
|
+
}
|
|
12144
|
+
renderDropdownIcon(dir) {
|
|
12145
|
+
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12146
|
+
return (hAsync("calcite-icon", { class: `${CSS$S.icon} ${CSS$S.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12147
|
+
? this.open
|
|
12148
|
+
? "chevron-up"
|
|
12149
|
+
: "chevron-down"
|
|
12150
|
+
: dirChevron, key: CSS$S.iconDropdown, scale: "s" }));
|
|
12151
|
+
}
|
|
12152
|
+
renderDropdownAction(dir) {
|
|
12153
|
+
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12154
|
+
return (hAsync("calcite-action", { class: CSS$S.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12155
|
+
? this.open
|
|
12156
|
+
? "chevron-up"
|
|
12157
|
+
: "chevron-down"
|
|
12158
|
+
: dirChevron, key: CSS$S.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12159
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
12160
|
+
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12161
|
+
}
|
|
12162
|
+
renderSubmenuItems(dir) {
|
|
12163
|
+
return (hAsync("calcite-menu", { class: {
|
|
12164
|
+
[CSS$S.dropdownMenuItems]: true,
|
|
12165
|
+
[CSS$S.open]: this.open,
|
|
12166
|
+
[CSS$S.nested]: !this.isTopLevelItem,
|
|
12167
|
+
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12168
|
+
[CSS$S.dropdownVertical]: this.topLevelMenuLayout === "vertical"
|
|
12169
|
+
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12170
|
+
}
|
|
12171
|
+
renderItemContent(dir) {
|
|
12172
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$S.textContainer }, hAsync("span", null, this.text)), !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null, this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, this.iconEnd && this.renderIconEnd()));
|
|
12173
|
+
}
|
|
12174
|
+
render() {
|
|
12175
|
+
const dir = getElementDir(this.el);
|
|
12176
|
+
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12177
|
+
[CSS$S.container]: true,
|
|
12178
|
+
[CSS$S.isParentVertical]: this.topLevelMenuLayout === "vertical"
|
|
12179
|
+
}, role: "none" }, hAsync("div", { class: CSS$S.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$S.layoutVertical]: this.layout === "vertical", [CSS$S.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12180
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
12181
|
+
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir), this.href && this.topLevelMenuLayout === "vertical" ? (hAsync("calcite-icon", { class: CSS$S.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", scale: "s" })) : null), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12182
|
+
}
|
|
12183
|
+
static get assetsDirs() { return ["assets"]; }
|
|
12184
|
+
get el() { return getElement(this); }
|
|
12185
|
+
static get watchers() { return {
|
|
12186
|
+
"messageOverrides": ["onMessagesChange"],
|
|
12187
|
+
"effectiveLocale": ["effectiveLocaleChange"]
|
|
12188
|
+
}; }
|
|
12189
|
+
static get style() { return menuItemCss; }
|
|
12190
|
+
static get cmpMeta() { return {
|
|
12191
|
+
"$flags$": 9,
|
|
12192
|
+
"$tagName$": "calcite-menu-item",
|
|
12193
|
+
"$members$": {
|
|
12194
|
+
"active": [516],
|
|
12195
|
+
"breadcrumb": [516],
|
|
12196
|
+
"href": [1],
|
|
12197
|
+
"iconEnd": [513, "icon-end"],
|
|
12198
|
+
"iconFlipRtl": [513, "icon-flip-rtl"],
|
|
12199
|
+
"iconStart": [513, "icon-start"],
|
|
12200
|
+
"isTopLevelItem": [4, "is-top-level-item"],
|
|
12201
|
+
"label": [1],
|
|
12202
|
+
"layout": [513],
|
|
12203
|
+
"messageOverrides": [1040],
|
|
12204
|
+
"messages": [1040],
|
|
12205
|
+
"open": [1540],
|
|
12206
|
+
"rel": [513],
|
|
12207
|
+
"target": [513],
|
|
12208
|
+
"text": [1],
|
|
12209
|
+
"topLevelMenuLayout": [1, "top-level-menu-layout"],
|
|
12210
|
+
"defaultMessages": [32],
|
|
12211
|
+
"effectiveLocale": [32],
|
|
12212
|
+
"hasSubmenu": [32],
|
|
12213
|
+
"submenuItems": [32],
|
|
12214
|
+
"setFocus": [64]
|
|
12215
|
+
},
|
|
12216
|
+
"$listeners$": [[8, "click", "handleClickOut"], [0, "focusout", "handleFocusOut"]],
|
|
12217
|
+
"$lazyBundleId$": "-",
|
|
12218
|
+
"$attrsToReflect$": [["active", "active"], ["breadcrumb", "breadcrumb"], ["iconEnd", "icon-end"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["layout", "layout"], ["open", "open"], ["rel", "rel"], ["target", "target"]]
|
|
12219
|
+
}; }
|
|
12220
|
+
}
|
|
12221
|
+
|
|
11743
12222
|
const CSS$R = {
|
|
11744
12223
|
container: "container",
|
|
11745
12224
|
header: "header",
|
|
@@ -25337,13 +25816,1091 @@ function parseTimeString(value) {
|
|
|
25337
25816
|
second: null
|
|
25338
25817
|
};
|
|
25339
25818
|
}
|
|
25819
|
+
function toISOTimeString(value, includeSeconds = true) {
|
|
25820
|
+
if (!isValidTime(value)) {
|
|
25821
|
+
return "";
|
|
25822
|
+
}
|
|
25823
|
+
const { hour, minute, second } = parseTimeString(value);
|
|
25824
|
+
let isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
|
|
25825
|
+
if (includeSeconds) {
|
|
25826
|
+
isoTimeString += `:${formatTimePart(parseInt((includeSeconds && second) || "0"))}`;
|
|
25827
|
+
}
|
|
25828
|
+
return isoTimeString;
|
|
25829
|
+
}
|
|
25340
25830
|
|
|
25341
25831
|
const CSS$v = {
|
|
25342
25832
|
toggleIcon: "toggle-icon"
|
|
25343
25833
|
};
|
|
25344
25834
|
|
|
25835
|
+
var SECONDS_A_MINUTE = 60;
|
|
25836
|
+
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
|
25837
|
+
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
|
25838
|
+
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
|
25839
|
+
var MILLISECONDS_A_SECOND = 1e3;
|
|
25840
|
+
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
|
25841
|
+
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
|
25842
|
+
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
|
25843
|
+
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
|
25844
|
+
|
|
25845
|
+
var MS = 'millisecond';
|
|
25846
|
+
var S = 'second';
|
|
25847
|
+
var MIN = 'minute';
|
|
25848
|
+
var H = 'hour';
|
|
25849
|
+
var D = 'day';
|
|
25850
|
+
var W = 'week';
|
|
25851
|
+
var M = 'month';
|
|
25852
|
+
var Q = 'quarter';
|
|
25853
|
+
var Y = 'year';
|
|
25854
|
+
var DATE = 'date';
|
|
25855
|
+
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
|
25856
|
+
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
|
25857
|
+
|
|
25858
|
+
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
|
25859
|
+
var REGEX_FORMAT = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
|
|
25860
|
+
|
|
25861
|
+
// English [en]
|
|
25862
|
+
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
|
25863
|
+
var en = {
|
|
25864
|
+
name: 'en',
|
|
25865
|
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
|
25866
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
|
25867
|
+
ordinal: function ordinal(n) {
|
|
25868
|
+
var s = ['th', 'st', 'nd', 'rd'];
|
|
25869
|
+
var v = n % 100;
|
|
25870
|
+
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
|
25871
|
+
}
|
|
25872
|
+
};
|
|
25873
|
+
|
|
25874
|
+
var padStart = function padStart(string, length, pad) {
|
|
25875
|
+
var s = String(string);
|
|
25876
|
+
if (!s || s.length >= length) return string;
|
|
25877
|
+
return "" + Array(length + 1 - s.length).join(pad) + string;
|
|
25878
|
+
};
|
|
25879
|
+
|
|
25880
|
+
var padZoneStr = function padZoneStr(instance) {
|
|
25881
|
+
var negMinutes = -instance.utcOffset();
|
|
25882
|
+
var minutes = Math.abs(negMinutes);
|
|
25883
|
+
var hourOffset = Math.floor(minutes / 60);
|
|
25884
|
+
var minuteOffset = minutes % 60;
|
|
25885
|
+
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
|
25886
|
+
};
|
|
25887
|
+
|
|
25888
|
+
var monthDiff = function monthDiff(a, b) {
|
|
25889
|
+
// function from moment.js in order to keep the same result
|
|
25890
|
+
if (a.date() < b.date()) return -monthDiff(b, a);
|
|
25891
|
+
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
|
25892
|
+
var anchor = a.clone().add(wholeMonthDiff, M);
|
|
25893
|
+
var c = b - anchor < 0;
|
|
25894
|
+
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
|
25895
|
+
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
|
25896
|
+
};
|
|
25897
|
+
|
|
25898
|
+
var absFloor = function absFloor(n) {
|
|
25899
|
+
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
|
25900
|
+
};
|
|
25901
|
+
|
|
25902
|
+
var prettyUnit = function prettyUnit(u) {
|
|
25903
|
+
var special = {
|
|
25904
|
+
M: M,
|
|
25905
|
+
y: Y,
|
|
25906
|
+
w: W,
|
|
25907
|
+
d: D,
|
|
25908
|
+
D: DATE,
|
|
25909
|
+
h: H,
|
|
25910
|
+
m: MIN,
|
|
25911
|
+
s: S,
|
|
25912
|
+
ms: MS,
|
|
25913
|
+
Q: Q
|
|
25914
|
+
};
|
|
25915
|
+
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
|
25916
|
+
};
|
|
25917
|
+
|
|
25918
|
+
var isUndefined = function isUndefined(s) {
|
|
25919
|
+
return s === undefined;
|
|
25920
|
+
};
|
|
25921
|
+
|
|
25922
|
+
var U = {
|
|
25923
|
+
s: padStart,
|
|
25924
|
+
z: padZoneStr,
|
|
25925
|
+
m: monthDiff,
|
|
25926
|
+
a: absFloor,
|
|
25927
|
+
p: prettyUnit,
|
|
25928
|
+
u: isUndefined
|
|
25929
|
+
};
|
|
25930
|
+
|
|
25931
|
+
var L = 'en'; // global locale
|
|
25932
|
+
|
|
25933
|
+
var Ls = {}; // global loaded locale
|
|
25934
|
+
|
|
25935
|
+
Ls[L] = en;
|
|
25936
|
+
|
|
25937
|
+
var isDayjs = function isDayjs(d) {
|
|
25938
|
+
return d instanceof Dayjs;
|
|
25939
|
+
}; // eslint-disable-line no-use-before-define
|
|
25940
|
+
|
|
25941
|
+
|
|
25942
|
+
var parseLocale = function parseLocale(preset, object, isLocal) {
|
|
25943
|
+
var l;
|
|
25944
|
+
if (!preset) return L;
|
|
25945
|
+
|
|
25946
|
+
if (typeof preset === 'string') {
|
|
25947
|
+
var presetLower = preset.toLowerCase();
|
|
25948
|
+
|
|
25949
|
+
if (Ls[presetLower]) {
|
|
25950
|
+
l = presetLower;
|
|
25951
|
+
}
|
|
25952
|
+
|
|
25953
|
+
if (object) {
|
|
25954
|
+
Ls[presetLower] = object;
|
|
25955
|
+
l = presetLower;
|
|
25956
|
+
}
|
|
25957
|
+
|
|
25958
|
+
var presetSplit = preset.split('-');
|
|
25959
|
+
|
|
25960
|
+
if (!l && presetSplit.length > 1) {
|
|
25961
|
+
return parseLocale(presetSplit[0]);
|
|
25962
|
+
}
|
|
25963
|
+
} else {
|
|
25964
|
+
var name = preset.name;
|
|
25965
|
+
Ls[name] = preset;
|
|
25966
|
+
l = name;
|
|
25967
|
+
}
|
|
25968
|
+
|
|
25969
|
+
if (!isLocal && l) L = l;
|
|
25970
|
+
return l || !isLocal && L;
|
|
25971
|
+
};
|
|
25972
|
+
|
|
25973
|
+
var dayjs = function dayjs(date, c) {
|
|
25974
|
+
if (isDayjs(date)) {
|
|
25975
|
+
return date.clone();
|
|
25976
|
+
} // eslint-disable-next-line no-nested-ternary
|
|
25977
|
+
|
|
25978
|
+
|
|
25979
|
+
var cfg = typeof c === 'object' ? c : {};
|
|
25980
|
+
cfg.date = date;
|
|
25981
|
+
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
|
25982
|
+
|
|
25983
|
+
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
|
25984
|
+
};
|
|
25985
|
+
|
|
25986
|
+
var wrapper = function wrapper(date, instance) {
|
|
25987
|
+
return dayjs(date, {
|
|
25988
|
+
locale: instance.$L,
|
|
25989
|
+
utc: instance.$u,
|
|
25990
|
+
x: instance.$x,
|
|
25991
|
+
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
|
25992
|
+
|
|
25993
|
+
});
|
|
25994
|
+
};
|
|
25995
|
+
|
|
25996
|
+
var Utils = U; // for plugin use
|
|
25997
|
+
|
|
25998
|
+
Utils.l = parseLocale;
|
|
25999
|
+
Utils.i = isDayjs;
|
|
26000
|
+
Utils.w = wrapper;
|
|
26001
|
+
|
|
26002
|
+
var parseDate = function parseDate(cfg) {
|
|
26003
|
+
var date = cfg.date,
|
|
26004
|
+
utc = cfg.utc;
|
|
26005
|
+
if (date === null) return new Date(NaN); // null is invalid
|
|
26006
|
+
|
|
26007
|
+
if (Utils.u(date)) return new Date(); // today
|
|
26008
|
+
|
|
26009
|
+
if (date instanceof Date) return new Date(date);
|
|
26010
|
+
|
|
26011
|
+
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
|
26012
|
+
var d = date.match(REGEX_PARSE);
|
|
26013
|
+
|
|
26014
|
+
if (d) {
|
|
26015
|
+
var m = d[2] - 1 || 0;
|
|
26016
|
+
var ms = (d[7] || '0').substring(0, 3);
|
|
26017
|
+
|
|
26018
|
+
if (utc) {
|
|
26019
|
+
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
|
26020
|
+
}
|
|
26021
|
+
|
|
26022
|
+
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
|
26023
|
+
}
|
|
26024
|
+
}
|
|
26025
|
+
|
|
26026
|
+
return new Date(date); // everything else
|
|
26027
|
+
};
|
|
26028
|
+
|
|
26029
|
+
var Dayjs = /*#__PURE__*/function () {
|
|
26030
|
+
function Dayjs(cfg) {
|
|
26031
|
+
this.$L = parseLocale(cfg.locale, null, true);
|
|
26032
|
+
this.parse(cfg); // for plugin
|
|
26033
|
+
}
|
|
26034
|
+
|
|
26035
|
+
var _proto = Dayjs.prototype;
|
|
26036
|
+
|
|
26037
|
+
_proto.parse = function parse(cfg) {
|
|
26038
|
+
this.$d = parseDate(cfg);
|
|
26039
|
+
this.$x = cfg.x || {};
|
|
26040
|
+
this.init();
|
|
26041
|
+
};
|
|
26042
|
+
|
|
26043
|
+
_proto.init = function init() {
|
|
26044
|
+
var $d = this.$d;
|
|
26045
|
+
this.$y = $d.getFullYear();
|
|
26046
|
+
this.$M = $d.getMonth();
|
|
26047
|
+
this.$D = $d.getDate();
|
|
26048
|
+
this.$W = $d.getDay();
|
|
26049
|
+
this.$H = $d.getHours();
|
|
26050
|
+
this.$m = $d.getMinutes();
|
|
26051
|
+
this.$s = $d.getSeconds();
|
|
26052
|
+
this.$ms = $d.getMilliseconds();
|
|
26053
|
+
} // eslint-disable-next-line class-methods-use-this
|
|
26054
|
+
;
|
|
26055
|
+
|
|
26056
|
+
_proto.$utils = function $utils() {
|
|
26057
|
+
return Utils;
|
|
26058
|
+
};
|
|
26059
|
+
|
|
26060
|
+
_proto.isValid = function isValid() {
|
|
26061
|
+
return !(this.$d.toString() === INVALID_DATE_STRING);
|
|
26062
|
+
};
|
|
26063
|
+
|
|
26064
|
+
_proto.isSame = function isSame(that, units) {
|
|
26065
|
+
var other = dayjs(that);
|
|
26066
|
+
return this.startOf(units) <= other && other <= this.endOf(units);
|
|
26067
|
+
};
|
|
26068
|
+
|
|
26069
|
+
_proto.isAfter = function isAfter(that, units) {
|
|
26070
|
+
return dayjs(that) < this.startOf(units);
|
|
26071
|
+
};
|
|
26072
|
+
|
|
26073
|
+
_proto.isBefore = function isBefore(that, units) {
|
|
26074
|
+
return this.endOf(units) < dayjs(that);
|
|
26075
|
+
};
|
|
26076
|
+
|
|
26077
|
+
_proto.$g = function $g(input, get, set) {
|
|
26078
|
+
if (Utils.u(input)) return this[get];
|
|
26079
|
+
return this.set(set, input);
|
|
26080
|
+
};
|
|
26081
|
+
|
|
26082
|
+
_proto.unix = function unix() {
|
|
26083
|
+
return Math.floor(this.valueOf() / 1000);
|
|
26084
|
+
};
|
|
26085
|
+
|
|
26086
|
+
_proto.valueOf = function valueOf() {
|
|
26087
|
+
// timezone(hour) * 60 * 60 * 1000 => ms
|
|
26088
|
+
return this.$d.getTime();
|
|
26089
|
+
};
|
|
26090
|
+
|
|
26091
|
+
_proto.startOf = function startOf(units, _startOf) {
|
|
26092
|
+
var _this = this;
|
|
26093
|
+
|
|
26094
|
+
// startOf -> endOf
|
|
26095
|
+
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
|
26096
|
+
var unit = Utils.p(units);
|
|
26097
|
+
|
|
26098
|
+
var instanceFactory = function instanceFactory(d, m) {
|
|
26099
|
+
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
|
26100
|
+
return isStartOf ? ins : ins.endOf(D);
|
|
26101
|
+
};
|
|
26102
|
+
|
|
26103
|
+
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
|
26104
|
+
var argumentStart = [0, 0, 0, 0];
|
|
26105
|
+
var argumentEnd = [23, 59, 59, 999];
|
|
26106
|
+
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
|
26107
|
+
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
|
26108
|
+
};
|
|
26109
|
+
|
|
26110
|
+
var $W = this.$W,
|
|
26111
|
+
$M = this.$M,
|
|
26112
|
+
$D = this.$D;
|
|
26113
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
26114
|
+
|
|
26115
|
+
switch (unit) {
|
|
26116
|
+
case Y:
|
|
26117
|
+
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
|
26118
|
+
|
|
26119
|
+
case M:
|
|
26120
|
+
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
|
26121
|
+
|
|
26122
|
+
case W:
|
|
26123
|
+
{
|
|
26124
|
+
var weekStart = this.$locale().weekStart || 0;
|
|
26125
|
+
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
|
26126
|
+
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
|
26127
|
+
}
|
|
26128
|
+
|
|
26129
|
+
case D:
|
|
26130
|
+
case DATE:
|
|
26131
|
+
return instanceFactorySet(utcPad + "Hours", 0);
|
|
26132
|
+
|
|
26133
|
+
case H:
|
|
26134
|
+
return instanceFactorySet(utcPad + "Minutes", 1);
|
|
26135
|
+
|
|
26136
|
+
case MIN:
|
|
26137
|
+
return instanceFactorySet(utcPad + "Seconds", 2);
|
|
26138
|
+
|
|
26139
|
+
case S:
|
|
26140
|
+
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
|
26141
|
+
|
|
26142
|
+
default:
|
|
26143
|
+
return this.clone();
|
|
26144
|
+
}
|
|
26145
|
+
};
|
|
26146
|
+
|
|
26147
|
+
_proto.endOf = function endOf(arg) {
|
|
26148
|
+
return this.startOf(arg, false);
|
|
26149
|
+
};
|
|
26150
|
+
|
|
26151
|
+
_proto.$set = function $set(units, _int) {
|
|
26152
|
+
var _C$D$C$DATE$C$M$C$Y$C;
|
|
26153
|
+
|
|
26154
|
+
// private set
|
|
26155
|
+
var unit = Utils.p(units);
|
|
26156
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
26157
|
+
var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
|
|
26158
|
+
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
|
26159
|
+
|
|
26160
|
+
if (unit === M || unit === Y) {
|
|
26161
|
+
// clone is for badMutable plugin
|
|
26162
|
+
var date = this.clone().set(DATE, 1);
|
|
26163
|
+
date.$d[name](arg);
|
|
26164
|
+
date.init();
|
|
26165
|
+
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
|
26166
|
+
} else if (name) this.$d[name](arg);
|
|
26167
|
+
|
|
26168
|
+
this.init();
|
|
26169
|
+
return this;
|
|
26170
|
+
};
|
|
26171
|
+
|
|
26172
|
+
_proto.set = function set(string, _int2) {
|
|
26173
|
+
return this.clone().$set(string, _int2);
|
|
26174
|
+
};
|
|
26175
|
+
|
|
26176
|
+
_proto.get = function get(unit) {
|
|
26177
|
+
return this[Utils.p(unit)]();
|
|
26178
|
+
};
|
|
26179
|
+
|
|
26180
|
+
_proto.add = function add(number, units) {
|
|
26181
|
+
var _this2 = this,
|
|
26182
|
+
_C$MIN$C$H$C$S$unit;
|
|
26183
|
+
|
|
26184
|
+
number = Number(number); // eslint-disable-line no-param-reassign
|
|
26185
|
+
|
|
26186
|
+
var unit = Utils.p(units);
|
|
26187
|
+
|
|
26188
|
+
var instanceFactorySet = function instanceFactorySet(n) {
|
|
26189
|
+
var d = dayjs(_this2);
|
|
26190
|
+
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
|
26191
|
+
};
|
|
26192
|
+
|
|
26193
|
+
if (unit === M) {
|
|
26194
|
+
return this.set(M, this.$M + number);
|
|
26195
|
+
}
|
|
26196
|
+
|
|
26197
|
+
if (unit === Y) {
|
|
26198
|
+
return this.set(Y, this.$y + number);
|
|
26199
|
+
}
|
|
26200
|
+
|
|
26201
|
+
if (unit === D) {
|
|
26202
|
+
return instanceFactorySet(1);
|
|
26203
|
+
}
|
|
26204
|
+
|
|
26205
|
+
if (unit === W) {
|
|
26206
|
+
return instanceFactorySet(7);
|
|
26207
|
+
}
|
|
26208
|
+
|
|
26209
|
+
var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms
|
|
26210
|
+
|
|
26211
|
+
var nextTimeStamp = this.$d.getTime() + number * step;
|
|
26212
|
+
return Utils.w(nextTimeStamp, this);
|
|
26213
|
+
};
|
|
26214
|
+
|
|
26215
|
+
_proto.subtract = function subtract(number, string) {
|
|
26216
|
+
return this.add(number * -1, string);
|
|
26217
|
+
};
|
|
26218
|
+
|
|
26219
|
+
_proto.format = function format(formatStr) {
|
|
26220
|
+
var _this3 = this;
|
|
26221
|
+
|
|
26222
|
+
var locale = this.$locale();
|
|
26223
|
+
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
|
26224
|
+
var str = formatStr || FORMAT_DEFAULT;
|
|
26225
|
+
var zoneStr = Utils.z(this);
|
|
26226
|
+
var $H = this.$H,
|
|
26227
|
+
$m = this.$m,
|
|
26228
|
+
$M = this.$M;
|
|
26229
|
+
var weekdays = locale.weekdays,
|
|
26230
|
+
months = locale.months,
|
|
26231
|
+
meridiem = locale.meridiem;
|
|
26232
|
+
|
|
26233
|
+
var getShort = function getShort(arr, index, full, length) {
|
|
26234
|
+
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
|
26235
|
+
};
|
|
26236
|
+
|
|
26237
|
+
var get$H = function get$H(num) {
|
|
26238
|
+
return Utils.s($H % 12 || 12, num, '0');
|
|
26239
|
+
};
|
|
26240
|
+
|
|
26241
|
+
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
|
26242
|
+
var m = hour < 12 ? 'AM' : 'PM';
|
|
26243
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
26244
|
+
};
|
|
26245
|
+
|
|
26246
|
+
var matches = {
|
|
26247
|
+
YY: String(this.$y).slice(-2),
|
|
26248
|
+
YYYY: this.$y,
|
|
26249
|
+
M: $M + 1,
|
|
26250
|
+
MM: Utils.s($M + 1, 2, '0'),
|
|
26251
|
+
MMM: getShort(locale.monthsShort, $M, months, 3),
|
|
26252
|
+
MMMM: getShort(months, $M),
|
|
26253
|
+
D: this.$D,
|
|
26254
|
+
DD: Utils.s(this.$D, 2, '0'),
|
|
26255
|
+
d: String(this.$W),
|
|
26256
|
+
dd: getShort(locale.weekdaysMin, this.$W, weekdays, 2),
|
|
26257
|
+
ddd: getShort(locale.weekdaysShort, this.$W, weekdays, 3),
|
|
26258
|
+
dddd: weekdays[this.$W],
|
|
26259
|
+
H: String($H),
|
|
26260
|
+
HH: Utils.s($H, 2, '0'),
|
|
26261
|
+
h: get$H(1),
|
|
26262
|
+
hh: get$H(2),
|
|
26263
|
+
a: meridiemFunc($H, $m, true),
|
|
26264
|
+
A: meridiemFunc($H, $m, false),
|
|
26265
|
+
m: String($m),
|
|
26266
|
+
mm: Utils.s($m, 2, '0'),
|
|
26267
|
+
s: String(this.$s),
|
|
26268
|
+
ss: Utils.s(this.$s, 2, '0'),
|
|
26269
|
+
SSS: Utils.s(this.$ms, 3, '0'),
|
|
26270
|
+
Z: zoneStr // 'ZZ' logic below
|
|
26271
|
+
|
|
26272
|
+
};
|
|
26273
|
+
return str.replace(REGEX_FORMAT, function (match, $1) {
|
|
26274
|
+
return $1 || matches[match] || zoneStr.replace(':', '');
|
|
26275
|
+
}); // 'ZZ'
|
|
26276
|
+
};
|
|
26277
|
+
|
|
26278
|
+
_proto.utcOffset = function utcOffset() {
|
|
26279
|
+
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
|
26280
|
+
// https://github.com/moment/moment/pull/1871
|
|
26281
|
+
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
|
26282
|
+
};
|
|
26283
|
+
|
|
26284
|
+
_proto.diff = function diff(input, units, _float) {
|
|
26285
|
+
var _C$Y$C$M$C$Q$C$W$C$D$;
|
|
26286
|
+
|
|
26287
|
+
var unit = Utils.p(units);
|
|
26288
|
+
var that = dayjs(input);
|
|
26289
|
+
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
|
26290
|
+
var diff = this - that;
|
|
26291
|
+
var result = Utils.m(this, that);
|
|
26292
|
+
result = (_C$Y$C$M$C$Q$C$W$C$D$ = {}, _C$Y$C$M$C$Q$C$W$C$D$[Y] = result / 12, _C$Y$C$M$C$Q$C$W$C$D$[M] = result, _C$Y$C$M$C$Q$C$W$C$D$[Q] = result / 3, _C$Y$C$M$C$Q$C$W$C$D$[W] = (diff - zoneDelta) / MILLISECONDS_A_WEEK, _C$Y$C$M$C$Q$C$W$C$D$[D] = (diff - zoneDelta) / MILLISECONDS_A_DAY, _C$Y$C$M$C$Q$C$W$C$D$[H] = diff / MILLISECONDS_A_HOUR, _C$Y$C$M$C$Q$C$W$C$D$[MIN] = diff / MILLISECONDS_A_MINUTE, _C$Y$C$M$C$Q$C$W$C$D$[S] = diff / MILLISECONDS_A_SECOND, _C$Y$C$M$C$Q$C$W$C$D$)[unit] || diff; // milliseconds
|
|
26293
|
+
|
|
26294
|
+
return _float ? result : Utils.a(result);
|
|
26295
|
+
};
|
|
26296
|
+
|
|
26297
|
+
_proto.daysInMonth = function daysInMonth() {
|
|
26298
|
+
return this.endOf(M).$D;
|
|
26299
|
+
};
|
|
26300
|
+
|
|
26301
|
+
_proto.$locale = function $locale() {
|
|
26302
|
+
// get locale object
|
|
26303
|
+
return Ls[this.$L];
|
|
26304
|
+
};
|
|
26305
|
+
|
|
26306
|
+
_proto.locale = function locale(preset, object) {
|
|
26307
|
+
if (!preset) return this.$L;
|
|
26308
|
+
var that = this.clone();
|
|
26309
|
+
var nextLocaleName = parseLocale(preset, object, true);
|
|
26310
|
+
if (nextLocaleName) that.$L = nextLocaleName;
|
|
26311
|
+
return that;
|
|
26312
|
+
};
|
|
26313
|
+
|
|
26314
|
+
_proto.clone = function clone() {
|
|
26315
|
+
return Utils.w(this.$d, this);
|
|
26316
|
+
};
|
|
26317
|
+
|
|
26318
|
+
_proto.toDate = function toDate() {
|
|
26319
|
+
return new Date(this.valueOf());
|
|
26320
|
+
};
|
|
26321
|
+
|
|
26322
|
+
_proto.toJSON = function toJSON() {
|
|
26323
|
+
return this.isValid() ? this.toISOString() : null;
|
|
26324
|
+
};
|
|
26325
|
+
|
|
26326
|
+
_proto.toISOString = function toISOString() {
|
|
26327
|
+
// ie 8 return
|
|
26328
|
+
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
|
26329
|
+
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
|
26330
|
+
return this.$d.toISOString();
|
|
26331
|
+
};
|
|
26332
|
+
|
|
26333
|
+
_proto.toString = function toString() {
|
|
26334
|
+
return this.$d.toUTCString();
|
|
26335
|
+
};
|
|
26336
|
+
|
|
26337
|
+
return Dayjs;
|
|
26338
|
+
}();
|
|
26339
|
+
|
|
26340
|
+
var proto = Dayjs.prototype;
|
|
26341
|
+
dayjs.prototype = proto;
|
|
26342
|
+
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
|
26343
|
+
proto[g[1]] = function (input) {
|
|
26344
|
+
return this.$g(input, g[0], g[1]);
|
|
26345
|
+
};
|
|
26346
|
+
});
|
|
26347
|
+
|
|
26348
|
+
dayjs.extend = function (plugin, option) {
|
|
26349
|
+
if (!plugin.$i) {
|
|
26350
|
+
// install plugin only once
|
|
26351
|
+
plugin(option, Dayjs, dayjs);
|
|
26352
|
+
plugin.$i = true;
|
|
26353
|
+
}
|
|
26354
|
+
|
|
26355
|
+
return dayjs;
|
|
26356
|
+
};
|
|
26357
|
+
|
|
26358
|
+
dayjs.locale = parseLocale;
|
|
26359
|
+
dayjs.isDayjs = isDayjs;
|
|
26360
|
+
|
|
26361
|
+
dayjs.unix = function (timestamp) {
|
|
26362
|
+
return dayjs(timestamp * 1e3);
|
|
26363
|
+
};
|
|
26364
|
+
|
|
26365
|
+
dayjs.en = Ls[L];
|
|
26366
|
+
dayjs.Ls = Ls;
|
|
26367
|
+
dayjs.p = {};
|
|
26368
|
+
|
|
26369
|
+
// eslint-disable-next-line import/prefer-default-export
|
|
26370
|
+
var t = function t(format) {
|
|
26371
|
+
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
|
26372
|
+
return a || b.slice(1);
|
|
26373
|
+
});
|
|
26374
|
+
};
|
|
26375
|
+
var englishFormats = {
|
|
26376
|
+
LTS: 'h:mm:ss A',
|
|
26377
|
+
LT: 'h:mm A',
|
|
26378
|
+
L: 'MM/DD/YYYY',
|
|
26379
|
+
LL: 'MMMM D, YYYY',
|
|
26380
|
+
LLL: 'MMMM D, YYYY h:mm A',
|
|
26381
|
+
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
|
26382
|
+
};
|
|
26383
|
+
var u = function u(formatStr, formats) {
|
|
26384
|
+
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
|
26385
|
+
var B = b && b.toUpperCase();
|
|
26386
|
+
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
|
26387
|
+
});
|
|
26388
|
+
};
|
|
26389
|
+
|
|
26390
|
+
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
|
26391
|
+
var match1 = /\d/; // 0 - 9
|
|
26392
|
+
|
|
26393
|
+
var match2 = /\d\d/; // 00 - 99
|
|
26394
|
+
|
|
26395
|
+
var match3 = /\d{3}/; // 000 - 999
|
|
26396
|
+
|
|
26397
|
+
var match4 = /\d{4}/; // 0000 - 9999
|
|
26398
|
+
|
|
26399
|
+
var match1to2 = /\d\d?/; // 0 - 99
|
|
26400
|
+
|
|
26401
|
+
var matchSigned = /[+-]?\d+/; // -inf - inf
|
|
26402
|
+
|
|
26403
|
+
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
|
26404
|
+
|
|
26405
|
+
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
|
26406
|
+
|
|
26407
|
+
var locale = {};
|
|
26408
|
+
|
|
26409
|
+
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
|
26410
|
+
input = +input;
|
|
26411
|
+
return input + (input > 68 ? 1900 : 2000);
|
|
26412
|
+
};
|
|
26413
|
+
|
|
26414
|
+
function offsetFromString(string) {
|
|
26415
|
+
if (!string) return 0;
|
|
26416
|
+
if (string === 'Z') return 0;
|
|
26417
|
+
var parts = string.match(/([+-]|\d\d)/g);
|
|
26418
|
+
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
|
26419
|
+
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
|
26420
|
+
}
|
|
26421
|
+
|
|
26422
|
+
var addInput = function addInput(property) {
|
|
26423
|
+
return function (input) {
|
|
26424
|
+
this[property] = +input;
|
|
26425
|
+
};
|
|
26426
|
+
};
|
|
26427
|
+
|
|
26428
|
+
var zoneExpressions = [matchOffset, function (input) {
|
|
26429
|
+
var zone = this.zone || (this.zone = {});
|
|
26430
|
+
zone.offset = offsetFromString(input);
|
|
26431
|
+
}];
|
|
26432
|
+
|
|
26433
|
+
var getLocalePart = function getLocalePart(name) {
|
|
26434
|
+
var part = locale[name];
|
|
26435
|
+
return part && (part.indexOf ? part : part.s.concat(part.f));
|
|
26436
|
+
};
|
|
26437
|
+
|
|
26438
|
+
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
|
26439
|
+
var isAfternoon;
|
|
26440
|
+
var _locale = locale,
|
|
26441
|
+
meridiem = _locale.meridiem;
|
|
26442
|
+
|
|
26443
|
+
if (!meridiem) {
|
|
26444
|
+
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
|
26445
|
+
} else {
|
|
26446
|
+
for (var i = 1; i <= 24; i += 1) {
|
|
26447
|
+
// todo: fix input === meridiem(i, 0, isLowerCase)
|
|
26448
|
+
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
|
26449
|
+
isAfternoon = i > 12;
|
|
26450
|
+
break;
|
|
26451
|
+
}
|
|
26452
|
+
}
|
|
26453
|
+
}
|
|
26454
|
+
|
|
26455
|
+
return isAfternoon;
|
|
26456
|
+
};
|
|
26457
|
+
|
|
26458
|
+
var expressions = {
|
|
26459
|
+
A: [matchWord, function (input) {
|
|
26460
|
+
this.afternoon = meridiemMatch(input, false);
|
|
26461
|
+
}],
|
|
26462
|
+
a: [matchWord, function (input) {
|
|
26463
|
+
this.afternoon = meridiemMatch(input, true);
|
|
26464
|
+
}],
|
|
26465
|
+
S: [match1, function (input) {
|
|
26466
|
+
this.milliseconds = +input * 100;
|
|
26467
|
+
}],
|
|
26468
|
+
SS: [match2, function (input) {
|
|
26469
|
+
this.milliseconds = +input * 10;
|
|
26470
|
+
}],
|
|
26471
|
+
SSS: [match3, function (input) {
|
|
26472
|
+
this.milliseconds = +input;
|
|
26473
|
+
}],
|
|
26474
|
+
s: [match1to2, addInput('seconds')],
|
|
26475
|
+
ss: [match1to2, addInput('seconds')],
|
|
26476
|
+
m: [match1to2, addInput('minutes')],
|
|
26477
|
+
mm: [match1to2, addInput('minutes')],
|
|
26478
|
+
H: [match1to2, addInput('hours')],
|
|
26479
|
+
h: [match1to2, addInput('hours')],
|
|
26480
|
+
HH: [match1to2, addInput('hours')],
|
|
26481
|
+
hh: [match1to2, addInput('hours')],
|
|
26482
|
+
D: [match1to2, addInput('day')],
|
|
26483
|
+
DD: [match2, addInput('day')],
|
|
26484
|
+
Do: [matchWord, function (input) {
|
|
26485
|
+
var _locale2 = locale,
|
|
26486
|
+
ordinal = _locale2.ordinal;
|
|
26487
|
+
|
|
26488
|
+
var _input$match = input.match(/\d+/);
|
|
26489
|
+
|
|
26490
|
+
this.day = _input$match[0];
|
|
26491
|
+
if (!ordinal) return;
|
|
26492
|
+
|
|
26493
|
+
for (var i = 1; i <= 31; i += 1) {
|
|
26494
|
+
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
|
26495
|
+
this.day = i;
|
|
26496
|
+
}
|
|
26497
|
+
}
|
|
26498
|
+
}],
|
|
26499
|
+
M: [match1to2, addInput('month')],
|
|
26500
|
+
MM: [match2, addInput('month')],
|
|
26501
|
+
MMM: [matchWord, function (input) {
|
|
26502
|
+
var months = getLocalePart('months');
|
|
26503
|
+
var monthsShort = getLocalePart('monthsShort');
|
|
26504
|
+
var matchIndex = (monthsShort || months.map(function (_) {
|
|
26505
|
+
return _.slice(0, 3);
|
|
26506
|
+
})).indexOf(input) + 1;
|
|
26507
|
+
|
|
26508
|
+
if (matchIndex < 1) {
|
|
26509
|
+
throw new Error();
|
|
26510
|
+
}
|
|
26511
|
+
|
|
26512
|
+
this.month = matchIndex % 12 || matchIndex;
|
|
26513
|
+
}],
|
|
26514
|
+
MMMM: [matchWord, function (input) {
|
|
26515
|
+
var months = getLocalePart('months');
|
|
26516
|
+
var matchIndex = months.indexOf(input) + 1;
|
|
26517
|
+
|
|
26518
|
+
if (matchIndex < 1) {
|
|
26519
|
+
throw new Error();
|
|
26520
|
+
}
|
|
26521
|
+
|
|
26522
|
+
this.month = matchIndex % 12 || matchIndex;
|
|
26523
|
+
}],
|
|
26524
|
+
Y: [matchSigned, addInput('year')],
|
|
26525
|
+
YY: [match2, function (input) {
|
|
26526
|
+
this.year = parseTwoDigitYear(input);
|
|
26527
|
+
}],
|
|
26528
|
+
YYYY: [match4, addInput('year')],
|
|
26529
|
+
Z: zoneExpressions,
|
|
26530
|
+
ZZ: zoneExpressions
|
|
26531
|
+
};
|
|
26532
|
+
|
|
26533
|
+
function correctHours(time) {
|
|
26534
|
+
var afternoon = time.afternoon;
|
|
26535
|
+
|
|
26536
|
+
if (afternoon !== undefined) {
|
|
26537
|
+
var hours = time.hours;
|
|
26538
|
+
|
|
26539
|
+
if (afternoon) {
|
|
26540
|
+
if (hours < 12) {
|
|
26541
|
+
time.hours += 12;
|
|
26542
|
+
}
|
|
26543
|
+
} else if (hours === 12) {
|
|
26544
|
+
time.hours = 0;
|
|
26545
|
+
}
|
|
26546
|
+
|
|
26547
|
+
delete time.afternoon;
|
|
26548
|
+
}
|
|
26549
|
+
}
|
|
26550
|
+
|
|
26551
|
+
function makeParser(format) {
|
|
26552
|
+
format = u(format, locale && locale.formats);
|
|
26553
|
+
var array = format.match(formattingTokens);
|
|
26554
|
+
var length = array.length;
|
|
26555
|
+
|
|
26556
|
+
for (var i = 0; i < length; i += 1) {
|
|
26557
|
+
var token = array[i];
|
|
26558
|
+
var parseTo = expressions[token];
|
|
26559
|
+
var regex = parseTo && parseTo[0];
|
|
26560
|
+
var parser = parseTo && parseTo[1];
|
|
26561
|
+
|
|
26562
|
+
if (parser) {
|
|
26563
|
+
array[i] = {
|
|
26564
|
+
regex: regex,
|
|
26565
|
+
parser: parser
|
|
26566
|
+
};
|
|
26567
|
+
} else {
|
|
26568
|
+
array[i] = token.replace(/^\[|\]$/g, '');
|
|
26569
|
+
}
|
|
26570
|
+
}
|
|
26571
|
+
|
|
26572
|
+
return function (input) {
|
|
26573
|
+
var time = {};
|
|
26574
|
+
|
|
26575
|
+
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
|
26576
|
+
var _token = array[_i];
|
|
26577
|
+
|
|
26578
|
+
if (typeof _token === 'string') {
|
|
26579
|
+
start += _token.length;
|
|
26580
|
+
} else {
|
|
26581
|
+
var _regex = _token.regex,
|
|
26582
|
+
_parser = _token.parser;
|
|
26583
|
+
var part = input.slice(start);
|
|
26584
|
+
|
|
26585
|
+
var match = _regex.exec(part);
|
|
26586
|
+
|
|
26587
|
+
var value = match[0];
|
|
26588
|
+
|
|
26589
|
+
_parser.call(time, value);
|
|
26590
|
+
|
|
26591
|
+
input = input.replace(value, '');
|
|
26592
|
+
}
|
|
26593
|
+
}
|
|
26594
|
+
|
|
26595
|
+
correctHours(time);
|
|
26596
|
+
return time;
|
|
26597
|
+
};
|
|
26598
|
+
}
|
|
26599
|
+
|
|
26600
|
+
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
|
26601
|
+
try {
|
|
26602
|
+
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
|
26603
|
+
var parser = makeParser(format);
|
|
26604
|
+
|
|
26605
|
+
var _parser2 = parser(input),
|
|
26606
|
+
year = _parser2.year,
|
|
26607
|
+
month = _parser2.month,
|
|
26608
|
+
day = _parser2.day,
|
|
26609
|
+
hours = _parser2.hours,
|
|
26610
|
+
minutes = _parser2.minutes,
|
|
26611
|
+
seconds = _parser2.seconds,
|
|
26612
|
+
milliseconds = _parser2.milliseconds,
|
|
26613
|
+
zone = _parser2.zone;
|
|
26614
|
+
|
|
26615
|
+
var now = new Date();
|
|
26616
|
+
var d = day || (!year && !month ? now.getDate() : 1);
|
|
26617
|
+
var y = year || now.getFullYear();
|
|
26618
|
+
var M = 0;
|
|
26619
|
+
|
|
26620
|
+
if (!(year && !month)) {
|
|
26621
|
+
M = month > 0 ? month - 1 : now.getMonth();
|
|
26622
|
+
}
|
|
26623
|
+
|
|
26624
|
+
var h = hours || 0;
|
|
26625
|
+
var m = minutes || 0;
|
|
26626
|
+
var s = seconds || 0;
|
|
26627
|
+
var ms = milliseconds || 0;
|
|
26628
|
+
|
|
26629
|
+
if (zone) {
|
|
26630
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
|
26631
|
+
}
|
|
26632
|
+
|
|
26633
|
+
if (utc) {
|
|
26634
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
|
26635
|
+
}
|
|
26636
|
+
|
|
26637
|
+
return new Date(y, M, d, h, m, s, ms);
|
|
26638
|
+
} catch (e) {
|
|
26639
|
+
return new Date(''); // Invalid Date
|
|
26640
|
+
}
|
|
26641
|
+
};
|
|
26642
|
+
|
|
26643
|
+
var customParseFormat = (function (o, C, d) {
|
|
26644
|
+
d.p.customParseFormat = true;
|
|
26645
|
+
|
|
26646
|
+
if (o && o.parseTwoDigitYear) {
|
|
26647
|
+
parseTwoDigitYear = o.parseTwoDigitYear;
|
|
26648
|
+
}
|
|
26649
|
+
|
|
26650
|
+
var proto = C.prototype;
|
|
26651
|
+
var oldParse = proto.parse;
|
|
26652
|
+
|
|
26653
|
+
proto.parse = function (cfg) {
|
|
26654
|
+
var date = cfg.date,
|
|
26655
|
+
utc = cfg.utc,
|
|
26656
|
+
args = cfg.args;
|
|
26657
|
+
this.$u = utc;
|
|
26658
|
+
var format = args[1];
|
|
26659
|
+
|
|
26660
|
+
if (typeof format === 'string') {
|
|
26661
|
+
var isStrictWithoutLocale = args[2] === true;
|
|
26662
|
+
var isStrictWithLocale = args[3] === true;
|
|
26663
|
+
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
|
26664
|
+
var pl = args[2];
|
|
26665
|
+
|
|
26666
|
+
if (isStrictWithLocale) {
|
|
26667
|
+
pl = args[2];
|
|
26668
|
+
}
|
|
26669
|
+
|
|
26670
|
+
locale = this.$locale();
|
|
26671
|
+
|
|
26672
|
+
if (!isStrictWithoutLocale && pl) {
|
|
26673
|
+
locale = d.Ls[pl];
|
|
26674
|
+
}
|
|
26675
|
+
|
|
26676
|
+
this.$d = parseFormattedInput(date, format, utc);
|
|
26677
|
+
this.init();
|
|
26678
|
+
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
|
26679
|
+
// input number 1410715640579 and format string '1410715640579' equal
|
|
26680
|
+
// eslint-disable-next-line eqeqeq
|
|
26681
|
+
|
|
26682
|
+
if (isStrict && date != this.format(format)) {
|
|
26683
|
+
this.$d = new Date('');
|
|
26684
|
+
} // reset global locale to make parallel unit test
|
|
26685
|
+
|
|
26686
|
+
|
|
26687
|
+
locale = {};
|
|
26688
|
+
} else if (format instanceof Array) {
|
|
26689
|
+
var len = format.length;
|
|
26690
|
+
|
|
26691
|
+
for (var i = 1; i <= len; i += 1) {
|
|
26692
|
+
args[1] = format[i - 1];
|
|
26693
|
+
var result = d.apply(this, args);
|
|
26694
|
+
|
|
26695
|
+
if (result.isValid()) {
|
|
26696
|
+
this.$d = result.$d;
|
|
26697
|
+
this.$L = result.$L;
|
|
26698
|
+
this.init();
|
|
26699
|
+
break;
|
|
26700
|
+
}
|
|
26701
|
+
|
|
26702
|
+
if (i === len) this.$d = new Date('');
|
|
26703
|
+
}
|
|
26704
|
+
} else {
|
|
26705
|
+
oldParse.call(this, cfg);
|
|
26706
|
+
}
|
|
26707
|
+
};
|
|
26708
|
+
});
|
|
26709
|
+
|
|
26710
|
+
var localeData = (function (o, c, dayjs) {
|
|
26711
|
+
// locale needed later
|
|
26712
|
+
var proto = c.prototype;
|
|
26713
|
+
|
|
26714
|
+
var getLocalePart = function getLocalePart(part) {
|
|
26715
|
+
return part && (part.indexOf ? part : part.s);
|
|
26716
|
+
};
|
|
26717
|
+
|
|
26718
|
+
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
|
26719
|
+
var locale = ins.name ? ins : ins.$locale();
|
|
26720
|
+
var targetLocale = getLocalePart(locale[target]);
|
|
26721
|
+
var fullLocale = getLocalePart(locale[full]);
|
|
26722
|
+
var result = targetLocale || fullLocale.map(function (f) {
|
|
26723
|
+
return f.slice(0, num);
|
|
26724
|
+
});
|
|
26725
|
+
if (!localeOrder) return result;
|
|
26726
|
+
var weekStart = locale.weekStart;
|
|
26727
|
+
return result.map(function (_, index) {
|
|
26728
|
+
return result[(index + (weekStart || 0)) % 7];
|
|
26729
|
+
});
|
|
26730
|
+
};
|
|
26731
|
+
|
|
26732
|
+
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
|
26733
|
+
return dayjs.Ls[dayjs.locale()];
|
|
26734
|
+
};
|
|
26735
|
+
|
|
26736
|
+
var getLongDateFormat = function getLongDateFormat(l, format) {
|
|
26737
|
+
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
|
26738
|
+
};
|
|
26739
|
+
|
|
26740
|
+
var localeData = function localeData() {
|
|
26741
|
+
var _this = this;
|
|
26742
|
+
|
|
26743
|
+
return {
|
|
26744
|
+
months: function months(instance) {
|
|
26745
|
+
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
|
26746
|
+
},
|
|
26747
|
+
monthsShort: function monthsShort(instance) {
|
|
26748
|
+
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
|
26749
|
+
},
|
|
26750
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
|
26751
|
+
return _this.$locale().weekStart || 0;
|
|
26752
|
+
},
|
|
26753
|
+
weekdays: function weekdays(instance) {
|
|
26754
|
+
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
|
26755
|
+
},
|
|
26756
|
+
weekdaysMin: function weekdaysMin(instance) {
|
|
26757
|
+
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
|
26758
|
+
},
|
|
26759
|
+
weekdaysShort: function weekdaysShort(instance) {
|
|
26760
|
+
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
|
26761
|
+
},
|
|
26762
|
+
longDateFormat: function longDateFormat(format) {
|
|
26763
|
+
return getLongDateFormat(_this.$locale(), format);
|
|
26764
|
+
},
|
|
26765
|
+
meridiem: this.$locale().meridiem,
|
|
26766
|
+
ordinal: this.$locale().ordinal
|
|
26767
|
+
};
|
|
26768
|
+
};
|
|
26769
|
+
|
|
26770
|
+
proto.localeData = function () {
|
|
26771
|
+
return localeData.bind(this)();
|
|
26772
|
+
};
|
|
26773
|
+
|
|
26774
|
+
dayjs.localeData = function () {
|
|
26775
|
+
var localeObject = getDayjsLocaleObject();
|
|
26776
|
+
return {
|
|
26777
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
|
26778
|
+
return localeObject.weekStart || 0;
|
|
26779
|
+
},
|
|
26780
|
+
weekdays: function weekdays() {
|
|
26781
|
+
return dayjs.weekdays();
|
|
26782
|
+
},
|
|
26783
|
+
weekdaysShort: function weekdaysShort() {
|
|
26784
|
+
return dayjs.weekdaysShort();
|
|
26785
|
+
},
|
|
26786
|
+
weekdaysMin: function weekdaysMin() {
|
|
26787
|
+
return dayjs.weekdaysMin();
|
|
26788
|
+
},
|
|
26789
|
+
months: function months() {
|
|
26790
|
+
return dayjs.months();
|
|
26791
|
+
},
|
|
26792
|
+
monthsShort: function monthsShort() {
|
|
26793
|
+
return dayjs.monthsShort();
|
|
26794
|
+
},
|
|
26795
|
+
longDateFormat: function longDateFormat(format) {
|
|
26796
|
+
return getLongDateFormat(localeObject, format);
|
|
26797
|
+
},
|
|
26798
|
+
meridiem: localeObject.meridiem,
|
|
26799
|
+
ordinal: localeObject.ordinal
|
|
26800
|
+
};
|
|
26801
|
+
};
|
|
26802
|
+
|
|
26803
|
+
dayjs.months = function () {
|
|
26804
|
+
return getShort(getDayjsLocaleObject(), 'months');
|
|
26805
|
+
};
|
|
26806
|
+
|
|
26807
|
+
dayjs.monthsShort = function () {
|
|
26808
|
+
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
|
26809
|
+
};
|
|
26810
|
+
|
|
26811
|
+
dayjs.weekdays = function (localeOrder) {
|
|
26812
|
+
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
|
26813
|
+
};
|
|
26814
|
+
|
|
26815
|
+
dayjs.weekdaysShort = function (localeOrder) {
|
|
26816
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
|
26817
|
+
};
|
|
26818
|
+
|
|
26819
|
+
dayjs.weekdaysMin = function (localeOrder) {
|
|
26820
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
|
26821
|
+
};
|
|
26822
|
+
});
|
|
26823
|
+
|
|
26824
|
+
var localizedFormat = (function (o, c, d) {
|
|
26825
|
+
var proto = c.prototype;
|
|
26826
|
+
var oldFormat = proto.format;
|
|
26827
|
+
d.en.formats = englishFormats;
|
|
26828
|
+
|
|
26829
|
+
proto.format = function (formatStr) {
|
|
26830
|
+
if (formatStr === void 0) {
|
|
26831
|
+
formatStr = FORMAT_DEFAULT;
|
|
26832
|
+
}
|
|
26833
|
+
|
|
26834
|
+
var _this$$locale = this.$locale(),
|
|
26835
|
+
_this$$locale$formats = _this$$locale.formats,
|
|
26836
|
+
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
|
26837
|
+
|
|
26838
|
+
var result = u(formatStr, formats);
|
|
26839
|
+
return oldFormat.call(this, result);
|
|
26840
|
+
};
|
|
26841
|
+
});
|
|
26842
|
+
|
|
26843
|
+
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
|
26844
|
+
var preParsePostFormat = (function (option, dayjsClass) {
|
|
26845
|
+
var oldParse = dayjsClass.prototype.parse;
|
|
26846
|
+
|
|
26847
|
+
dayjsClass.prototype.parse = function (cfg) {
|
|
26848
|
+
if (typeof cfg.date === 'string') {
|
|
26849
|
+
var locale = this.$locale();
|
|
26850
|
+
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
|
26851
|
+
} // original parse result
|
|
26852
|
+
|
|
26853
|
+
|
|
26854
|
+
return oldParse.bind(this)(cfg);
|
|
26855
|
+
}; // // overriding existing API
|
|
26856
|
+
// // e.g. extend dayjs().format()
|
|
26857
|
+
|
|
26858
|
+
|
|
26859
|
+
var oldFormat = dayjsClass.prototype.format;
|
|
26860
|
+
|
|
26861
|
+
dayjsClass.prototype.format = function () {
|
|
26862
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
26863
|
+
args[_key] = arguments[_key];
|
|
26864
|
+
}
|
|
26865
|
+
|
|
26866
|
+
// original format result
|
|
26867
|
+
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
|
26868
|
+
|
|
26869
|
+
var locale = this.$locale();
|
|
26870
|
+
return locale && locale.postformat ? locale.postformat(result) : result;
|
|
26871
|
+
};
|
|
26872
|
+
|
|
26873
|
+
var oldFromTo = dayjsClass.prototype.fromToBase;
|
|
26874
|
+
|
|
26875
|
+
if (oldFromTo) {
|
|
26876
|
+
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
|
26877
|
+
var locale = this.$locale() || instance.$locale(); // original format result
|
|
26878
|
+
|
|
26879
|
+
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
|
26880
|
+
};
|
|
26881
|
+
}
|
|
26882
|
+
});
|
|
26883
|
+
|
|
26884
|
+
var updateLocale = (function (option, Dayjs, dayjs) {
|
|
26885
|
+
dayjs.updateLocale = function (locale, customConfig) {
|
|
26886
|
+
var localeList = dayjs.Ls;
|
|
26887
|
+
var localeConfig = localeList[locale];
|
|
26888
|
+
if (!localeConfig) return;
|
|
26889
|
+
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
|
26890
|
+
customConfigKeys.forEach(function (c) {
|
|
26891
|
+
localeConfig[c] = customConfig[c];
|
|
26892
|
+
});
|
|
26893
|
+
return localeConfig; // eslint-disable-line consistent-return
|
|
26894
|
+
};
|
|
26895
|
+
});
|
|
26896
|
+
|
|
25345
26897
|
const inputTimePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-input-time-picker:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-input-time-picker{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-time-picker{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-time-picker{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-time-picker{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-input-time-picker{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-input-time-picker{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-time-picker{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-time-picker:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-input-time-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-input-time-picker-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-time-picker-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-input-time-picker-h *.sc-calcite-input-time-picker,.sc-calcite-input-time-picker-h[disabled] .sc-calcite-input-time-picker-s>*{pointer-events:none}/*!@:host*/.sc-calcite-input-time-picker-h{display:inline-block;-webkit-user-select:none;user-select:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-time-picker-h[disabled] .sc-calcite-input-time-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-time-picker-h [calcite-hydrated][disabled].sc-calcite-input-time-picker{opacity:1}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-time-picker-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}/*!@:host([scale=s])*/[scale=s].sc-calcite-input-time-picker-h{--calcite-toggle-spacing:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-input-time-picker-h{--calcite-toggle-spacing:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-input-time-picker-h{--calcite-toggle-spacing:1rem}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-time-picker{position:relative}/*!@.toggle-icon*/.toggle-icon.sc-calcite-input-time-picker{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";
|
|
25346
26898
|
|
|
26899
|
+
dayjs.extend(customParseFormat);
|
|
26900
|
+
dayjs.extend(localeData);
|
|
26901
|
+
dayjs.extend(localizedFormat);
|
|
26902
|
+
dayjs.extend(preParsePostFormat);
|
|
26903
|
+
dayjs.extend(updateLocale);
|
|
25347
26904
|
class InputTimePicker {
|
|
25348
26905
|
constructor(hostRef) {
|
|
25349
26906
|
registerInstance(this, hostRef);
|
|
@@ -25351,66 +26908,71 @@ class InputTimePicker {
|
|
|
25351
26908
|
this.focusOnOpen = false;
|
|
25352
26909
|
this.dialogId = `time-picker-dialog--${guid()}`;
|
|
25353
26910
|
/** whether the value of the input was changed as a result of user typing or not */
|
|
25354
|
-
this.
|
|
25355
|
-
this.previousValidValue = null;
|
|
26911
|
+
this.userChangedValue = false;
|
|
25356
26912
|
this.referenceElementId = `input-time-picker-${guid()}`;
|
|
25357
26913
|
//--------------------------------------------------------------------------
|
|
25358
26914
|
//
|
|
25359
26915
|
// Event Listeners
|
|
25360
26916
|
//
|
|
25361
26917
|
//--------------------------------------------------------------------------
|
|
25362
|
-
this.
|
|
25363
|
-
const
|
|
25364
|
-
const
|
|
25365
|
-
|
|
25366
|
-
|
|
25367
|
-
|
|
25368
|
-
|
|
25369
|
-
|
|
25370
|
-
|
|
25371
|
-
|
|
25372
|
-
|
|
25373
|
-
|
|
25374
|
-
locale,
|
|
25375
|
-
numberingSystem
|
|
26918
|
+
this.hostBlurHandler = () => {
|
|
26919
|
+
const inputValue = this.calciteInputEl.value;
|
|
26920
|
+
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
|
26921
|
+
if (!delocalizedInputValue) {
|
|
26922
|
+
this.setValue("");
|
|
26923
|
+
return;
|
|
26924
|
+
}
|
|
26925
|
+
if (delocalizedInputValue !== this.value) {
|
|
26926
|
+
this.setValue(delocalizedInputValue);
|
|
26927
|
+
}
|
|
26928
|
+
const localizedTimeString = localizeTimeString({
|
|
26929
|
+
value: this.value,
|
|
26930
|
+
locale: this.effectiveLocale,
|
|
26931
|
+
numberingSystem: this.numberingSystem,
|
|
26932
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
25376
26933
|
});
|
|
25377
|
-
|
|
25378
|
-
|
|
26934
|
+
if (localizedTimeString !== inputValue) {
|
|
26935
|
+
this.setInputValue(localizedTimeString);
|
|
26936
|
+
}
|
|
26937
|
+
this.deactivate();
|
|
25379
26938
|
};
|
|
25380
26939
|
this.calciteInternalInputFocusHandler = (event) => {
|
|
25381
26940
|
if (!this.readOnly) {
|
|
25382
26941
|
event.stopPropagation();
|
|
25383
26942
|
}
|
|
25384
26943
|
};
|
|
25385
|
-
this.
|
|
25386
|
-
const
|
|
25387
|
-
|
|
25388
|
-
|
|
25389
|
-
|
|
25390
|
-
|
|
25391
|
-
|
|
25392
|
-
|
|
25393
|
-
|
|
25394
|
-
|
|
25395
|
-
|
|
25396
|
-
|
|
25397
|
-
|
|
25398
|
-
|
|
25399
|
-
|
|
25400
|
-
|
|
25401
|
-
|
|
26944
|
+
this.calciteInternalInputInputHandler = (event) => {
|
|
26945
|
+
const { effectiveLocale: locale, numberingSystem } = this;
|
|
26946
|
+
if (numberingSystem && numberingSystem !== "latn") {
|
|
26947
|
+
const target = event.target;
|
|
26948
|
+
numberStringFormatter.numberFormatOptions = {
|
|
26949
|
+
locale,
|
|
26950
|
+
numberingSystem,
|
|
26951
|
+
useGrouping: false
|
|
26952
|
+
};
|
|
26953
|
+
const valueInNumberingSystem = numberStringFormatter
|
|
26954
|
+
.delocalize(target.value)
|
|
26955
|
+
.split("")
|
|
26956
|
+
.map((char) => numberKeys.includes(char)
|
|
26957
|
+
? numberStringFormatter.numberFormatter.format(Number(char))
|
|
26958
|
+
: char)
|
|
26959
|
+
.join("");
|
|
26960
|
+
this.setInputValue(valueInNumberingSystem);
|
|
26961
|
+
}
|
|
25402
26962
|
};
|
|
25403
26963
|
this.timePickerChangeHandler = (event) => {
|
|
25404
26964
|
event.stopPropagation();
|
|
25405
26965
|
const target = event.target;
|
|
25406
26966
|
const value = target.value;
|
|
25407
|
-
this.
|
|
26967
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
|
26968
|
+
this.setValue(toISOTimeString(value, includeSeconds));
|
|
26969
|
+
this.setInputValue(localizeTimeString({
|
|
26970
|
+
value,
|
|
26971
|
+
locale: this.effectiveLocale,
|
|
26972
|
+
numberingSystem: this.numberingSystem,
|
|
26973
|
+
includeSeconds
|
|
26974
|
+
}));
|
|
25408
26975
|
};
|
|
25409
|
-
// --------------------------------------------------------------------------
|
|
25410
|
-
//
|
|
25411
|
-
// Private Methods
|
|
25412
|
-
//
|
|
25413
|
-
// --------------------------------------------------------------------------
|
|
25414
26976
|
this.popoverCloseHandler = () => {
|
|
25415
26977
|
deactivateFocusTrap(this, {
|
|
25416
26978
|
onDeactivate: () => {
|
|
@@ -25439,6 +27001,20 @@ class InputTimePicker {
|
|
|
25439
27001
|
event.preventDefault();
|
|
25440
27002
|
this.calciteInputEl.setFocus();
|
|
25441
27003
|
}
|
|
27004
|
+
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
|
27005
|
+
return;
|
|
27006
|
+
}
|
|
27007
|
+
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
|
27008
|
+
this.setValue(newValue);
|
|
27009
|
+
const localizedTimeString = localizeTimeString({
|
|
27010
|
+
value: this.value,
|
|
27011
|
+
locale: this.effectiveLocale,
|
|
27012
|
+
numberingSystem: this.numberingSystem,
|
|
27013
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27014
|
+
});
|
|
27015
|
+
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
|
27016
|
+
this.setInputValue(localizedTimeString);
|
|
27017
|
+
}
|
|
25442
27018
|
}
|
|
25443
27019
|
else if (key === "ArrowDown") {
|
|
25444
27020
|
this.open = true;
|
|
@@ -25473,50 +27049,50 @@ class InputTimePicker {
|
|
|
25473
27049
|
}
|
|
25474
27050
|
this.calciteInputEl.value = newInputValue;
|
|
25475
27051
|
};
|
|
25476
|
-
|
|
25477
|
-
|
|
25478
|
-
|
|
25479
|
-
|
|
25480
|
-
|
|
25481
|
-
|
|
25482
|
-
|
|
25483
|
-
|
|
25484
|
-
|
|
25485
|
-
|
|
25486
|
-
|
|
25487
|
-
origin !== "external" &&
|
|
25488
|
-
((value !== this.previousValidValue && !value) ||
|
|
25489
|
-
!!(!this.previousValidValue && newValue) ||
|
|
25490
|
-
(newValue !== this.previousValidValue && newValue));
|
|
25491
|
-
if (value) {
|
|
25492
|
-
if (shouldEmit) {
|
|
25493
|
-
this.previousValidValue = newValue;
|
|
25494
|
-
}
|
|
25495
|
-
if (newValue && newValue !== this.value) {
|
|
25496
|
-
this.value = newValue;
|
|
25497
|
-
}
|
|
25498
|
-
this.localizedValue = newLocalizedValue;
|
|
25499
|
-
}
|
|
25500
|
-
else {
|
|
25501
|
-
this.value = value;
|
|
25502
|
-
this.localizedValue = null;
|
|
25503
|
-
}
|
|
25504
|
-
if (origin === "time-picker" || origin === "external") {
|
|
25505
|
-
this.setInputValue(newLocalizedValue);
|
|
27052
|
+
/**
|
|
27053
|
+
* Sets the value and emits a change event.
|
|
27054
|
+
* This is used to update the value as a result of user interaction.
|
|
27055
|
+
*
|
|
27056
|
+
* @param value
|
|
27057
|
+
*/
|
|
27058
|
+
this.setValue = (value) => {
|
|
27059
|
+
const oldValue = this.value;
|
|
27060
|
+
const newValue = formatTimeString(value) || "";
|
|
27061
|
+
if (newValue === oldValue) {
|
|
27062
|
+
return;
|
|
25506
27063
|
}
|
|
25507
|
-
|
|
25508
|
-
|
|
25509
|
-
|
|
25510
|
-
|
|
25511
|
-
|
|
25512
|
-
|
|
25513
|
-
|
|
25514
|
-
|
|
25515
|
-
|
|
25516
|
-
this.
|
|
25517
|
-
|
|
27064
|
+
this.userChangedValue = true;
|
|
27065
|
+
this.value = newValue || "";
|
|
27066
|
+
const changeEvent = this.calciteInputTimePickerChange.emit();
|
|
27067
|
+
if (changeEvent.defaultPrevented) {
|
|
27068
|
+
this.userChangedValue = false;
|
|
27069
|
+
this.value = oldValue;
|
|
27070
|
+
this.setInputValue(localizeTimeString({
|
|
27071
|
+
value: oldValue,
|
|
27072
|
+
locale: this.effectiveLocale,
|
|
27073
|
+
numberingSystem: this.numberingSystem,
|
|
27074
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27075
|
+
}));
|
|
25518
27076
|
}
|
|
25519
27077
|
};
|
|
27078
|
+
/**
|
|
27079
|
+
* Sets the value directly without emitting a change event.
|
|
27080
|
+
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
|
27081
|
+
*
|
|
27082
|
+
* @param value
|
|
27083
|
+
*/
|
|
27084
|
+
this.setValueDirectly = (value) => {
|
|
27085
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
|
27086
|
+
this.value = toISOTimeString(value, includeSeconds);
|
|
27087
|
+
this.setInputValue(this.value
|
|
27088
|
+
? localizeTimeString({
|
|
27089
|
+
value: this.value,
|
|
27090
|
+
includeSeconds,
|
|
27091
|
+
locale: this.effectiveLocale,
|
|
27092
|
+
numberingSystem: this.numberingSystem
|
|
27093
|
+
})
|
|
27094
|
+
: "");
|
|
27095
|
+
};
|
|
25520
27096
|
this.onInputWrapperClick = () => {
|
|
25521
27097
|
this.open = !this.open;
|
|
25522
27098
|
};
|
|
@@ -25540,7 +27116,6 @@ class InputTimePicker {
|
|
|
25540
27116
|
this.value = null;
|
|
25541
27117
|
this.defaultMessages = undefined;
|
|
25542
27118
|
this.effectiveLocale = "";
|
|
25543
|
-
this.localizedValue = undefined;
|
|
25544
27119
|
}
|
|
25545
27120
|
openHandler(value) {
|
|
25546
27121
|
if (this.disabled || this.readOnly) {
|
|
@@ -25565,16 +27140,31 @@ class InputTimePicker {
|
|
|
25565
27140
|
onMessagesChange() {
|
|
25566
27141
|
/* wired up by t9n util */
|
|
25567
27142
|
}
|
|
27143
|
+
numberingSystemWatcher(numberingSystem) {
|
|
27144
|
+
this.setInputValue(localizeTimeString({
|
|
27145
|
+
value: this.value,
|
|
27146
|
+
locale: this.effectiveLocale,
|
|
27147
|
+
numberingSystem,
|
|
27148
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27149
|
+
}));
|
|
27150
|
+
}
|
|
27151
|
+
stepWatcher(newStep, oldStep) {
|
|
27152
|
+
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
|
27153
|
+
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
|
27154
|
+
this.setValueDirectly(this.value);
|
|
27155
|
+
}
|
|
27156
|
+
}
|
|
25568
27157
|
valueWatcher(newValue) {
|
|
25569
|
-
if (!this.
|
|
25570
|
-
this.
|
|
27158
|
+
if (!this.userChangedValue) {
|
|
27159
|
+
this.setValueDirectly(newValue);
|
|
25571
27160
|
}
|
|
25572
|
-
this.
|
|
27161
|
+
this.userChangedValue = false;
|
|
25573
27162
|
}
|
|
25574
|
-
|
|
27163
|
+
async effectiveLocaleWatcher(locale) {
|
|
27164
|
+
await this.loadDateTimeLocaleData();
|
|
25575
27165
|
this.setInputValue(localizeTimeString({
|
|
25576
27166
|
value: this.value,
|
|
25577
|
-
locale
|
|
27167
|
+
locale,
|
|
25578
27168
|
numberingSystem: this.numberingSystem,
|
|
25579
27169
|
includeSeconds: this.shouldIncludeSeconds()
|
|
25580
27170
|
}));
|
|
@@ -25597,6 +27187,105 @@ class InputTimePicker {
|
|
|
25597
27187
|
async reposition(delayed = false) {
|
|
25598
27188
|
this.popoverEl?.reposition(delayed);
|
|
25599
27189
|
}
|
|
27190
|
+
// --------------------------------------------------------------------------
|
|
27191
|
+
//
|
|
27192
|
+
// Private Methods
|
|
27193
|
+
//
|
|
27194
|
+
// --------------------------------------------------------------------------
|
|
27195
|
+
delocalizeTimeString(value) {
|
|
27196
|
+
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
|
27197
|
+
dayjs.locale(this.effectiveLocale.toLowerCase());
|
|
27198
|
+
const dayjsParseResult = dayjs(value, ["LTS", "LT"]);
|
|
27199
|
+
if (dayjsParseResult.isValid()) {
|
|
27200
|
+
let unformattedTimeString = `${dayjsParseResult.get("hour")}:${dayjsParseResult.get("minute")}`;
|
|
27201
|
+
if (this.shouldIncludeSeconds()) {
|
|
27202
|
+
unformattedTimeString += `:${dayjsParseResult.get("seconds") || 0}`;
|
|
27203
|
+
}
|
|
27204
|
+
return formatTimeString(unformattedTimeString) || "";
|
|
27205
|
+
}
|
|
27206
|
+
return "";
|
|
27207
|
+
}
|
|
27208
|
+
async loadDateTimeLocaleData() {
|
|
27209
|
+
const { effectiveLocale } = this;
|
|
27210
|
+
if (effectiveLocale === "en" || effectiveLocale === "en-US") {
|
|
27211
|
+
return;
|
|
27212
|
+
}
|
|
27213
|
+
let dayjsLocale = effectiveLocale.toLowerCase();
|
|
27214
|
+
if (effectiveLocale === "pt-PT") {
|
|
27215
|
+
dayjsLocale = "pt";
|
|
27216
|
+
}
|
|
27217
|
+
if (effectiveLocale === "no") {
|
|
27218
|
+
dayjsLocale = "nb";
|
|
27219
|
+
}
|
|
27220
|
+
const { default: localeConfig } = await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(getAssetPath(`./assets/input-time-picker/nls/dayjs/locale/${dayjsLocale}.js`))); });
|
|
27221
|
+
dayjs.locale(localeConfig, null, true);
|
|
27222
|
+
dayjs.updateLocale(dayjsLocale, this.getExtendedLocaleConfig(dayjsLocale));
|
|
27223
|
+
}
|
|
27224
|
+
getExtendedLocaleConfig(locale) {
|
|
27225
|
+
if (locale === "ar") {
|
|
27226
|
+
return {
|
|
27227
|
+
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
|
27228
|
+
formats: {
|
|
27229
|
+
LT: "HH:mm A",
|
|
27230
|
+
LTS: "HH:mm:ss A",
|
|
27231
|
+
L: "DD/MM/YYYY",
|
|
27232
|
+
LL: "D MMMM YYYY",
|
|
27233
|
+
LLL: "D MMMM YYYY HH:mm A",
|
|
27234
|
+
LLLL: "dddd D MMMM YYYY HH:mm A"
|
|
27235
|
+
}
|
|
27236
|
+
};
|
|
27237
|
+
}
|
|
27238
|
+
if (locale === "en-au") {
|
|
27239
|
+
return {
|
|
27240
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am")
|
|
27241
|
+
};
|
|
27242
|
+
}
|
|
27243
|
+
if (locale === "en-ca") {
|
|
27244
|
+
return {
|
|
27245
|
+
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m.")
|
|
27246
|
+
};
|
|
27247
|
+
}
|
|
27248
|
+
if (locale === "el") {
|
|
27249
|
+
return {
|
|
27250
|
+
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ.")
|
|
27251
|
+
};
|
|
27252
|
+
}
|
|
27253
|
+
if (locale === "hi") {
|
|
27254
|
+
return {
|
|
27255
|
+
formats: {
|
|
27256
|
+
LT: "h:mm A",
|
|
27257
|
+
LTS: "h:mm:ss A",
|
|
27258
|
+
L: "DD/MM/YYYY",
|
|
27259
|
+
LL: "D MMMM YYYY",
|
|
27260
|
+
LLL: "D MMMM YYYY, h:mm A",
|
|
27261
|
+
LLLL: "dddd, D MMMM YYYY, h:mm A"
|
|
27262
|
+
},
|
|
27263
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am")
|
|
27264
|
+
};
|
|
27265
|
+
}
|
|
27266
|
+
if (locale === "ko") {
|
|
27267
|
+
return {
|
|
27268
|
+
meridiem: (hour) => (hour > 12 ? "오후" : "오전")
|
|
27269
|
+
};
|
|
27270
|
+
}
|
|
27271
|
+
if (locale === "zh-tw") {
|
|
27272
|
+
return {
|
|
27273
|
+
formats: {
|
|
27274
|
+
LT: "AHH:mm",
|
|
27275
|
+
LTS: "AHH:mm:ss"
|
|
27276
|
+
}
|
|
27277
|
+
};
|
|
27278
|
+
}
|
|
27279
|
+
if (locale === "zh-hk") {
|
|
27280
|
+
return {
|
|
27281
|
+
formats: {
|
|
27282
|
+
LT: "AHH:mm",
|
|
27283
|
+
LTS: "AHH:mm:ss"
|
|
27284
|
+
},
|
|
27285
|
+
meridiem: (hour) => (hour > 12 ? "下午" : "上午")
|
|
27286
|
+
};
|
|
27287
|
+
}
|
|
27288
|
+
}
|
|
25600
27289
|
onLabelClick() {
|
|
25601
27290
|
this.setFocus();
|
|
25602
27291
|
}
|
|
@@ -25610,8 +27299,22 @@ class InputTimePicker {
|
|
|
25610
27299
|
//--------------------------------------------------------------------------
|
|
25611
27300
|
connectedCallback() {
|
|
25612
27301
|
connectLocalized(this);
|
|
25613
|
-
|
|
25614
|
-
|
|
27302
|
+
let { effectiveLocale } = this;
|
|
27303
|
+
if (effectiveLocale === "en-US") {
|
|
27304
|
+
effectiveLocale = "en";
|
|
27305
|
+
}
|
|
27306
|
+
if (effectiveLocale === "pt-PT") {
|
|
27307
|
+
effectiveLocale = "pt";
|
|
27308
|
+
}
|
|
27309
|
+
if (effectiveLocale === "no") {
|
|
27310
|
+
effectiveLocale = "nb";
|
|
27311
|
+
}
|
|
27312
|
+
this.effectiveLocale = effectiveLocale;
|
|
27313
|
+
if (isValidTime(this.value)) {
|
|
27314
|
+
this.setValueDirectly(this.value);
|
|
27315
|
+
}
|
|
27316
|
+
else {
|
|
27317
|
+
this.value = undefined;
|
|
25615
27318
|
}
|
|
25616
27319
|
connectLabel(this);
|
|
25617
27320
|
connectForm(this);
|
|
@@ -25619,11 +27322,18 @@ class InputTimePicker {
|
|
|
25619
27322
|
}
|
|
25620
27323
|
async componentWillLoad() {
|
|
25621
27324
|
setUpLoadableComponent(this);
|
|
25622
|
-
await setUpMessages(this);
|
|
27325
|
+
await Promise.all([setUpMessages(this), this.loadDateTimeLocaleData()]);
|
|
25623
27326
|
}
|
|
25624
27327
|
componentDidLoad() {
|
|
25625
27328
|
setComponentLoaded(this);
|
|
25626
|
-
|
|
27329
|
+
if (isValidTime(this.value)) {
|
|
27330
|
+
this.setInputValue(localizeTimeString({
|
|
27331
|
+
value: this.value,
|
|
27332
|
+
locale: this.effectiveLocale,
|
|
27333
|
+
numberingSystem: this.numberingSystem,
|
|
27334
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
27335
|
+
}));
|
|
27336
|
+
}
|
|
25627
27337
|
}
|
|
25628
27338
|
disconnectedCallback() {
|
|
25629
27339
|
disconnectLabel(this);
|
|
@@ -25642,9 +27352,9 @@ class InputTimePicker {
|
|
|
25642
27352
|
// --------------------------------------------------------------------------
|
|
25643
27353
|
render() {
|
|
25644
27354
|
const { disabled, messages, readOnly, dialogId } = this;
|
|
25645
|
-
return (hAsync(Host, { onBlur: this.
|
|
27355
|
+
return (hAsync(Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
|
|
25646
27356
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25647
|
-
ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
27357
|
+
ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
25648
27358
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25649
27359
|
ref: this.setCalcitePopoverEl }, hAsync("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
|
|
25650
27360
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -25662,9 +27372,10 @@ class InputTimePicker {
|
|
|
25662
27372
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
25663
27373
|
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
25664
27374
|
"messageOverrides": ["onMessagesChange"],
|
|
27375
|
+
"numberingSystem": ["numberingSystemWatcher"],
|
|
27376
|
+
"step": ["stepWatcher"],
|
|
25665
27377
|
"value": ["valueWatcher"],
|
|
25666
|
-
"effectiveLocale": ["
|
|
25667
|
-
"step": ["valueRelatedPropChange"]
|
|
27378
|
+
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
25668
27379
|
}; }
|
|
25669
27380
|
static get style() { return inputTimePickerCss; }
|
|
25670
27381
|
static get cmpMeta() { return {
|
|
@@ -25688,7 +27399,6 @@ class InputTimePicker {
|
|
|
25688
27399
|
"value": [1025],
|
|
25689
27400
|
"defaultMessages": [32],
|
|
25690
27401
|
"effectiveLocale": [32],
|
|
25691
|
-
"localizedValue": [32],
|
|
25692
27402
|
"setFocus": [64],
|
|
25693
27403
|
"reposition": [64]
|
|
25694
27404
|
},
|
|
@@ -37332,8 +39042,11 @@ class TimePicker {
|
|
|
37332
39042
|
});
|
|
37333
39043
|
}
|
|
37334
39044
|
if (this.hour && this.minute) {
|
|
37335
|
-
|
|
37336
|
-
this.
|
|
39045
|
+
let newValue = `${this.hour}:${this.minute}`;
|
|
39046
|
+
if (this.showSecond) {
|
|
39047
|
+
newValue = `${newValue}:${this.second ?? "00"}`;
|
|
39048
|
+
}
|
|
39049
|
+
this.value = newValue;
|
|
37337
39050
|
}
|
|
37338
39051
|
else {
|
|
37339
39052
|
this.value = null;
|
|
@@ -39509,6 +41222,8 @@ registerComponents([
|
|
|
39509
41222
|
Block,
|
|
39510
41223
|
BlockSection,
|
|
39511
41224
|
Button,
|
|
41225
|
+
CalciteMenu,
|
|
41226
|
+
CalciteMenuItem,
|
|
39512
41227
|
Card,
|
|
39513
41228
|
Checkbox,
|
|
39514
41229
|
Chip,
|