@esri/calcite-components 2.2.0-next.10 → 2.2.0-next.11
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/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00ec3b40.entry.js +7 -0
- package/dist/calcite/p-01d0b79e.entry.js +7 -0
- package/dist/calcite/p-03514f40.js +7 -0
- package/dist/calcite/p-08408029.entry.js +7 -0
- package/dist/calcite/p-08408029.entry.js.map +1 -0
- package/dist/calcite/p-09d785b7.entry.js +7 -0
- package/dist/calcite/p-0a21ae9a.entry.js +7 -0
- package/dist/calcite/p-0c74332d.entry.js +7 -0
- package/dist/calcite/p-0c82022e.entry.js +7 -0
- package/dist/calcite/p-0c82022e.entry.js.map +1 -0
- package/dist/calcite/p-10ce1025.js +7 -0
- package/dist/calcite/p-12b96fb7.entry.js +7 -0
- package/dist/calcite/p-1457e761.js +7 -0
- package/dist/calcite/p-1554e4ce.entry.js +7 -0
- package/dist/calcite/p-1554e4ce.entry.js.map +1 -0
- package/dist/calcite/p-156ce16b.js +7 -0
- package/dist/calcite/p-163b702a.js +7 -0
- package/dist/calcite/p-17d1b050.js +7 -0
- package/dist/calcite/p-1844f3c8.js +7 -0
- package/dist/calcite/p-1adc319c.entry.js +7 -0
- package/dist/calcite/p-1ae4df79.entry.js +7 -0
- package/dist/calcite/p-1ae4df79.entry.js.map +1 -0
- package/dist/calcite/p-1ba52137.entry.js +7 -0
- package/dist/calcite/p-1ba52137.entry.js.map +1 -0
- package/dist/calcite/p-1ebf9938.js +7 -0
- package/dist/calcite/p-2074af32.js +7 -0
- package/dist/calcite/p-214ccc59.entry.js +7 -0
- package/dist/calcite/p-214ccc59.entry.js.map +1 -0
- package/dist/calcite/p-227cf9b0.entry.js +7 -0
- package/dist/calcite/p-23373769.js +7 -0
- package/dist/calcite/p-24065bf5.entry.js +7 -0
- package/dist/calcite/p-24065bf5.entry.js.map +1 -0
- package/dist/calcite/p-26555df5.js +7 -0
- package/dist/calcite/p-2898f4e3.entry.js +7 -0
- package/dist/calcite/p-2b228bdb.js +7 -0
- package/dist/calcite/p-2c9f261b.entry.js +7 -0
- package/dist/calcite/p-2c9f261b.entry.js.map +1 -0
- package/dist/calcite/p-2e9e8356.entry.js +7 -0
- package/dist/calcite/p-2e9e8356.entry.js.map +1 -0
- package/dist/calcite/p-2ec1ae1f.js +7 -0
- package/dist/calcite/p-330dcff5.entry.js +7 -0
- package/dist/calcite/p-336ecede.js +7 -0
- package/dist/calcite/p-3401e225.js +8 -0
- package/dist/calcite/p-35de244d.js +11 -0
- package/dist/calcite/p-39154db7.entry.js +7 -0
- package/dist/calcite/p-3a1532df.js +7 -0
- package/dist/calcite/p-3b24c890.js +7 -0
- package/dist/calcite/p-3e5298b9.entry.js +7 -0
- package/dist/calcite/p-3e5dfc05.js +7 -0
- package/dist/calcite/p-3eccd737.entry.js +7 -0
- package/dist/calcite/p-3eccd737.entry.js.map +1 -0
- package/dist/calcite/p-41186de8.js +7 -0
- package/dist/calcite/p-41ed86ff.entry.js +7 -0
- package/dist/calcite/p-41ed86ff.entry.js.map +1 -0
- package/dist/calcite/p-465e3b6d.js +7 -0
- package/dist/calcite/p-47351c6c.js +7 -0
- package/dist/calcite/p-4d033e97.entry.js +7 -0
- package/dist/calcite/p-4f1be9a0.js +7 -0
- package/dist/calcite/p-4faeec71.entry.js +7 -0
- package/dist/calcite/p-500c21e3.js +7 -0
- package/dist/calcite/p-5034f6c2.entry.js +7 -0
- package/dist/calcite/p-5078829f.js +7 -0
- package/dist/calcite/p-589c83ff.entry.js +7 -0
- package/dist/calcite/p-58c39dbe.js +7 -0
- package/dist/calcite/p-5a5e4703.js +7 -0
- package/dist/calcite/p-5bf1aaca.entry.js +7 -0
- package/dist/calcite/p-6111ea41.js +7 -0
- package/dist/calcite/p-61532044.js +7 -0
- package/dist/calcite/p-62abf6e6.entry.js +7 -0
- package/dist/calcite/p-677fb004.js +7 -0
- package/dist/calcite/p-686c4ba3.js +7 -0
- package/dist/calcite/p-68c09996.js +7 -0
- package/dist/calcite/p-68edde72.js +7 -0
- package/dist/calcite/p-6afafcdf.entry.js +7 -0
- package/dist/calcite/p-6ba850dc.entry.js +7 -0
- package/dist/calcite/p-6d1e0c66.entry.js +7 -0
- package/dist/calcite/p-6e961f06.js +7 -0
- package/dist/calcite/p-70314047.js +7 -0
- package/dist/calcite/p-70721e8e.entry.js +7 -0
- package/dist/calcite/p-7183efb5.js +7 -0
- package/dist/calcite/p-72a3e0eb.js +7 -0
- package/dist/calcite/p-739a6b48.js +7 -0
- package/dist/calcite/p-7788819a.entry.js +7 -0
- package/dist/calcite/p-7788819a.entry.js.map +1 -0
- package/dist/calcite/p-788b097d.js +7 -0
- package/dist/calcite/p-797435e3.entry.js +7 -0
- package/dist/calcite/p-842853b7.js +7 -0
- package/dist/calcite/p-85c787c9.js +7 -0
- package/dist/calcite/p-86b0f2f3.entry.js +7 -0
- package/dist/calcite/p-86b0f2f3.entry.js.map +1 -0
- package/dist/calcite/p-877022f2.js +7 -0
- package/dist/calcite/p-8889a7a2.entry.js +7 -0
- package/dist/calcite/p-8889a7a2.entry.js.map +1 -0
- package/dist/calcite/p-88d2daad.entry.js +7 -0
- package/dist/calcite/p-88d2daad.entry.js.map +1 -0
- package/dist/calcite/p-89a69461.entry.js +7 -0
- package/dist/calcite/p-89a69461.entry.js.map +1 -0
- package/dist/calcite/p-8c2c7db0.js +7 -0
- package/dist/calcite/p-8ed05206.entry.js +7 -0
- package/dist/calcite/p-8ed05206.entry.js.map +1 -0
- package/dist/calcite/p-902b3ccb.js +7 -0
- package/dist/calcite/p-918685db.entry.js +7 -0
- package/dist/calcite/p-966ff128.js +7 -0
- package/dist/calcite/p-97253db9.entry.js +7 -0
- package/dist/calcite/p-97253db9.entry.js.map +1 -0
- package/dist/calcite/p-9a7772a1.js +7 -0
- package/dist/calcite/p-9bf4a131.js +7 -0
- package/dist/calcite/p-9c9d42c5.entry.js +7 -0
- package/dist/calcite/p-9c9d42c5.entry.js.map +1 -0
- package/dist/calcite/p-9cf924a8.js +7 -0
- package/dist/calcite/p-9d1c5523.js +7 -0
- package/dist/calcite/p-9f0db635.entry.js +7 -0
- package/dist/calcite/p-9f0db635.entry.js.map +1 -0
- package/dist/calcite/p-9f9f2610.js +7 -0
- package/dist/calcite/p-a4b20142.js +7 -0
- package/dist/calcite/p-a5afbe13.js +7 -0
- package/dist/calcite/p-a6995c05.entry.js +7 -0
- package/dist/calcite/p-a6995c05.entry.js.map +1 -0
- package/dist/calcite/p-a7392021.entry.js +7 -0
- package/dist/calcite/p-a9907b09.js +7 -0
- package/dist/calcite/p-aa046ae1.js +7 -0
- package/dist/calcite/p-aaedee41.entry.js +7 -0
- package/dist/calcite/p-ab8333f4.js +7 -0
- package/dist/calcite/p-ac2a91d8.entry.js +7 -0
- package/dist/calcite/p-ad553e66.js +7 -0
- package/dist/calcite/p-ad553e66.js.map +1 -0
- package/dist/calcite/p-aec9f331.entry.js +7 -0
- package/dist/calcite/p-af245c96.entry.js +7 -0
- package/dist/calcite/p-b0905701.entry.js +7 -0
- package/dist/calcite/p-b0905701.entry.js.map +1 -0
- package/dist/calcite/p-b0dcf746.js +7 -0
- package/dist/calcite/p-b1270b80.js +7 -0
- package/dist/calcite/p-b217290a.entry.js +7 -0
- package/dist/calcite/p-b2cdfa31.js +7 -0
- package/dist/calcite/p-b2e233de.entry.js +7 -0
- package/dist/calcite/p-b5c8e70f.js +7 -0
- package/dist/calcite/p-b936e0ca.js +7 -0
- package/dist/calcite/p-bafb9086.entry.js +7 -0
- package/dist/calcite/p-bafb9086.entry.js.map +1 -0
- package/dist/calcite/p-bbca2939.js +7 -0
- package/dist/calcite/p-c21996d8.js +7 -0
- package/dist/calcite/p-c3d8dcdc.js +7 -0
- package/dist/calcite/p-c3e9f361.entry.js +7 -0
- package/dist/calcite/p-cbcc479a.entry.js +7 -0
- package/dist/calcite/p-cbededa0.entry.js +7 -0
- package/dist/calcite/p-ccece29c.entry.js +7 -0
- package/dist/calcite/p-ced06054.js +7 -0
- package/dist/calcite/p-cf3f540f.js +7 -0
- package/dist/calcite/p-cfd360ee.entry.js +7 -0
- package/dist/calcite/p-d3627cbd.js +12 -0
- package/dist/calcite/p-d3e40740.entry.js +7 -0
- package/dist/calcite/p-d7e01f48.entry.js +7 -0
- package/dist/calcite/p-d8425f1b.js +7 -0
- package/dist/calcite/p-d88fafe2.entry.js +7 -0
- package/dist/calcite/p-d94d869b.entry.js +7 -0
- package/dist/calcite/p-d962db95.js +7 -0
- package/dist/calcite/p-da68df06.js +7 -0
- package/dist/calcite/p-dc287520.js +7 -0
- package/dist/calcite/p-de939342.js +7 -0
- package/dist/calcite/p-df3f7354.entry.js +7 -0
- package/dist/calcite/p-df3f7354.entry.js.map +1 -0
- package/dist/calcite/p-e04bf743.entry.js +7 -0
- package/dist/calcite/p-e3e91631.js +7 -0
- package/dist/calcite/p-e54d80ea.js +7 -0
- package/dist/calcite/p-e57c8997.js +7 -0
- package/dist/calcite/p-e7a19067.js +7 -0
- package/dist/calcite/p-e86d6fe4.entry.js +7 -0
- package/dist/calcite/p-e941de73.js +7 -0
- package/dist/calcite/p-ecbf8738.js +7 -0
- package/dist/calcite/p-ecf5974f.entry.js +7 -0
- package/dist/calcite/p-ed0d2d66.js +7 -0
- package/dist/calcite/p-eda07208.js +7 -0
- package/dist/calcite/p-eea4b5c6.entry.js +7 -0
- package/dist/calcite/p-eea4b5c6.entry.js.map +1 -0
- package/dist/calcite/p-eee1c1ae.js +7 -0
- package/dist/calcite/p-f08765e4.js +13 -0
- package/dist/calcite/p-f13c04dd.js +7 -0
- package/dist/calcite/p-f2055d6b.js +7 -0
- package/dist/calcite/p-f374ba4d.entry.js +7 -0
- package/dist/calcite/p-f584d2fa.js +7 -0
- package/dist/calcite/p-f79d4f9e.entry.js +7 -0
- package/dist/calcite/p-f79fe807.entry.js +7 -0
- package/dist/calcite/p-f800b560.js +7 -0
- package/dist/calcite/p-f90759a5.js +7 -0
- package/dist/calcite/p-fd1568c2.js +7 -0
- package/dist/calcite/p-fd727f3e.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-7241e2e4.js +110 -0
- package/dist/cjs/ExpandToggle-7241e2e4.js.map +1 -0
- package/dist/cjs/FloatingArrow-3589dd9e.js +49 -0
- package/dist/cjs/FloatingArrow-3589dd9e.js.map +1 -0
- package/dist/cjs/Heading-371c1c2e.js +22 -0
- package/dist/cjs/Heading-371c1c2e.js.map +1 -0
- package/dist/cjs/Validation-15fb642b.js +18 -0
- package/dist/cjs/Validation-15fb642b.js.map +1 -0
- package/dist/cjs/app-globals-c176a102.js +61 -0
- package/dist/cjs/app-globals-c176a102.js.map +1 -0
- package/dist/cjs/ar-0abe3e2d.js +106 -0
- package/dist/cjs/ar-0abe3e2d.js.map +1 -0
- package/dist/cjs/array-5fcbf689.js +14 -0
- package/dist/cjs/array-5fcbf689.js.map +1 -0
- package/dist/cjs/bg-b7e8f332.js +84 -0
- package/dist/cjs/bg-b7e8f332.js.map +1 -0
- package/dist/cjs/browser-34b605ef.js +20 -0
- package/dist/cjs/browser-34b605ef.js.map +1 -0
- package/dist/cjs/bs-2d79f6a5.js +53 -0
- package/dist/cjs/bs-2d79f6a5.js.map +1 -0
- package/dist/cjs/ca-c99d8602.js +73 -0
- package/dist/cjs/ca-c99d8602.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-bar.cjs.entry.js.map +1 -1
- 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-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +16 -16
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -30
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-8533150a.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-8533150a.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +32 -45
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- 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 +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- 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 +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
- 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 +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -18
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- 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 +10 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-3cb4d607.js +30 -0
- package/dist/cjs/component-3cb4d607.js.map +1 -0
- package/dist/cjs/conditionalSlot-129f9fb1.js +60 -0
- package/dist/cjs/conditionalSlot-129f9fb1.js.map +1 -0
- package/dist/cjs/cs-e20ba71b.js +149 -0
- package/dist/cjs/cs-e20ba71b.js.map +1 -0
- package/dist/cjs/da-46ca109b.js +68 -0
- package/dist/cjs/da-46ca109b.js.map +1 -0
- package/dist/cjs/de-at-9b99ff4e.js +92 -0
- package/dist/cjs/de-at-9b99ff4e.js.map +1 -0
- package/dist/cjs/de-ch-0a56a5d7.js +92 -0
- package/dist/cjs/de-ch-0a56a5d7.js.map +1 -0
- package/dist/cjs/de-f1c7341f.js +93 -0
- package/dist/cjs/de-f1c7341f.js.map +1 -0
- package/dist/cjs/debounce-4a5c618d.js +498 -0
- package/dist/cjs/debounce-4a5c618d.js.map +1 -0
- package/dist/cjs/dom-96b95ba5.js +1084 -0
- package/dist/cjs/dom-96b95ba5.js.map +1 -0
- package/dist/cjs/el-23291f8d.js +68 -0
- package/dist/cjs/el-23291f8d.js.map +1 -0
- package/dist/cjs/en-au-6d032305.js +68 -0
- package/dist/cjs/en-au-6d032305.js.map +1 -0
- package/dist/cjs/en-ca-32202e14.js +67 -0
- package/dist/cjs/en-ca-32202e14.js.map +1 -0
- package/dist/cjs/en-gb-afcd6e2d.js +71 -0
- package/dist/cjs/en-gb-afcd6e2d.js.map +1 -0
- package/dist/cjs/es-ee64d2c4.js +68 -0
- package/dist/cjs/es-ee64d2c4.js.map +1 -0
- package/dist/cjs/es-mx-ed48f631.js +67 -0
- package/dist/cjs/es-mx-ed48f631.js.map +1 -0
- package/dist/cjs/et-0ac28679.js +94 -0
- package/dist/cjs/et-0ac28679.js.map +1 -0
- package/dist/cjs/fi-bda743b5.js +117 -0
- package/dist/cjs/fi-bda743b5.js.map +1 -0
- package/dist/cjs/filter-168097e5.js +762 -0
- package/dist/cjs/filter-168097e5.js.map +1 -0
- package/dist/cjs/floating-ui-13d69ca1.js +1916 -0
- package/dist/cjs/floating-ui-13d69ca1.js.map +1 -0
- package/dist/cjs/focusTrapComponent-cea06372.js +1020 -0
- package/dist/cjs/focusTrapComponent-cea06372.js.map +1 -0
- package/dist/cjs/form-89e59b29.js +257 -0
- package/dist/cjs/form-89e59b29.js.map +1 -0
- package/dist/cjs/fr-9b4cb711.js +70 -0
- package/dist/cjs/fr-9b4cb711.js.map +1 -0
- package/dist/cjs/fr-ch-42e5c0ef.js +68 -0
- package/dist/cjs/fr-ch-42e5c0ef.js.map +1 -0
- package/dist/cjs/guid-f81db95d.js +23 -0
- package/dist/cjs/guid-f81db95d.js.map +1 -0
- package/dist/cjs/he-b48c6a0a.js +107 -0
- package/dist/cjs/he-b48c6a0a.js.map +1 -0
- package/dist/cjs/hi-c3f1ca26.js +67 -0
- package/dist/cjs/hi-c3f1ca26.js.map +1 -0
- package/dist/cjs/hr-b41a8e50.js +82 -0
- package/dist/cjs/hr-b41a8e50.js.map +1 -0
- package/dist/cjs/hu-6ba01e7f.js +90 -0
- package/dist/cjs/hu-6ba01e7f.js.map +1 -0
- package/dist/cjs/id-9b1df1f7.js +68 -0
- package/dist/cjs/id-9b1df1f7.js.map +1 -0
- package/dist/cjs/index-86e0bedf.js +75 -0
- package/dist/cjs/index-86e0bedf.js.map +1 -0
- package/dist/cjs/index-8b34daf0.js +2655 -0
- package/dist/cjs/index-8b34daf0.js.map +1 -0
- package/dist/cjs/index-c596660b.js +208 -0
- package/dist/cjs/index-c596660b.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-7b3fb6e5.js +141 -0
- package/dist/cjs/interactive-7b3fb6e5.js.map +1 -0
- package/dist/cjs/it-ch-6c2cbb18.js +68 -0
- package/dist/cjs/it-ch-6c2cbb18.js.map +1 -0
- package/dist/cjs/it-d3904c2b.js +68 -0
- package/dist/cjs/it-d3904c2b.js.map +1 -0
- package/dist/cjs/ja-5d6924b2.js +74 -0
- package/dist/cjs/ja-5d6924b2.js.map +1 -0
- package/dist/cjs/key-89f3021a.js +16 -0
- package/dist/cjs/key-89f3021a.js.map +1 -0
- package/dist/cjs/ko-44d83663.js +74 -0
- package/dist/cjs/ko-44d83663.js.map +1 -0
- package/dist/cjs/label-19f970cb.js +183 -0
- package/dist/cjs/label-19f970cb.js.map +1 -0
- package/dist/cjs/loadable-64558297.js +91 -0
- package/dist/cjs/loadable-64558297.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-92847a13.js +576 -0
- package/dist/cjs/locale-92847a13.js.map +1 -0
- package/dist/cjs/lt-ea512350.js +99 -0
- package/dist/cjs/lt-ea512350.js.map +1 -0
- package/dist/cjs/lv-c16e3000.js +68 -0
- package/dist/cjs/lv-c16e3000.js.map +1 -0
- package/dist/cjs/math-ff28c0e4.js +57 -0
- package/dist/cjs/math-ff28c0e4.js.map +1 -0
- package/dist/cjs/mk-1b01d0fe.js +68 -0
- package/dist/cjs/mk-1b01d0fe.js.map +1 -0
- package/dist/cjs/nb-a7bac747.js +69 -0
- package/dist/cjs/nb-a7bac747.js.map +1 -0
- package/dist/cjs/nl-28c3ec66.js +69 -0
- package/dist/cjs/nl-28c3ec66.js.map +1 -0
- package/dist/cjs/observers-72601b59.js +50 -0
- package/dist/cjs/observers-72601b59.js.map +1 -0
- package/dist/cjs/openCloseComponent-b4ccd661.js +89 -0
- package/dist/cjs/openCloseComponent-b4ccd661.js.map +1 -0
- package/dist/cjs/pl-b18815eb.js +116 -0
- package/dist/cjs/pl-b18815eb.js.map +1 -0
- package/dist/cjs/pt-br-1dbf2b98.js +67 -0
- package/dist/cjs/pt-br-1dbf2b98.js.map +1 -0
- package/dist/cjs/pt-c109c31c.js +69 -0
- package/dist/cjs/pt-c109c31c.js.map +1 -0
- package/dist/cjs/resources-1e439750.js +29 -0
- package/dist/cjs/resources-1e439750.js.map +1 -0
- package/dist/cjs/resources-2bdd1ed7.js +26 -0
- package/dist/cjs/resources-2bdd1ed7.js.map +1 -0
- package/dist/cjs/resources-2e941bc5.js +49 -0
- package/dist/cjs/resources-2e941bc5.js.map +1 -0
- package/dist/cjs/resources-3926d6a2.js +23 -0
- package/dist/cjs/resources-3926d6a2.js.map +1 -0
- package/dist/cjs/resources-69dbc240.js +414 -0
- package/dist/cjs/resources-69dbc240.js.map +1 -0
- package/dist/cjs/resources-861365b8.js +26 -0
- package/dist/cjs/resources-861365b8.js.map +1 -0
- package/dist/cjs/resources-c29a4618.js +17 -0
- package/dist/cjs/resources-c29a4618.js.map +1 -0
- package/dist/cjs/ro-d584246c.js +68 -0
- package/dist/cjs/ro-d584246c.js.map +1 -0
- package/dist/cjs/ru-2e053696.js +128 -0
- package/dist/cjs/ru-2e053696.js.map +1 -0
- package/dist/cjs/sk-3d939427.js +150 -0
- package/dist/cjs/sk-3d939427.js.map +1 -0
- package/dist/cjs/sl-8a540a44.js +170 -0
- package/dist/cjs/sl-8a540a44.js.map +1 -0
- package/dist/cjs/sortableComponent-541e0a79.js +2739 -0
- package/dist/cjs/sortableComponent-541e0a79.js.map +1 -0
- package/dist/cjs/sr-5b87491e.js +103 -0
- package/dist/cjs/sr-5b87491e.js.map +1 -0
- package/dist/cjs/sv-a21e52a2.js +73 -0
- package/dist/cjs/sv-a21e52a2.js.map +1 -0
- package/dist/cjs/t9n-b908c650.js +97 -0
- package/dist/cjs/t9n-b908c650.js.map +1 -0
- package/dist/cjs/th-3d0365ed.js +67 -0
- package/dist/cjs/th-3d0365ed.js.map +1 -0
- package/dist/cjs/throttle-1ecba9da.js +77 -0
- package/dist/cjs/throttle-1ecba9da.js.map +1 -0
- package/dist/cjs/tr-b49efb2e.js +68 -0
- package/dist/cjs/tr-b49efb2e.js.map +1 -0
- package/dist/cjs/uk-6f4e4731.js +106 -0
- package/dist/cjs/uk-6f4e4731.js.map +1 -0
- package/dist/cjs/utils-bf47d56f.js +218 -0
- package/dist/cjs/utils-bf47d56f.js.map +1 -0
- package/dist/cjs/utils-fa405e46.js +307 -0
- package/dist/cjs/utils-fa405e46.js.map +1 -0
- package/dist/cjs/vi-df93dde4.js +72 -0
- package/dist/cjs/vi-df93dde4.js.map +1 -0
- package/dist/cjs/zh-cn-ada2dfc8.js +96 -0
- package/dist/cjs/zh-cn-ada2dfc8.js.map +1 -0
- package/dist/cjs/zh-hk-7261d0e6.js +73 -0
- package/dist/cjs/zh-hk-7261d0e6.js.map +1 -0
- package/dist/cjs/zh-tw-2d40436e.js +94 -0
- package/dist/cjs/zh-tw-2d40436e.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.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.css +5 -5
- package/dist/collection/components/action/action.e2e.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.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/action-bar/action-bar.js.map +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.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.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.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +2 -2
- package/dist/collection/components/action-menu/action-menu.js.map +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +2 -2
- package/dist/collection/components/action-pad/action-pad.js.map +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.e2e.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.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +3 -3
- package/dist/collection/components/block/block.js.map +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -3
- package/dist/collection/components/block-section/block-section.js.map +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.js +29 -16
- package/dist/collection/components/button/button.e2e.js.map +1 -1
- package/dist/collection/components/button/button.js +4 -4
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.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.css +5 -5
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +5 -5
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.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.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +3 -3
- package/dist/collection/components/chip-group/chip-group.js.map +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +6 -6
- package/dist/collection/components/color-picker/color-picker.js.map +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/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +3 -3
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js.map +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +2 -2
- package/dist/collection/components/combobox/combobox.js.map +1 -1
- package/dist/collection/components/combobox/interfaces.js.map +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.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +2 -2
- package/dist/collection/components/combobox-item/combobox-item.js.map +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +3 -3
- package/dist/collection/components/date-picker/date-picker.js.map +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/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +7 -7
- package/dist/collection/components/date-picker-day/date-picker-day.js.map +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +7 -7
- package/dist/collection/components/date-picker-month/date-picker-month.js.map +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +4 -4
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js.map +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.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.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +2 -2
- package/dist/collection/components/dropdown-group/dropdown-group.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.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.css +5 -5
- package/dist/collection/components/fab/fab.e2e.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.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +2 -2
- package/dist/collection/components/filter/filter.js.map +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.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.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.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/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +7 -7
- package/dist/collection/components/graph/graph.js.map +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +6 -6
- package/dist/collection/components/handle/handle.js.map +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.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/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.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.css +5 -5
- package/dist/collection/components/input/input.e2e.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.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +17 -1
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js.map +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +6 -10
- package/dist/collection/components/input-date-picker/input-date-picker.js.map +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.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.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.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.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.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.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.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.css +5 -5
- package/dist/collection/components/label/label.e2e.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.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +2 -2
- package/dist/collection/components/list/list.e2e.js.map +1 -1
- package/dist/collection/components/list/list.js +10 -10
- package/dist/collection/components/list/list.js.map +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +9 -5
- package/dist/collection/components/list-item/list-item.e2e.js +5 -1
- package/dist/collection/components/list-item/list-item.e2e.js.map +1 -1
- package/dist/collection/components/list-item/list-item.js +27 -20
- package/dist/collection/components/list-item/list-item.js.map +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.css +9 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +5 -1
- package/dist/collection/components/list-item-group/list-item-group.e2e.js.map +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +23 -1
- package/dist/collection/components/list-item-group/list-item-group.js.map +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.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.css +5 -5
- package/dist/collection/components/meter/meter.e2e.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.css +6 -6
- package/dist/collection/components/modal/modal.e2e.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.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.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.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.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.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.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.css +5 -5
- package/dist/collection/components/notice/notice.e2e.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.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.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.css +5 -5
- package/dist/collection/components/panel/panel.e2e.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.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.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/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.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.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.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.css +5 -5
- package/dist/collection/components/popover/popover.e2e.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.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.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.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.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.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.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.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.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.css +5 -5
- package/dist/collection/components/select/select.e2e.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.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.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.css +5 -5
- package/dist/collection/components/shell/shell.e2e.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.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.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.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.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.css +5 -5
- package/dist/collection/components/slider/slider.e2e.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.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.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.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.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.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +2 -2
- package/dist/collection/components/tab-nav/tab-nav.js.map +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +3 -3
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +3 -3
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.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.css +5 -5
- package/dist/collection/components/tile/tile.e2e.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.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +2 -2
- package/dist/collection/components/tile-select/tile-select.js.map +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.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.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.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.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.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.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.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.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.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.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +2 -2
- package/dist/collection/components/tree/tree.js.map +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.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.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.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +4 -4
- package/dist/collection/components/value-list/value-list.js.map +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.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/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +2 -5
- package/dist/collection/utils/interactive.js.map +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.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/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.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 +1 -1
- package/dist/collection/utils/time.spec.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/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-menu.js.map +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 +2 -2
- package/dist/components/button.js.map +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-bar.js.map +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-pad.js.map +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-section.js.map +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-block.js.map +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-group.js.map +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-color-picker.js.map +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-group.js.map +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 +6 -10
- package/dist/components/calcite-input-date-picker.js.map +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 +1 -1
- 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 +4 -2
- package/dist/components/calcite-list-item-group.js.map +1 -1
- package/dist/components/calcite-list-item.js +8 -21
- package/dist/components/calcite-list-item.js.map +1 -1
- package/dist/components/calcite-list.js +10 -10
- package/dist/components/calcite-list.js.map +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-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-table.js.map +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-select.js.map +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-tree.js.map +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/calcite-value-list.js.map +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-hex-input.js.map +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox-item.js.map +1 -1
- package/dist/components/combobox.js +2 -2
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.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-day.js.map +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month-header.js.map +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker-month.js.map +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-picker.js.map +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/filter2.js.map +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/graph.js.map +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/handle.js.map +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/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.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 +2 -5
- package/dist/components/interactive.js.map +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 +1 -1
- 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/pagination.js +2 -2
- package/dist/components/pagination.js.map +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/resources5.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-nav.js.map +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- 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-a6f6fe93.js +102 -0
- package/dist/esm/ExpandToggle-a6f6fe93.js.map +1 -0
- package/dist/esm/FloatingArrow-8822a239.js +47 -0
- package/dist/esm/FloatingArrow-8822a239.js.map +1 -0
- package/dist/esm/Heading-d27d565f.js +19 -0
- package/dist/esm/Heading-d27d565f.js.map +1 -0
- package/dist/esm/Validation-99bfd0e6.js +16 -0
- package/dist/esm/Validation-99bfd0e6.js.map +1 -0
- package/dist/esm/app-globals-a4940f11.js +59 -0
- package/dist/esm/app-globals-a4940f11.js.map +1 -0
- package/dist/esm/ar-70517ab9.js +104 -0
- package/dist/esm/ar-70517ab9.js.map +1 -0
- package/dist/esm/array-67ef3cfb.js +12 -0
- package/dist/esm/array-67ef3cfb.js.map +1 -0
- package/dist/esm/bg-06f7aed4.js +82 -0
- package/dist/esm/bg-06f7aed4.js.map +1 -0
- package/dist/esm/browser-1daeb1e0.js +18 -0
- package/dist/esm/browser-1daeb1e0.js.map +1 -0
- package/dist/esm/bs-1c0438d8.js +51 -0
- package/dist/esm/bs-1c0438d8.js.map +1 -0
- package/dist/esm/ca-c16d3907.js +71 -0
- package/dist/esm/ca-c16d3907.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-bar.entry.js.map +1 -1
- 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-menu.entry.js.map +1 -1
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action-pad.entry.js.map +1 -1
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +16 -16
- package/dist/esm/calcite-button.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip-group.entry.js.map +1 -1
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-filter.entry.js.map +1 -1
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-graph_2.entry.js.map +1 -1
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +26 -30
- package/dist/esm/calcite-input-date-picker.entry.js.map +1 -1
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-f5d5f0eb.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-f5d5f0eb.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +32 -45
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- 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 +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- 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 +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
- 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 +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-table.entry.js.map +1 -1
- package/dist/esm/calcite-text-area.entry.js +18 -18
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +9 -9
- 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 +10 -10
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +18 -18
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-b60b634a.js +27 -0
- package/dist/esm/component-b60b634a.js.map +1 -0
- package/dist/esm/conditionalSlot-98ea2e45.js +57 -0
- package/dist/esm/conditionalSlot-98ea2e45.js.map +1 -0
- package/dist/esm/cs-b239a4ef.js +147 -0
- package/dist/esm/cs-b239a4ef.js.map +1 -0
- package/dist/esm/da-9aca734a.js +66 -0
- package/dist/esm/da-9aca734a.js.map +1 -0
- package/dist/esm/de-4229b866.js +91 -0
- package/dist/esm/de-4229b866.js.map +1 -0
- package/dist/esm/de-at-b27fbf36.js +90 -0
- package/dist/esm/de-at-b27fbf36.js.map +1 -0
- package/dist/esm/de-ch-c61d4d11.js +90 -0
- package/dist/esm/de-ch-c61d4d11.js.map +1 -0
- package/dist/esm/debounce-6a65f52d.js +489 -0
- package/dist/esm/debounce-6a65f52d.js.map +1 -0
- package/dist/esm/dom-1d04b28a.js +1053 -0
- package/dist/esm/dom-1d04b28a.js.map +1 -0
- package/dist/esm/el-6fab80e1.js +66 -0
- package/dist/esm/el-6fab80e1.js.map +1 -0
- package/dist/esm/en-au-a62e4774.js +66 -0
- package/dist/esm/en-au-a62e4774.js.map +1 -0
- package/dist/esm/en-ca-519812ff.js +65 -0
- package/dist/esm/en-ca-519812ff.js.map +1 -0
- package/dist/esm/en-gb-1afc9433.js +69 -0
- package/dist/esm/en-gb-1afc9433.js.map +1 -0
- package/dist/esm/es-377b51dc.js +66 -0
- package/dist/esm/es-377b51dc.js.map +1 -0
- package/dist/esm/es-mx-1c27d818.js +65 -0
- package/dist/esm/es-mx-1c27d818.js.map +1 -0
- package/dist/esm/et-6b16cefb.js +92 -0
- package/dist/esm/et-6b16cefb.js.map +1 -0
- package/dist/esm/fi-e8ed3d3d.js +115 -0
- package/dist/esm/fi-e8ed3d3d.js.map +1 -0
- package/dist/esm/filter-2d8822f9.js +760 -0
- package/dist/esm/filter-2d8822f9.js.map +1 -0
- package/dist/esm/floating-ui-f5372615.js +1908 -0
- package/dist/esm/floating-ui-f5372615.js.map +1 -0
- package/dist/esm/focusTrapComponent-8b77a9c1.js +1015 -0
- package/dist/esm/focusTrapComponent-8b77a9c1.js.map +1 -0
- package/dist/esm/form-469c1a1b.js +249 -0
- package/dist/esm/form-469c1a1b.js.map +1 -0
- package/dist/esm/fr-a41476e5.js +68 -0
- package/dist/esm/fr-a41476e5.js.map +1 -0
- package/dist/esm/fr-ch-d991ee83.js +66 -0
- package/dist/esm/fr-ch-d991ee83.js.map +1 -0
- package/dist/esm/guid-ac2c9771.js +21 -0
- package/dist/esm/guid-ac2c9771.js.map +1 -0
- package/dist/esm/he-9ba5fcd7.js +105 -0
- package/dist/esm/he-9ba5fcd7.js.map +1 -0
- package/dist/esm/hi-7ea0af49.js +65 -0
- package/dist/esm/hi-7ea0af49.js.map +1 -0
- package/dist/esm/hr-095f65d3.js +80 -0
- package/dist/esm/hr-095f65d3.js.map +1 -0
- package/dist/esm/hu-865ad188.js +88 -0
- package/dist/esm/hu-865ad188.js.map +1 -0
- package/dist/esm/id-166753d2.js +66 -0
- package/dist/esm/id-166753d2.js.map +1 -0
- package/dist/esm/index-15f771ad.js +206 -0
- package/dist/esm/index-15f771ad.js.map +1 -0
- package/dist/esm/index-718a1912.js +73 -0
- package/dist/esm/index-718a1912.js.map +1 -0
- package/dist/esm/index-c5927327.js +2620 -0
- package/dist/esm/index-c5927327.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-7d14016f.js +136 -0
- package/dist/esm/interactive-7d14016f.js.map +1 -0
- package/dist/esm/it-c9b329ad.js +66 -0
- package/dist/esm/it-c9b329ad.js.map +1 -0
- package/dist/esm/it-ch-95db05de.js +66 -0
- package/dist/esm/it-ch-95db05de.js.map +1 -0
- package/dist/esm/ja-e5777426.js +72 -0
- package/dist/esm/ja-e5777426.js.map +1 -0
- package/dist/esm/key-cbd7bda4.js +13 -0
- package/dist/esm/key-cbd7bda4.js.map +1 -0
- package/dist/esm/ko-fa1cbe56.js +72 -0
- package/dist/esm/ko-fa1cbe56.js.map +1 -0
- package/dist/esm/label-4e7a2660.js +176 -0
- package/dist/esm/label-4e7a2660.js.map +1 -0
- package/dist/esm/loadable-a1de4e95.js +86 -0
- package/dist/esm/loadable-a1de4e95.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-3e047066.js +563 -0
- package/dist/esm/locale-3e047066.js.map +1 -0
- package/dist/esm/lt-145e8dc2.js +97 -0
- package/dist/esm/lt-145e8dc2.js.map +1 -0
- package/dist/esm/lv-f0990115.js +66 -0
- package/dist/esm/lv-f0990115.js.map +1 -0
- package/dist/esm/math-29793169.js +51 -0
- package/dist/esm/math-29793169.js.map +1 -0
- package/dist/esm/mk-c85f369b.js +66 -0
- package/dist/esm/mk-c85f369b.js.map +1 -0
- package/dist/esm/nb-5c8de923.js +67 -0
- package/dist/esm/nb-5c8de923.js.map +1 -0
- package/dist/esm/nl-6ea60a03.js +67 -0
- package/dist/esm/nl-6ea60a03.js.map +1 -0
- package/dist/esm/observers-78e78d2a.js +48 -0
- package/dist/esm/observers-78e78d2a.js.map +1 -0
- package/dist/esm/openCloseComponent-bd2fbb9b.js +87 -0
- package/dist/esm/openCloseComponent-bd2fbb9b.js.map +1 -0
- package/dist/esm/pl-13987bc8.js +114 -0
- package/dist/esm/pl-13987bc8.js.map +1 -0
- package/dist/esm/pt-br-a9292466.js +65 -0
- package/dist/esm/pt-br-a9292466.js.map +1 -0
- package/dist/esm/pt-d68aa10d.js +67 -0
- package/dist/esm/pt-d68aa10d.js.map +1 -0
- package/dist/esm/resources-05e37c90.js +25 -0
- package/dist/esm/resources-05e37c90.js.map +1 -0
- package/dist/esm/resources-18ea645d.js +387 -0
- package/dist/esm/resources-18ea645d.js.map +1 -0
- package/dist/esm/resources-7041feea.js +45 -0
- package/dist/esm/resources-7041feea.js.map +1 -0
- package/dist/esm/resources-718a4af7.js +23 -0
- package/dist/esm/resources-718a4af7.js.map +1 -0
- package/dist/esm/resources-a1d34c3c.js +21 -0
- package/dist/esm/resources-a1d34c3c.js.map +1 -0
- package/dist/esm/resources-b5867d9c.js +19 -0
- package/dist/esm/resources-b5867d9c.js.map +1 -0
- package/dist/esm/resources-e6f305f0.js +17 -0
- package/dist/esm/resources-e6f305f0.js.map +1 -0
- package/dist/esm/ro-0c43e955.js +66 -0
- package/dist/esm/ro-0c43e955.js.map +1 -0
- package/dist/esm/ru-7ae5f1f7.js +126 -0
- package/dist/esm/ru-7ae5f1f7.js.map +1 -0
- package/dist/esm/sk-9bafa76c.js +148 -0
- package/dist/esm/sk-9bafa76c.js.map +1 -0
- package/dist/esm/sl-5ca377dc.js +168 -0
- package/dist/esm/sl-5ca377dc.js.map +1 -0
- package/dist/esm/sortableComponent-df2a38b9.js +2735 -0
- package/dist/esm/sortableComponent-df2a38b9.js.map +1 -0
- package/dist/esm/sr-fdafd997.js +101 -0
- package/dist/esm/sr-fdafd997.js.map +1 -0
- package/dist/esm/sv-4fc21b55.js +71 -0
- package/dist/esm/sv-4fc21b55.js.map +1 -0
- package/dist/esm/t9n-1b78af51.js +92 -0
- package/dist/esm/t9n-1b78af51.js.map +1 -0
- package/dist/esm/th-088797e4.js +65 -0
- package/dist/esm/th-088797e4.js.map +1 -0
- package/dist/esm/throttle-6985030c.js +75 -0
- package/dist/esm/throttle-6985030c.js.map +1 -0
- package/dist/esm/tr-a6ce8e74.js +66 -0
- package/dist/esm/tr-a6ce8e74.js.map +1 -0
- package/dist/esm/uk-6dfbbbb8.js +104 -0
- package/dist/esm/uk-6dfbbbb8.js.map +1 -0
- package/dist/esm/utils-064f3e83.js +289 -0
- package/dist/esm/utils-064f3e83.js.map +1 -0
- package/dist/esm/utils-300e747f.js +200 -0
- package/dist/esm/utils-300e747f.js.map +1 -0
- package/dist/esm/vi-58c763f4.js +70 -0
- package/dist/esm/vi-58c763f4.js.map +1 -0
- package/dist/esm/zh-cn-b54a1e17.js +94 -0
- package/dist/esm/zh-cn-b54a1e17.js.map +1 -0
- package/dist/esm/zh-hk-84d09589.js +71 -0
- package/dist/esm/zh-hk-84d09589.js.map +1 -0
- package/dist/esm/zh-tw-c9834cf0.js +92 -0
- package/dist/esm/zh-tw-c9834cf0.js.map +1 -0
- package/dist/extras/docs-json.json +56 -56
- 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/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/action-bar/action-bar.d.ts +1 -1
- package/dist/types/components/action-menu/action-menu.d.ts +1 -1
- package/dist/types/components/action-pad/action-pad.d.ts +1 -1
- package/dist/types/components/block/block.d.ts +2 -2
- package/dist/types/components/block-section/block-section.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +2 -2
- package/dist/types/components/checkbox/checkbox.d.ts +8 -4
- package/dist/types/components/chip-group/chip-group.d.ts +8 -2
- package/dist/types/components/color-picker/color-picker.d.ts +7 -5
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +3 -3
- package/dist/types/components/combobox/combobox.d.ts +4 -4
- package/dist/types/components/combobox/interfaces.d.ts +0 -4
- package/dist/types/components/combobox-item/combobox-item.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +2 -2
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +6 -6
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +6 -6
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +3 -3
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +4 -4
- package/dist/types/components/filter/filter.d.ts +1 -1
- package/dist/types/components/graph/graph.d.ts +6 -6
- package/dist/types/components/handle/handle.d.ts +5 -5
- package/dist/types/components/list/list.d.ts +1 -1
- package/dist/types/components/list-item/list-item.d.ts +6 -0
- package/dist/types/components/list-item-group/list-item-group.d.ts +6 -0
- package/dist/types/components/tab-nav/tab-nav.d.ts +1 -1
- package/dist/types/components/table/table.d.ts +2 -2
- package/dist/types/components/tabs/tabs.d.ts +2 -2
- package/dist/types/components/tile-select/tile-select.d.ts +1 -1
- package/dist/types/components/tree/tree.d.ts +1 -1
- package/dist/types/components/value-list/value-list.d.ts +2 -2
- package/dist/types/components.d.ts +102 -94
- package/hydrate/index.js +32 -50
- package/package.json +5 -5
- package/dist/calcite/p-00562149.js +0 -7
- package/dist/calcite/p-01375993.js +0 -7
- package/dist/calcite/p-03492dd4.entry.js +0 -7
- package/dist/calcite/p-06476721.entry.js +0 -7
- package/dist/calcite/p-064f0f08.js +0 -7
- package/dist/calcite/p-08a784ac.entry.js +0 -7
- package/dist/calcite/p-08fb9762.entry.js +0 -7
- package/dist/calcite/p-0bba21d0.js +0 -7
- package/dist/calcite/p-0c36d3cd.entry.js +0 -7
- package/dist/calcite/p-0c7e1a3b.entry.js +0 -7
- package/dist/calcite/p-106d3278.js +0 -7
- package/dist/calcite/p-127b631c.js +0 -7
- package/dist/calcite/p-12f8943c.js +0 -7
- package/dist/calcite/p-137d2def.js +0 -7
- package/dist/calcite/p-13955780.js +0 -7
- package/dist/calcite/p-1817d190.entry.js +0 -7
- package/dist/calcite/p-1a02138f.js +0 -7
- package/dist/calcite/p-1aef2454.js +0 -7
- package/dist/calcite/p-1bc39d92.entry.js +0 -7
- package/dist/calcite/p-1c6ebe7b.js +0 -7
- package/dist/calcite/p-1d43baed.js +0 -7
- package/dist/calcite/p-20b2ae04.entry.js +0 -7
- package/dist/calcite/p-22b8e45c.entry.js +0 -7
- package/dist/calcite/p-230ddf20.entry.js +0 -7
- package/dist/calcite/p-26881613.entry.js +0 -7
- package/dist/calcite/p-26960e4c.js +0 -12
- package/dist/calcite/p-29f77175.js +0 -7
- package/dist/calcite/p-2d1688b5.entry.js +0 -7
- package/dist/calcite/p-2e2cedda.entry.js +0 -7
- package/dist/calcite/p-2edf4b61.entry.js +0 -7
- package/dist/calcite/p-30eb660a.entry.js +0 -7
- package/dist/calcite/p-31499797.entry.js +0 -7
- package/dist/calcite/p-31499797.entry.js.map +0 -1
- package/dist/calcite/p-326bd437.entry.js +0 -7
- package/dist/calcite/p-33af7fcf.entry.js +0 -7
- package/dist/calcite/p-34b05cbe.js +0 -7
- package/dist/calcite/p-37f5293c.js +0 -7
- package/dist/calcite/p-38493b6a.js +0 -7
- package/dist/calcite/p-3872cdff.js +0 -7
- package/dist/calcite/p-38dcb6e1.entry.js +0 -7
- package/dist/calcite/p-38dcb6e1.entry.js.map +0 -1
- package/dist/calcite/p-3ae305ac.entry.js +0 -7
- package/dist/calcite/p-3c1c7466.js +0 -7
- package/dist/calcite/p-3c1c7466.js.map +0 -1
- package/dist/calcite/p-3d3ae505.js +0 -7
- package/dist/calcite/p-3f0c1a1b.entry.js +0 -7
- package/dist/calcite/p-430a5646.js +0 -7
- package/dist/calcite/p-4344e12b.entry.js +0 -7
- package/dist/calcite/p-4381790f.entry.js +0 -7
- package/dist/calcite/p-4381790f.entry.js.map +0 -1
- package/dist/calcite/p-444a00ef.entry.js +0 -7
- package/dist/calcite/p-444a00ef.entry.js.map +0 -1
- package/dist/calcite/p-45c88ddd.js +0 -7
- package/dist/calcite/p-47689c90.js +0 -7
- package/dist/calcite/p-48317d63.js +0 -7
- package/dist/calcite/p-4911decd.entry.js +0 -7
- package/dist/calcite/p-4911decd.entry.js.map +0 -1
- package/dist/calcite/p-4a6c0ecd.js +0 -7
- package/dist/calcite/p-4d45b4ec.js +0 -11
- package/dist/calcite/p-4da38535.entry.js +0 -7
- package/dist/calcite/p-4e7eb977.js +0 -7
- package/dist/calcite/p-4e822d0a.js +0 -7
- package/dist/calcite/p-4e9755b8.entry.js +0 -7
- package/dist/calcite/p-4e9755b8.entry.js.map +0 -1
- package/dist/calcite/p-4f9cdea0.js +0 -7
- package/dist/calcite/p-53cf1fbc.js +0 -7
- package/dist/calcite/p-553c204f.entry.js +0 -7
- package/dist/calcite/p-553c204f.entry.js.map +0 -1
- package/dist/calcite/p-55f68566.entry.js +0 -7
- package/dist/calcite/p-5e9d5d9f.js +0 -7
- package/dist/calcite/p-6135907c.js +0 -7
- package/dist/calcite/p-61ccebf8.entry.js +0 -7
- package/dist/calcite/p-64bdb317.js +0 -7
- package/dist/calcite/p-65ce72af.js +0 -7
- package/dist/calcite/p-65ed8563.entry.js +0 -7
- package/dist/calcite/p-65ed8563.entry.js.map +0 -1
- package/dist/calcite/p-66590f6a.js +0 -7
- package/dist/calcite/p-66807f8a.js +0 -7
- package/dist/calcite/p-6721fc73.js +0 -7
- package/dist/calcite/p-6779d45a.js +0 -7
- package/dist/calcite/p-67e9ba0c.js +0 -7
- package/dist/calcite/p-67ea6144.js +0 -7
- package/dist/calcite/p-6d5c0a3d.js +0 -7
- package/dist/calcite/p-6e319790.entry.js +0 -7
- package/dist/calcite/p-6e5b1ef3.js +0 -7
- package/dist/calcite/p-727b0e83.js +0 -7
- package/dist/calcite/p-727fd8fa.js +0 -7
- package/dist/calcite/p-7543ca5b.js +0 -7
- package/dist/calcite/p-76178830.entry.js +0 -7
- package/dist/calcite/p-7bac6b46.js +0 -7
- package/dist/calcite/p-7e65832e.js +0 -7
- package/dist/calcite/p-7f640e50.entry.js +0 -7
- package/dist/calcite/p-8109d55a.entry.js +0 -7
- package/dist/calcite/p-811d855d.js +0 -7
- package/dist/calcite/p-83547032.entry.js +0 -7
- package/dist/calcite/p-84190c9d.entry.js +0 -7
- package/dist/calcite/p-843ee8a4.js +0 -7
- package/dist/calcite/p-85571568.entry.js +0 -7
- package/dist/calcite/p-87415bef.js +0 -7
- package/dist/calcite/p-877d4d5b.js +0 -7
- package/dist/calcite/p-885936ba.entry.js +0 -7
- package/dist/calcite/p-8884f00a.js +0 -7
- package/dist/calcite/p-88d01a69.js +0 -7
- package/dist/calcite/p-8a15e31c.entry.js +0 -7
- package/dist/calcite/p-8a15e31c.entry.js.map +0 -1
- package/dist/calcite/p-8ba67eff.entry.js +0 -7
- package/dist/calcite/p-8ceb7b14.entry.js +0 -7
- package/dist/calcite/p-8ceb7b14.entry.js.map +0 -1
- package/dist/calcite/p-8d4e3b14.entry.js +0 -7
- package/dist/calcite/p-8d4e3b14.entry.js.map +0 -1
- package/dist/calcite/p-8d82e28c.entry.js +0 -7
- package/dist/calcite/p-8d82e28c.entry.js.map +0 -1
- package/dist/calcite/p-8dd4b707.entry.js +0 -7
- package/dist/calcite/p-8dd4b707.entry.js.map +0 -1
- package/dist/calcite/p-904be5f8.js +0 -7
- package/dist/calcite/p-909b6184.entry.js +0 -7
- package/dist/calcite/p-909b6184.entry.js.map +0 -1
- package/dist/calcite/p-90b8bb44.entry.js +0 -7
- package/dist/calcite/p-90b8bb44.entry.js.map +0 -1
- package/dist/calcite/p-91a5aae5.js +0 -7
- package/dist/calcite/p-925e6f4c.entry.js +0 -7
- package/dist/calcite/p-925e6f4c.entry.js.map +0 -1
- package/dist/calcite/p-9306d022.js +0 -7
- package/dist/calcite/p-93d1635f.js +0 -7
- package/dist/calcite/p-94aa0361.js +0 -7
- package/dist/calcite/p-9517daa5.js +0 -7
- package/dist/calcite/p-9a7e6205.js +0 -7
- package/dist/calcite/p-9a9521de.js +0 -7
- package/dist/calcite/p-9b7a0f7a.entry.js +0 -7
- package/dist/calcite/p-9d708d39.entry.js +0 -7
- package/dist/calcite/p-9d708d39.entry.js.map +0 -1
- package/dist/calcite/p-a0f3f6ac.js +0 -7
- package/dist/calcite/p-a134f3fd.js +0 -7
- package/dist/calcite/p-a5510bb7.entry.js +0 -7
- package/dist/calcite/p-a64ef919.entry.js +0 -7
- package/dist/calcite/p-a64ef919.entry.js.map +0 -1
- package/dist/calcite/p-af2e8eba.js +0 -7
- package/dist/calcite/p-baae7d2e.js +0 -7
- package/dist/calcite/p-bc5caa0a.entry.js +0 -7
- package/dist/calcite/p-bd93168e.js +0 -7
- package/dist/calcite/p-bf84c797.js +0 -7
- package/dist/calcite/p-c0595915.js +0 -8
- package/dist/calcite/p-c0741d59.js +0 -7
- package/dist/calcite/p-c18ccc88.entry.js +0 -7
- package/dist/calcite/p-c18ccc88.entry.js.map +0 -1
- package/dist/calcite/p-c3126a1c.js +0 -7
- package/dist/calcite/p-c34f50cd.js +0 -7
- package/dist/calcite/p-c43eabbe.js +0 -7
- package/dist/calcite/p-c56cfdf3.js +0 -7
- package/dist/calcite/p-c6d3ba8a.js +0 -7
- package/dist/calcite/p-c742596f.entry.js +0 -7
- package/dist/calcite/p-c742596f.entry.js.map +0 -1
- package/dist/calcite/p-c8fc62e5.entry.js +0 -7
- package/dist/calcite/p-cc05a377.entry.js +0 -7
- package/dist/calcite/p-cca3d8e3.js +0 -7
- package/dist/calcite/p-ced5bc8d.js +0 -7
- package/dist/calcite/p-d452d6e1.entry.js +0 -7
- package/dist/calcite/p-d452d6e1.entry.js.map +0 -1
- package/dist/calcite/p-d6110847.js +0 -7
- package/dist/calcite/p-da020626.js +0 -7
- package/dist/calcite/p-db1dd382.js +0 -7
- package/dist/calcite/p-db444d57.js +0 -7
- package/dist/calcite/p-dd2f1ccf.entry.js +0 -7
- package/dist/calcite/p-df388a30.entry.js +0 -7
- package/dist/calcite/p-dff64291.entry.js +0 -7
- package/dist/calcite/p-dff64291.entry.js.map +0 -1
- package/dist/calcite/p-e003995f.js +0 -7
- package/dist/calcite/p-e080003c.js +0 -7
- package/dist/calcite/p-e37a390f.entry.js +0 -7
- package/dist/calcite/p-e37a390f.entry.js.map +0 -1
- package/dist/calcite/p-e3c95268.entry.js +0 -7
- package/dist/calcite/p-e4c8c237.js +0 -7
- package/dist/calcite/p-e71b1cd2.entry.js +0 -7
- package/dist/calcite/p-e71b1cd2.entry.js.map +0 -1
- package/dist/calcite/p-e7fd75a4.js +0 -7
- package/dist/calcite/p-ea037ba0.entry.js +0 -7
- package/dist/calcite/p-edacb36f.js +0 -7
- package/dist/calcite/p-f46496d8.js +0 -13
- package/dist/calcite/p-f64597ef.entry.js +0 -7
- package/dist/calcite/p-f7268024.entry.js +0 -7
- package/dist/calcite/p-faac5552.js +0 -7
- package/dist/calcite/p-fbe5b95e.entry.js +0 -7
- package/dist/calcite/p-fd324a68.entry.js +0 -7
- package/dist/calcite/p-ffda9d68.js +0 -7
- package/dist/calcite/p-fff274cf.entry.js +0 -7
- package/dist/calcite/p-fff274cf.entry.js.map +0 -1
- package/dist/cjs/ExpandToggle-b7af8422.js +0 -110
- package/dist/cjs/ExpandToggle-b7af8422.js.map +0 -1
- package/dist/cjs/FloatingArrow-b74cd034.js +0 -49
- package/dist/cjs/FloatingArrow-b74cd034.js.map +0 -1
- package/dist/cjs/Heading-d82319fe.js +0 -22
- package/dist/cjs/Heading-d82319fe.js.map +0 -1
- package/dist/cjs/Validation-de4e1adf.js +0 -18
- package/dist/cjs/Validation-de4e1adf.js.map +0 -1
- package/dist/cjs/app-globals-0705f1fd.js +0 -61
- package/dist/cjs/app-globals-0705f1fd.js.map +0 -1
- package/dist/cjs/ar-1da0e5c8.js +0 -106
- package/dist/cjs/ar-1da0e5c8.js.map +0 -1
- package/dist/cjs/array-202818bb.js +0 -14
- package/dist/cjs/array-202818bb.js.map +0 -1
- package/dist/cjs/bg-bd15b5eb.js +0 -84
- package/dist/cjs/bg-bd15b5eb.js.map +0 -1
- package/dist/cjs/browser-38dfc363.js +0 -20
- package/dist/cjs/browser-38dfc363.js.map +0 -1
- package/dist/cjs/bs-5dafadaf.js +0 -53
- package/dist/cjs/bs-5dafadaf.js.map +0 -1
- package/dist/cjs/ca-5aacd2e9.js +0 -73
- package/dist/cjs/ca-5aacd2e9.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-0b97c7d3.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-0b97c7d3.js.map +0 -1
- package/dist/cjs/component-b4823705.js +0 -30
- package/dist/cjs/component-b4823705.js.map +0 -1
- package/dist/cjs/conditionalSlot-a51d05ce.js +0 -60
- package/dist/cjs/conditionalSlot-a51d05ce.js.map +0 -1
- package/dist/cjs/cs-03b8e90e.js +0 -149
- package/dist/cjs/cs-03b8e90e.js.map +0 -1
- package/dist/cjs/da-899ce414.js +0 -68
- package/dist/cjs/da-899ce414.js.map +0 -1
- package/dist/cjs/de-36b20236.js +0 -93
- package/dist/cjs/de-36b20236.js.map +0 -1
- package/dist/cjs/de-at-34e2070a.js +0 -92
- package/dist/cjs/de-at-34e2070a.js.map +0 -1
- package/dist/cjs/de-ch-0771cabe.js +0 -92
- package/dist/cjs/de-ch-0771cabe.js.map +0 -1
- package/dist/cjs/debounce-dc2203c4.js +0 -498
- package/dist/cjs/debounce-dc2203c4.js.map +0 -1
- package/dist/cjs/dom-6ebda9a4.js +0 -1084
- package/dist/cjs/dom-6ebda9a4.js.map +0 -1
- package/dist/cjs/el-564a075c.js +0 -68
- package/dist/cjs/el-564a075c.js.map +0 -1
- package/dist/cjs/en-au-865f026d.js +0 -68
- package/dist/cjs/en-au-865f026d.js.map +0 -1
- package/dist/cjs/en-ca-f9fd5e45.js +0 -67
- package/dist/cjs/en-ca-f9fd5e45.js.map +0 -1
- package/dist/cjs/en-gb-9a2125ed.js +0 -71
- package/dist/cjs/en-gb-9a2125ed.js.map +0 -1
- package/dist/cjs/es-8ef6a4b3.js +0 -68
- package/dist/cjs/es-8ef6a4b3.js.map +0 -1
- package/dist/cjs/es-mx-9d184bc1.js +0 -67
- package/dist/cjs/es-mx-9d184bc1.js.map +0 -1
- package/dist/cjs/et-bf39a866.js +0 -94
- package/dist/cjs/et-bf39a866.js.map +0 -1
- package/dist/cjs/fi-19997699.js +0 -117
- package/dist/cjs/fi-19997699.js.map +0 -1
- package/dist/cjs/filter-c8dd1c87.js +0 -762
- package/dist/cjs/filter-c8dd1c87.js.map +0 -1
- package/dist/cjs/floating-ui-cf401968.js +0 -1916
- package/dist/cjs/floating-ui-cf401968.js.map +0 -1
- package/dist/cjs/focusTrapComponent-9aaad4bc.js +0 -1020
- package/dist/cjs/focusTrapComponent-9aaad4bc.js.map +0 -1
- package/dist/cjs/form-773b1282.js +0 -257
- package/dist/cjs/form-773b1282.js.map +0 -1
- package/dist/cjs/fr-186d3f72.js +0 -70
- package/dist/cjs/fr-186d3f72.js.map +0 -1
- package/dist/cjs/fr-ch-6342a567.js +0 -68
- package/dist/cjs/fr-ch-6342a567.js.map +0 -1
- package/dist/cjs/guid-f8293edf.js +0 -23
- package/dist/cjs/guid-f8293edf.js.map +0 -1
- package/dist/cjs/he-7322c777.js +0 -107
- package/dist/cjs/he-7322c777.js.map +0 -1
- package/dist/cjs/hi-9a828af3.js +0 -67
- package/dist/cjs/hi-9a828af3.js.map +0 -1
- package/dist/cjs/hr-b9f6df5a.js +0 -82
- package/dist/cjs/hr-b9f6df5a.js.map +0 -1
- package/dist/cjs/hu-c237ae4d.js +0 -90
- package/dist/cjs/hu-c237ae4d.js.map +0 -1
- package/dist/cjs/id-386ce6a1.js +0 -68
- package/dist/cjs/id-386ce6a1.js.map +0 -1
- package/dist/cjs/index-3f4e122c.js +0 -2655
- package/dist/cjs/index-3f4e122c.js.map +0 -1
- package/dist/cjs/index-a3f5b07a.js +0 -75
- package/dist/cjs/index-a3f5b07a.js.map +0 -1
- package/dist/cjs/index-df25d497.js +0 -208
- package/dist/cjs/index-df25d497.js.map +0 -1
- package/dist/cjs/interactive-8aa5ce2d.js +0 -144
- package/dist/cjs/interactive-8aa5ce2d.js.map +0 -1
- package/dist/cjs/it-ae8eb070.js +0 -68
- package/dist/cjs/it-ae8eb070.js.map +0 -1
- package/dist/cjs/it-ch-6b2b9530.js +0 -68
- package/dist/cjs/it-ch-6b2b9530.js.map +0 -1
- package/dist/cjs/ja-864a3d3b.js +0 -74
- package/dist/cjs/ja-864a3d3b.js.map +0 -1
- package/dist/cjs/key-f1e6dc28.js +0 -16
- package/dist/cjs/key-f1e6dc28.js.map +0 -1
- package/dist/cjs/ko-48f9d54e.js +0 -74
- package/dist/cjs/ko-48f9d54e.js.map +0 -1
- package/dist/cjs/label-ebaebe46.js +0 -183
- package/dist/cjs/label-ebaebe46.js.map +0 -1
- package/dist/cjs/loadable-56f61e5d.js +0 -91
- package/dist/cjs/loadable-56f61e5d.js.map +0 -1
- package/dist/cjs/locale-ad7edd77.js +0 -576
- package/dist/cjs/locale-ad7edd77.js.map +0 -1
- package/dist/cjs/lt-ce414452.js +0 -99
- package/dist/cjs/lt-ce414452.js.map +0 -1
- package/dist/cjs/lv-3f737857.js +0 -68
- package/dist/cjs/lv-3f737857.js.map +0 -1
- package/dist/cjs/math-da8126f0.js +0 -57
- package/dist/cjs/math-da8126f0.js.map +0 -1
- package/dist/cjs/mk-956e54cd.js +0 -68
- package/dist/cjs/mk-956e54cd.js.map +0 -1
- package/dist/cjs/nb-81ce5c93.js +0 -69
- package/dist/cjs/nb-81ce5c93.js.map +0 -1
- package/dist/cjs/nl-297294a6.js +0 -69
- package/dist/cjs/nl-297294a6.js.map +0 -1
- package/dist/cjs/observers-325d7cbb.js +0 -50
- package/dist/cjs/observers-325d7cbb.js.map +0 -1
- package/dist/cjs/openCloseComponent-639c0cad.js +0 -89
- package/dist/cjs/openCloseComponent-639c0cad.js.map +0 -1
- package/dist/cjs/pl-cc6c612c.js +0 -116
- package/dist/cjs/pl-cc6c612c.js.map +0 -1
- package/dist/cjs/pt-2ff109ee.js +0 -69
- package/dist/cjs/pt-2ff109ee.js.map +0 -1
- package/dist/cjs/pt-br-53b530af.js +0 -67
- package/dist/cjs/pt-br-53b530af.js.map +0 -1
- package/dist/cjs/resources-288d2d36.js +0 -23
- package/dist/cjs/resources-288d2d36.js.map +0 -1
- package/dist/cjs/resources-2d961646.js +0 -29
- package/dist/cjs/resources-2d961646.js.map +0 -1
- package/dist/cjs/resources-34057642.js +0 -49
- package/dist/cjs/resources-34057642.js.map +0 -1
- package/dist/cjs/resources-6dc453d3.js +0 -414
- package/dist/cjs/resources-6dc453d3.js.map +0 -1
- package/dist/cjs/resources-72b45579.js +0 -26
- package/dist/cjs/resources-72b45579.js.map +0 -1
- package/dist/cjs/resources-f273d8a6.js +0 -26
- package/dist/cjs/resources-f273d8a6.js.map +0 -1
- package/dist/cjs/resources-ffb2e8cb.js +0 -17
- package/dist/cjs/resources-ffb2e8cb.js.map +0 -1
- package/dist/cjs/ro-13ab7a6b.js +0 -68
- package/dist/cjs/ro-13ab7a6b.js.map +0 -1
- package/dist/cjs/ru-fa5dd4b8.js +0 -128
- package/dist/cjs/ru-fa5dd4b8.js.map +0 -1
- package/dist/cjs/sk-7677ed5c.js +0 -150
- package/dist/cjs/sk-7677ed5c.js.map +0 -1
- package/dist/cjs/sl-695739f5.js +0 -170
- package/dist/cjs/sl-695739f5.js.map +0 -1
- package/dist/cjs/sortableComponent-0c2fcde7.js +0 -2739
- package/dist/cjs/sortableComponent-0c2fcde7.js.map +0 -1
- package/dist/cjs/sr-7fc3a12f.js +0 -103
- package/dist/cjs/sr-7fc3a12f.js.map +0 -1
- package/dist/cjs/sv-53602bc3.js +0 -73
- package/dist/cjs/sv-53602bc3.js.map +0 -1
- package/dist/cjs/t9n-60b39bb3.js +0 -97
- package/dist/cjs/t9n-60b39bb3.js.map +0 -1
- package/dist/cjs/th-d7fa6bbd.js +0 -67
- package/dist/cjs/th-d7fa6bbd.js.map +0 -1
- package/dist/cjs/throttle-90315733.js +0 -77
- package/dist/cjs/throttle-90315733.js.map +0 -1
- package/dist/cjs/tr-011f1f52.js +0 -68
- package/dist/cjs/tr-011f1f52.js.map +0 -1
- package/dist/cjs/uk-37a06696.js +0 -106
- package/dist/cjs/uk-37a06696.js.map +0 -1
- package/dist/cjs/utils-74a02572.js +0 -218
- package/dist/cjs/utils-74a02572.js.map +0 -1
- package/dist/cjs/utils-99c68f54.js +0 -307
- package/dist/cjs/utils-99c68f54.js.map +0 -1
- package/dist/cjs/vi-3f50a7fa.js +0 -72
- package/dist/cjs/vi-3f50a7fa.js.map +0 -1
- package/dist/cjs/zh-cn-876d2e24.js +0 -96
- package/dist/cjs/zh-cn-876d2e24.js.map +0 -1
- package/dist/cjs/zh-hk-f927f37d.js +0 -73
- package/dist/cjs/zh-hk-f927f37d.js.map +0 -1
- package/dist/cjs/zh-tw-9ffa2541.js +0 -94
- package/dist/cjs/zh-tw-9ffa2541.js.map +0 -1
- package/dist/esm/ExpandToggle-b7342b6b.js +0 -102
- package/dist/esm/ExpandToggle-b7342b6b.js.map +0 -1
- package/dist/esm/FloatingArrow-3272c4a1.js +0 -47
- package/dist/esm/FloatingArrow-3272c4a1.js.map +0 -1
- package/dist/esm/Heading-cf8b2f58.js +0 -19
- package/dist/esm/Heading-cf8b2f58.js.map +0 -1
- package/dist/esm/Validation-951e000c.js +0 -16
- package/dist/esm/Validation-951e000c.js.map +0 -1
- package/dist/esm/app-globals-a01090ee.js +0 -59
- package/dist/esm/app-globals-a01090ee.js.map +0 -1
- package/dist/esm/ar-3688cb64.js +0 -104
- package/dist/esm/ar-3688cb64.js.map +0 -1
- package/dist/esm/array-b51621c8.js +0 -12
- package/dist/esm/array-b51621c8.js.map +0 -1
- package/dist/esm/bg-02264eb7.js +0 -82
- package/dist/esm/bg-02264eb7.js.map +0 -1
- package/dist/esm/browser-3418f705.js +0 -18
- package/dist/esm/browser-3418f705.js.map +0 -1
- package/dist/esm/bs-edc0fe0d.js +0 -51
- package/dist/esm/bs-edc0fe0d.js.map +0 -1
- package/dist/esm/ca-e9cb6071.js +0 -71
- package/dist/esm/ca-e9cb6071.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-9dd7063d.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-9dd7063d.js.map +0 -1
- package/dist/esm/component-a9172c50.js +0 -27
- package/dist/esm/component-a9172c50.js.map +0 -1
- package/dist/esm/conditionalSlot-faae52f8.js +0 -57
- package/dist/esm/conditionalSlot-faae52f8.js.map +0 -1
- package/dist/esm/cs-6533e5d1.js +0 -147
- package/dist/esm/cs-6533e5d1.js.map +0 -1
- package/dist/esm/da-56b232fe.js +0 -66
- package/dist/esm/da-56b232fe.js.map +0 -1
- package/dist/esm/de-a3c87ced.js +0 -91
- package/dist/esm/de-a3c87ced.js.map +0 -1
- package/dist/esm/de-at-a2d5b325.js +0 -90
- package/dist/esm/de-at-a2d5b325.js.map +0 -1
- package/dist/esm/de-ch-94ef747f.js +0 -90
- package/dist/esm/de-ch-94ef747f.js.map +0 -1
- package/dist/esm/debounce-4b01202d.js +0 -489
- package/dist/esm/debounce-4b01202d.js.map +0 -1
- package/dist/esm/dom-c464bbe7.js +0 -1053
- package/dist/esm/dom-c464bbe7.js.map +0 -1
- package/dist/esm/el-45eca7fa.js +0 -66
- package/dist/esm/el-45eca7fa.js.map +0 -1
- package/dist/esm/en-au-4ac766c8.js +0 -66
- package/dist/esm/en-au-4ac766c8.js.map +0 -1
- package/dist/esm/en-ca-d3982a46.js +0 -65
- package/dist/esm/en-ca-d3982a46.js.map +0 -1
- package/dist/esm/en-gb-84324ec5.js +0 -69
- package/dist/esm/en-gb-84324ec5.js.map +0 -1
- package/dist/esm/es-0472fe43.js +0 -66
- package/dist/esm/es-0472fe43.js.map +0 -1
- package/dist/esm/es-mx-ae2527e5.js +0 -65
- package/dist/esm/es-mx-ae2527e5.js.map +0 -1
- package/dist/esm/et-06aa5521.js +0 -92
- package/dist/esm/et-06aa5521.js.map +0 -1
- package/dist/esm/fi-d6aa4dcb.js +0 -115
- package/dist/esm/fi-d6aa4dcb.js.map +0 -1
- package/dist/esm/filter-2fbe33f9.js +0 -760
- package/dist/esm/filter-2fbe33f9.js.map +0 -1
- package/dist/esm/floating-ui-5071a217.js +0 -1908
- package/dist/esm/floating-ui-5071a217.js.map +0 -1
- package/dist/esm/focusTrapComponent-f400d9c9.js +0 -1015
- package/dist/esm/focusTrapComponent-f400d9c9.js.map +0 -1
- package/dist/esm/form-b4c4d406.js +0 -249
- package/dist/esm/form-b4c4d406.js.map +0 -1
- package/dist/esm/fr-097d00cf.js +0 -68
- package/dist/esm/fr-097d00cf.js.map +0 -1
- package/dist/esm/fr-ch-dfbd0855.js +0 -66
- package/dist/esm/fr-ch-dfbd0855.js.map +0 -1
- package/dist/esm/guid-28e3fe65.js +0 -21
- package/dist/esm/guid-28e3fe65.js.map +0 -1
- package/dist/esm/he-5aa0572e.js +0 -105
- package/dist/esm/he-5aa0572e.js.map +0 -1
- package/dist/esm/hi-de2bd55b.js +0 -65
- package/dist/esm/hi-de2bd55b.js.map +0 -1
- package/dist/esm/hr-e5e95866.js +0 -80
- package/dist/esm/hr-e5e95866.js.map +0 -1
- package/dist/esm/hu-bcfa8209.js +0 -88
- package/dist/esm/hu-bcfa8209.js.map +0 -1
- package/dist/esm/id-1b33d290.js +0 -66
- package/dist/esm/id-1b33d290.js.map +0 -1
- package/dist/esm/index-3150c792.js +0 -206
- package/dist/esm/index-3150c792.js.map +0 -1
- package/dist/esm/index-9826a6f5.js +0 -2620
- package/dist/esm/index-9826a6f5.js.map +0 -1
- package/dist/esm/index-f3e80e21.js +0 -73
- package/dist/esm/index-f3e80e21.js.map +0 -1
- package/dist/esm/interactive-9224b7a0.js +0 -139
- package/dist/esm/interactive-9224b7a0.js.map +0 -1
- package/dist/esm/it-5da853c7.js +0 -66
- package/dist/esm/it-5da853c7.js.map +0 -1
- package/dist/esm/it-ch-1ae3dcc0.js +0 -66
- package/dist/esm/it-ch-1ae3dcc0.js.map +0 -1
- package/dist/esm/ja-b673de23.js +0 -72
- package/dist/esm/ja-b673de23.js.map +0 -1
- package/dist/esm/key-cd6614cf.js +0 -13
- package/dist/esm/key-cd6614cf.js.map +0 -1
- package/dist/esm/ko-4b26e3fc.js +0 -72
- package/dist/esm/ko-4b26e3fc.js.map +0 -1
- package/dist/esm/label-fb2922a7.js +0 -176
- package/dist/esm/label-fb2922a7.js.map +0 -1
- package/dist/esm/loadable-3e7301e8.js +0 -86
- package/dist/esm/loadable-3e7301e8.js.map +0 -1
- package/dist/esm/locale-a8935116.js +0 -563
- package/dist/esm/locale-a8935116.js.map +0 -1
- package/dist/esm/lt-5f59d6f3.js +0 -97
- package/dist/esm/lt-5f59d6f3.js.map +0 -1
- package/dist/esm/lv-3c03c8ea.js +0 -66
- package/dist/esm/lv-3c03c8ea.js.map +0 -1
- package/dist/esm/math-44d08572.js +0 -51
- package/dist/esm/math-44d08572.js.map +0 -1
- package/dist/esm/mk-15702009.js +0 -66
- package/dist/esm/mk-15702009.js.map +0 -1
- package/dist/esm/nb-a3508598.js +0 -67
- package/dist/esm/nb-a3508598.js.map +0 -1
- package/dist/esm/nl-71448a23.js +0 -67
- package/dist/esm/nl-71448a23.js.map +0 -1
- package/dist/esm/observers-fbd7b543.js +0 -48
- package/dist/esm/observers-fbd7b543.js.map +0 -1
- package/dist/esm/openCloseComponent-bc8be48f.js +0 -87
- package/dist/esm/openCloseComponent-bc8be48f.js.map +0 -1
- package/dist/esm/pl-8e254491.js +0 -114
- package/dist/esm/pl-8e254491.js.map +0 -1
- package/dist/esm/pt-bd882d7b.js +0 -67
- package/dist/esm/pt-bd882d7b.js.map +0 -1
- package/dist/esm/pt-br-6db10319.js +0 -65
- package/dist/esm/pt-br-6db10319.js.map +0 -1
- package/dist/esm/resources-1035ff61.js +0 -45
- package/dist/esm/resources-1035ff61.js.map +0 -1
- package/dist/esm/resources-6fba0075.js +0 -21
- package/dist/esm/resources-6fba0075.js.map +0 -1
- package/dist/esm/resources-912f1a4c.js +0 -23
- package/dist/esm/resources-912f1a4c.js.map +0 -1
- package/dist/esm/resources-a8c9f57b.js +0 -25
- package/dist/esm/resources-a8c9f57b.js.map +0 -1
- package/dist/esm/resources-add91c2f.js +0 -17
- package/dist/esm/resources-add91c2f.js.map +0 -1
- package/dist/esm/resources-dd7b77ce.js +0 -387
- package/dist/esm/resources-dd7b77ce.js.map +0 -1
- package/dist/esm/resources-eabbd5e7.js +0 -19
- package/dist/esm/resources-eabbd5e7.js.map +0 -1
- package/dist/esm/ro-77396fa5.js +0 -66
- package/dist/esm/ro-77396fa5.js.map +0 -1
- package/dist/esm/ru-f3387845.js +0 -126
- package/dist/esm/ru-f3387845.js.map +0 -1
- package/dist/esm/sk-c650abc2.js +0 -148
- package/dist/esm/sk-c650abc2.js.map +0 -1
- package/dist/esm/sl-bee894be.js +0 -168
- package/dist/esm/sl-bee894be.js.map +0 -1
- package/dist/esm/sortableComponent-0e67e900.js +0 -2735
- package/dist/esm/sortableComponent-0e67e900.js.map +0 -1
- package/dist/esm/sr-29f41cca.js +0 -101
- package/dist/esm/sr-29f41cca.js.map +0 -1
- package/dist/esm/sv-3faca763.js +0 -71
- package/dist/esm/sv-3faca763.js.map +0 -1
- package/dist/esm/t9n-b13b59aa.js +0 -92
- package/dist/esm/t9n-b13b59aa.js.map +0 -1
- package/dist/esm/th-446172f1.js +0 -65
- package/dist/esm/th-446172f1.js.map +0 -1
- package/dist/esm/throttle-ed211e8e.js +0 -75
- package/dist/esm/throttle-ed211e8e.js.map +0 -1
- package/dist/esm/tr-d13d9e83.js +0 -66
- package/dist/esm/tr-d13d9e83.js.map +0 -1
- package/dist/esm/uk-1238c145.js +0 -104
- package/dist/esm/uk-1238c145.js.map +0 -1
- package/dist/esm/utils-24fe1ed7.js +0 -200
- package/dist/esm/utils-24fe1ed7.js.map +0 -1
- package/dist/esm/utils-7db41fe6.js +0 -289
- package/dist/esm/utils-7db41fe6.js.map +0 -1
- package/dist/esm/vi-820613c4.js +0 -70
- package/dist/esm/vi-820613c4.js.map +0 -1
- package/dist/esm/zh-cn-00769384.js +0 -94
- package/dist/esm/zh-cn-00769384.js.map +0 -1
- package/dist/esm/zh-hk-df971eeb.js +0 -71
- package/dist/esm/zh-hk-df971eeb.js.map +0 -1
- package/dist/esm/zh-tw-f61c0e27.js +0 -92
- package/dist/esm/zh-tw-f61c0e27.js.map +0 -1
- /package/dist/calcite/{p-2e2cedda.entry.js.map → p-00ec3b40.entry.js.map} +0 -0
- /package/dist/calcite/{p-06476721.entry.js.map → p-01d0b79e.entry.js.map} +0 -0
- /package/dist/calcite/{p-904be5f8.js.map → p-03514f40.js.map} +0 -0
- /package/dist/calcite/{p-2edf4b61.entry.js.map → p-09d785b7.entry.js.map} +0 -0
- /package/dist/calcite/{p-bc5caa0a.entry.js.map → p-0a21ae9a.entry.js.map} +0 -0
- /package/dist/calcite/{p-3f0c1a1b.entry.js.map → p-0c74332d.entry.js.map} +0 -0
- /package/dist/calcite/{p-064f0f08.js.map → p-10ce1025.js.map} +0 -0
- /package/dist/calcite/{p-f7268024.entry.js.map → p-12b96fb7.entry.js.map} +0 -0
- /package/dist/calcite/{p-baae7d2e.js.map → p-1457e761.js.map} +0 -0
- /package/dist/calcite/{p-9a9521de.js.map → p-156ce16b.js.map} +0 -0
- /package/dist/calcite/{p-e003995f.js.map → p-163b702a.js.map} +0 -0
- /package/dist/calcite/{p-34b05cbe.js.map → p-17d1b050.js.map} +0 -0
- /package/dist/calcite/{p-7543ca5b.js.map → p-1844f3c8.js.map} +0 -0
- /package/dist/calcite/{p-22b8e45c.entry.js.map → p-1adc319c.entry.js.map} +0 -0
- /package/dist/calcite/{p-d6110847.js.map → p-1ebf9938.js.map} +0 -0
- /package/dist/calcite/{p-cca3d8e3.js.map → p-2074af32.js.map} +0 -0
- /package/dist/calcite/{p-33af7fcf.entry.js.map → p-227cf9b0.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e7eb977.js.map → p-23373769.js.map} +0 -0
- /package/dist/calcite/{p-91a5aae5.js.map → p-26555df5.js.map} +0 -0
- /package/dist/calcite/{p-3ae305ac.entry.js.map → p-2898f4e3.entry.js.map} +0 -0
- /package/dist/calcite/{p-88d01a69.js.map → p-2b228bdb.js.map} +0 -0
- /package/dist/calcite/{p-127b631c.js.map → p-2ec1ae1f.js.map} +0 -0
- /package/dist/calcite/{p-26881613.entry.js.map → p-330dcff5.entry.js.map} +0 -0
- /package/dist/calcite/{p-a0f3f6ac.js.map → p-336ecede.js.map} +0 -0
- /package/dist/calcite/{p-c0595915.js.map → p-3401e225.js.map} +0 -0
- /package/dist/calcite/{p-4d45b4ec.js.map → p-35de244d.js.map} +0 -0
- /package/dist/calcite/{p-30eb660a.entry.js.map → p-39154db7.entry.js.map} +0 -0
- /package/dist/calcite/{p-3872cdff.js.map → p-3a1532df.js.map} +0 -0
- /package/dist/calcite/{p-65ce72af.js.map → p-3b24c890.js.map} +0 -0
- /package/dist/calcite/{p-08fb9762.entry.js.map → p-3e5298b9.entry.js.map} +0 -0
- /package/dist/calcite/{p-38493b6a.js.map → p-3e5dfc05.js.map} +0 -0
- /package/dist/calcite/{p-727b0e83.js.map → p-41186de8.js.map} +0 -0
- /package/dist/calcite/{p-da020626.js.map → p-465e3b6d.js.map} +0 -0
- /package/dist/calcite/{p-430a5646.js.map → p-47351c6c.js.map} +0 -0
- /package/dist/calcite/{p-83547032.entry.js.map → p-4d033e97.entry.js.map} +0 -0
- /package/dist/calcite/{p-7bac6b46.js.map → p-4f1be9a0.js.map} +0 -0
- /package/dist/calcite/{p-0c7e1a3b.entry.js.map → p-4faeec71.entry.js.map} +0 -0
- /package/dist/calcite/{p-47689c90.js.map → p-500c21e3.js.map} +0 -0
- /package/dist/calcite/{p-8ba67eff.entry.js.map → p-5034f6c2.entry.js.map} +0 -0
- /package/dist/calcite/{p-1a02138f.js.map → p-5078829f.js.map} +0 -0
- /package/dist/calcite/{p-1817d190.entry.js.map → p-589c83ff.entry.js.map} +0 -0
- /package/dist/calcite/{p-ffda9d68.js.map → p-58c39dbe.js.map} +0 -0
- /package/dist/calcite/{p-e7fd75a4.js.map → p-5a5e4703.js.map} +0 -0
- /package/dist/calcite/{p-4da38535.entry.js.map → p-5bf1aaca.entry.js.map} +0 -0
- /package/dist/calcite/{p-87415bef.js.map → p-6111ea41.js.map} +0 -0
- /package/dist/calcite/{p-01375993.js.map → p-61532044.js.map} +0 -0
- /package/dist/calcite/{p-08a784ac.entry.js.map → p-62abf6e6.entry.js.map} +0 -0
- /package/dist/calcite/{p-0bba21d0.js.map → p-677fb004.js.map} +0 -0
- /package/dist/calcite/{p-12f8943c.js.map → p-686c4ba3.js.map} +0 -0
- /package/dist/calcite/{p-137d2def.js.map → p-68c09996.js.map} +0 -0
- /package/dist/calcite/{p-67ea6144.js.map → p-68edde72.js.map} +0 -0
- /package/dist/calcite/{p-fd324a68.entry.js.map → p-6afafcdf.entry.js.map} +0 -0
- /package/dist/calcite/{p-e3c95268.entry.js.map → p-6ba850dc.entry.js.map} +0 -0
- /package/dist/calcite/{p-326bd437.entry.js.map → p-6d1e0c66.entry.js.map} +0 -0
- /package/dist/calcite/{p-1d43baed.js.map → p-6e961f06.js.map} +0 -0
- /package/dist/calcite/{p-c56cfdf3.js.map → p-70314047.js.map} +0 -0
- /package/dist/calcite/{p-6e319790.entry.js.map → p-70721e8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-48317d63.js.map → p-7183efb5.js.map} +0 -0
- /package/dist/calcite/{p-9306d022.js.map → p-72a3e0eb.js.map} +0 -0
- /package/dist/calcite/{p-00562149.js.map → p-739a6b48.js.map} +0 -0
- /package/dist/calcite/{p-4a6c0ecd.js.map → p-788b097d.js.map} +0 -0
- /package/dist/calcite/{p-03492dd4.entry.js.map → p-797435e3.entry.js.map} +0 -0
- /package/dist/calcite/{p-edacb36f.js.map → p-842853b7.js.map} +0 -0
- /package/dist/calcite/{p-53cf1fbc.js.map → p-85c787c9.js.map} +0 -0
- /package/dist/calcite/{p-db444d57.js.map → p-877022f2.js.map} +0 -0
- /package/dist/calcite/{p-c34f50cd.js.map → p-8c2c7db0.js.map} +0 -0
- /package/dist/calcite/{p-9a7e6205.js.map → p-902b3ccb.js.map} +0 -0
- /package/dist/calcite/{p-4344e12b.entry.js.map → p-918685db.entry.js.map} +0 -0
- /package/dist/calcite/{p-29f77175.js.map → p-966ff128.js.map} +0 -0
- /package/dist/calcite/{p-45c88ddd.js.map → p-9a7772a1.js.map} +0 -0
- /package/dist/calcite/{p-6779d45a.js.map → p-9bf4a131.js.map} +0 -0
- /package/dist/calcite/{p-66807f8a.js.map → p-9cf924a8.js.map} +0 -0
- /package/dist/calcite/{p-4f9cdea0.js.map → p-9d1c5523.js.map} +0 -0
- /package/dist/calcite/{p-93d1635f.js.map → p-9f9f2610.js.map} +0 -0
- /package/dist/calcite/{p-5e9d5d9f.js.map → p-a4b20142.js.map} +0 -0
- /package/dist/calcite/{p-6721fc73.js.map → p-a5afbe13.js.map} +0 -0
- /package/dist/calcite/{p-55f68566.entry.js.map → p-a7392021.entry.js.map} +0 -0
- /package/dist/calcite/{p-64bdb317.js.map → p-a9907b09.js.map} +0 -0
- /package/dist/calcite/{p-3d3ae505.js.map → p-aa046ae1.js.map} +0 -0
- /package/dist/calcite/{p-2d1688b5.entry.js.map → p-aaedee41.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e822d0a.js.map → p-ab8333f4.js.map} +0 -0
- /package/dist/calcite/{p-a5510bb7.entry.js.map → p-ac2a91d8.entry.js.map} +0 -0
- /package/dist/calcite/{p-85571568.entry.js.map → p-aec9f331.entry.js.map} +0 -0
- /package/dist/calcite/{p-20b2ae04.entry.js.map → p-af245c96.entry.js.map} +0 -0
- /package/dist/calcite/{p-e4c8c237.js.map → p-b0dcf746.js.map} +0 -0
- /package/dist/calcite/{p-6135907c.js.map → p-b1270b80.js.map} +0 -0
- /package/dist/calcite/{p-ea037ba0.entry.js.map → p-b217290a.entry.js.map} +0 -0
- /package/dist/calcite/{p-c6d3ba8a.js.map → p-b2cdfa31.js.map} +0 -0
- /package/dist/calcite/{p-c8fc62e5.entry.js.map → p-b2e233de.entry.js.map} +0 -0
- /package/dist/calcite/{p-877d4d5b.js.map → p-b5c8e70f.js.map} +0 -0
- /package/dist/calcite/{p-c3126a1c.js.map → p-b936e0ca.js.map} +0 -0
- /package/dist/calcite/{p-bd93168e.js.map → p-bbca2939.js.map} +0 -0
- /package/dist/calcite/{p-c43eabbe.js.map → p-c21996d8.js.map} +0 -0
- /package/dist/calcite/{p-e080003c.js.map → p-c3d8dcdc.js.map} +0 -0
- /package/dist/calcite/{p-dd2f1ccf.entry.js.map → p-c3e9f361.entry.js.map} +0 -0
- /package/dist/calcite/{p-885936ba.entry.js.map → p-cbcc479a.entry.js.map} +0 -0
- /package/dist/calcite/{p-f64597ef.entry.js.map → p-cbededa0.entry.js.map} +0 -0
- /package/dist/calcite/{p-9b7a0f7a.entry.js.map → p-ccece29c.entry.js.map} +0 -0
- /package/dist/calcite/{p-37f5293c.js.map → p-ced06054.js.map} +0 -0
- /package/dist/calcite/{p-9517daa5.js.map → p-cf3f540f.js.map} +0 -0
- /package/dist/calcite/{p-230ddf20.entry.js.map → p-cfd360ee.entry.js.map} +0 -0
- /package/dist/calcite/{p-26960e4c.js.map → p-d3627cbd.js.map} +0 -0
- /package/dist/calcite/{p-cc05a377.entry.js.map → p-d3e40740.entry.js.map} +0 -0
- /package/dist/calcite/{p-84190c9d.entry.js.map → p-d7e01f48.entry.js.map} +0 -0
- /package/dist/calcite/{p-843ee8a4.js.map → p-d8425f1b.js.map} +0 -0
- /package/dist/calcite/{p-0c36d3cd.entry.js.map → p-d88fafe2.entry.js.map} +0 -0
- /package/dist/calcite/{p-7f640e50.entry.js.map → p-d94d869b.entry.js.map} +0 -0
- /package/dist/calcite/{p-1c6ebe7b.js.map → p-d962db95.js.map} +0 -0
- /package/dist/calcite/{p-af2e8eba.js.map → p-da68df06.js.map} +0 -0
- /package/dist/calcite/{p-c0741d59.js.map → p-dc287520.js.map} +0 -0
- /package/dist/calcite/{p-727fd8fa.js.map → p-de939342.js.map} +0 -0
- /package/dist/calcite/{p-df388a30.entry.js.map → p-e04bf743.entry.js.map} +0 -0
- /package/dist/calcite/{p-8884f00a.js.map → p-e3e91631.js.map} +0 -0
- /package/dist/calcite/{p-faac5552.js.map → p-e54d80ea.js.map} +0 -0
- /package/dist/calcite/{p-13955780.js.map → p-e57c8997.js.map} +0 -0
- /package/dist/calcite/{p-1aef2454.js.map → p-e7a19067.js.map} +0 -0
- /package/dist/calcite/{p-61ccebf8.entry.js.map → p-e86d6fe4.entry.js.map} +0 -0
- /package/dist/calcite/{p-6e5b1ef3.js.map → p-e941de73.js.map} +0 -0
- /package/dist/calcite/{p-66590f6a.js.map → p-ecbf8738.js.map} +0 -0
- /package/dist/calcite/{p-1bc39d92.entry.js.map → p-ecf5974f.entry.js.map} +0 -0
- /package/dist/calcite/{p-bf84c797.js.map → p-ed0d2d66.js.map} +0 -0
- /package/dist/calcite/{p-a134f3fd.js.map → p-eda07208.js.map} +0 -0
- /package/dist/calcite/{p-811d855d.js.map → p-eee1c1ae.js.map} +0 -0
- /package/dist/calcite/{p-f46496d8.js.map → p-f08765e4.js.map} +0 -0
- /package/dist/calcite/{p-7e65832e.js.map → p-f13c04dd.js.map} +0 -0
- /package/dist/calcite/{p-ced5bc8d.js.map → p-f2055d6b.js.map} +0 -0
- /package/dist/calcite/{p-8109d55a.entry.js.map → p-f374ba4d.entry.js.map} +0 -0
- /package/dist/calcite/{p-94aa0361.js.map → p-f584d2fa.js.map} +0 -0
- /package/dist/calcite/{p-fbe5b95e.entry.js.map → p-f79d4f9e.entry.js.map} +0 -0
- /package/dist/calcite/{p-76178830.entry.js.map → p-f79fe807.entry.js.map} +0 -0
- /package/dist/calcite/{p-db1dd382.js.map → p-f800b560.js.map} +0 -0
- /package/dist/calcite/{p-106d3278.js.map → p-f90759a5.js.map} +0 -0
- /package/dist/calcite/{p-67e9ba0c.js.map → p-fd1568c2.js.map} +0 -0
- /package/dist/calcite/{p-6d5c0a3d.js.map → p-fd727f3e.js.map} +0 -0
|
@@ -1,2914 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.10
|
|
5
|
-
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9826a6f5.js';
|
|
7
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-b4c4d406.js';
|
|
8
|
-
import { g as guid } from './guid-28e3fe65.js';
|
|
9
|
-
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive-9224b7a0.js';
|
|
10
|
-
import { n as numberKeys } from './key-cd6614cf.js';
|
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-fb2922a7.js';
|
|
12
|
-
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-3e7301e8.js';
|
|
13
|
-
import { n as numberStringFormatter, e as getDateTimeFormat, i as isValidNumber, b as getSupportedNumberingSystem, g as getSupportedLocale, c as connectLocalized, d as disconnectLocalized } from './locale-a8935116.js';
|
|
14
|
-
import { d as deactivateFocusTrap, a as activateFocusTrap, c as connectFocusTrap } from './focusTrapComponent-f400d9c9.js';
|
|
15
|
-
import { d as decimalPlaces, g as getDecimals } from './math-44d08572.js';
|
|
16
|
-
import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-b13b59aa.js';
|
|
17
|
-
import { o as onToggleOpenCloseComponent } from './openCloseComponent-bc8be48f.js';
|
|
18
|
-
import { g as getIconScale } from './component-a9172c50.js';
|
|
19
|
-
import { V as Validation } from './Validation-951e000c.js';
|
|
20
|
-
|
|
21
|
-
const maxTenthForMinuteAndSecond = 5;
|
|
22
|
-
function createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds = true, fractionalSecondDigits) {
|
|
23
|
-
const options = {
|
|
24
|
-
hour: "2-digit",
|
|
25
|
-
minute: "2-digit",
|
|
26
|
-
timeZone: "UTC",
|
|
27
|
-
numberingSystem: getSupportedNumberingSystem(numberingSystem),
|
|
28
|
-
};
|
|
29
|
-
if (includeSeconds) {
|
|
30
|
-
options.second = "2-digit";
|
|
31
|
-
if (fractionalSecondDigits) {
|
|
32
|
-
options.fractionalSecondDigits = fractionalSecondDigits;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return getDateTimeFormat(locale, options);
|
|
36
|
-
}
|
|
37
|
-
function formatTimePart(number, minLength) {
|
|
38
|
-
if (number === null || number === undefined) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
const numberAsString = number.toString();
|
|
42
|
-
const numberDecimalPlaces = decimalPlaces(number);
|
|
43
|
-
if (number < 1 && numberDecimalPlaces > 0 && numberDecimalPlaces < 4) {
|
|
44
|
-
const fractionalDigits = numberAsString.replace("0.", "");
|
|
45
|
-
if (!minLength || fractionalDigits.length === minLength) {
|
|
46
|
-
return fractionalDigits;
|
|
47
|
-
}
|
|
48
|
-
if (fractionalDigits.length < minLength) {
|
|
49
|
-
return fractionalDigits.padEnd(minLength, "0");
|
|
50
|
-
}
|
|
51
|
-
return fractionalDigits;
|
|
52
|
-
}
|
|
53
|
-
if (number >= 0 && number < 10) {
|
|
54
|
-
return numberAsString.padStart(2, "0");
|
|
55
|
-
}
|
|
56
|
-
if (number >= 10) {
|
|
57
|
-
return numberAsString;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
function formatTimeString(value) {
|
|
61
|
-
if (!isValidTime(value)) {
|
|
62
|
-
return null;
|
|
63
|
-
}
|
|
64
|
-
const { hour, minute, second, fractionalSecond } = parseTimeString(value);
|
|
65
|
-
let formattedValue = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
|
|
66
|
-
if (second) {
|
|
67
|
-
formattedValue += `:${formatTimePart(parseInt(second))}`;
|
|
68
|
-
if (fractionalSecond) {
|
|
69
|
-
formattedValue += `.${fractionalSecond}`;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
return formattedValue;
|
|
73
|
-
}
|
|
74
|
-
function fractionalSecondPartToMilliseconds(fractionalSecondPart) {
|
|
75
|
-
return parseInt((parseFloat(`0.${fractionalSecondPart}`) / 0.001).toFixed(3));
|
|
76
|
-
}
|
|
77
|
-
function getLocaleHourCycle(locale, numberingSystem) {
|
|
78
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
79
|
-
const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
|
|
80
|
-
return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
|
|
81
|
-
}
|
|
82
|
-
function getLocalizedDecimalSeparator(locale, numberingSystem) {
|
|
83
|
-
numberStringFormatter.numberFormatOptions = {
|
|
84
|
-
locale,
|
|
85
|
-
numberingSystem,
|
|
86
|
-
};
|
|
87
|
-
return numberStringFormatter.localize("1.1").split("")[1];
|
|
88
|
-
}
|
|
89
|
-
function getLocalizedTimePartSuffix(part, locale, numberingSystem = "latn") {
|
|
90
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
91
|
-
const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
|
|
92
|
-
return getLocalizedTimePart(`${part}Suffix`, parts);
|
|
93
|
-
}
|
|
94
|
-
function getLocalizedTimePart(part, parts) {
|
|
95
|
-
if (!part || !parts) {
|
|
96
|
-
return null;
|
|
97
|
-
}
|
|
98
|
-
if (part === "hourSuffix") {
|
|
99
|
-
const hourIndex = parts.indexOf(parts.find(({ type }) => type === "hour"));
|
|
100
|
-
const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
|
|
101
|
-
const hourSuffix = parts[hourIndex + 1];
|
|
102
|
-
return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
|
|
103
|
-
? hourSuffix.value?.trim() || null
|
|
104
|
-
: null;
|
|
105
|
-
}
|
|
106
|
-
if (part === "minuteSuffix") {
|
|
107
|
-
const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
|
|
108
|
-
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
109
|
-
const minuteSuffix = parts[minuteIndex + 1];
|
|
110
|
-
return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
|
|
111
|
-
? minuteSuffix.value?.trim() || null
|
|
112
|
-
: null;
|
|
113
|
-
}
|
|
114
|
-
if (part === "secondSuffix") {
|
|
115
|
-
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
116
|
-
const secondSuffix = parts[secondIndex + 1];
|
|
117
|
-
return secondSuffix && secondSuffix.type === "literal" ? secondSuffix.value?.trim() || null : null;
|
|
118
|
-
}
|
|
119
|
-
return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
|
|
120
|
-
}
|
|
121
|
-
function getMeridiem(hour) {
|
|
122
|
-
if (!isValidNumber(hour)) {
|
|
123
|
-
return null;
|
|
124
|
-
}
|
|
125
|
-
const hourAsNumber = parseInt(hour);
|
|
126
|
-
return hourAsNumber >= 0 && hourAsNumber <= 11 ? "AM" : "PM";
|
|
127
|
-
}
|
|
128
|
-
function isValidTime(value) {
|
|
129
|
-
if (!value || value.startsWith(":") || value.endsWith(":")) {
|
|
130
|
-
return false;
|
|
131
|
-
}
|
|
132
|
-
const splitValue = value.split(":");
|
|
133
|
-
const validLength = splitValue.length > 1 && splitValue.length < 4;
|
|
134
|
-
if (!validLength) {
|
|
135
|
-
return false;
|
|
136
|
-
}
|
|
137
|
-
const [hour, minute, second] = splitValue;
|
|
138
|
-
const hourAsNumber = parseInt(splitValue[0]);
|
|
139
|
-
const minuteAsNumber = parseInt(splitValue[1]);
|
|
140
|
-
const secondAsNumber = parseInt(splitValue[2]);
|
|
141
|
-
const hourValid = isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
|
|
142
|
-
const minuteValid = isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
|
|
143
|
-
const secondValid = isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
|
|
144
|
-
if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
|
|
145
|
-
return true;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
function isValidTimePart(value, part) {
|
|
149
|
-
if (part === "meridiem") {
|
|
150
|
-
return value === "AM" || value === "PM";
|
|
151
|
-
}
|
|
152
|
-
if (!isValidNumber(value)) {
|
|
153
|
-
return false;
|
|
154
|
-
}
|
|
155
|
-
const valueAsNumber = Number(value);
|
|
156
|
-
return part === "hour" ? valueAsNumber >= 0 && valueAsNumber < 24 : valueAsNumber >= 0 && valueAsNumber < 60;
|
|
157
|
-
}
|
|
158
|
-
function localizeTimePart({ value, part, locale, numberingSystem }) {
|
|
159
|
-
if (part === "fractionalSecond") {
|
|
160
|
-
const localizedDecimalSeparator = getLocalizedDecimalSeparator(locale, numberingSystem);
|
|
161
|
-
let localizedFractionalSecond = null;
|
|
162
|
-
if (value) {
|
|
163
|
-
numberStringFormatter.numberFormatOptions = {
|
|
164
|
-
locale,
|
|
165
|
-
numberingSystem,
|
|
166
|
-
};
|
|
167
|
-
const localizedZero = numberStringFormatter.localize("0");
|
|
168
|
-
if (parseInt(value) === 0) {
|
|
169
|
-
localizedFractionalSecond = "".padStart(value.length, localizedZero);
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
localizedFractionalSecond = numberStringFormatter
|
|
173
|
-
.localize(`0.${value}`)
|
|
174
|
-
.replace(`${localizedZero}${localizedDecimalSeparator}`, "");
|
|
175
|
-
if (localizedFractionalSecond.length < value.length) {
|
|
176
|
-
localizedFractionalSecond = localizedFractionalSecond.padEnd(value.length, localizedZero);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
return localizedFractionalSecond;
|
|
181
|
-
}
|
|
182
|
-
if (!isValidTimePart(value, part)) {
|
|
183
|
-
return;
|
|
184
|
-
}
|
|
185
|
-
const valueAsNumber = parseInt(value);
|
|
186
|
-
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));
|
|
187
|
-
if (!date) {
|
|
188
|
-
return;
|
|
189
|
-
}
|
|
190
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
191
|
-
const parts = formatter.formatToParts(date);
|
|
192
|
-
return getLocalizedTimePart(part, parts);
|
|
193
|
-
}
|
|
194
|
-
function localizeTimeString({ value, locale, numberingSystem, includeSeconds = true, fractionalSecondDigits, }) {
|
|
195
|
-
if (!isValidTime(value)) {
|
|
196
|
-
return null;
|
|
197
|
-
}
|
|
198
|
-
const { hour, minute, second = "0", fractionalSecond } = parseTimeString(value);
|
|
199
|
-
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second), fractionalSecond && fractionalSecondPartToMilliseconds(fractionalSecond)));
|
|
200
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds, fractionalSecondDigits);
|
|
201
|
-
return formatter.format(dateFromTimeString) || null;
|
|
202
|
-
}
|
|
203
|
-
function localizeTimeStringToParts({ value, locale, numberingSystem = "latn", }) {
|
|
204
|
-
if (!isValidTime(value)) {
|
|
205
|
-
return null;
|
|
206
|
-
}
|
|
207
|
-
const { hour, minute, second = "0", fractionalSecond } = parseTimeString(value);
|
|
208
|
-
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
209
|
-
if (dateFromTimeString) {
|
|
210
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
211
|
-
const parts = formatter.formatToParts(dateFromTimeString);
|
|
212
|
-
return {
|
|
213
|
-
localizedHour: getLocalizedTimePart("hour", parts),
|
|
214
|
-
localizedHourSuffix: getLocalizedTimePart("hourSuffix", parts),
|
|
215
|
-
localizedMinute: getLocalizedTimePart("minute", parts),
|
|
216
|
-
localizedMinuteSuffix: getLocalizedTimePart("minuteSuffix", parts),
|
|
217
|
-
localizedSecond: getLocalizedTimePart("second", parts),
|
|
218
|
-
localizedDecimalSeparator: getLocalizedDecimalSeparator(locale, numberingSystem),
|
|
219
|
-
localizedFractionalSecond: localizeTimePart({
|
|
220
|
-
value: fractionalSecond,
|
|
221
|
-
part: "fractionalSecond",
|
|
222
|
-
locale,
|
|
223
|
-
numberingSystem,
|
|
224
|
-
}),
|
|
225
|
-
localizedSecondSuffix: getLocalizedTimePart("secondSuffix", parts),
|
|
226
|
-
localizedMeridiem: getLocalizedTimePart("meridiem", parts),
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
return null;
|
|
230
|
-
}
|
|
231
|
-
function getTimeParts({ value, locale, numberingSystem }) {
|
|
232
|
-
if (!isValidTime(value)) {
|
|
233
|
-
return null;
|
|
234
|
-
}
|
|
235
|
-
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
236
|
-
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
237
|
-
if (dateFromTimeString) {
|
|
238
|
-
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
239
|
-
const parts = formatter.formatToParts(dateFromTimeString);
|
|
240
|
-
return parts;
|
|
241
|
-
}
|
|
242
|
-
return null;
|
|
243
|
-
}
|
|
244
|
-
function parseTimeString(value) {
|
|
245
|
-
if (isValidTime(value)) {
|
|
246
|
-
const [hour, minute, secondDecimal] = value.split(":");
|
|
247
|
-
let second = secondDecimal;
|
|
248
|
-
let fractionalSecond = null;
|
|
249
|
-
if (secondDecimal?.includes(".")) {
|
|
250
|
-
[second, fractionalSecond] = secondDecimal.split(".");
|
|
251
|
-
}
|
|
252
|
-
return {
|
|
253
|
-
fractionalSecond,
|
|
254
|
-
hour,
|
|
255
|
-
minute,
|
|
256
|
-
second,
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
return {
|
|
260
|
-
fractionalSecond: null,
|
|
261
|
-
hour: null,
|
|
262
|
-
minute: null,
|
|
263
|
-
second: null,
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
function toISOTimeString(value, includeSeconds = true) {
|
|
267
|
-
if (!isValidTime(value)) {
|
|
268
|
-
return "";
|
|
269
|
-
}
|
|
270
|
-
const { hour, minute, second, fractionalSecond } = parseTimeString(value);
|
|
271
|
-
let isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
|
|
272
|
-
if (includeSeconds) {
|
|
273
|
-
isoTimeString += `:${formatTimePart(parseInt((includeSeconds && second) || "0"))}`;
|
|
274
|
-
if (fractionalSecond) {
|
|
275
|
-
isoTimeString += `.${fractionalSecond}`;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
return isoTimeString;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
const CSS$1 = {
|
|
282
|
-
toggleIcon: "toggle-icon",
|
|
283
|
-
};
|
|
284
|
-
|
|
285
|
-
var SECONDS_A_MINUTE = 60;
|
|
286
|
-
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
|
287
|
-
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
|
288
|
-
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
|
289
|
-
var MILLISECONDS_A_SECOND = 1e3;
|
|
290
|
-
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
|
291
|
-
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
|
292
|
-
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
|
293
|
-
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
|
294
|
-
|
|
295
|
-
var MS = 'millisecond';
|
|
296
|
-
var S = 'second';
|
|
297
|
-
var MIN = 'minute';
|
|
298
|
-
var H = 'hour';
|
|
299
|
-
var D = 'day';
|
|
300
|
-
var W = 'week';
|
|
301
|
-
var M = 'month';
|
|
302
|
-
var Q = 'quarter';
|
|
303
|
-
var Y = 'year';
|
|
304
|
-
var DATE = 'date';
|
|
305
|
-
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
|
306
|
-
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
|
307
|
-
|
|
308
|
-
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
|
309
|
-
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;
|
|
310
|
-
|
|
311
|
-
// English [en]
|
|
312
|
-
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
|
313
|
-
const en = {
|
|
314
|
-
name: 'en',
|
|
315
|
-
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
|
316
|
-
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
|
317
|
-
ordinal: function ordinal(n) {
|
|
318
|
-
var s = ['th', 'st', 'nd', 'rd'];
|
|
319
|
-
var v = n % 100;
|
|
320
|
-
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
|
321
|
-
}
|
|
322
|
-
};
|
|
323
|
-
|
|
324
|
-
const en$1 = /*#__PURE__*/Object.freeze({
|
|
325
|
-
__proto__: null,
|
|
326
|
-
'default': en
|
|
327
|
-
});
|
|
328
|
-
|
|
329
|
-
var padStart = function padStart(string, length, pad) {
|
|
330
|
-
var s = String(string);
|
|
331
|
-
if (!s || s.length >= length) return string;
|
|
332
|
-
return "" + Array(length + 1 - s.length).join(pad) + string;
|
|
333
|
-
};
|
|
334
|
-
|
|
335
|
-
var padZoneStr = function padZoneStr(instance) {
|
|
336
|
-
var negMinutes = -instance.utcOffset();
|
|
337
|
-
var minutes = Math.abs(negMinutes);
|
|
338
|
-
var hourOffset = Math.floor(minutes / 60);
|
|
339
|
-
var minuteOffset = minutes % 60;
|
|
340
|
-
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
|
341
|
-
};
|
|
342
|
-
|
|
343
|
-
var monthDiff = function monthDiff(a, b) {
|
|
344
|
-
// function from moment.js in order to keep the same result
|
|
345
|
-
if (a.date() < b.date()) return -monthDiff(b, a);
|
|
346
|
-
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
|
347
|
-
var anchor = a.clone().add(wholeMonthDiff, M);
|
|
348
|
-
var c = b - anchor < 0;
|
|
349
|
-
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
|
350
|
-
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
|
351
|
-
};
|
|
352
|
-
|
|
353
|
-
var absFloor = function absFloor(n) {
|
|
354
|
-
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
|
355
|
-
};
|
|
356
|
-
|
|
357
|
-
var prettyUnit = function prettyUnit(u) {
|
|
358
|
-
var special = {
|
|
359
|
-
M: M,
|
|
360
|
-
y: Y,
|
|
361
|
-
w: W,
|
|
362
|
-
d: D,
|
|
363
|
-
D: DATE,
|
|
364
|
-
h: H,
|
|
365
|
-
m: MIN,
|
|
366
|
-
s: S,
|
|
367
|
-
ms: MS,
|
|
368
|
-
Q: Q
|
|
369
|
-
};
|
|
370
|
-
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
|
371
|
-
};
|
|
372
|
-
|
|
373
|
-
var isUndefined = function isUndefined(s) {
|
|
374
|
-
return s === undefined;
|
|
375
|
-
};
|
|
376
|
-
|
|
377
|
-
const U = {
|
|
378
|
-
s: padStart,
|
|
379
|
-
z: padZoneStr,
|
|
380
|
-
m: monthDiff,
|
|
381
|
-
a: absFloor,
|
|
382
|
-
p: prettyUnit,
|
|
383
|
-
u: isUndefined
|
|
384
|
-
};
|
|
385
|
-
|
|
386
|
-
var L = 'en'; // global locale
|
|
387
|
-
|
|
388
|
-
var Ls = {}; // global loaded locale
|
|
389
|
-
|
|
390
|
-
Ls[L] = en;
|
|
391
|
-
var IS_DAYJS = '$isDayjsObject'; // eslint-disable-next-line no-use-before-define
|
|
392
|
-
|
|
393
|
-
var isDayjs = function isDayjs(d) {
|
|
394
|
-
return d instanceof Dayjs || !!(d && d[IS_DAYJS]);
|
|
395
|
-
};
|
|
396
|
-
|
|
397
|
-
var parseLocale = function parseLocale(preset, object, isLocal) {
|
|
398
|
-
var l;
|
|
399
|
-
if (!preset) return L;
|
|
400
|
-
|
|
401
|
-
if (typeof preset === 'string') {
|
|
402
|
-
var presetLower = preset.toLowerCase();
|
|
403
|
-
|
|
404
|
-
if (Ls[presetLower]) {
|
|
405
|
-
l = presetLower;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
if (object) {
|
|
409
|
-
Ls[presetLower] = object;
|
|
410
|
-
l = presetLower;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
var presetSplit = preset.split('-');
|
|
414
|
-
|
|
415
|
-
if (!l && presetSplit.length > 1) {
|
|
416
|
-
return parseLocale(presetSplit[0]);
|
|
417
|
-
}
|
|
418
|
-
} else {
|
|
419
|
-
var name = preset.name;
|
|
420
|
-
Ls[name] = preset;
|
|
421
|
-
l = name;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
if (!isLocal && l) L = l;
|
|
425
|
-
return l || !isLocal && L;
|
|
426
|
-
};
|
|
427
|
-
|
|
428
|
-
var dayjs = function dayjs(date, c) {
|
|
429
|
-
if (isDayjs(date)) {
|
|
430
|
-
return date.clone();
|
|
431
|
-
} // eslint-disable-next-line no-nested-ternary
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
var cfg = typeof c === 'object' ? c : {};
|
|
435
|
-
cfg.date = date;
|
|
436
|
-
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
|
437
|
-
|
|
438
|
-
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
|
439
|
-
};
|
|
440
|
-
|
|
441
|
-
var wrapper = function wrapper(date, instance) {
|
|
442
|
-
return dayjs(date, {
|
|
443
|
-
locale: instance.$L,
|
|
444
|
-
utc: instance.$u,
|
|
445
|
-
x: instance.$x,
|
|
446
|
-
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
|
447
|
-
|
|
448
|
-
});
|
|
449
|
-
};
|
|
450
|
-
|
|
451
|
-
var Utils = U; // for plugin use
|
|
452
|
-
|
|
453
|
-
Utils.l = parseLocale;
|
|
454
|
-
Utils.i = isDayjs;
|
|
455
|
-
Utils.w = wrapper;
|
|
456
|
-
|
|
457
|
-
var parseDate = function parseDate(cfg) {
|
|
458
|
-
var date = cfg.date,
|
|
459
|
-
utc = cfg.utc;
|
|
460
|
-
if (date === null) return new Date(NaN); // null is invalid
|
|
461
|
-
|
|
462
|
-
if (Utils.u(date)) return new Date(); // today
|
|
463
|
-
|
|
464
|
-
if (date instanceof Date) return new Date(date);
|
|
465
|
-
|
|
466
|
-
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
|
467
|
-
var d = date.match(REGEX_PARSE);
|
|
468
|
-
|
|
469
|
-
if (d) {
|
|
470
|
-
var m = d[2] - 1 || 0;
|
|
471
|
-
var ms = (d[7] || '0').substring(0, 3);
|
|
472
|
-
|
|
473
|
-
if (utc) {
|
|
474
|
-
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
return new Date(date); // everything else
|
|
482
|
-
};
|
|
483
|
-
|
|
484
|
-
var Dayjs = /*#__PURE__*/function () {
|
|
485
|
-
function Dayjs(cfg) {
|
|
486
|
-
this.$L = parseLocale(cfg.locale, null, true);
|
|
487
|
-
this.parse(cfg); // for plugin
|
|
488
|
-
|
|
489
|
-
this.$x = this.$x || cfg.x || {};
|
|
490
|
-
this[IS_DAYJS] = true;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
var _proto = Dayjs.prototype;
|
|
494
|
-
|
|
495
|
-
_proto.parse = function parse(cfg) {
|
|
496
|
-
this.$d = parseDate(cfg);
|
|
497
|
-
this.init();
|
|
498
|
-
};
|
|
499
|
-
|
|
500
|
-
_proto.init = function init() {
|
|
501
|
-
var $d = this.$d;
|
|
502
|
-
this.$y = $d.getFullYear();
|
|
503
|
-
this.$M = $d.getMonth();
|
|
504
|
-
this.$D = $d.getDate();
|
|
505
|
-
this.$W = $d.getDay();
|
|
506
|
-
this.$H = $d.getHours();
|
|
507
|
-
this.$m = $d.getMinutes();
|
|
508
|
-
this.$s = $d.getSeconds();
|
|
509
|
-
this.$ms = $d.getMilliseconds();
|
|
510
|
-
} // eslint-disable-next-line class-methods-use-this
|
|
511
|
-
;
|
|
512
|
-
|
|
513
|
-
_proto.$utils = function $utils() {
|
|
514
|
-
return Utils;
|
|
515
|
-
};
|
|
516
|
-
|
|
517
|
-
_proto.isValid = function isValid() {
|
|
518
|
-
return !(this.$d.toString() === INVALID_DATE_STRING);
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
_proto.isSame = function isSame(that, units) {
|
|
522
|
-
var other = dayjs(that);
|
|
523
|
-
return this.startOf(units) <= other && other <= this.endOf(units);
|
|
524
|
-
};
|
|
525
|
-
|
|
526
|
-
_proto.isAfter = function isAfter(that, units) {
|
|
527
|
-
return dayjs(that) < this.startOf(units);
|
|
528
|
-
};
|
|
529
|
-
|
|
530
|
-
_proto.isBefore = function isBefore(that, units) {
|
|
531
|
-
return this.endOf(units) < dayjs(that);
|
|
532
|
-
};
|
|
533
|
-
|
|
534
|
-
_proto.$g = function $g(input, get, set) {
|
|
535
|
-
if (Utils.u(input)) return this[get];
|
|
536
|
-
return this.set(set, input);
|
|
537
|
-
};
|
|
538
|
-
|
|
539
|
-
_proto.unix = function unix() {
|
|
540
|
-
return Math.floor(this.valueOf() / 1000);
|
|
541
|
-
};
|
|
542
|
-
|
|
543
|
-
_proto.valueOf = function valueOf() {
|
|
544
|
-
// timezone(hour) * 60 * 60 * 1000 => ms
|
|
545
|
-
return this.$d.getTime();
|
|
546
|
-
};
|
|
547
|
-
|
|
548
|
-
_proto.startOf = function startOf(units, _startOf) {
|
|
549
|
-
var _this = this;
|
|
550
|
-
|
|
551
|
-
// startOf -> endOf
|
|
552
|
-
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
|
553
|
-
var unit = Utils.p(units);
|
|
554
|
-
|
|
555
|
-
var instanceFactory = function instanceFactory(d, m) {
|
|
556
|
-
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
|
557
|
-
return isStartOf ? ins : ins.endOf(D);
|
|
558
|
-
};
|
|
559
|
-
|
|
560
|
-
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
|
561
|
-
var argumentStart = [0, 0, 0, 0];
|
|
562
|
-
var argumentEnd = [23, 59, 59, 999];
|
|
563
|
-
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
|
564
|
-
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
|
565
|
-
};
|
|
566
|
-
|
|
567
|
-
var $W = this.$W,
|
|
568
|
-
$M = this.$M,
|
|
569
|
-
$D = this.$D;
|
|
570
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
571
|
-
|
|
572
|
-
switch (unit) {
|
|
573
|
-
case Y:
|
|
574
|
-
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
|
575
|
-
|
|
576
|
-
case M:
|
|
577
|
-
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
|
578
|
-
|
|
579
|
-
case W:
|
|
580
|
-
{
|
|
581
|
-
var weekStart = this.$locale().weekStart || 0;
|
|
582
|
-
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
|
583
|
-
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
case D:
|
|
587
|
-
case DATE:
|
|
588
|
-
return instanceFactorySet(utcPad + "Hours", 0);
|
|
589
|
-
|
|
590
|
-
case H:
|
|
591
|
-
return instanceFactorySet(utcPad + "Minutes", 1);
|
|
592
|
-
|
|
593
|
-
case MIN:
|
|
594
|
-
return instanceFactorySet(utcPad + "Seconds", 2);
|
|
595
|
-
|
|
596
|
-
case S:
|
|
597
|
-
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
|
598
|
-
|
|
599
|
-
default:
|
|
600
|
-
return this.clone();
|
|
601
|
-
}
|
|
602
|
-
};
|
|
603
|
-
|
|
604
|
-
_proto.endOf = function endOf(arg) {
|
|
605
|
-
return this.startOf(arg, false);
|
|
606
|
-
};
|
|
607
|
-
|
|
608
|
-
_proto.$set = function $set(units, _int) {
|
|
609
|
-
var _C$D$C$DATE$C$M$C$Y$C;
|
|
610
|
-
|
|
611
|
-
// private set
|
|
612
|
-
var unit = Utils.p(units);
|
|
613
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
|
614
|
-
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];
|
|
615
|
-
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
|
616
|
-
|
|
617
|
-
if (unit === M || unit === Y) {
|
|
618
|
-
// clone is for badMutable plugin
|
|
619
|
-
var date = this.clone().set(DATE, 1);
|
|
620
|
-
date.$d[name](arg);
|
|
621
|
-
date.init();
|
|
622
|
-
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
|
623
|
-
} else if (name) this.$d[name](arg);
|
|
624
|
-
|
|
625
|
-
this.init();
|
|
626
|
-
return this;
|
|
627
|
-
};
|
|
628
|
-
|
|
629
|
-
_proto.set = function set(string, _int2) {
|
|
630
|
-
return this.clone().$set(string, _int2);
|
|
631
|
-
};
|
|
632
|
-
|
|
633
|
-
_proto.get = function get(unit) {
|
|
634
|
-
return this[Utils.p(unit)]();
|
|
635
|
-
};
|
|
636
|
-
|
|
637
|
-
_proto.add = function add(number, units) {
|
|
638
|
-
var _this2 = this,
|
|
639
|
-
_C$MIN$C$H$C$S$unit;
|
|
640
|
-
|
|
641
|
-
number = Number(number); // eslint-disable-line no-param-reassign
|
|
642
|
-
|
|
643
|
-
var unit = Utils.p(units);
|
|
644
|
-
|
|
645
|
-
var instanceFactorySet = function instanceFactorySet(n) {
|
|
646
|
-
var d = dayjs(_this2);
|
|
647
|
-
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
|
648
|
-
};
|
|
649
|
-
|
|
650
|
-
if (unit === M) {
|
|
651
|
-
return this.set(M, this.$M + number);
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
if (unit === Y) {
|
|
655
|
-
return this.set(Y, this.$y + number);
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
if (unit === D) {
|
|
659
|
-
return instanceFactorySet(1);
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
if (unit === W) {
|
|
663
|
-
return instanceFactorySet(7);
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
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
|
|
667
|
-
|
|
668
|
-
var nextTimeStamp = this.$d.getTime() + number * step;
|
|
669
|
-
return Utils.w(nextTimeStamp, this);
|
|
670
|
-
};
|
|
671
|
-
|
|
672
|
-
_proto.subtract = function subtract(number, string) {
|
|
673
|
-
return this.add(number * -1, string);
|
|
674
|
-
};
|
|
675
|
-
|
|
676
|
-
_proto.format = function format(formatStr) {
|
|
677
|
-
var _this3 = this;
|
|
678
|
-
|
|
679
|
-
var locale = this.$locale();
|
|
680
|
-
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
|
681
|
-
var str = formatStr || FORMAT_DEFAULT;
|
|
682
|
-
var zoneStr = Utils.z(this);
|
|
683
|
-
var $H = this.$H,
|
|
684
|
-
$m = this.$m,
|
|
685
|
-
$M = this.$M;
|
|
686
|
-
var weekdays = locale.weekdays,
|
|
687
|
-
months = locale.months,
|
|
688
|
-
meridiem = locale.meridiem;
|
|
689
|
-
|
|
690
|
-
var getShort = function getShort(arr, index, full, length) {
|
|
691
|
-
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
|
692
|
-
};
|
|
693
|
-
|
|
694
|
-
var get$H = function get$H(num) {
|
|
695
|
-
return Utils.s($H % 12 || 12, num, '0');
|
|
696
|
-
};
|
|
697
|
-
|
|
698
|
-
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
|
699
|
-
var m = hour < 12 ? 'AM' : 'PM';
|
|
700
|
-
return isLowercase ? m.toLowerCase() : m;
|
|
701
|
-
};
|
|
702
|
-
|
|
703
|
-
var matches = function matches(match) {
|
|
704
|
-
switch (match) {
|
|
705
|
-
case 'YY':
|
|
706
|
-
return String(_this3.$y).slice(-2);
|
|
707
|
-
|
|
708
|
-
case 'YYYY':
|
|
709
|
-
return Utils.s(_this3.$y, 4, '0');
|
|
710
|
-
|
|
711
|
-
case 'M':
|
|
712
|
-
return $M + 1;
|
|
713
|
-
|
|
714
|
-
case 'MM':
|
|
715
|
-
return Utils.s($M + 1, 2, '0');
|
|
716
|
-
|
|
717
|
-
case 'MMM':
|
|
718
|
-
return getShort(locale.monthsShort, $M, months, 3);
|
|
719
|
-
|
|
720
|
-
case 'MMMM':
|
|
721
|
-
return getShort(months, $M);
|
|
722
|
-
|
|
723
|
-
case 'D':
|
|
724
|
-
return _this3.$D;
|
|
725
|
-
|
|
726
|
-
case 'DD':
|
|
727
|
-
return Utils.s(_this3.$D, 2, '0');
|
|
728
|
-
|
|
729
|
-
case 'd':
|
|
730
|
-
return String(_this3.$W);
|
|
731
|
-
|
|
732
|
-
case 'dd':
|
|
733
|
-
return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2);
|
|
734
|
-
|
|
735
|
-
case 'ddd':
|
|
736
|
-
return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3);
|
|
737
|
-
|
|
738
|
-
case 'dddd':
|
|
739
|
-
return weekdays[_this3.$W];
|
|
740
|
-
|
|
741
|
-
case 'H':
|
|
742
|
-
return String($H);
|
|
743
|
-
|
|
744
|
-
case 'HH':
|
|
745
|
-
return Utils.s($H, 2, '0');
|
|
746
|
-
|
|
747
|
-
case 'h':
|
|
748
|
-
return get$H(1);
|
|
749
|
-
|
|
750
|
-
case 'hh':
|
|
751
|
-
return get$H(2);
|
|
752
|
-
|
|
753
|
-
case 'a':
|
|
754
|
-
return meridiemFunc($H, $m, true);
|
|
755
|
-
|
|
756
|
-
case 'A':
|
|
757
|
-
return meridiemFunc($H, $m, false);
|
|
758
|
-
|
|
759
|
-
case 'm':
|
|
760
|
-
return String($m);
|
|
761
|
-
|
|
762
|
-
case 'mm':
|
|
763
|
-
return Utils.s($m, 2, '0');
|
|
764
|
-
|
|
765
|
-
case 's':
|
|
766
|
-
return String(_this3.$s);
|
|
767
|
-
|
|
768
|
-
case 'ss':
|
|
769
|
-
return Utils.s(_this3.$s, 2, '0');
|
|
770
|
-
|
|
771
|
-
case 'SSS':
|
|
772
|
-
return Utils.s(_this3.$ms, 3, '0');
|
|
773
|
-
|
|
774
|
-
case 'Z':
|
|
775
|
-
return zoneStr;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
return null;
|
|
779
|
-
};
|
|
780
|
-
|
|
781
|
-
return str.replace(REGEX_FORMAT, function (match, $1) {
|
|
782
|
-
return $1 || matches(match) || zoneStr.replace(':', '');
|
|
783
|
-
}); // 'ZZ'
|
|
784
|
-
};
|
|
785
|
-
|
|
786
|
-
_proto.utcOffset = function utcOffset() {
|
|
787
|
-
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
|
788
|
-
// https://github.com/moment/moment/pull/1871
|
|
789
|
-
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
|
790
|
-
};
|
|
791
|
-
|
|
792
|
-
_proto.diff = function diff(input, units, _float) {
|
|
793
|
-
var _this4 = this;
|
|
794
|
-
|
|
795
|
-
var unit = Utils.p(units);
|
|
796
|
-
var that = dayjs(input);
|
|
797
|
-
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
|
798
|
-
var diff = this - that;
|
|
799
|
-
|
|
800
|
-
var getMonth = function getMonth() {
|
|
801
|
-
return Utils.m(_this4, that);
|
|
802
|
-
};
|
|
803
|
-
|
|
804
|
-
var result;
|
|
805
|
-
|
|
806
|
-
switch (unit) {
|
|
807
|
-
case Y:
|
|
808
|
-
result = getMonth() / 12;
|
|
809
|
-
break;
|
|
810
|
-
|
|
811
|
-
case M:
|
|
812
|
-
result = getMonth();
|
|
813
|
-
break;
|
|
814
|
-
|
|
815
|
-
case Q:
|
|
816
|
-
result = getMonth() / 3;
|
|
817
|
-
break;
|
|
818
|
-
|
|
819
|
-
case W:
|
|
820
|
-
result = (diff - zoneDelta) / MILLISECONDS_A_WEEK;
|
|
821
|
-
break;
|
|
822
|
-
|
|
823
|
-
case D:
|
|
824
|
-
result = (diff - zoneDelta) / MILLISECONDS_A_DAY;
|
|
825
|
-
break;
|
|
826
|
-
|
|
827
|
-
case H:
|
|
828
|
-
result = diff / MILLISECONDS_A_HOUR;
|
|
829
|
-
break;
|
|
830
|
-
|
|
831
|
-
case MIN:
|
|
832
|
-
result = diff / MILLISECONDS_A_MINUTE;
|
|
833
|
-
break;
|
|
834
|
-
|
|
835
|
-
case S:
|
|
836
|
-
result = diff / MILLISECONDS_A_SECOND;
|
|
837
|
-
break;
|
|
838
|
-
|
|
839
|
-
default:
|
|
840
|
-
result = diff; // milliseconds
|
|
841
|
-
|
|
842
|
-
break;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
return _float ? result : Utils.a(result);
|
|
846
|
-
};
|
|
847
|
-
|
|
848
|
-
_proto.daysInMonth = function daysInMonth() {
|
|
849
|
-
return this.endOf(M).$D;
|
|
850
|
-
};
|
|
851
|
-
|
|
852
|
-
_proto.$locale = function $locale() {
|
|
853
|
-
// get locale object
|
|
854
|
-
return Ls[this.$L];
|
|
855
|
-
};
|
|
856
|
-
|
|
857
|
-
_proto.locale = function locale(preset, object) {
|
|
858
|
-
if (!preset) return this.$L;
|
|
859
|
-
var that = this.clone();
|
|
860
|
-
var nextLocaleName = parseLocale(preset, object, true);
|
|
861
|
-
if (nextLocaleName) that.$L = nextLocaleName;
|
|
862
|
-
return that;
|
|
863
|
-
};
|
|
864
|
-
|
|
865
|
-
_proto.clone = function clone() {
|
|
866
|
-
return Utils.w(this.$d, this);
|
|
867
|
-
};
|
|
868
|
-
|
|
869
|
-
_proto.toDate = function toDate() {
|
|
870
|
-
return new Date(this.valueOf());
|
|
871
|
-
};
|
|
872
|
-
|
|
873
|
-
_proto.toJSON = function toJSON() {
|
|
874
|
-
return this.isValid() ? this.toISOString() : null;
|
|
875
|
-
};
|
|
876
|
-
|
|
877
|
-
_proto.toISOString = function toISOString() {
|
|
878
|
-
// ie 8 return
|
|
879
|
-
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
|
880
|
-
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
|
881
|
-
return this.$d.toISOString();
|
|
882
|
-
};
|
|
883
|
-
|
|
884
|
-
_proto.toString = function toString() {
|
|
885
|
-
return this.$d.toUTCString();
|
|
886
|
-
};
|
|
887
|
-
|
|
888
|
-
return Dayjs;
|
|
889
|
-
}();
|
|
890
|
-
|
|
891
|
-
var proto = Dayjs.prototype;
|
|
892
|
-
dayjs.prototype = proto;
|
|
893
|
-
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
|
894
|
-
proto[g[1]] = function (input) {
|
|
895
|
-
return this.$g(input, g[0], g[1]);
|
|
896
|
-
};
|
|
897
|
-
});
|
|
898
|
-
|
|
899
|
-
dayjs.extend = function (plugin, option) {
|
|
900
|
-
if (!plugin.$i) {
|
|
901
|
-
// install plugin only once
|
|
902
|
-
plugin(option, Dayjs, dayjs);
|
|
903
|
-
plugin.$i = true;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
return dayjs;
|
|
907
|
-
};
|
|
908
|
-
|
|
909
|
-
dayjs.locale = parseLocale;
|
|
910
|
-
dayjs.isDayjs = isDayjs;
|
|
911
|
-
|
|
912
|
-
dayjs.unix = function (timestamp) {
|
|
913
|
-
return dayjs(timestamp * 1e3);
|
|
914
|
-
};
|
|
915
|
-
|
|
916
|
-
dayjs.en = Ls[L];
|
|
917
|
-
dayjs.Ls = Ls;
|
|
918
|
-
dayjs.p = {};
|
|
919
|
-
|
|
920
|
-
// eslint-disable-next-line import/prefer-default-export
|
|
921
|
-
var t = function t(format) {
|
|
922
|
-
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
|
923
|
-
return a || b.slice(1);
|
|
924
|
-
});
|
|
925
|
-
};
|
|
926
|
-
var englishFormats = {
|
|
927
|
-
LTS: 'h:mm:ss A',
|
|
928
|
-
LT: 'h:mm A',
|
|
929
|
-
L: 'MM/DD/YYYY',
|
|
930
|
-
LL: 'MMMM D, YYYY',
|
|
931
|
-
LLL: 'MMMM D, YYYY h:mm A',
|
|
932
|
-
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
|
933
|
-
};
|
|
934
|
-
var u = function u(formatStr, formats) {
|
|
935
|
-
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
|
936
|
-
var B = b && b.toUpperCase();
|
|
937
|
-
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
|
938
|
-
});
|
|
939
|
-
};
|
|
940
|
-
|
|
941
|
-
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
|
942
|
-
var match1 = /\d/; // 0 - 9
|
|
943
|
-
|
|
944
|
-
var match2 = /\d\d/; // 00 - 99
|
|
945
|
-
|
|
946
|
-
var match3 = /\d{3}/; // 000 - 999
|
|
947
|
-
|
|
948
|
-
var match4 = /\d{4}/; // 0000 - 9999
|
|
949
|
-
|
|
950
|
-
var match1to2 = /\d\d?/; // 0 - 99
|
|
951
|
-
|
|
952
|
-
var matchSigned = /[+-]?\d+/; // -inf - inf
|
|
953
|
-
|
|
954
|
-
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
|
955
|
-
|
|
956
|
-
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
|
957
|
-
|
|
958
|
-
var locale = {};
|
|
959
|
-
|
|
960
|
-
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
|
961
|
-
input = +input;
|
|
962
|
-
return input + (input > 68 ? 1900 : 2000);
|
|
963
|
-
};
|
|
964
|
-
|
|
965
|
-
function offsetFromString(string) {
|
|
966
|
-
if (!string) return 0;
|
|
967
|
-
if (string === 'Z') return 0;
|
|
968
|
-
var parts = string.match(/([+-]|\d\d)/g);
|
|
969
|
-
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
|
970
|
-
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
var addInput = function addInput(property) {
|
|
974
|
-
return function (input) {
|
|
975
|
-
this[property] = +input;
|
|
976
|
-
};
|
|
977
|
-
};
|
|
978
|
-
|
|
979
|
-
var zoneExpressions = [matchOffset, function (input) {
|
|
980
|
-
var zone = this.zone || (this.zone = {});
|
|
981
|
-
zone.offset = offsetFromString(input);
|
|
982
|
-
}];
|
|
983
|
-
|
|
984
|
-
var getLocalePart = function getLocalePart(name) {
|
|
985
|
-
var part = locale[name];
|
|
986
|
-
return part && (part.indexOf ? part : part.s.concat(part.f));
|
|
987
|
-
};
|
|
988
|
-
|
|
989
|
-
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
|
990
|
-
var isAfternoon;
|
|
991
|
-
var _locale = locale,
|
|
992
|
-
meridiem = _locale.meridiem;
|
|
993
|
-
|
|
994
|
-
if (!meridiem) {
|
|
995
|
-
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
|
996
|
-
} else {
|
|
997
|
-
for (var i = 1; i <= 24; i += 1) {
|
|
998
|
-
// todo: fix input === meridiem(i, 0, isLowerCase)
|
|
999
|
-
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
|
1000
|
-
isAfternoon = i > 12;
|
|
1001
|
-
break;
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
return isAfternoon;
|
|
1007
|
-
};
|
|
1008
|
-
|
|
1009
|
-
var expressions = {
|
|
1010
|
-
A: [matchWord, function (input) {
|
|
1011
|
-
this.afternoon = meridiemMatch(input, false);
|
|
1012
|
-
}],
|
|
1013
|
-
a: [matchWord, function (input) {
|
|
1014
|
-
this.afternoon = meridiemMatch(input, true);
|
|
1015
|
-
}],
|
|
1016
|
-
S: [match1, function (input) {
|
|
1017
|
-
this.milliseconds = +input * 100;
|
|
1018
|
-
}],
|
|
1019
|
-
SS: [match2, function (input) {
|
|
1020
|
-
this.milliseconds = +input * 10;
|
|
1021
|
-
}],
|
|
1022
|
-
SSS: [match3, function (input) {
|
|
1023
|
-
this.milliseconds = +input;
|
|
1024
|
-
}],
|
|
1025
|
-
s: [match1to2, addInput('seconds')],
|
|
1026
|
-
ss: [match1to2, addInput('seconds')],
|
|
1027
|
-
m: [match1to2, addInput('minutes')],
|
|
1028
|
-
mm: [match1to2, addInput('minutes')],
|
|
1029
|
-
H: [match1to2, addInput('hours')],
|
|
1030
|
-
h: [match1to2, addInput('hours')],
|
|
1031
|
-
HH: [match1to2, addInput('hours')],
|
|
1032
|
-
hh: [match1to2, addInput('hours')],
|
|
1033
|
-
D: [match1to2, addInput('day')],
|
|
1034
|
-
DD: [match2, addInput('day')],
|
|
1035
|
-
Do: [matchWord, function (input) {
|
|
1036
|
-
var _locale2 = locale,
|
|
1037
|
-
ordinal = _locale2.ordinal;
|
|
1038
|
-
|
|
1039
|
-
var _input$match = input.match(/\d+/);
|
|
1040
|
-
|
|
1041
|
-
this.day = _input$match[0];
|
|
1042
|
-
if (!ordinal) return;
|
|
1043
|
-
|
|
1044
|
-
for (var i = 1; i <= 31; i += 1) {
|
|
1045
|
-
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
|
1046
|
-
this.day = i;
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
}],
|
|
1050
|
-
M: [match1to2, addInput('month')],
|
|
1051
|
-
MM: [match2, addInput('month')],
|
|
1052
|
-
MMM: [matchWord, function (input) {
|
|
1053
|
-
var months = getLocalePart('months');
|
|
1054
|
-
var monthsShort = getLocalePart('monthsShort');
|
|
1055
|
-
var matchIndex = (monthsShort || months.map(function (_) {
|
|
1056
|
-
return _.slice(0, 3);
|
|
1057
|
-
})).indexOf(input) + 1;
|
|
1058
|
-
|
|
1059
|
-
if (matchIndex < 1) {
|
|
1060
|
-
throw new Error();
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
this.month = matchIndex % 12 || matchIndex;
|
|
1064
|
-
}],
|
|
1065
|
-
MMMM: [matchWord, function (input) {
|
|
1066
|
-
var months = getLocalePart('months');
|
|
1067
|
-
var matchIndex = months.indexOf(input) + 1;
|
|
1068
|
-
|
|
1069
|
-
if (matchIndex < 1) {
|
|
1070
|
-
throw new Error();
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
this.month = matchIndex % 12 || matchIndex;
|
|
1074
|
-
}],
|
|
1075
|
-
Y: [matchSigned, addInput('year')],
|
|
1076
|
-
YY: [match2, function (input) {
|
|
1077
|
-
this.year = parseTwoDigitYear(input);
|
|
1078
|
-
}],
|
|
1079
|
-
YYYY: [match4, addInput('year')],
|
|
1080
|
-
Z: zoneExpressions,
|
|
1081
|
-
ZZ: zoneExpressions
|
|
1082
|
-
};
|
|
1083
|
-
|
|
1084
|
-
function correctHours(time) {
|
|
1085
|
-
var afternoon = time.afternoon;
|
|
1086
|
-
|
|
1087
|
-
if (afternoon !== undefined) {
|
|
1088
|
-
var hours = time.hours;
|
|
1089
|
-
|
|
1090
|
-
if (afternoon) {
|
|
1091
|
-
if (hours < 12) {
|
|
1092
|
-
time.hours += 12;
|
|
1093
|
-
}
|
|
1094
|
-
} else if (hours === 12) {
|
|
1095
|
-
time.hours = 0;
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
delete time.afternoon;
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
function makeParser(format) {
|
|
1103
|
-
format = u(format, locale && locale.formats);
|
|
1104
|
-
var array = format.match(formattingTokens);
|
|
1105
|
-
var length = array.length;
|
|
1106
|
-
|
|
1107
|
-
for (var i = 0; i < length; i += 1) {
|
|
1108
|
-
var token = array[i];
|
|
1109
|
-
var parseTo = expressions[token];
|
|
1110
|
-
var regex = parseTo && parseTo[0];
|
|
1111
|
-
var parser = parseTo && parseTo[1];
|
|
1112
|
-
|
|
1113
|
-
if (parser) {
|
|
1114
|
-
array[i] = {
|
|
1115
|
-
regex: regex,
|
|
1116
|
-
parser: parser
|
|
1117
|
-
};
|
|
1118
|
-
} else {
|
|
1119
|
-
array[i] = token.replace(/^\[|\]$/g, '');
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
return function (input) {
|
|
1124
|
-
var time = {};
|
|
1125
|
-
|
|
1126
|
-
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
|
1127
|
-
var _token = array[_i];
|
|
1128
|
-
|
|
1129
|
-
if (typeof _token === 'string') {
|
|
1130
|
-
start += _token.length;
|
|
1131
|
-
} else {
|
|
1132
|
-
var _regex = _token.regex,
|
|
1133
|
-
_parser = _token.parser;
|
|
1134
|
-
var part = input.slice(start);
|
|
1135
|
-
|
|
1136
|
-
var match = _regex.exec(part);
|
|
1137
|
-
|
|
1138
|
-
var value = match[0];
|
|
1139
|
-
|
|
1140
|
-
_parser.call(time, value);
|
|
1141
|
-
|
|
1142
|
-
input = input.replace(value, '');
|
|
1143
|
-
}
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
correctHours(time);
|
|
1147
|
-
return time;
|
|
1148
|
-
};
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
|
1152
|
-
try {
|
|
1153
|
-
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
|
1154
|
-
var parser = makeParser(format);
|
|
1155
|
-
|
|
1156
|
-
var _parser2 = parser(input),
|
|
1157
|
-
year = _parser2.year,
|
|
1158
|
-
month = _parser2.month,
|
|
1159
|
-
day = _parser2.day,
|
|
1160
|
-
hours = _parser2.hours,
|
|
1161
|
-
minutes = _parser2.minutes,
|
|
1162
|
-
seconds = _parser2.seconds,
|
|
1163
|
-
milliseconds = _parser2.milliseconds,
|
|
1164
|
-
zone = _parser2.zone;
|
|
1165
|
-
|
|
1166
|
-
var now = new Date();
|
|
1167
|
-
var d = day || (!year && !month ? now.getDate() : 1);
|
|
1168
|
-
var y = year || now.getFullYear();
|
|
1169
|
-
var M = 0;
|
|
1170
|
-
|
|
1171
|
-
if (!(year && !month)) {
|
|
1172
|
-
M = month > 0 ? month - 1 : now.getMonth();
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
var h = hours || 0;
|
|
1176
|
-
var m = minutes || 0;
|
|
1177
|
-
var s = seconds || 0;
|
|
1178
|
-
var ms = milliseconds || 0;
|
|
1179
|
-
|
|
1180
|
-
if (zone) {
|
|
1181
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
if (utc) {
|
|
1185
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
return new Date(y, M, d, h, m, s, ms);
|
|
1189
|
-
} catch (e) {
|
|
1190
|
-
return new Date(''); // Invalid Date
|
|
1191
|
-
}
|
|
1192
|
-
};
|
|
1193
|
-
|
|
1194
|
-
const customParseFormat = (function (o, C, d) {
|
|
1195
|
-
d.p.customParseFormat = true;
|
|
1196
|
-
|
|
1197
|
-
if (o && o.parseTwoDigitYear) {
|
|
1198
|
-
parseTwoDigitYear = o.parseTwoDigitYear;
|
|
1199
|
-
}
|
|
1200
|
-
|
|
1201
|
-
var proto = C.prototype;
|
|
1202
|
-
var oldParse = proto.parse;
|
|
1203
|
-
|
|
1204
|
-
proto.parse = function (cfg) {
|
|
1205
|
-
var date = cfg.date,
|
|
1206
|
-
utc = cfg.utc,
|
|
1207
|
-
args = cfg.args;
|
|
1208
|
-
this.$u = utc;
|
|
1209
|
-
var format = args[1];
|
|
1210
|
-
|
|
1211
|
-
if (typeof format === 'string') {
|
|
1212
|
-
var isStrictWithoutLocale = args[2] === true;
|
|
1213
|
-
var isStrictWithLocale = args[3] === true;
|
|
1214
|
-
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
|
1215
|
-
var pl = args[2];
|
|
1216
|
-
|
|
1217
|
-
if (isStrictWithLocale) {
|
|
1218
|
-
pl = args[2];
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
locale = this.$locale();
|
|
1222
|
-
|
|
1223
|
-
if (!isStrictWithoutLocale && pl) {
|
|
1224
|
-
locale = d.Ls[pl];
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
this.$d = parseFormattedInput(date, format, utc);
|
|
1228
|
-
this.init();
|
|
1229
|
-
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
|
1230
|
-
// input number 1410715640579 and format string '1410715640579' equal
|
|
1231
|
-
// eslint-disable-next-line eqeqeq
|
|
1232
|
-
|
|
1233
|
-
if (isStrict && date != this.format(format)) {
|
|
1234
|
-
this.$d = new Date('');
|
|
1235
|
-
} // reset global locale to make parallel unit test
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
locale = {};
|
|
1239
|
-
} else if (format instanceof Array) {
|
|
1240
|
-
var len = format.length;
|
|
1241
|
-
|
|
1242
|
-
for (var i = 1; i <= len; i += 1) {
|
|
1243
|
-
args[1] = format[i - 1];
|
|
1244
|
-
var result = d.apply(this, args);
|
|
1245
|
-
|
|
1246
|
-
if (result.isValid()) {
|
|
1247
|
-
this.$d = result.$d;
|
|
1248
|
-
this.$L = result.$L;
|
|
1249
|
-
this.init();
|
|
1250
|
-
break;
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
if (i === len) this.$d = new Date('');
|
|
1254
|
-
}
|
|
1255
|
-
} else {
|
|
1256
|
-
oldParse.call(this, cfg);
|
|
1257
|
-
}
|
|
1258
|
-
};
|
|
1259
|
-
});
|
|
1260
|
-
|
|
1261
|
-
const localeData = (function (o, c, dayjs) {
|
|
1262
|
-
// locale needed later
|
|
1263
|
-
var proto = c.prototype;
|
|
1264
|
-
|
|
1265
|
-
var getLocalePart = function getLocalePart(part) {
|
|
1266
|
-
return part && (part.indexOf ? part : part.s);
|
|
1267
|
-
};
|
|
1268
|
-
|
|
1269
|
-
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
|
1270
|
-
var locale = ins.name ? ins : ins.$locale();
|
|
1271
|
-
var targetLocale = getLocalePart(locale[target]);
|
|
1272
|
-
var fullLocale = getLocalePart(locale[full]);
|
|
1273
|
-
var result = targetLocale || fullLocale.map(function (f) {
|
|
1274
|
-
return f.slice(0, num);
|
|
1275
|
-
});
|
|
1276
|
-
if (!localeOrder) return result;
|
|
1277
|
-
var weekStart = locale.weekStart;
|
|
1278
|
-
return result.map(function (_, index) {
|
|
1279
|
-
return result[(index + (weekStart || 0)) % 7];
|
|
1280
|
-
});
|
|
1281
|
-
};
|
|
1282
|
-
|
|
1283
|
-
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
|
1284
|
-
return dayjs.Ls[dayjs.locale()];
|
|
1285
|
-
};
|
|
1286
|
-
|
|
1287
|
-
var getLongDateFormat = function getLongDateFormat(l, format) {
|
|
1288
|
-
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
|
1289
|
-
};
|
|
1290
|
-
|
|
1291
|
-
var localeData = function localeData() {
|
|
1292
|
-
var _this = this;
|
|
1293
|
-
|
|
1294
|
-
return {
|
|
1295
|
-
months: function months(instance) {
|
|
1296
|
-
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
|
1297
|
-
},
|
|
1298
|
-
monthsShort: function monthsShort(instance) {
|
|
1299
|
-
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
|
1300
|
-
},
|
|
1301
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
|
1302
|
-
return _this.$locale().weekStart || 0;
|
|
1303
|
-
},
|
|
1304
|
-
weekdays: function weekdays(instance) {
|
|
1305
|
-
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
|
1306
|
-
},
|
|
1307
|
-
weekdaysMin: function weekdaysMin(instance) {
|
|
1308
|
-
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
|
1309
|
-
},
|
|
1310
|
-
weekdaysShort: function weekdaysShort(instance) {
|
|
1311
|
-
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
|
1312
|
-
},
|
|
1313
|
-
longDateFormat: function longDateFormat(format) {
|
|
1314
|
-
return getLongDateFormat(_this.$locale(), format);
|
|
1315
|
-
},
|
|
1316
|
-
meridiem: this.$locale().meridiem,
|
|
1317
|
-
ordinal: this.$locale().ordinal
|
|
1318
|
-
};
|
|
1319
|
-
};
|
|
1320
|
-
|
|
1321
|
-
proto.localeData = function () {
|
|
1322
|
-
return localeData.bind(this)();
|
|
1323
|
-
};
|
|
1324
|
-
|
|
1325
|
-
dayjs.localeData = function () {
|
|
1326
|
-
var localeObject = getDayjsLocaleObject();
|
|
1327
|
-
return {
|
|
1328
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
|
1329
|
-
return localeObject.weekStart || 0;
|
|
1330
|
-
},
|
|
1331
|
-
weekdays: function weekdays() {
|
|
1332
|
-
return dayjs.weekdays();
|
|
1333
|
-
},
|
|
1334
|
-
weekdaysShort: function weekdaysShort() {
|
|
1335
|
-
return dayjs.weekdaysShort();
|
|
1336
|
-
},
|
|
1337
|
-
weekdaysMin: function weekdaysMin() {
|
|
1338
|
-
return dayjs.weekdaysMin();
|
|
1339
|
-
},
|
|
1340
|
-
months: function months() {
|
|
1341
|
-
return dayjs.months();
|
|
1342
|
-
},
|
|
1343
|
-
monthsShort: function monthsShort() {
|
|
1344
|
-
return dayjs.monthsShort();
|
|
1345
|
-
},
|
|
1346
|
-
longDateFormat: function longDateFormat(format) {
|
|
1347
|
-
return getLongDateFormat(localeObject, format);
|
|
1348
|
-
},
|
|
1349
|
-
meridiem: localeObject.meridiem,
|
|
1350
|
-
ordinal: localeObject.ordinal
|
|
1351
|
-
};
|
|
1352
|
-
};
|
|
1353
|
-
|
|
1354
|
-
dayjs.months = function () {
|
|
1355
|
-
return getShort(getDayjsLocaleObject(), 'months');
|
|
1356
|
-
};
|
|
1357
|
-
|
|
1358
|
-
dayjs.monthsShort = function () {
|
|
1359
|
-
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
|
1360
|
-
};
|
|
1361
|
-
|
|
1362
|
-
dayjs.weekdays = function (localeOrder) {
|
|
1363
|
-
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
|
1364
|
-
};
|
|
1365
|
-
|
|
1366
|
-
dayjs.weekdaysShort = function (localeOrder) {
|
|
1367
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
|
1368
|
-
};
|
|
1369
|
-
|
|
1370
|
-
dayjs.weekdaysMin = function (localeOrder) {
|
|
1371
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
|
1372
|
-
};
|
|
1373
|
-
});
|
|
1374
|
-
|
|
1375
|
-
const localizedFormat = (function (o, c, d) {
|
|
1376
|
-
var proto = c.prototype;
|
|
1377
|
-
var oldFormat = proto.format;
|
|
1378
|
-
d.en.formats = englishFormats;
|
|
1379
|
-
|
|
1380
|
-
proto.format = function (formatStr) {
|
|
1381
|
-
if (formatStr === void 0) {
|
|
1382
|
-
formatStr = FORMAT_DEFAULT;
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
var _this$$locale = this.$locale(),
|
|
1386
|
-
_this$$locale$formats = _this$$locale.formats,
|
|
1387
|
-
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
|
1388
|
-
|
|
1389
|
-
var result = u(formatStr, formats);
|
|
1390
|
-
return oldFormat.call(this, result);
|
|
1391
|
-
};
|
|
1392
|
-
});
|
|
1393
|
-
|
|
1394
|
-
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
|
1395
|
-
const preParsePostFormat = (function (option, dayjsClass) {
|
|
1396
|
-
var oldParse = dayjsClass.prototype.parse;
|
|
1397
|
-
|
|
1398
|
-
dayjsClass.prototype.parse = function (cfg) {
|
|
1399
|
-
if (typeof cfg.date === 'string') {
|
|
1400
|
-
var locale = this.$locale();
|
|
1401
|
-
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
|
1402
|
-
} // original parse result
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
return oldParse.bind(this)(cfg);
|
|
1406
|
-
}; // // overriding existing API
|
|
1407
|
-
// // e.g. extend dayjs().format()
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
var oldFormat = dayjsClass.prototype.format;
|
|
1411
|
-
|
|
1412
|
-
dayjsClass.prototype.format = function () {
|
|
1413
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1414
|
-
args[_key] = arguments[_key];
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
// original format result
|
|
1418
|
-
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
|
1419
|
-
|
|
1420
|
-
var locale = this.$locale();
|
|
1421
|
-
return locale && locale.postformat ? locale.postformat(result) : result;
|
|
1422
|
-
};
|
|
1423
|
-
|
|
1424
|
-
var oldFromTo = dayjsClass.prototype.fromToBase;
|
|
1425
|
-
|
|
1426
|
-
if (oldFromTo) {
|
|
1427
|
-
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
|
1428
|
-
var locale = this.$locale() || instance.$locale(); // original format result
|
|
1429
|
-
|
|
1430
|
-
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
|
1431
|
-
};
|
|
1432
|
-
}
|
|
1433
|
-
});
|
|
1434
|
-
|
|
1435
|
-
const updateLocale = (function (option, Dayjs, dayjs) {
|
|
1436
|
-
dayjs.updateLocale = function (locale, customConfig) {
|
|
1437
|
-
var localeList = dayjs.Ls;
|
|
1438
|
-
var localeConfig = localeList[locale];
|
|
1439
|
-
if (!localeConfig) return;
|
|
1440
|
-
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
|
1441
|
-
customConfigKeys.forEach(function (c) {
|
|
1442
|
-
localeConfig[c] = customConfig[c];
|
|
1443
|
-
});
|
|
1444
|
-
return localeConfig; // eslint-disable-line consistent-return
|
|
1445
|
-
};
|
|
1446
|
-
});
|
|
1447
|
-
|
|
1448
|
-
const inputTimePickerCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-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}.interaction-container{display:contents}::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;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}.validation-container{padding-block-start:0.5rem;display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([hidden]){display:none}[hidden]{display:none}";
|
|
1449
|
-
|
|
1450
|
-
// some bundlers (e.g., Webpack) need dynamic import paths to be static
|
|
1451
|
-
const supportedDayjsLocaleToLocaleConfigImport = new Map([
|
|
1452
|
-
["ar", () => import('./ar-3688cb64.js')],
|
|
1453
|
-
["bg", () => import('./bg-02264eb7.js')],
|
|
1454
|
-
["bs", () => import('./bs-edc0fe0d.js')],
|
|
1455
|
-
["ca", () => import('./ca-e9cb6071.js')],
|
|
1456
|
-
["cs", () => import('./cs-6533e5d1.js')],
|
|
1457
|
-
["da", () => import('./da-56b232fe.js')],
|
|
1458
|
-
["de", () => import('./de-a3c87ced.js')],
|
|
1459
|
-
["de-at", () => import('./de-at-a2d5b325.js')],
|
|
1460
|
-
["de-ch", () => import('./de-ch-94ef747f.js')],
|
|
1461
|
-
["el", () => import('./el-45eca7fa.js')],
|
|
1462
|
-
["en", () => Promise.resolve().then(function () { return en$1; })],
|
|
1463
|
-
["en-au", () => import('./en-au-4ac766c8.js')],
|
|
1464
|
-
["en-ca", () => import('./en-ca-d3982a46.js')],
|
|
1465
|
-
["en-gb", () => import('./en-gb-84324ec5.js')],
|
|
1466
|
-
["es", () => import('./es-0472fe43.js')],
|
|
1467
|
-
["es-mx", () => import('./es-mx-ae2527e5.js')],
|
|
1468
|
-
["et", () => import('./et-06aa5521.js')],
|
|
1469
|
-
["fi", () => import('./fi-d6aa4dcb.js')],
|
|
1470
|
-
["fr", () => import('./fr-097d00cf.js')],
|
|
1471
|
-
["fr-ch", () => import('./fr-ch-dfbd0855.js')],
|
|
1472
|
-
["he", () => import('./he-5aa0572e.js')],
|
|
1473
|
-
["hi", () => import('./hi-de2bd55b.js')],
|
|
1474
|
-
["hr", () => import('./hr-e5e95866.js')],
|
|
1475
|
-
["hu", () => import('./hu-bcfa8209.js')],
|
|
1476
|
-
["id", () => import('./id-1b33d290.js')],
|
|
1477
|
-
["it", () => import('./it-5da853c7.js')],
|
|
1478
|
-
["it-ch", () => import('./it-ch-1ae3dcc0.js')],
|
|
1479
|
-
["ja", () => import('./ja-b673de23.js')],
|
|
1480
|
-
["ko", () => import('./ko-4b26e3fc.js')],
|
|
1481
|
-
["lt", () => import('./lt-5f59d6f3.js')],
|
|
1482
|
-
["lv", () => import('./lv-3c03c8ea.js')],
|
|
1483
|
-
["mk", () => import('./mk-15702009.js')],
|
|
1484
|
-
["nl", () => import('./nl-71448a23.js')],
|
|
1485
|
-
["nb", () => import('./nb-a3508598.js')],
|
|
1486
|
-
["pl", () => import('./pl-8e254491.js')],
|
|
1487
|
-
["pt", () => import('./pt-bd882d7b.js')],
|
|
1488
|
-
["pt-br", () => import('./pt-br-6db10319.js')],
|
|
1489
|
-
["ro", () => import('./ro-77396fa5.js')],
|
|
1490
|
-
["ru", () => import('./ru-f3387845.js')],
|
|
1491
|
-
["sk", () => import('./sk-c650abc2.js')],
|
|
1492
|
-
["sl", () => import('./sl-bee894be.js')],
|
|
1493
|
-
["sr", () => import('./sr-29f41cca.js')],
|
|
1494
|
-
["sv", () => import('./sv-3faca763.js')],
|
|
1495
|
-
["th", () => import('./th-446172f1.js')],
|
|
1496
|
-
["tr", () => import('./tr-d13d9e83.js')],
|
|
1497
|
-
["uk", () => import('./uk-1238c145.js')],
|
|
1498
|
-
["vi", () => import('./vi-820613c4.js')],
|
|
1499
|
-
["zh-cn", () => import('./zh-cn-00769384.js')],
|
|
1500
|
-
["zh-hk", () => import('./zh-hk-df971eeb.js')],
|
|
1501
|
-
["zh-tw", () => import('./zh-tw-f61c0e27.js')],
|
|
1502
|
-
]);
|
|
1503
|
-
dayjs.extend(customParseFormat);
|
|
1504
|
-
dayjs.extend(localeData);
|
|
1505
|
-
dayjs.extend(localizedFormat);
|
|
1506
|
-
dayjs.extend(preParsePostFormat);
|
|
1507
|
-
dayjs.extend(updateLocale);
|
|
1508
|
-
const InputTimePicker = class {
|
|
1509
|
-
constructor(hostRef) {
|
|
1510
|
-
registerInstance(this, hostRef);
|
|
1511
|
-
this.calciteInputTimePickerBeforeClose = createEvent(this, "calciteInputTimePickerBeforeClose", 6);
|
|
1512
|
-
this.calciteInputTimePickerBeforeOpen = createEvent(this, "calciteInputTimePickerBeforeOpen", 6);
|
|
1513
|
-
this.calciteInputTimePickerChange = createEvent(this, "calciteInputTimePickerChange", 7);
|
|
1514
|
-
this.calciteInputTimePickerClose = createEvent(this, "calciteInputTimePickerClose", 6);
|
|
1515
|
-
this.calciteInputTimePickerOpen = createEvent(this, "calciteInputTimePickerOpen", 6);
|
|
1516
|
-
this.focusOnOpen = false;
|
|
1517
|
-
this.dialogId = `time-picker-dialog--${guid()}`;
|
|
1518
|
-
/** whether the value of the input was changed as a result of user typing or not */
|
|
1519
|
-
this.userChangedValue = false;
|
|
1520
|
-
this.referenceElementId = `input-time-picker-${guid()}`;
|
|
1521
|
-
this.openTransitionProp = "opacity";
|
|
1522
|
-
//--------------------------------------------------------------------------
|
|
1523
|
-
//
|
|
1524
|
-
// Event Listeners
|
|
1525
|
-
//
|
|
1526
|
-
//--------------------------------------------------------------------------
|
|
1527
|
-
this.hostBlurHandler = () => {
|
|
1528
|
-
const inputValue = this.calciteInputEl.value;
|
|
1529
|
-
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
|
1530
|
-
if (!delocalizedInputValue) {
|
|
1531
|
-
this.setValue("");
|
|
1532
|
-
return;
|
|
1533
|
-
}
|
|
1534
|
-
if (delocalizedInputValue !== this.value) {
|
|
1535
|
-
this.setValue(delocalizedInputValue);
|
|
1536
|
-
}
|
|
1537
|
-
const localizedTimeString = localizeTimeString({
|
|
1538
|
-
value: this.value,
|
|
1539
|
-
locale: this.effectiveLocale,
|
|
1540
|
-
numberingSystem: this.numberingSystem,
|
|
1541
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1542
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
|
1543
|
-
});
|
|
1544
|
-
if (localizedTimeString !== inputValue) {
|
|
1545
|
-
this.setInputValue(localizedTimeString);
|
|
1546
|
-
}
|
|
1547
|
-
this.deactivate();
|
|
1548
|
-
};
|
|
1549
|
-
this.calciteInternalInputFocusHandler = (event) => {
|
|
1550
|
-
if (!this.readOnly) {
|
|
1551
|
-
event.stopPropagation();
|
|
1552
|
-
}
|
|
1553
|
-
};
|
|
1554
|
-
this.calciteInternalInputInputHandler = (event) => {
|
|
1555
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
|
1556
|
-
if (numberingSystem && numberingSystem !== "latn") {
|
|
1557
|
-
const target = event.target;
|
|
1558
|
-
numberStringFormatter.numberFormatOptions = {
|
|
1559
|
-
locale,
|
|
1560
|
-
numberingSystem,
|
|
1561
|
-
useGrouping: false,
|
|
1562
|
-
};
|
|
1563
|
-
const valueInNumberingSystem = numberStringFormatter
|
|
1564
|
-
.delocalize(target.value)
|
|
1565
|
-
.split("")
|
|
1566
|
-
.map((char) => numberKeys.includes(char)
|
|
1567
|
-
? numberStringFormatter.numberFormatter.format(Number(char))
|
|
1568
|
-
: char)
|
|
1569
|
-
.join("");
|
|
1570
|
-
this.setInputValue(valueInNumberingSystem);
|
|
1571
|
-
}
|
|
1572
|
-
};
|
|
1573
|
-
this.timePickerChangeHandler = (event) => {
|
|
1574
|
-
event.stopPropagation();
|
|
1575
|
-
const target = event.target;
|
|
1576
|
-
const value = target.value;
|
|
1577
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
|
1578
|
-
this.setValue(toISOTimeString(value, includeSeconds));
|
|
1579
|
-
this.setInputValue(localizeTimeString({
|
|
1580
|
-
value,
|
|
1581
|
-
locale: this.effectiveLocale,
|
|
1582
|
-
numberingSystem: this.numberingSystem,
|
|
1583
|
-
includeSeconds,
|
|
1584
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
|
1585
|
-
}));
|
|
1586
|
-
};
|
|
1587
|
-
this.popoverCloseHandler = () => {
|
|
1588
|
-
deactivateFocusTrap(this, {
|
|
1589
|
-
onDeactivate: () => {
|
|
1590
|
-
this.calciteInputEl.setFocus();
|
|
1591
|
-
this.focusOnOpen = false;
|
|
1592
|
-
},
|
|
1593
|
-
});
|
|
1594
|
-
this.open = false;
|
|
1595
|
-
};
|
|
1596
|
-
this.popoverOpenHandler = () => {
|
|
1597
|
-
activateFocusTrap(this, {
|
|
1598
|
-
onActivate: () => {
|
|
1599
|
-
if (this.focusOnOpen) {
|
|
1600
|
-
this.calciteTimePickerEl.setFocus();
|
|
1601
|
-
this.focusOnOpen = false;
|
|
1602
|
-
}
|
|
1603
|
-
},
|
|
1604
|
-
});
|
|
1605
|
-
};
|
|
1606
|
-
this.keyDownHandler = (event) => {
|
|
1607
|
-
const { defaultPrevented, key } = event;
|
|
1608
|
-
if (defaultPrevented) {
|
|
1609
|
-
return;
|
|
1610
|
-
}
|
|
1611
|
-
if (key === "Enter") {
|
|
1612
|
-
if (submitForm(this)) {
|
|
1613
|
-
event.preventDefault();
|
|
1614
|
-
this.calciteInputEl.setFocus();
|
|
1615
|
-
}
|
|
1616
|
-
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
|
1617
|
-
return;
|
|
1618
|
-
}
|
|
1619
|
-
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
|
1620
|
-
if (isValidTime(newValue)) {
|
|
1621
|
-
this.setValue(newValue);
|
|
1622
|
-
const localizedTimeString = localizeTimeString({
|
|
1623
|
-
value: this.value,
|
|
1624
|
-
locale: this.effectiveLocale,
|
|
1625
|
-
numberingSystem: this.numberingSystem,
|
|
1626
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1627
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
|
1628
|
-
});
|
|
1629
|
-
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
|
1630
|
-
this.setInputValue(localizedTimeString);
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
else if (key === "ArrowDown") {
|
|
1635
|
-
this.open = true;
|
|
1636
|
-
this.focusOnOpen = true;
|
|
1637
|
-
event.preventDefault();
|
|
1638
|
-
}
|
|
1639
|
-
else if (key === "Escape" && this.open) {
|
|
1640
|
-
this.open = false;
|
|
1641
|
-
event.preventDefault();
|
|
1642
|
-
this.calciteInputEl.setFocus();
|
|
1643
|
-
}
|
|
1644
|
-
};
|
|
1645
|
-
this.setCalcitePopoverEl = (el) => {
|
|
1646
|
-
this.popoverEl = el;
|
|
1647
|
-
};
|
|
1648
|
-
this.setInputAndTransitionEl = (el) => {
|
|
1649
|
-
this.calciteInputEl = el;
|
|
1650
|
-
this.transitionEl = el;
|
|
1651
|
-
};
|
|
1652
|
-
this.setCalciteTimePickerEl = (el) => {
|
|
1653
|
-
this.calciteTimePickerEl = el;
|
|
1654
|
-
connectFocusTrap(this, {
|
|
1655
|
-
focusTrapEl: el,
|
|
1656
|
-
focusTrapOptions: {
|
|
1657
|
-
initialFocus: false,
|
|
1658
|
-
setReturnFocus: false,
|
|
1659
|
-
},
|
|
1660
|
-
});
|
|
1661
|
-
};
|
|
1662
|
-
this.setInputValue = (newInputValue) => {
|
|
1663
|
-
if (!this.calciteInputEl) {
|
|
1664
|
-
return;
|
|
1665
|
-
}
|
|
1666
|
-
this.calciteInputEl.value = newInputValue;
|
|
1667
|
-
};
|
|
1668
|
-
/**
|
|
1669
|
-
* Sets the value and emits a change event.
|
|
1670
|
-
* This is used to update the value as a result of user interaction.
|
|
1671
|
-
*
|
|
1672
|
-
* @param value
|
|
1673
|
-
*/
|
|
1674
|
-
this.setValue = (value) => {
|
|
1675
|
-
const oldValue = this.value;
|
|
1676
|
-
const newValue = formatTimeString(value) || "";
|
|
1677
|
-
if (newValue === oldValue) {
|
|
1678
|
-
return;
|
|
1679
|
-
}
|
|
1680
|
-
this.userChangedValue = true;
|
|
1681
|
-
this.value = newValue || "";
|
|
1682
|
-
const changeEvent = this.calciteInputTimePickerChange.emit();
|
|
1683
|
-
if (changeEvent.defaultPrevented) {
|
|
1684
|
-
this.userChangedValue = false;
|
|
1685
|
-
this.value = oldValue;
|
|
1686
|
-
this.setInputValue(localizeTimeString({
|
|
1687
|
-
value: oldValue,
|
|
1688
|
-
locale: this.effectiveLocale,
|
|
1689
|
-
numberingSystem: this.numberingSystem,
|
|
1690
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1691
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
|
1692
|
-
}));
|
|
1693
|
-
}
|
|
1694
|
-
};
|
|
1695
|
-
/**
|
|
1696
|
-
* Sets the value directly without emitting a change event.
|
|
1697
|
-
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
|
1698
|
-
*
|
|
1699
|
-
* @param value
|
|
1700
|
-
*/
|
|
1701
|
-
this.setValueDirectly = (value) => {
|
|
1702
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
|
1703
|
-
this.value = toISOTimeString(value, includeSeconds);
|
|
1704
|
-
this.setInputValue(this.value
|
|
1705
|
-
? localizeTimeString({
|
|
1706
|
-
value: this.value,
|
|
1707
|
-
includeSeconds,
|
|
1708
|
-
locale: this.effectiveLocale,
|
|
1709
|
-
numberingSystem: this.numberingSystem,
|
|
1710
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
|
1711
|
-
})
|
|
1712
|
-
: "");
|
|
1713
|
-
};
|
|
1714
|
-
this.onInputWrapperClick = () => {
|
|
1715
|
-
this.open = !this.open;
|
|
1716
|
-
};
|
|
1717
|
-
this.deactivate = () => {
|
|
1718
|
-
this.open = false;
|
|
1719
|
-
};
|
|
1720
|
-
this.open = false;
|
|
1721
|
-
this.disabled = false;
|
|
1722
|
-
this.focusTrapDisabled = false;
|
|
1723
|
-
this.form = undefined;
|
|
1724
|
-
this.readOnly = false;
|
|
1725
|
-
this.messageOverrides = undefined;
|
|
1726
|
-
this.messages = undefined;
|
|
1727
|
-
this.validationMessage = undefined;
|
|
1728
|
-
this.validationIcon = undefined;
|
|
1729
|
-
this.name = undefined;
|
|
1730
|
-
this.numberingSystem = undefined;
|
|
1731
|
-
this.required = false;
|
|
1732
|
-
this.scale = "m";
|
|
1733
|
-
this.status = "idle";
|
|
1734
|
-
this.overlayPositioning = "absolute";
|
|
1735
|
-
this.placement = "auto";
|
|
1736
|
-
this.step = 60;
|
|
1737
|
-
this.value = null;
|
|
1738
|
-
this.defaultMessages = undefined;
|
|
1739
|
-
this.effectiveLocale = "";
|
|
1740
|
-
}
|
|
1741
|
-
openHandler() {
|
|
1742
|
-
onToggleOpenCloseComponent(this);
|
|
1743
|
-
if (this.disabled || this.readOnly) {
|
|
1744
|
-
this.open = false;
|
|
1745
|
-
return;
|
|
1746
|
-
}
|
|
1747
|
-
this.reposition(true);
|
|
1748
|
-
}
|
|
1749
|
-
handleFocusTrapDisabled(focusTrapDisabled) {
|
|
1750
|
-
if (!this.open) {
|
|
1751
|
-
return;
|
|
1752
|
-
}
|
|
1753
|
-
focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);
|
|
1754
|
-
}
|
|
1755
|
-
handleDisabledAndReadOnlyChange(value) {
|
|
1756
|
-
if (!value) {
|
|
1757
|
-
this.open = false;
|
|
1758
|
-
}
|
|
1759
|
-
}
|
|
1760
|
-
onMessagesChange() {
|
|
1761
|
-
/* wired up by t9n util */
|
|
1762
|
-
}
|
|
1763
|
-
numberingSystemWatcher(numberingSystem) {
|
|
1764
|
-
this.setInputValue(localizeTimeString({
|
|
1765
|
-
value: this.value,
|
|
1766
|
-
locale: this.effectiveLocale,
|
|
1767
|
-
numberingSystem,
|
|
1768
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1769
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
|
1770
|
-
}));
|
|
1771
|
-
}
|
|
1772
|
-
stepWatcher(newStep, oldStep) {
|
|
1773
|
-
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
|
1774
|
-
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
|
1775
|
-
this.setValueDirectly(this.value);
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
valueWatcher(newValue) {
|
|
1779
|
-
if (!this.userChangedValue) {
|
|
1780
|
-
this.setValueDirectly(newValue);
|
|
1781
|
-
}
|
|
1782
|
-
this.userChangedValue = false;
|
|
1783
|
-
}
|
|
1784
|
-
async effectiveLocaleWatcher(locale) {
|
|
1785
|
-
await this.loadDateTimeLocaleData();
|
|
1786
|
-
this.setInputValue(localizeTimeString({
|
|
1787
|
-
value: this.value,
|
|
1788
|
-
locale,
|
|
1789
|
-
numberingSystem: this.numberingSystem,
|
|
1790
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
1791
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
|
1792
|
-
}));
|
|
1793
|
-
}
|
|
1794
|
-
// --------------------------------------------------------------------------
|
|
1795
|
-
//
|
|
1796
|
-
// Public Methods
|
|
1797
|
-
//
|
|
1798
|
-
// --------------------------------------------------------------------------
|
|
1799
|
-
/** Sets focus on the component. */
|
|
1800
|
-
async setFocus() {
|
|
1801
|
-
await componentFocusable(this);
|
|
1802
|
-
this.el.focus();
|
|
1803
|
-
}
|
|
1804
|
-
/**
|
|
1805
|
-
* Updates the position of the component.
|
|
1806
|
-
*
|
|
1807
|
-
* @param delayed
|
|
1808
|
-
*/
|
|
1809
|
-
async reposition(delayed = false) {
|
|
1810
|
-
this.popoverEl?.reposition(delayed);
|
|
1811
|
-
}
|
|
1812
|
-
// --------------------------------------------------------------------------
|
|
1813
|
-
//
|
|
1814
|
-
// Private Methods
|
|
1815
|
-
//
|
|
1816
|
-
// --------------------------------------------------------------------------
|
|
1817
|
-
onBeforeOpen() {
|
|
1818
|
-
this.calciteInputTimePickerBeforeOpen.emit();
|
|
1819
|
-
}
|
|
1820
|
-
onOpen() {
|
|
1821
|
-
this.calciteInputTimePickerOpen.emit();
|
|
1822
|
-
}
|
|
1823
|
-
onBeforeClose() {
|
|
1824
|
-
this.calciteInputTimePickerBeforeClose.emit();
|
|
1825
|
-
}
|
|
1826
|
-
onClose() {
|
|
1827
|
-
this.calciteInputTimePickerClose.emit();
|
|
1828
|
-
}
|
|
1829
|
-
delocalizeTimeString(value) {
|
|
1830
|
-
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
|
1831
|
-
dayjs.locale(this.effectiveLocale.toLowerCase());
|
|
1832
|
-
const nonFractionalSecondParts = this.delocalizeTimeStringToParts(value);
|
|
1833
|
-
let delocalizedTimeString;
|
|
1834
|
-
if (this.shouldIncludeFractionalSeconds()) {
|
|
1835
|
-
const stepPrecision = decimalPlaces(this.step);
|
|
1836
|
-
const centisecondParts = this.delocalizeTimeStringToParts(value, "S");
|
|
1837
|
-
if (stepPrecision === 1) {
|
|
1838
|
-
delocalizedTimeString =
|
|
1839
|
-
centisecondParts.millisecond !== 0
|
|
1840
|
-
? this.getTimeStringFromParts(centisecondParts)
|
|
1841
|
-
: this.getTimeStringFromParts(nonFractionalSecondParts);
|
|
1842
|
-
}
|
|
1843
|
-
else {
|
|
1844
|
-
const decisecondParts = this.delocalizeTimeStringToParts(value, "SS");
|
|
1845
|
-
if (stepPrecision === 2) {
|
|
1846
|
-
if (decisecondParts.millisecond !== 0) {
|
|
1847
|
-
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
|
1848
|
-
}
|
|
1849
|
-
else if (centisecondParts.millisecond !== 0) {
|
|
1850
|
-
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
|
1851
|
-
}
|
|
1852
|
-
else {
|
|
1853
|
-
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
|
-
else if (stepPrecision >= 3) {
|
|
1857
|
-
const millisecondParts = this.delocalizeTimeStringToParts(value, "SSS");
|
|
1858
|
-
if (millisecondParts.millisecond !== 0) {
|
|
1859
|
-
delocalizedTimeString = this.getTimeStringFromParts(millisecondParts);
|
|
1860
|
-
}
|
|
1861
|
-
else if (decisecondParts.millisecond !== 0) {
|
|
1862
|
-
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
|
1863
|
-
}
|
|
1864
|
-
else if (centisecondParts.millisecond !== 0) {
|
|
1865
|
-
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
|
1866
|
-
}
|
|
1867
|
-
else {
|
|
1868
|
-
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
|
1869
|
-
}
|
|
1870
|
-
}
|
|
1871
|
-
}
|
|
1872
|
-
}
|
|
1873
|
-
else {
|
|
1874
|
-
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
|
1875
|
-
}
|
|
1876
|
-
return delocalizedTimeString;
|
|
1877
|
-
}
|
|
1878
|
-
delocalizeTimeStringToParts(localizedTimeString, fractionalSecondFormatToken) {
|
|
1879
|
-
const ltsFormatString = this.localeConfig?.formats?.LTS;
|
|
1880
|
-
const fractionalSecondTokenMatch = ltsFormatString.match(/ss\.*(S+)/g);
|
|
1881
|
-
if (fractionalSecondFormatToken && this.shouldIncludeFractionalSeconds()) {
|
|
1882
|
-
const secondFormatToken = `ss.${fractionalSecondFormatToken}`;
|
|
1883
|
-
this.localeConfig.formats.LTS = fractionalSecondTokenMatch
|
|
1884
|
-
? ltsFormatString.replace(fractionalSecondTokenMatch[0], secondFormatToken)
|
|
1885
|
-
: ltsFormatString.replace("ss", secondFormatToken);
|
|
1886
|
-
}
|
|
1887
|
-
else if (fractionalSecondTokenMatch) {
|
|
1888
|
-
this.localeConfig.formats.LTS = ltsFormatString.replace(fractionalSecondTokenMatch[0], "ss");
|
|
1889
|
-
}
|
|
1890
|
-
dayjs.updateLocale(this.getSupportedDayjsLocale(getSupportedLocale(this.effectiveLocale)), this.localeConfig);
|
|
1891
|
-
const dayjsParseResult = dayjs(localizedTimeString, ["LTS", "LT"]);
|
|
1892
|
-
if (dayjsParseResult.isValid()) {
|
|
1893
|
-
return {
|
|
1894
|
-
hour: dayjsParseResult.get("hour"),
|
|
1895
|
-
minute: dayjsParseResult.get("minute"),
|
|
1896
|
-
second: dayjsParseResult.get("second"),
|
|
1897
|
-
millisecond: dayjsParseResult.get("millisecond"),
|
|
1898
|
-
};
|
|
1899
|
-
}
|
|
1900
|
-
return {
|
|
1901
|
-
hour: null,
|
|
1902
|
-
minute: null,
|
|
1903
|
-
second: null,
|
|
1904
|
-
millisecond: null,
|
|
1905
|
-
};
|
|
1906
|
-
}
|
|
1907
|
-
getTimeStringFromParts(parts) {
|
|
1908
|
-
let timeString = "";
|
|
1909
|
-
if (!parts) {
|
|
1910
|
-
return timeString;
|
|
1911
|
-
}
|
|
1912
|
-
if (parts.hour !== null && parts.minute !== null) {
|
|
1913
|
-
timeString = `${formatTimePart(parts.hour)}:${formatTimePart(parts.minute)}`;
|
|
1914
|
-
if (this.shouldIncludeSeconds() && parts.second !== null) {
|
|
1915
|
-
timeString += `:${formatTimePart(parts.second)}`;
|
|
1916
|
-
if (this.shouldIncludeFractionalSeconds() && parts.millisecond !== null) {
|
|
1917
|
-
const second = (parts.millisecond * 0.001).toFixed(decimalPlaces(this.step));
|
|
1918
|
-
timeString += `.${second.toString().replace("0.", "")}`;
|
|
1919
|
-
}
|
|
1920
|
-
}
|
|
1921
|
-
}
|
|
1922
|
-
return timeString;
|
|
1923
|
-
}
|
|
1924
|
-
getSupportedDayjsLocale(locale) {
|
|
1925
|
-
const dayjsLocale = locale.toLowerCase();
|
|
1926
|
-
if (dayjsLocale === "no") {
|
|
1927
|
-
return "nb";
|
|
1928
|
-
}
|
|
1929
|
-
if (dayjsLocale === "pt-pt") {
|
|
1930
|
-
return "pt";
|
|
1931
|
-
}
|
|
1932
|
-
return dayjsLocale;
|
|
1933
|
-
}
|
|
1934
|
-
async loadDateTimeLocaleData() {
|
|
1935
|
-
let supportedLocale = getSupportedLocale(this.effectiveLocale).toLowerCase();
|
|
1936
|
-
supportedLocale = this.getSupportedDayjsLocale(supportedLocale);
|
|
1937
|
-
const { default: localeConfig } = await supportedDayjsLocaleToLocaleConfigImport.get(supportedLocale)();
|
|
1938
|
-
this.localeConfig = localeConfig;
|
|
1939
|
-
dayjs.locale(this.localeConfig, null, true);
|
|
1940
|
-
dayjs.updateLocale(supportedLocale, this.getExtendedLocaleConfig(supportedLocale));
|
|
1941
|
-
}
|
|
1942
|
-
getExtendedLocaleConfig(locale) {
|
|
1943
|
-
if (locale === "ar") {
|
|
1944
|
-
return {
|
|
1945
|
-
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
|
1946
|
-
formats: {
|
|
1947
|
-
LT: "HH:mm A",
|
|
1948
|
-
LTS: "HH:mm:ss A",
|
|
1949
|
-
L: "DD/MM/YYYY",
|
|
1950
|
-
LL: "D MMMM YYYY",
|
|
1951
|
-
LLL: "D MMMM YYYY HH:mm A",
|
|
1952
|
-
LLLL: "dddd D MMMM YYYY HH:mm A",
|
|
1953
|
-
},
|
|
1954
|
-
};
|
|
1955
|
-
}
|
|
1956
|
-
if (locale === "en-au") {
|
|
1957
|
-
return {
|
|
1958
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
|
1959
|
-
};
|
|
1960
|
-
}
|
|
1961
|
-
if (locale === "en-ca") {
|
|
1962
|
-
return {
|
|
1963
|
-
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m."),
|
|
1964
|
-
};
|
|
1965
|
-
}
|
|
1966
|
-
if (locale === "el") {
|
|
1967
|
-
return {
|
|
1968
|
-
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ."),
|
|
1969
|
-
};
|
|
1970
|
-
}
|
|
1971
|
-
if (locale === "hi") {
|
|
1972
|
-
return {
|
|
1973
|
-
formats: {
|
|
1974
|
-
LT: "h:mm A",
|
|
1975
|
-
LTS: "h:mm:ss A",
|
|
1976
|
-
L: "DD/MM/YYYY",
|
|
1977
|
-
LL: "D MMMM YYYY",
|
|
1978
|
-
LLL: "D MMMM YYYY, h:mm A",
|
|
1979
|
-
LLLL: "dddd, D MMMM YYYY, h:mm A",
|
|
1980
|
-
},
|
|
1981
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
|
1982
|
-
};
|
|
1983
|
-
}
|
|
1984
|
-
if (locale === "ko") {
|
|
1985
|
-
return {
|
|
1986
|
-
meridiem: (hour) => (hour > 12 ? "오후" : "오전"),
|
|
1987
|
-
};
|
|
1988
|
-
}
|
|
1989
|
-
if (locale === "zh-tw") {
|
|
1990
|
-
return {
|
|
1991
|
-
formats: {
|
|
1992
|
-
LT: "AHH:mm",
|
|
1993
|
-
LTS: "AHH:mm:ss",
|
|
1994
|
-
},
|
|
1995
|
-
};
|
|
1996
|
-
}
|
|
1997
|
-
if (locale === "zh-hk") {
|
|
1998
|
-
return {
|
|
1999
|
-
formats: {
|
|
2000
|
-
LT: "AHH:mm",
|
|
2001
|
-
LTS: "AHH:mm:ss",
|
|
2002
|
-
},
|
|
2003
|
-
meridiem: (hour) => (hour > 12 ? "下午" : "上午"),
|
|
2004
|
-
};
|
|
2005
|
-
}
|
|
2006
|
-
}
|
|
2007
|
-
onLabelClick() {
|
|
2008
|
-
this.setFocus();
|
|
2009
|
-
}
|
|
2010
|
-
shouldIncludeSeconds() {
|
|
2011
|
-
return this.step < 60;
|
|
2012
|
-
}
|
|
2013
|
-
shouldIncludeFractionalSeconds() {
|
|
2014
|
-
return decimalPlaces(this.step) > 0;
|
|
2015
|
-
}
|
|
2016
|
-
//--------------------------------------------------------------------------
|
|
2017
|
-
//
|
|
2018
|
-
// Lifecycle
|
|
2019
|
-
//
|
|
2020
|
-
//--------------------------------------------------------------------------
|
|
2021
|
-
connectedCallback() {
|
|
2022
|
-
connectInteractive(this);
|
|
2023
|
-
connectLocalized(this);
|
|
2024
|
-
if (isValidTime(this.value)) {
|
|
2025
|
-
this.setValueDirectly(this.value);
|
|
2026
|
-
}
|
|
2027
|
-
else {
|
|
2028
|
-
this.value = undefined;
|
|
2029
|
-
}
|
|
2030
|
-
connectLabel(this);
|
|
2031
|
-
connectForm(this);
|
|
2032
|
-
connectMessages(this);
|
|
2033
|
-
}
|
|
2034
|
-
async componentWillLoad() {
|
|
2035
|
-
setUpLoadableComponent(this);
|
|
2036
|
-
await Promise.all([setUpMessages(this), this.loadDateTimeLocaleData()]);
|
|
2037
|
-
if (this.open) {
|
|
2038
|
-
onToggleOpenCloseComponent(this);
|
|
2039
|
-
}
|
|
2040
|
-
}
|
|
2041
|
-
componentDidLoad() {
|
|
2042
|
-
setComponentLoaded(this);
|
|
2043
|
-
if (isValidTime(this.value)) {
|
|
2044
|
-
this.setInputValue(localizeTimeString({
|
|
2045
|
-
value: this.value,
|
|
2046
|
-
locale: this.effectiveLocale,
|
|
2047
|
-
numberingSystem: this.numberingSystem,
|
|
2048
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
|
2049
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
|
2050
|
-
}));
|
|
2051
|
-
}
|
|
2052
|
-
}
|
|
2053
|
-
disconnectedCallback() {
|
|
2054
|
-
disconnectInteractive(this);
|
|
2055
|
-
disconnectLabel(this);
|
|
2056
|
-
disconnectForm(this);
|
|
2057
|
-
disconnectLocalized(this);
|
|
2058
|
-
deactivateFocusTrap(this);
|
|
2059
|
-
disconnectMessages(this);
|
|
2060
|
-
}
|
|
2061
|
-
componentDidRender() {
|
|
2062
|
-
updateHostInteraction(this);
|
|
2063
|
-
}
|
|
2064
|
-
// --------------------------------------------------------------------------
|
|
2065
|
-
//
|
|
2066
|
-
// Render Methods
|
|
2067
|
-
//
|
|
2068
|
-
// --------------------------------------------------------------------------
|
|
2069
|
-
render() {
|
|
2070
|
-
const { disabled, messages, readOnly, dialogId } = this;
|
|
2071
|
-
return (h(Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, h(InteractiveContainer, { disabled: this.disabled }, h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, h("calcite-input-text", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: getLabelText(this), lang: this.effectiveLocale, onCalciteInputTextInput: this.calciteInternalInputInputHandler, onCalciteInternalInputTextFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status,
|
|
2072
|
-
// 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)
|
|
2073
|
-
ref: this.setInputAndTransitionEl }), !this.readOnly && 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,
|
|
2074
|
-
// 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)
|
|
2075
|
-
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,
|
|
2076
|
-
// 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)
|
|
2077
|
-
ref: this.setCalciteTimePickerEl })), h(HiddenFormInputSlot, { component: this }), this.validationMessage ? (h(Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
|
|
2078
|
-
}
|
|
2079
|
-
renderToggleIcon(open) {
|
|
2080
|
-
return (h("span", { class: CSS$1.toggleIcon }, h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: getIconScale(this.scale) })));
|
|
2081
|
-
}
|
|
2082
|
-
static get delegatesFocus() { return true; }
|
|
2083
|
-
static get assetsDirs() { return ["assets"]; }
|
|
2084
|
-
get el() { return getElement(this); }
|
|
2085
|
-
static get watchers() { return {
|
|
2086
|
-
"open": ["openHandler"],
|
|
2087
|
-
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
|
2088
|
-
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
2089
|
-
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
2090
|
-
"messageOverrides": ["onMessagesChange"],
|
|
2091
|
-
"numberingSystem": ["numberingSystemWatcher"],
|
|
2092
|
-
"step": ["stepWatcher"],
|
|
2093
|
-
"value": ["valueWatcher"],
|
|
2094
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
2095
|
-
}; }
|
|
2096
|
-
};
|
|
2097
|
-
InputTimePicker.style = inputTimePickerCss;
|
|
2098
|
-
|
|
2099
|
-
const CSS = {
|
|
2100
|
-
button: "button",
|
|
2101
|
-
buttonBottomLeft: "button--bottom-left",
|
|
2102
|
-
buttonBottomRight: "button--bottom-right",
|
|
2103
|
-
buttonFractionalSecondDown: "button--fractionalSecond-down",
|
|
2104
|
-
buttonFractionalSecondUp: "button--fractionalSecond-up",
|
|
2105
|
-
buttonHourDown: "button--hour-down",
|
|
2106
|
-
buttonHourUp: "button--hour-up",
|
|
2107
|
-
buttonMeridiemDown: "button--meridiem-down",
|
|
2108
|
-
buttonMeridiemUp: "button--meridiem-up",
|
|
2109
|
-
buttonMinuteDown: "button--minute-down",
|
|
2110
|
-
buttonMinuteUp: "button--minute-up",
|
|
2111
|
-
buttonSecondDown: "button--second-down",
|
|
2112
|
-
buttonSecondUp: "button--second-up",
|
|
2113
|
-
buttonTopLeft: "button--top-left",
|
|
2114
|
-
buttonTopRight: "button--top-right",
|
|
2115
|
-
column: "column",
|
|
2116
|
-
delimiter: "delimiter",
|
|
2117
|
-
fractionalSecond: "fractionalSecond",
|
|
2118
|
-
hour: "hour",
|
|
2119
|
-
input: "input",
|
|
2120
|
-
inputFocus: "inputFocus",
|
|
2121
|
-
meridiem: "meridiem",
|
|
2122
|
-
minute: "minute",
|
|
2123
|
-
second: "second",
|
|
2124
|
-
showMeridiem: "show-meridiem",
|
|
2125
|
-
showSecond: "show-second",
|
|
2126
|
-
"scale-s": "scale-s",
|
|
2127
|
-
"scale-m": "scale-m",
|
|
2128
|
-
"scale-l": "scale-l",
|
|
2129
|
-
timePicker: "time-picker",
|
|
2130
|
-
meridiemStart: "meridiem--start",
|
|
2131
|
-
};
|
|
2132
|
-
|
|
2133
|
-
const timePickerCss = ":host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-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-color-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-color-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-z-index-header);outline-offset:0}.time-picker .button:active{background-color:var(--calcite-color-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-color-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-2);z-index:var(--calcite-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;outline-offset:0}.time-picker .input.inputFocus,.time-picker .input:hover.inputFocus{box-shadow:inset 0 0 0 2px var(--calcite-color-brand);z-index:var(--calcite-z-index-header)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";
|
|
2134
|
-
|
|
2135
|
-
function capitalize(str) {
|
|
2136
|
-
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
2137
|
-
}
|
|
2138
|
-
const TimePicker = class {
|
|
2139
|
-
constructor(hostRef) {
|
|
2140
|
-
registerInstance(this, hostRef);
|
|
2141
|
-
this.calciteInternalTimePickerBlur = createEvent(this, "calciteInternalTimePickerBlur", 6);
|
|
2142
|
-
this.calciteInternalTimePickerChange = createEvent(this, "calciteInternalTimePickerChange", 6);
|
|
2143
|
-
this.calciteInternalTimePickerFocus = createEvent(this, "calciteInternalTimePickerFocus", 6);
|
|
2144
|
-
this.pointerActivated = false;
|
|
2145
|
-
this.decrementHour = () => {
|
|
2146
|
-
const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour) - 1;
|
|
2147
|
-
this.setValuePart("hour", newHour);
|
|
2148
|
-
};
|
|
2149
|
-
this.decrementMeridiem = () => {
|
|
2150
|
-
const newMeridiem = this.meridiem === "PM" ? "AM" : "PM";
|
|
2151
|
-
this.setValuePart("meridiem", newMeridiem);
|
|
2152
|
-
};
|
|
2153
|
-
this.decrementMinuteOrSecond = (key) => {
|
|
2154
|
-
let newValue;
|
|
2155
|
-
if (isValidNumber(this[key])) {
|
|
2156
|
-
const valueAsNumber = parseInt(this[key]);
|
|
2157
|
-
newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;
|
|
2158
|
-
}
|
|
2159
|
-
else {
|
|
2160
|
-
newValue = 59;
|
|
2161
|
-
}
|
|
2162
|
-
this.setValuePart(key, newValue);
|
|
2163
|
-
};
|
|
2164
|
-
this.decrementMinute = () => {
|
|
2165
|
-
this.decrementMinuteOrSecond("minute");
|
|
2166
|
-
};
|
|
2167
|
-
this.decrementSecond = () => {
|
|
2168
|
-
this.decrementMinuteOrSecond("second");
|
|
2169
|
-
};
|
|
2170
|
-
this.focusHandler = (event) => {
|
|
2171
|
-
if (this.pointerActivated) {
|
|
2172
|
-
return;
|
|
2173
|
-
}
|
|
2174
|
-
this.activeEl = event.currentTarget;
|
|
2175
|
-
};
|
|
2176
|
-
this.fractionalSecondKeyDownHandler = (event) => {
|
|
2177
|
-
const { key } = event;
|
|
2178
|
-
if (numberKeys.includes(key)) {
|
|
2179
|
-
const stepPrecision = decimalPlaces(this.step);
|
|
2180
|
-
const fractionalSecondAsInteger = parseInt(this.fractionalSecond);
|
|
2181
|
-
const fractionalSecondAsIntegerLength = fractionalSecondAsInteger.toString().length;
|
|
2182
|
-
let newFractionalSecondAsIntegerString;
|
|
2183
|
-
if (fractionalSecondAsIntegerLength >= stepPrecision) {
|
|
2184
|
-
newFractionalSecondAsIntegerString = key.padStart(stepPrecision, "0");
|
|
2185
|
-
}
|
|
2186
|
-
else if (fractionalSecondAsIntegerLength < stepPrecision) {
|
|
2187
|
-
newFractionalSecondAsIntegerString = `${fractionalSecondAsInteger}${key}`.padStart(stepPrecision, "0");
|
|
2188
|
-
}
|
|
2189
|
-
this.setValuePart("fractionalSecond", parseFloat(`0.${newFractionalSecondAsIntegerString}`));
|
|
2190
|
-
}
|
|
2191
|
-
else {
|
|
2192
|
-
switch (key) {
|
|
2193
|
-
case "Backspace":
|
|
2194
|
-
case "Delete":
|
|
2195
|
-
this.setValuePart("fractionalSecond", null);
|
|
2196
|
-
break;
|
|
2197
|
-
case "ArrowDown":
|
|
2198
|
-
event.preventDefault();
|
|
2199
|
-
this.nudgeFractionalSecond("down");
|
|
2200
|
-
break;
|
|
2201
|
-
case "ArrowUp":
|
|
2202
|
-
event.preventDefault();
|
|
2203
|
-
this.nudgeFractionalSecond("up");
|
|
2204
|
-
break;
|
|
2205
|
-
case " ":
|
|
2206
|
-
event.preventDefault();
|
|
2207
|
-
break;
|
|
2208
|
-
}
|
|
2209
|
-
}
|
|
2210
|
-
};
|
|
2211
|
-
this.fractionalSecondDownClickHandler = () => {
|
|
2212
|
-
this.activeEl = this.fractionalSecondEl;
|
|
2213
|
-
this.fractionalSecondEl.focus();
|
|
2214
|
-
this.nudgeFractionalSecond("down");
|
|
2215
|
-
};
|
|
2216
|
-
this.fractionalSecondUpClickHandler = () => {
|
|
2217
|
-
this.activeEl = this.fractionalSecondEl;
|
|
2218
|
-
this.fractionalSecondEl.focus();
|
|
2219
|
-
this.nudgeFractionalSecond("up");
|
|
2220
|
-
};
|
|
2221
|
-
this.hourDownClickHandler = () => {
|
|
2222
|
-
this.activeEl = this.hourEl;
|
|
2223
|
-
this.hourEl.focus();
|
|
2224
|
-
this.decrementHour();
|
|
2225
|
-
};
|
|
2226
|
-
this.hourKeyDownHandler = (event) => {
|
|
2227
|
-
const { key } = event;
|
|
2228
|
-
if (numberKeys.includes(key)) {
|
|
2229
|
-
const keyAsNumber = parseInt(key);
|
|
2230
|
-
let newHour;
|
|
2231
|
-
if (isValidNumber(this.hour)) {
|
|
2232
|
-
switch (this.hourCycle) {
|
|
2233
|
-
case "12":
|
|
2234
|
-
newHour =
|
|
2235
|
-
this.hour === "01" && keyAsNumber >= 0 && keyAsNumber <= 2
|
|
2236
|
-
? `1${keyAsNumber}`
|
|
2237
|
-
: keyAsNumber;
|
|
2238
|
-
break;
|
|
2239
|
-
case "24":
|
|
2240
|
-
if (this.hour === "01") {
|
|
2241
|
-
newHour = `1${keyAsNumber}`;
|
|
2242
|
-
}
|
|
2243
|
-
else if (this.hour === "02" && keyAsNumber >= 0 && keyAsNumber <= 3) {
|
|
2244
|
-
newHour = `2${keyAsNumber}`;
|
|
2245
|
-
}
|
|
2246
|
-
else {
|
|
2247
|
-
newHour = keyAsNumber;
|
|
2248
|
-
}
|
|
2249
|
-
break;
|
|
2250
|
-
}
|
|
2251
|
-
}
|
|
2252
|
-
else {
|
|
2253
|
-
newHour = keyAsNumber;
|
|
2254
|
-
}
|
|
2255
|
-
this.setValuePart("hour", newHour);
|
|
2256
|
-
}
|
|
2257
|
-
else {
|
|
2258
|
-
switch (key) {
|
|
2259
|
-
case "Backspace":
|
|
2260
|
-
case "Delete":
|
|
2261
|
-
this.setValuePart("hour", null);
|
|
2262
|
-
break;
|
|
2263
|
-
case "ArrowDown":
|
|
2264
|
-
event.preventDefault();
|
|
2265
|
-
this.decrementHour();
|
|
2266
|
-
break;
|
|
2267
|
-
case "ArrowUp":
|
|
2268
|
-
event.preventDefault();
|
|
2269
|
-
this.incrementHour();
|
|
2270
|
-
break;
|
|
2271
|
-
case " ":
|
|
2272
|
-
event.preventDefault();
|
|
2273
|
-
break;
|
|
2274
|
-
}
|
|
2275
|
-
}
|
|
2276
|
-
};
|
|
2277
|
-
this.hourUpClickHandler = () => {
|
|
2278
|
-
this.activeEl = this.hourEl;
|
|
2279
|
-
this.hourEl.focus();
|
|
2280
|
-
this.incrementHour();
|
|
2281
|
-
};
|
|
2282
|
-
this.incrementMeridiem = () => {
|
|
2283
|
-
const newMeridiem = this.meridiem === "AM" ? "PM" : "AM";
|
|
2284
|
-
this.setValuePart("meridiem", newMeridiem);
|
|
2285
|
-
};
|
|
2286
|
-
this.incrementHour = () => {
|
|
2287
|
-
const newHour = isValidNumber(this.hour)
|
|
2288
|
-
? this.hour === "23"
|
|
2289
|
-
? 0
|
|
2290
|
-
: parseInt(this.hour) + 1
|
|
2291
|
-
: 1;
|
|
2292
|
-
this.setValuePart("hour", newHour);
|
|
2293
|
-
};
|
|
2294
|
-
this.incrementMinuteOrSecond = (key) => {
|
|
2295
|
-
const newValue = isValidNumber(this[key])
|
|
2296
|
-
? this[key] === "59"
|
|
2297
|
-
? 0
|
|
2298
|
-
: parseInt(this[key]) + 1
|
|
2299
|
-
: 0;
|
|
2300
|
-
this.setValuePart(key, newValue);
|
|
2301
|
-
};
|
|
2302
|
-
this.incrementMinute = () => {
|
|
2303
|
-
this.incrementMinuteOrSecond("minute");
|
|
2304
|
-
};
|
|
2305
|
-
this.incrementSecond = () => {
|
|
2306
|
-
this.incrementMinuteOrSecond("second");
|
|
2307
|
-
};
|
|
2308
|
-
this.inputClickHandler = (event) => {
|
|
2309
|
-
this.activeEl = event.target;
|
|
2310
|
-
};
|
|
2311
|
-
this.meridiemUpClickHandler = () => {
|
|
2312
|
-
this.activeEl = this.meridiemEl;
|
|
2313
|
-
this.meridiemEl.focus();
|
|
2314
|
-
this.incrementMeridiem();
|
|
2315
|
-
};
|
|
2316
|
-
this.meridiemKeyDownHandler = (event) => {
|
|
2317
|
-
switch (event.key) {
|
|
2318
|
-
case "a":
|
|
2319
|
-
this.setValuePart("meridiem", "AM");
|
|
2320
|
-
break;
|
|
2321
|
-
case "p":
|
|
2322
|
-
this.setValuePart("meridiem", "PM");
|
|
2323
|
-
break;
|
|
2324
|
-
case "Backspace":
|
|
2325
|
-
case "Delete":
|
|
2326
|
-
this.setValuePart("meridiem", null);
|
|
2327
|
-
break;
|
|
2328
|
-
case "ArrowUp":
|
|
2329
|
-
event.preventDefault();
|
|
2330
|
-
this.incrementMeridiem();
|
|
2331
|
-
break;
|
|
2332
|
-
case "ArrowDown":
|
|
2333
|
-
event.preventDefault();
|
|
2334
|
-
this.decrementMeridiem();
|
|
2335
|
-
break;
|
|
2336
|
-
case " ":
|
|
2337
|
-
event.preventDefault();
|
|
2338
|
-
break;
|
|
2339
|
-
}
|
|
2340
|
-
};
|
|
2341
|
-
this.meridiemDownClickHandler = () => {
|
|
2342
|
-
this.activeEl = this.meridiemEl;
|
|
2343
|
-
this.meridiemEl.focus();
|
|
2344
|
-
this.decrementMeridiem();
|
|
2345
|
-
};
|
|
2346
|
-
this.minuteDownClickHandler = () => {
|
|
2347
|
-
this.activeEl = this.minuteEl;
|
|
2348
|
-
this.minuteEl.focus();
|
|
2349
|
-
this.decrementMinute();
|
|
2350
|
-
};
|
|
2351
|
-
this.minuteUpClickHandler = () => {
|
|
2352
|
-
this.activeEl = this.minuteEl;
|
|
2353
|
-
this.minuteEl.focus();
|
|
2354
|
-
this.incrementMinute();
|
|
2355
|
-
};
|
|
2356
|
-
this.minuteKeyDownHandler = (event) => {
|
|
2357
|
-
const { key } = event;
|
|
2358
|
-
if (numberKeys.includes(key)) {
|
|
2359
|
-
const keyAsNumber = parseInt(key);
|
|
2360
|
-
let newMinute;
|
|
2361
|
-
if (isValidNumber(this.minute) && this.minute.startsWith("0")) {
|
|
2362
|
-
const minuteAsNumber = parseInt(this.minute);
|
|
2363
|
-
newMinute =
|
|
2364
|
-
minuteAsNumber > maxTenthForMinuteAndSecond
|
|
2365
|
-
? keyAsNumber
|
|
2366
|
-
: `${minuteAsNumber}${keyAsNumber}`;
|
|
2367
|
-
}
|
|
2368
|
-
else {
|
|
2369
|
-
newMinute = keyAsNumber;
|
|
2370
|
-
}
|
|
2371
|
-
this.setValuePart("minute", newMinute);
|
|
2372
|
-
}
|
|
2373
|
-
else {
|
|
2374
|
-
switch (key) {
|
|
2375
|
-
case "Backspace":
|
|
2376
|
-
case "Delete":
|
|
2377
|
-
this.setValuePart("minute", null);
|
|
2378
|
-
break;
|
|
2379
|
-
case "ArrowDown":
|
|
2380
|
-
event.preventDefault();
|
|
2381
|
-
this.decrementMinute();
|
|
2382
|
-
break;
|
|
2383
|
-
case "ArrowUp":
|
|
2384
|
-
event.preventDefault();
|
|
2385
|
-
this.incrementMinute();
|
|
2386
|
-
break;
|
|
2387
|
-
case " ":
|
|
2388
|
-
event.preventDefault();
|
|
2389
|
-
break;
|
|
2390
|
-
}
|
|
2391
|
-
}
|
|
2392
|
-
};
|
|
2393
|
-
this.nudgeFractionalSecond = (direction) => {
|
|
2394
|
-
const stepDecimal = getDecimals(this.step);
|
|
2395
|
-
const stepPrecision = decimalPlaces(this.step);
|
|
2396
|
-
const fractionalSecondAsInteger = parseInt(this.fractionalSecond);
|
|
2397
|
-
const fractionalSecondAsFloat = parseFloat(`0.${this.fractionalSecond}`);
|
|
2398
|
-
let nudgedValue;
|
|
2399
|
-
let nudgedValueRounded;
|
|
2400
|
-
let nudgedValueRoundedDecimals;
|
|
2401
|
-
let newFractionalSecond;
|
|
2402
|
-
if (direction === "up") {
|
|
2403
|
-
nudgedValue = isNaN(fractionalSecondAsInteger) ? 0 : fractionalSecondAsFloat + stepDecimal;
|
|
2404
|
-
nudgedValueRounded = parseFloat(nudgedValue.toFixed(stepPrecision));
|
|
2405
|
-
nudgedValueRoundedDecimals = getDecimals(nudgedValueRounded);
|
|
2406
|
-
newFractionalSecond =
|
|
2407
|
-
nudgedValueRounded < 1 && decimalPlaces(nudgedValueRoundedDecimals) > 0
|
|
2408
|
-
? formatTimePart(nudgedValueRoundedDecimals, stepPrecision)
|
|
2409
|
-
: "".padStart(stepPrecision, "0");
|
|
2410
|
-
}
|
|
2411
|
-
if (direction === "down") {
|
|
2412
|
-
nudgedValue =
|
|
2413
|
-
isNaN(fractionalSecondAsInteger) || fractionalSecondAsInteger === 0
|
|
2414
|
-
? 1 - stepDecimal
|
|
2415
|
-
: fractionalSecondAsFloat - stepDecimal;
|
|
2416
|
-
nudgedValueRounded = parseFloat(nudgedValue.toFixed(stepPrecision));
|
|
2417
|
-
nudgedValueRoundedDecimals = getDecimals(nudgedValueRounded);
|
|
2418
|
-
newFractionalSecond =
|
|
2419
|
-
nudgedValueRounded < 1 &&
|
|
2420
|
-
decimalPlaces(nudgedValueRoundedDecimals) > 0 &&
|
|
2421
|
-
Math.sign(nudgedValueRoundedDecimals) === 1
|
|
2422
|
-
? formatTimePart(nudgedValueRoundedDecimals, stepPrecision)
|
|
2423
|
-
: "".padStart(stepPrecision, "0");
|
|
2424
|
-
}
|
|
2425
|
-
this.setValuePart("fractionalSecond", newFractionalSecond);
|
|
2426
|
-
};
|
|
2427
|
-
this.sanitizeValue = (value) => {
|
|
2428
|
-
const { hour, minute, second, fractionalSecond } = parseTimeString(value);
|
|
2429
|
-
if (fractionalSecond) {
|
|
2430
|
-
const sanitizedFractionalSecond = this.sanitizeFractionalSecond(fractionalSecond);
|
|
2431
|
-
return `${hour}:${minute}:${second}.${sanitizedFractionalSecond}`;
|
|
2432
|
-
}
|
|
2433
|
-
return isValidTime(value) && value;
|
|
2434
|
-
};
|
|
2435
|
-
this.sanitizeFractionalSecond = (fractionalSecond) => fractionalSecond && decimalPlaces(this.step) !== fractionalSecond.length
|
|
2436
|
-
? parseFloat(`0.${fractionalSecond}`).toFixed(decimalPlaces(this.step)).replace("0.", "")
|
|
2437
|
-
: fractionalSecond;
|
|
2438
|
-
this.secondKeyDownHandler = (event) => {
|
|
2439
|
-
const { key } = event;
|
|
2440
|
-
if (numberKeys.includes(key)) {
|
|
2441
|
-
const keyAsNumber = parseInt(key);
|
|
2442
|
-
let newSecond;
|
|
2443
|
-
if (isValidNumber(this.second) && this.second.startsWith("0")) {
|
|
2444
|
-
const secondAsNumber = parseInt(this.second);
|
|
2445
|
-
newSecond =
|
|
2446
|
-
secondAsNumber > maxTenthForMinuteAndSecond
|
|
2447
|
-
? keyAsNumber
|
|
2448
|
-
: `${secondAsNumber}${keyAsNumber}`;
|
|
2449
|
-
}
|
|
2450
|
-
else {
|
|
2451
|
-
newSecond = keyAsNumber;
|
|
2452
|
-
}
|
|
2453
|
-
this.setValuePart("second", newSecond);
|
|
2454
|
-
}
|
|
2455
|
-
else {
|
|
2456
|
-
switch (key) {
|
|
2457
|
-
case "Backspace":
|
|
2458
|
-
case "Delete":
|
|
2459
|
-
this.setValuePart("second", null);
|
|
2460
|
-
break;
|
|
2461
|
-
case "ArrowDown":
|
|
2462
|
-
event.preventDefault();
|
|
2463
|
-
this.decrementSecond();
|
|
2464
|
-
break;
|
|
2465
|
-
case "ArrowUp":
|
|
2466
|
-
event.preventDefault();
|
|
2467
|
-
this.incrementSecond();
|
|
2468
|
-
break;
|
|
2469
|
-
case " ":
|
|
2470
|
-
event.preventDefault();
|
|
2471
|
-
break;
|
|
2472
|
-
}
|
|
2473
|
-
}
|
|
2474
|
-
};
|
|
2475
|
-
this.secondDownClickHandler = () => {
|
|
2476
|
-
this.activeEl = this.secondEl;
|
|
2477
|
-
this.secondEl.focus();
|
|
2478
|
-
this.decrementSecond();
|
|
2479
|
-
};
|
|
2480
|
-
this.secondUpClickHandler = () => {
|
|
2481
|
-
this.activeEl = this.secondEl;
|
|
2482
|
-
this.secondEl.focus();
|
|
2483
|
-
this.incrementSecond();
|
|
2484
|
-
};
|
|
2485
|
-
this.setHourEl = (el) => (this.hourEl = el);
|
|
2486
|
-
this.setMeridiemEl = (el) => (this.meridiemEl = el);
|
|
2487
|
-
this.setMinuteEl = (el) => (this.minuteEl = el);
|
|
2488
|
-
this.setSecondEl = (el) => (this.secondEl = el);
|
|
2489
|
-
this.setFractionalSecondEl = (el) => (this.fractionalSecondEl = el);
|
|
2490
|
-
this.setValue = (value) => {
|
|
2491
|
-
if (isValidTime(value)) {
|
|
2492
|
-
const { hour, minute, second, fractionalSecond } = parseTimeString(value);
|
|
2493
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
|
2494
|
-
const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedDecimalSeparator, localizedFractionalSecond, localizedSecondSuffix, localizedMeridiem, } = localizeTimeStringToParts({ value, locale, numberingSystem });
|
|
2495
|
-
this.hour = hour;
|
|
2496
|
-
this.minute = minute;
|
|
2497
|
-
this.second = second;
|
|
2498
|
-
this.fractionalSecond = this.sanitizeFractionalSecond(fractionalSecond);
|
|
2499
|
-
this.localizedHour = localizedHour;
|
|
2500
|
-
this.localizedHourSuffix = localizedHourSuffix;
|
|
2501
|
-
this.localizedMinute = localizedMinute;
|
|
2502
|
-
this.localizedMinuteSuffix = localizedMinuteSuffix;
|
|
2503
|
-
this.localizedSecond = localizedSecond;
|
|
2504
|
-
this.localizedDecimalSeparator = localizedDecimalSeparator;
|
|
2505
|
-
this.localizedFractionalSecond = localizedFractionalSecond;
|
|
2506
|
-
this.localizedSecondSuffix = localizedSecondSuffix;
|
|
2507
|
-
if (localizedMeridiem) {
|
|
2508
|
-
this.localizedMeridiem = localizedMeridiem;
|
|
2509
|
-
this.meridiem = getMeridiem(this.hour);
|
|
2510
|
-
const formatParts = getTimeParts({ value, locale, numberingSystem });
|
|
2511
|
-
this.meridiemOrder = this.getMeridiemOrder(formatParts);
|
|
2512
|
-
}
|
|
2513
|
-
}
|
|
2514
|
-
else {
|
|
2515
|
-
this.hour = null;
|
|
2516
|
-
this.fractionalSecond = null;
|
|
2517
|
-
this.localizedHour = null;
|
|
2518
|
-
this.localizedHourSuffix = getLocalizedTimePartSuffix("hour", this.effectiveLocale, this.numberingSystem);
|
|
2519
|
-
this.localizedMeridiem = null;
|
|
2520
|
-
this.localizedMinute = null;
|
|
2521
|
-
this.localizedMinuteSuffix = getLocalizedTimePartSuffix("minute", this.effectiveLocale, this.numberingSystem);
|
|
2522
|
-
this.localizedSecond = null;
|
|
2523
|
-
this.localizedDecimalSeparator = getLocalizedDecimalSeparator(this.effectiveLocale, this.numberingSystem);
|
|
2524
|
-
this.localizedFractionalSecond = null;
|
|
2525
|
-
this.localizedSecondSuffix = getLocalizedTimePartSuffix("second", this.effectiveLocale, this.numberingSystem);
|
|
2526
|
-
this.meridiem = null;
|
|
2527
|
-
this.minute = null;
|
|
2528
|
-
this.second = null;
|
|
2529
|
-
this.value = null;
|
|
2530
|
-
}
|
|
2531
|
-
};
|
|
2532
|
-
this.setValuePart = (key, value) => {
|
|
2533
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
|
2534
|
-
if (key === "meridiem") {
|
|
2535
|
-
this.meridiem = value;
|
|
2536
|
-
if (isValidNumber(this.hour)) {
|
|
2537
|
-
const hourAsNumber = parseInt(this.hour);
|
|
2538
|
-
switch (value) {
|
|
2539
|
-
case "AM":
|
|
2540
|
-
if (hourAsNumber >= 12) {
|
|
2541
|
-
this.hour = formatTimePart(hourAsNumber - 12);
|
|
2542
|
-
}
|
|
2543
|
-
break;
|
|
2544
|
-
case "PM":
|
|
2545
|
-
if (hourAsNumber < 12) {
|
|
2546
|
-
this.hour = formatTimePart(hourAsNumber + 12);
|
|
2547
|
-
}
|
|
2548
|
-
break;
|
|
2549
|
-
}
|
|
2550
|
-
this.localizedHour = localizeTimePart({
|
|
2551
|
-
value: this.hour,
|
|
2552
|
-
part: "hour",
|
|
2553
|
-
locale,
|
|
2554
|
-
numberingSystem,
|
|
2555
|
-
});
|
|
2556
|
-
}
|
|
2557
|
-
}
|
|
2558
|
-
else if (key === "fractionalSecond") {
|
|
2559
|
-
const stepPrecision = decimalPlaces(this.step);
|
|
2560
|
-
if (typeof value === "number") {
|
|
2561
|
-
this.fractionalSecond =
|
|
2562
|
-
value === 0 ? "".padStart(stepPrecision, "0") : formatTimePart(value, stepPrecision);
|
|
2563
|
-
}
|
|
2564
|
-
else {
|
|
2565
|
-
this.fractionalSecond = value;
|
|
2566
|
-
}
|
|
2567
|
-
this.localizedFractionalSecond = localizeTimePart({
|
|
2568
|
-
value: this.fractionalSecond,
|
|
2569
|
-
part: "fractionalSecond",
|
|
2570
|
-
locale,
|
|
2571
|
-
numberingSystem,
|
|
2572
|
-
});
|
|
2573
|
-
}
|
|
2574
|
-
else {
|
|
2575
|
-
this[key] = typeof value === "number" ? formatTimePart(value) : value;
|
|
2576
|
-
this[`localized${capitalize(key)}`] = localizeTimePart({
|
|
2577
|
-
value: this[key],
|
|
2578
|
-
part: key,
|
|
2579
|
-
locale,
|
|
2580
|
-
numberingSystem,
|
|
2581
|
-
});
|
|
2582
|
-
}
|
|
2583
|
-
let emit = false;
|
|
2584
|
-
let newValue;
|
|
2585
|
-
if (this.hour && this.minute) {
|
|
2586
|
-
newValue = `${this.hour}:${this.minute}`;
|
|
2587
|
-
if (this.showSecond) {
|
|
2588
|
-
newValue = `${newValue}:${this.second ?? "00"}`;
|
|
2589
|
-
if (this.showFractionalSecond && this.fractionalSecond) {
|
|
2590
|
-
newValue = `${newValue}.${this.fractionalSecond}`;
|
|
2591
|
-
}
|
|
2592
|
-
}
|
|
2593
|
-
}
|
|
2594
|
-
else {
|
|
2595
|
-
newValue = null;
|
|
2596
|
-
}
|
|
2597
|
-
if (this.value !== newValue) {
|
|
2598
|
-
emit = true;
|
|
2599
|
-
}
|
|
2600
|
-
this.value = newValue;
|
|
2601
|
-
this.localizedMeridiem = this.value
|
|
2602
|
-
? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
|
|
2603
|
-
?.localizedMeridiem || null
|
|
2604
|
-
: localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
|
|
2605
|
-
if (emit) {
|
|
2606
|
-
this.calciteInternalTimePickerChange.emit();
|
|
2607
|
-
}
|
|
2608
|
-
};
|
|
2609
|
-
this.scale = "m";
|
|
2610
|
-
this.step = 60;
|
|
2611
|
-
this.numberingSystem = undefined;
|
|
2612
|
-
this.value = null;
|
|
2613
|
-
this.messages = undefined;
|
|
2614
|
-
this.messageOverrides = undefined;
|
|
2615
|
-
this.activeEl = undefined;
|
|
2616
|
-
this.effectiveLocale = "";
|
|
2617
|
-
this.fractionalSecond = undefined;
|
|
2618
|
-
this.hour = undefined;
|
|
2619
|
-
this.hourCycle = undefined;
|
|
2620
|
-
this.localizedDecimalSeparator = ".";
|
|
2621
|
-
this.localizedHour = undefined;
|
|
2622
|
-
this.localizedHourSuffix = undefined;
|
|
2623
|
-
this.localizedMeridiem = undefined;
|
|
2624
|
-
this.localizedFractionalSecond = undefined;
|
|
2625
|
-
this.localizedMinute = undefined;
|
|
2626
|
-
this.localizedMinuteSuffix = undefined;
|
|
2627
|
-
this.localizedSecond = undefined;
|
|
2628
|
-
this.localizedSecondSuffix = undefined;
|
|
2629
|
-
this.meridiem = undefined;
|
|
2630
|
-
this.minute = undefined;
|
|
2631
|
-
this.second = undefined;
|
|
2632
|
-
this.showFractionalSecond = undefined;
|
|
2633
|
-
this.showSecond = undefined;
|
|
2634
|
-
this.defaultMessages = undefined;
|
|
2635
|
-
}
|
|
2636
|
-
stepChange() {
|
|
2637
|
-
this.toggleSecond();
|
|
2638
|
-
}
|
|
2639
|
-
valueWatcher(newValue) {
|
|
2640
|
-
this.setValue(newValue);
|
|
2641
|
-
}
|
|
2642
|
-
onMessagesChange() {
|
|
2643
|
-
/* wired up by t9n util */
|
|
2644
|
-
}
|
|
2645
|
-
effectiveLocaleWatcher() {
|
|
2646
|
-
this.updateLocale();
|
|
2647
|
-
}
|
|
2648
|
-
//--------------------------------------------------------------------------
|
|
2649
|
-
//
|
|
2650
|
-
// Event Listeners
|
|
2651
|
-
//
|
|
2652
|
-
//--------------------------------------------------------------------------
|
|
2653
|
-
blurHandler() {
|
|
2654
|
-
this.activeEl = undefined;
|
|
2655
|
-
this.pointerActivated = false;
|
|
2656
|
-
this.calciteInternalTimePickerBlur.emit();
|
|
2657
|
-
}
|
|
2658
|
-
hostFocusHandler() {
|
|
2659
|
-
this.calciteInternalTimePickerFocus.emit();
|
|
2660
|
-
}
|
|
2661
|
-
keyDownHandler(event) {
|
|
2662
|
-
this.pointerActivated = false;
|
|
2663
|
-
const { defaultPrevented, key } = event;
|
|
2664
|
-
if (defaultPrevented) {
|
|
2665
|
-
return;
|
|
2666
|
-
}
|
|
2667
|
-
switch (this.activeEl) {
|
|
2668
|
-
case this.hourEl:
|
|
2669
|
-
if (key === "ArrowRight") {
|
|
2670
|
-
this.focusPart("minute");
|
|
2671
|
-
event.preventDefault();
|
|
2672
|
-
}
|
|
2673
|
-
break;
|
|
2674
|
-
case this.minuteEl:
|
|
2675
|
-
switch (key) {
|
|
2676
|
-
case "ArrowLeft":
|
|
2677
|
-
this.focusPart("hour");
|
|
2678
|
-
event.preventDefault();
|
|
2679
|
-
break;
|
|
2680
|
-
case "ArrowRight":
|
|
2681
|
-
if (this.step !== 60) {
|
|
2682
|
-
this.focusPart("second");
|
|
2683
|
-
event.preventDefault();
|
|
2684
|
-
}
|
|
2685
|
-
else if (this.hourCycle === "12") {
|
|
2686
|
-
this.focusPart("meridiem");
|
|
2687
|
-
event.preventDefault();
|
|
2688
|
-
}
|
|
2689
|
-
break;
|
|
2690
|
-
}
|
|
2691
|
-
break;
|
|
2692
|
-
case this.secondEl:
|
|
2693
|
-
switch (key) {
|
|
2694
|
-
case "ArrowLeft":
|
|
2695
|
-
this.focusPart("minute");
|
|
2696
|
-
event.preventDefault();
|
|
2697
|
-
break;
|
|
2698
|
-
case "ArrowRight":
|
|
2699
|
-
if (this.showFractionalSecond) {
|
|
2700
|
-
this.focusPart("fractionalSecond");
|
|
2701
|
-
}
|
|
2702
|
-
else if (this.hourCycle === "12") {
|
|
2703
|
-
this.focusPart("meridiem");
|
|
2704
|
-
event.preventDefault();
|
|
2705
|
-
}
|
|
2706
|
-
break;
|
|
2707
|
-
}
|
|
2708
|
-
break;
|
|
2709
|
-
case this.fractionalSecondEl:
|
|
2710
|
-
switch (key) {
|
|
2711
|
-
case "ArrowLeft":
|
|
2712
|
-
this.focusPart("second");
|
|
2713
|
-
event.preventDefault();
|
|
2714
|
-
break;
|
|
2715
|
-
case "ArrowRight":
|
|
2716
|
-
if (this.hourCycle === "12") {
|
|
2717
|
-
this.focusPart("meridiem");
|
|
2718
|
-
event.preventDefault();
|
|
2719
|
-
}
|
|
2720
|
-
break;
|
|
2721
|
-
}
|
|
2722
|
-
break;
|
|
2723
|
-
case this.meridiemEl:
|
|
2724
|
-
switch (key) {
|
|
2725
|
-
case "ArrowLeft":
|
|
2726
|
-
if (this.showFractionalSecond) {
|
|
2727
|
-
this.focusPart("fractionalSecond");
|
|
2728
|
-
}
|
|
2729
|
-
else if (this.step !== 60) {
|
|
2730
|
-
this.focusPart("second");
|
|
2731
|
-
event.preventDefault();
|
|
2732
|
-
}
|
|
2733
|
-
else {
|
|
2734
|
-
this.focusPart("minute");
|
|
2735
|
-
event.preventDefault();
|
|
2736
|
-
}
|
|
2737
|
-
break;
|
|
2738
|
-
}
|
|
2739
|
-
break;
|
|
2740
|
-
}
|
|
2741
|
-
}
|
|
2742
|
-
pointerDownHandler() {
|
|
2743
|
-
this.pointerActivated = true;
|
|
2744
|
-
}
|
|
2745
|
-
//--------------------------------------------------------------------------
|
|
2746
|
-
//
|
|
2747
|
-
// Public Methods
|
|
2748
|
-
//
|
|
2749
|
-
//--------------------------------------------------------------------------
|
|
2750
|
-
/**
|
|
2751
|
-
* Sets focus on the component's first focusable element.
|
|
2752
|
-
*/
|
|
2753
|
-
async setFocus() {
|
|
2754
|
-
await componentFocusable(this);
|
|
2755
|
-
this.el?.focus();
|
|
2756
|
-
}
|
|
2757
|
-
// --------------------------------------------------------------------------
|
|
2758
|
-
//
|
|
2759
|
-
// Private Methods
|
|
2760
|
-
//
|
|
2761
|
-
// --------------------------------------------------------------------------
|
|
2762
|
-
async focusPart(target) {
|
|
2763
|
-
await componentFocusable(this);
|
|
2764
|
-
this[`${target || "hour"}El`]?.focus();
|
|
2765
|
-
}
|
|
2766
|
-
toggleSecond() {
|
|
2767
|
-
this.showSecond = this.step < 60;
|
|
2768
|
-
this.showFractionalSecond = decimalPlaces(this.step) > 0;
|
|
2769
|
-
}
|
|
2770
|
-
getMeridiemOrder(formatParts) {
|
|
2771
|
-
const locale = this.effectiveLocale;
|
|
2772
|
-
const isRTLKind = locale === "ar" || locale === "he";
|
|
2773
|
-
if (formatParts && !isRTLKind) {
|
|
2774
|
-
const index = formatParts.findIndex((parts) => {
|
|
2775
|
-
return parts.value === this.localizedMeridiem;
|
|
2776
|
-
});
|
|
2777
|
-
return index;
|
|
2778
|
-
}
|
|
2779
|
-
return 0;
|
|
2780
|
-
}
|
|
2781
|
-
updateLocale() {
|
|
2782
|
-
updateMessages(this, this.effectiveLocale);
|
|
2783
|
-
this.hourCycle = getLocaleHourCycle(this.effectiveLocale, this.numberingSystem);
|
|
2784
|
-
this.localizedDecimalSeparator = getLocalizedDecimalSeparator(this.effectiveLocale, this.numberingSystem);
|
|
2785
|
-
this.setValue(this.sanitizeValue(this.value));
|
|
2786
|
-
}
|
|
2787
|
-
// --------------------------------------------------------------------------
|
|
2788
|
-
//
|
|
2789
|
-
// Lifecycle
|
|
2790
|
-
//
|
|
2791
|
-
// --------------------------------------------------------------------------
|
|
2792
|
-
connectedCallback() {
|
|
2793
|
-
connectLocalized(this);
|
|
2794
|
-
this.updateLocale();
|
|
2795
|
-
connectMessages(this);
|
|
2796
|
-
this.toggleSecond();
|
|
2797
|
-
this.meridiemOrder = this.getMeridiemOrder(getTimeParts({
|
|
2798
|
-
value: "0:00:00",
|
|
2799
|
-
locale: this.effectiveLocale,
|
|
2800
|
-
numberingSystem: this.numberingSystem,
|
|
2801
|
-
}));
|
|
2802
|
-
}
|
|
2803
|
-
async componentWillLoad() {
|
|
2804
|
-
setUpLoadableComponent(this);
|
|
2805
|
-
await setUpMessages(this);
|
|
2806
|
-
}
|
|
2807
|
-
componentDidLoad() {
|
|
2808
|
-
setComponentLoaded(this);
|
|
2809
|
-
}
|
|
2810
|
-
disconnectedCallback() {
|
|
2811
|
-
disconnectLocalized(this);
|
|
2812
|
-
disconnectMessages(this);
|
|
2813
|
-
}
|
|
2814
|
-
// --------------------------------------------------------------------------
|
|
2815
|
-
//
|
|
2816
|
-
// Render Methods
|
|
2817
|
-
//
|
|
2818
|
-
// --------------------------------------------------------------------------
|
|
2819
|
-
render() {
|
|
2820
|
-
const hourIsNumber = isValidNumber(this.hour);
|
|
2821
|
-
const iconScale = getIconScale(this.scale);
|
|
2822
|
-
const minuteIsNumber = isValidNumber(this.minute);
|
|
2823
|
-
const secondIsNumber = isValidNumber(this.second);
|
|
2824
|
-
const fractionalSecondIsNumber = isValidNumber(this.fractionalSecond);
|
|
2825
|
-
const showMeridiem = this.hourCycle === "12";
|
|
2826
|
-
return (h("div", { class: {
|
|
2827
|
-
[CSS.timePicker]: true,
|
|
2828
|
-
[CSS.showMeridiem]: showMeridiem,
|
|
2829
|
-
[CSS.showSecond]: this.showSecond,
|
|
2830
|
-
[CSS[`scale-${this.scale}`]]: true,
|
|
2831
|
-
}, dir: "ltr" }, h("div", { class: CSS.column, role: "group" }, h("span", { "aria-label": this.messages.hourUp, class: {
|
|
2832
|
-
[CSS.button]: true,
|
|
2833
|
-
[CSS.buttonHourUp]: true,
|
|
2834
|
-
[CSS.buttonTopLeft]: true,
|
|
2835
|
-
}, onClick: this.hourUpClickHandler, 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: {
|
|
2836
|
-
[CSS.input]: true,
|
|
2837
|
-
[CSS.hour]: true,
|
|
2838
|
-
[CSS.inputFocus]: this.activeEl && this.activeEl === this.hourEl,
|
|
2839
|
-
}, onClick: this.inputClickHandler, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2840
|
-
// 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)
|
|
2841
|
-
ref: this.setHourEl }, this.localizedHour || "--"), h("span", { "aria-label": this.messages.hourDown, class: {
|
|
2842
|
-
[CSS.button]: true,
|
|
2843
|
-
[CSS.buttonHourDown]: true,
|
|
2844
|
-
[CSS.buttonBottomLeft]: true,
|
|
2845
|
-
}, onClick: this.hourDownClickHandler, 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: {
|
|
2846
|
-
[CSS.button]: true,
|
|
2847
|
-
[CSS.buttonMinuteUp]: true,
|
|
2848
|
-
}, onClick: this.minuteUpClickHandler, 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: {
|
|
2849
|
-
[CSS.input]: true,
|
|
2850
|
-
[CSS.minute]: true,
|
|
2851
|
-
[CSS.inputFocus]: this.activeEl && this.activeEl === this.minuteEl,
|
|
2852
|
-
}, onClick: this.inputClickHandler, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2853
|
-
// 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)
|
|
2854
|
-
ref: this.setMinuteEl }, this.localizedMinute || "--"), h("span", { "aria-label": this.messages.minuteDown, class: {
|
|
2855
|
-
[CSS.button]: true,
|
|
2856
|
-
[CSS.buttonMinuteDown]: true,
|
|
2857
|
-
}, onClick: this.minuteDownClickHandler, 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: {
|
|
2858
|
-
[CSS.button]: true,
|
|
2859
|
-
[CSS.buttonSecondUp]: true,
|
|
2860
|
-
}, onClick: this.secondUpClickHandler, 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: {
|
|
2861
|
-
[CSS.input]: true,
|
|
2862
|
-
[CSS.second]: true,
|
|
2863
|
-
[CSS.inputFocus]: this.activeEl && this.activeEl === this.secondEl,
|
|
2864
|
-
}, onClick: this.inputClickHandler, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2865
|
-
// 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)
|
|
2866
|
-
ref: this.setSecondEl }, this.localizedSecond || "--"), h("span", { "aria-label": this.messages.secondDown, class: {
|
|
2867
|
-
[CSS.button]: true,
|
|
2868
|
-
[CSS.buttonSecondDown]: true,
|
|
2869
|
-
}, onClick: this.secondDownClickHandler, 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: {
|
|
2870
|
-
[CSS.button]: true,
|
|
2871
|
-
[CSS.buttonFractionalSecondUp]: true,
|
|
2872
|
-
}, onClick: this.fractionalSecondUpClickHandler, 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: {
|
|
2873
|
-
[CSS.input]: true,
|
|
2874
|
-
[CSS.fractionalSecond]: true,
|
|
2875
|
-
[CSS.inputFocus]: this.activeEl && this.activeEl === this.fractionalSecondEl,
|
|
2876
|
-
}, onClick: this.inputClickHandler, onFocus: this.focusHandler, onKeyDown: this.fractionalSecondKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2877
|
-
// 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)
|
|
2878
|
-
ref: this.setFractionalSecondEl }, this.localizedFractionalSecond || "--"), h("span", { "aria-label": this.messages.fractionalSecondDown, class: {
|
|
2879
|
-
[CSS.button]: true,
|
|
2880
|
-
[CSS.buttonFractionalSecondDown]: true,
|
|
2881
|
-
}, onClick: this.fractionalSecondDownClickHandler, role: "button" }, h("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (h("span", { class: CSS.delimiter }, this.localizedSecondSuffix)), showMeridiem && (h("div", { class: {
|
|
2882
|
-
[CSS.column]: true,
|
|
2883
|
-
[CSS.meridiemStart]: this.meridiemOrder === 0,
|
|
2884
|
-
}, role: "group" }, h("span", { "aria-label": this.messages.meridiemUp, class: {
|
|
2885
|
-
[CSS.button]: true,
|
|
2886
|
-
[CSS.buttonMeridiemUp]: true,
|
|
2887
|
-
[CSS.buttonTopRight]: true,
|
|
2888
|
-
}, onClick: this.meridiemUpClickHandler, 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: {
|
|
2889
|
-
[CSS.input]: true,
|
|
2890
|
-
[CSS.meridiem]: true,
|
|
2891
|
-
[CSS.inputFocus]: this.activeEl && this.activeEl === this.meridiemEl,
|
|
2892
|
-
}, onClick: this.inputClickHandler, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
2893
|
-
// 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)
|
|
2894
|
-
ref: this.setMeridiemEl }, this.localizedMeridiem || "--"), h("span", { "aria-label": this.messages.meridiemDown, class: {
|
|
2895
|
-
[CSS.button]: true,
|
|
2896
|
-
[CSS.buttonMeridiemDown]: true,
|
|
2897
|
-
[CSS.buttonBottomRight]: true,
|
|
2898
|
-
}, onClick: this.meridiemDownClickHandler, role: "button" }, h("calcite-icon", { icon: "chevron-down", scale: iconScale }))))));
|
|
2899
|
-
}
|
|
2900
|
-
static get delegatesFocus() { return true; }
|
|
2901
|
-
static get assetsDirs() { return ["assets"]; }
|
|
2902
|
-
get el() { return getElement(this); }
|
|
2903
|
-
static get watchers() { return {
|
|
2904
|
-
"step": ["stepChange"],
|
|
2905
|
-
"value": ["valueWatcher"],
|
|
2906
|
-
"messageOverrides": ["onMessagesChange"],
|
|
2907
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
2908
|
-
}; }
|
|
2909
|
-
};
|
|
2910
|
-
TimePicker.style = timePickerCss;
|
|
2911
|
-
|
|
2912
|
-
export { InputTimePicker as I, TimePicker as T, dayjs as d };
|
|
2913
|
-
|
|
2914
|
-
//# sourceMappingURL=calcite-input-time-picker.calcite-time-picker-9dd7063d.js.map
|