@esri/calcite-components 1.4.1-next.2 → 1.4.1-next.3
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/maskInside16.json +1 -0
- package/dist/calcite/assets/icon/maskInside24.json +1 -0
- package/dist/calcite/assets/icon/maskInside32.json +1 -0
- package/dist/calcite/assets/icon/maskOutside16.json +1 -0
- package/dist/calcite/assets/icon/maskOutside24.json +1 -0
- package/dist/calcite/assets/icon/maskOutside32.json +1 -0
- package/dist/calcite/assets/text-area/t9n/index.d.ts +1 -0
- package/dist/calcite/assets/text-area/t9n/messages.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_en.json +2 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/p-00d045e5.js +6 -0
- package/dist/calcite/p-00ed51c0.js +6 -0
- package/dist/calcite/p-03f07db4.entry.js +6 -0
- package/dist/calcite/p-05e43b89.js +6 -0
- package/dist/calcite/p-06637712.js +6 -0
- package/dist/calcite/p-0aa217c9.entry.js +6 -0
- package/dist/calcite/p-0bd493ff.entry.js +6 -0
- package/dist/calcite/p-0c56ec27.js +6 -0
- package/dist/calcite/p-0c88b741.entry.js +6 -0
- package/dist/calcite/p-110d3963.entry.js +6 -0
- package/dist/calcite/p-1256a7ba.js +6 -0
- package/dist/calcite/p-14c5991f.entry.js +6 -0
- package/dist/calcite/p-161abbed.js +6 -0
- package/dist/calcite/p-17691492.entry.js +6 -0
- package/dist/calcite/p-17ac6625.js +6 -0
- package/dist/calcite/p-18579182.js +6 -0
- package/dist/calcite/p-1dd689c6.js +6 -0
- package/dist/calcite/p-21e0417c.js +6 -0
- package/dist/calcite/p-24167835.entry.js +6 -0
- package/dist/calcite/p-242ac255.entry.js +6 -0
- package/dist/calcite/p-263d835f.js +6 -0
- package/dist/calcite/p-280a69d8.entry.js +6 -0
- package/dist/calcite/p-2a0d0407.entry.js +6 -0
- package/dist/calcite/p-2db7dea2.js +6 -0
- package/dist/calcite/p-2ed443c2.entry.js +6 -0
- package/dist/calcite/p-307fa52a.entry.js +6 -0
- package/dist/calcite/p-315fa34f.js +6 -0
- package/dist/calcite/p-3543ab7d.js +6 -0
- package/dist/calcite/p-3737f0ac.entry.js +6 -0
- package/dist/calcite/p-3a1c78be.entry.js +6 -0
- package/dist/calcite/p-3af1850a.js +6 -0
- package/dist/calcite/p-3b318769.js +12 -0
- package/dist/calcite/p-3cec02f4.js +6 -0
- package/dist/calcite/p-44496d56.js +6 -0
- package/dist/calcite/p-44925151.js +6 -0
- package/dist/calcite/p-46b93460.js +6 -0
- package/dist/calcite/p-485b0e1b.entry.js +6 -0
- package/dist/calcite/p-4acfc57f.js +6 -0
- package/dist/calcite/p-4b657d2d.entry.js +6 -0
- package/dist/calcite/p-4caf31d7.entry.js +6 -0
- package/dist/calcite/p-508027b5.entry.js +6 -0
- package/dist/calcite/p-509e09e8.js +6 -0
- package/dist/calcite/p-50ee63c8.entry.js +6 -0
- package/dist/calcite/p-52d710f6.entry.js +6 -0
- package/dist/calcite/p-531d5755.entry.js +6 -0
- package/dist/calcite/p-55205c0f.js +6 -0
- package/dist/calcite/p-5b78b038.js +6 -0
- package/dist/calcite/p-5d2a2d86.js +6 -0
- package/dist/calcite/p-6344ce11.js +6 -0
- package/dist/calcite/p-646a5d90.entry.js +6 -0
- package/dist/calcite/p-654559c9.entry.js +6 -0
- package/dist/calcite/p-66d2ce76.js +6 -0
- package/dist/calcite/p-69c6bdfc.js +6 -0
- package/dist/calcite/p-69e3eb19.entry.js +6 -0
- package/dist/calcite/p-69e5947e.js +6 -0
- package/dist/calcite/p-6bbeb71a.js +6 -0
- package/dist/calcite/p-6bf03571.entry.js +6 -0
- package/dist/calcite/p-6cbb4c73.js +6 -0
- package/dist/calcite/p-70ca90e7.js +6 -0
- package/dist/calcite/p-71251de9.entry.js +6 -0
- package/dist/calcite/p-754ffb63.js +6 -0
- package/dist/calcite/p-75582f87.js +6 -0
- package/dist/calcite/p-75f0ceaf.entry.js +6 -0
- package/dist/calcite/p-781b2ed8.js +11 -0
- package/dist/calcite/p-793ac6bf.entry.js +6 -0
- package/dist/calcite/p-796594b7.entry.js +6 -0
- package/dist/calcite/p-7a123790.js +6 -0
- package/dist/calcite/p-7abc17b4.entry.js +6 -0
- package/dist/calcite/p-7b53adea.entry.js +6 -0
- package/dist/calcite/p-7e8b5649.js +6 -0
- package/dist/calcite/p-80e5a1ed.js +6 -0
- package/dist/calcite/p-82e245c3.js +6 -0
- package/dist/calcite/p-85269b98.entry.js +6 -0
- package/dist/calcite/p-85f3c6d2.js +6 -0
- package/dist/calcite/p-8696bfd5.entry.js +6 -0
- package/dist/calcite/p-87452360.js +6 -0
- package/dist/calcite/p-88ba96bc.js +10 -0
- package/dist/calcite/p-88c187cf.entry.js +6 -0
- package/dist/calcite/p-89398217.js +6 -0
- package/dist/calcite/p-8944d5bc.entry.js +6 -0
- package/dist/calcite/p-8a11d621.js +6 -0
- package/dist/calcite/p-8a2e51bc.js +6 -0
- package/dist/calcite/p-8c9f75cf.js +6 -0
- package/dist/calcite/p-8f090008.js +6 -0
- package/dist/calcite/p-93a3212f.js +6 -0
- package/dist/calcite/p-970380dd.entry.js +6 -0
- package/dist/calcite/p-97393df1.js +6 -0
- package/dist/calcite/p-97698e4d.js +6 -0
- package/dist/calcite/p-988f5c31.entry.js +6 -0
- package/dist/calcite/p-990f77ee.js +6 -0
- package/dist/calcite/p-99662530.js +6 -0
- package/dist/calcite/p-9adc9df6.entry.js +6 -0
- package/dist/calcite/p-9db1cc20.entry.js +6 -0
- package/dist/calcite/p-9deb9061.entry.js +6 -0
- package/dist/calcite/p-a0a596b7.js +6 -0
- package/dist/calcite/p-a14385a7.js +6 -0
- package/dist/calcite/p-a26c4560.entry.js +6 -0
- package/dist/calcite/p-a286b2c6.entry.js +6 -0
- package/dist/calcite/p-a373f2b6.js +7 -0
- package/dist/calcite/p-a617fce7.entry.js +6 -0
- package/dist/calcite/p-a64a471c.js +6 -0
- package/dist/calcite/p-a6ac6ae7.entry.js +6 -0
- package/dist/calcite/p-a98a3004.entry.js +6 -0
- package/dist/calcite/p-aa34a8b5.js +6 -0
- package/dist/calcite/p-aa4da5f2.js +6 -0
- package/dist/calcite/p-aa621bf4.js +6 -0
- package/dist/calcite/p-aa82d9f9.js +6 -0
- package/dist/calcite/p-ac0bed40.js +6 -0
- package/dist/calcite/p-b1a4c61e.entry.js +6 -0
- package/dist/calcite/p-b33ca3fe.entry.js +6 -0
- package/dist/calcite/p-b4333d52.entry.js +6 -0
- package/dist/calcite/p-b6c10754.js +6 -0
- package/dist/calcite/p-bce0c55a.entry.js +6 -0
- package/dist/calcite/p-be4d420e.js +6 -0
- package/dist/calcite/p-c1378f36.js +6 -0
- package/dist/calcite/p-c1b258fe.entry.js +6 -0
- package/dist/calcite/p-c2165bd8.js +6 -0
- package/dist/calcite/p-c6327ab5.entry.js +6 -0
- package/dist/calcite/p-c743b9ac.entry.js +6 -0
- package/dist/calcite/p-c844d0fc.js +6 -0
- package/dist/calcite/p-c869f733.js +6 -0
- package/dist/calcite/p-ce06d6a9.js +6 -0
- package/dist/calcite/p-cf41a3b4.entry.js +6 -0
- package/dist/calcite/p-cfae948a.entry.js +6 -0
- package/dist/calcite/p-d0f2b0d8.js +6 -0
- package/dist/calcite/p-d108042b.entry.js +6 -0
- package/dist/calcite/p-d32c56c3.js +6 -0
- package/dist/calcite/p-d53ea8be.js +6 -0
- package/dist/calcite/p-d94132ce.entry.js +6 -0
- package/dist/calcite/p-d94c5dc3.js +6 -0
- package/dist/calcite/p-dad33dc5.js +6 -0
- package/dist/calcite/p-dc4f52ee.js +6 -0
- package/dist/calcite/p-dd1bf828.js +6 -0
- package/dist/calcite/p-df16082b.js +6 -0
- package/dist/calcite/p-e0beb554.entry.js +6 -0
- package/dist/calcite/p-e1dd1733.js +6 -0
- package/dist/calcite/p-e1df668c.js +6 -0
- package/dist/calcite/p-e3498c3d.entry.js +6 -0
- package/dist/calcite/p-e3eae849.entry.js +6 -0
- package/dist/calcite/p-e7f78d88.js +6 -0
- package/dist/calcite/p-e923ec9c.entry.js +6 -0
- package/dist/calcite/p-e986ef3c.entry.js +6 -0
- package/dist/calcite/p-ec30fd69.entry.js +6 -0
- package/dist/calcite/p-ee9e9172.js +6 -0
- package/dist/calcite/p-f40554ed.entry.js +6 -0
- package/dist/calcite/p-f9f8c7ff.js +6 -0
- package/dist/calcite/p-fb5d5cea.js +6 -0
- package/dist/calcite/p-fd461573.entry.js +6 -0
- package/dist/calcite/p-fe04652e.js +6 -0
- package/dist/cjs/ExpandToggle-93555f00.js +109 -0
- package/dist/cjs/FloatingArrow-7c781a3f.js +45 -0
- package/dist/cjs/Heading-4be42a9a.js +20 -0
- package/dist/cjs/app-globals-ad095616.js +59 -0
- package/dist/cjs/ar-a4bfbf5d.js +96 -0
- package/dist/cjs/array-19260eae.js +12 -0
- package/dist/cjs/bg-a666f3b1.js +77 -0
- package/dist/cjs/bs-9209380e.js +46 -0
- package/dist/cjs/ca-b67b28f6.js +66 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-204e75fc.js +2454 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -2412
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +14 -12
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- 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 +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/composed-offset-position.esm-8513b624.js +79 -0
- package/dist/cjs/conditionalSlot-f98d0f91.js +58 -0
- package/dist/cjs/cs-d1dba237.js +142 -0
- package/dist/cjs/da-09e7dfeb.js +61 -0
- package/dist/cjs/de-at-2fd0230e.js +85 -0
- package/dist/cjs/de-ch-89a617b0.js +85 -0
- package/dist/cjs/de-f73ef064.js +86 -0
- package/dist/cjs/debounce-4ca35bb0.js +496 -0
- package/dist/cjs/dom-b327d3a5.js +949 -0
- package/dist/cjs/el-eb44e363.js +61 -0
- package/dist/cjs/en-au-1661bcd4.js +61 -0
- package/dist/cjs/en-ca-fe7317b9.js +60 -0
- package/dist/cjs/en-gb-c30b40ba.js +64 -0
- package/dist/cjs/es-a86b5cde.js +61 -0
- package/dist/cjs/es-mx-a5141e64.js +60 -0
- package/dist/cjs/et-3d9151ba.js +87 -0
- package/dist/cjs/fi-ad569c8d.js +110 -0
- package/dist/cjs/filter-77a29b90.js +760 -0
- package/dist/cjs/floating-ui-6e11ed49.js +1820 -0
- package/dist/cjs/focusTrapComponent-b77afae7.js +804 -0
- package/dist/cjs/form-86415532.js +283 -0
- package/dist/cjs/fr-11a793dc.js +63 -0
- package/dist/cjs/fr-ch-1bef4a9d.js +61 -0
- package/dist/cjs/guid-3cf8bf8a.js +21 -0
- package/dist/cjs/he-9b02041f.js +100 -0
- package/dist/cjs/hi-0fc5c527.js +60 -0
- package/dist/cjs/hr-e668552f.js +75 -0
- package/dist/cjs/hu-4d6ad522.js +83 -0
- package/dist/cjs/id-4cb8e2a4.js +61 -0
- package/dist/cjs/index-bf534a74.js +2303 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/interactive-b2980f98.js +70 -0
- package/dist/cjs/it-0170bb3c.js +61 -0
- package/dist/cjs/it-ch-076e04dc.js +61 -0
- package/dist/cjs/ja-31791e02.js +67 -0
- package/dist/cjs/key-03a66267.js +14 -0
- package/dist/cjs/ko-7cd8f5c3.js +67 -0
- package/dist/cjs/label-495277ea.js +131 -0
- package/dist/cjs/loadable-e749309a.js +64 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-0f1c5ea8.js +557 -0
- package/dist/cjs/lt-0b864ffc.js +92 -0
- package/dist/cjs/lv-73e04dab.js +61 -0
- package/dist/cjs/math-fb2658c5.js +23 -0
- package/dist/cjs/mk-f3a80002.js +61 -0
- package/dist/cjs/nb-9d4f233b.js +62 -0
- package/dist/cjs/nl-8a3d7b7b.js +62 -0
- package/dist/cjs/observers-0ff92a7f.js +48 -0
- package/dist/cjs/openCloseComponent-e03ca42e.js +95 -0
- package/dist/cjs/pl-d5fb21f1.js +109 -0
- package/dist/cjs/pt-a103f820.js +62 -0
- package/dist/cjs/pt-br-4d419a29.js +60 -0
- package/dist/cjs/resources-00c22b3a.js +27 -0
- package/dist/cjs/resources-06c9efee.js +22 -0
- package/dist/cjs/resources-310ba116.js +15 -0
- package/dist/cjs/resources-7e53312c.js +45 -0
- package/dist/cjs/resources-ed3b24f8.js +17 -0
- package/dist/cjs/resources-ff71b443.js +410 -0
- package/dist/cjs/ro-5d2841fd.js +61 -0
- package/dist/cjs/ru-07f7b205.js +121 -0
- package/dist/cjs/sk-4d0acc49.js +143 -0
- package/dist/cjs/sl-8b159836.js +61 -0
- package/dist/cjs/sortableComponent-f490bf7e.js +3082 -0
- package/dist/cjs/sr-557b8d59.js +96 -0
- package/dist/cjs/sv-84013f0a.js +66 -0
- package/dist/cjs/t9n-d38e165e.js +95 -0
- package/dist/cjs/th-19e79b92.js +60 -0
- package/dist/cjs/throttle-3bad6d6a.js +75 -0
- package/dist/cjs/tr-405e2252.js +61 -0
- package/dist/cjs/uk-1190ebd1.js +99 -0
- package/dist/cjs/utils-0ed18e01.js +294 -0
- package/dist/cjs/utils-4550ec6f.js +213 -0
- package/dist/cjs/vi-3b015b69.js +65 -0
- package/dist/cjs/zh-cn-5a300c6a.js +89 -0
- package/dist/cjs/zh-hk-c30f9774.js +66 -0
- package/dist/cjs/zh-tw-da47ea05.js +87 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +4 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/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/maskInside16.json +1 -0
- package/dist/collection/components/icon/assets/icon/maskInside24.json +1 -0
- package/dist/collection/components/icon/assets/icon/maskInside32.json +1 -0
- package/dist/collection/components/icon/assets/icon/maskOutside16.json +1 -0
- package/dist/collection/components/icon/assets/icon/maskOutside24.json +1 -0
- package/dist/collection/components/icon/assets/icon/maskOutside32.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 +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +56 -3
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +2 -2
- package/dist/collection/components/menu-item/menu-item.js +2 -2
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/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.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/index.d.ts +1 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_en.json +2 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +3 -3
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +3 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +13 -7
- 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 +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +5 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +81 -0
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +62 -0
- package/dist/components/bs.js +31 -0
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +51 -0
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +62 -4
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +3 -3
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +4 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +127 -0
- package/dist/components/da.js +46 -0
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +70 -0
- package/dist/components/de-ch.js +70 -0
- package/dist/components/de.js +71 -0
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +46 -0
- package/dist/components/en-au.js +46 -0
- package/dist/components/en-ca.js +45 -0
- package/dist/components/en-gb.js +49 -0
- package/dist/components/es-mx.js +45 -0
- package/dist/components/es.js +46 -0
- package/dist/components/et.js +72 -0
- package/dist/components/fi.js +95 -0
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +46 -0
- package/dist/components/fr.js +48 -0
- 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 +85 -0
- package/dist/components/hi.js +45 -0
- package/dist/components/hr.js +60 -0
- package/dist/components/hu.js +68 -0
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +46 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +13 -7
- package/dist/components/it-ch.js +46 -0
- package/dist/components/it.js +46 -0
- package/dist/components/ja.js +52 -0
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +52 -0
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +77 -0
- package/dist/components/lv.js +46 -0
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +3 -1
- package/dist/components/mk.js +46 -0
- package/dist/components/nb.js +47 -0
- package/dist/components/nl.js +47 -0
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +94 -0
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +45 -0
- package/dist/components/pt.js +47 -0
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +46 -0
- package/dist/components/ru.js +106 -0
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +128 -0
- package/dist/components/sl.js +46 -0
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +81 -0
- package/dist/components/sv.js +51 -0
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +5 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +45 -0
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tr.js +46 -0
- package/dist/components/uk.js +84 -0
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +50 -0
- package/dist/components/zh-cn.js +74 -0
- package/dist/components/zh-hk.js +51 -0
- package/dist/components/zh-tw.js +72 -0
- package/dist/esm/ExpandToggle-a7d49314.js +101 -0
- package/dist/esm/FloatingArrow-78a5ba84.js +43 -0
- package/dist/esm/Heading-7876da3c.js +17 -0
- package/dist/esm/app-globals-b96f5e3d.js +57 -0
- package/dist/esm/ar-31852619.js +94 -0
- package/dist/esm/array-8ee44994.js +10 -0
- package/dist/esm/bg-ead6af5c.js +75 -0
- package/dist/esm/bs-86e2369d.js +44 -0
- package/dist/esm/ca-c794ca56.js +64 -0
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +18 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-ef7aa7ed.js +2450 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -2391
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +12 -12
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +14 -12
- package/dist/esm/calcite-modal.entry.js +13 -13
- 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 +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +5 -5
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/composed-offset-position.esm-5827a3e1.js +75 -0
- package/dist/esm/conditionalSlot-a8a64317.js +55 -0
- package/dist/esm/cs-1ea778cd.js +140 -0
- package/dist/esm/da-3837d596.js +59 -0
- package/dist/esm/de-2ab39300.js +84 -0
- package/dist/esm/de-at-bd99753e.js +83 -0
- package/dist/esm/de-ch-0331b363.js +83 -0
- package/dist/esm/debounce-a1a064c9.js +487 -0
- package/dist/esm/dom-5a05eca8.js +922 -0
- package/dist/esm/el-e9fc42bf.js +59 -0
- package/dist/esm/en-au-ee7783f9.js +59 -0
- package/dist/esm/en-ca-4260e729.js +58 -0
- package/dist/esm/en-gb-a4cb5ded.js +62 -0
- package/dist/esm/es-55286f1c.js +59 -0
- package/dist/esm/es-mx-2ca55e54.js +58 -0
- package/dist/esm/et-76957505.js +85 -0
- package/dist/esm/fi-0aaf7b22.js +108 -0
- package/dist/esm/filter-a2b88222.js +758 -0
- package/dist/esm/floating-ui-a643197c.js +1812 -0
- package/dist/esm/focusTrapComponent-2334588f.js +799 -0
- package/dist/esm/form-0ef3246c.js +275 -0
- package/dist/esm/fr-6d25e039.js +61 -0
- package/dist/esm/fr-ch-783a2ae8.js +59 -0
- package/dist/esm/guid-950f8a37.js +19 -0
- package/dist/esm/he-918f84be.js +98 -0
- package/dist/esm/hi-bab16409.js +58 -0
- package/dist/esm/hr-16a159c3.js +73 -0
- package/dist/esm/hu-2f93f338.js +81 -0
- package/dist/esm/id-d958c3f5.js +59 -0
- package/dist/esm/index-28ca7c1a.js +2268 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/interactive-e6129886.js +68 -0
- package/dist/esm/it-ch-9d0adea6.js +59 -0
- package/dist/esm/it-edde3f6a.js +59 -0
- package/dist/esm/ja-5d624281.js +65 -0
- package/dist/esm/key-a2612875.js +11 -0
- package/dist/esm/ko-7c3bb3c6.js +65 -0
- package/dist/esm/label-87b5e7ab.js +125 -0
- package/dist/esm/loadable-37f28699.js +60 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-f86e03e7.js +545 -0
- package/dist/esm/lt-e36a50ed.js +90 -0
- package/dist/esm/lv-3bbecbe5.js +59 -0
- package/dist/esm/math-889823f4.js +20 -0
- package/dist/esm/mk-6e7db47d.js +59 -0
- package/dist/esm/nb-307c6d5a.js +60 -0
- package/dist/esm/nl-12c0856a.js +60 -0
- package/dist/esm/observers-a39f0945.js +46 -0
- package/dist/esm/openCloseComponent-a28409da.js +91 -0
- package/dist/esm/pl-7e8fcf2d.js +107 -0
- package/dist/esm/pt-1dd685ae.js +60 -0
- package/dist/esm/pt-br-5bc8f688.js +58 -0
- package/dist/esm/resources-126c408a.js +41 -0
- package/dist/esm/resources-1e79fb18.js +18 -0
- package/dist/esm/resources-490f78fe.js +23 -0
- package/dist/esm/resources-68aee013.js +14 -0
- package/dist/esm/resources-ed0abbe4.js +383 -0
- package/dist/esm/resources-ffc3d86b.js +15 -0
- package/dist/esm/ro-5cc7dc76.js +59 -0
- package/dist/esm/ru-9324465b.js +119 -0
- package/dist/esm/sk-e0a37f08.js +141 -0
- package/dist/esm/sl-46e33246.js +59 -0
- package/dist/esm/sortableComponent-4639e24b.js +3077 -0
- package/dist/esm/sr-33409671.js +94 -0
- package/dist/esm/sv-b325e02a.js +64 -0
- package/dist/esm/t9n-f2be9f54.js +90 -0
- package/dist/esm/th-90b20e12.js +58 -0
- package/dist/esm/throttle-5fadd5f5.js +73 -0
- package/dist/esm/tr-7a34b361.js +59 -0
- package/dist/esm/uk-7ffbc5c2.js +97 -0
- package/dist/esm/utils-7f02b08b.js +195 -0
- package/dist/esm/utils-c19b1fc9.js +277 -0
- package/dist/esm/vi-a18a8659.js +63 -0
- package/dist/esm/zh-cn-b50c3b57.js +87 -0
- package/dist/esm/zh-hk-72348205.js +64 -0
- package/dist/esm/zh-tw-3e60165b.js +85 -0
- package/dist/extras/docs-json.json +3 -3
- 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/color-picker/color-picker.d.ts +5 -0
- package/dist/types/components/navigation-logo/navigation-logo.d.ts +2 -0
- package/dist/types/components/text-area/assets/text-area/t9n/index.d.ts +1 -0
- package/dist/types/utils/globalAttributes.d.ts +2 -0
- package/dist/types/utils/interactive.d.ts +6 -0
- package/dist/types/utils/t9n.d.ts +5 -0
- package/hydrate/index.js +2922 -45
- package/package.json +4 -5
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/af.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/am.js +0 -40
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +0 -41
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +0 -42
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +0 -41
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +0 -27
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +0 -42
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +0 -41
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +0 -42
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar.js +0 -74
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/az.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/be.js +0 -24
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bg.js +0 -55
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bi.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bm.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +0 -81
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn.js +0 -72
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bo.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/br.js +0 -93
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bs.js +0 -24
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ca.js +0 -44
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cs.js +0 -120
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cv.js +0 -24
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cy.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/da.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-at.js +0 -63
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-ch.js +0 -63
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de.js +0 -64
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/dv.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/el.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-au.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ca.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-gb.js +0 -42
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ie.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-il.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-in.js +0 -42
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-nz.js +0 -41
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-sg.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-tt.js +0 -42
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en.js +0 -12
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eo.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-do.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-mx.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-pr.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-us.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/et.js +0 -65
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eu.js +0 -43
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fa.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fi.js +0 -88
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fo.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr.js +0 -41
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fy.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ga.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gd.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gl.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +0 -25
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gu.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/he.js +0 -78
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hi.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hr.js +0 -53
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ht.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hu.js +0 -61
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hy-am.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/id.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/is.js +0 -68
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it-ch.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ja.js +0 -45
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/jv.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ka.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kk.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/km.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kn.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ko.js +0 -45
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ku.js +0 -77
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ky.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lb.js +0 -24
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lo.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lt.js +0 -70
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lv.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/me.js +0 -24
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mi.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mk.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ml.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mn.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mr.js +0 -23
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms-my.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mt.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/my.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nb.js +0 -40
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ne.js +0 -40
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl-be.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl.js +0 -40
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nn.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pa-in.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pl.js +0 -87
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt-br.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt.js +0 -40
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rn.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ro.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ru.js +0 -99
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rw.js +0 -35
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sd.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/se.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/si.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sk.js +0 -121
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sl.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sq.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +0 -74
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr.js +0 -74
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ss.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +0 -46
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv.js +0 -44
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sw.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ta.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/te.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tet.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tg.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/th.js +0 -38
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tk.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tlh.js +0 -24
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tr.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzl.js +0 -24
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uk.js +0 -77
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ur.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/vi.js +0 -43
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/yo.js +0 -39
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +0 -67
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +0 -44
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +0 -65
- package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh.js +0 -67
- package/dist/calcite/p-004dd1d6.js +0 -6
- package/dist/calcite/p-01860433.js +0 -6
- package/dist/calcite/p-05107f5a.js +0 -6
- package/dist/calcite/p-0685619c.entry.js +0 -6
- package/dist/calcite/p-09b50b91.entry.js +0 -6
- package/dist/calcite/p-0bae5668.entry.js +0 -6
- package/dist/calcite/p-0be71862.entry.js +0 -6
- package/dist/calcite/p-0cffaf5d.js +0 -6
- package/dist/calcite/p-0e4eddf7.entry.js +0 -6
- package/dist/calcite/p-0efd9a8e.entry.js +0 -6
- package/dist/calcite/p-123bdb48.entry.js +0 -6
- package/dist/calcite/p-12a80716.entry.js +0 -6
- package/dist/calcite/p-14c077f1.entry.js +0 -6
- package/dist/calcite/p-1976aed8.entry.js +0 -6
- package/dist/calcite/p-19872ceb.js +0 -6
- package/dist/calcite/p-214cb5d0.js +0 -6
- package/dist/calcite/p-21698679.js +0 -6
- package/dist/calcite/p-23c91700.entry.js +0 -6
- package/dist/calcite/p-2496449c.js +0 -6
- package/dist/calcite/p-293ec102.js +0 -6
- package/dist/calcite/p-2b334a62.entry.js +0 -6
- package/dist/calcite/p-2c5f921d.js +0 -6
- package/dist/calcite/p-317c752a.js +0 -6
- package/dist/calcite/p-318bc32a.entry.js +0 -6
- package/dist/calcite/p-31bbd82e.js +0 -6
- package/dist/calcite/p-324765f2.js +0 -6
- package/dist/calcite/p-3380d581.entry.js +0 -6
- package/dist/calcite/p-38139b64.js +0 -10
- package/dist/calcite/p-3b86130a.entry.js +0 -6
- package/dist/calcite/p-3fa3a4a5.entry.js +0 -6
- package/dist/calcite/p-3febd261.entry.js +0 -6
- package/dist/calcite/p-3fefa680.entry.js +0 -6
- package/dist/calcite/p-414d8f00.entry.js +0 -6
- package/dist/calcite/p-42bfe666.js +0 -6
- package/dist/calcite/p-432f58bc.entry.js +0 -6
- package/dist/calcite/p-46a44e0b.entry.js +0 -6
- package/dist/calcite/p-4818340d.entry.js +0 -6
- package/dist/calcite/p-4daedefa.entry.js +0 -6
- package/dist/calcite/p-52a623a6.entry.js +0 -6
- package/dist/calcite/p-5664f7b6.js +0 -6
- package/dist/calcite/p-568e969b.entry.js +0 -6
- package/dist/calcite/p-57aab5c3.entry.js +0 -6
- package/dist/calcite/p-5b366a60.entry.js +0 -6
- package/dist/calcite/p-5db9e2e3.entry.js +0 -6
- package/dist/calcite/p-60afa680.js +0 -6
- package/dist/calcite/p-61a751a5.js +0 -7
- package/dist/calcite/p-660e6569.entry.js +0 -6
- package/dist/calcite/p-663ff1ac.entry.js +0 -6
- package/dist/calcite/p-6b6c5f9f.js +0 -11
- package/dist/calcite/p-6c97c450.entry.js +0 -6
- package/dist/calcite/p-6fefde6c.entry.js +0 -6
- package/dist/calcite/p-70f58cea.entry.js +0 -6
- package/dist/calcite/p-74531ae1.js +0 -6
- package/dist/calcite/p-758730aa.entry.js +0 -6
- package/dist/calcite/p-7611b505.entry.js +0 -6
- package/dist/calcite/p-778942e4.js +0 -6
- package/dist/calcite/p-7e3e1abb.entry.js +0 -6
- package/dist/calcite/p-80d1fd1a.entry.js +0 -6
- package/dist/calcite/p-81d9434a.entry.js +0 -6
- package/dist/calcite/p-8251d6c7.entry.js +0 -6
- package/dist/calcite/p-84db53fe.entry.js +0 -6
- package/dist/calcite/p-852eafa5.entry.js +0 -6
- package/dist/calcite/p-85880f27.entry.js +0 -6
- package/dist/calcite/p-86e1d9ed.entry.js +0 -6
- package/dist/calcite/p-8d591499.js +0 -6
- package/dist/calcite/p-8dc911bd.entry.js +0 -6
- package/dist/calcite/p-8f992f9e.js +0 -6
- package/dist/calcite/p-93977b1d.js +0 -12
- package/dist/calcite/p-9409cd9e.entry.js +0 -6
- package/dist/calcite/p-94544c9a.js +0 -6
- package/dist/calcite/p-95c23a20.entry.js +0 -6
- package/dist/calcite/p-9b9abf1b.entry.js +0 -6
- package/dist/calcite/p-a02d1b15.entry.js +0 -6
- package/dist/calcite/p-a1797d09.js +0 -6
- package/dist/calcite/p-a1fd2538.entry.js +0 -6
- package/dist/calcite/p-a4532a67.js +0 -6
- package/dist/calcite/p-a4f64bae.js +0 -6
- package/dist/calcite/p-a99a6fe0.js +0 -6
- package/dist/calcite/p-ad8b4120.entry.js +0 -6
- package/dist/calcite/p-ad99271c.entry.js +0 -6
- package/dist/calcite/p-b0d34ac5.entry.js +0 -6
- package/dist/calcite/p-b57530c0.js +0 -6
- package/dist/calcite/p-b5fbccc3.entry.js +0 -6
- package/dist/calcite/p-b7b04d78.entry.js +0 -6
- package/dist/calcite/p-b8673720.entry.js +0 -6
- package/dist/calcite/p-b8d661b3.js +0 -6
- package/dist/calcite/p-bcaf101d.entry.js +0 -6
- package/dist/calcite/p-be9e9747.js +0 -6
- package/dist/calcite/p-c7c8a3d1.js +0 -6
- package/dist/calcite/p-c94c1b5e.entry.js +0 -6
- package/dist/calcite/p-d48710cf.entry.js +0 -6
- package/dist/calcite/p-d514ec28.entry.js +0 -6
- package/dist/calcite/p-d5acc26d.js +0 -6
- package/dist/calcite/p-d72a2d1f.entry.js +0 -6
- package/dist/calcite/p-e0f30656.entry.js +0 -6
- package/dist/calcite/p-e43edcec.entry.js +0 -6
- package/dist/calcite/p-e605af99.entry.js +0 -6
- package/dist/calcite/p-e85ef43e.entry.js +0 -6
- package/dist/calcite/p-ff26e280.entry.js +0 -6
- package/dist/cjs/ExpandToggle-d49ddfbb.js +0 -109
- package/dist/cjs/FloatingArrow-9909f42a.js +0 -45
- package/dist/cjs/Heading-95519ac1.js +0 -20
- package/dist/cjs/app-globals-8648fbd8.js +0 -59
- package/dist/cjs/array-065a6966.js +0 -12
- package/dist/cjs/composed-offset-position.esm-62406ecf.js +0 -79
- package/dist/cjs/conditionalSlot-80fb94c8.js +0 -58
- package/dist/cjs/debounce-ba625d71.js +0 -496
- package/dist/cjs/dom-177c7358.js +0 -949
- package/dist/cjs/filter-f19d8373.js +0 -760
- package/dist/cjs/floating-ui-66681977.js +0 -1820
- package/dist/cjs/focusTrapComponent-2310132c.js +0 -804
- package/dist/cjs/form-95b7c780.js +0 -283
- package/dist/cjs/guid-3776f853.js +0 -21
- package/dist/cjs/index-c5472ca6.js +0 -2303
- package/dist/cjs/interactive-13d268e5.js +0 -64
- package/dist/cjs/key-71b7da2b.js +0 -14
- package/dist/cjs/label-321dcad3.js +0 -131
- package/dist/cjs/loadable-5a78a969.js +0 -64
- package/dist/cjs/locale-947cff83.js +0 -557
- package/dist/cjs/math-72eed2bb.js +0 -23
- package/dist/cjs/observers-40734005.js +0 -48
- package/dist/cjs/openCloseComponent-bfcc6163.js +0 -95
- package/dist/cjs/resources-55b9f154.js +0 -45
- package/dist/cjs/resources-6b99dc32.js +0 -15
- package/dist/cjs/resources-a900c0e0.js +0 -27
- package/dist/cjs/resources-c6354a76.js +0 -17
- package/dist/cjs/resources-c855fffb.js +0 -410
- package/dist/cjs/resources-d713a4fe.js +0 -22
- package/dist/cjs/sortableComponent-263b2b36.js +0 -3082
- package/dist/cjs/t9n-de34a47b.js +0 -91
- package/dist/cjs/throttle-e79b7184.js +0 -75
- package/dist/cjs/utils-2042be80.js +0 -294
- package/dist/cjs/utils-aad320f7.js +0 -213
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/af.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/am.js +0 -40
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +0 -41
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +0 -42
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +0 -41
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +0 -27
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +0 -42
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +0 -41
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +0 -42
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar.js +0 -74
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/az.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/be.js +0 -24
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bg.js +0 -55
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bi.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bm.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +0 -81
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn.js +0 -72
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bo.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/br.js +0 -93
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bs.js +0 -24
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ca.js +0 -44
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cs.js +0 -120
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cv.js +0 -24
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cy.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/da.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-at.js +0 -63
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-ch.js +0 -63
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de.js +0 -64
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/dv.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/el.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-au.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ca.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-gb.js +0 -42
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ie.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-il.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-in.js +0 -42
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-nz.js +0 -41
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-sg.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-tt.js +0 -42
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en.js +0 -12
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eo.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-do.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-mx.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-pr.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-us.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/et.js +0 -65
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eu.js +0 -43
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fa.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fi.js +0 -88
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fo.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr.js +0 -41
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fy.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ga.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gd.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gl.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +0 -25
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gu.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/he.js +0 -78
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hi.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hr.js +0 -53
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ht.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hu.js +0 -61
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hy-am.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/id.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/is.js +0 -68
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it-ch.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ja.js +0 -45
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/jv.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ka.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kk.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/km.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kn.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ko.js +0 -45
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ku.js +0 -77
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ky.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lb.js +0 -24
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lo.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lt.js +0 -70
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lv.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/me.js +0 -24
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mi.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mk.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ml.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mn.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mr.js +0 -23
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms-my.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mt.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/my.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nb.js +0 -40
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ne.js +0 -40
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl-be.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl.js +0 -40
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nn.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pa-in.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pl.js +0 -87
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt-br.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt.js +0 -40
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rn.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ro.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ru.js +0 -99
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rw.js +0 -35
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sd.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/se.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/si.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sk.js +0 -121
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sl.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sq.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +0 -74
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr.js +0 -74
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ss.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +0 -46
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv.js +0 -44
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sw.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ta.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/te.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tet.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tg.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/th.js +0 -38
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tk.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tlh.js +0 -24
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tr.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzl.js +0 -24
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uk.js +0 -77
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ur.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/vi.js +0 -43
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/yo.js +0 -39
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +0 -67
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +0 -44
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +0 -65
- package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh.js +0 -67
- package/dist/esm/ExpandToggle-4511b35f.js +0 -101
- package/dist/esm/FloatingArrow-c55586a3.js +0 -43
- package/dist/esm/Heading-6f68263f.js +0 -17
- package/dist/esm/app-globals-147c6d18.js +0 -57
- package/dist/esm/array-2fe1b6ad.js +0 -10
- package/dist/esm/composed-offset-position.esm-4ef01dc7.js +0 -75
- package/dist/esm/conditionalSlot-8af37ffa.js +0 -55
- package/dist/esm/debounce-fabde551.js +0 -487
- package/dist/esm/dom-2bdd8819.js +0 -922
- package/dist/esm/filter-932c7628.js +0 -758
- package/dist/esm/floating-ui-0418ab2e.js +0 -1812
- package/dist/esm/focusTrapComponent-1be92722.js +0 -799
- package/dist/esm/form-4087330c.js +0 -275
- package/dist/esm/guid-dcf698f9.js +0 -19
- package/dist/esm/index-b1d0c2e7.js +0 -2268
- package/dist/esm/interactive-2241201e.js +0 -62
- package/dist/esm/key-fd401552.js +0 -11
- package/dist/esm/label-9a7d5f05.js +0 -125
- package/dist/esm/loadable-2659822c.js +0 -60
- package/dist/esm/locale-8d7f76d2.js +0 -545
- package/dist/esm/math-ccfd3a67.js +0 -20
- package/dist/esm/observers-2bf90437.js +0 -46
- package/dist/esm/openCloseComponent-2319213d.js +0 -91
- package/dist/esm/resources-42b5a527.js +0 -14
- package/dist/esm/resources-63b64825.js +0 -15
- package/dist/esm/resources-68020fe4.js +0 -23
- package/dist/esm/resources-8db69e81.js +0 -41
- package/dist/esm/resources-c3965cdf.js +0 -18
- package/dist/esm/resources-fd4c1af1.js +0 -383
- package/dist/esm/sortableComponent-33418565.js +0 -3077
- package/dist/esm/t9n-04ba3670.js +0 -86
- package/dist/esm/throttle-42135f0c.js +0 -73
- package/dist/esm/utils-7b8ee7fb.js +0 -195
- package/dist/esm/utils-92666e40.js +0 -277
|
@@ -1,2395 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.1-next.
|
|
4
|
+
* v1.4.1-next.3
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
|
|
20
|
-
const maxTenthForMinuteAndSecond = 5;
|
|
21
|
-
function createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds = true) {
|
|
22
|
-
const options = {
|
|
23
|
-
hour: "2-digit",
|
|
24
|
-
minute: "2-digit",
|
|
25
|
-
timeZone: "UTC",
|
|
26
|
-
numberingSystem: getSupportedNumberingSystem(numberingSystem)
|
|
27
|
-
};
|
|
28
|
-
if (includeSeconds) {
|
|
29
|
-
options.second = "2-digit";
|
|
30
|
-
}
|
|
31
|
-
return getDateTimeFormat(locale, options);
|
|
32
|
-
}
|
|
33
|
-
function formatTimePart(number) {
|
|
34
|
-
const numberAsString = number.toString();
|
|
35
|
-
return number >= 0 && number <= 9 ? numberAsString.padStart(2, "0") : numberAsString;
|
|
36
|
-
}
|
|
37
|
-
function formatTimeString(value) {
|
|
38
|
-
if (!isValidTime(value)) {
|
|
39
|
-
return null;
|
|
40
|
-
}
|
|
41
|
-
const [hourString, minuteString, secondString] = value.split(":");
|
|
42
|
-
const hour = formatTimePart(parseInt(hourString));
|
|
43
|
-
const minute = formatTimePart(parseInt(minuteString));
|
|
44
|
-
if (secondString) {
|
|
45
|
-
const second = formatTimePart(parseInt(secondString));
|
|
46
|
-
return `${hour}:${minute}:${second}`;
|
|
47
|
-
}
|
|
48
|
-
return `${hour}:${minute}`;
|
|
49
|
-
}
|
|
50
|
-
function getLocaleHourCycle(locale, numberingSystem) {
|
|
51
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
52
|
-
const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
|
|
53
|
-
return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
|
|
54
|
-
}
|
|
55
|
-
function getLocalizedTimePart(part, parts) {
|
|
56
|
-
if (!part || !parts) {
|
|
57
|
-
return null;
|
|
58
|
-
}
|
|
59
|
-
if (part === "hourSuffix") {
|
|
60
|
-
const hourIndex = parts.indexOf(parts.find(({ type }) => type === "hour"));
|
|
61
|
-
const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
|
|
62
|
-
const hourSuffix = parts[hourIndex + 1];
|
|
63
|
-
return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
|
|
64
|
-
? hourSuffix.value?.trim() || null
|
|
65
|
-
: null;
|
|
66
|
-
}
|
|
67
|
-
if (part === "minuteSuffix") {
|
|
68
|
-
const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
|
|
69
|
-
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
70
|
-
const minuteSuffix = parts[minuteIndex + 1];
|
|
71
|
-
return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
|
|
72
|
-
? minuteSuffix.value?.trim() || null
|
|
73
|
-
: null;
|
|
74
|
-
}
|
|
75
|
-
if (part === "secondSuffix") {
|
|
76
|
-
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
77
|
-
const secondSuffix = parts[secondIndex + 1];
|
|
78
|
-
return secondSuffix && secondSuffix.type === "literal" ? secondSuffix.value?.trim() || null : null;
|
|
79
|
-
}
|
|
80
|
-
return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
|
|
81
|
-
}
|
|
82
|
-
function getMeridiem(hour) {
|
|
83
|
-
if (!isValidNumber(hour)) {
|
|
84
|
-
return null;
|
|
85
|
-
}
|
|
86
|
-
const hourAsNumber = parseInt(hour);
|
|
87
|
-
return hourAsNumber >= 0 && hourAsNumber <= 11 ? "AM" : "PM";
|
|
88
|
-
}
|
|
89
|
-
function isValidTime(value) {
|
|
90
|
-
if (!value || value.startsWith(":") || value.endsWith(":")) {
|
|
91
|
-
return false;
|
|
92
|
-
}
|
|
93
|
-
const splitValue = value.split(":");
|
|
94
|
-
const validLength = splitValue.length > 1 && splitValue.length < 4;
|
|
95
|
-
if (!validLength) {
|
|
96
|
-
return false;
|
|
97
|
-
}
|
|
98
|
-
const [hour, minute, second] = splitValue;
|
|
99
|
-
const hourAsNumber = parseInt(splitValue[0]);
|
|
100
|
-
const minuteAsNumber = parseInt(splitValue[1]);
|
|
101
|
-
const secondAsNumber = parseInt(splitValue[2]);
|
|
102
|
-
const hourValid = isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
|
|
103
|
-
const minuteValid = isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
|
|
104
|
-
const secondValid = isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
|
|
105
|
-
if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
|
|
106
|
-
return true;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
function isValidTimePart(value, part) {
|
|
110
|
-
if (part === "meridiem") {
|
|
111
|
-
return value === "AM" || value === "PM";
|
|
112
|
-
}
|
|
113
|
-
if (!isValidNumber(value)) {
|
|
114
|
-
return false;
|
|
115
|
-
}
|
|
116
|
-
const valueAsNumber = Number(value);
|
|
117
|
-
return part === "hour" ? valueAsNumber >= 0 && valueAsNumber < 24 : valueAsNumber >= 0 && valueAsNumber < 60;
|
|
118
|
-
}
|
|
119
|
-
function localizeTimePart({ value, part, locale, numberingSystem }) {
|
|
120
|
-
if (!isValidTimePart(value, part)) {
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
const valueAsNumber = parseInt(value);
|
|
124
|
-
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));
|
|
125
|
-
if (!date) {
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
129
|
-
const parts = formatter.formatToParts(date);
|
|
130
|
-
return getLocalizedTimePart(part, parts);
|
|
131
|
-
}
|
|
132
|
-
function localizeTimeString({ value, locale, numberingSystem, includeSeconds = true }) {
|
|
133
|
-
if (!isValidTime(value)) {
|
|
134
|
-
return null;
|
|
135
|
-
}
|
|
136
|
-
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
137
|
-
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
138
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds);
|
|
139
|
-
return formatter?.format(dateFromTimeString) || null;
|
|
140
|
-
}
|
|
141
|
-
function localizeTimeStringToParts({ value, locale, numberingSystem }) {
|
|
142
|
-
if (!isValidTime(value)) {
|
|
143
|
-
return null;
|
|
144
|
-
}
|
|
145
|
-
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
146
|
-
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
147
|
-
if (dateFromTimeString) {
|
|
148
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
149
|
-
const parts = formatter.formatToParts(dateFromTimeString);
|
|
150
|
-
return {
|
|
151
|
-
localizedHour: getLocalizedTimePart("hour", parts),
|
|
152
|
-
localizedHourSuffix: getLocalizedTimePart("hourSuffix", parts),
|
|
153
|
-
localizedMinute: getLocalizedTimePart("minute", parts),
|
|
154
|
-
localizedMinuteSuffix: getLocalizedTimePart("minuteSuffix", parts),
|
|
155
|
-
localizedSecond: getLocalizedTimePart("second", parts),
|
|
156
|
-
localizedSecondSuffix: getLocalizedTimePart("secondSuffix", parts),
|
|
157
|
-
localizedMeridiem: getLocalizedTimePart("meridiem", parts)
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
return null;
|
|
161
|
-
}
|
|
162
|
-
function getTimeParts({ value, locale, numberingSystem }) {
|
|
163
|
-
if (!isValidTime(value)) {
|
|
164
|
-
return null;
|
|
165
|
-
}
|
|
166
|
-
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
167
|
-
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
168
|
-
if (dateFromTimeString) {
|
|
169
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
170
|
-
const parts = formatter.formatToParts(dateFromTimeString);
|
|
171
|
-
return parts;
|
|
172
|
-
}
|
|
173
|
-
return null;
|
|
174
|
-
}
|
|
175
|
-
function parseTimeString(value) {
|
|
176
|
-
if (isValidTime(value)) {
|
|
177
|
-
const [hour, minute, second] = value.split(":");
|
|
178
|
-
return {
|
|
179
|
-
hour,
|
|
180
|
-
minute,
|
|
181
|
-
second
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
return {
|
|
185
|
-
hour: null,
|
|
186
|
-
minute: null,
|
|
187
|
-
second: null
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
function toISOTimeString(value, includeSeconds = true) {
|
|
191
|
-
if (!isValidTime(value)) {
|
|
192
|
-
return "";
|
|
193
|
-
}
|
|
194
|
-
const { hour, minute, second } = parseTimeString(value);
|
|
195
|
-
let isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
|
|
196
|
-
if (includeSeconds) {
|
|
197
|
-
isoTimeString += `:${formatTimePart(parseInt((includeSeconds && second) || "0"))}`;
|
|
198
|
-
}
|
|
199
|
-
return isoTimeString;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
const CSS$1 = {
|
|
203
|
-
toggleIcon: "toggle-icon"
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
var SECONDS_A_MINUTE = 60;
|
|
207
|
-
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
|
208
|
-
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
|
209
|
-
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
|
210
|
-
var MILLISECONDS_A_SECOND = 1e3;
|
|
211
|
-
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
|
212
|
-
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
|
213
|
-
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
|
214
|
-
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
|
215
|
-
|
|
216
|
-
var MS = 'millisecond';
|
|
217
|
-
var S = 'second';
|
|
218
|
-
var MIN = 'minute';
|
|
219
|
-
var H = 'hour';
|
|
220
|
-
var D = 'day';
|
|
221
|
-
var W = 'week';
|
|
222
|
-
var M = 'month';
|
|
223
|
-
var Q = 'quarter';
|
|
224
|
-
var Y = 'year';
|
|
225
|
-
var DATE = 'date';
|
|
226
|
-
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
|
227
|
-
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
|
228
|
-
|
|
229
|
-
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
|
230
|
-
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;
|
|
231
|
-
|
|
232
|
-
// English [en]
|
|
233
|
-
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
|
234
|
-
const en = {
|
|
235
|
-
name: 'en',
|
|
236
|
-
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
|
237
|
-
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
|
238
|
-
ordinal: function ordinal(n) {
|
|
239
|
-
var s = ['th', 'st', 'nd', 'rd'];
|
|
240
|
-
var v = n % 100;
|
|
241
|
-
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
|
242
|
-
}
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
var padStart = function padStart(string, length, pad) {
|
|
246
|
-
var s = String(string);
|
|
247
|
-
if (!s || s.length >= length) return string;
|
|
248
|
-
return "" + Array(length + 1 - s.length).join(pad) + string;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
var padZoneStr = function padZoneStr(instance) {
|
|
252
|
-
var negMinutes = -instance.utcOffset();
|
|
253
|
-
var minutes = Math.abs(negMinutes);
|
|
254
|
-
var hourOffset = Math.floor(minutes / 60);
|
|
255
|
-
var minuteOffset = minutes % 60;
|
|
256
|
-
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
var monthDiff = function monthDiff(a, b) {
|
|
260
|
-
// function from moment.js in order to keep the same result
|
|
261
|
-
if (a.date() < b.date()) return -monthDiff(b, a);
|
|
262
|
-
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
|
263
|
-
var anchor = a.clone().add(wholeMonthDiff, M);
|
|
264
|
-
var c = b - anchor < 0;
|
|
265
|
-
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
|
266
|
-
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
var absFloor = function absFloor(n) {
|
|
270
|
-
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
|
271
|
-
};
|
|
272
|
-
|
|
273
|
-
var prettyUnit = function prettyUnit(u) {
|
|
274
|
-
var special = {
|
|
275
|
-
M: M,
|
|
276
|
-
y: Y,
|
|
277
|
-
w: W,
|
|
278
|
-
d: D,
|
|
279
|
-
D: DATE,
|
|
280
|
-
h: H,
|
|
281
|
-
m: MIN,
|
|
282
|
-
s: S,
|
|
283
|
-
ms: MS,
|
|
284
|
-
Q: Q
|
|
285
|
-
};
|
|
286
|
-
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
|
287
|
-
};
|
|
288
|
-
|
|
289
|
-
var isUndefined = function isUndefined(s) {
|
|
290
|
-
return s === undefined;
|
|
291
|
-
};
|
|
292
|
-
|
|
293
|
-
const U = {
|
|
294
|
-
s: padStart,
|
|
295
|
-
z: padZoneStr,
|
|
296
|
-
m: monthDiff,
|
|
297
|
-
a: absFloor,
|
|
298
|
-
p: prettyUnit,
|
|
299
|
-
u: isUndefined
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
var L = 'en'; // global locale
|
|
303
|
-
|
|
304
|
-
var Ls = {}; // global loaded locale
|
|
305
|
-
|
|
306
|
-
Ls[L] = en;
|
|
307
|
-
|
|
308
|
-
var isDayjs = function isDayjs(d) {
|
|
309
|
-
return d instanceof Dayjs;
|
|
310
|
-
}; // eslint-disable-line no-use-before-define
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
var parseLocale = function parseLocale(preset, object, isLocal) {
|
|
314
|
-
var l;
|
|
315
|
-
if (!preset) return L;
|
|
316
|
-
|
|
317
|
-
if (typeof preset === 'string') {
|
|
318
|
-
var presetLower = preset.toLowerCase();
|
|
319
|
-
|
|
320
|
-
if (Ls[presetLower]) {
|
|
321
|
-
l = presetLower;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
if (object) {
|
|
325
|
-
Ls[presetLower] = object;
|
|
326
|
-
l = presetLower;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
var presetSplit = preset.split('-');
|
|
330
|
-
|
|
331
|
-
if (!l && presetSplit.length > 1) {
|
|
332
|
-
return parseLocale(presetSplit[0]);
|
|
333
|
-
}
|
|
334
|
-
} else {
|
|
335
|
-
var name = preset.name;
|
|
336
|
-
Ls[name] = preset;
|
|
337
|
-
l = name;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
if (!isLocal && l) L = l;
|
|
341
|
-
return l || !isLocal && L;
|
|
342
|
-
};
|
|
343
|
-
|
|
344
|
-
var dayjs = function dayjs(date, c) {
|
|
345
|
-
if (isDayjs(date)) {
|
|
346
|
-
return date.clone();
|
|
347
|
-
} // eslint-disable-next-line no-nested-ternary
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
var cfg = typeof c === 'object' ? c : {};
|
|
351
|
-
cfg.date = date;
|
|
352
|
-
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
|
353
|
-
|
|
354
|
-
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
|
355
|
-
};
|
|
356
|
-
|
|
357
|
-
var wrapper = function wrapper(date, instance) {
|
|
358
|
-
return dayjs(date, {
|
|
359
|
-
locale: instance.$L,
|
|
360
|
-
utc: instance.$u,
|
|
361
|
-
x: instance.$x,
|
|
362
|
-
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
|
363
|
-
|
|
364
|
-
});
|
|
365
|
-
};
|
|
366
|
-
|
|
367
|
-
var Utils = U; // for plugin use
|
|
368
|
-
|
|
369
|
-
Utils.l = parseLocale;
|
|
370
|
-
Utils.i = isDayjs;
|
|
371
|
-
Utils.w = wrapper;
|
|
372
|
-
|
|
373
|
-
var parseDate = function parseDate(cfg) {
|
|
374
|
-
var date = cfg.date,
|
|
375
|
-
utc = cfg.utc;
|
|
376
|
-
if (date === null) return new Date(NaN); // null is invalid
|
|
377
|
-
|
|
378
|
-
if (Utils.u(date)) return new Date(); // today
|
|
379
|
-
|
|
380
|
-
if (date instanceof Date) return new Date(date);
|
|
381
|
-
|
|
382
|
-
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
|
383
|
-
var d = date.match(REGEX_PARSE);
|
|
384
|
-
|
|
385
|
-
if (d) {
|
|
386
|
-
var m = d[2] - 1 || 0;
|
|
387
|
-
var ms = (d[7] || '0').substring(0, 3);
|
|
388
|
-
|
|
389
|
-
if (utc) {
|
|
390
|
-
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
return new Date(date); // everything else
|
|
398
|
-
};
|
|
399
|
-
|
|
400
|
-
var Dayjs = /*#__PURE__*/function () {
|
|
401
|
-
function Dayjs(cfg) {
|
|
402
|
-
this.$L = parseLocale(cfg.locale, null, true);
|
|
403
|
-
this.parse(cfg); // for plugin
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
var _proto = Dayjs.prototype;
|
|
407
|
-
|
|
408
|
-
_proto.parse = function parse(cfg) {
|
|
409
|
-
this.$d = parseDate(cfg);
|
|
410
|
-
this.$x = cfg.x || {};
|
|
411
|
-
this.init();
|
|
412
|
-
};
|
|
413
|
-
|
|
414
|
-
_proto.init = function init() {
|
|
415
|
-
var $d = this.$d;
|
|
416
|
-
this.$y = $d.getFullYear();
|
|
417
|
-
this.$M = $d.getMonth();
|
|
418
|
-
this.$D = $d.getDate();
|
|
419
|
-
this.$W = $d.getDay();
|
|
420
|
-
this.$H = $d.getHours();
|
|
421
|
-
this.$m = $d.getMinutes();
|
|
422
|
-
this.$s = $d.getSeconds();
|
|
423
|
-
this.$ms = $d.getMilliseconds();
|
|
424
|
-
} // eslint-disable-next-line class-methods-use-this
|
|
425
|
-
;
|
|
426
|
-
|
|
427
|
-
_proto.$utils = function $utils() {
|
|
428
|
-
return Utils;
|
|
429
|
-
};
|
|
430
|
-
|
|
431
|
-
_proto.isValid = function isValid() {
|
|
432
|
-
return !(this.$d.toString() === INVALID_DATE_STRING);
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
_proto.isSame = function isSame(that, units) {
|
|
436
|
-
var other = dayjs(that);
|
|
437
|
-
return this.startOf(units) <= other && other <= this.endOf(units);
|
|
438
|
-
};
|
|
439
|
-
|
|
440
|
-
_proto.isAfter = function isAfter(that, units) {
|
|
441
|
-
return dayjs(that) < this.startOf(units);
|
|
442
|
-
};
|
|
443
|
-
|
|
444
|
-
_proto.isBefore = function isBefore(that, units) {
|
|
445
|
-
return this.endOf(units) < dayjs(that);
|
|
446
|
-
};
|
|
447
|
-
|
|
448
|
-
_proto.$g = function $g(input, get, set) {
|
|
449
|
-
if (Utils.u(input)) return this[get];
|
|
450
|
-
return this.set(set, input);
|
|
451
|
-
};
|
|
452
|
-
|
|
453
|
-
_proto.unix = function unix() {
|
|
454
|
-
return Math.floor(this.valueOf() / 1000);
|
|
455
|
-
};
|
|
456
|
-
|
|
457
|
-
_proto.valueOf = function valueOf() {
|
|
458
|
-
// timezone(hour) * 60 * 60 * 1000 => ms
|
|
459
|
-
return this.$d.getTime();
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
_proto.startOf = function startOf(units, _startOf) {
|
|
463
|
-
var _this = this;
|
|
464
|
-
|
|
465
|
-
// startOf -> endOf
|
|
466
|
-
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
|
467
|
-
var unit = Utils.p(units);
|
|
468
|
-
|
|
469
|
-
var instanceFactory = function instanceFactory(d, m) {
|
|
470
|
-
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
|
471
|
-
return isStartOf ? ins : ins.endOf(D);
|
|
472
|
-
};
|
|
473
|
-
|
|
474
|
-
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
|
475
|
-
var argumentStart = [0, 0, 0, 0];
|
|
476
|
-
var argumentEnd = [23, 59, 59, 999];
|
|
477
|
-
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
|
478
|
-
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
|
479
|
-
};
|
|
480
|
-
|
|
481
|
-
var $W = this.$W,
|
|
482
|
-
$M = this.$M,
|
|
483
|
-
$D = this.$D;
|
|
484
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
485
|
-
|
|
486
|
-
switch (unit) {
|
|
487
|
-
case Y:
|
|
488
|
-
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
|
489
|
-
|
|
490
|
-
case M:
|
|
491
|
-
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
|
492
|
-
|
|
493
|
-
case W:
|
|
494
|
-
{
|
|
495
|
-
var weekStart = this.$locale().weekStart || 0;
|
|
496
|
-
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
|
497
|
-
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
case D:
|
|
501
|
-
case DATE:
|
|
502
|
-
return instanceFactorySet(utcPad + "Hours", 0);
|
|
503
|
-
|
|
504
|
-
case H:
|
|
505
|
-
return instanceFactorySet(utcPad + "Minutes", 1);
|
|
506
|
-
|
|
507
|
-
case MIN:
|
|
508
|
-
return instanceFactorySet(utcPad + "Seconds", 2);
|
|
509
|
-
|
|
510
|
-
case S:
|
|
511
|
-
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
|
512
|
-
|
|
513
|
-
default:
|
|
514
|
-
return this.clone();
|
|
515
|
-
}
|
|
516
|
-
};
|
|
517
|
-
|
|
518
|
-
_proto.endOf = function endOf(arg) {
|
|
519
|
-
return this.startOf(arg, false);
|
|
520
|
-
};
|
|
521
|
-
|
|
522
|
-
_proto.$set = function $set(units, _int) {
|
|
523
|
-
var _C$D$C$DATE$C$M$C$Y$C;
|
|
524
|
-
|
|
525
|
-
// private set
|
|
526
|
-
var unit = Utils.p(units);
|
|
527
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
528
|
-
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];
|
|
529
|
-
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
|
530
|
-
|
|
531
|
-
if (unit === M || unit === Y) {
|
|
532
|
-
// clone is for badMutable plugin
|
|
533
|
-
var date = this.clone().set(DATE, 1);
|
|
534
|
-
date.$d[name](arg);
|
|
535
|
-
date.init();
|
|
536
|
-
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
|
537
|
-
} else if (name) this.$d[name](arg);
|
|
538
|
-
|
|
539
|
-
this.init();
|
|
540
|
-
return this;
|
|
541
|
-
};
|
|
542
|
-
|
|
543
|
-
_proto.set = function set(string, _int2) {
|
|
544
|
-
return this.clone().$set(string, _int2);
|
|
545
|
-
};
|
|
546
|
-
|
|
547
|
-
_proto.get = function get(unit) {
|
|
548
|
-
return this[Utils.p(unit)]();
|
|
549
|
-
};
|
|
550
|
-
|
|
551
|
-
_proto.add = function add(number, units) {
|
|
552
|
-
var _this2 = this,
|
|
553
|
-
_C$MIN$C$H$C$S$unit;
|
|
554
|
-
|
|
555
|
-
number = Number(number); // eslint-disable-line no-param-reassign
|
|
556
|
-
|
|
557
|
-
var unit = Utils.p(units);
|
|
558
|
-
|
|
559
|
-
var instanceFactorySet = function instanceFactorySet(n) {
|
|
560
|
-
var d = dayjs(_this2);
|
|
561
|
-
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
|
562
|
-
};
|
|
563
|
-
|
|
564
|
-
if (unit === M) {
|
|
565
|
-
return this.set(M, this.$M + number);
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
if (unit === Y) {
|
|
569
|
-
return this.set(Y, this.$y + number);
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
if (unit === D) {
|
|
573
|
-
return instanceFactorySet(1);
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
if (unit === W) {
|
|
577
|
-
return instanceFactorySet(7);
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
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
|
|
581
|
-
|
|
582
|
-
var nextTimeStamp = this.$d.getTime() + number * step;
|
|
583
|
-
return Utils.w(nextTimeStamp, this);
|
|
584
|
-
};
|
|
585
|
-
|
|
586
|
-
_proto.subtract = function subtract(number, string) {
|
|
587
|
-
return this.add(number * -1, string);
|
|
588
|
-
};
|
|
589
|
-
|
|
590
|
-
_proto.format = function format(formatStr) {
|
|
591
|
-
var _this3 = this;
|
|
592
|
-
|
|
593
|
-
var locale = this.$locale();
|
|
594
|
-
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
|
595
|
-
var str = formatStr || FORMAT_DEFAULT;
|
|
596
|
-
var zoneStr = Utils.z(this);
|
|
597
|
-
var $H = this.$H,
|
|
598
|
-
$m = this.$m,
|
|
599
|
-
$M = this.$M;
|
|
600
|
-
var weekdays = locale.weekdays,
|
|
601
|
-
months = locale.months,
|
|
602
|
-
meridiem = locale.meridiem;
|
|
603
|
-
|
|
604
|
-
var getShort = function getShort(arr, index, full, length) {
|
|
605
|
-
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
|
606
|
-
};
|
|
607
|
-
|
|
608
|
-
var get$H = function get$H(num) {
|
|
609
|
-
return Utils.s($H % 12 || 12, num, '0');
|
|
610
|
-
};
|
|
611
|
-
|
|
612
|
-
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
|
613
|
-
var m = hour < 12 ? 'AM' : 'PM';
|
|
614
|
-
return isLowercase ? m.toLowerCase() : m;
|
|
615
|
-
};
|
|
616
|
-
|
|
617
|
-
var matches = {
|
|
618
|
-
YY: String(this.$y).slice(-2),
|
|
619
|
-
YYYY: this.$y,
|
|
620
|
-
M: $M + 1,
|
|
621
|
-
MM: Utils.s($M + 1, 2, '0'),
|
|
622
|
-
MMM: getShort(locale.monthsShort, $M, months, 3),
|
|
623
|
-
MMMM: getShort(months, $M),
|
|
624
|
-
D: this.$D,
|
|
625
|
-
DD: Utils.s(this.$D, 2, '0'),
|
|
626
|
-
d: String(this.$W),
|
|
627
|
-
dd: getShort(locale.weekdaysMin, this.$W, weekdays, 2),
|
|
628
|
-
ddd: getShort(locale.weekdaysShort, this.$W, weekdays, 3),
|
|
629
|
-
dddd: weekdays[this.$W],
|
|
630
|
-
H: String($H),
|
|
631
|
-
HH: Utils.s($H, 2, '0'),
|
|
632
|
-
h: get$H(1),
|
|
633
|
-
hh: get$H(2),
|
|
634
|
-
a: meridiemFunc($H, $m, true),
|
|
635
|
-
A: meridiemFunc($H, $m, false),
|
|
636
|
-
m: String($m),
|
|
637
|
-
mm: Utils.s($m, 2, '0'),
|
|
638
|
-
s: String(this.$s),
|
|
639
|
-
ss: Utils.s(this.$s, 2, '0'),
|
|
640
|
-
SSS: Utils.s(this.$ms, 3, '0'),
|
|
641
|
-
Z: zoneStr // 'ZZ' logic below
|
|
642
|
-
|
|
643
|
-
};
|
|
644
|
-
return str.replace(REGEX_FORMAT, function (match, $1) {
|
|
645
|
-
return $1 || matches[match] || zoneStr.replace(':', '');
|
|
646
|
-
}); // 'ZZ'
|
|
647
|
-
};
|
|
648
|
-
|
|
649
|
-
_proto.utcOffset = function utcOffset() {
|
|
650
|
-
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
|
651
|
-
// https://github.com/moment/moment/pull/1871
|
|
652
|
-
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
|
653
|
-
};
|
|
654
|
-
|
|
655
|
-
_proto.diff = function diff(input, units, _float) {
|
|
656
|
-
var _C$Y$C$M$C$Q$C$W$C$D$;
|
|
657
|
-
|
|
658
|
-
var unit = Utils.p(units);
|
|
659
|
-
var that = dayjs(input);
|
|
660
|
-
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
|
661
|
-
var diff = this - that;
|
|
662
|
-
var result = Utils.m(this, that);
|
|
663
|
-
result = (_C$Y$C$M$C$Q$C$W$C$D$ = {}, _C$Y$C$M$C$Q$C$W$C$D$[Y] = result / 12, _C$Y$C$M$C$Q$C$W$C$D$[M] = result, _C$Y$C$M$C$Q$C$W$C$D$[Q] = result / 3, _C$Y$C$M$C$Q$C$W$C$D$[W] = (diff - zoneDelta) / MILLISECONDS_A_WEEK, _C$Y$C$M$C$Q$C$W$C$D$[D] = (diff - zoneDelta) / MILLISECONDS_A_DAY, _C$Y$C$M$C$Q$C$W$C$D$[H] = diff / MILLISECONDS_A_HOUR, _C$Y$C$M$C$Q$C$W$C$D$[MIN] = diff / MILLISECONDS_A_MINUTE, _C$Y$C$M$C$Q$C$W$C$D$[S] = diff / MILLISECONDS_A_SECOND, _C$Y$C$M$C$Q$C$W$C$D$)[unit] || diff; // milliseconds
|
|
664
|
-
|
|
665
|
-
return _float ? result : Utils.a(result);
|
|
666
|
-
};
|
|
667
|
-
|
|
668
|
-
_proto.daysInMonth = function daysInMonth() {
|
|
669
|
-
return this.endOf(M).$D;
|
|
670
|
-
};
|
|
671
|
-
|
|
672
|
-
_proto.$locale = function $locale() {
|
|
673
|
-
// get locale object
|
|
674
|
-
return Ls[this.$L];
|
|
675
|
-
};
|
|
676
|
-
|
|
677
|
-
_proto.locale = function locale(preset, object) {
|
|
678
|
-
if (!preset) return this.$L;
|
|
679
|
-
var that = this.clone();
|
|
680
|
-
var nextLocaleName = parseLocale(preset, object, true);
|
|
681
|
-
if (nextLocaleName) that.$L = nextLocaleName;
|
|
682
|
-
return that;
|
|
683
|
-
};
|
|
684
|
-
|
|
685
|
-
_proto.clone = function clone() {
|
|
686
|
-
return Utils.w(this.$d, this);
|
|
687
|
-
};
|
|
688
|
-
|
|
689
|
-
_proto.toDate = function toDate() {
|
|
690
|
-
return new Date(this.valueOf());
|
|
691
|
-
};
|
|
692
|
-
|
|
693
|
-
_proto.toJSON = function toJSON() {
|
|
694
|
-
return this.isValid() ? this.toISOString() : null;
|
|
695
|
-
};
|
|
696
|
-
|
|
697
|
-
_proto.toISOString = function toISOString() {
|
|
698
|
-
// ie 8 return
|
|
699
|
-
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
|
700
|
-
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
|
701
|
-
return this.$d.toISOString();
|
|
702
|
-
};
|
|
703
|
-
|
|
704
|
-
_proto.toString = function toString() {
|
|
705
|
-
return this.$d.toUTCString();
|
|
706
|
-
};
|
|
707
|
-
|
|
708
|
-
return Dayjs;
|
|
709
|
-
}();
|
|
710
|
-
|
|
711
|
-
var proto = Dayjs.prototype;
|
|
712
|
-
dayjs.prototype = proto;
|
|
713
|
-
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
|
714
|
-
proto[g[1]] = function (input) {
|
|
715
|
-
return this.$g(input, g[0], g[1]);
|
|
716
|
-
};
|
|
717
|
-
});
|
|
718
|
-
|
|
719
|
-
dayjs.extend = function (plugin, option) {
|
|
720
|
-
if (!plugin.$i) {
|
|
721
|
-
// install plugin only once
|
|
722
|
-
plugin(option, Dayjs, dayjs);
|
|
723
|
-
plugin.$i = true;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
return dayjs;
|
|
727
|
-
};
|
|
728
|
-
|
|
729
|
-
dayjs.locale = parseLocale;
|
|
730
|
-
dayjs.isDayjs = isDayjs;
|
|
731
|
-
|
|
732
|
-
dayjs.unix = function (timestamp) {
|
|
733
|
-
return dayjs(timestamp * 1e3);
|
|
734
|
-
};
|
|
735
|
-
|
|
736
|
-
dayjs.en = Ls[L];
|
|
737
|
-
dayjs.Ls = Ls;
|
|
738
|
-
dayjs.p = {};
|
|
739
|
-
|
|
740
|
-
// eslint-disable-next-line import/prefer-default-export
|
|
741
|
-
var t = function t(format) {
|
|
742
|
-
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
|
743
|
-
return a || b.slice(1);
|
|
744
|
-
});
|
|
745
|
-
};
|
|
746
|
-
var englishFormats = {
|
|
747
|
-
LTS: 'h:mm:ss A',
|
|
748
|
-
LT: 'h:mm A',
|
|
749
|
-
L: 'MM/DD/YYYY',
|
|
750
|
-
LL: 'MMMM D, YYYY',
|
|
751
|
-
LLL: 'MMMM D, YYYY h:mm A',
|
|
752
|
-
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
|
753
|
-
};
|
|
754
|
-
var u = function u(formatStr, formats) {
|
|
755
|
-
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
|
756
|
-
var B = b && b.toUpperCase();
|
|
757
|
-
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
|
758
|
-
});
|
|
759
|
-
};
|
|
760
|
-
|
|
761
|
-
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
|
762
|
-
var match1 = /\d/; // 0 - 9
|
|
763
|
-
|
|
764
|
-
var match2 = /\d\d/; // 00 - 99
|
|
765
|
-
|
|
766
|
-
var match3 = /\d{3}/; // 000 - 999
|
|
767
|
-
|
|
768
|
-
var match4 = /\d{4}/; // 0000 - 9999
|
|
769
|
-
|
|
770
|
-
var match1to2 = /\d\d?/; // 0 - 99
|
|
771
|
-
|
|
772
|
-
var matchSigned = /[+-]?\d+/; // -inf - inf
|
|
773
|
-
|
|
774
|
-
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
|
775
|
-
|
|
776
|
-
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
|
777
|
-
|
|
778
|
-
var locale = {};
|
|
779
|
-
|
|
780
|
-
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
|
781
|
-
input = +input;
|
|
782
|
-
return input + (input > 68 ? 1900 : 2000);
|
|
783
|
-
};
|
|
784
|
-
|
|
785
|
-
function offsetFromString(string) {
|
|
786
|
-
if (!string) return 0;
|
|
787
|
-
if (string === 'Z') return 0;
|
|
788
|
-
var parts = string.match(/([+-]|\d\d)/g);
|
|
789
|
-
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
|
790
|
-
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
var addInput = function addInput(property) {
|
|
794
|
-
return function (input) {
|
|
795
|
-
this[property] = +input;
|
|
796
|
-
};
|
|
797
|
-
};
|
|
798
|
-
|
|
799
|
-
var zoneExpressions = [matchOffset, function (input) {
|
|
800
|
-
var zone = this.zone || (this.zone = {});
|
|
801
|
-
zone.offset = offsetFromString(input);
|
|
802
|
-
}];
|
|
803
|
-
|
|
804
|
-
var getLocalePart = function getLocalePart(name) {
|
|
805
|
-
var part = locale[name];
|
|
806
|
-
return part && (part.indexOf ? part : part.s.concat(part.f));
|
|
807
|
-
};
|
|
808
|
-
|
|
809
|
-
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
|
810
|
-
var isAfternoon;
|
|
811
|
-
var _locale = locale,
|
|
812
|
-
meridiem = _locale.meridiem;
|
|
813
|
-
|
|
814
|
-
if (!meridiem) {
|
|
815
|
-
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
|
816
|
-
} else {
|
|
817
|
-
for (var i = 1; i <= 24; i += 1) {
|
|
818
|
-
// todo: fix input === meridiem(i, 0, isLowerCase)
|
|
819
|
-
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
|
820
|
-
isAfternoon = i > 12;
|
|
821
|
-
break;
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
return isAfternoon;
|
|
827
|
-
};
|
|
828
|
-
|
|
829
|
-
var expressions = {
|
|
830
|
-
A: [matchWord, function (input) {
|
|
831
|
-
this.afternoon = meridiemMatch(input, false);
|
|
832
|
-
}],
|
|
833
|
-
a: [matchWord, function (input) {
|
|
834
|
-
this.afternoon = meridiemMatch(input, true);
|
|
835
|
-
}],
|
|
836
|
-
S: [match1, function (input) {
|
|
837
|
-
this.milliseconds = +input * 100;
|
|
838
|
-
}],
|
|
839
|
-
SS: [match2, function (input) {
|
|
840
|
-
this.milliseconds = +input * 10;
|
|
841
|
-
}],
|
|
842
|
-
SSS: [match3, function (input) {
|
|
843
|
-
this.milliseconds = +input;
|
|
844
|
-
}],
|
|
845
|
-
s: [match1to2, addInput('seconds')],
|
|
846
|
-
ss: [match1to2, addInput('seconds')],
|
|
847
|
-
m: [match1to2, addInput('minutes')],
|
|
848
|
-
mm: [match1to2, addInput('minutes')],
|
|
849
|
-
H: [match1to2, addInput('hours')],
|
|
850
|
-
h: [match1to2, addInput('hours')],
|
|
851
|
-
HH: [match1to2, addInput('hours')],
|
|
852
|
-
hh: [match1to2, addInput('hours')],
|
|
853
|
-
D: [match1to2, addInput('day')],
|
|
854
|
-
DD: [match2, addInput('day')],
|
|
855
|
-
Do: [matchWord, function (input) {
|
|
856
|
-
var _locale2 = locale,
|
|
857
|
-
ordinal = _locale2.ordinal;
|
|
858
|
-
|
|
859
|
-
var _input$match = input.match(/\d+/);
|
|
860
|
-
|
|
861
|
-
this.day = _input$match[0];
|
|
862
|
-
if (!ordinal) return;
|
|
863
|
-
|
|
864
|
-
for (var i = 1; i <= 31; i += 1) {
|
|
865
|
-
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
|
866
|
-
this.day = i;
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
}],
|
|
870
|
-
M: [match1to2, addInput('month')],
|
|
871
|
-
MM: [match2, addInput('month')],
|
|
872
|
-
MMM: [matchWord, function (input) {
|
|
873
|
-
var months = getLocalePart('months');
|
|
874
|
-
var monthsShort = getLocalePart('monthsShort');
|
|
875
|
-
var matchIndex = (monthsShort || months.map(function (_) {
|
|
876
|
-
return _.slice(0, 3);
|
|
877
|
-
})).indexOf(input) + 1;
|
|
878
|
-
|
|
879
|
-
if (matchIndex < 1) {
|
|
880
|
-
throw new Error();
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
this.month = matchIndex % 12 || matchIndex;
|
|
884
|
-
}],
|
|
885
|
-
MMMM: [matchWord, function (input) {
|
|
886
|
-
var months = getLocalePart('months');
|
|
887
|
-
var matchIndex = months.indexOf(input) + 1;
|
|
888
|
-
|
|
889
|
-
if (matchIndex < 1) {
|
|
890
|
-
throw new Error();
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
this.month = matchIndex % 12 || matchIndex;
|
|
894
|
-
}],
|
|
895
|
-
Y: [matchSigned, addInput('year')],
|
|
896
|
-
YY: [match2, function (input) {
|
|
897
|
-
this.year = parseTwoDigitYear(input);
|
|
898
|
-
}],
|
|
899
|
-
YYYY: [match4, addInput('year')],
|
|
900
|
-
Z: zoneExpressions,
|
|
901
|
-
ZZ: zoneExpressions
|
|
902
|
-
};
|
|
903
|
-
|
|
904
|
-
function correctHours(time) {
|
|
905
|
-
var afternoon = time.afternoon;
|
|
906
|
-
|
|
907
|
-
if (afternoon !== undefined) {
|
|
908
|
-
var hours = time.hours;
|
|
909
|
-
|
|
910
|
-
if (afternoon) {
|
|
911
|
-
if (hours < 12) {
|
|
912
|
-
time.hours += 12;
|
|
913
|
-
}
|
|
914
|
-
} else if (hours === 12) {
|
|
915
|
-
time.hours = 0;
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
delete time.afternoon;
|
|
919
|
-
}
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
function makeParser(format) {
|
|
923
|
-
format = u(format, locale && locale.formats);
|
|
924
|
-
var array = format.match(formattingTokens);
|
|
925
|
-
var length = array.length;
|
|
926
|
-
|
|
927
|
-
for (var i = 0; i < length; i += 1) {
|
|
928
|
-
var token = array[i];
|
|
929
|
-
var parseTo = expressions[token];
|
|
930
|
-
var regex = parseTo && parseTo[0];
|
|
931
|
-
var parser = parseTo && parseTo[1];
|
|
932
|
-
|
|
933
|
-
if (parser) {
|
|
934
|
-
array[i] = {
|
|
935
|
-
regex: regex,
|
|
936
|
-
parser: parser
|
|
937
|
-
};
|
|
938
|
-
} else {
|
|
939
|
-
array[i] = token.replace(/^\[|\]$/g, '');
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
return function (input) {
|
|
944
|
-
var time = {};
|
|
945
|
-
|
|
946
|
-
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
|
947
|
-
var _token = array[_i];
|
|
948
|
-
|
|
949
|
-
if (typeof _token === 'string') {
|
|
950
|
-
start += _token.length;
|
|
951
|
-
} else {
|
|
952
|
-
var _regex = _token.regex,
|
|
953
|
-
_parser = _token.parser;
|
|
954
|
-
var part = input.slice(start);
|
|
955
|
-
|
|
956
|
-
var match = _regex.exec(part);
|
|
957
|
-
|
|
958
|
-
var value = match[0];
|
|
959
|
-
|
|
960
|
-
_parser.call(time, value);
|
|
961
|
-
|
|
962
|
-
input = input.replace(value, '');
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
correctHours(time);
|
|
967
|
-
return time;
|
|
968
|
-
};
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
|
972
|
-
try {
|
|
973
|
-
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
|
974
|
-
var parser = makeParser(format);
|
|
975
|
-
|
|
976
|
-
var _parser2 = parser(input),
|
|
977
|
-
year = _parser2.year,
|
|
978
|
-
month = _parser2.month,
|
|
979
|
-
day = _parser2.day,
|
|
980
|
-
hours = _parser2.hours,
|
|
981
|
-
minutes = _parser2.minutes,
|
|
982
|
-
seconds = _parser2.seconds,
|
|
983
|
-
milliseconds = _parser2.milliseconds,
|
|
984
|
-
zone = _parser2.zone;
|
|
985
|
-
|
|
986
|
-
var now = new Date();
|
|
987
|
-
var d = day || (!year && !month ? now.getDate() : 1);
|
|
988
|
-
var y = year || now.getFullYear();
|
|
989
|
-
var M = 0;
|
|
990
|
-
|
|
991
|
-
if (!(year && !month)) {
|
|
992
|
-
M = month > 0 ? month - 1 : now.getMonth();
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
var h = hours || 0;
|
|
996
|
-
var m = minutes || 0;
|
|
997
|
-
var s = seconds || 0;
|
|
998
|
-
var ms = milliseconds || 0;
|
|
999
|
-
|
|
1000
|
-
if (zone) {
|
|
1001
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
if (utc) {
|
|
1005
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
return new Date(y, M, d, h, m, s, ms);
|
|
1009
|
-
} catch (e) {
|
|
1010
|
-
return new Date(''); // Invalid Date
|
|
1011
|
-
}
|
|
1012
|
-
};
|
|
1013
|
-
|
|
1014
|
-
const customParseFormat = (function (o, C, d) {
|
|
1015
|
-
d.p.customParseFormat = true;
|
|
1016
|
-
|
|
1017
|
-
if (o && o.parseTwoDigitYear) {
|
|
1018
|
-
parseTwoDigitYear = o.parseTwoDigitYear;
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
var proto = C.prototype;
|
|
1022
|
-
var oldParse = proto.parse;
|
|
1023
|
-
|
|
1024
|
-
proto.parse = function (cfg) {
|
|
1025
|
-
var date = cfg.date,
|
|
1026
|
-
utc = cfg.utc,
|
|
1027
|
-
args = cfg.args;
|
|
1028
|
-
this.$u = utc;
|
|
1029
|
-
var format = args[1];
|
|
1030
|
-
|
|
1031
|
-
if (typeof format === 'string') {
|
|
1032
|
-
var isStrictWithoutLocale = args[2] === true;
|
|
1033
|
-
var isStrictWithLocale = args[3] === true;
|
|
1034
|
-
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
|
1035
|
-
var pl = args[2];
|
|
1036
|
-
|
|
1037
|
-
if (isStrictWithLocale) {
|
|
1038
|
-
pl = args[2];
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
locale = this.$locale();
|
|
1042
|
-
|
|
1043
|
-
if (!isStrictWithoutLocale && pl) {
|
|
1044
|
-
locale = d.Ls[pl];
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
this.$d = parseFormattedInput(date, format, utc);
|
|
1048
|
-
this.init();
|
|
1049
|
-
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
|
1050
|
-
// input number 1410715640579 and format string '1410715640579' equal
|
|
1051
|
-
// eslint-disable-next-line eqeqeq
|
|
1052
|
-
|
|
1053
|
-
if (isStrict && date != this.format(format)) {
|
|
1054
|
-
this.$d = new Date('');
|
|
1055
|
-
} // reset global locale to make parallel unit test
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
locale = {};
|
|
1059
|
-
} else if (format instanceof Array) {
|
|
1060
|
-
var len = format.length;
|
|
1061
|
-
|
|
1062
|
-
for (var i = 1; i <= len; i += 1) {
|
|
1063
|
-
args[1] = format[i - 1];
|
|
1064
|
-
var result = d.apply(this, args);
|
|
1065
|
-
|
|
1066
|
-
if (result.isValid()) {
|
|
1067
|
-
this.$d = result.$d;
|
|
1068
|
-
this.$L = result.$L;
|
|
1069
|
-
this.init();
|
|
1070
|
-
break;
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
if (i === len) this.$d = new Date('');
|
|
1074
|
-
}
|
|
1075
|
-
} else {
|
|
1076
|
-
oldParse.call(this, cfg);
|
|
1077
|
-
}
|
|
1078
|
-
};
|
|
1079
|
-
});
|
|
1080
|
-
|
|
1081
|
-
const localeData = (function (o, c, dayjs) {
|
|
1082
|
-
// locale needed later
|
|
1083
|
-
var proto = c.prototype;
|
|
1084
|
-
|
|
1085
|
-
var getLocalePart = function getLocalePart(part) {
|
|
1086
|
-
return part && (part.indexOf ? part : part.s);
|
|
1087
|
-
};
|
|
1088
|
-
|
|
1089
|
-
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
|
1090
|
-
var locale = ins.name ? ins : ins.$locale();
|
|
1091
|
-
var targetLocale = getLocalePart(locale[target]);
|
|
1092
|
-
var fullLocale = getLocalePart(locale[full]);
|
|
1093
|
-
var result = targetLocale || fullLocale.map(function (f) {
|
|
1094
|
-
return f.slice(0, num);
|
|
1095
|
-
});
|
|
1096
|
-
if (!localeOrder) return result;
|
|
1097
|
-
var weekStart = locale.weekStart;
|
|
1098
|
-
return result.map(function (_, index) {
|
|
1099
|
-
return result[(index + (weekStart || 0)) % 7];
|
|
1100
|
-
});
|
|
1101
|
-
};
|
|
1102
|
-
|
|
1103
|
-
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
|
1104
|
-
return dayjs.Ls[dayjs.locale()];
|
|
1105
|
-
};
|
|
1106
|
-
|
|
1107
|
-
var getLongDateFormat = function getLongDateFormat(l, format) {
|
|
1108
|
-
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
|
1109
|
-
};
|
|
1110
|
-
|
|
1111
|
-
var localeData = function localeData() {
|
|
1112
|
-
var _this = this;
|
|
1113
|
-
|
|
1114
|
-
return {
|
|
1115
|
-
months: function months(instance) {
|
|
1116
|
-
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
|
1117
|
-
},
|
|
1118
|
-
monthsShort: function monthsShort(instance) {
|
|
1119
|
-
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
|
1120
|
-
},
|
|
1121
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
|
1122
|
-
return _this.$locale().weekStart || 0;
|
|
1123
|
-
},
|
|
1124
|
-
weekdays: function weekdays(instance) {
|
|
1125
|
-
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
|
1126
|
-
},
|
|
1127
|
-
weekdaysMin: function weekdaysMin(instance) {
|
|
1128
|
-
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
|
1129
|
-
},
|
|
1130
|
-
weekdaysShort: function weekdaysShort(instance) {
|
|
1131
|
-
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
|
1132
|
-
},
|
|
1133
|
-
longDateFormat: function longDateFormat(format) {
|
|
1134
|
-
return getLongDateFormat(_this.$locale(), format);
|
|
1135
|
-
},
|
|
1136
|
-
meridiem: this.$locale().meridiem,
|
|
1137
|
-
ordinal: this.$locale().ordinal
|
|
1138
|
-
};
|
|
1139
|
-
};
|
|
1140
|
-
|
|
1141
|
-
proto.localeData = function () {
|
|
1142
|
-
return localeData.bind(this)();
|
|
1143
|
-
};
|
|
1144
|
-
|
|
1145
|
-
dayjs.localeData = function () {
|
|
1146
|
-
var localeObject = getDayjsLocaleObject();
|
|
1147
|
-
return {
|
|
1148
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
|
1149
|
-
return localeObject.weekStart || 0;
|
|
1150
|
-
},
|
|
1151
|
-
weekdays: function weekdays() {
|
|
1152
|
-
return dayjs.weekdays();
|
|
1153
|
-
},
|
|
1154
|
-
weekdaysShort: function weekdaysShort() {
|
|
1155
|
-
return dayjs.weekdaysShort();
|
|
1156
|
-
},
|
|
1157
|
-
weekdaysMin: function weekdaysMin() {
|
|
1158
|
-
return dayjs.weekdaysMin();
|
|
1159
|
-
},
|
|
1160
|
-
months: function months() {
|
|
1161
|
-
return dayjs.months();
|
|
1162
|
-
},
|
|
1163
|
-
monthsShort: function monthsShort() {
|
|
1164
|
-
return dayjs.monthsShort();
|
|
1165
|
-
},
|
|
1166
|
-
longDateFormat: function longDateFormat(format) {
|
|
1167
|
-
return getLongDateFormat(localeObject, format);
|
|
1168
|
-
},
|
|
1169
|
-
meridiem: localeObject.meridiem,
|
|
1170
|
-
ordinal: localeObject.ordinal
|
|
1171
|
-
};
|
|
1172
|
-
};
|
|
1173
|
-
|
|
1174
|
-
dayjs.months = function () {
|
|
1175
|
-
return getShort(getDayjsLocaleObject(), 'months');
|
|
1176
|
-
};
|
|
1177
|
-
|
|
1178
|
-
dayjs.monthsShort = function () {
|
|
1179
|
-
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
|
1180
|
-
};
|
|
1181
|
-
|
|
1182
|
-
dayjs.weekdays = function (localeOrder) {
|
|
1183
|
-
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
|
1184
|
-
};
|
|
1185
|
-
|
|
1186
|
-
dayjs.weekdaysShort = function (localeOrder) {
|
|
1187
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
|
1188
|
-
};
|
|
1189
|
-
|
|
1190
|
-
dayjs.weekdaysMin = function (localeOrder) {
|
|
1191
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
|
1192
|
-
};
|
|
1193
|
-
});
|
|
1194
|
-
|
|
1195
|
-
const localizedFormat = (function (o, c, d) {
|
|
1196
|
-
var proto = c.prototype;
|
|
1197
|
-
var oldFormat = proto.format;
|
|
1198
|
-
d.en.formats = englishFormats;
|
|
1199
|
-
|
|
1200
|
-
proto.format = function (formatStr) {
|
|
1201
|
-
if (formatStr === void 0) {
|
|
1202
|
-
formatStr = FORMAT_DEFAULT;
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
var _this$$locale = this.$locale(),
|
|
1206
|
-
_this$$locale$formats = _this$$locale.formats,
|
|
1207
|
-
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
|
1208
|
-
|
|
1209
|
-
var result = u(formatStr, formats);
|
|
1210
|
-
return oldFormat.call(this, result);
|
|
1211
|
-
};
|
|
1212
|
-
});
|
|
1213
|
-
|
|
1214
|
-
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
|
1215
|
-
const preParsePostFormat = (function (option, dayjsClass) {
|
|
1216
|
-
var oldParse = dayjsClass.prototype.parse;
|
|
1217
|
-
|
|
1218
|
-
dayjsClass.prototype.parse = function (cfg) {
|
|
1219
|
-
if (typeof cfg.date === 'string') {
|
|
1220
|
-
var locale = this.$locale();
|
|
1221
|
-
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
|
1222
|
-
} // original parse result
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
return oldParse.bind(this)(cfg);
|
|
1226
|
-
}; // // overriding existing API
|
|
1227
|
-
// // e.g. extend dayjs().format()
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
var oldFormat = dayjsClass.prototype.format;
|
|
1231
|
-
|
|
1232
|
-
dayjsClass.prototype.format = function () {
|
|
1233
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1234
|
-
args[_key] = arguments[_key];
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
// original format result
|
|
1238
|
-
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
|
1239
|
-
|
|
1240
|
-
var locale = this.$locale();
|
|
1241
|
-
return locale && locale.postformat ? locale.postformat(result) : result;
|
|
1242
|
-
};
|
|
1243
|
-
|
|
1244
|
-
var oldFromTo = dayjsClass.prototype.fromToBase;
|
|
1245
|
-
|
|
1246
|
-
if (oldFromTo) {
|
|
1247
|
-
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
|
1248
|
-
var locale = this.$locale() || instance.$locale(); // original format result
|
|
1249
|
-
|
|
1250
|
-
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
|
1251
|
-
};
|
|
1252
|
-
}
|
|
1253
|
-
});
|
|
1254
|
-
|
|
1255
|
-
const updateLocale = (function (option, Dayjs, dayjs) {
|
|
1256
|
-
dayjs.updateLocale = function (locale, customConfig) {
|
|
1257
|
-
var localeList = dayjs.Ls;
|
|
1258
|
-
var localeConfig = localeList[locale];
|
|
1259
|
-
if (!localeConfig) return;
|
|
1260
|
-
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
|
1261
|
-
customConfigKeys.forEach(function (c) {
|
|
1262
|
-
localeConfig[c] = customConfig[c];
|
|
1263
|
-
});
|
|
1264
|
-
return localeConfig; // eslint-disable-line consistent-return
|
|
1265
|
-
};
|
|
1266
|
-
});
|
|
1267
|
-
|
|
1268
|
-
const inputTimePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}: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)}";
|
|
1269
|
-
|
|
1270
|
-
dayjs.extend(customParseFormat);
|
|
1271
|
-
dayjs.extend(localeData);
|
|
1272
|
-
dayjs.extend(localizedFormat);
|
|
1273
|
-
dayjs.extend(preParsePostFormat);
|
|
1274
|
-
dayjs.extend(updateLocale);
|
|
1275
|
-
const InputTimePicker = class {
|
|
1276
|
-
constructor(hostRef) {
|
|
1277
|
-
registerInstance(this, hostRef);
|
|
1278
|
-
this.calciteInputTimePickerChange = createEvent(this, "calciteInputTimePickerChange", 7);
|
|
1279
|
-
this.focusOnOpen = false;
|
|
1280
|
-
this.dialogId = `time-picker-dialog--${guid()}`;
|
|
1281
|
-
/** whether the value of the input was changed as a result of user typing or not */
|
|
1282
|
-
this.userChangedValue = false;
|
|
1283
|
-
this.referenceElementId = `input-time-picker-${guid()}`;
|
|
1284
|
-
//--------------------------------------------------------------------------
|
|
1285
|
-
//
|
|
1286
|
-
// Event Listeners
|
|
1287
|
-
//
|
|
1288
|
-
//--------------------------------------------------------------------------
|
|
1289
|
-
this.hostBlurHandler = () => {
|
|
1290
|
-
const inputValue = this.calciteInputEl.value;
|
|
1291
|
-
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
|
1292
|
-
if (!delocalizedInputValue) {
|
|
1293
|
-
this.setValue("");
|
|
1294
|
-
return;
|
|
1295
|
-
}
|
|
1296
|
-
if (delocalizedInputValue !== this.value) {
|
|
1297
|
-
this.setValue(delocalizedInputValue);
|
|
1298
|
-
}
|
|
1299
|
-
const localizedTimeString = localizeTimeString({
|
|
1300
|
-
value: this.value,
|
|
1301
|
-
locale: this.effectiveLocale,
|
|
1302
|
-
numberingSystem: this.numberingSystem,
|
|
1303
|
-
includeSeconds: this.shouldIncludeSeconds()
|
|
1304
|
-
});
|
|
1305
|
-
if (localizedTimeString !== inputValue) {
|
|
1306
|
-
this.setInputValue(localizedTimeString);
|
|
1307
|
-
}
|
|
1308
|
-
this.deactivate();
|
|
1309
|
-
};
|
|
1310
|
-
this.calciteInternalInputFocusHandler = (event) => {
|
|
1311
|
-
if (!this.readOnly) {
|
|
1312
|
-
event.stopPropagation();
|
|
1313
|
-
}
|
|
1314
|
-
};
|
|
1315
|
-
this.calciteInternalInputInputHandler = (event) => {
|
|
1316
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
|
1317
|
-
if (numberingSystem && numberingSystem !== "latn") {
|
|
1318
|
-
const target = event.target;
|
|
1319
|
-
numberStringFormatter.numberFormatOptions = {
|
|
1320
|
-
locale,
|
|
1321
|
-
numberingSystem,
|
|
1322
|
-
useGrouping: false
|
|
1323
|
-
};
|
|
1324
|
-
const valueInNumberingSystem = numberStringFormatter
|
|
1325
|
-
.delocalize(target.value)
|
|
1326
|
-
.split("")
|
|
1327
|
-
.map((char) => numberKeys.includes(char)
|
|
1328
|
-
? numberStringFormatter.numberFormatter.format(Number(char))
|
|
1329
|
-
: char)
|
|
1330
|
-
.join("");
|
|
1331
|
-
this.setInputValue(valueInNumberingSystem);
|
|
1332
|
-
}
|
|
1333
|
-
};
|
|
1334
|
-
this.timePickerChangeHandler = (event) => {
|
|
1335
|
-
event.stopPropagation();
|
|
1336
|
-
const target = event.target;
|
|
1337
|
-
const value = target.value;
|
|
1338
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
|
1339
|
-
this.setValue(toISOTimeString(value, includeSeconds));
|
|
1340
|
-
this.setInputValue(localizeTimeString({
|
|
1341
|
-
value,
|
|
1342
|
-
locale: this.effectiveLocale,
|
|
1343
|
-
numberingSystem: this.numberingSystem,
|
|
1344
|
-
includeSeconds
|
|
1345
|
-
}));
|
|
1346
|
-
};
|
|
1347
|
-
this.popoverCloseHandler = () => {
|
|
1348
|
-
deactivateFocusTrap(this, {
|
|
1349
|
-
onDeactivate: () => {
|
|
1350
|
-
this.calciteInputEl.setFocus();
|
|
1351
|
-
this.focusOnOpen = false;
|
|
1352
|
-
}
|
|
1353
|
-
});
|
|
1354
|
-
};
|
|
1355
|
-
this.popoverOpenHandler = () => {
|
|
1356
|
-
activateFocusTrap(this, {
|
|
1357
|
-
onActivate: () => {
|
|
1358
|
-
if (this.focusOnOpen) {
|
|
1359
|
-
this.calciteTimePickerEl.setFocus();
|
|
1360
|
-
this.focusOnOpen = false;
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
});
|
|
1364
|
-
};
|
|
1365
|
-
this.keyDownHandler = (event) => {
|
|
1366
|
-
const { defaultPrevented, key } = event;
|
|
1367
|
-
if (defaultPrevented) {
|
|
1368
|
-
return;
|
|
1369
|
-
}
|
|
1370
|
-
if (key === "Enter") {
|
|
1371
|
-
if (submitForm(this)) {
|
|
1372
|
-
event.preventDefault();
|
|
1373
|
-
this.calciteInputEl.setFocus();
|
|
1374
|
-
}
|
|
1375
|
-
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
|
1376
|
-
return;
|
|
1377
|
-
}
|
|
1378
|
-
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
|
1379
|
-
this.setValue(newValue);
|
|
1380
|
-
const localizedTimeString = localizeTimeString({
|
|
1381
|
-
value: this.value,
|
|
1382
|
-
locale: this.effectiveLocale,
|
|
1383
|
-
numberingSystem: this.numberingSystem,
|
|
1384
|
-
includeSeconds: this.shouldIncludeSeconds()
|
|
1385
|
-
});
|
|
1386
|
-
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
|
1387
|
-
this.setInputValue(localizedTimeString);
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
else if (key === "ArrowDown") {
|
|
1391
|
-
this.open = true;
|
|
1392
|
-
this.focusOnOpen = true;
|
|
1393
|
-
event.preventDefault();
|
|
1394
|
-
}
|
|
1395
|
-
else if (key === "Escape" && this.open) {
|
|
1396
|
-
this.open = false;
|
|
1397
|
-
event.preventDefault();
|
|
1398
|
-
this.calciteInputEl.setFocus();
|
|
1399
|
-
}
|
|
1400
|
-
};
|
|
1401
|
-
this.setCalcitePopoverEl = (el) => {
|
|
1402
|
-
this.popoverEl = el;
|
|
1403
|
-
};
|
|
1404
|
-
this.setCalciteInputEl = (el) => {
|
|
1405
|
-
this.calciteInputEl = el;
|
|
1406
|
-
};
|
|
1407
|
-
this.setCalciteTimePickerEl = (el) => {
|
|
1408
|
-
this.calciteTimePickerEl = el;
|
|
1409
|
-
connectFocusTrap(this, {
|
|
1410
|
-
focusTrapEl: el,
|
|
1411
|
-
focusTrapOptions: {
|
|
1412
|
-
initialFocus: false,
|
|
1413
|
-
setReturnFocus: false
|
|
1414
|
-
}
|
|
1415
|
-
});
|
|
1416
|
-
};
|
|
1417
|
-
this.setInputValue = (newInputValue) => {
|
|
1418
|
-
if (!this.calciteInputEl) {
|
|
1419
|
-
return;
|
|
1420
|
-
}
|
|
1421
|
-
this.calciteInputEl.value = newInputValue;
|
|
1422
|
-
};
|
|
1423
|
-
/**
|
|
1424
|
-
* Sets the value and emits a change event.
|
|
1425
|
-
* This is used to update the value as a result of user interaction.
|
|
1426
|
-
*
|
|
1427
|
-
* @param value
|
|
1428
|
-
*/
|
|
1429
|
-
this.setValue = (value) => {
|
|
1430
|
-
const oldValue = this.value;
|
|
1431
|
-
const newValue = formatTimeString(value) || "";
|
|
1432
|
-
if (newValue === oldValue) {
|
|
1433
|
-
return;
|
|
1434
|
-
}
|
|
1435
|
-
this.userChangedValue = true;
|
|
1436
|
-
this.value = newValue || "";
|
|
1437
|
-
const changeEvent = this.calciteInputTimePickerChange.emit();
|
|
1438
|
-
if (changeEvent.defaultPrevented) {
|
|
1439
|
-
this.userChangedValue = false;
|
|
1440
|
-
this.value = oldValue;
|
|
1441
|
-
this.setInputValue(localizeTimeString({
|
|
1442
|
-
value: oldValue,
|
|
1443
|
-
locale: this.effectiveLocale,
|
|
1444
|
-
numberingSystem: this.numberingSystem,
|
|
1445
|
-
includeSeconds: this.shouldIncludeSeconds()
|
|
1446
|
-
}));
|
|
1447
|
-
}
|
|
1448
|
-
};
|
|
1449
|
-
/**
|
|
1450
|
-
* Sets the value directly without emitting a change event.
|
|
1451
|
-
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
|
1452
|
-
*
|
|
1453
|
-
* @param value
|
|
1454
|
-
*/
|
|
1455
|
-
this.setValueDirectly = (value) => {
|
|
1456
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
|
1457
|
-
this.value = toISOTimeString(value, includeSeconds);
|
|
1458
|
-
this.setInputValue(this.value
|
|
1459
|
-
? localizeTimeString({
|
|
1460
|
-
value: this.value,
|
|
1461
|
-
includeSeconds,
|
|
1462
|
-
locale: this.effectiveLocale,
|
|
1463
|
-
numberingSystem: this.numberingSystem
|
|
1464
|
-
})
|
|
1465
|
-
: "");
|
|
1466
|
-
};
|
|
1467
|
-
this.onInputWrapperClick = () => {
|
|
1468
|
-
this.open = !this.open;
|
|
1469
|
-
};
|
|
1470
|
-
this.deactivate = () => {
|
|
1471
|
-
this.open = false;
|
|
1472
|
-
};
|
|
1473
|
-
this.open = false;
|
|
1474
|
-
this.disabled = false;
|
|
1475
|
-
this.focusTrapDisabled = false;
|
|
1476
|
-
this.form = undefined;
|
|
1477
|
-
this.readOnly = false;
|
|
1478
|
-
this.messageOverrides = undefined;
|
|
1479
|
-
this.messages = undefined;
|
|
1480
|
-
this.name = undefined;
|
|
1481
|
-
this.numberingSystem = undefined;
|
|
1482
|
-
this.required = false;
|
|
1483
|
-
this.scale = "m";
|
|
1484
|
-
this.overlayPositioning = "absolute";
|
|
1485
|
-
this.placement = "auto";
|
|
1486
|
-
this.step = 60;
|
|
1487
|
-
this.value = null;
|
|
1488
|
-
this.defaultMessages = undefined;
|
|
1489
|
-
this.effectiveLocale = "";
|
|
1490
|
-
}
|
|
1491
|
-
openHandler(value) {
|
|
1492
|
-
if (this.disabled || this.readOnly) {
|
|
1493
|
-
this.open = false;
|
|
1494
|
-
return;
|
|
1495
|
-
}
|
|
1496
|
-
if (value) {
|
|
1497
|
-
this.reposition(true);
|
|
1498
|
-
}
|
|
1499
|
-
}
|
|
1500
|
-
handleFocusTrapDisabled(focusTrapDisabled) {
|
|
1501
|
-
if (!this.open) {
|
|
1502
|
-
return;
|
|
1503
|
-
}
|
|
1504
|
-
focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);
|
|
1505
|
-
}
|
|
1506
|
-
handleDisabledAndReadOnlyChange(value) {
|
|
1507
|
-
if (!value) {
|
|
1508
|
-
this.open = false;
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
onMessagesChange() {
|
|
1512
|
-
/* wired up by t9n util */
|
|
1513
|
-
}
|
|
1514
|
-
numberingSystemWatcher(numberingSystem) {
|
|
1515
|
-
this.setInputValue(localizeTimeString({
|
|
1516
|
-
value: this.value,
|
|
1517
|
-
locale: this.effectiveLocale,
|
|
1518
|
-
numberingSystem,
|
|
1519
|
-
includeSeconds: this.shouldIncludeSeconds()
|
|
1520
|
-
}));
|
|
1521
|
-
}
|
|
1522
|
-
stepWatcher(newStep, oldStep) {
|
|
1523
|
-
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
|
1524
|
-
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
|
1525
|
-
this.setValueDirectly(this.value);
|
|
1526
|
-
}
|
|
1527
|
-
}
|
|
1528
|
-
valueWatcher(newValue) {
|
|
1529
|
-
if (!this.userChangedValue) {
|
|
1530
|
-
this.setValueDirectly(newValue);
|
|
1531
|
-
}
|
|
1532
|
-
this.userChangedValue = false;
|
|
1533
|
-
}
|
|
1534
|
-
async effectiveLocaleWatcher(locale) {
|
|
1535
|
-
await this.loadDateTimeLocaleData();
|
|
1536
|
-
this.setInputValue(localizeTimeString({
|
|
1537
|
-
value: this.value,
|
|
1538
|
-
locale,
|
|
1539
|
-
numberingSystem: this.numberingSystem,
|
|
1540
|
-
includeSeconds: this.shouldIncludeSeconds()
|
|
1541
|
-
}));
|
|
1542
|
-
}
|
|
1543
|
-
// --------------------------------------------------------------------------
|
|
1544
|
-
//
|
|
1545
|
-
// Public Methods
|
|
1546
|
-
//
|
|
1547
|
-
// --------------------------------------------------------------------------
|
|
1548
|
-
/** Sets focus on the component. */
|
|
1549
|
-
async setFocus() {
|
|
1550
|
-
await componentLoaded(this);
|
|
1551
|
-
this.el.focus();
|
|
1552
|
-
}
|
|
1553
|
-
/**
|
|
1554
|
-
* Updates the position of the component.
|
|
1555
|
-
*
|
|
1556
|
-
* @param delayed
|
|
1557
|
-
*/
|
|
1558
|
-
async reposition(delayed = false) {
|
|
1559
|
-
this.popoverEl?.reposition(delayed);
|
|
1560
|
-
}
|
|
1561
|
-
// --------------------------------------------------------------------------
|
|
1562
|
-
//
|
|
1563
|
-
// Private Methods
|
|
1564
|
-
//
|
|
1565
|
-
// --------------------------------------------------------------------------
|
|
1566
|
-
delocalizeTimeString(value) {
|
|
1567
|
-
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
|
1568
|
-
dayjs.locale(this.effectiveLocale.toLowerCase());
|
|
1569
|
-
const dayjsParseResult = dayjs(value, ["LTS", "LT"]);
|
|
1570
|
-
if (dayjsParseResult.isValid()) {
|
|
1571
|
-
let unformattedTimeString = `${dayjsParseResult.get("hour")}:${dayjsParseResult.get("minute")}`;
|
|
1572
|
-
if (this.shouldIncludeSeconds()) {
|
|
1573
|
-
unformattedTimeString += `:${dayjsParseResult.get("seconds") || 0}`;
|
|
1574
|
-
}
|
|
1575
|
-
return formatTimeString(unformattedTimeString) || "";
|
|
1576
|
-
}
|
|
1577
|
-
return "";
|
|
1578
|
-
}
|
|
1579
|
-
async loadDateTimeLocaleData() {
|
|
1580
|
-
const { effectiveLocale } = this;
|
|
1581
|
-
if (effectiveLocale === "en" || effectiveLocale === "en-US") {
|
|
1582
|
-
return;
|
|
1583
|
-
}
|
|
1584
|
-
let dayjsLocale = effectiveLocale.toLowerCase();
|
|
1585
|
-
if (effectiveLocale === "pt-PT") {
|
|
1586
|
-
dayjsLocale = "pt";
|
|
1587
|
-
}
|
|
1588
|
-
if (effectiveLocale === "no") {
|
|
1589
|
-
dayjsLocale = "nb";
|
|
1590
|
-
}
|
|
1591
|
-
const { default: localeConfig } = await import(getAssetPath(`./assets/input-time-picker/nls/dayjs/locale/${dayjsLocale}.js`));
|
|
1592
|
-
dayjs.locale(localeConfig, null, true);
|
|
1593
|
-
dayjs.updateLocale(dayjsLocale, this.getExtendedLocaleConfig(dayjsLocale));
|
|
1594
|
-
}
|
|
1595
|
-
getExtendedLocaleConfig(locale) {
|
|
1596
|
-
if (locale === "ar") {
|
|
1597
|
-
return {
|
|
1598
|
-
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
|
1599
|
-
formats: {
|
|
1600
|
-
LT: "HH:mm A",
|
|
1601
|
-
LTS: "HH:mm:ss A",
|
|
1602
|
-
L: "DD/MM/YYYY",
|
|
1603
|
-
LL: "D MMMM YYYY",
|
|
1604
|
-
LLL: "D MMMM YYYY HH:mm A",
|
|
1605
|
-
LLLL: "dddd D MMMM YYYY HH:mm A"
|
|
1606
|
-
}
|
|
1607
|
-
};
|
|
1608
|
-
}
|
|
1609
|
-
if (locale === "en-au") {
|
|
1610
|
-
return {
|
|
1611
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am")
|
|
1612
|
-
};
|
|
1613
|
-
}
|
|
1614
|
-
if (locale === "en-ca") {
|
|
1615
|
-
return {
|
|
1616
|
-
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m.")
|
|
1617
|
-
};
|
|
1618
|
-
}
|
|
1619
|
-
if (locale === "el") {
|
|
1620
|
-
return {
|
|
1621
|
-
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ.")
|
|
1622
|
-
};
|
|
1623
|
-
}
|
|
1624
|
-
if (locale === "hi") {
|
|
1625
|
-
return {
|
|
1626
|
-
formats: {
|
|
1627
|
-
LT: "h:mm A",
|
|
1628
|
-
LTS: "h:mm:ss A",
|
|
1629
|
-
L: "DD/MM/YYYY",
|
|
1630
|
-
LL: "D MMMM YYYY",
|
|
1631
|
-
LLL: "D MMMM YYYY, h:mm A",
|
|
1632
|
-
LLLL: "dddd, D MMMM YYYY, h:mm A"
|
|
1633
|
-
},
|
|
1634
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am")
|
|
1635
|
-
};
|
|
1636
|
-
}
|
|
1637
|
-
if (locale === "ko") {
|
|
1638
|
-
return {
|
|
1639
|
-
meridiem: (hour) => (hour > 12 ? "오후" : "오전")
|
|
1640
|
-
};
|
|
1641
|
-
}
|
|
1642
|
-
if (locale === "zh-tw") {
|
|
1643
|
-
return {
|
|
1644
|
-
formats: {
|
|
1645
|
-
LT: "AHH:mm",
|
|
1646
|
-
LTS: "AHH:mm:ss"
|
|
1647
|
-
}
|
|
1648
|
-
};
|
|
1649
|
-
}
|
|
1650
|
-
if (locale === "zh-hk") {
|
|
1651
|
-
return {
|
|
1652
|
-
formats: {
|
|
1653
|
-
LT: "AHH:mm",
|
|
1654
|
-
LTS: "AHH:mm:ss"
|
|
1655
|
-
},
|
|
1656
|
-
meridiem: (hour) => (hour > 12 ? "下午" : "上午")
|
|
1657
|
-
};
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
onLabelClick() {
|
|
1661
|
-
this.setFocus();
|
|
1662
|
-
}
|
|
1663
|
-
shouldIncludeSeconds() {
|
|
1664
|
-
return this.step < 60;
|
|
1665
|
-
}
|
|
1666
|
-
//--------------------------------------------------------------------------
|
|
1667
|
-
//
|
|
1668
|
-
// Lifecycle
|
|
1669
|
-
//
|
|
1670
|
-
//--------------------------------------------------------------------------
|
|
1671
|
-
connectedCallback() {
|
|
1672
|
-
connectLocalized(this);
|
|
1673
|
-
let { effectiveLocale } = this;
|
|
1674
|
-
if (effectiveLocale === "en-US") {
|
|
1675
|
-
effectiveLocale = "en";
|
|
1676
|
-
}
|
|
1677
|
-
if (effectiveLocale === "pt-PT") {
|
|
1678
|
-
effectiveLocale = "pt";
|
|
1679
|
-
}
|
|
1680
|
-
if (effectiveLocale === "no") {
|
|
1681
|
-
effectiveLocale = "nb";
|
|
1682
|
-
}
|
|
1683
|
-
this.effectiveLocale = effectiveLocale;
|
|
1684
|
-
if (isValidTime(this.value)) {
|
|
1685
|
-
this.setValueDirectly(this.value);
|
|
1686
|
-
}
|
|
1687
|
-
else {
|
|
1688
|
-
this.value = undefined;
|
|
1689
|
-
}
|
|
1690
|
-
connectLabel(this);
|
|
1691
|
-
connectForm(this);
|
|
1692
|
-
connectMessages(this);
|
|
1693
|
-
}
|
|
1694
|
-
async componentWillLoad() {
|
|
1695
|
-
setUpLoadableComponent(this);
|
|
1696
|
-
await Promise.all([setUpMessages(this), this.loadDateTimeLocaleData()]);
|
|
1697
|
-
}
|
|
1698
|
-
componentDidLoad() {
|
|
1699
|
-
setComponentLoaded(this);
|
|
1700
|
-
if (isValidTime(this.value)) {
|
|
1701
|
-
this.setInputValue(localizeTimeString({
|
|
1702
|
-
value: this.value,
|
|
1703
|
-
locale: this.effectiveLocale,
|
|
1704
|
-
numberingSystem: this.numberingSystem,
|
|
1705
|
-
includeSeconds: this.shouldIncludeSeconds()
|
|
1706
|
-
}));
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
disconnectedCallback() {
|
|
1710
|
-
disconnectLabel(this);
|
|
1711
|
-
disconnectForm(this);
|
|
1712
|
-
disconnectLocalized(this);
|
|
1713
|
-
deactivateFocusTrap(this);
|
|
1714
|
-
disconnectMessages(this);
|
|
1715
|
-
}
|
|
1716
|
-
componentDidRender() {
|
|
1717
|
-
updateHostInteraction(this);
|
|
1718
|
-
}
|
|
1719
|
-
// --------------------------------------------------------------------------
|
|
1720
|
-
//
|
|
1721
|
-
// Render Methods
|
|
1722
|
-
//
|
|
1723
|
-
// --------------------------------------------------------------------------
|
|
1724
|
-
render() {
|
|
1725
|
-
const { disabled, messages, readOnly, dialogId } = this;
|
|
1726
|
-
return (h(Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, h("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
|
|
1727
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
1728
|
-
ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), 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,
|
|
1729
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
1730
|
-
ref: this.setCalcitePopoverEl }, 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,
|
|
1731
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
1732
|
-
ref: this.setCalciteTimePickerEl })), h(HiddenFormInputSlot, { component: this })));
|
|
1733
|
-
}
|
|
1734
|
-
renderToggleIcon(open) {
|
|
1735
|
-
return (h("span", { class: CSS$1.toggleIcon }, h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
1736
|
-
}
|
|
1737
|
-
static get delegatesFocus() { return true; }
|
|
1738
|
-
static get assetsDirs() { return ["assets"]; }
|
|
1739
|
-
get el() { return getElement(this); }
|
|
1740
|
-
static get watchers() { return {
|
|
1741
|
-
"open": ["openHandler"],
|
|
1742
|
-
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
|
1743
|
-
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
1744
|
-
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
1745
|
-
"messageOverrides": ["onMessagesChange"],
|
|
1746
|
-
"numberingSystem": ["numberingSystemWatcher"],
|
|
1747
|
-
"step": ["stepWatcher"],
|
|
1748
|
-
"value": ["valueWatcher"],
|
|
1749
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
1750
|
-
}; }
|
|
1751
|
-
};
|
|
1752
|
-
InputTimePicker.style = inputTimePickerCss;
|
|
1753
|
-
|
|
1754
|
-
const CSS = {
|
|
1755
|
-
button: "button",
|
|
1756
|
-
buttonBottomLeft: "button--bottom-left",
|
|
1757
|
-
buttonBottomRight: "button--bottom-right",
|
|
1758
|
-
buttonHourDown: "button--hour-down",
|
|
1759
|
-
buttonHourUp: "button--hour-up",
|
|
1760
|
-
buttonMeridiemDown: "button--meridiem-down",
|
|
1761
|
-
buttonMeridiemUp: "button--meridiem-up",
|
|
1762
|
-
buttonMinuteDown: "button--minute-down",
|
|
1763
|
-
buttonMinuteUp: "button--minute-up",
|
|
1764
|
-
buttonSecondDown: "button--second-down",
|
|
1765
|
-
buttonSecondUp: "button--second-up",
|
|
1766
|
-
buttonTopLeft: "button--top-left",
|
|
1767
|
-
buttonTopRight: "button--top-right",
|
|
1768
|
-
column: "column",
|
|
1769
|
-
delimiter: "delimiter",
|
|
1770
|
-
hour: "hour",
|
|
1771
|
-
input: "input",
|
|
1772
|
-
meridiem: "meridiem",
|
|
1773
|
-
minute: "minute",
|
|
1774
|
-
second: "second",
|
|
1775
|
-
showMeridiem: "show-meridiem",
|
|
1776
|
-
showSecond: "show-second",
|
|
1777
|
-
"scale-s": "scale-s",
|
|
1778
|
-
"scale-m": "scale-m",
|
|
1779
|
-
"scale-l": "scale-l",
|
|
1780
|
-
timePicker: "time-picker",
|
|
1781
|
-
meridiemStart: "meridiem--start"
|
|
1782
|
-
};
|
|
1783
|
-
|
|
1784
|
-
const timePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}: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}";
|
|
1785
|
-
|
|
1786
|
-
function capitalize(str) {
|
|
1787
|
-
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
1788
|
-
}
|
|
1789
|
-
const TimePicker = class {
|
|
1790
|
-
constructor(hostRef) {
|
|
1791
|
-
registerInstance(this, hostRef);
|
|
1792
|
-
this.calciteInternalTimePickerBlur = createEvent(this, "calciteInternalTimePickerBlur", 6);
|
|
1793
|
-
this.calciteInternalTimePickerChange = createEvent(this, "calciteInternalTimePickerChange", 6);
|
|
1794
|
-
this.calciteInternalTimePickerFocus = createEvent(this, "calciteInternalTimePickerFocus", 6);
|
|
1795
|
-
this.decrementHour = () => {
|
|
1796
|
-
const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour) - 1;
|
|
1797
|
-
this.setValuePart("hour", newHour);
|
|
1798
|
-
};
|
|
1799
|
-
this.decrementMeridiem = () => {
|
|
1800
|
-
const newMeridiem = this.meridiem === "PM" ? "AM" : "PM";
|
|
1801
|
-
this.setValuePart("meridiem", newMeridiem);
|
|
1802
|
-
};
|
|
1803
|
-
this.decrementMinuteOrSecond = (key) => {
|
|
1804
|
-
let newValue;
|
|
1805
|
-
if (isValidNumber(this[key])) {
|
|
1806
|
-
const valueAsNumber = parseInt(this[key]);
|
|
1807
|
-
newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;
|
|
1808
|
-
}
|
|
1809
|
-
else {
|
|
1810
|
-
newValue = 59;
|
|
1811
|
-
}
|
|
1812
|
-
this.setValuePart(key, newValue);
|
|
1813
|
-
};
|
|
1814
|
-
this.decrementMinute = () => {
|
|
1815
|
-
this.decrementMinuteOrSecond("minute");
|
|
1816
|
-
};
|
|
1817
|
-
this.decrementSecond = () => {
|
|
1818
|
-
this.decrementMinuteOrSecond("second");
|
|
1819
|
-
};
|
|
1820
|
-
this.focusHandler = (event) => {
|
|
1821
|
-
this.activeEl = event.currentTarget;
|
|
1822
|
-
};
|
|
1823
|
-
this.hourDownButtonKeyDownHandler = (event) => {
|
|
1824
|
-
if (this.buttonActivated(event)) {
|
|
1825
|
-
this.decrementHour();
|
|
1826
|
-
}
|
|
1827
|
-
};
|
|
1828
|
-
this.hourKeyDownHandler = (event) => {
|
|
1829
|
-
const { key } = event;
|
|
1830
|
-
if (numberKeys.includes(key)) {
|
|
1831
|
-
const keyAsNumber = parseInt(key);
|
|
1832
|
-
let newHour;
|
|
1833
|
-
if (isValidNumber(this.hour)) {
|
|
1834
|
-
switch (this.hourCycle) {
|
|
1835
|
-
case "12":
|
|
1836
|
-
newHour =
|
|
1837
|
-
this.hour === "01" && keyAsNumber >= 0 && keyAsNumber <= 2
|
|
1838
|
-
? `1${keyAsNumber}`
|
|
1839
|
-
: keyAsNumber;
|
|
1840
|
-
break;
|
|
1841
|
-
case "24":
|
|
1842
|
-
if (this.hour === "01") {
|
|
1843
|
-
newHour = `1${keyAsNumber}`;
|
|
1844
|
-
}
|
|
1845
|
-
else if (this.hour === "02" && keyAsNumber >= 0 && keyAsNumber <= 3) {
|
|
1846
|
-
newHour = `2${keyAsNumber}`;
|
|
1847
|
-
}
|
|
1848
|
-
else {
|
|
1849
|
-
newHour = keyAsNumber;
|
|
1850
|
-
}
|
|
1851
|
-
break;
|
|
1852
|
-
}
|
|
1853
|
-
}
|
|
1854
|
-
else {
|
|
1855
|
-
newHour = keyAsNumber;
|
|
1856
|
-
}
|
|
1857
|
-
this.setValuePart("hour", newHour);
|
|
1858
|
-
}
|
|
1859
|
-
else {
|
|
1860
|
-
switch (key) {
|
|
1861
|
-
case "Backspace":
|
|
1862
|
-
case "Delete":
|
|
1863
|
-
this.setValuePart("hour", null);
|
|
1864
|
-
break;
|
|
1865
|
-
case "ArrowDown":
|
|
1866
|
-
event.preventDefault();
|
|
1867
|
-
this.decrementHour();
|
|
1868
|
-
break;
|
|
1869
|
-
case "ArrowUp":
|
|
1870
|
-
event.preventDefault();
|
|
1871
|
-
this.incrementHour();
|
|
1872
|
-
break;
|
|
1873
|
-
case " ":
|
|
1874
|
-
event.preventDefault();
|
|
1875
|
-
break;
|
|
1876
|
-
}
|
|
1877
|
-
}
|
|
1878
|
-
};
|
|
1879
|
-
this.hourUpButtonKeyDownHandler = (event) => {
|
|
1880
|
-
if (this.buttonActivated(event)) {
|
|
1881
|
-
this.incrementHour();
|
|
1882
|
-
}
|
|
1883
|
-
};
|
|
1884
|
-
this.incrementMeridiem = () => {
|
|
1885
|
-
const newMeridiem = this.meridiem === "AM" ? "PM" : "AM";
|
|
1886
|
-
this.setValuePart("meridiem", newMeridiem);
|
|
1887
|
-
};
|
|
1888
|
-
this.incrementHour = () => {
|
|
1889
|
-
const newHour = isValidNumber(this.hour)
|
|
1890
|
-
? this.hour === "23"
|
|
1891
|
-
? 0
|
|
1892
|
-
: parseInt(this.hour) + 1
|
|
1893
|
-
: 1;
|
|
1894
|
-
this.setValuePart("hour", newHour);
|
|
1895
|
-
};
|
|
1896
|
-
this.incrementMinuteOrSecond = (key) => {
|
|
1897
|
-
const newValue = isValidNumber(this[key])
|
|
1898
|
-
? this[key] === "59"
|
|
1899
|
-
? 0
|
|
1900
|
-
: parseInt(this[key]) + 1
|
|
1901
|
-
: 0;
|
|
1902
|
-
this.setValuePart(key, newValue);
|
|
1903
|
-
};
|
|
1904
|
-
this.incrementMinute = () => {
|
|
1905
|
-
this.incrementMinuteOrSecond("minute");
|
|
1906
|
-
};
|
|
1907
|
-
this.incrementSecond = () => {
|
|
1908
|
-
this.incrementMinuteOrSecond("second");
|
|
1909
|
-
};
|
|
1910
|
-
this.meridiemDownButtonKeyDownHandler = (event) => {
|
|
1911
|
-
if (this.buttonActivated(event)) {
|
|
1912
|
-
this.decrementMeridiem();
|
|
1913
|
-
}
|
|
1914
|
-
};
|
|
1915
|
-
this.meridiemKeyDownHandler = (event) => {
|
|
1916
|
-
switch (event.key) {
|
|
1917
|
-
case "a":
|
|
1918
|
-
this.setValuePart("meridiem", "AM");
|
|
1919
|
-
break;
|
|
1920
|
-
case "p":
|
|
1921
|
-
this.setValuePart("meridiem", "PM");
|
|
1922
|
-
break;
|
|
1923
|
-
case "Backspace":
|
|
1924
|
-
case "Delete":
|
|
1925
|
-
this.setValuePart("meridiem", null);
|
|
1926
|
-
break;
|
|
1927
|
-
case "ArrowUp":
|
|
1928
|
-
event.preventDefault();
|
|
1929
|
-
this.incrementMeridiem();
|
|
1930
|
-
break;
|
|
1931
|
-
case "ArrowDown":
|
|
1932
|
-
event.preventDefault();
|
|
1933
|
-
this.decrementMeridiem();
|
|
1934
|
-
break;
|
|
1935
|
-
case " ":
|
|
1936
|
-
event.preventDefault();
|
|
1937
|
-
break;
|
|
1938
|
-
}
|
|
1939
|
-
};
|
|
1940
|
-
this.meridiemUpButtonKeyDownHandler = (event) => {
|
|
1941
|
-
if (this.buttonActivated(event)) {
|
|
1942
|
-
this.incrementMeridiem();
|
|
1943
|
-
}
|
|
1944
|
-
};
|
|
1945
|
-
this.minuteDownButtonKeyDownHandler = (event) => {
|
|
1946
|
-
if (this.buttonActivated(event)) {
|
|
1947
|
-
this.decrementMinute();
|
|
1948
|
-
}
|
|
1949
|
-
};
|
|
1950
|
-
this.minuteKeyDownHandler = (event) => {
|
|
1951
|
-
const { key } = event;
|
|
1952
|
-
if (numberKeys.includes(key)) {
|
|
1953
|
-
const keyAsNumber = parseInt(key);
|
|
1954
|
-
let newMinute;
|
|
1955
|
-
if (isValidNumber(this.minute) && this.minute.startsWith("0")) {
|
|
1956
|
-
const minuteAsNumber = parseInt(this.minute);
|
|
1957
|
-
newMinute =
|
|
1958
|
-
minuteAsNumber > maxTenthForMinuteAndSecond
|
|
1959
|
-
? keyAsNumber
|
|
1960
|
-
: `${minuteAsNumber}${keyAsNumber}`;
|
|
1961
|
-
}
|
|
1962
|
-
else {
|
|
1963
|
-
newMinute = keyAsNumber;
|
|
1964
|
-
}
|
|
1965
|
-
this.setValuePart("minute", newMinute);
|
|
1966
|
-
}
|
|
1967
|
-
else {
|
|
1968
|
-
switch (key) {
|
|
1969
|
-
case "Backspace":
|
|
1970
|
-
case "Delete":
|
|
1971
|
-
this.setValuePart("minute", null);
|
|
1972
|
-
break;
|
|
1973
|
-
case "ArrowDown":
|
|
1974
|
-
event.preventDefault();
|
|
1975
|
-
this.decrementMinute();
|
|
1976
|
-
break;
|
|
1977
|
-
case "ArrowUp":
|
|
1978
|
-
event.preventDefault();
|
|
1979
|
-
this.incrementMinute();
|
|
1980
|
-
break;
|
|
1981
|
-
case " ":
|
|
1982
|
-
event.preventDefault();
|
|
1983
|
-
break;
|
|
1984
|
-
}
|
|
1985
|
-
}
|
|
1986
|
-
};
|
|
1987
|
-
this.minuteUpButtonKeyDownHandler = (event) => {
|
|
1988
|
-
if (this.buttonActivated(event)) {
|
|
1989
|
-
this.incrementMinute();
|
|
1990
|
-
}
|
|
1991
|
-
};
|
|
1992
|
-
this.secondDownButtonKeyDownHandler = (event) => {
|
|
1993
|
-
if (this.buttonActivated(event)) {
|
|
1994
|
-
this.decrementSecond();
|
|
1995
|
-
}
|
|
1996
|
-
};
|
|
1997
|
-
this.secondKeyDownHandler = (event) => {
|
|
1998
|
-
const { key } = event;
|
|
1999
|
-
if (numberKeys.includes(key)) {
|
|
2000
|
-
const keyAsNumber = parseInt(key);
|
|
2001
|
-
let newSecond;
|
|
2002
|
-
if (isValidNumber(this.second) && this.second.startsWith("0")) {
|
|
2003
|
-
const secondAsNumber = parseInt(this.second);
|
|
2004
|
-
newSecond =
|
|
2005
|
-
secondAsNumber > maxTenthForMinuteAndSecond
|
|
2006
|
-
? keyAsNumber
|
|
2007
|
-
: `${secondAsNumber}${keyAsNumber}`;
|
|
2008
|
-
}
|
|
2009
|
-
else {
|
|
2010
|
-
newSecond = keyAsNumber;
|
|
2011
|
-
}
|
|
2012
|
-
this.setValuePart("second", newSecond);
|
|
2013
|
-
}
|
|
2014
|
-
else {
|
|
2015
|
-
switch (key) {
|
|
2016
|
-
case "Backspace":
|
|
2017
|
-
case "Delete":
|
|
2018
|
-
this.setValuePart("second", null);
|
|
2019
|
-
break;
|
|
2020
|
-
case "ArrowDown":
|
|
2021
|
-
event.preventDefault();
|
|
2022
|
-
this.decrementSecond();
|
|
2023
|
-
break;
|
|
2024
|
-
case "ArrowUp":
|
|
2025
|
-
event.preventDefault();
|
|
2026
|
-
this.incrementSecond();
|
|
2027
|
-
break;
|
|
2028
|
-
case " ":
|
|
2029
|
-
event.preventDefault();
|
|
2030
|
-
break;
|
|
2031
|
-
}
|
|
2032
|
-
}
|
|
2033
|
-
};
|
|
2034
|
-
this.secondUpButtonKeyDownHandler = (event) => {
|
|
2035
|
-
if (this.buttonActivated(event)) {
|
|
2036
|
-
this.incrementSecond();
|
|
2037
|
-
}
|
|
2038
|
-
};
|
|
2039
|
-
this.setHourEl = (el) => (this.hourEl = el);
|
|
2040
|
-
this.setMeridiemEl = (el) => (this.meridiemEl = el);
|
|
2041
|
-
this.setMinuteEl = (el) => (this.minuteEl = el);
|
|
2042
|
-
this.setSecondEl = (el) => (this.secondEl = el);
|
|
2043
|
-
this.setValue = (value, emit = true) => {
|
|
2044
|
-
if (isValidTime(value)) {
|
|
2045
|
-
const { hour, minute, second } = parseTimeString(value);
|
|
2046
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
|
2047
|
-
const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedSecondSuffix, localizedMeridiem } = localizeTimeStringToParts({ value, locale, numberingSystem });
|
|
2048
|
-
this.localizedHour = localizedHour;
|
|
2049
|
-
this.localizedHourSuffix = localizedHourSuffix;
|
|
2050
|
-
this.localizedMinute = localizedMinute;
|
|
2051
|
-
this.localizedMinuteSuffix = localizedMinuteSuffix;
|
|
2052
|
-
this.localizedSecond = localizedSecond;
|
|
2053
|
-
this.localizedSecondSuffix = localizedSecondSuffix;
|
|
2054
|
-
this.hour = hour;
|
|
2055
|
-
this.minute = minute;
|
|
2056
|
-
this.second = second;
|
|
2057
|
-
if (localizedMeridiem) {
|
|
2058
|
-
this.localizedMeridiem = localizedMeridiem;
|
|
2059
|
-
this.meridiem = getMeridiem(this.hour);
|
|
2060
|
-
const formatParts = getTimeParts({ value, locale, numberingSystem });
|
|
2061
|
-
this.meridiemOrder = this.getMeridiemOrder(formatParts);
|
|
2062
|
-
}
|
|
2063
|
-
}
|
|
2064
|
-
else {
|
|
2065
|
-
this.hour = null;
|
|
2066
|
-
this.localizedHour = null;
|
|
2067
|
-
this.localizedHourSuffix = null;
|
|
2068
|
-
this.localizedMeridiem = null;
|
|
2069
|
-
this.localizedMinute = null;
|
|
2070
|
-
this.localizedMinuteSuffix = null;
|
|
2071
|
-
this.localizedSecond = null;
|
|
2072
|
-
this.localizedSecondSuffix = null;
|
|
2073
|
-
this.meridiem = null;
|
|
2074
|
-
this.minute = null;
|
|
2075
|
-
this.second = null;
|
|
2076
|
-
this.value = null;
|
|
2077
|
-
}
|
|
2078
|
-
if (emit) {
|
|
2079
|
-
this.calciteInternalTimePickerChange.emit();
|
|
2080
|
-
}
|
|
2081
|
-
};
|
|
2082
|
-
this.setValuePart = (key, value, emit = true) => {
|
|
2083
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
|
2084
|
-
if (key === "meridiem") {
|
|
2085
|
-
this.meridiem = value;
|
|
2086
|
-
if (isValidNumber(this.hour)) {
|
|
2087
|
-
const hourAsNumber = parseInt(this.hour);
|
|
2088
|
-
switch (value) {
|
|
2089
|
-
case "AM":
|
|
2090
|
-
if (hourAsNumber >= 12) {
|
|
2091
|
-
this.hour = formatTimePart(hourAsNumber - 12);
|
|
2092
|
-
}
|
|
2093
|
-
break;
|
|
2094
|
-
case "PM":
|
|
2095
|
-
if (hourAsNumber < 12) {
|
|
2096
|
-
this.hour = formatTimePart(hourAsNumber + 12);
|
|
2097
|
-
}
|
|
2098
|
-
break;
|
|
2099
|
-
}
|
|
2100
|
-
this.localizedHour = localizeTimePart({
|
|
2101
|
-
value: this.hour,
|
|
2102
|
-
part: "hour",
|
|
2103
|
-
locale,
|
|
2104
|
-
numberingSystem
|
|
2105
|
-
});
|
|
2106
|
-
}
|
|
2107
|
-
}
|
|
2108
|
-
else {
|
|
2109
|
-
this[key] = typeof value === "number" ? formatTimePart(value) : value;
|
|
2110
|
-
this[`localized${capitalize(key)}`] = localizeTimePart({
|
|
2111
|
-
value: this[key],
|
|
2112
|
-
part: key,
|
|
2113
|
-
locale,
|
|
2114
|
-
numberingSystem
|
|
2115
|
-
});
|
|
2116
|
-
}
|
|
2117
|
-
if (this.hour && this.minute) {
|
|
2118
|
-
let newValue = `${this.hour}:${this.minute}`;
|
|
2119
|
-
if (this.showSecond) {
|
|
2120
|
-
newValue = `${newValue}:${this.second ?? "00"}`;
|
|
2121
|
-
}
|
|
2122
|
-
this.value = newValue;
|
|
2123
|
-
}
|
|
2124
|
-
else {
|
|
2125
|
-
this.value = null;
|
|
2126
|
-
}
|
|
2127
|
-
this.localizedMeridiem = this.value
|
|
2128
|
-
? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
|
|
2129
|
-
?.localizedMeridiem || null
|
|
2130
|
-
: localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
|
|
2131
|
-
if (emit) {
|
|
2132
|
-
this.calciteInternalTimePickerChange.emit();
|
|
2133
|
-
}
|
|
2134
|
-
};
|
|
2135
|
-
this.scale = "m";
|
|
2136
|
-
this.step = 60;
|
|
2137
|
-
this.numberingSystem = undefined;
|
|
2138
|
-
this.value = null;
|
|
2139
|
-
this.messages = undefined;
|
|
2140
|
-
this.messageOverrides = undefined;
|
|
2141
|
-
this.effectiveLocale = "";
|
|
2142
|
-
this.hour = undefined;
|
|
2143
|
-
this.hourCycle = undefined;
|
|
2144
|
-
this.localizedHour = undefined;
|
|
2145
|
-
this.localizedHourSuffix = undefined;
|
|
2146
|
-
this.localizedMeridiem = undefined;
|
|
2147
|
-
this.localizedMinute = undefined;
|
|
2148
|
-
this.localizedMinuteSuffix = undefined;
|
|
2149
|
-
this.localizedSecond = undefined;
|
|
2150
|
-
this.localizedSecondSuffix = undefined;
|
|
2151
|
-
this.meridiem = undefined;
|
|
2152
|
-
this.minute = undefined;
|
|
2153
|
-
this.second = undefined;
|
|
2154
|
-
this.showSecond = undefined;
|
|
2155
|
-
this.defaultMessages = undefined;
|
|
2156
|
-
}
|
|
2157
|
-
stepChange() {
|
|
2158
|
-
this.updateShowSecond();
|
|
2159
|
-
}
|
|
2160
|
-
valueWatcher(newValue) {
|
|
2161
|
-
this.setValue(newValue, false);
|
|
2162
|
-
}
|
|
2163
|
-
onMessagesChange() {
|
|
2164
|
-
/* wired up by t9n util */
|
|
2165
|
-
}
|
|
2166
|
-
effectiveLocaleWatcher() {
|
|
2167
|
-
this.updateLocale();
|
|
2168
|
-
}
|
|
2169
|
-
//--------------------------------------------------------------------------
|
|
2170
|
-
//
|
|
2171
|
-
// Event Listeners
|
|
2172
|
-
//
|
|
2173
|
-
//--------------------------------------------------------------------------
|
|
2174
|
-
hostBlurHandler() {
|
|
2175
|
-
this.calciteInternalTimePickerBlur.emit();
|
|
2176
|
-
}
|
|
2177
|
-
hostFocusHandler() {
|
|
2178
|
-
this.calciteInternalTimePickerFocus.emit();
|
|
2179
|
-
}
|
|
2180
|
-
keyDownHandler(event) {
|
|
2181
|
-
const { defaultPrevented, key } = event;
|
|
2182
|
-
if (defaultPrevented) {
|
|
2183
|
-
return;
|
|
2184
|
-
}
|
|
2185
|
-
switch (this.activeEl) {
|
|
2186
|
-
case this.hourEl:
|
|
2187
|
-
if (key === "ArrowRight") {
|
|
2188
|
-
this.focusPart("minute");
|
|
2189
|
-
event.preventDefault();
|
|
2190
|
-
}
|
|
2191
|
-
break;
|
|
2192
|
-
case this.minuteEl:
|
|
2193
|
-
switch (key) {
|
|
2194
|
-
case "ArrowLeft":
|
|
2195
|
-
this.focusPart("hour");
|
|
2196
|
-
event.preventDefault();
|
|
2197
|
-
break;
|
|
2198
|
-
case "ArrowRight":
|
|
2199
|
-
if (this.step !== 60) {
|
|
2200
|
-
this.focusPart("second");
|
|
2201
|
-
event.preventDefault();
|
|
2202
|
-
}
|
|
2203
|
-
else if (this.hourCycle === "12") {
|
|
2204
|
-
this.focusPart("meridiem");
|
|
2205
|
-
event.preventDefault();
|
|
2206
|
-
}
|
|
2207
|
-
break;
|
|
2208
|
-
}
|
|
2209
|
-
break;
|
|
2210
|
-
case this.secondEl:
|
|
2211
|
-
switch (key) {
|
|
2212
|
-
case "ArrowLeft":
|
|
2213
|
-
this.focusPart("minute");
|
|
2214
|
-
event.preventDefault();
|
|
2215
|
-
break;
|
|
2216
|
-
case "ArrowRight":
|
|
2217
|
-
if (this.hourCycle === "12") {
|
|
2218
|
-
this.focusPart("meridiem");
|
|
2219
|
-
event.preventDefault();
|
|
2220
|
-
}
|
|
2221
|
-
break;
|
|
2222
|
-
}
|
|
2223
|
-
break;
|
|
2224
|
-
case this.meridiemEl:
|
|
2225
|
-
switch (key) {
|
|
2226
|
-
case "ArrowLeft":
|
|
2227
|
-
if (this.step !== 60) {
|
|
2228
|
-
this.focusPart("second");
|
|
2229
|
-
event.preventDefault();
|
|
2230
|
-
}
|
|
2231
|
-
else {
|
|
2232
|
-
this.focusPart("minute");
|
|
2233
|
-
event.preventDefault();
|
|
2234
|
-
}
|
|
2235
|
-
break;
|
|
2236
|
-
}
|
|
2237
|
-
break;
|
|
2238
|
-
}
|
|
2239
|
-
}
|
|
2240
|
-
//--------------------------------------------------------------------------
|
|
2241
|
-
//
|
|
2242
|
-
// Public Methods
|
|
2243
|
-
//
|
|
2244
|
-
//--------------------------------------------------------------------------
|
|
2245
|
-
/**
|
|
2246
|
-
* Sets focus on the component's first focusable element.
|
|
2247
|
-
*/
|
|
2248
|
-
async setFocus() {
|
|
2249
|
-
await componentLoaded(this);
|
|
2250
|
-
this.el?.focus();
|
|
2251
|
-
}
|
|
2252
|
-
// --------------------------------------------------------------------------
|
|
2253
|
-
//
|
|
2254
|
-
// Private Methods
|
|
2255
|
-
//
|
|
2256
|
-
// --------------------------------------------------------------------------
|
|
2257
|
-
updateShowSecond() {
|
|
2258
|
-
this.showSecond = this.step < 60;
|
|
2259
|
-
}
|
|
2260
|
-
async focusPart(target) {
|
|
2261
|
-
await componentLoaded(this);
|
|
2262
|
-
this[`${target || "hour"}El`]?.focus();
|
|
2263
|
-
}
|
|
2264
|
-
buttonActivated(event) {
|
|
2265
|
-
const { key } = event;
|
|
2266
|
-
if (key === " ") {
|
|
2267
|
-
event.preventDefault();
|
|
2268
|
-
}
|
|
2269
|
-
return isActivationKey(key);
|
|
2270
|
-
}
|
|
2271
|
-
getMeridiemOrder(formatParts) {
|
|
2272
|
-
const locale = this.effectiveLocale;
|
|
2273
|
-
const isRTLKind = locale === "ar" || locale === "he";
|
|
2274
|
-
if (formatParts && !isRTLKind) {
|
|
2275
|
-
const index = formatParts.findIndex((parts) => {
|
|
2276
|
-
return parts.value === this.localizedMeridiem;
|
|
2277
|
-
});
|
|
2278
|
-
return index;
|
|
2279
|
-
}
|
|
2280
|
-
return 0;
|
|
2281
|
-
}
|
|
2282
|
-
updateLocale() {
|
|
2283
|
-
updateMessages(this, this.effectiveLocale);
|
|
2284
|
-
this.hourCycle = getLocaleHourCycle(this.effectiveLocale, this.numberingSystem);
|
|
2285
|
-
this.setValue(this.value, false);
|
|
2286
|
-
}
|
|
2287
|
-
// --------------------------------------------------------------------------
|
|
2288
|
-
//
|
|
2289
|
-
// Lifecycle
|
|
2290
|
-
//
|
|
2291
|
-
// --------------------------------------------------------------------------
|
|
2292
|
-
connectedCallback() {
|
|
2293
|
-
connectLocalized(this);
|
|
2294
|
-
this.updateLocale();
|
|
2295
|
-
connectMessages(this);
|
|
2296
|
-
this.updateShowSecond();
|
|
2297
|
-
this.meridiemOrder = this.getMeridiemOrder(getTimeParts({
|
|
2298
|
-
value: "0:00:00",
|
|
2299
|
-
locale: this.effectiveLocale,
|
|
2300
|
-
numberingSystem: this.numberingSystem
|
|
2301
|
-
}));
|
|
2302
|
-
}
|
|
2303
|
-
async componentWillLoad() {
|
|
2304
|
-
setUpLoadableComponent(this);
|
|
2305
|
-
await setUpMessages(this);
|
|
2306
|
-
}
|
|
2307
|
-
componentDidLoad() {
|
|
2308
|
-
setComponentLoaded(this);
|
|
2309
|
-
}
|
|
2310
|
-
disconnectedCallback() {
|
|
2311
|
-
disconnectLocalized(this);
|
|
2312
|
-
disconnectMessages(this);
|
|
2313
|
-
}
|
|
2314
|
-
// --------------------------------------------------------------------------
|
|
2315
|
-
//
|
|
2316
|
-
// Render Methods
|
|
2317
|
-
//
|
|
2318
|
-
// --------------------------------------------------------------------------
|
|
2319
|
-
render() {
|
|
2320
|
-
const hourIsNumber = isValidNumber(this.hour);
|
|
2321
|
-
const iconScale = this.scale === "s" || this.scale === "m" ? "s" : "m";
|
|
2322
|
-
const minuteIsNumber = isValidNumber(this.minute);
|
|
2323
|
-
const secondIsNumber = isValidNumber(this.second);
|
|
2324
|
-
const showMeridiem = this.hourCycle === "12";
|
|
2325
|
-
return (h("div", { class: {
|
|
2326
|
-
[CSS.timePicker]: true,
|
|
2327
|
-
[CSS.showMeridiem]: showMeridiem,
|
|
2328
|
-
[CSS.showSecond]: this.showSecond,
|
|
2329
|
-
[CSS[`scale-${this.scale}`]]: true
|
|
2330
|
-
}, dir: "ltr" }, h("div", { class: CSS.column, role: "group" }, h("span", { "aria-label": this.messages.hourUp, class: {
|
|
2331
|
-
[CSS.button]: true,
|
|
2332
|
-
[CSS.buttonHourUp]: true,
|
|
2333
|
-
[CSS.buttonTopLeft]: true
|
|
2334
|
-
}, onClick: this.incrementHour, onKeyDown: this.hourUpButtonKeyDownHandler, role: "button" }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), 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: {
|
|
2335
|
-
[CSS.input]: true,
|
|
2336
|
-
[CSS.hour]: true
|
|
2337
|
-
}, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2338
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
2339
|
-
ref: this.setHourEl }, this.localizedHour || "--"), h("span", { "aria-label": this.messages.hourDown, class: {
|
|
2340
|
-
[CSS.button]: true,
|
|
2341
|
-
[CSS.buttonHourDown]: true,
|
|
2342
|
-
[CSS.buttonBottomLeft]: true
|
|
2343
|
-
}, onClick: this.decrementHour, onKeyDown: this.hourDownButtonKeyDownHandler, role: "button" }, h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), h("span", { class: CSS.delimiter }, this.localizedHourSuffix), h("div", { class: CSS.column, role: "group" }, h("span", { "aria-label": this.messages.minuteUp, class: {
|
|
2344
|
-
[CSS.button]: true,
|
|
2345
|
-
[CSS.buttonMinuteUp]: true
|
|
2346
|
-
}, onClick: this.incrementMinute, onKeyDown: this.minuteUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), 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: {
|
|
2347
|
-
[CSS.input]: true,
|
|
2348
|
-
[CSS.minute]: true
|
|
2349
|
-
}, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2350
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
2351
|
-
ref: this.setMinuteEl }, this.localizedMinute || "--"), h("span", { "aria-label": this.messages.minuteDown, class: {
|
|
2352
|
-
[CSS.button]: true,
|
|
2353
|
-
[CSS.buttonMinuteDown]: true
|
|
2354
|
-
}, onClick: this.decrementMinute, onKeyDown: this.minuteDownButtonKeyDownHandler, role: "button" }, h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), this.showSecond && h("span", { class: CSS.delimiter }, this.localizedMinuteSuffix), this.showSecond && (h("div", { class: CSS.column, role: "group" }, h("span", { "aria-label": this.messages.secondUp, class: {
|
|
2355
|
-
[CSS.button]: true,
|
|
2356
|
-
[CSS.buttonSecondUp]: true
|
|
2357
|
-
}, onClick: this.incrementSecond, onKeyDown: this.secondUpButtonKeyDownHandler, role: "button" }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), 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: {
|
|
2358
|
-
[CSS.input]: true,
|
|
2359
|
-
[CSS.second]: true
|
|
2360
|
-
}, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2361
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
2362
|
-
ref: this.setSecondEl }, this.localizedSecond || "--"), h("span", { "aria-label": this.messages.secondDown, class: {
|
|
2363
|
-
[CSS.button]: true,
|
|
2364
|
-
[CSS.buttonSecondDown]: true
|
|
2365
|
-
}, onClick: this.decrementSecond, onKeyDown: this.secondDownButtonKeyDownHandler, role: "button" }, h("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (h("span", { class: CSS.delimiter }, this.localizedSecondSuffix)), showMeridiem && (h("div", { class: {
|
|
2366
|
-
[CSS.column]: true,
|
|
2367
|
-
[CSS.meridiemStart]: this.meridiemOrder === 0
|
|
2368
|
-
}, role: "group" }, h("span", { "aria-label": this.messages.meridiemUp, class: {
|
|
2369
|
-
[CSS.button]: true,
|
|
2370
|
-
[CSS.buttonMeridiemUp]: true,
|
|
2371
|
-
[CSS.buttonTopRight]: true
|
|
2372
|
-
}, onClick: this.incrementMeridiem, onKeyDown: this.meridiemUpButtonKeyDownHandler, role: "button" }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), 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: {
|
|
2373
|
-
[CSS.input]: true,
|
|
2374
|
-
[CSS.meridiem]: true
|
|
2375
|
-
}, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2376
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
2377
|
-
ref: this.setMeridiemEl }, this.localizedMeridiem || "--"), h("span", { "aria-label": this.messages.meridiemDown, class: {
|
|
2378
|
-
[CSS.button]: true,
|
|
2379
|
-
[CSS.buttonMeridiemDown]: true,
|
|
2380
|
-
[CSS.buttonBottomRight]: true
|
|
2381
|
-
}, onClick: this.decrementMeridiem, onKeyDown: this.meridiemDownButtonKeyDownHandler, role: "button" }, h("calcite-icon", { icon: "chevron-down", scale: iconScale }))))));
|
|
2382
|
-
}
|
|
2383
|
-
static get delegatesFocus() { return true; }
|
|
2384
|
-
static get assetsDirs() { return ["assets"]; }
|
|
2385
|
-
get el() { return getElement(this); }
|
|
2386
|
-
static get watchers() { return {
|
|
2387
|
-
"step": ["stepChange"],
|
|
2388
|
-
"value": ["valueWatcher"],
|
|
2389
|
-
"messageOverrides": ["onMessagesChange"],
|
|
2390
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
2391
|
-
}; }
|
|
2392
|
-
};
|
|
2393
|
-
TimePicker.style = timePickerCss;
|
|
2394
|
-
|
|
2395
|
-
export { InputTimePicker as calcite_input_time_picker, TimePicker as calcite_time_picker };
|
|
6
|
+
export { I as calcite_input_time_picker, T as calcite_time_picker } from './calcite-input-time-picker.calcite-time-picker-ef7aa7ed.js';
|
|
7
|
+
import './index-28ca7c1a.js';
|
|
8
|
+
import './form-0ef3246c.js';
|
|
9
|
+
import './dom-5a05eca8.js';
|
|
10
|
+
import './guid-950f8a37.js';
|
|
11
|
+
import './resources-490f78fe.js';
|
|
12
|
+
import './interactive-e6129886.js';
|
|
13
|
+
import './key-a2612875.js';
|
|
14
|
+
import './label-87b5e7ab.js';
|
|
15
|
+
import './loadable-37f28699.js';
|
|
16
|
+
import './locale-f86e03e7.js';
|
|
17
|
+
import './observers-a39f0945.js';
|
|
18
|
+
import './focusTrapComponent-2334588f.js';
|
|
19
|
+
import './t9n-f2be9f54.js';
|