@esri/calcite-components 1.7.0-next.2 → 1.7.0-next.21
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/icon/addLayerService16.json +1 -0
- package/dist/calcite/assets/icon/addLayerService24.json +1 -0
- package/dist/calcite/assets/icon/addLayerService32.json +1 -0
- package/dist/calcite/assets/icon/autoLayout16.json +1 -0
- package/dist/calcite/assets/icon/autoLayout24.json +1 -0
- package/dist/calcite/assets/icon/autoLayout32.json +1 -0
- package/dist/calcite/assets/icon/circleStop16.json +1 -0
- package/dist/calcite/assets/icon/circleStop16F.json +1 -0
- package/dist/calcite/assets/icon/circleStop24.json +1 -0
- package/dist/calcite/assets/icon/circleStop24F.json +1 -0
- package/dist/calcite/assets/icon/circleStop32.json +1 -0
- package/dist/calcite/assets/icon/circleStop32F.json +1 -0
- package/dist/calcite/assets/icon/cursorMinus16.json +1 -0
- package/dist/calcite/assets/icon/cursorMinus24.json +1 -0
- package/dist/calcite/assets/icon/cursorMinus32.json +1 -0
- package/dist/calcite/assets/icon/curve16.json +1 -0
- package/dist/calcite/assets/icon/curve24.json +1 -0
- package/dist/calcite/assets/icon/curve32.json +1 -0
- package/dist/calcite/assets/icon/derivedValue16.json +1 -0
- package/dist/calcite/assets/icon/derivedValue24.json +1 -0
- package/dist/calcite/assets/icon/derivedValue32.json +1 -0
- package/dist/calcite/assets/icon/editGeometry16.json +1 -0
- package/dist/calcite/assets/icon/editGeometry24.json +1 -0
- package/dist/calcite/assets/icon/editGeometry32.json +1 -0
- package/dist/calcite/assets/icon/enableDisableFeatureSelection16.json +1 -0
- package/dist/calcite/assets/icon/enableDisableFeatureSelection24.json +1 -0
- package/dist/calcite/assets/icon/enableDisableFeatureSelection32.json +1 -0
- package/dist/calcite/assets/icon/extendTrim16.json +1 -0
- package/dist/calcite/assets/icon/extendTrim24.json +1 -0
- package/dist/calcite/assets/icon/extendTrim32.json +1 -0
- package/dist/calcite/assets/icon/hideDerivedValue16.json +1 -0
- package/dist/calcite/assets/icon/hideDerivedValue24.json +1 -0
- package/dist/calcite/assets/icon/hideDerivedValue32.json +1 -0
- package/dist/calcite/assets/icon/hideLayers16.json +1 -0
- package/dist/calcite/assets/icon/hideLayers24.json +1 -0
- package/dist/calcite/assets/icon/hideLayers32.json +1 -0
- package/dist/calcite/assets/icon/hideParameters16.json +1 -0
- package/dist/calcite/assets/icon/hideParameters24.json +1 -0
- package/dist/calcite/assets/icon/hideParameters32.json +1 -0
- package/dist/calcite/assets/icon/layerSettings16.json +1 -0
- package/dist/calcite/assets/icon/layerSettings24.json +1 -0
- package/dist/calcite/assets/icon/layerSettings32.json +1 -0
- package/dist/calcite/assets/icon/mapLevelSettings16.json +1 -0
- package/dist/calcite/assets/icon/mapLevelSettings24.json +1 -0
- package/dist/calcite/assets/icon/mapLevelSettings32.json +1 -0
- package/dist/calcite/assets/icon/minusSquare16F.json +1 -1
- package/dist/calcite/assets/icon/minusSquare32F.json +1 -1
- package/dist/calcite/assets/icon/model16.json +1 -0
- package/dist/calcite/assets/icon/model24.json +1 -0
- package/dist/calcite/assets/icon/model32.json +1 -0
- package/dist/calcite/assets/icon/newModel16.json +1 -0
- package/dist/calcite/assets/icon/newModel24.json +1 -0
- package/dist/calcite/assets/icon/newModel32.json +1 -0
- package/dist/calcite/assets/icon/pointLine16.json +1 -0
- package/dist/calcite/assets/icon/pointLine24.json +1 -0
- package/dist/calcite/assets/icon/pointLine32.json +1 -0
- package/dist/calcite/assets/icon/rightAngle16.json +1 -0
- package/dist/calcite/assets/icon/rightAngle24.json +1 -0
- package/dist/calcite/assets/icon/rightAngle32.json +1 -0
- package/dist/calcite/assets/icon/selectionSet16.json +1 -0
- package/dist/calcite/assets/icon/selectionSet24.json +1 -0
- package/dist/calcite/assets/icon/selectionSet32.json +1 -0
- package/dist/calcite/assets/icon/showAllParameters16.json +1 -0
- package/dist/calcite/assets/icon/showAllParameters24.json +1 -0
- package/dist/calcite/assets/icon/showAllParameters32.json +1 -0
- package/dist/calcite/assets/icon/showDerivedValue16.json +1 -0
- package/dist/calcite/assets/icon/showDerivedValue24.json +1 -0
- package/dist/calcite/assets/icon/showDerivedValue32.json +1 -0
- package/dist/calcite/assets/icon/showRequiredParameters16.json +1 -0
- package/dist/calcite/assets/icon/showRequiredParameters24.json +1 -0
- package/dist/calcite/assets/icon/showRequiredParameters32.json +1 -0
- package/dist/calcite/assets/icon/splitGeometry16.json +1 -0
- package/dist/calcite/assets/icon/splitGeometry24.json +1 -0
- package/dist/calcite/assets/icon/splitGeometry32.json +1 -0
- package/dist/calcite/assets/icon/stop16.json +1 -0
- package/dist/calcite/assets/icon/stop24.json +1 -0
- package/dist/calcite/assets/icon/stop32.json +1 -0
- package/dist/calcite/assets/icon/stopSquare16.json +1 -0
- package/dist/calcite/assets/icon/stopSquare16F.json +1 -0
- package/dist/calcite/assets/icon/stopSquare24.json +1 -0
- package/dist/calcite/assets/icon/stopSquare24F.json +1 -0
- package/dist/calcite/assets/icon/stopSquare32.json +1 -0
- package/dist/calcite/assets/icon/stopSquare32F.json +1 -0
- package/dist/calcite/assets/icon/stretch16.json +1 -0
- package/dist/calcite/assets/icon/stretch24.json +1 -0
- package/dist/calcite/assets/icon/stretch32.json +1 -0
- package/dist/calcite/assets/icon/temporary16.json +1 -0
- package/dist/calcite/assets/icon/temporary24.json +1 -0
- package/dist/calcite/assets/icon/temporary32.json +1 -0
- package/dist/calcite/assets/icon/trace16.json +1 -0
- package/dist/calcite/assets/icon/trace24.json +1 -0
- package/dist/calcite/assets/icon/trace32.json +1 -0
- package/dist/calcite/assets/icon/userCalendar16.json +1 -0
- package/dist/calcite/assets/icon/userCalendar24.json +1 -0
- package/dist/calcite/assets/icon/userCalendar32.json +1 -0
- package/dist/calcite/assets/table/t9n/index.d.ts +7 -0
- package/dist/calcite/assets/table/t9n/messages.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_ar.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_bg.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_bs.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_ca.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_cs.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_da.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_de.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_el.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_en.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_es.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_et.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_fi.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_fr.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_he.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_hr.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_hu.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_id.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_it.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_ja.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_ko.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_lt.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_lv.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_nl.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_no.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_pl.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_pt-BR.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_pt-PT.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_ro.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_ru.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_sk.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_sl.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_sr.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_sv.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_th.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_tr.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_uk.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_vi.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_zh-CN.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_zh-HK.json +7 -0
- package/dist/calcite/assets/table/t9n/messages_zh-TW.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/index.d.ts +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_ar.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_bg.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_bs.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_ca.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_cs.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_da.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_de.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_el.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_en.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_es.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_et.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_fi.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_fr.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_he.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_hr.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_hu.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_id.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_it.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_ja.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_ko.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_lt.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_lv.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_nl.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_no.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_pl.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_pt-BR.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_pt-PT.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_ro.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_ru.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_sk.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_sl.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_sr.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_sv.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_th.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_tr.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_uk.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_vi.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_zh-CN.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_zh-HK.json +7 -0
- package/dist/calcite/assets/table-cell/t9n/messages_zh-TW.json +7 -0
- package/dist/calcite/assets/table-header/t9n/index.d.ts +8 -0
- package/dist/calcite/assets/table-header/t9n/messages.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_ar.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_bg.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_bs.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_ca.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_cs.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_da.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_de.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_el.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_en.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_es.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_et.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_fi.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_fr.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_he.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_hr.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_hu.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_id.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_it.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_ja.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_ko.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_lt.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_lv.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_nl.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_no.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_pl.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_pt-BR.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_pt-PT.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_ro.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_ru.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_sk.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_sl.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_sr.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_sv.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_th.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_tr.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_uk.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_vi.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_zh-CN.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_zh-HK.json +8 -0
- package/dist/calcite/assets/table-header/t9n/messages_zh-TW.json +8 -0
- package/dist/calcite/assets/time-picker/t9n/index.d.ts +3 -0
- package/dist/calcite/assets/time-picker/t9n/messages.json +3 -0
- package/dist/calcite/assets/time-picker/t9n/messages_en.json +3 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/p-011025ae.entry.js +6 -0
- package/dist/calcite/p-028ae8bf.js +6 -0
- package/dist/calcite/p-0500a7ac.js +6 -0
- package/dist/calcite/p-0527a06c.entry.js +6 -0
- package/dist/calcite/p-09d379f5.entry.js +6 -0
- package/dist/calcite/p-0a1ad307.js +6 -0
- package/dist/calcite/p-0cddc4be.js +12 -0
- package/dist/calcite/p-12e69a07.js +6 -0
- package/dist/calcite/p-130ba779.entry.js +6 -0
- package/dist/calcite/p-1831fc1a.entry.js +6 -0
- package/dist/calcite/p-1b0c826d.entry.js +6 -0
- package/dist/calcite/p-1bbb977c.js +6 -0
- package/dist/calcite/p-1eb72a24.js +6 -0
- package/dist/calcite/p-1f86c0fe.entry.js +6 -0
- package/dist/calcite/p-22be1547.js +6 -0
- package/dist/calcite/p-23487ad6.entry.js +6 -0
- package/dist/calcite/p-255da04e.js +6 -0
- package/dist/calcite/p-2990a3cc.js +6 -0
- package/dist/calcite/p-3021d942.entry.js +6 -0
- package/dist/calcite/p-308a1769.js +6 -0
- package/dist/calcite/p-33d2551c.js +6 -0
- package/dist/calcite/p-36c96d39.js +6 -0
- package/dist/calcite/p-378a9308.js +6 -0
- package/dist/calcite/p-3a973327.js +6 -0
- package/dist/calcite/p-3ab46d79.js +6 -0
- package/dist/calcite/p-3b77ee90.js +6 -0
- package/dist/calcite/p-3c3665e3.js +6 -0
- package/dist/calcite/p-3d127a13.entry.js +6 -0
- package/dist/calcite/p-3d3169e4.js +6 -0
- package/dist/calcite/p-3dab978b.js +6 -0
- package/dist/calcite/p-3f8bc381.js +6 -0
- package/dist/calcite/p-405dc46f.js +6 -0
- package/dist/calcite/p-4586552d.entry.js +6 -0
- package/dist/calcite/p-464747ce.js +6 -0
- package/dist/calcite/p-46484ee0.entry.js +6 -0
- package/dist/calcite/p-46632623.entry.js +6 -0
- package/dist/calcite/p-469648bf.js +6 -0
- package/dist/calcite/p-470268ee.entry.js +6 -0
- package/dist/calcite/p-4aa879c6.entry.js +6 -0
- package/dist/calcite/p-4cc47157.js +6 -0
- package/dist/calcite/p-4dfc2dff.entry.js +6 -0
- package/dist/calcite/p-4febc02e.entry.js +6 -0
- package/dist/calcite/p-52ab0aff.js +6 -0
- package/dist/calcite/p-565a2220.js +6 -0
- package/dist/calcite/p-588c0384.js +6 -0
- package/dist/calcite/p-58d6c3c9.js +6 -0
- package/dist/calcite/p-5992ed37.js +6 -0
- package/dist/calcite/p-5b36529e.js +6 -0
- package/dist/calcite/p-5b5d09f4.js +11 -0
- package/dist/calcite/p-5ff3ddc6.js +6 -0
- package/dist/calcite/p-6294d063.js +6 -0
- package/dist/calcite/p-63592933.js +6 -0
- package/dist/calcite/p-64c5142c.js +6 -0
- package/dist/calcite/p-6512a67e.js +6 -0
- package/dist/calcite/p-666d66e6.js +6 -0
- package/dist/calcite/p-66d72196.entry.js +6 -0
- package/dist/calcite/p-68158aeb.js +6 -0
- package/dist/calcite/p-6e8b0895.js +6 -0
- package/dist/calcite/p-6f15ad91.entry.js +6 -0
- package/dist/calcite/p-72e7571a.js +6 -0
- package/dist/calcite/p-7376e4f4.entry.js +6 -0
- package/dist/calcite/p-73e148c1.js +6 -0
- package/dist/calcite/p-79540255.js +6 -0
- package/dist/calcite/p-7c030840.entry.js +6 -0
- package/dist/calcite/p-7d09984e.entry.js +6 -0
- package/dist/calcite/p-7e4808b7.js +6 -0
- package/dist/calcite/p-7e62deb9.entry.js +6 -0
- package/dist/calcite/p-7f3873b0.entry.js +6 -0
- package/dist/calcite/p-83fa8bbb.js +6 -0
- package/dist/calcite/p-854c663f.js +6 -0
- package/dist/calcite/p-85e177db.js +6 -0
- package/dist/calcite/p-89f02d66.js +6 -0
- package/dist/calcite/p-8a07d59c.entry.js +6 -0
- package/dist/calcite/p-8ac8fee0.js +6 -0
- package/dist/calcite/p-8e74e4e7.js +6 -0
- package/dist/calcite/p-904477ec.js +6 -0
- package/dist/calcite/p-915b370c.entry.js +6 -0
- package/dist/calcite/p-916e68b8.entry.js +6 -0
- package/dist/calcite/p-9198042b.entry.js +6 -0
- package/dist/calcite/p-91a6d06f.entry.js +6 -0
- package/dist/calcite/p-91ab8de0.js +6 -0
- package/dist/calcite/p-920c5976.entry.js +6 -0
- package/dist/calcite/p-925c946c.entry.js +6 -0
- package/dist/calcite/p-9268bef0.js +6 -0
- package/dist/calcite/p-934410ef.entry.js +6 -0
- package/dist/calcite/p-95e3c963.entry.js +6 -0
- package/dist/calcite/p-967fa5c9.entry.js +6 -0
- package/dist/calcite/p-973d9e3d.js +6 -0
- package/dist/calcite/p-985d9be4.js +6 -0
- package/dist/calcite/p-986c38c2.entry.js +6 -0
- package/dist/calcite/p-9c1586d8.entry.js +6 -0
- package/dist/calcite/p-9df6e42b.entry.js +6 -0
- package/dist/calcite/p-9e092894.entry.js +6 -0
- package/dist/calcite/p-9e0b74d8.entry.js +6 -0
- package/dist/calcite/p-a672b9fc.js +6 -0
- package/dist/calcite/p-a74607be.entry.js +6 -0
- package/dist/calcite/p-a8ceda3b.js +6 -0
- package/dist/calcite/p-a92e8597.entry.js +6 -0
- package/dist/calcite/p-ad60ca0f.js +6 -0
- package/dist/calcite/p-ad79ac66.js +6 -0
- package/dist/calcite/p-afa733a2.entry.js +6 -0
- package/dist/calcite/p-b5559226.entry.js +6 -0
- package/dist/calcite/p-b7414498.entry.js +6 -0
- package/dist/calcite/p-b7a170e4.js +6 -0
- package/dist/calcite/p-b7c44063.entry.js +6 -0
- package/dist/calcite/p-b95f38f5.js +6 -0
- package/dist/calcite/p-bf49751e.js +6 -0
- package/dist/calcite/p-bfd74693.js +6 -0
- package/dist/calcite/p-c1566164.entry.js +6 -0
- package/dist/calcite/p-c17c6f8e.js +6 -0
- package/dist/calcite/p-c2d50a83.js +6 -0
- package/dist/calcite/p-c585fa05.entry.js +6 -0
- package/dist/calcite/p-c60f9cf7.js +6 -0
- package/dist/calcite/p-c7526892.js +6 -0
- package/dist/calcite/p-c95dd89b.entry.js +6 -0
- package/dist/calcite/p-ca1f0a8e.js +6 -0
- package/dist/calcite/p-cccff9b8.js +6 -0
- package/dist/calcite/p-d01c62b1.js +6 -0
- package/dist/calcite/p-d097e3d3.js +6 -0
- package/dist/calcite/p-d09e8669.js +6 -0
- package/dist/calcite/p-d1dbc48b.entry.js +6 -0
- package/dist/calcite/p-d25ce876.entry.js +6 -0
- package/dist/calcite/p-d2b78598.entry.js +6 -0
- package/dist/calcite/p-d3c87784.entry.js +6 -0
- package/dist/calcite/p-d541ae42.entry.js +6 -0
- package/dist/calcite/p-d5551f6a.entry.js +6 -0
- package/dist/calcite/p-d5c8d216.entry.js +6 -0
- package/dist/calcite/p-d7a4565b.entry.js +6 -0
- package/dist/calcite/p-d9c017f2.js +6 -0
- package/dist/calcite/p-da03d507.entry.js +6 -0
- package/dist/calcite/p-daca558d.entry.js +6 -0
- package/dist/calcite/p-db508dc2.entry.js +6 -0
- package/dist/calcite/p-dbbec73f.js +6 -0
- package/dist/calcite/p-dc578ff9.entry.js +6 -0
- package/dist/calcite/p-dd3e98d4.entry.js +6 -0
- package/dist/calcite/p-dd7dac86.js +10 -0
- package/dist/calcite/p-ddc5c3e2.entry.js +6 -0
- package/dist/calcite/p-ddc6cf35.entry.js +6 -0
- package/dist/calcite/p-de315e22.js +6 -0
- package/dist/calcite/p-de6e3d34.js +6 -0
- package/dist/calcite/p-dffcfd15.js +6 -0
- package/dist/calcite/p-e1291ff6.js +6 -0
- package/dist/calcite/p-e4e2fe06.js +6 -0
- package/dist/calcite/p-e745fd29.entry.js +6 -0
- package/dist/calcite/p-e90639a9.js +6 -0
- package/dist/calcite/p-e9636b9e.entry.js +6 -0
- package/dist/calcite/p-eac401e6.js +6 -0
- package/dist/calcite/p-eaee8976.js +7 -0
- package/dist/calcite/p-f089ec72.entry.js +6 -0
- package/dist/calcite/p-f1490d0f.entry.js +6 -0
- package/dist/calcite/p-f2d30142.entry.js +6 -0
- package/dist/calcite/p-f417b518.js +6 -0
- package/dist/calcite/p-f4a76c51.entry.js +6 -0
- package/dist/calcite/p-f582bd63.js +6 -0
- package/dist/calcite/p-f8264bfd.entry.js +6 -0
- package/dist/calcite/p-fc0ff59c.entry.js +6 -0
- package/dist/cjs/ExpandToggle-b300f507.js +107 -0
- package/dist/cjs/FloatingArrow-2640bcdb.js +45 -0
- package/dist/cjs/Heading-6aecec3d.js +20 -0
- package/dist/cjs/app-globals-227e4860.js +59 -0
- package/dist/cjs/ar-a79f82fb.js +98 -0
- package/dist/cjs/array-77207e24.js +12 -0
- package/dist/cjs/bg-da79ecb8.js +79 -0
- package/dist/cjs/browser-c1005bdf.js +18 -0
- package/dist/cjs/bs-58536cc7.js +48 -0
- package/dist/cjs/ca-22035812.js +68 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +13 -9
- package/dist/cjs/calcite-action-bar.cjs.entry.js +18 -17
- package/dist/cjs/calcite-action-group.cjs.entry.js +16 -15
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +17 -16
- package/dist/cjs/calcite-action.cjs.entry.js +12 -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 +14 -13
- package/dist/cjs/calcite-button.cjs.entry.js +15 -14
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +34 -28
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +54 -49
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +14 -7
- package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -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 +13 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +65 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +26 -19
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -13
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-9cfbc3e1.js +2823 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +17 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -13
- package/dist/cjs/calcite-input.cjs.entry.js +14 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +8 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +34 -24
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +28 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +72 -78
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +50 -22
- package/dist/cjs/calcite-sheet.cjs.entry.js +229 -0
- package/dist/cjs/calcite-shell_3.cjs.entry.js +25 -12
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +15 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +35 -18
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -10
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +282 -0
- package/dist/cjs/calcite-table-row.cjs.entry.js +235 -0
- package/dist/cjs/calcite-table.cjs.entry.js +299 -0
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -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 +146 -106
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +23 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/conditionalSlot-6113a82c.js +58 -0
- package/dist/cjs/cs-6608c01c.js +144 -0
- package/dist/cjs/da-9bc2e0c2.js +63 -0
- package/dist/cjs/de-6f570904.js +88 -0
- package/dist/cjs/de-at-e503ea59.js +87 -0
- package/dist/cjs/de-ch-7bb2a234.js +87 -0
- package/dist/cjs/debounce-f0968b7d.js +496 -0
- package/dist/cjs/dom-11f55de1.js +1056 -0
- package/dist/cjs/el-f35f82c2.js +63 -0
- package/dist/cjs/en-au-e62ce9b6.js +63 -0
- package/dist/cjs/en-ca-3608ef27.js +62 -0
- package/dist/cjs/en-gb-d2d45498.js +66 -0
- package/dist/cjs/es-1583a7ea.js +63 -0
- package/dist/cjs/es-mx-b924efca.js +62 -0
- package/dist/cjs/et-fc9b87f7.js +89 -0
- package/dist/cjs/fi-d85601b2.js +112 -0
- package/dist/cjs/filter-7ba7e618.js +760 -0
- package/dist/cjs/floating-ui-cf60cff9.js +1883 -0
- package/dist/cjs/focusTrapComponent-4898ae0f.js +999 -0
- package/dist/cjs/form-b4605d58.js +283 -0
- package/dist/cjs/fr-8deba75f.js +65 -0
- package/dist/cjs/fr-ch-80e9099c.js +63 -0
- package/dist/cjs/guid-b02b4fb9.js +21 -0
- package/dist/cjs/he-4708edd0.js +102 -0
- package/dist/cjs/hi-bc7de2a1.js +62 -0
- package/dist/cjs/hr-3829c7ca.js +77 -0
- package/dist/cjs/hu-6793776c.js +85 -0
- package/dist/cjs/id-10bd50c1.js +63 -0
- package/dist/cjs/index-f069ceeb.js +2327 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/interactive-b0753ca2.js +142 -0
- package/dist/cjs/it-74421f61.js +63 -0
- package/dist/cjs/it-ch-f83000d6.js +63 -0
- package/dist/cjs/ja-c252ec01.js +69 -0
- package/dist/cjs/key-077d0b58.js +14 -0
- package/dist/cjs/ko-a82205f0.js +69 -0
- package/dist/cjs/label-b5a50c64.js +149 -0
- package/dist/cjs/loadable-e8d10de1.js +89 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-7b1e0816.js +594 -0
- package/dist/cjs/lt-65963d0c.js +94 -0
- package/dist/cjs/lv-0d37552d.js +63 -0
- package/dist/cjs/math-ef622ae3.js +55 -0
- package/dist/cjs/mk-a11f3991.js +63 -0
- package/dist/cjs/nb-033144ed.js +64 -0
- package/dist/cjs/nl-08af80d6.js +64 -0
- package/dist/cjs/observers-48bb741a.js +48 -0
- package/dist/cjs/openCloseComponent-ac67c1d3.js +84 -0
- package/dist/cjs/pl-42789e31.js +111 -0
- package/dist/cjs/pt-br-f0cae199.js +62 -0
- package/dist/cjs/pt-d1d6e404.js +64 -0
- package/dist/cjs/resources-06c52b70.js +15 -0
- package/dist/cjs/resources-2e9005e3.js +45 -0
- package/dist/cjs/resources-64efd93a.js +410 -0
- package/dist/cjs/resources-67de191e.js +24 -0
- package/dist/cjs/resources-9dda9976.js +22 -0
- package/dist/cjs/resources-c7f3311c.js +21 -0
- package/dist/cjs/resources-f4b8e837.js +27 -0
- package/dist/cjs/ro-b7aed857.js +63 -0
- package/dist/cjs/ru-9ce8a523.js +123 -0
- package/dist/cjs/sk-e11d72de.js +145 -0
- package/dist/cjs/sl-21f201ff.js +63 -0
- package/dist/cjs/sortableComponent-81bfece2.js +3102 -0
- package/dist/cjs/sr-c2723ffc.js +98 -0
- package/dist/cjs/sv-ac34e890.js +68 -0
- package/dist/cjs/t9n-f1dd12d6.js +95 -0
- package/dist/cjs/th-31cc8a1a.js +62 -0
- package/dist/cjs/throttle-3867815a.js +75 -0
- package/dist/cjs/tr-9f76d79d.js +63 -0
- package/dist/cjs/uk-6a2c82bb.js +101 -0
- package/dist/cjs/utils-17a5c58b.js +305 -0
- package/dist/cjs/utils-c0703fb0.js +216 -0
- package/dist/cjs/vi-f608ec34.js +67 -0
- package/dist/cjs/zh-cn-0ec86f65.js +91 -0
- package/dist/cjs/zh-hk-85f14d94.js +68 -0
- package/dist/cjs/zh-tw-c6854fb6.js +89 -0
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +4 -4
- package/dist/collection/components/accordion-item/resources.js +5 -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 +21 -3
- 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.css +11 -1
- package/dist/collection/components/action-group/action-group.js +22 -4
- package/dist/collection/components/action-group/resources.js +4 -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 +21 -3
- 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.css +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.css +8 -4
- package/dist/collection/components/combobox/combobox.js +13 -12
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +4 -1
- package/dist/collection/components/combobox-item/combobox-item.js +8 -7
- 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 +33 -25
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +46 -29
- package/dist/collection/components/dropdown-item/dropdown-item.js +62 -11
- package/dist/collection/components/dropdown-item/resources.js +2 -4
- 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 +41 -6
- 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/functional/XButton.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/assets/icon/addLayerService16.json +1 -0
- package/dist/collection/components/icon/assets/icon/addLayerService24.json +1 -0
- package/dist/collection/components/icon/assets/icon/addLayerService32.json +1 -0
- package/dist/collection/components/icon/assets/icon/autoLayout16.json +1 -0
- package/dist/collection/components/icon/assets/icon/autoLayout24.json +1 -0
- package/dist/collection/components/icon/assets/icon/autoLayout32.json +1 -0
- package/dist/collection/components/icon/assets/icon/circleStop16.json +1 -0
- package/dist/collection/components/icon/assets/icon/circleStop16F.json +1 -0
- package/dist/collection/components/icon/assets/icon/circleStop24.json +1 -0
- package/dist/collection/components/icon/assets/icon/circleStop24F.json +1 -0
- package/dist/collection/components/icon/assets/icon/circleStop32.json +1 -0
- package/dist/collection/components/icon/assets/icon/circleStop32F.json +1 -0
- package/dist/collection/components/icon/assets/icon/cursorMinus16.json +1 -0
- package/dist/collection/components/icon/assets/icon/cursorMinus24.json +1 -0
- package/dist/collection/components/icon/assets/icon/cursorMinus32.json +1 -0
- package/dist/collection/components/icon/assets/icon/curve16.json +1 -0
- package/dist/collection/components/icon/assets/icon/curve24.json +1 -0
- package/dist/collection/components/icon/assets/icon/curve32.json +1 -0
- package/dist/collection/components/icon/assets/icon/derivedValue16.json +1 -0
- package/dist/collection/components/icon/assets/icon/derivedValue24.json +1 -0
- package/dist/collection/components/icon/assets/icon/derivedValue32.json +1 -0
- package/dist/collection/components/icon/assets/icon/editGeometry16.json +1 -0
- package/dist/collection/components/icon/assets/icon/editGeometry24.json +1 -0
- package/dist/collection/components/icon/assets/icon/editGeometry32.json +1 -0
- package/dist/collection/components/icon/assets/icon/enableDisableFeatureSelection16.json +1 -0
- package/dist/collection/components/icon/assets/icon/enableDisableFeatureSelection24.json +1 -0
- package/dist/collection/components/icon/assets/icon/enableDisableFeatureSelection32.json +1 -0
- package/dist/collection/components/icon/assets/icon/extendTrim16.json +1 -0
- package/dist/collection/components/icon/assets/icon/extendTrim24.json +1 -0
- package/dist/collection/components/icon/assets/icon/extendTrim32.json +1 -0
- package/dist/collection/components/icon/assets/icon/hideDerivedValue16.json +1 -0
- package/dist/collection/components/icon/assets/icon/hideDerivedValue24.json +1 -0
- package/dist/collection/components/icon/assets/icon/hideDerivedValue32.json +1 -0
- package/dist/collection/components/icon/assets/icon/hideLayers16.json +1 -0
- package/dist/collection/components/icon/assets/icon/hideLayers24.json +1 -0
- package/dist/collection/components/icon/assets/icon/hideLayers32.json +1 -0
- package/dist/collection/components/icon/assets/icon/hideParameters16.json +1 -0
- package/dist/collection/components/icon/assets/icon/hideParameters24.json +1 -0
- package/dist/collection/components/icon/assets/icon/hideParameters32.json +1 -0
- package/dist/collection/components/icon/assets/icon/layerSettings16.json +1 -0
- package/dist/collection/components/icon/assets/icon/layerSettings24.json +1 -0
- package/dist/collection/components/icon/assets/icon/layerSettings32.json +1 -0
- package/dist/collection/components/icon/assets/icon/mapLevelSettings16.json +1 -0
- package/dist/collection/components/icon/assets/icon/mapLevelSettings24.json +1 -0
- package/dist/collection/components/icon/assets/icon/mapLevelSettings32.json +1 -0
- package/dist/collection/components/icon/assets/icon/minusSquare16F.json +1 -1
- package/dist/collection/components/icon/assets/icon/minusSquare32F.json +1 -1
- package/dist/collection/components/icon/assets/icon/model16.json +1 -0
- package/dist/collection/components/icon/assets/icon/model24.json +1 -0
- package/dist/collection/components/icon/assets/icon/model32.json +1 -0
- package/dist/collection/components/icon/assets/icon/newModel16.json +1 -0
- package/dist/collection/components/icon/assets/icon/newModel24.json +1 -0
- package/dist/collection/components/icon/assets/icon/newModel32.json +1 -0
- package/dist/collection/components/icon/assets/icon/pointLine16.json +1 -0
- package/dist/collection/components/icon/assets/icon/pointLine24.json +1 -0
- package/dist/collection/components/icon/assets/icon/pointLine32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rightAngle16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rightAngle24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rightAngle32.json +1 -0
- package/dist/collection/components/icon/assets/icon/selectionSet16.json +1 -0
- package/dist/collection/components/icon/assets/icon/selectionSet24.json +1 -0
- package/dist/collection/components/icon/assets/icon/selectionSet32.json +1 -0
- package/dist/collection/components/icon/assets/icon/showAllParameters16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showAllParameters24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showAllParameters32.json +1 -0
- package/dist/collection/components/icon/assets/icon/showDerivedValue16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showDerivedValue24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showDerivedValue32.json +1 -0
- package/dist/collection/components/icon/assets/icon/showRequiredParameters16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showRequiredParameters24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showRequiredParameters32.json +1 -0
- package/dist/collection/components/icon/assets/icon/splitGeometry16.json +1 -0
- package/dist/collection/components/icon/assets/icon/splitGeometry24.json +1 -0
- package/dist/collection/components/icon/assets/icon/splitGeometry32.json +1 -0
- package/dist/collection/components/icon/assets/icon/stop16.json +1 -0
- package/dist/collection/components/icon/assets/icon/stop24.json +1 -0
- package/dist/collection/components/icon/assets/icon/stop32.json +1 -0
- package/dist/collection/components/icon/assets/icon/stopSquare16.json +1 -0
- package/dist/collection/components/icon/assets/icon/stopSquare16F.json +1 -0
- package/dist/collection/components/icon/assets/icon/stopSquare24.json +1 -0
- package/dist/collection/components/icon/assets/icon/stopSquare24F.json +1 -0
- package/dist/collection/components/icon/assets/icon/stopSquare32.json +1 -0
- package/dist/collection/components/icon/assets/icon/stopSquare32F.json +1 -0
- package/dist/collection/components/icon/assets/icon/stretch16.json +1 -0
- package/dist/collection/components/icon/assets/icon/stretch24.json +1 -0
- package/dist/collection/components/icon/assets/icon/stretch32.json +1 -0
- package/dist/collection/components/icon/assets/icon/temporary16.json +1 -0
- package/dist/collection/components/icon/assets/icon/temporary24.json +1 -0
- package/dist/collection/components/icon/assets/icon/temporary32.json +1 -0
- package/dist/collection/components/icon/assets/icon/trace16.json +1 -0
- package/dist/collection/components/icon/assets/icon/trace24.json +1 -0
- package/dist/collection/components/icon/assets/icon/trace32.json +1 -0
- package/dist/collection/components/icon/assets/icon/userCalendar16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userCalendar24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userCalendar32.json +1 -0
- 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 +24 -5
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +30 -0
- 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 +31 -7
- 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/input-time-picker.js +129 -27
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.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 +37 -30
- 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.css +28 -26
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +16 -2
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/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.css +1 -2
- package/dist/collection/components/rating/rating.js +60 -68
- 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 +55 -27
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +92 -6
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/interfaces.js +1 -0
- package/dist/collection/components/sheet/resources.js +12 -0
- package/dist/collection/components/sheet/sheet.css +248 -0
- package/dist/collection/components/sheet/sheet.js +582 -0
- package/dist/collection/components/shell/resources.js +2 -1
- package/dist/collection/components/shell/shell.js +17 -3
- 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 +14 -8
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +6 -3
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +54 -25
- package/dist/collection/components/stepper-item/stepper-item.js +57 -62
- 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/table/assets/table/t9n/index.d.ts +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_ar.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_bg.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_bs.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_ca.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_cs.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_da.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_de.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_el.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_en.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_es.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_et.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_fi.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_fr.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_he.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_hr.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_hu.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_id.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_it.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_ja.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_ko.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_lt.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_lv.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_nl.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_no.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_pl.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_pt-BR.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_pt-PT.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_ro.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_ru.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_sk.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_sl.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_sr.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_sv.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_th.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_tr.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_uk.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_vi.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_zh-CN.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_zh-HK.json +7 -0
- package/dist/collection/components/table/assets/table/t9n/messages_zh-TW.json +7 -0
- package/dist/collection/components/table/interfaces.js +1 -0
- package/dist/collection/components/table/resources.js +21 -0
- package/dist/collection/components/table/table.css +118 -0
- package/dist/collection/components/table/table.js +654 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/index.d.ts +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ar.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_bg.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_bs.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ca.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_cs.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_da.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_de.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_el.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_en.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_es.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_et.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_fi.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_fr.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_he.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_hr.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_hu.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_id.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_it.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ja.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ko.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_lt.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_lv.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_nl.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_no.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_pl.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_pt-BR.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_pt-PT.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ro.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ru.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sk.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sl.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sr.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sv.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_th.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_tr.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_uk.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_vi.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_zh-CN.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_zh-HK.json +7 -0
- package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_zh-TW.json +7 -0
- package/dist/collection/components/table-cell/resources.js +12 -0
- package/dist/collection/components/table-cell/table-cell.css +108 -0
- package/dist/collection/components/table-cell/table-cell.js +470 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/index.d.ts +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_ar.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_bg.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_bs.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_ca.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_cs.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_da.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_de.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_el.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_en.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_es.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_et.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_fi.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_fr.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_he.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_hr.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_hu.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_id.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_it.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_ja.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_ko.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_lt.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_lv.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_nl.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_no.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_pl.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_pt-BR.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_pt-PT.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_ro.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_ru.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_sk.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_sl.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_sr.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_sv.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_th.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_tr.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_uk.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_vi.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_zh-CN.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_zh-HK.json +8 -0
- package/dist/collection/components/table-header/assets/table-header/t9n/messages_zh-TW.json +8 -0
- package/dist/collection/components/table-header/resources.js +16 -0
- package/dist/collection/components/table-header/table-header.css +109 -0
- package/dist/collection/components/table-header/table-header.js +535 -0
- package/dist/collection/components/table-row/table-row.css +53 -0
- package/dist/collection/components/table-row/table-row.js +602 -0
- 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/assets/time-picker/t9n/index.d.ts +3 -0
- package/dist/collection/components/time-picker/assets/time-picker/t9n/messages.json +3 -0
- package/dist/collection/components/time-picker/assets/time-picker/t9n/messages_en.json +3 -0
- package/dist/collection/components/time-picker/resources.js +4 -1
- package/dist/collection/components/time-picker/time-picker.js +186 -76
- 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 +98 -75
- package/dist/collection/components/tree/utils.js +15 -14
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +35 -24
- 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 +14 -8
- 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/browser.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 +11 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +17 -2
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +2 -2
- 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/sortableComponent.js +26 -31
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +100 -21
- 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 +9 -4
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +7 -3
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +5 -3
- 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 +5 -3
- 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 +22 -17
- package/dist/components/calcite-dropdown-item.js +10 -26
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +12 -4
- 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 +48 -5
- 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 +128 -26
- package/dist/components/calcite-input-time-zone.js +1 -1
- 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 +21 -12
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +2 -2
- package/dist/components/calcite-modal.js +17 -3
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.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 +2 -238
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-rating.js +60 -68
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +15 -7
- package/dist/components/calcite-segmented-control.js +33 -11
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-sheet.d.ts +11 -0
- package/dist/components/calcite-sheet.js +269 -0
- 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 +17 -3
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +9 -3
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +9 -13
- package/dist/components/calcite-stepper.js +24 -3
- 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-table-cell.d.ts +11 -0
- package/dist/components/calcite-table-cell.js +11 -0
- package/dist/components/calcite-table-header.d.ts +11 -0
- package/dist/components/calcite-table-header.js +11 -0
- package/dist/components/calcite-table-row.d.ts +11 -0
- package/dist/components/calcite-table-row.js +281 -0
- package/dist/components/calcite-table.d.ts +11 -0
- package/dist/components/calcite-table.js +359 -0
- 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 +2 -2
- package/dist/components/calcite-tree-item.js +33 -24
- package/dist/components/calcite-tree.js +111 -81
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +9 -3
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/combobox-item.js +5 -4
- package/dist/components/combobox.js +11 -10
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +12 -2
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +11 -5
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.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 +2 -2
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.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/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +14 -7
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +2 -2
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +2 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +3 -3
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +18 -3
- package/dist/components/menu.js +2 -2
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +244 -0
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +12 -12
- package/dist/components/resources3.js +10 -6
- package/dist/components/resources4.js +15 -0
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +27 -33
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- package/dist/components/table-cell.js +172 -0
- package/dist/components/table-header.js +191 -0
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +285 -94
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +6 -3
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-b5e12cb2.js +99 -0
- package/dist/esm/FloatingArrow-60f775a1.js +43 -0
- package/dist/esm/Heading-93b1e7f2.js +17 -0
- package/dist/esm/app-globals-ee2ddfca.js +57 -0
- package/dist/esm/ar-bce7e7c7.js +96 -0
- package/dist/esm/array-550e46d3.js +10 -0
- package/dist/esm/bg-38d0a006.js +77 -0
- package/dist/esm/browser-b5ea92bc.js +16 -0
- package/dist/esm/bs-6dbdfb83.js +46 -0
- package/dist/esm/ca-cbbd3cec.js +66 -0
- package/dist/esm/calcite-accordion_2.entry.js +13 -9
- package/dist/esm/calcite-action-bar.entry.js +18 -17
- package/dist/esm/calcite-action-group.entry.js +16 -15
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +17 -16
- package/dist/esm/calcite-action.entry.js +12 -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 +14 -13
- package/dist/esm/calcite-button.entry.js +15 -14
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +11 -10
- package/dist/esm/calcite-chip-group.entry.js +9 -8
- package/dist/esm/calcite-chip.entry.js +13 -12
- package/dist/esm/calcite-color-picker_3.entry.js +16 -15
- package/dist/esm/calcite-combobox_3.entry.js +34 -28
- package/dist/esm/calcite-date-picker_4.entry.js +14 -13
- package/dist/esm/calcite-dropdown_3.entry.js +54 -49
- package/dist/esm/calcite-fab.entry.js +8 -7
- package/dist/esm/calcite-filter.entry.js +14 -13
- package/dist/esm/calcite-flow-item.entry.js +13 -12
- package/dist/esm/calcite-flow.entry.js +14 -7
- package/dist/esm/calcite-graph_2.entry.js +14 -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 +13 -12
- package/dist/esm/calcite-input-date-picker.entry.js +65 -21
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +26 -19
- package/dist/esm/calcite-input-text.entry.js +14 -13
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1ce51b13.js +2819 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +17 -15
- package/dist/esm/calcite-input-time-zone.entry.js +14 -13
- package/dist/esm/calcite-input.entry.js +14 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +8 -7
- package/dist/esm/calcite-list_3.entry.js +34 -24
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +28 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +11 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +15 -14
- package/dist/esm/calcite-pick-list_3.entry.js +17 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +11 -10
- package/dist/esm/calcite-rating.entry.js +72 -78
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +50 -22
- package/dist/esm/calcite-sheet.entry.js +225 -0
- package/dist/esm/calcite-shell_3.entry.js +25 -12
- package/dist/esm/calcite-sortable-list.entry.js +15 -8
- package/dist/esm/calcite-split-button.entry.js +6 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +35 -18
- package/dist/esm/calcite-switch.entry.js +11 -10
- package/dist/esm/calcite-tab_4.entry.js +11 -10
- package/dist/esm/calcite-table-cell_2.entry.js +277 -0
- package/dist/esm/calcite-table-row.entry.js +231 -0
- package/dist/esm/calcite-table.entry.js +295 -0
- package/dist/esm/calcite-text-area.entry.js +16 -15
- package/dist/esm/calcite-tile-select_2.entry.js +6 -5
- package/dist/esm/calcite-tile.entry.js +9 -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 +146 -106
- package/dist/esm/calcite-value-list_2.entry.js +23 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/conditionalSlot-6741e530.js +55 -0
- package/dist/esm/cs-f08098bf.js +142 -0
- package/dist/esm/da-509bba91.js +61 -0
- package/dist/esm/de-21f98bc6.js +86 -0
- package/dist/esm/de-at-59adc72c.js +85 -0
- package/dist/esm/de-ch-248c28d5.js +85 -0
- package/dist/esm/debounce-abae3138.js +487 -0
- package/dist/esm/dom-73f38fd2.js +1027 -0
- package/dist/esm/el-98a75fe7.js +61 -0
- package/dist/esm/en-au-53bb3399.js +61 -0
- package/dist/esm/en-ca-05de5b8b.js +60 -0
- package/dist/esm/en-gb-21219f3d.js +64 -0
- package/dist/esm/es-29739863.js +61 -0
- package/dist/esm/es-mx-a307b0fa.js +60 -0
- package/dist/esm/et-91f8d7c4.js +87 -0
- package/dist/esm/fi-6440ffa1.js +110 -0
- package/dist/esm/filter-428e4037.js +758 -0
- package/dist/esm/floating-ui-567d4710.js +1875 -0
- package/dist/esm/focusTrapComponent-fde6dc21.js +994 -0
- package/dist/esm/form-a7df218f.js +275 -0
- package/dist/esm/fr-8f9c4a86.js +63 -0
- package/dist/esm/fr-ch-e59af804.js +61 -0
- package/dist/esm/guid-ec636fe3.js +19 -0
- package/dist/esm/he-e81fcb22.js +100 -0
- package/dist/esm/hi-4bca6f17.js +60 -0
- package/dist/esm/hr-584716d8.js +75 -0
- package/dist/esm/hu-b2d2fd25.js +83 -0
- package/dist/esm/id-ef88ed33.js +61 -0
- package/dist/esm/index-871aa909.js +2292 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/interactive-6ba1e887.js +138 -0
- package/dist/esm/it-ch-8effeb2c.js +61 -0
- package/dist/esm/it-f7bed418.js +61 -0
- package/dist/esm/ja-51a8f413.js +67 -0
- package/dist/esm/key-0646f194.js +11 -0
- package/dist/esm/ko-419bde22.js +67 -0
- package/dist/esm/label-30fd68f0.js +143 -0
- package/dist/esm/loadable-5c45a3f7.js +84 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-7ed1373b.js +582 -0
- package/dist/esm/lt-234d0296.js +92 -0
- package/dist/esm/lv-780913d0.js +61 -0
- package/dist/esm/math-c3282f6b.js +49 -0
- package/dist/esm/mk-468e1c32.js +61 -0
- package/dist/esm/nb-909aa4dc.js +62 -0
- package/dist/esm/nl-4e026aff.js +62 -0
- package/dist/esm/observers-3edf63eb.js +46 -0
- package/dist/esm/openCloseComponent-a427eef3.js +82 -0
- package/dist/esm/pl-a01354be.js +109 -0
- package/dist/esm/pt-9d010dba.js +62 -0
- package/dist/esm/pt-br-36232164.js +60 -0
- package/dist/esm/resources-336544f7.js +18 -0
- package/dist/esm/resources-5a0d7ac2.js +21 -0
- package/dist/esm/resources-d95e2c66.js +23 -0
- package/dist/esm/resources-dc21e17b.js +41 -0
- package/dist/esm/resources-ddafe2a5.js +383 -0
- package/dist/esm/resources-f58c1f36.js +15 -0
- package/dist/esm/resources-ff150ba7.js +17 -0
- package/dist/esm/ro-5a3d91d4.js +61 -0
- package/dist/esm/ru-54ae316e.js +121 -0
- package/dist/esm/sk-d49f6ec4.js +143 -0
- package/dist/esm/sl-ff782997.js +61 -0
- package/dist/esm/sortableComponent-14283d78.js +3098 -0
- package/dist/esm/sr-a141db53.js +96 -0
- package/dist/esm/sv-b78422a6.js +66 -0
- package/dist/esm/t9n-e1e6bb16.js +90 -0
- package/dist/esm/th-8f76ed38.js +60 -0
- package/dist/esm/throttle-0d8230c3.js +73 -0
- package/dist/esm/tr-d5b96557.js +61 -0
- package/dist/esm/uk-5fa42e26.js +99 -0
- package/dist/esm/utils-9aef7d1c.js +198 -0
- package/dist/esm/utils-caf5aa17.js +287 -0
- package/dist/esm/vi-56a54b27.js +65 -0
- package/dist/esm/zh-cn-f2da36e8.js +89 -0
- package/dist/esm/zh-hk-103ac0bb.js +66 -0
- package/dist/esm/zh-tw-64d349ef.js +87 -0
- package/dist/extras/docs-json.json +3001 -1766
- package/dist/extras/translations-json.json +1 -1
- package/dist/extras/vscode-data.json +347 -18
- 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/accordion-item/resources.d.ts +4 -0
- package/dist/types/components/action-bar/action-bar.d.ts +4 -0
- package/dist/types/components/action-group/action-group.d.ts +4 -0
- package/dist/types/components/action-group/resources.d.ts +3 -0
- package/dist/types/components/action-pad/action-pad.d.ts +4 -0
- package/dist/types/components/combobox/combobox.d.ts +5 -4
- package/dist/types/components/combobox/utils.d.ts +2 -0
- package/dist/types/components/combobox-item/combobox-item.d.ts +5 -5
- package/dist/types/components/dropdown/dropdown.d.ts +3 -4
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +13 -7
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +16 -5
- package/dist/types/components/dropdown-item/resources.d.ts +1 -3
- package/dist/types/components/flow/flow.d.ts +9 -3
- package/dist/types/components/flow/interfaces.d.ts +1 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -0
- package/dist/types/components/input-date-picker/utils.d.ts +14 -0
- package/dist/types/components/input-number/input-number.d.ts +2 -0
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -0
- package/dist/types/components/list/list.d.ts +13 -8
- package/dist/types/components/list-item/list-item.d.ts +1 -1
- package/dist/types/components/rating/interfaces.d.ts +1 -2
- package/dist/types/components/rating/rating.d.ts +10 -7
- package/dist/types/components/segmented-control/segmented-control.d.ts +6 -2
- package/dist/types/components/segmented-control-item/segmented-control-item.d.ts +19 -0
- package/dist/types/components/sheet/interfaces.d.ts +1 -0
- package/dist/types/components/sheet/resources.d.ts +7 -0
- package/dist/types/components/sheet/sheet.d.ts +100 -0
- package/dist/types/components/shell/resources.d.ts +1 -0
- package/dist/types/components/shell/shell.d.ts +4 -0
- package/dist/types/components/sortable-list/sortable-list.d.ts +3 -3
- package/dist/types/components/stepper/stepper.d.ts +6 -2
- package/dist/types/components/stepper-item/stepper-item.d.ts +24 -12
- package/dist/types/components/table/assets/table/t9n/index.d.ts +7 -0
- package/dist/types/components/table/interfaces.d.ts +10 -0
- package/dist/types/components/table/resources.d.ts +16 -0
- package/dist/types/components/table/table.d.ts +95 -0
- package/dist/types/components/table-cell/assets/table-cell/t9n/index.d.ts +7 -0
- package/dist/types/components/table-cell/resources.d.ts +7 -0
- package/dist/types/components/table-cell/table-cell.d.ts +69 -0
- package/dist/types/components/table-header/assets/table-header/t9n/index.d.ts +8 -0
- package/dist/types/components/table-header/resources.d.ts +11 -0
- package/dist/types/components/table-header/table-header.d.ts +65 -0
- package/dist/types/components/table-row/table-row.d.ts +65 -0
- package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +3 -0
- package/dist/types/components/time-picker/resources.d.ts +3 -0
- package/dist/types/components/time-picker/time-picker.d.ts +14 -11
- package/dist/types/components/tree/tree.d.ts +2 -2
- package/dist/types/components/tree/utils.d.ts +2 -1
- package/dist/types/components/tree-item/interfaces.d.ts +5 -0
- package/dist/types/components/tree-item/tree-item.d.ts +5 -3
- package/dist/types/components/value-list/value-list.d.ts +3 -3
- package/dist/types/components.d.ts +556 -34
- package/dist/types/preact.d.ts +22 -0
- package/dist/types/utils/date.d.ts +11 -0
- package/dist/types/utils/math.d.ts +11 -1
- package/dist/types/utils/sortableComponent.d.ts +20 -8
- package/dist/types/utils/time.d.ts +11 -4
- package/hydrate/index.js +2548 -947
- package/package.json +4 -3
- package/dist/calcite/p-00e16334.js +0 -6
- package/dist/calcite/p-01d7b181.entry.js +0 -6
- package/dist/calcite/p-03f2489a.entry.js +0 -6
- package/dist/calcite/p-049415a7.js +0 -6
- package/dist/calcite/p-0540ced9.entry.js +0 -6
- package/dist/calcite/p-071d36ca.js +0 -6
- package/dist/calcite/p-077f6f36.js +0 -6
- package/dist/calcite/p-07a7759e.entry.js +0 -6
- package/dist/calcite/p-07e376d4.entry.js +0 -6
- package/dist/calcite/p-0a23ab8a.js +0 -6
- package/dist/calcite/p-0a4ad28e.js +0 -6
- package/dist/calcite/p-0a5e9d1e.entry.js +0 -6
- package/dist/calcite/p-0d9aba88.entry.js +0 -6
- package/dist/calcite/p-0ec74004.entry.js +0 -6
- package/dist/calcite/p-0fdd684e.js +0 -6
- package/dist/calcite/p-19115a38.entry.js +0 -6
- package/dist/calcite/p-1b5a9b03.js +0 -6
- package/dist/calcite/p-1cd89970.js +0 -6
- package/dist/calcite/p-1cffe084.entry.js +0 -6
- package/dist/calcite/p-2015a359.js +0 -6
- package/dist/calcite/p-23a7b9eb.entry.js +0 -6
- package/dist/calcite/p-24df4fc6.js +0 -6
- package/dist/calcite/p-257d3ed8.js +0 -6
- package/dist/calcite/p-2607439b.entry.js +0 -6
- package/dist/calcite/p-286450a3.js +0 -6
- package/dist/calcite/p-28d43ed9.entry.js +0 -6
- package/dist/calcite/p-2980f915.entry.js +0 -6
- package/dist/calcite/p-2987b600.js +0 -6
- package/dist/calcite/p-29e676be.js +0 -6
- package/dist/calcite/p-2ad3ca46.js +0 -6
- package/dist/calcite/p-2ba05b8d.entry.js +0 -6
- package/dist/calcite/p-2ec0e800.js +0 -6
- package/dist/calcite/p-2fd93026.js +0 -6
- package/dist/calcite/p-3135cc41.js +0 -6
- package/dist/calcite/p-3488049a.entry.js +0 -6
- package/dist/calcite/p-35e4bc79.entry.js +0 -6
- package/dist/calcite/p-372e545c.entry.js +0 -6
- package/dist/calcite/p-3ab83cd7.js +0 -6
- package/dist/calcite/p-3e489af1.entry.js +0 -6
- package/dist/calcite/p-3e582dfc.js +0 -6
- package/dist/calcite/p-3efb599a.entry.js +0 -6
- package/dist/calcite/p-40e4fd18.js +0 -6
- package/dist/calcite/p-4114c6f3.js +0 -6
- package/dist/calcite/p-42334767.entry.js +0 -6
- package/dist/calcite/p-48102a57.js +0 -6
- package/dist/calcite/p-4d554aad.entry.js +0 -6
- package/dist/calcite/p-4d72ffc4.js +0 -6
- package/dist/calcite/p-4df4da23.js +0 -6
- package/dist/calcite/p-4f1b5f2e.entry.js +0 -6
- package/dist/calcite/p-527befee.entry.js +0 -6
- package/dist/calcite/p-53e7901e.js +0 -6
- package/dist/calcite/p-5512bc9c.js +0 -6
- package/dist/calcite/p-55fb1344.entry.js +0 -6
- package/dist/calcite/p-561c9ed3.entry.js +0 -6
- package/dist/calcite/p-57f510df.js +0 -6
- package/dist/calcite/p-5a184d2b.js +0 -6
- package/dist/calcite/p-5bfedc08.js +0 -6
- package/dist/calcite/p-5d58b7b9.js +0 -6
- package/dist/calcite/p-5e906323.js +0 -12
- package/dist/calcite/p-5eacf67d.entry.js +0 -6
- package/dist/calcite/p-5ed3e103.js +0 -6
- package/dist/calcite/p-5f847f8e.js +0 -6
- package/dist/calcite/p-600295bb.entry.js +0 -6
- package/dist/calcite/p-6141aec2.js +0 -6
- package/dist/calcite/p-61d8ce5d.entry.js +0 -6
- package/dist/calcite/p-62895bdf.entry.js +0 -6
- package/dist/calcite/p-674640be.js +0 -6
- package/dist/calcite/p-6b6ccc72.entry.js +0 -6
- package/dist/calcite/p-6d04b8c5.js +0 -6
- package/dist/calcite/p-6dac11b0.entry.js +0 -6
- package/dist/calcite/p-6dc71968.js +0 -6
- package/dist/calcite/p-6dd20b5b.js +0 -6
- package/dist/calcite/p-6e192486.js +0 -6
- package/dist/calcite/p-6fd58551.js +0 -6
- package/dist/calcite/p-709d4fbc.entry.js +0 -6
- package/dist/calcite/p-7157befd.js +0 -6
- package/dist/calcite/p-72dcc36a.entry.js +0 -6
- package/dist/calcite/p-7407a063.js +0 -6
- package/dist/calcite/p-7605c70b.entry.js +0 -6
- package/dist/calcite/p-7b282483.entry.js +0 -6
- package/dist/calcite/p-7bec2c2d.js +0 -6
- package/dist/calcite/p-8a048fbf.js +0 -6
- package/dist/calcite/p-8ba48acb.js +0 -6
- package/dist/calcite/p-8c9853f4.entry.js +0 -6
- package/dist/calcite/p-8d9fd870.entry.js +0 -6
- package/dist/calcite/p-8fa7064c.entry.js +0 -6
- package/dist/calcite/p-8ff5118c.entry.js +0 -6
- package/dist/calcite/p-90a7ed6d.js +0 -6
- package/dist/calcite/p-9105bf2d.js +0 -6
- package/dist/calcite/p-93513b18.js +0 -6
- package/dist/calcite/p-95092d51.js +0 -6
- package/dist/calcite/p-99209d63.entry.js +0 -6
- package/dist/calcite/p-992dc506.entry.js +0 -6
- package/dist/calcite/p-9947f1d1.js +0 -7
- package/dist/calcite/p-9b068aa5.entry.js +0 -6
- package/dist/calcite/p-9bb6c257.js +0 -6
- package/dist/calcite/p-9fa5c855.js +0 -6
- package/dist/calcite/p-9fa660c1.js +0 -6
- package/dist/calcite/p-a26f7e1a.js +0 -6
- package/dist/calcite/p-a2f8d734.entry.js +0 -6
- package/dist/calcite/p-a68216cc.js +0 -6
- package/dist/calcite/p-a754b09f.js +0 -6
- package/dist/calcite/p-a99bebc0.entry.js +0 -6
- package/dist/calcite/p-a9f1202c.entry.js +0 -6
- package/dist/calcite/p-aa90c03b.js +0 -6
- package/dist/calcite/p-aaa7a13d.entry.js +0 -6
- package/dist/calcite/p-ac22724c.entry.js +0 -6
- package/dist/calcite/p-ad7c9733.js +0 -6
- package/dist/calcite/p-af8d92d9.js +0 -6
- package/dist/calcite/p-af93e917.entry.js +0 -6
- package/dist/calcite/p-b0a37c4e.entry.js +0 -6
- package/dist/calcite/p-b0a69fe9.entry.js +0 -6
- package/dist/calcite/p-b11affe1.js +0 -11
- package/dist/calcite/p-b214f565.entry.js +0 -6
- package/dist/calcite/p-b87ef2ca.entry.js +0 -6
- package/dist/calcite/p-b8a9f5d4.entry.js +0 -6
- package/dist/calcite/p-bc615c27.js +0 -6
- package/dist/calcite/p-be7aed06.js +0 -6
- package/dist/calcite/p-c113b10e.js +0 -6
- package/dist/calcite/p-c189d6be.entry.js +0 -6
- package/dist/calcite/p-c45f704e.js +0 -6
- package/dist/calcite/p-c6616f89.js +0 -6
- package/dist/calcite/p-cbeedd36.js +0 -6
- package/dist/calcite/p-cc4981c7.js +0 -6
- package/dist/calcite/p-cc67d1c0.js +0 -10
- package/dist/calcite/p-cc92512e.js +0 -6
- package/dist/calcite/p-d0d8df64.entry.js +0 -6
- package/dist/calcite/p-d4aa6b8b.js +0 -6
- package/dist/calcite/p-d53c7296.js +0 -6
- package/dist/calcite/p-d564bbef.entry.js +0 -6
- package/dist/calcite/p-da73865c.js +0 -6
- package/dist/calcite/p-df1ba0b8.js +0 -6
- package/dist/calcite/p-e37f619a.entry.js +0 -6
- package/dist/calcite/p-e43e82ba.entry.js +0 -6
- package/dist/calcite/p-e5b67a76.js +0 -6
- package/dist/calcite/p-e742a020.js +0 -6
- package/dist/calcite/p-e8960bd4.entry.js +0 -6
- package/dist/calcite/p-ebbea2b1.js +0 -6
- package/dist/calcite/p-eca7291c.entry.js +0 -6
- package/dist/calcite/p-edce17cd.js +0 -6
- package/dist/calcite/p-eefcdc14.entry.js +0 -6
- package/dist/calcite/p-f03e58a1.entry.js +0 -6
- package/dist/calcite/p-f2dface9.entry.js +0 -6
- package/dist/calcite/p-f4f46912.js +0 -6
- package/dist/calcite/p-f848c2bd.js +0 -6
- package/dist/calcite/p-f909aff0.entry.js +0 -6
- package/dist/calcite/p-f95a9cee.entry.js +0 -6
- package/dist/calcite/p-faceb907.js +0 -6
- package/dist/calcite/p-fc0fc7e8.js +0 -6
- package/dist/calcite/p-fe29ceae.entry.js +0 -6
- package/dist/calcite/p-ffcba14e.js +0 -6
- package/dist/cjs/ExpandToggle-f95a52e9.js +0 -107
- package/dist/cjs/FloatingArrow-7f0d275b.js +0 -45
- package/dist/cjs/Heading-963c98c4.js +0 -20
- package/dist/cjs/app-globals-84be028b.js +0 -59
- package/dist/cjs/ar-b679b64e.js +0 -96
- package/dist/cjs/array-3c15d225.js +0 -12
- package/dist/cjs/bg-6e25c52c.js +0 -77
- package/dist/cjs/bs-c10bd55f.js +0 -46
- package/dist/cjs/ca-af9f9ee9.js +0 -66
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-0a67efc6.js +0 -2535
- package/dist/cjs/conditionalSlot-b7752012.js +0 -58
- package/dist/cjs/cs-8efc7e93.js +0 -142
- package/dist/cjs/da-2576fb21.js +0 -61
- package/dist/cjs/de-79492ef9.js +0 -86
- package/dist/cjs/de-at-d762ef99.js +0 -85
- package/dist/cjs/de-ch-9668c362.js +0 -85
- package/dist/cjs/debounce-2d82837f.js +0 -496
- package/dist/cjs/dom-a6b1b2d0.js +0 -1057
- package/dist/cjs/el-2902711a.js +0 -61
- package/dist/cjs/en-au-e4aa6bda.js +0 -61
- package/dist/cjs/en-ca-82815aae.js +0 -60
- package/dist/cjs/en-gb-e91a9581.js +0 -64
- package/dist/cjs/es-773cc110.js +0 -61
- package/dist/cjs/es-mx-b83354a0.js +0 -60
- package/dist/cjs/et-669b904a.js +0 -87
- package/dist/cjs/fi-cdd034c7.js +0 -110
- package/dist/cjs/filter-5b666461.js +0 -760
- package/dist/cjs/floating-ui-73ac6149.js +0 -1883
- package/dist/cjs/focusTrapComponent-a93f67fa.js +0 -999
- package/dist/cjs/form-efb81018.js +0 -283
- package/dist/cjs/fr-ch-53e66d24.js +0 -61
- package/dist/cjs/fr-e4eba765.js +0 -63
- package/dist/cjs/guid-537c824b.js +0 -21
- package/dist/cjs/he-69a907ca.js +0 -100
- package/dist/cjs/hi-6b5729e0.js +0 -60
- package/dist/cjs/hr-21cf5a9b.js +0 -75
- package/dist/cjs/hu-9de5b7c3.js +0 -83
- package/dist/cjs/id-ae393609.js +0 -61
- package/dist/cjs/index-a299f336.js +0 -2311
- package/dist/cjs/interactive-34d4b6bc.js +0 -150
- package/dist/cjs/it-8f85a1c7.js +0 -61
- package/dist/cjs/it-ch-509a7b4d.js +0 -61
- package/dist/cjs/ja-7f549c9b.js +0 -67
- package/dist/cjs/key-31549e1f.js +0 -14
- package/dist/cjs/ko-629ad646.js +0 -67
- package/dist/cjs/label-822b0770.js +0 -149
- package/dist/cjs/loadable-11abb55e.js +0 -89
- package/dist/cjs/locale-e320d64c.js +0 -594
- package/dist/cjs/lt-259f658c.js +0 -92
- package/dist/cjs/lv-f359a110.js +0 -61
- package/dist/cjs/math-2b370053.js +0 -39
- package/dist/cjs/mk-bc68d0f2.js +0 -61
- package/dist/cjs/nb-96059dec.js +0 -62
- package/dist/cjs/nl-1f7f084e.js +0 -62
- package/dist/cjs/observers-42ec2f3d.js +0 -48
- package/dist/cjs/openCloseComponent-b662151a.js +0 -84
- package/dist/cjs/pl-3a4ae730.js +0 -109
- package/dist/cjs/pt-br-77494554.js +0 -60
- package/dist/cjs/pt-c0c4b6d7.js +0 -62
- package/dist/cjs/resources-07631761.js +0 -17
- package/dist/cjs/resources-2e4a2fc8.js +0 -15
- package/dist/cjs/resources-3cf637d9.js +0 -22
- package/dist/cjs/resources-4459275a.js +0 -410
- package/dist/cjs/resources-7c4f2264.js +0 -45
- package/dist/cjs/resources-a528d8de.js +0 -27
- package/dist/cjs/resources-b9b572f7.js +0 -24
- package/dist/cjs/ro-771a42fd.js +0 -61
- package/dist/cjs/ru-b2512ddd.js +0 -121
- package/dist/cjs/sk-ff042505.js +0 -143
- package/dist/cjs/sl-1e9606e2.js +0 -61
- package/dist/cjs/sortableComponent-db97753f.js +0 -3107
- package/dist/cjs/sr-c5f58649.js +0 -96
- package/dist/cjs/sv-f1e836f1.js +0 -66
- package/dist/cjs/t9n-9d761c44.js +0 -95
- package/dist/cjs/th-6089b9e9.js +0 -60
- package/dist/cjs/throttle-37938891.js +0 -75
- package/dist/cjs/tr-89f2afef.js +0 -61
- package/dist/cjs/uk-24c1804c.js +0 -99
- package/dist/cjs/utils-8ff54125.js +0 -294
- package/dist/cjs/utils-c584378c.js +0 -216
- package/dist/cjs/vi-0e7d6513.js +0 -65
- package/dist/cjs/zh-cn-ea74a45f.js +0 -89
- package/dist/cjs/zh-hk-8cf9ec57.js +0 -66
- package/dist/cjs/zh-tw-d74a27fb.js +0 -87
- package/dist/collection/components/dropdown-group/resources.js +0 -10
- package/dist/esm/ExpandToggle-8795cd22.js +0 -99
- package/dist/esm/FloatingArrow-aaa77fde.js +0 -43
- package/dist/esm/Heading-a5cabffa.js +0 -17
- package/dist/esm/app-globals-d56b6a54.js +0 -57
- package/dist/esm/ar-34c4e4f2.js +0 -94
- package/dist/esm/array-8599f924.js +0 -10
- package/dist/esm/bg-a23d1b61.js +0 -75
- package/dist/esm/bs-017e2c46.js +0 -44
- package/dist/esm/ca-c587a30c.js +0 -64
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-692ac053.js +0 -2531
- package/dist/esm/conditionalSlot-bee7f08e.js +0 -55
- package/dist/esm/cs-3c902bff.js +0 -140
- package/dist/esm/da-86ce9677.js +0 -59
- package/dist/esm/de-at-87985f90.js +0 -83
- package/dist/esm/de-b1710161.js +0 -84
- package/dist/esm/de-ch-9f6c00e9.js +0 -83
- package/dist/esm/debounce-e73108b0.js +0 -487
- package/dist/esm/dom-c70e4c69.js +0 -1027
- package/dist/esm/el-0cfa4cde.js +0 -59
- package/dist/esm/en-au-ac920cfb.js +0 -59
- package/dist/esm/en-ca-c7cb9cf7.js +0 -58
- package/dist/esm/en-gb-fc69efd6.js +0 -62
- package/dist/esm/es-4cb3bb21.js +0 -59
- package/dist/esm/es-mx-9a7045cf.js +0 -58
- package/dist/esm/et-68715b39.js +0 -85
- package/dist/esm/fi-34c3d418.js +0 -108
- package/dist/esm/filter-9a6f1351.js +0 -758
- package/dist/esm/floating-ui-d789b576.js +0 -1875
- package/dist/esm/focusTrapComponent-5d9c8243.js +0 -994
- package/dist/esm/form-59a488e0.js +0 -275
- package/dist/esm/fr-ch-4ddc45a0.js +0 -59
- package/dist/esm/fr-efca1e51.js +0 -61
- package/dist/esm/guid-503fe646.js +0 -19
- package/dist/esm/he-7ffb585b.js +0 -98
- package/dist/esm/hi-479c9c41.js +0 -58
- package/dist/esm/hr-c8ed71cd.js +0 -73
- package/dist/esm/hu-caf1538b.js +0 -81
- package/dist/esm/id-e8ee7762.js +0 -59
- package/dist/esm/index-4c8dc570.js +0 -2276
- package/dist/esm/interactive-aa38fd27.js +0 -146
- package/dist/esm/it-08e7b4ac.js +0 -59
- package/dist/esm/it-ch-9f5fbb25.js +0 -59
- package/dist/esm/ja-ee5a7c74.js +0 -65
- package/dist/esm/key-4cc3e77c.js +0 -11
- package/dist/esm/ko-dc6dbb1d.js +0 -65
- package/dist/esm/label-389bf8aa.js +0 -143
- package/dist/esm/loadable-76dd29b3.js +0 -84
- package/dist/esm/locale-b9b2f130.js +0 -582
- package/dist/esm/lt-8e069976.js +0 -90
- package/dist/esm/lv-7776d0e8.js +0 -59
- package/dist/esm/math-707fadd4.js +0 -34
- package/dist/esm/mk-7bfa2875.js +0 -59
- package/dist/esm/nb-4bfd622a.js +0 -60
- package/dist/esm/nl-88425a18.js +0 -60
- package/dist/esm/observers-0611100c.js +0 -46
- package/dist/esm/openCloseComponent-ebbb5cb5.js +0 -82
- package/dist/esm/pl-f41c0a1d.js +0 -107
- package/dist/esm/pt-52a47768.js +0 -60
- package/dist/esm/pt-br-df378243.js +0 -58
- package/dist/esm/resources-056aa670.js +0 -41
- package/dist/esm/resources-2448185c.js +0 -21
- package/dist/esm/resources-4616aada.js +0 -15
- package/dist/esm/resources-7428e3fc.js +0 -383
- package/dist/esm/resources-98d9fa2e.js +0 -18
- package/dist/esm/resources-9eec5fa9.js +0 -14
- package/dist/esm/resources-ee705ba9.js +0 -23
- package/dist/esm/ro-024c7e70.js +0 -59
- package/dist/esm/ru-076b9e1a.js +0 -119
- package/dist/esm/sk-0c0b5e35.js +0 -141
- package/dist/esm/sl-dbce62c4.js +0 -59
- package/dist/esm/sortableComponent-65f677d4.js +0 -3104
- package/dist/esm/sr-60e6bea4.js +0 -94
- package/dist/esm/sv-e94bc3d0.js +0 -64
- package/dist/esm/t9n-3fd6411d.js +0 -90
- package/dist/esm/th-4fcae8b2.js +0 -58
- package/dist/esm/throttle-869137b5.js +0 -73
- package/dist/esm/tr-5d9d98e1.js +0 -59
- package/dist/esm/uk-886a245e.js +0 -97
- package/dist/esm/utils-84b6b161.js +0 -198
- package/dist/esm/utils-d07e8fc2.js +0 -277
- package/dist/esm/vi-ad2b7d96.js +0 -63
- package/dist/esm/zh-cn-64ea9b0b.js +0 -87
- package/dist/esm/zh-hk-ec851767.js +0 -64
- package/dist/esm/zh-tw-208f7c1e.js +0 -85
- package/dist/types/components/dropdown-group/resources.d.ts +0 -5
|
@@ -1,2535 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
'use strict';
|
|
7
|
-
|
|
8
|
-
const index = require('./index-a299f336.js');
|
|
9
|
-
const form = require('./form-efb81018.js');
|
|
10
|
-
const guid = require('./guid-537c824b.js');
|
|
11
|
-
const interactive = require('./interactive-34d4b6bc.js');
|
|
12
|
-
const key = require('./key-31549e1f.js');
|
|
13
|
-
const label = require('./label-822b0770.js');
|
|
14
|
-
const loadable = require('./loadable-11abb55e.js');
|
|
15
|
-
const locale$1 = require('./locale-e320d64c.js');
|
|
16
|
-
const focusTrapComponent = require('./focusTrapComponent-a93f67fa.js');
|
|
17
|
-
const t9n = require('./t9n-9d761c44.js');
|
|
18
|
-
|
|
19
|
-
const maxTenthForMinuteAndSecond = 5;
|
|
20
|
-
function createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds = true) {
|
|
21
|
-
const options = {
|
|
22
|
-
hour: "2-digit",
|
|
23
|
-
minute: "2-digit",
|
|
24
|
-
timeZone: "UTC",
|
|
25
|
-
numberingSystem: locale$1.getSupportedNumberingSystem(numberingSystem),
|
|
26
|
-
};
|
|
27
|
-
if (includeSeconds) {
|
|
28
|
-
options.second = "2-digit";
|
|
29
|
-
}
|
|
30
|
-
return locale$1.getDateTimeFormat(locale, options);
|
|
31
|
-
}
|
|
32
|
-
function formatTimePart(number) {
|
|
33
|
-
const numberAsString = number.toString();
|
|
34
|
-
return number >= 0 && number <= 9 ? numberAsString.padStart(2, "0") : numberAsString;
|
|
35
|
-
}
|
|
36
|
-
function formatTimeString(value) {
|
|
37
|
-
if (!isValidTime(value)) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
const [hourString, minuteString, secondString] = value.split(":");
|
|
41
|
-
const hour = formatTimePart(parseInt(hourString));
|
|
42
|
-
const minute = formatTimePart(parseInt(minuteString));
|
|
43
|
-
if (secondString) {
|
|
44
|
-
const second = formatTimePart(parseInt(secondString));
|
|
45
|
-
return `${hour}:${minute}:${second}`;
|
|
46
|
-
}
|
|
47
|
-
return `${hour}:${minute}`;
|
|
48
|
-
}
|
|
49
|
-
function getLocaleHourCycle(locale, numberingSystem) {
|
|
50
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
51
|
-
const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
|
|
52
|
-
return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
|
|
53
|
-
}
|
|
54
|
-
function getLocalizedTimePart(part, parts) {
|
|
55
|
-
if (!part || !parts) {
|
|
56
|
-
return null;
|
|
57
|
-
}
|
|
58
|
-
if (part === "hourSuffix") {
|
|
59
|
-
const hourIndex = parts.indexOf(parts.find(({ type }) => type === "hour"));
|
|
60
|
-
const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
|
|
61
|
-
const hourSuffix = parts[hourIndex + 1];
|
|
62
|
-
return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
|
|
63
|
-
? hourSuffix.value?.trim() || null
|
|
64
|
-
: null;
|
|
65
|
-
}
|
|
66
|
-
if (part === "minuteSuffix") {
|
|
67
|
-
const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
|
|
68
|
-
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
69
|
-
const minuteSuffix = parts[minuteIndex + 1];
|
|
70
|
-
return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
|
|
71
|
-
? minuteSuffix.value?.trim() || null
|
|
72
|
-
: null;
|
|
73
|
-
}
|
|
74
|
-
if (part === "secondSuffix") {
|
|
75
|
-
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
76
|
-
const secondSuffix = parts[secondIndex + 1];
|
|
77
|
-
return secondSuffix && secondSuffix.type === "literal" ? secondSuffix.value?.trim() || null : null;
|
|
78
|
-
}
|
|
79
|
-
return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
|
|
80
|
-
}
|
|
81
|
-
function getMeridiem(hour) {
|
|
82
|
-
if (!locale$1.isValidNumber(hour)) {
|
|
83
|
-
return null;
|
|
84
|
-
}
|
|
85
|
-
const hourAsNumber = parseInt(hour);
|
|
86
|
-
return hourAsNumber >= 0 && hourAsNumber <= 11 ? "AM" : "PM";
|
|
87
|
-
}
|
|
88
|
-
function isValidTime(value) {
|
|
89
|
-
if (!value || value.startsWith(":") || value.endsWith(":")) {
|
|
90
|
-
return false;
|
|
91
|
-
}
|
|
92
|
-
const splitValue = value.split(":");
|
|
93
|
-
const validLength = splitValue.length > 1 && splitValue.length < 4;
|
|
94
|
-
if (!validLength) {
|
|
95
|
-
return false;
|
|
96
|
-
}
|
|
97
|
-
const [hour, minute, second] = splitValue;
|
|
98
|
-
const hourAsNumber = parseInt(splitValue[0]);
|
|
99
|
-
const minuteAsNumber = parseInt(splitValue[1]);
|
|
100
|
-
const secondAsNumber = parseInt(splitValue[2]);
|
|
101
|
-
const hourValid = locale$1.isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
|
|
102
|
-
const minuteValid = locale$1.isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
|
|
103
|
-
const secondValid = locale$1.isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
|
|
104
|
-
if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
|
|
105
|
-
return true;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
function isValidTimePart(value, part) {
|
|
109
|
-
if (part === "meridiem") {
|
|
110
|
-
return value === "AM" || value === "PM";
|
|
111
|
-
}
|
|
112
|
-
if (!locale$1.isValidNumber(value)) {
|
|
113
|
-
return false;
|
|
114
|
-
}
|
|
115
|
-
const valueAsNumber = Number(value);
|
|
116
|
-
return part === "hour" ? valueAsNumber >= 0 && valueAsNumber < 24 : valueAsNumber >= 0 && valueAsNumber < 60;
|
|
117
|
-
}
|
|
118
|
-
function localizeTimePart({ value, part, locale, numberingSystem }) {
|
|
119
|
-
if (!isValidTimePart(value, part)) {
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
const valueAsNumber = parseInt(value);
|
|
123
|
-
const date = new Date(Date.UTC(0, 0, 0, part === "hour" ? valueAsNumber : part === "meridiem" ? (value === "AM" ? 0 : 12) : 0, part === "minute" ? valueAsNumber : 0, part === "second" ? valueAsNumber : 0));
|
|
124
|
-
if (!date) {
|
|
125
|
-
return;
|
|
126
|
-
}
|
|
127
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
128
|
-
const parts = formatter.formatToParts(date);
|
|
129
|
-
return getLocalizedTimePart(part, parts);
|
|
130
|
-
}
|
|
131
|
-
function localizeTimeString({ value, locale, numberingSystem, includeSeconds = true, }) {
|
|
132
|
-
if (!isValidTime(value)) {
|
|
133
|
-
return null;
|
|
134
|
-
}
|
|
135
|
-
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
136
|
-
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
137
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds);
|
|
138
|
-
return formatter?.format(dateFromTimeString) || null;
|
|
139
|
-
}
|
|
140
|
-
function localizeTimeStringToParts({ value, locale, numberingSystem, }) {
|
|
141
|
-
if (!isValidTime(value)) {
|
|
142
|
-
return null;
|
|
143
|
-
}
|
|
144
|
-
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
145
|
-
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
146
|
-
if (dateFromTimeString) {
|
|
147
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
148
|
-
const parts = formatter.formatToParts(dateFromTimeString);
|
|
149
|
-
return {
|
|
150
|
-
localizedHour: getLocalizedTimePart("hour", parts),
|
|
151
|
-
localizedHourSuffix: getLocalizedTimePart("hourSuffix", parts),
|
|
152
|
-
localizedMinute: getLocalizedTimePart("minute", parts),
|
|
153
|
-
localizedMinuteSuffix: getLocalizedTimePart("minuteSuffix", parts),
|
|
154
|
-
localizedSecond: getLocalizedTimePart("second", parts),
|
|
155
|
-
localizedSecondSuffix: getLocalizedTimePart("secondSuffix", parts),
|
|
156
|
-
localizedMeridiem: getLocalizedTimePart("meridiem", parts),
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
return null;
|
|
160
|
-
}
|
|
161
|
-
function getTimeParts({ value, locale, numberingSystem }) {
|
|
162
|
-
if (!isValidTime(value)) {
|
|
163
|
-
return null;
|
|
164
|
-
}
|
|
165
|
-
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
166
|
-
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
167
|
-
if (dateFromTimeString) {
|
|
168
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
169
|
-
const parts = formatter.formatToParts(dateFromTimeString);
|
|
170
|
-
return parts;
|
|
171
|
-
}
|
|
172
|
-
return null;
|
|
173
|
-
}
|
|
174
|
-
function parseTimeString(value) {
|
|
175
|
-
if (isValidTime(value)) {
|
|
176
|
-
const [hour, minute, second] = value.split(":");
|
|
177
|
-
return {
|
|
178
|
-
hour,
|
|
179
|
-
minute,
|
|
180
|
-
second,
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
return {
|
|
184
|
-
hour: null,
|
|
185
|
-
minute: null,
|
|
186
|
-
second: null,
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
function toISOTimeString(value, includeSeconds = true) {
|
|
190
|
-
if (!isValidTime(value)) {
|
|
191
|
-
return "";
|
|
192
|
-
}
|
|
193
|
-
const { hour, minute, second } = parseTimeString(value);
|
|
194
|
-
let isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
|
|
195
|
-
if (includeSeconds) {
|
|
196
|
-
isoTimeString += `:${formatTimePart(parseInt((includeSeconds && second) || "0"))}`;
|
|
197
|
-
}
|
|
198
|
-
return isoTimeString;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
const CSS$1 = {
|
|
202
|
-
toggleIcon: "toggle-icon",
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
var SECONDS_A_MINUTE = 60;
|
|
206
|
-
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
|
207
|
-
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
|
208
|
-
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
|
209
|
-
var MILLISECONDS_A_SECOND = 1e3;
|
|
210
|
-
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
|
211
|
-
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
|
212
|
-
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
|
213
|
-
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
|
214
|
-
|
|
215
|
-
var MS = 'millisecond';
|
|
216
|
-
var S = 'second';
|
|
217
|
-
var MIN = 'minute';
|
|
218
|
-
var H = 'hour';
|
|
219
|
-
var D = 'day';
|
|
220
|
-
var W = 'week';
|
|
221
|
-
var M = 'month';
|
|
222
|
-
var Q = 'quarter';
|
|
223
|
-
var Y = 'year';
|
|
224
|
-
var DATE = 'date';
|
|
225
|
-
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
|
226
|
-
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
|
227
|
-
|
|
228
|
-
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
|
229
|
-
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;
|
|
230
|
-
|
|
231
|
-
// English [en]
|
|
232
|
-
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
|
233
|
-
const en = {
|
|
234
|
-
name: 'en',
|
|
235
|
-
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
|
236
|
-
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
|
237
|
-
ordinal: function ordinal(n) {
|
|
238
|
-
var s = ['th', 'st', 'nd', 'rd'];
|
|
239
|
-
var v = n % 100;
|
|
240
|
-
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
|
|
244
|
-
const en$1 = /*#__PURE__*/Object.freeze({
|
|
245
|
-
__proto__: null,
|
|
246
|
-
'default': en
|
|
247
|
-
});
|
|
248
|
-
|
|
249
|
-
var padStart = function padStart(string, length, pad) {
|
|
250
|
-
var s = String(string);
|
|
251
|
-
if (!s || s.length >= length) return string;
|
|
252
|
-
return "" + Array(length + 1 - s.length).join(pad) + string;
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
var padZoneStr = function padZoneStr(instance) {
|
|
256
|
-
var negMinutes = -instance.utcOffset();
|
|
257
|
-
var minutes = Math.abs(negMinutes);
|
|
258
|
-
var hourOffset = Math.floor(minutes / 60);
|
|
259
|
-
var minuteOffset = minutes % 60;
|
|
260
|
-
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
var monthDiff = function monthDiff(a, b) {
|
|
264
|
-
// function from moment.js in order to keep the same result
|
|
265
|
-
if (a.date() < b.date()) return -monthDiff(b, a);
|
|
266
|
-
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
|
267
|
-
var anchor = a.clone().add(wholeMonthDiff, M);
|
|
268
|
-
var c = b - anchor < 0;
|
|
269
|
-
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
|
270
|
-
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
|
271
|
-
};
|
|
272
|
-
|
|
273
|
-
var absFloor = function absFloor(n) {
|
|
274
|
-
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
|
275
|
-
};
|
|
276
|
-
|
|
277
|
-
var prettyUnit = function prettyUnit(u) {
|
|
278
|
-
var special = {
|
|
279
|
-
M: M,
|
|
280
|
-
y: Y,
|
|
281
|
-
w: W,
|
|
282
|
-
d: D,
|
|
283
|
-
D: DATE,
|
|
284
|
-
h: H,
|
|
285
|
-
m: MIN,
|
|
286
|
-
s: S,
|
|
287
|
-
ms: MS,
|
|
288
|
-
Q: Q
|
|
289
|
-
};
|
|
290
|
-
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
|
291
|
-
};
|
|
292
|
-
|
|
293
|
-
var isUndefined = function isUndefined(s) {
|
|
294
|
-
return s === undefined;
|
|
295
|
-
};
|
|
296
|
-
|
|
297
|
-
const U = {
|
|
298
|
-
s: padStart,
|
|
299
|
-
z: padZoneStr,
|
|
300
|
-
m: monthDiff,
|
|
301
|
-
a: absFloor,
|
|
302
|
-
p: prettyUnit,
|
|
303
|
-
u: isUndefined
|
|
304
|
-
};
|
|
305
|
-
|
|
306
|
-
var L = 'en'; // global locale
|
|
307
|
-
|
|
308
|
-
var Ls = {}; // global loaded locale
|
|
309
|
-
|
|
310
|
-
Ls[L] = en;
|
|
311
|
-
|
|
312
|
-
var isDayjs = function isDayjs(d) {
|
|
313
|
-
return d instanceof Dayjs;
|
|
314
|
-
}; // eslint-disable-line no-use-before-define
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
var parseLocale = function parseLocale(preset, object, isLocal) {
|
|
318
|
-
var l;
|
|
319
|
-
if (!preset) return L;
|
|
320
|
-
|
|
321
|
-
if (typeof preset === 'string') {
|
|
322
|
-
var presetLower = preset.toLowerCase();
|
|
323
|
-
|
|
324
|
-
if (Ls[presetLower]) {
|
|
325
|
-
l = presetLower;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
if (object) {
|
|
329
|
-
Ls[presetLower] = object;
|
|
330
|
-
l = presetLower;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
var presetSplit = preset.split('-');
|
|
334
|
-
|
|
335
|
-
if (!l && presetSplit.length > 1) {
|
|
336
|
-
return parseLocale(presetSplit[0]);
|
|
337
|
-
}
|
|
338
|
-
} else {
|
|
339
|
-
var name = preset.name;
|
|
340
|
-
Ls[name] = preset;
|
|
341
|
-
l = name;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
if (!isLocal && l) L = l;
|
|
345
|
-
return l || !isLocal && L;
|
|
346
|
-
};
|
|
347
|
-
|
|
348
|
-
var dayjs = function dayjs(date, c) {
|
|
349
|
-
if (isDayjs(date)) {
|
|
350
|
-
return date.clone();
|
|
351
|
-
} // eslint-disable-next-line no-nested-ternary
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
var cfg = typeof c === 'object' ? c : {};
|
|
355
|
-
cfg.date = date;
|
|
356
|
-
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
|
357
|
-
|
|
358
|
-
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
|
359
|
-
};
|
|
360
|
-
|
|
361
|
-
var wrapper = function wrapper(date, instance) {
|
|
362
|
-
return dayjs(date, {
|
|
363
|
-
locale: instance.$L,
|
|
364
|
-
utc: instance.$u,
|
|
365
|
-
x: instance.$x,
|
|
366
|
-
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
|
367
|
-
|
|
368
|
-
});
|
|
369
|
-
};
|
|
370
|
-
|
|
371
|
-
var Utils = U; // for plugin use
|
|
372
|
-
|
|
373
|
-
Utils.l = parseLocale;
|
|
374
|
-
Utils.i = isDayjs;
|
|
375
|
-
Utils.w = wrapper;
|
|
376
|
-
|
|
377
|
-
var parseDate = function parseDate(cfg) {
|
|
378
|
-
var date = cfg.date,
|
|
379
|
-
utc = cfg.utc;
|
|
380
|
-
if (date === null) return new Date(NaN); // null is invalid
|
|
381
|
-
|
|
382
|
-
if (Utils.u(date)) return new Date(); // today
|
|
383
|
-
|
|
384
|
-
if (date instanceof Date) return new Date(date);
|
|
385
|
-
|
|
386
|
-
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
|
387
|
-
var d = date.match(REGEX_PARSE);
|
|
388
|
-
|
|
389
|
-
if (d) {
|
|
390
|
-
var m = d[2] - 1 || 0;
|
|
391
|
-
var ms = (d[7] || '0').substring(0, 3);
|
|
392
|
-
|
|
393
|
-
if (utc) {
|
|
394
|
-
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
return new Date(date); // everything else
|
|
402
|
-
};
|
|
403
|
-
|
|
404
|
-
var Dayjs = /*#__PURE__*/function () {
|
|
405
|
-
function Dayjs(cfg) {
|
|
406
|
-
this.$L = parseLocale(cfg.locale, null, true);
|
|
407
|
-
this.parse(cfg); // for plugin
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
var _proto = Dayjs.prototype;
|
|
411
|
-
|
|
412
|
-
_proto.parse = function parse(cfg) {
|
|
413
|
-
this.$d = parseDate(cfg);
|
|
414
|
-
this.$x = cfg.x || {};
|
|
415
|
-
this.init();
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
_proto.init = function init() {
|
|
419
|
-
var $d = this.$d;
|
|
420
|
-
this.$y = $d.getFullYear();
|
|
421
|
-
this.$M = $d.getMonth();
|
|
422
|
-
this.$D = $d.getDate();
|
|
423
|
-
this.$W = $d.getDay();
|
|
424
|
-
this.$H = $d.getHours();
|
|
425
|
-
this.$m = $d.getMinutes();
|
|
426
|
-
this.$s = $d.getSeconds();
|
|
427
|
-
this.$ms = $d.getMilliseconds();
|
|
428
|
-
} // eslint-disable-next-line class-methods-use-this
|
|
429
|
-
;
|
|
430
|
-
|
|
431
|
-
_proto.$utils = function $utils() {
|
|
432
|
-
return Utils;
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
_proto.isValid = function isValid() {
|
|
436
|
-
return !(this.$d.toString() === INVALID_DATE_STRING);
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
_proto.isSame = function isSame(that, units) {
|
|
440
|
-
var other = dayjs(that);
|
|
441
|
-
return this.startOf(units) <= other && other <= this.endOf(units);
|
|
442
|
-
};
|
|
443
|
-
|
|
444
|
-
_proto.isAfter = function isAfter(that, units) {
|
|
445
|
-
return dayjs(that) < this.startOf(units);
|
|
446
|
-
};
|
|
447
|
-
|
|
448
|
-
_proto.isBefore = function isBefore(that, units) {
|
|
449
|
-
return this.endOf(units) < dayjs(that);
|
|
450
|
-
};
|
|
451
|
-
|
|
452
|
-
_proto.$g = function $g(input, get, set) {
|
|
453
|
-
if (Utils.u(input)) return this[get];
|
|
454
|
-
return this.set(set, input);
|
|
455
|
-
};
|
|
456
|
-
|
|
457
|
-
_proto.unix = function unix() {
|
|
458
|
-
return Math.floor(this.valueOf() / 1000);
|
|
459
|
-
};
|
|
460
|
-
|
|
461
|
-
_proto.valueOf = function valueOf() {
|
|
462
|
-
// timezone(hour) * 60 * 60 * 1000 => ms
|
|
463
|
-
return this.$d.getTime();
|
|
464
|
-
};
|
|
465
|
-
|
|
466
|
-
_proto.startOf = function startOf(units, _startOf) {
|
|
467
|
-
var _this = this;
|
|
468
|
-
|
|
469
|
-
// startOf -> endOf
|
|
470
|
-
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
|
471
|
-
var unit = Utils.p(units);
|
|
472
|
-
|
|
473
|
-
var instanceFactory = function instanceFactory(d, m) {
|
|
474
|
-
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
|
475
|
-
return isStartOf ? ins : ins.endOf(D);
|
|
476
|
-
};
|
|
477
|
-
|
|
478
|
-
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
|
479
|
-
var argumentStart = [0, 0, 0, 0];
|
|
480
|
-
var argumentEnd = [23, 59, 59, 999];
|
|
481
|
-
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
|
482
|
-
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
var $W = this.$W,
|
|
486
|
-
$M = this.$M,
|
|
487
|
-
$D = this.$D;
|
|
488
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
489
|
-
|
|
490
|
-
switch (unit) {
|
|
491
|
-
case Y:
|
|
492
|
-
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
|
493
|
-
|
|
494
|
-
case M:
|
|
495
|
-
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
|
496
|
-
|
|
497
|
-
case W:
|
|
498
|
-
{
|
|
499
|
-
var weekStart = this.$locale().weekStart || 0;
|
|
500
|
-
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
|
501
|
-
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
case D:
|
|
505
|
-
case DATE:
|
|
506
|
-
return instanceFactorySet(utcPad + "Hours", 0);
|
|
507
|
-
|
|
508
|
-
case H:
|
|
509
|
-
return instanceFactorySet(utcPad + "Minutes", 1);
|
|
510
|
-
|
|
511
|
-
case MIN:
|
|
512
|
-
return instanceFactorySet(utcPad + "Seconds", 2);
|
|
513
|
-
|
|
514
|
-
case S:
|
|
515
|
-
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
|
516
|
-
|
|
517
|
-
default:
|
|
518
|
-
return this.clone();
|
|
519
|
-
}
|
|
520
|
-
};
|
|
521
|
-
|
|
522
|
-
_proto.endOf = function endOf(arg) {
|
|
523
|
-
return this.startOf(arg, false);
|
|
524
|
-
};
|
|
525
|
-
|
|
526
|
-
_proto.$set = function $set(units, _int) {
|
|
527
|
-
var _C$D$C$DATE$C$M$C$Y$C;
|
|
528
|
-
|
|
529
|
-
// private set
|
|
530
|
-
var unit = Utils.p(units);
|
|
531
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
532
|
-
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];
|
|
533
|
-
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
|
534
|
-
|
|
535
|
-
if (unit === M || unit === Y) {
|
|
536
|
-
// clone is for badMutable plugin
|
|
537
|
-
var date = this.clone().set(DATE, 1);
|
|
538
|
-
date.$d[name](arg);
|
|
539
|
-
date.init();
|
|
540
|
-
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
|
541
|
-
} else if (name) this.$d[name](arg);
|
|
542
|
-
|
|
543
|
-
this.init();
|
|
544
|
-
return this;
|
|
545
|
-
};
|
|
546
|
-
|
|
547
|
-
_proto.set = function set(string, _int2) {
|
|
548
|
-
return this.clone().$set(string, _int2);
|
|
549
|
-
};
|
|
550
|
-
|
|
551
|
-
_proto.get = function get(unit) {
|
|
552
|
-
return this[Utils.p(unit)]();
|
|
553
|
-
};
|
|
554
|
-
|
|
555
|
-
_proto.add = function add(number, units) {
|
|
556
|
-
var _this2 = this,
|
|
557
|
-
_C$MIN$C$H$C$S$unit;
|
|
558
|
-
|
|
559
|
-
number = Number(number); // eslint-disable-line no-param-reassign
|
|
560
|
-
|
|
561
|
-
var unit = Utils.p(units);
|
|
562
|
-
|
|
563
|
-
var instanceFactorySet = function instanceFactorySet(n) {
|
|
564
|
-
var d = dayjs(_this2);
|
|
565
|
-
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
|
566
|
-
};
|
|
567
|
-
|
|
568
|
-
if (unit === M) {
|
|
569
|
-
return this.set(M, this.$M + number);
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
if (unit === Y) {
|
|
573
|
-
return this.set(Y, this.$y + number);
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
if (unit === D) {
|
|
577
|
-
return instanceFactorySet(1);
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
if (unit === W) {
|
|
581
|
-
return instanceFactorySet(7);
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
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
|
|
585
|
-
|
|
586
|
-
var nextTimeStamp = this.$d.getTime() + number * step;
|
|
587
|
-
return Utils.w(nextTimeStamp, this);
|
|
588
|
-
};
|
|
589
|
-
|
|
590
|
-
_proto.subtract = function subtract(number, string) {
|
|
591
|
-
return this.add(number * -1, string);
|
|
592
|
-
};
|
|
593
|
-
|
|
594
|
-
_proto.format = function format(formatStr) {
|
|
595
|
-
var _this3 = this;
|
|
596
|
-
|
|
597
|
-
var locale = this.$locale();
|
|
598
|
-
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
|
599
|
-
var str = formatStr || FORMAT_DEFAULT;
|
|
600
|
-
var zoneStr = Utils.z(this);
|
|
601
|
-
var $H = this.$H,
|
|
602
|
-
$m = this.$m,
|
|
603
|
-
$M = this.$M;
|
|
604
|
-
var weekdays = locale.weekdays,
|
|
605
|
-
months = locale.months,
|
|
606
|
-
meridiem = locale.meridiem;
|
|
607
|
-
|
|
608
|
-
var getShort = function getShort(arr, index, full, length) {
|
|
609
|
-
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
|
610
|
-
};
|
|
611
|
-
|
|
612
|
-
var get$H = function get$H(num) {
|
|
613
|
-
return Utils.s($H % 12 || 12, num, '0');
|
|
614
|
-
};
|
|
615
|
-
|
|
616
|
-
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
|
617
|
-
var m = hour < 12 ? 'AM' : 'PM';
|
|
618
|
-
return isLowercase ? m.toLowerCase() : m;
|
|
619
|
-
};
|
|
620
|
-
|
|
621
|
-
var matches = function matches(match) {
|
|
622
|
-
switch (match) {
|
|
623
|
-
case 'YY':
|
|
624
|
-
return String(_this3.$y).slice(-2);
|
|
625
|
-
|
|
626
|
-
case 'YYYY':
|
|
627
|
-
return Utils.s(_this3.$y, 4, '0');
|
|
628
|
-
|
|
629
|
-
case 'M':
|
|
630
|
-
return $M + 1;
|
|
631
|
-
|
|
632
|
-
case 'MM':
|
|
633
|
-
return Utils.s($M + 1, 2, '0');
|
|
634
|
-
|
|
635
|
-
case 'MMM':
|
|
636
|
-
return getShort(locale.monthsShort, $M, months, 3);
|
|
637
|
-
|
|
638
|
-
case 'MMMM':
|
|
639
|
-
return getShort(months, $M);
|
|
640
|
-
|
|
641
|
-
case 'D':
|
|
642
|
-
return _this3.$D;
|
|
643
|
-
|
|
644
|
-
case 'DD':
|
|
645
|
-
return Utils.s(_this3.$D, 2, '0');
|
|
646
|
-
|
|
647
|
-
case 'd':
|
|
648
|
-
return String(_this3.$W);
|
|
649
|
-
|
|
650
|
-
case 'dd':
|
|
651
|
-
return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2);
|
|
652
|
-
|
|
653
|
-
case 'ddd':
|
|
654
|
-
return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3);
|
|
655
|
-
|
|
656
|
-
case 'dddd':
|
|
657
|
-
return weekdays[_this3.$W];
|
|
658
|
-
|
|
659
|
-
case 'H':
|
|
660
|
-
return String($H);
|
|
661
|
-
|
|
662
|
-
case 'HH':
|
|
663
|
-
return Utils.s($H, 2, '0');
|
|
664
|
-
|
|
665
|
-
case 'h':
|
|
666
|
-
return get$H(1);
|
|
667
|
-
|
|
668
|
-
case 'hh':
|
|
669
|
-
return get$H(2);
|
|
670
|
-
|
|
671
|
-
case 'a':
|
|
672
|
-
return meridiemFunc($H, $m, true);
|
|
673
|
-
|
|
674
|
-
case 'A':
|
|
675
|
-
return meridiemFunc($H, $m, false);
|
|
676
|
-
|
|
677
|
-
case 'm':
|
|
678
|
-
return String($m);
|
|
679
|
-
|
|
680
|
-
case 'mm':
|
|
681
|
-
return Utils.s($m, 2, '0');
|
|
682
|
-
|
|
683
|
-
case 's':
|
|
684
|
-
return String(_this3.$s);
|
|
685
|
-
|
|
686
|
-
case 'ss':
|
|
687
|
-
return Utils.s(_this3.$s, 2, '0');
|
|
688
|
-
|
|
689
|
-
case 'SSS':
|
|
690
|
-
return Utils.s(_this3.$ms, 3, '0');
|
|
691
|
-
|
|
692
|
-
case 'Z':
|
|
693
|
-
return zoneStr;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
return null;
|
|
697
|
-
};
|
|
698
|
-
|
|
699
|
-
return str.replace(REGEX_FORMAT, function (match, $1) {
|
|
700
|
-
return $1 || matches(match) || zoneStr.replace(':', '');
|
|
701
|
-
}); // 'ZZ'
|
|
702
|
-
};
|
|
703
|
-
|
|
704
|
-
_proto.utcOffset = function utcOffset() {
|
|
705
|
-
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
|
706
|
-
// https://github.com/moment/moment/pull/1871
|
|
707
|
-
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
|
708
|
-
};
|
|
709
|
-
|
|
710
|
-
_proto.diff = function diff(input, units, _float) {
|
|
711
|
-
var _this4 = this;
|
|
712
|
-
|
|
713
|
-
var unit = Utils.p(units);
|
|
714
|
-
var that = dayjs(input);
|
|
715
|
-
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
|
716
|
-
var diff = this - that;
|
|
717
|
-
|
|
718
|
-
var getMonth = function getMonth() {
|
|
719
|
-
return Utils.m(_this4, that);
|
|
720
|
-
};
|
|
721
|
-
|
|
722
|
-
var result;
|
|
723
|
-
|
|
724
|
-
switch (unit) {
|
|
725
|
-
case Y:
|
|
726
|
-
result = getMonth() / 12;
|
|
727
|
-
break;
|
|
728
|
-
|
|
729
|
-
case M:
|
|
730
|
-
result = getMonth();
|
|
731
|
-
break;
|
|
732
|
-
|
|
733
|
-
case Q:
|
|
734
|
-
result = getMonth() / 3;
|
|
735
|
-
break;
|
|
736
|
-
|
|
737
|
-
case W:
|
|
738
|
-
result = (diff - zoneDelta) / MILLISECONDS_A_WEEK;
|
|
739
|
-
break;
|
|
740
|
-
|
|
741
|
-
case D:
|
|
742
|
-
result = (diff - zoneDelta) / MILLISECONDS_A_DAY;
|
|
743
|
-
break;
|
|
744
|
-
|
|
745
|
-
case H:
|
|
746
|
-
result = diff / MILLISECONDS_A_HOUR;
|
|
747
|
-
break;
|
|
748
|
-
|
|
749
|
-
case MIN:
|
|
750
|
-
result = diff / MILLISECONDS_A_MINUTE;
|
|
751
|
-
break;
|
|
752
|
-
|
|
753
|
-
case S:
|
|
754
|
-
result = diff / MILLISECONDS_A_SECOND;
|
|
755
|
-
break;
|
|
756
|
-
|
|
757
|
-
default:
|
|
758
|
-
result = diff; // milliseconds
|
|
759
|
-
|
|
760
|
-
break;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
return _float ? result : Utils.a(result);
|
|
764
|
-
};
|
|
765
|
-
|
|
766
|
-
_proto.daysInMonth = function daysInMonth() {
|
|
767
|
-
return this.endOf(M).$D;
|
|
768
|
-
};
|
|
769
|
-
|
|
770
|
-
_proto.$locale = function $locale() {
|
|
771
|
-
// get locale object
|
|
772
|
-
return Ls[this.$L];
|
|
773
|
-
};
|
|
774
|
-
|
|
775
|
-
_proto.locale = function locale(preset, object) {
|
|
776
|
-
if (!preset) return this.$L;
|
|
777
|
-
var that = this.clone();
|
|
778
|
-
var nextLocaleName = parseLocale(preset, object, true);
|
|
779
|
-
if (nextLocaleName) that.$L = nextLocaleName;
|
|
780
|
-
return that;
|
|
781
|
-
};
|
|
782
|
-
|
|
783
|
-
_proto.clone = function clone() {
|
|
784
|
-
return Utils.w(this.$d, this);
|
|
785
|
-
};
|
|
786
|
-
|
|
787
|
-
_proto.toDate = function toDate() {
|
|
788
|
-
return new Date(this.valueOf());
|
|
789
|
-
};
|
|
790
|
-
|
|
791
|
-
_proto.toJSON = function toJSON() {
|
|
792
|
-
return this.isValid() ? this.toISOString() : null;
|
|
793
|
-
};
|
|
794
|
-
|
|
795
|
-
_proto.toISOString = function toISOString() {
|
|
796
|
-
// ie 8 return
|
|
797
|
-
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
|
798
|
-
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
|
799
|
-
return this.$d.toISOString();
|
|
800
|
-
};
|
|
801
|
-
|
|
802
|
-
_proto.toString = function toString() {
|
|
803
|
-
return this.$d.toUTCString();
|
|
804
|
-
};
|
|
805
|
-
|
|
806
|
-
return Dayjs;
|
|
807
|
-
}();
|
|
808
|
-
|
|
809
|
-
var proto = Dayjs.prototype;
|
|
810
|
-
dayjs.prototype = proto;
|
|
811
|
-
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
|
812
|
-
proto[g[1]] = function (input) {
|
|
813
|
-
return this.$g(input, g[0], g[1]);
|
|
814
|
-
};
|
|
815
|
-
});
|
|
816
|
-
|
|
817
|
-
dayjs.extend = function (plugin, option) {
|
|
818
|
-
if (!plugin.$i) {
|
|
819
|
-
// install plugin only once
|
|
820
|
-
plugin(option, Dayjs, dayjs);
|
|
821
|
-
plugin.$i = true;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
return dayjs;
|
|
825
|
-
};
|
|
826
|
-
|
|
827
|
-
dayjs.locale = parseLocale;
|
|
828
|
-
dayjs.isDayjs = isDayjs;
|
|
829
|
-
|
|
830
|
-
dayjs.unix = function (timestamp) {
|
|
831
|
-
return dayjs(timestamp * 1e3);
|
|
832
|
-
};
|
|
833
|
-
|
|
834
|
-
dayjs.en = Ls[L];
|
|
835
|
-
dayjs.Ls = Ls;
|
|
836
|
-
dayjs.p = {};
|
|
837
|
-
|
|
838
|
-
// eslint-disable-next-line import/prefer-default-export
|
|
839
|
-
var t = function t(format) {
|
|
840
|
-
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
|
841
|
-
return a || b.slice(1);
|
|
842
|
-
});
|
|
843
|
-
};
|
|
844
|
-
var englishFormats = {
|
|
845
|
-
LTS: 'h:mm:ss A',
|
|
846
|
-
LT: 'h:mm A',
|
|
847
|
-
L: 'MM/DD/YYYY',
|
|
848
|
-
LL: 'MMMM D, YYYY',
|
|
849
|
-
LLL: 'MMMM D, YYYY h:mm A',
|
|
850
|
-
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
|
851
|
-
};
|
|
852
|
-
var u = function u(formatStr, formats) {
|
|
853
|
-
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
|
854
|
-
var B = b && b.toUpperCase();
|
|
855
|
-
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
|
856
|
-
});
|
|
857
|
-
};
|
|
858
|
-
|
|
859
|
-
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
|
860
|
-
var match1 = /\d/; // 0 - 9
|
|
861
|
-
|
|
862
|
-
var match2 = /\d\d/; // 00 - 99
|
|
863
|
-
|
|
864
|
-
var match3 = /\d{3}/; // 000 - 999
|
|
865
|
-
|
|
866
|
-
var match4 = /\d{4}/; // 0000 - 9999
|
|
867
|
-
|
|
868
|
-
var match1to2 = /\d\d?/; // 0 - 99
|
|
869
|
-
|
|
870
|
-
var matchSigned = /[+-]?\d+/; // -inf - inf
|
|
871
|
-
|
|
872
|
-
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
|
873
|
-
|
|
874
|
-
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
|
875
|
-
|
|
876
|
-
var locale = {};
|
|
877
|
-
|
|
878
|
-
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
|
879
|
-
input = +input;
|
|
880
|
-
return input + (input > 68 ? 1900 : 2000);
|
|
881
|
-
};
|
|
882
|
-
|
|
883
|
-
function offsetFromString(string) {
|
|
884
|
-
if (!string) return 0;
|
|
885
|
-
if (string === 'Z') return 0;
|
|
886
|
-
var parts = string.match(/([+-]|\d\d)/g);
|
|
887
|
-
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
|
888
|
-
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
var addInput = function addInput(property) {
|
|
892
|
-
return function (input) {
|
|
893
|
-
this[property] = +input;
|
|
894
|
-
};
|
|
895
|
-
};
|
|
896
|
-
|
|
897
|
-
var zoneExpressions = [matchOffset, function (input) {
|
|
898
|
-
var zone = this.zone || (this.zone = {});
|
|
899
|
-
zone.offset = offsetFromString(input);
|
|
900
|
-
}];
|
|
901
|
-
|
|
902
|
-
var getLocalePart = function getLocalePart(name) {
|
|
903
|
-
var part = locale[name];
|
|
904
|
-
return part && (part.indexOf ? part : part.s.concat(part.f));
|
|
905
|
-
};
|
|
906
|
-
|
|
907
|
-
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
|
908
|
-
var isAfternoon;
|
|
909
|
-
var _locale = locale,
|
|
910
|
-
meridiem = _locale.meridiem;
|
|
911
|
-
|
|
912
|
-
if (!meridiem) {
|
|
913
|
-
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
|
914
|
-
} else {
|
|
915
|
-
for (var i = 1; i <= 24; i += 1) {
|
|
916
|
-
// todo: fix input === meridiem(i, 0, isLowerCase)
|
|
917
|
-
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
|
918
|
-
isAfternoon = i > 12;
|
|
919
|
-
break;
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
return isAfternoon;
|
|
925
|
-
};
|
|
926
|
-
|
|
927
|
-
var expressions = {
|
|
928
|
-
A: [matchWord, function (input) {
|
|
929
|
-
this.afternoon = meridiemMatch(input, false);
|
|
930
|
-
}],
|
|
931
|
-
a: [matchWord, function (input) {
|
|
932
|
-
this.afternoon = meridiemMatch(input, true);
|
|
933
|
-
}],
|
|
934
|
-
S: [match1, function (input) {
|
|
935
|
-
this.milliseconds = +input * 100;
|
|
936
|
-
}],
|
|
937
|
-
SS: [match2, function (input) {
|
|
938
|
-
this.milliseconds = +input * 10;
|
|
939
|
-
}],
|
|
940
|
-
SSS: [match3, function (input) {
|
|
941
|
-
this.milliseconds = +input;
|
|
942
|
-
}],
|
|
943
|
-
s: [match1to2, addInput('seconds')],
|
|
944
|
-
ss: [match1to2, addInput('seconds')],
|
|
945
|
-
m: [match1to2, addInput('minutes')],
|
|
946
|
-
mm: [match1to2, addInput('minutes')],
|
|
947
|
-
H: [match1to2, addInput('hours')],
|
|
948
|
-
h: [match1to2, addInput('hours')],
|
|
949
|
-
HH: [match1to2, addInput('hours')],
|
|
950
|
-
hh: [match1to2, addInput('hours')],
|
|
951
|
-
D: [match1to2, addInput('day')],
|
|
952
|
-
DD: [match2, addInput('day')],
|
|
953
|
-
Do: [matchWord, function (input) {
|
|
954
|
-
var _locale2 = locale,
|
|
955
|
-
ordinal = _locale2.ordinal;
|
|
956
|
-
|
|
957
|
-
var _input$match = input.match(/\d+/);
|
|
958
|
-
|
|
959
|
-
this.day = _input$match[0];
|
|
960
|
-
if (!ordinal) return;
|
|
961
|
-
|
|
962
|
-
for (var i = 1; i <= 31; i += 1) {
|
|
963
|
-
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
|
964
|
-
this.day = i;
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
}],
|
|
968
|
-
M: [match1to2, addInput('month')],
|
|
969
|
-
MM: [match2, addInput('month')],
|
|
970
|
-
MMM: [matchWord, function (input) {
|
|
971
|
-
var months = getLocalePart('months');
|
|
972
|
-
var monthsShort = getLocalePart('monthsShort');
|
|
973
|
-
var matchIndex = (monthsShort || months.map(function (_) {
|
|
974
|
-
return _.slice(0, 3);
|
|
975
|
-
})).indexOf(input) + 1;
|
|
976
|
-
|
|
977
|
-
if (matchIndex < 1) {
|
|
978
|
-
throw new Error();
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
this.month = matchIndex % 12 || matchIndex;
|
|
982
|
-
}],
|
|
983
|
-
MMMM: [matchWord, function (input) {
|
|
984
|
-
var months = getLocalePart('months');
|
|
985
|
-
var matchIndex = months.indexOf(input) + 1;
|
|
986
|
-
|
|
987
|
-
if (matchIndex < 1) {
|
|
988
|
-
throw new Error();
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
this.month = matchIndex % 12 || matchIndex;
|
|
992
|
-
}],
|
|
993
|
-
Y: [matchSigned, addInput('year')],
|
|
994
|
-
YY: [match2, function (input) {
|
|
995
|
-
this.year = parseTwoDigitYear(input);
|
|
996
|
-
}],
|
|
997
|
-
YYYY: [match4, addInput('year')],
|
|
998
|
-
Z: zoneExpressions,
|
|
999
|
-
ZZ: zoneExpressions
|
|
1000
|
-
};
|
|
1001
|
-
|
|
1002
|
-
function correctHours(time) {
|
|
1003
|
-
var afternoon = time.afternoon;
|
|
1004
|
-
|
|
1005
|
-
if (afternoon !== undefined) {
|
|
1006
|
-
var hours = time.hours;
|
|
1007
|
-
|
|
1008
|
-
if (afternoon) {
|
|
1009
|
-
if (hours < 12) {
|
|
1010
|
-
time.hours += 12;
|
|
1011
|
-
}
|
|
1012
|
-
} else if (hours === 12) {
|
|
1013
|
-
time.hours = 0;
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
delete time.afternoon;
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
function makeParser(format) {
|
|
1021
|
-
format = u(format, locale && locale.formats);
|
|
1022
|
-
var array = format.match(formattingTokens);
|
|
1023
|
-
var length = array.length;
|
|
1024
|
-
|
|
1025
|
-
for (var i = 0; i < length; i += 1) {
|
|
1026
|
-
var token = array[i];
|
|
1027
|
-
var parseTo = expressions[token];
|
|
1028
|
-
var regex = parseTo && parseTo[0];
|
|
1029
|
-
var parser = parseTo && parseTo[1];
|
|
1030
|
-
|
|
1031
|
-
if (parser) {
|
|
1032
|
-
array[i] = {
|
|
1033
|
-
regex: regex,
|
|
1034
|
-
parser: parser
|
|
1035
|
-
};
|
|
1036
|
-
} else {
|
|
1037
|
-
array[i] = token.replace(/^\[|\]$/g, '');
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
return function (input) {
|
|
1042
|
-
var time = {};
|
|
1043
|
-
|
|
1044
|
-
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
|
1045
|
-
var _token = array[_i];
|
|
1046
|
-
|
|
1047
|
-
if (typeof _token === 'string') {
|
|
1048
|
-
start += _token.length;
|
|
1049
|
-
} else {
|
|
1050
|
-
var _regex = _token.regex,
|
|
1051
|
-
_parser = _token.parser;
|
|
1052
|
-
var part = input.slice(start);
|
|
1053
|
-
|
|
1054
|
-
var match = _regex.exec(part);
|
|
1055
|
-
|
|
1056
|
-
var value = match[0];
|
|
1057
|
-
|
|
1058
|
-
_parser.call(time, value);
|
|
1059
|
-
|
|
1060
|
-
input = input.replace(value, '');
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
correctHours(time);
|
|
1065
|
-
return time;
|
|
1066
|
-
};
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
|
1070
|
-
try {
|
|
1071
|
-
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
|
1072
|
-
var parser = makeParser(format);
|
|
1073
|
-
|
|
1074
|
-
var _parser2 = parser(input),
|
|
1075
|
-
year = _parser2.year,
|
|
1076
|
-
month = _parser2.month,
|
|
1077
|
-
day = _parser2.day,
|
|
1078
|
-
hours = _parser2.hours,
|
|
1079
|
-
minutes = _parser2.minutes,
|
|
1080
|
-
seconds = _parser2.seconds,
|
|
1081
|
-
milliseconds = _parser2.milliseconds,
|
|
1082
|
-
zone = _parser2.zone;
|
|
1083
|
-
|
|
1084
|
-
var now = new Date();
|
|
1085
|
-
var d = day || (!year && !month ? now.getDate() : 1);
|
|
1086
|
-
var y = year || now.getFullYear();
|
|
1087
|
-
var M = 0;
|
|
1088
|
-
|
|
1089
|
-
if (!(year && !month)) {
|
|
1090
|
-
M = month > 0 ? month - 1 : now.getMonth();
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
var h = hours || 0;
|
|
1094
|
-
var m = minutes || 0;
|
|
1095
|
-
var s = seconds || 0;
|
|
1096
|
-
var ms = milliseconds || 0;
|
|
1097
|
-
|
|
1098
|
-
if (zone) {
|
|
1099
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
if (utc) {
|
|
1103
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
return new Date(y, M, d, h, m, s, ms);
|
|
1107
|
-
} catch (e) {
|
|
1108
|
-
return new Date(''); // Invalid Date
|
|
1109
|
-
}
|
|
1110
|
-
};
|
|
1111
|
-
|
|
1112
|
-
const customParseFormat = (function (o, C, d) {
|
|
1113
|
-
d.p.customParseFormat = true;
|
|
1114
|
-
|
|
1115
|
-
if (o && o.parseTwoDigitYear) {
|
|
1116
|
-
parseTwoDigitYear = o.parseTwoDigitYear;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
var proto = C.prototype;
|
|
1120
|
-
var oldParse = proto.parse;
|
|
1121
|
-
|
|
1122
|
-
proto.parse = function (cfg) {
|
|
1123
|
-
var date = cfg.date,
|
|
1124
|
-
utc = cfg.utc,
|
|
1125
|
-
args = cfg.args;
|
|
1126
|
-
this.$u = utc;
|
|
1127
|
-
var format = args[1];
|
|
1128
|
-
|
|
1129
|
-
if (typeof format === 'string') {
|
|
1130
|
-
var isStrictWithoutLocale = args[2] === true;
|
|
1131
|
-
var isStrictWithLocale = args[3] === true;
|
|
1132
|
-
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
|
1133
|
-
var pl = args[2];
|
|
1134
|
-
|
|
1135
|
-
if (isStrictWithLocale) {
|
|
1136
|
-
pl = args[2];
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
locale = this.$locale();
|
|
1140
|
-
|
|
1141
|
-
if (!isStrictWithoutLocale && pl) {
|
|
1142
|
-
locale = d.Ls[pl];
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
this.$d = parseFormattedInput(date, format, utc);
|
|
1146
|
-
this.init();
|
|
1147
|
-
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
|
1148
|
-
// input number 1410715640579 and format string '1410715640579' equal
|
|
1149
|
-
// eslint-disable-next-line eqeqeq
|
|
1150
|
-
|
|
1151
|
-
if (isStrict && date != this.format(format)) {
|
|
1152
|
-
this.$d = new Date('');
|
|
1153
|
-
} // reset global locale to make parallel unit test
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
locale = {};
|
|
1157
|
-
} else if (format instanceof Array) {
|
|
1158
|
-
var len = format.length;
|
|
1159
|
-
|
|
1160
|
-
for (var i = 1; i <= len; i += 1) {
|
|
1161
|
-
args[1] = format[i - 1];
|
|
1162
|
-
var result = d.apply(this, args);
|
|
1163
|
-
|
|
1164
|
-
if (result.isValid()) {
|
|
1165
|
-
this.$d = result.$d;
|
|
1166
|
-
this.$L = result.$L;
|
|
1167
|
-
this.init();
|
|
1168
|
-
break;
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
if (i === len) this.$d = new Date('');
|
|
1172
|
-
}
|
|
1173
|
-
} else {
|
|
1174
|
-
oldParse.call(this, cfg);
|
|
1175
|
-
}
|
|
1176
|
-
};
|
|
1177
|
-
});
|
|
1178
|
-
|
|
1179
|
-
const localeData = (function (o, c, dayjs) {
|
|
1180
|
-
// locale needed later
|
|
1181
|
-
var proto = c.prototype;
|
|
1182
|
-
|
|
1183
|
-
var getLocalePart = function getLocalePart(part) {
|
|
1184
|
-
return part && (part.indexOf ? part : part.s);
|
|
1185
|
-
};
|
|
1186
|
-
|
|
1187
|
-
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
|
1188
|
-
var locale = ins.name ? ins : ins.$locale();
|
|
1189
|
-
var targetLocale = getLocalePart(locale[target]);
|
|
1190
|
-
var fullLocale = getLocalePart(locale[full]);
|
|
1191
|
-
var result = targetLocale || fullLocale.map(function (f) {
|
|
1192
|
-
return f.slice(0, num);
|
|
1193
|
-
});
|
|
1194
|
-
if (!localeOrder) return result;
|
|
1195
|
-
var weekStart = locale.weekStart;
|
|
1196
|
-
return result.map(function (_, index) {
|
|
1197
|
-
return result[(index + (weekStart || 0)) % 7];
|
|
1198
|
-
});
|
|
1199
|
-
};
|
|
1200
|
-
|
|
1201
|
-
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
|
1202
|
-
return dayjs.Ls[dayjs.locale()];
|
|
1203
|
-
};
|
|
1204
|
-
|
|
1205
|
-
var getLongDateFormat = function getLongDateFormat(l, format) {
|
|
1206
|
-
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
|
1207
|
-
};
|
|
1208
|
-
|
|
1209
|
-
var localeData = function localeData() {
|
|
1210
|
-
var _this = this;
|
|
1211
|
-
|
|
1212
|
-
return {
|
|
1213
|
-
months: function months(instance) {
|
|
1214
|
-
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
|
1215
|
-
},
|
|
1216
|
-
monthsShort: function monthsShort(instance) {
|
|
1217
|
-
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
|
1218
|
-
},
|
|
1219
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
|
1220
|
-
return _this.$locale().weekStart || 0;
|
|
1221
|
-
},
|
|
1222
|
-
weekdays: function weekdays(instance) {
|
|
1223
|
-
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
|
1224
|
-
},
|
|
1225
|
-
weekdaysMin: function weekdaysMin(instance) {
|
|
1226
|
-
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
|
1227
|
-
},
|
|
1228
|
-
weekdaysShort: function weekdaysShort(instance) {
|
|
1229
|
-
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
|
1230
|
-
},
|
|
1231
|
-
longDateFormat: function longDateFormat(format) {
|
|
1232
|
-
return getLongDateFormat(_this.$locale(), format);
|
|
1233
|
-
},
|
|
1234
|
-
meridiem: this.$locale().meridiem,
|
|
1235
|
-
ordinal: this.$locale().ordinal
|
|
1236
|
-
};
|
|
1237
|
-
};
|
|
1238
|
-
|
|
1239
|
-
proto.localeData = function () {
|
|
1240
|
-
return localeData.bind(this)();
|
|
1241
|
-
};
|
|
1242
|
-
|
|
1243
|
-
dayjs.localeData = function () {
|
|
1244
|
-
var localeObject = getDayjsLocaleObject();
|
|
1245
|
-
return {
|
|
1246
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
|
1247
|
-
return localeObject.weekStart || 0;
|
|
1248
|
-
},
|
|
1249
|
-
weekdays: function weekdays() {
|
|
1250
|
-
return dayjs.weekdays();
|
|
1251
|
-
},
|
|
1252
|
-
weekdaysShort: function weekdaysShort() {
|
|
1253
|
-
return dayjs.weekdaysShort();
|
|
1254
|
-
},
|
|
1255
|
-
weekdaysMin: function weekdaysMin() {
|
|
1256
|
-
return dayjs.weekdaysMin();
|
|
1257
|
-
},
|
|
1258
|
-
months: function months() {
|
|
1259
|
-
return dayjs.months();
|
|
1260
|
-
},
|
|
1261
|
-
monthsShort: function monthsShort() {
|
|
1262
|
-
return dayjs.monthsShort();
|
|
1263
|
-
},
|
|
1264
|
-
longDateFormat: function longDateFormat(format) {
|
|
1265
|
-
return getLongDateFormat(localeObject, format);
|
|
1266
|
-
},
|
|
1267
|
-
meridiem: localeObject.meridiem,
|
|
1268
|
-
ordinal: localeObject.ordinal
|
|
1269
|
-
};
|
|
1270
|
-
};
|
|
1271
|
-
|
|
1272
|
-
dayjs.months = function () {
|
|
1273
|
-
return getShort(getDayjsLocaleObject(), 'months');
|
|
1274
|
-
};
|
|
1275
|
-
|
|
1276
|
-
dayjs.monthsShort = function () {
|
|
1277
|
-
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
|
1278
|
-
};
|
|
1279
|
-
|
|
1280
|
-
dayjs.weekdays = function (localeOrder) {
|
|
1281
|
-
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
|
1282
|
-
};
|
|
1283
|
-
|
|
1284
|
-
dayjs.weekdaysShort = function (localeOrder) {
|
|
1285
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
|
1286
|
-
};
|
|
1287
|
-
|
|
1288
|
-
dayjs.weekdaysMin = function (localeOrder) {
|
|
1289
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
|
1290
|
-
};
|
|
1291
|
-
});
|
|
1292
|
-
|
|
1293
|
-
const localizedFormat = (function (o, c, d) {
|
|
1294
|
-
var proto = c.prototype;
|
|
1295
|
-
var oldFormat = proto.format;
|
|
1296
|
-
d.en.formats = englishFormats;
|
|
1297
|
-
|
|
1298
|
-
proto.format = function (formatStr) {
|
|
1299
|
-
if (formatStr === void 0) {
|
|
1300
|
-
formatStr = FORMAT_DEFAULT;
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
var _this$$locale = this.$locale(),
|
|
1304
|
-
_this$$locale$formats = _this$$locale.formats,
|
|
1305
|
-
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
|
1306
|
-
|
|
1307
|
-
var result = u(formatStr, formats);
|
|
1308
|
-
return oldFormat.call(this, result);
|
|
1309
|
-
};
|
|
1310
|
-
});
|
|
1311
|
-
|
|
1312
|
-
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
|
1313
|
-
const preParsePostFormat = (function (option, dayjsClass) {
|
|
1314
|
-
var oldParse = dayjsClass.prototype.parse;
|
|
1315
|
-
|
|
1316
|
-
dayjsClass.prototype.parse = function (cfg) {
|
|
1317
|
-
if (typeof cfg.date === 'string') {
|
|
1318
|
-
var locale = this.$locale();
|
|
1319
|
-
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
|
1320
|
-
} // original parse result
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
return oldParse.bind(this)(cfg);
|
|
1324
|
-
}; // // overriding existing API
|
|
1325
|
-
// // e.g. extend dayjs().format()
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
var oldFormat = dayjsClass.prototype.format;
|
|
1329
|
-
|
|
1330
|
-
dayjsClass.prototype.format = function () {
|
|
1331
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1332
|
-
args[_key] = arguments[_key];
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
// original format result
|
|
1336
|
-
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
|
1337
|
-
|
|
1338
|
-
var locale = this.$locale();
|
|
1339
|
-
return locale && locale.postformat ? locale.postformat(result) : result;
|
|
1340
|
-
};
|
|
1341
|
-
|
|
1342
|
-
var oldFromTo = dayjsClass.prototype.fromToBase;
|
|
1343
|
-
|
|
1344
|
-
if (oldFromTo) {
|
|
1345
|
-
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
|
1346
|
-
var locale = this.$locale() || instance.$locale(); // original format result
|
|
1347
|
-
|
|
1348
|
-
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
|
1349
|
-
};
|
|
1350
|
-
}
|
|
1351
|
-
});
|
|
1352
|
-
|
|
1353
|
-
const updateLocale = (function (option, Dayjs, dayjs) {
|
|
1354
|
-
dayjs.updateLocale = function (locale, customConfig) {
|
|
1355
|
-
var localeList = dayjs.Ls;
|
|
1356
|
-
var localeConfig = localeList[locale];
|
|
1357
|
-
if (!localeConfig) return;
|
|
1358
|
-
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
|
1359
|
-
customConfigKeys.forEach(function (c) {
|
|
1360
|
-
localeConfig[c] = customConfig[c];
|
|
1361
|
-
});
|
|
1362
|
-
return localeConfig; // eslint-disable-line consistent-return
|
|
1363
|
-
};
|
|
1364
|
-
});
|
|
1365
|
-
|
|
1366
|
-
const inputTimePickerCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(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]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{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)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
1367
|
-
|
|
1368
|
-
// some bundlers (e.g., Webpack) need dynamic import paths to be static
|
|
1369
|
-
const supportedDayJsLocaleToLocaleConfigImport = new Map([
|
|
1370
|
-
["ar", () => Promise.resolve().then(function () { return require('./ar-b679b64e.js'); })],
|
|
1371
|
-
["bg", () => Promise.resolve().then(function () { return require('./bg-6e25c52c.js'); })],
|
|
1372
|
-
["bs", () => Promise.resolve().then(function () { return require('./bs-c10bd55f.js'); })],
|
|
1373
|
-
["ca", () => Promise.resolve().then(function () { return require('./ca-af9f9ee9.js'); })],
|
|
1374
|
-
["cs", () => Promise.resolve().then(function () { return require('./cs-8efc7e93.js'); })],
|
|
1375
|
-
["da", () => Promise.resolve().then(function () { return require('./da-2576fb21.js'); })],
|
|
1376
|
-
["de", () => Promise.resolve().then(function () { return require('./de-79492ef9.js'); })],
|
|
1377
|
-
["de-at", () => Promise.resolve().then(function () { return require('./de-at-d762ef99.js'); })],
|
|
1378
|
-
["de-ch", () => Promise.resolve().then(function () { return require('./de-ch-9668c362.js'); })],
|
|
1379
|
-
["el", () => Promise.resolve().then(function () { return require('./el-2902711a.js'); })],
|
|
1380
|
-
["en", () => Promise.resolve().then(function () { return en$1; })],
|
|
1381
|
-
["en-au", () => Promise.resolve().then(function () { return require('./en-au-e4aa6bda.js'); })],
|
|
1382
|
-
["en-ca", () => Promise.resolve().then(function () { return require('./en-ca-82815aae.js'); })],
|
|
1383
|
-
["en-gb", () => Promise.resolve().then(function () { return require('./en-gb-e91a9581.js'); })],
|
|
1384
|
-
["es", () => Promise.resolve().then(function () { return require('./es-773cc110.js'); })],
|
|
1385
|
-
["es-mx", () => Promise.resolve().then(function () { return require('./es-mx-b83354a0.js'); })],
|
|
1386
|
-
["et", () => Promise.resolve().then(function () { return require('./et-669b904a.js'); })],
|
|
1387
|
-
["fi", () => Promise.resolve().then(function () { return require('./fi-cdd034c7.js'); })],
|
|
1388
|
-
["fr", () => Promise.resolve().then(function () { return require('./fr-e4eba765.js'); })],
|
|
1389
|
-
["fr-ch", () => Promise.resolve().then(function () { return require('./fr-ch-53e66d24.js'); })],
|
|
1390
|
-
["he", () => Promise.resolve().then(function () { return require('./he-69a907ca.js'); })],
|
|
1391
|
-
["hi", () => Promise.resolve().then(function () { return require('./hi-6b5729e0.js'); })],
|
|
1392
|
-
["hr", () => Promise.resolve().then(function () { return require('./hr-21cf5a9b.js'); })],
|
|
1393
|
-
["hu", () => Promise.resolve().then(function () { return require('./hu-9de5b7c3.js'); })],
|
|
1394
|
-
["id", () => Promise.resolve().then(function () { return require('./id-ae393609.js'); })],
|
|
1395
|
-
["it", () => Promise.resolve().then(function () { return require('./it-8f85a1c7.js'); })],
|
|
1396
|
-
["it-ch", () => Promise.resolve().then(function () { return require('./it-ch-509a7b4d.js'); })],
|
|
1397
|
-
["ja", () => Promise.resolve().then(function () { return require('./ja-7f549c9b.js'); })],
|
|
1398
|
-
["ko", () => Promise.resolve().then(function () { return require('./ko-629ad646.js'); })],
|
|
1399
|
-
["lt", () => Promise.resolve().then(function () { return require('./lt-259f658c.js'); })],
|
|
1400
|
-
["lv", () => Promise.resolve().then(function () { return require('./lv-f359a110.js'); })],
|
|
1401
|
-
["mk", () => Promise.resolve().then(function () { return require('./mk-bc68d0f2.js'); })],
|
|
1402
|
-
["nl", () => Promise.resolve().then(function () { return require('./nl-1f7f084e.js'); })],
|
|
1403
|
-
["nb", () => Promise.resolve().then(function () { return require('./nb-96059dec.js'); })],
|
|
1404
|
-
["pl", () => Promise.resolve().then(function () { return require('./pl-3a4ae730.js'); })],
|
|
1405
|
-
["pt", () => Promise.resolve().then(function () { return require('./pt-c0c4b6d7.js'); })],
|
|
1406
|
-
["pt-br", () => Promise.resolve().then(function () { return require('./pt-br-77494554.js'); })],
|
|
1407
|
-
["ro", () => Promise.resolve().then(function () { return require('./ro-771a42fd.js'); })],
|
|
1408
|
-
["ru", () => Promise.resolve().then(function () { return require('./ru-b2512ddd.js'); })],
|
|
1409
|
-
["sk", () => Promise.resolve().then(function () { return require('./sk-ff042505.js'); })],
|
|
1410
|
-
["sl", () => Promise.resolve().then(function () { return require('./sl-1e9606e2.js'); })],
|
|
1411
|
-
["sr", () => Promise.resolve().then(function () { return require('./sr-c5f58649.js'); })],
|
|
1412
|
-
["sv", () => Promise.resolve().then(function () { return require('./sv-f1e836f1.js'); })],
|
|
1413
|
-
["th", () => Promise.resolve().then(function () { return require('./th-6089b9e9.js'); })],
|
|
1414
|
-
["tr", () => Promise.resolve().then(function () { return require('./tr-89f2afef.js'); })],
|
|
1415
|
-
["uk", () => Promise.resolve().then(function () { return require('./uk-24c1804c.js'); })],
|
|
1416
|
-
["vi", () => Promise.resolve().then(function () { return require('./vi-0e7d6513.js'); })],
|
|
1417
|
-
["zh-cn", () => Promise.resolve().then(function () { return require('./zh-cn-ea74a45f.js'); })],
|
|
1418
|
-
["zh-hk", () => Promise.resolve().then(function () { return require('./zh-hk-8cf9ec57.js'); })],
|
|
1419
|
-
["zh-tw", () => Promise.resolve().then(function () { return require('./zh-tw-d74a27fb.js'); })],
|
|
1420
|
-
]);
|
|
1421
|
-
dayjs.extend(customParseFormat);
|
|
1422
|
-
dayjs.extend(localeData);
|
|
1423
|
-
dayjs.extend(localizedFormat);
|
|
1424
|
-
dayjs.extend(preParsePostFormat);
|
|
1425
|
-
dayjs.extend(updateLocale);
|
|
1426
|
-
const InputTimePicker = class {
|
|
1427
|
-
constructor(hostRef) {
|
|
1428
|
-
index.registerInstance(this, hostRef);
|
|
1429
|
-
this.calciteInputTimePickerChange = index.createEvent(this, "calciteInputTimePickerChange", 7);
|
|
1430
|
-
this.focusOnOpen = false;
|
|
1431
|
-
this.dialogId = `time-picker-dialog--${guid.guid()}`;
|
|
1432
|
-
/** whether the value of the input was changed as a result of user typing or not */
|
|
1433
|
-
this.userChangedValue = false;
|
|
1434
|
-
this.referenceElementId = `input-time-picker-${guid.guid()}`;
|
|
1435
|
-
//--------------------------------------------------------------------------
|
|
1436
|
-
//
|
|
1437
|
-
// Event Listeners
|
|
1438
|
-
//
|
|
1439
|
-
//--------------------------------------------------------------------------
|
|
1440
|
-
this.hostBlurHandler = () => {
|
|
1441
|
-
const inputValue = this.calciteInputEl.value;
|
|
1442
|
-
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
|
1443
|
-
if (!delocalizedInputValue) {
|
|
1444
|
-
this.setValue("");
|
|
1445
|
-
return;
|
|
1446
|
-
}
|
|
1447
|
-
if (delocalizedInputValue !== this.value) {
|
|
1448
|
-
this.setValue(delocalizedInputValue);
|
|
1449
|
-
}
|
|
1450
|
-
const localizedTimeString = localizeTimeString({
|
|
1451
|
-
value: this.value,
|
|
1452
|
-
locale: this.effectiveLocale,
|
|
1453
|
-
numberingSystem: this.numberingSystem,
|
|
1454
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1455
|
-
});
|
|
1456
|
-
if (localizedTimeString !== inputValue) {
|
|
1457
|
-
this.setInputValue(localizedTimeString);
|
|
1458
|
-
}
|
|
1459
|
-
this.deactivate();
|
|
1460
|
-
};
|
|
1461
|
-
this.calciteInternalInputFocusHandler = (event) => {
|
|
1462
|
-
if (!this.readOnly) {
|
|
1463
|
-
event.stopPropagation();
|
|
1464
|
-
}
|
|
1465
|
-
};
|
|
1466
|
-
this.calciteInternalInputInputHandler = (event) => {
|
|
1467
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
|
1468
|
-
if (numberingSystem && numberingSystem !== "latn") {
|
|
1469
|
-
const target = event.target;
|
|
1470
|
-
locale$1.numberStringFormatter.numberFormatOptions = {
|
|
1471
|
-
locale,
|
|
1472
|
-
numberingSystem,
|
|
1473
|
-
useGrouping: false,
|
|
1474
|
-
};
|
|
1475
|
-
const valueInNumberingSystem = locale$1.numberStringFormatter
|
|
1476
|
-
.delocalize(target.value)
|
|
1477
|
-
.split("")
|
|
1478
|
-
.map((char) => key.numberKeys.includes(char)
|
|
1479
|
-
? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
|
|
1480
|
-
: char)
|
|
1481
|
-
.join("");
|
|
1482
|
-
this.setInputValue(valueInNumberingSystem);
|
|
1483
|
-
}
|
|
1484
|
-
};
|
|
1485
|
-
this.timePickerChangeHandler = (event) => {
|
|
1486
|
-
event.stopPropagation();
|
|
1487
|
-
const target = event.target;
|
|
1488
|
-
const value = target.value;
|
|
1489
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
|
1490
|
-
this.setValue(toISOTimeString(value, includeSeconds));
|
|
1491
|
-
this.setInputValue(localizeTimeString({
|
|
1492
|
-
value,
|
|
1493
|
-
locale: this.effectiveLocale,
|
|
1494
|
-
numberingSystem: this.numberingSystem,
|
|
1495
|
-
includeSeconds,
|
|
1496
|
-
}));
|
|
1497
|
-
};
|
|
1498
|
-
this.popoverCloseHandler = () => {
|
|
1499
|
-
focusTrapComponent.deactivateFocusTrap(this, {
|
|
1500
|
-
onDeactivate: () => {
|
|
1501
|
-
this.calciteInputEl.setFocus();
|
|
1502
|
-
this.focusOnOpen = false;
|
|
1503
|
-
},
|
|
1504
|
-
});
|
|
1505
|
-
};
|
|
1506
|
-
this.popoverOpenHandler = () => {
|
|
1507
|
-
focusTrapComponent.activateFocusTrap(this, {
|
|
1508
|
-
onActivate: () => {
|
|
1509
|
-
if (this.focusOnOpen) {
|
|
1510
|
-
this.calciteTimePickerEl.setFocus();
|
|
1511
|
-
this.focusOnOpen = false;
|
|
1512
|
-
}
|
|
1513
|
-
},
|
|
1514
|
-
});
|
|
1515
|
-
};
|
|
1516
|
-
this.keyDownHandler = (event) => {
|
|
1517
|
-
const { defaultPrevented, key } = event;
|
|
1518
|
-
if (defaultPrevented) {
|
|
1519
|
-
return;
|
|
1520
|
-
}
|
|
1521
|
-
if (key === "Enter") {
|
|
1522
|
-
if (form.submitForm(this)) {
|
|
1523
|
-
event.preventDefault();
|
|
1524
|
-
this.calciteInputEl.setFocus();
|
|
1525
|
-
}
|
|
1526
|
-
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
|
1527
|
-
return;
|
|
1528
|
-
}
|
|
1529
|
-
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
|
1530
|
-
this.setValue(newValue);
|
|
1531
|
-
const localizedTimeString = localizeTimeString({
|
|
1532
|
-
value: this.value,
|
|
1533
|
-
locale: this.effectiveLocale,
|
|
1534
|
-
numberingSystem: this.numberingSystem,
|
|
1535
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1536
|
-
});
|
|
1537
|
-
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
|
1538
|
-
this.setInputValue(localizedTimeString);
|
|
1539
|
-
}
|
|
1540
|
-
}
|
|
1541
|
-
else if (key === "ArrowDown") {
|
|
1542
|
-
this.open = true;
|
|
1543
|
-
this.focusOnOpen = true;
|
|
1544
|
-
event.preventDefault();
|
|
1545
|
-
}
|
|
1546
|
-
else if (key === "Escape" && this.open) {
|
|
1547
|
-
this.open = false;
|
|
1548
|
-
event.preventDefault();
|
|
1549
|
-
this.calciteInputEl.setFocus();
|
|
1550
|
-
}
|
|
1551
|
-
};
|
|
1552
|
-
this.setCalcitePopoverEl = (el) => {
|
|
1553
|
-
this.popoverEl = el;
|
|
1554
|
-
};
|
|
1555
|
-
this.setCalciteInputEl = (el) => {
|
|
1556
|
-
this.calciteInputEl = el;
|
|
1557
|
-
};
|
|
1558
|
-
this.setCalciteTimePickerEl = (el) => {
|
|
1559
|
-
this.calciteTimePickerEl = el;
|
|
1560
|
-
focusTrapComponent.connectFocusTrap(this, {
|
|
1561
|
-
focusTrapEl: el,
|
|
1562
|
-
focusTrapOptions: {
|
|
1563
|
-
initialFocus: false,
|
|
1564
|
-
setReturnFocus: false,
|
|
1565
|
-
},
|
|
1566
|
-
});
|
|
1567
|
-
};
|
|
1568
|
-
this.setInputValue = (newInputValue) => {
|
|
1569
|
-
if (!this.calciteInputEl) {
|
|
1570
|
-
return;
|
|
1571
|
-
}
|
|
1572
|
-
this.calciteInputEl.value = newInputValue;
|
|
1573
|
-
};
|
|
1574
|
-
/**
|
|
1575
|
-
* Sets the value and emits a change event.
|
|
1576
|
-
* This is used to update the value as a result of user interaction.
|
|
1577
|
-
*
|
|
1578
|
-
* @param value
|
|
1579
|
-
*/
|
|
1580
|
-
this.setValue = (value) => {
|
|
1581
|
-
const oldValue = this.value;
|
|
1582
|
-
const newValue = formatTimeString(value) || "";
|
|
1583
|
-
if (newValue === oldValue) {
|
|
1584
|
-
return;
|
|
1585
|
-
}
|
|
1586
|
-
this.userChangedValue = true;
|
|
1587
|
-
this.value = newValue || "";
|
|
1588
|
-
const changeEvent = this.calciteInputTimePickerChange.emit();
|
|
1589
|
-
if (changeEvent.defaultPrevented) {
|
|
1590
|
-
this.userChangedValue = false;
|
|
1591
|
-
this.value = oldValue;
|
|
1592
|
-
this.setInputValue(localizeTimeString({
|
|
1593
|
-
value: oldValue,
|
|
1594
|
-
locale: this.effectiveLocale,
|
|
1595
|
-
numberingSystem: this.numberingSystem,
|
|
1596
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1597
|
-
}));
|
|
1598
|
-
}
|
|
1599
|
-
};
|
|
1600
|
-
/**
|
|
1601
|
-
* Sets the value directly without emitting a change event.
|
|
1602
|
-
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
|
1603
|
-
*
|
|
1604
|
-
* @param value
|
|
1605
|
-
*/
|
|
1606
|
-
this.setValueDirectly = (value) => {
|
|
1607
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
|
1608
|
-
this.value = toISOTimeString(value, includeSeconds);
|
|
1609
|
-
this.setInputValue(this.value
|
|
1610
|
-
? localizeTimeString({
|
|
1611
|
-
value: this.value,
|
|
1612
|
-
includeSeconds,
|
|
1613
|
-
locale: this.effectiveLocale,
|
|
1614
|
-
numberingSystem: this.numberingSystem,
|
|
1615
|
-
})
|
|
1616
|
-
: "");
|
|
1617
|
-
};
|
|
1618
|
-
this.onInputWrapperClick = () => {
|
|
1619
|
-
this.open = !this.open;
|
|
1620
|
-
};
|
|
1621
|
-
this.deactivate = () => {
|
|
1622
|
-
this.open = false;
|
|
1623
|
-
};
|
|
1624
|
-
this.open = false;
|
|
1625
|
-
this.disabled = false;
|
|
1626
|
-
this.focusTrapDisabled = false;
|
|
1627
|
-
this.form = undefined;
|
|
1628
|
-
this.readOnly = false;
|
|
1629
|
-
this.messageOverrides = undefined;
|
|
1630
|
-
this.messages = undefined;
|
|
1631
|
-
this.name = undefined;
|
|
1632
|
-
this.numberingSystem = undefined;
|
|
1633
|
-
this.required = false;
|
|
1634
|
-
this.scale = "m";
|
|
1635
|
-
this.overlayPositioning = "absolute";
|
|
1636
|
-
this.placement = "auto";
|
|
1637
|
-
this.step = 60;
|
|
1638
|
-
this.value = null;
|
|
1639
|
-
this.defaultMessages = undefined;
|
|
1640
|
-
this.effectiveLocale = "";
|
|
1641
|
-
}
|
|
1642
|
-
openHandler(value) {
|
|
1643
|
-
if (this.disabled || this.readOnly) {
|
|
1644
|
-
this.open = false;
|
|
1645
|
-
return;
|
|
1646
|
-
}
|
|
1647
|
-
if (value) {
|
|
1648
|
-
this.reposition(true);
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
handleFocusTrapDisabled(focusTrapDisabled) {
|
|
1652
|
-
if (!this.open) {
|
|
1653
|
-
return;
|
|
1654
|
-
}
|
|
1655
|
-
focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
|
|
1656
|
-
}
|
|
1657
|
-
handleDisabledAndReadOnlyChange(value) {
|
|
1658
|
-
if (!value) {
|
|
1659
|
-
this.open = false;
|
|
1660
|
-
}
|
|
1661
|
-
}
|
|
1662
|
-
onMessagesChange() {
|
|
1663
|
-
/* wired up by t9n util */
|
|
1664
|
-
}
|
|
1665
|
-
numberingSystemWatcher(numberingSystem) {
|
|
1666
|
-
this.setInputValue(localizeTimeString({
|
|
1667
|
-
value: this.value,
|
|
1668
|
-
locale: this.effectiveLocale,
|
|
1669
|
-
numberingSystem,
|
|
1670
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1671
|
-
}));
|
|
1672
|
-
}
|
|
1673
|
-
stepWatcher(newStep, oldStep) {
|
|
1674
|
-
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
|
1675
|
-
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
|
1676
|
-
this.setValueDirectly(this.value);
|
|
1677
|
-
}
|
|
1678
|
-
}
|
|
1679
|
-
valueWatcher(newValue) {
|
|
1680
|
-
if (!this.userChangedValue) {
|
|
1681
|
-
this.setValueDirectly(newValue);
|
|
1682
|
-
}
|
|
1683
|
-
this.userChangedValue = false;
|
|
1684
|
-
}
|
|
1685
|
-
async effectiveLocaleWatcher(locale) {
|
|
1686
|
-
await this.loadDateTimeLocaleData();
|
|
1687
|
-
this.setInputValue(localizeTimeString({
|
|
1688
|
-
value: this.value,
|
|
1689
|
-
locale,
|
|
1690
|
-
numberingSystem: this.numberingSystem,
|
|
1691
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1692
|
-
}));
|
|
1693
|
-
}
|
|
1694
|
-
// --------------------------------------------------------------------------
|
|
1695
|
-
//
|
|
1696
|
-
// Public Methods
|
|
1697
|
-
//
|
|
1698
|
-
// --------------------------------------------------------------------------
|
|
1699
|
-
/** Sets focus on the component. */
|
|
1700
|
-
async setFocus() {
|
|
1701
|
-
await loadable.componentFocusable(this);
|
|
1702
|
-
this.el.focus();
|
|
1703
|
-
}
|
|
1704
|
-
/**
|
|
1705
|
-
* Updates the position of the component.
|
|
1706
|
-
*
|
|
1707
|
-
* @param delayed
|
|
1708
|
-
*/
|
|
1709
|
-
async reposition(delayed = false) {
|
|
1710
|
-
this.popoverEl?.reposition(delayed);
|
|
1711
|
-
}
|
|
1712
|
-
// --------------------------------------------------------------------------
|
|
1713
|
-
//
|
|
1714
|
-
// Private Methods
|
|
1715
|
-
//
|
|
1716
|
-
// --------------------------------------------------------------------------
|
|
1717
|
-
delocalizeTimeString(value) {
|
|
1718
|
-
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
|
1719
|
-
dayjs.locale(this.effectiveLocale.toLowerCase());
|
|
1720
|
-
const dayjsParseResult = dayjs(value, ["LTS", "LT"]);
|
|
1721
|
-
if (dayjsParseResult.isValid()) {
|
|
1722
|
-
let unformattedTimeString = `${dayjsParseResult.get("hour")}:${dayjsParseResult.get("minute")}`;
|
|
1723
|
-
if (this.shouldIncludeSeconds()) {
|
|
1724
|
-
unformattedTimeString += `:${dayjsParseResult.get("seconds") || 0}`;
|
|
1725
|
-
}
|
|
1726
|
-
return formatTimeString(unformattedTimeString) || "";
|
|
1727
|
-
}
|
|
1728
|
-
return "";
|
|
1729
|
-
}
|
|
1730
|
-
async loadDateTimeLocaleData() {
|
|
1731
|
-
let supportedLocale = locale$1.getSupportedLocale(this.effectiveLocale).toLowerCase();
|
|
1732
|
-
if (supportedLocale === "no") {
|
|
1733
|
-
supportedLocale = "nb";
|
|
1734
|
-
}
|
|
1735
|
-
if (supportedLocale === "pt-pt") {
|
|
1736
|
-
supportedLocale = "pt";
|
|
1737
|
-
}
|
|
1738
|
-
const { default: localeConfig } = await supportedDayJsLocaleToLocaleConfigImport.get(supportedLocale)();
|
|
1739
|
-
dayjs.locale(localeConfig, null, true);
|
|
1740
|
-
dayjs.updateLocale(supportedLocale, this.getExtendedLocaleConfig(supportedLocale));
|
|
1741
|
-
}
|
|
1742
|
-
getExtendedLocaleConfig(locale) {
|
|
1743
|
-
if (locale === "ar") {
|
|
1744
|
-
return {
|
|
1745
|
-
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
|
1746
|
-
formats: {
|
|
1747
|
-
LT: "HH:mm A",
|
|
1748
|
-
LTS: "HH:mm:ss A",
|
|
1749
|
-
L: "DD/MM/YYYY",
|
|
1750
|
-
LL: "D MMMM YYYY",
|
|
1751
|
-
LLL: "D MMMM YYYY HH:mm A",
|
|
1752
|
-
LLLL: "dddd D MMMM YYYY HH:mm A",
|
|
1753
|
-
},
|
|
1754
|
-
};
|
|
1755
|
-
}
|
|
1756
|
-
if (locale === "en-au") {
|
|
1757
|
-
return {
|
|
1758
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
|
1759
|
-
};
|
|
1760
|
-
}
|
|
1761
|
-
if (locale === "en-ca") {
|
|
1762
|
-
return {
|
|
1763
|
-
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m."),
|
|
1764
|
-
};
|
|
1765
|
-
}
|
|
1766
|
-
if (locale === "el") {
|
|
1767
|
-
return {
|
|
1768
|
-
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ."),
|
|
1769
|
-
};
|
|
1770
|
-
}
|
|
1771
|
-
if (locale === "hi") {
|
|
1772
|
-
return {
|
|
1773
|
-
formats: {
|
|
1774
|
-
LT: "h:mm A",
|
|
1775
|
-
LTS: "h:mm:ss A",
|
|
1776
|
-
L: "DD/MM/YYYY",
|
|
1777
|
-
LL: "D MMMM YYYY",
|
|
1778
|
-
LLL: "D MMMM YYYY, h:mm A",
|
|
1779
|
-
LLLL: "dddd, D MMMM YYYY, h:mm A",
|
|
1780
|
-
},
|
|
1781
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
|
1782
|
-
};
|
|
1783
|
-
}
|
|
1784
|
-
if (locale === "ko") {
|
|
1785
|
-
return {
|
|
1786
|
-
meridiem: (hour) => (hour > 12 ? "오후" : "오전"),
|
|
1787
|
-
};
|
|
1788
|
-
}
|
|
1789
|
-
if (locale === "zh-tw") {
|
|
1790
|
-
return {
|
|
1791
|
-
formats: {
|
|
1792
|
-
LT: "AHH:mm",
|
|
1793
|
-
LTS: "AHH:mm:ss",
|
|
1794
|
-
},
|
|
1795
|
-
};
|
|
1796
|
-
}
|
|
1797
|
-
if (locale === "zh-hk") {
|
|
1798
|
-
return {
|
|
1799
|
-
formats: {
|
|
1800
|
-
LT: "AHH:mm",
|
|
1801
|
-
LTS: "AHH:mm:ss",
|
|
1802
|
-
},
|
|
1803
|
-
meridiem: (hour) => (hour > 12 ? "下午" : "上午"),
|
|
1804
|
-
};
|
|
1805
|
-
}
|
|
1806
|
-
}
|
|
1807
|
-
onLabelClick() {
|
|
1808
|
-
this.setFocus();
|
|
1809
|
-
}
|
|
1810
|
-
shouldIncludeSeconds() {
|
|
1811
|
-
return this.step < 60;
|
|
1812
|
-
}
|
|
1813
|
-
//--------------------------------------------------------------------------
|
|
1814
|
-
//
|
|
1815
|
-
// Lifecycle
|
|
1816
|
-
//
|
|
1817
|
-
//--------------------------------------------------------------------------
|
|
1818
|
-
connectedCallback() {
|
|
1819
|
-
interactive.connectInteractive(this);
|
|
1820
|
-
locale$1.connectLocalized(this);
|
|
1821
|
-
if (isValidTime(this.value)) {
|
|
1822
|
-
this.setValueDirectly(this.value);
|
|
1823
|
-
}
|
|
1824
|
-
else {
|
|
1825
|
-
this.value = undefined;
|
|
1826
|
-
}
|
|
1827
|
-
label.connectLabel(this);
|
|
1828
|
-
form.connectForm(this);
|
|
1829
|
-
t9n.connectMessages(this);
|
|
1830
|
-
}
|
|
1831
|
-
async componentWillLoad() {
|
|
1832
|
-
loadable.setUpLoadableComponent(this);
|
|
1833
|
-
await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
|
|
1834
|
-
}
|
|
1835
|
-
componentDidLoad() {
|
|
1836
|
-
loadable.setComponentLoaded(this);
|
|
1837
|
-
if (isValidTime(this.value)) {
|
|
1838
|
-
this.setInputValue(localizeTimeString({
|
|
1839
|
-
value: this.value,
|
|
1840
|
-
locale: this.effectiveLocale,
|
|
1841
|
-
numberingSystem: this.numberingSystem,
|
|
1842
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1843
|
-
}));
|
|
1844
|
-
}
|
|
1845
|
-
}
|
|
1846
|
-
disconnectedCallback() {
|
|
1847
|
-
interactive.disconnectInteractive(this);
|
|
1848
|
-
label.disconnectLabel(this);
|
|
1849
|
-
form.disconnectForm(this);
|
|
1850
|
-
locale$1.disconnectLocalized(this);
|
|
1851
|
-
focusTrapComponent.deactivateFocusTrap(this);
|
|
1852
|
-
t9n.disconnectMessages(this);
|
|
1853
|
-
}
|
|
1854
|
-
componentDidRender() {
|
|
1855
|
-
interactive.updateHostInteraction(this);
|
|
1856
|
-
}
|
|
1857
|
-
// --------------------------------------------------------------------------
|
|
1858
|
-
//
|
|
1859
|
-
// Render Methods
|
|
1860
|
-
//
|
|
1861
|
-
// --------------------------------------------------------------------------
|
|
1862
|
-
render() {
|
|
1863
|
-
const { disabled, messages, readOnly, dialogId } = this;
|
|
1864
|
-
return (index.h(index.Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, index.h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, index.h("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: label.getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
|
|
1865
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
1866
|
-
ref: this.setCalciteInputEl }), !this.readOnly && this.renderToggleIcon(this.open)), index.h("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,
|
|
1867
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
1868
|
-
ref: this.setCalcitePopoverEl }, index.h("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,
|
|
1869
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
1870
|
-
ref: this.setCalciteTimePickerEl })), index.h(form.HiddenFormInputSlot, { component: this })));
|
|
1871
|
-
}
|
|
1872
|
-
renderToggleIcon(open) {
|
|
1873
|
-
return (index.h("span", { class: CSS$1.toggleIcon }, index.h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
1874
|
-
}
|
|
1875
|
-
static get delegatesFocus() { return true; }
|
|
1876
|
-
static get assetsDirs() { return ["assets"]; }
|
|
1877
|
-
get el() { return index.getElement(this); }
|
|
1878
|
-
static get watchers() { return {
|
|
1879
|
-
"open": ["openHandler"],
|
|
1880
|
-
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
|
1881
|
-
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
1882
|
-
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
1883
|
-
"messageOverrides": ["onMessagesChange"],
|
|
1884
|
-
"numberingSystem": ["numberingSystemWatcher"],
|
|
1885
|
-
"step": ["stepWatcher"],
|
|
1886
|
-
"value": ["valueWatcher"],
|
|
1887
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
1888
|
-
}; }
|
|
1889
|
-
};
|
|
1890
|
-
InputTimePicker.style = inputTimePickerCss;
|
|
1891
|
-
|
|
1892
|
-
const CSS = {
|
|
1893
|
-
button: "button",
|
|
1894
|
-
buttonBottomLeft: "button--bottom-left",
|
|
1895
|
-
buttonBottomRight: "button--bottom-right",
|
|
1896
|
-
buttonHourDown: "button--hour-down",
|
|
1897
|
-
buttonHourUp: "button--hour-up",
|
|
1898
|
-
buttonMeridiemDown: "button--meridiem-down",
|
|
1899
|
-
buttonMeridiemUp: "button--meridiem-up",
|
|
1900
|
-
buttonMinuteDown: "button--minute-down",
|
|
1901
|
-
buttonMinuteUp: "button--minute-up",
|
|
1902
|
-
buttonSecondDown: "button--second-down",
|
|
1903
|
-
buttonSecondUp: "button--second-up",
|
|
1904
|
-
buttonTopLeft: "button--top-left",
|
|
1905
|
-
buttonTopRight: "button--top-right",
|
|
1906
|
-
column: "column",
|
|
1907
|
-
delimiter: "delimiter",
|
|
1908
|
-
hour: "hour",
|
|
1909
|
-
input: "input",
|
|
1910
|
-
meridiem: "meridiem",
|
|
1911
|
-
minute: "minute",
|
|
1912
|
-
second: "second",
|
|
1913
|
-
showMeridiem: "show-meridiem",
|
|
1914
|
-
showSecond: "show-second",
|
|
1915
|
-
"scale-s": "scale-s",
|
|
1916
|
-
"scale-m": "scale-m",
|
|
1917
|
-
"scale-l": "scale-l",
|
|
1918
|
-
timePicker: "time-picker",
|
|
1919
|
-
meridiemStart: "meridiem--start",
|
|
1920
|
-
};
|
|
1921
|
-
|
|
1922
|
-
const timePickerCss = ":host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);z-index:var(--calcite-app-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";
|
|
1923
|
-
|
|
1924
|
-
function capitalize(str) {
|
|
1925
|
-
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
1926
|
-
}
|
|
1927
|
-
const TimePicker = class {
|
|
1928
|
-
constructor(hostRef) {
|
|
1929
|
-
index.registerInstance(this, hostRef);
|
|
1930
|
-
this.calciteInternalTimePickerBlur = index.createEvent(this, "calciteInternalTimePickerBlur", 6);
|
|
1931
|
-
this.calciteInternalTimePickerChange = index.createEvent(this, "calciteInternalTimePickerChange", 6);
|
|
1932
|
-
this.calciteInternalTimePickerFocus = index.createEvent(this, "calciteInternalTimePickerFocus", 6);
|
|
1933
|
-
this.decrementHour = () => {
|
|
1934
|
-
const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour) - 1;
|
|
1935
|
-
this.setValuePart("hour", newHour);
|
|
1936
|
-
};
|
|
1937
|
-
this.decrementMeridiem = () => {
|
|
1938
|
-
const newMeridiem = this.meridiem === "PM" ? "AM" : "PM";
|
|
1939
|
-
this.setValuePart("meridiem", newMeridiem);
|
|
1940
|
-
};
|
|
1941
|
-
this.decrementMinuteOrSecond = (key) => {
|
|
1942
|
-
let newValue;
|
|
1943
|
-
if (locale$1.isValidNumber(this[key])) {
|
|
1944
|
-
const valueAsNumber = parseInt(this[key]);
|
|
1945
|
-
newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;
|
|
1946
|
-
}
|
|
1947
|
-
else {
|
|
1948
|
-
newValue = 59;
|
|
1949
|
-
}
|
|
1950
|
-
this.setValuePart(key, newValue);
|
|
1951
|
-
};
|
|
1952
|
-
this.decrementMinute = () => {
|
|
1953
|
-
this.decrementMinuteOrSecond("minute");
|
|
1954
|
-
};
|
|
1955
|
-
this.decrementSecond = () => {
|
|
1956
|
-
this.decrementMinuteOrSecond("second");
|
|
1957
|
-
};
|
|
1958
|
-
this.focusHandler = (event) => {
|
|
1959
|
-
this.activeEl = event.currentTarget;
|
|
1960
|
-
};
|
|
1961
|
-
this.hourDownButtonKeyDownHandler = (event) => {
|
|
1962
|
-
if (this.buttonActivated(event)) {
|
|
1963
|
-
this.decrementHour();
|
|
1964
|
-
}
|
|
1965
|
-
};
|
|
1966
|
-
this.hourKeyDownHandler = (event) => {
|
|
1967
|
-
const { key: key$1 } = event;
|
|
1968
|
-
if (key.numberKeys.includes(key$1)) {
|
|
1969
|
-
const keyAsNumber = parseInt(key$1);
|
|
1970
|
-
let newHour;
|
|
1971
|
-
if (locale$1.isValidNumber(this.hour)) {
|
|
1972
|
-
switch (this.hourCycle) {
|
|
1973
|
-
case "12":
|
|
1974
|
-
newHour =
|
|
1975
|
-
this.hour === "01" && keyAsNumber >= 0 && keyAsNumber <= 2
|
|
1976
|
-
? `1${keyAsNumber}`
|
|
1977
|
-
: keyAsNumber;
|
|
1978
|
-
break;
|
|
1979
|
-
case "24":
|
|
1980
|
-
if (this.hour === "01") {
|
|
1981
|
-
newHour = `1${keyAsNumber}`;
|
|
1982
|
-
}
|
|
1983
|
-
else if (this.hour === "02" && keyAsNumber >= 0 && keyAsNumber <= 3) {
|
|
1984
|
-
newHour = `2${keyAsNumber}`;
|
|
1985
|
-
}
|
|
1986
|
-
else {
|
|
1987
|
-
newHour = keyAsNumber;
|
|
1988
|
-
}
|
|
1989
|
-
break;
|
|
1990
|
-
}
|
|
1991
|
-
}
|
|
1992
|
-
else {
|
|
1993
|
-
newHour = keyAsNumber;
|
|
1994
|
-
}
|
|
1995
|
-
this.setValuePart("hour", newHour);
|
|
1996
|
-
}
|
|
1997
|
-
else {
|
|
1998
|
-
switch (key$1) {
|
|
1999
|
-
case "Backspace":
|
|
2000
|
-
case "Delete":
|
|
2001
|
-
this.setValuePart("hour", null);
|
|
2002
|
-
break;
|
|
2003
|
-
case "ArrowDown":
|
|
2004
|
-
event.preventDefault();
|
|
2005
|
-
this.decrementHour();
|
|
2006
|
-
break;
|
|
2007
|
-
case "ArrowUp":
|
|
2008
|
-
event.preventDefault();
|
|
2009
|
-
this.incrementHour();
|
|
2010
|
-
break;
|
|
2011
|
-
case " ":
|
|
2012
|
-
event.preventDefault();
|
|
2013
|
-
break;
|
|
2014
|
-
}
|
|
2015
|
-
}
|
|
2016
|
-
};
|
|
2017
|
-
this.hourUpButtonKeyDownHandler = (event) => {
|
|
2018
|
-
if (this.buttonActivated(event)) {
|
|
2019
|
-
this.incrementHour();
|
|
2020
|
-
}
|
|
2021
|
-
};
|
|
2022
|
-
this.incrementMeridiem = () => {
|
|
2023
|
-
const newMeridiem = this.meridiem === "AM" ? "PM" : "AM";
|
|
2024
|
-
this.setValuePart("meridiem", newMeridiem);
|
|
2025
|
-
};
|
|
2026
|
-
this.incrementHour = () => {
|
|
2027
|
-
const newHour = locale$1.isValidNumber(this.hour)
|
|
2028
|
-
? this.hour === "23"
|
|
2029
|
-
? 0
|
|
2030
|
-
: parseInt(this.hour) + 1
|
|
2031
|
-
: 1;
|
|
2032
|
-
this.setValuePart("hour", newHour);
|
|
2033
|
-
};
|
|
2034
|
-
this.incrementMinuteOrSecond = (key) => {
|
|
2035
|
-
const newValue = locale$1.isValidNumber(this[key])
|
|
2036
|
-
? this[key] === "59"
|
|
2037
|
-
? 0
|
|
2038
|
-
: parseInt(this[key]) + 1
|
|
2039
|
-
: 0;
|
|
2040
|
-
this.setValuePart(key, newValue);
|
|
2041
|
-
};
|
|
2042
|
-
this.incrementMinute = () => {
|
|
2043
|
-
this.incrementMinuteOrSecond("minute");
|
|
2044
|
-
};
|
|
2045
|
-
this.incrementSecond = () => {
|
|
2046
|
-
this.incrementMinuteOrSecond("second");
|
|
2047
|
-
};
|
|
2048
|
-
this.meridiemDownButtonKeyDownHandler = (event) => {
|
|
2049
|
-
if (this.buttonActivated(event)) {
|
|
2050
|
-
this.decrementMeridiem();
|
|
2051
|
-
}
|
|
2052
|
-
};
|
|
2053
|
-
this.meridiemKeyDownHandler = (event) => {
|
|
2054
|
-
switch (event.key) {
|
|
2055
|
-
case "a":
|
|
2056
|
-
this.setValuePart("meridiem", "AM");
|
|
2057
|
-
break;
|
|
2058
|
-
case "p":
|
|
2059
|
-
this.setValuePart("meridiem", "PM");
|
|
2060
|
-
break;
|
|
2061
|
-
case "Backspace":
|
|
2062
|
-
case "Delete":
|
|
2063
|
-
this.setValuePart("meridiem", null);
|
|
2064
|
-
break;
|
|
2065
|
-
case "ArrowUp":
|
|
2066
|
-
event.preventDefault();
|
|
2067
|
-
this.incrementMeridiem();
|
|
2068
|
-
break;
|
|
2069
|
-
case "ArrowDown":
|
|
2070
|
-
event.preventDefault();
|
|
2071
|
-
this.decrementMeridiem();
|
|
2072
|
-
break;
|
|
2073
|
-
case " ":
|
|
2074
|
-
event.preventDefault();
|
|
2075
|
-
break;
|
|
2076
|
-
}
|
|
2077
|
-
};
|
|
2078
|
-
this.meridiemUpButtonKeyDownHandler = (event) => {
|
|
2079
|
-
if (this.buttonActivated(event)) {
|
|
2080
|
-
this.incrementMeridiem();
|
|
2081
|
-
}
|
|
2082
|
-
};
|
|
2083
|
-
this.minuteDownButtonKeyDownHandler = (event) => {
|
|
2084
|
-
if (this.buttonActivated(event)) {
|
|
2085
|
-
this.decrementMinute();
|
|
2086
|
-
}
|
|
2087
|
-
};
|
|
2088
|
-
this.minuteKeyDownHandler = (event) => {
|
|
2089
|
-
const { key: key$1 } = event;
|
|
2090
|
-
if (key.numberKeys.includes(key$1)) {
|
|
2091
|
-
const keyAsNumber = parseInt(key$1);
|
|
2092
|
-
let newMinute;
|
|
2093
|
-
if (locale$1.isValidNumber(this.minute) && this.minute.startsWith("0")) {
|
|
2094
|
-
const minuteAsNumber = parseInt(this.minute);
|
|
2095
|
-
newMinute =
|
|
2096
|
-
minuteAsNumber > maxTenthForMinuteAndSecond
|
|
2097
|
-
? keyAsNumber
|
|
2098
|
-
: `${minuteAsNumber}${keyAsNumber}`;
|
|
2099
|
-
}
|
|
2100
|
-
else {
|
|
2101
|
-
newMinute = keyAsNumber;
|
|
2102
|
-
}
|
|
2103
|
-
this.setValuePart("minute", newMinute);
|
|
2104
|
-
}
|
|
2105
|
-
else {
|
|
2106
|
-
switch (key$1) {
|
|
2107
|
-
case "Backspace":
|
|
2108
|
-
case "Delete":
|
|
2109
|
-
this.setValuePart("minute", null);
|
|
2110
|
-
break;
|
|
2111
|
-
case "ArrowDown":
|
|
2112
|
-
event.preventDefault();
|
|
2113
|
-
this.decrementMinute();
|
|
2114
|
-
break;
|
|
2115
|
-
case "ArrowUp":
|
|
2116
|
-
event.preventDefault();
|
|
2117
|
-
this.incrementMinute();
|
|
2118
|
-
break;
|
|
2119
|
-
case " ":
|
|
2120
|
-
event.preventDefault();
|
|
2121
|
-
break;
|
|
2122
|
-
}
|
|
2123
|
-
}
|
|
2124
|
-
};
|
|
2125
|
-
this.minuteUpButtonKeyDownHandler = (event) => {
|
|
2126
|
-
if (this.buttonActivated(event)) {
|
|
2127
|
-
this.incrementMinute();
|
|
2128
|
-
}
|
|
2129
|
-
};
|
|
2130
|
-
this.secondDownButtonKeyDownHandler = (event) => {
|
|
2131
|
-
if (this.buttonActivated(event)) {
|
|
2132
|
-
this.decrementSecond();
|
|
2133
|
-
}
|
|
2134
|
-
};
|
|
2135
|
-
this.secondKeyDownHandler = (event) => {
|
|
2136
|
-
const { key: key$1 } = event;
|
|
2137
|
-
if (key.numberKeys.includes(key$1)) {
|
|
2138
|
-
const keyAsNumber = parseInt(key$1);
|
|
2139
|
-
let newSecond;
|
|
2140
|
-
if (locale$1.isValidNumber(this.second) && this.second.startsWith("0")) {
|
|
2141
|
-
const secondAsNumber = parseInt(this.second);
|
|
2142
|
-
newSecond =
|
|
2143
|
-
secondAsNumber > maxTenthForMinuteAndSecond
|
|
2144
|
-
? keyAsNumber
|
|
2145
|
-
: `${secondAsNumber}${keyAsNumber}`;
|
|
2146
|
-
}
|
|
2147
|
-
else {
|
|
2148
|
-
newSecond = keyAsNumber;
|
|
2149
|
-
}
|
|
2150
|
-
this.setValuePart("second", newSecond);
|
|
2151
|
-
}
|
|
2152
|
-
else {
|
|
2153
|
-
switch (key$1) {
|
|
2154
|
-
case "Backspace":
|
|
2155
|
-
case "Delete":
|
|
2156
|
-
this.setValuePart("second", null);
|
|
2157
|
-
break;
|
|
2158
|
-
case "ArrowDown":
|
|
2159
|
-
event.preventDefault();
|
|
2160
|
-
this.decrementSecond();
|
|
2161
|
-
break;
|
|
2162
|
-
case "ArrowUp":
|
|
2163
|
-
event.preventDefault();
|
|
2164
|
-
this.incrementSecond();
|
|
2165
|
-
break;
|
|
2166
|
-
case " ":
|
|
2167
|
-
event.preventDefault();
|
|
2168
|
-
break;
|
|
2169
|
-
}
|
|
2170
|
-
}
|
|
2171
|
-
};
|
|
2172
|
-
this.secondUpButtonKeyDownHandler = (event) => {
|
|
2173
|
-
if (this.buttonActivated(event)) {
|
|
2174
|
-
this.incrementSecond();
|
|
2175
|
-
}
|
|
2176
|
-
};
|
|
2177
|
-
this.setHourEl = (el) => (this.hourEl = el);
|
|
2178
|
-
this.setMeridiemEl = (el) => (this.meridiemEl = el);
|
|
2179
|
-
this.setMinuteEl = (el) => (this.minuteEl = el);
|
|
2180
|
-
this.setSecondEl = (el) => (this.secondEl = el);
|
|
2181
|
-
this.setValue = (value, emit = true) => {
|
|
2182
|
-
if (isValidTime(value)) {
|
|
2183
|
-
const { hour, minute, second } = parseTimeString(value);
|
|
2184
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
|
2185
|
-
const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedSecondSuffix, localizedMeridiem, } = localizeTimeStringToParts({ value, locale, numberingSystem });
|
|
2186
|
-
this.localizedHour = localizedHour;
|
|
2187
|
-
this.localizedHourSuffix = localizedHourSuffix;
|
|
2188
|
-
this.localizedMinute = localizedMinute;
|
|
2189
|
-
this.localizedMinuteSuffix = localizedMinuteSuffix;
|
|
2190
|
-
this.localizedSecond = localizedSecond;
|
|
2191
|
-
this.localizedSecondSuffix = localizedSecondSuffix;
|
|
2192
|
-
this.hour = hour;
|
|
2193
|
-
this.minute = minute;
|
|
2194
|
-
this.second = second;
|
|
2195
|
-
if (localizedMeridiem) {
|
|
2196
|
-
this.localizedMeridiem = localizedMeridiem;
|
|
2197
|
-
this.meridiem = getMeridiem(this.hour);
|
|
2198
|
-
const formatParts = getTimeParts({ value, locale, numberingSystem });
|
|
2199
|
-
this.meridiemOrder = this.getMeridiemOrder(formatParts);
|
|
2200
|
-
}
|
|
2201
|
-
}
|
|
2202
|
-
else {
|
|
2203
|
-
this.hour = null;
|
|
2204
|
-
this.localizedHour = null;
|
|
2205
|
-
this.localizedHourSuffix = null;
|
|
2206
|
-
this.localizedMeridiem = null;
|
|
2207
|
-
this.localizedMinute = null;
|
|
2208
|
-
this.localizedMinuteSuffix = null;
|
|
2209
|
-
this.localizedSecond = null;
|
|
2210
|
-
this.localizedSecondSuffix = null;
|
|
2211
|
-
this.meridiem = null;
|
|
2212
|
-
this.minute = null;
|
|
2213
|
-
this.second = null;
|
|
2214
|
-
this.value = null;
|
|
2215
|
-
}
|
|
2216
|
-
if (emit) {
|
|
2217
|
-
this.calciteInternalTimePickerChange.emit();
|
|
2218
|
-
}
|
|
2219
|
-
};
|
|
2220
|
-
this.setValuePart = (key, value, emit = true) => {
|
|
2221
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
|
2222
|
-
if (key === "meridiem") {
|
|
2223
|
-
this.meridiem = value;
|
|
2224
|
-
if (locale$1.isValidNumber(this.hour)) {
|
|
2225
|
-
const hourAsNumber = parseInt(this.hour);
|
|
2226
|
-
switch (value) {
|
|
2227
|
-
case "AM":
|
|
2228
|
-
if (hourAsNumber >= 12) {
|
|
2229
|
-
this.hour = formatTimePart(hourAsNumber - 12);
|
|
2230
|
-
}
|
|
2231
|
-
break;
|
|
2232
|
-
case "PM":
|
|
2233
|
-
if (hourAsNumber < 12) {
|
|
2234
|
-
this.hour = formatTimePart(hourAsNumber + 12);
|
|
2235
|
-
}
|
|
2236
|
-
break;
|
|
2237
|
-
}
|
|
2238
|
-
this.localizedHour = localizeTimePart({
|
|
2239
|
-
value: this.hour,
|
|
2240
|
-
part: "hour",
|
|
2241
|
-
locale,
|
|
2242
|
-
numberingSystem,
|
|
2243
|
-
});
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
else {
|
|
2247
|
-
this[key] = typeof value === "number" ? formatTimePart(value) : value;
|
|
2248
|
-
this[`localized${capitalize(key)}`] = localizeTimePart({
|
|
2249
|
-
value: this[key],
|
|
2250
|
-
part: key,
|
|
2251
|
-
locale,
|
|
2252
|
-
numberingSystem,
|
|
2253
|
-
});
|
|
2254
|
-
}
|
|
2255
|
-
if (this.hour && this.minute) {
|
|
2256
|
-
let newValue = `${this.hour}:${this.minute}`;
|
|
2257
|
-
if (this.showSecond) {
|
|
2258
|
-
newValue = `${newValue}:${this.second ?? "00"}`;
|
|
2259
|
-
}
|
|
2260
|
-
this.value = newValue;
|
|
2261
|
-
}
|
|
2262
|
-
else {
|
|
2263
|
-
this.value = null;
|
|
2264
|
-
}
|
|
2265
|
-
this.localizedMeridiem = this.value
|
|
2266
|
-
? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
|
|
2267
|
-
?.localizedMeridiem || null
|
|
2268
|
-
: localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
|
|
2269
|
-
if (emit) {
|
|
2270
|
-
this.calciteInternalTimePickerChange.emit();
|
|
2271
|
-
}
|
|
2272
|
-
};
|
|
2273
|
-
this.scale = "m";
|
|
2274
|
-
this.step = 60;
|
|
2275
|
-
this.numberingSystem = undefined;
|
|
2276
|
-
this.value = null;
|
|
2277
|
-
this.messages = undefined;
|
|
2278
|
-
this.messageOverrides = undefined;
|
|
2279
|
-
this.effectiveLocale = "";
|
|
2280
|
-
this.hour = undefined;
|
|
2281
|
-
this.hourCycle = undefined;
|
|
2282
|
-
this.localizedHour = undefined;
|
|
2283
|
-
this.localizedHourSuffix = undefined;
|
|
2284
|
-
this.localizedMeridiem = undefined;
|
|
2285
|
-
this.localizedMinute = undefined;
|
|
2286
|
-
this.localizedMinuteSuffix = undefined;
|
|
2287
|
-
this.localizedSecond = undefined;
|
|
2288
|
-
this.localizedSecondSuffix = undefined;
|
|
2289
|
-
this.meridiem = undefined;
|
|
2290
|
-
this.minute = undefined;
|
|
2291
|
-
this.second = undefined;
|
|
2292
|
-
this.showSecond = undefined;
|
|
2293
|
-
this.defaultMessages = undefined;
|
|
2294
|
-
}
|
|
2295
|
-
stepChange() {
|
|
2296
|
-
this.updateShowSecond();
|
|
2297
|
-
}
|
|
2298
|
-
valueWatcher(newValue) {
|
|
2299
|
-
this.setValue(newValue, false);
|
|
2300
|
-
}
|
|
2301
|
-
onMessagesChange() {
|
|
2302
|
-
/* wired up by t9n util */
|
|
2303
|
-
}
|
|
2304
|
-
effectiveLocaleWatcher() {
|
|
2305
|
-
this.updateLocale();
|
|
2306
|
-
}
|
|
2307
|
-
//--------------------------------------------------------------------------
|
|
2308
|
-
//
|
|
2309
|
-
// Event Listeners
|
|
2310
|
-
//
|
|
2311
|
-
//--------------------------------------------------------------------------
|
|
2312
|
-
hostBlurHandler() {
|
|
2313
|
-
this.calciteInternalTimePickerBlur.emit();
|
|
2314
|
-
}
|
|
2315
|
-
hostFocusHandler() {
|
|
2316
|
-
this.calciteInternalTimePickerFocus.emit();
|
|
2317
|
-
}
|
|
2318
|
-
keyDownHandler(event) {
|
|
2319
|
-
const { defaultPrevented, key } = event;
|
|
2320
|
-
if (defaultPrevented) {
|
|
2321
|
-
return;
|
|
2322
|
-
}
|
|
2323
|
-
switch (this.activeEl) {
|
|
2324
|
-
case this.hourEl:
|
|
2325
|
-
if (key === "ArrowRight") {
|
|
2326
|
-
this.focusPart("minute");
|
|
2327
|
-
event.preventDefault();
|
|
2328
|
-
}
|
|
2329
|
-
break;
|
|
2330
|
-
case this.minuteEl:
|
|
2331
|
-
switch (key) {
|
|
2332
|
-
case "ArrowLeft":
|
|
2333
|
-
this.focusPart("hour");
|
|
2334
|
-
event.preventDefault();
|
|
2335
|
-
break;
|
|
2336
|
-
case "ArrowRight":
|
|
2337
|
-
if (this.step !== 60) {
|
|
2338
|
-
this.focusPart("second");
|
|
2339
|
-
event.preventDefault();
|
|
2340
|
-
}
|
|
2341
|
-
else if (this.hourCycle === "12") {
|
|
2342
|
-
this.focusPart("meridiem");
|
|
2343
|
-
event.preventDefault();
|
|
2344
|
-
}
|
|
2345
|
-
break;
|
|
2346
|
-
}
|
|
2347
|
-
break;
|
|
2348
|
-
case this.secondEl:
|
|
2349
|
-
switch (key) {
|
|
2350
|
-
case "ArrowLeft":
|
|
2351
|
-
this.focusPart("minute");
|
|
2352
|
-
event.preventDefault();
|
|
2353
|
-
break;
|
|
2354
|
-
case "ArrowRight":
|
|
2355
|
-
if (this.hourCycle === "12") {
|
|
2356
|
-
this.focusPart("meridiem");
|
|
2357
|
-
event.preventDefault();
|
|
2358
|
-
}
|
|
2359
|
-
break;
|
|
2360
|
-
}
|
|
2361
|
-
break;
|
|
2362
|
-
case this.meridiemEl:
|
|
2363
|
-
switch (key) {
|
|
2364
|
-
case "ArrowLeft":
|
|
2365
|
-
if (this.step !== 60) {
|
|
2366
|
-
this.focusPart("second");
|
|
2367
|
-
event.preventDefault();
|
|
2368
|
-
}
|
|
2369
|
-
else {
|
|
2370
|
-
this.focusPart("minute");
|
|
2371
|
-
event.preventDefault();
|
|
2372
|
-
}
|
|
2373
|
-
break;
|
|
2374
|
-
}
|
|
2375
|
-
break;
|
|
2376
|
-
}
|
|
2377
|
-
}
|
|
2378
|
-
//--------------------------------------------------------------------------
|
|
2379
|
-
//
|
|
2380
|
-
// Public Methods
|
|
2381
|
-
//
|
|
2382
|
-
//--------------------------------------------------------------------------
|
|
2383
|
-
/**
|
|
2384
|
-
* Sets focus on the component's first focusable element.
|
|
2385
|
-
*/
|
|
2386
|
-
async setFocus() {
|
|
2387
|
-
await loadable.componentFocusable(this);
|
|
2388
|
-
this.el?.focus();
|
|
2389
|
-
}
|
|
2390
|
-
// --------------------------------------------------------------------------
|
|
2391
|
-
//
|
|
2392
|
-
// Private Methods
|
|
2393
|
-
//
|
|
2394
|
-
// --------------------------------------------------------------------------
|
|
2395
|
-
updateShowSecond() {
|
|
2396
|
-
this.showSecond = this.step < 60;
|
|
2397
|
-
}
|
|
2398
|
-
async focusPart(target) {
|
|
2399
|
-
await loadable.componentFocusable(this);
|
|
2400
|
-
this[`${target || "hour"}El`]?.focus();
|
|
2401
|
-
}
|
|
2402
|
-
buttonActivated(event) {
|
|
2403
|
-
const { key: key$1 } = event;
|
|
2404
|
-
if (key$1 === " ") {
|
|
2405
|
-
event.preventDefault();
|
|
2406
|
-
}
|
|
2407
|
-
return key.isActivationKey(key$1);
|
|
2408
|
-
}
|
|
2409
|
-
getMeridiemOrder(formatParts) {
|
|
2410
|
-
const locale = this.effectiveLocale;
|
|
2411
|
-
const isRTLKind = locale === "ar" || locale === "he";
|
|
2412
|
-
if (formatParts && !isRTLKind) {
|
|
2413
|
-
const index = formatParts.findIndex((parts) => {
|
|
2414
|
-
return parts.value === this.localizedMeridiem;
|
|
2415
|
-
});
|
|
2416
|
-
return index;
|
|
2417
|
-
}
|
|
2418
|
-
return 0;
|
|
2419
|
-
}
|
|
2420
|
-
updateLocale() {
|
|
2421
|
-
t9n.updateMessages(this, this.effectiveLocale);
|
|
2422
|
-
this.hourCycle = getLocaleHourCycle(this.effectiveLocale, this.numberingSystem);
|
|
2423
|
-
this.setValue(this.value, false);
|
|
2424
|
-
}
|
|
2425
|
-
// --------------------------------------------------------------------------
|
|
2426
|
-
//
|
|
2427
|
-
// Lifecycle
|
|
2428
|
-
//
|
|
2429
|
-
// --------------------------------------------------------------------------
|
|
2430
|
-
connectedCallback() {
|
|
2431
|
-
locale$1.connectLocalized(this);
|
|
2432
|
-
this.updateLocale();
|
|
2433
|
-
t9n.connectMessages(this);
|
|
2434
|
-
this.updateShowSecond();
|
|
2435
|
-
this.meridiemOrder = this.getMeridiemOrder(getTimeParts({
|
|
2436
|
-
value: "0:00:00",
|
|
2437
|
-
locale: this.effectiveLocale,
|
|
2438
|
-
numberingSystem: this.numberingSystem,
|
|
2439
|
-
}));
|
|
2440
|
-
}
|
|
2441
|
-
async componentWillLoad() {
|
|
2442
|
-
loadable.setUpLoadableComponent(this);
|
|
2443
|
-
await t9n.setUpMessages(this);
|
|
2444
|
-
}
|
|
2445
|
-
componentDidLoad() {
|
|
2446
|
-
loadable.setComponentLoaded(this);
|
|
2447
|
-
}
|
|
2448
|
-
disconnectedCallback() {
|
|
2449
|
-
locale$1.disconnectLocalized(this);
|
|
2450
|
-
t9n.disconnectMessages(this);
|
|
2451
|
-
}
|
|
2452
|
-
// --------------------------------------------------------------------------
|
|
2453
|
-
//
|
|
2454
|
-
// Render Methods
|
|
2455
|
-
//
|
|
2456
|
-
// --------------------------------------------------------------------------
|
|
2457
|
-
render() {
|
|
2458
|
-
const hourIsNumber = locale$1.isValidNumber(this.hour);
|
|
2459
|
-
const iconScale = this.scale === "s" || this.scale === "m" ? "s" : "m";
|
|
2460
|
-
const minuteIsNumber = locale$1.isValidNumber(this.minute);
|
|
2461
|
-
const secondIsNumber = locale$1.isValidNumber(this.second);
|
|
2462
|
-
const showMeridiem = this.hourCycle === "12";
|
|
2463
|
-
return (index.h("div", { class: {
|
|
2464
|
-
[CSS.timePicker]: true,
|
|
2465
|
-
[CSS.showMeridiem]: showMeridiem,
|
|
2466
|
-
[CSS.showSecond]: this.showSecond,
|
|
2467
|
-
[CSS[`scale-${this.scale}`]]: true,
|
|
2468
|
-
}, dir: "ltr" }, index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.hourUp, class: {
|
|
2469
|
-
[CSS.button]: true,
|
|
2470
|
-
[CSS.buttonHourUp]: true,
|
|
2471
|
-
[CSS.buttonTopLeft]: true,
|
|
2472
|
-
}, onClick: this.incrementHour, onKeyDown: this.hourUpButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.hour, "aria-valuemax": "23", "aria-valuemin": "1", "aria-valuenow": (hourIsNumber && parseInt(this.hour)) || "0", "aria-valuetext": this.hour, class: {
|
|
2473
|
-
[CSS.input]: true,
|
|
2474
|
-
[CSS.hour]: true,
|
|
2475
|
-
}, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2476
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
2477
|
-
ref: this.setHourEl }, this.localizedHour || "--"), index.h("span", { "aria-label": this.messages.hourDown, class: {
|
|
2478
|
-
[CSS.button]: true,
|
|
2479
|
-
[CSS.buttonHourDown]: true,
|
|
2480
|
-
[CSS.buttonBottomLeft]: true,
|
|
2481
|
-
}, onClick: this.decrementHour, onKeyDown: this.hourDownButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), index.h("span", { class: CSS.delimiter }, this.localizedHourSuffix), index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.minuteUp, class: {
|
|
2482
|
-
[CSS.button]: true,
|
|
2483
|
-
[CSS.buttonMinuteUp]: true,
|
|
2484
|
-
}, onClick: this.incrementMinute, onKeyDown: this.minuteUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.minute, "aria-valuemax": "12", "aria-valuemin": "1", "aria-valuenow": (minuteIsNumber && parseInt(this.minute)) || "0", "aria-valuetext": this.minute, class: {
|
|
2485
|
-
[CSS.input]: true,
|
|
2486
|
-
[CSS.minute]: true,
|
|
2487
|
-
}, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2488
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
2489
|
-
ref: this.setMinuteEl }, this.localizedMinute || "--"), index.h("span", { "aria-label": this.messages.minuteDown, class: {
|
|
2490
|
-
[CSS.button]: true,
|
|
2491
|
-
[CSS.buttonMinuteDown]: true,
|
|
2492
|
-
}, onClick: this.decrementMinute, onKeyDown: this.minuteDownButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), this.showSecond && index.h("span", { class: CSS.delimiter }, this.localizedMinuteSuffix), this.showSecond && (index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.secondUp, class: {
|
|
2493
|
-
[CSS.button]: true,
|
|
2494
|
-
[CSS.buttonSecondUp]: true,
|
|
2495
|
-
}, onClick: this.incrementSecond, onKeyDown: this.secondUpButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.second, "aria-valuemax": "59", "aria-valuemin": "0", "aria-valuenow": (secondIsNumber && parseInt(this.second)) || "0", "aria-valuetext": this.second, class: {
|
|
2496
|
-
[CSS.input]: true,
|
|
2497
|
-
[CSS.second]: true,
|
|
2498
|
-
}, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2499
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
2500
|
-
ref: this.setSecondEl }, this.localizedSecond || "--"), index.h("span", { "aria-label": this.messages.secondDown, class: {
|
|
2501
|
-
[CSS.button]: true,
|
|
2502
|
-
[CSS.buttonSecondDown]: true,
|
|
2503
|
-
}, onClick: this.decrementSecond, onKeyDown: this.secondDownButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (index.h("span", { class: CSS.delimiter }, this.localizedSecondSuffix)), showMeridiem && (index.h("div", { class: {
|
|
2504
|
-
[CSS.column]: true,
|
|
2505
|
-
[CSS.meridiemStart]: this.meridiemOrder === 0,
|
|
2506
|
-
}, role: "group" }, index.h("span", { "aria-label": this.messages.meridiemUp, class: {
|
|
2507
|
-
[CSS.button]: true,
|
|
2508
|
-
[CSS.buttonMeridiemUp]: true,
|
|
2509
|
-
[CSS.buttonTopRight]: true,
|
|
2510
|
-
}, onClick: this.incrementMeridiem, onKeyDown: this.meridiemUpButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.meridiem, "aria-valuemax": "2", "aria-valuemin": "1", "aria-valuenow": (this.meridiem === "PM" && "2") || "1", "aria-valuetext": this.meridiem, class: {
|
|
2511
|
-
[CSS.input]: true,
|
|
2512
|
-
[CSS.meridiem]: true,
|
|
2513
|
-
}, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2514
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
2515
|
-
ref: this.setMeridiemEl }, this.localizedMeridiem || "--"), index.h("span", { "aria-label": this.messages.meridiemDown, class: {
|
|
2516
|
-
[CSS.button]: true,
|
|
2517
|
-
[CSS.buttonMeridiemDown]: true,
|
|
2518
|
-
[CSS.buttonBottomRight]: true,
|
|
2519
|
-
}, onClick: this.decrementMeridiem, onKeyDown: this.meridiemDownButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale }))))));
|
|
2520
|
-
}
|
|
2521
|
-
static get delegatesFocus() { return true; }
|
|
2522
|
-
static get assetsDirs() { return ["assets"]; }
|
|
2523
|
-
get el() { return index.getElement(this); }
|
|
2524
|
-
static get watchers() { return {
|
|
2525
|
-
"step": ["stepChange"],
|
|
2526
|
-
"value": ["valueWatcher"],
|
|
2527
|
-
"messageOverrides": ["onMessagesChange"],
|
|
2528
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
2529
|
-
}; }
|
|
2530
|
-
};
|
|
2531
|
-
TimePicker.style = timePickerCss;
|
|
2532
|
-
|
|
2533
|
-
exports.InputTimePicker = InputTimePicker;
|
|
2534
|
-
exports.TimePicker = TimePicker;
|
|
2535
|
-
exports.dayjs = dayjs;
|