@esri/calcite-components 1.7.0-next.13 → 1.7.0-next.14
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/time-picker/t9n/index.d.ts +3 -0
- package/dist/calcite/assets/time-picker/t9n/messages.json +3 -0
- package/dist/calcite/assets/time-picker/t9n/messages_en.json +3 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-270583c0.entry.js → p-00c0611c.entry.js} +2 -2
- package/dist/calcite/p-0204d470.js +6 -0
- package/dist/calcite/{p-7609a443.js → p-02b9e8fc.js} +2 -2
- package/dist/calcite/{p-5ca070ae.entry.js → p-041db9df.entry.js} +2 -2
- package/dist/calcite/{p-82836922.js → p-0473aace.js} +1 -1
- package/dist/calcite/{p-ec7843e1.js → p-04b128a1.js} +2 -2
- package/dist/calcite/{p-d84bddf2.js → p-051b2fb2.js} +1 -1
- package/dist/calcite/p-08aa1753.js +6 -0
- package/dist/calcite/p-0b10f4c3.js +6 -0
- package/dist/calcite/{p-c07a061a.entry.js → p-0be88856.entry.js} +2 -2
- package/dist/calcite/p-0c355a73.js +6 -0
- package/dist/calcite/p-0d551f7c.js +6 -0
- package/dist/calcite/{p-fe06ca94.entry.js → p-0eac0d49.entry.js} +2 -2
- package/dist/calcite/p-0f015152.js +6 -0
- package/dist/calcite/{p-17e62eb9.entry.js → p-0f03b7dd.entry.js} +2 -2
- package/dist/calcite/{p-efa22733.entry.js → p-101f7ced.entry.js} +2 -2
- package/dist/calcite/{p-ec4ba597.entry.js → p-106a389d.entry.js} +2 -2
- package/dist/calcite/p-107999f7.js +6 -0
- package/dist/calcite/{p-3658aee6.entry.js → p-14b99c7f.entry.js} +2 -2
- package/dist/calcite/{p-461d09ae.entry.js → p-17baa712.entry.js} +2 -2
- package/dist/calcite/p-192a67a7.js +6 -0
- package/dist/calcite/p-1a43f5c1.js +6 -0
- package/dist/calcite/p-1d360664.js +6 -0
- package/dist/calcite/{p-fba9c586.js → p-1f34e1fd.js} +1 -1
- package/dist/calcite/{p-3bde362d.entry.js → p-1fe910cf.entry.js} +2 -2
- package/dist/calcite/p-21118244.entry.js +6 -0
- package/dist/calcite/{p-2c6dfce3.entry.js → p-218c8064.entry.js} +2 -2
- package/dist/calcite/p-263302fc.entry.js +6 -0
- package/dist/calcite/{p-9a508498.js → p-27fab22f.js} +2 -2
- package/dist/calcite/p-291af3bc.js +6 -0
- package/dist/calcite/{p-ec7b4aa0.entry.js → p-2bf9595a.entry.js} +2 -2
- package/dist/calcite/{p-1d809f99.js → p-2c2c954a.js} +1 -1
- package/dist/calcite/p-2ccf1e1a.js +6 -0
- package/dist/calcite/{p-db48193e.entry.js → p-2ceb7949.entry.js} +2 -2
- package/dist/calcite/{p-8364af0c.entry.js → p-2cf50507.entry.js} +2 -2
- package/dist/calcite/p-2eb53efa.js +6 -0
- package/dist/calcite/p-350ba848.js +6 -0
- package/dist/calcite/{p-c1237170.entry.js → p-3566e8fa.entry.js} +2 -2
- package/dist/calcite/{p-55b7453c.js → p-356a8374.js} +2 -2
- package/dist/calcite/{p-1442a225.entry.js → p-35710e59.entry.js} +2 -2
- package/dist/calcite/{p-f1dd47b8.js → p-367c2c01.js} +1 -1
- package/dist/calcite/{p-0735bdd7.entry.js → p-36ace5f9.entry.js} +2 -2
- package/dist/calcite/{p-ac147869.entry.js → p-3a8aa8e0.entry.js} +2 -2
- package/dist/calcite/{p-7c5235d3.entry.js → p-3b0bc663.entry.js} +2 -2
- package/dist/calcite/{p-02645704.js → p-3e24464e.js} +1 -1
- package/dist/calcite/p-3ea755c3.js +6 -0
- package/dist/calcite/{p-bbd17ec6.entry.js → p-40c70921.entry.js} +2 -2
- package/dist/calcite/{p-28914dec.entry.js → p-415c7582.entry.js} +2 -2
- package/dist/calcite/p-43488336.js +6 -0
- package/dist/calcite/{p-739e0464.entry.js → p-47f6cc60.entry.js} +2 -2
- package/dist/calcite/{p-8a599644.entry.js → p-481689ed.entry.js} +2 -2
- package/dist/calcite/{p-0d8467bf.entry.js → p-4cea1f48.entry.js} +2 -2
- package/dist/calcite/{p-9fb82706.entry.js → p-4feede09.entry.js} +2 -2
- package/dist/calcite/{p-d5102f79.js → p-516bc559.js} +2 -2
- package/dist/calcite/p-523bf4d0.js +6 -0
- package/dist/calcite/p-528e7203.js +6 -0
- package/dist/calcite/{p-4251f642.entry.js → p-52b1bf7b.entry.js} +2 -2
- package/dist/calcite/p-53f98def.js +6 -0
- package/dist/calcite/p-550b5646.js +6 -0
- package/dist/calcite/{p-b82299c9.entry.js → p-55478161.entry.js} +2 -2
- package/dist/calcite/p-56b34725.js +6 -0
- package/dist/calcite/{p-bcdfe53c.entry.js → p-5a899b57.entry.js} +2 -2
- package/dist/calcite/{p-b5580f68.entry.js → p-5b44824f.entry.js} +2 -2
- package/dist/calcite/{p-5a6859da.entry.js → p-5d7df7d7.entry.js} +2 -2
- package/dist/calcite/{p-ff56298b.js → p-5f4f6135.js} +2 -2
- package/dist/calcite/p-6459de7f.js +6 -0
- package/dist/calcite/p-66338fee.js +6 -0
- package/dist/calcite/{p-b86579dd.js → p-6b192a69.js} +2 -2
- package/dist/calcite/p-6bd53cb4.entry.js +6 -0
- package/dist/calcite/{p-90a3a149.entry.js → p-6bfcdcb3.entry.js} +2 -2
- package/dist/calcite/{p-3644a46c.entry.js → p-6e5301ae.entry.js} +2 -2
- package/dist/calcite/{p-413368f9.entry.js → p-712e146e.entry.js} +2 -2
- package/dist/calcite/p-714c7efc.js +6 -0
- package/dist/calcite/{p-0d413952.js → p-7293020f.js} +1 -1
- package/dist/calcite/{p-afdf0971.js → p-72f2fc08.js} +2 -2
- package/dist/calcite/{p-b82269a4.js → p-734e8d42.js} +2 -2
- package/dist/calcite/{p-d0ffca9b.entry.js → p-7483df3f.entry.js} +2 -2
- package/dist/calcite/{p-f2b37961.js → p-7660ae6b.js} +1 -1
- package/dist/calcite/{p-e31bc1eb.entry.js → p-7886a6bf.entry.js} +2 -2
- package/dist/calcite/p-79c89028.js +6 -0
- package/dist/calcite/p-7a7b7385.js +6 -0
- package/dist/calcite/{p-2ec82314.entry.js → p-7aba06d8.entry.js} +2 -2
- package/dist/calcite/{p-028c4366.entry.js → p-7d689862.entry.js} +2 -2
- package/dist/calcite/{p-6b421933.js → p-7d694580.js} +2 -2
- package/dist/calcite/{p-295a05c8.js → p-7f80490b.js} +2 -2
- package/dist/calcite/p-802f23c8.js +6 -0
- package/dist/calcite/{p-2cb7200e.js → p-8031ed50.js} +1 -1
- package/dist/calcite/{p-e3eb3c78.entry.js → p-847ffa38.entry.js} +2 -2
- package/dist/calcite/p-84ac0b8e.js +6 -0
- package/dist/calcite/p-863222dd.js +6 -0
- package/dist/calcite/{p-8abc13d4.entry.js → p-8b8a985a.entry.js} +2 -2
- package/dist/calcite/p-8b92bdfe.js +6 -0
- package/dist/calcite/p-8bd48824.js +6 -0
- package/dist/calcite/p-8be2aaf5.js +6 -0
- package/dist/calcite/p-8dd15d84.entry.js +6 -0
- package/dist/calcite/{p-6738ef06.entry.js → p-9056626e.entry.js} +2 -2
- package/dist/calcite/{p-23109de2.entry.js → p-922a124c.entry.js} +2 -2
- package/dist/calcite/{p-7bfebfed.js → p-9317fe7a.js} +2 -2
- package/dist/calcite/{p-be745308.entry.js → p-93ab9355.entry.js} +2 -2
- package/dist/calcite/p-93d4269f.js +6 -0
- package/dist/calcite/p-94d6b5ec.js +6 -0
- package/dist/calcite/p-991cd313.js +6 -0
- package/dist/calcite/p-99b80b00.js +6 -0
- package/dist/calcite/p-9c52c791.entry.js +6 -0
- package/dist/calcite/p-9c9847fa.js +6 -0
- package/dist/calcite/{p-2c825d35.entry.js → p-9cea7531.entry.js} +2 -2
- package/dist/calcite/{p-8a79163d.entry.js → p-9d07d546.entry.js} +2 -2
- package/dist/calcite/{p-003e75d5.entry.js → p-9e9cc622.entry.js} +2 -2
- package/dist/calcite/{p-91a65ff1.entry.js → p-9f5f8765.entry.js} +2 -2
- package/dist/calcite/p-a09f3a13.js +6 -0
- package/dist/calcite/{p-e547f45f.entry.js → p-a0ac357b.entry.js} +2 -2
- package/dist/calcite/{p-40b5ffc9.entry.js → p-a4b6bfbd.entry.js} +2 -2
- package/dist/calcite/p-a6b6e4b0.js +6 -0
- package/dist/calcite/p-ac04826f.js +6 -0
- package/dist/calcite/p-ac18189f.js +6 -0
- package/dist/calcite/{p-f4bf05ca.js → p-ae4d4713.js} +2 -2
- package/dist/calcite/{p-ed53b7f7.js → p-aedd2b1a.js} +1 -1
- package/dist/calcite/p-b743b9d1.js +6 -0
- package/dist/calcite/{p-1281e636.entry.js → p-b775646d.entry.js} +2 -2
- package/dist/calcite/p-b8b481a9.js +6 -0
- package/dist/calcite/{p-f8b43fed.js → p-bd273c4a.js} +2 -2
- package/dist/calcite/p-bd696583.js +6 -0
- package/dist/calcite/p-bf40c366.js +6 -0
- package/dist/calcite/{p-06f17447.entry.js → p-c0ce5f76.entry.js} +2 -2
- package/dist/calcite/{p-7fa21dbf.entry.js → p-c0d2a7bc.entry.js} +2 -2
- package/dist/calcite/p-c10b1f73.js +6 -0
- package/dist/calcite/{p-2b554c61.js → p-c45eaf43.js} +2 -2
- package/dist/calcite/{p-bdeb9d06.js → p-c5ecc918.js} +1 -1
- package/dist/calcite/{p-212777e1.js → p-c5f56d00.js} +2 -2
- package/dist/calcite/{p-44187a2b.entry.js → p-c6151f3a.entry.js} +2 -2
- package/dist/calcite/p-c7b75712.js +6 -0
- package/dist/calcite/{p-c0ad0d34.entry.js → p-c8b51fb1.entry.js} +2 -2
- package/dist/calcite/p-cb223296.entry.js +6 -0
- package/dist/calcite/{p-a46402ae.entry.js → p-ce42fb89.entry.js} +2 -2
- package/dist/calcite/{p-5ba3500a.entry.js → p-cef2922a.entry.js} +2 -2
- package/dist/calcite/p-d13d008f.js +6 -0
- package/dist/calcite/{p-6423a60b.entry.js → p-d3975c75.entry.js} +2 -2
- package/dist/calcite/{p-1efcb3ea.entry.js → p-daddbcdc.entry.js} +2 -2
- package/dist/calcite/{p-32d19214.js → p-db018c92.js} +1 -1
- package/dist/calcite/{p-0ef33e2e.entry.js → p-e0c32d9c.entry.js} +2 -2
- package/dist/calcite/{p-43aad518.entry.js → p-e42be64c.entry.js} +2 -2
- package/dist/calcite/p-e56e5d7e.js +6 -0
- package/dist/calcite/{p-cfb882e5.js → p-e6b1abfc.js} +1 -1
- package/dist/calcite/p-ed733533.js +6 -0
- package/dist/calcite/p-f0ac31d5.js +6 -0
- package/dist/calcite/p-f11e7589.js +6 -0
- package/dist/calcite/{p-106a4700.entry.js → p-f1a3a521.entry.js} +2 -2
- package/dist/calcite/{p-8aecdd94.js → p-f230e9ed.js} +1 -1
- package/dist/calcite/{p-7aedd7fd.entry.js → p-f34bb1f9.entry.js} +2 -2
- package/dist/calcite/p-f7a2f911.js +6 -0
- package/dist/calcite/p-f7b4a857.js +6 -0
- package/dist/calcite/{p-e2f676d4.entry.js → p-f7dd6cfe.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-d52a28fc.js → ExpandToggle-b7eac610.js} +5 -5
- package/dist/cjs/{FloatingArrow-5436d8ff.js → FloatingArrow-ab04000a.js} +2 -2
- package/dist/cjs/{Heading-277e5730.js → Heading-2c4e39c0.js} +2 -2
- package/dist/cjs/{app-globals-25831d8d.js → app-globals-d1de22c4.js} +2 -2
- package/dist/cjs/{ar-9afccc9d.js → ar-e3f7d8d6.js} +16 -15
- package/dist/cjs/{array-0cfea856.js → array-5bc51a8d.js} +1 -1
- package/dist/cjs/{bg-cecf5049.js → bg-060348c1.js} +16 -15
- package/dist/cjs/{bs-26979f5a.js → bs-d31c5c73.js} +16 -15
- package/dist/cjs/{ca-27b5d9f0.js → ca-9b1e61e2.js} +16 -15
- 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 +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- 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-7cd4d375.js → calcite-input-time-picker.calcite-time-picker-1ecc301c.js} +462 -174
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- 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 +14 -14
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- 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 +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- 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 +10 -10
- package/dist/cjs/calcite-sheet.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 +6 -6
- 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 +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-35e0d1ff.js → conditionalSlot-be73a844.js} +3 -3
- package/dist/cjs/{cs-111ca8f2.js → cs-f0c85e57.js} +16 -15
- package/dist/cjs/{da-d82e9856.js → da-0c565998.js} +16 -15
- package/dist/cjs/{de-61ae08b8.js → de-342c9d42.js} +16 -15
- package/dist/cjs/{de-at-eba92043.js → de-at-e27590f8.js} +16 -15
- package/dist/cjs/{de-ch-4d021c55.js → de-ch-4bd31d0f.js} +16 -15
- package/dist/cjs/{debounce-12434a9b.js → debounce-de6c62dd.js} +1 -1
- package/dist/cjs/{dom-b3aeb26a.js → dom-5c1f05a4.js} +3 -3
- package/dist/cjs/{el-f84abbda.js → el-db20dda3.js} +16 -15
- package/dist/cjs/{en-au-aa1def49.js → en-au-fe57fd16.js} +16 -15
- package/dist/cjs/{en-ca-cf798137.js → en-ca-57ad0ef1.js} +16 -15
- package/dist/cjs/{en-gb-4a6012cf.js → en-gb-b45ccd3a.js} +16 -15
- package/dist/cjs/{es-61678472.js → es-301cba4f.js} +16 -15
- package/dist/cjs/{es-mx-cd866ce4.js → es-mx-7051a78b.js} +16 -15
- package/dist/cjs/{et-7fffdf41.js → et-ba36cd54.js} +16 -15
- package/dist/cjs/{fi-8f2ee314.js → fi-850ad6d4.js} +16 -15
- package/dist/cjs/{filter-bbda9f19.js → filter-31177fd1.js} +2 -2
- package/dist/cjs/{floating-ui-b21b83ec.js → floating-ui-e09abdf1.js} +3 -3
- package/dist/cjs/{focusTrapComponent-5b8c6714.js → focusTrapComponent-ce5a3e7f.js} +2 -2
- package/dist/cjs/{form-9c12dc45.js → form-e383be1d.js} +3 -3
- package/dist/cjs/{fr-ba76b48e.js → fr-cc6ec309.js} +16 -15
- package/dist/cjs/{fr-ch-1fb42ab4.js → fr-ch-b42c894d.js} +16 -15
- package/dist/cjs/{guid-25401435.js → guid-56212af8.js} +1 -1
- package/dist/cjs/{he-854e468d.js → he-80b9b6ae.js} +16 -15
- package/dist/cjs/{hi-94d1502d.js → hi-c67be7ee.js} +16 -15
- package/dist/cjs/{hr-43f1f199.js → hr-0191e1b7.js} +16 -15
- package/dist/cjs/{hu-bf2e6a8a.js → hu-e9be71de.js} +16 -15
- package/dist/cjs/{id-fac3f393.js → id-b7dbbc1b.js} +16 -15
- package/dist/cjs/{index-8c348d70.js → index-7a7283a1.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-41d7137d.js → interactive-987d5138.js} +1 -1
- package/dist/cjs/{it-b74d9e4c.js → it-64c27dea.js} +16 -15
- package/dist/cjs/{it-ch-ef4d6e5e.js → it-ch-3bd71f60.js} +16 -15
- package/dist/cjs/{ja-a02329f6.js → ja-3a41c5d6.js} +16 -15
- package/dist/cjs/{key-2d68cf34.js → key-31a858e5.js} +1 -1
- package/dist/cjs/{ko-041413b5.js → ko-d88c39ed.js} +16 -15
- package/dist/cjs/{label-520032ab.js → label-f6ff58d4.js} +2 -2
- package/dist/cjs/{loadable-37f5e498.js → loadable-35c473fe.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-3cddd6e1.js → locale-8b7f63e3.js} +4 -4
- package/dist/cjs/{lt-39d21fb0.js → lt-09328619.js} +16 -15
- package/dist/cjs/{lv-0c1227f8.js → lv-86eb22b6.js} +16 -15
- package/dist/cjs/{math-0010fa6f.js → math-44bc2b23.js} +18 -2
- package/dist/cjs/{mk-c68493cf.js → mk-61a37f6a.js} +16 -15
- package/dist/cjs/{nb-b20d78e0.js → nb-75d7113d.js} +16 -15
- package/dist/cjs/{nl-686e0c93.js → nl-8d45cb62.js} +16 -15
- package/dist/cjs/{observers-591d8eb9.js → observers-b3d334aa.js} +1 -1
- package/dist/cjs/{openCloseComponent-c33e00e7.js → openCloseComponent-bb19b968.js} +2 -2
- package/dist/cjs/{pl-a834e9f8.js → pl-a212b79f.js} +16 -15
- package/dist/cjs/{pt-08a11aa1.js → pt-966ae855.js} +16 -15
- package/dist/cjs/{pt-br-f922b1e9.js → pt-br-682183f7.js} +16 -15
- package/dist/cjs/{resources-d340411e.js → resources-139dd2d0.js} +1 -1
- package/dist/cjs/{resources-5ece50c0.js → resources-347319c0.js} +1 -1
- package/dist/cjs/{resources-67855b02.js → resources-827d1e56.js} +5 -5
- package/dist/cjs/{resources-3b2c4161.js → resources-8d161497.js} +1 -1
- package/dist/cjs/{resources-beb12f5a.js → resources-91ff6111.js} +1 -1
- package/dist/cjs/{resources-e0612f0e.js → resources-9c5c2364.js} +1 -1
- package/dist/cjs/{resources-0a2120bb.js → resources-bf3f9968.js} +1 -1
- package/dist/cjs/{ro-0d34042f.js → ro-09a0bc24.js} +16 -15
- package/dist/cjs/{ru-c0d15012.js → ru-e02f19d4.js} +16 -15
- package/dist/cjs/{sk-fe2c5d02.js → sk-eef414fd.js} +16 -15
- package/dist/cjs/{sl-4621cf34.js → sl-64bcfd3c.js} +16 -15
- package/dist/cjs/{sortableComponent-9445fc94.js → sortableComponent-b4618ee3.js} +2 -2
- package/dist/cjs/{sr-2dd3795b.js → sr-8aa5a7fe.js} +16 -15
- package/dist/cjs/{sv-7e163dbd.js → sv-f1e6baa9.js} +16 -15
- package/dist/cjs/{t9n-1919af49.js → t9n-b6c38d3b.js} +3 -3
- package/dist/cjs/{th-3a5b5e1f.js → th-6ba512a0.js} +16 -15
- package/dist/cjs/{throttle-0638b33c.js → throttle-59ff9e96.js} +2 -2
- package/dist/cjs/{tr-e585a0e3.js → tr-473141ca.js} +16 -15
- package/dist/cjs/{uk-c18ef84e.js → uk-a6378ce5.js} +16 -15
- package/dist/cjs/{utils-5eadf502.js → utils-7d8173f3.js} +3 -3
- package/dist/cjs/{utils-2bb1996e.js → utils-fb0d548a.js} +1 -1
- package/dist/cjs/{vi-fd376807.js → vi-2e02ef80.js} +16 -15
- package/dist/cjs/{zh-cn-11c18ca7.js → zh-cn-7b11995c.js} +16 -15
- package/dist/cjs/{zh-hk-1d39de2e.js → zh-hk-fbe311b5.js} +16 -15
- package/dist/cjs/{zh-tw-33ff727d.js → zh-tw-137c4d01.js} +16 -15
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-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/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 +129 -27
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/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/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +2 -2
- 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/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/assets/time-picker/t9n/index.d.ts +3 -0
- package/dist/collection/components/time-picker/assets/time-picker/t9n/messages.json +3 -0
- package/dist/collection/components/time-picker/assets/time-picker/t9n/messages_en.json +3 -0
- package/dist/collection/components/time-picker/resources.js +4 -1
- package/dist/collection/components/time-picker/time-picker.js +186 -76
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +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/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +17 -2
- 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 +1 -1
- package/dist/collection/utils/time.js +100 -21
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +128 -26
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.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-sheet.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 +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +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 +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +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 +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +18 -3
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +285 -94
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-6ec45edd.js → ExpandToggle-5b5415c3.js} +5 -5
- package/dist/esm/{FloatingArrow-6686d03e.js → FloatingArrow-839408e5.js} +2 -2
- package/dist/esm/{Heading-8e4b47e7.js → Heading-781b4385.js} +2 -2
- package/dist/esm/{app-globals-2fff341c.js → app-globals-23e2811d.js} +2 -2
- package/dist/esm/{ar-7cca40ea.js → ar-78982992.js} +16 -15
- package/dist/esm/{array-543b1c8c.js → array-aae4a469.js} +1 -1
- package/dist/esm/{bg-25bf4ee6.js → bg-2f54eb5c.js} +16 -15
- package/dist/esm/{bs-4be99035.js → bs-e1e0719f.js} +16 -15
- package/dist/esm/{ca-431f5ffd.js → ca-3e6f25a1.js} +16 -15
- 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 +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +4 -4
- 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-c2e3e738.js → calcite-input-time-picker.calcite-time-picker-e496d079.js} +462 -174
- package/dist/esm/calcite-input-time-picker_2.entry.js +16 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- 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 +14 -14
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +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 +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- 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 +10 -10
- package/dist/esm/calcite-sheet.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 +6 -6
- 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 +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-1d749369.js → conditionalSlot-19a0d842.js} +3 -3
- package/dist/esm/{cs-782d542f.js → cs-9fc201b1.js} +16 -15
- package/dist/esm/{da-3d378e16.js → da-33cfbc62.js} +16 -15
- package/dist/esm/{de-7c478ee3.js → de-3462a2be.js} +16 -15
- package/dist/esm/{de-at-c2770b6c.js → de-at-f5ddce47.js} +16 -15
- package/dist/esm/{de-ch-cd4b90e9.js → de-ch-24269f5d.js} +16 -15
- package/dist/esm/{debounce-2e8883fd.js → debounce-525efd32.js} +1 -1
- package/dist/esm/{dom-a03c37b6.js → dom-d1df3438.js} +3 -3
- package/dist/esm/{el-527357bd.js → el-c753e8df.js} +16 -15
- package/dist/esm/{en-au-87c50dce.js → en-au-2dd870a5.js} +16 -15
- package/dist/esm/{en-ca-31d241e1.js → en-ca-3b7caf5c.js} +16 -15
- package/dist/esm/{en-gb-92c502dc.js → en-gb-0c261721.js} +16 -15
- package/dist/esm/{es-e8e2cbfd.js → es-a5f671c5.js} +16 -15
- package/dist/esm/{es-mx-b9a80253.js → es-mx-498f6751.js} +16 -15
- package/dist/esm/{et-0fb079e4.js → et-30d6ce3c.js} +16 -15
- package/dist/esm/{fi-572a315d.js → fi-8691a46a.js} +16 -15
- package/dist/esm/{filter-f3b884fd.js → filter-3d8fcae3.js} +2 -2
- package/dist/esm/{floating-ui-a4cb044f.js → floating-ui-38fbedc1.js} +3 -3
- package/dist/esm/{focusTrapComponent-5cde505c.js → focusTrapComponent-9d61e99e.js} +2 -2
- package/dist/esm/{form-44b83a17.js → form-b226ad7f.js} +3 -3
- package/dist/esm/{fr-d5ee90ed.js → fr-367c3ac4.js} +16 -15
- package/dist/esm/{fr-ch-04190e70.js → fr-ch-c3f2b21d.js} +16 -15
- package/dist/esm/{guid-922dbbe0.js → guid-65e9e228.js} +1 -1
- package/dist/esm/{he-745cfc9f.js → he-5b8edc25.js} +16 -15
- package/dist/esm/{hi-262e499d.js → hi-b8afe5e9.js} +16 -15
- package/dist/esm/{hr-d2e680f6.js → hr-c4dce020.js} +16 -15
- package/dist/esm/{hu-fd8e4a6c.js → hu-47afc582.js} +16 -15
- package/dist/esm/{id-96611a8f.js → id-029e04d5.js} +16 -15
- package/dist/esm/{index-b970cf2b.js → index-c3d6823a.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-a5b4cda0.js → interactive-fba0d02e.js} +1 -1
- package/dist/esm/{it-ch-ba049790.js → it-ch-2225b563.js} +16 -15
- package/dist/esm/{it-6c8731eb.js → it-f16fce5f.js} +16 -15
- package/dist/esm/{ja-b4d82dd3.js → ja-4890d0d2.js} +16 -15
- package/dist/esm/{key-4913bd62.js → key-3a19d047.js} +1 -1
- package/dist/esm/{ko-d4a90140.js → ko-b98c4dd4.js} +16 -15
- package/dist/esm/{label-5ecfd527.js → label-bb6becbd.js} +2 -2
- package/dist/esm/{loadable-2460e79e.js → loadable-68f3f302.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-ccb8fa38.js → locale-a489e018.js} +4 -4
- package/dist/esm/{lt-55ff2da9.js → lt-420a6f08.js} +16 -15
- package/dist/esm/{lv-c24efb10.js → lv-e2e759d9.js} +16 -15
- package/dist/esm/{math-14207747.js → math-3c914a96.js} +18 -3
- package/dist/esm/{mk-18326341.js → mk-c9da4390.js} +16 -15
- package/dist/esm/{nb-48fda3d1.js → nb-ee10386d.js} +16 -15
- package/dist/esm/{nl-26d47719.js → nl-59f3f458.js} +16 -15
- package/dist/esm/{observers-70b65313.js → observers-9d2a3e1f.js} +1 -1
- package/dist/esm/{openCloseComponent-17fc613e.js → openCloseComponent-558bc893.js} +2 -2
- package/dist/esm/{pl-c5d5ee7d.js → pl-acfdfd9b.js} +16 -15
- package/dist/esm/{pt-f1559439.js → pt-0fa069e9.js} +16 -15
- package/dist/esm/{pt-br-52032196.js → pt-br-6a7dcc09.js} +16 -15
- package/dist/esm/{resources-1ce1d9ef.js → resources-070c6ecf.js} +1 -1
- package/dist/esm/{resources-489bb1fc.js → resources-2d5d37e7.js} +1 -1
- package/dist/esm/{resources-61acd6cf.js → resources-4e437cba.js} +1 -1
- package/dist/esm/{resources-b6b3ead3.js → resources-90a4deee.js} +1 -1
- package/dist/esm/{resources-a58cb4da.js → resources-ba20a89e.js} +5 -5
- package/dist/esm/{resources-f97a4829.js → resources-e2803672.js} +1 -1
- package/dist/esm/{resources-08e09a4c.js → resources-e7ab12ca.js} +1 -1
- package/dist/esm/{ro-1da80b10.js → ro-82c40e0e.js} +16 -15
- package/dist/esm/{ru-e7cd85fd.js → ru-44d1a106.js} +16 -15
- package/dist/esm/{sk-cb838437.js → sk-0c4f0332.js} +16 -15
- package/dist/esm/{sl-06c67a88.js → sl-cc701750.js} +16 -15
- package/dist/esm/{sortableComponent-a18d2d68.js → sortableComponent-8e28f19a.js} +2 -2
- package/dist/esm/{sr-8a02e97f.js → sr-165d1437.js} +16 -15
- package/dist/esm/{sv-3ccf128e.js → sv-510ef66a.js} +16 -15
- package/dist/esm/{t9n-b3120e3b.js → t9n-b23b3609.js} +3 -3
- package/dist/esm/{th-bc3a4f60.js → th-5318f755.js} +16 -15
- package/dist/esm/{throttle-7012372b.js → throttle-edcb49d2.js} +2 -2
- package/dist/esm/{tr-ca509c5a.js → tr-abd5cab0.js} +16 -15
- package/dist/esm/{uk-8410f044.js → uk-1ba4a885.js} +16 -15
- package/dist/esm/{utils-8a9ae941.js → utils-6af46359.js} +1 -1
- package/dist/esm/{utils-d7c18644.js → utils-c76b6279.js} +3 -3
- package/dist/esm/{vi-4bfdfc5e.js → vi-a4843f0b.js} +16 -15
- package/dist/esm/{zh-cn-dc66f578.js → zh-cn-ba328574.js} +16 -15
- package/dist/esm/{zh-hk-2379a9d5.js → zh-hk-fc8b22ac.js} +16 -15
- package/dist/esm/{zh-tw-b373850b.js → zh-tw-18ff5468.js} +16 -15
- package/dist/extras/docs-json.json +11 -10
- package/dist/extras/translations-json.json +1 -1
- package/dist/extras/vscode-data.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -0
- package/dist/types/components/shell/shell.d.ts +1 -1
- package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +3 -0
- package/dist/types/components/time-picker/resources.d.ts +3 -0
- package/dist/types/components/time-picker/time-picker.d.ts +14 -11
- package/dist/types/utils/math.d.ts +11 -1
- package/dist/types/utils/time.d.ts +11 -4
- package/hydrate/index.js +427 -121
- package/package.json +3 -2
- package/dist/calcite/p-02a66b81.js +0 -6
- package/dist/calcite/p-08b57d78.js +0 -6
- package/dist/calcite/p-08babfc8.js +0 -6
- package/dist/calcite/p-0a0bfbc4.js +0 -6
- package/dist/calcite/p-0e18467a.js +0 -6
- package/dist/calcite/p-1005d74a.js +0 -6
- package/dist/calcite/p-1408ab17.js +0 -6
- package/dist/calcite/p-146568f9.js +0 -6
- package/dist/calcite/p-16a8cf43.js +0 -6
- package/dist/calcite/p-1867b8a2.entry.js +0 -6
- package/dist/calcite/p-2270fdcd.js +0 -6
- package/dist/calcite/p-28ecf950.js +0 -6
- package/dist/calcite/p-2b00064c.js +0 -6
- package/dist/calcite/p-2d235e44.js +0 -6
- package/dist/calcite/p-2e02a0fd.js +0 -6
- package/dist/calcite/p-2f46f849.js +0 -6
- package/dist/calcite/p-3543c6fe.js +0 -6
- package/dist/calcite/p-3ca1c073.js +0 -6
- package/dist/calcite/p-4a22d356.js +0 -6
- package/dist/calcite/p-4de0b8f2.js +0 -6
- package/dist/calcite/p-4f70556d.js +0 -6
- package/dist/calcite/p-528ca15e.js +0 -6
- package/dist/calcite/p-59bc3475.js +0 -6
- package/dist/calcite/p-5dbc3567.js +0 -6
- package/dist/calcite/p-61f3c2c6.js +0 -6
- package/dist/calcite/p-6d93302b.js +0 -6
- package/dist/calcite/p-76cf8f88.js +0 -6
- package/dist/calcite/p-7914d20a.entry.js +0 -6
- package/dist/calcite/p-79cfc70d.js +0 -6
- package/dist/calcite/p-7b199ad8.js +0 -6
- package/dist/calcite/p-82b74ef5.js +0 -6
- package/dist/calcite/p-84f8301f.js +0 -6
- package/dist/calcite/p-871194b0.js +0 -6
- package/dist/calcite/p-89c0ed08.js +0 -6
- package/dist/calcite/p-8b8f61ae.entry.js +0 -6
- package/dist/calcite/p-8efbe93f.js +0 -6
- package/dist/calcite/p-933e9515.js +0 -6
- package/dist/calcite/p-9609f88e.js +0 -6
- package/dist/calcite/p-994d9526.js +0 -6
- package/dist/calcite/p-9cffee1f.js +0 -6
- package/dist/calcite/p-9d93675d.js +0 -6
- package/dist/calcite/p-a7603764.js +0 -6
- package/dist/calcite/p-a796c3c0.js +0 -6
- package/dist/calcite/p-ac50a667.js +0 -6
- package/dist/calcite/p-b0ceca11.js +0 -6
- package/dist/calcite/p-b7bfe8d1.js +0 -6
- package/dist/calcite/p-c53f6979.js +0 -6
- package/dist/calcite/p-c88bd734.entry.js +0 -6
- package/dist/calcite/p-c9faebe1.js +0 -6
- package/dist/calcite/p-cc1cca51.js +0 -6
- package/dist/calcite/p-d5ca2223.entry.js +0 -6
- package/dist/calcite/p-d82bf2fd.js +0 -6
- package/dist/calcite/p-dcee696d.js +0 -6
- package/dist/calcite/p-ddc7d0e8.js +0 -6
- package/dist/calcite/p-e7096434.js +0 -6
- package/dist/calcite/p-e760291e.js +0 -6
- package/dist/calcite/p-ee6ef481.entry.js +0 -6
- package/dist/calcite/p-ef664e89.js +0 -6
- package/dist/calcite/p-f87cfecc.js +0 -6
- package/dist/calcite/p-fdd39b9a.js +0 -6
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.14
|
|
5
5
|
*/
|
|
6
6
|
import { h, } from "@stencil/core";
|
|
7
|
-
import {
|
|
7
|
+
import { numberKeys } from "../../utils/key";
|
|
8
8
|
import { isValidNumber } from "../../utils/number";
|
|
9
9
|
import { connectLocalized, disconnectLocalized, } from "../../utils/locale";
|
|
10
10
|
import { connectMessages, disconnectMessages, setUpMessages, updateMessages, } from "../../utils/t9n";
|
|
11
|
-
import { formatTimePart, getLocaleHourCycle, getMeridiem, getTimeParts, isValidTime, localizeTimePart, localizeTimeStringToParts, maxTenthForMinuteAndSecond, parseTimeString, } from "../../utils/time";
|
|
11
|
+
import { formatTimePart, getLocaleHourCycle, getLocalizedDecimalSeparator, getLocalizedTimePartSuffix, getMeridiem, getTimeParts, isValidTime, localizeTimePart, localizeTimeStringToParts, maxTenthForMinuteAndSecond, parseTimeString, } from "../../utils/time";
|
|
12
12
|
import { CSS } from "./resources";
|
|
13
13
|
import { componentFocusable, setComponentLoaded, setUpLoadableComponent, } from "../../utils/loadable";
|
|
14
|
+
import { decimalPlaces, getDecimals } from "../../utils/math";
|
|
14
15
|
function capitalize(str) {
|
|
15
16
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
16
17
|
}
|
|
17
18
|
export class TimePicker {
|
|
18
19
|
constructor() {
|
|
20
|
+
this.decrementFractionalSecond = () => {
|
|
21
|
+
this.nudgeFractionalSecond("down");
|
|
22
|
+
};
|
|
19
23
|
this.decrementHour = () => {
|
|
20
24
|
const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour) - 1;
|
|
21
25
|
this.setValuePart("hour", newHour);
|
|
@@ -44,9 +48,39 @@ export class TimePicker {
|
|
|
44
48
|
this.focusHandler = (event) => {
|
|
45
49
|
this.activeEl = event.currentTarget;
|
|
46
50
|
};
|
|
47
|
-
this.
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
this.fractionalSecondKeyDownHandler = (event) => {
|
|
52
|
+
const { key } = event;
|
|
53
|
+
if (numberKeys.includes(key)) {
|
|
54
|
+
const stepPrecision = decimalPlaces(this.step);
|
|
55
|
+
const fractionalSecondAsInteger = parseInt(this.fractionalSecond);
|
|
56
|
+
const fractionalSecondAsIntegerLength = fractionalSecondAsInteger.toString().length;
|
|
57
|
+
let newFractionalSecondAsIntegerString;
|
|
58
|
+
if (fractionalSecondAsIntegerLength >= stepPrecision) {
|
|
59
|
+
newFractionalSecondAsIntegerString = key.padStart(stepPrecision, "0");
|
|
60
|
+
}
|
|
61
|
+
else if (fractionalSecondAsIntegerLength < stepPrecision) {
|
|
62
|
+
newFractionalSecondAsIntegerString = `${fractionalSecondAsInteger}${key}`.padStart(stepPrecision, "0");
|
|
63
|
+
}
|
|
64
|
+
this.setValuePart("fractionalSecond", parseFloat(`0.${newFractionalSecondAsIntegerString}`));
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
switch (key) {
|
|
68
|
+
case "Backspace":
|
|
69
|
+
case "Delete":
|
|
70
|
+
this.setValuePart("fractionalSecond", null);
|
|
71
|
+
break;
|
|
72
|
+
case "ArrowDown":
|
|
73
|
+
event.preventDefault();
|
|
74
|
+
this.nudgeFractionalSecond("down");
|
|
75
|
+
break;
|
|
76
|
+
case "ArrowUp":
|
|
77
|
+
event.preventDefault();
|
|
78
|
+
this.nudgeFractionalSecond("up");
|
|
79
|
+
break;
|
|
80
|
+
case " ":
|
|
81
|
+
event.preventDefault();
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
50
84
|
}
|
|
51
85
|
};
|
|
52
86
|
this.hourKeyDownHandler = (event) => {
|
|
@@ -100,10 +134,8 @@ export class TimePicker {
|
|
|
100
134
|
}
|
|
101
135
|
}
|
|
102
136
|
};
|
|
103
|
-
this.
|
|
104
|
-
|
|
105
|
-
this.incrementHour();
|
|
106
|
-
}
|
|
137
|
+
this.incrementFractionalSecond = () => {
|
|
138
|
+
this.nudgeFractionalSecond("up");
|
|
107
139
|
};
|
|
108
140
|
this.incrementMeridiem = () => {
|
|
109
141
|
const newMeridiem = this.meridiem === "AM" ? "PM" : "AM";
|
|
@@ -131,11 +163,6 @@ export class TimePicker {
|
|
|
131
163
|
this.incrementSecond = () => {
|
|
132
164
|
this.incrementMinuteOrSecond("second");
|
|
133
165
|
};
|
|
134
|
-
this.meridiemDownButtonKeyDownHandler = (event) => {
|
|
135
|
-
if (this.buttonActivated(event)) {
|
|
136
|
-
this.decrementMeridiem();
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
166
|
this.meridiemKeyDownHandler = (event) => {
|
|
140
167
|
switch (event.key) {
|
|
141
168
|
case "a":
|
|
@@ -161,16 +188,6 @@ export class TimePicker {
|
|
|
161
188
|
break;
|
|
162
189
|
}
|
|
163
190
|
};
|
|
164
|
-
this.meridiemUpButtonKeyDownHandler = (event) => {
|
|
165
|
-
if (this.buttonActivated(event)) {
|
|
166
|
-
this.incrementMeridiem();
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
this.minuteDownButtonKeyDownHandler = (event) => {
|
|
170
|
-
if (this.buttonActivated(event)) {
|
|
171
|
-
this.decrementMinute();
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
191
|
this.minuteKeyDownHandler = (event) => {
|
|
175
192
|
const { key } = event;
|
|
176
193
|
if (numberKeys.includes(key)) {
|
|
@@ -208,16 +225,51 @@ export class TimePicker {
|
|
|
208
225
|
}
|
|
209
226
|
}
|
|
210
227
|
};
|
|
211
|
-
this.
|
|
212
|
-
|
|
213
|
-
|
|
228
|
+
this.nudgeFractionalSecond = (direction) => {
|
|
229
|
+
const stepDecimal = getDecimals(this.step);
|
|
230
|
+
const stepPrecision = decimalPlaces(this.step);
|
|
231
|
+
const fractionalSecondAsInteger = parseInt(this.fractionalSecond);
|
|
232
|
+
const fractionalSecondAsFloat = parseFloat(`0.${this.fractionalSecond}`);
|
|
233
|
+
let nudgedValue;
|
|
234
|
+
let nudgedValueRounded;
|
|
235
|
+
let nudgedValueRoundedDecimals;
|
|
236
|
+
let newFractionalSecond;
|
|
237
|
+
if (direction === "up") {
|
|
238
|
+
nudgedValue = isNaN(fractionalSecondAsInteger) ? 0 : fractionalSecondAsFloat + stepDecimal;
|
|
239
|
+
nudgedValueRounded = parseFloat(nudgedValue.toFixed(stepPrecision));
|
|
240
|
+
nudgedValueRoundedDecimals = getDecimals(nudgedValueRounded);
|
|
241
|
+
newFractionalSecond =
|
|
242
|
+
nudgedValueRounded < 1 && decimalPlaces(nudgedValueRoundedDecimals) > 0
|
|
243
|
+
? formatTimePart(nudgedValueRoundedDecimals, stepPrecision)
|
|
244
|
+
: "".padStart(stepPrecision, "0");
|
|
214
245
|
}
|
|
246
|
+
if (direction === "down") {
|
|
247
|
+
nudgedValue =
|
|
248
|
+
isNaN(fractionalSecondAsInteger) || fractionalSecondAsInteger === 0
|
|
249
|
+
? 1 - stepDecimal
|
|
250
|
+
: fractionalSecondAsFloat - stepDecimal;
|
|
251
|
+
nudgedValueRounded = parseFloat(nudgedValue.toFixed(stepPrecision));
|
|
252
|
+
nudgedValueRoundedDecimals = getDecimals(nudgedValueRounded);
|
|
253
|
+
newFractionalSecond =
|
|
254
|
+
nudgedValueRounded < 1 &&
|
|
255
|
+
decimalPlaces(nudgedValueRoundedDecimals) > 0 &&
|
|
256
|
+
Math.sign(nudgedValueRoundedDecimals) === 1
|
|
257
|
+
? formatTimePart(nudgedValueRoundedDecimals, stepPrecision)
|
|
258
|
+
: "".padStart(stepPrecision, "0");
|
|
259
|
+
}
|
|
260
|
+
this.setValuePart("fractionalSecond", newFractionalSecond);
|
|
215
261
|
};
|
|
216
|
-
this.
|
|
217
|
-
|
|
218
|
-
|
|
262
|
+
this.sanitizeValue = (value) => {
|
|
263
|
+
const { hour, minute, second, fractionalSecond } = parseTimeString(value);
|
|
264
|
+
if (fractionalSecond) {
|
|
265
|
+
const sanitizedFractionalSecond = this.sanitizeFractionalSecond(fractionalSecond);
|
|
266
|
+
return `${hour}:${minute}:${second}.${sanitizedFractionalSecond}`;
|
|
219
267
|
}
|
|
268
|
+
return isValidTime(value) && value;
|
|
220
269
|
};
|
|
270
|
+
this.sanitizeFractionalSecond = (fractionalSecond) => fractionalSecond && decimalPlaces(this.step) !== fractionalSecond.length
|
|
271
|
+
? parseFloat(`0.${fractionalSecond}`).toFixed(decimalPlaces(this.step)).replace("0.", "")
|
|
272
|
+
: fractionalSecond;
|
|
221
273
|
this.secondKeyDownHandler = (event) => {
|
|
222
274
|
const { key } = event;
|
|
223
275
|
if (numberKeys.includes(key)) {
|
|
@@ -255,29 +307,28 @@ export class TimePicker {
|
|
|
255
307
|
}
|
|
256
308
|
}
|
|
257
309
|
};
|
|
258
|
-
this.secondUpButtonKeyDownHandler = (event) => {
|
|
259
|
-
if (this.buttonActivated(event)) {
|
|
260
|
-
this.incrementSecond();
|
|
261
|
-
}
|
|
262
|
-
};
|
|
263
310
|
this.setHourEl = (el) => (this.hourEl = el);
|
|
264
311
|
this.setMeridiemEl = (el) => (this.meridiemEl = el);
|
|
265
312
|
this.setMinuteEl = (el) => (this.minuteEl = el);
|
|
266
313
|
this.setSecondEl = (el) => (this.secondEl = el);
|
|
267
|
-
this.
|
|
314
|
+
this.setFractionalSecondEl = (el) => (this.fractionalSecondEl = el);
|
|
315
|
+
this.setValue = (value) => {
|
|
268
316
|
if (isValidTime(value)) {
|
|
269
|
-
const { hour, minute, second } = parseTimeString(value);
|
|
317
|
+
const { hour, minute, second, fractionalSecond } = parseTimeString(value);
|
|
270
318
|
const { effectiveLocale: locale, numberingSystem } = this;
|
|
271
|
-
const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedSecondSuffix, localizedMeridiem, } = localizeTimeStringToParts({ value, locale, numberingSystem });
|
|
319
|
+
const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedDecimalSeparator, localizedFractionalSecond, localizedSecondSuffix, localizedMeridiem, } = localizeTimeStringToParts({ value, locale, numberingSystem });
|
|
320
|
+
this.hour = hour;
|
|
321
|
+
this.minute = minute;
|
|
322
|
+
this.second = second;
|
|
323
|
+
this.fractionalSecond = this.sanitizeFractionalSecond(fractionalSecond);
|
|
272
324
|
this.localizedHour = localizedHour;
|
|
273
325
|
this.localizedHourSuffix = localizedHourSuffix;
|
|
274
326
|
this.localizedMinute = localizedMinute;
|
|
275
327
|
this.localizedMinuteSuffix = localizedMinuteSuffix;
|
|
276
328
|
this.localizedSecond = localizedSecond;
|
|
329
|
+
this.localizedDecimalSeparator = localizedDecimalSeparator;
|
|
330
|
+
this.localizedFractionalSecond = localizedFractionalSecond;
|
|
277
331
|
this.localizedSecondSuffix = localizedSecondSuffix;
|
|
278
|
-
this.hour = hour;
|
|
279
|
-
this.minute = minute;
|
|
280
|
-
this.second = second;
|
|
281
332
|
if (localizedMeridiem) {
|
|
282
333
|
this.localizedMeridiem = localizedMeridiem;
|
|
283
334
|
this.meridiem = getMeridiem(this.hour);
|
|
@@ -287,23 +338,23 @@ export class TimePicker {
|
|
|
287
338
|
}
|
|
288
339
|
else {
|
|
289
340
|
this.hour = null;
|
|
341
|
+
this.fractionalSecond = null;
|
|
290
342
|
this.localizedHour = null;
|
|
291
|
-
this.localizedHourSuffix =
|
|
343
|
+
this.localizedHourSuffix = getLocalizedTimePartSuffix("hour", this.effectiveLocale, this.numberingSystem);
|
|
292
344
|
this.localizedMeridiem = null;
|
|
293
345
|
this.localizedMinute = null;
|
|
294
|
-
this.localizedMinuteSuffix =
|
|
346
|
+
this.localizedMinuteSuffix = getLocalizedTimePartSuffix("minute", this.effectiveLocale, this.numberingSystem);
|
|
295
347
|
this.localizedSecond = null;
|
|
296
|
-
this.
|
|
348
|
+
this.localizedDecimalSeparator = getLocalizedDecimalSeparator(this.effectiveLocale, this.numberingSystem);
|
|
349
|
+
this.localizedFractionalSecond = null;
|
|
350
|
+
this.localizedSecondSuffix = getLocalizedTimePartSuffix("second", this.effectiveLocale, this.numberingSystem);
|
|
297
351
|
this.meridiem = null;
|
|
298
352
|
this.minute = null;
|
|
299
353
|
this.second = null;
|
|
300
354
|
this.value = null;
|
|
301
355
|
}
|
|
302
|
-
if (emit) {
|
|
303
|
-
this.calciteInternalTimePickerChange.emit();
|
|
304
|
-
}
|
|
305
356
|
};
|
|
306
|
-
this.setValuePart = (key, value
|
|
357
|
+
this.setValuePart = (key, value) => {
|
|
307
358
|
const { effectiveLocale: locale, numberingSystem } = this;
|
|
308
359
|
if (key === "meridiem") {
|
|
309
360
|
this.meridiem = value;
|
|
@@ -329,6 +380,22 @@ export class TimePicker {
|
|
|
329
380
|
});
|
|
330
381
|
}
|
|
331
382
|
}
|
|
383
|
+
else if (key === "fractionalSecond") {
|
|
384
|
+
const stepPrecision = decimalPlaces(this.step);
|
|
385
|
+
if (typeof value === "number") {
|
|
386
|
+
this.fractionalSecond =
|
|
387
|
+
value === 0 ? "".padStart(stepPrecision, "0") : formatTimePart(value, stepPrecision);
|
|
388
|
+
}
|
|
389
|
+
else {
|
|
390
|
+
this.fractionalSecond = value;
|
|
391
|
+
}
|
|
392
|
+
this.localizedFractionalSecond = localizeTimePart({
|
|
393
|
+
value: this.fractionalSecond,
|
|
394
|
+
part: "fractionalSecond",
|
|
395
|
+
locale,
|
|
396
|
+
numberingSystem,
|
|
397
|
+
});
|
|
398
|
+
}
|
|
332
399
|
else {
|
|
333
400
|
this[key] = typeof value === "number" ? formatTimePart(value) : value;
|
|
334
401
|
this[`localized${capitalize(key)}`] = localizeTimePart({
|
|
@@ -338,16 +405,24 @@ export class TimePicker {
|
|
|
338
405
|
numberingSystem,
|
|
339
406
|
});
|
|
340
407
|
}
|
|
408
|
+
let emit = false;
|
|
409
|
+
let newValue;
|
|
341
410
|
if (this.hour && this.minute) {
|
|
342
|
-
|
|
411
|
+
newValue = `${this.hour}:${this.minute}`;
|
|
343
412
|
if (this.showSecond) {
|
|
344
413
|
newValue = `${newValue}:${this.second ?? "00"}`;
|
|
414
|
+
if (this.showFractionalSecond && this.fractionalSecond) {
|
|
415
|
+
newValue = `${newValue}.${this.fractionalSecond}`;
|
|
416
|
+
}
|
|
345
417
|
}
|
|
346
|
-
this.value = newValue;
|
|
347
418
|
}
|
|
348
419
|
else {
|
|
349
|
-
|
|
420
|
+
newValue = null;
|
|
350
421
|
}
|
|
422
|
+
if (this.value !== newValue) {
|
|
423
|
+
emit = true;
|
|
424
|
+
}
|
|
425
|
+
this.value = newValue;
|
|
351
426
|
this.localizedMeridiem = this.value
|
|
352
427
|
? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
|
|
353
428
|
?.localizedMeridiem || null
|
|
@@ -363,11 +438,14 @@ export class TimePicker {
|
|
|
363
438
|
this.messages = undefined;
|
|
364
439
|
this.messageOverrides = undefined;
|
|
365
440
|
this.effectiveLocale = "";
|
|
441
|
+
this.fractionalSecond = undefined;
|
|
366
442
|
this.hour = undefined;
|
|
367
443
|
this.hourCycle = undefined;
|
|
444
|
+
this.localizedDecimalSeparator = ".";
|
|
368
445
|
this.localizedHour = undefined;
|
|
369
446
|
this.localizedHourSuffix = undefined;
|
|
370
447
|
this.localizedMeridiem = undefined;
|
|
448
|
+
this.localizedFractionalSecond = undefined;
|
|
371
449
|
this.localizedMinute = undefined;
|
|
372
450
|
this.localizedMinuteSuffix = undefined;
|
|
373
451
|
this.localizedSecond = undefined;
|
|
@@ -375,14 +453,15 @@ export class TimePicker {
|
|
|
375
453
|
this.meridiem = undefined;
|
|
376
454
|
this.minute = undefined;
|
|
377
455
|
this.second = undefined;
|
|
456
|
+
this.showFractionalSecond = undefined;
|
|
378
457
|
this.showSecond = undefined;
|
|
379
458
|
this.defaultMessages = undefined;
|
|
380
459
|
}
|
|
381
460
|
stepChange() {
|
|
382
|
-
this.
|
|
461
|
+
this.toggleSecond();
|
|
383
462
|
}
|
|
384
463
|
valueWatcher(newValue) {
|
|
385
|
-
this.setValue(newValue
|
|
464
|
+
this.setValue(newValue);
|
|
386
465
|
}
|
|
387
466
|
onMessagesChange() {
|
|
388
467
|
/* wired up by t9n util */
|
|
@@ -437,6 +516,23 @@ export class TimePicker {
|
|
|
437
516
|
this.focusPart("minute");
|
|
438
517
|
event.preventDefault();
|
|
439
518
|
break;
|
|
519
|
+
case "ArrowRight":
|
|
520
|
+
if (this.showFractionalSecond) {
|
|
521
|
+
this.focusPart("fractionalSecond");
|
|
522
|
+
}
|
|
523
|
+
else if (this.hourCycle === "12") {
|
|
524
|
+
this.focusPart("meridiem");
|
|
525
|
+
event.preventDefault();
|
|
526
|
+
}
|
|
527
|
+
break;
|
|
528
|
+
}
|
|
529
|
+
break;
|
|
530
|
+
case this.fractionalSecondEl:
|
|
531
|
+
switch (key) {
|
|
532
|
+
case "ArrowLeft":
|
|
533
|
+
this.focusPart("second");
|
|
534
|
+
event.preventDefault();
|
|
535
|
+
break;
|
|
440
536
|
case "ArrowRight":
|
|
441
537
|
if (this.hourCycle === "12") {
|
|
442
538
|
this.focusPart("meridiem");
|
|
@@ -448,7 +544,10 @@ export class TimePicker {
|
|
|
448
544
|
case this.meridiemEl:
|
|
449
545
|
switch (key) {
|
|
450
546
|
case "ArrowLeft":
|
|
451
|
-
if (this.
|
|
547
|
+
if (this.showFractionalSecond) {
|
|
548
|
+
this.focusPart("fractionalSecond");
|
|
549
|
+
}
|
|
550
|
+
else if (this.step !== 60) {
|
|
452
551
|
this.focusPart("second");
|
|
453
552
|
event.preventDefault();
|
|
454
553
|
}
|
|
@@ -478,19 +577,13 @@ export class TimePicker {
|
|
|
478
577
|
// Private Methods
|
|
479
578
|
//
|
|
480
579
|
// --------------------------------------------------------------------------
|
|
481
|
-
updateShowSecond() {
|
|
482
|
-
this.showSecond = this.step < 60;
|
|
483
|
-
}
|
|
484
580
|
async focusPart(target) {
|
|
485
581
|
await componentFocusable(this);
|
|
486
582
|
this[`${target || "hour"}El`]?.focus();
|
|
487
583
|
}
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
event.preventDefault();
|
|
492
|
-
}
|
|
493
|
-
return isActivationKey(key);
|
|
584
|
+
toggleSecond() {
|
|
585
|
+
this.showSecond = this.step < 60;
|
|
586
|
+
this.showFractionalSecond = decimalPlaces(this.step) > 0;
|
|
494
587
|
}
|
|
495
588
|
getMeridiemOrder(formatParts) {
|
|
496
589
|
const locale = this.effectiveLocale;
|
|
@@ -506,7 +599,8 @@ export class TimePicker {
|
|
|
506
599
|
updateLocale() {
|
|
507
600
|
updateMessages(this, this.effectiveLocale);
|
|
508
601
|
this.hourCycle = getLocaleHourCycle(this.effectiveLocale, this.numberingSystem);
|
|
509
|
-
this.
|
|
602
|
+
this.localizedDecimalSeparator = getLocalizedDecimalSeparator(this.effectiveLocale, this.numberingSystem);
|
|
603
|
+
this.setValue(this.sanitizeValue(this.value));
|
|
510
604
|
}
|
|
511
605
|
// --------------------------------------------------------------------------
|
|
512
606
|
//
|
|
@@ -517,7 +611,7 @@ export class TimePicker {
|
|
|
517
611
|
connectLocalized(this);
|
|
518
612
|
this.updateLocale();
|
|
519
613
|
connectMessages(this);
|
|
520
|
-
this.
|
|
614
|
+
this.toggleSecond();
|
|
521
615
|
this.meridiemOrder = this.getMeridiemOrder(getTimeParts({
|
|
522
616
|
value: "0:00:00",
|
|
523
617
|
locale: this.effectiveLocale,
|
|
@@ -545,6 +639,7 @@ export class TimePicker {
|
|
|
545
639
|
const iconScale = this.scale === "s" || this.scale === "m" ? "s" : "m";
|
|
546
640
|
const minuteIsNumber = isValidNumber(this.minute);
|
|
547
641
|
const secondIsNumber = isValidNumber(this.second);
|
|
642
|
+
const fractionalSecondIsNumber = isValidNumber(this.fractionalSecond);
|
|
548
643
|
const showMeridiem = this.hourCycle === "12";
|
|
549
644
|
return (h("div", { class: {
|
|
550
645
|
[CSS.timePicker]: true,
|
|
@@ -555,7 +650,7 @@ export class TimePicker {
|
|
|
555
650
|
[CSS.button]: true,
|
|
556
651
|
[CSS.buttonHourUp]: true,
|
|
557
652
|
[CSS.buttonTopLeft]: true,
|
|
558
|
-
}, onClick: this.incrementHour,
|
|
653
|
+
}, onClick: this.incrementHour, 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: {
|
|
559
654
|
[CSS.input]: true,
|
|
560
655
|
[CSS.hour]: true,
|
|
561
656
|
}, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
@@ -564,10 +659,10 @@ export class TimePicker {
|
|
|
564
659
|
[CSS.button]: true,
|
|
565
660
|
[CSS.buttonHourDown]: true,
|
|
566
661
|
[CSS.buttonBottomLeft]: true,
|
|
567
|
-
}, onClick: this.decrementHour,
|
|
662
|
+
}, onClick: this.decrementHour, 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: {
|
|
568
663
|
[CSS.button]: true,
|
|
569
664
|
[CSS.buttonMinuteUp]: true,
|
|
570
|
-
}, onClick: this.incrementMinute,
|
|
665
|
+
}, onClick: this.incrementMinute, role: "button" }, 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: {
|
|
571
666
|
[CSS.input]: true,
|
|
572
667
|
[CSS.minute]: true,
|
|
573
668
|
}, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
@@ -575,10 +670,10 @@ export class TimePicker {
|
|
|
575
670
|
ref: this.setMinuteEl }, this.localizedMinute || "--"), h("span", { "aria-label": this.messages.minuteDown, class: {
|
|
576
671
|
[CSS.button]: true,
|
|
577
672
|
[CSS.buttonMinuteDown]: true,
|
|
578
|
-
}, onClick: this.decrementMinute,
|
|
673
|
+
}, onClick: this.decrementMinute, 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: {
|
|
579
674
|
[CSS.button]: true,
|
|
580
675
|
[CSS.buttonSecondUp]: true,
|
|
581
|
-
}, onClick: this.incrementSecond,
|
|
676
|
+
}, onClick: this.incrementSecond, 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: {
|
|
582
677
|
[CSS.input]: true,
|
|
583
678
|
[CSS.second]: true,
|
|
584
679
|
}, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
@@ -586,14 +681,25 @@ export class TimePicker {
|
|
|
586
681
|
ref: this.setSecondEl }, this.localizedSecond || "--"), h("span", { "aria-label": this.messages.secondDown, class: {
|
|
587
682
|
[CSS.button]: true,
|
|
588
683
|
[CSS.buttonSecondDown]: true,
|
|
589
|
-
}, onClick: this.decrementSecond,
|
|
684
|
+
}, onClick: this.decrementSecond, role: "button" }, h("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.showFractionalSecond && (h("span", { class: CSS.delimiter }, this.localizedDecimalSeparator)), this.showFractionalSecond && (h("div", { class: CSS.column, role: "group" }, h("span", { "aria-label": this.messages.fractionalSecondUp, class: {
|
|
685
|
+
[CSS.button]: true,
|
|
686
|
+
[CSS.buttonFractionalSecondUp]: true,
|
|
687
|
+
}, onClick: this.incrementFractionalSecond, role: "button" }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), h("span", { "aria-label": this.messages.fractionalSecond, "aria-valuemax": "999", "aria-valuemin": "1", "aria-valuenow": (fractionalSecondIsNumber && parseInt(this.fractionalSecond)) || "0", "aria-valuetext": this.localizedFractionalSecond, class: {
|
|
688
|
+
[CSS.input]: true,
|
|
689
|
+
[CSS.fractionalSecond]: true,
|
|
690
|
+
}, onFocus: this.focusHandler, onKeyDown: this.fractionalSecondKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
691
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
692
|
+
ref: this.setFractionalSecondEl }, this.localizedFractionalSecond || "--"), h("span", { "aria-label": this.messages.fractionalSecondDown, class: {
|
|
693
|
+
[CSS.button]: true,
|
|
694
|
+
[CSS.buttonFractionalSecondDown]: true,
|
|
695
|
+
}, onClick: this.decrementFractionalSecond, role: "button" }, h("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (h("span", { class: CSS.delimiter }, this.localizedSecondSuffix)), showMeridiem && (h("div", { class: {
|
|
590
696
|
[CSS.column]: true,
|
|
591
697
|
[CSS.meridiemStart]: this.meridiemOrder === 0,
|
|
592
698
|
}, role: "group" }, h("span", { "aria-label": this.messages.meridiemUp, class: {
|
|
593
699
|
[CSS.button]: true,
|
|
594
700
|
[CSS.buttonMeridiemUp]: true,
|
|
595
701
|
[CSS.buttonTopRight]: true,
|
|
596
|
-
}, onClick: this.incrementMeridiem,
|
|
702
|
+
}, onClick: this.incrementMeridiem, 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: {
|
|
597
703
|
[CSS.input]: true,
|
|
598
704
|
[CSS.meridiem]: true,
|
|
599
705
|
}, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
@@ -602,7 +708,7 @@ export class TimePicker {
|
|
|
602
708
|
[CSS.button]: true,
|
|
603
709
|
[CSS.buttonMeridiemDown]: true,
|
|
604
710
|
[CSS.buttonBottomRight]: true,
|
|
605
|
-
}, onClick: this.decrementMeridiem,
|
|
711
|
+
}, onClick: this.decrementMeridiem, role: "button" }, h("calcite-icon", { icon: "chevron-down", scale: iconScale }))))));
|
|
606
712
|
}
|
|
607
713
|
static get is() { return "calcite-time-picker"; }
|
|
608
714
|
static get encapsulation() { return "shadow"; }
|
|
@@ -706,7 +812,7 @@ export class TimePicker {
|
|
|
706
812
|
"mutable": true,
|
|
707
813
|
"complexType": {
|
|
708
814
|
"original": "TimePickerMessages",
|
|
709
|
-
"resolved": "{ hour: string; hourDown: string; hourUp: string; meridiem: string; meridiemDown: string; meridiemUp: string; minute: string; minuteDown: string; minuteUp: string; second: string; secondDown: string; secondUp: string; }",
|
|
815
|
+
"resolved": "{ fractionalSecond: string; fractionalSecondDown: string; fractionalSecondUp: string; hour: string; hourDown: string; hourUp: string; meridiem: string; meridiemDown: string; meridiemUp: string; minute: string; minuteDown: string; minuteUp: string; second: string; secondDown: string; secondUp: string; }",
|
|
710
816
|
"references": {
|
|
711
817
|
"TimePickerMessages": {
|
|
712
818
|
"location": "import",
|
|
@@ -729,7 +835,7 @@ export class TimePicker {
|
|
|
729
835
|
"mutable": true,
|
|
730
836
|
"complexType": {
|
|
731
837
|
"original": "Partial<TimePickerMessages>",
|
|
732
|
-
"resolved": "{ hour?: string; hourDown?: string; hourUp?: string; meridiem?: string; meridiemDown?: string; meridiemUp?: string; minute?: string; minuteDown?: string; minuteUp?: string; second?: string; secondDown?: string; secondUp?: string; }",
|
|
838
|
+
"resolved": "{ fractionalSecond?: string; fractionalSecondDown?: string; fractionalSecondUp?: string; hour?: string; hourDown?: string; hourUp?: string; meridiem?: string; meridiemDown?: string; meridiemUp?: string; minute?: string; minuteDown?: string; minuteUp?: string; second?: string; secondDown?: string; secondUp?: string; }",
|
|
733
839
|
"references": {
|
|
734
840
|
"Partial": {
|
|
735
841
|
"location": "global"
|
|
@@ -752,11 +858,14 @@ export class TimePicker {
|
|
|
752
858
|
static get states() {
|
|
753
859
|
return {
|
|
754
860
|
"effectiveLocale": {},
|
|
861
|
+
"fractionalSecond": {},
|
|
755
862
|
"hour": {},
|
|
756
863
|
"hourCycle": {},
|
|
864
|
+
"localizedDecimalSeparator": {},
|
|
757
865
|
"localizedHour": {},
|
|
758
866
|
"localizedHourSuffix": {},
|
|
759
867
|
"localizedMeridiem": {},
|
|
868
|
+
"localizedFractionalSecond": {},
|
|
760
869
|
"localizedMinute": {},
|
|
761
870
|
"localizedMinuteSuffix": {},
|
|
762
871
|
"localizedSecond": {},
|
|
@@ -764,6 +873,7 @@ export class TimePicker {
|
|
|
764
873
|
"meridiem": {},
|
|
765
874
|
"minute": {},
|
|
766
875
|
"second": {},
|
|
876
|
+
"showFractionalSecond": {},
|
|
767
877
|
"showSecond": {},
|
|
768
878
|
"defaultMessages": {}
|
|
769
879
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.14
|
|
5
5
|
*/
|
|
6
6
|
import { Fragment, h, } from "@stencil/core";
|
|
7
7
|
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent, } from "../../utils/conditionalSlot";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.14
|
|
5
5
|
*/
|
|
6
6
|
import { h, } from "@stencil/core";
|
|
7
7
|
import { getElementDir, toAriaBoolean } from "../../utils/dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.14
|
|
5
5
|
*/
|
|
6
6
|
import { getShadowRootNode, isPrimaryPointerButton } from "../../utils/dom";
|
|
7
7
|
import { TOOLTIP_OPEN_DELAY_MS, TOOLTIP_CLOSE_DELAY_MS } from "./resources";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.14
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host, } from "@stencil/core";
|
|
7
7
|
import { toAriaBoolean } from "../../utils/dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.14
|
|
5
5
|
*/
|
|
6
6
|
import { queryElementRoots } from "../../utils/dom";
|
|
7
7
|
export function getEffectiveReferenceElement(tooltip) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.14
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host, } from "@stencil/core";
|
|
7
7
|
import { focusElement, nodeListToArray } from "../../utils/dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.14
|
|
5
5
|
*/
|
|
6
6
|
export function isTreeItem(element) {
|
|
7
7
|
return element?.tagName === "CALCITE-TREE-ITEM";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.14
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
actionsEnd: "actions-end",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.14
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host, } from "@stencil/core";
|
|
7
7
|
import { filterDirectChildren, getElementDir, getSlotted, slotChangeHasAssignedElement, toAriaBoolean, } from "../../utils/dom";
|