@esri/calcite-components 1.5.0-next.12 → 1.5.0-next.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-ced66da1.js → p-01703649.js} +2 -2
- package/dist/calcite/{p-f8c9b69a.entry.js → p-01e76f2f.entry.js} +2 -2
- package/dist/calcite/{p-364a7f7c.entry.js → p-0243d439.entry.js} +2 -2
- package/dist/calcite/{p-4659b2b2.entry.js → p-024879a6.entry.js} +2 -2
- package/dist/calcite/{p-a60a4237.js → p-03c384e6.js} +1 -1
- package/dist/calcite/{p-e4ad7c7a.entry.js → p-06519a2d.entry.js} +2 -2
- package/dist/calcite/{p-8c005f93.js → p-075f06fe.js} +2 -2
- package/dist/calcite/{p-817a8434.js → p-07db1986.js} +2 -2
- package/dist/calcite/{p-1b6c13a6.js → p-081d7c3a.js} +2 -2
- package/dist/calcite/{p-20f09826.entry.js → p-0f19b987.entry.js} +2 -2
- package/dist/calcite/{p-e0d0b906.js → p-11377452.js} +2 -2
- package/dist/calcite/{p-7edf1a95.entry.js → p-11dfd87f.entry.js} +2 -2
- package/dist/calcite/{p-f4ef2e4a.js → p-12abe63d.js} +2 -2
- package/dist/calcite/{p-9663714e.entry.js → p-1524168b.entry.js} +2 -2
- package/dist/calcite/{p-96767ff6.entry.js → p-163a2aaf.entry.js} +2 -2
- package/dist/calcite/p-168ca9ee.entry.js +6 -0
- package/dist/calcite/{p-bb71bf51.js → p-18c372d8.js} +1 -1
- package/dist/calcite/{p-0d67a78f.entry.js → p-1e247c78.entry.js} +2 -2
- package/dist/calcite/{p-ee5ebc36.js → p-20788387.js} +1 -1
- package/dist/calcite/{p-c46984fb.js → p-22d64d27.js} +2 -2
- package/dist/calcite/{p-190bc598.js → p-244b41a1.js} +2 -2
- package/dist/calcite/{p-54ffaadf.entry.js → p-248a6e2c.entry.js} +2 -2
- package/dist/calcite/{p-2ca47789.js → p-26971fe4.js} +2 -2
- package/dist/calcite/{p-6be1d134.entry.js → p-2790c108.entry.js} +2 -2
- package/dist/calcite/{p-bc332cdd.js → p-2bc5101b.js} +2 -2
- package/dist/calcite/{p-46fd677e.js → p-2c865bd1.js} +2 -2
- package/dist/calcite/{p-4989b56a.entry.js → p-2ff36315.entry.js} +2 -2
- package/dist/calcite/{p-9fce98b3.js → p-31b2ab21.js} +2 -2
- package/dist/calcite/{p-8fc6e7ac.entry.js → p-325e71f2.entry.js} +2 -2
- package/dist/calcite/{p-9e7cac5c.entry.js → p-340fe935.entry.js} +2 -2
- package/dist/calcite/{p-338c8dff.entry.js → p-35d3dec1.entry.js} +2 -2
- package/dist/calcite/{p-474b36e8.js → p-368eb1eb.js} +1 -1
- package/dist/calcite/{p-7ecd8029.entry.js → p-36f1646f.entry.js} +2 -2
- package/dist/calcite/{p-52fbf195.entry.js → p-38dfd47d.entry.js} +2 -2
- package/dist/calcite/{p-8fc1d961.entry.js → p-39c39d86.entry.js} +2 -2
- package/dist/calcite/{p-82066093.js → p-3f329447.js} +2 -2
- package/dist/calcite/p-41dd8712.entry.js +6 -0
- package/dist/calcite/{p-01a7333a.js → p-42b40a3f.js} +2 -2
- package/dist/calcite/{p-383ace81.entry.js → p-452ac187.entry.js} +2 -2
- package/dist/calcite/{p-4867c631.js → p-457887fc.js} +2 -2
- package/dist/calcite/{p-acac5ebb.entry.js → p-457f8720.entry.js} +2 -2
- package/dist/calcite/{p-feaef020.entry.js → p-45985c30.entry.js} +2 -2
- package/dist/calcite/{p-c24ec4d3.js → p-45ac0f6b.js} +2 -2
- package/dist/calcite/{p-9c8d76f0.js → p-45cbe6af.js} +2 -2
- package/dist/calcite/{p-72456919.js → p-468d3381.js} +2 -2
- package/dist/calcite/{p-1a8c1c0d.entry.js → p-47179f9c.entry.js} +2 -2
- package/dist/calcite/{p-dfe2f1b1.js → p-4a9a2b4d.js} +2 -2
- package/dist/calcite/{p-451d26c2.js → p-4af135da.js} +2 -2
- package/dist/calcite/{p-9b4beba5.entry.js → p-4cb3b3e6.entry.js} +2 -2
- package/dist/calcite/{p-8fa3fe85.js → p-4f2ed70d.js} +2 -2
- package/dist/calcite/{p-cd479826.js → p-4fbe5a0a.js} +2 -2
- package/dist/calcite/{p-6f9c9c3e.js → p-5254ed50.js} +2 -2
- package/dist/calcite/{p-43b93d0a.js → p-54b46df5.js} +3 -3
- package/dist/calcite/{p-582ee41c.js → p-5527561f.js} +2 -2
- package/dist/calcite/{p-0d913b60.js → p-587c9c45.js} +2 -2
- package/dist/calcite/{p-83558469.js → p-595a6b01.js} +2 -2
- package/dist/calcite/{p-86b59aa7.js → p-5c8d0366.js} +2 -2
- package/dist/calcite/{p-6d4a5b53.js → p-5cb05c86.js} +2 -2
- package/dist/calcite/{p-d85ae60a.entry.js → p-5cf25d9c.entry.js} +2 -2
- package/dist/calcite/{p-df536258.js → p-5d41f169.js} +1 -1
- package/dist/calcite/p-5d5ce03e.entry.js +6 -0
- package/dist/calcite/{p-52a0df00.js → p-5df2ffdf.js} +2 -2
- package/dist/calcite/{p-2fda2f8f.entry.js → p-5ea7128d.entry.js} +2 -2
- package/dist/calcite/{p-a51376c0.js → p-61cfd143.js} +2 -2
- package/dist/calcite/{p-46534709.js → p-6289fc32.js} +1 -1
- package/dist/calcite/{p-3989a39c.js → p-65c9ddff.js} +2 -2
- package/dist/calcite/{p-fde1b3c4.js → p-663f6fff.js} +2 -2
- package/dist/calcite/{p-946a9e49.js → p-677b34d6.js} +2 -2
- package/dist/calcite/{p-ddc8d567.js → p-68132639.js} +2 -2
- package/dist/calcite/p-68c8af89.entry.js +6 -0
- package/dist/calcite/{p-b8d6e1b6.entry.js → p-6aefee79.entry.js} +2 -2
- package/dist/calcite/{p-29d1c490.js → p-6cc37241.js} +2 -2
- package/dist/calcite/{p-2d14703c.entry.js → p-6e05e136.entry.js} +2 -2
- package/dist/calcite/{p-2862be82.js → p-6e7bd608.js} +1 -1
- package/dist/calcite/{p-8a63a7a9.js → p-6febf8e4.js} +2 -2
- package/dist/calcite/{p-8429abc0.js → p-71167e0a.js} +2 -2
- package/dist/calcite/{p-d87d3ebe.js → p-725109f6.js} +2 -2
- package/dist/calcite/{p-72a7aeca.js → p-72e8da86.js} +1 -1
- package/dist/calcite/{p-252f85db.entry.js → p-74e03b35.entry.js} +2 -2
- package/dist/calcite/{p-e88cab01.entry.js → p-7615d90c.entry.js} +2 -2
- package/dist/calcite/{p-32d189d5.js → p-7697aa4a.js} +2 -2
- package/dist/calcite/p-79a9fe20.entry.js +6 -0
- package/dist/calcite/{p-69ec6ae2.entry.js → p-7c8e1d0a.entry.js} +2 -2
- package/dist/calcite/{p-4f450532.js → p-81568ae0.js} +2 -2
- package/dist/calcite/{p-37cb9c79.js → p-84164bd1.js} +2 -2
- package/dist/calcite/p-85025978.entry.js +6 -0
- package/dist/calcite/{p-15fea5d4.entry.js → p-86310174.entry.js} +2 -2
- package/dist/calcite/{p-9b174287.js → p-8b8ae9e7.js} +1 -1
- package/dist/calcite/{p-f5169832.entry.js → p-8d172369.entry.js} +2 -2
- package/dist/calcite/p-8fc492c0.entry.js +6 -0
- package/dist/calcite/{p-4cb697d9.entry.js → p-9050997c.entry.js} +2 -2
- package/dist/calcite/{p-7804f3f8.js → p-91f41ac7.js} +1 -1
- package/dist/calcite/{p-983396e9.js → p-92f585ef.js} +1 -1
- package/dist/calcite/{p-5724639f.js → p-930304d9.js} +2 -2
- package/dist/calcite/{p-a12b4505.entry.js → p-957df67e.entry.js} +2 -2
- package/dist/calcite/{p-46d8abca.js → p-95df3410.js} +2 -2
- package/dist/calcite/{p-f1a77d32.js → p-97123f89.js} +2 -2
- package/dist/calcite/{p-0f52dafe.entry.js → p-9839122d.entry.js} +2 -2
- package/dist/calcite/{p-2f819116.js → p-989723b0.js} +2 -2
- package/dist/calcite/{p-d475f4f1.js → p-99d873f1.js} +2 -2
- package/dist/calcite/p-9a9ab5e2.js +6 -0
- package/dist/calcite/{p-b6eb9da9.js → p-9d0fbea8.js} +2 -2
- package/dist/calcite/{p-702b3ebc.entry.js → p-9dbb988c.entry.js} +2 -2
- package/dist/calcite/{p-3888f7b2.entry.js → p-9f26ee1a.entry.js} +2 -2
- package/dist/calcite/{p-c99f681f.js → p-a345fe71.js} +2 -2
- package/dist/calcite/p-a412ebdc.js +6 -0
- package/dist/calcite/{p-ee4432c4.js → p-a714c35f.js} +2 -2
- package/dist/calcite/{p-6ffef98c.entry.js → p-a74937eb.entry.js} +2 -2
- package/dist/calcite/{p-6fd96e88.js → p-a8214fa6.js} +2 -2
- package/dist/calcite/{p-52122c51.entry.js → p-a971e473.entry.js} +2 -2
- package/dist/calcite/p-aab08314.entry.js +6 -0
- package/dist/calcite/{p-1cfe3ef6.js → p-ab51f7e9.js} +1 -1
- package/dist/calcite/{p-4f0dcdd8.entry.js → p-ac256d27.entry.js} +2 -2
- package/dist/calcite/p-ae53f329.js +6 -0
- package/dist/calcite/{p-ce6a04bf.entry.js → p-ae855369.entry.js} +2 -2
- package/dist/calcite/{p-97203bf2.js → p-b277acb2.js} +2 -2
- package/dist/calcite/{p-b90720b8.entry.js → p-b35dfc91.entry.js} +2 -2
- package/dist/calcite/{p-ca4e3682.entry.js → p-b4341b81.entry.js} +2 -2
- package/dist/calcite/{p-7566ff2c.js → p-b4afee91.js} +2 -2
- package/dist/calcite/{p-d6240b24.js → p-b74697c9.js} +2 -2
- package/dist/calcite/{p-af98caac.entry.js → p-bcc29c74.entry.js} +2 -2
- package/dist/calcite/{p-541cefb7.js → p-c2f10231.js} +2 -2
- package/dist/calcite/{p-29742ff2.entry.js → p-c30394dd.entry.js} +2 -2
- package/dist/calcite/{p-94e762b1.entry.js → p-c6b02bfc.entry.js} +2 -2
- package/dist/calcite/{p-0831d58a.js → p-c881bc50.js} +1 -1
- package/dist/calcite/{p-ef2b2f03.js → p-c9f5039f.js} +2 -2
- package/dist/calcite/{p-58b1cbfc.js → p-ce2d68e4.js} +2 -2
- package/dist/calcite/{p-0f17f6bf.entry.js → p-cf1f6594.entry.js} +2 -2
- package/dist/calcite/p-d17c7981.entry.js +6 -0
- package/dist/calcite/{p-eb39e7a0.js → p-d4811314.js} +2 -2
- package/dist/calcite/{p-6be2ea64.js → p-d738af2a.js} +2 -2
- package/dist/calcite/p-d76af70b.js +6 -0
- package/dist/calcite/{p-b6312fe9.entry.js → p-d8bf66f6.entry.js} +2 -2
- package/dist/calcite/p-d908521e.entry.js +6 -0
- package/dist/calcite/{p-5a9138e6.entry.js → p-db9a2483.entry.js} +2 -2
- package/dist/calcite/{p-fbdf78b0.js → p-dddfedfd.js} +2 -2
- package/dist/calcite/{p-d5b8be12.js → p-dee0a369.js} +2 -2
- package/dist/calcite/{p-b75cfe4f.entry.js → p-e1565c1d.entry.js} +2 -2
- package/dist/calcite/{p-84e80f0f.entry.js → p-e5d4579e.entry.js} +2 -2
- package/dist/calcite/p-e75e50d9.js +6 -0
- package/dist/calcite/{p-da2ac2d9.js → p-f2f542a6.js} +2 -2
- package/dist/calcite/{p-6a29af30.entry.js → p-f37a485e.entry.js} +2 -2
- package/dist/calcite/{p-b2f8d682.entry.js → p-f4246334.entry.js} +2 -2
- package/dist/calcite/{p-04603df5.js → p-f42b9535.js} +1 -1
- package/dist/calcite/p-f444e769.entry.js +6 -0
- package/dist/calcite/{p-0990a977.js → p-f6244ed2.js} +2 -2
- package/dist/calcite/{p-2aa9ae92.entry.js → p-fb26d6fc.entry.js} +2 -2
- package/dist/calcite/p-fd917615.js +6 -0
- package/dist/calcite/{p-a1c01829.js → p-fdf38f2b.js} +1 -1
- package/dist/cjs/{ExpandToggle-c70d932d.js → ExpandToggle-12266ef5.js} +5 -5
- package/dist/cjs/{FloatingArrow-d2fc7dc2.js → FloatingArrow-7b8694b6.js} +2 -2
- package/dist/cjs/{Heading-433a0fbe.js → Heading-8c7facd5.js} +2 -2
- package/dist/cjs/{app-globals-c82ec13d.js → app-globals-a953caa9.js} +2 -2
- package/dist/cjs/{ar-2ab6b0d1.js → ar-2a1741b7.js} +15 -15
- package/dist/cjs/{array-06190f10.js → array-606162d2.js} +1 -1
- package/dist/cjs/{bg-ae4ad787.js → bg-90ce9e02.js} +15 -15
- package/dist/cjs/{bs-c21fc9c8.js → bs-f3fc8b16.js} +15 -15
- package/dist/cjs/{ca-86e1d234.js → ca-3fdeee47.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-c4c1191f.js → calcite-input-time-picker.calcite-time-picker-873f1637.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +34 -19
- 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-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-bedacc41.js → conditionalSlot-e203ccb8.js} +3 -3
- package/dist/cjs/{cs-63f12db3.js → cs-adabaa8c.js} +15 -15
- package/dist/cjs/{da-ebce3deb.js → da-5f8c3406.js} +15 -15
- package/dist/cjs/{de-adc8e78f.js → de-a7127db5.js} +15 -15
- package/dist/cjs/{de-at-014e5485.js → de-at-832250cf.js} +15 -15
- package/dist/cjs/{de-ch-b36f2fd0.js → de-ch-713f4140.js} +15 -15
- package/dist/cjs/{debounce-f2165499.js → debounce-9694d252.js} +1 -1
- package/dist/cjs/{dom-ab4d5af0.js → dom-b2293035.js} +3 -3
- package/dist/cjs/{el-41402aad.js → el-088c4fba.js} +15 -15
- package/dist/cjs/{en-au-59b7e9b8.js → en-au-be1f47d2.js} +15 -15
- package/dist/cjs/{en-ca-46ab3007.js → en-ca-7c3eecdb.js} +15 -15
- package/dist/cjs/{en-gb-ebf8a50d.js → en-gb-906a82b6.js} +15 -15
- package/dist/cjs/{es-1f6c8064.js → es-90cae382.js} +15 -15
- package/dist/cjs/{es-mx-4811180c.js → es-mx-4d74d972.js} +15 -15
- package/dist/cjs/{et-8e57a4be.js → et-2ed28049.js} +15 -15
- package/dist/cjs/{fi-183cdd8e.js → fi-5a3b2d72.js} +15 -15
- package/dist/cjs/{filter-b6efced1.js → filter-fcb001b4.js} +2 -2
- package/dist/cjs/{floating-ui-05654f74.js → floating-ui-a78d93fc.js} +3 -3
- package/dist/cjs/{focusTrapComponent-5d5d3fee.js → focusTrapComponent-8f2f799c.js} +2 -2
- package/dist/cjs/{form-25e4a6fc.js → form-5408a698.js} +3 -3
- package/dist/cjs/{fr-ch-70b006b8.js → fr-ch-ba5829e4.js} +15 -15
- package/dist/cjs/{fr-599c3392.js → fr-fdb42ac5.js} +15 -15
- package/dist/cjs/{guid-6f948a2d.js → guid-71c06152.js} +1 -1
- package/dist/cjs/{he-d8c0d6d1.js → he-167446a9.js} +15 -15
- package/dist/cjs/{hi-76304ef1.js → hi-2c5f5451.js} +15 -15
- package/dist/cjs/{hr-68c622fa.js → hr-48da2aec.js} +15 -15
- package/dist/cjs/{hu-da4202de.js → hu-85ed60ee.js} +15 -15
- package/dist/cjs/{id-7b2b45b2.js → id-4ae985c2.js} +15 -15
- package/dist/cjs/{index-5041497b.js → index-6232620b.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-de71a9a0.js → interactive-b9f4854d.js} +1 -1
- package/dist/cjs/{it-730293ec.js → it-10f04ed6.js} +15 -15
- package/dist/cjs/{it-ch-98f655d6.js → it-ch-768ab828.js} +15 -15
- package/dist/cjs/{ja-81b353c6.js → ja-40a23f20.js} +15 -15
- package/dist/cjs/{key-eb27ffa3.js → key-5e209d50.js} +1 -1
- package/dist/cjs/{ko-d1121145.js → ko-997e0f53.js} +15 -15
- package/dist/cjs/{label-77220a47.js → label-a897a93b.js} +2 -2
- package/dist/cjs/{loadable-ca409de4.js → loadable-ea5cb22a.js} +29 -4
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-733e86ac.js → locale-35bf6f1d.js} +4 -4
- package/dist/cjs/{lt-88146ff6.js → lt-fcd928db.js} +15 -15
- package/dist/cjs/{lv-326453ef.js → lv-1d6fb162.js} +15 -15
- package/dist/cjs/{math-4147bd66.js → math-89b4eee0.js} +1 -1
- package/dist/cjs/{mk-5895296b.js → mk-f7ebfb16.js} +15 -15
- package/dist/cjs/{nb-00ecc3b7.js → nb-3243a09a.js} +15 -15
- package/dist/cjs/{nl-3fd93edc.js → nl-e509270a.js} +15 -15
- package/dist/cjs/{observers-6cb0af86.js → observers-3ed23e73.js} +1 -1
- package/dist/cjs/{openCloseComponent-63d6ae47.js → openCloseComponent-f99119d0.js} +2 -2
- package/dist/cjs/{pl-5d1fef5d.js → pl-22b3c7fd.js} +15 -15
- package/dist/cjs/{pt-br-3d59cca0.js → pt-br-5afebc14.js} +15 -15
- package/dist/cjs/{pt-5890d702.js → pt-ce292b4c.js} +15 -15
- package/dist/cjs/{resources-9ad4e8d6.js → resources-0634c95c.js} +5 -5
- package/dist/cjs/{resources-98c8f1e4.js → resources-3b384bbf.js} +1 -1
- package/dist/cjs/{resources-652f72c2.js → resources-3f866197.js} +1 -1
- package/dist/cjs/{resources-1d3cde44.js → resources-4842a8d2.js} +1 -1
- package/dist/cjs/{resources-07d4cc65.js → resources-975cec7b.js} +1 -1
- package/dist/cjs/{resources-6ddbc5e0.js → resources-b71b2478.js} +1 -1
- package/dist/cjs/{resources-2e7caa24.js → resources-be8d684a.js} +1 -1
- package/dist/cjs/{ro-fb7f949d.js → ro-53d69527.js} +15 -15
- package/dist/cjs/{ru-8fdd0cd1.js → ru-0f8562c0.js} +15 -15
- package/dist/cjs/{sk-1984a28a.js → sk-c15fcd58.js} +15 -15
- package/dist/cjs/{sl-ae93a3d0.js → sl-7191dec9.js} +15 -15
- package/dist/cjs/{sortableComponent-24ccc6c9.js → sortableComponent-457969c9.js} +2 -2
- package/dist/cjs/{sr-802a8c30.js → sr-aa292e0d.js} +15 -15
- package/dist/cjs/{sv-bb9cc2ff.js → sv-66f876bf.js} +15 -15
- package/dist/cjs/{t9n-fecfbd25.js → t9n-2f522586.js} +3 -3
- package/dist/cjs/{th-72948fd0.js → th-a98f8086.js} +15 -15
- package/dist/cjs/{throttle-69e0f762.js → throttle-e5bb3dae.js} +2 -2
- package/dist/cjs/{tr-3dfe7cdd.js → tr-21a599c8.js} +15 -15
- package/dist/cjs/{uk-93672ea3.js → uk-50965fcd.js} +15 -15
- package/dist/cjs/{utils-3938c500.js → utils-23d4b635.js} +3 -3
- package/dist/cjs/{utils-95a84570.js → utils-95d7b2b5.js} +1 -1
- package/dist/cjs/{vi-86819464.js → vi-d9139804.js} +15 -15
- package/dist/cjs/{zh-cn-14c4110d.js → zh-cn-183ccfd5.js} +15 -15
- package/dist/cjs/{zh-hk-97c01691.js → zh-hk-dfbe3547.js} +15 -15
- package/dist/cjs/{zh-tw-c81ee278.js → zh-tw-bec01e3e.js} +15 -15
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +3 -3
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +7 -4
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +39 -6
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +30 -4
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +3 -3
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +18 -6
- package/dist/components/calcite-list.js +6 -3
- 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-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +32 -5
- 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/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/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.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-11ef61e9.js → ExpandToggle-20038a8a.js} +5 -5
- package/dist/esm/{FloatingArrow-6dcf1b4b.js → FloatingArrow-c7e36af7.js} +2 -2
- package/dist/esm/{Heading-36b74f6c.js → Heading-1472f01e.js} +2 -2
- package/dist/esm/{app-globals-00b51984.js → app-globals-adde34fe.js} +2 -2
- package/dist/esm/{ar-6847e87d.js → ar-f860c6b2.js} +15 -15
- package/dist/esm/{array-5ad7e723.js → array-52e05bde.js} +1 -1
- package/dist/esm/{bg-e2f03b12.js → bg-6284a92a.js} +15 -15
- package/dist/esm/{bs-2d88c318.js → bs-26f586bf.js} +15 -15
- package/dist/esm/{ca-c4898f58.js → ca-43f687ca.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +12 -12
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-9e88685e.js → calcite-input-time-picker.calcite-time-picker-7e01eefc.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +34 -19
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-6b7ba220.js → conditionalSlot-4a6bf429.js} +3 -3
- package/dist/esm/{cs-bc6db33e.js → cs-60883e3b.js} +15 -15
- package/dist/esm/{da-1598d70f.js → da-6ef2f8a5.js} +15 -15
- package/dist/esm/{de-aba87391.js → de-2eb63e18.js} +15 -15
- package/dist/esm/{de-at-e07a79e8.js → de-at-a4d389f1.js} +15 -15
- package/dist/esm/{de-ch-a875c287.js → de-ch-0e4a766b.js} +15 -15
- package/dist/esm/{debounce-d85c0068.js → debounce-ae4d5702.js} +1 -1
- package/dist/esm/{dom-30bf582c.js → dom-addcfc47.js} +3 -3
- package/dist/esm/{el-ba0d9c56.js → el-fea13424.js} +15 -15
- package/dist/esm/{en-au-1c6a5908.js → en-au-2c5f8954.js} +15 -15
- package/dist/esm/{en-ca-c39550c4.js → en-ca-b10e98d1.js} +15 -15
- package/dist/esm/{en-gb-320b70ed.js → en-gb-355719d9.js} +15 -15
- package/dist/esm/{es-1ace2026.js → es-1d4294dc.js} +15 -15
- package/dist/esm/{es-mx-a09aea2a.js → es-mx-a658dcc7.js} +15 -15
- package/dist/esm/{et-df81c1e5.js → et-b41f2862.js} +15 -15
- package/dist/esm/{fi-befd8d4c.js → fi-9fee39b6.js} +15 -15
- package/dist/esm/{filter-a2b0d72d.js → filter-f75b3421.js} +2 -2
- package/dist/esm/{floating-ui-898709d3.js → floating-ui-298b2bf6.js} +3 -3
- package/dist/esm/{focusTrapComponent-f3b10714.js → focusTrapComponent-3c112629.js} +2 -2
- package/dist/esm/{form-3b448142.js → form-ab89ff9a.js} +3 -3
- package/dist/esm/{fr-0f86d0a7.js → fr-4060360b.js} +15 -15
- package/dist/esm/{fr-ch-a8f716b7.js → fr-ch-f5a919d3.js} +15 -15
- package/dist/esm/{guid-3ba58a05.js → guid-bca93630.js} +1 -1
- package/dist/esm/{he-ab7372ad.js → he-76e41306.js} +15 -15
- package/dist/esm/{hi-3c301eea.js → hi-48d26b3b.js} +15 -15
- package/dist/esm/{hr-ebcba0fb.js → hr-01ee30af.js} +15 -15
- package/dist/esm/{hu-26346f6b.js → hu-3479e322.js} +15 -15
- package/dist/esm/{id-eaac2a32.js → id-b40ba6bc.js} +15 -15
- package/dist/esm/{index-7adc57ef.js → index-f74e6dd2.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-02514a6e.js → interactive-c433d35a.js} +1 -1
- package/dist/esm/{it-27691ed6.js → it-9400e59d.js} +15 -15
- package/dist/esm/{it-ch-bd75fa64.js → it-ch-2ad93922.js} +15 -15
- package/dist/esm/{ja-45091a3f.js → ja-8d4bfc63.js} +15 -15
- package/dist/esm/{key-99ca033d.js → key-eb25ae97.js} +1 -1
- package/dist/esm/{ko-9716e7cf.js → ko-1f1b4510.js} +15 -15
- package/dist/esm/{label-ce9ac2e9.js → label-b8016176.js} +2 -2
- package/dist/esm/{loadable-7968e91e.js → loadable-721253a3.js} +29 -5
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-f90e1a43.js → locale-9823762a.js} +4 -4
- package/dist/esm/{lt-d0dbf636.js → lt-4d216983.js} +15 -15
- package/dist/esm/{lv-dee1f4aa.js → lv-6b505383.js} +15 -15
- package/dist/esm/{math-a44106e8.js → math-b50cb241.js} +1 -1
- package/dist/esm/{mk-087b0af0.js → mk-80cb7628.js} +15 -15
- package/dist/esm/{nb-d7705ef5.js → nb-d21e8f56.js} +15 -15
- package/dist/esm/{nl-6afbf9e0.js → nl-d5152dda.js} +15 -15
- package/dist/esm/{observers-2c6218f4.js → observers-f347109b.js} +1 -1
- package/dist/esm/{openCloseComponent-ba400749.js → openCloseComponent-a843dfd7.js} +2 -2
- package/dist/esm/{pl-be989187.js → pl-ecf50ed1.js} +15 -15
- package/dist/esm/{pt-8cbb5a1c.js → pt-9443b521.js} +15 -15
- package/dist/esm/{pt-br-248497b4.js → pt-br-5c9292d9.js} +15 -15
- package/dist/esm/{resources-2667481f.js → resources-0340030f.js} +5 -5
- package/dist/esm/{resources-fe5acc78.js → resources-056a431e.js} +1 -1
- package/dist/esm/{resources-e95bb812.js → resources-08d92809.js} +1 -1
- package/dist/esm/{resources-84c16f3f.js → resources-537ef1b9.js} +1 -1
- package/dist/esm/{resources-45b2a12b.js → resources-78cbec07.js} +1 -1
- package/dist/esm/{resources-210fb1dc.js → resources-b9346a4d.js} +1 -1
- package/dist/esm/{resources-363fdda8.js → resources-e274fa52.js} +1 -1
- package/dist/esm/{ro-7bb5663b.js → ro-fb04c239.js} +15 -15
- package/dist/esm/{ru-ba6d2b05.js → ru-15c6479d.js} +15 -15
- package/dist/esm/{sk-d4ee4b03.js → sk-b8a0b09a.js} +15 -15
- package/dist/esm/{sl-58f3e9d6.js → sl-692cdfc1.js} +15 -15
- package/dist/esm/{sortableComponent-a2381d0d.js → sortableComponent-7b350aa1.js} +2 -2
- package/dist/esm/{sr-2715b186.js → sr-37272ca6.js} +15 -15
- package/dist/esm/{sv-1a1d8902.js → sv-202a3d84.js} +15 -15
- package/dist/esm/{t9n-601c14de.js → t9n-792c09fb.js} +3 -3
- package/dist/esm/{th-6c40cd45.js → th-d4730bf3.js} +15 -15
- package/dist/esm/{throttle-44333d99.js → throttle-3deae3f6.js} +2 -2
- package/dist/esm/{tr-03a7b8fb.js → tr-196a0a68.js} +15 -15
- package/dist/esm/{uk-f2e0428f.js → uk-6b1196aa.js} +15 -15
- package/dist/esm/{utils-914b4c8f.js → utils-12d436e0.js} +1 -1
- package/dist/esm/{utils-aea122f6.js → utils-329bddea.js} +3 -3
- package/dist/esm/{vi-732668a9.js → vi-35653739.js} +15 -15
- package/dist/esm/{zh-cn-3d294fd4.js → zh-cn-21699f32.js} +15 -15
- package/dist/esm/{zh-hk-05d61cce.js → zh-hk-568b2aeb.js} +15 -15
- package/dist/esm/{zh-tw-14f8d05a.js → zh-tw-134313d6.js} +15 -15
- package/dist/extras/docs-json.json +2 -2
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/list/list.d.ts +1 -1
- package/dist/types/components/list-item/list-item.d.ts +8 -0
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/utils/loadable.d.ts +22 -4
- package/hydrate/index.js +50 -12
- package/package.json +2 -2
- package/dist/calcite/p-13847fb8.entry.js +0 -6
- package/dist/calcite/p-159b88b0.entry.js +0 -6
- package/dist/calcite/p-16b900d5.entry.js +0 -6
- package/dist/calcite/p-3b063d48.js +0 -6
- package/dist/calcite/p-45a13b42.entry.js +0 -6
- package/dist/calcite/p-4ad62675.entry.js +0 -6
- package/dist/calcite/p-61504142.entry.js +0 -6
- package/dist/calcite/p-69cc2cb5.entry.js +0 -6
- package/dist/calcite/p-6bb11000.entry.js +0 -6
- package/dist/calcite/p-6c6ed025.js +0 -6
- package/dist/calcite/p-6dabda0b.js +0 -6
- package/dist/calcite/p-8720186d.js +0 -6
- package/dist/calcite/p-8b6a55f6.entry.js +0 -6
- package/dist/calcite/p-a002a961.js +0 -6
- package/dist/calcite/p-ba7d3f8d.entry.js +0 -6
- package/dist/calcite/p-cf7eaef7.entry.js +0 -6
- package/dist/calcite/p-f65c0dee.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.13
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as e,H as n,a as s}from"./p-46534709.js";import{s as r,c as a,d as o,H as c}from"./p-37cb9c79.js";import{g as h}from"./p-0831d58a.js";import{c as u,d as l,u as d}from"./p-72a7aeca.js";import{n as m,i as p}from"./p-2862be82.js";import{c as f,d as v,g as b}from"./p-8fa3fe85.js";import{c as g,s as y,a as w}from"./p-8720186d.js";import{b as k,i as M,e as D,n as S,g as x,c as Y,d as L}from"./p-dfe2f1b1.js";import{d as j,a as A,c as I}from"./p-ddc8d567.js";import{c as _,s as H,d as z,u as $}from"./p-72456919.js";function T(t,i,e=!0){const n={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:D(i)};return e&&(n.second="2-digit"),k(t,n)}function C(t){const i=t.toString();return t>=0&&t<=9?i.padStart(2,"0"):i}function P(t){if(!W(t))return null;const[i,e,n]=t.split(":"),s=C(parseInt(i)),r=C(parseInt(e));return n?`${s}:${r}:${C(parseInt(n))}`:`${s}:${r}`}function F(t,i){if(!t||!i)return null;if("hourSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"hour"===t))),e=i.indexOf(i.find((({type:t})=>"minute"===t))),n=i[t+1];return n&&"literal"===n.type&&e-t==2&&n.value?.trim()||null}if("minuteSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"minute"===t))),e=i.indexOf(i.find((({type:t})=>"second"===t))),n=i[t+1];return n&&"literal"===n.type&&e-t==2&&n.value?.trim()||null}if("secondSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"second"===t))),e=i[t+1];return e&&"literal"===e.type&&e.value?.trim()||null}return i.find((({type:i})=>"meridiem"==t?"dayPeriod"===i:i===t))?.value||null}function W(t){if(!t||t.startsWith(":")||t.endsWith(":"))return!1;const i=t.split(":");if(!(i.length>1&&i.length<4))return!1;const[e,n,s]=i,r=parseInt(i[0]),a=parseInt(i[1]),o=parseInt(i[2]),c=M(e)&&r>=0&&r<24,h=M(n)&&a>=0&&a<60,u=M(s)&&o>=0&&o<60;return!!(c&&h&&!s||c&&h&&u)||void 0}function O({value:t,part:i,locale:e,numberingSystem:n}){if(!function(t,i){if("meridiem"===i)return"AM"===t||"PM"===t;if(!M(t))return!1;const e=Number(t);return"hour"===i?e>=0&&e<24:e>=0&&e<60}(t,i))return;const s=parseInt(t),r=new Date(Date.UTC(0,0,0,"hour"===i?s:"meridiem"===i?"AM"===t?0:12:0,"minute"===i?s:0,"second"===i?s:0));return r?F(i,T(e,n).formatToParts(r)):void 0}function K({value:t,locale:i,numberingSystem:e,includeSeconds:n=!0}){if(!W(t))return null;const{hour:s,minute:r,second:a="0"}=R(t),o=new Date(Date.UTC(0,0,0,parseInt(s),parseInt(r),parseInt(a)));return T(i,e,n)?.format(o)||null}function Z({value:t,locale:i,numberingSystem:e}){if(!W(t))return null;const{hour:n,minute:s,second:r="0"}=R(t),a=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(s),parseInt(r)));if(a){const t=T(i,e).formatToParts(a);return{localizedHour:F("hour",t),localizedHourSuffix:F("hourSuffix",t),localizedMinute:F("minute",t),localizedMinuteSuffix:F("minuteSuffix",t),localizedSecond:F("second",t),localizedSecondSuffix:F("secondSuffix",t),localizedMeridiem:F("meridiem",t)}}return null}function U({value:t,locale:i,numberingSystem:e}){if(!W(t))return null;const{hour:n,minute:s,second:r="0"}=R(t),a=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(s),parseInt(r)));return a?T(i,e).formatToParts(a):null}function R(t){if(W(t)){const[i,e,n]=t.split(":");return{hour:i,minute:e,second:n}}return{hour:null,minute:null,second:null}}function B(t,i=!0){if(!W(t))return"";const{hour:e,minute:n,second:s}=R(t);let r=`${C(parseInt(e))}:${C(parseInt(n))}`;return i&&(r+=`:${C(parseInt(i&&s||"0"))}`),r}var E=6e4,N=36e5,J="millisecond",X="second",q="minute",G="hour",Q="day",V="week",tt="month",it="quarter",et="year",nt="date",st="YYYY-MM-DDTHH:mm:ssZ",rt="Invalid Date",at=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ot=/\[([^\]]+)]|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;const ct={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var i=["th","st","nd","rd"],e=t%100;return"["+t+(i[(e-20)%10]||i[e]||i[0])+"]"}},ht=Object.freeze({__proto__:null,default:ct});var ut=function(t,i,e){var n=String(t);return!n||n.length>=i?t:""+Array(i+1-n.length).join(e)+t};const lt={s:ut,z:function(t){var i=-t.utcOffset(),e=Math.abs(i),n=Math.floor(e/60),s=e%60;return(i<=0?"+":"-")+ut(n,2,"0")+":"+ut(s,2,"0")},m:function t(i,e){if(i.date()<e.date())return-t(e,i);var n=12*(e.year()-i.year())+(e.month()-i.month()),s=i.clone().add(n,tt),r=e-s<0,a=i.clone().add(n+(r?-1:1),tt);return+(-(n+(e-s)/(r?s-a:a-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:tt,y:et,w:V,d:Q,D:nt,h:G,m:q,s:X,ms:J,Q:it}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};var dt="en",mt={};mt[dt]=ct;var pt=function(t){return t instanceof gt},ft=function t(i,e,n){var s;if(!i)return dt;if("string"==typeof i){var r=i.toLowerCase();mt[r]&&(s=r),e&&(mt[r]=e,s=r);var a=i.split("-");if(!s&&a.length>1)return t(a[0])}else{var o=i.name;mt[o]=i,s=o}return!n&&s&&(dt=s),s||!n&&dt},vt=function(t,i){if(pt(t))return t.clone();var e="object"==typeof i?i:{};return e.date=t,e.args=arguments,new gt(e)},bt=lt;bt.l=ft,bt.i=pt,bt.w=function(t,i){return vt(t,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var gt=function(){function t(t){this.$L=ft(t.locale,null,!0),this.parse(t)}var i=t.prototype;return i.parse=function(t){this.$d=function(t){var i=t.date,e=t.utc;if(null===i)return new Date(NaN);if(bt.u(i))return new Date;if(i instanceof Date)return new Date(i);if("string"==typeof i&&!/Z$/i.test(i)){var n=i.match(at);if(n){var s=n[2]-1||0,r=(n[7]||"0").substring(0,3);return e?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)}}return new Date(i)}(t),this.$x=t.x||{},this.init()},i.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},i.$utils=function(){return bt},i.isValid=function(){return!(this.$d.toString()===rt)},i.isSame=function(t,i){var e=vt(t);return this.startOf(i)<=e&&e<=this.endOf(i)},i.isAfter=function(t,i){return vt(t)<this.startOf(i)},i.isBefore=function(t,i){return this.endOf(i)<vt(t)},i.$g=function(t,i,e){return bt.u(t)?this[i]:this.set(e,t)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(t,i){var e=this,n=!!bt.u(i)||i,s=bt.p(t),r=function(t,i){var s=bt.w(e.$u?Date.UTC(e.$y,i,t):new Date(e.$y,i,t),e);return n?s:s.endOf(Q)},a=function(t,i){return bt.w(e.toDate()[t].apply(e.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(i)),e)},o=this.$W,c=this.$M,h=this.$D,u="set"+(this.$u?"UTC":"");switch(s){case et:return n?r(1,0):r(31,11);case tt:return n?r(1,c):r(0,c+1);case V:var l=this.$locale().weekStart||0,d=(o<l?o+7:o)-l;return r(n?h-d:h+(6-d),c);case Q:case nt:return a(u+"Hours",0);case G:return a(u+"Minutes",1);case q:return a(u+"Seconds",2);case X:return a(u+"Milliseconds",3);default:return this.clone()}},i.endOf=function(t){return this.startOf(t,!1)},i.$set=function(t,i){var e,n=bt.p(t),s="set"+(this.$u?"UTC":""),r=(e={},e[Q]=s+"Date",e[nt]=s+"Date",e[tt]=s+"Month",e[et]=s+"FullYear",e[G]=s+"Hours",e[q]=s+"Minutes",e[X]=s+"Seconds",e[J]=s+"Milliseconds",e)[n],a=n===Q?this.$D+(i-this.$W):i;if(n===tt||n===et){var o=this.clone().set(nt,1);o.$d[r](a),o.init(),this.$d=o.set(nt,Math.min(this.$D,o.daysInMonth())).$d}else r&&this.$d[r](a);return this.init(),this},i.set=function(t,i){return this.clone().$set(t,i)},i.get=function(t){return this[bt.p(t)]()},i.add=function(t,i){var e,n=this;t=Number(t);var s=bt.p(i),r=function(i){var e=vt(n);return bt.w(e.date(e.date()+Math.round(i*t)),n)};if(s===tt)return this.set(tt,this.$M+t);if(s===et)return this.set(et,this.$y+t);if(s===Q)return r(1);if(s===V)return r(7);var a=(e={},e[q]=E,e[G]=N,e[X]=1e3,e)[s]||1,o=this.$d.getTime()+t*a;return bt.w(o,this)},i.subtract=function(t,i){return this.add(-1*t,i)},i.format=function(t){var i=this,e=this.$locale();if(!this.isValid())return e.invalidDate||rt;var n=t||st,s=bt.z(this),r=this.$H,a=this.$m,o=this.$M,c=e.weekdays,h=e.months,u=function(t,e,s,r){return t&&(t[e]||t(i,n))||s[e].slice(0,r)},l=function(t){return bt.s(r%12||12,t,"0")},d=e.meridiem||function(t,i,e){var n=t<12?"AM":"PM";return e?n.toLowerCase():n};return n.replace(ot,(function(t,n){return n||function(t){switch(t){case"YY":return String(i.$y).slice(-2);case"YYYY":return bt.s(i.$y,4,"0");case"M":return o+1;case"MM":return bt.s(o+1,2,"0");case"MMM":return u(e.monthsShort,o,h,3);case"MMMM":return u(h,o);case"D":return i.$D;case"DD":return bt.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return u(e.weekdaysMin,i.$W,c,2);case"ddd":return u(e.weekdaysShort,i.$W,c,3);case"dddd":return c[i.$W];case"H":return String(r);case"HH":return bt.s(r,2,"0");case"h":return l(1);case"hh":return l(2);case"a":return d(r,a,!0);case"A":return d(r,a,!1);case"m":return String(a);case"mm":return bt.s(a,2,"0");case"s":return String(i.$s);case"ss":return bt.s(i.$s,2,"0");case"SSS":return bt.s(i.$ms,3,"0");case"Z":return s}return null}(t)||s.replace(":","")}))},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(t,i,e){var n,s=this,r=bt.p(i),a=vt(t),o=(a.utcOffset()-this.utcOffset())*E,c=this-a,h=function(){return bt.m(s,a)};switch(r){case et:n=h()/12;break;case tt:n=h();break;case it:n=h()/3;break;case V:n=(c-o)/6048e5;break;case Q:n=(c-o)/864e5;break;case G:n=c/N;break;case q:n=c/E;break;case X:n=c/1e3;break;default:n=c}return e?n:bt.a(n)},i.daysInMonth=function(){return this.endOf(tt).$D},i.$locale=function(){return mt[this.$L]},i.locale=function(t,i){if(!t)return this.$L;var e=this.clone(),n=ft(t,i,!0);return n&&(e.$L=n),e},i.clone=function(){return bt.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},t}(),yt=gt.prototype;vt.prototype=yt,[["$ms",J],["$s",X],["$m",q],["$H",G],["$W",Q],["$M",tt],["$y",et],["$D",nt]].forEach((function(t){yt[t[1]]=function(i){return this.$g(i,t[0],t[1])}})),vt.extend=function(t,i){return t.$i||(t(i,gt,vt),t.$i=!0),vt},vt.locale=ft,vt.isDayjs=pt,vt.unix=function(t){return vt(1e3*t)},vt.en=mt[dt],vt.Ls=mt,vt.p={};var wt=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,i,e){return i||e.slice(1)}))},kt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Mt=function(t,i){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,e,n){var s=n&&n.toUpperCase();return e||i[n]||kt[n]||wt(i[s])}))},Dt=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,St=/\d\d/,xt=/\d\d?/,Yt=/\d*[^-_:/,()\s\d]+/,Lt={},jt=function(t){return(t=+t)+(t>68?1900:2e3)},At=function(t){return function(i){this[t]=+i}},It=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var i=t.match(/([+-]|\d\d)/g),e=60*i[1]+(+i[2]||0);return 0===e?0:"+"===i[0]?-e:e}(t)}],_t=function(t){var i=Lt[t];return i&&(i.indexOf?i:i.s.concat(i.f))},Ht=function(t,i){var e,n=Lt.meridiem;if(n){for(var s=1;s<=24;s+=1)if(t.indexOf(n(s,0,i))>-1){e=s>12;break}}else e=t===(i?"pm":"PM");return e},zt={A:[Yt,function(t){this.afternoon=Ht(t,!1)}],a:[Yt,function(t){this.afternoon=Ht(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[St,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[xt,At("seconds")],ss:[xt,At("seconds")],m:[xt,At("minutes")],mm:[xt,At("minutes")],H:[xt,At("hours")],h:[xt,At("hours")],HH:[xt,At("hours")],hh:[xt,At("hours")],D:[xt,At("day")],DD:[St,At("day")],Do:[Yt,function(t){var i=Lt.ordinal,e=t.match(/\d+/);if(this.day=e[0],i)for(var n=1;n<=31;n+=1)i(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],M:[xt,At("month")],MM:[St,At("month")],MMM:[Yt,function(t){var i=_t("months"),e=(_t("monthsShort")||i.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],MMMM:[Yt,function(t){var i=_t("months").indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],Y:[/[+-]?\d+/,At("year")],YY:[St,function(t){this.year=jt(t)}],YYYY:[/\d{4}/,At("year")],Z:It,ZZ:It};const $t=new Map([["ar",()=>import("./p-fbdf78b0.js")],["bg",()=>import("./p-946a9e49.js")],["bs",()=>import("./p-451d26c2.js")],["ca",()=>import("./p-46d8abca.js")],["cs",()=>import("./p-541cefb7.js")],["da",()=>import("./p-2f819116.js")],["de",()=>import("./p-ee4432c4.js")],["de-at",()=>import("./p-0d913b60.js")],["de-ch",()=>import("./p-582ee41c.js")],["el",()=>import("./p-8a63a7a9.js")],["en",()=>Promise.resolve().then((function(){return ht}))],["en-au",()=>import("./p-83558469.js")],["en-ca",()=>import("./p-6be2ea64.js")],["en-gb",()=>import("./p-d87d3ebe.js")],["es",()=>import("./p-f1a77d32.js")],["es-mx",()=>import("./p-cd479826.js")],["et",()=>import("./p-32d189d5.js")],["fi",()=>import("./p-52a0df00.js")],["fr",()=>import("./p-8429abc0.js")],["fr-ch",()=>import("./p-1b6c13a6.js")],["he",()=>import("./p-4f450532.js")],["hi",()=>import("./p-ef2b2f03.js")],["hr",()=>import("./p-817a8434.js")],["hu",()=>import("./p-82066093.js")],["id",()=>import("./p-d475f4f1.js")],["it",()=>import("./p-0990a977.js")],["it-ch",()=>import("./p-b6eb9da9.js")],["ja",()=>import("./p-190bc598.js")],["ko",()=>import("./p-da2ac2d9.js")],["lt",()=>import("./p-97203bf2.js")],["lv",()=>import("./p-7566ff2c.js")],["mk",()=>import("./p-c24ec4d3.js")],["nl",()=>import("./p-4867c631.js")],["nb",()=>import("./p-86b59aa7.js")],["pl",()=>import("./p-a002a961.js")],["pt",()=>import("./p-9c8d76f0.js")],["pt-br",()=>import("./p-fde1b3c4.js")],["ro",()=>import("./p-c99f681f.js")],["ru",()=>import("./p-58b1cbfc.js")],["sk",()=>import("./p-6c6ed025.js")],["sl",()=>import("./p-2ca47789.js")],["sr",()=>import("./p-3b063d48.js")],["sv",()=>import("./p-6f9c9c3e.js")],["th",()=>import("./p-bc332cdd.js")],["tr",()=>import("./p-8c005f93.js")],["uk",()=>import("./p-6d4a5b53.js")],["vi",()=>import("./p-ced66da1.js")],["zh-cn",()=>import("./p-3989a39c.js")],["zh-hk",()=>import("./p-01a7333a.js")],["zh-tw",()=>import("./p-a51376c0.js")]]);vt.extend((function(t,i,e){e.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(jt=t.parseTwoDigitYear);var n=i.prototype,s=n.parse;n.parse=function(t){var i=t.date,n=t.utc,r=t.args;this.$u=n;var a=r[1];if("string"==typeof a){var o=!0===r[2],c=!0===r[3],h=o||c,u=r[2];c&&(u=r[2]),Lt=this.$locale(),!o&&u&&(Lt=e.Ls[u]),this.$d=function(t,i,e){try{if(["x","X"].indexOf(i)>-1)return new Date(("X"===i?1e3:1)*t);var n=function(t){for(var i=(t=Mt(t,Lt&&Lt.formats)).match(Dt),e=i.length,n=0;n<e;n+=1){var s=i[n],r=zt[s],a=r&&r[1];i[n]=a?{regex:r&&r[0],parser:a}:s.replace(/^\[|\]$/g,"")}return function(t){for(var n={},s=0,r=0;s<e;s+=1){var a=i[s];if("string"==typeof a)r+=a.length;else{var o=a.regex,c=a.parser,h=t.slice(r),u=o.exec(h)[0];c.call(n,u),t=t.replace(u,"")}}return function(t){var i=t.afternoon;if(void 0!==i){var e=t.hours;i?e<12&&(t.hours+=12):12===e&&(t.hours=0),delete t.afternoon}}(n),n}}(i),s=n(t),r=s.year,a=s.month,o=s.day,c=s.hours,h=s.minutes,u=s.seconds,l=s.milliseconds,d=s.zone,m=new Date,p=o||(r||a?1:m.getDate()),f=r||m.getFullYear(),v=0;r&&!a||(v=a>0?a-1:m.getMonth());var b=c||0,g=h||0,y=u||0,w=l||0;return d?new Date(Date.UTC(f,v,p,b,g,y,w+60*d.offset*1e3)):e?new Date(Date.UTC(f,v,p,b,g,y,w)):new Date(f,v,p,b,g,y,w)}catch(t){return new Date("")}}(i,a,n),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),h&&i!=this.format(a)&&(this.$d=new Date("")),Lt={}}else if(a instanceof Array)for(var l=a.length,d=1;d<=l;d+=1){r[1]=a[d-1];var m=e.apply(this,r);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===l&&(this.$d=new Date(""))}else s.call(this,t)}})),vt.extend((function(t,i,e){var n=function(t){return t&&(t.indexOf?t:t.s)},s=function(t,i,e,s,r){var a=t.name?t:t.$locale(),o=n(a[i]),c=n(a[e]),h=o||c.map((function(t){return t.slice(0,s)}));if(!r)return h;var u=a.weekStart;return h.map((function(t,i){return h[(i+(u||0))%7]}))},r=function(){return e.Ls[e.locale()]},a=function(t,i){return t.formats[i]||wt(t.formats[i.toUpperCase()])},o=function(){var t=this;return{months:function(i){return i?i.format("MMMM"):s(t,"months")},monthsShort:function(i){return i?i.format("MMM"):s(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(i){return i?i.format("dddd"):s(t,"weekdays")},weekdaysMin:function(i){return i?i.format("dd"):s(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(i){return i?i.format("ddd"):s(t,"weekdaysShort","weekdays",3)},longDateFormat:function(i){return a(t.$locale(),i)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.prototype.localeData=function(){return o.bind(this)()},e.localeData=function(){var t=r();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return e.weekdays()},weekdaysShort:function(){return e.weekdaysShort()},weekdaysMin:function(){return e.weekdaysMin()},months:function(){return e.months()},monthsShort:function(){return e.monthsShort()},longDateFormat:function(i){return a(t,i)},meridiem:t.meridiem,ordinal:t.ordinal}},e.months=function(){return s(r(),"months")},e.monthsShort=function(){return s(r(),"monthsShort","months",3)},e.weekdays=function(t){return s(r(),"weekdays",null,null,t)},e.weekdaysShort=function(t){return s(r(),"weekdaysShort","weekdays",3,t)},e.weekdaysMin=function(t){return s(r(),"weekdaysMin","weekdays",2,t)}})),vt.extend((function(t,i,e){var n=i.prototype,s=n.format;e.en.formats=kt,n.format=function(t){void 0===t&&(t=st);var i=this.$locale().formats,e=Mt(t,void 0===i?{}:i);return s.call(this,e)}})),vt.extend((function(t,i){var e=i.prototype.parse;i.prototype.parse=function(t){if("string"==typeof t.date){var i=this.$locale();t.date=i&&i.preparse?i.preparse(t.date):t.date}return e.bind(this)(t)};var n=i.prototype.format;i.prototype.format=function(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var s=n.call.apply(n,[this].concat(i)),r=this.$locale();return r&&r.postformat?r.postformat(s):s};var s=i.prototype.fromToBase;s&&(i.prototype.fromToBase=function(t,i,e,n){var r=this.$locale()||e.$locale();return s.call(this,t,i,e,n,r&&r.postformat)})})),vt.extend((function(t,i,e){e.updateLocale=function(t,i){var n=e.Ls[t];if(n)return(i?Object.keys(i):[]).forEach((function(t){n[t]=i[t]})),n}}));const Tt=class{constructor(e){t(this,e),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.focusOnOpen=!1,this.dialogId=`time-picker-dialog--${h()}`,this.userChangedValue=!1,this.referenceElementId=`input-time-picker-${h()}`,this.hostBlurHandler=()=>{const t=this.calciteInputEl.value,i=this.delocalizeTimeString(t);if(!i)return void this.setValue("");i!==this.value&&this.setValue(i);const e=K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});e!==t&&this.setInputValue(e),this.deactivate()},this.calciteInternalInputFocusHandler=t=>{this.readOnly||t.stopPropagation()},this.calciteInternalInputInputHandler=t=>{const{effectiveLocale:i,numberingSystem:e}=this;if(e&&"latn"!==e){const n=t.target;S.numberFormatOptions={locale:i,numberingSystem:e,useGrouping:!1};const s=S.delocalize(n.value).split("").map((t=>m.includes(t)?S.numberFormatter.format(Number(t)):t)).join("");this.setInputValue(s)}},this.timePickerChangeHandler=t=>{t.stopPropagation();const i=t.target.value,e=this.shouldIncludeSeconds();this.setValue(B(i,e)),this.setInputValue(K({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:e}))},this.popoverCloseHandler=()=>{j(this,{onDeactivate:()=>{this.calciteInputEl.setFocus(),this.focusOnOpen=!1}})},this.popoverOpenHandler=()=>{A(this,{onActivate:()=>{this.focusOnOpen&&(this.calciteTimePickerEl.setFocus(),this.focusOnOpen=!1)}})},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;if(!i)if("Enter"===e){if(r(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;const i=this.delocalizeTimeString(this.calciteInputEl.value);this.setValue(i);const e=K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});i&&this.calciteInputEl.value!==e&&this.setInputValue(e)}else"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&this.open&&(this.open=!1,t.preventDefault(),this.calciteInputEl.setFocus())},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setCalciteInputEl=t=>{this.calciteInputEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t,I(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=t=>{const i=this.value,e=P(t)||"";e!==i&&(this.userChangedValue=!0,this.value=e||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=i,this.setInputValue(K({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))))},this.setValueDirectly=t=>{const i=this.shouldIncludeSeconds();this.value=B(t,i),this.setInputValue(this.value?K({value:this.value,includeSeconds:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem}):"")},this.onInputWrapperClick=()=>{this.open=!this.open},this.deactivate=()=>{this.open=!1},this.open=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.messageOverrides=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.required=!1,this.scale="m",this.overlayPositioning="absolute",this.placement="auto",this.step=60,this.value=null,this.defaultMessages=void 0,this.effectiveLocale=""}openHandler(t){this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}handleFocusTrapDisabled(t){this.open&&(t?j(this):A(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}onMessagesChange(){}numberingSystemWatcher(t){this.setInputValue(K({value:this.value,locale:this.effectiveLocale,numberingSystem:t,includeSeconds:this.shouldIncludeSeconds()}))}stepWatcher(t,i){(i>=60&&t>0&&t<60||t>=60&&i>0&&i<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}async effectiveLocaleWatcher(t){await this.loadDateTimeLocaleData(),this.setInputValue(K({value:this.value,locale:t,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}async setFocus(){await g(this),this.el.focus()}async reposition(t=!1){this.popoverEl?.reposition(t)}delocalizeTimeString(t){vt.locale(this.effectiveLocale.toLowerCase());const i=vt(t,["LTS","LT"]);if(i.isValid()){let t=`${i.get("hour")}:${i.get("minute")}`;return this.shouldIncludeSeconds()&&(t+=`:${i.get("seconds")||0}`),P(t)||""}return""}async loadDateTimeLocaleData(){let t=x(this.effectiveLocale).toLowerCase();"no"===t&&(t="nb"),"pt-pt"===t&&(t="pt");const{default:i}=await $t.get(t)();vt.locale(i,null,!0),vt.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){return"ar"===t?{meridiem:t=>t>12?"م":"ص",formats:{LT:"HH:mm A",LTS:"HH:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm A",LLLL:"dddd D MMMM YYYY HH:mm A"}}:"en-au"===t?{meridiem:t=>t>12?"pm":"am"}:"en-ca"===t?{meridiem:t=>t>12?"p.m.":"a.m."}:"el"===t?{meridiem:t=>t>12?"μ.μ.":"π.μ."}:"hi"===t?{formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, h:mm A",LLLL:"dddd, D MMMM YYYY, h:mm A"},meridiem:t=>t>12?"pm":"am"}:"ko"===t?{meridiem:t=>t>12?"오후":"오전"}:"zh-tw"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"}}:"zh-hk"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"},meridiem:t=>t>12?"下午":"上午"}:void 0}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}connectedCallback(){u(this),Y(this),W(this.value)?this.setValueDirectly(this.value):this.value=void 0,f(this),a(this),_(this)}async componentWillLoad(){y(this),await Promise.all([H(this),this.loadDateTimeLocaleData()])}componentDidLoad(){w(this),W(this.value)&&this.setInputValue(K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}disconnectedCallback(){l(this),v(this),o(this),L(this),j(this),z(this)}componentDidRender(){d(this)}render(){const{disabled:t,messages:i,readOnly:s,dialogId:r}=this;return e(n,{onBlur:this.hostBlurHandler,onKeyDown:this.keyDownHandler},e("div",{class:"input-wrapper",onClick:this.onInputWrapperClick},e("calcite-input",{"aria-autocomplete":"none","aria-haspopup":"dialog",disabled:t,icon:"clock",id:this.referenceElementId,label:b(this),lang:this.effectiveLocale,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:s,role:"combobox",scale:this.scale,step:this.step,ref:this.setCalciteInputEl}),this.renderToggleIcon(this.open)),e("calcite-popover",{focusTrapDisabled:!0,id:r,label:i.chooseTime,lang:this.effectiveLocale,onCalcitePopoverClose:this.popoverCloseHandler,onCalcitePopoverOpen:this.popoverOpenHandler,open:this.open,overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.referenceElementId,triggerDisabled:!0,ref:this.setCalcitePopoverEl},e("calcite-time-picker",{lang:this.effectiveLocale,messageOverrides:this.messageOverrides,numberingSystem:this.numberingSystem,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,scale:this.scale,step:this.step,tabIndex:this.open?void 0:-1,value:this.value,ref:this.setCalciteTimePickerEl})),e(c,{component:this}))}renderToggleIcon(t){return e("span",{class:"toggle-icon"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{open:["openHandler"],focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],messageOverrides:["onMessagesChange"],numberingSystem:["numberingSystemWatcher"],step:["stepWatcher"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};Tt.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";const Ct={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",hour:"hour",input:"input",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},Pt=class{constructor(e){t(this,e),this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6),this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6),this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6),this.decrementHour=()=>{const t=this.hour?"00"===this.hour?23:parseInt(this.hour)-1:0;this.setValuePart("hour",t)},this.decrementMeridiem=()=>{this.setValuePart("meridiem","PM"===this.meridiem?"AM":"PM")},this.decrementMinuteOrSecond=t=>{let i;if(M(this[t])){const e=parseInt(this[t]);i=0===e?59:e-1}else i=59;this.setValuePart(t,i)},this.decrementMinute=()=>{this.decrementMinuteOrSecond("minute")},this.decrementSecond=()=>{this.decrementMinuteOrSecond("second")},this.focusHandler=t=>{this.activeEl=t.currentTarget},this.hourDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementHour()},this.hourKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.hour))switch(this.hourCycle){case"12":e="01"===this.hour&&t>=0&&t<=2?`1${t}`:t;break;case"24":e="01"===this.hour?`1${t}`:"02"===this.hour&&t>=0&&t<=3?`2${t}`:t}else e=t;this.setValuePart("hour",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":t.preventDefault(),this.decrementHour();break;case"ArrowUp":t.preventDefault(),this.incrementHour();break;case" ":t.preventDefault()}},this.hourUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementHour()},this.incrementMeridiem=()=>{this.setValuePart("meridiem","AM"===this.meridiem?"PM":"AM")},this.incrementHour=()=>{const t=M(this.hour)?"23"===this.hour?0:parseInt(this.hour)+1:1;this.setValuePart("hour",t)},this.incrementMinuteOrSecond=t=>{const i=M(this[t])?"59"===this[t]?0:parseInt(this[t])+1:0;this.setValuePart(t,i)},this.incrementMinute=()=>{this.incrementMinuteOrSecond("minute")},this.incrementSecond=()=>{this.incrementMinuteOrSecond("second")},this.meridiemDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMeridiem()},this.meridiemKeyDownHandler=t=>{switch(t.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":t.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":t.preventDefault(),this.decrementMeridiem();break;case" ":t.preventDefault()}},this.meridiemUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMeridiem()},this.minuteDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMinute()},this.minuteKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.minute)&&this.minute.startsWith("0")){const i=parseInt(this.minute);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("minute",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":t.preventDefault(),this.decrementMinute();break;case"ArrowUp":t.preventDefault(),this.incrementMinute();break;case" ":t.preventDefault()}},this.minuteUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMinute()},this.secondDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementSecond()},this.secondKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.second)&&this.second.startsWith("0")){const i=parseInt(this.second);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("second",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":t.preventDefault(),this.decrementSecond();break;case"ArrowUp":t.preventDefault(),this.incrementSecond();break;case" ":t.preventDefault()}},this.secondUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementSecond()},this.setHourEl=t=>this.hourEl=t,this.setMeridiemEl=t=>this.meridiemEl=t,this.setMinuteEl=t=>this.minuteEl=t,this.setSecondEl=t=>this.secondEl=t,this.setValue=(t,i=!0)=>{if(W(t)){const{hour:i,minute:e,second:n}=R(t),{effectiveLocale:s,numberingSystem:r}=this,{localizedHour:a,localizedHourSuffix:o,localizedMinute:c,localizedMinuteSuffix:h,localizedSecond:u,localizedSecondSuffix:l,localizedMeridiem:d}=Z({value:t,locale:s,numberingSystem:r});if(this.localizedHour=a,this.localizedHourSuffix=o,this.localizedMinute=c,this.localizedMinuteSuffix=h,this.localizedSecond=u,this.localizedSecondSuffix=l,this.hour=i,this.minute=e,this.second=n,d){this.localizedMeridiem=d,this.meridiem=function(t){if(!M(t))return null;const i=parseInt(t);return i>=0&&i<=11?"AM":"PM"}(this.hour);const i=U({value:t,locale:s,numberingSystem:r});this.meridiemOrder=this.getMeridiemOrder(i)}}else this.hour=null,this.localizedHour=null,this.localizedHourSuffix=null,this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=null,this.localizedSecond=null,this.localizedSecondSuffix=null,this.meridiem=null,this.minute=null,this.second=null,this.value=null;i&&this.calciteInternalTimePickerChange.emit()},this.setValuePart=(t,i,e=!0)=>{const{effectiveLocale:n,numberingSystem:s}=this;if("meridiem"===t){if(this.meridiem=i,M(this.hour)){const t=parseInt(this.hour);switch(i){case"AM":t>=12&&(this.hour=C(t-12));break;case"PM":t<12&&(this.hour=C(t+12))}this.localizedHour=O({value:this.hour,part:"hour",locale:n,numberingSystem:s})}}else this[t]="number"==typeof i?C(i):i,this[`localized${r=t,r.charAt(0).toUpperCase()+r.slice(1)}`]=O({value:this[t],part:t,locale:n,numberingSystem:s});var r;if(this.hour&&this.minute){let t=`${this.hour}:${this.minute}`;this.showSecond&&(t=`${t}:${this.second??"00"}`),this.value=t}else this.value=null;this.localizedMeridiem=this.value?Z({value:this.value,locale:n,numberingSystem:s})?.localizedMeridiem||null:O({value:this.meridiem,part:"meridiem",locale:n,numberingSystem:s}),e&&this.calciteInternalTimePickerChange.emit()},this.scale="m",this.step=60,this.numberingSystem=void 0,this.value=null,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.hour=void 0,this.hourCycle=void 0,this.localizedHour=void 0,this.localizedHourSuffix=void 0,this.localizedMeridiem=void 0,this.localizedMinute=void 0,this.localizedMinuteSuffix=void 0,this.localizedSecond=void 0,this.localizedSecondSuffix=void 0,this.meridiem=void 0,this.minute=void 0,this.second=void 0,this.showSecond=void 0,this.defaultMessages=void 0}stepChange(){this.updateShowSecond()}valueWatcher(t){this.setValue(t,!1)}onMessagesChange(){}effectiveLocaleWatcher(){this.updateLocale()}hostBlurHandler(){this.calciteInternalTimePickerBlur.emit()}hostFocusHandler(){this.calciteInternalTimePickerFocus.emit()}keyDownHandler(t){const{defaultPrevented:i,key:e}=t;if(!i)switch(this.activeEl){case this.hourEl:"ArrowRight"===e&&(this.focusPart("minute"),t.preventDefault());break;case this.minuteEl:switch(e){case"ArrowLeft":this.focusPart("hour"),t.preventDefault();break;case"ArrowRight":60!==this.step?(this.focusPart("second"),t.preventDefault()):"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.secondEl:switch(e){case"ArrowLeft":this.focusPart("minute"),t.preventDefault();break;case"ArrowRight":"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.meridiemEl:"ArrowLeft"===e&&(60!==this.step?(this.focusPart("second"),t.preventDefault()):(this.focusPart("minute"),t.preventDefault()))}}async setFocus(){await g(this),this.el?.focus()}updateShowSecond(){this.showSecond=this.step<60}async focusPart(t){await g(this),this[`${t||"hour"}El`]?.focus()}buttonActivated(t){const{key:i}=t;return" "===i&&t.preventDefault(),p(i)}getMeridiemOrder(t){const i=this.effectiveLocale;return t&&"ar"!==i&&"he"!==i?t.findIndex((t=>t.value===this.localizedMeridiem)):0}updateLocale(){$(this,this.effectiveLocale),this.hourCycle=function(t,i){return F("meridiem",T(t,i).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}(this.effectiveLocale,this.numberingSystem),this.setValue(this.value,!1)}connectedCallback(){Y(this),this.updateLocale(),_(this),this.updateShowSecond(),this.meridiemOrder=this.getMeridiemOrder(U({value:"0:00:00",locale:this.effectiveLocale,numberingSystem:this.numberingSystem}))}async componentWillLoad(){y(this),await H(this)}componentDidLoad(){w(this)}disconnectedCallback(){L(this),z(this)}render(){const t=M(this.hour),i="s"===this.scale||"m"===this.scale?"s":"m",n=M(this.minute),s=M(this.second),r="12"===this.hourCycle;return e("div",{class:{[Ct.timePicker]:!0,[Ct.showMeridiem]:r,[Ct.showSecond]:this.showSecond,[Ct[`scale-${this.scale}`]]:!0},dir:"ltr"},e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.hourUp,class:{[Ct.button]:!0,[Ct.buttonHourUp]:!0,[Ct.buttonTopLeft]:!0},onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.hour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":t&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:{[Ct.input]:!0,[Ct.hour]:!0},onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setHourEl},this.localizedHour||"--"),e("span",{"aria-label":this.messages.hourDown,class:{[Ct.button]:!0,[Ct.buttonHourDown]:!0,[Ct.buttonBottomLeft]:!0},onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),e("span",{class:Ct.delimiter},this.localizedHourSuffix),e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.minuteUp,class:{[Ct.button]:!0,[Ct.buttonMinuteUp]:!0},onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.minute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":n&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:{[Ct.input]:!0,[Ct.minute]:!0},onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setMinuteEl},this.localizedMinute||"--"),e("span",{"aria-label":this.messages.minuteDown,class:{[Ct.button]:!0,[Ct.buttonMinuteDown]:!0},onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.showSecond&&e("span",{class:Ct.delimiter},this.localizedMinuteSuffix),this.showSecond&&e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.secondUp,class:{[Ct.button]:!0,[Ct.buttonSecondUp]:!0},onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.second,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":s&&parseInt(this.second)||"0","aria-valuetext":this.second,class:{[Ct.input]:!0,[Ct.second]:!0},onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setSecondEl},this.localizedSecond||"--"),e("span",{"aria-label":this.messages.secondDown,class:{[Ct.button]:!0,[Ct.buttonSecondDown]:!0},onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.localizedSecondSuffix&&e("span",{class:Ct.delimiter},this.localizedSecondSuffix),r&&e("div",{class:{[Ct.column]:!0,[Ct.meridiemStart]:0===this.meridiemOrder},role:"group"},e("span",{"aria-label":this.messages.meridiemUp,class:{[Ct.button]:!0,[Ct.buttonMeridiemUp]:!0,[Ct.buttonTopRight]:!0},onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.meridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":"PM"===this.meridiem?"2":"1","aria-valuetext":this.meridiem,class:{[Ct.input]:!0,[Ct.meridiem]:!0},onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setMeridiemEl},this.localizedMeridiem||"--"),e("span",{"aria-label":this.messages.meridiemDown,class:{[Ct.button]:!0,[Ct.buttonMeridiemDown]:!0,[Ct.buttonBottomRight]:!0},onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{step:["stepChange"],value:["valueWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};Pt.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);z-index:var(--calcite-app-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}";export{Tt as I,Pt as T,vt as d}
|
|
6
|
+
import{r as t,c as i,h as e,H as n,a as s}from"./p-6289fc32.js";import{s as r,c as a,d as o,H as c}from"./p-84164bd1.js";import{g as h}from"./p-c881bc50.js";import{c as u,d as l,u as d}from"./p-72e8da86.js";import{n as m,i as f}from"./p-6e7bd608.js";import{c as p,d as v,g as b}from"./p-4f2ed70d.js";import{b as g,s as y,a as w}from"./p-d76af70b.js";import{b as k,i as M,e as D,n as S,g as x,c as Y,d as L}from"./p-4a9a2b4d.js";import{d as j,a as A,c as I}from"./p-68132639.js";import{c as _,s as H,d as z,u as $}from"./p-468d3381.js";function T(t,i,e=!0){const n={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:D(i)};return e&&(n.second="2-digit"),k(t,n)}function C(t){const i=t.toString();return t>=0&&t<=9?i.padStart(2,"0"):i}function P(t){if(!W(t))return null;const[i,e,n]=t.split(":"),s=C(parseInt(i)),r=C(parseInt(e));return n?`${s}:${r}:${C(parseInt(n))}`:`${s}:${r}`}function F(t,i){if(!t||!i)return null;if("hourSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"hour"===t))),e=i.indexOf(i.find((({type:t})=>"minute"===t))),n=i[t+1];return n&&"literal"===n.type&&e-t==2&&n.value?.trim()||null}if("minuteSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"minute"===t))),e=i.indexOf(i.find((({type:t})=>"second"===t))),n=i[t+1];return n&&"literal"===n.type&&e-t==2&&n.value?.trim()||null}if("secondSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"second"===t))),e=i[t+1];return e&&"literal"===e.type&&e.value?.trim()||null}return i.find((({type:i})=>"meridiem"==t?"dayPeriod"===i:i===t))?.value||null}function W(t){if(!t||t.startsWith(":")||t.endsWith(":"))return!1;const i=t.split(":");if(!(i.length>1&&i.length<4))return!1;const[e,n,s]=i,r=parseInt(i[0]),a=parseInt(i[1]),o=parseInt(i[2]),c=M(e)&&r>=0&&r<24,h=M(n)&&a>=0&&a<60,u=M(s)&&o>=0&&o<60;return!!(c&&h&&!s||c&&h&&u)||void 0}function O({value:t,part:i,locale:e,numberingSystem:n}){if(!function(t,i){if("meridiem"===i)return"AM"===t||"PM"===t;if(!M(t))return!1;const e=Number(t);return"hour"===i?e>=0&&e<24:e>=0&&e<60}(t,i))return;const s=parseInt(t),r=new Date(Date.UTC(0,0,0,"hour"===i?s:"meridiem"===i?"AM"===t?0:12:0,"minute"===i?s:0,"second"===i?s:0));return r?F(i,T(e,n).formatToParts(r)):void 0}function K({value:t,locale:i,numberingSystem:e,includeSeconds:n=!0}){if(!W(t))return null;const{hour:s,minute:r,second:a="0"}=R(t),o=new Date(Date.UTC(0,0,0,parseInt(s),parseInt(r),parseInt(a)));return T(i,e,n)?.format(o)||null}function Z({value:t,locale:i,numberingSystem:e}){if(!W(t))return null;const{hour:n,minute:s,second:r="0"}=R(t),a=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(s),parseInt(r)));if(a){const t=T(i,e).formatToParts(a);return{localizedHour:F("hour",t),localizedHourSuffix:F("hourSuffix",t),localizedMinute:F("minute",t),localizedMinuteSuffix:F("minuteSuffix",t),localizedSecond:F("second",t),localizedSecondSuffix:F("secondSuffix",t),localizedMeridiem:F("meridiem",t)}}return null}function U({value:t,locale:i,numberingSystem:e}){if(!W(t))return null;const{hour:n,minute:s,second:r="0"}=R(t),a=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(s),parseInt(r)));return a?T(i,e).formatToParts(a):null}function R(t){if(W(t)){const[i,e,n]=t.split(":");return{hour:i,minute:e,second:n}}return{hour:null,minute:null,second:null}}function B(t,i=!0){if(!W(t))return"";const{hour:e,minute:n,second:s}=R(t);let r=`${C(parseInt(e))}:${C(parseInt(n))}`;return i&&(r+=`:${C(parseInt(i&&s||"0"))}`),r}var E=6e4,N=36e5,J="millisecond",X="second",q="minute",G="hour",Q="day",V="week",tt="month",it="quarter",et="year",nt="date",st="YYYY-MM-DDTHH:mm:ssZ",rt="Invalid Date",at=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ot=/\[([^\]]+)]|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;const ct={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var i=["th","st","nd","rd"],e=t%100;return"["+t+(i[(e-20)%10]||i[e]||i[0])+"]"}},ht=Object.freeze({__proto__:null,default:ct});var ut=function(t,i,e){var n=String(t);return!n||n.length>=i?t:""+Array(i+1-n.length).join(e)+t};const lt={s:ut,z:function(t){var i=-t.utcOffset(),e=Math.abs(i),n=Math.floor(e/60),s=e%60;return(i<=0?"+":"-")+ut(n,2,"0")+":"+ut(s,2,"0")},m:function t(i,e){if(i.date()<e.date())return-t(e,i);var n=12*(e.year()-i.year())+(e.month()-i.month()),s=i.clone().add(n,tt),r=e-s<0,a=i.clone().add(n+(r?-1:1),tt);return+(-(n+(e-s)/(r?s-a:a-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:tt,y:et,w:V,d:Q,D:nt,h:G,m:q,s:X,ms:J,Q:it}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};var dt="en",mt={};mt[dt]=ct;var ft=function(t){return t instanceof gt},pt=function t(i,e,n){var s;if(!i)return dt;if("string"==typeof i){var r=i.toLowerCase();mt[r]&&(s=r),e&&(mt[r]=e,s=r);var a=i.split("-");if(!s&&a.length>1)return t(a[0])}else{var o=i.name;mt[o]=i,s=o}return!n&&s&&(dt=s),s||!n&&dt},vt=function(t,i){if(ft(t))return t.clone();var e="object"==typeof i?i:{};return e.date=t,e.args=arguments,new gt(e)},bt=lt;bt.l=pt,bt.i=ft,bt.w=function(t,i){return vt(t,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var gt=function(){function t(t){this.$L=pt(t.locale,null,!0),this.parse(t)}var i=t.prototype;return i.parse=function(t){this.$d=function(t){var i=t.date,e=t.utc;if(null===i)return new Date(NaN);if(bt.u(i))return new Date;if(i instanceof Date)return new Date(i);if("string"==typeof i&&!/Z$/i.test(i)){var n=i.match(at);if(n){var s=n[2]-1||0,r=(n[7]||"0").substring(0,3);return e?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)}}return new Date(i)}(t),this.$x=t.x||{},this.init()},i.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},i.$utils=function(){return bt},i.isValid=function(){return!(this.$d.toString()===rt)},i.isSame=function(t,i){var e=vt(t);return this.startOf(i)<=e&&e<=this.endOf(i)},i.isAfter=function(t,i){return vt(t)<this.startOf(i)},i.isBefore=function(t,i){return this.endOf(i)<vt(t)},i.$g=function(t,i,e){return bt.u(t)?this[i]:this.set(e,t)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(t,i){var e=this,n=!!bt.u(i)||i,s=bt.p(t),r=function(t,i){var s=bt.w(e.$u?Date.UTC(e.$y,i,t):new Date(e.$y,i,t),e);return n?s:s.endOf(Q)},a=function(t,i){return bt.w(e.toDate()[t].apply(e.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(i)),e)},o=this.$W,c=this.$M,h=this.$D,u="set"+(this.$u?"UTC":"");switch(s){case et:return n?r(1,0):r(31,11);case tt:return n?r(1,c):r(0,c+1);case V:var l=this.$locale().weekStart||0,d=(o<l?o+7:o)-l;return r(n?h-d:h+(6-d),c);case Q:case nt:return a(u+"Hours",0);case G:return a(u+"Minutes",1);case q:return a(u+"Seconds",2);case X:return a(u+"Milliseconds",3);default:return this.clone()}},i.endOf=function(t){return this.startOf(t,!1)},i.$set=function(t,i){var e,n=bt.p(t),s="set"+(this.$u?"UTC":""),r=(e={},e[Q]=s+"Date",e[nt]=s+"Date",e[tt]=s+"Month",e[et]=s+"FullYear",e[G]=s+"Hours",e[q]=s+"Minutes",e[X]=s+"Seconds",e[J]=s+"Milliseconds",e)[n],a=n===Q?this.$D+(i-this.$W):i;if(n===tt||n===et){var o=this.clone().set(nt,1);o.$d[r](a),o.init(),this.$d=o.set(nt,Math.min(this.$D,o.daysInMonth())).$d}else r&&this.$d[r](a);return this.init(),this},i.set=function(t,i){return this.clone().$set(t,i)},i.get=function(t){return this[bt.p(t)]()},i.add=function(t,i){var e,n=this;t=Number(t);var s=bt.p(i),r=function(i){var e=vt(n);return bt.w(e.date(e.date()+Math.round(i*t)),n)};if(s===tt)return this.set(tt,this.$M+t);if(s===et)return this.set(et,this.$y+t);if(s===Q)return r(1);if(s===V)return r(7);var a=(e={},e[q]=E,e[G]=N,e[X]=1e3,e)[s]||1,o=this.$d.getTime()+t*a;return bt.w(o,this)},i.subtract=function(t,i){return this.add(-1*t,i)},i.format=function(t){var i=this,e=this.$locale();if(!this.isValid())return e.invalidDate||rt;var n=t||st,s=bt.z(this),r=this.$H,a=this.$m,o=this.$M,c=e.weekdays,h=e.months,u=function(t,e,s,r){return t&&(t[e]||t(i,n))||s[e].slice(0,r)},l=function(t){return bt.s(r%12||12,t,"0")},d=e.meridiem||function(t,i,e){var n=t<12?"AM":"PM";return e?n.toLowerCase():n};return n.replace(ot,(function(t,n){return n||function(t){switch(t){case"YY":return String(i.$y).slice(-2);case"YYYY":return bt.s(i.$y,4,"0");case"M":return o+1;case"MM":return bt.s(o+1,2,"0");case"MMM":return u(e.monthsShort,o,h,3);case"MMMM":return u(h,o);case"D":return i.$D;case"DD":return bt.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return u(e.weekdaysMin,i.$W,c,2);case"ddd":return u(e.weekdaysShort,i.$W,c,3);case"dddd":return c[i.$W];case"H":return String(r);case"HH":return bt.s(r,2,"0");case"h":return l(1);case"hh":return l(2);case"a":return d(r,a,!0);case"A":return d(r,a,!1);case"m":return String(a);case"mm":return bt.s(a,2,"0");case"s":return String(i.$s);case"ss":return bt.s(i.$s,2,"0");case"SSS":return bt.s(i.$ms,3,"0");case"Z":return s}return null}(t)||s.replace(":","")}))},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(t,i,e){var n,s=this,r=bt.p(i),a=vt(t),o=(a.utcOffset()-this.utcOffset())*E,c=this-a,h=function(){return bt.m(s,a)};switch(r){case et:n=h()/12;break;case tt:n=h();break;case it:n=h()/3;break;case V:n=(c-o)/6048e5;break;case Q:n=(c-o)/864e5;break;case G:n=c/N;break;case q:n=c/E;break;case X:n=c/1e3;break;default:n=c}return e?n:bt.a(n)},i.daysInMonth=function(){return this.endOf(tt).$D},i.$locale=function(){return mt[this.$L]},i.locale=function(t,i){if(!t)return this.$L;var e=this.clone(),n=pt(t,i,!0);return n&&(e.$L=n),e},i.clone=function(){return bt.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},t}(),yt=gt.prototype;vt.prototype=yt,[["$ms",J],["$s",X],["$m",q],["$H",G],["$W",Q],["$M",tt],["$y",et],["$D",nt]].forEach((function(t){yt[t[1]]=function(i){return this.$g(i,t[0],t[1])}})),vt.extend=function(t,i){return t.$i||(t(i,gt,vt),t.$i=!0),vt},vt.locale=pt,vt.isDayjs=ft,vt.unix=function(t){return vt(1e3*t)},vt.en=mt[dt],vt.Ls=mt,vt.p={};var wt=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,i,e){return i||e.slice(1)}))},kt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Mt=function(t,i){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,e,n){var s=n&&n.toUpperCase();return e||i[n]||kt[n]||wt(i[s])}))},Dt=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,St=/\d\d/,xt=/\d\d?/,Yt=/\d*[^-_:/,()\s\d]+/,Lt={},jt=function(t){return(t=+t)+(t>68?1900:2e3)},At=function(t){return function(i){this[t]=+i}},It=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var i=t.match(/([+-]|\d\d)/g),e=60*i[1]+(+i[2]||0);return 0===e?0:"+"===i[0]?-e:e}(t)}],_t=function(t){var i=Lt[t];return i&&(i.indexOf?i:i.s.concat(i.f))},Ht=function(t,i){var e,n=Lt.meridiem;if(n){for(var s=1;s<=24;s+=1)if(t.indexOf(n(s,0,i))>-1){e=s>12;break}}else e=t===(i?"pm":"PM");return e},zt={A:[Yt,function(t){this.afternoon=Ht(t,!1)}],a:[Yt,function(t){this.afternoon=Ht(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[St,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[xt,At("seconds")],ss:[xt,At("seconds")],m:[xt,At("minutes")],mm:[xt,At("minutes")],H:[xt,At("hours")],h:[xt,At("hours")],HH:[xt,At("hours")],hh:[xt,At("hours")],D:[xt,At("day")],DD:[St,At("day")],Do:[Yt,function(t){var i=Lt.ordinal,e=t.match(/\d+/);if(this.day=e[0],i)for(var n=1;n<=31;n+=1)i(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],M:[xt,At("month")],MM:[St,At("month")],MMM:[Yt,function(t){var i=_t("months"),e=(_t("monthsShort")||i.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],MMMM:[Yt,function(t){var i=_t("months").indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],Y:[/[+-]?\d+/,At("year")],YY:[St,function(t){this.year=jt(t)}],YYYY:[/\d{4}/,At("year")],Z:It,ZZ:It};const $t=new Map([["ar",()=>import("./p-dddfedfd.js")],["bg",()=>import("./p-677b34d6.js")],["bs",()=>import("./p-4af135da.js")],["ca",()=>import("./p-95df3410.js")],["cs",()=>import("./p-c2f10231.js")],["da",()=>import("./p-989723b0.js")],["de",()=>import("./p-a714c35f.js")],["de-at",()=>import("./p-587c9c45.js")],["de-ch",()=>import("./p-5527561f.js")],["el",()=>import("./p-6febf8e4.js")],["en",()=>Promise.resolve().then((function(){return ht}))],["en-au",()=>import("./p-595a6b01.js")],["en-ca",()=>import("./p-d738af2a.js")],["en-gb",()=>import("./p-725109f6.js")],["es",()=>import("./p-97123f89.js")],["es-mx",()=>import("./p-4fbe5a0a.js")],["et",()=>import("./p-7697aa4a.js")],["fi",()=>import("./p-5df2ffdf.js")],["fr",()=>import("./p-71167e0a.js")],["fr-ch",()=>import("./p-081d7c3a.js")],["he",()=>import("./p-81568ae0.js")],["hi",()=>import("./p-c9f5039f.js")],["hr",()=>import("./p-07db1986.js")],["hu",()=>import("./p-3f329447.js")],["id",()=>import("./p-99d873f1.js")],["it",()=>import("./p-f6244ed2.js")],["it-ch",()=>import("./p-9d0fbea8.js")],["ja",()=>import("./p-244b41a1.js")],["ko",()=>import("./p-f2f542a6.js")],["lt",()=>import("./p-b277acb2.js")],["lv",()=>import("./p-b4afee91.js")],["mk",()=>import("./p-45ac0f6b.js")],["nl",()=>import("./p-457887fc.js")],["nb",()=>import("./p-5c8d0366.js")],["pl",()=>import("./p-ae53f329.js")],["pt",()=>import("./p-45cbe6af.js")],["pt-br",()=>import("./p-663f6fff.js")],["ro",()=>import("./p-a345fe71.js")],["ru",()=>import("./p-ce2d68e4.js")],["sk",()=>import("./p-a412ebdc.js")],["sl",()=>import("./p-26971fe4.js")],["sr",()=>import("./p-9a9ab5e2.js")],["sv",()=>import("./p-5254ed50.js")],["th",()=>import("./p-2bc5101b.js")],["tr",()=>import("./p-075f06fe.js")],["uk",()=>import("./p-5cb05c86.js")],["vi",()=>import("./p-01703649.js")],["zh-cn",()=>import("./p-65c9ddff.js")],["zh-hk",()=>import("./p-42b40a3f.js")],["zh-tw",()=>import("./p-61cfd143.js")]]);vt.extend((function(t,i,e){e.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(jt=t.parseTwoDigitYear);var n=i.prototype,s=n.parse;n.parse=function(t){var i=t.date,n=t.utc,r=t.args;this.$u=n;var a=r[1];if("string"==typeof a){var o=!0===r[2],c=!0===r[3],h=o||c,u=r[2];c&&(u=r[2]),Lt=this.$locale(),!o&&u&&(Lt=e.Ls[u]),this.$d=function(t,i,e){try{if(["x","X"].indexOf(i)>-1)return new Date(("X"===i?1e3:1)*t);var n=function(t){for(var i=(t=Mt(t,Lt&&Lt.formats)).match(Dt),e=i.length,n=0;n<e;n+=1){var s=i[n],r=zt[s],a=r&&r[1];i[n]=a?{regex:r&&r[0],parser:a}:s.replace(/^\[|\]$/g,"")}return function(t){for(var n={},s=0,r=0;s<e;s+=1){var a=i[s];if("string"==typeof a)r+=a.length;else{var o=a.regex,c=a.parser,h=t.slice(r),u=o.exec(h)[0];c.call(n,u),t=t.replace(u,"")}}return function(t){var i=t.afternoon;if(void 0!==i){var e=t.hours;i?e<12&&(t.hours+=12):12===e&&(t.hours=0),delete t.afternoon}}(n),n}}(i),s=n(t),r=s.year,a=s.month,o=s.day,c=s.hours,h=s.minutes,u=s.seconds,l=s.milliseconds,d=s.zone,m=new Date,f=o||(r||a?1:m.getDate()),p=r||m.getFullYear(),v=0;r&&!a||(v=a>0?a-1:m.getMonth());var b=c||0,g=h||0,y=u||0,w=l||0;return d?new Date(Date.UTC(p,v,f,b,g,y,w+60*d.offset*1e3)):e?new Date(Date.UTC(p,v,f,b,g,y,w)):new Date(p,v,f,b,g,y,w)}catch(t){return new Date("")}}(i,a,n),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),h&&i!=this.format(a)&&(this.$d=new Date("")),Lt={}}else if(a instanceof Array)for(var l=a.length,d=1;d<=l;d+=1){r[1]=a[d-1];var m=e.apply(this,r);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===l&&(this.$d=new Date(""))}else s.call(this,t)}})),vt.extend((function(t,i,e){var n=function(t){return t&&(t.indexOf?t:t.s)},s=function(t,i,e,s,r){var a=t.name?t:t.$locale(),o=n(a[i]),c=n(a[e]),h=o||c.map((function(t){return t.slice(0,s)}));if(!r)return h;var u=a.weekStart;return h.map((function(t,i){return h[(i+(u||0))%7]}))},r=function(){return e.Ls[e.locale()]},a=function(t,i){return t.formats[i]||wt(t.formats[i.toUpperCase()])},o=function(){var t=this;return{months:function(i){return i?i.format("MMMM"):s(t,"months")},monthsShort:function(i){return i?i.format("MMM"):s(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(i){return i?i.format("dddd"):s(t,"weekdays")},weekdaysMin:function(i){return i?i.format("dd"):s(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(i){return i?i.format("ddd"):s(t,"weekdaysShort","weekdays",3)},longDateFormat:function(i){return a(t.$locale(),i)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.prototype.localeData=function(){return o.bind(this)()},e.localeData=function(){var t=r();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return e.weekdays()},weekdaysShort:function(){return e.weekdaysShort()},weekdaysMin:function(){return e.weekdaysMin()},months:function(){return e.months()},monthsShort:function(){return e.monthsShort()},longDateFormat:function(i){return a(t,i)},meridiem:t.meridiem,ordinal:t.ordinal}},e.months=function(){return s(r(),"months")},e.monthsShort=function(){return s(r(),"monthsShort","months",3)},e.weekdays=function(t){return s(r(),"weekdays",null,null,t)},e.weekdaysShort=function(t){return s(r(),"weekdaysShort","weekdays",3,t)},e.weekdaysMin=function(t){return s(r(),"weekdaysMin","weekdays",2,t)}})),vt.extend((function(t,i,e){var n=i.prototype,s=n.format;e.en.formats=kt,n.format=function(t){void 0===t&&(t=st);var i=this.$locale().formats,e=Mt(t,void 0===i?{}:i);return s.call(this,e)}})),vt.extend((function(t,i){var e=i.prototype.parse;i.prototype.parse=function(t){if("string"==typeof t.date){var i=this.$locale();t.date=i&&i.preparse?i.preparse(t.date):t.date}return e.bind(this)(t)};var n=i.prototype.format;i.prototype.format=function(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var s=n.call.apply(n,[this].concat(i)),r=this.$locale();return r&&r.postformat?r.postformat(s):s};var s=i.prototype.fromToBase;s&&(i.prototype.fromToBase=function(t,i,e,n){var r=this.$locale()||e.$locale();return s.call(this,t,i,e,n,r&&r.postformat)})})),vt.extend((function(t,i,e){e.updateLocale=function(t,i){var n=e.Ls[t];if(n)return(i?Object.keys(i):[]).forEach((function(t){n[t]=i[t]})),n}}));const Tt=class{constructor(e){t(this,e),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.focusOnOpen=!1,this.dialogId=`time-picker-dialog--${h()}`,this.userChangedValue=!1,this.referenceElementId=`input-time-picker-${h()}`,this.hostBlurHandler=()=>{const t=this.calciteInputEl.value,i=this.delocalizeTimeString(t);if(!i)return void this.setValue("");i!==this.value&&this.setValue(i);const e=K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});e!==t&&this.setInputValue(e),this.deactivate()},this.calciteInternalInputFocusHandler=t=>{this.readOnly||t.stopPropagation()},this.calciteInternalInputInputHandler=t=>{const{effectiveLocale:i,numberingSystem:e}=this;if(e&&"latn"!==e){const n=t.target;S.numberFormatOptions={locale:i,numberingSystem:e,useGrouping:!1};const s=S.delocalize(n.value).split("").map((t=>m.includes(t)?S.numberFormatter.format(Number(t)):t)).join("");this.setInputValue(s)}},this.timePickerChangeHandler=t=>{t.stopPropagation();const i=t.target.value,e=this.shouldIncludeSeconds();this.setValue(B(i,e)),this.setInputValue(K({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:e}))},this.popoverCloseHandler=()=>{j(this,{onDeactivate:()=>{this.calciteInputEl.setFocus(),this.focusOnOpen=!1}})},this.popoverOpenHandler=()=>{A(this,{onActivate:()=>{this.focusOnOpen&&(this.calciteTimePickerEl.setFocus(),this.focusOnOpen=!1)}})},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;if(!i)if("Enter"===e){if(r(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;const i=this.delocalizeTimeString(this.calciteInputEl.value);this.setValue(i);const e=K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});i&&this.calciteInputEl.value!==e&&this.setInputValue(e)}else"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&this.open&&(this.open=!1,t.preventDefault(),this.calciteInputEl.setFocus())},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setCalciteInputEl=t=>{this.calciteInputEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t,I(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=t=>{const i=this.value,e=P(t)||"";e!==i&&(this.userChangedValue=!0,this.value=e||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=i,this.setInputValue(K({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))))},this.setValueDirectly=t=>{const i=this.shouldIncludeSeconds();this.value=B(t,i),this.setInputValue(this.value?K({value:this.value,includeSeconds:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem}):"")},this.onInputWrapperClick=()=>{this.open=!this.open},this.deactivate=()=>{this.open=!1},this.open=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.messageOverrides=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.required=!1,this.scale="m",this.overlayPositioning="absolute",this.placement="auto",this.step=60,this.value=null,this.defaultMessages=void 0,this.effectiveLocale=""}openHandler(t){this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}handleFocusTrapDisabled(t){this.open&&(t?j(this):A(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}onMessagesChange(){}numberingSystemWatcher(t){this.setInputValue(K({value:this.value,locale:this.effectiveLocale,numberingSystem:t,includeSeconds:this.shouldIncludeSeconds()}))}stepWatcher(t,i){(i>=60&&t>0&&t<60||t>=60&&i>0&&i<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}async effectiveLocaleWatcher(t){await this.loadDateTimeLocaleData(),this.setInputValue(K({value:this.value,locale:t,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}async setFocus(){await g(this),this.el.focus()}async reposition(t=!1){this.popoverEl?.reposition(t)}delocalizeTimeString(t){vt.locale(this.effectiveLocale.toLowerCase());const i=vt(t,["LTS","LT"]);if(i.isValid()){let t=`${i.get("hour")}:${i.get("minute")}`;return this.shouldIncludeSeconds()&&(t+=`:${i.get("seconds")||0}`),P(t)||""}return""}async loadDateTimeLocaleData(){let t=x(this.effectiveLocale).toLowerCase();"no"===t&&(t="nb"),"pt-pt"===t&&(t="pt");const{default:i}=await $t.get(t)();vt.locale(i,null,!0),vt.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){return"ar"===t?{meridiem:t=>t>12?"م":"ص",formats:{LT:"HH:mm A",LTS:"HH:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm A",LLLL:"dddd D MMMM YYYY HH:mm A"}}:"en-au"===t?{meridiem:t=>t>12?"pm":"am"}:"en-ca"===t?{meridiem:t=>t>12?"p.m.":"a.m."}:"el"===t?{meridiem:t=>t>12?"μ.μ.":"π.μ."}:"hi"===t?{formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, h:mm A",LLLL:"dddd, D MMMM YYYY, h:mm A"},meridiem:t=>t>12?"pm":"am"}:"ko"===t?{meridiem:t=>t>12?"오후":"오전"}:"zh-tw"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"}}:"zh-hk"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"},meridiem:t=>t>12?"下午":"上午"}:void 0}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}connectedCallback(){u(this),Y(this),W(this.value)?this.setValueDirectly(this.value):this.value=void 0,p(this),a(this),_(this)}async componentWillLoad(){y(this),await Promise.all([H(this),this.loadDateTimeLocaleData()])}componentDidLoad(){w(this),W(this.value)&&this.setInputValue(K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}disconnectedCallback(){l(this),v(this),o(this),L(this),j(this),z(this)}componentDidRender(){d(this)}render(){const{disabled:t,messages:i,readOnly:s,dialogId:r}=this;return e(n,{onBlur:this.hostBlurHandler,onKeyDown:this.keyDownHandler},e("div",{class:"input-wrapper",onClick:this.onInputWrapperClick},e("calcite-input",{"aria-autocomplete":"none","aria-haspopup":"dialog",disabled:t,icon:"clock",id:this.referenceElementId,label:b(this),lang:this.effectiveLocale,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:s,role:"combobox",scale:this.scale,step:this.step,ref:this.setCalciteInputEl}),this.renderToggleIcon(this.open)),e("calcite-popover",{focusTrapDisabled:!0,id:r,label:i.chooseTime,lang:this.effectiveLocale,onCalcitePopoverClose:this.popoverCloseHandler,onCalcitePopoverOpen:this.popoverOpenHandler,open:this.open,overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.referenceElementId,triggerDisabled:!0,ref:this.setCalcitePopoverEl},e("calcite-time-picker",{lang:this.effectiveLocale,messageOverrides:this.messageOverrides,numberingSystem:this.numberingSystem,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,scale:this.scale,step:this.step,tabIndex:this.open?void 0:-1,value:this.value,ref:this.setCalciteTimePickerEl})),e(c,{component:this}))}renderToggleIcon(t){return e("span",{class:"toggle-icon"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{open:["openHandler"],focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],messageOverrides:["onMessagesChange"],numberingSystem:["numberingSystemWatcher"],step:["stepWatcher"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};Tt.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";const Ct={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",hour:"hour",input:"input",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},Pt=class{constructor(e){t(this,e),this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6),this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6),this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6),this.decrementHour=()=>{const t=this.hour?"00"===this.hour?23:parseInt(this.hour)-1:0;this.setValuePart("hour",t)},this.decrementMeridiem=()=>{this.setValuePart("meridiem","PM"===this.meridiem?"AM":"PM")},this.decrementMinuteOrSecond=t=>{let i;if(M(this[t])){const e=parseInt(this[t]);i=0===e?59:e-1}else i=59;this.setValuePart(t,i)},this.decrementMinute=()=>{this.decrementMinuteOrSecond("minute")},this.decrementSecond=()=>{this.decrementMinuteOrSecond("second")},this.focusHandler=t=>{this.activeEl=t.currentTarget},this.hourDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementHour()},this.hourKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.hour))switch(this.hourCycle){case"12":e="01"===this.hour&&t>=0&&t<=2?`1${t}`:t;break;case"24":e="01"===this.hour?`1${t}`:"02"===this.hour&&t>=0&&t<=3?`2${t}`:t}else e=t;this.setValuePart("hour",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":t.preventDefault(),this.decrementHour();break;case"ArrowUp":t.preventDefault(),this.incrementHour();break;case" ":t.preventDefault()}},this.hourUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementHour()},this.incrementMeridiem=()=>{this.setValuePart("meridiem","AM"===this.meridiem?"PM":"AM")},this.incrementHour=()=>{const t=M(this.hour)?"23"===this.hour?0:parseInt(this.hour)+1:1;this.setValuePart("hour",t)},this.incrementMinuteOrSecond=t=>{const i=M(this[t])?"59"===this[t]?0:parseInt(this[t])+1:0;this.setValuePart(t,i)},this.incrementMinute=()=>{this.incrementMinuteOrSecond("minute")},this.incrementSecond=()=>{this.incrementMinuteOrSecond("second")},this.meridiemDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMeridiem()},this.meridiemKeyDownHandler=t=>{switch(t.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":t.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":t.preventDefault(),this.decrementMeridiem();break;case" ":t.preventDefault()}},this.meridiemUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMeridiem()},this.minuteDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMinute()},this.minuteKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.minute)&&this.minute.startsWith("0")){const i=parseInt(this.minute);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("minute",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":t.preventDefault(),this.decrementMinute();break;case"ArrowUp":t.preventDefault(),this.incrementMinute();break;case" ":t.preventDefault()}},this.minuteUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMinute()},this.secondDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementSecond()},this.secondKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.second)&&this.second.startsWith("0")){const i=parseInt(this.second);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("second",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":t.preventDefault(),this.decrementSecond();break;case"ArrowUp":t.preventDefault(),this.incrementSecond();break;case" ":t.preventDefault()}},this.secondUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementSecond()},this.setHourEl=t=>this.hourEl=t,this.setMeridiemEl=t=>this.meridiemEl=t,this.setMinuteEl=t=>this.minuteEl=t,this.setSecondEl=t=>this.secondEl=t,this.setValue=(t,i=!0)=>{if(W(t)){const{hour:i,minute:e,second:n}=R(t),{effectiveLocale:s,numberingSystem:r}=this,{localizedHour:a,localizedHourSuffix:o,localizedMinute:c,localizedMinuteSuffix:h,localizedSecond:u,localizedSecondSuffix:l,localizedMeridiem:d}=Z({value:t,locale:s,numberingSystem:r});if(this.localizedHour=a,this.localizedHourSuffix=o,this.localizedMinute=c,this.localizedMinuteSuffix=h,this.localizedSecond=u,this.localizedSecondSuffix=l,this.hour=i,this.minute=e,this.second=n,d){this.localizedMeridiem=d,this.meridiem=function(t){if(!M(t))return null;const i=parseInt(t);return i>=0&&i<=11?"AM":"PM"}(this.hour);const i=U({value:t,locale:s,numberingSystem:r});this.meridiemOrder=this.getMeridiemOrder(i)}}else this.hour=null,this.localizedHour=null,this.localizedHourSuffix=null,this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=null,this.localizedSecond=null,this.localizedSecondSuffix=null,this.meridiem=null,this.minute=null,this.second=null,this.value=null;i&&this.calciteInternalTimePickerChange.emit()},this.setValuePart=(t,i,e=!0)=>{const{effectiveLocale:n,numberingSystem:s}=this;if("meridiem"===t){if(this.meridiem=i,M(this.hour)){const t=parseInt(this.hour);switch(i){case"AM":t>=12&&(this.hour=C(t-12));break;case"PM":t<12&&(this.hour=C(t+12))}this.localizedHour=O({value:this.hour,part:"hour",locale:n,numberingSystem:s})}}else this[t]="number"==typeof i?C(i):i,this[`localized${r=t,r.charAt(0).toUpperCase()+r.slice(1)}`]=O({value:this[t],part:t,locale:n,numberingSystem:s});var r;if(this.hour&&this.minute){let t=`${this.hour}:${this.minute}`;this.showSecond&&(t=`${t}:${this.second??"00"}`),this.value=t}else this.value=null;this.localizedMeridiem=this.value?Z({value:this.value,locale:n,numberingSystem:s})?.localizedMeridiem||null:O({value:this.meridiem,part:"meridiem",locale:n,numberingSystem:s}),e&&this.calciteInternalTimePickerChange.emit()},this.scale="m",this.step=60,this.numberingSystem=void 0,this.value=null,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.hour=void 0,this.hourCycle=void 0,this.localizedHour=void 0,this.localizedHourSuffix=void 0,this.localizedMeridiem=void 0,this.localizedMinute=void 0,this.localizedMinuteSuffix=void 0,this.localizedSecond=void 0,this.localizedSecondSuffix=void 0,this.meridiem=void 0,this.minute=void 0,this.second=void 0,this.showSecond=void 0,this.defaultMessages=void 0}stepChange(){this.updateShowSecond()}valueWatcher(t){this.setValue(t,!1)}onMessagesChange(){}effectiveLocaleWatcher(){this.updateLocale()}hostBlurHandler(){this.calciteInternalTimePickerBlur.emit()}hostFocusHandler(){this.calciteInternalTimePickerFocus.emit()}keyDownHandler(t){const{defaultPrevented:i,key:e}=t;if(!i)switch(this.activeEl){case this.hourEl:"ArrowRight"===e&&(this.focusPart("minute"),t.preventDefault());break;case this.minuteEl:switch(e){case"ArrowLeft":this.focusPart("hour"),t.preventDefault();break;case"ArrowRight":60!==this.step?(this.focusPart("second"),t.preventDefault()):"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.secondEl:switch(e){case"ArrowLeft":this.focusPart("minute"),t.preventDefault();break;case"ArrowRight":"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.meridiemEl:"ArrowLeft"===e&&(60!==this.step?(this.focusPart("second"),t.preventDefault()):(this.focusPart("minute"),t.preventDefault()))}}async setFocus(){await g(this),this.el?.focus()}updateShowSecond(){this.showSecond=this.step<60}async focusPart(t){await g(this),this[`${t||"hour"}El`]?.focus()}buttonActivated(t){const{key:i}=t;return" "===i&&t.preventDefault(),f(i)}getMeridiemOrder(t){const i=this.effectiveLocale;return t&&"ar"!==i&&"he"!==i?t.findIndex((t=>t.value===this.localizedMeridiem)):0}updateLocale(){$(this,this.effectiveLocale),this.hourCycle=function(t,i){return F("meridiem",T(t,i).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}(this.effectiveLocale,this.numberingSystem),this.setValue(this.value,!1)}connectedCallback(){Y(this),this.updateLocale(),_(this),this.updateShowSecond(),this.meridiemOrder=this.getMeridiemOrder(U({value:"0:00:00",locale:this.effectiveLocale,numberingSystem:this.numberingSystem}))}async componentWillLoad(){y(this),await H(this)}componentDidLoad(){w(this)}disconnectedCallback(){L(this),z(this)}render(){const t=M(this.hour),i="s"===this.scale||"m"===this.scale?"s":"m",n=M(this.minute),s=M(this.second),r="12"===this.hourCycle;return e("div",{class:{[Ct.timePicker]:!0,[Ct.showMeridiem]:r,[Ct.showSecond]:this.showSecond,[Ct[`scale-${this.scale}`]]:!0},dir:"ltr"},e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.hourUp,class:{[Ct.button]:!0,[Ct.buttonHourUp]:!0,[Ct.buttonTopLeft]:!0},onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.hour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":t&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:{[Ct.input]:!0,[Ct.hour]:!0},onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setHourEl},this.localizedHour||"--"),e("span",{"aria-label":this.messages.hourDown,class:{[Ct.button]:!0,[Ct.buttonHourDown]:!0,[Ct.buttonBottomLeft]:!0},onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),e("span",{class:Ct.delimiter},this.localizedHourSuffix),e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.minuteUp,class:{[Ct.button]:!0,[Ct.buttonMinuteUp]:!0},onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.minute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":n&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:{[Ct.input]:!0,[Ct.minute]:!0},onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setMinuteEl},this.localizedMinute||"--"),e("span",{"aria-label":this.messages.minuteDown,class:{[Ct.button]:!0,[Ct.buttonMinuteDown]:!0},onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.showSecond&&e("span",{class:Ct.delimiter},this.localizedMinuteSuffix),this.showSecond&&e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.secondUp,class:{[Ct.button]:!0,[Ct.buttonSecondUp]:!0},onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.second,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":s&&parseInt(this.second)||"0","aria-valuetext":this.second,class:{[Ct.input]:!0,[Ct.second]:!0},onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setSecondEl},this.localizedSecond||"--"),e("span",{"aria-label":this.messages.secondDown,class:{[Ct.button]:!0,[Ct.buttonSecondDown]:!0},onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.localizedSecondSuffix&&e("span",{class:Ct.delimiter},this.localizedSecondSuffix),r&&e("div",{class:{[Ct.column]:!0,[Ct.meridiemStart]:0===this.meridiemOrder},role:"group"},e("span",{"aria-label":this.messages.meridiemUp,class:{[Ct.button]:!0,[Ct.buttonMeridiemUp]:!0,[Ct.buttonTopRight]:!0},onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.meridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":"PM"===this.meridiem?"2":"1","aria-valuetext":this.meridiem,class:{[Ct.input]:!0,[Ct.meridiem]:!0},onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setMeridiemEl},this.localizedMeridiem||"--"),e("span",{"aria-label":this.messages.meridiemDown,class:{[Ct.button]:!0,[Ct.buttonMeridiemDown]:!0,[Ct.buttonBottomRight]:!0},onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{step:["stepChange"],value:["valueWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};Pt.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);z-index:var(--calcite-app-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}";export{Tt as I,Pt as T,vt as d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.13
|
|
5
5
|
*/
|
|
6
|
-
import{d as a}from"./p-
|
|
6
|
+
import{d as a}from"./p-d4811314.js";import"./p-6289fc32.js";import"./p-84164bd1.js";import"./p-54b46df5.js";import"./p-c881bc50.js";import"./p-5d41f169.js";import"./p-72e8da86.js";import"./p-6e7bd608.js";import"./p-4f2ed70d.js";import"./p-d76af70b.js";import"./p-4a9a2b4d.js";import"./p-03c384e6.js";import"./p-68132639.js";import"./p-468d3381.js";var e={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(a){return a},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};a.locale(e,null,!0);export default e;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v1.5.0-next.13
|
|
5
|
+
*/
|
|
6
|
+
import{f as n}from"./p-6289fc32.js";const a=new WeakMap,e=new WeakMap;function s(n){e.set(n,new Promise((e=>a.set(n,e))))}function t(n){a.get(n)()}function o(n){return e.get(n)}async function r(a){return await o(a),n(a),new Promise((n=>requestAnimationFrame((()=>n()))))}export{t as a,o as b,r as c,s}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.13
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as t,h as e,H as n,a}from"./p-46534709.js";import{t as o,i as r,j as s,f as c,v as l}from"./p-43b93d0a.js";import{f as d,c as h,d as m,a as p,F as f,r as u}from"./p-6fd96e88.js";import{g}from"./p-0831d58a.js";import{c as w,u as v,d as b}from"./p-72a7aeca.js";import{i as y}from"./p-2862be82.js";import{c as k,s as x,a as D}from"./p-8720186d.js";import{c as _}from"./p-a60a4237.js";import{c as z,d as I}from"./p-5724639f.js";import"./p-df536258.js";import"./p-9b174287.js";const E=class{constructor(e){i(this,e),this.calciteDropdownSelect=t(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=t(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=t(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=t(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=t(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=_("mutation",(()=>this.updateItems())),this.resizeObserver=_("resize",(i=>this.resizeObserverCallback(i))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${g()}`,this.defaultAssignedElements=[],this.slotChangeHandler=i=>{this.defaultAssignedElements=i.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?d(t,i):null},this.updateTriggers=i=>{this.triggers=i.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((i=>Array.from(i?.querySelectorAll("calcite-dropdown-item")))).reduce(((i,t)=>[...i,...t]),[]),this.updateSelectedItems(),this.reposition(!0)},this.updateGroups=i=>{const t=i.target.assignedElements({flatten:!0}).filter((i=>i?.matches("calcite-dropdown-group")));this.groups=t,this.updateItems()},this.resizeObserverCallback=i=>{i.forEach((i=>{const{target:t}=i;t===this.referenceEl?this.setDropdownWidth():t===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:i,scrollerEl:t}=this,e=i?.clientWidth;e&&t&&(t.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:i}=this;if(!i)return;this.reposition(!0);const t=this.getMaxScrollerHeight();i.style.maxHeight=t>0?`${t}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=i=>{this.resizeObserver.observe(i),this.scrollerEl=i,this.transitionEl=i,z(this)},this.setReferenceEl=i=>{this.referenceEl=i,h(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(i)},this.setFloatingEl=i=>{this.floatingEl=i,h(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=i=>{if(i.target!==this.referenceEl)return;const{defaultPrevented:t,key:e}=i;if(!t){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void i.preventDefault();if(i.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void i.preventDefault()}y(e)?(this.openCalciteDropdown(),i.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),i.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((i=>i.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=m,this.scale="m",this.selectedItems=[],this.type="click",this.width=void 0}openHandler(i){this.disabled?this.open=!1:i&&this.reposition(!0)}handleDisabledChange(i){i||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}async setFocus(){await k(this),this.el.focus()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&this.openHandler(this.open),w(this),z(this)}componentWillLoad(){x(this)}componentDidLoad(){D(this),this.reposition(!0)}componentDidRender(){v(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),b(this),p(this,this.referenceEl,this.floatingEl),I(this)}render(){const{open:i,guid:t}=this;return e(n,null,e("div",{class:"calcite-trigger-container",id:`${t}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},e("slot",{"aria-controls":`${t}-menu`,"aria-expanded":o(i),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),e("div",{"aria-hidden":o(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},e("div",{"aria-labelledby":`${t}-menubutton`,class:{"calcite-dropdown-content":!0,[f.animation]:!0,[f.animationActive]:i},id:`${t}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},e("slot",{onSlotchange:this.updateGroups}))))}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:n,overlayPositioning:a,filteredFlipPlacements:o}=this;return u(this,{floatingEl:t,referenceEl:e,overlayPositioning:a,placement:n,flipPlacements:o,type:"menu"},i)}closeCalciteDropdownOnClick(i){!this.disabled&&r(i)&&this.open&&!i.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(i){this.closeCalciteDropdown(),i.stopPropagation()}closeCalciteDropdownOnOpenEvent(i){i.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(i){const{keyboardEvent:t}=i.detail,e=t.target;switch(t.key){case"Tab":this.items.indexOf(e)!==this.items.length-1||t.shiftKey?0===this.items.indexOf(e)&&t.shiftKey&&this.closeCalciteDropdown():this.closeCalciteDropdown();break;case"ArrowDown":s(this.items,e,"next");break;case"ArrowUp":s(this.items,e,"previous");break;case"Home":s(this.items,e,"first");break;case"End":s(this.items,e,"last")}i.stopPropagation()}handleItemSelect(i){this.updateSelectedItems(),i.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==i.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),i.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((i=>i.selected))}getMaxScrollerHeight(){const{maxItems:i,items:t}=this;let e,n=0,a=0;return this.groups.forEach((t=>{i>0&&n<i&&Array.from(t.children).forEach(((t,o)=>{0===o&&(isNaN(e)&&(e=t.offsetTop),a+=e),n<i&&(a+=t.offsetHeight,n+=1)}))})),t.length>i?a:0}closeCalciteDropdown(i=!0){this.open=!1,i&&c(this.triggers[0])}getFocusableElement(i){if(!i)return;const t=i.attributes.isLink?i.shadowRoot.querySelector("a"):i;c(t)}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"]}}};E.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-flex;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";const C=class{constructor(e){i(this,e),this.calciteInternalDropdownItemChange=t(this,"calciteInternalDropdownItemChange",6),this.groupTitle=void 0,this.selectionMode="single",this.scale=void 0}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const i=this.scale||l(this.el,"scale","m"),t=this.groupTitle?e("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,a=this.groupPosition>0?e("div",{class:"dropdown-separator",role:"separator"}):null;return e(n,{"aria-label":this.groupTitle,role:"group"},e("div",{class:{container:!0,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i},title:this.groupTitle},a,t,e("slot",null)))}updateActiveItemOnChange(i){this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return a(this)}};C.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}";const H=class{constructor(e){i(this,e),this.calciteDropdownItemSelect=t(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=t(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=t(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=t(this,"calciteInternalDropdownCloseRequest",6),this.scale="m",this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0}async setFocus(){await k(this),this.el?.focus()}componentWillLoad(){x(this),this.initialize()}componentDidLoad(){D(this)}connectedCallback(){this.initialize()}render(){const i=l(this.el,"scale",this.scale),t=e("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===i?"m":"s"}),a=e("span",{class:"dropdown-item-content"},e("slot",null)),r=e("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"l"===i?"m":"s"}),s=this.iconStart&&this.iconEnd?[t,a,r]:this.iconStart?[t,a]:this.iconEnd?[a,r]:a,c=this.href?e("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,rel:this.rel,tabIndex:-1,target:this.target,ref:i=>this.childLink=i},s):s,d=this.href?null:"single"===this.selectionMode?"menuitemradio":"multiple"===this.selectionMode?"menuitemcheckbox":"menuitem",h="none"!==this.selectionMode?o(this.selected):null;return e(n,{"aria-checked":h,role:d,tabindex:"0"},e("div",{class:{container:!0,"container--link":!!this.href,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i,"container--multi-selection":"multiple"===this.selectionMode,"container--single-selection":"single"===this.selectionMode,"container--none-selection":"none"===this.selectionMode}},"none"!==this.selectionMode?e("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===this.selectionMode?"check":"bullet-point",scale:"l"===i?"m":"s"}):null,c))}onClick(){this.emitRequestedItem()}keyDownHandler(i){switch(i.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),i.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),i.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":i.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i})}}updateActiveItemOnChange(i){i.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.determineActiveItem()),i.stopPropagation()}initialize(){this.selectionMode=l(this.el,"selection-mode","single"),this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return a(this)}};H.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}";export{E as calcite_dropdown,C as calcite_dropdown_group,H as calcite_dropdown_item}
|
|
6
|
+
import{r as i,c as t,h as e,H as n,a}from"./p-6289fc32.js";import{t as o,i as r,j as s,f as c,v as l}from"./p-54b46df5.js";import{f as d,c as h,d as m,a as p,F as f,r as u}from"./p-a8214fa6.js";import{g}from"./p-c881bc50.js";import{c as w,u as v,d as b}from"./p-72e8da86.js";import{i as y}from"./p-6e7bd608.js";import{b as k,s as x,a as D}from"./p-d76af70b.js";import{c as _}from"./p-03c384e6.js";import{c as z,d as I}from"./p-930304d9.js";import"./p-5d41f169.js";import"./p-8b8ae9e7.js";const E=class{constructor(e){i(this,e),this.calciteDropdownSelect=t(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=t(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=t(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=t(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=t(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=_("mutation",(()=>this.updateItems())),this.resizeObserver=_("resize",(i=>this.resizeObserverCallback(i))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${g()}`,this.defaultAssignedElements=[],this.slotChangeHandler=i=>{this.defaultAssignedElements=i.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?d(t,i):null},this.updateTriggers=i=>{this.triggers=i.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((i=>Array.from(i?.querySelectorAll("calcite-dropdown-item")))).reduce(((i,t)=>[...i,...t]),[]),this.updateSelectedItems(),this.reposition(!0)},this.updateGroups=i=>{const t=i.target.assignedElements({flatten:!0}).filter((i=>i?.matches("calcite-dropdown-group")));this.groups=t,this.updateItems()},this.resizeObserverCallback=i=>{i.forEach((i=>{const{target:t}=i;t===this.referenceEl?this.setDropdownWidth():t===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:i,scrollerEl:t}=this,e=i?.clientWidth;e&&t&&(t.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:i}=this;if(!i)return;this.reposition(!0);const t=this.getMaxScrollerHeight();i.style.maxHeight=t>0?`${t}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=i=>{this.resizeObserver.observe(i),this.scrollerEl=i,this.transitionEl=i,z(this)},this.setReferenceEl=i=>{this.referenceEl=i,h(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(i)},this.setFloatingEl=i=>{this.floatingEl=i,h(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=i=>{if(i.target!==this.referenceEl)return;const{defaultPrevented:t,key:e}=i;if(!t){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void i.preventDefault();if(i.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void i.preventDefault()}y(e)?(this.openCalciteDropdown(),i.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),i.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((i=>i.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=m,this.scale="m",this.selectedItems=[],this.type="click",this.width=void 0}openHandler(i){this.disabled?this.open=!1:i&&this.reposition(!0)}handleDisabledChange(i){i||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}async setFocus(){await k(this),this.el.focus()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&this.openHandler(this.open),w(this),z(this)}componentWillLoad(){x(this)}componentDidLoad(){D(this),this.reposition(!0)}componentDidRender(){v(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),b(this),p(this,this.referenceEl,this.floatingEl),I(this)}render(){const{open:i,guid:t}=this;return e(n,null,e("div",{class:"calcite-trigger-container",id:`${t}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},e("slot",{"aria-controls":`${t}-menu`,"aria-expanded":o(i),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),e("div",{"aria-hidden":o(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},e("div",{"aria-labelledby":`${t}-menubutton`,class:{"calcite-dropdown-content":!0,[f.animation]:!0,[f.animationActive]:i},id:`${t}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},e("slot",{onSlotchange:this.updateGroups}))))}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:n,overlayPositioning:a,filteredFlipPlacements:o}=this;return u(this,{floatingEl:t,referenceEl:e,overlayPositioning:a,placement:n,flipPlacements:o,type:"menu"},i)}closeCalciteDropdownOnClick(i){!this.disabled&&r(i)&&this.open&&!i.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(i){this.closeCalciteDropdown(),i.stopPropagation()}closeCalciteDropdownOnOpenEvent(i){i.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(i){const{keyboardEvent:t}=i.detail,e=t.target;switch(t.key){case"Tab":this.items.indexOf(e)!==this.items.length-1||t.shiftKey?0===this.items.indexOf(e)&&t.shiftKey&&this.closeCalciteDropdown():this.closeCalciteDropdown();break;case"ArrowDown":s(this.items,e,"next");break;case"ArrowUp":s(this.items,e,"previous");break;case"Home":s(this.items,e,"first");break;case"End":s(this.items,e,"last")}i.stopPropagation()}handleItemSelect(i){this.updateSelectedItems(),i.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==i.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),i.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((i=>i.selected))}getMaxScrollerHeight(){const{maxItems:i,items:t}=this;let e,n=0,a=0;return this.groups.forEach((t=>{i>0&&n<i&&Array.from(t.children).forEach(((t,o)=>{0===o&&(isNaN(e)&&(e=t.offsetTop),a+=e),n<i&&(a+=t.offsetHeight,n+=1)}))})),t.length>i?a:0}closeCalciteDropdown(i=!0){this.open=!1,i&&c(this.triggers[0])}getFocusableElement(i){if(!i)return;const t=i.attributes.isLink?i.shadowRoot.querySelector("a"):i;c(t)}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"]}}};E.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-flex;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";const C=class{constructor(e){i(this,e),this.calciteInternalDropdownItemChange=t(this,"calciteInternalDropdownItemChange",6),this.groupTitle=void 0,this.selectionMode="single",this.scale=void 0}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const i=this.scale||l(this.el,"scale","m"),t=this.groupTitle?e("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,a=this.groupPosition>0?e("div",{class:"dropdown-separator",role:"separator"}):null;return e(n,{"aria-label":this.groupTitle,role:"group"},e("div",{class:{container:!0,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i},title:this.groupTitle},a,t,e("slot",null)))}updateActiveItemOnChange(i){this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return a(this)}};C.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}";const H=class{constructor(e){i(this,e),this.calciteDropdownItemSelect=t(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=t(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=t(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=t(this,"calciteInternalDropdownCloseRequest",6),this.scale="m",this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0}async setFocus(){await k(this),this.el?.focus()}componentWillLoad(){x(this),this.initialize()}componentDidLoad(){D(this)}connectedCallback(){this.initialize()}render(){const i=l(this.el,"scale",this.scale),t=e("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===i?"m":"s"}),a=e("span",{class:"dropdown-item-content"},e("slot",null)),r=e("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"l"===i?"m":"s"}),s=this.iconStart&&this.iconEnd?[t,a,r]:this.iconStart?[t,a]:this.iconEnd?[a,r]:a,c=this.href?e("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,rel:this.rel,tabIndex:-1,target:this.target,ref:i=>this.childLink=i},s):s,d=this.href?null:"single"===this.selectionMode?"menuitemradio":"multiple"===this.selectionMode?"menuitemcheckbox":"menuitem",h="none"!==this.selectionMode?o(this.selected):null;return e(n,{"aria-checked":h,role:d,tabindex:"0"},e("div",{class:{container:!0,"container--link":!!this.href,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i,"container--multi-selection":"multiple"===this.selectionMode,"container--single-selection":"single"===this.selectionMode,"container--none-selection":"none"===this.selectionMode}},"none"!==this.selectionMode?e("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===this.selectionMode?"check":"bullet-point",scale:"l"===i?"m":"s"}):null,c))}onClick(){this.emitRequestedItem()}keyDownHandler(i){switch(i.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),i.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),i.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":i.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i})}}updateActiveItemOnChange(i){i.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.determineActiveItem()),i.stopPropagation()}initialize(){this.selectionMode=l(this.el,"selection-mode","single"),this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return a(this)}};H.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}";export{E as calcite_dropdown,C as calcite_dropdown_group,H as calcite_dropdown_item}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v1.5.0-next.13
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as a,h as i,H as e,a as o}from"./p-6289fc32.js";import{c as n,d as s}from"./p-e75e50d9.js";import{s as r,g as c}from"./p-54b46df5.js";import{a as l,s as d,b as h}from"./p-d76af70b.js";import{c as p,d as m}from"./p-4a9a2b4d.js";import{c as f}from"./p-03c384e6.js";import{u,c as g,s as x,d as b}from"./p-468d3381.js";import{t as y,o as v,q as w,g as D,a as j,E as _,b as z}from"./p-dee0a369.js";import{d as k}from"./p-8b8ae9e7.js";import"./p-c881bc50.js";import"./p-5d41f169.js";import"./p-6e7bd608.js";import"./p-92f585ef.js";import"./p-fdf38f2b.js";const C="bottom-actions",H="expand-tooltip",A=class{constructor(i){t(this,i),this.calciteActionBarToggle=a(this,"calciteActionBarToggle",6),this.mutationObserver=f("mutation",(()=>{const{el:t,expanded:a}=this;y({el:t,expanded:a}),this.overflowActions()})),this.resizeObserver=f("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const a=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{a.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:a,height:i}=t.contentRect;this.resize({width:a,height:i})},this.resize=k((({width:t,height:a})=>{const{el:i,expanded:e,expandDisabled:o,layout:n,overflowActionsDisabled:s}=this;if(s||"vertical"===n&&!a||"horizontal"===n&&!t)return;const r=w(i),l=o?r.length:r.length+1,d=Array.from(i.querySelectorAll("calcite-action-group"));this.setGroupLayout(d);const h=c(i,C)||!o?d.length+1:d.length,{actionHeight:p,actionWidth:m}=D(r),f=z({layout:n,actionCount:l,actionHeight:p,actionWidth:m,height:a,width:t,groupCount:h});j({actionGroups:d,expanded:e,overflowCount:f})}),v),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const a=r(t).filter((t=>t?.matches("calcite-action-group")));this.setGroupLayout(a)},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}expandHandler(){this.overflowActions()}expandedHandler(){const{el:t,expanded:a}=this;y({el:t,expanded:a}),this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}componentDidLoad(){const{el:t,expanded:a}=this;l(this),y({el:t,expanded:a}),this.overflowActions()}connectedCallback(){const{el:t,expanded:a}=this;p(this),g(this),y({el:t,expanded:a}),this.mutationObserver?.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled||this.resizeObserver?.observe(t),this.overflowActions(),n(this)}async componentWillLoad(){d(this),await x(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),s(this),m(this),b(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await h(this),this.el?.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:a,el:e,position:o,toggleExpand:n,scale:s,layout:r,messages:l}=this,d=c(e,H),h=a?null:i(_,{el:e,expanded:t,intlCollapse:l.collapse,intlExpand:l.expand,position:o,scale:s,toggle:n,tooltip:d,ref:this.setExpandToggleRef});return c(e,C)||h?i("calcite-action-group",{class:"action-group--bottom",layout:r,scale:s},i("slot",{name:C}),i("slot",{name:H}),h):null}render(){return i(e,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],layout:["layoutHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{pointer-events:auto;display:inline-flex;align-self:stretch;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=horizontal]){flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type){border-inline-end:0}::slotted(calcite-action-group:last-child){border-block-end:0;border-inline-end:0}.action-group--bottom{flex-grow:1;justify-content:flex-end}";export{A as calcite_action_bar}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.13
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as
|
|
6
|
+
import{r as t,c as i,h as e,F as a,a as n}from"./p-6289fc32.js";import{g as o}from"./p-f42b9535.js";import{t as s,i as c,f as r}from"./p-54b46df5.js";import{g as l}from"./p-c881bc50.js";import{i as h}from"./p-6e7bd608.js";import{s as m,a as d,b as p}from"./p-d76af70b.js";import{C as u,I as f,S as v}from"./p-fdf38f2b.js";import"./p-5d41f169.js";const x=["ArrowUp","ArrowDown","End","Home"],g=class{constructor(e){t(this,e),this.calciteActionMenuOpen=i(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${l()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:e,label:a}=this,n=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==n&&(this.disconnectMenuButtonEl(),this.menuButtonEl=n,this.setTooltipReferenceElement(),n&&(n.active=e,n.setAttribute("aria-controls",i),n.setAttribute("aria-expanded",s(e)),n.setAttribute("aria-haspopup","true"),n.id||(n.id=t),n.label||(n.label=a),n.text||(n.text=a),n.addEventListener("pointerdown",this.menuButtonClick),n.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=t=>{c(t)&&this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e,open:a}=this;t&&(t.referenceElement=i||a?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:a}=this,n=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=n),t.active=i===a},this.updateActions=t=>{t?.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:a,open:n}=this;if(e.length){if(h(i)){if(t.preventDefault(),!n)return void this.toggleOpen();const i=e[a];i?i.click():this.toggleOpen(!1)}if("Tab"!==i)return"Escape"===i?(this.toggleOpen(!1),void t.preventDefault()):void this.handleActionNavigation(t,i,e);this.open=!1}},this.handleActionNavigation=(t,i,e)=>{if(!this.isValidKey(i,x))return;if(t.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==i&&"ArrowDown"!==i||(this.activeMenuItemIndex=0),void("End"!==i&&"ArrowUp"!==i||(this.activeMenuItemIndex=e.length-1));"Home"===i&&(this.activeMenuItemIndex=0),"End"===i&&(this.activeMenuItemIndex=e.length-1);const a=this.activeMenuItemIndex;"ArrowUp"===i&&(this.activeMenuItemIndex=o(Math.max(a-1,-1),e.length)),"ArrowDown"===i&&(this.activeMenuItemIndex=o(a+1,e.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t},this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}componentWillLoad(){m(this)}componentDidLoad(){d(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){c(t)&&(t.composedPath().includes(this.el)||(this.open=!1))}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){await p(this),r(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:i,expanded:a}=this;return e("slot",{name:v.trigger,onSlotchange:this.setMenuButtonEl},e("calcite-action",{class:u.defaultTrigger,icon:f.menu,scale:i,text:t,textEnabled:a,ref:this.setDefaultMenuButtonEl}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:i,open:a,menuId:n,menuButtonEl:o,label:s,placement:c,overlayPositioning:r,flipPlacements:l}=this;return e("calcite-popover",{flipPlacements:l,focusTrapDisabled:!0,label:s,offsetDistance:0,open:a,overlayPositioning:r,placement:c,pointerDisabled:!0,referenceElement:o},e("div",{"aria-activedescendant":t[i]?.id||null,"aria-labelledby":o?.id,class:u.menu,id:n,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},e("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return e(a,null,this.renderMenuButton(),this.renderMenuItems(),e("slot",{name:v.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};g.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{box-sizing:border-box;display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:0px}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";export{g as calcite_action_menu}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.13
|
|
5
5
|
*/
|
|
6
|
-
import{d as r}from"./p-
|
|
6
|
+
import{d as r}from"./p-d4811314.js";import"./p-6289fc32.js";import"./p-84164bd1.js";import"./p-54b46df5.js";import"./p-c881bc50.js";import"./p-5d41f169.js";import"./p-72e8da86.js";import"./p-6e7bd608.js";import"./p-4f2ed70d.js";import"./p-d76af70b.js";import"./p-4a9a2b4d.js";import"./p-03c384e6.js";import"./p-68132639.js";import"./p-468d3381.js";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),p={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},m={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(r){return r.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(r){return _[r]})).replace(/،/g,",")},postformat:function(r){return r.replace(/\d/g,(function(r){return p[r]})).replace(/,/g,"،")},ordinal:function(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};r.locale(m,null,!0);export default m;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.13
|
|
5
5
|
*/
|
|
6
|
-
import{f as t,h as o}from"./p-
|
|
6
|
+
import{f as t,h as o}from"./p-6289fc32.js";import{b as e}from"./p-54b46df5.js";import{S as n}from"./p-92f585ef.js";import{S as a}from"./p-fdf38f2b.js";const i=150,c=t=>t.reduce(((t,o)=>t+o),0)/t.length,l=t=>{const o=t?.length;return{actionWidth:o?c(t.map((t=>t.clientWidth||0))):0,actionHeight:o?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(o-(({width:t,actionWidth:o,layout:e,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===e?t:n)-2*i)/("horizontal"===e?o:a)))({width:n,actionWidth:e,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===a.trigger)),p=({actionGroups:o,expanded:e,overflowCount:a})=>{let i=a;o.reverse().forEach((o=>{let a=0;const c=s(o).reverse();c.forEach((t=>{t.slot===n.menuActions&&(t.removeAttribute("slot"),t.textEnabled=e)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",n.menuActions),a++,a>1&&i--),i<1))),t(o)}))};function h({el:t,expanded:o}){s(t).filter((t=>t.slot!==n.menuActions)).forEach((t=>t.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const d=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===e(c),d=t?a:n,f=["chevrons-left","chevrons-right"];h&&f.reverse();const u="end"===function(t,o){return t||o.closest("calcite-shell-panel")?.position||"start"}(l,c),g=o("calcite-action",{icon:t?u?f[1]:f[0]:u?f[0]:f[1],onClick:i,scale:p,text:d,textEnabled:t,ref:o=>(({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o))({tooltip:r,referenceElement:o,expanded:t,ref:s})});return g};export{d as E,p as a,r as b,l as g,i as o,s as q,h as t}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.13
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,h as n,H as a}from"./p-
|
|
6
|
+
import{r as t,h as n,H as a}from"./p-6289fc32.js";import{d as i}from"./p-54b46df5.js";import{S as e,C as c}from"./p-ab51f7e9.js";import"./p-c881bc50.js";import"./p-5d41f169.js";const o=class{constructor(n){t(this,n),this.handleActionsStartSlotChange=t=>{this.hasActionsStart=i(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=i(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=i(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=i(t)},this.disabled=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasContentStart=!1,this.hasContentEnd=!1}renderActionsStart(){const{hasActionsStart:t}=this;return n("div",{class:c.actionsStart,hidden:!t,key:"actions-start-container"},n("slot",{name:e.actionsStart,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{hasActionsEnd:t}=this;return n("div",{class:c.actionsEnd,hidden:!t,key:"actions-end-container"},n("slot",{name:e.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}))}renderContentStart(){const{hasContentStart:t}=this;return n("div",{class:c.contentStart,hidden:!t},n("slot",{name:e.contentStart,onSlotchange:this.handleContentStartSlotChange}))}renderDefaultContent(){return n("div",{class:c.content},n("slot",null))}renderContentEnd(){const{hasContentEnd:t}=this;return n("div",{class:c.contentEnd,hidden:!t},n("slot",{name:e.contentEnd,onSlotchange:this.handleContentEndSlotChange}))}render(){return n(a,null,n("div",{class:c.container},this.renderActionsStart(),this.renderContentStart(),this.renderDefaultContent(),this.renderContentEnd(),this.renderActionsEnd()))}};o.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]) .content{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, 0.75rem);padding-block:var(--calcite-stack-padding-block, 0.5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}[hidden]{display:none}";export{o as calcite_stack}
|