@esri/calcite-components 2.1.0-next.6 → 2.1.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-002f8573.entry.js +7 -0
- package/dist/calcite/p-03565442.js +7 -0
- package/dist/calcite/p-045fbf85.entry.js +7 -0
- package/dist/calcite/p-06a8aac1.js +7 -0
- package/dist/calcite/p-07a609a8.js +7 -0
- package/dist/calcite/p-07c5ba66.entry.js +7 -0
- package/dist/calcite/p-0b842347.js +7 -0
- package/dist/calcite/p-0e57393f.js +7 -0
- package/dist/calcite/p-120b8b51.entry.js +7 -0
- package/dist/calcite/p-131f12c6.js +7 -0
- package/dist/calcite/p-15f3e5c5.entry.js +7 -0
- package/dist/calcite/p-17a22826.entry.js +7 -0
- package/dist/calcite/p-1b16a2ad.js +7 -0
- package/dist/calcite/p-1c3ba82f.js +7 -0
- package/dist/calcite/p-1d104c32.entry.js +7 -0
- package/dist/calcite/p-1ef2b999.js +7 -0
- package/dist/calcite/p-1fc0aa37.js +12 -0
- package/dist/calcite/p-233d2740.js +7 -0
- package/dist/calcite/p-23a63e0b.entry.js +7 -0
- package/dist/calcite/p-23c52e87.js +7 -0
- package/dist/calcite/p-248457bc.entry.js +7 -0
- package/dist/calcite/p-24988f69.js +7 -0
- package/dist/calcite/p-2717fde7.js +7 -0
- package/dist/calcite/p-2726a75c.js +7 -0
- package/dist/calcite/p-2c3ace01.js +7 -0
- package/dist/calcite/p-2d34eea1.entry.js +7 -0
- package/dist/calcite/p-2e4752f5.entry.js +7 -0
- package/dist/calcite/p-30059ec4.entry.js +7 -0
- package/dist/calcite/p-314c0811.entry.js +7 -0
- package/dist/calcite/p-32dff08d.js +7 -0
- package/dist/calcite/p-3333cb69.js +7 -0
- package/dist/calcite/p-33d9589c.entry.js +7 -0
- package/dist/calcite/p-3502c71e.entry.js +7 -0
- package/dist/calcite/p-35b28c33.js +7 -0
- package/dist/calcite/p-35b5133a.js +7 -0
- package/dist/calcite/p-368971a8.entry.js +7 -0
- package/dist/calcite/p-384ed57e.js +7 -0
- package/dist/calcite/p-396cf7b9.js +7 -0
- package/dist/calcite/p-39a44c05.js +7 -0
- package/dist/calcite/p-39b2b525.js +7 -0
- package/dist/calcite/p-3a370acc.entry.js +7 -0
- package/dist/calcite/p-3b191183.entry.js +7 -0
- package/dist/calcite/p-3beb60a2.js +7 -0
- package/dist/calcite/p-3c0ed68e.js +7 -0
- package/dist/calcite/p-3dcaacfe.entry.js +7 -0
- package/dist/calcite/p-3f6fb3c6.entry.js +7 -0
- package/dist/calcite/p-45875887.js +7 -0
- package/dist/calcite/p-46fec1c0.js +7 -0
- package/dist/calcite/p-4a27a5e0.js +7 -0
- package/dist/calcite/p-4f9d16ac.js +7 -0
- package/dist/calcite/p-509dc442.js +7 -0
- package/dist/calcite/p-50be0283.entry.js +7 -0
- package/dist/calcite/p-52d1ce74.js +7 -0
- package/dist/calcite/p-5328ecbe.js +7 -0
- package/dist/calcite/p-5554b144.js +7 -0
- package/dist/calcite/p-56e4067f.js +7 -0
- package/dist/calcite/p-5882e7d6.entry.js +7 -0
- package/dist/calcite/p-58e993e3.js +7 -0
- package/dist/calcite/p-591fe40a.entry.js +7 -0
- package/dist/calcite/p-5bc9857a.js +7 -0
- package/dist/calcite/p-5bd46af1.js +7 -0
- package/dist/calcite/p-5be0a4a7.js +11 -0
- package/dist/calcite/p-5d9e2353.entry.js +7 -0
- package/dist/calcite/p-5eb66736.js +7 -0
- package/dist/calcite/p-5fde8f5e.js +7 -0
- package/dist/calcite/p-63c6a6b9.entry.js +7 -0
- package/dist/calcite/p-66681f87.js +7 -0
- package/dist/calcite/p-67501ae9.js +7 -0
- package/dist/calcite/p-68d5d979.entry.js +7 -0
- package/dist/calcite/p-6bb7f3c4.js +7 -0
- package/dist/calcite/p-6db4b794.entry.js +7 -0
- package/dist/calcite/p-70603fb2.js +7 -0
- package/dist/calcite/p-757da80e.entry.js +7 -0
- package/dist/calcite/p-757da80e.entry.js.map +1 -0
- package/dist/calcite/p-75df9bd9.entry.js +7 -0
- package/dist/calcite/p-7c077a62.entry.js +7 -0
- package/dist/calcite/p-7cc5e113.entry.js +7 -0
- package/dist/calcite/p-7d1ba59b.js +7 -0
- package/dist/calcite/p-7db0ed82.entry.js +7 -0
- package/dist/calcite/p-7df55640.js +7 -0
- package/dist/calcite/p-82f21b03.js +7 -0
- package/dist/calcite/p-83055880.entry.js +7 -0
- package/dist/calcite/p-866438b0.entry.js +7 -0
- package/dist/calcite/p-88461d3c.js +7 -0
- package/dist/calcite/p-8b0ed781.js +7 -0
- package/dist/calcite/p-8b2df8aa.entry.js +7 -0
- package/dist/calcite/p-8dbf4ed8.entry.js +7 -0
- package/dist/calcite/p-8dbf4ed8.entry.js.map +1 -0
- package/dist/calcite/p-9009c0a1.js +7 -0
- package/dist/calcite/p-91c9f683.js +7 -0
- package/dist/calcite/p-91ec6542.entry.js +7 -0
- package/dist/calcite/p-94d1e684.js +7 -0
- package/dist/calcite/p-95876f84.entry.js +7 -0
- package/dist/calcite/p-95ffad55.entry.js +7 -0
- package/dist/calcite/p-9621ebf7.js +8 -0
- package/dist/calcite/p-974209b6.entry.js +7 -0
- package/dist/calcite/p-9b557aba.entry.js +7 -0
- package/dist/calcite/p-9bb4de9b.entry.js +7 -0
- package/dist/calcite/p-9bb4de9b.entry.js.map +1 -0
- package/dist/calcite/p-9c7f7d1a.entry.js +7 -0
- package/dist/calcite/p-9cbb98ff.js +7 -0
- package/dist/calcite/p-a11279ab.js +7 -0
- package/dist/calcite/p-a12dfe9b.js +7 -0
- package/dist/calcite/p-a18346a6.js +7 -0
- package/dist/calcite/p-a257d291.entry.js +7 -0
- package/dist/calcite/p-a44373b6.js +7 -0
- package/dist/calcite/p-a5ae1cbe.js +7 -0
- package/dist/calcite/p-a5bdaff6.js +7 -0
- package/dist/calcite/p-a6e34d32.js +7 -0
- package/dist/calcite/p-a967e594.entry.js +7 -0
- package/dist/calcite/p-a98a05f3.js +7 -0
- package/dist/calcite/p-aa70bd73.js +7 -0
- package/dist/calcite/p-ac6a0ca6.js +7 -0
- package/dist/calcite/p-af084c23.entry.js +7 -0
- package/dist/calcite/p-af084c23.entry.js.map +1 -0
- package/dist/calcite/p-b3cede81.entry.js +7 -0
- package/dist/calcite/p-b3cede81.entry.js.map +1 -0
- package/dist/calcite/p-b4918bf9.js +7 -0
- package/dist/calcite/p-b4bf01aa.entry.js +7 -0
- package/dist/calcite/p-bad8b453.js +7 -0
- package/dist/calcite/p-bc4f28d1.entry.js +7 -0
- package/dist/calcite/p-bd159809.js +7 -0
- package/dist/calcite/p-bf7ab8a0.entry.js +7 -0
- package/dist/calcite/p-c068329f.entry.js +7 -0
- package/dist/calcite/p-c201b87f.js +7 -0
- package/dist/calcite/p-c4e5503b.entry.js +7 -0
- package/dist/calcite/p-c5269d0a.js +7 -0
- package/dist/calcite/p-c68edd8e.entry.js +7 -0
- package/dist/calcite/p-c9869e5b.js +7 -0
- package/dist/calcite/p-cae5eaed.entry.js +7 -0
- package/dist/calcite/p-cbea860a.entry.js +7 -0
- package/dist/calcite/p-cc5b2e58.js +7 -0
- package/dist/calcite/p-ced451de.entry.js +7 -0
- package/dist/calcite/p-cf4fd512.entry.js +7 -0
- package/dist/calcite/p-d035fbd6.js +7 -0
- package/dist/calcite/p-d39daf5b.js +7 -0
- package/dist/calcite/p-d655f9ba.js +7 -0
- package/dist/calcite/p-dab03331.entry.js +7 -0
- package/dist/calcite/p-dab03331.entry.js.map +1 -0
- package/dist/calcite/p-db3493cb.entry.js +7 -0
- package/dist/calcite/p-dbd096e2.js +7 -0
- package/dist/calcite/p-dca4568f.js +7 -0
- package/dist/calcite/p-e02f897f.entry.js +7 -0
- package/dist/calcite/p-e4b31493.entry.js +7 -0
- package/dist/calcite/p-e4b31493.entry.js.map +1 -0
- package/dist/calcite/p-e62df9ef.entry.js +7 -0
- package/dist/calcite/p-e62ef169.entry.js +7 -0
- package/dist/calcite/p-e62ef169.entry.js.map +1 -0
- package/dist/calcite/p-e64691a3.entry.js +7 -0
- package/dist/calcite/p-e788e3a4.js +7 -0
- package/dist/calcite/p-e94faf39.entry.js +7 -0
- package/dist/calcite/p-ebd3d6fe.js +7 -0
- package/dist/calcite/p-eccbaace.entry.js +7 -0
- package/dist/calcite/p-f07212b8.js +7 -0
- package/dist/calcite/p-f1dc5b7f.js +7 -0
- package/dist/calcite/p-f21908c0.js +7 -0
- package/dist/calcite/p-f29b8ca6.js +7 -0
- package/dist/calcite/p-f320f004.entry.js +7 -0
- package/dist/calcite/p-f37394ae.js +13 -0
- package/dist/calcite/p-f452786c.entry.js +7 -0
- package/dist/calcite/p-f4e78a16.js +7 -0
- package/dist/calcite/p-f6e84612.js +7 -0
- package/dist/calcite/p-f96ab98e.entry.js +7 -0
- package/dist/calcite/p-fa2ec5cc.entry.js +7 -0
- package/dist/calcite/p-fa2ec5cc.entry.js.map +1 -0
- package/dist/calcite/p-fce676a1.entry.js +7 -0
- package/dist/calcite/p-fd3d6c96.js +7 -0
- package/dist/calcite/p-ff0b6383.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-74ebb97f.js +110 -0
- package/dist/cjs/ExpandToggle-74ebb97f.js.map +1 -0
- package/dist/cjs/FloatingArrow-e0b1ab31.js +49 -0
- package/dist/cjs/FloatingArrow-e0b1ab31.js.map +1 -0
- package/dist/cjs/Heading-999fe38e.js +22 -0
- package/dist/cjs/Heading-999fe38e.js.map +1 -0
- package/dist/cjs/app-globals-7b3e9351.js +61 -0
- package/dist/cjs/app-globals-7b3e9351.js.map +1 -0
- package/dist/cjs/ar-9c47e0a9.js +105 -0
- package/dist/cjs/ar-9c47e0a9.js.map +1 -0
- package/dist/cjs/array-2c2b7ce0.js +14 -0
- package/dist/cjs/array-2c2b7ce0.js.map +1 -0
- package/dist/cjs/bg-df2ebf10.js +83 -0
- package/dist/cjs/bg-df2ebf10.js.map +1 -0
- package/dist/cjs/browser-af7c9415.js +20 -0
- package/dist/cjs/browser-af7c9415.js.map +1 -0
- package/dist/cjs/bs-10377119.js +52 -0
- package/dist/cjs/bs-10377119.js.map +1 -0
- package/dist/cjs/ca-62c5f3da.js +72 -0
- package/dist/cjs/ca-62c5f3da.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-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 +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +26 -23
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-text.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6640bdf5.js +2917 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6640bdf5.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +15 -15
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +25 -18
- package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +17 -17
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-7c226a46.js +30 -0
- package/dist/cjs/component-7c226a46.js.map +1 -0
- package/dist/cjs/conditionalSlot-9222f921.js +60 -0
- package/dist/cjs/conditionalSlot-9222f921.js.map +1 -0
- package/dist/cjs/cs-e785b368.js +148 -0
- package/dist/cjs/cs-e785b368.js.map +1 -0
- package/dist/cjs/da-5af06940.js +67 -0
- package/dist/cjs/da-5af06940.js.map +1 -0
- package/dist/cjs/de-5123e6ee.js +92 -0
- package/dist/cjs/de-5123e6ee.js.map +1 -0
- package/dist/cjs/de-at-c81270c8.js +91 -0
- package/dist/cjs/de-at-c81270c8.js.map +1 -0
- package/dist/cjs/de-ch-28161c0d.js +91 -0
- package/dist/cjs/de-ch-28161c0d.js.map +1 -0
- package/dist/cjs/debounce-b512c5a0.js +498 -0
- package/dist/cjs/debounce-b512c5a0.js.map +1 -0
- package/dist/cjs/dom-0dc45fe8.js +1084 -0
- package/dist/cjs/dom-0dc45fe8.js.map +1 -0
- package/dist/cjs/el-e78c69bb.js +67 -0
- package/dist/cjs/el-e78c69bb.js.map +1 -0
- package/dist/cjs/en-au-660d421f.js +67 -0
- package/dist/cjs/en-au-660d421f.js.map +1 -0
- package/dist/cjs/en-ca-aed269d3.js +66 -0
- package/dist/cjs/en-ca-aed269d3.js.map +1 -0
- package/dist/cjs/en-gb-20f52a52.js +70 -0
- package/dist/cjs/en-gb-20f52a52.js.map +1 -0
- package/dist/cjs/es-58fc3201.js +67 -0
- package/dist/cjs/es-58fc3201.js.map +1 -0
- package/dist/cjs/es-mx-abbf9f5c.js +66 -0
- package/dist/cjs/es-mx-abbf9f5c.js.map +1 -0
- package/dist/cjs/et-43b1e343.js +93 -0
- package/dist/cjs/et-43b1e343.js.map +1 -0
- package/dist/cjs/fi-1c5b61a5.js +116 -0
- package/dist/cjs/fi-1c5b61a5.js.map +1 -0
- package/dist/cjs/filter-aefcad47.js +762 -0
- package/dist/cjs/filter-aefcad47.js.map +1 -0
- package/dist/cjs/floating-ui-1e39f387.js +1915 -0
- package/dist/cjs/floating-ui-1e39f387.js.map +1 -0
- package/dist/cjs/focusTrapComponent-c8d88af8.js +1020 -0
- package/dist/cjs/focusTrapComponent-c8d88af8.js.map +1 -0
- package/dist/cjs/form-ae9561bd.js +257 -0
- package/dist/cjs/form-ae9561bd.js.map +1 -0
- package/dist/cjs/fr-a52b68de.js +69 -0
- package/dist/cjs/fr-a52b68de.js.map +1 -0
- package/dist/cjs/fr-ch-c46dfd1c.js +67 -0
- package/dist/cjs/fr-ch-c46dfd1c.js.map +1 -0
- package/dist/cjs/guid-05acf391.js +23 -0
- package/dist/cjs/guid-05acf391.js.map +1 -0
- package/dist/cjs/he-e10d06ca.js +106 -0
- package/dist/cjs/he-e10d06ca.js.map +1 -0
- package/dist/cjs/hi-f1c1c772.js +66 -0
- package/dist/cjs/hi-f1c1c772.js.map +1 -0
- package/dist/cjs/hr-26e20174.js +81 -0
- package/dist/cjs/hr-26e20174.js.map +1 -0
- package/dist/cjs/hu-d6013900.js +89 -0
- package/dist/cjs/hu-d6013900.js.map +1 -0
- package/dist/cjs/id-8b4e0b59.js +67 -0
- package/dist/cjs/id-8b4e0b59.js.map +1 -0
- package/dist/cjs/index-4e8217ff.js +75 -0
- package/dist/cjs/index-4e8217ff.js.map +1 -0
- package/dist/cjs/index-9f0ee254.js +208 -0
- package/dist/cjs/index-9f0ee254.js.map +1 -0
- package/dist/cjs/index-a3bf1a44.js +2644 -0
- package/dist/cjs/index-a3bf1a44.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-35118fbf.js +144 -0
- package/dist/cjs/interactive-35118fbf.js.map +1 -0
- package/dist/cjs/it-ch-5130e13b.js +67 -0
- package/dist/cjs/it-ch-5130e13b.js.map +1 -0
- package/dist/cjs/it-d82f425d.js +67 -0
- package/dist/cjs/it-d82f425d.js.map +1 -0
- package/dist/cjs/ja-58e85bd0.js +73 -0
- package/dist/cjs/ja-58e85bd0.js.map +1 -0
- package/dist/cjs/key-b2cde9fc.js +16 -0
- package/dist/cjs/key-b2cde9fc.js.map +1 -0
- package/dist/cjs/ko-cfdc5683.js +73 -0
- package/dist/cjs/ko-cfdc5683.js.map +1 -0
- package/dist/cjs/label-f8a3a35c.js +183 -0
- package/dist/cjs/label-f8a3a35c.js.map +1 -0
- package/dist/cjs/loadable-5e998ed7.js +91 -0
- package/dist/cjs/loadable-5e998ed7.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-8012fb96.js +575 -0
- package/dist/cjs/locale-8012fb96.js.map +1 -0
- package/dist/cjs/lt-e5422d73.js +98 -0
- package/dist/cjs/lt-e5422d73.js.map +1 -0
- package/dist/cjs/lv-938ccf3d.js +67 -0
- package/dist/cjs/lv-938ccf3d.js.map +1 -0
- package/dist/cjs/math-5d971bfd.js +57 -0
- package/dist/cjs/math-5d971bfd.js.map +1 -0
- package/dist/cjs/mk-b12abe84.js +67 -0
- package/dist/cjs/mk-b12abe84.js.map +1 -0
- package/dist/cjs/nb-74870ee3.js +68 -0
- package/dist/cjs/nb-74870ee3.js.map +1 -0
- package/dist/cjs/nl-183c16e6.js +68 -0
- package/dist/cjs/nl-183c16e6.js.map +1 -0
- package/dist/cjs/observers-29e4ba31.js +50 -0
- package/dist/cjs/observers-29e4ba31.js.map +1 -0
- package/dist/cjs/openCloseComponent-476e78fc.js +89 -0
- package/dist/cjs/openCloseComponent-476e78fc.js.map +1 -0
- package/dist/cjs/pl-a1eaffd8.js +115 -0
- package/dist/cjs/pl-a1eaffd8.js.map +1 -0
- package/dist/cjs/pt-573cd737.js +68 -0
- package/dist/cjs/pt-573cd737.js.map +1 -0
- package/dist/cjs/pt-br-ce2e599e.js +66 -0
- package/dist/cjs/pt-br-ce2e599e.js.map +1 -0
- package/dist/cjs/resources-2869a92d.js +412 -0
- package/dist/cjs/resources-2869a92d.js.map +1 -0
- package/dist/cjs/resources-4911421e.js +26 -0
- package/dist/cjs/resources-4911421e.js.map +1 -0
- package/dist/cjs/resources-533f953c.js +17 -0
- package/dist/cjs/resources-533f953c.js.map +1 -0
- package/dist/cjs/resources-5d413060.js +49 -0
- package/dist/cjs/resources-5d413060.js.map +1 -0
- package/dist/cjs/resources-92727396.js +26 -0
- package/dist/cjs/resources-92727396.js.map +1 -0
- package/dist/cjs/resources-ccb15270.js +29 -0
- package/dist/cjs/resources-ccb15270.js.map +1 -0
- package/dist/cjs/resources-d5e949ad.js +23 -0
- package/dist/cjs/resources-d5e949ad.js.map +1 -0
- package/dist/cjs/ro-83ad80e6.js +67 -0
- package/dist/cjs/ro-83ad80e6.js.map +1 -0
- package/dist/cjs/ru-5bd09e32.js +127 -0
- package/dist/cjs/ru-5bd09e32.js.map +1 -0
- package/dist/cjs/sk-4a6f040a.js +149 -0
- package/dist/cjs/sk-4a6f040a.js.map +1 -0
- package/dist/cjs/sl-737eaff5.js +169 -0
- package/dist/cjs/sl-737eaff5.js.map +1 -0
- package/dist/cjs/sortableComponent-37d7940b.js +2739 -0
- package/dist/cjs/sortableComponent-37d7940b.js.map +1 -0
- package/dist/cjs/sr-e37eaea6.js +102 -0
- package/dist/cjs/sr-e37eaea6.js.map +1 -0
- package/dist/cjs/sv-9f1543c7.js +72 -0
- package/dist/cjs/sv-9f1543c7.js.map +1 -0
- package/dist/cjs/t9n-4385ab92.js +97 -0
- package/dist/cjs/t9n-4385ab92.js.map +1 -0
- package/dist/cjs/th-2e5aea1b.js +66 -0
- package/dist/cjs/th-2e5aea1b.js.map +1 -0
- package/dist/cjs/throttle-7394f3d9.js +77 -0
- package/dist/cjs/throttle-7394f3d9.js.map +1 -0
- package/dist/cjs/tr-88d73fd6.js +67 -0
- package/dist/cjs/tr-88d73fd6.js.map +1 -0
- package/dist/cjs/uk-2bde0e22.js +105 -0
- package/dist/cjs/uk-2bde0e22.js.map +1 -0
- package/dist/cjs/utils-2ec2f0ed.js +307 -0
- package/dist/cjs/utils-2ec2f0ed.js.map +1 -0
- package/dist/cjs/utils-d7c26806.js +218 -0
- package/dist/cjs/utils-d7c26806.js.map +1 -0
- package/dist/cjs/vi-f24aacd6.js +71 -0
- package/dist/cjs/vi-f24aacd6.js.map +1 -0
- package/dist/cjs/zh-cn-b09b07b8.js +95 -0
- package/dist/cjs/zh-cn-b09b07b8.js.map +1 -0
- package/dist/cjs/zh-hk-f7e3fa75.js +72 -0
- package/dist/cjs/zh-hk-f7e3fa75.js.map +1 -0
- package/dist/cjs/zh-tw-7d9992d5.js +93 -0
- package/dist/cjs/zh-tw-7d9992d5.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.e2e.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +16 -12
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -27
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +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-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +20 -12
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +14 -11
- package/dist/components/button.js.map +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-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 +2 -2
- package/dist/components/calcite-dropdown-item.js.map +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-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +2 -2
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-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/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +18 -11
- package/dist/components/menu.js.map +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-6d405e84.js +102 -0
- package/dist/esm/ExpandToggle-6d405e84.js.map +1 -0
- package/dist/esm/FloatingArrow-048c63a5.js +47 -0
- package/dist/esm/FloatingArrow-048c63a5.js.map +1 -0
- package/dist/esm/Heading-5f5eb588.js +19 -0
- package/dist/esm/Heading-5f5eb588.js.map +1 -0
- package/dist/esm/app-globals-18ff9a98.js +59 -0
- package/dist/esm/app-globals-18ff9a98.js.map +1 -0
- package/dist/esm/ar-0dbdc90f.js +103 -0
- package/dist/esm/ar-0dbdc90f.js.map +1 -0
- package/dist/esm/array-344913d8.js +12 -0
- package/dist/esm/array-344913d8.js.map +1 -0
- package/dist/esm/bg-b34e6e95.js +81 -0
- package/dist/esm/bg-b34e6e95.js.map +1 -0
- package/dist/esm/browser-e08ec4a4.js +18 -0
- package/dist/esm/browser-e08ec4a4.js.map +1 -0
- package/dist/esm/bs-1c62af40.js +50 -0
- package/dist/esm/bs-1c62af40.js.map +1 -0
- package/dist/esm/ca-6c34ad57.js +70 -0
- package/dist/esm/ca-6c34ad57.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-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 +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +26 -23
- package/dist/esm/calcite-button.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +21 -21
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +20 -20
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +15 -15
- package/dist/esm/calcite-input-text.entry.js +15 -15
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-8a240fba.js +2913 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-8a240fba.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +19 -19
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +15 -15
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +25 -18
- package/dist/esm/calcite-menu_2.entry.js.map +1 -1
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +17 -17
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-a6616869.js +27 -0
- package/dist/esm/component-a6616869.js.map +1 -0
- package/dist/esm/conditionalSlot-78e95782.js +57 -0
- package/dist/esm/conditionalSlot-78e95782.js.map +1 -0
- package/dist/esm/cs-d62b3d33.js +146 -0
- package/dist/esm/cs-d62b3d33.js.map +1 -0
- package/dist/esm/da-8f334fba.js +65 -0
- package/dist/esm/da-8f334fba.js.map +1 -0
- package/dist/esm/de-ad74a119.js +90 -0
- package/dist/esm/de-ad74a119.js.map +1 -0
- package/dist/esm/de-at-f7ea2f1e.js +89 -0
- package/dist/esm/de-at-f7ea2f1e.js.map +1 -0
- package/dist/esm/de-ch-87c604c6.js +89 -0
- package/dist/esm/de-ch-87c604c6.js.map +1 -0
- package/dist/esm/debounce-17075928.js +489 -0
- package/dist/esm/debounce-17075928.js.map +1 -0
- package/dist/esm/dom-2b75a157.js +1053 -0
- package/dist/esm/dom-2b75a157.js.map +1 -0
- package/dist/esm/el-e4215fd2.js +65 -0
- package/dist/esm/el-e4215fd2.js.map +1 -0
- package/dist/esm/en-au-5241d40d.js +65 -0
- package/dist/esm/en-au-5241d40d.js.map +1 -0
- package/dist/esm/en-ca-9ba79056.js +64 -0
- package/dist/esm/en-ca-9ba79056.js.map +1 -0
- package/dist/esm/en-gb-f281b3ac.js +68 -0
- package/dist/esm/en-gb-f281b3ac.js.map +1 -0
- package/dist/esm/es-ee1fa2ca.js +65 -0
- package/dist/esm/es-ee1fa2ca.js.map +1 -0
- package/dist/esm/es-mx-41f78d5c.js +64 -0
- package/dist/esm/es-mx-41f78d5c.js.map +1 -0
- package/dist/esm/et-10bed9ff.js +91 -0
- package/dist/esm/et-10bed9ff.js.map +1 -0
- package/dist/esm/fi-8881ca9b.js +114 -0
- package/dist/esm/fi-8881ca9b.js.map +1 -0
- package/dist/esm/filter-dd647f01.js +760 -0
- package/dist/esm/filter-dd647f01.js.map +1 -0
- package/dist/esm/floating-ui-cc8a8670.js +1907 -0
- package/dist/esm/floating-ui-cc8a8670.js.map +1 -0
- package/dist/esm/focusTrapComponent-34d3edf6.js +1015 -0
- package/dist/esm/focusTrapComponent-34d3edf6.js.map +1 -0
- package/dist/esm/form-80178845.js +249 -0
- package/dist/esm/form-80178845.js.map +1 -0
- package/dist/esm/fr-5feab7cf.js +67 -0
- package/dist/esm/fr-5feab7cf.js.map +1 -0
- package/dist/esm/fr-ch-82b6ec38.js +65 -0
- package/dist/esm/fr-ch-82b6ec38.js.map +1 -0
- package/dist/esm/guid-0ab12e84.js +21 -0
- package/dist/esm/guid-0ab12e84.js.map +1 -0
- package/dist/esm/he-89439946.js +104 -0
- package/dist/esm/he-89439946.js.map +1 -0
- package/dist/esm/hi-3e9c5308.js +64 -0
- package/dist/esm/hi-3e9c5308.js.map +1 -0
- package/dist/esm/hr-3048cb91.js +79 -0
- package/dist/esm/hr-3048cb91.js.map +1 -0
- package/dist/esm/hu-f05d1f4a.js +87 -0
- package/dist/esm/hu-f05d1f4a.js.map +1 -0
- package/dist/esm/id-b923ddb4.js +65 -0
- package/dist/esm/id-b923ddb4.js.map +1 -0
- package/dist/esm/index-324771df.js +206 -0
- package/dist/esm/index-324771df.js.map +1 -0
- package/dist/esm/index-588bda1f.js +73 -0
- package/dist/esm/index-588bda1f.js.map +1 -0
- package/dist/esm/index-f8b43fa1.js +2609 -0
- package/dist/esm/index-f8b43fa1.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-8a7f107e.js +140 -0
- package/dist/esm/interactive-8a7f107e.js.map +1 -0
- package/dist/esm/it-4b99fb03.js +65 -0
- package/dist/esm/it-4b99fb03.js.map +1 -0
- package/dist/esm/it-ch-0eab9fc0.js +65 -0
- package/dist/esm/it-ch-0eab9fc0.js.map +1 -0
- package/dist/esm/ja-c179e1f2.js +71 -0
- package/dist/esm/ja-c179e1f2.js.map +1 -0
- package/dist/esm/key-ccf35d67.js +13 -0
- package/dist/esm/key-ccf35d67.js.map +1 -0
- package/dist/esm/ko-79f2cd8b.js +71 -0
- package/dist/esm/ko-79f2cd8b.js.map +1 -0
- package/dist/esm/label-3ccfa41a.js +176 -0
- package/dist/esm/label-3ccfa41a.js.map +1 -0
- package/dist/esm/loadable-7b2872eb.js +86 -0
- package/dist/esm/loadable-7b2872eb.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-9d79780e.js +563 -0
- package/dist/esm/locale-9d79780e.js.map +1 -0
- package/dist/esm/lt-ba12c801.js +96 -0
- package/dist/esm/lt-ba12c801.js.map +1 -0
- package/dist/esm/lv-50413d14.js +65 -0
- package/dist/esm/lv-50413d14.js.map +1 -0
- package/dist/esm/math-47af69c2.js +51 -0
- package/dist/esm/math-47af69c2.js.map +1 -0
- package/dist/esm/mk-9d608852.js +65 -0
- package/dist/esm/mk-9d608852.js.map +1 -0
- package/dist/esm/nb-610519c4.js +66 -0
- package/dist/esm/nb-610519c4.js.map +1 -0
- package/dist/esm/nl-410bf471.js +66 -0
- package/dist/esm/nl-410bf471.js.map +1 -0
- package/dist/esm/observers-ea46aa34.js +48 -0
- package/dist/esm/observers-ea46aa34.js.map +1 -0
- package/dist/esm/openCloseComponent-d1dbafa5.js +87 -0
- package/dist/esm/openCloseComponent-d1dbafa5.js.map +1 -0
- package/dist/esm/pl-e06cc53d.js +113 -0
- package/dist/esm/pl-e06cc53d.js.map +1 -0
- package/dist/esm/pt-5e8b4b14.js +66 -0
- package/dist/esm/pt-5e8b4b14.js.map +1 -0
- package/dist/esm/pt-br-db390b34.js +64 -0
- package/dist/esm/pt-br-db390b34.js.map +1 -0
- package/dist/esm/resources-19ce89df.js +21 -0
- package/dist/esm/resources-19ce89df.js.map +1 -0
- package/dist/esm/resources-5f29fddc.js +17 -0
- package/dist/esm/resources-5f29fddc.js.map +1 -0
- package/dist/esm/resources-6debe1cf.js +385 -0
- package/dist/esm/resources-6debe1cf.js.map +1 -0
- package/dist/esm/resources-a5d6cdce.js +23 -0
- package/dist/esm/resources-a5d6cdce.js.map +1 -0
- package/dist/esm/resources-af957d75.js +19 -0
- package/dist/esm/resources-af957d75.js.map +1 -0
- package/dist/esm/resources-bbfc9c36.js +25 -0
- package/dist/esm/resources-bbfc9c36.js.map +1 -0
- package/dist/esm/resources-dce35e59.js +45 -0
- package/dist/esm/resources-dce35e59.js.map +1 -0
- package/dist/esm/ro-0ecf1b92.js +65 -0
- package/dist/esm/ro-0ecf1b92.js.map +1 -0
- package/dist/esm/ru-6b80993b.js +125 -0
- package/dist/esm/ru-6b80993b.js.map +1 -0
- package/dist/esm/sk-030c42a8.js +147 -0
- package/dist/esm/sk-030c42a8.js.map +1 -0
- package/dist/esm/sl-865152e6.js +167 -0
- package/dist/esm/sl-865152e6.js.map +1 -0
- package/dist/esm/sortableComponent-64d660c0.js +2735 -0
- package/dist/esm/sortableComponent-64d660c0.js.map +1 -0
- package/dist/esm/sr-30f2e5d5.js +100 -0
- package/dist/esm/sr-30f2e5d5.js.map +1 -0
- package/dist/esm/sv-e0486bd9.js +70 -0
- package/dist/esm/sv-e0486bd9.js.map +1 -0
- package/dist/esm/t9n-86a57b3c.js +92 -0
- package/dist/esm/t9n-86a57b3c.js.map +1 -0
- package/dist/esm/th-e0e6f971.js +64 -0
- package/dist/esm/th-e0e6f971.js.map +1 -0
- package/dist/esm/throttle-4ec2c3c3.js +75 -0
- package/dist/esm/throttle-4ec2c3c3.js.map +1 -0
- package/dist/esm/tr-62317e04.js +65 -0
- package/dist/esm/tr-62317e04.js.map +1 -0
- package/dist/esm/uk-f768fcee.js +103 -0
- package/dist/esm/uk-f768fcee.js.map +1 -0
- package/dist/esm/utils-749fc049.js +289 -0
- package/dist/esm/utils-749fc049.js.map +1 -0
- package/dist/esm/utils-df43aefa.js +200 -0
- package/dist/esm/utils-df43aefa.js.map +1 -0
- package/dist/esm/vi-c21abbb5.js +69 -0
- package/dist/esm/vi-c21abbb5.js.map +1 -0
- package/dist/esm/zh-cn-2c621d10.js +93 -0
- package/dist/esm/zh-cn-2c621d10.js.map +1 -0
- package/dist/esm/zh-hk-c0636881.js +70 -0
- package/dist/esm/zh-hk-c0636881.js.map +1 -0
- package/dist/esm/zh-tw-97d61592.js +91 -0
- package/dist/esm/zh-tw-97d61592.js.map +1 -0
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/button/button.d.ts +2 -5
- package/dist/types/components/menu/menu.d.ts +3 -5
- package/hydrate/index.js +39 -92
- package/package.json +2 -2
- package/dist/calcite/p-020afb9d.entry.js +0 -7
- package/dist/calcite/p-0417f911.entry.js +0 -7
- package/dist/calcite/p-0461575b.js +0 -7
- package/dist/calcite/p-0526a056.js +0 -7
- package/dist/calcite/p-06f11815.js +0 -7
- package/dist/calcite/p-0a4bc826.js +0 -7
- package/dist/calcite/p-0b27ac0c.js +0 -7
- package/dist/calcite/p-117c164b.entry.js +0 -7
- package/dist/calcite/p-11aa6144.entry.js +0 -7
- package/dist/calcite/p-1394f7ac.js +0 -7
- package/dist/calcite/p-15bb2059.entry.js +0 -7
- package/dist/calcite/p-15bb2059.entry.js.map +0 -1
- package/dist/calcite/p-16730cd5.js +0 -8
- package/dist/calcite/p-180d7fd5.js +0 -7
- package/dist/calcite/p-1964b713.js +0 -7
- package/dist/calcite/p-1b4025f2.js +0 -7
- package/dist/calcite/p-1caf9fab.js +0 -7
- package/dist/calcite/p-20182f83.entry.js +0 -7
- package/dist/calcite/p-258b44bd.entry.js +0 -7
- package/dist/calcite/p-287b2256.entry.js +0 -7
- package/dist/calcite/p-29fc2cd8.entry.js +0 -7
- package/dist/calcite/p-31a2d8ce.js +0 -7
- package/dist/calcite/p-328536a8.js +0 -7
- package/dist/calcite/p-35292e02.entry.js +0 -7
- package/dist/calcite/p-370aec39.entry.js +0 -7
- package/dist/calcite/p-37c708ef.js +0 -7
- package/dist/calcite/p-3958a197.js +0 -7
- package/dist/calcite/p-3a653c21.js +0 -7
- package/dist/calcite/p-3bb89bfa.entry.js +0 -7
- package/dist/calcite/p-3c2ff033.js +0 -7
- package/dist/calcite/p-3c34a15a.js +0 -7
- package/dist/calcite/p-3e2b901e.entry.js +0 -7
- package/dist/calcite/p-3fa4c3ad.js +0 -7
- package/dist/calcite/p-404e78df.js +0 -7
- package/dist/calcite/p-4073e9f6.entry.js +0 -7
- package/dist/calcite/p-40a2655a.js +0 -7
- package/dist/calcite/p-415ec5f6.entry.js +0 -7
- package/dist/calcite/p-4193cc94.js +0 -7
- package/dist/calcite/p-43acc768.entry.js +0 -7
- package/dist/calcite/p-46d24f7e.entry.js +0 -7
- package/dist/calcite/p-47342fa4.entry.js +0 -7
- package/dist/calcite/p-4897455e.js +0 -7
- package/dist/calcite/p-48c96814.entry.js +0 -7
- package/dist/calcite/p-48c96814.entry.js.map +0 -1
- package/dist/calcite/p-4c392085.entry.js +0 -7
- package/dist/calcite/p-4c392085.entry.js.map +0 -1
- package/dist/calcite/p-4cc7573a.js +0 -7
- package/dist/calcite/p-4ccbd3ae.entry.js +0 -7
- package/dist/calcite/p-4d44f88e.js +0 -7
- package/dist/calcite/p-5174bbfb.entry.js +0 -7
- package/dist/calcite/p-557589ef.js +0 -7
- package/dist/calcite/p-5599c42a.js +0 -7
- package/dist/calcite/p-5606fd0d.entry.js +0 -7
- package/dist/calcite/p-5606fd0d.entry.js.map +0 -1
- package/dist/calcite/p-56852be9.js +0 -7
- package/dist/calcite/p-587a510b.js +0 -7
- package/dist/calcite/p-5914a2eb.js +0 -7
- package/dist/calcite/p-59c8f6f9.js +0 -7
- package/dist/calcite/p-5c792ff3.js +0 -7
- package/dist/calcite/p-5cbd3a25.js +0 -7
- package/dist/calcite/p-5cda582e.js +0 -7
- package/dist/calcite/p-5e64c1ae.js +0 -7
- package/dist/calcite/p-61785d7b.entry.js +0 -7
- package/dist/calcite/p-62708e11.js +0 -7
- package/dist/calcite/p-657ba827.js +0 -7
- package/dist/calcite/p-683d77d0.entry.js +0 -7
- package/dist/calcite/p-69c0d3ee.js +0 -7
- package/dist/calcite/p-69cc9499.js +0 -7
- package/dist/calcite/p-69f8e91d.js +0 -12
- package/dist/calcite/p-6b044923.entry.js +0 -7
- package/dist/calcite/p-6b60ac58.js +0 -7
- package/dist/calcite/p-6c3caa76.entry.js +0 -7
- package/dist/calcite/p-6f5664ce.entry.js +0 -7
- package/dist/calcite/p-70058994.js +0 -7
- package/dist/calcite/p-70b305a8.entry.js +0 -7
- package/dist/calcite/p-7879b5ac.entry.js +0 -7
- package/dist/calcite/p-78f33d5e.js +0 -7
- package/dist/calcite/p-7af76764.entry.js +0 -7
- package/dist/calcite/p-7af76764.entry.js.map +0 -1
- package/dist/calcite/p-7e42cd0b.entry.js +0 -7
- package/dist/calcite/p-7e42cd0b.entry.js.map +0 -1
- package/dist/calcite/p-7ed6a614.js +0 -7
- package/dist/calcite/p-7fe99255.js +0 -7
- package/dist/calcite/p-8017c381.js +0 -7
- package/dist/calcite/p-83505fa2.js +0 -7
- package/dist/calcite/p-8489ccde.entry.js +0 -7
- package/dist/calcite/p-8533c6ea.js +0 -7
- package/dist/calcite/p-877a7510.js +0 -7
- package/dist/calcite/p-894efba3.entry.js +0 -7
- package/dist/calcite/p-8b37f75e.js +0 -7
- package/dist/calcite/p-91ee4a87.js +0 -7
- package/dist/calcite/p-94f6a855.js +0 -7
- package/dist/calcite/p-955e5eac.entry.js +0 -7
- package/dist/calcite/p-959ecf7c.js +0 -7
- package/dist/calcite/p-9746b002.entry.js +0 -7
- package/dist/calcite/p-97ee7478.entry.js +0 -7
- package/dist/calcite/p-9955b754.entry.js +0 -7
- package/dist/calcite/p-9955b754.entry.js.map +0 -1
- package/dist/calcite/p-9a3ca060.js +0 -7
- package/dist/calcite/p-9d1d246c.entry.js +0 -7
- package/dist/calcite/p-9dc54aae.entry.js +0 -7
- package/dist/calcite/p-a026258e.js +0 -7
- package/dist/calcite/p-a041e1ee.entry.js +0 -7
- package/dist/calcite/p-a0c8a148.js +0 -7
- package/dist/calcite/p-a12a85c3.entry.js +0 -7
- package/dist/calcite/p-a14fb495.entry.js +0 -7
- package/dist/calcite/p-a24bddbc.entry.js +0 -7
- package/dist/calcite/p-a3199c3d.entry.js +0 -7
- package/dist/calcite/p-a3d7b7a5.js +0 -7
- package/dist/calcite/p-a8d238e1.js +0 -7
- package/dist/calcite/p-af235230.js +0 -7
- package/dist/calcite/p-af84403b.js +0 -7
- package/dist/calcite/p-b036c99e.js +0 -7
- package/dist/calcite/p-b24ed14f.js +0 -7
- package/dist/calcite/p-b26d922d.entry.js +0 -7
- package/dist/calcite/p-b297d008.entry.js +0 -7
- package/dist/calcite/p-b3e7b2dd.entry.js +0 -7
- package/dist/calcite/p-b449ad3e.js +0 -7
- package/dist/calcite/p-b4d0a340.js +0 -7
- package/dist/calcite/p-b5748492.entry.js +0 -7
- package/dist/calcite/p-b59c892f.js +0 -7
- package/dist/calcite/p-b5f9b02f.js +0 -7
- package/dist/calcite/p-b8e9f99e.entry.js +0 -7
- package/dist/calcite/p-b8e9f99e.entry.js.map +0 -1
- package/dist/calcite/p-becba058.js +0 -7
- package/dist/calcite/p-c2cb2363.js +0 -7
- package/dist/calcite/p-c45f11e0.entry.js +0 -7
- package/dist/calcite/p-c7dbe7c5.entry.js +0 -7
- package/dist/calcite/p-c81176e0.js +0 -7
- package/dist/calcite/p-c9dc85f3.js +0 -7
- package/dist/calcite/p-ca1d1b41.js +0 -7
- package/dist/calcite/p-cc2b3b3d.js +0 -7
- package/dist/calcite/p-cc517f77.entry.js +0 -7
- package/dist/calcite/p-cd36d9cb.entry.js +0 -7
- package/dist/calcite/p-cd39f60b.entry.js +0 -7
- package/dist/calcite/p-d0c805d4.entry.js +0 -7
- package/dist/calcite/p-d10e10a5.entry.js +0 -7
- package/dist/calcite/p-d3ba3238.js +0 -7
- package/dist/calcite/p-d50641ce.js +0 -7
- package/dist/calcite/p-d54b5018.entry.js +0 -7
- package/dist/calcite/p-d6531aa4.entry.js +0 -7
- package/dist/calcite/p-d7aedc3d.js +0 -7
- package/dist/calcite/p-d8c18ab1.entry.js +0 -7
- package/dist/calcite/p-da7d254d.js +0 -7
- package/dist/calcite/p-dcaff678.entry.js +0 -7
- package/dist/calcite/p-dfdff05a.js +0 -7
- package/dist/calcite/p-e0330a53.entry.js +0 -7
- package/dist/calcite/p-e1975115.entry.js +0 -7
- package/dist/calcite/p-e1e85adf.js +0 -7
- package/dist/calcite/p-e50a6f4c.js +0 -7
- package/dist/calcite/p-e6d974c7.entry.js +0 -7
- package/dist/calcite/p-e6d974c7.entry.js.map +0 -1
- package/dist/calcite/p-eb49e78d.entry.js +0 -7
- package/dist/calcite/p-ec33f479.js +0 -7
- package/dist/calcite/p-edce7351.js +0 -11
- package/dist/calcite/p-f042414e.js +0 -7
- package/dist/calcite/p-f1d57e58.entry.js +0 -7
- package/dist/calcite/p-f2196506.entry.js +0 -7
- package/dist/calcite/p-f3315cb3.js +0 -7
- package/dist/calcite/p-f3315cb3.js.map +0 -1
- package/dist/calcite/p-f4bd74d6.js +0 -7
- package/dist/calcite/p-f5af53ee.entry.js +0 -7
- package/dist/calcite/p-f6db8b62.js +0 -7
- package/dist/calcite/p-f7f5fa70.entry.js +0 -7
- package/dist/calcite/p-f9c78b4c.js +0 -7
- package/dist/calcite/p-f9cd0648.js +0 -7
- package/dist/calcite/p-fcdd5bde.entry.js +0 -7
- package/dist/calcite/p-fe8dce6f.entry.js +0 -7
- package/dist/calcite/p-fea31e48.js +0 -7
- package/dist/calcite/p-fecc9518.js +0 -13
- package/dist/cjs/ExpandToggle-5b5beec1.js +0 -110
- package/dist/cjs/ExpandToggle-5b5beec1.js.map +0 -1
- package/dist/cjs/FloatingArrow-5b1bdf81.js +0 -49
- package/dist/cjs/FloatingArrow-5b1bdf81.js.map +0 -1
- package/dist/cjs/Heading-060b56b0.js +0 -22
- package/dist/cjs/Heading-060b56b0.js.map +0 -1
- package/dist/cjs/app-globals-246a5930.js +0 -61
- package/dist/cjs/app-globals-246a5930.js.map +0 -1
- package/dist/cjs/ar-2a60236a.js +0 -105
- package/dist/cjs/ar-2a60236a.js.map +0 -1
- package/dist/cjs/array-1fd7aaf1.js +0 -14
- package/dist/cjs/array-1fd7aaf1.js.map +0 -1
- package/dist/cjs/bg-997fbe26.js +0 -83
- package/dist/cjs/bg-997fbe26.js.map +0 -1
- package/dist/cjs/browser-27cf8098.js +0 -20
- package/dist/cjs/browser-27cf8098.js.map +0 -1
- package/dist/cjs/bs-d319973a.js +0 -52
- package/dist/cjs/bs-d319973a.js.map +0 -1
- package/dist/cjs/ca-a47fec9c.js +0 -72
- package/dist/cjs/ca-a47fec9c.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-04cc37cc.js +0 -2917
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-04cc37cc.js.map +0 -1
- package/dist/cjs/component-62b3a5db.js +0 -30
- package/dist/cjs/component-62b3a5db.js.map +0 -1
- package/dist/cjs/conditionalSlot-0dd92f1b.js +0 -60
- package/dist/cjs/conditionalSlot-0dd92f1b.js.map +0 -1
- package/dist/cjs/cs-870a334d.js +0 -148
- package/dist/cjs/cs-870a334d.js.map +0 -1
- package/dist/cjs/da-61040758.js +0 -67
- package/dist/cjs/da-61040758.js.map +0 -1
- package/dist/cjs/de-118cf810.js +0 -92
- package/dist/cjs/de-118cf810.js.map +0 -1
- package/dist/cjs/de-at-39f3ca6f.js +0 -91
- package/dist/cjs/de-at-39f3ca6f.js.map +0 -1
- package/dist/cjs/de-ch-1cfeccf3.js +0 -91
- package/dist/cjs/de-ch-1cfeccf3.js.map +0 -1
- package/dist/cjs/debounce-c3dd576b.js +0 -498
- package/dist/cjs/debounce-c3dd576b.js.map +0 -1
- package/dist/cjs/dom-20b81b7c.js +0 -1084
- package/dist/cjs/dom-20b81b7c.js.map +0 -1
- package/dist/cjs/el-4a4ef24b.js +0 -67
- package/dist/cjs/el-4a4ef24b.js.map +0 -1
- package/dist/cjs/en-au-40c85fa9.js +0 -67
- package/dist/cjs/en-au-40c85fa9.js.map +0 -1
- package/dist/cjs/en-ca-256d5630.js +0 -66
- package/dist/cjs/en-ca-256d5630.js.map +0 -1
- package/dist/cjs/en-gb-96ad7a30.js +0 -70
- package/dist/cjs/en-gb-96ad7a30.js.map +0 -1
- package/dist/cjs/es-2c786d50.js +0 -67
- package/dist/cjs/es-2c786d50.js.map +0 -1
- package/dist/cjs/es-mx-83dda81b.js +0 -66
- package/dist/cjs/es-mx-83dda81b.js.map +0 -1
- package/dist/cjs/et-6744626a.js +0 -93
- package/dist/cjs/et-6744626a.js.map +0 -1
- package/dist/cjs/fi-7fc26385.js +0 -116
- package/dist/cjs/fi-7fc26385.js.map +0 -1
- package/dist/cjs/filter-3901c6ef.js +0 -762
- package/dist/cjs/filter-3901c6ef.js.map +0 -1
- package/dist/cjs/floating-ui-29afa525.js +0 -1915
- package/dist/cjs/floating-ui-29afa525.js.map +0 -1
- package/dist/cjs/focusTrapComponent-313247e1.js +0 -1020
- package/dist/cjs/focusTrapComponent-313247e1.js.map +0 -1
- package/dist/cjs/form-c69d77b7.js +0 -257
- package/dist/cjs/form-c69d77b7.js.map +0 -1
- package/dist/cjs/fr-aa9d0775.js +0 -69
- package/dist/cjs/fr-aa9d0775.js.map +0 -1
- package/dist/cjs/fr-ch-1380617a.js +0 -67
- package/dist/cjs/fr-ch-1380617a.js.map +0 -1
- package/dist/cjs/globalAttributes-2c9f2c79.js +0 -74
- package/dist/cjs/globalAttributes-2c9f2c79.js.map +0 -1
- package/dist/cjs/guid-4e1b08d6.js +0 -23
- package/dist/cjs/guid-4e1b08d6.js.map +0 -1
- package/dist/cjs/he-b2b2b759.js +0 -106
- package/dist/cjs/he-b2b2b759.js.map +0 -1
- package/dist/cjs/hi-9834f426.js +0 -66
- package/dist/cjs/hi-9834f426.js.map +0 -1
- package/dist/cjs/hr-6ff2b016.js +0 -81
- package/dist/cjs/hr-6ff2b016.js.map +0 -1
- package/dist/cjs/hu-393a761f.js +0 -89
- package/dist/cjs/hu-393a761f.js.map +0 -1
- package/dist/cjs/id-21688ebd.js +0 -67
- package/dist/cjs/id-21688ebd.js.map +0 -1
- package/dist/cjs/index-2693b1bf.js +0 -2644
- package/dist/cjs/index-2693b1bf.js.map +0 -1
- package/dist/cjs/index-b6131bd2.js +0 -75
- package/dist/cjs/index-b6131bd2.js.map +0 -1
- package/dist/cjs/index-d2c27a22.js +0 -208
- package/dist/cjs/index-d2c27a22.js.map +0 -1
- package/dist/cjs/interactive-7ff50353.js +0 -144
- package/dist/cjs/interactive-7ff50353.js.map +0 -1
- package/dist/cjs/it-621eedac.js +0 -67
- package/dist/cjs/it-621eedac.js.map +0 -1
- package/dist/cjs/it-ch-599933c1.js +0 -67
- package/dist/cjs/it-ch-599933c1.js.map +0 -1
- package/dist/cjs/ja-639b7c1a.js +0 -73
- package/dist/cjs/ja-639b7c1a.js.map +0 -1
- package/dist/cjs/key-938b1fee.js +0 -16
- package/dist/cjs/key-938b1fee.js.map +0 -1
- package/dist/cjs/ko-4e6c9756.js +0 -73
- package/dist/cjs/ko-4e6c9756.js.map +0 -1
- package/dist/cjs/label-fbf2328b.js +0 -183
- package/dist/cjs/label-fbf2328b.js.map +0 -1
- package/dist/cjs/loadable-314e8451.js +0 -91
- package/dist/cjs/loadable-314e8451.js.map +0 -1
- package/dist/cjs/locale-0f52f566.js +0 -575
- package/dist/cjs/locale-0f52f566.js.map +0 -1
- package/dist/cjs/lt-0bf5ac27.js +0 -98
- package/dist/cjs/lt-0bf5ac27.js.map +0 -1
- package/dist/cjs/lv-db8fcea0.js +0 -67
- package/dist/cjs/lv-db8fcea0.js.map +0 -1
- package/dist/cjs/math-c024bec9.js +0 -57
- package/dist/cjs/math-c024bec9.js.map +0 -1
- package/dist/cjs/mk-eb874668.js +0 -67
- package/dist/cjs/mk-eb874668.js.map +0 -1
- package/dist/cjs/nb-24cd633c.js +0 -68
- package/dist/cjs/nb-24cd633c.js.map +0 -1
- package/dist/cjs/nl-425b5089.js +0 -68
- package/dist/cjs/nl-425b5089.js.map +0 -1
- package/dist/cjs/observers-3b6242e2.js +0 -50
- package/dist/cjs/observers-3b6242e2.js.map +0 -1
- package/dist/cjs/openCloseComponent-5b25ec99.js +0 -89
- package/dist/cjs/openCloseComponent-5b25ec99.js.map +0 -1
- package/dist/cjs/pl-1fbd4b69.js +0 -115
- package/dist/cjs/pl-1fbd4b69.js.map +0 -1
- package/dist/cjs/pt-70b02fba.js +0 -68
- package/dist/cjs/pt-70b02fba.js.map +0 -1
- package/dist/cjs/pt-br-10c67857.js +0 -66
- package/dist/cjs/pt-br-10c67857.js.map +0 -1
- package/dist/cjs/resources-0515d543.js +0 -49
- package/dist/cjs/resources-0515d543.js.map +0 -1
- package/dist/cjs/resources-12aab5e3.js +0 -412
- package/dist/cjs/resources-12aab5e3.js.map +0 -1
- package/dist/cjs/resources-12f7a424.js +0 -29
- package/dist/cjs/resources-12f7a424.js.map +0 -1
- package/dist/cjs/resources-19a89127.js +0 -26
- package/dist/cjs/resources-19a89127.js.map +0 -1
- package/dist/cjs/resources-e00cd2b7.js +0 -26
- package/dist/cjs/resources-e00cd2b7.js.map +0 -1
- package/dist/cjs/resources-e0e66f8e.js +0 -23
- package/dist/cjs/resources-e0e66f8e.js.map +0 -1
- package/dist/cjs/resources-f43e426d.js +0 -17
- package/dist/cjs/resources-f43e426d.js.map +0 -1
- package/dist/cjs/ro-6b59f9fd.js +0 -67
- package/dist/cjs/ro-6b59f9fd.js.map +0 -1
- package/dist/cjs/ru-a20c868e.js +0 -127
- package/dist/cjs/ru-a20c868e.js.map +0 -1
- package/dist/cjs/sk-bffeec39.js +0 -149
- package/dist/cjs/sk-bffeec39.js.map +0 -1
- package/dist/cjs/sl-ddb64c65.js +0 -169
- package/dist/cjs/sl-ddb64c65.js.map +0 -1
- package/dist/cjs/sortableComponent-7ece9220.js +0 -2739
- package/dist/cjs/sortableComponent-7ece9220.js.map +0 -1
- package/dist/cjs/sr-49edf491.js +0 -102
- package/dist/cjs/sr-49edf491.js.map +0 -1
- package/dist/cjs/sv-4c0001e9.js +0 -72
- package/dist/cjs/sv-4c0001e9.js.map +0 -1
- package/dist/cjs/t9n-0b3bfb19.js +0 -97
- package/dist/cjs/t9n-0b3bfb19.js.map +0 -1
- package/dist/cjs/th-0d41a47f.js +0 -66
- package/dist/cjs/th-0d41a47f.js.map +0 -1
- package/dist/cjs/throttle-1f6e1f4d.js +0 -77
- package/dist/cjs/throttle-1f6e1f4d.js.map +0 -1
- package/dist/cjs/tr-1eb82b0f.js +0 -67
- package/dist/cjs/tr-1eb82b0f.js.map +0 -1
- package/dist/cjs/uk-114c8ddb.js +0 -105
- package/dist/cjs/uk-114c8ddb.js.map +0 -1
- package/dist/cjs/utils-40d8436c.js +0 -307
- package/dist/cjs/utils-40d8436c.js.map +0 -1
- package/dist/cjs/utils-b2b26829.js +0 -218
- package/dist/cjs/utils-b2b26829.js.map +0 -1
- package/dist/cjs/vi-8c05f971.js +0 -71
- package/dist/cjs/vi-8c05f971.js.map +0 -1
- package/dist/cjs/zh-cn-2c0a6683.js +0 -95
- package/dist/cjs/zh-cn-2c0a6683.js.map +0 -1
- package/dist/cjs/zh-hk-c12260fc.js +0 -72
- package/dist/cjs/zh-hk-c12260fc.js.map +0 -1
- package/dist/cjs/zh-tw-84e73c5c.js +0 -93
- package/dist/cjs/zh-tw-84e73c5c.js.map +0 -1
- package/dist/collection/utils/globalAttributes.js +0 -67
- package/dist/collection/utils/globalAttributes.js.map +0 -1
- package/dist/collection/utils/globalAttributes.spec.js +0 -73
- package/dist/collection/utils/globalAttributes.spec.js.map +0 -1
- package/dist/components/globalAttributes.js +0 -71
- package/dist/components/globalAttributes.js.map +0 -1
- package/dist/esm/ExpandToggle-9c1bdbcd.js +0 -102
- package/dist/esm/ExpandToggle-9c1bdbcd.js.map +0 -1
- package/dist/esm/FloatingArrow-bdcda50e.js +0 -47
- package/dist/esm/FloatingArrow-bdcda50e.js.map +0 -1
- package/dist/esm/Heading-1d6f6157.js +0 -19
- package/dist/esm/Heading-1d6f6157.js.map +0 -1
- package/dist/esm/app-globals-2ff70ab6.js +0 -59
- package/dist/esm/app-globals-2ff70ab6.js.map +0 -1
- package/dist/esm/ar-53b429bd.js +0 -103
- package/dist/esm/ar-53b429bd.js.map +0 -1
- package/dist/esm/array-b71a120c.js +0 -12
- package/dist/esm/array-b71a120c.js.map +0 -1
- package/dist/esm/bg-939ee5c7.js +0 -81
- package/dist/esm/bg-939ee5c7.js.map +0 -1
- package/dist/esm/browser-45ab1a3a.js +0 -18
- package/dist/esm/browser-45ab1a3a.js.map +0 -1
- package/dist/esm/bs-7c2df368.js +0 -50
- package/dist/esm/bs-7c2df368.js.map +0 -1
- package/dist/esm/ca-e958fe70.js +0 -70
- package/dist/esm/ca-e958fe70.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-42d0a289.js +0 -2913
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-42d0a289.js.map +0 -1
- package/dist/esm/component-79a95160.js +0 -27
- package/dist/esm/component-79a95160.js.map +0 -1
- package/dist/esm/conditionalSlot-f05b6bb0.js +0 -57
- package/dist/esm/conditionalSlot-f05b6bb0.js.map +0 -1
- package/dist/esm/cs-535f03e3.js +0 -146
- package/dist/esm/cs-535f03e3.js.map +0 -1
- package/dist/esm/da-4b6ff638.js +0 -65
- package/dist/esm/da-4b6ff638.js.map +0 -1
- package/dist/esm/de-7c427db9.js +0 -90
- package/dist/esm/de-7c427db9.js.map +0 -1
- package/dist/esm/de-at-d9961320.js +0 -89
- package/dist/esm/de-at-d9961320.js.map +0 -1
- package/dist/esm/de-ch-2d337995.js +0 -89
- package/dist/esm/de-ch-2d337995.js.map +0 -1
- package/dist/esm/debounce-650e524d.js +0 -489
- package/dist/esm/debounce-650e524d.js.map +0 -1
- package/dist/esm/dom-16a83f22.js +0 -1053
- package/dist/esm/dom-16a83f22.js.map +0 -1
- package/dist/esm/el-8900a837.js +0 -65
- package/dist/esm/el-8900a837.js.map +0 -1
- package/dist/esm/en-au-c1a2b7a3.js +0 -65
- package/dist/esm/en-au-c1a2b7a3.js.map +0 -1
- package/dist/esm/en-ca-e9c0d857.js +0 -64
- package/dist/esm/en-ca-e9c0d857.js.map +0 -1
- package/dist/esm/en-gb-7d808680.js +0 -68
- package/dist/esm/en-gb-7d808680.js.map +0 -1
- package/dist/esm/es-079c3d6b.js +0 -65
- package/dist/esm/es-079c3d6b.js.map +0 -1
- package/dist/esm/es-mx-951d89a4.js +0 -64
- package/dist/esm/es-mx-951d89a4.js.map +0 -1
- package/dist/esm/et-e560ef40.js +0 -91
- package/dist/esm/et-e560ef40.js.map +0 -1
- package/dist/esm/fi-bd0f9b8a.js +0 -114
- package/dist/esm/fi-bd0f9b8a.js.map +0 -1
- package/dist/esm/filter-62fd69af.js +0 -760
- package/dist/esm/filter-62fd69af.js.map +0 -1
- package/dist/esm/floating-ui-1a02239d.js +0 -1907
- package/dist/esm/floating-ui-1a02239d.js.map +0 -1
- package/dist/esm/focusTrapComponent-81564349.js +0 -1015
- package/dist/esm/focusTrapComponent-81564349.js.map +0 -1
- package/dist/esm/form-dad4f04e.js +0 -249
- package/dist/esm/form-dad4f04e.js.map +0 -1
- package/dist/esm/fr-4bd74af7.js +0 -67
- package/dist/esm/fr-4bd74af7.js.map +0 -1
- package/dist/esm/fr-ch-8b2ff10a.js +0 -65
- package/dist/esm/fr-ch-8b2ff10a.js.map +0 -1
- package/dist/esm/globalAttributes-b054255d.js +0 -71
- package/dist/esm/globalAttributes-b054255d.js.map +0 -1
- package/dist/esm/guid-3dfebb07.js +0 -21
- package/dist/esm/guid-3dfebb07.js.map +0 -1
- package/dist/esm/he-d7a96d80.js +0 -104
- package/dist/esm/he-d7a96d80.js.map +0 -1
- package/dist/esm/hi-ef1f57c0.js +0 -64
- package/dist/esm/hi-ef1f57c0.js.map +0 -1
- package/dist/esm/hr-721bfe91.js +0 -79
- package/dist/esm/hr-721bfe91.js.map +0 -1
- package/dist/esm/hu-fa095500.js +0 -87
- package/dist/esm/hu-fa095500.js.map +0 -1
- package/dist/esm/id-1f49fbb0.js +0 -65
- package/dist/esm/id-1f49fbb0.js.map +0 -1
- package/dist/esm/index-1d896312.js +0 -73
- package/dist/esm/index-1d896312.js.map +0 -1
- package/dist/esm/index-21dbeea3.js +0 -2609
- package/dist/esm/index-21dbeea3.js.map +0 -1
- package/dist/esm/index-47bd3338.js +0 -206
- package/dist/esm/index-47bd3338.js.map +0 -1
- package/dist/esm/interactive-8f531504.js +0 -140
- package/dist/esm/interactive-8f531504.js.map +0 -1
- package/dist/esm/it-bd82fd41.js +0 -65
- package/dist/esm/it-bd82fd41.js.map +0 -1
- package/dist/esm/it-ch-7e8f3656.js +0 -65
- package/dist/esm/it-ch-7e8f3656.js.map +0 -1
- package/dist/esm/ja-5c3b3ee5.js +0 -71
- package/dist/esm/ja-5c3b3ee5.js.map +0 -1
- package/dist/esm/key-4724a651.js +0 -13
- package/dist/esm/key-4724a651.js.map +0 -1
- package/dist/esm/ko-09bb2b67.js +0 -71
- package/dist/esm/ko-09bb2b67.js.map +0 -1
- package/dist/esm/label-2054fb9d.js +0 -176
- package/dist/esm/label-2054fb9d.js.map +0 -1
- package/dist/esm/loadable-b219e96d.js +0 -86
- package/dist/esm/loadable-b219e96d.js.map +0 -1
- package/dist/esm/locale-243ea69c.js +0 -563
- package/dist/esm/locale-243ea69c.js.map +0 -1
- package/dist/esm/lt-572d4ffa.js +0 -96
- package/dist/esm/lt-572d4ffa.js.map +0 -1
- package/dist/esm/lv-d426c116.js +0 -65
- package/dist/esm/lv-d426c116.js.map +0 -1
- package/dist/esm/math-07302159.js +0 -51
- package/dist/esm/math-07302159.js.map +0 -1
- package/dist/esm/mk-f989d12e.js +0 -65
- package/dist/esm/mk-f989d12e.js.map +0 -1
- package/dist/esm/nb-3b915b85.js +0 -66
- package/dist/esm/nb-3b915b85.js.map +0 -1
- package/dist/esm/nl-963391e5.js +0 -66
- package/dist/esm/nl-963391e5.js.map +0 -1
- package/dist/esm/observers-003e2d25.js +0 -48
- package/dist/esm/observers-003e2d25.js.map +0 -1
- package/dist/esm/openCloseComponent-a3a7cb34.js +0 -87
- package/dist/esm/openCloseComponent-a3a7cb34.js.map +0 -1
- package/dist/esm/pl-02939c34.js +0 -113
- package/dist/esm/pl-02939c34.js.map +0 -1
- package/dist/esm/pt-br-84a65e34.js +0 -64
- package/dist/esm/pt-br-84a65e34.js.map +0 -1
- package/dist/esm/pt-ce64e38c.js +0 -66
- package/dist/esm/pt-ce64e38c.js.map +0 -1
- package/dist/esm/resources-275966ff.js +0 -17
- package/dist/esm/resources-275966ff.js.map +0 -1
- package/dist/esm/resources-3bd04372.js +0 -385
- package/dist/esm/resources-3bd04372.js.map +0 -1
- package/dist/esm/resources-3f298436.js +0 -25
- package/dist/esm/resources-3f298436.js.map +0 -1
- package/dist/esm/resources-456215e0.js +0 -23
- package/dist/esm/resources-456215e0.js.map +0 -1
- package/dist/esm/resources-6f9c8bdd.js +0 -21
- package/dist/esm/resources-6f9c8bdd.js.map +0 -1
- package/dist/esm/resources-ca96346f.js +0 -45
- package/dist/esm/resources-ca96346f.js.map +0 -1
- package/dist/esm/resources-cf12693b.js +0 -19
- package/dist/esm/resources-cf12693b.js.map +0 -1
- package/dist/esm/ro-dcb34eae.js +0 -65
- package/dist/esm/ro-dcb34eae.js.map +0 -1
- package/dist/esm/ru-4b969d34.js +0 -125
- package/dist/esm/ru-4b969d34.js.map +0 -1
- package/dist/esm/sk-7ec896f3.js +0 -147
- package/dist/esm/sk-7ec896f3.js.map +0 -1
- package/dist/esm/sl-1c187cfd.js +0 -167
- package/dist/esm/sl-1c187cfd.js.map +0 -1
- package/dist/esm/sortableComponent-dff9fd30.js +0 -2735
- package/dist/esm/sortableComponent-dff9fd30.js.map +0 -1
- package/dist/esm/sr-3233000e.js +0 -100
- package/dist/esm/sr-3233000e.js.map +0 -1
- package/dist/esm/sv-e0211b83.js +0 -70
- package/dist/esm/sv-e0211b83.js.map +0 -1
- package/dist/esm/t9n-7f43b08e.js +0 -92
- package/dist/esm/t9n-7f43b08e.js.map +0 -1
- package/dist/esm/th-240afd85.js +0 -64
- package/dist/esm/th-240afd85.js.map +0 -1
- package/dist/esm/throttle-4fcf51be.js +0 -75
- package/dist/esm/throttle-4fcf51be.js.map +0 -1
- package/dist/esm/tr-3cfb3e81.js +0 -65
- package/dist/esm/tr-3cfb3e81.js.map +0 -1
- package/dist/esm/uk-42e54517.js +0 -103
- package/dist/esm/uk-42e54517.js.map +0 -1
- package/dist/esm/utils-7f29859c.js +0 -200
- package/dist/esm/utils-7f29859c.js.map +0 -1
- package/dist/esm/utils-b7426d1e.js +0 -289
- package/dist/esm/utils-b7426d1e.js.map +0 -1
- package/dist/esm/vi-f3e6fdc7.js +0 -69
- package/dist/esm/vi-f3e6fdc7.js.map +0 -1
- package/dist/esm/zh-cn-1e1c0313.js +0 -93
- package/dist/esm/zh-cn-1e1c0313.js.map +0 -1
- package/dist/esm/zh-hk-a9fe5f34.js +0 -70
- package/dist/esm/zh-hk-a9fe5f34.js.map +0 -1
- package/dist/esm/zh-tw-da191e61.js +0 -91
- package/dist/esm/zh-tw-da191e61.js.map +0 -1
- package/dist/types/utils/globalAttributes.d.ts +0 -41
- /package/dist/calcite/{p-cd36d9cb.entry.js.map → p-002f8573.entry.js.map} +0 -0
- /package/dist/calcite/{p-3c34a15a.js.map → p-03565442.js.map} +0 -0
- /package/dist/calcite/{p-d8c18ab1.entry.js.map → p-045fbf85.entry.js.map} +0 -0
- /package/dist/calcite/{p-e50a6f4c.js.map → p-06a8aac1.js.map} +0 -0
- /package/dist/calcite/{p-5599c42a.js.map → p-07a609a8.js.map} +0 -0
- /package/dist/calcite/{p-258b44bd.entry.js.map → p-07c5ba66.entry.js.map} +0 -0
- /package/dist/calcite/{p-328536a8.js.map → p-0b842347.js.map} +0 -0
- /package/dist/calcite/{p-557589ef.js.map → p-0e57393f.js.map} +0 -0
- /package/dist/calcite/{p-020afb9d.entry.js.map → p-120b8b51.entry.js.map} +0 -0
- /package/dist/calcite/{p-31a2d8ce.js.map → p-131f12c6.js.map} +0 -0
- /package/dist/calcite/{p-b297d008.entry.js.map → p-15f3e5c5.entry.js.map} +0 -0
- /package/dist/calcite/{p-e0330a53.entry.js.map → p-17a22826.entry.js.map} +0 -0
- /package/dist/calcite/{p-becba058.js.map → p-1b16a2ad.js.map} +0 -0
- /package/dist/calcite/{p-f9c78b4c.js.map → p-1c3ba82f.js.map} +0 -0
- /package/dist/calcite/{p-4ccbd3ae.entry.js.map → p-1d104c32.entry.js.map} +0 -0
- /package/dist/calcite/{p-1caf9fab.js.map → p-1ef2b999.js.map} +0 -0
- /package/dist/calcite/{p-69f8e91d.js.map → p-1fc0aa37.js.map} +0 -0
- /package/dist/calcite/{p-ca1d1b41.js.map → p-233d2740.js.map} +0 -0
- /package/dist/calcite/{p-4073e9f6.entry.js.map → p-23a63e0b.entry.js.map} +0 -0
- /package/dist/calcite/{p-d50641ce.js.map → p-23c52e87.js.map} +0 -0
- /package/dist/calcite/{p-70b305a8.entry.js.map → p-248457bc.entry.js.map} +0 -0
- /package/dist/calcite/{p-d7aedc3d.js.map → p-24988f69.js.map} +0 -0
- /package/dist/calcite/{p-c9dc85f3.js.map → p-2717fde7.js.map} +0 -0
- /package/dist/calcite/{p-da7d254d.js.map → p-2726a75c.js.map} +0 -0
- /package/dist/calcite/{p-40a2655a.js.map → p-2c3ace01.js.map} +0 -0
- /package/dist/calcite/{p-f1d57e58.entry.js.map → p-2d34eea1.entry.js.map} +0 -0
- /package/dist/calcite/{p-b5748492.entry.js.map → p-2e4752f5.entry.js.map} +0 -0
- /package/dist/calcite/{p-894efba3.entry.js.map → p-30059ec4.entry.js.map} +0 -0
- /package/dist/calcite/{p-9dc54aae.entry.js.map → p-314c0811.entry.js.map} +0 -0
- /package/dist/calcite/{p-1b4025f2.js.map → p-32dff08d.js.map} +0 -0
- /package/dist/calcite/{p-62708e11.js.map → p-3333cb69.js.map} +0 -0
- /package/dist/calcite/{p-fe8dce6f.entry.js.map → p-33d9589c.entry.js.map} +0 -0
- /package/dist/calcite/{p-29fc2cd8.entry.js.map → p-3502c71e.entry.js.map} +0 -0
- /package/dist/calcite/{p-dfdff05a.js.map → p-35b28c33.js.map} +0 -0
- /package/dist/calcite/{p-8017c381.js.map → p-35b5133a.js.map} +0 -0
- /package/dist/calcite/{p-a3199c3d.entry.js.map → p-368971a8.entry.js.map} +0 -0
- /package/dist/calcite/{p-1964b713.js.map → p-384ed57e.js.map} +0 -0
- /package/dist/calcite/{p-6b60ac58.js.map → p-396cf7b9.js.map} +0 -0
- /package/dist/calcite/{p-83505fa2.js.map → p-39a44c05.js.map} +0 -0
- /package/dist/calcite/{p-0a4bc826.js.map → p-39b2b525.js.map} +0 -0
- /package/dist/calcite/{p-11aa6144.entry.js.map → p-3a370acc.entry.js.map} +0 -0
- /package/dist/calcite/{p-6b044923.entry.js.map → p-3b191183.entry.js.map} +0 -0
- /package/dist/calcite/{p-c81176e0.js.map → p-3beb60a2.js.map} +0 -0
- /package/dist/calcite/{p-69c0d3ee.js.map → p-3c0ed68e.js.map} +0 -0
- /package/dist/calcite/{p-6c3caa76.entry.js.map → p-3dcaacfe.entry.js.map} +0 -0
- /package/dist/calcite/{p-a041e1ee.entry.js.map → p-3f6fb3c6.entry.js.map} +0 -0
- /package/dist/calcite/{p-59c8f6f9.js.map → p-45875887.js.map} +0 -0
- /package/dist/calcite/{p-9a3ca060.js.map → p-46fec1c0.js.map} +0 -0
- /package/dist/calcite/{p-959ecf7c.js.map → p-4a27a5e0.js.map} +0 -0
- /package/dist/calcite/{p-3958a197.js.map → p-4f9d16ac.js.map} +0 -0
- /package/dist/calcite/{p-0461575b.js.map → p-509dc442.js.map} +0 -0
- /package/dist/calcite/{p-dcaff678.entry.js.map → p-50be0283.entry.js.map} +0 -0
- /package/dist/calcite/{p-56852be9.js.map → p-52d1ce74.js.map} +0 -0
- /package/dist/calcite/{p-d3ba3238.js.map → p-5328ecbe.js.map} +0 -0
- /package/dist/calcite/{p-404e78df.js.map → p-5554b144.js.map} +0 -0
- /package/dist/calcite/{p-e1e85adf.js.map → p-56e4067f.js.map} +0 -0
- /package/dist/calcite/{p-d0c805d4.entry.js.map → p-5882e7d6.entry.js.map} +0 -0
- /package/dist/calcite/{p-7ed6a614.js.map → p-58e993e3.js.map} +0 -0
- /package/dist/calcite/{p-b26d922d.entry.js.map → p-591fe40a.entry.js.map} +0 -0
- /package/dist/calcite/{p-37c708ef.js.map → p-5bc9857a.js.map} +0 -0
- /package/dist/calcite/{p-f4bd74d6.js.map → p-5bd46af1.js.map} +0 -0
- /package/dist/calcite/{p-edce7351.js.map → p-5be0a4a7.js.map} +0 -0
- /package/dist/calcite/{p-8489ccde.entry.js.map → p-5d9e2353.entry.js.map} +0 -0
- /package/dist/calcite/{p-1394f7ac.js.map → p-5eb66736.js.map} +0 -0
- /package/dist/calcite/{p-4cc7573a.js.map → p-5fde8f5e.js.map} +0 -0
- /package/dist/calcite/{p-43acc768.entry.js.map → p-63c6a6b9.entry.js.map} +0 -0
- /package/dist/calcite/{p-0526a056.js.map → p-66681f87.js.map} +0 -0
- /package/dist/calcite/{p-877a7510.js.map → p-67501ae9.js.map} +0 -0
- /package/dist/calcite/{p-3bb89bfa.entry.js.map → p-68d5d979.entry.js.map} +0 -0
- /package/dist/calcite/{p-b036c99e.js.map → p-6bb7f3c4.js.map} +0 -0
- /package/dist/calcite/{p-e1975115.entry.js.map → p-6db4b794.entry.js.map} +0 -0
- /package/dist/calcite/{p-b5f9b02f.js.map → p-70603fb2.js.map} +0 -0
- /package/dist/calcite/{p-287b2256.entry.js.map → p-75df9bd9.entry.js.map} +0 -0
- /package/dist/calcite/{p-7879b5ac.entry.js.map → p-7c077a62.entry.js.map} +0 -0
- /package/dist/calcite/{p-3e2b901e.entry.js.map → p-7cc5e113.entry.js.map} +0 -0
- /package/dist/calcite/{p-a8d238e1.js.map → p-7d1ba59b.js.map} +0 -0
- /package/dist/calcite/{p-117c164b.entry.js.map → p-7db0ed82.entry.js.map} +0 -0
- /package/dist/calcite/{p-f9cd0648.js.map → p-7df55640.js.map} +0 -0
- /package/dist/calcite/{p-91ee4a87.js.map → p-82f21b03.js.map} +0 -0
- /package/dist/calcite/{p-fcdd5bde.entry.js.map → p-83055880.entry.js.map} +0 -0
- /package/dist/calcite/{p-47342fa4.entry.js.map → p-866438b0.entry.js.map} +0 -0
- /package/dist/calcite/{p-587a510b.js.map → p-88461d3c.js.map} +0 -0
- /package/dist/calcite/{p-a0c8a148.js.map → p-8b0ed781.js.map} +0 -0
- /package/dist/calcite/{p-61785d7b.entry.js.map → p-8b2df8aa.entry.js.map} +0 -0
- /package/dist/calcite/{p-7fe99255.js.map → p-9009c0a1.js.map} +0 -0
- /package/dist/calcite/{p-3c2ff033.js.map → p-91c9f683.js.map} +0 -0
- /package/dist/calcite/{p-b3e7b2dd.entry.js.map → p-91ec6542.entry.js.map} +0 -0
- /package/dist/calcite/{p-4d44f88e.js.map → p-94d1e684.js.map} +0 -0
- /package/dist/calcite/{p-d6531aa4.entry.js.map → p-95876f84.entry.js.map} +0 -0
- /package/dist/calcite/{p-eb49e78d.entry.js.map → p-95ffad55.entry.js.map} +0 -0
- /package/dist/calcite/{p-16730cd5.js.map → p-9621ebf7.js.map} +0 -0
- /package/dist/calcite/{p-f7f5fa70.entry.js.map → p-974209b6.entry.js.map} +0 -0
- /package/dist/calcite/{p-f2196506.entry.js.map → p-9b557aba.entry.js.map} +0 -0
- /package/dist/calcite/{p-a12a85c3.entry.js.map → p-9c7f7d1a.entry.js.map} +0 -0
- /package/dist/calcite/{p-af235230.js.map → p-9cbb98ff.js.map} +0 -0
- /package/dist/calcite/{p-f042414e.js.map → p-a11279ab.js.map} +0 -0
- /package/dist/calcite/{p-cc2b3b3d.js.map → p-a12dfe9b.js.map} +0 -0
- /package/dist/calcite/{p-a3d7b7a5.js.map → p-a18346a6.js.map} +0 -0
- /package/dist/calcite/{p-5174bbfb.entry.js.map → p-a257d291.entry.js.map} +0 -0
- /package/dist/calcite/{p-69cc9499.js.map → p-a44373b6.js.map} +0 -0
- /package/dist/calcite/{p-3a653c21.js.map → p-a5ae1cbe.js.map} +0 -0
- /package/dist/calcite/{p-8533c6ea.js.map → p-a5bdaff6.js.map} +0 -0
- /package/dist/calcite/{p-4193cc94.js.map → p-a6e34d32.js.map} +0 -0
- /package/dist/calcite/{p-d10e10a5.entry.js.map → p-a967e594.entry.js.map} +0 -0
- /package/dist/calcite/{p-70058994.js.map → p-a98a05f3.js.map} +0 -0
- /package/dist/calcite/{p-4897455e.js.map → p-aa70bd73.js.map} +0 -0
- /package/dist/calcite/{p-657ba827.js.map → p-ac6a0ca6.js.map} +0 -0
- /package/dist/calcite/{p-5c792ff3.js.map → p-b4918bf9.js.map} +0 -0
- /package/dist/calcite/{p-9d1d246c.entry.js.map → p-b4bf01aa.entry.js.map} +0 -0
- /package/dist/calcite/{p-fea31e48.js.map → p-bad8b453.js.map} +0 -0
- /package/dist/calcite/{p-cc517f77.entry.js.map → p-bc4f28d1.entry.js.map} +0 -0
- /package/dist/calcite/{p-b4d0a340.js.map → p-bd159809.js.map} +0 -0
- /package/dist/calcite/{p-370aec39.entry.js.map → p-bf7ab8a0.entry.js.map} +0 -0
- /package/dist/calcite/{p-c45f11e0.entry.js.map → p-c068329f.entry.js.map} +0 -0
- /package/dist/calcite/{p-a026258e.js.map → p-c201b87f.js.map} +0 -0
- /package/dist/calcite/{p-a24bddbc.entry.js.map → p-c4e5503b.entry.js.map} +0 -0
- /package/dist/calcite/{p-8b37f75e.js.map → p-c5269d0a.js.map} +0 -0
- /package/dist/calcite/{p-cd39f60b.entry.js.map → p-c68edd8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-b24ed14f.js.map → p-c9869e5b.js.map} +0 -0
- /package/dist/calcite/{p-d54b5018.entry.js.map → p-cae5eaed.entry.js.map} +0 -0
- /package/dist/calcite/{p-415ec5f6.entry.js.map → p-cbea860a.entry.js.map} +0 -0
- /package/dist/calcite/{p-3fa4c3ad.js.map → p-cc5b2e58.js.map} +0 -0
- /package/dist/calcite/{p-c7dbe7c5.entry.js.map → p-ced451de.entry.js.map} +0 -0
- /package/dist/calcite/{p-97ee7478.entry.js.map → p-cf4fd512.entry.js.map} +0 -0
- /package/dist/calcite/{p-06f11815.js.map → p-d035fbd6.js.map} +0 -0
- /package/dist/calcite/{p-5cbd3a25.js.map → p-d39daf5b.js.map} +0 -0
- /package/dist/calcite/{p-af84403b.js.map → p-d655f9ba.js.map} +0 -0
- /package/dist/calcite/{p-0417f911.entry.js.map → p-db3493cb.entry.js.map} +0 -0
- /package/dist/calcite/{p-5cda582e.js.map → p-dbd096e2.js.map} +0 -0
- /package/dist/calcite/{p-c2cb2363.js.map → p-dca4568f.js.map} +0 -0
- /package/dist/calcite/{p-46d24f7e.entry.js.map → p-e02f897f.entry.js.map} +0 -0
- /package/dist/calcite/{p-35292e02.entry.js.map → p-e62df9ef.entry.js.map} +0 -0
- /package/dist/calcite/{p-a14fb495.entry.js.map → p-e64691a3.entry.js.map} +0 -0
- /package/dist/calcite/{p-b449ad3e.js.map → p-e788e3a4.js.map} +0 -0
- /package/dist/calcite/{p-9746b002.entry.js.map → p-e94faf39.entry.js.map} +0 -0
- /package/dist/calcite/{p-5914a2eb.js.map → p-ebd3d6fe.js.map} +0 -0
- /package/dist/calcite/{p-955e5eac.entry.js.map → p-eccbaace.entry.js.map} +0 -0
- /package/dist/calcite/{p-180d7fd5.js.map → p-f07212b8.js.map} +0 -0
- /package/dist/calcite/{p-b59c892f.js.map → p-f1dc5b7f.js.map} +0 -0
- /package/dist/calcite/{p-78f33d5e.js.map → p-f21908c0.js.map} +0 -0
- /package/dist/calcite/{p-0b27ac0c.js.map → p-f29b8ca6.js.map} +0 -0
- /package/dist/calcite/{p-20182f83.entry.js.map → p-f320f004.entry.js.map} +0 -0
- /package/dist/calcite/{p-fecc9518.js.map → p-f37394ae.js.map} +0 -0
- /package/dist/calcite/{p-f5af53ee.entry.js.map → p-f452786c.entry.js.map} +0 -0
- /package/dist/calcite/{p-ec33f479.js.map → p-f4e78a16.js.map} +0 -0
- /package/dist/calcite/{p-f6db8b62.js.map → p-f6e84612.js.map} +0 -0
- /package/dist/calcite/{p-683d77d0.entry.js.map → p-f96ab98e.entry.js.map} +0 -0
- /package/dist/calcite/{p-6f5664ce.entry.js.map → p-fce676a1.entry.js.map} +0 -0
- /package/dist/calcite/{p-5e64c1ae.js.map → p-fd3d6c96.js.map} +0 -0
- /package/dist/calcite/{p-94f6a855.js.map → p-ff0b6383.js.map} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{h as e,r as t,c as i,H as s,e as o,g as r}from"./p-16730cd5.js";import{s as n,l as a}from"./p-69f8e91d.js";import{c}from"./p-78f33d5e.js";import{g as l}from"./p-4193cc94.js";import{c as h,d as p,n as d}from"./p-5599c42a.js";import{c as m,s as u,d as f,u as b}from"./p-8b37f75e.js";import{c as g,u as v,d as y}from"./p-fea31e48.js";import{s as x,a as z,c as w}from"./p-b036c99e.js";import"./p-5e64c1ae.js";import"./p-0526a056.js";import"./p-83505fa2.js";const k={stepBar:"step-bar",stepBarActive:"step-bar--active",stepBarComplete:"step-bar--complete",stepBarDisabled:"step-bar--disabled",stepBarError:"step-bar--error",stepBarInActive:"step-bar--inactive"};const I=({disabled:t,active:i,complete:s,error:o,key:r})=>e("svg",{class:{[k.stepBar]:true},key:r},e("rect",{class:{[k.stepBarActive]:i,[k.stepBarComplete]:s,[k.stepBarDisabled]:t,[k.stepBarError]:o,[k.stepBarInActive]:true},width:"100%",x:"0",y:"0"}));const C={s:120,m:180,l:200};const S={actionIcon:"action-icon",actionIconStart:"action-icon--start",actionIconEnd:"action-icon--end",actionContainer:"action-container",stepBarContainer:"step-bar-container",singleView:"single-view"};const A=':host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s:0.25rem;--calcite-internal-stepper-action-block-size:2.75rem;--calcite-internal-stepper-action-inline-size:2rem;--calcite-internal-step-bar-gap:0.25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s:0.5rem;--calcite-internal-stepper-action-block-size:3.25rem;--calcite-internal-stepper-action-inline-size:2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s:0.75rem;--calcite-internal-stepper-action-block-size:4rem;--calcite-internal-stepper-action-inline-size:3rem;--calcite-internal-step-bar-gap:0.75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container{display:grid;grid-template-areas:"items" "content";gap:0.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container{gap:0.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container{gap:0.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:0.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:0.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, 0.5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:0.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}';const E=class{constructor(e){t(this,e);this.calciteStepperItemChange=i(this,"calciteStepperItemChange",6);this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",6);this.enabledItems=[];this.itemMap=new Map;this.items=[];this.mutationObserver=c("mutation",(()=>this.updateItems()));this.multipleViewMode=false;this.guid=`calcite-stepper-action-${l()}`;this.resizeObserver=c("resize",(e=>this.elWidth=e[0].contentRect.width));this.handleActionClick=e=>{const t=this.currentActivePosition;const i=e.target;if(i.getAttribute("data-position")==="start"){this.prevStep()}else{this.nextStep()}if(this.currentActivePosition&&t!==this.currentActivePosition&&!this.items[this.currentActivePosition].disabled){this.calciteStepperItemChange.emit()}};this.setContainerEl=e=>{this.containerEl=e};this.handleDefaultSlotChange=e=>{const t=n(e).filter((e=>e?.tagName==="CALCITE-STEPPER-ITEM"));this.items=t;this.setGridTemplateColumns(t);this.setStepperItemNumberingSystem()};this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.messages=undefined;this.numberingSystem=undefined;this.selectedItem=null;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.currentActivePosition=undefined;this.elWidth=undefined}handleItemPropChange(){this.updateItems()}numberingSystemChange(){this.setStepperItemNumberingSystem()}onMessagesChange(){}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true});this.updateItems();m(this);h(this)}async componentWillLoad(){await u(this)}componentDidLoad(){this.resizeObserver?.observe(this.containerEl);if(typeof this.currentActivePosition!=="number"){const e=this.getFirstEnabledStepperPosition();if(e===0){this.currentActivePosition=e}this.calciteInternalStepperItemChange.emit({position:e})}}disconnectedCallback(){this.resizeObserver?.disconnect();f(this);p(this);this.mutationObserver?.disconnect()}render(){return e(s,{"aria-label":this.messages.label,role:"region"},e("div",{class:{container:true,[S.singleView]:!this.multipleViewMode},ref:this.setContainerEl},!this.multipleViewMode&&this.layout==="horizontal"&&e("div",{class:{[S.stepBarContainer]:true}},this.items.map(((t,i)=>e(I,{active:i===this.currentActivePosition,complete:t.complete&&i!==this.currentActivePosition&&!t.error,disabled:t.disabled&&i!==this.currentActivePosition,error:t.error&&i!==this.currentActivePosition,key:i})))),e("div",{class:{[S.actionContainer]:true}},this.renderAction("start"),this.renderAction("end")),e("slot",{onSlotchange:this.handleDefaultSlotChange})))}calciteInternalStepperItemKeyEvent(e){const t=e.detail.item;const i=e.target;switch(t.key){case"ArrowDown":case"ArrowRight":a(this.enabledItems,i,"next");break;case"ArrowUp":case"ArrowLeft":a(this.enabledItems,i,"previous");break;case"Home":a(this.enabledItems,i,"first");break;case"End":a(this.enabledItems,i,"last");break}e.stopPropagation()}registerItem(e){const t=e.target;const{content:i,position:s}=e.detail;this.itemMap.set(t,{position:s,content:i});this.enabledItems=this.filterItems();e.stopPropagation()}updateItem(e){const{position:t}=e.detail;if(typeof t==="number"){this.currentActivePosition=t;this.selectedItem=e.target}this.calciteInternalStepperItemChange.emit({position:t})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const e=this.getEnabledStepIndex(this.currentActivePosition+1,"next");if(typeof e!=="number"){return}this.updateStep(e)}async prevStep(){const e=this.getEnabledStepIndex(this.currentActivePosition-1,"previous");if(typeof e!=="number"){return}this.updateStep(e)}async goToStep(e){const t=e-1;if(this.currentActivePosition!==t){this.updateStep(t)}}async startStep(){const e=this.getEnabledStepIndex(0,"next");if(typeof e!=="number"){return}this.updateStep(e)}async endStep(){const e=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof e!=="number"){return}this.updateStep(e)}effectiveLocaleChange(){b(this,this.effectiveLocale)}handlePositionChange(){o((()=>{this.determineActiveStepper(true)}))}handleElWidthChange(){o((()=>{this.determineActiveStepper()}))}updateItems(){this.el.querySelectorAll("calcite-stepper-item").forEach((e=>{e.icon=this.icon;e.numbered=this.numbered;e.layout=this.layout;e.scale=this.scale}))}determineActiveStepper(e=false){const t=this.items.length;if(!this.elWidth||!t||this.layout!=="horizontal"||t===1){return}const i=this.currentActivePosition||0;const s=t*this.getMinWidthOfStepperItem();const o=(t-1)*(parseInt(window.getComputedStyle(this.containerEl).rowGap)||0);if(this.elWidth<=s+o){this.multipleViewMode=false;this.items.forEach(((e,t)=>{if(t!==i){e.hidden=true}else{e.hidden=false;e.multipleViewMode=false}}))}else if(this.elWidth>s+o){if(this.multipleViewMode&&!e){return}this.multipleViewMode=true;this.setGridTemplateColumns(this.items);this.items.forEach((e=>{e.hidden=false;e.multipleViewMode=true}))}}getEnabledStepIndex(e,t="next"){const{items:i,currentActivePosition:s}=this;let o=e;while(i[o]?.disabled&&this.multipleViewMode){o=o+(t==="previous"?-1:1)}return o!==s&&o<i.length&&o>=0?o:null}updateStep(e){this.currentActivePosition=e;this.calciteInternalStepperItemChange.emit({position:e})}filterItems(){return this.items.filter((e=>!e.disabled))}setStepperItemNumberingSystem(){this.items.forEach((e=>{e.numberingSystem=this.numberingSystem}))}renderAction(t){const i=t==="start";const s=i?"chevron-left":"chevron-right";const{currentActivePosition:o,multipleViewMode:r,layout:n}=this;const a=this.items.length;const c=`${this.guid}-${i?"start":"end"}`;return n==="horizontal"&&!r?e("calcite-action",{alignment:"center",appearance:"transparent",class:{[S.actionIcon]:true},compact:true,"data-position":t,disabled:o===0&&i||o===a-1&&!i,icon:s,iconFlipRtl:true,id:c,onClick:this.handleActionClick,scale:this.scale,text:i?this.messages.previousStep:this.messages.nextStep}):null}getFirstEnabledStepperPosition(){const e=this.items.findIndex((e=>!e.disabled));if(e>-1){return e}return 0}setGridTemplateColumns(e){const t=this.getMinWidthOfStepperItem();const i=Array(e.length).fill(`minmax(${t}px, 1fr)`).join(" ");this.containerEl.style.gridTemplateAreas=i;this.containerEl.style.gridTemplateColumns=i}getMinWidthOfStepperItem(){return C[this.scale]}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{icon:["handleItemPropChange"],layout:["handleItemPropChange"],numbered:["handleItemPropChange"],scale:["handleItemPropChange"],numberingSystem:["numberingSystemChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],currentActivePosition:["handlePositionChange"],elWidth:["handleElWidthChange"]}}};E.style=A;const j={container:"container",stepperItemContent:"stepper-item-content",stepperItemDescription:"stepper-item-description",stepperItemHeader:"stepper-item-header",stepperItemHeading:"stepper-item-heading",stepperItemHeaderText:"stepper-item-header-text",stepperItemNumber:"stepper-item-number",visuallyHidden:"visually-hidden"};const L=":host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;--calcite-internal-stepper-action-inline-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;--calcite-internal-stepper-action-inline-size:2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;--calcite-internal-stepper-action-inline-size:3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected][multiple-view-mode]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal]:not([multiple-view-mode])) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem)}:host([layout=horizontal][error]:not([multiple-view-mode])) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal][error]:not([multiple-view-mode])) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal][error][selected]:not([multiple-view-mode])),:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal][error][selected]:not([multiple-view-mode])) .stepper-item-heading,:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const P=class{constructor(e){t(this,e);this.calciteInternalStepperItemKeyEvent=i(this,"calciteInternalStepperItemKeyEvent",6);this.calciteInternalStepperItemSelect=i(this,"calciteInternalStepperItemSelect",6);this.calciteInternalUserRequestedStepperItemSelect=i(this,"calciteInternalUserRequestedStepperItemSelect",6);this.calciteInternalStepperItemRegister=i(this,"calciteInternalStepperItemRegister",6);this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el){switch(e.key){case" ":case"Enter":this.emitUserRequestedItem();e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e});e.preventDefault();break}}};this.handleItemClick=e=>{if(this.disabled||this.layout==="horizontal"&&e.composedPath().some((e=>e.classList?.contains("stepper-item-content")))){return}this.emitUserRequestedItem()};this.emitUserRequestedItem=()=>{this.emitRequestedItem();if(!this.disabled){const e=this.itemPosition;this.calciteInternalUserRequestedStepperItemSelect.emit({position:e})}};this.emitRequestedItem=()=>{if(!this.disabled){const e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}};this.selected=false;this.complete=false;this.error=false;this.disabled=false;this.heading=undefined;this.description=undefined;this.iconFlipRtl=false;this.numberingSystem=undefined;this.icon=false;this.layout=undefined;this.messages=undefined;this.numbered=false;this.scale="m";this.multipleViewMode=false;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}selectedHandler(){if(this.selected){this.emitRequestedItem()}}disabledWatcher(){this.registerStepperItem()}onMessagesChange(){}effectiveLocaleWatcher(e){d.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:false};b(this,this.effectiveLocale)}connectedCallback(){g(this);h(this);m(this)}async componentWillLoad(){x(this);this.parentStepperEl=this.el.parentElement;this.itemPosition=this.getItemPosition();this.registerStepperItem();if(this.selected){this.emitRequestedItem()}await u(this)}componentDidLoad(){z(this)}componentDidRender(){v(this,true)}disconnectedCallback(){y(this);p(this);f(this)}render(){return e(s,{"aria-current":this.selected?"step":"false",onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},e("div",{class:j.container},this.complete&&e("span",{"aria-live":"polite",class:j.visuallyHidden},this.messages.complete),e("div",{class:j.stepperItemHeader,tabIndex:this.layout==="horizontal"&&!this.disabled&&this.multipleViewMode?0:null,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?e("div",{class:j.stepperItemNumber},this.renderNumbers(),"."):null,e("div",{class:j.stepperItemHeaderText},e("span",{class:j.stepperItemHeading},this.heading),e("span",{class:j.stepperItemDescription},this.description))),e("div",{class:j.stepperItemContent},e("slot",null))))}updateActiveItemOnChange(e){if(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl)){this.selectedPosition=e.detail.position;this.determineSelectedItem()}}async setFocus(){await w(this);(this.layout==="vertical"?this.el:this.headerEl)?.focus()}renderIcon(){let t="circle";if(this.selected&&(this.multipleViewMode||!this.error&&!this.complete)){t="circleF"}else if(this.error){t="exclamationMarkCircleF"}else if(this.complete){t="checkCircleF"}return e("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:t,scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){d.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:false};return d.numberFormatter.format(this.itemPosition+1)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};P.style=L;export{E as calcite_stepper,P as calcite_stepper_item};
|
|
7
|
-
//# sourceMappingURL=p-f2196506.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{c as t}from"./p-78f33d5e.js";const n=["lang","role","aria-expanded"];const o=new Map;let c;function e(t,o,c=false){const{el:e}=t;const s=c?t.globalAttributes:{};o.filter((t=>!!n.includes(t)&&!!e.hasAttribute(t))).forEach((t=>{const n=e.getAttribute(t);if(n!==null){s[t]=n}}));t.globalAttributes=s}function s(t){t.forEach((({target:t})=>{const[n,c]=o.get(t);e(n,c.attributeFilter)}))}function a(n,a){const{el:f}=n;const i={attributeFilter:a};o.set(f,[n,i]);e(n,a,true);if(!c){c=t("mutation",s)}c.observe(f,i)}function f(t){o.delete(t.el);s(c.takeRecords());c.disconnect();for(const[t,[,n]]of o.entries()){c.observe(t,n)}}export{f as u,a as w};
|
|
7
|
-
//# sourceMappingURL=p-f3315cb3.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["allowedGlobalAttributes","elementToComponentAndObserverOptionsMap","Map","mutationObserver","updateGlobalAttributes","component","attributeFilter","reuseAttributes","el","updatedAttributes","globalAttributes","filter","attr","includes","hasAttribute","forEach","value","getAttribute","processMutations","mutations","target","options","get","watchGlobalAttributes","observerOptions","set","createObserver","observe","unwatchGlobalAttributes","delete","takeRecords","disconnect","element","entries"],"sources":["src/utils/globalAttributes.ts"],"sourcesContent":["import { createObserver } from \"./observers\";\n\ntype AttributeObject = { [k: string]: any };\ntype AllowedGlobalAttribute = \"lang\" | \"role\" | \"aria-expanded\";\nconst allowedGlobalAttributes = [\"lang\", \"role\", \"aria-expanded\"];\n\nconst elementToComponentAndObserverOptionsMap = new Map<\n HTMLElement,\n [GlobalAttrComponent, { attributeFilter: AllowedGlobalAttribute[] }]\n>();\n\nlet mutationObserver: MutationObserver;\n\nfunction updateGlobalAttributes(\n component: GlobalAttrComponent,\n attributeFilter: AllowedGlobalAttribute[],\n reuseAttributes = false\n): void {\n const { el } = component;\n const updatedAttributes: AttributeObject = reuseAttributes ? component.globalAttributes : {};\n\n attributeFilter\n .filter((attr) => !!allowedGlobalAttributes.includes(attr) && !!el.hasAttribute(attr))\n .forEach((attr) => {\n const value = el.getAttribute(attr);\n\n if (value !== null) {\n updatedAttributes[attr] = value;\n }\n });\n\n component.globalAttributes = updatedAttributes;\n}\n\nfunction processMutations(mutations: MutationRecord[]): void {\n mutations.forEach(({ target }) => {\n const [component, options] = elementToComponentAndObserverOptionsMap.get(target as HTMLElement);\n updateGlobalAttributes(component, options.attributeFilter);\n });\n}\n\n/**\n * Watches global attributes of a component.\n *\n * Derived from: https://gist.github.com/willmartian/b4dd6b57d71dd0438fb9e7c6f4048578\n */\nexport interface GlobalAttrComponent {\n /**\n * The host element.\n */\n readonly el: HTMLElement;\n\n /**\n * The object that stores global attributes to apply internally during rendering.\n *\n * This prop should use the `@State` decorator.\n */\n globalAttributes: AttributeObject;\n}\n\n/**\n * Helper to set up listening for changes to global attributes.\n *\n * render(): VNode {\n * return (<Host>\n * <ul {...this.globalAttributes}></div>\n * </Host>);\n * }\n *\n * @param component\n * @param attributeFilter\n */\nexport function watchGlobalAttributes(component: GlobalAttrComponent, attributeFilter: AllowedGlobalAttribute[]): void {\n const { el } = component;\n const observerOptions = { attributeFilter };\n\n elementToComponentAndObserverOptionsMap.set(el, [component, observerOptions]);\n\n updateGlobalAttributes(component, attributeFilter, true);\n\n if (!mutationObserver) {\n mutationObserver = createObserver(\"mutation\", processMutations);\n }\n\n mutationObserver.observe(el, observerOptions);\n}\n\n/**\n * Helper remove listening for changes to inherited attributes.\n *\n * @param component\n */\nexport function unwatchGlobalAttributes(component: GlobalAttrComponent): void {\n elementToComponentAndObserverOptionsMap.delete(component.el);\n\n // we explicitly process queued mutations and disconnect and reconnect\n // the observer until MutationObserver gets an `unobserve` method\n // see https://github.com/whatwg/dom/issues/126\n processMutations(mutationObserver.takeRecords());\n mutationObserver.disconnect();\n for (const [element, [, observerOptions]] of elementToComponentAndObserverOptionsMap.entries()) {\n mutationObserver.observe(element, observerOptions);\n }\n}\n"],"mappings":";;;;;oCAIA,MAAMA,EAA0B,CAAC,OAAQ,OAAQ,iBAEjD,MAAMC,EAA0C,IAAIC,IAKpD,IAAIC,EAEJ,SAASC,EACPC,EACAC,EACAC,EAAkB,OAElB,MAAMC,GAAEA,GAAOH,EACf,MAAMI,EAAqCF,EAAkBF,EAAUK,iBAAmB,GAE1FJ,EACGK,QAAQC,KAAWZ,EAAwBa,SAASD,MAAWJ,EAAGM,aAAaF,KAC/EG,SAASH,IACR,MAAMI,EAAQR,EAAGS,aAAaL,GAE9B,GAAII,IAAU,KAAM,CAClBP,EAAkBG,GAAQI,C,KAIhCX,EAAUK,iBAAmBD,CAC/B,CAEA,SAASS,EAAiBC,GACxBA,EAAUJ,SAAQ,EAAGK,aACnB,MAAOf,EAAWgB,GAAWpB,EAAwCqB,IAAIF,GACzEhB,EAAuBC,EAAWgB,EAAQf,gBAAgB,GAE9D,C,SAiCgBiB,EAAsBlB,EAAgCC,GACpE,MAAME,GAAEA,GAAOH,EACf,MAAMmB,EAAkB,CAAElB,mBAE1BL,EAAwCwB,IAAIjB,EAAI,CAACH,EAAWmB,IAE5DpB,EAAuBC,EAAWC,EAAiB,MAEnD,IAAKH,EAAkB,CACrBA,EAAmBuB,EAAe,WAAYR,E,CAGhDf,EAAiBwB,QAAQnB,EAAIgB,EAC/B,C,SAOgBI,EAAwBvB,GACtCJ,EAAwC4B,OAAOxB,EAAUG,IAKzDU,EAAiBf,EAAiB2B,eAClC3B,EAAiB4B,aACjB,IAAK,MAAOC,GAAS,CAAGR,MAAqBvB,EAAwCgC,UAAW,CAC9F9B,EAAiBwB,QAAQK,EAASR,E,CAEtC,Q"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{d as e}from"./p-8533c6ea.js";import"./p-16730cd5.js";import"./p-d50641ce.js";import"./p-69f8e91d.js";import"./p-4193cc94.js";import"./p-5e64c1ae.js";import"./p-fea31e48.js";import"./p-83505fa2.js";import"./p-0526a056.js";import"./p-4d44f88e.js";import"./p-56852be9.js";import"./p-b036c99e.js";import"./p-5599c42a.js";import"./p-78f33d5e.js";import"./p-edce7351.js";import"./p-d3ba3238.js";import"./p-8b37f75e.js";import"./p-5914a2eb.js";var o={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function e(o){return o+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(o,null,true);export default o;
|
|
7
|
-
//# sourceMappingURL=p-f4bd74d6.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as o,h as e,H as a,g as i}from"./p-16730cd5.js";import{c as s,d as n}from"./p-59c8f6f9.js";import{s as r}from"./p-69f8e91d.js";import{s as c,a as d,c as l}from"./p-b036c99e.js";import{c as p,d as h}from"./p-5599c42a.js";import{u,c as x,d as g,s as f}from"./p-8b37f75e.js";import{t as m,E as b}from"./p-70058994.js";import{c as w}from"./p-78f33d5e.js";import"./p-4193cc94.js";import"./p-5e64c1ae.js";import"./p-0526a056.js";import"./p-becba058.js";import"./p-959ecf7c.js";const y={actionGroupEnd:"action-group--end",container:"container"};const v={expandTooltip:"expand-tooltip"};const j=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-color-background);--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)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}:host([hidden]){display:none}[hidden]{display:none}";const k=class{constructor(e){t(this,e);this.calciteActionPadToggle=o(this,"calciteActionPadToggle",6);this.mutationObserver=w("mutation",(()=>this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))));this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const o=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{if(!o.includes(t)){t.menuOpen=false}}))}};this.toggleExpand=()=>{this.expanded=!this.expanded;this.calciteActionPadToggle.emit()};this.setExpandToggleRef=t=>{this.expandToggleEl=t};this.handleDefaultSlotChange=t=>{const o=r(t).filter((t=>t?.matches("calcite-action-group")));this.setGroupLayout(o)};this.handleTooltipSlotChange=t=>{const o=r(t).filter((t=>t?.matches("calcite-tooltip")));this.expandTooltip=o[0]};this.actionsEndGroupLabel=undefined;this.expandDisabled=false;this.expanded=false;this.layout="vertical";this.position=undefined;this.scale=undefined;this.messages=undefined;this.messageOverrides=undefined;this.expandTooltip=undefined;this.effectiveLocale="";this.defaultMessages=undefined}expandedHandler(t){m({el:this.el,expanded:t})}layoutHandler(){this.updateGroups()}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){s(this);p(this);x(this)}disconnectedCallback(){h(this);g(this);n(this)}async componentWillLoad(){c(this);const{el:t,expanded:o}=this;m({el:t,expanded:o});await f(this)}componentDidLoad(){d(this)}async setFocus(){await l(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:o,messages:a,el:i,position:s,toggleExpand:n,scale:r,layout:c,actionsEndGroupLabel:d}=this;const l=!o?e(b,{collapseText:a.collapse,el:i,expandText:a.expand,expanded:t,position:s,scale:r,toggle:n,tooltip:this.expandTooltip,ref:this.setExpandToggleRef}):null;return l?e("calcite-action-group",{class:y.actionGroupEnd,label:d,layout:c,scale:r},e("slot",{name:v.expandTooltip,onSlotchange:this.handleTooltipSlotChange}),l):null}render(){return e(a,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},e("div",{class:y.container},e("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup()))}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{expanded:["expandedHandler"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=j;export{k as calcite_action_pad};
|
|
7
|
-
//# sourceMappingURL=p-f5af53ee.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{d as e}from"./p-8533c6ea.js";import"./p-16730cd5.js";import"./p-d50641ce.js";import"./p-69f8e91d.js";import"./p-4193cc94.js";import"./p-5e64c1ae.js";import"./p-fea31e48.js";import"./p-83505fa2.js";import"./p-0526a056.js";import"./p-4d44f88e.js";import"./p-56852be9.js";import"./p-b036c99e.js";import"./p-5599c42a.js";import"./p-78f33d5e.js";import"./p-edce7351.js";import"./p-d3ba3238.js";import"./p-8b37f75e.js";import"./p-5914a2eb.js";function r(e){return e>1&&e<5&&~~(e/10)!==1}function t(e,t,n,s){var m=e+" ";switch(n){case"s":return t||s?"pár sekund":"pár sekundami";case"m":return t?"minuta":s?"minutu":"minutou";case"mm":if(t||s){return m+(r(e)?"minuty":"minut")}return m+"minutami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":if(t||s){return m+(r(e)?"hodiny":"hodin")}return m+"hodinami";case"d":return t||s?"den":"dnem";case"dd":if(t||s){return m+(r(e)?"dny":"dní")}return m+"dny";case"M":return t||s?"měsíc":"měsícem";case"MM":if(t||s){return m+(r(e)?"měsíce":"měsíců")}return m+"měsíci";case"y":return t||s?"rok":"rokem";case"yy":if(t||s){return m+(r(e)?"roky":"let")}return m+"lety"}}var n={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function e(r){return r+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(n,null,true);export default n;
|
|
7
|
-
//# sourceMappingURL=p-f6db8b62.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,c as t,h as i,F as n,g as a}from"./p-16730cd5.js";import{c as s,d as o}from"./p-59c8f6f9.js";import{e as c,g as r,t as l}from"./p-69f8e91d.js";import{c as d,d as h}from"./p-5599c42a.js";import{u as p,c as g,s as f,d as m}from"./p-8b37f75e.js";import{H as u,c as x}from"./p-ec33f479.js";import{c as v}from"./p-78f33d5e.js";import"./p-4193cc94.js";import"./p-5e64c1ae.js";import"./p-0526a056.js";const b={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info"};const y={close:"x"};const k={thumbnail:"thumbnail"};const z=":host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a:focus){outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}";const w=class{constructor(i){e(this,i);this.calciteTipDismiss=t(this,"calciteTipDismiss",6);this.hideTip=()=>{this.closed=true;this.calciteTipDismiss.emit()};this.closed=false;this.closeDisabled=false;this.heading=undefined;this.headingLevel=undefined;this.selected=false;this.messages=undefined;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){p(this,this.effectiveLocale)}connectedCallback(){s(this);d(this);g(this)}async componentWillLoad(){await f(this)}disconnectedCallback(){o(this);h(this);m(this)}renderHeader(){const{heading:e,headingLevel:t,el:n}=this;const a=n.closest("calcite-tip-manager")?.headingLevel;const s=a?x(a+1):null;const o=t||s;return e?i("header",{class:b.header},i(u,{class:b.heading,level:o},e)):null}renderDismissButton(){const{closeDisabled:e,hideTip:t}=this;return!e?i("calcite-action",{class:b.close,icon:y.close,onClick:t,scale:"l",text:this.messages.close}):null}renderImageFrame(){const{el:e}=this;return c(e,k.thumbnail)?i("div",{class:b.imageFrame,key:"thumbnail"},i("slot",{name:k.thumbnail})):null}renderInfoNode(){return i("div",{class:b.info},i("slot",null))}renderContent(){return i("div",{class:b.content},this.renderImageFrame(),this.renderInfoNode())}render(){return i(n,null,i("article",{class:b.container},this.renderHeader(),this.renderContent()),this.renderDismissButton())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=z;const C=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}";const L=class{constructor(t){e(this,t);this.groupTitle=undefined}render(){return i("slot",null)}};L.style=C;const j={header:"header",heading:"heading",close:"close",container:"container",tipContainer:"tip-container",tipContainerAdvancing:"tip-container--advancing",tipContainerRetreating:"tip-container--retreating",pagination:"pagination",pagePosition:"page-position",pageNext:"page-next",pagePrevious:"page-previous"};const T={chevronLeft:"chevron-left",chevronRight:"chevron-right",close:"x"};const H=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:1rem;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}:host([hidden]){display:none}[hidden]{display:none}";const I=class{constructor(i){e(this,i);this.calciteTipManagerClose=t(this,"calciteTipManagerClose",6);this.mutationObserver=v("mutation",(()=>this.setUpTips()));this.hideTipManager=()=>{this.closed=true;this.calciteTipManagerClose.emit()};this.previousClicked=()=>{this.previousTip()};this.nextClicked=()=>{this.nextTip()};this.tipManagerKeyDownHandler=e=>{if(e.target!==this.container){return}switch(e.key){case"ArrowRight":e.preventDefault();this.nextTip();break;case"ArrowLeft":e.preventDefault();this.previousTip();break;case"Home":e.preventDefault();this.selectedIndex=0;break;case"End":e.preventDefault();this.selectedIndex=this.total-1;break}};this.storeContainerRef=e=>{this.container=e};this.closed=false;this.headingLevel=undefined;this.messages=undefined;this.messageOverrides=undefined;this.selectedIndex=undefined;this.tips=undefined;this.total=undefined;this.direction=undefined;this.groupTitle=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}closedChangeHandler(){this.direction=null}onMessagesChange(){}selectedChangeHandler(){this.showSelectedTip();this.updateGroupTitle()}async effectiveLocaleChange(){await p(this,this.effectiveLocale);this.updateGroupTitle()}connectedCallback(){d(this);g(this);this.setUpTips();this.mutationObserver?.observe(this.el,{childList:true,subtree:true})}async componentWillLoad(){await f(this);this.updateGroupTitle()}disconnectedCallback(){this.mutationObserver?.disconnect();h(this);m(this)}async nextTip(){this.direction="advancing";const e=this.selectedIndex+1;this.selectedIndex=(e+this.total)%this.total}async previousTip(){this.direction="retreating";const e=this.selectedIndex-1;this.selectedIndex=(e+this.total)%this.total}setUpTips(){const e=Array.from(this.el.querySelectorAll("calcite-tip"));this.total=e.length;if(this.total===0){return}const t=this.el.querySelector("calcite-tip[selected]");this.tips=e;this.selectedIndex=t?e.indexOf(t):0;e.forEach((e=>{e.closeDisabled=true}));this.showSelectedTip()}showSelectedTip(){this.tips.forEach(((e,t)=>{const i=this.selectedIndex===t;e.selected=i;e.hidden=!i}))}updateGroupTitle(){if(this.tips){const e=this.tips[this.selectedIndex];const t=e.closest("calcite-tip-group");this.groupTitle=t?.groupTitle||this.messages?.defaultGroupTitle}}renderPagination(){const e=r(this.el);const{selectedIndex:t,tips:n,total:a,messages:s}=this;const o=s.next;const c=s.previous;const l=s.defaultPaginationLabel;return n.length>1?i("footer",{class:j.pagination},i("calcite-action",{class:j.pagePrevious,icon:e==="ltr"?T.chevronLeft:T.chevronRight,onClick:this.previousClicked,scale:"m",text:c}),i("span",{class:j.pagePosition},`${l} ${t+1}/${a}`),i("calcite-action",{class:j.pageNext,icon:e==="ltr"?T.chevronRight:T.chevronLeft,onClick:this.nextClicked,scale:"m",text:o})):null}render(){const{closed:e,direction:t,headingLevel:n,groupTitle:a,selectedIndex:s,messages:o,total:c}=this;const r=o.close;if(c===0){return null}return i("section",{"aria-hidden":l(e),class:j.container,hidden:e,onKeyDown:this.tipManagerKeyDownHandler,tabIndex:0,ref:this.storeContainerRef},i("header",{class:j.header},i(u,{class:j.heading,level:n},a),i("calcite-action",{class:j.close,onClick:this.hideTipManager,scale:"m",text:r},i("calcite-icon",{icon:T.close,scale:"m"}))),i("div",{class:{[j.tipContainer]:true,[j.tipContainerAdvancing]:!e&&t==="advancing",[j.tipContainerRetreating]:!e&&t==="retreating"},key:s,tabIndex:0},i("slot",null)),this.renderPagination())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{closed:["closedChangeHandler"],messageOverrides:["onMessagesChange"],selectedIndex:["selectedChangeHandler"],effectiveLocale:["effectiveLocaleChange"]}}};I.style=H;export{w as calcite_tip,L as calcite_tip_group,I as calcite_tip_manager};
|
|
7
|
-
//# sourceMappingURL=p-f7f5fa70.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{d as t}from"./p-8533c6ea.js";import"./p-16730cd5.js";import"./p-d50641ce.js";import"./p-69f8e91d.js";import"./p-4193cc94.js";import"./p-5e64c1ae.js";import"./p-fea31e48.js";import"./p-83505fa2.js";import"./p-0526a056.js";import"./p-4d44f88e.js";import"./p-56852be9.js";import"./p-b036c99e.js";import"./p-5599c42a.js";import"./p-78f33d5e.js";import"./p-edce7351.js";import"./p-d3ba3238.js";import"./p-8b37f75e.js";import"./p-5914a2eb.js";var m={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function t(m){return m},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}};t.locale(m,null,true);export default m;
|
|
7
|
-
//# sourceMappingURL=p-f9c78b4c.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{a as n}from"./p-16730cd5.js";import{n as t,g as r}from"./p-5599c42a.js";function e(n,t,r){if(!n){return}const e=n.getTime();const o=!(t instanceof Date)||e>=t.getTime();const s=!(r instanceof Date)||e<=r.getTime();return o&&s}function o(n,t,r){if(!(n instanceof Date)){return null}const e=n.getTime();const o=t instanceof Date&&e<t.getTime();const s=r instanceof Date&&e>r.getTime();if(o){return t}if(s){return r}return n}function s(n,t=false){if(n instanceof Date){return n}if(!n||typeof n!=="string"){return null}const r=n.split(/[: T-]/).map(parseFloat);const e=new Date(r[0],(r[1]||1)-1,r[2]||1);e.setFullYear(r[0]);if(isNaN(e.getTime())){throw new Error(`Invalid ISO 8601 date: "${n}"`)}if(t){return g(e)}return e}function a(n,t){if(!t){return null}const{separator:r}=t;const e=m(n,t);const{day:o,month:s}=e;const a=c(e.year,t);const i=new Date(a,s,o);i.setFullYear(a);const u=o>0;const f=s>-1;const d=!isNaN(i.getTime());const l=n.split(r).filter((n=>n)).length>2;const D=a.toString().length>0;if(u&&f&&d&&l&&D){return i}return null}function c(n,t){return u(n,t,"read")}function i(n,t){return u(n,t,"write")}function u(n,t,r){if(t["default-calendar"]!=="buddhist"){return n}const e=543;const o=e*(r==="read"?-1:1);return n+o}function f(n,r){const{separator:e,unitOrder:o}=r;const s=w(o);const a=n.split(e).map((n=>t.delocalize(n)));const c=a[s.indexOf("d")];const i=a[s.indexOf("m")];const u=a[s.indexOf("y")];return{day:c,month:i,year:u}}function d(n){if(n instanceof Date){return new Date(n.getTime()-n.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(n){const t=n.split("-");return{day:t[2],month:t[1],year:t[0]}}function D(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function p(n){const t=n.getMonth();const r=new Date(n);r.setMonth(t-1);if(t===r.getMonth()){return new Date(n.getFullYear(),t,0)}return r}function y(n){const t=n.getMonth();const r=new Date(n);r.setMonth(t+1);if((t+2)%7===r.getMonth()%7){return new Date(n.getFullYear(),t+2,0)}return r}function m(n,t){const{day:r,month:e,year:o}=f(n,t);return{day:parseInt(r),month:parseInt(e)-1,year:parseInt(o)}}function w(n){const t=["d","m","y"];const r=n.toLowerCase();return t.sort(((n,t)=>r.indexOf(n)-r.indexOf(t)))}function h(n,t){const r=n.getTime();const e=t.getTime();return(r-e)/(1e3*3600*24)}function g(n){n.setHours(23,59,59,999);return n}const I={};const j={};async function N(t){const e=r(t);if(I[e]){return I[e]}if(!j[e]){j[e]=fetch(n(`./assets/date-picker/nls/${e}.json`)).then((n=>n.json())).catch((()=>{console.error(`Translations for "${e}" not found or invalid, falling back to english`);return N("en")}))}const o=await j[e];I[e]=o;return o}function b(n){return n.map(((n,t)=>s(n,t===1)))}export{f as a,a as b,d as c,l as d,s as e,N as f,b as g,o as h,e as i,h as j,D as k,w as l,i as m,y as n,c as o,p,g as s};
|
|
7
|
-
//# sourceMappingURL=p-f9cd0648.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,H as s,g as a}from"./p-16730cd5.js";import{d as n,a as r,b as o,i as h,c as l,g as c,e as d,f as p,h as u}from"./p-f9cd0648.js";import{t as f}from"./p-69f8e91d.js";import{f as m,c as g,d as b,r as v,a as y,F as w}from"./p-af84403b.js";import{s as x,c as k,d as D,H as C}from"./p-d50641ce.js";import{c as I,d as z,u as A}from"./p-fea31e48.js";import{n as P}from"./p-0526a056.js";import{c as j,d as F}from"./p-4d44f88e.js";import{c as O,s as T,a as R}from"./p-b036c99e.js";import{n as E,c as H,d as M,b as S}from"./p-5599c42a.js";import{o as $}from"./p-5914a2eb.js";import{c as L,s as Y,d as B}from"./p-8b37f75e.js";import{c as W,d as q,a as _}from"./p-edce7351.js";import{g as N}from"./p-4193cc94.js";import{g as X}from"./p-56852be9.js";import"./p-5e64c1ae.js";import"./p-0b27ac0c.js";import"./p-83505fa2.js";import"./p-78f33d5e.js";const G={assistiveText:"assistive-text",menu:"menu-container",menuActive:"menu-container--active",toggleIcon:"toggle-icon"};function V(t){if(!t){return false}const{year:i}=n(t);return Number(i)<100}function K(t){const i=(new Date).getFullYear();const e=Math.floor(i/100)*100+t;return e}const J=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .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-z-index);border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:var(--calcite-z-index);margin-inline:1px;background-color:var(--calcite-color-foreground-1);padding-inline:0.625rem;inset-inline-start:0}.menu-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .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-z-index);border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}::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}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const Q=class{constructor(e){t(this,e);this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6);this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6);this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6);this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6);this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6);this.calciteInternalInputInputHandler=t=>{const i=t.target;const e=i.value;const s=this.parseNumerals(e);const a=this.formatNumerals(s);i.value=a;const{year:n}=r(e,this.localeData);if(n&&n.length<4){return}const l=o(e,this.localeData);if(h(l,this.min,this.max)){this.datePickerActiveDate=l}};this.calciteInternalInputBlurHandler=()=>{this.commitValue()};this.dialogId=`date-picker-dialog--${N()}`;this.focusOnOpen=false;this.lastBlurredInput="none";this.userChangedValue=false;this.openTransitionProp="opacity";this.valueAsDateChangedExternally=false;this.placeholderTextId=`calcite-input-date-picker-placeholder-${N()}`;this.onInputWrapperClick=()=>{if(this.range&&this.lastBlurredInput!=="none"&&this.open);else{this.open=!this.open}this.lastBlurredInput="none"};this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?m(i,t):null};this.setTransitionEl=t=>{this.transitionEl=t};this.setStartInput=t=>{this.startInput=t};this.setEndInput=t=>{this.endInput=t};this.deactivate=()=>{this.open=false;this.lastBlurredInput="none"};this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;if(i){return}if(e==="Enter"){this.commitValue();if(this.shouldFocusRangeEnd()){this.endInput?.setFocus()}else if(this.shouldFocusRangeStart()){this.startInput?.setFocus()}if(x(this)){t.preventDefault();this.restoreInputFocus()}}else if(e==="ArrowDown"){this.open=true;this.focusOnOpen=true;t.preventDefault()}else if(e==="Escape"){this.open=false;t.preventDefault();this.restoreInputFocus()}};this.startInputFocus=()=>{this.focusedInput="start"};this.startEndInputFocus=t=>{const i=t.relatedTarget;this.lastBlurredInput=i===this.startInput?"start":i===this.endInput?"end":"none"};this.endInputFocus=()=>{this.focusedInput="end"};this.setFloatingEl=t=>{this.floatingEl=t;g(this,this.referenceEl,this.floatingEl)};this.setStartWrapper=t=>{this.startWrapper=t;this.setReferenceEl()};this.setEndWrapper=t=>{this.endWrapper=t;this.setReferenceEl()};this.setDatePickerRef=t=>{this.datePickerEl=t;W(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:false,setReturnFocus:false}})};this.handleDateChange=t=>{if(this.range){return}t.stopPropagation();this.setValue(t.target.valueAsDate);this.localizeInputValues();this.restoreInputFocus()};this.handleDateRangeChange=t=>{if(!this.range){return}t.stopPropagation();const i=t.target.valueAsDate;this.setRangeValue(i);this.localizeInputValues();this.restoreInputFocus()};this.setInputValue=(t,i="start")=>{const e=this[`${i}Input`];if(!e){return}e.value=t};this.setRangeValue=t=>{if(!this.range){return}const{value:i}=this;const e=Array.isArray(i);const s=Array.isArray(t);const a=s?t[0]:null;let n=s?l(a):"";if(n){n=this.getNormalizedDate(n)}const r=s?t[1]:null;let o=s?l(r):"";if(o){o=this.getNormalizedDate(o)}const h=n||o?[n,o]:"";if(h===i){return}this.userChangedValue=true;this.value=h;this.valueAsDate=h?c(h):undefined;const d=this.calciteInputDatePickerChange.emit();if(d&&d.defaultPrevented){this.value=i;if(e){this.setInputValue(i[0],"start");this.setInputValue(i[1],"end")}else{this.value=i;this.setInputValue(i)}}};this.setValue=t=>{if(this.range){return}const i=this.value;let e=l(t);e=this.getNormalizedDate(e);if(e===i){return}this.userChangedValue=true;this.valueAsDate=e?d(e):undefined;this.value=e||"";const s=this.calciteInputDatePickerChange.emit();if(s.defaultPrevented){this.value=i;this.setInputValue(i)}};this.commonDateSeparators=[".","-","/"];this.formatNumerals=t=>t?t.split("").map((t=>this.commonDateSeparators?.includes(t)?this.localeData?.separator:P?.includes(t)?E?.numberFormatter?.format(Number(t)):t)).join(""):"";this.parseNumerals=t=>t?t.split("").map((t=>P.includes(t)?E.delocalize(t):t)).join(""):"";this.disabled=false;this.focusTrapDisabled=false;this.form=undefined;this.readOnly=false;this.value="";this.flipPlacements=undefined;this.headingLevel=undefined;this.valueAsDate=undefined;this.messageOverrides=undefined;this.messages=undefined;this.minAsDate=undefined;this.maxAsDate=undefined;this.min=undefined;this.max=undefined;this.open=false;this.name=undefined;this.numberingSystem=undefined;this.scale="m";this.status="idle";this.placement=b;this.range=false;this.required=false;this.overlayPositioning="absolute";this.proximitySelectionDisabled=false;this.layout="horizontal";this.datePickerActiveDate=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.focusedInput="start";this.localeData=undefined}handleFocusTrapDisabled(t){if(!this.open){return}t?q(this):_(this)}handleDisabledAndReadOnlyChange(t){if(!t){this.open=false}}valueWatcher(t){if(!this.userChangedValue){let i;if(Array.isArray(t)){i=c(t)}else if(t){i=d(t)}else{i=undefined}if(!this.valueAsDateChangedExternally&&i!==this.valueAsDate){this.valueAsDate=i}this.localizeInputValues()}this.userChangedValue=false}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[l(t[0]),l(t[1])]:l(t);if(this.value!==i){this.valueAsDateChangedExternally=true;this.value=i;this.valueAsDateChangedExternally=false}}flipPlacementsHandler(){this.setFilteredPlacements();this.reposition(true)}onMessagesChange(){}onMinChanged(t){if(t){this.minAsDate=d(t)}}onMaxChanged(t){if(t){this.maxAsDate=d(t)}}openHandler(){$(this);if(this.disabled||this.readOnly){this.open=false;return}}overlayPositioningHandler(){this.reposition(true)}calciteDaySelectHandler(){if(this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()){return}this.open=false}async setFocus(){await O(this);this.el.focus()}async reposition(t=false){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return v(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},t)}connectedCallback(){I(this);H(this);const{open:t}=this;t&&this.openHandler();if(Array.isArray(this.value)){this.valueAsDate=c(this.value)}else if(this.value){try{this.valueAsDate=d(this.value)}catch(t){this.warnAboutInvalidValue(this.value);this.value=""}}else if(this.valueAsDate){if(this.range){this.setRangeValue(this.valueAsDate)}else if(!Array.isArray(this.valueAsDate)){this.value=l(this.valueAsDate)}}if(this.min){this.minAsDate=d(this.min)}if(this.max){this.maxAsDate=d(this.max)}j(this);k(this);L(this);this.setFilteredPlacements();this.reposition(true);E.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:false};if(this.open){$(this)}g(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){T(this);await Promise.all([this.loadLocaleData(),Y(this)]);this.onMinChanged(this.min);this.onMaxChanged(this.max)}componentDidLoad(){R(this);this.localizeInputValues();this.reposition(true)}disconnectedCallback(){q(this);z(this);F(this);D(this);y(this,this.referenceEl,this.floatingEl);M(this);B(this)}componentDidRender(){A(this)}render(){const{disabled:t,effectiveLocale:i,messages:a,numberingSystem:n,readOnly:r}=this;E.numberFormatOptions={numberingSystem:n,locale:i,useGrouping:false};return e(s,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler},this.localeData&&e("div",{class:"input-container"},e("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setStartWrapper},e("calcite-input-text",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-expanded":f(this.open),"aria-haspopup":"dialog",class:`input ${this.layout==="vertical"&&this.range?`no-bottom-border`:``}`,disabled:t,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.startInputFocus,onFocus:this.startEndInputFocus,placeholder:this.localeData?.placeholder,readOnly:r,role:"combobox",scale:this.scale,status:this.status,ref:this.setStartInput}),!this.readOnly&&this.renderToggleIcon(this.open&&this.focusedInput==="start"),e("span",{"aria-hidden":"true",class:G.assistiveText,id:this.placeholderTextId},"Date Format: ",this.localeData?.placeholder)),e("div",{"aria-hidden":f(!this.open),"aria-label":a.chooseDate,"aria-live":"polite","aria-modal":"true",class:{[G.menu]:true,[G.menuActive]:this.open},id:this.dialogId,role:"dialog",ref:this.setFloatingEl},e("div",{class:{["calendar-picker-wrapper"]:true,["calendar-picker-wrapper--end"]:this.focusedInput==="end",[w.animation]:true,[w.animationActive]:this.open},ref:this.setTransitionEl},e("calcite-date-picker",{activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:n,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,tabIndex:this.open?undefined:-1,valueAsDate:this.valueAsDate,ref:this.setDatePickerRef}))),this.range&&this.layout==="horizontal"&&e("div",{class:"horizontal-arrow-container"},e("calcite-icon",{flipRtl:true,icon:"arrow-right",scale:X(this.scale)})),this.range&&this.layout==="vertical"&&this.scale!=="s"&&e("div",{class:"vertical-arrow-container"},e("calcite-icon",{icon:"arrow-down",scale:X(this.scale)})),this.range&&e("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setEndWrapper},e("calcite-input-text",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-expanded":f(this.open),"aria-haspopup":"dialog",class:{input:true,"border-top-color-one":this.layout==="vertical"&&this.range},disabled:t,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.endInputFocus,onFocus:this.startEndInputFocus,placeholder:this.localeData?.placeholder,readOnly:r,role:"combobox",scale:this.scale,status:this.status,ref:this.setEndInput}),!this.readOnly&&this.renderToggleIcon(this.open&&this.focusedInput==="end"))),e(C,{component:this}))}renderToggleIcon(t){return e("span",{class:G.toggleIcon},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:X(this.scale)}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:e,startWrapper:s}=this;this.referenceEl=t==="end"||i==="vertical"?e||s:s||e;requestAnimationFrame((()=>g(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.reposition(true);this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){_(this,{onActivate:()=>{if(this.focusOnOpen){this.datePickerEl.setFocus();this.focusOnOpen=false}}});this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit();q(this);this.restoreInputFocus();this.focusOnOpen=false;this.datePickerEl.reset();this.reposition(true)}commitValue(){const{focusedInput:t,value:i}=this;const e=`${t}Input`;const s=this[e].value;const a=o(s,this.localeData);const n=l(a);const r=Array.isArray(i);if(this.range){const e=t==="start"?0:1;if(r){if(n===i[e]){return}if(a){this.setRangeValue([t==="start"?a:d(i[0]),t==="end"?a:d(i[1])]);this.localizeInputValues()}else{this.setRangeValue([t==="end"&&d(i[0]),t==="start"&&d(i[1])])}}else{if(a){this.setRangeValue([t==="start"?a:d(i[0]),t==="end"?a:d(i[1])]);this.localizeInputValues()}}}else{if(n===i){return}this.setValue(a);this.localizeInputValues()}}async loadLocaleData(){E.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:false};this.localeData=await p(this.effectiveLocale);this.localizeInputValues()}shouldFocusRangeStart(){const t=this.value[0];const i=this.value[1];return!!(i&&!t&&this.focusedInput==="end"&&this.startInput)}shouldFocusRangeEnd(){const t=this.value[0];const i=this.value[1];return!!(t&&!i&&this.focusedInput==="start"&&this.endInput)}restoreInputFocus(){if(!this.range){this.startInput.setFocus();return}const t=this.focusedInput==="start"?this.startInput:this.endInput;t.setFocus()}localizeInputValues(){const t=u(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||undefined:this.valueAsDate,this.minAsDate,this.maxAsDate);const i=this.range?u(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||undefined,this.minAsDate,this.maxAsDate):null;const e={numberingSystem:S(this.numberingSystem)};const s=t&&t.toLocaleDateString(this.effectiveLocale,e);const a=i&&i.toLocaleDateString(this.effectiveLocale,e);this.setInputValue(s??"","start");this.setInputValue((this.range&&a)??"","end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}getNormalizedDate(t){if(!t){return""}if(!V(t)){return t}const{day:i,month:e,year:s}=n(t);const a=K(Number(s));return`${a}-${e}-${i}`}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],effectiveLocale:["loadLocaleData"]}}};Q.style=J;export{Q as calcite_input_date_picker};
|
|
7
|
-
//# sourceMappingURL=p-fcdd5bde.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,H as s,g as o}from"./p-16730cd5.js";import{q as n,i as r,y as a,t as l}from"./p-69f8e91d.js";import{c,b as h,a as f,r as d,F as u}from"./p-af84403b.js";import{g as p}from"./p-4193cc94.js";import{o as m}from"./p-5914a2eb.js";import{F as w}from"./p-3a653c21.js";import"./p-5e64c1ae.js";import"./p-0b27ac0c.js";const g={container:"container"};const v=300;const b=500;const y="aria-describedby";function x(t){const{referenceElement:i}=t;return(typeof i==="string"?n(t,{id:i}):i)||null}class E{constructor(){this.registeredElements=new WeakMap;this.registeredShadowRootCounts=new WeakMap;this.hoverOpenTimeout=null;this.hoverCloseTimeout=null;this.hoveredTooltip=null;this.clickedTooltip=null;this.activeTooltip=null;this.registeredElementCount=0;this.queryTooltip=t=>{const{registeredElements:i}=this;const e=t.find((t=>i.has(t)));return i.get(e)};this.keyDownHandler=t=>{if(t.key==="Escape"&&!t.defaultPrevented){const{activeTooltip:i}=this;if(i?.open){this.clearHoverTimeout();this.closeActiveTooltip();const e=x(i);if(e instanceof Element&&e.contains(t.target)){t.preventDefault()}}}};this.pointerMoveHandler=t=>{const i=t.composedPath();const{activeTooltip:e}=this;const s=e?.open&&i.includes(e);if(s){this.clearHoverTimeout();return}const o=this.queryTooltip(i);this.hoveredTooltip=o;if(this.isClosableClickedTooltip(o)){return}this.clickedTooltip=null;if(o){this.openHoveredTooltip(o)}else if(e){this.closeHoveredTooltip()}};this.pointerDownHandler=t=>{if(!r(t)){return}const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i;if(i?.closeOnClick){this.toggleTooltip(i,false);this.clearHoverTimeout()}};this.focusInHandler=t=>{this.queryFocusedTooltip(t,true)};this.focusOutHandler=t=>{this.queryFocusedTooltip(t,false)};this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{if(this.hoverOpenTimeout===null){return}this.clearHoverCloseTimeout();if(this.activeTooltip===this.hoveredTooltip){return}this.closeActiveTooltip();if(t!==this.hoveredTooltip){return}this.toggleTooltip(t,true)}),this.activeTooltip?0:v)};this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{if(this.hoverCloseTimeout===null){return}this.closeActiveTooltip()}),b)}}registerElement(t,i){this.registeredElementCount++;this.registeredElements.set(t,i);const e=this.getReferenceElShadowRootNode(t);if(e){this.registerShadowRoot(e)}if(this.registeredElementCount===1){this.addListeners()}}unregisterElement(t){const i=this.getReferenceElShadowRootNode(t);if(i){this.unregisterShadowRoot(i)}if(this.registeredElements.delete(t)){this.registeredElementCount--}if(this.registeredElementCount===0){this.removeListeners()}}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:true});t.addEventListener("focusout",this.focusOutHandler,{capture:true})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:true});t.removeEventListener("focusout",this.focusOutHandler,{capture:true})}addListeners(){window.addEventListener("keydown",this.keyDownHandler,{capture:true});window.addEventListener("pointermove",this.pointerMoveHandler,{capture:true});window.addEventListener("pointerdown",this.pointerDownHandler,{capture:true});window.addEventListener("focusin",this.focusInHandler,{capture:true});window.addEventListener("focusout",this.focusOutHandler,{capture:true})}removeListeners(){window.removeEventListener("keydown",this.keyDownHandler,{capture:true});window.removeEventListener("pointermove",this.pointerMoveHandler,{capture:true});window.removeEventListener("pointerdown",this.pointerDownHandler,{capture:true});window.removeEventListener("focusin",this.focusInHandler,{capture:true});window.removeEventListener("focusout",this.focusOutHandler,{capture:true})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout);this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout);this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout();this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;if(t?.open){this.toggleTooltip(t,false)}}toggleFocusedTooltip(t,i){this.closeActiveTooltip();if(i){this.clearHoverTimeout()}this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i;this.activeTooltip=i?t:null}queryFocusedTooltip(t,i){const e=this.queryTooltip(t.composedPath());if(!e||this.isClosableClickedTooltip(e)){return}this.toggleFocusedTooltip(e,i)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:i}=this;const e=(i.get(t)??0)+1;if(e===1){this.addShadowListeners(t)}i.set(t,e)}unregisterShadowRoot(t){const{registeredShadowRootCounts:i}=this;const e=i.get(t)-1;if(e===0){this.removeShadowListeners(t)}i.set(t,e)}getReferenceElShadowRootNode(t){return t instanceof Element?a(t):null}}const k=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.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-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1)}.arrow::before{outline:1px solid var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const H=new E;const T=class{constructor(e){t(this,e);this.calciteTooltipBeforeClose=i(this,"calciteTooltipBeforeClose",6);this.calciteTooltipClose=i(this,"calciteTooltipClose",6);this.calciteTooltipBeforeOpen=i(this,"calciteTooltipBeforeOpen",6);this.calciteTooltipOpen=i(this,"calciteTooltipOpen",6);this.guid=`calcite-tooltip-${p()}`;this.hasLoaded=false;this.openTransitionProp="opacity";this.setTransitionEl=t=>{this.transitionEl=t};this.setUpReferenceElement=(t=true)=>{this.removeReferences();this.effectiveReferenceElement=x(this.el);c(this,this.effectiveReferenceElement,this.el);const{el:i,referenceElement:e,effectiveReferenceElement:s}=this;if(t&&e&&!s){console.warn(`${i.tagName}: reference-element id "${e}" was not found.`,{el:i})}this.addReferences()};this.getId=()=>this.el.id||this.guid;this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t){return}const i=this.getId();if("setAttribute"in t){t.setAttribute(y,i)}H.registerElement(t,this.el)};this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t){return}if("removeAttribute"in t){t.removeAttribute(y)}H.unregisterElement(t)};this.closeOnClick=false;this.label=undefined;this.offsetDistance=h;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.referenceElement=undefined;this.effectiveReferenceElement=undefined;this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(true)}offsetSkiddingHandler(){this.reposition(true)}openHandler(){m(this)}overlayPositioningHandler(){this.reposition(true)}placementHandler(){this.reposition(true)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded);if(this.open){m(this)}c(this,this.effectiveReferenceElement,this.el)}async componentWillLoad(){if(this.open){m(this)}}componentDidLoad(){if(this.referenceElement&&!this.effectiveReferenceElement){this.setUpReferenceElement()}this.reposition(true);this.hasLoaded=true}disconnectedCallback(){this.removeReferences();f(this,this.effectiveReferenceElement,this.el)}async reposition(t=false){const{el:i,effectiveReferenceElement:e,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:r,arrowEl:a}=this;return d(this,{floatingEl:i,referenceEl:e,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:r,arrowEl:a,type:"tooltip"},t)}onBeforeOpen(){this.reposition(true);this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit();this.reposition(true)}render(){const{effectiveReferenceElement:t,label:i,open:o,floatingLayout:n}=this;const r=t&&o;const a=!r;return e(s,{"aria-hidden":l(a),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":a,id:this.getId(),role:"tooltip"},e("div",{class:{[u.animation]:true,[u.animationActive]:r},ref:this.setTransitionEl},e(w,{floatingLayout:n,ref:t=>this.arrowEl=t}),e("div",{class:g.container},e("slot",null))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};T.style=k;export{T as calcite_tooltip};
|
|
7
|
-
//# sourceMappingURL=p-fe8dce6f.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
import{g as n}from"./p-83505fa2.js";const t=/firefox/i.test(n());const e=t?new WeakMap:null;function i(){const{disabled:n}=this;if(!n){HTMLElement.prototype.click.call(this)}}function o(n){const i=n.target;if(t&&!e.get(i)){return}const{disabled:o}=i;if(o){n.preventDefault()}}const f=["mousedown","mouseup","click"];function u(n){if(t&&!e.get(n.target)){return}const{disabled:i}=n.target;if(i){n.stopImmediatePropagation();n.preventDefault()}}const r={capture:true};function s(n,t=false){if(n.disabled){n.el.setAttribute("tabindex","-1");n.el.setAttribute("aria-disabled","true");if(n.el.contains(document.activeElement)){document.activeElement.blur()}c(n);return}l(n);if(typeof t==="function"){n.el.setAttribute("tabindex",t.call(n)?"0":"-1")}else if(t===true){n.el.setAttribute("tabindex","0")}else if(t===false){n.el.removeAttribute("tabindex")}else;n.el.removeAttribute("aria-disabled")}function c(n){n.el.click=i;a(t?d(n):n.el)}function a(n){if(!n){return}n.addEventListener("pointerdown",o,r);f.forEach((t=>n.addEventListener(t,u,r)))}function d(n){return e.get(n.el)}function l(n){delete n.el.click;b(t?d(n):n.el)}function b(n){if(!n){return}n.removeEventListener("pointerdown",o,r);f.forEach((t=>n.removeEventListener(t,u,r)))}function p(n){if(!n.disabled||!t){return}const i=n.el.parentElement||n.el;e.set(n.el,i);c(n)}function m(n){if(!t){return}e.delete(n.el);l(n)}export{p as c,m as d,s as u};
|
|
7
|
-
//# sourceMappingURL=p-fea31e48.js.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
/**!
|
|
7
|
-
* Sortable 1.15.1
|
|
8
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
9
|
-
* @author owenm <owen23355@gmail.com>
|
|
10
|
-
* @license MIT
|
|
11
|
-
*/
|
|
12
|
-
function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);if(e){i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))}n.push.apply(n,i)}return n}function e(e){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};if(n%2){t(Object(r),true).forEach((function(t){i(e,t,r[t])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(r))}else{t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}}return e}function n(t){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){n=function(t){return typeof t}}else{n=function(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}}return n(t)}function i(t,e,n){if(e in t){Object.defineProperty(t,e,{value:n,enumerable:true,configurable:true,writable:true})}else{t[e]=n}return t}function r(){r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n){if(Object.prototype.hasOwnProperty.call(n,i)){t[i]=n[i]}}}return t};return r.apply(this,arguments)}function o(t,e){if(t==null)return{};var n={};var i=Object.keys(t);var r,o;for(o=0;o<i.length;o++){r=i[o];if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}function a(t,e){if(t==null)return{};var n=o(t,e);var i,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++){i=a[r];if(e.indexOf(i)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(t,i))continue;n[i]=t[i]}}return n}var f="1.15.1";function u(t){if(typeof window!=="undefined"&&window.navigator){return!!navigator.userAgent.match(t)}}var s=u(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);var l=u(/Edge/i);var c=u(/firefox/i);var h=u(/safari/i)&&!u(/chrome/i)&&!u(/android/i);var d=u(/iP(ad|od|hone)/i);var v=u(/chrome/i)&&u(/android/i);var m={capture:false,passive:false};function p(t,e,n){t.addEventListener(e,n,!s&&m)}function g(t,e,n){t.removeEventListener(e,n,!s&&m)}function b(t,e){if(!e)return;e[0]===">"&&(e=e.substring(1));if(t){try{if(t.matches){return t.matches(e)}else if(t.msMatchesSelector){return t.msMatchesSelector(e)}else if(t.webkitMatchesSelector){return t.webkitMatchesSelector(e)}}catch(t){return false}}return false}function w(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function E(t,e,n,i){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&b(t,e):b(t,e))||i&&t===n){return t}if(t===n)break}while(t=w(t))}return null}var y=/\s+/g;function I(t,e,n){if(t&&e){if(t.classList){t.classList[n?"add":"remove"](e)}else{var i=(" "+t.className+" ").replace(y," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(y," ")}}}function x(t,e,n){var i=t&&t.style;if(i){if(n===void 0){if(document.defaultView&&document.defaultView.getComputedStyle){n=document.defaultView.getComputedStyle(t,"")}else if(t.currentStyle){n=t.currentStyle}return e===void 0?n:n[e]}else{if(!(e in i)&&e.indexOf("webkit")===-1){e="-webkit-"+e}i[e]=n+(typeof n==="string"?"":"px")}}}function S(t,e){var n="";if(typeof t==="string"){n=t}else{do{var i=x(t,"transform");if(i&&i!=="none"){n=i+" "+n}}while(!e&&(t=t.parentNode))}var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function T(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,o=i.length;if(n){for(;r<o;r++){n(i[r],r)}}return i}return[]}function O(){var t=document.scrollingElement;if(t){return t}else{return document.documentElement}}function M(t,e,n,i,r){if(!t.getBoundingClientRect&&t!==window)return;var o,a,f,u,l,c,h;if(t!==window&&t.parentNode&&t!==O()){o=t.getBoundingClientRect();a=o.top;f=o.left;u=o.bottom;l=o.right;c=o.height;h=o.width}else{a=0;f=0;u=window.innerHeight;l=window.innerWidth;c=window.innerHeight;h=window.innerWidth}if((e||n)&&t!==window){r=r||t.parentNode;if(!s){do{if(r&&r.getBoundingClientRect&&(x(r,"transform")!=="none"||n&&x(r,"position")!=="static")){var d=r.getBoundingClientRect();a-=d.top+parseInt(x(r,"border-top-width"));f-=d.left+parseInt(x(r,"border-left-width"));u=a+o.height;l=f+o.width;break}}while(r=r.parentNode)}}if(i&&t!==window){var v=S(r||t),m=v&&v.a,p=v&&v.d;if(v){a/=p;f/=m;h/=m;c/=p;u=a+c;l=f+h}}return{top:a,left:f,bottom:u,right:l,width:h,height:c}}function _(t){var e=M(t);var n=parseInt(x(t,"padding-left")),i=parseInt(x(t,"padding-top")),r=parseInt(x(t,"padding-right")),o=parseInt(x(t,"padding-bottom"));e.top+=i+parseInt(x(t,"border-top-width"));e.left+=n+parseInt(x(t,"border-left-width"));e.width=t.clientWidth-n-r;e.height=t.clientHeight-i-o;e.bottom=e.top+e.height;e.right=e.left+e.width;return e}function D(t,e,n){var i=N(t,true),r=M(t)[e];while(i){var o=M(i)[n],a=void 0;if(n==="top"||n==="left"){a=r>=o}else{a=r<=o}if(!a)return i;if(i===O())break;i=N(i,false)}return false}function k(t,e,n,i){var r=0,o=0,a=t.children;while(o<a.length){if(a[o].style.display!=="none"&&a[o]!==Ut.ghost&&(i||a[o]!==Ut.dragged)&&E(a[o],n.draggable,t,false)){if(r===e){return a[o]}r++}o++}return null}function C(t,e){var n=t.lastElementChild;while(n&&(n===Ut.ghost||x(n,"display")==="none"||e&&!b(n,e))){n=n.previousElementSibling}return n||null}function j(t,e){var n=0;if(!t||!t.parentNode){return-1}while(t=t.previousElementSibling){if(t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==Ut.clone&&(!e||b(t,e))){n++}}return n}function A(t){var e=0,n=0,i=O();if(t){do{var r=S(t),o=r.a,a=r.d;e+=t.scrollLeft*o;n+=t.scrollTop*a}while(t!==i&&(t=t.parentNode))}return[e,n]}function z(t,e){for(var n in t){if(!t.hasOwnProperty(n))continue;for(var i in e){if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n)}}return-1}function N(t,e){if(!t||!t.getBoundingClientRect)return O();var n=t;var i=false;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=x(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return O();if(i||e)return n;i=true}}}while(n=n.parentNode);return O()}function F(t,e){if(t&&e){for(var n in e){if(e.hasOwnProperty(n)){t[n]=e[n]}}}return t}function P(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}var B;function H(t,e){return function(){if(!B){var n=arguments,i=this;if(n.length===1){t.call(i,n[0])}else{t.apply(i,n)}B=setTimeout((function(){B=void 0}),e)}}}function G(){clearTimeout(B);B=void 0}function L(t,e,n){t.scrollLeft+=e;t.scrollTop+=n}function R(t){var e=window.Polymer;var n=window.jQuery||window.Zepto;if(e&&e.dom){return e.dom(t).cloneNode(true)}else if(n){return n(t).clone(true)[0]}else{return t.cloneNode(true)}}var W="Sortable"+(new Date).getTime();function X(){var t=[],n;return{captureAnimationState:function n(){t=[];if(!this.options.animation)return;var i=[].slice.call(this.el.children);i.forEach((function(n){if(x(n,"display")==="none"||n===Ut.ghost)return;t.push({target:n,rect:M(n)});var i=e({},t[t.length-1].rect);if(n.thisAnimationDuration){var r=S(n,true);if(r){i.top-=r.f;i.left-=r.e}}n.fromRect=i}))},addAnimationState:function e(n){t.push(n)},removeAnimationState:function e(n){t.splice(z(t,{target:n}),1)},animateAll:function e(i){var r=this;if(!this.options.animation){clearTimeout(n);if(typeof i==="function")i();return}var o=false,a=0;t.forEach((function(t){var e=0,n=t.target,i=n.fromRect,f=M(n),u=n.prevFromRect,s=n.prevToRect,l=t.rect,c=S(n,true);if(c){f.top-=c.f;f.left-=c.e}n.toRect=f;if(n.thisAnimationDuration){if(P(u,f)&&!P(i,f)&&(l.top-f.top)/(l.left-f.left)===(i.top-f.top)/(i.left-f.left)){e=U(l,u,s,r.options)}}if(!P(f,i)){n.prevFromRect=i;n.prevToRect=f;if(!e){e=r.options.animation}r.animate(n,l,f,e)}if(e){o=true;a=Math.max(a,e);clearTimeout(n.animationResetTimer);n.animationResetTimer=setTimeout((function(){n.animationTime=0;n.prevFromRect=null;n.fromRect=null;n.prevToRect=null;n.thisAnimationDuration=null}),e);n.thisAnimationDuration=e}}));clearTimeout(n);if(!o){if(typeof i==="function")i()}else{n=setTimeout((function(){if(typeof i==="function")i()}),a)}t=[]},animate:function t(e,n,i,r){if(r){x(e,"transition","");x(e,"transform","");var o=S(this.el),a=o&&o.a,f=o&&o.d,u=(n.left-i.left)/(a||1),s=(n.top-i.top)/(f||1);e.animatingX=!!u;e.animatingY=!!s;x(e,"transform","translate3d("+u+"px,"+s+"px,0)");this.forRepaintDummy=Y(e);x(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:""));x(e,"transform","translate3d(0,0,0)");typeof e.animated==="number"&&clearTimeout(e.animated);e.animated=setTimeout((function(){x(e,"transition","");x(e,"transform","");e.animated=false;e.animatingX=false;e.animatingY=false}),r)}}}}function Y(t){return t.offsetWidth}function U(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}var V=[];var Z={initializeByDefault:true};var $={mount:function t(e){for(var n in Z){if(Z.hasOwnProperty(n)&&!(n in e)){e[n]=Z[n]}}V.forEach((function(t){if(t.pluginName===e.pluginName){throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}}));V.push(e)},pluginEvent:function t(n,i,r){var o=this;this.eventCanceled=false;r.cancel=function(){o.eventCanceled=true};var a=n+"Global";V.forEach((function(t){if(!i[t.pluginName])return;if(i[t.pluginName][a]){i[t.pluginName][a](e({sortable:i},r))}if(i.options[t.pluginName]&&i[t.pluginName][n]){i[t.pluginName][n](e({sortable:i},r))}}))},initializePlugins:function t(e,n,i,o){V.forEach((function(t){var o=t.pluginName;if(!e.options[o]&&!t.initializeByDefault)return;var a=new t(e,n,e.options);a.sortable=e;a.options=e.options;e[o]=a;r(i,a.defaults)}));for(var a in e.options){if(!e.options.hasOwnProperty(a))continue;var f=this.modifyOption(e,a,e.options[a]);if(typeof f!=="undefined"){e.options[a]=f}}},getEventProperties:function t(e,n){var i={};V.forEach((function(t){if(typeof t.eventProperties!=="function")return;r(i,t.eventProperties.call(n[t.pluginName],e))}));return i},modifyOption:function t(e,n,i){var r;V.forEach((function(t){if(!e[t.pluginName])return;if(t.optionListeners&&typeof t.optionListeners[n]==="function"){r=t.optionListeners[n].call(e[t.pluginName],i)}}));return r}};function q(t){var n=t.sortable,i=t.rootEl,r=t.name,o=t.targetEl,a=t.cloneEl,f=t.toEl,u=t.fromEl,c=t.oldIndex,h=t.newIndex,d=t.oldDraggableIndex,v=t.newDraggableIndex,m=t.originalEvent,p=t.putSortable,g=t.extraEventProperties;n=n||i&&i[W];if(!n)return;var b,w=n.options,E="on"+r.charAt(0).toUpperCase()+r.substr(1);if(window.CustomEvent&&!s&&!l){b=new CustomEvent(r,{bubbles:true,cancelable:true})}else{b=document.createEvent("Event");b.initEvent(r,true,true)}b.to=f||i;b.from=u||i;b.item=o||i;b.clone=a;b.oldIndex=c;b.newIndex=h;b.oldDraggableIndex=d;b.newDraggableIndex=v;b.originalEvent=m;b.pullMode=p?p.lastPutMode:undefined;var y=e(e({},g),$.getEventProperties(r,n));for(var I in y){b[I]=y[I]}if(i){i.dispatchEvent(b)}if(w[E]){w[E].call(n,b)}}var J=["evt"];var K=function t(n,i){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},o=r.evt,f=a(r,J);$.pluginEvent.bind(Ut)(n,i,e({dragEl:tt,parentEl:et,ghostEl:nt,rootEl:it,nextEl:rt,lastDownEl:ot,cloneEl:at,cloneHidden:ft,dragStarted:xt,putSortable:dt,activeSortable:Ut.active,originalEvent:o,oldIndex:ut,oldDraggableIndex:lt,newIndex:st,newDraggableIndex:ct,hideGhostForTarget:Rt,unhideGhostForTarget:Wt,cloneNowHidden:function t(){ft=true},cloneNowShown:function t(){ft=false},dispatchSortableEvent:function t(e){Q({sortable:i,name:e,originalEvent:o})}},f))};function Q(t){q(e({putSortable:dt,cloneEl:at,targetEl:tt,rootEl:it,oldIndex:ut,oldDraggableIndex:lt,newIndex:st,newDraggableIndex:ct},t))}var tt,et,nt,it,rt,ot,at,ft,ut,st,lt,ct,ht,dt,vt=false,mt=false,pt=[],gt,bt,wt,Et,yt,It,xt,St,Tt,Ot=false,Mt=false,_t,Dt,kt=[],Ct=false,jt=[];var At=typeof document!=="undefined",zt=d,Nt=l||s?"cssFloat":"float",Ft=At&&!v&&!d&&"draggable"in document.createElement("div"),Pt=function(){if(!At)return;if(s){return false}var t=document.createElement("x");t.style.cssText="pointer-events:auto";return t.style.pointerEvents==="auto"}(),Bt=function t(e,n){var i=x(e),r=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),o=k(e,0,n),a=k(e,1,n),f=o&&x(o),u=a&&x(a),s=f&&parseInt(f.marginLeft)+parseInt(f.marginRight)+M(o).width,l=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+M(a).width;if(i.display==="flex"){return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal"}if(i.display==="grid"){return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal"}if(o&&f["float"]&&f["float"]!=="none"){var c=f["float"]==="left"?"left":"right";return a&&(u.clear==="both"||u.clear===c)?"vertical":"horizontal"}return o&&(f.display==="block"||f.display==="flex"||f.display==="table"||f.display==="grid"||s>=r&&i[Nt]==="none"||a&&i[Nt]==="none"&&s+l>r)?"vertical":"horizontal"},Ht=function t(e,n,i){var r=i?e.left:e.top,o=i?e.right:e.bottom,a=i?e.width:e.height,f=i?n.left:n.top,u=i?n.right:n.bottom,s=i?n.width:n.height;return r===f||o===u||r+a/2===f+s/2},Gt=function t(e,n){var i;pt.some((function(t){var r=t[W].options.emptyInsertThreshold;if(!r||C(t))return;var o=M(t),a=e>=o.left-r&&e<=o.right+r,f=n>=o.top-r&&n<=o.bottom+r;if(a&&f){return i=t}}));return i},Lt=function t(e){function i(t,e){return function(n,r,o,a){var f=n.options.group.name&&r.options.group.name&&n.options.group.name===r.options.group.name;if(t==null&&(e||f)){return true}else if(t==null||t===false){return false}else if(e&&t==="clone"){return t}else if(typeof t==="function"){return i(t(n,r,o,a),e)(n,r,o,a)}else{var u=(e?n:r).options.group.name;return t===true||typeof t==="string"&&t===u||t.join&&t.indexOf(u)>-1}}}var r={};var o=e.group;if(!o||n(o)!="object"){o={name:o}}r.name=o.name;r.checkPull=i(o.pull,true);r.checkPut=i(o.put);r.revertClone=o.revertClone;e.group=r},Rt=function t(){if(!Pt&&nt){x(nt,"display","none")}},Wt=function t(){if(!Pt&&nt){x(nt,"display","")}};if(At&&!v){document.addEventListener("click",(function(t){if(mt){t.preventDefault();t.stopPropagation&&t.stopPropagation();t.stopImmediatePropagation&&t.stopImmediatePropagation();mt=false;return false}}),true)}var Xt=function t(e){if(tt){e=e.touches?e.touches[0]:e;var n=Gt(e.clientX,e.clientY);if(n){var i={};for(var r in e){if(e.hasOwnProperty(r)){i[r]=e[r]}}i.target=i.rootEl=n;i.preventDefault=void 0;i.stopPropagation=void 0;n[W]._onDragOver(i)}}};var Yt=function t(e){if(tt){tt.parentNode[W]._isOutsideThisEl(e.target)}};function Ut(t,e){if(!(t&&t.nodeType&&t.nodeType===1)){throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t))}this.el=t;this.options=e=r({},e);t[W]=this;var n={group:null,sort:true,disabled:false,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:false,invertedSwapThreshold:null,removeCloneOnHide:true,direction:function e(){return Bt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:true,animation:0,easing:null,setData:function t(e,n){e.setData("Text",n.textContent)},dropBubble:false,dragoverBubble:false,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:false,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:false,fallbackClass:"sortable-fallback",fallbackOnBody:false,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ut.supportPointer!==false&&"PointerEvent"in window&&!h,emptyInsertThreshold:5};$.initializePlugins(this,t,n);for(var i in n){!(i in e)&&(e[i]=n[i])}Lt(e);for(var o in this){if(o.charAt(0)==="_"&&typeof this[o]==="function"){this[o]=this[o].bind(this)}}this.nativeDraggable=e.forceFallback?false:Ft;if(this.nativeDraggable){this.options.touchStartThreshold=1}if(e.supportPointer){p(t,"pointerdown",this._onTapStart)}else{p(t,"mousedown",this._onTapStart);p(t,"touchstart",this._onTapStart)}if(this.nativeDraggable){p(t,"dragover",this);p(t,"dragenter",this)}pt.push(this.el);e.store&&e.store.get&&this.sort(e.store.get(this)||[]);r(this,X())}Ut.prototype={constructor:Ut,_isOutsideThisEl:function t(e){if(!this.el.contains(e)&&e!==this.el){St=null}},_getDirection:function t(e,n){return typeof this.options.direction==="function"?this.options.direction.call(this,e,n,tt):this.options.direction},_onTapStart:function t(e){if(!e.cancelable)return;var n=this,i=this.el,r=this.options,o=r.preventOnFilter,a=e.type,f=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,u=(f||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||u,l=r.filter;ne(i);if(tt){return}if(/mousedown|pointerdown/.test(a)&&e.button!==0||r.disabled){return}if(s.isContentEditable){return}if(!this.nativeDraggable&&h&&u&&u.tagName.toUpperCase()==="SELECT"){return}u=E(u,r.draggable,i,false);if(u&&u.animated){return}if(ot===u){return}ut=j(u);lt=j(u,r.draggable);if(typeof l==="function"){if(l.call(this,e,u,this)){Q({sortable:n,rootEl:s,name:"filter",targetEl:u,toEl:i,fromEl:i});K("filter",n,{evt:e});o&&e.cancelable&&e.preventDefault();return}}else if(l){l=l.split(",").some((function(t){t=E(s,t.trim(),i,false);if(t){Q({sortable:n,rootEl:t,name:"filter",targetEl:u,fromEl:i,toEl:i});K("filter",n,{evt:e});return true}}));if(l){o&&e.cancelable&&e.preventDefault();return}}if(r.handle&&!E(s,r.handle,i,false)){return}this._prepareDragStart(e,f,u)},_prepareDragStart:function t(e,n,i){var r=this,o=r.el,a=r.options,f=o.ownerDocument,u;if(i&&!tt&&i.parentNode===o){var h=M(i);it=o;tt=i;et=tt.parentNode;rt=tt.nextSibling;ot=i;ht=a.group;Ut.dragged=tt;gt={target:tt,clientX:(n||e).clientX,clientY:(n||e).clientY};yt=gt.clientX-h.left;It=gt.clientY-h.top;this._lastX=(n||e).clientX;this._lastY=(n||e).clientY;tt.style["will-change"]="all";u=function t(){K("delayEnded",r,{evt:e});if(Ut.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents();if(!c&&r.nativeDraggable){tt.draggable=true}r._triggerDragStart(e,n);Q({sortable:r,name:"choose",originalEvent:e});I(tt,a.chosenClass,true)};a.ignore.split(",").forEach((function(t){T(tt,t.trim(),$t)}));p(f,"dragover",Xt);p(f,"mousemove",Xt);p(f,"touchmove",Xt);p(f,"mouseup",r._onDrop);p(f,"touchend",r._onDrop);p(f,"touchcancel",r._onDrop);if(c&&this.nativeDraggable){this.options.touchStartThreshold=4;tt.draggable=true}K("delayStart",this,{evt:e});if(a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(l||s))){if(Ut.eventCanceled){this._onDrop();return}p(f,"mouseup",r._disableDelayedDrag);p(f,"touchend",r._disableDelayedDrag);p(f,"touchcancel",r._disableDelayedDrag);p(f,"mousemove",r._delayedDragTouchMoveHandler);p(f,"touchmove",r._delayedDragTouchMoveHandler);a.supportPointer&&p(f,"pointermove",r._delayedDragTouchMoveHandler);r._dragStartTimer=setTimeout(u,a.delay)}else{u()}}},_delayedDragTouchMoveHandler:function t(e){var n=e.touches?e.touches[0]:e;if(Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))){this._disableDelayedDrag()}},_disableDelayedDrag:function t(){tt&&$t(tt);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function t(){var e=this.el.ownerDocument;g(e,"mouseup",this._disableDelayedDrag);g(e,"touchend",this._disableDelayedDrag);g(e,"touchcancel",this._disableDelayedDrag);g(e,"mousemove",this._delayedDragTouchMoveHandler);g(e,"touchmove",this._delayedDragTouchMoveHandler);g(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function t(e,n){n=n||e.pointerType=="touch"&&e;if(!this.nativeDraggable||n){if(this.options.supportPointer){p(document,"pointermove",this._onTouchMove)}else if(n){p(document,"touchmove",this._onTouchMove)}else{p(document,"mousemove",this._onTouchMove)}}else{p(tt,"dragend",this);p(it,"dragstart",this._onDragStart)}try{if(document.selection){ie((function(){document.selection.empty()}))}else{window.getSelection().removeAllRanges()}}catch(t){}},_dragStarted:function t(e,n){vt=false;if(it&&tt){K("dragStarted",this,{evt:n});if(this.nativeDraggable){p(document,"dragover",Yt)}var i=this.options;!e&&I(tt,i.dragClass,false);I(tt,i.ghostClass,true);Ut.active=this;e&&this._appendGhost();Q({sortable:this,name:"start",originalEvent:n})}else{this._nulling()}},_emulateDragOver:function t(){if(bt){this._lastX=bt.clientX;this._lastY=bt.clientY;Rt();var e=document.elementFromPoint(bt.clientX,bt.clientY);var n=e;while(e&&e.shadowRoot){e=e.shadowRoot.elementFromPoint(bt.clientX,bt.clientY);if(e===n)break;n=e}tt.parentNode[W]._isOutsideThisEl(e);if(n){do{if(n[W]){var i=void 0;i=n[W]._onDragOver({clientX:bt.clientX,clientY:bt.clientY,target:e,rootEl:n});if(i&&!this.options.dragoverBubble){break}}e=n}while(n=n.parentNode)}Wt()}},_onTouchMove:function t(e){if(gt){var n=this.options,i=n.fallbackTolerance,r=n.fallbackOffset,o=e.touches?e.touches[0]:e,a=nt&&S(nt,true),f=nt&&a&&a.a,u=nt&&a&&a.d,s=zt&&Dt&&A(Dt),l=(o.clientX-gt.clientX+r.x)/(f||1)+(s?s[0]-kt[0]:0)/(f||1),c=(o.clientY-gt.clientY+r.y)/(u||1)+(s?s[1]-kt[1]:0)/(u||1);if(!Ut.active&&!vt){if(i&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<i){return}this._onDragStart(e,true)}if(nt){if(a){a.e+=l-(wt||0);a.f+=c-(Et||0)}else{a={a:1,b:0,c:0,d:1,e:l,f:c}}var h="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");x(nt,"webkitTransform",h);x(nt,"mozTransform",h);x(nt,"msTransform",h);x(nt,"transform",h);wt=l;Et=c;bt=o}e.cancelable&&e.preventDefault()}},_appendGhost:function t(){if(!nt){var e=this.options.fallbackOnBody?document.body:it,n=M(tt,true,zt,true,e),i=this.options;if(zt){Dt=e;while(x(Dt,"position")==="static"&&x(Dt,"transform")==="none"&&Dt!==document){Dt=Dt.parentNode}if(Dt!==document.body&&Dt!==document.documentElement){if(Dt===document)Dt=O();n.top+=Dt.scrollTop;n.left+=Dt.scrollLeft}else{Dt=O()}kt=A(Dt)}nt=tt.cloneNode(true);I(nt,i.ghostClass,false);I(nt,i.fallbackClass,true);I(nt,i.dragClass,true);x(nt,"transition","");x(nt,"transform","");x(nt,"box-sizing","border-box");x(nt,"margin",0);x(nt,"top",n.top);x(nt,"left",n.left);x(nt,"width",n.width);x(nt,"height",n.height);x(nt,"opacity","0.8");x(nt,"position",zt?"absolute":"fixed");x(nt,"zIndex","100000");x(nt,"pointerEvents","none");Ut.ghost=nt;e.appendChild(nt);x(nt,"transform-origin",yt/parseInt(nt.style.width)*100+"% "+It/parseInt(nt.style.height)*100+"%")}},_onDragStart:function t(e,n){var i=this;var r=e.dataTransfer;var o=i.options;K("dragStart",this,{evt:e});if(Ut.eventCanceled){this._onDrop();return}K("setupClone",this);if(!Ut.eventCanceled){at=R(tt);at.removeAttribute("id");at.draggable=false;at.style["will-change"]="";this._hideClone();I(at,this.options.chosenClass,false);Ut.clone=at}i.cloneId=ie((function(){K("clone",i);if(Ut.eventCanceled)return;if(!i.options.removeCloneOnHide){it.insertBefore(at,tt)}i._hideClone();Q({sortable:i,name:"clone"})}));!n&&I(tt,o.dragClass,true);if(n){mt=true;i._loopId=setInterval(i._emulateDragOver,50)}else{g(document,"mouseup",i._onDrop);g(document,"touchend",i._onDrop);g(document,"touchcancel",i._onDrop);if(r){r.effectAllowed="move";o.setData&&o.setData.call(i,r,tt)}p(document,"drop",i);x(tt,"transform","translateZ(0)")}vt=true;i._dragStartId=ie(i._dragStarted.bind(i,n,e));p(document,"selectstart",i);xt=true;if(h){x(document.body,"user-select","none")}},_onDragOver:function t(n){var i=this.el,r=n.target,o,a,f,u=this.options,s=u.group,l=Ut.active,c=ht===s,h=u.sort,d=dt||l,v,m=this,p=false;if(Ct)return;function g(t,u){K(t,m,e({evt:n,isOwner:c,axis:v?"vertical":"horizontal",revert:f,dragRect:o,targetRect:a,canSort:h,fromSortable:d,target:r,completed:w,onMove:function t(e,r){return Zt(it,i,tt,o,e,M(e),n,r)},changed:y},u))}function b(){g("dragOverAnimationCapture");m.captureAnimationState();if(m!==d){d.captureAnimationState()}}function w(t){g("dragOverCompleted",{insertion:t});if(t){if(c){l._hideClone()}else{l._showClone(m)}if(m!==d){I(tt,dt?dt.options.ghostClass:l.options.ghostClass,false);I(tt,u.ghostClass,true)}if(dt!==m&&m!==Ut.active){dt=m}else if(m===Ut.active&&dt){dt=null}if(d===m){m._ignoreWhileAnimating=r}m.animateAll((function(){g("dragOverAnimationComplete");m._ignoreWhileAnimating=null}));if(m!==d){d.animateAll();d._ignoreWhileAnimating=null}}if(r===tt&&!tt.animated||r===i&&!r.animated){St=null}if(!u.dragoverBubble&&!n.rootEl&&r!==document){tt.parentNode[W]._isOutsideThisEl(n.target);!t&&Xt(n)}!u.dragoverBubble&&n.stopPropagation&&n.stopPropagation();return p=true}function y(){st=j(tt);ct=j(tt,u.draggable);Q({sortable:m,name:"change",toEl:i,newIndex:st,newDraggableIndex:ct,originalEvent:n})}if(n.preventDefault!==void 0){n.cancelable&&n.preventDefault()}r=E(r,u.draggable,i,true);g("dragOver");if(Ut.eventCanceled)return p;if(tt.contains(n.target)||r.animated&&r.animatingX&&r.animatingY||m._ignoreWhileAnimating===r){return w(false)}mt=false;if(l&&!u.disabled&&(c?h||(f=et!==it):dt===this||(this.lastPutMode=ht.checkPull(this,l,tt,n))&&s.checkPut(this,l,tt,n))){v=this._getDirection(n,r)==="vertical";o=M(tt);g("dragOverValid");if(Ut.eventCanceled)return p;if(f){et=it;b();this._hideClone();g("revert");if(!Ut.eventCanceled){if(rt){it.insertBefore(tt,rt)}else{it.appendChild(tt)}}return w(true)}var S=C(i,u.draggable);if(!S||Kt(n,v,this)&&!S.animated){if(S===tt){return w(false)}if(S&&i===n.target){r=S}if(r){a=M(r)}if(Zt(it,i,tt,o,r,a,n,!!r)!==false){b();if(S&&S.nextSibling){i.insertBefore(tt,S.nextSibling)}else{i.appendChild(tt)}et=i;y();return w(true)}}else if(S&&Jt(n,v,this)){var T=k(i,0,u,true);if(T===tt){return w(false)}r=T;a=M(r);if(Zt(it,i,tt,o,r,a,n,false)!==false){b();i.insertBefore(tt,T);et=i;y();return w(true)}}else if(r.parentNode===i){a=M(r);var O=0,_,A=tt.parentNode!==i,z=!Ht(tt.animated&&tt.toRect||o,r.animated&&r.toRect||a,v),N=v?"top":"left",F=D(r,"top","top")||D(tt,"top","top"),P=F?F.scrollTop:void 0;if(St!==r){_=a[N];Ot=false;Mt=!z&&u.invertSwap||A}O=Qt(n,r,a,v,z?1:u.swapThreshold,u.invertedSwapThreshold==null?u.swapThreshold:u.invertedSwapThreshold,Mt,St===r);var B;if(O!==0){var H=j(tt);do{H-=O;B=et.children[H]}while(B&&(x(B,"display")==="none"||B===nt))}if(O===0||B===r){return w(false)}St=r;Tt=O;var G=r.nextElementSibling,R=false;R=O===1;var X=Zt(it,i,tt,o,r,a,n,R);if(X!==false){if(X===1||X===-1){R=X===1}Ct=true;setTimeout(qt,30);b();if(R&&!G){i.appendChild(tt)}else{r.parentNode.insertBefore(tt,R?G:r)}if(F){L(F,0,P-F.scrollTop)}et=tt.parentNode;if(_!==undefined&&!Mt){_t=Math.abs(_-M(r)[N])}y();return w(true)}}if(i.contains(tt)){return w(false)}}return false},_ignoreWhileAnimating:null,_offMoveEvents:function t(){g(document,"mousemove",this._onTouchMove);g(document,"touchmove",this._onTouchMove);g(document,"pointermove",this._onTouchMove);g(document,"dragover",Xt);g(document,"mousemove",Xt);g(document,"touchmove",Xt)},_offUpEvents:function t(){var e=this.el.ownerDocument;g(e,"mouseup",this._onDrop);g(e,"touchend",this._onDrop);g(e,"pointerup",this._onDrop);g(e,"touchcancel",this._onDrop);g(document,"selectstart",this)},_onDrop:function t(e){var n=this.el,i=this.options;st=j(tt);ct=j(tt,i.draggable);K("drop",this,{evt:e});et=tt&&tt.parentNode;st=j(tt);ct=j(tt,i.draggable);if(Ut.eventCanceled){this._nulling();return}vt=false;Mt=false;Ot=false;clearInterval(this._loopId);clearTimeout(this._dragStartTimer);re(this.cloneId);re(this._dragStartId);if(this.nativeDraggable){g(document,"drop",this);g(n,"dragstart",this._onDragStart)}this._offMoveEvents();this._offUpEvents();if(h){x(document.body,"user-select","")}x(tt,"transform","");if(e){if(xt){e.cancelable&&e.preventDefault();!i.dropBubble&&e.stopPropagation()}nt&&nt.parentNode&&nt.parentNode.removeChild(nt);if(it===et||dt&&dt.lastPutMode!=="clone"){at&&at.parentNode&&at.parentNode.removeChild(at)}if(tt){if(this.nativeDraggable){g(tt,"dragend",this)}$t(tt);tt.style["will-change"]="";if(xt&&!vt){I(tt,dt?dt.options.ghostClass:this.options.ghostClass,false)}I(tt,this.options.chosenClass,false);Q({sortable:this,name:"unchoose",toEl:et,newIndex:null,newDraggableIndex:null,originalEvent:e});if(it!==et){if(st>=0){Q({rootEl:et,name:"add",toEl:et,fromEl:it,originalEvent:e});Q({sortable:this,name:"remove",toEl:et,originalEvent:e});Q({rootEl:et,name:"sort",toEl:et,fromEl:it,originalEvent:e});Q({sortable:this,name:"sort",toEl:et,originalEvent:e})}dt&&dt.save()}else{if(st!==ut){if(st>=0){Q({sortable:this,name:"update",toEl:et,originalEvent:e});Q({sortable:this,name:"sort",toEl:et,originalEvent:e})}}}if(Ut.active){if(st==null||st===-1){st=ut;ct=lt}Q({sortable:this,name:"end",toEl:et,originalEvent:e});this.save()}}}this._nulling()},_nulling:function t(){K("nulling",this);it=tt=et=nt=rt=at=ot=ft=gt=bt=xt=st=ct=ut=lt=St=Tt=dt=ht=Ut.dragged=Ut.ghost=Ut.clone=Ut.active=null;jt.forEach((function(t){t.checked=true}));jt.length=wt=Et=0},handleEvent:function t(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":if(tt){this._onDragOver(e);Vt(e)}break;case"selectstart":e.preventDefault();break}},toArray:function t(){var e=[],n,i=this.el.children,r=0,o=i.length,a=this.options;for(;r<o;r++){n=i[r];if(E(n,a.draggable,this.el,false)){e.push(n.getAttribute(a.dataIdAttr)||ee(n))}}return e},sort:function t(e,n){var i={},r=this.el;this.toArray().forEach((function(t,e){var n=r.children[e];if(E(n,this.options.draggable,r,false)){i[t]=n}}),this);n&&this.captureAnimationState();e.forEach((function(t){if(i[t]){r.removeChild(i[t]);r.appendChild(i[t])}}));n&&this.animateAll()},save:function t(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function t(e,n){return E(e,n||this.options.draggable,this.el,false)},option:function t(e,n){var i=this.options;if(n===void 0){return i[e]}else{var r=$.modifyOption(this,e,n);if(typeof r!=="undefined"){i[e]=r}else{i[e]=n}if(e==="group"){Lt(i)}}},destroy:function t(){K("destroy",this);var e=this.el;e[W]=null;g(e,"mousedown",this._onTapStart);g(e,"touchstart",this._onTapStart);g(e,"pointerdown",this._onTapStart);if(this.nativeDraggable){g(e,"dragover",this);g(e,"dragenter",this)}Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")}));this._onDrop();this._disableDelayedDragEvents();pt.splice(pt.indexOf(this.el),1);this.el=e=null},_hideClone:function t(){if(!ft){K("hideClone",this);if(Ut.eventCanceled)return;x(at,"display","none");if(this.options.removeCloneOnHide&&at.parentNode){at.parentNode.removeChild(at)}ft=true}},_showClone:function t(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(ft){K("showClone",this);if(Ut.eventCanceled)return;if(tt.parentNode==it&&!this.options.group.revertClone){it.insertBefore(at,tt)}else if(rt){it.insertBefore(at,rt)}else{it.appendChild(at)}if(this.options.group.revertClone){this.animate(tt,at)}x(at,"display","");ft=false}}};function Vt(t){if(t.dataTransfer){t.dataTransfer.dropEffect="move"}t.cancelable&&t.preventDefault()}function Zt(t,e,n,i,r,o,a,f){var u,c=t[W],h=c.options.onMove,d;if(window.CustomEvent&&!s&&!l){u=new CustomEvent("move",{bubbles:true,cancelable:true})}else{u=document.createEvent("Event");u.initEvent("move",true,true)}u.to=e;u.from=t;u.dragged=n;u.draggedRect=i;u.related=r||e;u.relatedRect=o||M(e);u.willInsertAfter=f;u.originalEvent=a;t.dispatchEvent(u);if(h){d=h.call(c,u,a)}return d}function $t(t){t.draggable=false}function qt(){Ct=false}function Jt(t,e,n){var i=M(k(n.el,0,n.options,true));var r=_(n.el);var o=10;return e?t.clientX<r.left-o||t.clientY<i.top&&t.clientX<i.right:t.clientY<r.top-o||t.clientY<i.bottom&&t.clientX<i.left}function Kt(t,e,n){var i=M(C(n.el,n.options.draggable));var r=_(n.el);var o=10;return e?t.clientX>r.right+o||t.clientY>i.bottom&&t.clientX>i.left:t.clientY>r.bottom+o||t.clientX>i.right&&t.clientY>i.top}function Qt(t,e,n,i,r,o,a,f){var u=i?t.clientY:t.clientX,s=i?n.height:n.width,l=i?n.top:n.left,c=i?n.bottom:n.right,h=false;if(!a){if(f&&_t<s*r){if(!Ot&&(Tt===1?u>l+s*o/2:u<c-s*o/2)){Ot=true}if(!Ot){if(Tt===1?u<l+_t:u>c-_t){return-Tt}}else{h=true}}else{if(u>l+s*(1-r)/2&&u<c-s*(1-r)/2){return te(e)}}}h=h||a;if(h){if(u<l+s*o/2||u>c-s*o/2){return u>l+s/2?1:-1}}return 0}function te(t){if(j(tt)<j(t)){return 1}else{return-1}}function ee(t){var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;while(n--){i+=e.charCodeAt(n)}return i.toString(36)}function ne(t){jt.length=0;var e=t.getElementsByTagName("input");var n=e.length;while(n--){var i=e[n];i.checked&&jt.push(i)}}function ie(t){return setTimeout(t,0)}function re(t){return clearTimeout(t)}if(At){p(document,"touchmove",(function(t){if((Ut.active||vt)&&t.cancelable){t.preventDefault()}}))}Ut.utils={on:p,off:g,css:x,find:T,is:function t(e,n){return!!E(e,n,e,false)},extend:F,throttle:H,closest:E,toggleClass:I,clone:R,index:j,nextTick:ie,cancelNextTick:re,detectDirection:Bt,getChild:k};Ut.get=function(t){return t[W]};Ut.mount=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++){n[i]=arguments[i]}if(n[0].constructor===Array)n=n[0];n.forEach((function(t){if(!t.prototype||!t.prototype.constructor){throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t))}if(t.utils)Ut.utils=e(e({},Ut.utils),t.utils);$.mount(t)}))};Ut.create=function(t,e){return new Ut(t,e)};Ut.version=f;var oe=[],ae,fe,ue=false,se,le,ce,he;function de(){function t(){this.defaults={scroll:true,forceAutoScrollFallback:false,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:true};for(var t in this){if(t.charAt(0)==="_"&&typeof this[t]==="function"){this[t]=this[t].bind(this)}}}t.prototype={dragStarted:function t(e){var n=e.originalEvent;if(this.sortable.nativeDraggable){p(document,"dragover",this._handleAutoScroll)}else{if(this.options.supportPointer){p(document,"pointermove",this._handleFallbackAutoScroll)}else if(n.touches){p(document,"touchmove",this._handleFallbackAutoScroll)}else{p(document,"mousemove",this._handleFallbackAutoScroll)}}},dragOverCompleted:function t(e){var n=e.originalEvent;if(!this.options.dragOverBubble&&!n.rootEl){this._handleAutoScroll(n)}},drop:function t(){if(this.sortable.nativeDraggable){g(document,"dragover",this._handleAutoScroll)}else{g(document,"pointermove",this._handleFallbackAutoScroll);g(document,"touchmove",this._handleFallbackAutoScroll);g(document,"mousemove",this._handleFallbackAutoScroll)}me();ve();G()},nulling:function t(){ce=fe=ae=ue=he=se=le=null;oe.length=0},_handleFallbackAutoScroll:function t(e){this._handleAutoScroll(e,true)},_handleAutoScroll:function t(e,n){var i=this;var r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(r,o);ce=e;if(n||this.options.forceAutoScrollFallback||l||s||h){pe(e,this.options,a,n);var f=N(a,true);if(ue&&(!he||r!==se||o!==le)){he&&me();he=setInterval((function(){var t=N(document.elementFromPoint(r,o),true);if(t!==f){f=t;ve()}pe(e,i.options,t,n)}),10);se=r;le=o}}else{if(!this.options.bubbleScroll||N(a,true)===O()){ve();return}pe(e,this.options,N(a,false),false)}}};return r(t,{pluginName:"scroll",initializeByDefault:true})}function ve(){oe.forEach((function(t){clearInterval(t.pid)}));oe=[]}function me(){clearInterval(he)}var pe=H((function(t,e,n,i){if(!e.scroll)return;var r=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,f=e.scrollSpeed,u=O();var s=false,l;if(fe!==n){fe=n;ve();ae=e.scroll;l=e.scrollFn;if(ae===true){ae=N(n,true)}}var c=0;var h=ae;do{var d=h,v=M(d),m=v.top,p=v.bottom,g=v.left,b=v.right,w=v.width,E=v.height,y=void 0,I=void 0,S=d.scrollWidth,T=d.scrollHeight,_=x(d),D=d.scrollLeft,k=d.scrollTop;if(d===u){y=w<S&&(_.overflowX==="auto"||_.overflowX==="scroll"||_.overflowX==="visible");I=E<T&&(_.overflowY==="auto"||_.overflowY==="scroll"||_.overflowY==="visible")}else{y=w<S&&(_.overflowX==="auto"||_.overflowX==="scroll");I=E<T&&(_.overflowY==="auto"||_.overflowY==="scroll")}var C=y&&(Math.abs(b-r)<=a&&D+w<S)-(Math.abs(g-r)<=a&&!!D);var j=I&&(Math.abs(p-o)<=a&&k+E<T)-(Math.abs(m-o)<=a&&!!k);if(!oe[c]){for(var A=0;A<=c;A++){if(!oe[A]){oe[A]={}}}}if(oe[c].vx!=C||oe[c].vy!=j||oe[c].el!==d){oe[c].el=d;oe[c].vx=C;oe[c].vy=j;clearInterval(oe[c].pid);if(C!=0||j!=0){s=true;oe[c].pid=setInterval(function(){if(i&&this.layer===0){Ut.active._onTouchMove(ce)}var e=oe[this.layer].vy?oe[this.layer].vy*f:0;var n=oe[this.layer].vx?oe[this.layer].vx*f:0;if(typeof l==="function"){if(l.call(Ut.dragged.parentNode[W],n,e,t,ce,oe[this.layer].el)!=="continue"){return}}L(oe[this.layer].el,n,e)}.bind({layer:c}),24)}}c++}while(e.bubbleScroll&&h!==u&&(h=N(h,false)));ue=s}),30);var ge=function t(e){var n=e.originalEvent,i=e.putSortable,r=e.dragEl,o=e.activeSortable,a=e.dispatchSortableEvent,f=e.hideGhostForTarget,u=e.unhideGhostForTarget;if(!n)return;var s=i||o;f();var l=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n;var c=document.elementFromPoint(l.clientX,l.clientY);u();if(s&&!s.el.contains(c)){a("spill");this.onSpill({dragEl:r,putSortable:i})}};function be(){}be.prototype={startIndex:null,dragStart:function t(e){var n=e.oldDraggableIndex;this.startIndex=n},onSpill:function t(e){var n=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState();if(i){i.captureAnimationState()}var r=k(this.sortable.el,this.startIndex,this.options);if(r){this.sortable.el.insertBefore(n,r)}else{this.sortable.el.appendChild(n)}this.sortable.animateAll();if(i){i.animateAll()}},drop:ge};r(be,{pluginName:"revertOnSpill"});function we(){}we.prototype={onSpill:function t(e){var n=e.dragEl,i=e.putSortable;var r=i||this.sortable;r.captureAnimationState();n.parentNode&&n.parentNode.removeChild(n);r.animateAll()},drop:ge};r(we,{pluginName:"removeOnSpill"});Ut.mount(new de);Ut.mount(we,be);const Ee=new Set;const ye={ghostClass:"calcite-sortable--ghost",chosenClass:"calcite-sortable--chosen",dragClass:"calcite-sortable--drag"};function Ie(t){xe(t);Ee.add(t);const e="id";const{group:n,handleSelector:i,dragSelector:r}=t;t.sortable=Ut.create(t.el,{dataIdAttr:e,...ye,...!!r&&{draggable:r},...!!n&&{group:{name:n,...!!t.canPull&&{pull:(e,n,i,{newIndex:r,oldIndex:o})=>t.canPull({toEl:e.el,fromEl:n.el,dragEl:i,newIndex:r,oldIndex:o})},...!!t.canPut&&{put:(e,n,i,{newIndex:r,oldIndex:o})=>t.canPut({toEl:e.el,fromEl:n.el,dragEl:i,newIndex:r,oldIndex:o})}}},handle:i,filter:"[drag-disabled]",onStart:({from:e,item:n,to:i,newIndex:r,oldIndex:o})=>{Se.active=true;Oe();t.onDragStart({fromEl:e,dragEl:n,toEl:i,newIndex:r,oldIndex:o})},onEnd:({from:e,item:n,to:i,newIndex:r,oldIndex:o})=>{Se.active=false;Me();t.onDragEnd({fromEl:e,dragEl:n,toEl:i,newIndex:r,oldIndex:o})},onSort:({from:e,item:n,to:i,newIndex:r,oldIndex:o})=>{t.onDragSort({fromEl:e,dragEl:n,toEl:i,newIndex:r,oldIndex:o})}})}function xe(t){Ee.delete(t);t.sortable?.destroy();t.sortable=null}const Se={active:false};function Te(t){return t.dragEnabled&&Se.active}function Oe(){Array.from(Ee).forEach((t=>t.onGlobalDragStart()))}function Me(){Array.from(Ee).forEach((t=>t.onGlobalDragEnd()))}export{xe as a,Ie as c,Te as d};
|
|
13
|
-
//# sourceMappingURL=p-fecc9518.js.map
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.1.0-next.6
|
|
5
|
-
*/
|
|
6
|
-
'use strict';
|
|
7
|
-
|
|
8
|
-
const index = require('./index-2693b1bf.js');
|
|
9
|
-
const dom = require('./dom-20b81b7c.js');
|
|
10
|
-
const resources$1 = require('./resources-e0e66f8e.js');
|
|
11
|
-
const resources = require('./resources-e00cd2b7.js');
|
|
12
|
-
|
|
13
|
-
const overflowActionsDebounceInMs = 150;
|
|
14
|
-
const groupBufferPx = 2;
|
|
15
|
-
const getAverage = (arr) => arr.reduce((p, c) => p + c, 0) / arr.length;
|
|
16
|
-
const geActionDimensions = (actions) => {
|
|
17
|
-
const actionsNotSlotted = actions.filter((action) => action.slot !== resources$1.SLOTS.menuActions);
|
|
18
|
-
const actionLen = actionsNotSlotted?.length;
|
|
19
|
-
return {
|
|
20
|
-
actionWidth: actionLen ? getAverage(actionsNotSlotted.map((action) => action.clientWidth || 0)) : 0,
|
|
21
|
-
actionHeight: actionLen ? getAverage(actionsNotSlotted.map((action) => action.clientHeight || 0)) : 0,
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
const getMaxActionCount = ({ width, actionWidth, layout, height, actionHeight, groupCount, }) => {
|
|
25
|
-
const maxContainerPx = layout === "horizontal" ? width : height;
|
|
26
|
-
const avgItemPx = layout === "horizontal" ? actionWidth : actionHeight;
|
|
27
|
-
return Math.floor((maxContainerPx - groupCount * groupBufferPx) / avgItemPx);
|
|
28
|
-
};
|
|
29
|
-
const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeight, height, groupCount, }) => {
|
|
30
|
-
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
31
|
-
};
|
|
32
|
-
const queryActions = (el) => {
|
|
33
|
-
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === resources.SLOTS.trigger : true);
|
|
34
|
-
};
|
|
35
|
-
const overflowActions = ({ actionGroups, expanded, overflowCount, }) => {
|
|
36
|
-
let needToSlotCount = overflowCount;
|
|
37
|
-
actionGroups.reverse().forEach((group) => {
|
|
38
|
-
let slottedWithinGroupCount = 0;
|
|
39
|
-
const groupActions = queryActions(group).reverse();
|
|
40
|
-
groupActions.forEach((groupAction) => {
|
|
41
|
-
if (groupAction.slot === resources$1.SLOTS.menuActions) {
|
|
42
|
-
groupAction.removeAttribute("slot");
|
|
43
|
-
groupAction.textEnabled = expanded;
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
if (needToSlotCount > 0) {
|
|
47
|
-
groupActions.some((groupAction) => {
|
|
48
|
-
const unslottedActions = groupActions.filter((action) => !action.slot);
|
|
49
|
-
if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
|
|
50
|
-
groupAction.textEnabled = true;
|
|
51
|
-
groupAction.setAttribute("slot", resources$1.SLOTS.menuActions);
|
|
52
|
-
slottedWithinGroupCount++;
|
|
53
|
-
if (slottedWithinGroupCount > 1) {
|
|
54
|
-
needToSlotCount--;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return needToSlotCount < 1;
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
index.forceUpdate(group);
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
const ICONS = {
|
|
65
|
-
chevronsLeft: "chevrons-left",
|
|
66
|
-
chevronsRight: "chevrons-right",
|
|
67
|
-
};
|
|
68
|
-
function getCalcitePosition(position, el) {
|
|
69
|
-
return position || el.closest("calcite-shell-panel")?.position || "start";
|
|
70
|
-
}
|
|
71
|
-
function toggleChildActionText({ el, expanded, }) {
|
|
72
|
-
queryActions(el)
|
|
73
|
-
.filter((el) => el.slot !== resources$1.SLOTS.menuActions)
|
|
74
|
-
.forEach((action) => (action.textEnabled = expanded));
|
|
75
|
-
el.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((el) => (el.expanded = expanded));
|
|
76
|
-
}
|
|
77
|
-
const setTooltipReference = ({ tooltip, referenceElement, expanded, ref, }) => {
|
|
78
|
-
if (tooltip) {
|
|
79
|
-
tooltip.referenceElement = !expanded && referenceElement ? referenceElement : null;
|
|
80
|
-
}
|
|
81
|
-
if (ref) {
|
|
82
|
-
ref(referenceElement);
|
|
83
|
-
}
|
|
84
|
-
return referenceElement;
|
|
85
|
-
};
|
|
86
|
-
const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position, tooltip, ref, scale, }) => {
|
|
87
|
-
const rtl = dom.getElementDir(el) === "rtl";
|
|
88
|
-
const text = expanded ? collapseText : expandText;
|
|
89
|
-
const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];
|
|
90
|
-
if (rtl) {
|
|
91
|
-
icons.reverse();
|
|
92
|
-
}
|
|
93
|
-
const end = getCalcitePosition(position, el) === "end";
|
|
94
|
-
const expandIcon = end ? icons[1] : icons[0];
|
|
95
|
-
const collapseIcon = end ? icons[0] : icons[1];
|
|
96
|
-
const actionNode = (index.h("calcite-action", { icon: expanded ? expandIcon : collapseIcon, onClick: toggle, scale: scale, text: text, textEnabled: expanded, title: !expanded && !tooltip ? text : null,
|
|
97
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
98
|
-
ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }) }));
|
|
99
|
-
return actionNode;
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
exports.ExpandToggle = ExpandToggle;
|
|
103
|
-
exports.geActionDimensions = geActionDimensions;
|
|
104
|
-
exports.getOverflowCount = getOverflowCount;
|
|
105
|
-
exports.overflowActions = overflowActions;
|
|
106
|
-
exports.overflowActionsDebounceInMs = overflowActionsDebounceInMs;
|
|
107
|
-
exports.queryActions = queryActions;
|
|
108
|
-
exports.toggleChildActionText = toggleChildActionText;
|
|
109
|
-
|
|
110
|
-
//# sourceMappingURL=ExpandToggle-5b5beec1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"ExpandToggle-5b5beec1.js","mappings":";;;;;;;;;;;;MAKa,2BAA2B,GAAG,IAAI;AAC/C,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB,MAAM,UAAU,GAAG,CAAC,GAAa,KAAK,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;MAErE,kBAAkB,GAAG,CAChC,OAAmC;IAEnC,MAAM,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,KAAKA,iBAAkB,CAAC,WAAW,CAAC,CAAC;IACrG,MAAM,SAAS,GAAG,iBAAiB,EAAE,MAAM,CAAC;IAC5C,OAAO;QACL,WAAW,EAAE,SAAS,GAAG,UAAU,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,WAAW,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC;QACnG,YAAY,EAAE,SAAS,GAAG,UAAU,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,YAAY,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC;KACtG,CAAC;AACJ,EAAE;AAEF,MAAM,iBAAiB,GAAG,CAAC,EACzB,KAAK,EACL,WAAW,EACX,MAAM,EACN,MAAM,EACN,YAAY,EACZ,UAAU,GAQX;IACC,MAAM,cAAc,GAAG,MAAM,KAAK,YAAY,GAAG,KAAK,GAAG,MAAM,CAAC;IAChE,MAAM,SAAS,GAAG,MAAM,KAAK,YAAY,GAAG,WAAW,GAAG,YAAY,CAAC;IACvE,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,cAAc,GAAG,UAAU,GAAG,aAAa,IAAI,SAAS,CAAC,CAAC;AAC/E,CAAC,CAAC;MAEW,gBAAgB,GAAG,CAAC,EAC/B,MAAM,EACN,WAAW,EACX,WAAW,EACX,KAAK,EACL,YAAY,EACZ,MAAM,EACN,UAAU,GASX;IACC,OAAO,IAAI,CAAC,GAAG,CAAC,WAAW,GAAG,iBAAiB,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AACxH,EAAE;MAEW,YAAY,GAAG,CAAC,EAAe;IAC1C,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,KACrE,MAAM,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,MAAM,CAAC,IAAI,KAAKC,eAAiB,CAAC,OAAO,GAAG,IAAI,CACzF,CAAC;AACJ,EAAE;MAEW,eAAe,GAAG,CAAC,EAC9B,YAAY,EACZ,QAAQ,EACR,aAAa,GAKd;IACC,IAAI,eAAe,GAAG,aAAa,CAAC;IACpC,YAAY,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,CAAC,KAAK;QACnC,IAAI,uBAAuB,GAAG,CAAC,CAAC;QAEhC,MAAM,YAAY,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC;QAEnD,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW;YAC/B,IAAI,WAAW,CAAC,IAAI,KAAKD,iBAAkB,CAAC,WAAW,EAAE;gBACvD,WAAW,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;gBACpC,WAAW,CAAC,WAAW,GAAG,QAAQ,CAAC;aACpC;SACF,CAAC,CAAC;QAEH,IAAI,eAAe,GAAG,CAAC,EAAE;YACvB,YAAY,CAAC,IAAI,CAAC,CAAC,WAAW;gBAC5B,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBAEvE,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAAE;oBACzG,WAAW,CAAC,WAAW,GAAG,IAAI,CAAC;oBAC/B,WAAW,CAAC,YAAY,CAAC,MAAM,EAAEA,iBAAkB,CAAC,WAAW,CAAC,CAAC;oBACjE,uBAAuB,EAAE,CAAC;oBAE1B,IAAI,uBAAuB,GAAG,CAAC,EAAE;wBAC/B,eAAe,EAAE,CAAC;qBACnB;iBACF;gBAED,OAAO,eAAe,GAAG,CAAC,CAAC;aAC5B,CAAC,CAAC;SACJ;QAEDE,iBAAW,CAAC,KAAK,CAAC,CAAC;KACpB,CAAC,CAAC;AACL;;AC3FA,MAAM,KAAK,GAAG;IACZ,YAAY,EAAE,eAAe;IAC7B,aAAa,EAAE,gBAAgB;CAChC,CAAC;AAEF,SAAS,kBAAkB,CAAC,QAAkB,EAAE,EAAe;IAC7D,OAAO,QAAQ,IAAI,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAAE,QAAQ,IAAI,OAAO,CAAC;AAC5E,CAAC;SAEe,qBAAqB,CAAC,EACpC,EAAE,EACF,QAAQ,GAIT;IACC,YAAY,CAAC,EAAE,CAAC;SACb,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,IAAI,KAAKF,iBAAkB,CAAC,WAAW,CAAC;SAC1D,OAAO,CAAC,CAAC,MAAM,MAAM,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC,CAAC,CAAC;IACxD,EAAE,CAAC,gBAAgB,CAAC,2CAA2C,CAAC,CAAC,OAAO,CACtE,CAAC,EAAgE,MAAM,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAC/F,CAAC;AACJ,CAAC;AAED,MAAM,mBAAmB,GAAG,CAAC,EAC3B,OAAO,EACP,gBAAgB,EAChB,QAAQ,EACR,GAAG,GAMJ;IACC,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,gBAAgB,GAAG,CAAC,QAAQ,IAAI,gBAAgB,GAAG,gBAAgB,GAAG,IAAI,CAAC;KACpF;IAED,IAAI,GAAG,EAAE;QACP,GAAG,CAAC,gBAAgB,CAAC,CAAC;KACvB;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC,CAAC;MAEW,YAAY,GAA2C,CAAC,EACnE,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,MAAM,EACN,EAAE,EACF,QAAQ,EACR,OAAO,EACP,GAAG,EACH,KAAK,GACN;IACC,MAAM,GAAG,GAAGG,iBAAa,CAAC,EAAE,CAAC,KAAK,KAAK,CAAC;IAExC,MAAM,IAAI,GAAG,QAAQ,GAAG,YAAY,GAAG,UAAU,CAAC;IAClD,MAAM,KAAK,GAAG,CAAC,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAExD,IAAI,GAAG,EAAE;QACP,KAAK,CAAC,OAAO,EAAE,CAAC;KACjB;IAED,MAAM,GAAG,GAAG,kBAAkB,CAAC,QAAQ,EAAE,EAAE,CAAC,KAAK,KAAK,CAAC;IACvD,MAAM,UAAU,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC7C,MAAM,YAAY,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAE/C,MAAM,UAAU,IACdC,4BACE,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,YAAY,EAC1C,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,QAAQ,EACrB,KAAK,EAAE,CAAC,QAAQ,IAAI,CAAC,OAAO,GAAG,IAAI,GAAG,IAAI;;QAE1C,GAAG,EAAE,CAAC,gBAAgB,KACpB,mBAAmB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,GAEnE,CACH,CAAC;IAEF,OAAO,UAAU,CAAC;AACpB;;;;;;;;;;","names":["ACTION_GROUP_SLOTS","ACTION_MENU_SLOTS","forceUpdate","getElementDir","h"],"sources":["src/components/action-bar/utils.ts","src/components/functional/ExpandToggle.tsx"],"sourcesContent":["import { forceUpdate } from \"@stencil/core\";\nimport { SLOTS as ACTION_GROUP_SLOTS } from \"../action-group/resources\";\nimport { SLOTS as ACTION_MENU_SLOTS } from \"../action-menu/resources\";\nimport { Layout } from \"../interfaces\";\n\nexport const overflowActionsDebounceInMs = 150;\nconst groupBufferPx = 2;\n\nconst getAverage = (arr: number[]) => arr.reduce((p, c) => p + c, 0) / arr.length;\n\nexport const geActionDimensions = (\n actions: HTMLCalciteActionElement[]\n): { actionWidth: number; actionHeight: number } => {\n const actionsNotSlotted = actions.filter((action) => action.slot !== ACTION_GROUP_SLOTS.menuActions);\n const actionLen = actionsNotSlotted?.length;\n return {\n actionWidth: actionLen ? getAverage(actionsNotSlotted.map((action) => action.clientWidth || 0)) : 0,\n actionHeight: actionLen ? getAverage(actionsNotSlotted.map((action) => action.clientHeight || 0)) : 0,\n };\n};\n\nconst getMaxActionCount = ({\n width,\n actionWidth,\n layout,\n height,\n actionHeight,\n groupCount,\n}: {\n layout: Extract<\"horizontal\" | \"vertical\", Layout>;\n height: number;\n actionWidth: number;\n width: number;\n actionHeight: number;\n groupCount: number;\n}): number => {\n const maxContainerPx = layout === \"horizontal\" ? width : height;\n const avgItemPx = layout === \"horizontal\" ? actionWidth : actionHeight;\n return Math.floor((maxContainerPx - groupCount * groupBufferPx) / avgItemPx);\n};\n\nexport const getOverflowCount = ({\n layout,\n actionCount,\n actionWidth,\n width,\n actionHeight,\n height,\n groupCount,\n}: {\n layout: Extract<\"horizontal\" | \"vertical\", Layout>;\n actionCount: number;\n actionWidth: number;\n width: number;\n actionHeight: number;\n height: number;\n groupCount: number;\n}): number => {\n return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);\n};\n\nexport const queryActions = (el: HTMLElement): HTMLCalciteActionElement[] => {\n return Array.from(el.querySelectorAll(\"calcite-action\")).filter((action) =>\n action.closest(\"calcite-action-menu\") ? action.slot === ACTION_MENU_SLOTS.trigger : true\n );\n};\n\nexport const overflowActions = ({\n actionGroups,\n expanded,\n overflowCount,\n}: {\n actionGroups: HTMLCalciteActionGroupElement[];\n expanded: boolean;\n overflowCount: number;\n}): void => {\n let needToSlotCount = overflowCount;\n actionGroups.reverse().forEach((group) => {\n let slottedWithinGroupCount = 0;\n\n const groupActions = queryActions(group).reverse();\n\n groupActions.forEach((groupAction) => {\n if (groupAction.slot === ACTION_GROUP_SLOTS.menuActions) {\n groupAction.removeAttribute(\"slot\");\n groupAction.textEnabled = expanded;\n }\n });\n\n if (needToSlotCount > 0) {\n groupActions.some((groupAction) => {\n const unslottedActions = groupActions.filter((action) => !action.slot);\n\n if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest(\"calcite-action-menu\")) {\n groupAction.textEnabled = true;\n groupAction.setAttribute(\"slot\", ACTION_GROUP_SLOTS.menuActions);\n slottedWithinGroupCount++;\n\n if (slottedWithinGroupCount > 1) {\n needToSlotCount--;\n }\n }\n\n return needToSlotCount < 1;\n });\n }\n\n forceUpdate(group);\n });\n};\n","import { FunctionalComponent, h } from \"@stencil/core\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { queryActions } from \"../action-bar/utils\";\nimport { SLOTS as ACTION_GROUP_SLOTS } from \"../action-group/resources\";\nimport { Position, Scale } from \"../interfaces\";\n\ninterface ExpandToggleProps {\n expanded: boolean;\n expandText: string;\n collapseText: string;\n el: HTMLElement;\n position: Position;\n tooltip?: HTMLCalciteTooltipElement;\n toggle: () => void;\n ref?: (el: HTMLElement) => void;\n scale?: Scale;\n}\n\nconst ICONS = {\n chevronsLeft: \"chevrons-left\",\n chevronsRight: \"chevrons-right\",\n};\n\nfunction getCalcitePosition(position: Position, el: HTMLElement): Position {\n return position || el.closest(\"calcite-shell-panel\")?.position || \"start\";\n}\n\nexport function toggleChildActionText({\n el,\n expanded,\n}: {\n el: HTMLElement;\n expanded: boolean;\n}): void {\n queryActions(el)\n .filter((el) => el.slot !== ACTION_GROUP_SLOTS.menuActions)\n .forEach((action) => (action.textEnabled = expanded));\n el.querySelectorAll(\"calcite-action-group, calcite-action-menu\").forEach(\n (el: HTMLCalciteActionMenuElement | HTMLCalciteActionGroupElement) => (el.expanded = expanded)\n );\n}\n\nconst setTooltipReference = ({\n tooltip,\n referenceElement,\n expanded,\n ref,\n}: {\n tooltip: HTMLCalciteTooltipElement;\n referenceElement: HTMLCalciteActionElement;\n expanded: boolean;\n ref?: (el: HTMLElement) => void;\n}): HTMLCalciteActionElement => {\n if (tooltip) {\n tooltip.referenceElement = !expanded && referenceElement ? referenceElement : null;\n }\n\n if (ref) {\n ref(referenceElement);\n }\n\n return referenceElement;\n};\n\nexport const ExpandToggle: FunctionalComponent<ExpandToggleProps> = ({\n expanded,\n expandText,\n collapseText,\n toggle,\n el,\n position,\n tooltip,\n ref,\n scale,\n}) => {\n const rtl = getElementDir(el) === \"rtl\";\n\n const text = expanded ? collapseText : expandText;\n const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];\n\n if (rtl) {\n icons.reverse();\n }\n\n const end = getCalcitePosition(position, el) === \"end\";\n const expandIcon = end ? icons[1] : icons[0];\n const collapseIcon = end ? icons[0] : icons[1];\n\n const actionNode = (\n <calcite-action\n icon={expanded ? expandIcon : collapseIcon}\n onClick={toggle}\n scale={scale}\n text={text}\n textEnabled={expanded}\n title={!expanded && !tooltip ? text : null}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(referenceElement): HTMLCalciteActionElement =>\n setTooltipReference({ tooltip, referenceElement, expanded, ref })\n }\n />\n );\n\n return actionNode;\n};\n"],"version":3}
|