@esri/calcite-components 2.8.2 → 2.8.4
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/assets/icon/developerCredentials16.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials24.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-01aa1806.js +7 -0
- package/dist/calcite/p-01c0a2c2.js +8 -0
- package/dist/calcite/p-042ffef2.entry.js +7 -0
- package/dist/calcite/p-071aace1.js +7 -0
- package/dist/calcite/p-087e87f3.js +7 -0
- package/dist/calcite/p-087e87f3.js.map +1 -0
- package/dist/calcite/p-08b66f67.entry.js +7 -0
- package/dist/calcite/p-08d45b62.entry.js +7 -0
- package/dist/calcite/p-0956d8d3.js +7 -0
- package/dist/calcite/p-0956d8d3.js.map +1 -0
- package/dist/calcite/p-0a009f83.entry.js +7 -0
- package/dist/calcite/p-0ba8ec19.js +7 -0
- package/dist/calcite/p-0d0710aa.entry.js +7 -0
- package/dist/calcite/p-101f01a3.js +7 -0
- package/dist/calcite/p-10877d5a.entry.js +7 -0
- package/dist/calcite/p-125f3790.entry.js +7 -0
- package/dist/calcite/p-12aea44f.js +12 -0
- package/dist/calcite/p-15659f77.js +7 -0
- package/dist/calcite/p-15ce7f36.js +7 -0
- package/dist/calcite/p-17074171.entry.js +7 -0
- package/dist/calcite/p-185ba817.entry.js +7 -0
- package/dist/calcite/p-18e5e7a4.js +7 -0
- package/dist/calcite/p-19c4839c.entry.js +7 -0
- package/dist/calcite/p-19c4839c.entry.js.map +1 -0
- package/dist/calcite/p-1ae789c5.js +11 -0
- package/dist/calcite/p-1ffb747c.js +7 -0
- package/dist/calcite/p-20267796.js +7 -0
- package/dist/calcite/p-20b1c174.entry.js +7 -0
- package/dist/calcite/p-20b1c174.entry.js.map +1 -0
- package/dist/calcite/p-223c079d.entry.js +7 -0
- package/dist/calcite/p-223c079d.entry.js.map +1 -0
- package/dist/calcite/p-2271ffa7.js +7 -0
- package/dist/calcite/p-22d5db89.js +7 -0
- package/dist/calcite/p-257bccc2.js +7 -0
- package/dist/calcite/p-2658c361.js +7 -0
- package/dist/calcite/p-27661490.entry.js +7 -0
- package/dist/calcite/p-27e9d688.entry.js +7 -0
- package/dist/calcite/p-292e53cc.js +7 -0
- package/dist/calcite/p-29e2d596.js +7 -0
- package/dist/calcite/p-2eca0d7e.entry.js +7 -0
- package/dist/calcite/p-2f3702bc.js +7 -0
- package/dist/calcite/p-3171ee55.entry.js +7 -0
- package/dist/calcite/p-3401fc3c.js +7 -0
- package/dist/calcite/p-34e21c17.js +7 -0
- package/dist/calcite/p-354996a2.js +7 -0
- package/dist/calcite/p-35bbc140.entry.js +7 -0
- package/dist/calcite/p-35ec8d1b.js +7 -0
- package/dist/calcite/p-36229a35.entry.js +7 -0
- package/dist/calcite/p-3644c977.entry.js +7 -0
- package/dist/calcite/p-3689dd15.entry.js +7 -0
- package/dist/calcite/p-3717b220.entry.js +7 -0
- package/dist/calcite/p-373adf00.js +7 -0
- package/dist/calcite/p-3776dbc9.js +7 -0
- package/dist/calcite/p-37d20b99.js +7 -0
- package/dist/calcite/p-3887b450.js +7 -0
- package/dist/calcite/p-3a5729de.entry.js +7 -0
- package/dist/calcite/p-3afc53af.js +7 -0
- package/dist/calcite/p-3b8b9962.js +7 -0
- package/dist/calcite/p-3c183141.entry.js +7 -0
- package/dist/calcite/p-3dabcd20.js +7 -0
- package/dist/calcite/p-4686da22.entry.js +7 -0
- package/dist/calcite/p-49293f49.entry.js +7 -0
- package/dist/calcite/p-4cdd8242.js +7 -0
- package/dist/calcite/p-4f59277d.entry.js +7 -0
- package/dist/calcite/p-4f6bad13.js +7 -0
- package/dist/calcite/p-4ff5655c.js +7 -0
- package/dist/calcite/p-500a1a7b.js +7 -0
- package/dist/calcite/p-500a1a7b.js.map +1 -0
- package/dist/calcite/p-5137ce19.entry.js +7 -0
- package/dist/calcite/p-5137ce19.entry.js.map +1 -0
- package/dist/calcite/p-55dfc8e6.entry.js +7 -0
- package/dist/calcite/p-5a560d40.js +7 -0
- package/dist/calcite/p-5fb90ec7.js +7 -0
- package/dist/calcite/p-5fb90ec7.js.map +1 -0
- package/dist/calcite/p-60f6262c.entry.js +7 -0
- package/dist/calcite/p-60f6262c.entry.js.map +1 -0
- package/dist/calcite/p-61e46c59.js +7 -0
- package/dist/calcite/p-6553386d.entry.js +7 -0
- package/dist/calcite/p-66169a34.js +7 -0
- package/dist/calcite/p-692c85b2.entry.js +7 -0
- package/dist/calcite/p-692c85b2.entry.js.map +1 -0
- package/dist/calcite/p-692ed76a.entry.js +7 -0
- package/dist/calcite/p-6a8e070c.js +7 -0
- package/dist/calcite/p-6ad7e411.js +7 -0
- package/dist/calcite/p-6ae3eac1.js +7 -0
- package/dist/calcite/p-6db0e4e4.js +7 -0
- package/dist/calcite/p-73f41384.js +7 -0
- package/dist/calcite/p-7451ee21.entry.js +7 -0
- package/dist/calcite/p-7451ee21.entry.js.map +1 -0
- package/dist/calcite/p-777a4cc5.entry.js +7 -0
- package/dist/calcite/p-784d80dc.js +7 -0
- package/dist/calcite/p-79258e87.entry.js +7 -0
- package/dist/calcite/p-7f78d11d.js +7 -0
- package/dist/calcite/p-865a3131.js +7 -0
- package/dist/calcite/p-8660582f.js +7 -0
- package/dist/calcite/p-868450b4.js +7 -0
- package/dist/calcite/p-871f7517.entry.js +7 -0
- package/dist/calcite/p-875aa902.entry.js +7 -0
- package/dist/calcite/p-87c48682.js +7 -0
- package/dist/calcite/p-87d9086b.js +7 -0
- package/dist/calcite/p-8972089c.entry.js +7 -0
- package/dist/calcite/p-899c784d.entry.js +7 -0
- package/dist/calcite/p-8aec30af.entry.js +7 -0
- package/dist/calcite/p-8b7661e7.entry.js +7 -0
- package/dist/calcite/p-8db01e91.entry.js +7 -0
- package/dist/calcite/p-8db01e91.entry.js.map +1 -0
- package/dist/calcite/p-8e8bace6.js +7 -0
- package/dist/calcite/p-8f036fc3.js +7 -0
- package/dist/calcite/p-90a42275.js +7 -0
- package/dist/calcite/p-9136338e.js +7 -0
- package/dist/calcite/p-923abe63.entry.js +7 -0
- package/dist/calcite/p-934e9599.entry.js +7 -0
- package/dist/calcite/p-95399294.entry.js +7 -0
- package/dist/calcite/p-9556ba21.entry.js +7 -0
- package/dist/calcite/p-959e0062.entry.js +7 -0
- package/dist/calcite/p-95a5ed7e.js +7 -0
- package/dist/calcite/p-96b32a02.js +7 -0
- package/dist/calcite/p-976d17d8.js +7 -0
- package/dist/calcite/p-9936cc47.js +7 -0
- package/dist/calcite/p-993e4552.js +7 -0
- package/dist/calcite/p-9b67a38a.entry.js +7 -0
- package/dist/calcite/p-9c7a165f.entry.js +7 -0
- package/dist/calcite/p-9d063d10.entry.js +7 -0
- package/dist/calcite/p-9e8ce924.js +7 -0
- package/dist/calcite/p-a39896d9.entry.js +7 -0
- package/dist/calcite/p-a3cab1aa.js +13 -0
- package/dist/calcite/p-a3edf119.entry.js +7 -0
- package/dist/calcite/p-a4059c16.js +7 -0
- package/dist/calcite/p-a64e6f62.js +7 -0
- package/dist/calcite/p-a65f9879.entry.js +7 -0
- package/dist/calcite/p-a7852e22.entry.js +7 -0
- package/dist/calcite/p-ad117b3d.js +7 -0
- package/dist/calcite/p-af2f9802.entry.js +7 -0
- package/dist/calcite/p-af9d918c.entry.js +7 -0
- package/dist/calcite/p-af9d918c.entry.js.map +1 -0
- package/dist/calcite/p-afb36e49.entry.js +7 -0
- package/dist/calcite/p-afb36e49.entry.js.map +1 -0
- package/dist/calcite/p-b0004c7f.js +7 -0
- package/dist/calcite/p-b01a52b9.entry.js +7 -0
- package/dist/calcite/p-b594faa4.js +7 -0
- package/dist/calcite/p-b6ee2f9a.js +7 -0
- package/dist/calcite/p-b91d256e.entry.js +7 -0
- package/dist/calcite/p-b9ffc620.js +7 -0
- package/dist/calcite/p-bd1c8077.entry.js +7 -0
- package/dist/calcite/p-c5ab7725.entry.js +7 -0
- package/dist/calcite/p-c8fdfa7d.entry.js +7 -0
- package/dist/calcite/p-cba3cb72.js +7 -0
- package/dist/calcite/p-cd792e9d.entry.js +7 -0
- package/dist/calcite/p-cd882225.entry.js +7 -0
- package/dist/calcite/p-ce39678a.entry.js +7 -0
- package/dist/calcite/p-ce420d6f.js +7 -0
- package/dist/calcite/p-d19a0563.entry.js +7 -0
- package/dist/calcite/p-d2785037.entry.js +7 -0
- package/dist/calcite/p-d2785037.entry.js.map +1 -0
- package/dist/calcite/p-d2b587d3.entry.js +7 -0
- package/dist/calcite/p-d474a45a.entry.js +7 -0
- package/dist/calcite/p-d620c735.js +7 -0
- package/dist/calcite/p-d7cca4af.js +7 -0
- package/dist/calcite/p-d9a3239a.js +7 -0
- package/dist/calcite/p-da027dfa.js +7 -0
- package/dist/calcite/p-dc499292.js +7 -0
- package/dist/calcite/p-de376b95.js +7 -0
- package/dist/calcite/p-de6b4d5d.js +7 -0
- package/dist/calcite/p-df004646.js +7 -0
- package/dist/calcite/p-e050246a.entry.js +7 -0
- package/dist/calcite/p-e2618ec4.js +7 -0
- package/dist/calcite/p-e5bbbb5a.js +7 -0
- package/dist/calcite/p-e63e0593.entry.js +7 -0
- package/dist/calcite/p-e83ab54f.entry.js +7 -0
- package/dist/calcite/p-eb3f50aa.entry.js +7 -0
- package/dist/calcite/p-eb931b76.entry.js +7 -0
- package/dist/calcite/p-ec6c8ba0.js +7 -0
- package/dist/calcite/p-ec6c8ba0.js.map +1 -0
- package/dist/calcite/p-ed8fde1f.js +7 -0
- package/dist/calcite/p-f1112c29.js +7 -0
- package/dist/calcite/p-f20ee8f5.js +7 -0
- package/dist/calcite/p-f382c352.js +7 -0
- package/dist/calcite/p-f46b474e.js +7 -0
- package/dist/calcite/p-f7a26cfe.js +7 -0
- package/dist/calcite/p-f90167e8.js +7 -0
- package/dist/calcite/p-ffd49d75.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-98066fae.js +110 -0
- package/dist/cjs/ExpandToggle-98066fae.js.map +1 -0
- package/dist/cjs/FloatingArrow-0702e780.js +49 -0
- package/dist/cjs/FloatingArrow-0702e780.js.map +1 -0
- package/dist/cjs/Heading-cd202676.js +22 -0
- package/dist/cjs/Heading-cd202676.js.map +1 -0
- package/dist/cjs/Validation-ae24f671.js +18 -0
- package/dist/cjs/Validation-ae24f671.js.map +1 -0
- package/dist/cjs/app-globals-7c5af59d.js +61 -0
- package/dist/cjs/app-globals-7c5af59d.js.map +1 -0
- package/dist/cjs/ar-9a07db7b.js +106 -0
- package/dist/cjs/ar-9a07db7b.js.map +1 -0
- package/dist/cjs/array-42aee12d.js +14 -0
- package/dist/cjs/array-42aee12d.js.map +1 -0
- package/dist/cjs/bg-28f46b6b.js +84 -0
- package/dist/cjs/bg-28f46b6b.js.map +1 -0
- package/dist/cjs/browser-066dbf62.js +22 -0
- package/dist/cjs/browser-066dbf62.js.map +1 -0
- package/dist/cjs/bs-d04441ee.js +53 -0
- package/dist/cjs/bs-d04441ee.js.map +1 -0
- package/dist/cjs/ca-ec0e9435.js +73 -0
- package/dist/cjs/ca-ec0e9435.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 +15 -15
- package/dist/cjs/calcite-card-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +12 -12
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +31 -34
- 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 +20 -20
- 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 +32 -32
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6466975d.js +2933 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6466975d.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +17 -17
- 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 +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +23 -29
- package/dist/cjs/calcite-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- 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 +13 -13
- 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 +13 -13
- 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 +19 -19
- package/dist/cjs/calcite-tile-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +16 -23
- package/dist/cjs/calcite-tooltip.cjs.entry.js.map +1 -1
- 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 +4 -4
- package/dist/cjs/component-bd029d90.js +30 -0
- package/dist/cjs/component-bd029d90.js.map +1 -0
- package/dist/cjs/conditionalSlot-2b4ae23a.js +51 -0
- package/dist/cjs/conditionalSlot-2b4ae23a.js.map +1 -0
- package/dist/cjs/core-997b7457.js +22 -0
- package/dist/cjs/core-997b7457.js.map +1 -0
- package/dist/cjs/cs-69ac3717.js +149 -0
- package/dist/cjs/cs-69ac3717.js.map +1 -0
- package/dist/cjs/da-e2d386a6.js +68 -0
- package/dist/cjs/da-e2d386a6.js.map +1 -0
- package/dist/cjs/de-57867de4.js +93 -0
- package/dist/cjs/de-57867de4.js.map +1 -0
- package/dist/cjs/de-at-55780c83.js +92 -0
- package/dist/cjs/de-at-55780c83.js.map +1 -0
- package/dist/cjs/de-ch-ab569111.js +92 -0
- package/dist/cjs/de-ch-ab569111.js.map +1 -0
- package/dist/cjs/debounce-e3a9cf41.js +506 -0
- package/dist/cjs/debounce-e3a9cf41.js.map +1 -0
- package/dist/cjs/dom-ccf94558.js +1144 -0
- package/dist/cjs/dom-ccf94558.js.map +1 -0
- package/dist/cjs/el-419692e9.js +68 -0
- package/dist/cjs/el-419692e9.js.map +1 -0
- package/dist/cjs/en-au-77ff6abb.js +68 -0
- package/dist/cjs/en-au-77ff6abb.js.map +1 -0
- package/dist/cjs/en-ca-038861fa.js +67 -0
- package/dist/cjs/en-ca-038861fa.js.map +1 -0
- package/dist/cjs/en-gb-53b0ac31.js +71 -0
- package/dist/cjs/en-gb-53b0ac31.js.map +1 -0
- package/dist/cjs/es-62de9e20.js +68 -0
- package/dist/cjs/es-62de9e20.js.map +1 -0
- package/dist/cjs/es-mx-edba28fc.js +67 -0
- package/dist/cjs/es-mx-edba28fc.js.map +1 -0
- package/dist/cjs/et-10045ca0.js +94 -0
- package/dist/cjs/et-10045ca0.js.map +1 -0
- package/dist/cjs/fi-7aa22b1e.js +117 -0
- package/dist/cjs/fi-7aa22b1e.js.map +1 -0
- package/dist/cjs/filter-4c448287.js +774 -0
- package/dist/cjs/filter-4c448287.js.map +1 -0
- package/dist/cjs/floating-ui-047be4a1.js +2320 -0
- package/dist/cjs/floating-ui-047be4a1.js.map +1 -0
- package/dist/cjs/focusTrapComponent-2fce194d.js +1020 -0
- package/dist/cjs/focusTrapComponent-2fce194d.js.map +1 -0
- package/dist/cjs/form-7ae673b0.js +378 -0
- package/dist/cjs/form-7ae673b0.js.map +1 -0
- package/dist/cjs/fr-c96cf1ff.js +70 -0
- package/dist/cjs/fr-c96cf1ff.js.map +1 -0
- package/dist/cjs/fr-ch-ed624119.js +68 -0
- package/dist/cjs/fr-ch-ed624119.js.map +1 -0
- package/dist/cjs/guid-e1a6db95.js +23 -0
- package/dist/cjs/guid-e1a6db95.js.map +1 -0
- package/dist/cjs/he-f1a3b0ed.js +107 -0
- package/dist/cjs/he-f1a3b0ed.js.map +1 -0
- package/dist/cjs/hi-76c347bc.js +67 -0
- package/dist/cjs/hi-76c347bc.js.map +1 -0
- package/dist/cjs/hr-811490fc.js +82 -0
- package/dist/cjs/hr-811490fc.js.map +1 -0
- package/dist/cjs/hu-63d245f1.js +90 -0
- package/dist/cjs/hu-63d245f1.js.map +1 -0
- package/dist/cjs/id-6fafca18.js +68 -0
- package/dist/cjs/id-6fafca18.js.map +1 -0
- package/dist/cjs/index-0f43493d.js +75 -0
- package/dist/cjs/index-0f43493d.js.map +1 -0
- package/dist/cjs/index-22c0afc3.js +1934 -0
- package/dist/cjs/index-22c0afc3.js.map +1 -0
- package/dist/cjs/index-dc74f283.js +208 -0
- package/dist/cjs/index-dc74f283.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-c82a8437.js +57 -0
- package/dist/cjs/input-c82a8437.js.map +1 -0
- package/dist/cjs/interactive-5d07ea82.js +151 -0
- package/dist/cjs/interactive-5d07ea82.js.map +1 -0
- package/dist/cjs/it-517d4e9a.js +68 -0
- package/dist/cjs/it-517d4e9a.js.map +1 -0
- package/dist/cjs/it-ch-08575f10.js +68 -0
- package/dist/cjs/it-ch-08575f10.js.map +1 -0
- package/dist/cjs/ja-3312767a.js +74 -0
- package/dist/cjs/ja-3312767a.js.map +1 -0
- package/dist/cjs/key-6365ec0d.js +16 -0
- package/dist/cjs/key-6365ec0d.js.map +1 -0
- package/dist/cjs/ko-b2d5a965.js +74 -0
- package/dist/cjs/ko-b2d5a965.js.map +1 -0
- package/dist/cjs/label-b59aad65.js +183 -0
- package/dist/cjs/label-b59aad65.js.map +1 -0
- package/dist/cjs/loadable-dd9af67e.js +91 -0
- package/dist/cjs/loadable-dd9af67e.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-92a79957.js +576 -0
- package/dist/cjs/locale-92a79957.js.map +1 -0
- package/dist/cjs/lt-ab094175.js +99 -0
- package/dist/cjs/lt-ab094175.js.map +1 -0
- package/dist/cjs/lv-8a9f67a6.js +68 -0
- package/dist/cjs/lv-8a9f67a6.js.map +1 -0
- package/dist/cjs/math-012fb304.js +57 -0
- package/dist/cjs/math-012fb304.js.map +1 -0
- package/dist/cjs/mk-1d5805fa.js +68 -0
- package/dist/cjs/mk-1d5805fa.js.map +1 -0
- package/dist/cjs/nb-570790f2.js +69 -0
- package/dist/cjs/nb-570790f2.js.map +1 -0
- package/dist/cjs/nl-c191ee26.js +69 -0
- package/dist/cjs/nl-c191ee26.js.map +1 -0
- package/dist/cjs/observers-c4e3ab63.js +52 -0
- package/dist/cjs/observers-c4e3ab63.js.map +1 -0
- package/dist/cjs/openCloseComponent-e1b55ddc.js +89 -0
- package/dist/cjs/openCloseComponent-e1b55ddc.js.map +1 -0
- package/dist/cjs/pl-753b413f.js +116 -0
- package/dist/cjs/pl-753b413f.js.map +1 -0
- package/dist/cjs/pt-br-101a2d69.js +67 -0
- package/dist/cjs/pt-br-101a2d69.js.map +1 -0
- package/dist/cjs/pt-fdf85454.js +69 -0
- package/dist/cjs/pt-fdf85454.js.map +1 -0
- package/dist/cjs/resources-1e912ff0.js +49 -0
- package/dist/cjs/resources-1e912ff0.js.map +1 -0
- package/dist/cjs/resources-2822f34a.js +18 -0
- package/dist/cjs/resources-2822f34a.js.map +1 -0
- package/dist/cjs/resources-4f68a6da.js +29 -0
- package/dist/cjs/resources-4f68a6da.js.map +1 -0
- package/dist/cjs/resources-88e0e3e7.js +26 -0
- package/dist/cjs/resources-88e0e3e7.js.map +1 -0
- package/dist/cjs/resources-979c2e3f.js +23 -0
- package/dist/cjs/resources-979c2e3f.js.map +1 -0
- package/dist/cjs/resources-a304ac56.js +414 -0
- package/dist/cjs/resources-a304ac56.js.map +1 -0
- package/dist/cjs/resources-d2dab442.js +26 -0
- package/dist/cjs/resources-d2dab442.js.map +1 -0
- package/dist/cjs/ro-54d4040a.js +68 -0
- package/dist/cjs/ro-54d4040a.js.map +1 -0
- package/dist/cjs/ru-c81c0e46.js +128 -0
- package/dist/cjs/ru-c81c0e46.js.map +1 -0
- package/dist/cjs/sk-bd665dd3.js +150 -0
- package/dist/cjs/sk-bd665dd3.js.map +1 -0
- package/dist/cjs/sl-820cf9d5.js +170 -0
- package/dist/cjs/sl-820cf9d5.js.map +1 -0
- package/dist/cjs/sortableComponent-e79f0655.js +2744 -0
- package/dist/cjs/sortableComponent-e79f0655.js.map +1 -0
- package/dist/cjs/sr-869d88fd.js +103 -0
- package/dist/cjs/sr-869d88fd.js.map +1 -0
- package/dist/cjs/sv-ebbc97e1.js +73 -0
- package/dist/cjs/sv-ebbc97e1.js.map +1 -0
- package/dist/cjs/t9n-2a13b7e9.js +97 -0
- package/dist/cjs/t9n-2a13b7e9.js.map +1 -0
- package/dist/cjs/th-7463faea.js +67 -0
- package/dist/cjs/th-7463faea.js.map +1 -0
- package/dist/cjs/throttle-c106c84a.js +77 -0
- package/dist/cjs/throttle-c106c84a.js.map +1 -0
- package/dist/cjs/tr-35483f1c.js +68 -0
- package/dist/cjs/tr-35483f1c.js.map +1 -0
- package/dist/cjs/uk-634255a1.js +106 -0
- package/dist/cjs/uk-634255a1.js.map +1 -0
- package/dist/cjs/utils-11d403c6.js +218 -0
- package/dist/cjs/utils-11d403c6.js.map +1 -0
- package/dist/cjs/utils-c010667d.js +307 -0
- package/dist/cjs/utils-c010667d.js.map +1 -0
- package/dist/cjs/vi-a176c9d7.js +72 -0
- package/dist/cjs/vi-a176c9d7.js.map +1 -0
- package/dist/cjs/zh-cn-bb0e6a1f.js +96 -0
- package/dist/cjs/zh-cn-bb0e6a1f.js.map +1 -0
- package/dist/cjs/zh-hk-a9a1270a.js +73 -0
- package/dist/cjs/zh-hk-a9a1270a.js.map +1 -0
- package/dist/cjs/zh-tw-73a6fb37.js +94 -0
- package/dist/cjs/zh-tw-73a6fb37.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 +2 -2
- 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 +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/card-group/card-group.css +5 -5
- package/dist/collection/components/card-group/card-group.e2e.js +1 -1
- package/dist/collection/components/card-group/card-group.js +1 -1
- package/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/collection/components/carousel/carousel.e2e.js +1 -1
- package/dist/collection/components/carousel/carousel.js +1 -1
- package/dist/collection/components/carousel/resources.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/collection/components/carousel-item/carousel-item.e2e.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.js +1 -1
- package/dist/collection/components/carousel-item/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 +11 -2
- package/dist/collection/components/combobox/combobox.e2e.js.map +1 -1
- package/dist/collection/components/combobox/combobox.js +12 -15
- package/dist/collection/components/combobox/combobox.js.map +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +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 +8 -7
- package/dist/collection/components/dropdown/dropdown.js.map +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 -5
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +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/assets/icon/developerCredentials16.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials24.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials32.json +1 -0
- 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/common/input.js +1 -1
- package/dist/collection/components/input/common/input.spec.js +1 -1
- package/dist/collection/components/input/common/tests.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 +13 -13
- package/dist/collection/components/input-date-picker/input-date-picker.js.map +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +2 -2
- 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 +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 +9 -15
- package/dist/collection/components/popover/popover.js.map +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/radio-button-group/resources.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/resources.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/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +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-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
- package/dist/collection/components/tile-group/tile-group.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 +9 -16
- package/dist/collection/components/tooltip/tooltip.js.map +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/accessible.js +1 -1
- package/dist/collection/tests/commonTests/defaults.js +1 -1
- package/dist/collection/tests/commonTests/disabled.js +1 -1
- package/dist/collection/tests/commonTests/floatingUI.js +1 -1
- package/dist/collection/tests/commonTests/focusable.js +1 -1
- package/dist/collection/tests/commonTests/formAssociated.js +1 -1
- package/dist/collection/tests/commonTests/hidden.js +1 -1
- package/dist/collection/tests/commonTests/index.js +1 -1
- package/dist/collection/tests/commonTests/labelable.js +1 -1
- package/dist/collection/tests/commonTests/openClose.js +1 -1
- package/dist/collection/tests/commonTests/reflects.js +1 -1
- package/dist/collection/tests/commonTests/renders.js +1 -1
- package/dist/collection/tests/commonTests/slots.js +1 -1
- package/dist/collection/tests/commonTests/t9n.js +1 -1
- package/dist/collection/tests/commonTests/utils.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 +44 -16
- package/dist/collection/utils/floating-ui.js.map +1 -1
- package/dist/collection/utils/floating-ui.spec.js +62 -40
- package/dist/collection/utils/floating-ui.spec.js.map +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/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card-group.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +13 -13
- package/dist/components/calcite-input-date-picker.js.map +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +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-group.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 +8 -15
- package/dist/components/calcite-tooltip.js.map +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 +11 -14
- 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/core.js +2 -2
- package/dist/components/core.js.map +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 +8 -7
- package/dist/components/dropdown.js.map +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 +68 -29
- package/dist/components/floating-ui.js.map +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/index.js.map +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.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 +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 +8 -14
- package/dist/components/popover.js.map +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/radio-button.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/resources6.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-ece39523.js +102 -0
- package/dist/esm/ExpandToggle-ece39523.js.map +1 -0
- package/dist/esm/FloatingArrow-89a1670e.js +47 -0
- package/dist/esm/FloatingArrow-89a1670e.js.map +1 -0
- package/dist/esm/Heading-61551003.js +19 -0
- package/dist/esm/Heading-61551003.js.map +1 -0
- package/dist/esm/Validation-4a0d6e90.js +16 -0
- package/dist/esm/Validation-4a0d6e90.js.map +1 -0
- package/dist/esm/app-globals-a456da07.js +59 -0
- package/dist/esm/app-globals-a456da07.js.map +1 -0
- package/dist/esm/ar-eb8890a2.js +104 -0
- package/dist/esm/ar-eb8890a2.js.map +1 -0
- package/dist/esm/array-4a094ae0.js +12 -0
- package/dist/esm/array-4a094ae0.js.map +1 -0
- package/dist/esm/bg-13c95e29.js +82 -0
- package/dist/esm/bg-13c95e29.js.map +1 -0
- package/dist/esm/browser-1bb42ba5.js +20 -0
- package/dist/esm/browser-1bb42ba5.js.map +1 -0
- package/dist/esm/bs-75cb1bfb.js +51 -0
- package/dist/esm/bs-75cb1bfb.js.map +1 -0
- package/dist/esm/ca-128421ee.js +71 -0
- package/dist/esm/ca-128421ee.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 +15 -15
- package/dist/esm/calcite-card-group.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +12 -12
- package/dist/esm/calcite-carousel_2.entry.js +13 -13
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +31 -34
- 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 +20 -20
- 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 +32 -32
- package/dist/esm/calcite-input-date-picker.entry.js.map +1 -1
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -17
- package/dist/esm/calcite-input-text.entry.js +17 -17
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-95823100.js +2929 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-95823100.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +17 -17
- 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 +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +7 -7
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +23 -29
- package/dist/esm/calcite-popover.entry.js.map +1 -1
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- 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 +13 -13
- 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 +13 -13
- 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 +19 -19
- package/dist/esm/calcite-tile-group.entry.js +8 -8
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +16 -23
- package/dist/esm/calcite-tooltip.entry.js.map +1 -1
- 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 +5 -5
- package/dist/esm/component-d31bcac1.js +27 -0
- package/dist/esm/component-d31bcac1.js.map +1 -0
- package/dist/esm/conditionalSlot-ab68334f.js +48 -0
- package/dist/esm/conditionalSlot-ab68334f.js.map +1 -0
- package/dist/esm/core-0675570c.js +17 -0
- package/dist/esm/core-0675570c.js.map +1 -0
- package/dist/esm/cs-2f6c9547.js +147 -0
- package/dist/esm/cs-2f6c9547.js.map +1 -0
- package/dist/esm/da-5faeb180.js +66 -0
- package/dist/esm/da-5faeb180.js.map +1 -0
- package/dist/esm/de-588019ef.js +91 -0
- package/dist/esm/de-588019ef.js.map +1 -0
- package/dist/esm/de-at-fed09c43.js +90 -0
- package/dist/esm/de-at-fed09c43.js.map +1 -0
- package/dist/esm/de-ch-8705386b.js +90 -0
- package/dist/esm/de-ch-8705386b.js.map +1 -0
- package/dist/esm/debounce-c3911ef9.js +497 -0
- package/dist/esm/debounce-c3911ef9.js.map +1 -0
- package/dist/esm/dom-cbd9c46f.js +1111 -0
- package/dist/esm/dom-cbd9c46f.js.map +1 -0
- package/dist/esm/el-a64a4d60.js +66 -0
- package/dist/esm/el-a64a4d60.js.map +1 -0
- package/dist/esm/en-au-e0b06d67.js +66 -0
- package/dist/esm/en-au-e0b06d67.js.map +1 -0
- package/dist/esm/en-ca-3962cb62.js +65 -0
- package/dist/esm/en-ca-3962cb62.js.map +1 -0
- package/dist/esm/en-gb-9ced14f5.js +69 -0
- package/dist/esm/en-gb-9ced14f5.js.map +1 -0
- package/dist/esm/es-04700092.js +66 -0
- package/dist/esm/es-04700092.js.map +1 -0
- package/dist/esm/es-mx-26ffb23c.js +65 -0
- package/dist/esm/es-mx-26ffb23c.js.map +1 -0
- package/dist/esm/et-b19d3747.js +92 -0
- package/dist/esm/et-b19d3747.js.map +1 -0
- package/dist/esm/fi-3f4715da.js +115 -0
- package/dist/esm/fi-3f4715da.js.map +1 -0
- package/dist/esm/filter-6f637115.js +772 -0
- package/dist/esm/filter-6f637115.js.map +1 -0
- package/dist/esm/floating-ui-6f5ef301.js +2312 -0
- package/dist/esm/floating-ui-6f5ef301.js.map +1 -0
- package/dist/esm/focusTrapComponent-314f1b8f.js +1015 -0
- package/dist/esm/focusTrapComponent-314f1b8f.js.map +1 -0
- package/dist/esm/form-83797097.js +369 -0
- package/dist/esm/form-83797097.js.map +1 -0
- package/dist/esm/fr-ch-6b9fa39a.js +66 -0
- package/dist/esm/fr-ch-6b9fa39a.js.map +1 -0
- package/dist/esm/fr-e9b074bf.js +68 -0
- package/dist/esm/fr-e9b074bf.js.map +1 -0
- package/dist/esm/guid-2dee4ae7.js +21 -0
- package/dist/esm/guid-2dee4ae7.js.map +1 -0
- package/dist/esm/he-bf4df957.js +105 -0
- package/dist/esm/he-bf4df957.js.map +1 -0
- package/dist/esm/hi-234cc865.js +65 -0
- package/dist/esm/hi-234cc865.js.map +1 -0
- package/dist/esm/hr-106f0bce.js +80 -0
- package/dist/esm/hr-106f0bce.js.map +1 -0
- package/dist/esm/hu-47562123.js +88 -0
- package/dist/esm/hu-47562123.js.map +1 -0
- package/dist/esm/id-76c4b37d.js +66 -0
- package/dist/esm/id-76c4b37d.js.map +1 -0
- package/dist/esm/index-20ed2850.js +73 -0
- package/dist/esm/index-20ed2850.js.map +1 -0
- package/dist/esm/index-6078fda3.js +1899 -0
- package/dist/esm/index-6078fda3.js.map +1 -0
- package/dist/esm/index-8dcf4b81.js +206 -0
- package/dist/esm/index-8dcf4b81.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-ac61fc9e.js +55 -0
- package/dist/esm/input-ac61fc9e.js.map +1 -0
- package/dist/esm/interactive-635e4dd6.js +146 -0
- package/dist/esm/interactive-635e4dd6.js.map +1 -0
- package/dist/esm/it-58ddf940.js +66 -0
- package/dist/esm/it-58ddf940.js.map +1 -0
- package/dist/esm/it-ch-c465d1f9.js +66 -0
- package/dist/esm/it-ch-c465d1f9.js.map +1 -0
- package/dist/esm/ja-e590b060.js +72 -0
- package/dist/esm/ja-e590b060.js.map +1 -0
- package/dist/esm/key-260e12d1.js +13 -0
- package/dist/esm/key-260e12d1.js.map +1 -0
- package/dist/esm/ko-ca2373c2.js +72 -0
- package/dist/esm/ko-ca2373c2.js.map +1 -0
- package/dist/esm/label-f401783f.js +176 -0
- package/dist/esm/label-f401783f.js.map +1 -0
- package/dist/esm/loadable-b3030183.js +86 -0
- package/dist/esm/loadable-b3030183.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-51d3ea2b.js +563 -0
- package/dist/esm/locale-51d3ea2b.js.map +1 -0
- package/dist/esm/lt-baf966fa.js +97 -0
- package/dist/esm/lt-baf966fa.js.map +1 -0
- package/dist/esm/lv-5b4f2333.js +66 -0
- package/dist/esm/lv-5b4f2333.js.map +1 -0
- package/dist/esm/math-4d056a0f.js +51 -0
- package/dist/esm/math-4d056a0f.js.map +1 -0
- package/dist/esm/mk-88c4b4a8.js +66 -0
- package/dist/esm/mk-88c4b4a8.js.map +1 -0
- package/dist/esm/nb-dea1151c.js +67 -0
- package/dist/esm/nb-dea1151c.js.map +1 -0
- package/dist/esm/nl-404ac698.js +67 -0
- package/dist/esm/nl-404ac698.js.map +1 -0
- package/dist/esm/observers-7aac0814.js +50 -0
- package/dist/esm/observers-7aac0814.js.map +1 -0
- package/dist/esm/openCloseComponent-e21983e7.js +87 -0
- package/dist/esm/openCloseComponent-e21983e7.js.map +1 -0
- package/dist/esm/pl-78c6d26e.js +114 -0
- package/dist/esm/pl-78c6d26e.js.map +1 -0
- package/dist/esm/pt-br-e4c84e47.js +65 -0
- package/dist/esm/pt-br-e4c84e47.js.map +1 -0
- package/dist/esm/pt-dc2dfdf6.js +67 -0
- package/dist/esm/pt-dc2dfdf6.js.map +1 -0
- package/dist/esm/resources-3c419e6a.js +16 -0
- package/dist/esm/resources-3c419e6a.js.map +1 -0
- package/dist/esm/resources-424c7db6.js +25 -0
- package/dist/esm/resources-424c7db6.js.map +1 -0
- package/dist/esm/resources-978133a4.js +21 -0
- package/dist/esm/resources-978133a4.js.map +1 -0
- package/dist/esm/resources-c5171a5e.js +45 -0
- package/dist/esm/resources-c5171a5e.js.map +1 -0
- package/dist/esm/resources-ce81d76c.js +19 -0
- package/dist/esm/resources-ce81d76c.js.map +1 -0
- package/dist/esm/resources-d1e4dcbe.js +23 -0
- package/dist/esm/resources-d1e4dcbe.js.map +1 -0
- package/dist/esm/resources-f06843e7.js +386 -0
- package/dist/esm/resources-f06843e7.js.map +1 -0
- package/dist/esm/ro-deecb816.js +66 -0
- package/dist/esm/ro-deecb816.js.map +1 -0
- package/dist/esm/ru-0af2b53b.js +126 -0
- package/dist/esm/ru-0af2b53b.js.map +1 -0
- package/dist/esm/sk-2e239854.js +148 -0
- package/dist/esm/sk-2e239854.js.map +1 -0
- package/dist/esm/sl-7530e14d.js +168 -0
- package/dist/esm/sl-7530e14d.js.map +1 -0
- package/dist/esm/sortableComponent-fb71c6fd.js +2740 -0
- package/dist/esm/sortableComponent-fb71c6fd.js.map +1 -0
- package/dist/esm/sr-513c77f6.js +101 -0
- package/dist/esm/sr-513c77f6.js.map +1 -0
- package/dist/esm/sv-ff0dc066.js +71 -0
- package/dist/esm/sv-ff0dc066.js.map +1 -0
- package/dist/esm/t9n-c4c5a4b3.js +92 -0
- package/dist/esm/t9n-c4c5a4b3.js.map +1 -0
- package/dist/esm/th-70a93839.js +65 -0
- package/dist/esm/th-70a93839.js.map +1 -0
- package/dist/esm/throttle-6f3c5022.js +75 -0
- package/dist/esm/throttle-6f3c5022.js.map +1 -0
- package/dist/esm/tr-f8181fad.js +66 -0
- package/dist/esm/tr-f8181fad.js.map +1 -0
- package/dist/esm/uk-d32d9d4b.js +104 -0
- package/dist/esm/uk-d32d9d4b.js.map +1 -0
- package/dist/esm/utils-37991c5c.js +289 -0
- package/dist/esm/utils-37991c5c.js.map +1 -0
- package/dist/esm/utils-895b8a95.js +200 -0
- package/dist/esm/utils-895b8a95.js.map +1 -0
- package/dist/esm/vi-94ae687c.js +70 -0
- package/dist/esm/vi-94ae687c.js.map +1 -0
- package/dist/esm/zh-cn-307d2358.js +94 -0
- package/dist/esm/zh-cn-307d2358.js.map +1 -0
- package/dist/esm/zh-hk-1d23e09c.js +71 -0
- package/dist/esm/zh-hk-1d23e09c.js.map +1 -0
- package/dist/esm/zh-tw-91b016e8.js +92 -0
- package/dist/esm/zh-tw-91b016e8.js.map +1 -0
- package/dist/extras/docs-json.json +38 -38
- package/dist/extras/vscode-data.json +7126 -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/combobox/combobox.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +1 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -2
- package/dist/types/components/tooltip/tooltip.d.ts +1 -3
- package/dist/types/home/runner/work/calcite-design-system/calcite-design-system/packages/calcite-components/.stencil/stencil.config.d.ts +3 -0
- package/dist/types/utils/floating-ui.d.ts +10 -2
- package/hydrate/index.js +102 -80
- package/package.json +3 -3
- package/readme.md +2 -2
- package/dist/calcite/p-02305f36.js +0 -7
- package/dist/calcite/p-038bee09.entry.js +0 -7
- package/dist/calcite/p-04bcb25d.js +0 -7
- package/dist/calcite/p-04e67155.js +0 -7
- package/dist/calcite/p-04e67155.js.map +0 -1
- package/dist/calcite/p-05754a78.js +0 -7
- package/dist/calcite/p-064e7c24.entry.js +0 -7
- package/dist/calcite/p-064e7c24.entry.js.map +0 -1
- package/dist/calcite/p-0a5f0cb0.js +0 -7
- package/dist/calcite/p-0ef3938c.js +0 -7
- package/dist/calcite/p-11a39258.entry.js +0 -7
- package/dist/calcite/p-1d46c8b9.js +0 -7
- package/dist/calcite/p-1de39ae5.entry.js +0 -7
- package/dist/calcite/p-20725549.entry.js +0 -7
- package/dist/calcite/p-20725549.entry.js.map +0 -1
- package/dist/calcite/p-20f5e471.js +0 -7
- package/dist/calcite/p-236405b2.entry.js +0 -7
- package/dist/calcite/p-2415d5e6.entry.js +0 -7
- package/dist/calcite/p-2441c9aa.entry.js +0 -7
- package/dist/calcite/p-252f5021.entry.js +0 -7
- package/dist/calcite/p-27b2402c.entry.js +0 -7
- package/dist/calcite/p-29075708.entry.js +0 -7
- package/dist/calcite/p-29075708.entry.js.map +0 -1
- package/dist/calcite/p-2cb39843.js +0 -7
- package/dist/calcite/p-2e1b46ff.js +0 -7
- package/dist/calcite/p-2e2c12b9.js +0 -7
- package/dist/calcite/p-31f01517.js +0 -7
- package/dist/calcite/p-32a6e756.js +0 -7
- package/dist/calcite/p-32ed6e64.js +0 -7
- package/dist/calcite/p-33fa3a3b.js +0 -7
- package/dist/calcite/p-35a169d0.js +0 -7
- package/dist/calcite/p-35baa5d5.entry.js +0 -7
- package/dist/calcite/p-387903c7.entry.js +0 -7
- package/dist/calcite/p-3b9ff912.entry.js +0 -7
- package/dist/calcite/p-3f7e1926.js +0 -7
- package/dist/calcite/p-43ea936c.entry.js +0 -7
- package/dist/calcite/p-44fce530.entry.js +0 -7
- package/dist/calcite/p-44fce530.entry.js.map +0 -1
- package/dist/calcite/p-4815e098.entry.js +0 -7
- package/dist/calcite/p-48552492.entry.js +0 -7
- package/dist/calcite/p-4b3a932a.entry.js +0 -7
- package/dist/calcite/p-4c0ef8a0.entry.js +0 -7
- package/dist/calcite/p-4ca78e64.js +0 -7
- package/dist/calcite/p-4cf90593.js +0 -7
- package/dist/calcite/p-4d009089.js +0 -7
- package/dist/calcite/p-50f424a3.js +0 -7
- package/dist/calcite/p-51ee1a3e.entry.js +0 -7
- package/dist/calcite/p-51f45b9b.entry.js +0 -7
- package/dist/calcite/p-52fe40fa.js +0 -7
- package/dist/calcite/p-53fa8770.entry.js +0 -7
- package/dist/calcite/p-53fa8770.entry.js.map +0 -1
- package/dist/calcite/p-567343f2.entry.js +0 -7
- package/dist/calcite/p-573a61d0.js +0 -7
- package/dist/calcite/p-597c940f.js +0 -7
- package/dist/calcite/p-5b2c4fd8.entry.js +0 -7
- package/dist/calcite/p-5d6cd8b5.js +0 -7
- package/dist/calcite/p-6011cbd3.js +0 -7
- package/dist/calcite/p-616d6ff5.js +0 -12
- package/dist/calcite/p-64e33b95.js +0 -7
- package/dist/calcite/p-65d66925.js +0 -7
- package/dist/calcite/p-67ed5dd1.entry.js +0 -7
- package/dist/calcite/p-69610012.js +0 -7
- package/dist/calcite/p-6a0aa531.entry.js +0 -7
- package/dist/calcite/p-6ac9f23a.js +0 -7
- package/dist/calcite/p-6d5e8384.entry.js +0 -7
- package/dist/calcite/p-6e5532d8.entry.js +0 -7
- package/dist/calcite/p-6e5f26cf.js +0 -7
- package/dist/calcite/p-6ea3ac52.js +0 -7
- package/dist/calcite/p-73596ea7.entry.js +0 -7
- package/dist/calcite/p-76193900.js +0 -7
- package/dist/calcite/p-76193900.js.map +0 -1
- package/dist/calcite/p-794bef12.js +0 -7
- package/dist/calcite/p-797573ae.entry.js +0 -7
- package/dist/calcite/p-79dec7fa.entry.js +0 -7
- package/dist/calcite/p-7a142044.entry.js +0 -7
- package/dist/calcite/p-7a9a6d73.js +0 -7
- package/dist/calcite/p-7b1387b3.js +0 -7
- package/dist/calcite/p-7b45f24c.entry.js +0 -7
- package/dist/calcite/p-7d110daa.entry.js +0 -7
- package/dist/calcite/p-7d1ab21b.js +0 -7
- package/dist/calcite/p-7e6476c8.js +0 -7
- package/dist/calcite/p-83ef171a.js +0 -7
- package/dist/calcite/p-87aa04a0.js +0 -7
- package/dist/calcite/p-8c87bc92.js +0 -7
- package/dist/calcite/p-8c87bc92.js.map +0 -1
- package/dist/calcite/p-8ded2027.entry.js +0 -7
- package/dist/calcite/p-8f2428f2.js +0 -7
- package/dist/calcite/p-8f78f3b0.js +0 -7
- package/dist/calcite/p-905d1ed3.js +0 -7
- package/dist/calcite/p-90bc410d.js +0 -7
- package/dist/calcite/p-9117da1a.js +0 -7
- package/dist/calcite/p-9187937a.js +0 -7
- package/dist/calcite/p-94d9c271.js +0 -7
- package/dist/calcite/p-953701c3.js +0 -7
- package/dist/calcite/p-9604d280.js +0 -7
- package/dist/calcite/p-963ad030.entry.js +0 -7
- package/dist/calcite/p-963ad030.entry.js.map +0 -1
- package/dist/calcite/p-9773d83f.entry.js +0 -7
- package/dist/calcite/p-9846179d.js +0 -7
- package/dist/calcite/p-9846d08e.js +0 -7
- package/dist/calcite/p-98e5da36.js +0 -7
- package/dist/calcite/p-98fa21bd.entry.js +0 -7
- package/dist/calcite/p-9bde3412.js +0 -7
- package/dist/calcite/p-9e58cf96.js +0 -7
- package/dist/calcite/p-9ec3e65a.entry.js +0 -7
- package/dist/calcite/p-9f2336b1.entry.js +0 -7
- package/dist/calcite/p-a0fb22d3.js +0 -7
- package/dist/calcite/p-a1178c3e.js +0 -7
- package/dist/calcite/p-a2ead21e.js +0 -11
- package/dist/calcite/p-a34ba35c.js +0 -7
- package/dist/calcite/p-a34ba35c.js.map +0 -1
- package/dist/calcite/p-a3ae2df9.entry.js +0 -7
- package/dist/calcite/p-a43fede3.js +0 -7
- package/dist/calcite/p-a4d9d44d.entry.js +0 -7
- package/dist/calcite/p-a4d9d44d.entry.js.map +0 -1
- package/dist/calcite/p-a67364f0.js +0 -7
- package/dist/calcite/p-a86f8c79.entry.js +0 -7
- package/dist/calcite/p-a956615c.entry.js +0 -7
- package/dist/calcite/p-ad62216c.entry.js +0 -7
- package/dist/calcite/p-ad747cd7.js +0 -7
- package/dist/calcite/p-ae842f5c.js +0 -7
- package/dist/calcite/p-b06509bf.js +0 -7
- package/dist/calcite/p-b134e73e.js +0 -7
- package/dist/calcite/p-b1700a9d.entry.js +0 -7
- package/dist/calcite/p-b46754b2.entry.js +0 -7
- package/dist/calcite/p-b509ca91.js +0 -7
- package/dist/calcite/p-b6168da5.js +0 -7
- package/dist/calcite/p-b7cfeaad.entry.js +0 -7
- package/dist/calcite/p-b892538f.entry.js +0 -7
- package/dist/calcite/p-b892538f.entry.js.map +0 -1
- package/dist/calcite/p-b973ba8e.js +0 -7
- package/dist/calcite/p-b9adc3fb.js +0 -7
- package/dist/calcite/p-bf65e60a.entry.js +0 -7
- package/dist/calcite/p-c2e26084.js +0 -7
- package/dist/calcite/p-c3930138.js +0 -7
- package/dist/calcite/p-c5b35348.js +0 -8
- package/dist/calcite/p-c5e15379.entry.js +0 -7
- package/dist/calcite/p-c654e1da.entry.js +0 -7
- package/dist/calcite/p-c67257c3.js +0 -7
- package/dist/calcite/p-c8a2b2fc.js +0 -13
- package/dist/calcite/p-c8f1d050.js +0 -7
- package/dist/calcite/p-c9490c8e.entry.js +0 -7
- package/dist/calcite/p-ca6bddc6.js +0 -7
- package/dist/calcite/p-cb88d1ce.entry.js +0 -7
- package/dist/calcite/p-cc131159.entry.js +0 -7
- package/dist/calcite/p-d0678291.entry.js +0 -7
- package/dist/calcite/p-d1c6cdfd.entry.js +0 -7
- package/dist/calcite/p-d43d8cf4.js +0 -7
- package/dist/calcite/p-d530cca7.js +0 -7
- package/dist/calcite/p-d5fc2354.js +0 -7
- package/dist/calcite/p-d7396833.js +0 -7
- package/dist/calcite/p-d88d0b00.js +0 -7
- package/dist/calcite/p-da862807.js +0 -7
- package/dist/calcite/p-de360677.entry.js +0 -7
- package/dist/calcite/p-e0f77859.entry.js +0 -7
- package/dist/calcite/p-e3f87483.entry.js +0 -7
- package/dist/calcite/p-e3f87483.entry.js.map +0 -1
- package/dist/calcite/p-e499da43.js +0 -7
- package/dist/calcite/p-e78587fc.js +0 -7
- package/dist/calcite/p-e79f683c.entry.js +0 -7
- package/dist/calcite/p-e88eeff3.entry.js +0 -7
- package/dist/calcite/p-eb341d42.js +0 -7
- package/dist/calcite/p-eb7d3112.entry.js +0 -7
- package/dist/calcite/p-ed07f480.entry.js +0 -7
- package/dist/calcite/p-ef42fe04.js +0 -7
- package/dist/calcite/p-efc3f249.js +0 -7
- package/dist/calcite/p-f2b7eb90.entry.js +0 -7
- package/dist/calcite/p-f32f4d90.entry.js +0 -7
- package/dist/calcite/p-f4466647.js +0 -7
- package/dist/calcite/p-f5cc7078.entry.js +0 -7
- package/dist/calcite/p-f6d21c4c.entry.js +0 -7
- package/dist/calcite/p-f6df9ac0.entry.js +0 -7
- package/dist/calcite/p-f7188d12.js +0 -7
- package/dist/calcite/p-f7188d12.js.map +0 -1
- package/dist/calcite/p-fb996c82.entry.js +0 -7
- package/dist/calcite/p-fb996c82.entry.js.map +0 -1
- package/dist/calcite/p-fb9993c7.js +0 -7
- package/dist/calcite/p-fc4b442d.entry.js +0 -7
- package/dist/calcite/p-fcc2d6c1.entry.js +0 -7
- package/dist/calcite/p-fd148744.entry.js +0 -7
- package/dist/calcite/p-fd148744.entry.js.map +0 -1
- package/dist/cjs/ExpandToggle-00645363.js +0 -110
- package/dist/cjs/ExpandToggle-00645363.js.map +0 -1
- package/dist/cjs/FloatingArrow-057da16c.js +0 -49
- package/dist/cjs/FloatingArrow-057da16c.js.map +0 -1
- package/dist/cjs/Heading-cdc25351.js +0 -22
- package/dist/cjs/Heading-cdc25351.js.map +0 -1
- package/dist/cjs/Validation-dea9fb55.js +0 -18
- package/dist/cjs/Validation-dea9fb55.js.map +0 -1
- package/dist/cjs/app-globals-c4e1953c.js +0 -61
- package/dist/cjs/app-globals-c4e1953c.js.map +0 -1
- package/dist/cjs/ar-ccbd693e.js +0 -106
- package/dist/cjs/ar-ccbd693e.js.map +0 -1
- package/dist/cjs/array-2f6f4ece.js +0 -14
- package/dist/cjs/array-2f6f4ece.js.map +0 -1
- package/dist/cjs/bg-b3381cb9.js +0 -84
- package/dist/cjs/bg-b3381cb9.js.map +0 -1
- package/dist/cjs/browser-278c319f.js +0 -22
- package/dist/cjs/browser-278c319f.js.map +0 -1
- package/dist/cjs/bs-8138c3fa.js +0 -53
- package/dist/cjs/bs-8138c3fa.js.map +0 -1
- package/dist/cjs/ca-3a9cf8aa.js +0 -73
- package/dist/cjs/ca-3a9cf8aa.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-75ed657e.js +0 -2933
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-75ed657e.js.map +0 -1
- package/dist/cjs/component-b7befabb.js +0 -30
- package/dist/cjs/component-b7befabb.js.map +0 -1
- package/dist/cjs/conditionalSlot-fd081cdb.js +0 -51
- package/dist/cjs/conditionalSlot-fd081cdb.js.map +0 -1
- package/dist/cjs/core-198e6f8d.js +0 -22
- package/dist/cjs/core-198e6f8d.js.map +0 -1
- package/dist/cjs/cs-c798d83c.js +0 -149
- package/dist/cjs/cs-c798d83c.js.map +0 -1
- package/dist/cjs/da-3ae242b4.js +0 -68
- package/dist/cjs/da-3ae242b4.js.map +0 -1
- package/dist/cjs/de-at-a544a907.js +0 -92
- package/dist/cjs/de-at-a544a907.js.map +0 -1
- package/dist/cjs/de-b16d6ef8.js +0 -93
- package/dist/cjs/de-b16d6ef8.js.map +0 -1
- package/dist/cjs/de-ch-f9fcfcfe.js +0 -92
- package/dist/cjs/de-ch-f9fcfcfe.js.map +0 -1
- package/dist/cjs/debounce-272559b5.js +0 -506
- package/dist/cjs/debounce-272559b5.js.map +0 -1
- package/dist/cjs/dom-1655b205.js +0 -1144
- package/dist/cjs/dom-1655b205.js.map +0 -1
- package/dist/cjs/el-e7df2e61.js +0 -68
- package/dist/cjs/el-e7df2e61.js.map +0 -1
- package/dist/cjs/en-au-310e523e.js +0 -68
- package/dist/cjs/en-au-310e523e.js.map +0 -1
- package/dist/cjs/en-ca-0b455e62.js +0 -67
- package/dist/cjs/en-ca-0b455e62.js.map +0 -1
- package/dist/cjs/en-gb-fde49059.js +0 -71
- package/dist/cjs/en-gb-fde49059.js.map +0 -1
- package/dist/cjs/es-36be2c10.js +0 -68
- package/dist/cjs/es-36be2c10.js.map +0 -1
- package/dist/cjs/es-mx-2a0a037f.js +0 -67
- package/dist/cjs/es-mx-2a0a037f.js.map +0 -1
- package/dist/cjs/et-c5d6a49d.js +0 -94
- package/dist/cjs/et-c5d6a49d.js.map +0 -1
- package/dist/cjs/fi-0b9217c2.js +0 -117
- package/dist/cjs/fi-0b9217c2.js.map +0 -1
- package/dist/cjs/filter-61377114.js +0 -774
- package/dist/cjs/filter-61377114.js.map +0 -1
- package/dist/cjs/floating-ui-055f1a9c.js +0 -2281
- package/dist/cjs/floating-ui-055f1a9c.js.map +0 -1
- package/dist/cjs/focusTrapComponent-a7cc2f1e.js +0 -1020
- package/dist/cjs/focusTrapComponent-a7cc2f1e.js.map +0 -1
- package/dist/cjs/form-c578c396.js +0 -378
- package/dist/cjs/form-c578c396.js.map +0 -1
- package/dist/cjs/fr-17a8196a.js +0 -70
- package/dist/cjs/fr-17a8196a.js.map +0 -1
- package/dist/cjs/fr-ch-7e8fd299.js +0 -68
- package/dist/cjs/fr-ch-7e8fd299.js.map +0 -1
- package/dist/cjs/guid-b4b48db3.js +0 -23
- package/dist/cjs/guid-b4b48db3.js.map +0 -1
- package/dist/cjs/he-bcf14b8f.js +0 -107
- package/dist/cjs/he-bcf14b8f.js.map +0 -1
- package/dist/cjs/hi-e9609ad9.js +0 -67
- package/dist/cjs/hi-e9609ad9.js.map +0 -1
- package/dist/cjs/hr-2cc4e629.js +0 -82
- package/dist/cjs/hr-2cc4e629.js.map +0 -1
- package/dist/cjs/hu-f1499f9b.js +0 -90
- package/dist/cjs/hu-f1499f9b.js.map +0 -1
- package/dist/cjs/id-dc29bfef.js +0 -68
- package/dist/cjs/id-dc29bfef.js.map +0 -1
- package/dist/cjs/index-3b5422af.js +0 -208
- package/dist/cjs/index-3b5422af.js.map +0 -1
- package/dist/cjs/index-7172afeb.js +0 -75
- package/dist/cjs/index-7172afeb.js.map +0 -1
- package/dist/cjs/index-db728c60.js +0 -1934
- package/dist/cjs/index-db728c60.js.map +0 -1
- package/dist/cjs/input-aeb2dc1f.js +0 -57
- package/dist/cjs/input-aeb2dc1f.js.map +0 -1
- package/dist/cjs/interactive-32ec58b0.js +0 -151
- package/dist/cjs/interactive-32ec58b0.js.map +0 -1
- package/dist/cjs/it-47077245.js +0 -68
- package/dist/cjs/it-47077245.js.map +0 -1
- package/dist/cjs/it-ch-306615ec.js +0 -68
- package/dist/cjs/it-ch-306615ec.js.map +0 -1
- package/dist/cjs/ja-500bafd2.js +0 -74
- package/dist/cjs/ja-500bafd2.js.map +0 -1
- package/dist/cjs/key-ac5a4a1e.js +0 -16
- package/dist/cjs/key-ac5a4a1e.js.map +0 -1
- package/dist/cjs/ko-6b082a13.js +0 -74
- package/dist/cjs/ko-6b082a13.js.map +0 -1
- package/dist/cjs/label-d2ffc0d1.js +0 -183
- package/dist/cjs/label-d2ffc0d1.js.map +0 -1
- package/dist/cjs/loadable-43b35e40.js +0 -91
- package/dist/cjs/loadable-43b35e40.js.map +0 -1
- package/dist/cjs/locale-c793f033.js +0 -576
- package/dist/cjs/locale-c793f033.js.map +0 -1
- package/dist/cjs/lt-84b7b0cd.js +0 -99
- package/dist/cjs/lt-84b7b0cd.js.map +0 -1
- package/dist/cjs/lv-457c23af.js +0 -68
- package/dist/cjs/lv-457c23af.js.map +0 -1
- package/dist/cjs/math-33529983.js +0 -57
- package/dist/cjs/math-33529983.js.map +0 -1
- package/dist/cjs/mk-3bc87007.js +0 -68
- package/dist/cjs/mk-3bc87007.js.map +0 -1
- package/dist/cjs/nb-280f8787.js +0 -69
- package/dist/cjs/nb-280f8787.js.map +0 -1
- package/dist/cjs/nl-f0ea8a4c.js +0 -69
- package/dist/cjs/nl-f0ea8a4c.js.map +0 -1
- package/dist/cjs/observers-566de38e.js +0 -52
- package/dist/cjs/observers-566de38e.js.map +0 -1
- package/dist/cjs/openCloseComponent-ddd0ff8c.js +0 -89
- package/dist/cjs/openCloseComponent-ddd0ff8c.js.map +0 -1
- package/dist/cjs/pl-e93f9941.js +0 -116
- package/dist/cjs/pl-e93f9941.js.map +0 -1
- package/dist/cjs/pt-94d346d2.js +0 -69
- package/dist/cjs/pt-94d346d2.js.map +0 -1
- package/dist/cjs/pt-br-c1872207.js +0 -67
- package/dist/cjs/pt-br-c1872207.js.map +0 -1
- package/dist/cjs/resources-03df7b67.js +0 -414
- package/dist/cjs/resources-03df7b67.js.map +0 -1
- package/dist/cjs/resources-40566336.js +0 -23
- package/dist/cjs/resources-40566336.js.map +0 -1
- package/dist/cjs/resources-7f0f3409.js +0 -26
- package/dist/cjs/resources-7f0f3409.js.map +0 -1
- package/dist/cjs/resources-8a13a2d7.js +0 -26
- package/dist/cjs/resources-8a13a2d7.js.map +0 -1
- package/dist/cjs/resources-a4f00b47.js +0 -49
- package/dist/cjs/resources-a4f00b47.js.map +0 -1
- package/dist/cjs/resources-d6847fd0.js +0 -18
- package/dist/cjs/resources-d6847fd0.js.map +0 -1
- package/dist/cjs/resources-e6940bd0.js +0 -29
- package/dist/cjs/resources-e6940bd0.js.map +0 -1
- package/dist/cjs/ro-aab16779.js +0 -68
- package/dist/cjs/ro-aab16779.js.map +0 -1
- package/dist/cjs/ru-e1ec48fc.js +0 -128
- package/dist/cjs/ru-e1ec48fc.js.map +0 -1
- package/dist/cjs/sk-707b01f7.js +0 -150
- package/dist/cjs/sk-707b01f7.js.map +0 -1
- package/dist/cjs/sl-070984d8.js +0 -170
- package/dist/cjs/sl-070984d8.js.map +0 -1
- package/dist/cjs/sortableComponent-d4e2a4db.js +0 -2744
- package/dist/cjs/sortableComponent-d4e2a4db.js.map +0 -1
- package/dist/cjs/sr-deb51fa0.js +0 -103
- package/dist/cjs/sr-deb51fa0.js.map +0 -1
- package/dist/cjs/sv-8019a5b5.js +0 -73
- package/dist/cjs/sv-8019a5b5.js.map +0 -1
- package/dist/cjs/t9n-fe3e06e0.js +0 -97
- package/dist/cjs/t9n-fe3e06e0.js.map +0 -1
- package/dist/cjs/th-eff5f27a.js +0 -67
- package/dist/cjs/th-eff5f27a.js.map +0 -1
- package/dist/cjs/throttle-c56bba4a.js +0 -77
- package/dist/cjs/throttle-c56bba4a.js.map +0 -1
- package/dist/cjs/tr-c94af380.js +0 -68
- package/dist/cjs/tr-c94af380.js.map +0 -1
- package/dist/cjs/uk-dc9ae967.js +0 -106
- package/dist/cjs/uk-dc9ae967.js.map +0 -1
- package/dist/cjs/utils-23059970.js +0 -307
- package/dist/cjs/utils-23059970.js.map +0 -1
- package/dist/cjs/utils-85ac8231.js +0 -218
- package/dist/cjs/utils-85ac8231.js.map +0 -1
- package/dist/cjs/vi-f82aee0e.js +0 -72
- package/dist/cjs/vi-f82aee0e.js.map +0 -1
- package/dist/cjs/zh-cn-662653f5.js +0 -96
- package/dist/cjs/zh-cn-662653f5.js.map +0 -1
- package/dist/cjs/zh-hk-32294f1b.js +0 -73
- package/dist/cjs/zh-hk-32294f1b.js.map +0 -1
- package/dist/cjs/zh-tw-f3c59674.js +0 -94
- package/dist/cjs/zh-tw-f3c59674.js.map +0 -1
- package/dist/esm/ExpandToggle-d1759f41.js +0 -102
- package/dist/esm/ExpandToggle-d1759f41.js.map +0 -1
- package/dist/esm/FloatingArrow-8978ef80.js +0 -47
- package/dist/esm/FloatingArrow-8978ef80.js.map +0 -1
- package/dist/esm/Heading-76a6303c.js +0 -19
- package/dist/esm/Heading-76a6303c.js.map +0 -1
- package/dist/esm/Validation-0649cf79.js +0 -16
- package/dist/esm/Validation-0649cf79.js.map +0 -1
- package/dist/esm/app-globals-f9c0ee25.js +0 -59
- package/dist/esm/app-globals-f9c0ee25.js.map +0 -1
- package/dist/esm/ar-fa9b8a1e.js +0 -104
- package/dist/esm/ar-fa9b8a1e.js.map +0 -1
- package/dist/esm/array-bb354ae7.js +0 -12
- package/dist/esm/array-bb354ae7.js.map +0 -1
- package/dist/esm/bg-6471a969.js +0 -82
- package/dist/esm/bg-6471a969.js.map +0 -1
- package/dist/esm/browser-c8484519.js +0 -20
- package/dist/esm/browser-c8484519.js.map +0 -1
- package/dist/esm/bs-07d37ab8.js +0 -51
- package/dist/esm/bs-07d37ab8.js.map +0 -1
- package/dist/esm/ca-80a4face.js +0 -71
- package/dist/esm/ca-80a4face.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-295e51a4.js +0 -2929
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-295e51a4.js.map +0 -1
- package/dist/esm/component-072daf09.js +0 -27
- package/dist/esm/component-072daf09.js.map +0 -1
- package/dist/esm/conditionalSlot-da4f5771.js +0 -48
- package/dist/esm/conditionalSlot-da4f5771.js.map +0 -1
- package/dist/esm/core-c60defb0.js +0 -17
- package/dist/esm/core-c60defb0.js.map +0 -1
- package/dist/esm/cs-efd1fce3.js +0 -147
- package/dist/esm/cs-efd1fce3.js.map +0 -1
- package/dist/esm/da-4d5151e9.js +0 -66
- package/dist/esm/da-4d5151e9.js.map +0 -1
- package/dist/esm/de-247d6508.js +0 -91
- package/dist/esm/de-247d6508.js.map +0 -1
- package/dist/esm/de-at-c22caf92.js +0 -90
- package/dist/esm/de-at-c22caf92.js.map +0 -1
- package/dist/esm/de-ch-939b067f.js +0 -90
- package/dist/esm/de-ch-939b067f.js.map +0 -1
- package/dist/esm/debounce-948f0134.js +0 -497
- package/dist/esm/debounce-948f0134.js.map +0 -1
- package/dist/esm/dom-6a402ee4.js +0 -1111
- package/dist/esm/dom-6a402ee4.js.map +0 -1
- package/dist/esm/el-9dfd9d66.js +0 -66
- package/dist/esm/el-9dfd9d66.js.map +0 -1
- package/dist/esm/en-au-6ec5939f.js +0 -66
- package/dist/esm/en-au-6ec5939f.js.map +0 -1
- package/dist/esm/en-ca-4022e504.js +0 -65
- package/dist/esm/en-ca-4022e504.js.map +0 -1
- package/dist/esm/en-gb-bad30349.js +0 -69
- package/dist/esm/en-gb-bad30349.js.map +0 -1
- package/dist/esm/es-9f418cab.js +0 -66
- package/dist/esm/es-9f418cab.js.map +0 -1
- package/dist/esm/es-mx-56808546.js +0 -65
- package/dist/esm/es-mx-56808546.js.map +0 -1
- package/dist/esm/et-5b553ee9.js +0 -92
- package/dist/esm/et-5b553ee9.js.map +0 -1
- package/dist/esm/fi-a2a828c3.js +0 -115
- package/dist/esm/fi-a2a828c3.js.map +0 -1
- package/dist/esm/filter-210a5361.js +0 -772
- package/dist/esm/filter-210a5361.js.map +0 -1
- package/dist/esm/floating-ui-8f7329c5.js +0 -2273
- package/dist/esm/floating-ui-8f7329c5.js.map +0 -1
- package/dist/esm/focusTrapComponent-386b50fa.js +0 -1015
- package/dist/esm/focusTrapComponent-386b50fa.js.map +0 -1
- package/dist/esm/form-226bf31d.js +0 -369
- package/dist/esm/form-226bf31d.js.map +0 -1
- package/dist/esm/fr-ch-d6219a78.js +0 -66
- package/dist/esm/fr-ch-d6219a78.js.map +0 -1
- package/dist/esm/fr-f5de2df8.js +0 -68
- package/dist/esm/fr-f5de2df8.js.map +0 -1
- package/dist/esm/guid-b73ddbf6.js +0 -21
- package/dist/esm/guid-b73ddbf6.js.map +0 -1
- package/dist/esm/he-102c80a2.js +0 -105
- package/dist/esm/he-102c80a2.js.map +0 -1
- package/dist/esm/hi-622d9c36.js +0 -65
- package/dist/esm/hi-622d9c36.js.map +0 -1
- package/dist/esm/hr-1b06488c.js +0 -80
- package/dist/esm/hr-1b06488c.js.map +0 -1
- package/dist/esm/hu-b12a5331.js +0 -88
- package/dist/esm/hu-b12a5331.js.map +0 -1
- package/dist/esm/id-0b81fc0d.js +0 -66
- package/dist/esm/id-0b81fc0d.js.map +0 -1
- package/dist/esm/index-37636e26.js +0 -206
- package/dist/esm/index-37636e26.js.map +0 -1
- package/dist/esm/index-4e96403b.js +0 -73
- package/dist/esm/index-4e96403b.js.map +0 -1
- package/dist/esm/index-fc466df0.js +0 -1899
- package/dist/esm/index-fc466df0.js.map +0 -1
- package/dist/esm/input-3bec872d.js +0 -55
- package/dist/esm/input-3bec872d.js.map +0 -1
- package/dist/esm/interactive-ac7e34ee.js +0 -146
- package/dist/esm/interactive-ac7e34ee.js.map +0 -1
- package/dist/esm/it-5bf38e8a.js +0 -66
- package/dist/esm/it-5bf38e8a.js.map +0 -1
- package/dist/esm/it-ch-67b3b3fd.js +0 -66
- package/dist/esm/it-ch-67b3b3fd.js.map +0 -1
- package/dist/esm/ja-11bf0e9e.js +0 -72
- package/dist/esm/ja-11bf0e9e.js.map +0 -1
- package/dist/esm/key-024dbe07.js +0 -13
- package/dist/esm/key-024dbe07.js.map +0 -1
- package/dist/esm/ko-9b976b4b.js +0 -72
- package/dist/esm/ko-9b976b4b.js.map +0 -1
- package/dist/esm/label-507b673e.js +0 -176
- package/dist/esm/label-507b673e.js.map +0 -1
- package/dist/esm/loadable-61193a7a.js +0 -86
- package/dist/esm/loadable-61193a7a.js.map +0 -1
- package/dist/esm/locale-57e36d26.js +0 -563
- package/dist/esm/locale-57e36d26.js.map +0 -1
- package/dist/esm/lt-477b5f1e.js +0 -97
- package/dist/esm/lt-477b5f1e.js.map +0 -1
- package/dist/esm/lv-03cec068.js +0 -66
- package/dist/esm/lv-03cec068.js.map +0 -1
- package/dist/esm/math-3b8c0151.js +0 -51
- package/dist/esm/math-3b8c0151.js.map +0 -1
- package/dist/esm/mk-0248edbe.js +0 -66
- package/dist/esm/mk-0248edbe.js.map +0 -1
- package/dist/esm/nb-cba9b379.js +0 -67
- package/dist/esm/nb-cba9b379.js.map +0 -1
- package/dist/esm/nl-07738d88.js +0 -67
- package/dist/esm/nl-07738d88.js.map +0 -1
- package/dist/esm/observers-4226150e.js +0 -50
- package/dist/esm/observers-4226150e.js.map +0 -1
- package/dist/esm/openCloseComponent-3679f7b3.js +0 -87
- package/dist/esm/openCloseComponent-3679f7b3.js.map +0 -1
- package/dist/esm/pl-8138560e.js +0 -114
- package/dist/esm/pl-8138560e.js.map +0 -1
- package/dist/esm/pt-2e8b82fa.js +0 -67
- package/dist/esm/pt-2e8b82fa.js.map +0 -1
- package/dist/esm/pt-br-2108ce53.js +0 -65
- package/dist/esm/pt-br-2108ce53.js.map +0 -1
- package/dist/esm/resources-0b4c2fb7.js +0 -45
- package/dist/esm/resources-0b4c2fb7.js.map +0 -1
- package/dist/esm/resources-21c69a88.js +0 -21
- package/dist/esm/resources-21c69a88.js.map +0 -1
- package/dist/esm/resources-3894cfa3.js +0 -25
- package/dist/esm/resources-3894cfa3.js.map +0 -1
- package/dist/esm/resources-4db2e3aa.js +0 -386
- package/dist/esm/resources-4db2e3aa.js.map +0 -1
- package/dist/esm/resources-854149fa.js +0 -16
- package/dist/esm/resources-854149fa.js.map +0 -1
- package/dist/esm/resources-aefe5ed9.js +0 -19
- package/dist/esm/resources-aefe5ed9.js.map +0 -1
- package/dist/esm/resources-f35bd798.js +0 -23
- package/dist/esm/resources-f35bd798.js.map +0 -1
- package/dist/esm/ro-0bfb503e.js +0 -66
- package/dist/esm/ro-0bfb503e.js.map +0 -1
- package/dist/esm/ru-842be2a7.js +0 -126
- package/dist/esm/ru-842be2a7.js.map +0 -1
- package/dist/esm/sk-35f331ff.js +0 -148
- package/dist/esm/sk-35f331ff.js.map +0 -1
- package/dist/esm/sl-a0383087.js +0 -168
- package/dist/esm/sl-a0383087.js.map +0 -1
- package/dist/esm/sortableComponent-e4bdb4be.js +0 -2740
- package/dist/esm/sortableComponent-e4bdb4be.js.map +0 -1
- package/dist/esm/sr-e68263bc.js +0 -101
- package/dist/esm/sr-e68263bc.js.map +0 -1
- package/dist/esm/sv-b3fc72c7.js +0 -71
- package/dist/esm/sv-b3fc72c7.js.map +0 -1
- package/dist/esm/t9n-dcfe668f.js +0 -92
- package/dist/esm/t9n-dcfe668f.js.map +0 -1
- package/dist/esm/th-ebafd9c7.js +0 -65
- package/dist/esm/th-ebafd9c7.js.map +0 -1
- package/dist/esm/throttle-17f02a88.js +0 -75
- package/dist/esm/throttle-17f02a88.js.map +0 -1
- package/dist/esm/tr-e0e94c75.js +0 -66
- package/dist/esm/tr-e0e94c75.js.map +0 -1
- package/dist/esm/uk-843fa2e0.js +0 -104
- package/dist/esm/uk-843fa2e0.js.map +0 -1
- package/dist/esm/utils-0bf37bc0.js +0 -200
- package/dist/esm/utils-0bf37bc0.js.map +0 -1
- package/dist/esm/utils-1fad5b1e.js +0 -289
- package/dist/esm/utils-1fad5b1e.js.map +0 -1
- package/dist/esm/vi-4c39c7ca.js +0 -70
- package/dist/esm/vi-4c39c7ca.js.map +0 -1
- package/dist/esm/zh-cn-e1f9ee3a.js +0 -94
- package/dist/esm/zh-cn-e1f9ee3a.js.map +0 -1
- package/dist/esm/zh-hk-3fe043b0.js +0 -71
- package/dist/esm/zh-hk-3fe043b0.js.map +0 -1
- package/dist/esm/zh-tw-2fb67d8a.js +0 -92
- package/dist/esm/zh-tw-2fb67d8a.js.map +0 -1
- package/dist/types/home/jamin/dev/work/calcite-design-system/hotfix/packages/calcite-components/.stencil/stencil.config.d.ts +0 -3
- /package/dist/calcite/{p-eb341d42.js.map → p-01aa1806.js.map} +0 -0
- /package/dist/calcite/{p-c5b35348.js.map → p-01c0a2c2.js.map} +0 -0
- /package/dist/calcite/{p-f5cc7078.entry.js.map → p-042ffef2.entry.js.map} +0 -0
- /package/dist/calcite/{p-6ac9f23a.js.map → p-071aace1.js.map} +0 -0
- /package/dist/calcite/{p-5b2c4fd8.entry.js.map → p-08b66f67.entry.js.map} +0 -0
- /package/dist/calcite/{p-9773d83f.entry.js.map → p-08d45b62.entry.js.map} +0 -0
- /package/dist/calcite/{p-51ee1a3e.entry.js.map → p-0a009f83.entry.js.map} +0 -0
- /package/dist/calcite/{p-87aa04a0.js.map → p-0ba8ec19.js.map} +0 -0
- /package/dist/calcite/{p-8ded2027.entry.js.map → p-0d0710aa.entry.js.map} +0 -0
- /package/dist/calcite/{p-d5fc2354.js.map → p-101f01a3.js.map} +0 -0
- /package/dist/calcite/{p-7d110daa.entry.js.map → p-10877d5a.entry.js.map} +0 -0
- /package/dist/calcite/{p-51f45b9b.entry.js.map → p-125f3790.entry.js.map} +0 -0
- /package/dist/calcite/{p-616d6ff5.js.map → p-12aea44f.js.map} +0 -0
- /package/dist/calcite/{p-2e2c12b9.js.map → p-15659f77.js.map} +0 -0
- /package/dist/calcite/{p-ef42fe04.js.map → p-15ce7f36.js.map} +0 -0
- /package/dist/calcite/{p-387903c7.entry.js.map → p-17074171.entry.js.map} +0 -0
- /package/dist/calcite/{p-c5e15379.entry.js.map → p-185ba817.entry.js.map} +0 -0
- /package/dist/calcite/{p-31f01517.js.map → p-18e5e7a4.js.map} +0 -0
- /package/dist/calcite/{p-a2ead21e.js.map → p-1ae789c5.js.map} +0 -0
- /package/dist/calcite/{p-b6168da5.js.map → p-1ffb747c.js.map} +0 -0
- /package/dist/calcite/{p-1d46c8b9.js.map → p-20267796.js.map} +0 -0
- /package/dist/calcite/{p-7d1ab21b.js.map → p-2271ffa7.js.map} +0 -0
- /package/dist/calcite/{p-4ca78e64.js.map → p-22d5db89.js.map} +0 -0
- /package/dist/calcite/{p-8f78f3b0.js.map → p-257bccc2.js.map} +0 -0
- /package/dist/calcite/{p-9117da1a.js.map → p-2658c361.js.map} +0 -0
- /package/dist/calcite/{p-fc4b442d.entry.js.map → p-27661490.entry.js.map} +0 -0
- /package/dist/calcite/{p-3b9ff912.entry.js.map → p-27e9d688.entry.js.map} +0 -0
- /package/dist/calcite/{p-20f5e471.js.map → p-292e53cc.js.map} +0 -0
- /package/dist/calcite/{p-597c940f.js.map → p-29e2d596.js.map} +0 -0
- /package/dist/calcite/{p-b7cfeaad.entry.js.map → p-2eca0d7e.entry.js.map} +0 -0
- /package/dist/calcite/{p-4d009089.js.map → p-2f3702bc.js.map} +0 -0
- /package/dist/calcite/{p-e0f77859.entry.js.map → p-3171ee55.entry.js.map} +0 -0
- /package/dist/calcite/{p-d88d0b00.js.map → p-3401fc3c.js.map} +0 -0
- /package/dist/calcite/{p-a1178c3e.js.map → p-34e21c17.js.map} +0 -0
- /package/dist/calcite/{p-e499da43.js.map → p-354996a2.js.map} +0 -0
- /package/dist/calcite/{p-79dec7fa.entry.js.map → p-35bbc140.entry.js.map} +0 -0
- /package/dist/calcite/{p-7a9a6d73.js.map → p-35ec8d1b.js.map} +0 -0
- /package/dist/calcite/{p-2415d5e6.entry.js.map → p-36229a35.entry.js.map} +0 -0
- /package/dist/calcite/{p-c654e1da.entry.js.map → p-3644c977.entry.js.map} +0 -0
- /package/dist/calcite/{p-e79f683c.entry.js.map → p-3689dd15.entry.js.map} +0 -0
- /package/dist/calcite/{p-b46754b2.entry.js.map → p-3717b220.entry.js.map} +0 -0
- /package/dist/calcite/{p-64e33b95.js.map → p-373adf00.js.map} +0 -0
- /package/dist/calcite/{p-32a6e756.js.map → p-3776dbc9.js.map} +0 -0
- /package/dist/calcite/{p-ad747cd7.js.map → p-37d20b99.js.map} +0 -0
- /package/dist/calcite/{p-ca6bddc6.js.map → p-3887b450.js.map} +0 -0
- /package/dist/calcite/{p-4815e098.entry.js.map → p-3a5729de.entry.js.map} +0 -0
- /package/dist/calcite/{p-b134e73e.js.map → p-3afc53af.js.map} +0 -0
- /package/dist/calcite/{p-04bcb25d.js.map → p-3b8b9962.js.map} +0 -0
- /package/dist/calcite/{p-9f2336b1.entry.js.map → p-3c183141.entry.js.map} +0 -0
- /package/dist/calcite/{p-02305f36.js.map → p-3dabcd20.js.map} +0 -0
- /package/dist/calcite/{p-11a39258.entry.js.map → p-4686da22.entry.js.map} +0 -0
- /package/dist/calcite/{p-b1700a9d.entry.js.map → p-49293f49.entry.js.map} +0 -0
- /package/dist/calcite/{p-6e5f26cf.js.map → p-4cdd8242.js.map} +0 -0
- /package/dist/calcite/{p-98fa21bd.entry.js.map → p-4f59277d.entry.js.map} +0 -0
- /package/dist/calcite/{p-7b1387b3.js.map → p-4f6bad13.js.map} +0 -0
- /package/dist/calcite/{p-35a169d0.js.map → p-4ff5655c.js.map} +0 -0
- /package/dist/calcite/{p-797573ae.entry.js.map → p-55dfc8e6.entry.js.map} +0 -0
- /package/dist/calcite/{p-8f2428f2.js.map → p-5a560d40.js.map} +0 -0
- /package/dist/calcite/{p-794bef12.js.map → p-61e46c59.js.map} +0 -0
- /package/dist/calcite/{p-7a142044.entry.js.map → p-6553386d.entry.js.map} +0 -0
- /package/dist/calcite/{p-50f424a3.js.map → p-66169a34.js.map} +0 -0
- /package/dist/calcite/{p-4b3a932a.entry.js.map → p-692ed76a.entry.js.map} +0 -0
- /package/dist/calcite/{p-c67257c3.js.map → p-6a8e070c.js.map} +0 -0
- /package/dist/calcite/{p-90bc410d.js.map → p-6ad7e411.js.map} +0 -0
- /package/dist/calcite/{p-f4466647.js.map → p-6ae3eac1.js.map} +0 -0
- /package/dist/calcite/{p-efc3f249.js.map → p-6db0e4e4.js.map} +0 -0
- /package/dist/calcite/{p-a0fb22d3.js.map → p-73f41384.js.map} +0 -0
- /package/dist/calcite/{p-a956615c.entry.js.map → p-777a4cc5.entry.js.map} +0 -0
- /package/dist/calcite/{p-5d6cd8b5.js.map → p-784d80dc.js.map} +0 -0
- /package/dist/calcite/{p-f2b7eb90.entry.js.map → p-79258e87.entry.js.map} +0 -0
- /package/dist/calcite/{p-9846179d.js.map → p-7f78d11d.js.map} +0 -0
- /package/dist/calcite/{p-9846d08e.js.map → p-865a3131.js.map} +0 -0
- /package/dist/calcite/{p-d43d8cf4.js.map → p-8660582f.js.map} +0 -0
- /package/dist/calcite/{p-b973ba8e.js.map → p-868450b4.js.map} +0 -0
- /package/dist/calcite/{p-35baa5d5.entry.js.map → p-871f7517.entry.js.map} +0 -0
- /package/dist/calcite/{p-d0678291.entry.js.map → p-875aa902.entry.js.map} +0 -0
- /package/dist/calcite/{p-c2e26084.js.map → p-87c48682.js.map} +0 -0
- /package/dist/calcite/{p-905d1ed3.js.map → p-87d9086b.js.map} +0 -0
- /package/dist/calcite/{p-43ea936c.entry.js.map → p-8972089c.entry.js.map} +0 -0
- /package/dist/calcite/{p-fcc2d6c1.entry.js.map → p-899c784d.entry.js.map} +0 -0
- /package/dist/calcite/{p-4c0ef8a0.entry.js.map → p-8aec30af.entry.js.map} +0 -0
- /package/dist/calcite/{p-cc131159.entry.js.map → p-8b7661e7.entry.js.map} +0 -0
- /package/dist/calcite/{p-6ea3ac52.js.map → p-8e8bace6.js.map} +0 -0
- /package/dist/calcite/{p-94d9c271.js.map → p-8f036fc3.js.map} +0 -0
- /package/dist/calcite/{p-3f7e1926.js.map → p-90a42275.js.map} +0 -0
- /package/dist/calcite/{p-e78587fc.js.map → p-9136338e.js.map} +0 -0
- /package/dist/calcite/{p-f6df9ac0.entry.js.map → p-923abe63.entry.js.map} +0 -0
- /package/dist/calcite/{p-a86f8c79.entry.js.map → p-934e9599.entry.js.map} +0 -0
- /package/dist/calcite/{p-6e5532d8.entry.js.map → p-95399294.entry.js.map} +0 -0
- /package/dist/calcite/{p-f6d21c4c.entry.js.map → p-9556ba21.entry.js.map} +0 -0
- /package/dist/calcite/{p-67ed5dd1.entry.js.map → p-959e0062.entry.js.map} +0 -0
- /package/dist/calcite/{p-d7396833.js.map → p-95a5ed7e.js.map} +0 -0
- /package/dist/calcite/{p-953701c3.js.map → p-96b32a02.js.map} +0 -0
- /package/dist/calcite/{p-52fe40fa.js.map → p-976d17d8.js.map} +0 -0
- /package/dist/calcite/{p-c3930138.js.map → p-9936cc47.js.map} +0 -0
- /package/dist/calcite/{p-32ed6e64.js.map → p-993e4552.js.map} +0 -0
- /package/dist/calcite/{p-bf65e60a.entry.js.map → p-9b67a38a.entry.js.map} +0 -0
- /package/dist/calcite/{p-eb7d3112.entry.js.map → p-9c7a165f.entry.js.map} +0 -0
- /package/dist/calcite/{p-73596ea7.entry.js.map → p-9d063d10.entry.js.map} +0 -0
- /package/dist/calcite/{p-573a61d0.js.map → p-9e8ce924.js.map} +0 -0
- /package/dist/calcite/{p-d1c6cdfd.entry.js.map → p-a39896d9.entry.js.map} +0 -0
- /package/dist/calcite/{p-c8a2b2fc.js.map → p-a3cab1aa.js.map} +0 -0
- /package/dist/calcite/{p-567343f2.entry.js.map → p-a3edf119.entry.js.map} +0 -0
- /package/dist/calcite/{p-2cb39843.js.map → p-a4059c16.js.map} +0 -0
- /package/dist/calcite/{p-2e1b46ff.js.map → p-a64e6f62.js.map} +0 -0
- /package/dist/calcite/{p-6a0aa531.entry.js.map → p-a65f9879.entry.js.map} +0 -0
- /package/dist/calcite/{p-cb88d1ce.entry.js.map → p-a7852e22.entry.js.map} +0 -0
- /package/dist/calcite/{p-b9adc3fb.js.map → p-ad117b3d.js.map} +0 -0
- /package/dist/calcite/{p-252f5021.entry.js.map → p-af2f9802.entry.js.map} +0 -0
- /package/dist/calcite/{p-69610012.js.map → p-b0004c7f.js.map} +0 -0
- /package/dist/calcite/{p-48552492.entry.js.map → p-b01a52b9.entry.js.map} +0 -0
- /package/dist/calcite/{p-b06509bf.js.map → p-b594faa4.js.map} +0 -0
- /package/dist/calcite/{p-0ef3938c.js.map → p-b6ee2f9a.js.map} +0 -0
- /package/dist/calcite/{p-de360677.entry.js.map → p-b91d256e.entry.js.map} +0 -0
- /package/dist/calcite/{p-33fa3a3b.js.map → p-b9ffc620.js.map} +0 -0
- /package/dist/calcite/{p-038bee09.entry.js.map → p-bd1c8077.entry.js.map} +0 -0
- /package/dist/calcite/{p-27b2402c.entry.js.map → p-c5ab7725.entry.js.map} +0 -0
- /package/dist/calcite/{p-a3ae2df9.entry.js.map → p-c8fdfa7d.entry.js.map} +0 -0
- /package/dist/calcite/{p-65d66925.js.map → p-cba3cb72.js.map} +0 -0
- /package/dist/calcite/{p-7b45f24c.entry.js.map → p-cd792e9d.entry.js.map} +0 -0
- /package/dist/calcite/{p-6d5e8384.entry.js.map → p-cd882225.entry.js.map} +0 -0
- /package/dist/calcite/{p-1de39ae5.entry.js.map → p-ce39678a.entry.js.map} +0 -0
- /package/dist/calcite/{p-9bde3412.js.map → p-ce420d6f.js.map} +0 -0
- /package/dist/calcite/{p-c9490c8e.entry.js.map → p-d19a0563.entry.js.map} +0 -0
- /package/dist/calcite/{p-ed07f480.entry.js.map → p-d2b587d3.entry.js.map} +0 -0
- /package/dist/calcite/{p-f32f4d90.entry.js.map → p-d474a45a.entry.js.map} +0 -0
- /package/dist/calcite/{p-ae842f5c.js.map → p-d620c735.js.map} +0 -0
- /package/dist/calcite/{p-9604d280.js.map → p-d7cca4af.js.map} +0 -0
- /package/dist/calcite/{p-a67364f0.js.map → p-d9a3239a.js.map} +0 -0
- /package/dist/calcite/{p-0a5f0cb0.js.map → p-da027dfa.js.map} +0 -0
- /package/dist/calcite/{p-4cf90593.js.map → p-dc499292.js.map} +0 -0
- /package/dist/calcite/{p-9187937a.js.map → p-de376b95.js.map} +0 -0
- /package/dist/calcite/{p-c8f1d050.js.map → p-de6b4d5d.js.map} +0 -0
- /package/dist/calcite/{p-d530cca7.js.map → p-df004646.js.map} +0 -0
- /package/dist/calcite/{p-e88eeff3.entry.js.map → p-e050246a.entry.js.map} +0 -0
- /package/dist/calcite/{p-7e6476c8.js.map → p-e2618ec4.js.map} +0 -0
- /package/dist/calcite/{p-98e5da36.js.map → p-e5bbbb5a.js.map} +0 -0
- /package/dist/calcite/{p-236405b2.entry.js.map → p-e63e0593.entry.js.map} +0 -0
- /package/dist/calcite/{p-2441c9aa.entry.js.map → p-e83ab54f.entry.js.map} +0 -0
- /package/dist/calcite/{p-ad62216c.entry.js.map → p-eb3f50aa.entry.js.map} +0 -0
- /package/dist/calcite/{p-9ec3e65a.entry.js.map → p-eb931b76.entry.js.map} +0 -0
- /package/dist/calcite/{p-fb9993c7.js.map → p-ed8fde1f.js.map} +0 -0
- /package/dist/calcite/{p-05754a78.js.map → p-f1112c29.js.map} +0 -0
- /package/dist/calcite/{p-83ef171a.js.map → p-f20ee8f5.js.map} +0 -0
- /package/dist/calcite/{p-6011cbd3.js.map → p-f382c352.js.map} +0 -0
- /package/dist/calcite/{p-9e58cf96.js.map → p-f46b474e.js.map} +0 -0
- /package/dist/calcite/{p-da862807.js.map → p-f7a26cfe.js.map} +0 -0
- /package/dist/calcite/{p-a43fede3.js.map → p-f90167e8.js.map} +0 -0
- /package/dist/calcite/{p-b509ca91.js.map → p-ffd49d75.js.map} +0 -0
- /package/dist/types/home/{jamin/dev/work/calcite-design-system/hotfix → runner/work/calcite-design-system/calcite-design-system}/packages/calcite-components/.stencil/.storybook/placeholderImage.d.ts +0 -0
- /package/dist/types/home/{jamin/dev/work/calcite-design-system/hotfix → runner/work/calcite-design-system/calcite-design-system}/packages/calcite-components/.stencil/calcite-preset.d.ts +0 -0
- /package/dist/types/home/{jamin/dev/work/calcite-design-system/hotfix → runner/work/calcite-design-system/calcite-design-system}/packages/calcite-components/.stencil/support/formatting.d.ts +0 -0
- /package/dist/types/home/{jamin/dev/work/calcite-design-system/hotfix → runner/work/calcite-design-system/calcite-design-system}/packages/calcite-components/.stencil/support/preact.d.ts +0 -0
- /package/dist/types/home/{jamin/dev/work/calcite-design-system/hotfix → runner/work/calcite-design-system/calcite-design-system}/packages/calcite-components/.stencil/tailwind.config.d.ts +0 -0
|
@@ -0,0 +1,2744 @@
|
|
|
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.8.4
|
|
5
|
+
*/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
/**!
|
|
9
|
+
* Sortable 1.15.1
|
|
10
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
11
|
+
* @author owenm <owen23355@gmail.com>
|
|
12
|
+
* @license MIT
|
|
13
|
+
*/
|
|
14
|
+
function ownKeys(object, enumerableOnly) {
|
|
15
|
+
var keys = Object.keys(object);
|
|
16
|
+
if (Object.getOwnPropertySymbols) {
|
|
17
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
18
|
+
if (enumerableOnly) {
|
|
19
|
+
symbols = symbols.filter(function (sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
keys.push.apply(keys, symbols);
|
|
24
|
+
}
|
|
25
|
+
return keys;
|
|
26
|
+
}
|
|
27
|
+
function _objectSpread2(target) {
|
|
28
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
29
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
30
|
+
if (i % 2) {
|
|
31
|
+
ownKeys(Object(source), true).forEach(function (key) {
|
|
32
|
+
_defineProperty(target, key, source[key]);
|
|
33
|
+
});
|
|
34
|
+
} else if (Object.getOwnPropertyDescriptors) {
|
|
35
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
36
|
+
} else {
|
|
37
|
+
ownKeys(Object(source)).forEach(function (key) {
|
|
38
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return target;
|
|
43
|
+
}
|
|
44
|
+
function _typeof(obj) {
|
|
45
|
+
"@babel/helpers - typeof";
|
|
46
|
+
|
|
47
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
48
|
+
_typeof = function (obj) {
|
|
49
|
+
return typeof obj;
|
|
50
|
+
};
|
|
51
|
+
} else {
|
|
52
|
+
_typeof = function (obj) {
|
|
53
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
return _typeof(obj);
|
|
57
|
+
}
|
|
58
|
+
function _defineProperty(obj, key, value) {
|
|
59
|
+
if (key in obj) {
|
|
60
|
+
Object.defineProperty(obj, key, {
|
|
61
|
+
value: value,
|
|
62
|
+
enumerable: true,
|
|
63
|
+
configurable: true,
|
|
64
|
+
writable: true
|
|
65
|
+
});
|
|
66
|
+
} else {
|
|
67
|
+
obj[key] = value;
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
}
|
|
71
|
+
function _extends() {
|
|
72
|
+
_extends = Object.assign || function (target) {
|
|
73
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
74
|
+
var source = arguments[i];
|
|
75
|
+
for (var key in source) {
|
|
76
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
77
|
+
target[key] = source[key];
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return target;
|
|
82
|
+
};
|
|
83
|
+
return _extends.apply(this, arguments);
|
|
84
|
+
}
|
|
85
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
86
|
+
if (source == null) return {};
|
|
87
|
+
var target = {};
|
|
88
|
+
var sourceKeys = Object.keys(source);
|
|
89
|
+
var key, i;
|
|
90
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
91
|
+
key = sourceKeys[i];
|
|
92
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
93
|
+
target[key] = source[key];
|
|
94
|
+
}
|
|
95
|
+
return target;
|
|
96
|
+
}
|
|
97
|
+
function _objectWithoutProperties(source, excluded) {
|
|
98
|
+
if (source == null) return {};
|
|
99
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
100
|
+
var key, i;
|
|
101
|
+
if (Object.getOwnPropertySymbols) {
|
|
102
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
103
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
104
|
+
key = sourceSymbolKeys[i];
|
|
105
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
106
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
107
|
+
target[key] = source[key];
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return target;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
var version = "1.15.1";
|
|
114
|
+
|
|
115
|
+
function userAgent(pattern) {
|
|
116
|
+
if (typeof window !== 'undefined' && window.navigator) {
|
|
117
|
+
return !! /*@__PURE__*/navigator.userAgent.match(pattern);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
|
|
121
|
+
var Edge = userAgent(/Edge/i);
|
|
122
|
+
var FireFox = userAgent(/firefox/i);
|
|
123
|
+
var Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);
|
|
124
|
+
var IOS = userAgent(/iP(ad|od|hone)/i);
|
|
125
|
+
var ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);
|
|
126
|
+
|
|
127
|
+
var captureMode = {
|
|
128
|
+
capture: false,
|
|
129
|
+
passive: false
|
|
130
|
+
};
|
|
131
|
+
function on(el, event, fn) {
|
|
132
|
+
el.addEventListener(event, fn, !IE11OrLess && captureMode);
|
|
133
|
+
}
|
|
134
|
+
function off(el, event, fn) {
|
|
135
|
+
el.removeEventListener(event, fn, !IE11OrLess && captureMode);
|
|
136
|
+
}
|
|
137
|
+
function matches( /**HTMLElement*/el, /**String*/selector) {
|
|
138
|
+
if (!selector) return;
|
|
139
|
+
selector[0] === '>' && (selector = selector.substring(1));
|
|
140
|
+
if (el) {
|
|
141
|
+
try {
|
|
142
|
+
if (el.matches) {
|
|
143
|
+
return el.matches(selector);
|
|
144
|
+
} else if (el.msMatchesSelector) {
|
|
145
|
+
return el.msMatchesSelector(selector);
|
|
146
|
+
} else if (el.webkitMatchesSelector) {
|
|
147
|
+
return el.webkitMatchesSelector(selector);
|
|
148
|
+
}
|
|
149
|
+
} catch (_) {
|
|
150
|
+
return false;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
return false;
|
|
154
|
+
}
|
|
155
|
+
function getParentOrHost(el) {
|
|
156
|
+
return el.host && el !== document && el.host.nodeType ? el.host : el.parentNode;
|
|
157
|
+
}
|
|
158
|
+
function closest( /**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx, includeCTX) {
|
|
159
|
+
if (el) {
|
|
160
|
+
ctx = ctx || document;
|
|
161
|
+
do {
|
|
162
|
+
if (selector != null && (selector[0] === '>' ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
|
|
163
|
+
return el;
|
|
164
|
+
}
|
|
165
|
+
if (el === ctx) break;
|
|
166
|
+
/* jshint boss:true */
|
|
167
|
+
} while (el = getParentOrHost(el));
|
|
168
|
+
}
|
|
169
|
+
return null;
|
|
170
|
+
}
|
|
171
|
+
var R_SPACE = /\s+/g;
|
|
172
|
+
function toggleClass(el, name, state) {
|
|
173
|
+
if (el && name) {
|
|
174
|
+
if (el.classList) {
|
|
175
|
+
el.classList[state ? 'add' : 'remove'](name);
|
|
176
|
+
} else {
|
|
177
|
+
var className = (' ' + el.className + ' ').replace(R_SPACE, ' ').replace(' ' + name + ' ', ' ');
|
|
178
|
+
el.className = (className + (state ? ' ' + name : '')).replace(R_SPACE, ' ');
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
function css(el, prop, val) {
|
|
183
|
+
var style = el && el.style;
|
|
184
|
+
if (style) {
|
|
185
|
+
if (val === void 0) {
|
|
186
|
+
if (document.defaultView && document.defaultView.getComputedStyle) {
|
|
187
|
+
val = document.defaultView.getComputedStyle(el, '');
|
|
188
|
+
} else if (el.currentStyle) {
|
|
189
|
+
val = el.currentStyle;
|
|
190
|
+
}
|
|
191
|
+
return prop === void 0 ? val : val[prop];
|
|
192
|
+
} else {
|
|
193
|
+
if (!(prop in style) && prop.indexOf('webkit') === -1) {
|
|
194
|
+
prop = '-webkit-' + prop;
|
|
195
|
+
}
|
|
196
|
+
style[prop] = val + (typeof val === 'string' ? '' : 'px');
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
function matrix(el, selfOnly) {
|
|
201
|
+
var appliedTransforms = '';
|
|
202
|
+
if (typeof el === 'string') {
|
|
203
|
+
appliedTransforms = el;
|
|
204
|
+
} else {
|
|
205
|
+
do {
|
|
206
|
+
var transform = css(el, 'transform');
|
|
207
|
+
if (transform && transform !== 'none') {
|
|
208
|
+
appliedTransforms = transform + ' ' + appliedTransforms;
|
|
209
|
+
}
|
|
210
|
+
/* jshint boss:true */
|
|
211
|
+
} while (!selfOnly && (el = el.parentNode));
|
|
212
|
+
}
|
|
213
|
+
var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
214
|
+
/*jshint -W056 */
|
|
215
|
+
return matrixFn && new matrixFn(appliedTransforms);
|
|
216
|
+
}
|
|
217
|
+
function find(ctx, tagName, iterator) {
|
|
218
|
+
if (ctx) {
|
|
219
|
+
var list = ctx.getElementsByTagName(tagName),
|
|
220
|
+
i = 0,
|
|
221
|
+
n = list.length;
|
|
222
|
+
if (iterator) {
|
|
223
|
+
for (; i < n; i++) {
|
|
224
|
+
iterator(list[i], i);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
return list;
|
|
228
|
+
}
|
|
229
|
+
return [];
|
|
230
|
+
}
|
|
231
|
+
function getWindowScrollingElement() {
|
|
232
|
+
var scrollingElement = document.scrollingElement;
|
|
233
|
+
if (scrollingElement) {
|
|
234
|
+
return scrollingElement;
|
|
235
|
+
} else {
|
|
236
|
+
return document.documentElement;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Returns the "bounding client rect" of given element
|
|
242
|
+
* @param {HTMLElement} el The element whose boundingClientRect is wanted
|
|
243
|
+
* @param {[Boolean]} relativeToContainingBlock Whether the rect should be relative to the containing block of (including) the container
|
|
244
|
+
* @param {[Boolean]} relativeToNonStaticParent Whether the rect should be relative to the relative parent of (including) the contaienr
|
|
245
|
+
* @param {[Boolean]} undoScale Whether the container's scale() should be undone
|
|
246
|
+
* @param {[HTMLElement]} container The parent the element will be placed in
|
|
247
|
+
* @return {Object} The boundingClientRect of el, with specified adjustments
|
|
248
|
+
*/
|
|
249
|
+
function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
|
|
250
|
+
if (!el.getBoundingClientRect && el !== window) return;
|
|
251
|
+
var elRect, top, left, bottom, right, height, width;
|
|
252
|
+
if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
|
|
253
|
+
elRect = el.getBoundingClientRect();
|
|
254
|
+
top = elRect.top;
|
|
255
|
+
left = elRect.left;
|
|
256
|
+
bottom = elRect.bottom;
|
|
257
|
+
right = elRect.right;
|
|
258
|
+
height = elRect.height;
|
|
259
|
+
width = elRect.width;
|
|
260
|
+
} else {
|
|
261
|
+
top = 0;
|
|
262
|
+
left = 0;
|
|
263
|
+
bottom = window.innerHeight;
|
|
264
|
+
right = window.innerWidth;
|
|
265
|
+
height = window.innerHeight;
|
|
266
|
+
width = window.innerWidth;
|
|
267
|
+
}
|
|
268
|
+
if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
|
|
269
|
+
// Adjust for translate()
|
|
270
|
+
container = container || el.parentNode;
|
|
271
|
+
|
|
272
|
+
// solves #1123 (see: https://stackoverflow.com/a/37953806/6088312)
|
|
273
|
+
// Not needed on <= IE11
|
|
274
|
+
if (!IE11OrLess) {
|
|
275
|
+
do {
|
|
276
|
+
if (container && container.getBoundingClientRect && (css(container, 'transform') !== 'none' || relativeToNonStaticParent && css(container, 'position') !== 'static')) {
|
|
277
|
+
var containerRect = container.getBoundingClientRect();
|
|
278
|
+
|
|
279
|
+
// Set relative to edges of padding box of container
|
|
280
|
+
top -= containerRect.top + parseInt(css(container, 'border-top-width'));
|
|
281
|
+
left -= containerRect.left + parseInt(css(container, 'border-left-width'));
|
|
282
|
+
bottom = top + elRect.height;
|
|
283
|
+
right = left + elRect.width;
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
/* jshint boss:true */
|
|
287
|
+
} while (container = container.parentNode);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
if (undoScale && el !== window) {
|
|
291
|
+
// Adjust for scale()
|
|
292
|
+
var elMatrix = matrix(container || el),
|
|
293
|
+
scaleX = elMatrix && elMatrix.a,
|
|
294
|
+
scaleY = elMatrix && elMatrix.d;
|
|
295
|
+
if (elMatrix) {
|
|
296
|
+
top /= scaleY;
|
|
297
|
+
left /= scaleX;
|
|
298
|
+
width /= scaleX;
|
|
299
|
+
height /= scaleY;
|
|
300
|
+
bottom = top + height;
|
|
301
|
+
right = left + width;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
return {
|
|
305
|
+
top: top,
|
|
306
|
+
left: left,
|
|
307
|
+
bottom: bottom,
|
|
308
|
+
right: right,
|
|
309
|
+
width: width,
|
|
310
|
+
height: height
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Returns the content rect of the element (bounding rect minus border and padding)
|
|
316
|
+
* @param {HTMLElement} el
|
|
317
|
+
*/
|
|
318
|
+
function getContentRect(el) {
|
|
319
|
+
var rect = getRect(el);
|
|
320
|
+
var paddingLeft = parseInt(css(el, 'padding-left')),
|
|
321
|
+
paddingTop = parseInt(css(el, 'padding-top')),
|
|
322
|
+
paddingRight = parseInt(css(el, 'padding-right')),
|
|
323
|
+
paddingBottom = parseInt(css(el, 'padding-bottom'));
|
|
324
|
+
rect.top += paddingTop + parseInt(css(el, 'border-top-width'));
|
|
325
|
+
rect.left += paddingLeft + parseInt(css(el, 'border-left-width'));
|
|
326
|
+
// Client Width/Height includes padding only
|
|
327
|
+
rect.width = el.clientWidth - paddingLeft - paddingRight;
|
|
328
|
+
rect.height = el.clientHeight - paddingTop - paddingBottom;
|
|
329
|
+
rect.bottom = rect.top + rect.height;
|
|
330
|
+
rect.right = rect.left + rect.width;
|
|
331
|
+
return rect;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Checks if a side of an element is scrolled past a side of its parents
|
|
336
|
+
* @param {HTMLElement} el The element who's side being scrolled out of view is in question
|
|
337
|
+
* @param {String} elSide Side of the element in question ('top', 'left', 'right', 'bottom')
|
|
338
|
+
* @param {String} parentSide Side of the parent in question ('top', 'left', 'right', 'bottom')
|
|
339
|
+
* @return {HTMLElement} The parent scroll element that the el's side is scrolled past, or null if there is no such element
|
|
340
|
+
*/
|
|
341
|
+
function isScrolledPast(el, elSide, parentSide) {
|
|
342
|
+
var parent = getParentAutoScrollElement(el, true),
|
|
343
|
+
elSideVal = getRect(el)[elSide];
|
|
344
|
+
|
|
345
|
+
/* jshint boss:true */
|
|
346
|
+
while (parent) {
|
|
347
|
+
var parentSideVal = getRect(parent)[parentSide],
|
|
348
|
+
visible = void 0;
|
|
349
|
+
if (parentSide === 'top' || parentSide === 'left') {
|
|
350
|
+
visible = elSideVal >= parentSideVal;
|
|
351
|
+
} else {
|
|
352
|
+
visible = elSideVal <= parentSideVal;
|
|
353
|
+
}
|
|
354
|
+
if (!visible) return parent;
|
|
355
|
+
if (parent === getWindowScrollingElement()) break;
|
|
356
|
+
parent = getParentAutoScrollElement(parent, false);
|
|
357
|
+
}
|
|
358
|
+
return false;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible)
|
|
363
|
+
* and non-draggable elements
|
|
364
|
+
* @param {HTMLElement} el The parent element
|
|
365
|
+
* @param {Number} childNum The index of the child
|
|
366
|
+
* @param {Object} options Parent Sortable's options
|
|
367
|
+
* @return {HTMLElement} The child at index childNum, or null if not found
|
|
368
|
+
*/
|
|
369
|
+
function getChild(el, childNum, options, includeDragEl) {
|
|
370
|
+
var currentChild = 0,
|
|
371
|
+
i = 0,
|
|
372
|
+
children = el.children;
|
|
373
|
+
while (i < children.length) {
|
|
374
|
+
if (children[i].style.display !== 'none' && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
|
|
375
|
+
if (currentChild === childNum) {
|
|
376
|
+
return children[i];
|
|
377
|
+
}
|
|
378
|
+
currentChild++;
|
|
379
|
+
}
|
|
380
|
+
i++;
|
|
381
|
+
}
|
|
382
|
+
return null;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Gets the last child in the el, ignoring ghostEl or invisible elements (clones)
|
|
387
|
+
* @param {HTMLElement} el Parent element
|
|
388
|
+
* @param {selector} selector Any other elements that should be ignored
|
|
389
|
+
* @return {HTMLElement} The last child, ignoring ghostEl
|
|
390
|
+
*/
|
|
391
|
+
function lastChild(el, selector) {
|
|
392
|
+
var last = el.lastElementChild;
|
|
393
|
+
while (last && (last === Sortable.ghost || css(last, 'display') === 'none' || selector && !matches(last, selector))) {
|
|
394
|
+
last = last.previousElementSibling;
|
|
395
|
+
}
|
|
396
|
+
return last || null;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Returns the index of an element within its parent for a selected set of
|
|
401
|
+
* elements
|
|
402
|
+
* @param {HTMLElement} el
|
|
403
|
+
* @param {selector} selector
|
|
404
|
+
* @return {number}
|
|
405
|
+
*/
|
|
406
|
+
function index(el, selector) {
|
|
407
|
+
var index = 0;
|
|
408
|
+
if (!el || !el.parentNode) {
|
|
409
|
+
return -1;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/* jshint boss:true */
|
|
413
|
+
while (el = el.previousElementSibling) {
|
|
414
|
+
if (el.nodeName.toUpperCase() !== 'TEMPLATE' && el !== Sortable.clone && (!selector || matches(el, selector))) {
|
|
415
|
+
index++;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
return index;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Returns the scroll offset of the given element, added with all the scroll offsets of parent elements.
|
|
423
|
+
* The value is returned in real pixels.
|
|
424
|
+
* @param {HTMLElement} el
|
|
425
|
+
* @return {Array} Offsets in the format of [left, top]
|
|
426
|
+
*/
|
|
427
|
+
function getRelativeScrollOffset(el) {
|
|
428
|
+
var offsetLeft = 0,
|
|
429
|
+
offsetTop = 0,
|
|
430
|
+
winScroller = getWindowScrollingElement();
|
|
431
|
+
if (el) {
|
|
432
|
+
do {
|
|
433
|
+
var elMatrix = matrix(el),
|
|
434
|
+
scaleX = elMatrix.a,
|
|
435
|
+
scaleY = elMatrix.d;
|
|
436
|
+
offsetLeft += el.scrollLeft * scaleX;
|
|
437
|
+
offsetTop += el.scrollTop * scaleY;
|
|
438
|
+
} while (el !== winScroller && (el = el.parentNode));
|
|
439
|
+
}
|
|
440
|
+
return [offsetLeft, offsetTop];
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Returns the index of the object within the given array
|
|
445
|
+
* @param {Array} arr Array that may or may not hold the object
|
|
446
|
+
* @param {Object} obj An object that has a key-value pair unique to and identical to a key-value pair in the object you want to find
|
|
447
|
+
* @return {Number} The index of the object in the array, or -1
|
|
448
|
+
*/
|
|
449
|
+
function indexOfObject(arr, obj) {
|
|
450
|
+
for (var i in arr) {
|
|
451
|
+
if (!arr.hasOwnProperty(i)) continue;
|
|
452
|
+
for (var key in obj) {
|
|
453
|
+
if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
return -1;
|
|
457
|
+
}
|
|
458
|
+
function getParentAutoScrollElement(el, includeSelf) {
|
|
459
|
+
// skip to window
|
|
460
|
+
if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();
|
|
461
|
+
var elem = el;
|
|
462
|
+
var gotSelf = false;
|
|
463
|
+
do {
|
|
464
|
+
// we don't need to get elem css if it isn't even overflowing in the first place (performance)
|
|
465
|
+
if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
|
|
466
|
+
var elemCSS = css(elem);
|
|
467
|
+
if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == 'auto' || elemCSS.overflowX == 'scroll') || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == 'auto' || elemCSS.overflowY == 'scroll')) {
|
|
468
|
+
if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();
|
|
469
|
+
if (gotSelf || includeSelf) return elem;
|
|
470
|
+
gotSelf = true;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
/* jshint boss:true */
|
|
474
|
+
} while (elem = elem.parentNode);
|
|
475
|
+
return getWindowScrollingElement();
|
|
476
|
+
}
|
|
477
|
+
function extend(dst, src) {
|
|
478
|
+
if (dst && src) {
|
|
479
|
+
for (var key in src) {
|
|
480
|
+
if (src.hasOwnProperty(key)) {
|
|
481
|
+
dst[key] = src[key];
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
return dst;
|
|
486
|
+
}
|
|
487
|
+
function isRectEqual(rect1, rect2) {
|
|
488
|
+
return Math.round(rect1.top) === Math.round(rect2.top) && Math.round(rect1.left) === Math.round(rect2.left) && Math.round(rect1.height) === Math.round(rect2.height) && Math.round(rect1.width) === Math.round(rect2.width);
|
|
489
|
+
}
|
|
490
|
+
var _throttleTimeout;
|
|
491
|
+
function throttle(callback, ms) {
|
|
492
|
+
return function () {
|
|
493
|
+
if (!_throttleTimeout) {
|
|
494
|
+
var args = arguments,
|
|
495
|
+
_this = this;
|
|
496
|
+
if (args.length === 1) {
|
|
497
|
+
callback.call(_this, args[0]);
|
|
498
|
+
} else {
|
|
499
|
+
callback.apply(_this, args);
|
|
500
|
+
}
|
|
501
|
+
_throttleTimeout = setTimeout(function () {
|
|
502
|
+
_throttleTimeout = void 0;
|
|
503
|
+
}, ms);
|
|
504
|
+
}
|
|
505
|
+
};
|
|
506
|
+
}
|
|
507
|
+
function cancelThrottle() {
|
|
508
|
+
clearTimeout(_throttleTimeout);
|
|
509
|
+
_throttleTimeout = void 0;
|
|
510
|
+
}
|
|
511
|
+
function scrollBy(el, x, y) {
|
|
512
|
+
el.scrollLeft += x;
|
|
513
|
+
el.scrollTop += y;
|
|
514
|
+
}
|
|
515
|
+
function clone(el) {
|
|
516
|
+
var Polymer = window.Polymer;
|
|
517
|
+
var $ = window.jQuery || window.Zepto;
|
|
518
|
+
if (Polymer && Polymer.dom) {
|
|
519
|
+
return Polymer.dom(el).cloneNode(true);
|
|
520
|
+
} else if ($) {
|
|
521
|
+
return $(el).clone(true)[0];
|
|
522
|
+
} else {
|
|
523
|
+
return el.cloneNode(true);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
var expando = 'Sortable' + new Date().getTime();
|
|
527
|
+
|
|
528
|
+
function AnimationStateManager() {
|
|
529
|
+
var animationStates = [],
|
|
530
|
+
animationCallbackId;
|
|
531
|
+
return {
|
|
532
|
+
captureAnimationState: function captureAnimationState() {
|
|
533
|
+
animationStates = [];
|
|
534
|
+
if (!this.options.animation) return;
|
|
535
|
+
var children = [].slice.call(this.el.children);
|
|
536
|
+
children.forEach(function (child) {
|
|
537
|
+
if (css(child, 'display') === 'none' || child === Sortable.ghost) return;
|
|
538
|
+
animationStates.push({
|
|
539
|
+
target: child,
|
|
540
|
+
rect: getRect(child)
|
|
541
|
+
});
|
|
542
|
+
var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect);
|
|
543
|
+
|
|
544
|
+
// If animating: compensate for current animation
|
|
545
|
+
if (child.thisAnimationDuration) {
|
|
546
|
+
var childMatrix = matrix(child, true);
|
|
547
|
+
if (childMatrix) {
|
|
548
|
+
fromRect.top -= childMatrix.f;
|
|
549
|
+
fromRect.left -= childMatrix.e;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
child.fromRect = fromRect;
|
|
553
|
+
});
|
|
554
|
+
},
|
|
555
|
+
addAnimationState: function addAnimationState(state) {
|
|
556
|
+
animationStates.push(state);
|
|
557
|
+
},
|
|
558
|
+
removeAnimationState: function removeAnimationState(target) {
|
|
559
|
+
animationStates.splice(indexOfObject(animationStates, {
|
|
560
|
+
target: target
|
|
561
|
+
}), 1);
|
|
562
|
+
},
|
|
563
|
+
animateAll: function animateAll(callback) {
|
|
564
|
+
var _this = this;
|
|
565
|
+
if (!this.options.animation) {
|
|
566
|
+
clearTimeout(animationCallbackId);
|
|
567
|
+
if (typeof callback === 'function') callback();
|
|
568
|
+
return;
|
|
569
|
+
}
|
|
570
|
+
var animating = false,
|
|
571
|
+
animationTime = 0;
|
|
572
|
+
animationStates.forEach(function (state) {
|
|
573
|
+
var time = 0,
|
|
574
|
+
target = state.target,
|
|
575
|
+
fromRect = target.fromRect,
|
|
576
|
+
toRect = getRect(target),
|
|
577
|
+
prevFromRect = target.prevFromRect,
|
|
578
|
+
prevToRect = target.prevToRect,
|
|
579
|
+
animatingRect = state.rect,
|
|
580
|
+
targetMatrix = matrix(target, true);
|
|
581
|
+
if (targetMatrix) {
|
|
582
|
+
// Compensate for current animation
|
|
583
|
+
toRect.top -= targetMatrix.f;
|
|
584
|
+
toRect.left -= targetMatrix.e;
|
|
585
|
+
}
|
|
586
|
+
target.toRect = toRect;
|
|
587
|
+
if (target.thisAnimationDuration) {
|
|
588
|
+
// Could also check if animatingRect is between fromRect and toRect
|
|
589
|
+
if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) &&
|
|
590
|
+
// Make sure animatingRect is on line between toRect & fromRect
|
|
591
|
+
(animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
|
|
592
|
+
// If returning to same place as started from animation and on same axis
|
|
593
|
+
time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
// if fromRect != toRect: animate
|
|
598
|
+
if (!isRectEqual(toRect, fromRect)) {
|
|
599
|
+
target.prevFromRect = fromRect;
|
|
600
|
+
target.prevToRect = toRect;
|
|
601
|
+
if (!time) {
|
|
602
|
+
time = _this.options.animation;
|
|
603
|
+
}
|
|
604
|
+
_this.animate(target, animatingRect, toRect, time);
|
|
605
|
+
}
|
|
606
|
+
if (time) {
|
|
607
|
+
animating = true;
|
|
608
|
+
animationTime = Math.max(animationTime, time);
|
|
609
|
+
clearTimeout(target.animationResetTimer);
|
|
610
|
+
target.animationResetTimer = setTimeout(function () {
|
|
611
|
+
target.animationTime = 0;
|
|
612
|
+
target.prevFromRect = null;
|
|
613
|
+
target.fromRect = null;
|
|
614
|
+
target.prevToRect = null;
|
|
615
|
+
target.thisAnimationDuration = null;
|
|
616
|
+
}, time);
|
|
617
|
+
target.thisAnimationDuration = time;
|
|
618
|
+
}
|
|
619
|
+
});
|
|
620
|
+
clearTimeout(animationCallbackId);
|
|
621
|
+
if (!animating) {
|
|
622
|
+
if (typeof callback === 'function') callback();
|
|
623
|
+
} else {
|
|
624
|
+
animationCallbackId = setTimeout(function () {
|
|
625
|
+
if (typeof callback === 'function') callback();
|
|
626
|
+
}, animationTime);
|
|
627
|
+
}
|
|
628
|
+
animationStates = [];
|
|
629
|
+
},
|
|
630
|
+
animate: function animate(target, currentRect, toRect, duration) {
|
|
631
|
+
if (duration) {
|
|
632
|
+
css(target, 'transition', '');
|
|
633
|
+
css(target, 'transform', '');
|
|
634
|
+
var elMatrix = matrix(this.el),
|
|
635
|
+
scaleX = elMatrix && elMatrix.a,
|
|
636
|
+
scaleY = elMatrix && elMatrix.d,
|
|
637
|
+
translateX = (currentRect.left - toRect.left) / (scaleX || 1),
|
|
638
|
+
translateY = (currentRect.top - toRect.top) / (scaleY || 1);
|
|
639
|
+
target.animatingX = !!translateX;
|
|
640
|
+
target.animatingY = !!translateY;
|
|
641
|
+
css(target, 'transform', 'translate3d(' + translateX + 'px,' + translateY + 'px,0)');
|
|
642
|
+
this.forRepaintDummy = repaint(target); // repaint
|
|
643
|
+
|
|
644
|
+
css(target, 'transition', 'transform ' + duration + 'ms' + (this.options.easing ? ' ' + this.options.easing : ''));
|
|
645
|
+
css(target, 'transform', 'translate3d(0,0,0)');
|
|
646
|
+
typeof target.animated === 'number' && clearTimeout(target.animated);
|
|
647
|
+
target.animated = setTimeout(function () {
|
|
648
|
+
css(target, 'transition', '');
|
|
649
|
+
css(target, 'transform', '');
|
|
650
|
+
target.animated = false;
|
|
651
|
+
target.animatingX = false;
|
|
652
|
+
target.animatingY = false;
|
|
653
|
+
}, duration);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
function repaint(target) {
|
|
659
|
+
return target.offsetWidth;
|
|
660
|
+
}
|
|
661
|
+
function calculateRealTime(animatingRect, fromRect, toRect, options) {
|
|
662
|
+
return Math.sqrt(Math.pow(fromRect.top - animatingRect.top, 2) + Math.pow(fromRect.left - animatingRect.left, 2)) / Math.sqrt(Math.pow(fromRect.top - toRect.top, 2) + Math.pow(fromRect.left - toRect.left, 2)) * options.animation;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
var plugins = [];
|
|
666
|
+
var defaults = {
|
|
667
|
+
initializeByDefault: true
|
|
668
|
+
};
|
|
669
|
+
var PluginManager = {
|
|
670
|
+
mount: function mount(plugin) {
|
|
671
|
+
// Set default static properties
|
|
672
|
+
for (var option in defaults) {
|
|
673
|
+
if (defaults.hasOwnProperty(option) && !(option in plugin)) {
|
|
674
|
+
plugin[option] = defaults[option];
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
plugins.forEach(function (p) {
|
|
678
|
+
if (p.pluginName === plugin.pluginName) {
|
|
679
|
+
throw "Sortable: Cannot mount plugin ".concat(plugin.pluginName, " more than once");
|
|
680
|
+
}
|
|
681
|
+
});
|
|
682
|
+
plugins.push(plugin);
|
|
683
|
+
},
|
|
684
|
+
pluginEvent: function pluginEvent(eventName, sortable, evt) {
|
|
685
|
+
var _this = this;
|
|
686
|
+
this.eventCanceled = false;
|
|
687
|
+
evt.cancel = function () {
|
|
688
|
+
_this.eventCanceled = true;
|
|
689
|
+
};
|
|
690
|
+
var eventNameGlobal = eventName + 'Global';
|
|
691
|
+
plugins.forEach(function (plugin) {
|
|
692
|
+
if (!sortable[plugin.pluginName]) return;
|
|
693
|
+
// Fire global events if it exists in this sortable
|
|
694
|
+
if (sortable[plugin.pluginName][eventNameGlobal]) {
|
|
695
|
+
sortable[plugin.pluginName][eventNameGlobal](_objectSpread2({
|
|
696
|
+
sortable: sortable
|
|
697
|
+
}, evt));
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
// Only fire plugin event if plugin is enabled in this sortable,
|
|
701
|
+
// and plugin has event defined
|
|
702
|
+
if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
|
|
703
|
+
sortable[plugin.pluginName][eventName](_objectSpread2({
|
|
704
|
+
sortable: sortable
|
|
705
|
+
}, evt));
|
|
706
|
+
}
|
|
707
|
+
});
|
|
708
|
+
},
|
|
709
|
+
initializePlugins: function initializePlugins(sortable, el, defaults, options) {
|
|
710
|
+
plugins.forEach(function (plugin) {
|
|
711
|
+
var pluginName = plugin.pluginName;
|
|
712
|
+
if (!sortable.options[pluginName] && !plugin.initializeByDefault) return;
|
|
713
|
+
var initialized = new plugin(sortable, el, sortable.options);
|
|
714
|
+
initialized.sortable = sortable;
|
|
715
|
+
initialized.options = sortable.options;
|
|
716
|
+
sortable[pluginName] = initialized;
|
|
717
|
+
|
|
718
|
+
// Add default options from plugin
|
|
719
|
+
_extends(defaults, initialized.defaults);
|
|
720
|
+
});
|
|
721
|
+
for (var option in sortable.options) {
|
|
722
|
+
if (!sortable.options.hasOwnProperty(option)) continue;
|
|
723
|
+
var modified = this.modifyOption(sortable, option, sortable.options[option]);
|
|
724
|
+
if (typeof modified !== 'undefined') {
|
|
725
|
+
sortable.options[option] = modified;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
getEventProperties: function getEventProperties(name, sortable) {
|
|
730
|
+
var eventProperties = {};
|
|
731
|
+
plugins.forEach(function (plugin) {
|
|
732
|
+
if (typeof plugin.eventProperties !== 'function') return;
|
|
733
|
+
_extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
|
|
734
|
+
});
|
|
735
|
+
return eventProperties;
|
|
736
|
+
},
|
|
737
|
+
modifyOption: function modifyOption(sortable, name, value) {
|
|
738
|
+
var modifiedValue;
|
|
739
|
+
plugins.forEach(function (plugin) {
|
|
740
|
+
// Plugin must exist on the Sortable
|
|
741
|
+
if (!sortable[plugin.pluginName]) return;
|
|
742
|
+
|
|
743
|
+
// If static option listener exists for this option, call in the context of the Sortable's instance of this plugin
|
|
744
|
+
if (plugin.optionListeners && typeof plugin.optionListeners[name] === 'function') {
|
|
745
|
+
modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
|
|
746
|
+
}
|
|
747
|
+
});
|
|
748
|
+
return modifiedValue;
|
|
749
|
+
}
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
function dispatchEvent(_ref) {
|
|
753
|
+
var sortable = _ref.sortable,
|
|
754
|
+
rootEl = _ref.rootEl,
|
|
755
|
+
name = _ref.name,
|
|
756
|
+
targetEl = _ref.targetEl,
|
|
757
|
+
cloneEl = _ref.cloneEl,
|
|
758
|
+
toEl = _ref.toEl,
|
|
759
|
+
fromEl = _ref.fromEl,
|
|
760
|
+
oldIndex = _ref.oldIndex,
|
|
761
|
+
newIndex = _ref.newIndex,
|
|
762
|
+
oldDraggableIndex = _ref.oldDraggableIndex,
|
|
763
|
+
newDraggableIndex = _ref.newDraggableIndex,
|
|
764
|
+
originalEvent = _ref.originalEvent,
|
|
765
|
+
putSortable = _ref.putSortable,
|
|
766
|
+
extraEventProperties = _ref.extraEventProperties;
|
|
767
|
+
sortable = sortable || rootEl && rootEl[expando];
|
|
768
|
+
if (!sortable) return;
|
|
769
|
+
var evt,
|
|
770
|
+
options = sortable.options,
|
|
771
|
+
onName = 'on' + name.charAt(0).toUpperCase() + name.substr(1);
|
|
772
|
+
// Support for new CustomEvent feature
|
|
773
|
+
if (window.CustomEvent && !IE11OrLess && !Edge) {
|
|
774
|
+
evt = new CustomEvent(name, {
|
|
775
|
+
bubbles: true,
|
|
776
|
+
cancelable: true
|
|
777
|
+
});
|
|
778
|
+
} else {
|
|
779
|
+
evt = document.createEvent('Event');
|
|
780
|
+
evt.initEvent(name, true, true);
|
|
781
|
+
}
|
|
782
|
+
evt.to = toEl || rootEl;
|
|
783
|
+
evt.from = fromEl || rootEl;
|
|
784
|
+
evt.item = targetEl || rootEl;
|
|
785
|
+
evt.clone = cloneEl;
|
|
786
|
+
evt.oldIndex = oldIndex;
|
|
787
|
+
evt.newIndex = newIndex;
|
|
788
|
+
evt.oldDraggableIndex = oldDraggableIndex;
|
|
789
|
+
evt.newDraggableIndex = newDraggableIndex;
|
|
790
|
+
evt.originalEvent = originalEvent;
|
|
791
|
+
evt.pullMode = putSortable ? putSortable.lastPutMode : undefined;
|
|
792
|
+
var allEventProperties = _objectSpread2(_objectSpread2({}, extraEventProperties), PluginManager.getEventProperties(name, sortable));
|
|
793
|
+
for (var option in allEventProperties) {
|
|
794
|
+
evt[option] = allEventProperties[option];
|
|
795
|
+
}
|
|
796
|
+
if (rootEl) {
|
|
797
|
+
rootEl.dispatchEvent(evt);
|
|
798
|
+
}
|
|
799
|
+
if (options[onName]) {
|
|
800
|
+
options[onName].call(sortable, evt);
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
var _excluded = ["evt"];
|
|
805
|
+
var pluginEvent = function pluginEvent(eventName, sortable) {
|
|
806
|
+
var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
|
|
807
|
+
originalEvent = _ref.evt,
|
|
808
|
+
data = _objectWithoutProperties(_ref, _excluded);
|
|
809
|
+
PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread2({
|
|
810
|
+
dragEl: dragEl,
|
|
811
|
+
parentEl: parentEl,
|
|
812
|
+
ghostEl: ghostEl,
|
|
813
|
+
rootEl: rootEl,
|
|
814
|
+
nextEl: nextEl,
|
|
815
|
+
lastDownEl: lastDownEl,
|
|
816
|
+
cloneEl: cloneEl,
|
|
817
|
+
cloneHidden: cloneHidden,
|
|
818
|
+
dragStarted: moved,
|
|
819
|
+
putSortable: putSortable,
|
|
820
|
+
activeSortable: Sortable.active,
|
|
821
|
+
originalEvent: originalEvent,
|
|
822
|
+
oldIndex: oldIndex,
|
|
823
|
+
oldDraggableIndex: oldDraggableIndex,
|
|
824
|
+
newIndex: newIndex,
|
|
825
|
+
newDraggableIndex: newDraggableIndex,
|
|
826
|
+
hideGhostForTarget: _hideGhostForTarget,
|
|
827
|
+
unhideGhostForTarget: _unhideGhostForTarget,
|
|
828
|
+
cloneNowHidden: function cloneNowHidden() {
|
|
829
|
+
cloneHidden = true;
|
|
830
|
+
},
|
|
831
|
+
cloneNowShown: function cloneNowShown() {
|
|
832
|
+
cloneHidden = false;
|
|
833
|
+
},
|
|
834
|
+
dispatchSortableEvent: function dispatchSortableEvent(name) {
|
|
835
|
+
_dispatchEvent({
|
|
836
|
+
sortable: sortable,
|
|
837
|
+
name: name,
|
|
838
|
+
originalEvent: originalEvent
|
|
839
|
+
});
|
|
840
|
+
}
|
|
841
|
+
}, data));
|
|
842
|
+
};
|
|
843
|
+
function _dispatchEvent(info) {
|
|
844
|
+
dispatchEvent(_objectSpread2({
|
|
845
|
+
putSortable: putSortable,
|
|
846
|
+
cloneEl: cloneEl,
|
|
847
|
+
targetEl: dragEl,
|
|
848
|
+
rootEl: rootEl,
|
|
849
|
+
oldIndex: oldIndex,
|
|
850
|
+
oldDraggableIndex: oldDraggableIndex,
|
|
851
|
+
newIndex: newIndex,
|
|
852
|
+
newDraggableIndex: newDraggableIndex
|
|
853
|
+
}, info));
|
|
854
|
+
}
|
|
855
|
+
var dragEl,
|
|
856
|
+
parentEl,
|
|
857
|
+
ghostEl,
|
|
858
|
+
rootEl,
|
|
859
|
+
nextEl,
|
|
860
|
+
lastDownEl,
|
|
861
|
+
cloneEl,
|
|
862
|
+
cloneHidden,
|
|
863
|
+
oldIndex,
|
|
864
|
+
newIndex,
|
|
865
|
+
oldDraggableIndex,
|
|
866
|
+
newDraggableIndex,
|
|
867
|
+
activeGroup,
|
|
868
|
+
putSortable,
|
|
869
|
+
awaitingDragStarted = false,
|
|
870
|
+
ignoreNextClick = false,
|
|
871
|
+
sortables = [],
|
|
872
|
+
tapEvt,
|
|
873
|
+
touchEvt,
|
|
874
|
+
lastDx,
|
|
875
|
+
lastDy,
|
|
876
|
+
tapDistanceLeft,
|
|
877
|
+
tapDistanceTop,
|
|
878
|
+
moved,
|
|
879
|
+
lastTarget,
|
|
880
|
+
lastDirection,
|
|
881
|
+
pastFirstInvertThresh = false,
|
|
882
|
+
isCircumstantialInvert = false,
|
|
883
|
+
targetMoveDistance,
|
|
884
|
+
// For positioning ghost absolutely
|
|
885
|
+
ghostRelativeParent,
|
|
886
|
+
ghostRelativeParentInitialScroll = [],
|
|
887
|
+
// (left, top)
|
|
888
|
+
|
|
889
|
+
_silent = false,
|
|
890
|
+
savedInputChecked = [];
|
|
891
|
+
|
|
892
|
+
/** @const */
|
|
893
|
+
var documentExists = typeof document !== 'undefined',
|
|
894
|
+
PositionGhostAbsolutely = IOS,
|
|
895
|
+
CSSFloatProperty = Edge || IE11OrLess ? 'cssFloat' : 'float',
|
|
896
|
+
// This will not pass for IE9, because IE9 DnD only works on anchors
|
|
897
|
+
supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in document.createElement('div'),
|
|
898
|
+
supportCssPointerEvents = function () {
|
|
899
|
+
if (!documentExists) return;
|
|
900
|
+
// false when <= IE11
|
|
901
|
+
if (IE11OrLess) {
|
|
902
|
+
return false;
|
|
903
|
+
}
|
|
904
|
+
var el = document.createElement('x');
|
|
905
|
+
el.style.cssText = 'pointer-events:auto';
|
|
906
|
+
return el.style.pointerEvents === 'auto';
|
|
907
|
+
}(),
|
|
908
|
+
_detectDirection = function _detectDirection(el, options) {
|
|
909
|
+
var elCSS = css(el),
|
|
910
|
+
elWidth = parseInt(elCSS.width) - parseInt(elCSS.paddingLeft) - parseInt(elCSS.paddingRight) - parseInt(elCSS.borderLeftWidth) - parseInt(elCSS.borderRightWidth),
|
|
911
|
+
child1 = getChild(el, 0, options),
|
|
912
|
+
child2 = getChild(el, 1, options),
|
|
913
|
+
firstChildCSS = child1 && css(child1),
|
|
914
|
+
secondChildCSS = child2 && css(child2),
|
|
915
|
+
firstChildWidth = firstChildCSS && parseInt(firstChildCSS.marginLeft) + parseInt(firstChildCSS.marginRight) + getRect(child1).width,
|
|
916
|
+
secondChildWidth = secondChildCSS && parseInt(secondChildCSS.marginLeft) + parseInt(secondChildCSS.marginRight) + getRect(child2).width;
|
|
917
|
+
if (elCSS.display === 'flex') {
|
|
918
|
+
return elCSS.flexDirection === 'column' || elCSS.flexDirection === 'column-reverse' ? 'vertical' : 'horizontal';
|
|
919
|
+
}
|
|
920
|
+
if (elCSS.display === 'grid') {
|
|
921
|
+
return elCSS.gridTemplateColumns.split(' ').length <= 1 ? 'vertical' : 'horizontal';
|
|
922
|
+
}
|
|
923
|
+
if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== 'none') {
|
|
924
|
+
var touchingSideChild2 = firstChildCSS["float"] === 'left' ? 'left' : 'right';
|
|
925
|
+
return child2 && (secondChildCSS.clear === 'both' || secondChildCSS.clear === touchingSideChild2) ? 'vertical' : 'horizontal';
|
|
926
|
+
}
|
|
927
|
+
return child1 && (firstChildCSS.display === 'block' || firstChildCSS.display === 'flex' || firstChildCSS.display === 'table' || firstChildCSS.display === 'grid' || firstChildWidth >= elWidth && elCSS[CSSFloatProperty] === 'none' || child2 && elCSS[CSSFloatProperty] === 'none' && firstChildWidth + secondChildWidth > elWidth) ? 'vertical' : 'horizontal';
|
|
928
|
+
},
|
|
929
|
+
_dragElInRowColumn = function _dragElInRowColumn(dragRect, targetRect, vertical) {
|
|
930
|
+
var dragElS1Opp = vertical ? dragRect.left : dragRect.top,
|
|
931
|
+
dragElS2Opp = vertical ? dragRect.right : dragRect.bottom,
|
|
932
|
+
dragElOppLength = vertical ? dragRect.width : dragRect.height,
|
|
933
|
+
targetS1Opp = vertical ? targetRect.left : targetRect.top,
|
|
934
|
+
targetS2Opp = vertical ? targetRect.right : targetRect.bottom,
|
|
935
|
+
targetOppLength = vertical ? targetRect.width : targetRect.height;
|
|
936
|
+
return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
|
|
937
|
+
},
|
|
938
|
+
/**
|
|
939
|
+
* Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
|
|
940
|
+
* @param {Number} x X position
|
|
941
|
+
* @param {Number} y Y position
|
|
942
|
+
* @return {HTMLElement} Element of the first found nearest Sortable
|
|
943
|
+
*/
|
|
944
|
+
_detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
|
|
945
|
+
var ret;
|
|
946
|
+
sortables.some(function (sortable) {
|
|
947
|
+
var threshold = sortable[expando].options.emptyInsertThreshold;
|
|
948
|
+
if (!threshold || lastChild(sortable)) return;
|
|
949
|
+
var rect = getRect(sortable),
|
|
950
|
+
insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold,
|
|
951
|
+
insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
|
|
952
|
+
if (insideHorizontally && insideVertically) {
|
|
953
|
+
return ret = sortable;
|
|
954
|
+
}
|
|
955
|
+
});
|
|
956
|
+
return ret;
|
|
957
|
+
},
|
|
958
|
+
_prepareGroup = function _prepareGroup(options) {
|
|
959
|
+
function toFn(value, pull) {
|
|
960
|
+
return function (to, from, dragEl, evt) {
|
|
961
|
+
var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
|
|
962
|
+
if (value == null && (pull || sameGroup)) {
|
|
963
|
+
// Default pull value
|
|
964
|
+
// Default pull and put value if same group
|
|
965
|
+
return true;
|
|
966
|
+
} else if (value == null || value === false) {
|
|
967
|
+
return false;
|
|
968
|
+
} else if (pull && value === 'clone') {
|
|
969
|
+
return value;
|
|
970
|
+
} else if (typeof value === 'function') {
|
|
971
|
+
return toFn(value(to, from, dragEl, evt), pull)(to, from, dragEl, evt);
|
|
972
|
+
} else {
|
|
973
|
+
var otherGroup = (pull ? to : from).options.group.name;
|
|
974
|
+
return value === true || typeof value === 'string' && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
|
|
975
|
+
}
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
var group = {};
|
|
979
|
+
var originalGroup = options.group;
|
|
980
|
+
if (!originalGroup || _typeof(originalGroup) != 'object') {
|
|
981
|
+
originalGroup = {
|
|
982
|
+
name: originalGroup
|
|
983
|
+
};
|
|
984
|
+
}
|
|
985
|
+
group.name = originalGroup.name;
|
|
986
|
+
group.checkPull = toFn(originalGroup.pull, true);
|
|
987
|
+
group.checkPut = toFn(originalGroup.put);
|
|
988
|
+
group.revertClone = originalGroup.revertClone;
|
|
989
|
+
options.group = group;
|
|
990
|
+
},
|
|
991
|
+
_hideGhostForTarget = function _hideGhostForTarget() {
|
|
992
|
+
if (!supportCssPointerEvents && ghostEl) {
|
|
993
|
+
css(ghostEl, 'display', 'none');
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
_unhideGhostForTarget = function _unhideGhostForTarget() {
|
|
997
|
+
if (!supportCssPointerEvents && ghostEl) {
|
|
998
|
+
css(ghostEl, 'display', '');
|
|
999
|
+
}
|
|
1000
|
+
};
|
|
1001
|
+
|
|
1002
|
+
// #1184 fix - Prevent click event on fallback if dragged but item not changed position
|
|
1003
|
+
if (documentExists && !ChromeForAndroid) {
|
|
1004
|
+
document.addEventListener('click', function (evt) {
|
|
1005
|
+
if (ignoreNextClick) {
|
|
1006
|
+
evt.preventDefault();
|
|
1007
|
+
evt.stopPropagation && evt.stopPropagation();
|
|
1008
|
+
evt.stopImmediatePropagation && evt.stopImmediatePropagation();
|
|
1009
|
+
ignoreNextClick = false;
|
|
1010
|
+
return false;
|
|
1011
|
+
}
|
|
1012
|
+
}, true);
|
|
1013
|
+
}
|
|
1014
|
+
var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent(evt) {
|
|
1015
|
+
if (dragEl) {
|
|
1016
|
+
evt = evt.touches ? evt.touches[0] : evt;
|
|
1017
|
+
var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
|
|
1018
|
+
if (nearest) {
|
|
1019
|
+
// Create imitation event
|
|
1020
|
+
var event = {};
|
|
1021
|
+
for (var i in evt) {
|
|
1022
|
+
if (evt.hasOwnProperty(i)) {
|
|
1023
|
+
event[i] = evt[i];
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
event.target = event.rootEl = nearest;
|
|
1027
|
+
event.preventDefault = void 0;
|
|
1028
|
+
event.stopPropagation = void 0;
|
|
1029
|
+
nearest[expando]._onDragOver(event);
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
};
|
|
1033
|
+
var _checkOutsideTargetEl = function _checkOutsideTargetEl(evt) {
|
|
1034
|
+
if (dragEl) {
|
|
1035
|
+
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
|
1036
|
+
}
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* @class Sortable
|
|
1041
|
+
* @param {HTMLElement} el
|
|
1042
|
+
* @param {Object} [options]
|
|
1043
|
+
*/
|
|
1044
|
+
function Sortable(el, options) {
|
|
1045
|
+
if (!(el && el.nodeType && el.nodeType === 1)) {
|
|
1046
|
+
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(el));
|
|
1047
|
+
}
|
|
1048
|
+
this.el = el; // root element
|
|
1049
|
+
this.options = options = _extends({}, options);
|
|
1050
|
+
|
|
1051
|
+
// Export instance
|
|
1052
|
+
el[expando] = this;
|
|
1053
|
+
var defaults = {
|
|
1054
|
+
group: null,
|
|
1055
|
+
sort: true,
|
|
1056
|
+
disabled: false,
|
|
1057
|
+
store: null,
|
|
1058
|
+
handle: null,
|
|
1059
|
+
draggable: /^[uo]l$/i.test(el.nodeName) ? '>li' : '>*',
|
|
1060
|
+
swapThreshold: 1,
|
|
1061
|
+
// percentage; 0 <= x <= 1
|
|
1062
|
+
invertSwap: false,
|
|
1063
|
+
// invert always
|
|
1064
|
+
invertedSwapThreshold: null,
|
|
1065
|
+
// will be set to same as swapThreshold if default
|
|
1066
|
+
removeCloneOnHide: true,
|
|
1067
|
+
direction: function direction() {
|
|
1068
|
+
return _detectDirection(el, this.options);
|
|
1069
|
+
},
|
|
1070
|
+
ghostClass: 'sortable-ghost',
|
|
1071
|
+
chosenClass: 'sortable-chosen',
|
|
1072
|
+
dragClass: 'sortable-drag',
|
|
1073
|
+
ignore: 'a, img',
|
|
1074
|
+
filter: null,
|
|
1075
|
+
preventOnFilter: true,
|
|
1076
|
+
animation: 0,
|
|
1077
|
+
easing: null,
|
|
1078
|
+
setData: function setData(dataTransfer, dragEl) {
|
|
1079
|
+
dataTransfer.setData('Text', dragEl.textContent);
|
|
1080
|
+
},
|
|
1081
|
+
dropBubble: false,
|
|
1082
|
+
dragoverBubble: false,
|
|
1083
|
+
dataIdAttr: 'data-id',
|
|
1084
|
+
delay: 0,
|
|
1085
|
+
delayOnTouchOnly: false,
|
|
1086
|
+
touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
|
|
1087
|
+
forceFallback: false,
|
|
1088
|
+
fallbackClass: 'sortable-fallback',
|
|
1089
|
+
fallbackOnBody: false,
|
|
1090
|
+
fallbackTolerance: 0,
|
|
1091
|
+
fallbackOffset: {
|
|
1092
|
+
x: 0,
|
|
1093
|
+
y: 0
|
|
1094
|
+
},
|
|
1095
|
+
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari,
|
|
1096
|
+
emptyInsertThreshold: 5
|
|
1097
|
+
};
|
|
1098
|
+
PluginManager.initializePlugins(this, el, defaults);
|
|
1099
|
+
|
|
1100
|
+
// Set default options
|
|
1101
|
+
for (var name in defaults) {
|
|
1102
|
+
!(name in options) && (options[name] = defaults[name]);
|
|
1103
|
+
}
|
|
1104
|
+
_prepareGroup(options);
|
|
1105
|
+
|
|
1106
|
+
// Bind all private methods
|
|
1107
|
+
for (var fn in this) {
|
|
1108
|
+
if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
|
|
1109
|
+
this[fn] = this[fn].bind(this);
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
// Setup drag mode
|
|
1114
|
+
this.nativeDraggable = options.forceFallback ? false : supportDraggable;
|
|
1115
|
+
if (this.nativeDraggable) {
|
|
1116
|
+
// Touch start threshold cannot be greater than the native dragstart threshold
|
|
1117
|
+
this.options.touchStartThreshold = 1;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
// Bind events
|
|
1121
|
+
if (options.supportPointer) {
|
|
1122
|
+
on(el, 'pointerdown', this._onTapStart);
|
|
1123
|
+
} else {
|
|
1124
|
+
on(el, 'mousedown', this._onTapStart);
|
|
1125
|
+
on(el, 'touchstart', this._onTapStart);
|
|
1126
|
+
}
|
|
1127
|
+
if (this.nativeDraggable) {
|
|
1128
|
+
on(el, 'dragover', this);
|
|
1129
|
+
on(el, 'dragenter', this);
|
|
1130
|
+
}
|
|
1131
|
+
sortables.push(this.el);
|
|
1132
|
+
|
|
1133
|
+
// Restore sorting
|
|
1134
|
+
options.store && options.store.get && this.sort(options.store.get(this) || []);
|
|
1135
|
+
|
|
1136
|
+
// Add animation state manager
|
|
1137
|
+
_extends(this, AnimationStateManager());
|
|
1138
|
+
}
|
|
1139
|
+
Sortable.prototype = /** @lends Sortable.prototype */{
|
|
1140
|
+
constructor: Sortable,
|
|
1141
|
+
_isOutsideThisEl: function _isOutsideThisEl(target) {
|
|
1142
|
+
if (!this.el.contains(target) && target !== this.el) {
|
|
1143
|
+
lastTarget = null;
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
_getDirection: function _getDirection(evt, target) {
|
|
1147
|
+
return typeof this.options.direction === 'function' ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
|
|
1148
|
+
},
|
|
1149
|
+
_onTapStart: function _onTapStart( /** Event|TouchEvent */evt) {
|
|
1150
|
+
if (!evt.cancelable) return;
|
|
1151
|
+
var _this = this,
|
|
1152
|
+
el = this.el,
|
|
1153
|
+
options = this.options,
|
|
1154
|
+
preventOnFilter = options.preventOnFilter,
|
|
1155
|
+
type = evt.type,
|
|
1156
|
+
touch = evt.touches && evt.touches[0] || evt.pointerType && evt.pointerType === 'touch' && evt,
|
|
1157
|
+
target = (touch || evt).target,
|
|
1158
|
+
originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0] || evt.composedPath && evt.composedPath()[0]) || target,
|
|
1159
|
+
filter = options.filter;
|
|
1160
|
+
_saveInputCheckedState(el);
|
|
1161
|
+
|
|
1162
|
+
// Don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.
|
|
1163
|
+
if (dragEl) {
|
|
1164
|
+
return;
|
|
1165
|
+
}
|
|
1166
|
+
if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
|
|
1167
|
+
return; // only left button and enabled
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
// cancel dnd if original target is content editable
|
|
1171
|
+
if (originalTarget.isContentEditable) {
|
|
1172
|
+
return;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
// Safari ignores further event handling after mousedown
|
|
1176
|
+
if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === 'SELECT') {
|
|
1177
|
+
return;
|
|
1178
|
+
}
|
|
1179
|
+
target = closest(target, options.draggable, el, false);
|
|
1180
|
+
if (target && target.animated) {
|
|
1181
|
+
return;
|
|
1182
|
+
}
|
|
1183
|
+
if (lastDownEl === target) {
|
|
1184
|
+
// Ignoring duplicate `down`
|
|
1185
|
+
return;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
// Get the index of the dragged element within its parent
|
|
1189
|
+
oldIndex = index(target);
|
|
1190
|
+
oldDraggableIndex = index(target, options.draggable);
|
|
1191
|
+
|
|
1192
|
+
// Check filter
|
|
1193
|
+
if (typeof filter === 'function') {
|
|
1194
|
+
if (filter.call(this, evt, target, this)) {
|
|
1195
|
+
_dispatchEvent({
|
|
1196
|
+
sortable: _this,
|
|
1197
|
+
rootEl: originalTarget,
|
|
1198
|
+
name: 'filter',
|
|
1199
|
+
targetEl: target,
|
|
1200
|
+
toEl: el,
|
|
1201
|
+
fromEl: el
|
|
1202
|
+
});
|
|
1203
|
+
pluginEvent('filter', _this, {
|
|
1204
|
+
evt: evt
|
|
1205
|
+
});
|
|
1206
|
+
preventOnFilter && evt.cancelable && evt.preventDefault();
|
|
1207
|
+
return; // cancel dnd
|
|
1208
|
+
}
|
|
1209
|
+
} else if (filter) {
|
|
1210
|
+
filter = filter.split(',').some(function (criteria) {
|
|
1211
|
+
criteria = closest(originalTarget, criteria.trim(), el, false);
|
|
1212
|
+
if (criteria) {
|
|
1213
|
+
_dispatchEvent({
|
|
1214
|
+
sortable: _this,
|
|
1215
|
+
rootEl: criteria,
|
|
1216
|
+
name: 'filter',
|
|
1217
|
+
targetEl: target,
|
|
1218
|
+
fromEl: el,
|
|
1219
|
+
toEl: el
|
|
1220
|
+
});
|
|
1221
|
+
pluginEvent('filter', _this, {
|
|
1222
|
+
evt: evt
|
|
1223
|
+
});
|
|
1224
|
+
return true;
|
|
1225
|
+
}
|
|
1226
|
+
});
|
|
1227
|
+
if (filter) {
|
|
1228
|
+
preventOnFilter && evt.cancelable && evt.preventDefault();
|
|
1229
|
+
return; // cancel dnd
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
if (options.handle && !closest(originalTarget, options.handle, el, false)) {
|
|
1233
|
+
return;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
// Prepare `dragstart`
|
|
1237
|
+
this._prepareDragStart(evt, touch, target);
|
|
1238
|
+
},
|
|
1239
|
+
_prepareDragStart: function _prepareDragStart( /** Event */evt, /** Touch */touch, /** HTMLElement */target) {
|
|
1240
|
+
var _this = this,
|
|
1241
|
+
el = _this.el,
|
|
1242
|
+
options = _this.options,
|
|
1243
|
+
ownerDocument = el.ownerDocument,
|
|
1244
|
+
dragStartFn;
|
|
1245
|
+
if (target && !dragEl && target.parentNode === el) {
|
|
1246
|
+
var dragRect = getRect(target);
|
|
1247
|
+
rootEl = el;
|
|
1248
|
+
dragEl = target;
|
|
1249
|
+
parentEl = dragEl.parentNode;
|
|
1250
|
+
nextEl = dragEl.nextSibling;
|
|
1251
|
+
lastDownEl = target;
|
|
1252
|
+
activeGroup = options.group;
|
|
1253
|
+
Sortable.dragged = dragEl;
|
|
1254
|
+
tapEvt = {
|
|
1255
|
+
target: dragEl,
|
|
1256
|
+
clientX: (touch || evt).clientX,
|
|
1257
|
+
clientY: (touch || evt).clientY
|
|
1258
|
+
};
|
|
1259
|
+
tapDistanceLeft = tapEvt.clientX - dragRect.left;
|
|
1260
|
+
tapDistanceTop = tapEvt.clientY - dragRect.top;
|
|
1261
|
+
this._lastX = (touch || evt).clientX;
|
|
1262
|
+
this._lastY = (touch || evt).clientY;
|
|
1263
|
+
dragEl.style['will-change'] = 'all';
|
|
1264
|
+
dragStartFn = function dragStartFn() {
|
|
1265
|
+
pluginEvent('delayEnded', _this, {
|
|
1266
|
+
evt: evt
|
|
1267
|
+
});
|
|
1268
|
+
if (Sortable.eventCanceled) {
|
|
1269
|
+
_this._onDrop();
|
|
1270
|
+
return;
|
|
1271
|
+
}
|
|
1272
|
+
// Delayed drag has been triggered
|
|
1273
|
+
// we can re-enable the events: touchmove/mousemove
|
|
1274
|
+
_this._disableDelayedDragEvents();
|
|
1275
|
+
if (!FireFox && _this.nativeDraggable) {
|
|
1276
|
+
dragEl.draggable = true;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
// Bind the events: dragstart/dragend
|
|
1280
|
+
_this._triggerDragStart(evt, touch);
|
|
1281
|
+
|
|
1282
|
+
// Drag start event
|
|
1283
|
+
_dispatchEvent({
|
|
1284
|
+
sortable: _this,
|
|
1285
|
+
name: 'choose',
|
|
1286
|
+
originalEvent: evt
|
|
1287
|
+
});
|
|
1288
|
+
|
|
1289
|
+
// Chosen item
|
|
1290
|
+
toggleClass(dragEl, options.chosenClass, true);
|
|
1291
|
+
};
|
|
1292
|
+
|
|
1293
|
+
// Disable "draggable"
|
|
1294
|
+
options.ignore.split(',').forEach(function (criteria) {
|
|
1295
|
+
find(dragEl, criteria.trim(), _disableDraggable);
|
|
1296
|
+
});
|
|
1297
|
+
on(ownerDocument, 'dragover', nearestEmptyInsertDetectEvent);
|
|
1298
|
+
on(ownerDocument, 'mousemove', nearestEmptyInsertDetectEvent);
|
|
1299
|
+
on(ownerDocument, 'touchmove', nearestEmptyInsertDetectEvent);
|
|
1300
|
+
on(ownerDocument, 'mouseup', _this._onDrop);
|
|
1301
|
+
on(ownerDocument, 'touchend', _this._onDrop);
|
|
1302
|
+
on(ownerDocument, 'touchcancel', _this._onDrop);
|
|
1303
|
+
|
|
1304
|
+
// Make dragEl draggable (must be before delay for FireFox)
|
|
1305
|
+
if (FireFox && this.nativeDraggable) {
|
|
1306
|
+
this.options.touchStartThreshold = 4;
|
|
1307
|
+
dragEl.draggable = true;
|
|
1308
|
+
}
|
|
1309
|
+
pluginEvent('delayStart', this, {
|
|
1310
|
+
evt: evt
|
|
1311
|
+
});
|
|
1312
|
+
|
|
1313
|
+
// Delay is impossible for native DnD in Edge or IE
|
|
1314
|
+
if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
|
|
1315
|
+
if (Sortable.eventCanceled) {
|
|
1316
|
+
this._onDrop();
|
|
1317
|
+
return;
|
|
1318
|
+
}
|
|
1319
|
+
// If the user moves the pointer or let go the click or touch
|
|
1320
|
+
// before the delay has been reached:
|
|
1321
|
+
// disable the delayed drag
|
|
1322
|
+
on(ownerDocument, 'mouseup', _this._disableDelayedDrag);
|
|
1323
|
+
on(ownerDocument, 'touchend', _this._disableDelayedDrag);
|
|
1324
|
+
on(ownerDocument, 'touchcancel', _this._disableDelayedDrag);
|
|
1325
|
+
on(ownerDocument, 'mousemove', _this._delayedDragTouchMoveHandler);
|
|
1326
|
+
on(ownerDocument, 'touchmove', _this._delayedDragTouchMoveHandler);
|
|
1327
|
+
options.supportPointer && on(ownerDocument, 'pointermove', _this._delayedDragTouchMoveHandler);
|
|
1328
|
+
_this._dragStartTimer = setTimeout(dragStartFn, options.delay);
|
|
1329
|
+
} else {
|
|
1330
|
+
dragStartFn();
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
_delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler( /** TouchEvent|PointerEvent **/e) {
|
|
1335
|
+
var touch = e.touches ? e.touches[0] : e;
|
|
1336
|
+
if (Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1))) {
|
|
1337
|
+
this._disableDelayedDrag();
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
_disableDelayedDrag: function _disableDelayedDrag() {
|
|
1341
|
+
dragEl && _disableDraggable(dragEl);
|
|
1342
|
+
clearTimeout(this._dragStartTimer);
|
|
1343
|
+
this._disableDelayedDragEvents();
|
|
1344
|
+
},
|
|
1345
|
+
_disableDelayedDragEvents: function _disableDelayedDragEvents() {
|
|
1346
|
+
var ownerDocument = this.el.ownerDocument;
|
|
1347
|
+
off(ownerDocument, 'mouseup', this._disableDelayedDrag);
|
|
1348
|
+
off(ownerDocument, 'touchend', this._disableDelayedDrag);
|
|
1349
|
+
off(ownerDocument, 'touchcancel', this._disableDelayedDrag);
|
|
1350
|
+
off(ownerDocument, 'mousemove', this._delayedDragTouchMoveHandler);
|
|
1351
|
+
off(ownerDocument, 'touchmove', this._delayedDragTouchMoveHandler);
|
|
1352
|
+
off(ownerDocument, 'pointermove', this._delayedDragTouchMoveHandler);
|
|
1353
|
+
},
|
|
1354
|
+
_triggerDragStart: function _triggerDragStart( /** Event */evt, /** Touch */touch) {
|
|
1355
|
+
touch = touch || evt.pointerType == 'touch' && evt;
|
|
1356
|
+
if (!this.nativeDraggable || touch) {
|
|
1357
|
+
if (this.options.supportPointer) {
|
|
1358
|
+
on(document, 'pointermove', this._onTouchMove);
|
|
1359
|
+
} else if (touch) {
|
|
1360
|
+
on(document, 'touchmove', this._onTouchMove);
|
|
1361
|
+
} else {
|
|
1362
|
+
on(document, 'mousemove', this._onTouchMove);
|
|
1363
|
+
}
|
|
1364
|
+
} else {
|
|
1365
|
+
on(dragEl, 'dragend', this);
|
|
1366
|
+
on(rootEl, 'dragstart', this._onDragStart);
|
|
1367
|
+
}
|
|
1368
|
+
try {
|
|
1369
|
+
if (document.selection) {
|
|
1370
|
+
// Timeout neccessary for IE9
|
|
1371
|
+
_nextTick(function () {
|
|
1372
|
+
document.selection.empty();
|
|
1373
|
+
});
|
|
1374
|
+
} else {
|
|
1375
|
+
window.getSelection().removeAllRanges();
|
|
1376
|
+
}
|
|
1377
|
+
} catch (err) {}
|
|
1378
|
+
},
|
|
1379
|
+
_dragStarted: function _dragStarted(fallback, evt) {
|
|
1380
|
+
awaitingDragStarted = false;
|
|
1381
|
+
if (rootEl && dragEl) {
|
|
1382
|
+
pluginEvent('dragStarted', this, {
|
|
1383
|
+
evt: evt
|
|
1384
|
+
});
|
|
1385
|
+
if (this.nativeDraggable) {
|
|
1386
|
+
on(document, 'dragover', _checkOutsideTargetEl);
|
|
1387
|
+
}
|
|
1388
|
+
var options = this.options;
|
|
1389
|
+
|
|
1390
|
+
// Apply effect
|
|
1391
|
+
!fallback && toggleClass(dragEl, options.dragClass, false);
|
|
1392
|
+
toggleClass(dragEl, options.ghostClass, true);
|
|
1393
|
+
Sortable.active = this;
|
|
1394
|
+
fallback && this._appendGhost();
|
|
1395
|
+
|
|
1396
|
+
// Drag start event
|
|
1397
|
+
_dispatchEvent({
|
|
1398
|
+
sortable: this,
|
|
1399
|
+
name: 'start',
|
|
1400
|
+
originalEvent: evt
|
|
1401
|
+
});
|
|
1402
|
+
} else {
|
|
1403
|
+
this._nulling();
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
_emulateDragOver: function _emulateDragOver() {
|
|
1407
|
+
if (touchEvt) {
|
|
1408
|
+
this._lastX = touchEvt.clientX;
|
|
1409
|
+
this._lastY = touchEvt.clientY;
|
|
1410
|
+
_hideGhostForTarget();
|
|
1411
|
+
var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
|
|
1412
|
+
var parent = target;
|
|
1413
|
+
while (target && target.shadowRoot) {
|
|
1414
|
+
target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
|
|
1415
|
+
const host = target.getRootNode().host;
|
|
1416
|
+
if (host) {
|
|
1417
|
+
target = host;
|
|
1418
|
+
}
|
|
1419
|
+
if (target === parent) break;
|
|
1420
|
+
parent = target;
|
|
1421
|
+
}
|
|
1422
|
+
dragEl.parentNode[expando]._isOutsideThisEl(target);
|
|
1423
|
+
if (parent) {
|
|
1424
|
+
do {
|
|
1425
|
+
if (parent[expando]) {
|
|
1426
|
+
var inserted = void 0;
|
|
1427
|
+
inserted = parent[expando]._onDragOver({
|
|
1428
|
+
clientX: touchEvt.clientX,
|
|
1429
|
+
clientY: touchEvt.clientY,
|
|
1430
|
+
target: target,
|
|
1431
|
+
rootEl: parent
|
|
1432
|
+
});
|
|
1433
|
+
if (inserted && !this.options.dragoverBubble) {
|
|
1434
|
+
break;
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
target = parent; // store last element
|
|
1438
|
+
}
|
|
1439
|
+
/* jshint boss:true */ while (parent = parent.parentNode);
|
|
1440
|
+
}
|
|
1441
|
+
_unhideGhostForTarget();
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
_onTouchMove: function _onTouchMove( /**TouchEvent*/evt) {
|
|
1445
|
+
if (tapEvt) {
|
|
1446
|
+
var options = this.options,
|
|
1447
|
+
fallbackTolerance = options.fallbackTolerance,
|
|
1448
|
+
fallbackOffset = options.fallbackOffset,
|
|
1449
|
+
touch = evt.touches ? evt.touches[0] : evt,
|
|
1450
|
+
ghostMatrix = ghostEl && matrix(ghostEl, true),
|
|
1451
|
+
scaleX = ghostEl && ghostMatrix && ghostMatrix.a,
|
|
1452
|
+
scaleY = ghostEl && ghostMatrix && ghostMatrix.d,
|
|
1453
|
+
relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent),
|
|
1454
|
+
dx = (touch.clientX - tapEvt.clientX + fallbackOffset.x) / (scaleX || 1) + (relativeScrollOffset ? relativeScrollOffset[0] - ghostRelativeParentInitialScroll[0] : 0) / (scaleX || 1),
|
|
1455
|
+
dy = (touch.clientY - tapEvt.clientY + fallbackOffset.y) / (scaleY || 1) + (relativeScrollOffset ? relativeScrollOffset[1] - ghostRelativeParentInitialScroll[1] : 0) / (scaleY || 1);
|
|
1456
|
+
|
|
1457
|
+
// only set the status to dragging, when we are actually dragging
|
|
1458
|
+
if (!Sortable.active && !awaitingDragStarted) {
|
|
1459
|
+
if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
|
|
1460
|
+
return;
|
|
1461
|
+
}
|
|
1462
|
+
this._onDragStart(evt, true);
|
|
1463
|
+
}
|
|
1464
|
+
if (ghostEl) {
|
|
1465
|
+
if (ghostMatrix) {
|
|
1466
|
+
ghostMatrix.e += dx - (lastDx || 0);
|
|
1467
|
+
ghostMatrix.f += dy - (lastDy || 0);
|
|
1468
|
+
} else {
|
|
1469
|
+
ghostMatrix = {
|
|
1470
|
+
a: 1,
|
|
1471
|
+
b: 0,
|
|
1472
|
+
c: 0,
|
|
1473
|
+
d: 1,
|
|
1474
|
+
e: dx,
|
|
1475
|
+
f: dy
|
|
1476
|
+
};
|
|
1477
|
+
}
|
|
1478
|
+
var cssMatrix = "matrix(".concat(ghostMatrix.a, ",").concat(ghostMatrix.b, ",").concat(ghostMatrix.c, ",").concat(ghostMatrix.d, ",").concat(ghostMatrix.e, ",").concat(ghostMatrix.f, ")");
|
|
1479
|
+
css(ghostEl, 'webkitTransform', cssMatrix);
|
|
1480
|
+
css(ghostEl, 'mozTransform', cssMatrix);
|
|
1481
|
+
css(ghostEl, 'msTransform', cssMatrix);
|
|
1482
|
+
css(ghostEl, 'transform', cssMatrix);
|
|
1483
|
+
lastDx = dx;
|
|
1484
|
+
lastDy = dy;
|
|
1485
|
+
touchEvt = touch;
|
|
1486
|
+
}
|
|
1487
|
+
evt.cancelable && evt.preventDefault();
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
_appendGhost: function _appendGhost() {
|
|
1491
|
+
// Bug if using scale(): https://stackoverflow.com/questions/2637058
|
|
1492
|
+
// Not being adjusted for
|
|
1493
|
+
if (!ghostEl) {
|
|
1494
|
+
var container = this.options.fallbackOnBody ? document.body : rootEl,
|
|
1495
|
+
rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container),
|
|
1496
|
+
options = this.options;
|
|
1497
|
+
|
|
1498
|
+
// Position absolutely
|
|
1499
|
+
if (PositionGhostAbsolutely) {
|
|
1500
|
+
// Get relatively positioned parent
|
|
1501
|
+
ghostRelativeParent = container;
|
|
1502
|
+
while (css(ghostRelativeParent, 'position') === 'static' && css(ghostRelativeParent, 'transform') === 'none' && ghostRelativeParent !== document) {
|
|
1503
|
+
ghostRelativeParent = ghostRelativeParent.parentNode;
|
|
1504
|
+
}
|
|
1505
|
+
if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
|
|
1506
|
+
if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
|
|
1507
|
+
rect.top += ghostRelativeParent.scrollTop;
|
|
1508
|
+
rect.left += ghostRelativeParent.scrollLeft;
|
|
1509
|
+
} else {
|
|
1510
|
+
ghostRelativeParent = getWindowScrollingElement();
|
|
1511
|
+
}
|
|
1512
|
+
ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
|
|
1513
|
+
}
|
|
1514
|
+
ghostEl = dragEl.cloneNode(true);
|
|
1515
|
+
toggleClass(ghostEl, options.ghostClass, false);
|
|
1516
|
+
toggleClass(ghostEl, options.fallbackClass, true);
|
|
1517
|
+
toggleClass(ghostEl, options.dragClass, true);
|
|
1518
|
+
css(ghostEl, 'transition', '');
|
|
1519
|
+
css(ghostEl, 'transform', '');
|
|
1520
|
+
css(ghostEl, 'box-sizing', 'border-box');
|
|
1521
|
+
css(ghostEl, 'margin', 0);
|
|
1522
|
+
css(ghostEl, 'top', rect.top);
|
|
1523
|
+
css(ghostEl, 'left', rect.left);
|
|
1524
|
+
css(ghostEl, 'width', rect.width);
|
|
1525
|
+
css(ghostEl, 'height', rect.height);
|
|
1526
|
+
css(ghostEl, 'opacity', '0.8');
|
|
1527
|
+
css(ghostEl, 'position', PositionGhostAbsolutely ? 'absolute' : 'fixed');
|
|
1528
|
+
css(ghostEl, 'zIndex', '100000');
|
|
1529
|
+
css(ghostEl, 'pointerEvents', 'none');
|
|
1530
|
+
Sortable.ghost = ghostEl;
|
|
1531
|
+
container.appendChild(ghostEl);
|
|
1532
|
+
|
|
1533
|
+
// Set transform-origin
|
|
1534
|
+
css(ghostEl, 'transform-origin', tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + '% ' + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + '%');
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
_onDragStart: function _onDragStart( /**Event*/evt, /**boolean*/fallback) {
|
|
1538
|
+
var _this = this;
|
|
1539
|
+
var dataTransfer = evt.dataTransfer;
|
|
1540
|
+
var options = _this.options;
|
|
1541
|
+
pluginEvent('dragStart', this, {
|
|
1542
|
+
evt: evt
|
|
1543
|
+
});
|
|
1544
|
+
if (Sortable.eventCanceled) {
|
|
1545
|
+
this._onDrop();
|
|
1546
|
+
return;
|
|
1547
|
+
}
|
|
1548
|
+
pluginEvent('setupClone', this);
|
|
1549
|
+
if (!Sortable.eventCanceled) {
|
|
1550
|
+
cloneEl = clone(dragEl);
|
|
1551
|
+
cloneEl.removeAttribute("id");
|
|
1552
|
+
cloneEl.draggable = false;
|
|
1553
|
+
cloneEl.style['will-change'] = '';
|
|
1554
|
+
this._hideClone();
|
|
1555
|
+
toggleClass(cloneEl, this.options.chosenClass, false);
|
|
1556
|
+
Sortable.clone = cloneEl;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
// #1143: IFrame support workaround
|
|
1560
|
+
_this.cloneId = _nextTick(function () {
|
|
1561
|
+
pluginEvent('clone', _this);
|
|
1562
|
+
if (Sortable.eventCanceled) return;
|
|
1563
|
+
if (!_this.options.removeCloneOnHide) {
|
|
1564
|
+
rootEl.insertBefore(cloneEl, dragEl);
|
|
1565
|
+
}
|
|
1566
|
+
_this._hideClone();
|
|
1567
|
+
_dispatchEvent({
|
|
1568
|
+
sortable: _this,
|
|
1569
|
+
name: 'clone'
|
|
1570
|
+
});
|
|
1571
|
+
});
|
|
1572
|
+
!fallback && toggleClass(dragEl, options.dragClass, true);
|
|
1573
|
+
|
|
1574
|
+
// Set proper drop events
|
|
1575
|
+
if (fallback) {
|
|
1576
|
+
ignoreNextClick = true;
|
|
1577
|
+
_this._loopId = setInterval(_this._emulateDragOver, 50);
|
|
1578
|
+
} else {
|
|
1579
|
+
// Undo what was set in _prepareDragStart before drag started
|
|
1580
|
+
off(document, 'mouseup', _this._onDrop);
|
|
1581
|
+
off(document, 'touchend', _this._onDrop);
|
|
1582
|
+
off(document, 'touchcancel', _this._onDrop);
|
|
1583
|
+
if (dataTransfer) {
|
|
1584
|
+
dataTransfer.effectAllowed = 'move';
|
|
1585
|
+
options.setData && options.setData.call(_this, dataTransfer, dragEl);
|
|
1586
|
+
}
|
|
1587
|
+
on(document, 'drop', _this);
|
|
1588
|
+
|
|
1589
|
+
// #1276 fix:
|
|
1590
|
+
css(dragEl, 'transform', 'translateZ(0)');
|
|
1591
|
+
}
|
|
1592
|
+
awaitingDragStarted = true;
|
|
1593
|
+
_this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
|
|
1594
|
+
on(document, 'selectstart', _this);
|
|
1595
|
+
moved = true;
|
|
1596
|
+
if (Safari) {
|
|
1597
|
+
css(document.body, 'user-select', 'none');
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1600
|
+
// Returns true - if no further action is needed (either inserted or another condition)
|
|
1601
|
+
_onDragOver: function _onDragOver( /**Event*/evt) {
|
|
1602
|
+
var el = this.el,
|
|
1603
|
+
target = evt.target,
|
|
1604
|
+
dragRect,
|
|
1605
|
+
targetRect,
|
|
1606
|
+
revert,
|
|
1607
|
+
options = this.options,
|
|
1608
|
+
group = options.group,
|
|
1609
|
+
activeSortable = Sortable.active,
|
|
1610
|
+
isOwner = activeGroup === group,
|
|
1611
|
+
canSort = options.sort,
|
|
1612
|
+
fromSortable = putSortable || activeSortable,
|
|
1613
|
+
vertical,
|
|
1614
|
+
_this = this,
|
|
1615
|
+
completedFired = false;
|
|
1616
|
+
if (_silent) return;
|
|
1617
|
+
function dragOverEvent(name, extra) {
|
|
1618
|
+
pluginEvent(name, _this, _objectSpread2({
|
|
1619
|
+
evt: evt,
|
|
1620
|
+
isOwner: isOwner,
|
|
1621
|
+
axis: vertical ? 'vertical' : 'horizontal',
|
|
1622
|
+
revert: revert,
|
|
1623
|
+
dragRect: dragRect,
|
|
1624
|
+
targetRect: targetRect,
|
|
1625
|
+
canSort: canSort,
|
|
1626
|
+
fromSortable: fromSortable,
|
|
1627
|
+
target: target,
|
|
1628
|
+
completed: completed,
|
|
1629
|
+
onMove: function onMove(target, after) {
|
|
1630
|
+
return _onMove(rootEl, el, dragEl, dragRect, target, getRect(target), evt, after);
|
|
1631
|
+
},
|
|
1632
|
+
changed: changed
|
|
1633
|
+
}, extra));
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
// Capture animation state
|
|
1637
|
+
function capture() {
|
|
1638
|
+
dragOverEvent('dragOverAnimationCapture');
|
|
1639
|
+
_this.captureAnimationState();
|
|
1640
|
+
if (_this !== fromSortable) {
|
|
1641
|
+
fromSortable.captureAnimationState();
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
// Return invocation when dragEl is inserted (or completed)
|
|
1646
|
+
function completed(insertion) {
|
|
1647
|
+
dragOverEvent('dragOverCompleted', {
|
|
1648
|
+
insertion: insertion
|
|
1649
|
+
});
|
|
1650
|
+
if (insertion) {
|
|
1651
|
+
// Clones must be hidden before folding animation to capture dragRectAbsolute properly
|
|
1652
|
+
if (isOwner) {
|
|
1653
|
+
activeSortable._hideClone();
|
|
1654
|
+
} else {
|
|
1655
|
+
activeSortable._showClone(_this);
|
|
1656
|
+
}
|
|
1657
|
+
if (_this !== fromSortable) {
|
|
1658
|
+
// Set ghost class to new sortable's ghost class
|
|
1659
|
+
toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
|
|
1660
|
+
toggleClass(dragEl, options.ghostClass, true);
|
|
1661
|
+
}
|
|
1662
|
+
if (putSortable !== _this && _this !== Sortable.active) {
|
|
1663
|
+
putSortable = _this;
|
|
1664
|
+
} else if (_this === Sortable.active && putSortable) {
|
|
1665
|
+
putSortable = null;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
// Animation
|
|
1669
|
+
if (fromSortable === _this) {
|
|
1670
|
+
_this._ignoreWhileAnimating = target;
|
|
1671
|
+
}
|
|
1672
|
+
_this.animateAll(function () {
|
|
1673
|
+
dragOverEvent('dragOverAnimationComplete');
|
|
1674
|
+
_this._ignoreWhileAnimating = null;
|
|
1675
|
+
});
|
|
1676
|
+
if (_this !== fromSortable) {
|
|
1677
|
+
fromSortable.animateAll();
|
|
1678
|
+
fromSortable._ignoreWhileAnimating = null;
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
// Null lastTarget if it is not inside a previously swapped element
|
|
1683
|
+
if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
|
|
1684
|
+
lastTarget = null;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
// no bubbling and not fallback
|
|
1688
|
+
if (!options.dragoverBubble && !evt.rootEl && target !== document) {
|
|
1689
|
+
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
|
1690
|
+
|
|
1691
|
+
// Do not detect for empty insert if already inserted
|
|
1692
|
+
!insertion && nearestEmptyInsertDetectEvent(evt);
|
|
1693
|
+
}
|
|
1694
|
+
!options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
|
|
1695
|
+
return completedFired = true;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
// Call when dragEl has been inserted
|
|
1699
|
+
function changed() {
|
|
1700
|
+
newIndex = index(dragEl);
|
|
1701
|
+
newDraggableIndex = index(dragEl, options.draggable);
|
|
1702
|
+
_dispatchEvent({
|
|
1703
|
+
sortable: _this,
|
|
1704
|
+
name: 'change',
|
|
1705
|
+
toEl: el,
|
|
1706
|
+
newIndex: newIndex,
|
|
1707
|
+
newDraggableIndex: newDraggableIndex,
|
|
1708
|
+
originalEvent: evt
|
|
1709
|
+
});
|
|
1710
|
+
}
|
|
1711
|
+
if (evt.preventDefault !== void 0) {
|
|
1712
|
+
evt.cancelable && evt.preventDefault();
|
|
1713
|
+
}
|
|
1714
|
+
target = closest(target, options.draggable, el, true);
|
|
1715
|
+
dragOverEvent('dragOver');
|
|
1716
|
+
if (Sortable.eventCanceled) return completedFired;
|
|
1717
|
+
if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
|
|
1718
|
+
return completed(false);
|
|
1719
|
+
}
|
|
1720
|
+
ignoreNextClick = false;
|
|
1721
|
+
if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = parentEl !== rootEl) // Reverting item into the original list
|
|
1722
|
+
: putSortable === this || (this.lastPutMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) && group.checkPut(this, activeSortable, dragEl, evt))) {
|
|
1723
|
+
vertical = this._getDirection(evt, target) === 'vertical';
|
|
1724
|
+
dragRect = getRect(dragEl);
|
|
1725
|
+
dragOverEvent('dragOverValid');
|
|
1726
|
+
if (Sortable.eventCanceled) return completedFired;
|
|
1727
|
+
if (revert) {
|
|
1728
|
+
parentEl = rootEl; // actualization
|
|
1729
|
+
capture();
|
|
1730
|
+
this._hideClone();
|
|
1731
|
+
dragOverEvent('revert');
|
|
1732
|
+
if (!Sortable.eventCanceled) {
|
|
1733
|
+
if (nextEl) {
|
|
1734
|
+
rootEl.insertBefore(dragEl, nextEl);
|
|
1735
|
+
} else {
|
|
1736
|
+
rootEl.appendChild(dragEl);
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
return completed(true);
|
|
1740
|
+
}
|
|
1741
|
+
var elLastChild = lastChild(el, options.draggable);
|
|
1742
|
+
if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
|
|
1743
|
+
// Insert to end of list
|
|
1744
|
+
|
|
1745
|
+
// If already at end of list: Do not insert
|
|
1746
|
+
if (elLastChild === dragEl) {
|
|
1747
|
+
return completed(false);
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
// if there is a last element, it is the target
|
|
1751
|
+
if (elLastChild && el === evt.target) {
|
|
1752
|
+
target = elLastChild;
|
|
1753
|
+
}
|
|
1754
|
+
if (target) {
|
|
1755
|
+
targetRect = getRect(target);
|
|
1756
|
+
}
|
|
1757
|
+
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
|
|
1758
|
+
capture();
|
|
1759
|
+
if (elLastChild && elLastChild.nextSibling) {
|
|
1760
|
+
// the last draggable element is not the last node
|
|
1761
|
+
el.insertBefore(dragEl, elLastChild.nextSibling);
|
|
1762
|
+
} else {
|
|
1763
|
+
el.appendChild(dragEl);
|
|
1764
|
+
}
|
|
1765
|
+
parentEl = el; // actualization
|
|
1766
|
+
|
|
1767
|
+
changed();
|
|
1768
|
+
return completed(true);
|
|
1769
|
+
}
|
|
1770
|
+
} else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
|
|
1771
|
+
// Insert to start of list
|
|
1772
|
+
var firstChild = getChild(el, 0, options, true);
|
|
1773
|
+
if (firstChild === dragEl) {
|
|
1774
|
+
return completed(false);
|
|
1775
|
+
}
|
|
1776
|
+
target = firstChild;
|
|
1777
|
+
targetRect = getRect(target);
|
|
1778
|
+
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
|
|
1779
|
+
capture();
|
|
1780
|
+
el.insertBefore(dragEl, firstChild);
|
|
1781
|
+
parentEl = el; // actualization
|
|
1782
|
+
|
|
1783
|
+
changed();
|
|
1784
|
+
return completed(true);
|
|
1785
|
+
}
|
|
1786
|
+
} else if (target.parentNode === el) {
|
|
1787
|
+
targetRect = getRect(target);
|
|
1788
|
+
var direction = 0,
|
|
1789
|
+
targetBeforeFirstSwap,
|
|
1790
|
+
differentLevel = dragEl.parentNode !== el,
|
|
1791
|
+
differentRowCol = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || dragRect, target.animated && target.toRect || targetRect, vertical),
|
|
1792
|
+
side1 = vertical ? 'top' : 'left',
|
|
1793
|
+
scrolledPastTop = isScrolledPast(target, 'top', 'top') || isScrolledPast(dragEl, 'top', 'top'),
|
|
1794
|
+
scrollBefore = scrolledPastTop ? scrolledPastTop.scrollTop : void 0;
|
|
1795
|
+
if (lastTarget !== target) {
|
|
1796
|
+
targetBeforeFirstSwap = targetRect[side1];
|
|
1797
|
+
pastFirstInvertThresh = false;
|
|
1798
|
+
isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
|
|
1799
|
+
}
|
|
1800
|
+
direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
|
|
1801
|
+
var sibling;
|
|
1802
|
+
if (direction !== 0) {
|
|
1803
|
+
// Check if target is beside dragEl in respective direction (ignoring hidden elements)
|
|
1804
|
+
var dragIndex = index(dragEl);
|
|
1805
|
+
do {
|
|
1806
|
+
dragIndex -= direction;
|
|
1807
|
+
sibling = parentEl.children[dragIndex];
|
|
1808
|
+
} while (sibling && (css(sibling, 'display') === 'none' || sibling === ghostEl));
|
|
1809
|
+
}
|
|
1810
|
+
// If dragEl is already beside target: Do not insert
|
|
1811
|
+
if (direction === 0 || sibling === target) {
|
|
1812
|
+
return completed(false);
|
|
1813
|
+
}
|
|
1814
|
+
lastTarget = target;
|
|
1815
|
+
lastDirection = direction;
|
|
1816
|
+
var nextSibling = target.nextElementSibling,
|
|
1817
|
+
after = false;
|
|
1818
|
+
after = direction === 1;
|
|
1819
|
+
var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
|
|
1820
|
+
if (moveVector !== false) {
|
|
1821
|
+
if (moveVector === 1 || moveVector === -1) {
|
|
1822
|
+
after = moveVector === 1;
|
|
1823
|
+
}
|
|
1824
|
+
_silent = true;
|
|
1825
|
+
setTimeout(_unsilent, 30);
|
|
1826
|
+
capture();
|
|
1827
|
+
if (after && !nextSibling) {
|
|
1828
|
+
el.appendChild(dragEl);
|
|
1829
|
+
} else {
|
|
1830
|
+
target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
// Undo chrome's scroll adjustment (has no effect on other browsers)
|
|
1834
|
+
if (scrolledPastTop) {
|
|
1835
|
+
scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
|
|
1836
|
+
}
|
|
1837
|
+
parentEl = dragEl.parentNode; // actualization
|
|
1838
|
+
|
|
1839
|
+
// must be done before animation
|
|
1840
|
+
if (targetBeforeFirstSwap !== undefined && !isCircumstantialInvert) {
|
|
1841
|
+
targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
|
|
1842
|
+
}
|
|
1843
|
+
changed();
|
|
1844
|
+
return completed(true);
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
if (el.contains(dragEl)) {
|
|
1848
|
+
return completed(false);
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
return false;
|
|
1852
|
+
},
|
|
1853
|
+
_ignoreWhileAnimating: null,
|
|
1854
|
+
_offMoveEvents: function _offMoveEvents() {
|
|
1855
|
+
off(document, 'mousemove', this._onTouchMove);
|
|
1856
|
+
off(document, 'touchmove', this._onTouchMove);
|
|
1857
|
+
off(document, 'pointermove', this._onTouchMove);
|
|
1858
|
+
off(document, 'dragover', nearestEmptyInsertDetectEvent);
|
|
1859
|
+
off(document, 'mousemove', nearestEmptyInsertDetectEvent);
|
|
1860
|
+
off(document, 'touchmove', nearestEmptyInsertDetectEvent);
|
|
1861
|
+
},
|
|
1862
|
+
_offUpEvents: function _offUpEvents() {
|
|
1863
|
+
var ownerDocument = this.el.ownerDocument;
|
|
1864
|
+
off(ownerDocument, 'mouseup', this._onDrop);
|
|
1865
|
+
off(ownerDocument, 'touchend', this._onDrop);
|
|
1866
|
+
off(ownerDocument, 'pointerup', this._onDrop);
|
|
1867
|
+
off(ownerDocument, 'touchcancel', this._onDrop);
|
|
1868
|
+
off(document, 'selectstart', this);
|
|
1869
|
+
},
|
|
1870
|
+
_onDrop: function _onDrop( /**Event*/evt) {
|
|
1871
|
+
var el = this.el,
|
|
1872
|
+
options = this.options;
|
|
1873
|
+
|
|
1874
|
+
// Get the index of the dragged element within its parent
|
|
1875
|
+
newIndex = index(dragEl);
|
|
1876
|
+
newDraggableIndex = index(dragEl, options.draggable);
|
|
1877
|
+
pluginEvent('drop', this, {
|
|
1878
|
+
evt: evt
|
|
1879
|
+
});
|
|
1880
|
+
parentEl = dragEl && dragEl.parentNode;
|
|
1881
|
+
|
|
1882
|
+
// Get again after plugin event
|
|
1883
|
+
newIndex = index(dragEl);
|
|
1884
|
+
newDraggableIndex = index(dragEl, options.draggable);
|
|
1885
|
+
if (Sortable.eventCanceled) {
|
|
1886
|
+
this._nulling();
|
|
1887
|
+
return;
|
|
1888
|
+
}
|
|
1889
|
+
awaitingDragStarted = false;
|
|
1890
|
+
isCircumstantialInvert = false;
|
|
1891
|
+
pastFirstInvertThresh = false;
|
|
1892
|
+
clearInterval(this._loopId);
|
|
1893
|
+
clearTimeout(this._dragStartTimer);
|
|
1894
|
+
_cancelNextTick(this.cloneId);
|
|
1895
|
+
_cancelNextTick(this._dragStartId);
|
|
1896
|
+
|
|
1897
|
+
// Unbind events
|
|
1898
|
+
if (this.nativeDraggable) {
|
|
1899
|
+
off(document, 'drop', this);
|
|
1900
|
+
off(el, 'dragstart', this._onDragStart);
|
|
1901
|
+
}
|
|
1902
|
+
this._offMoveEvents();
|
|
1903
|
+
this._offUpEvents();
|
|
1904
|
+
if (Safari) {
|
|
1905
|
+
css(document.body, 'user-select', '');
|
|
1906
|
+
}
|
|
1907
|
+
css(dragEl, 'transform', '');
|
|
1908
|
+
if (evt) {
|
|
1909
|
+
if (moved) {
|
|
1910
|
+
evt.cancelable && evt.preventDefault();
|
|
1911
|
+
!options.dropBubble && evt.stopPropagation();
|
|
1912
|
+
}
|
|
1913
|
+
ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
|
|
1914
|
+
if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== 'clone') {
|
|
1915
|
+
// Remove clone(s)
|
|
1916
|
+
cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
|
|
1917
|
+
}
|
|
1918
|
+
if (dragEl) {
|
|
1919
|
+
if (this.nativeDraggable) {
|
|
1920
|
+
off(dragEl, 'dragend', this);
|
|
1921
|
+
}
|
|
1922
|
+
_disableDraggable(dragEl);
|
|
1923
|
+
dragEl.style['will-change'] = '';
|
|
1924
|
+
|
|
1925
|
+
// Remove classes
|
|
1926
|
+
// ghostClass is added in dragStarted
|
|
1927
|
+
if (moved && !awaitingDragStarted) {
|
|
1928
|
+
toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
|
|
1929
|
+
}
|
|
1930
|
+
toggleClass(dragEl, this.options.chosenClass, false);
|
|
1931
|
+
|
|
1932
|
+
// Drag stop event
|
|
1933
|
+
_dispatchEvent({
|
|
1934
|
+
sortable: this,
|
|
1935
|
+
name: 'unchoose',
|
|
1936
|
+
toEl: parentEl,
|
|
1937
|
+
newIndex: null,
|
|
1938
|
+
newDraggableIndex: null,
|
|
1939
|
+
originalEvent: evt
|
|
1940
|
+
});
|
|
1941
|
+
if (rootEl !== parentEl) {
|
|
1942
|
+
if (newIndex >= 0) {
|
|
1943
|
+
// Add event
|
|
1944
|
+
_dispatchEvent({
|
|
1945
|
+
rootEl: parentEl,
|
|
1946
|
+
name: 'add',
|
|
1947
|
+
toEl: parentEl,
|
|
1948
|
+
fromEl: rootEl,
|
|
1949
|
+
originalEvent: evt
|
|
1950
|
+
});
|
|
1951
|
+
|
|
1952
|
+
// Remove event
|
|
1953
|
+
_dispatchEvent({
|
|
1954
|
+
sortable: this,
|
|
1955
|
+
name: 'remove',
|
|
1956
|
+
toEl: parentEl,
|
|
1957
|
+
originalEvent: evt
|
|
1958
|
+
});
|
|
1959
|
+
|
|
1960
|
+
// drag from one list and drop into another
|
|
1961
|
+
_dispatchEvent({
|
|
1962
|
+
rootEl: parentEl,
|
|
1963
|
+
name: 'sort',
|
|
1964
|
+
toEl: parentEl,
|
|
1965
|
+
fromEl: rootEl,
|
|
1966
|
+
originalEvent: evt
|
|
1967
|
+
});
|
|
1968
|
+
_dispatchEvent({
|
|
1969
|
+
sortable: this,
|
|
1970
|
+
name: 'sort',
|
|
1971
|
+
toEl: parentEl,
|
|
1972
|
+
originalEvent: evt
|
|
1973
|
+
});
|
|
1974
|
+
}
|
|
1975
|
+
putSortable && putSortable.save();
|
|
1976
|
+
} else {
|
|
1977
|
+
if (newIndex !== oldIndex) {
|
|
1978
|
+
if (newIndex >= 0) {
|
|
1979
|
+
// drag & drop within the same list
|
|
1980
|
+
_dispatchEvent({
|
|
1981
|
+
sortable: this,
|
|
1982
|
+
name: 'update',
|
|
1983
|
+
toEl: parentEl,
|
|
1984
|
+
originalEvent: evt
|
|
1985
|
+
});
|
|
1986
|
+
_dispatchEvent({
|
|
1987
|
+
sortable: this,
|
|
1988
|
+
name: 'sort',
|
|
1989
|
+
toEl: parentEl,
|
|
1990
|
+
originalEvent: evt
|
|
1991
|
+
});
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
if (Sortable.active) {
|
|
1996
|
+
/* jshint eqnull:true */
|
|
1997
|
+
if (newIndex == null || newIndex === -1) {
|
|
1998
|
+
newIndex = oldIndex;
|
|
1999
|
+
newDraggableIndex = oldDraggableIndex;
|
|
2000
|
+
}
|
|
2001
|
+
_dispatchEvent({
|
|
2002
|
+
sortable: this,
|
|
2003
|
+
name: 'end',
|
|
2004
|
+
toEl: parentEl,
|
|
2005
|
+
originalEvent: evt
|
|
2006
|
+
});
|
|
2007
|
+
|
|
2008
|
+
// Save sorting
|
|
2009
|
+
this.save();
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
}
|
|
2013
|
+
this._nulling();
|
|
2014
|
+
},
|
|
2015
|
+
_nulling: function _nulling() {
|
|
2016
|
+
pluginEvent('nulling', this);
|
|
2017
|
+
rootEl = dragEl = parentEl = ghostEl = nextEl = cloneEl = lastDownEl = cloneHidden = tapEvt = touchEvt = moved = newIndex = newDraggableIndex = oldIndex = oldDraggableIndex = lastTarget = lastDirection = putSortable = activeGroup = Sortable.dragged = Sortable.ghost = Sortable.clone = Sortable.active = null;
|
|
2018
|
+
savedInputChecked.forEach(function (el) {
|
|
2019
|
+
el.checked = true;
|
|
2020
|
+
});
|
|
2021
|
+
savedInputChecked.length = lastDx = lastDy = 0;
|
|
2022
|
+
},
|
|
2023
|
+
handleEvent: function handleEvent( /**Event*/evt) {
|
|
2024
|
+
switch (evt.type) {
|
|
2025
|
+
case 'drop':
|
|
2026
|
+
case 'dragend':
|
|
2027
|
+
this._onDrop(evt);
|
|
2028
|
+
break;
|
|
2029
|
+
case 'dragenter':
|
|
2030
|
+
case 'dragover':
|
|
2031
|
+
if (dragEl) {
|
|
2032
|
+
this._onDragOver(evt);
|
|
2033
|
+
_globalDragOver(evt);
|
|
2034
|
+
}
|
|
2035
|
+
break;
|
|
2036
|
+
case 'selectstart':
|
|
2037
|
+
evt.preventDefault();
|
|
2038
|
+
break;
|
|
2039
|
+
}
|
|
2040
|
+
},
|
|
2041
|
+
/**
|
|
2042
|
+
* Serializes the item into an array of string.
|
|
2043
|
+
* @returns {String[]}
|
|
2044
|
+
*/
|
|
2045
|
+
toArray: function toArray() {
|
|
2046
|
+
var order = [],
|
|
2047
|
+
el,
|
|
2048
|
+
children = this.el.children,
|
|
2049
|
+
i = 0,
|
|
2050
|
+
n = children.length,
|
|
2051
|
+
options = this.options;
|
|
2052
|
+
for (; i < n; i++) {
|
|
2053
|
+
el = children[i];
|
|
2054
|
+
if (closest(el, options.draggable, this.el, false)) {
|
|
2055
|
+
order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2058
|
+
return order;
|
|
2059
|
+
},
|
|
2060
|
+
/**
|
|
2061
|
+
* Sorts the elements according to the array.
|
|
2062
|
+
* @param {String[]} order order of the items
|
|
2063
|
+
*/
|
|
2064
|
+
sort: function sort(order, useAnimation) {
|
|
2065
|
+
var items = {},
|
|
2066
|
+
rootEl = this.el;
|
|
2067
|
+
this.toArray().forEach(function (id, i) {
|
|
2068
|
+
var el = rootEl.children[i];
|
|
2069
|
+
if (closest(el, this.options.draggable, rootEl, false)) {
|
|
2070
|
+
items[id] = el;
|
|
2071
|
+
}
|
|
2072
|
+
}, this);
|
|
2073
|
+
useAnimation && this.captureAnimationState();
|
|
2074
|
+
order.forEach(function (id) {
|
|
2075
|
+
if (items[id]) {
|
|
2076
|
+
rootEl.removeChild(items[id]);
|
|
2077
|
+
rootEl.appendChild(items[id]);
|
|
2078
|
+
}
|
|
2079
|
+
});
|
|
2080
|
+
useAnimation && this.animateAll();
|
|
2081
|
+
},
|
|
2082
|
+
/**
|
|
2083
|
+
* Save the current sorting
|
|
2084
|
+
*/
|
|
2085
|
+
save: function save() {
|
|
2086
|
+
var store = this.options.store;
|
|
2087
|
+
store && store.set && store.set(this);
|
|
2088
|
+
},
|
|
2089
|
+
/**
|
|
2090
|
+
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
2091
|
+
* @param {HTMLElement} el
|
|
2092
|
+
* @param {String} [selector] default: `options.draggable`
|
|
2093
|
+
* @returns {HTMLElement|null}
|
|
2094
|
+
*/
|
|
2095
|
+
closest: function closest$1(el, selector) {
|
|
2096
|
+
return closest(el, selector || this.options.draggable, this.el, false);
|
|
2097
|
+
},
|
|
2098
|
+
/**
|
|
2099
|
+
* Set/get option
|
|
2100
|
+
* @param {string} name
|
|
2101
|
+
* @param {*} [value]
|
|
2102
|
+
* @returns {*}
|
|
2103
|
+
*/
|
|
2104
|
+
option: function option(name, value) {
|
|
2105
|
+
var options = this.options;
|
|
2106
|
+
if (value === void 0) {
|
|
2107
|
+
return options[name];
|
|
2108
|
+
} else {
|
|
2109
|
+
var modifiedValue = PluginManager.modifyOption(this, name, value);
|
|
2110
|
+
if (typeof modifiedValue !== 'undefined') {
|
|
2111
|
+
options[name] = modifiedValue;
|
|
2112
|
+
} else {
|
|
2113
|
+
options[name] = value;
|
|
2114
|
+
}
|
|
2115
|
+
if (name === 'group') {
|
|
2116
|
+
_prepareGroup(options);
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
/**
|
|
2121
|
+
* Destroy
|
|
2122
|
+
*/
|
|
2123
|
+
destroy: function destroy() {
|
|
2124
|
+
pluginEvent('destroy', this);
|
|
2125
|
+
var el = this.el;
|
|
2126
|
+
el[expando] = null;
|
|
2127
|
+
off(el, 'mousedown', this._onTapStart);
|
|
2128
|
+
off(el, 'touchstart', this._onTapStart);
|
|
2129
|
+
off(el, 'pointerdown', this._onTapStart);
|
|
2130
|
+
if (this.nativeDraggable) {
|
|
2131
|
+
off(el, 'dragover', this);
|
|
2132
|
+
off(el, 'dragenter', this);
|
|
2133
|
+
}
|
|
2134
|
+
// Remove draggable attributes
|
|
2135
|
+
Array.prototype.forEach.call(el.querySelectorAll('[draggable]'), function (el) {
|
|
2136
|
+
el.removeAttribute('draggable');
|
|
2137
|
+
});
|
|
2138
|
+
this._onDrop();
|
|
2139
|
+
this._disableDelayedDragEvents();
|
|
2140
|
+
sortables.splice(sortables.indexOf(this.el), 1);
|
|
2141
|
+
this.el = el = null;
|
|
2142
|
+
},
|
|
2143
|
+
_hideClone: function _hideClone() {
|
|
2144
|
+
if (!cloneHidden) {
|
|
2145
|
+
pluginEvent('hideClone', this);
|
|
2146
|
+
if (Sortable.eventCanceled) return;
|
|
2147
|
+
css(cloneEl, 'display', 'none');
|
|
2148
|
+
if (this.options.removeCloneOnHide && cloneEl.parentNode) {
|
|
2149
|
+
cloneEl.parentNode.removeChild(cloneEl);
|
|
2150
|
+
}
|
|
2151
|
+
cloneHidden = true;
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
_showClone: function _showClone(putSortable) {
|
|
2155
|
+
if (putSortable.lastPutMode !== 'clone') {
|
|
2156
|
+
this._hideClone();
|
|
2157
|
+
return;
|
|
2158
|
+
}
|
|
2159
|
+
if (cloneHidden) {
|
|
2160
|
+
pluginEvent('showClone', this);
|
|
2161
|
+
if (Sortable.eventCanceled) return;
|
|
2162
|
+
|
|
2163
|
+
// show clone at dragEl or original position
|
|
2164
|
+
if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
|
|
2165
|
+
rootEl.insertBefore(cloneEl, dragEl);
|
|
2166
|
+
} else if (nextEl) {
|
|
2167
|
+
rootEl.insertBefore(cloneEl, nextEl);
|
|
2168
|
+
} else {
|
|
2169
|
+
rootEl.appendChild(cloneEl);
|
|
2170
|
+
}
|
|
2171
|
+
if (this.options.group.revertClone) {
|
|
2172
|
+
this.animate(dragEl, cloneEl);
|
|
2173
|
+
}
|
|
2174
|
+
css(cloneEl, 'display', '');
|
|
2175
|
+
cloneHidden = false;
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
};
|
|
2179
|
+
function _globalDragOver( /**Event*/evt) {
|
|
2180
|
+
if (evt.dataTransfer) {
|
|
2181
|
+
evt.dataTransfer.dropEffect = 'move';
|
|
2182
|
+
}
|
|
2183
|
+
evt.cancelable && evt.preventDefault();
|
|
2184
|
+
}
|
|
2185
|
+
function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
|
|
2186
|
+
var evt,
|
|
2187
|
+
sortable = fromEl[expando],
|
|
2188
|
+
onMoveFn = sortable.options.onMove,
|
|
2189
|
+
retVal;
|
|
2190
|
+
// Support for new CustomEvent feature
|
|
2191
|
+
if (window.CustomEvent && !IE11OrLess && !Edge) {
|
|
2192
|
+
evt = new CustomEvent('move', {
|
|
2193
|
+
bubbles: true,
|
|
2194
|
+
cancelable: true
|
|
2195
|
+
});
|
|
2196
|
+
} else {
|
|
2197
|
+
evt = document.createEvent('Event');
|
|
2198
|
+
evt.initEvent('move', true, true);
|
|
2199
|
+
}
|
|
2200
|
+
evt.to = toEl;
|
|
2201
|
+
evt.from = fromEl;
|
|
2202
|
+
evt.dragged = dragEl;
|
|
2203
|
+
evt.draggedRect = dragRect;
|
|
2204
|
+
evt.related = targetEl || toEl;
|
|
2205
|
+
evt.relatedRect = targetRect || getRect(toEl);
|
|
2206
|
+
evt.willInsertAfter = willInsertAfter;
|
|
2207
|
+
evt.originalEvent = originalEvent;
|
|
2208
|
+
fromEl.dispatchEvent(evt);
|
|
2209
|
+
if (onMoveFn) {
|
|
2210
|
+
retVal = onMoveFn.call(sortable, evt, originalEvent);
|
|
2211
|
+
}
|
|
2212
|
+
return retVal;
|
|
2213
|
+
}
|
|
2214
|
+
function _disableDraggable(el) {
|
|
2215
|
+
el.draggable = false;
|
|
2216
|
+
}
|
|
2217
|
+
function _unsilent() {
|
|
2218
|
+
_silent = false;
|
|
2219
|
+
}
|
|
2220
|
+
function _ghostIsFirst(evt, vertical, sortable) {
|
|
2221
|
+
var firstElRect = getRect(getChild(sortable.el, 0, sortable.options, true));
|
|
2222
|
+
var sortableContentRect = getContentRect(sortable.el);
|
|
2223
|
+
var spacer = 10;
|
|
2224
|
+
return vertical ? evt.clientX < sortableContentRect.left - spacer || evt.clientY < firstElRect.top && evt.clientX < firstElRect.right : evt.clientY < sortableContentRect.top - spacer || evt.clientY < firstElRect.bottom && evt.clientX < firstElRect.left;
|
|
2225
|
+
}
|
|
2226
|
+
function _ghostIsLast(evt, vertical, sortable) {
|
|
2227
|
+
var lastElRect = getRect(lastChild(sortable.el, sortable.options.draggable));
|
|
2228
|
+
var sortableContentRect = getContentRect(sortable.el);
|
|
2229
|
+
var spacer = 10;
|
|
2230
|
+
return vertical ? evt.clientX > sortableContentRect.right + spacer || evt.clientY > lastElRect.bottom && evt.clientX > lastElRect.left : evt.clientY > sortableContentRect.bottom + spacer || evt.clientX > lastElRect.right && evt.clientY > lastElRect.top;
|
|
2231
|
+
}
|
|
2232
|
+
function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
|
|
2233
|
+
var mouseOnAxis = vertical ? evt.clientY : evt.clientX,
|
|
2234
|
+
targetLength = vertical ? targetRect.height : targetRect.width,
|
|
2235
|
+
targetS1 = vertical ? targetRect.top : targetRect.left,
|
|
2236
|
+
targetS2 = vertical ? targetRect.bottom : targetRect.right,
|
|
2237
|
+
invert = false;
|
|
2238
|
+
if (!invertSwap) {
|
|
2239
|
+
// Never invert or create dragEl shadow when target movemenet causes mouse to move past the end of regular swapThreshold
|
|
2240
|
+
if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
|
|
2241
|
+
// multiplied only by swapThreshold because mouse will already be inside target by (1 - threshold) * targetLength / 2
|
|
2242
|
+
// check if past first invert threshold on side opposite of lastDirection
|
|
2243
|
+
if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {
|
|
2244
|
+
// past first invert threshold, do not restrict inverted threshold to dragEl shadow
|
|
2245
|
+
pastFirstInvertThresh = true;
|
|
2246
|
+
}
|
|
2247
|
+
if (!pastFirstInvertThresh) {
|
|
2248
|
+
// dragEl shadow (target move distance shadow)
|
|
2249
|
+
if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance // over dragEl shadow
|
|
2250
|
+
: mouseOnAxis > targetS2 - targetMoveDistance) {
|
|
2251
|
+
return -lastDirection;
|
|
2252
|
+
}
|
|
2253
|
+
} else {
|
|
2254
|
+
invert = true;
|
|
2255
|
+
}
|
|
2256
|
+
} else {
|
|
2257
|
+
// Regular
|
|
2258
|
+
if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {
|
|
2259
|
+
return _getInsertDirection(target);
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
invert = invert || invertSwap;
|
|
2264
|
+
if (invert) {
|
|
2265
|
+
// Invert of regular
|
|
2266
|
+
if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
|
|
2267
|
+
return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
return 0;
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* Gets the direction dragEl must be swapped relative to target in order to make it
|
|
2275
|
+
* seem that dragEl has been "inserted" into that element's position
|
|
2276
|
+
* @param {HTMLElement} target The target whose position dragEl is being inserted at
|
|
2277
|
+
* @return {Number} Direction dragEl must be swapped
|
|
2278
|
+
*/
|
|
2279
|
+
function _getInsertDirection(target) {
|
|
2280
|
+
if (index(dragEl) < index(target)) {
|
|
2281
|
+
return 1;
|
|
2282
|
+
} else {
|
|
2283
|
+
return -1;
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
* Generate id
|
|
2289
|
+
* @param {HTMLElement} el
|
|
2290
|
+
* @returns {String}
|
|
2291
|
+
* @private
|
|
2292
|
+
*/
|
|
2293
|
+
function _generateId(el) {
|
|
2294
|
+
var str = el.tagName + el.className + el.src + el.href + el.textContent,
|
|
2295
|
+
i = str.length,
|
|
2296
|
+
sum = 0;
|
|
2297
|
+
while (i--) {
|
|
2298
|
+
sum += str.charCodeAt(i);
|
|
2299
|
+
}
|
|
2300
|
+
return sum.toString(36);
|
|
2301
|
+
}
|
|
2302
|
+
function _saveInputCheckedState(root) {
|
|
2303
|
+
savedInputChecked.length = 0;
|
|
2304
|
+
var inputs = root.getElementsByTagName('input');
|
|
2305
|
+
var idx = inputs.length;
|
|
2306
|
+
while (idx--) {
|
|
2307
|
+
var el = inputs[idx];
|
|
2308
|
+
el.checked && savedInputChecked.push(el);
|
|
2309
|
+
}
|
|
2310
|
+
}
|
|
2311
|
+
function _nextTick(fn) {
|
|
2312
|
+
return setTimeout(fn, 0);
|
|
2313
|
+
}
|
|
2314
|
+
function _cancelNextTick(id) {
|
|
2315
|
+
return clearTimeout(id);
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
// Fixed #973:
|
|
2319
|
+
if (documentExists) {
|
|
2320
|
+
on(document, 'touchmove', function (evt) {
|
|
2321
|
+
if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
|
|
2322
|
+
evt.preventDefault();
|
|
2323
|
+
}
|
|
2324
|
+
});
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
// Export utils
|
|
2328
|
+
Sortable.utils = {
|
|
2329
|
+
on: on,
|
|
2330
|
+
off: off,
|
|
2331
|
+
css: css,
|
|
2332
|
+
find: find,
|
|
2333
|
+
is: function is(el, selector) {
|
|
2334
|
+
return !!closest(el, selector, el, false);
|
|
2335
|
+
},
|
|
2336
|
+
extend: extend,
|
|
2337
|
+
throttle: throttle,
|
|
2338
|
+
closest: closest,
|
|
2339
|
+
toggleClass: toggleClass,
|
|
2340
|
+
clone: clone,
|
|
2341
|
+
index: index,
|
|
2342
|
+
nextTick: _nextTick,
|
|
2343
|
+
cancelNextTick: _cancelNextTick,
|
|
2344
|
+
detectDirection: _detectDirection,
|
|
2345
|
+
getChild: getChild
|
|
2346
|
+
};
|
|
2347
|
+
|
|
2348
|
+
/**
|
|
2349
|
+
* Get the Sortable instance of an element
|
|
2350
|
+
* @param {HTMLElement} element The element
|
|
2351
|
+
* @return {Sortable|undefined} The instance of Sortable
|
|
2352
|
+
*/
|
|
2353
|
+
Sortable.get = function (element) {
|
|
2354
|
+
return element[expando];
|
|
2355
|
+
};
|
|
2356
|
+
|
|
2357
|
+
/**
|
|
2358
|
+
* Mount a plugin to Sortable
|
|
2359
|
+
* @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
|
|
2360
|
+
*/
|
|
2361
|
+
Sortable.mount = function () {
|
|
2362
|
+
for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
2363
|
+
plugins[_key] = arguments[_key];
|
|
2364
|
+
}
|
|
2365
|
+
if (plugins[0].constructor === Array) plugins = plugins[0];
|
|
2366
|
+
plugins.forEach(function (plugin) {
|
|
2367
|
+
if (!plugin.prototype || !plugin.prototype.constructor) {
|
|
2368
|
+
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(plugin));
|
|
2369
|
+
}
|
|
2370
|
+
if (plugin.utils) Sortable.utils = _objectSpread2(_objectSpread2({}, Sortable.utils), plugin.utils);
|
|
2371
|
+
PluginManager.mount(plugin);
|
|
2372
|
+
});
|
|
2373
|
+
};
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* Create sortable instance
|
|
2377
|
+
* @param {HTMLElement} el
|
|
2378
|
+
* @param {Object} [options]
|
|
2379
|
+
*/
|
|
2380
|
+
Sortable.create = function (el, options) {
|
|
2381
|
+
return new Sortable(el, options);
|
|
2382
|
+
};
|
|
2383
|
+
|
|
2384
|
+
// Export
|
|
2385
|
+
Sortable.version = version;
|
|
2386
|
+
|
|
2387
|
+
var autoScrolls = [],
|
|
2388
|
+
scrollEl,
|
|
2389
|
+
scrollRootEl,
|
|
2390
|
+
scrolling = false,
|
|
2391
|
+
lastAutoScrollX,
|
|
2392
|
+
lastAutoScrollY,
|
|
2393
|
+
touchEvt$1,
|
|
2394
|
+
pointerElemChangedInterval;
|
|
2395
|
+
function AutoScrollPlugin() {
|
|
2396
|
+
function AutoScroll() {
|
|
2397
|
+
this.defaults = {
|
|
2398
|
+
scroll: true,
|
|
2399
|
+
forceAutoScrollFallback: false,
|
|
2400
|
+
scrollSensitivity: 30,
|
|
2401
|
+
scrollSpeed: 10,
|
|
2402
|
+
bubbleScroll: true
|
|
2403
|
+
};
|
|
2404
|
+
|
|
2405
|
+
// Bind all private methods
|
|
2406
|
+
for (var fn in this) {
|
|
2407
|
+
if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
|
|
2408
|
+
this[fn] = this[fn].bind(this);
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2412
|
+
AutoScroll.prototype = {
|
|
2413
|
+
dragStarted: function dragStarted(_ref) {
|
|
2414
|
+
var originalEvent = _ref.originalEvent;
|
|
2415
|
+
if (this.sortable.nativeDraggable) {
|
|
2416
|
+
on(document, 'dragover', this._handleAutoScroll);
|
|
2417
|
+
} else {
|
|
2418
|
+
if (this.options.supportPointer) {
|
|
2419
|
+
on(document, 'pointermove', this._handleFallbackAutoScroll);
|
|
2420
|
+
} else if (originalEvent.touches) {
|
|
2421
|
+
on(document, 'touchmove', this._handleFallbackAutoScroll);
|
|
2422
|
+
} else {
|
|
2423
|
+
on(document, 'mousemove', this._handleFallbackAutoScroll);
|
|
2424
|
+
}
|
|
2425
|
+
}
|
|
2426
|
+
},
|
|
2427
|
+
dragOverCompleted: function dragOverCompleted(_ref2) {
|
|
2428
|
+
var originalEvent = _ref2.originalEvent;
|
|
2429
|
+
// For when bubbling is canceled and using fallback (fallback 'touchmove' always reached)
|
|
2430
|
+
if (!this.options.dragOverBubble && !originalEvent.rootEl) {
|
|
2431
|
+
this._handleAutoScroll(originalEvent);
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
drop: function drop() {
|
|
2435
|
+
if (this.sortable.nativeDraggable) {
|
|
2436
|
+
off(document, 'dragover', this._handleAutoScroll);
|
|
2437
|
+
} else {
|
|
2438
|
+
off(document, 'pointermove', this._handleFallbackAutoScroll);
|
|
2439
|
+
off(document, 'touchmove', this._handleFallbackAutoScroll);
|
|
2440
|
+
off(document, 'mousemove', this._handleFallbackAutoScroll);
|
|
2441
|
+
}
|
|
2442
|
+
clearPointerElemChangedInterval();
|
|
2443
|
+
clearAutoScrolls();
|
|
2444
|
+
cancelThrottle();
|
|
2445
|
+
},
|
|
2446
|
+
nulling: function nulling() {
|
|
2447
|
+
touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;
|
|
2448
|
+
autoScrolls.length = 0;
|
|
2449
|
+
},
|
|
2450
|
+
_handleFallbackAutoScroll: function _handleFallbackAutoScroll(evt) {
|
|
2451
|
+
this._handleAutoScroll(evt, true);
|
|
2452
|
+
},
|
|
2453
|
+
_handleAutoScroll: function _handleAutoScroll(evt, fallback) {
|
|
2454
|
+
var _this = this;
|
|
2455
|
+
var x = (evt.touches ? evt.touches[0] : evt).clientX,
|
|
2456
|
+
y = (evt.touches ? evt.touches[0] : evt).clientY,
|
|
2457
|
+
elem = document.elementFromPoint(x, y);
|
|
2458
|
+
touchEvt$1 = evt;
|
|
2459
|
+
|
|
2460
|
+
// IE does not seem to have native autoscroll,
|
|
2461
|
+
// Edge's autoscroll seems too conditional,
|
|
2462
|
+
// MACOS Safari does not have autoscroll,
|
|
2463
|
+
// Firefox and Chrome are good
|
|
2464
|
+
if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
|
|
2465
|
+
autoScroll(evt, this.options, elem, fallback);
|
|
2466
|
+
|
|
2467
|
+
// Listener for pointer element change
|
|
2468
|
+
var ogElemScroller = getParentAutoScrollElement(elem, true);
|
|
2469
|
+
if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
|
|
2470
|
+
pointerElemChangedInterval && clearPointerElemChangedInterval();
|
|
2471
|
+
// Detect for pointer elem change, emulating native DnD behaviour
|
|
2472
|
+
pointerElemChangedInterval = setInterval(function () {
|
|
2473
|
+
var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
|
|
2474
|
+
if (newElem !== ogElemScroller) {
|
|
2475
|
+
ogElemScroller = newElem;
|
|
2476
|
+
clearAutoScrolls();
|
|
2477
|
+
}
|
|
2478
|
+
autoScroll(evt, _this.options, newElem, fallback);
|
|
2479
|
+
}, 10);
|
|
2480
|
+
lastAutoScrollX = x;
|
|
2481
|
+
lastAutoScrollY = y;
|
|
2482
|
+
}
|
|
2483
|
+
} else {
|
|
2484
|
+
// if DnD is enabled (and browser has good autoscrolling), first autoscroll will already scroll, so get parent autoscroll of first autoscroll
|
|
2485
|
+
if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {
|
|
2486
|
+
clearAutoScrolls();
|
|
2487
|
+
return;
|
|
2488
|
+
}
|
|
2489
|
+
autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
};
|
|
2493
|
+
return _extends(AutoScroll, {
|
|
2494
|
+
pluginName: 'scroll',
|
|
2495
|
+
initializeByDefault: true
|
|
2496
|
+
});
|
|
2497
|
+
}
|
|
2498
|
+
function clearAutoScrolls() {
|
|
2499
|
+
autoScrolls.forEach(function (autoScroll) {
|
|
2500
|
+
clearInterval(autoScroll.pid);
|
|
2501
|
+
});
|
|
2502
|
+
autoScrolls = [];
|
|
2503
|
+
}
|
|
2504
|
+
function clearPointerElemChangedInterval() {
|
|
2505
|
+
clearInterval(pointerElemChangedInterval);
|
|
2506
|
+
}
|
|
2507
|
+
var autoScroll = throttle(function (evt, options, rootEl, isFallback) {
|
|
2508
|
+
// Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=505521
|
|
2509
|
+
if (!options.scroll) return;
|
|
2510
|
+
var x = (evt.touches ? evt.touches[0] : evt).clientX,
|
|
2511
|
+
y = (evt.touches ? evt.touches[0] : evt).clientY,
|
|
2512
|
+
sens = options.scrollSensitivity,
|
|
2513
|
+
speed = options.scrollSpeed,
|
|
2514
|
+
winScroller = getWindowScrollingElement();
|
|
2515
|
+
var scrollThisInstance = false,
|
|
2516
|
+
scrollCustomFn;
|
|
2517
|
+
|
|
2518
|
+
// New scroll root, set scrollEl
|
|
2519
|
+
if (scrollRootEl !== rootEl) {
|
|
2520
|
+
scrollRootEl = rootEl;
|
|
2521
|
+
clearAutoScrolls();
|
|
2522
|
+
scrollEl = options.scroll;
|
|
2523
|
+
scrollCustomFn = options.scrollFn;
|
|
2524
|
+
if (scrollEl === true) {
|
|
2525
|
+
scrollEl = getParentAutoScrollElement(rootEl, true);
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
var layersOut = 0;
|
|
2529
|
+
var currentParent = scrollEl;
|
|
2530
|
+
do {
|
|
2531
|
+
var el = currentParent,
|
|
2532
|
+
rect = getRect(el),
|
|
2533
|
+
top = rect.top,
|
|
2534
|
+
bottom = rect.bottom,
|
|
2535
|
+
left = rect.left,
|
|
2536
|
+
right = rect.right,
|
|
2537
|
+
width = rect.width,
|
|
2538
|
+
height = rect.height,
|
|
2539
|
+
canScrollX = void 0,
|
|
2540
|
+
canScrollY = void 0,
|
|
2541
|
+
scrollWidth = el.scrollWidth,
|
|
2542
|
+
scrollHeight = el.scrollHeight,
|
|
2543
|
+
elCSS = css(el),
|
|
2544
|
+
scrollPosX = el.scrollLeft,
|
|
2545
|
+
scrollPosY = el.scrollTop;
|
|
2546
|
+
if (el === winScroller) {
|
|
2547
|
+
canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll' || elCSS.overflowX === 'visible');
|
|
2548
|
+
canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll' || elCSS.overflowY === 'visible');
|
|
2549
|
+
} else {
|
|
2550
|
+
canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll');
|
|
2551
|
+
canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll');
|
|
2552
|
+
}
|
|
2553
|
+
var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
|
|
2554
|
+
var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
|
|
2555
|
+
if (!autoScrolls[layersOut]) {
|
|
2556
|
+
for (var i = 0; i <= layersOut; i++) {
|
|
2557
|
+
if (!autoScrolls[i]) {
|
|
2558
|
+
autoScrolls[i] = {};
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2562
|
+
if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
|
|
2563
|
+
autoScrolls[layersOut].el = el;
|
|
2564
|
+
autoScrolls[layersOut].vx = vx;
|
|
2565
|
+
autoScrolls[layersOut].vy = vy;
|
|
2566
|
+
clearInterval(autoScrolls[layersOut].pid);
|
|
2567
|
+
if (vx != 0 || vy != 0) {
|
|
2568
|
+
scrollThisInstance = true;
|
|
2569
|
+
/* jshint loopfunc:true */
|
|
2570
|
+
autoScrolls[layersOut].pid = setInterval(function () {
|
|
2571
|
+
// emulate drag over during autoscroll (fallback), emulating native DnD behaviour
|
|
2572
|
+
if (isFallback && this.layer === 0) {
|
|
2573
|
+
Sortable.active._onTouchMove(touchEvt$1); // To move ghost if it is positioned absolutely
|
|
2574
|
+
}
|
|
2575
|
+
var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
|
|
2576
|
+
var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
|
|
2577
|
+
if (typeof scrollCustomFn === 'function') {
|
|
2578
|
+
if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== 'continue') {
|
|
2579
|
+
return;
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
|
|
2583
|
+
}.bind({
|
|
2584
|
+
layer: layersOut
|
|
2585
|
+
}), 24);
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
layersOut++;
|
|
2589
|
+
} while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
|
|
2590
|
+
scrolling = scrollThisInstance; // in case another function catches scrolling as false in between when it is not
|
|
2591
|
+
}, 30);
|
|
2592
|
+
|
|
2593
|
+
var drop = function drop(_ref) {
|
|
2594
|
+
var originalEvent = _ref.originalEvent,
|
|
2595
|
+
putSortable = _ref.putSortable,
|
|
2596
|
+
dragEl = _ref.dragEl,
|
|
2597
|
+
activeSortable = _ref.activeSortable,
|
|
2598
|
+
dispatchSortableEvent = _ref.dispatchSortableEvent,
|
|
2599
|
+
hideGhostForTarget = _ref.hideGhostForTarget,
|
|
2600
|
+
unhideGhostForTarget = _ref.unhideGhostForTarget;
|
|
2601
|
+
if (!originalEvent) return;
|
|
2602
|
+
var toSortable = putSortable || activeSortable;
|
|
2603
|
+
hideGhostForTarget();
|
|
2604
|
+
var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
|
|
2605
|
+
var target = document.elementFromPoint(touch.clientX, touch.clientY);
|
|
2606
|
+
unhideGhostForTarget();
|
|
2607
|
+
if (toSortable && !toSortable.el.contains(target)) {
|
|
2608
|
+
dispatchSortableEvent('spill');
|
|
2609
|
+
this.onSpill({
|
|
2610
|
+
dragEl: dragEl,
|
|
2611
|
+
putSortable: putSortable
|
|
2612
|
+
});
|
|
2613
|
+
}
|
|
2614
|
+
};
|
|
2615
|
+
function Revert() {}
|
|
2616
|
+
Revert.prototype = {
|
|
2617
|
+
startIndex: null,
|
|
2618
|
+
dragStart: function dragStart(_ref2) {
|
|
2619
|
+
var oldDraggableIndex = _ref2.oldDraggableIndex;
|
|
2620
|
+
this.startIndex = oldDraggableIndex;
|
|
2621
|
+
},
|
|
2622
|
+
onSpill: function onSpill(_ref3) {
|
|
2623
|
+
var dragEl = _ref3.dragEl,
|
|
2624
|
+
putSortable = _ref3.putSortable;
|
|
2625
|
+
this.sortable.captureAnimationState();
|
|
2626
|
+
if (putSortable) {
|
|
2627
|
+
putSortable.captureAnimationState();
|
|
2628
|
+
}
|
|
2629
|
+
var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
|
|
2630
|
+
if (nextSibling) {
|
|
2631
|
+
this.sortable.el.insertBefore(dragEl, nextSibling);
|
|
2632
|
+
} else {
|
|
2633
|
+
this.sortable.el.appendChild(dragEl);
|
|
2634
|
+
}
|
|
2635
|
+
this.sortable.animateAll();
|
|
2636
|
+
if (putSortable) {
|
|
2637
|
+
putSortable.animateAll();
|
|
2638
|
+
}
|
|
2639
|
+
},
|
|
2640
|
+
drop: drop
|
|
2641
|
+
};
|
|
2642
|
+
_extends(Revert, {
|
|
2643
|
+
pluginName: 'revertOnSpill'
|
|
2644
|
+
});
|
|
2645
|
+
function Remove() {}
|
|
2646
|
+
Remove.prototype = {
|
|
2647
|
+
onSpill: function onSpill(_ref4) {
|
|
2648
|
+
var dragEl = _ref4.dragEl,
|
|
2649
|
+
putSortable = _ref4.putSortable;
|
|
2650
|
+
var parentSortable = putSortable || this.sortable;
|
|
2651
|
+
parentSortable.captureAnimationState();
|
|
2652
|
+
dragEl.parentNode && dragEl.parentNode.removeChild(dragEl);
|
|
2653
|
+
parentSortable.animateAll();
|
|
2654
|
+
},
|
|
2655
|
+
drop: drop
|
|
2656
|
+
};
|
|
2657
|
+
_extends(Remove, {
|
|
2658
|
+
pluginName: 'removeOnSpill'
|
|
2659
|
+
});
|
|
2660
|
+
|
|
2661
|
+
Sortable.mount(new AutoScrollPlugin());
|
|
2662
|
+
Sortable.mount(Remove, Revert);
|
|
2663
|
+
|
|
2664
|
+
const sortableComponentSet = new Set();
|
|
2665
|
+
const CSS = {
|
|
2666
|
+
ghostClass: "calcite-sortable--ghost",
|
|
2667
|
+
chosenClass: "calcite-sortable--chosen",
|
|
2668
|
+
dragClass: "calcite-sortable--drag",
|
|
2669
|
+
fallbackClass: "calcite-sortable--fallback",
|
|
2670
|
+
};
|
|
2671
|
+
/**
|
|
2672
|
+
* Helper to keep track of a SortableComponent. This should be called in the `connectedCallback` lifecycle method as well as any other method necessary to rebuild the sortable instance.
|
|
2673
|
+
*
|
|
2674
|
+
* @param {SortableComponent} component - The sortable component.
|
|
2675
|
+
*/
|
|
2676
|
+
function connectSortableComponent(component) {
|
|
2677
|
+
disconnectSortableComponent(component);
|
|
2678
|
+
sortableComponentSet.add(component);
|
|
2679
|
+
const dataIdAttr = "id";
|
|
2680
|
+
const { group, handleSelector: handle, dragSelector: draggable } = component;
|
|
2681
|
+
component.sortable = Sortable.create(component.el, {
|
|
2682
|
+
dataIdAttr,
|
|
2683
|
+
...CSS,
|
|
2684
|
+
...(!!draggable && { draggable }),
|
|
2685
|
+
...(!!group && {
|
|
2686
|
+
group: {
|
|
2687
|
+
name: group,
|
|
2688
|
+
...(!!component.canPull && {
|
|
2689
|
+
pull: (to, from, dragEl, { newIndex, oldIndex }) => component.canPull({ toEl: to.el, fromEl: from.el, dragEl, newIndex, oldIndex }),
|
|
2690
|
+
}),
|
|
2691
|
+
...(!!component.canPut && {
|
|
2692
|
+
put: (to, from, dragEl, { newIndex, oldIndex }) => component.canPut({ toEl: to.el, fromEl: from.el, dragEl, newIndex, oldIndex }),
|
|
2693
|
+
}),
|
|
2694
|
+
},
|
|
2695
|
+
}),
|
|
2696
|
+
handle,
|
|
2697
|
+
filter: `${handle}[disabled]`,
|
|
2698
|
+
onStart: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
|
|
2699
|
+
dragState.active = true;
|
|
2700
|
+
onGlobalDragStart();
|
|
2701
|
+
component.onDragStart({ fromEl, dragEl, toEl, newIndex, oldIndex });
|
|
2702
|
+
},
|
|
2703
|
+
onEnd: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
|
|
2704
|
+
dragState.active = false;
|
|
2705
|
+
onGlobalDragEnd();
|
|
2706
|
+
component.onDragEnd({ fromEl, dragEl, toEl, newIndex, oldIndex });
|
|
2707
|
+
},
|
|
2708
|
+
onSort: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
|
|
2709
|
+
component.onDragSort({ fromEl, dragEl, toEl, newIndex, oldIndex });
|
|
2710
|
+
},
|
|
2711
|
+
});
|
|
2712
|
+
}
|
|
2713
|
+
/**
|
|
2714
|
+
* Helper to remove track of a SortableComponent. This should be called in the `disconnectedCallback` lifecycle method.
|
|
2715
|
+
*
|
|
2716
|
+
* @param {SortableComponent} component - The sortable component.
|
|
2717
|
+
*/
|
|
2718
|
+
function disconnectSortableComponent(component) {
|
|
2719
|
+
sortableComponentSet.delete(component);
|
|
2720
|
+
component.sortable?.destroy();
|
|
2721
|
+
component.sortable = null;
|
|
2722
|
+
}
|
|
2723
|
+
const dragState = { active: false };
|
|
2724
|
+
/**
|
|
2725
|
+
* Helper to determine if dragging is currently active.
|
|
2726
|
+
*
|
|
2727
|
+
* @param component The sortable component.
|
|
2728
|
+
* @returns {boolean} a boolean value.
|
|
2729
|
+
*/
|
|
2730
|
+
function dragActive(component) {
|
|
2731
|
+
return component.dragEnabled && dragState.active;
|
|
2732
|
+
}
|
|
2733
|
+
function onGlobalDragStart() {
|
|
2734
|
+
Array.from(sortableComponentSet).forEach((component) => component.onGlobalDragStart());
|
|
2735
|
+
}
|
|
2736
|
+
function onGlobalDragEnd() {
|
|
2737
|
+
Array.from(sortableComponentSet).forEach((component) => component.onGlobalDragEnd());
|
|
2738
|
+
}
|
|
2739
|
+
|
|
2740
|
+
exports.connectSortableComponent = connectSortableComponent;
|
|
2741
|
+
exports.disconnectSortableComponent = disconnectSortableComponent;
|
|
2742
|
+
exports.dragActive = dragActive;
|
|
2743
|
+
|
|
2744
|
+
//# sourceMappingURL=sortableComponent-e79f0655.js.map
|