@esri/calcite-components 1.7.0-next.18 → 1.7.0-next.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-30e3b296.js → p-02990b9a.js} +1 -1
- package/dist/calcite/{p-27fa6150.entry.js → p-02f48945.entry.js} +2 -2
- package/dist/calcite/{p-1f0960df.entry.js → p-07ed817d.entry.js} +2 -2
- package/dist/calcite/{p-b46d8ed8.js → p-0c567b1c.js} +1 -1
- package/dist/calcite/{p-0de8c46c.entry.js → p-102ae572.entry.js} +2 -2
- package/dist/calcite/{p-89244e1f.js → p-1406a072.js} +2 -2
- package/dist/calcite/{p-40cedd92.js → p-14a77225.js} +2 -2
- package/dist/calcite/{p-0ad9c0f9.entry.js → p-15647567.entry.js} +2 -2
- package/dist/calcite/{p-c80b8469.entry.js → p-1609e878.entry.js} +2 -2
- package/dist/calcite/{p-31bd62d9.js → p-185d81e1.js} +2 -2
- package/dist/calcite/{p-f9d2bfbb.entry.js → p-188b6ce0.entry.js} +2 -2
- package/dist/calcite/{p-22fc0d06.js → p-18ac3650.js} +2 -2
- package/dist/calcite/p-18c1af85.entry.js +6 -0
- package/dist/calcite/{p-8e0ade41.entry.js → p-1a4b1396.entry.js} +2 -2
- package/dist/calcite/{p-592eec9f.entry.js → p-1cf0db8b.entry.js} +2 -2
- package/dist/calcite/{p-0151ff3e.entry.js → p-1e156005.entry.js} +2 -2
- package/dist/calcite/{p-c37aac12.entry.js → p-20400982.entry.js} +2 -2
- package/dist/calcite/{p-c3f5e089.entry.js → p-28fcfd03.entry.js} +2 -2
- package/dist/calcite/{p-649cf073.js → p-29e47662.js} +2 -2
- package/dist/calcite/{p-3481b05b.entry.js → p-2a52a643.entry.js} +2 -2
- package/dist/calcite/{p-7fd47f0e.js → p-2aeaedb8.js} +2 -2
- package/dist/calcite/{p-bcfb927d.entry.js → p-30db0ab5.entry.js} +2 -2
- package/dist/calcite/{p-996d78a6.entry.js → p-314a5324.entry.js} +2 -2
- package/dist/calcite/{p-9313fba3.js → p-3715cc3e.js} +2 -2
- package/dist/calcite/{p-048225ec.js → p-37ba641f.js} +1 -1
- package/dist/calcite/{p-329eae3f.js → p-381dc233.js} +2 -2
- package/dist/calcite/{p-938454da.entry.js → p-384d2aba.entry.js} +2 -2
- package/dist/calcite/{p-d86af1dc.entry.js → p-3988602b.entry.js} +2 -2
- package/dist/calcite/{p-d76f5088.js → p-3ade8f57.js} +1 -1
- package/dist/calcite/{p-67d4fbc9.js → p-3b9972d7.js} +2 -2
- package/dist/calcite/{p-f2b1e140.js → p-3f65bbf6.js} +2 -2
- package/dist/calcite/{p-5af24438.entry.js → p-40626cbb.entry.js} +2 -2
- package/dist/calcite/{p-65821a86.entry.js → p-427f74a3.entry.js} +2 -2
- package/dist/calcite/{p-8164f79c.js → p-429d53db.js} +1 -1
- package/dist/calcite/p-44372911.entry.js +6 -0
- package/dist/calcite/{p-33884fda.js → p-4977cb70.js} +2 -2
- package/dist/calcite/{p-df56796d.js → p-4c345e4c.js} +2 -2
- package/dist/calcite/{p-98665ecc.js → p-4c57d16b.js} +2 -2
- package/dist/calcite/{p-7a8cca3c.js → p-4e24172e.js} +2 -2
- package/dist/calcite/{p-41bdc95c.entry.js → p-4fee79e2.entry.js} +2 -2
- package/dist/calcite/{p-9f0313b7.entry.js → p-548e903d.entry.js} +2 -2
- package/dist/calcite/p-55efaad7.js +6 -0
- package/dist/calcite/{p-4358ab9c.entry.js → p-56dd4d97.entry.js} +2 -2
- package/dist/calcite/{p-43e0bb87.js → p-57c44f4f.js} +2 -2
- package/dist/calcite/{p-8c019c8a.js → p-57f253dc.js} +1 -1
- package/dist/calcite/{p-14a07fd9.entry.js → p-5a62a6c9.entry.js} +2 -2
- package/dist/calcite/{p-5f17a9d3.js → p-5af4edb9.js} +1 -1
- package/dist/calcite/{p-8359854e.entry.js → p-5c7909f9.entry.js} +2 -2
- package/dist/calcite/{p-8778b539.entry.js → p-5cada24b.entry.js} +2 -2
- package/dist/calcite/p-5d653901.entry.js +6 -0
- package/dist/calcite/{p-524fea3a.js → p-5e508553.js} +2 -2
- package/dist/calcite/{p-1046e7e2.entry.js → p-5f351559.entry.js} +2 -2
- package/dist/calcite/{p-f5265e9c.js → p-5fe7e41b.js} +2 -2
- package/dist/calcite/{p-2fe44d84.entry.js → p-61cb77cc.entry.js} +2 -2
- package/dist/calcite/{p-1f327aeb.entry.js → p-6215d177.entry.js} +2 -2
- package/dist/calcite/{p-1689a8df.entry.js → p-634c26c9.entry.js} +2 -2
- package/dist/calcite/{p-d50fdb58.js → p-6470e535.js} +2 -2
- package/dist/calcite/{p-cd5221a7.js → p-6626b1ab.js} +2 -2
- package/dist/calcite/{p-34a423fc.js → p-669843df.js} +2 -2
- package/dist/calcite/{p-8dd3a6c9.entry.js → p-67bb484b.entry.js} +2 -2
- package/dist/calcite/{p-7201666b.js → p-68dbb876.js} +2 -2
- package/dist/calcite/{p-125d425f.entry.js → p-6a743785.entry.js} +2 -2
- package/dist/calcite/{p-6bf23af0.entry.js → p-6f88b0b2.entry.js} +2 -2
- package/dist/calcite/{p-d0f48aea.entry.js → p-70107504.entry.js} +2 -2
- package/dist/calcite/{p-e4502cd2.js → p-7326d2c3.js} +2 -2
- package/dist/calcite/{p-6b4a9532.entry.js → p-754019fa.entry.js} +2 -2
- package/dist/calcite/{p-2ea4be23.js → p-7972825e.js} +2 -2
- package/dist/calcite/{p-992a9130.js → p-7d3ea013.js} +1 -1
- package/dist/calcite/{p-7d09dc6b.js → p-7d824bbf.js} +1 -1
- package/dist/calcite/{p-1e273a44.entry.js → p-7da867af.entry.js} +2 -2
- package/dist/calcite/{p-464ecfb6.js → p-7ef0fc9a.js} +2 -2
- package/dist/calcite/p-872e3bf7.js +12 -0
- package/dist/calcite/{p-89d2c5dd.js → p-87352085.js} +2 -2
- package/dist/calcite/{p-c7f4b72b.js → p-88837f42.js} +2 -2
- package/dist/calcite/{p-e98720b8.entry.js → p-897ff740.entry.js} +2 -2
- package/dist/calcite/p-899a968c.entry.js +6 -0
- package/dist/calcite/{p-ea0b95c4.entry.js → p-8d995d26.entry.js} +2 -2
- package/dist/calcite/{p-f1aa39bd.entry.js → p-8f467918.entry.js} +2 -2
- package/dist/calcite/{p-89efd4aa.js → p-902ea2e7.js} +2 -2
- package/dist/calcite/{p-79465994.js → p-90565300.js} +2 -2
- package/dist/calcite/{p-3d1a23be.js → p-9385ca77.js} +2 -2
- package/dist/calcite/{p-3c2ff142.entry.js → p-9585a744.entry.js} +2 -2
- package/dist/calcite/{p-cae349f6.entry.js → p-999184d4.entry.js} +2 -2
- package/dist/calcite/{p-181c953e.js → p-9a0913c4.js} +2 -2
- package/dist/calcite/{p-ce5d92a6.js → p-9be86efa.js} +2 -2
- package/dist/calcite/{p-ca727eff.js → p-9c8e549f.js} +2 -2
- package/dist/calcite/{p-79474058.entry.js → p-9ca7f4af.entry.js} +2 -2
- package/dist/calcite/{p-218f25ad.entry.js → p-9cef8991.entry.js} +2 -2
- package/dist/calcite/{p-6d0ea406.entry.js → p-9d74db7f.entry.js} +2 -2
- package/dist/calcite/{p-7cb089e0.js → p-9de50a36.js} +2 -2
- package/dist/calcite/{p-dd0d6bd9.js → p-9e092c1f.js} +2 -2
- package/dist/calcite/p-9e6b3225.entry.js +6 -0
- package/dist/calcite/{p-a4c234c3.js → p-a10e4482.js} +3 -3
- package/dist/calcite/{p-b39ed624.js → p-a184eecc.js} +2 -2
- package/dist/calcite/p-a66330bc.entry.js +6 -0
- package/dist/calcite/{p-0652f82b.js → p-a6f102bb.js} +2 -2
- package/dist/calcite/p-a9322b8d.entry.js +6 -0
- package/dist/calcite/{p-54807f5f.js → p-a993e7d7.js} +2 -2
- package/dist/calcite/{p-626c7806.js → p-a9caf330.js} +1 -1
- package/dist/calcite/{p-9fb008d1.js → p-aa914aa6.js} +2 -2
- package/dist/calcite/{p-386251fa.js → p-aa9f25c6.js} +2 -2
- package/dist/calcite/{p-012fc9dd.js → p-af6b4665.js} +2 -2
- package/dist/calcite/{p-b5f8d5b3.js → p-af8a5ad1.js} +2 -2
- package/dist/calcite/{p-bbf73ead.js → p-b021d6c2.js} +2 -2
- package/dist/calcite/{p-14ef7f3d.js → p-b03b3ee6.js} +2 -2
- package/dist/calcite/{p-4514bf84.js → p-b0baf314.js} +2 -2
- package/dist/calcite/{p-d752cac8.js → p-b3217cd8.js} +2 -2
- package/dist/calcite/{p-49843433.entry.js → p-b46a95f6.entry.js} +2 -2
- package/dist/calcite/{p-e838ec13.entry.js → p-b48f8e9c.entry.js} +2 -2
- package/dist/calcite/{p-52f87ac6.js → p-b75b04f6.js} +1 -1
- package/dist/calcite/{p-559339a1.entry.js → p-b8f8dd11.entry.js} +2 -2
- package/dist/calcite/{p-c0f33a57.entry.js → p-bcda0f15.entry.js} +2 -2
- package/dist/calcite/p-bec36110.js +6 -0
- package/dist/calcite/{p-c1045e8f.entry.js → p-c0e3f382.entry.js} +2 -2
- package/dist/calcite/{p-8e6b9485.js → p-c476e7fa.js} +2 -2
- package/dist/calcite/{p-48607ef9.entry.js → p-c5242f0b.entry.js} +2 -2
- package/dist/calcite/{p-6e0020dc.js → p-c8585f57.js} +2 -2
- package/dist/calcite/{p-c5575126.js → p-cabacd7b.js} +2 -2
- package/dist/calcite/{p-3bfce695.entry.js → p-d21757c6.entry.js} +2 -2
- package/dist/calcite/{p-9e256c28.js → p-d2cf8867.js} +2 -2
- package/dist/calcite/{p-cd3cbe6b.js → p-d2f430cf.js} +2 -2
- package/dist/calcite/{p-75fba28e.entry.js → p-d4f9e8a9.entry.js} +2 -2
- package/dist/calcite/p-d5f3d591.js +6 -0
- package/dist/calcite/{p-19c88403.entry.js → p-d662680f.entry.js} +2 -2
- package/dist/calcite/p-d823ccef.js +6 -0
- package/dist/calcite/{p-eec8e306.js → p-d833547b.js} +2 -2
- package/dist/calcite/{p-9d0e4d23.entry.js → p-d934acf2.entry.js} +2 -2
- package/dist/calcite/p-dab319f5.js +6 -0
- package/dist/calcite/{p-0b7270da.js → p-db3b90e5.js} +2 -2
- package/dist/calcite/{p-821852f3.js → p-dc127b58.js} +1 -1
- package/dist/calcite/{p-90f13f3b.entry.js → p-dc28728c.entry.js} +2 -2
- package/dist/calcite/{p-0fc17b9c.js → p-deef244a.js} +2 -2
- package/dist/calcite/{p-c8378a5d.js → p-df5b193f.js} +1 -1
- package/dist/calcite/{p-b4ac67f2.js → p-dfaa748c.js} +2 -2
- package/dist/calcite/{p-a637476f.js → p-e2743940.js} +2 -2
- package/dist/calcite/{p-4017543e.js → p-e4206b79.js} +2 -2
- package/dist/calcite/{p-e19045cd.entry.js → p-e64ae5f1.entry.js} +2 -2
- package/dist/calcite/{p-8f03188b.js → p-e6c167bd.js} +2 -2
- package/dist/calcite/{p-f1e59250.entry.js → p-e8a9892b.entry.js} +2 -2
- package/dist/calcite/{p-0bba92d1.js → p-e9309e35.js} +2 -2
- package/dist/calcite/{p-8f9c8565.entry.js → p-eb083c99.entry.js} +2 -2
- package/dist/calcite/p-eb50cbfc.entry.js +6 -0
- package/dist/calcite/{p-03e5d356.js → p-ed19d6b1.js} +2 -2
- package/dist/calcite/{p-f2d63715.entry.js → p-ef82a8d6.entry.js} +2 -2
- package/dist/calcite/{p-2c2cdf3d.entry.js → p-f0a1ad4b.entry.js} +2 -2
- package/dist/calcite/{p-8170e3f8.entry.js → p-f22f90a2.entry.js} +2 -2
- package/dist/calcite/{p-859b47a3.js → p-f348d00a.js} +2 -2
- package/dist/calcite/{p-c28e7bff.js → p-f35a3f99.js} +2 -2
- package/dist/calcite/{p-538ae79f.entry.js → p-f4051ed8.entry.js} +2 -2
- package/dist/calcite/{p-611c0f03.entry.js → p-f4f95041.entry.js} +2 -2
- package/dist/calcite/{p-5eea016d.js → p-f77690b0.js} +1 -1
- package/dist/calcite/{p-6a7fa577.js → p-f79d4546.js} +2 -2
- package/dist/calcite/{p-53b09ad3.entry.js → p-f82f7cb8.entry.js} +2 -2
- package/dist/calcite/{p-775d8646.entry.js → p-fa9fc25e.entry.js} +2 -2
- package/dist/calcite/{p-eb3670a6.js → p-fabe7c87.js} +1 -1
- package/dist/calcite/{p-a7f49478.js → p-fe0ff403.js} +2 -2
- package/dist/cjs/{ExpandToggle-b8c50e31.js → ExpandToggle-c76bfe8c.js} +5 -5
- package/dist/cjs/{FloatingArrow-bbbd93ea.js → FloatingArrow-3a5d5ca7.js} +2 -2
- package/dist/cjs/{Heading-a6b8cd20.js → Heading-e76bf6d7.js} +2 -2
- package/dist/cjs/{app-globals-f99c8226.js → app-globals-1677ce1d.js} +2 -2
- package/dist/cjs/{ar-513f01b5.js → ar-4f564400.js} +17 -17
- package/dist/cjs/{array-ab54d223.js → array-3c223d8a.js} +1 -1
- package/dist/cjs/{bg-1349a2ec.js → bg-021b6282.js} +17 -17
- package/dist/cjs/{browser-96695776.js → browser-aeb57166.js} +1 -1
- package/dist/cjs/{bs-43bb492e.js → bs-e0d58da9.js} +17 -17
- package/dist/cjs/{ca-0311a3b6.js → ca-7f85b36b.js} +17 -17
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- 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 +19 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
- 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 +14 -14
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +26 -20
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-44fcc4e7.js → calcite-input-time-picker.calcite-time-picker-b97d3579.js} +61 -61
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +28 -23
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- 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 +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
- 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 +15 -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 +11 -11
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +23 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-f7a00c82.js → conditionalSlot-22a7444f.js} +3 -3
- package/dist/cjs/{cs-a7e42c72.js → cs-31d48828.js} +17 -17
- package/dist/cjs/{da-96f4229d.js → da-153d2e18.js} +17 -17
- package/dist/cjs/{de-at-a2bc7e5b.js → de-at-bde2da78.js} +17 -17
- package/dist/cjs/{de-ch-b52594f9.js → de-ch-f667b648.js} +17 -17
- package/dist/cjs/{de-0f5517f5.js → de-d00d9193.js} +17 -17
- package/dist/cjs/{debounce-f79637d5.js → debounce-6ce021af.js} +1 -1
- package/dist/cjs/{dom-63781a9d.js → dom-2ebce761.js} +3 -3
- package/dist/cjs/{el-3e5c3360.js → el-33109e33.js} +17 -17
- package/dist/cjs/{en-au-6a5e1cea.js → en-au-5cbf69e1.js} +17 -17
- package/dist/cjs/{en-ca-2b9be37a.js → en-ca-3d138b80.js} +17 -17
- package/dist/cjs/{en-gb-e0e1d0b1.js → en-gb-20a01f3c.js} +17 -17
- package/dist/cjs/{es-2f8b05c0.js → es-7a96e1df.js} +17 -17
- package/dist/cjs/{es-mx-aefbbe99.js → es-mx-25eb0cb2.js} +17 -17
- package/dist/cjs/{et-b585c237.js → et-b57e5b96.js} +17 -17
- package/dist/cjs/{fi-9b11cdd0.js → fi-02578986.js} +17 -17
- package/dist/cjs/{filter-2d19dc0b.js → filter-c976a90b.js} +2 -2
- package/dist/cjs/{floating-ui-9a8502c1.js → floating-ui-0c72b350.js} +3 -3
- package/dist/cjs/{focusTrapComponent-0285ea83.js → focusTrapComponent-afcab509.js} +2 -2
- package/dist/cjs/{form-180dd5f7.js → form-feebcf1c.js} +3 -3
- package/dist/cjs/{fr-9b87d539.js → fr-9b4b9cb3.js} +17 -17
- package/dist/cjs/{fr-ch-fff6343b.js → fr-ch-dab20d35.js} +17 -17
- package/dist/cjs/{guid-394b057e.js → guid-77c3b76c.js} +1 -1
- package/dist/cjs/{he-7e9266cc.js → he-f1c6a82c.js} +17 -17
- package/dist/cjs/{hi-487f5ba5.js → hi-41bcdf6d.js} +17 -17
- package/dist/cjs/{hr-9b725b8c.js → hr-ae799368.js} +17 -17
- package/dist/cjs/{hu-8aeb1ba4.js → hu-1616cc1e.js} +17 -17
- package/dist/cjs/{id-d2b47192.js → id-cce93675.js} +17 -17
- package/dist/cjs/{index-4e806d08.js → index-2c334c91.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-d25b07c6.js → interactive-cd92bc2b.js} +2 -2
- package/dist/cjs/{it-ch-e52530c9.js → it-ch-5064a0dc.js} +17 -17
- package/dist/cjs/{it-e3d003a8.js → it-dbbdd862.js} +17 -17
- package/dist/cjs/{ja-a464224a.js → ja-6e751300.js} +17 -17
- package/dist/cjs/{key-55b0493b.js → key-8fd36c77.js} +1 -1
- package/dist/cjs/{ko-5c041d8f.js → ko-c30b3d87.js} +17 -17
- package/dist/cjs/{label-e5955789.js → label-0dfddc62.js} +2 -2
- package/dist/cjs/{loadable-3e440657.js → loadable-d939c353.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-1cbd3212.js → locale-48e01f6d.js} +4 -4
- package/dist/cjs/{lt-0e6c8a23.js → lt-636d54e9.js} +17 -17
- package/dist/cjs/{lv-4daf6dbc.js → lv-be4b71a0.js} +17 -17
- package/dist/cjs/{math-a4e91bed.js → math-fcf5a0f8.js} +1 -1
- package/dist/cjs/{mk-2273ad62.js → mk-bc57fd46.js} +17 -17
- package/dist/cjs/{nb-3bfcd3f4.js → nb-4ef07926.js} +17 -17
- package/dist/cjs/{nl-df479d03.js → nl-8aac83c2.js} +17 -17
- package/dist/cjs/{observers-10c6b945.js → observers-d891a410.js} +1 -1
- package/dist/cjs/{openCloseComponent-c360cdc5.js → openCloseComponent-ccd6ddc9.js} +2 -2
- package/dist/cjs/{pl-fb9a7506.js → pl-c9e98798.js} +17 -17
- package/dist/cjs/{pt-0fd46bce.js → pt-ad764f23.js} +17 -17
- package/dist/cjs/{pt-br-333ee14c.js → pt-br-6e07e1d6.js} +17 -17
- package/dist/cjs/{resources-8ec8c4bb.js → resources-4ba9e8b5.js} +5 -5
- package/dist/cjs/{resources-2aaf9eab.js → resources-71a66cfb.js} +1 -1
- package/dist/cjs/{resources-29610118.js → resources-7560021d.js} +1 -1
- package/dist/cjs/{resources-288ba5c0.js → resources-8adec15f.js} +1 -1
- package/dist/cjs/{resources-0f7ebd7a.js → resources-b6a1dca2.js} +1 -1
- package/dist/cjs/{resources-dca0dfc6.js → resources-dbcdf3c3.js} +1 -1
- package/dist/cjs/{resources-a8bc55f3.js → resources-e14901d2.js} +1 -1
- package/dist/cjs/{ro-fc2582eb.js → ro-3a1e26a7.js} +17 -17
- package/dist/cjs/{ru-ef7085da.js → ru-12b1eb75.js} +17 -17
- package/dist/cjs/{sk-37274618.js → sk-b1516dab.js} +17 -17
- package/dist/cjs/{sl-8443fa8d.js → sl-22c7308a.js} +17 -17
- package/dist/cjs/{sortableComponent-5ac5ba99.js → sortableComponent-ca46f630.js} +21 -32
- package/dist/cjs/{sr-f514ec6e.js → sr-75eb5a85.js} +17 -17
- package/dist/cjs/{sv-0127bcab.js → sv-6a47013e.js} +17 -17
- package/dist/cjs/{t9n-11ffe988.js → t9n-28a0fcde.js} +3 -3
- package/dist/cjs/{th-f6def926.js → th-25eb22c9.js} +17 -17
- package/dist/cjs/{throttle-14983c96.js → throttle-cb7772b6.js} +2 -2
- package/dist/cjs/{tr-8d1371c6.js → tr-31cf5c6b.js} +17 -17
- package/dist/cjs/{uk-cb848c60.js → uk-e4bc39a8.js} +17 -17
- package/dist/cjs/{utils-96a2efd3.js → utils-e42d5351.js} +1 -1
- package/dist/cjs/{utils-13401a97.js → utils-f135be62.js} +3 -3
- package/dist/cjs/{vi-d34859f3.js → vi-fc1cff55.js} +17 -17
- package/dist/cjs/{zh-cn-56e03c4f.js → zh-cn-72d37c2c.js} +17 -17
- package/dist/cjs/{zh-hk-13b51c09.js → zh-hk-7a646186.js} +17 -17
- package/dist/cjs/{zh-tw-8b407105.js → zh-tw-6829774b.js} +17 -17
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +31 -7
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +27 -27
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +14 -8
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.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.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +14 -8
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +20 -31
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +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 +15 -10
- 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 +8 -2
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +8 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +14 -7
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +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 +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +21 -33
- 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/tile.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-132dbe94.js → ExpandToggle-87d88ef1.js} +5 -5
- package/dist/esm/{FloatingArrow-7c291a8e.js → FloatingArrow-144dd3c9.js} +2 -2
- package/dist/esm/{Heading-3948e23c.js → Heading-48474872.js} +2 -2
- package/dist/esm/{app-globals-66097deb.js → app-globals-bba743d9.js} +2 -2
- package/dist/esm/{ar-0733002d.js → ar-7ca58bf0.js} +17 -17
- package/dist/esm/{array-6b992ce2.js → array-8a6ab989.js} +1 -1
- package/dist/esm/{bg-12bdbf66.js → bg-4ba57b3e.js} +17 -17
- package/dist/esm/{browser-0c1cc9ed.js → browser-d85540ab.js} +1 -1
- package/dist/esm/{bs-a9879d70.js → bs-e23411dd.js} +17 -17
- package/dist/esm/{ca-3aa8a368.js → ca-fb8b7eb0.js} +17 -17
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +12 -12
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +14 -14
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- 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 +19 -19
- package/dist/esm/calcite-date-picker_4.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js +13 -13
- 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 +14 -14
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-date-picker.entry.js +19 -19
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +26 -20
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-5c3eb0fd.js → calcite-input-time-picker.calcite-time-picker-ab6d198e.js} +61 -61
- package/dist/esm/calcite-input-time-picker_2.entry.js +17 -17
- package/dist/esm/calcite-input-time-zone.entry.js +14 -14
- package/dist/esm/calcite-input.entry.js +14 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +28 -23
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +10 -10
- 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 +16 -16
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
- 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 +15 -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 +11 -11
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +12 -12
- package/dist/esm/calcite-table-row.entry.js +8 -8
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +23 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-fb58b57c.js → conditionalSlot-a9cb65a1.js} +3 -3
- package/dist/esm/{cs-b345eb0f.js → cs-4857c890.js} +17 -17
- package/dist/esm/{da-b141a1ed.js → da-591fca6b.js} +17 -17
- package/dist/esm/{de-8a302e9d.js → de-45fa8e95.js} +17 -17
- package/dist/esm/{de-at-fbeb26f9.js → de-at-8141f95e.js} +17 -17
- package/dist/esm/{de-ch-f059f895.js → de-ch-e5590752.js} +17 -17
- package/dist/esm/{debounce-e6e1d671.js → debounce-b18124df.js} +1 -1
- package/dist/esm/{dom-0df3c83f.js → dom-e339086c.js} +3 -3
- package/dist/esm/{el-72ec8759.js → el-360c4040.js} +17 -17
- package/dist/esm/{en-au-cfccb64a.js → en-au-3ce4ad59.js} +17 -17
- package/dist/esm/{en-ca-0ca2db79.js → en-ca-f06cdfde.js} +17 -17
- package/dist/esm/{en-gb-ce9b3090.js → en-gb-737a237f.js} +17 -17
- package/dist/esm/{es-6dbd367b.js → es-9cfe9be2.js} +17 -17
- package/dist/esm/{es-mx-ed00d9f1.js → es-mx-b93112c1.js} +17 -17
- package/dist/esm/{et-87b2d4e0.js → et-f253be95.js} +17 -17
- package/dist/esm/{fi-e1ea4389.js → fi-191e826f.js} +17 -17
- package/dist/esm/{filter-06894854.js → filter-6203387f.js} +2 -2
- package/dist/esm/{floating-ui-05e106dd.js → floating-ui-4af575c5.js} +3 -3
- package/dist/esm/{focusTrapComponent-924b8c23.js → focusTrapComponent-6e249bcd.js} +2 -2
- package/dist/esm/{form-25d6cbff.js → form-da43210d.js} +3 -3
- package/dist/esm/{fr-471ff561.js → fr-39e53048.js} +17 -17
- package/dist/esm/{fr-ch-f2560a7b.js → fr-ch-1c1af37e.js} +17 -17
- package/dist/esm/{guid-530ad363.js → guid-bc9b2a2a.js} +1 -1
- package/dist/esm/{he-6ac18316.js → he-99c92a41.js} +17 -17
- package/dist/esm/{hi-4d1d6448.js → hi-e43b25d5.js} +17 -17
- package/dist/esm/{hr-9778b65e.js → hr-226e65ff.js} +17 -17
- package/dist/esm/{hu-a47e590d.js → hu-7cdfb0fe.js} +17 -17
- package/dist/esm/{id-51d43f39.js → id-4081f620.js} +17 -17
- package/dist/esm/{index-db7176d3.js → index-ea1437d9.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-68fffb52.js → interactive-3cd49281.js} +2 -2
- package/dist/esm/{it-38925471.js → it-442e622b.js} +17 -17
- package/dist/esm/{it-ch-64d91866.js → it-ch-9bc36805.js} +17 -17
- package/dist/esm/{ja-f766410b.js → ja-6a865214.js} +17 -17
- package/dist/esm/{key-36914180.js → key-5c198520.js} +1 -1
- package/dist/esm/{ko-5316e025.js → ko-dde99dc2.js} +17 -17
- package/dist/esm/{label-4c2fd760.js → label-8f54ab67.js} +2 -2
- package/dist/esm/{loadable-6ad901ec.js → loadable-cc7d535d.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-cd8016f0.js → locale-e0f81363.js} +4 -4
- package/dist/esm/{lt-c1791f90.js → lt-dd5e9616.js} +17 -17
- package/dist/esm/{lv-dc710f0c.js → lv-ef56f08b.js} +17 -17
- package/dist/esm/{math-99f25d08.js → math-93304a6f.js} +1 -1
- package/dist/esm/{mk-0357f05f.js → mk-03270b8a.js} +17 -17
- package/dist/esm/{nb-d0367afe.js → nb-48825584.js} +17 -17
- package/dist/esm/{nl-4c1cc368.js → nl-9121735b.js} +17 -17
- package/dist/esm/{observers-506cbaf7.js → observers-d33369ef.js} +1 -1
- package/dist/esm/{openCloseComponent-1744bfff.js → openCloseComponent-de2e797b.js} +2 -2
- package/dist/esm/{pl-8de984cf.js → pl-55e40164.js} +17 -17
- package/dist/esm/{pt-br-c47bdb05.js → pt-br-9fcefae0.js} +17 -17
- package/dist/esm/{pt-c13c29c6.js → pt-f9e9602d.js} +17 -17
- package/dist/esm/{resources-1e2b68ea.js → resources-121ad4bd.js} +5 -5
- package/dist/esm/{resources-2c000ba7.js → resources-1b8b153d.js} +1 -1
- package/dist/esm/{resources-9cc69818.js → resources-2307aae8.js} +1 -1
- package/dist/esm/{resources-526a04ee.js → resources-5e0ff5e2.js} +1 -1
- package/dist/esm/{resources-305766e2.js → resources-7326e19b.js} +1 -1
- package/dist/esm/{resources-3d8f4c56.js → resources-85732fc8.js} +1 -1
- package/dist/esm/{resources-960d69ed.js → resources-ee32864b.js} +1 -1
- package/dist/esm/{ro-7199ef21.js → ro-dc2f89f9.js} +17 -17
- package/dist/esm/{ru-3d72e031.js → ru-37e3bc4d.js} +17 -17
- package/dist/esm/{sk-11267893.js → sk-d5f3a0f2.js} +17 -17
- package/dist/esm/{sl-0829768d.js → sl-81d2ab06.js} +17 -17
- package/dist/esm/{sortableComponent-798a5e55.js → sortableComponent-f9665fdd.js} +21 -33
- package/dist/esm/{sr-6f0dae38.js → sr-507ddcf6.js} +17 -17
- package/dist/esm/{sv-bad704f3.js → sv-075b1d05.js} +17 -17
- package/dist/esm/{t9n-b9ea4ed7.js → t9n-628d6f8b.js} +3 -3
- package/dist/esm/{th-2351e1d9.js → th-3736323c.js} +17 -17
- package/dist/esm/{throttle-5aa3ae5a.js → throttle-2185ffca.js} +2 -2
- package/dist/esm/{tr-f04b9d50.js → tr-02212203.js} +17 -17
- package/dist/esm/{uk-d41b89a9.js → uk-992707cc.js} +17 -17
- package/dist/esm/{utils-e6d1a6a2.js → utils-9abcdb88.js} +3 -3
- package/dist/esm/{utils-0831d9b1.js → utils-c025f68d.js} +1 -1
- package/dist/esm/{vi-bccdf3c3.js → vi-fcebf562.js} +17 -17
- package/dist/esm/{zh-cn-ff1c51eb.js → zh-cn-5234a57b.js} +17 -17
- package/dist/esm/{zh-hk-16dab4cf.js → zh-hk-34ae87dc.js} +17 -17
- package/dist/esm/{zh-tw-12d2e9ee.js → zh-tw-4088c08e.js} +17 -17
- package/dist/extras/docs-json.json +32 -15
- package/dist/extras/vscode-data.json +4 -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/types/components/input-number/input-number.d.ts +2 -0
- package/dist/types/components/list/list.d.ts +8 -7
- package/dist/types/components/list-item/list-item.d.ts +1 -1
- package/dist/types/components/sortable-list/sortable-list.d.ts +3 -3
- package/dist/types/components/value-list/value-list.d.ts +3 -3
- package/dist/types/components.d.ts +23 -15
- package/dist/types/utils/sortableComponent.d.ts +15 -8
- package/hydrate/index.js +58 -77
- package/package.json +2 -2
- package/dist/calcite/p-019c785c.entry.js +0 -6
- package/dist/calcite/p-08eadd14.js +0 -6
- package/dist/calcite/p-0f30f888.entry.js +0 -6
- package/dist/calcite/p-1dca9d13.js +0 -6
- package/dist/calcite/p-1f74ce8b.entry.js +0 -6
- package/dist/calcite/p-2663fb70.entry.js +0 -6
- package/dist/calcite/p-29b79775.entry.js +0 -6
- package/dist/calcite/p-2c0099b4.js +0 -6
- package/dist/calcite/p-2e8386db.js +0 -6
- package/dist/calcite/p-329457c1.entry.js +0 -6
- package/dist/calcite/p-a2096bab.js +0 -6
- package/dist/calcite/p-c3823024.entry.js +0 -6
- package/dist/calcite/p-f3ddfe32.entry.js +0 -6
- package/dist/calcite/p-f4e8d076.js +0 -12
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.18
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,a as s,H as n}from"./p-52f87ac6.js";import{b as a,t as l,g as o}from"./p-a4c234c3.js";import{c,d as r,u as h}from"./p-ce5d92a6.js";import{c as d}from"./p-5f17a9d3.js";import{d as p,c as u}from"./p-f4e8d076.js";import{S as m}from"./p-821852f3.js";import{s as f,a as b,c as g}from"./p-7201666b.js";import{d as v}from"./p-048225ec.js";import{c as w,d as y}from"./p-9e256c28.js";import{u as x,c as C,s as k,d as I}from"./p-2c0099b4.js";import"./p-c8378a5d.js";import"./p-5eea016d.js";import"./p-eb3670a6.js";import"./p-b46d8ed8.js";const E="open-container",L="calcite-list-item";function S(t){const e=t.assignedElements({flatten:!0}),i=e.filter((t=>t?.matches("calcite-list-item-group"))).map((t=>Array.from(t.querySelectorAll(L)))).reduce(((t,e)=>[...t,...e]),[]),s=e.filter((t=>t?.matches(L)));return[...e.filter((t=>t?.matches("calcite-list"))).map((t=>Array.from(t.querySelectorAll(L)))).reduce(((t,e)=>[...t,...e]),[]),...i,...s]}function z(t){t.forEach((e=>{e.setPosition=t.indexOf(e)+1,e.setSize=t.length}))}function A(t,e=!1){return document.evaluate(e?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const D="calcite-list-item",j=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteInternalListDefaultSlotChange=e(this,"calciteInternalListDefaultSlotChange",6),this.dragSelector="calcite-list-item",this.enabledListItems=[],this.handleSelector="calcite-handle",this.listItems=[],this.mutationObserver=d("mutation",(()=>this.updateListItems())),this.handleDefaultSlotChange=t=>{z(S(t.target)),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()},this.handleFilterActionsStartSlotChange=t=>{this.hasFilterActionsStart=a(t)},this.handleFilterActionsEndSlotChange=t=>{this.hasFilterActionsEnd=a(t)},this.setActiveListItem=()=>{const{enabledListItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.enabledListItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.updateFilteredItems=(t=!1)=>{const{listItems:e,filteredData:i,filterText:s}=this,n=i.map((t=>t.value)),a=e?.filter((t=>e.every((e=>e===t||!t.contains(e))))),l=e.filter((t=>!s||n.includes(t.value)))||[],o=new WeakSet;a.forEach((t=>this.filterElements({el:t,filteredItems:l,visibleParents:o}))),this.filteredItems=l,t&&this.calciteListFilter.emit()},this.setFilterEl=t=>{this.filterEl=t,this.performFilter()},this.handleFilterChange=t=>{t.stopPropagation();const{value:e}=t.currentTarget;this.filterText=e,this.updateFilteredData(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=v(((t=!1)=>{const{selectionAppearance:e,selectionMode:i,dragEnabled:s}=this;if(this.parentListEl)return this.queryListItems(!0).forEach((t=>{t.dragHandle=s})),void this.setUpSorting();const n=this.queryListItems();n.forEach((t=>{t.selectionAppearance=e,t.selectionMode=i})),this.queryListItems(!0).forEach((t=>{t.dragHandle=s})),this.listItems=n,this.filterEnabled&&(this.dataForFilter=this.getItemData(),this.filterEl&&(this.filterEl.items=this.dataForFilter)),this.updateFilteredItems(t),this.enabledListItems=this.filteredItems.filter((t=>!t.disabled&&!t.closed)),this.setActiveListItem(),this.updateSelectedItems(t),this.setUpSorting()}),0),this.queryListItems=(t=!1)=>Array.from(this.el.querySelectorAll(t?":scope > calcite-list-item":D)),this.focusRow=t=>{const{enabledListItems:e}=this;t&&(e.forEach((e=>e.active=e===t)),t.setFocus())},this.isNavigable=t=>{const e=t.parentElement?.closest(D);return!e||e.open&&this.isNavigable(e)},this.handleListKeydown=t=>{if(t.defaultPrevented||this.parentListEl)return;const{key:e}=t,i=this.enabledListItems.filter((t=>this.isNavigable(t))),s=i.findIndex((t=>t.active));if("ArrowDown"===e){t.preventDefault();const e=t.target===this.filterEl?0:s+1;i[e]&&this.focusRow(i[e])}else if("ArrowUp"===e){if(t.preventDefault(),0===s&&this.filterEnabled)return void this.filterEl?.setFocus();const e=s-1;i[e]&&this.focusRow(i[e])}else if("Home"===e){t.preventDefault();const e=i[0];e&&this.focusRow(e)}else if("End"===e){t.preventDefault();const e=i[i.length-1];e&&this.focusRow(e)}},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.group=void 0,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.assistiveText=void 0,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1}async handleFilterTextChange(){this.performFilter()}handleListItemChange(){this.updateListItems()}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl)return;t.stopPropagation();const{enabledListItems:e}=this,i=e.findIndex((t=>t.active))-1;e[i]&&this.focusRow(e[i])}handleCalciteInternalListItemActive(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i}=this;i.forEach((t=>{t.active=t===e}))}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalHandleChange(t){this.assistiveText=t.detail.message,t.stopPropagation()}handleCalciteHandleNudge(t){this.parentListEl||this.handleNudgeEvent(t)}handleCalciteInternalListItemSelect(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i,selectionMode:s}=this;!e.selected||"single"!==s&&"single-persist"!==s||i.forEach((t=>t.selected=t===e)),this.updateSelectedItems()}handleCalciteInternalListItemChange(t){this.parentListEl||(t.stopPropagation(),this.updateListItems())}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectedCallback(){this.connectObserver(),this.updateListItems(),this.setUpSorting(),c(this),this.parentListEl=this.el.parentElement.closest("calcite-list")}disconnectedCallback(){this.disconnectObserver(),p(this),r(this)}componentWillLoad(){f(this)}componentDidRender(){h(this)}componentDidLoad(){b(this)}async setFocus(){return await g(this),this.filterEnabled?this.filterEl?.setFocus():this.enabledListItems.find((t=>t.active))?.setFocus()}render(){const{loading:t,label:e,disabled:s,dataForFilter:n,filterEnabled:a,filterPlaceholder:o,filterText:c,hasFilterActionsStart:r,hasFilterActionsEnd:h}=this;return i("div",{class:"container"},this.dragEnabled?i("span",{"aria-live":"assertive",class:"assistive-text"},this.assistiveText):null,t?i("calcite-scrim",{class:"scrim",loading:t}):null,i("table",{"aria-busy":l(t),"aria-label":e||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},a||r||h?i("thead",null,i("tr",{class:{"sticky-pos":!0}},i("th",{colSpan:0},i("calcite-stack",{class:"stack"},i("slot",{name:"filter-actions-start",onSlotchange:this.handleFilterActionsStartSlotChange,slot:m.actionsStart}),i("calcite-filter",{"aria-label":o,disabled:t||s,items:n,onCalciteFilterChange:this.handleFilterChange,placeholder:o,value:c,ref:this.setFilterEl}),i("slot",{name:"filter-actions-end",onSlotchange:this.handleFilterActionsEndSlotChange,slot:m.actionsEnd}))))):null,i("tbody",{class:"table-container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}))))}connectObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){const{dragEnabled:t}=this;t&&u(this)}onDragStart(){this.disconnectObserver()}onDragEnd(){this.connectObserver()}onDragSort(t){this.updateListItems();const{from:e,item:i,to:s}=t;this.calciteListOrderChange.emit({dragEl:i,fromEl:e,toEl:s})}filterElements({el:t,filteredItems:e,visibleParents:i}){const s=!i.has(t)&&!e.includes(t);t.hidden=s;const n=t.parentElement.closest("calcite-list-item-group, calcite-list-item");n&&(s||i.add(n),this.filterElements({el:n,filteredItems:e,visibleParents:i}))}updateFilteredData(t=!1){const{filterEl:e}=this;e&&(e.filteredItems&&(this.filteredData=e.filteredItems),this.updateListItems(t))}async performFilter(){const{filterEl:t,filterText:e}=this;t&&(t.value=e,await t.filter(e),this.updateFilteredData())}handleNudgeEvent(t){const{direction:e}=t.detail,i=t.composedPath(),s=i.find((t=>"CALCITE-HANDLE"===t.tagName)),n=i.find((t=>"CALCITE-LIST-ITEM"===t.tagName)),a=n?.parentElement;if(!a)return;const{enabledListItems:l}=this,o=l.filter((t=>t.parentElement===a)),c=o.length-1,r=o.indexOf(n);let h,d=!1;"up"===e?0===r?d=!0:h=r-1:r===c?h=0:r===c-1?d=!0:h=r+2,this.disconnectObserver(),d?a.appendChild(n):a.insertBefore(n,o[h]),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:n,fromEl:null,toEl:null}),s.setFocus().then((()=>{s.activated=!0}))}get el(){return s(this)}static get watchers(){return{filterText:["handleFilterTextChange"],filterEnabled:["handleListItemChange"],group:["handleListItemChange"],dragEnabled:["handleListItemChange"],selectionMode:["handleListItemChange"],selectionAppearance:["handleListItemChange"]}}};j.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{position:relative}.table-container{position:relative;z-index:var(--calcite-app-z-index);box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}.stack{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky);background-color:var(--calcite-ui-foreground-1)}.sticky-pos th{padding:0px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const F=new Map,M=class{constructor(i){t(this,i),this.calciteListItemSelect=e(this,"calciteListItemSelect",6),this.calciteListItemClose=e(this,"calciteListItemClose",6),this.calciteInternalListItemSelect=e(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemActive=e(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=e(this,"calciteInternalFocusPreviousItem",6),this.calciteInternalListItemChange=e(this,"calciteInternalListItemChange",6),this.closeClickHandler=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=a(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=a(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=a(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=a(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=a(t)},this.handleDefaultSlotChange=t=>{this.handleOpenableChange(t.target)},this.toggleOpen=()=>{this.open=!this.open},this.itemClicked=t=>{t.defaultPrevented||(this.toggleSelected(),this.calciteInternalListItemActive.emit())},this.toggleSelected=()=>{const{selectionMode:t,selected:e}=this;this.disabled||("multiple"===t||"single"===t?this.selected=!e:"single-persist"===t&&(this.selected=!0),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{if(t.defaultPrevented)return;const{key:e}=t,i=t.composedPath(),{containerEl:s,contentEl:n,actionsStartEl:a,actionsEndEl:l,open:o,openable:c}=this,r=[a,n,l].filter(Boolean),h=r.findIndex((t=>i.includes(t)));if("Enter"===e)t.preventDefault(),this.toggleSelected();else if("ArrowRight"===e){t.preventDefault();const e=h+1;-1===h?!o&&c?(this.open=!0,this.focusCell(null)):r[0]&&this.focusCell(r[0]):r[h]&&r[e]&&this.focusCell(r[e])}else if("ArrowLeft"===e){t.preventDefault();const e=h-1;-1===h?(this.focusCell(null),o&&c?this.open=!1:this.calciteInternalFocusPreviousItem.emit()):0===h?(this.focusCell(null),s.focus()):r[h]&&r[e]&&this.focusCell(r[e])}},this.focusCellNull=()=>{this.focusCell(null)},this.focusCell=(t,e=!0)=>{const{contentEl:i,actionsStartEl:s,actionsEndEl:n,parentListEl:a}=this;e&&F.set(a,null),[s,i,n].filter(Boolean).forEach(((i,s)=>{const n="tabindex";i===t?(i.setAttribute(n,"0"),e&&F.set(a,s)):i.removeAttribute(n)})),t?.focus()},this.active=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.dragHandle=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.visualLevel=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1}activeHandler(t){t||this.focusCell(null,!1)}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}onMessagesChange(){}handleCalciteInternalListDefaultSlotChanges(t){t.stopPropagation(),this.handleOpenableChange(this.defaultSlotEl)}effectiveLocaleChange(){x(this,this.effectiveLocale)}connectedCallback(){c(this),w(this),C(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=A(t)+1,this.visualLevel=A(t,!0),this.setSelectionDefaults()}async componentWillLoad(){f(this),await k(this)}componentDidLoad(){b(this)}componentDidRender(){h(this,"managed")}disconnectedCallback(){r(this),y(this),I(this)}async setFocus(){await g(this);const{containerEl:t,contentEl:e,actionsStartEl:i,actionsEndEl:s,parentListEl:n}=this,a=F.get(n);if("number"!=typeof a)t?.focus();else{const n=[i,e,s].filter(Boolean);n[a]?this.focusCell(n[a]):t?.focus()}}renderSelected(){const{selected:t,selectionMode:e,selectionAppearance:s}=this;return"none"===e||"border"===s?null:i("td",{class:"selection-container",key:"selection-container",onClick:this.itemClicked},i("calcite-icon",{icon:t?"multiple"===e?"check-circle-f":"circle-f":"blank",scale:"s"}))}renderDragHandle(){return this.dragHandle?i("td",{class:"drag-container",key:"drag-handle-container"},i("calcite-handle",{label:this.label,setPosition:this.setPosition,setSize:this.setSize})):null}renderOpen(){const{el:t,open:e,openable:s,parentListEl:n}=this,a=o(t);return s?i("td",{class:E,key:"open-container",onClick:this.toggleOpen},i("calcite-icon",{icon:e?"caret-down":"rtl"===a?"caret-left":"caret-right",scale:"s"})):n?.openable?i("td",{class:E,key:"open-container",onClick:this.itemClicked},i("calcite-icon",{icon:"blank",scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:e}=this;return i("td",{"aria-label":t,class:"actions-start",hidden:!e,key:"actions-start-container",role:"gridcell",ref:t=>this.actionsStartEl=t},i("slot",{name:"actions-start",onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:e,closable:s,messages:n}=this;return i("td",{"aria-label":t,class:"actions-end",hidden:!(e||s),key:"actions-end-container",role:"gridcell",ref:t=>this.actionsEndEl=t},i("slot",{name:"actions-end",onSlotchange:this.handleActionsEndSlotChange}),s?i("calcite-action",{appearance:"transparent",icon:"x",key:"close-action",label:n.close,onClick:this.closeClickHandler,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:"content-start",hidden:!t},i("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return i("div",{class:"custom-content",hidden:!t},i("slot",{name:"content",onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:"content-end",hidden:!t},i("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}))}renderContentProperties(){const{label:t,description:e,hasCustomContent:s}=this;return s||!t&&!e?null:i("div",{class:"content",key:"content"},t?i("div",{class:"label",key:"label"},t):null,e?i("div",{class:"description",key:"description"},e):null)}renderContentContainer(){const{description:t,label:e,selectionMode:s,hasCustomContent:n}=this,a=n||!!e||!!t,l=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return i("td",{"aria-label":e,class:{"content-container":!0,"content-container--selectable":"none"!==s,"content-container--has-center-content":a},key:"content-container",onClick:this.itemClicked,role:"gridcell",ref:t=>this.contentEl=t},l)}render(){const{openable:t,open:e,level:s,setPosition:a,setSize:o,active:c,label:r,selected:h,selectionAppearance:d,selectionMode:p,closed:u}=this,m="none"!==p&&"border"===d,f=m&&h,b=m&&!h;return i(n,null,i("tr",{"aria-expanded":t?l(e):null,"aria-label":r,"aria-level":s,"aria-posinset":a,"aria-selected":l(h),"aria-setsize":o,class:{container:!0,"container--border-selected":f,"container--border-unselected":b},hidden:u,onFocus:this.focusCellNull,onKeyDown:this.handleItemKeyDown,role:"row",style:{"--calcite-list-item-spacing-indent-multiplier":`${this.visualLevel}`},tabIndex:c?0:-1,ref:t=>this.containerEl=t},this.renderDragHandle(),this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),i("div",{class:{"nested-container":!0,"nested-container--hidden":t&&!e}},i("slot",{onSlotchange:this.handleDefaultSlotChange,ref:t=>this.defaultSlotEl=t})))}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}setSelectionDefaults(){const{parentListEl:t,selectionMode:e,selectionAppearance:i}=this;t&&(e||(this.selectionMode=t.selectionMode),i||(this.selectionAppearance=t.selectionAppearance))}handleOpenableChange(t){if(!t)return;const{parentListEl:e}=this,i=S(t);z(i);const s=!!i.length;s&&e&&!e.openable&&(e.openable=!0),this.openable=s,s||(this.open=!1)}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],closed:["handleClosedChange"],disabled:["handleDisabledChange"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};M.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.container *{box-sizing:border-box}.container:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}.container--border-selected{border-inline-start:4px solid var(--calcite-ui-brand)}.container--border-unselected{border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{z-index:var(--calcite-app-z-index-sticky);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const P=class{constructor(i){t(this,i),this.calciteInternalListItemGroupDefaultSlotChange=e(this,"calciteInternalListItemGroupDefaultSlotChange",6),this.handleDefaultSlotChange=()=>{this.calciteInternalListItemGroupDefaultSlotChange.emit()},this.disabled=!1,this.heading=void 0,this.visualLevel=null}connectedCallback(){const{el:t}=this;this.visualLevel=A(t,!0),c(this)}componentDidRender(){h(this)}disconnectedCallback(){r(this)}render(){const{heading:t,visualLevel:e}=this;return i(n,null,i("tr",{class:"container",style:{"--calcite-list-item-spacing-indent-multiplier":`${e}`}},i("td",{class:"heading",colSpan:0},t)),i("slot",{onSlotchange:this.handleDefaultSlotChange}))}get el(){return s(this)}};P.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.heading{padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([hidden]){display:none}[hidden]{display:none}";export{j as calcite_list,M as calcite_list_item,P as calcite_list_item_group}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.18
|
|
5
|
-
*/
|
|
6
|
-
import{g as n}from"./p-52f87ac6.js";import{g as t}from"./p-9e256c28.js";const s={};function c(){throw new Error("could not fetch component message bundle")}function o(n){n.messages={...n.defaultMessages,...n.messageOverrides}}async function a(n){n.defaultMessages=await e(n,n.effectiveLocale),o(n)}async function e(o,a){const{el:e}=o,i=e.tagName.toLowerCase().replace("calcite-","");return async function(t,o){const a=`${o}_${t}`;return s[a]||(s[a]=fetch(n(`./assets/${o}/t9n/messages_${t}.json`)).then((n=>(n.ok||c(),n.json()))).catch((()=>c()))),s[a]}(t(a,"t9n"),i)}async function i(n,t){n.defaultMessages=await e(n,t),o(n)}function f(n){n.onMessagesChange=r}function u(n){n.onMessagesChange=void 0}function r(){o(this)}export{f as c,u as d,a as s,i as u}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.18
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-52f87ac6.js";import{c as o}from"./p-5f17a9d3.js";const n=new Set;let c;const f={childList:!0};function s(t){c||(c=o("mutation",i)),c.observe(t.el,f)}function a(t){n.delete(t.el),i(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,f)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{s as c,a as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.18
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,a as e,H as a}from"./p-52f87ac6.js";import{c as o,u as r,d as n}from"./p-ce5d92a6.js";import{s as h,a as c,c as l}from"./p-7201666b.js";import{c as d,d as u}from"./p-9e256c28.js";import{c as p}from"./p-5f17a9d3.js";import{u as m,c as v,s as w,d as b}from"./p-2c0099b4.js";import{g,m as f,d as x,a as y,s as k,h as L,b as j,c as C,k as I,e as D,i as z,f as H,j as A,l as F,n as S,r as R,o as B,p as U,q as _,t as E,L as M,I as O,C as V,S as q}from"./p-9fb008d1.js";import{d as K,c as T}from"./p-f4e8d076.js";import{d as W,h as P}from"./p-a4c234c3.js";import{c as $,d as G}from"./p-2e8386db.js";import{g as J}from"./p-c8378a5d.js";import"./p-eb3670a6.js";import"./p-b46d8ed8.js";import"./p-30e3b296.js";import"./p-048225ec.js";import"./p-5eea016d.js";var N;function Q(t,i,s){const{items:e,messages:a}=s,o=e.length,r=g(s,t)+1;return function(t,i,s,e){return t.replace("{position}",s.toString()).replace("{itemLabel}",i).replace("{total}",e.toString())}("idle"===i?a.dragHandleIdle:"active"===i?a.dragHandleActive:"change"===i?a.dragHandleChange:a.dragHandleCommit,t.label,r,o)}function X(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}!function(t){t.grip="grip"}(N||(N={}));const Y=class{constructor(s){t(this,s),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=p("mutation",f.bind(this)),this.handleSelector=".handle",this.dragSelector="calcite-value-list-item",this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=x.bind(this),this.deselectSiblingItems=y.bind(this),this.selectSiblings=k.bind(this),this.handleFilter=L.bind(this),this.handleFilterEvent=j.bind(this),this.getItemData=C.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:i,item:s}=X(t);if(i&&!s.handleActivated&&" "===t.key&&this.updateScreenReaderText(Q(s,"commit",this)),!i||!s.handleActivated)return void I.call(this,t);t.preventDefault();const{items:e}=this;if(" "===t.key&&this.updateScreenReaderText(Q(s,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||e.length<=1)return;const{el:a}=this,o=D(this,s,"ArrowUp"===t.key?"up":"down");if(o===e.length-1)a.appendChild(s);else{const t=a.children[o];a.insertBefore(s,t===s.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>W(i))),s.handleActivated=!0,this.updateHandleAriaLabel(i,Q(s,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:i,item:s}=X(t);!s?.handleActivated&&s&&i&&this.updateHandleAriaLabel(i,Q(s,"idle",this))},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.group=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.messageOverrides=void 0,this.messages=void 0,this.dataForFilter=[],this.defaultMessages=void 0,this.effectiveLocale="",this.selectedValues=new Map}onMessagesChange(){}effectiveLocaleChange(){m(this,this.effectiveLocale)}connectedCallback(){o(this),d(this),v(this),z.call(this),H.call(this),this.setUpSorting()}async componentWillLoad(){h(this),await w(this)}componentDidLoad(){c(this),A.call(this)}componentDidRender(){r(this)}disconnectedCallback(){n(this),K(this),u(this),b(this),F.call(this)}calciteListFocusOutHandler(t){S.call(this,t)}calciteListItemRemoveHandler(t){R.call(this,t)}calciteListItemChangeHandler(t){B.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){U.call(this,t),t.stopPropagation()}onDragStart(){F.call(this)}onDragEnd(){H.call(this)}onDragSort(){this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){_.call(this,"calcite-value-list-item"),this.setUpSorting()}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpSorting(){const{dragEnabled:t}=this;t&&T(this)}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await l(this),E.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t=N.grip),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,i){t.ariaLabel=i}handleValueListItemBlur(t){const{item:i,handle:s}=t.detail;!i?.handleActivated&&i&&this.updateHandleAriaLabel(s,Q(i,"idle",this)),t.stopPropagation()}render(){return s(M,{onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-value-list-item:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky)}calcite-filter{margin-block-end:1px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const Z="actions-end",tt="actions-start",it=class{constructor(s){t(this,s),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=i(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${J()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){$(this),o(this)}disconnectedCallback(){G(this),n(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this)}componentDidRender(){r(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){return await l(this),this.pickListItem?.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return P(t,Z)?s("slot",{name:Z,slot:q.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return P(t,tt)?s("slot",{name:tt,slot:q.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:i}=this;if(t===O.grip)return s("span",{class:{[V.handle]:!0,[V.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>this.handleEl=t,role:"button",tabindex:"0"},s("calcite-icon",{flipRtl:i,icon:"drag",scale:"s"}))}render(){return s(a,{id:this.el.id||this.guid},this.renderHandle(),s("calcite-pick-list-item",{description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,removable:this.removable,selected:this.selected,value:this.value,ref:this.getPickListRef},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return e(this)}};it.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{Y as calcite_value_list,it as calcite_value_list_item}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.18
|
|
5
|
-
*/
|
|
6
|
-
import{g as n}from"./p-52f87ac6.js";import{n as t,g as e}from"./p-9e256c28.js";function a(n,t,e){if(!n)return;const a=n.getTime(),r=!(t instanceof Date)||a>=t.getTime(),o=!(e instanceof Date)||a<=e.getTime();return r&&o}function r(n,t,e){if(!(n instanceof Date))return null;const a=n.getTime(),r=t instanceof Date&&a<t.getTime(),o=e instanceof Date&&a>e.getTime();return r?t:o?e:n}function o(n,t=!1){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const e=n.split(/[: T-]/).map(parseFloat),a=new Date(e[0],(e[1]||1)-1,e[2]||1);if(a.setFullYear(e[0]),isNaN(a.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return t?h(a):a}function s(n,t){if(!t)return null;const{separator:e}=t,a=function(n,t){const{day:e,month:a,year:r}=f(n,t);return{day:parseInt(e),month:parseInt(a)-1,year:parseInt(r)}}(n,t),{day:r,month:o}=a,s=i(a.year,t),u=new Date(s,o,r);u.setFullYear(s);const c=r>0,d=o>-1,l=!isNaN(u.getTime()),D=n.split(e).filter((n=>n)).length>2,p=s.toString().length>0;return c&&d&&l&&D&&p?u:null}function i(n,t){return c(n,t,"read")}function u(n,t){return c(n,t,"write")}function c(n,t,e){return"buddhist"!==t["default-calendar"]?n:n+543*("read"===e?-1:1)}function f(n,e){const{separator:a,unitOrder:r}=e,o=m(r),s=n.split(a).map((n=>t.delocalize(n)));return{day:s[o.indexOf("d")],month:s[o.indexOf("m")],year:s[o.indexOf("y")]}}function d(n){return n instanceof Date?new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split("T")[0]:""}function l(n){const t=n.split("-");return{day:t[2],month:t[1],year:t[0]}}function D(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function p(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t-1),t===e.getMonth()?new Date(n.getFullYear(),t,0):e}function y(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t+1),(t+2)%7==e.getMonth()%7?new Date(n.getFullYear(),t+2,0):e}function m(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function w(n,t){return(n.getTime()-t.getTime())/864e5}function h(n){return n.setHours(23,59,59,999),n}const g={},I={};async function j(t){const a=e(t);if(g[a])return g[a];I[a]||(I[a]=fetch(n(`./assets/date-picker/nls/${a}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${a}" not found or invalid, falling back to english`),j("en")))));const r=await I[a];return g[a]=r,r}function N(n){return n.map(((n,t)=>o(n,1===t)))}export{f as a,s as b,d as c,l as d,o as e,j as f,N as g,r as h,a as i,w as j,D as k,m as l,u as m,y as n,i as o,p,h as s}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.18
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,a as s,F as n}from"./p-52f87ac6.js";import{c as a}from"./p-5f17a9d3.js";import{d as o}from"./p-a4c234c3.js";import{c,d as r,a as l,H as h}from"./p-0b7270da.js";import{c as d,d as p,u}from"./p-ce5d92a6.js";import{c as m,d as b,g}from"./p-8f03188b.js";import{s as f,a as v,c as C}from"./p-7201666b.js";import"./p-c8378a5d.js";import"./p-5eea016d.js";import"./p-eb3670a6.js";const w=class{constructor(i){t(this,i),this.calciteInternalOptionChange=e(this,"calciteInternalOptionChange",6),this.mutationObserver=a("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(t,e,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){this.ensureTextContentDependentProps(),this.mutationObserver?.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return i("slot",null,this.label)}get el(){return s(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};w.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";const x=class{constructor(i){t(this,i),this.calciteInternalOptionGroupChange=e(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return i(n,null,i("div",null,this.label),i("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};x.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";function y(t){return"CALCITE-OPTION"===t.tagName}const z=class{constructor(i){t(this,i),this.calciteSelectChange=e(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=a("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>this.selectEl?.append(this.toNativeElement(t))))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((e=>e.selected=e.value===t))}selectedOptionHandler(t){this.value=t?.value}connectedCallback(){const{el:t}=this;this.mutationObserver?.observe(t,{subtree:!0,childList:!0}),d(this),m(this),c(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),p(this),b(this),r(this)}componentWillLoad(){f(this)}componentDidLoad(){v(this),l(this,this.selectedOption?.value??"")}componentDidRender(){u(this)}async setFocus(){await C(this),o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const e=t.target,i=this.componentToNativeEl.get(e);i&&(this.updateNativeElement(e,i),y(e)&&e.selected&&(this.deselectAllExcept(e),this.selectedOption=e))}onLabelClick(){this.setFocus()}updateNativeElement(t,e){if(e.disabled=t.disabled,e.label=t.label,y(t)){const i=e;i.selected=t.selected,i.value=t.value,i.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let e;this.componentToNativeEl.forEach(((i,s)=>{y(s)&&i===t&&(s.selected=!0,e=s,this.deselectAllExcept(s))})),e&&(this.selectedOption=e)}toNativeElement(t){if(y(t)){const e=document.createElement("option");return this.updateNativeElement(t,e),this.componentToNativeEl.set(t,e),e}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const e=document.createElement("optgroup");return this.updateNativeElement(t,e),Array.from(t.children).forEach((i=>{const s=this.toNativeElement(i);e.append(s),this.componentToNativeEl.set(t,s)})),this.componentToNativeEl.set(t,e),e}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((e=>{e!==t&&(e.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"l"===this.scale?"m":"s"}))}render(){return i(n,null,i("select",{"aria-label":g(this),class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(h,{component:this}))}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};z.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_option,x as calcite_option_group,z as calcite_select}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.18
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,c as t,h as e,F as s,a}from"./p-52f87ac6.js";import{f as n}from"./p-4514bf84.js";import{c as o,u as r,d as c}from"./p-ce5d92a6.js";import{s as l,a as d,c as h}from"./p-7201666b.js";import{c as p,d as m}from"./p-9e256c28.js";import{u,s as b,c as f,d as g}from"./p-2c0099b4.js";import{d as v}from"./p-048225ec.js";import"./p-eb3670a6.js";import"./p-a4c234c3.js";import"./p-c8378a5d.js";import"./p-5eea016d.js";import"./p-b46d8ed8.js";import"./p-5f17a9d3.js";const y=class{constructor(e){i(this,e),this.calciteFilterChange=t(this,"calciteFilterChange",6),this.filterDebounced=v(((i,t=!1,e)=>this.updateFiltered(n(this.items,i),t,e)),250),this.inputHandler=i=>{const t=i.target;this.value=t.value,this.filterDebounced(t.value,!0)},this.keyDownHandler=i=>{"Escape"===i.key&&(this.clear(),i.preventDefault()),"Enter"===i.key&&i.preventDefault()},this.clear=()=>{this.value="",this.filterDebounced("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.placeholder=void 0,this.scale="m",this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}watchItemsHandler(){this.filterDebounced(this.value)}onMessagesChange(){}valueHandler(i){this.filterDebounced(i)}effectiveLocaleChange(){u(this,this.effectiveLocale)}async componentWillLoad(){l(this),this.updateFiltered(n(this.items,this.value)),await b(this)}connectedCallback(){o(this),p(this),f(this)}componentDidRender(){r(this)}disconnectedCallback(){c(this),m(this),g(this),this.filterDebounced.cancel()}componentDidLoad(){d(this)}async filter(i=this.value){return new Promise((t=>{this.value=i,this.filterDebounced(i,!1,t)}))}async setFocus(){await h(this),this.el?.focus()}updateFiltered(i,t=!1,e){this.filteredItems=i,t&&this.calciteFilterChange.emit(),e?.()}render(){const{disabled:i,scale:t}=this;return e(s,null,e("div",{class:"container"},e("label",null,e("calcite-input",{"aria-label":this.messages.label,clearable:!0,disabled:i,icon:"search",messageOverrides:{clear:this.messages.clear},onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,scale:t,type:"text",value:this.value,ref:i=>{this.textInput=i}}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{items:["watchItemsHandler"],messageOverrides:["onMessagesChange"],value:["valueHandler"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_filter}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.18
|
|
5
|
-
*/
|
|
6
|
-
import{a as t}from"./p-a4c234c3.js";
|
|
7
|
-
/**!
|
|
8
|
-
* Sortable 1.15.0
|
|
9
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
10
|
-
* @author owenm <owen23355@gmail.com>
|
|
11
|
-
* @license MIT
|
|
12
|
-
*/function n(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,e)}return i}function i(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?n(Object(e),!0).forEach((function(n){o(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function o(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function r(){return r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e])}return t},r.apply(this,arguments)}function a(t,n){if(null==t)return{};var i,e,o=function(t,n){if(null==t)return{};var i,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)n.indexOf(i=r[e])>=0||(o[i]=t[i]);return o}(t,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)n.indexOf(i=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(o[i]=t[i])}return o}function u(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var s=u(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),l=u(/Edge/i),c=u(/firefox/i),f=u(/safari/i)&&!u(/chrome/i)&&!u(/android/i),h=u(/iP(ad|od|hone)/i),d=u(/chrome/i)&&u(/android/i),v={capture:!1,passive:!1};function m(t,n,i){t.addEventListener(n,i,!s&&v)}function g(t,n,i){t.removeEventListener(n,i,!s&&v)}function p(t,n){if(n){if(">"===n[0]&&(n=n.substring(1)),t)try{if(t.matches)return t.matches(n);if(t.msMatchesSelector)return t.msMatchesSelector(n);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(n)}catch(t){return!1}return!1}}function b(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function w(t,n,i,e){if(t){i=i||document;do{if(null!=n&&(">"===n[0]?t.parentNode===i&&p(t,n):p(t,n))||e&&t===i)return t;if(t===i)break}while(t=b(t))}return null}var E,y=/\s+/g;function S(t,n,i){if(t&&n)if(t.classList)t.classList[i?"add":"remove"](n);else{var e=(" "+t.className+" ").replace(y," ").replace(" "+n+" "," ");t.className=(e+(i?" "+n:"")).replace(y," ")}}function T(t,n,i){var e=t&&t.style;if(e){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===n?i:i[n];n in e||-1!==n.indexOf("webkit")||(n="-webkit-"+n),e[n]=i+("string"==typeof i?"":"px")}}function I(t,n){var i="";if("string"==typeof t)i=t;else do{var e=T(t,"transform");e&&"none"!==e&&(i=e+" "+i)}while(!n&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(i)}function O(t,n,i){if(t){var e=t.getElementsByTagName(n),o=0,r=e.length;if(i)for(;o<r;o++)i(e[o],o);return e}return[]}function x(){return document.scrollingElement||document.documentElement}function M(t,n,i,e,o){if(t.getBoundingClientRect||t===window){var r,a,u,l,c,f,h;if(t!==window&&t.parentNode&&t!==x()?(a=(r=t.getBoundingClientRect()).top,u=r.left,l=r.bottom,c=r.right,f=r.height,h=r.width):(a=0,u=0,l=window.innerHeight,c=window.innerWidth,f=window.innerHeight,h=window.innerWidth),(n||i)&&t!==window&&(o=o||t.parentNode,!s))do{if(o&&o.getBoundingClientRect&&("none"!==T(o,"transform")||i&&"static"!==T(o,"position"))){var d=o.getBoundingClientRect();a-=d.top+parseInt(T(o,"border-top-width")),u-=d.left+parseInt(T(o,"border-left-width")),l=a+r.height,c=u+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var v=I(o||t),m=v&&v.a,g=v&&v.d;v&&(l=(a/=g)+(f/=g),c=(u/=m)+(h/=m))}return{top:a,left:u,bottom:l,right:c,width:h,height:f}}}function _(t,n,i){for(var e=A(t,!0),o=M(t)[n];e;){var r=M(e)[i];if(!("top"===i||"left"===i?o>=r:o<=r))return e;if(e===x())break;e=A(e,!1)}return!1}function D(t,n,i,e){for(var o=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Nt.ghost&&(e||a[r]!==Nt.dragged)&&w(a[r],i.draggable,t,!1)){if(o===n)return a[r];o++}r++}return null}function k(t,n){for(var i=t.lastElementChild;i&&(i===Nt.ghost||"none"===T(i,"display")||n&&!p(i,n));)i=i.previousElementSibling;return i||null}function j(t,n){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Nt.clone||n&&!p(t,n)||i++;return i}function C(t){var n=0,i=0,e=x();if(t)do{var o=I(t);n+=t.scrollLeft*o.a,i+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[n,i]}function A(t,n){if(!t||!t.getBoundingClientRect)return x();var i=t,e=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var o=T(i);if(i.clientWidth<i.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!i.getBoundingClientRect||i===document.body)return x();if(e||n)return i;e=!0}}}while(i=i.parentNode);return x()}function z(t,n){return Math.round(t.top)===Math.round(n.top)&&Math.round(t.left)===Math.round(n.left)&&Math.round(t.height)===Math.round(n.height)&&Math.round(t.width)===Math.round(n.width)}function N(t,n){return function(){if(!E){var i=arguments,e=this;1===i.length?t.call(e,i[0]):t.apply(e,i),E=setTimeout((function(){E=void 0}),n)}}}function F(t,n,i){t.scrollLeft+=n,t.scrollTop+=i}function P(t){var n=window.Polymer,i=window.jQuery||window.Zepto;return n&&n.dom?n.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}var B="Sortable"+(new Date).getTime();var H=[],G={initializeByDefault:!0},L={mount:function(t){for(var n in G)G.hasOwnProperty(n)&&!(n in t)&&(t[n]=G[n]);H.forEach((function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),H.push(t)},pluginEvent:function(t,n,e){var o=this;this.eventCanceled=!1,e.cancel=function(){o.eventCanceled=!0};var r=t+"Global";H.forEach((function(o){n[o.pluginName]&&(n[o.pluginName][r]&&n[o.pluginName][r](i({sortable:n},e)),n.options[o.pluginName]&&n[o.pluginName][t]&&n[o.pluginName][t](i({sortable:n},e)))}))},initializePlugins:function(t,n,i){for(var e in H.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var a=new e(t,n,t.options);a.sortable=t,a.options=t.options,t[o]=a,r(i,a.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,n){var i={};return H.forEach((function(e){"function"==typeof e.eventProperties&&r(i,e.eventProperties.call(n[e.pluginName],t))})),i},modifyOption:function(t,n,i){var e;return H.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[n]&&(e=o.optionListeners[n].call(t[o.pluginName],i))})),e}},W=["evt"],R=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e.evt,r=a(e,W);L.pluginEvent.bind(Nt)(t,n,i({dragEl:Y,parentEl:U,ghostEl:V,rootEl:Z,nextEl:$,lastDownEl:q,cloneEl:J,cloneHidden:K,dragStarted:ft,putSortable:ot,activeSortable:Nt.active,originalEvent:o,oldIndex:Q,oldDraggableIndex:nt,newIndex:tt,newDraggableIndex:it,hideGhostForTarget:jt,unhideGhostForTarget:Ct,cloneNowHidden:function(){K=!0},cloneNowShown:function(){K=!1},dispatchSortableEvent:function(t){X({sortable:n,name:t,originalEvent:o})}},r))};function X(t){!function(t){var n=t.sortable,e=t.rootEl,o=t.name,r=t.targetEl,a=t.cloneEl,u=t.toEl,c=t.fromEl,f=t.oldIndex,h=t.newIndex,d=t.oldDraggableIndex,v=t.newDraggableIndex,m=t.originalEvent,g=t.putSortable,p=t.extraEventProperties;if(n=n||e&&e[B]){var b,w=n.options,E="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||s||l?(b=document.createEvent("Event")).initEvent(o,!0,!0):b=new CustomEvent(o,{bubbles:!0,cancelable:!0}),b.to=u||e,b.from=c||e,b.item=r||e,b.clone=a,b.oldIndex=f,b.newIndex=h,b.oldDraggableIndex=d,b.newDraggableIndex=v,b.originalEvent=m,b.pullMode=g?g.lastPutMode:void 0;var y=i(i({},p),L.getEventProperties(o,n));for(var S in y)b[S]=y[S];e&&e.dispatchEvent(b),w[E]&&w[E].call(n,b)}}(i({putSortable:ot,cloneEl:J,targetEl:Y,rootEl:Z,oldIndex:Q,oldDraggableIndex:nt,newIndex:tt,newDraggableIndex:it},t))}var Y,U,V,Z,$,q,J,K,Q,tt,nt,it,et,ot,rt,at,ut,st,lt,ct,ft,ht,dt,vt,mt,gt=!1,pt=!1,bt=[],wt=!1,Et=!1,yt=[],St=!1,Tt=[],It="undefined"!=typeof document,Ot=h,xt=l||s?"cssFloat":"float",Mt=It&&!d&&!h&&"draggable"in document.createElement("div"),_t=function(){if(It){if(s)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Dt=function(t,n){var i=T(t),e=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),o=D(t,0,n),r=D(t,1,n),a=o&&T(o),u=r&&T(r),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+M(o).width,l=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+M(r).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&a.float&&"none"!==a.float?!r||"both"!==u.clear&&u.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||s>=e&&"none"===i[xt]||r&&"none"===i[xt]&&s+l>e)?"vertical":"horizontal"},kt=function(t){function n(t,i){return function(e,o,r,a){if(null==t&&(i||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return n(t(e,o,r,a),i)(e,o,r,a);var u=(i?e:o).options.group.name;return!0===t||"string"==typeof t&&t===u||t.join&&t.indexOf(u)>-1}}var i={},o=t.group;o&&"object"==e(o)||(o={name:o}),i.name=o.name,i.checkPull=n(o.pull,!0),i.checkPut=n(o.put),i.revertClone=o.revertClone,t.group=i},jt=function(){!_t&&V&&T(V,"display","none")},Ct=function(){!_t&&V&&T(V,"display","")};It&&!d&&document.addEventListener("click",(function(t){if(pt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),pt=!1,!1}),!0);var At=function(t){if(Y){var n=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,bt.some((function(t){var n=t[B].options.emptyInsertThreshold;if(n&&!k(t)){var i=M(t);return o>=i.left-n&&o<=i.right+n&&r>=i.top-n&&r<=i.bottom+n?a=t:void 0}})),a);if(n){var i={};for(var e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);i.target=i.rootEl=n,i.preventDefault=void 0,i.stopPropagation=void 0,n[B]._onDragOver(i)}}var o,r,a},zt=function(t){Y&&Y.parentNode[B]._isOutsideThisEl(t.target)};function Nt(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=n=r({},n),t[B]=this;var e,o,a={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Dt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,n){t.setData("Text",n.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Nt.supportPointer&&"PointerEvent"in window&&!f,emptyInsertThreshold:5};for(var u in L.initializePlugins(this,t,a),a)!(u in n)&&(n[u]=a[u]);for(var s in kt(n),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!n.forceFallback&&Mt,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.supportPointer?m(t,"pointerdown",this._onTapStart):(m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),bt.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),r(this,(o=[],{captureAnimationState:function(){o=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==T(t,"display")&&t!==Nt.ghost){o.push({target:t,rect:M(t)});var n=i({},o[o.length-1].rect);if(t.thisAnimationDuration){var e=I(t,!0);e&&(n.top-=e.f,n.left-=e.e)}t.fromRect=n}}))},addAnimationState:function(t){o.push(t)},removeAnimationState:function(t){o.splice(function(t,n){for(var i in t)if(t.hasOwnProperty(i))for(var e in n)if(n.hasOwnProperty(e)&&n[e]===t[i][e])return Number(i);return-1}(o,{target:t}),1)},animateAll:function(t){var n=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof t&&t());var i=!1,r=0;o.forEach((function(t){var e=0,o=t.target,a=o.fromRect,u=M(o),s=o.prevFromRect,l=o.prevToRect,c=t.rect,f=I(o,!0);f&&(u.top-=f.f,u.left-=f.e),o.toRect=u,o.thisAnimationDuration&&z(s,u)&&!z(a,u)&&(c.top-u.top)/(c.left-u.left)==(a.top-u.top)/(a.left-u.left)&&(e=function(t,n,i,e){return Math.sqrt(Math.pow(n.top-t.top,2)+Math.pow(n.left-t.left,2))/Math.sqrt(Math.pow(n.top-i.top,2)+Math.pow(n.left-i.left,2))*e.animation}(c,s,l,n.options)),z(u,a)||(o.prevFromRect=a,o.prevToRect=u,e||(e=n.options.animation),n.animate(o,c,u,e)),e&&(i=!0,r=Math.max(r,e),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),e),o.thisAnimationDuration=e)})),clearTimeout(e),i?e=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),o=[]},animate:function(t,n,i,e){if(e){T(t,"transition",""),T(t,"transform","");var o=I(this.el),r=(n.left-i.left)/(o&&o.a||1),a=(n.top-i.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!a,T(t,"transform","translate3d("+r+"px,"+a+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),T(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),T(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){T(t,"transition",""),T(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Ft(t,n,i,e,o,r,a,u){var c,f,h=t[B],d=h.options.onMove;return!window.CustomEvent||s||l?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=n,c.from=t,c.dragged=i,c.draggedRect=e,c.related=o||n,c.relatedRect=r||M(n),c.willInsertAfter=u,c.originalEvent=a,t.dispatchEvent(c),d&&(f=d.call(h,c,a)),f}function Pt(t){t.draggable=!1}function Bt(){St=!1}function Ht(t){for(var n=t.tagName+t.className+t.src+t.href+t.textContent,i=n.length,e=0;i--;)e+=n.charCodeAt(i);return e.toString(36)}function Gt(t){return setTimeout(t,0)}function Lt(t){return clearTimeout(t)}Nt.prototype={constructor:Nt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(ht=null)},_getDirection:function(t,n){return"function"==typeof this.options.direction?this.options.direction.call(this,t,n,Y):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,i=this.el,e=this.options,o=e.preventOnFilter,r=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,u=(a||t).target,s=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||u,l=e.filter;if(function(t){Tt.length=0;for(var n=t.getElementsByTagName("input"),i=n.length;i--;){var e=n[i];e.checked&&Tt.push(e)}}(i),!Y&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!f||!u||"SELECT"!==u.tagName.toUpperCase())&&!((u=w(u,e.draggable,i,!1))&&u.animated||q===u)){if(Q=j(u),nt=j(u,e.draggable),"function"==typeof l){if(l.call(this,t,u,this))return X({sortable:n,rootEl:s,name:"filter",targetEl:u,toEl:i,fromEl:i}),R("filter",n,{evt:t}),void(o&&t.cancelable&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=w(s,e.trim(),i,!1))return X({sortable:n,rootEl:e,name:"filter",targetEl:u,fromEl:i,toEl:i}),R("filter",n,{evt:t}),!0}))))return void(o&&t.cancelable&&t.preventDefault());e.handle&&!w(s,e.handle,i,!1)||this._prepareDragStart(t,a,u)}}},_prepareDragStart:function(t,n,i){var e,o=this,r=o.el,a=o.options,u=r.ownerDocument;if(i&&!Y&&i.parentNode===r){var f=M(i);if(Z=r,U=(Y=i).parentNode,$=Y.nextSibling,q=i,et=a.group,Nt.dragged=Y,lt=(rt={target:Y,clientX:(n||t).clientX,clientY:(n||t).clientY}).clientX-f.left,ct=rt.clientY-f.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,Y.style["will-change"]="all",e=function(){R("delayEnded",o,{evt:t}),Nt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!c&&o.nativeDraggable&&(Y.draggable=!0),o._triggerDragStart(t,n),X({sortable:o,name:"choose",originalEvent:t}),S(Y,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){O(Y,t.trim(),Pt)})),m(u,"dragover",At),m(u,"mousemove",At),m(u,"touchmove",At),m(u,"mouseup",o._onDrop),m(u,"touchend",o._onDrop),m(u,"touchcancel",o._onDrop),c&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Y.draggable=!0),R("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!n||this.nativeDraggable&&(l||s))e();else{if(Nt.eventCanceled)return void this._onDrop();m(u,"mouseup",o._disableDelayedDrag),m(u,"touchend",o._disableDelayedDrag),m(u,"touchcancel",o._disableDelayedDrag),m(u,"mousemove",o._delayedDragTouchMoveHandler),m(u,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&m(u,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Y&&Pt(Y),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;g(t,"mouseup",this._disableDelayedDrag),g(t,"touchend",this._disableDelayedDrag),g(t,"touchcancel",this._disableDelayedDrag),g(t,"mousemove",this._delayedDragTouchMoveHandler),g(t,"touchmove",this._delayedDragTouchMoveHandler),g(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||"touch"==t.pointerType&&t,!this.nativeDraggable||n?m(document,this.options.supportPointer?"pointermove":n?"touchmove":"mousemove",this._onTouchMove):(m(Y,"dragend",this),m(Z,"dragstart",this._onDragStart));try{document.selection?Gt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,n){if(gt=!1,Z&&Y){R("dragStarted",this,{evt:n}),this.nativeDraggable&&m(document,"dragover",zt);var i=this.options;!t&&S(Y,i.dragClass,!1),S(Y,i.ghostClass,!0),Nt.active=this,t&&this._appendGhost(),X({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(at){this._lastX=at.clientX,this._lastY=at.clientY,jt();for(var t=document.elementFromPoint(at.clientX,at.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(at.clientX,at.clientY))!==n;)n=t;if(Y.parentNode[B]._isOutsideThisEl(t),n)do{if(n[B]&&n[B]._onDragOver({clientX:at.clientX,clientY:at.clientY,target:t,rootEl:n})&&!this.options.dragoverBubble)break;t=n}while(n=n.parentNode);Ct()}},_onTouchMove:function(t){if(rt){var n=this.options,i=n.fallbackTolerance,e=n.fallbackOffset,o=t.touches?t.touches[0]:t,r=V&&I(V,!0),a=V&&r&&r.a,u=V&&r&&r.d,s=Ot&&mt&&C(mt),l=(o.clientX-rt.clientX+e.x)/(a||1)+(s?s[0]-yt[0]:0)/(a||1),c=(o.clientY-rt.clientY+e.y)/(u||1)+(s?s[1]-yt[1]:0)/(u||1);if(!Nt.active&&!gt){if(i&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(V){r?(r.e+=l-(ut||0),r.f+=c-(st||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var f="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");T(V,"webkitTransform",f),T(V,"mozTransform",f),T(V,"msTransform",f),T(V,"transform",f),ut=l,st=c,at=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!V){var t=this.options.fallbackOnBody?document.body:Z,n=M(Y,!0,Ot,!0,t),i=this.options;if(Ot){for(mt=t;"static"===T(mt,"position")&&"none"===T(mt,"transform")&&mt!==document;)mt=mt.parentNode;mt!==document.body&&mt!==document.documentElement?(mt===document&&(mt=x()),n.top+=mt.scrollTop,n.left+=mt.scrollLeft):mt=x(),yt=C(mt)}S(V=Y.cloneNode(!0),i.ghostClass,!1),S(V,i.fallbackClass,!0),S(V,i.dragClass,!0),T(V,"transition",""),T(V,"transform",""),T(V,"box-sizing","border-box"),T(V,"margin",0),T(V,"top",n.top),T(V,"left",n.left),T(V,"width",n.width),T(V,"height",n.height),T(V,"opacity","0.8"),T(V,"position",Ot?"absolute":"fixed"),T(V,"zIndex","100000"),T(V,"pointerEvents","none"),Nt.ghost=V,t.appendChild(V),T(V,"transform-origin",lt/parseInt(V.style.width)*100+"% "+ct/parseInt(V.style.height)*100+"%")}},_onDragStart:function(t,n){var i=this,e=t.dataTransfer,o=i.options;R("dragStart",this,{evt:t}),Nt.eventCanceled?this._onDrop():(R("setupClone",this),Nt.eventCanceled||((J=P(Y)).removeAttribute("id"),J.draggable=!1,J.style["will-change"]="",this._hideClone(),S(J,this.options.chosenClass,!1),Nt.clone=J),i.cloneId=Gt((function(){R("clone",i),Nt.eventCanceled||(i.options.removeCloneOnHide||Z.insertBefore(J,Y),i._hideClone(),X({sortable:i,name:"clone"}))})),!n&&S(Y,o.dragClass,!0),n?(pt=!0,i._loopId=setInterval(i._emulateDragOver,50)):(g(document,"mouseup",i._onDrop),g(document,"touchend",i._onDrop),g(document,"touchcancel",i._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(i,e,Y)),m(document,"drop",i),T(Y,"transform","translateZ(0)")),gt=!0,i._dragStartId=Gt(i._dragStarted.bind(i,n,t)),m(document,"selectstart",i),ft=!0,f&&T(document.body,"user-select","none"))},_onDragOver:function(t){var n,e,o,r,a=this.el,u=t.target,s=this.options,l=s.group,c=Nt.active,f=et===l,h=s.sort,d=ot||c,v=this,m=!1;if(!St){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),u=w(u,s.draggable,a,!0),G("dragOver"),Nt.eventCanceled)return m;if(Y.contains(t.target)||u.animated&&u.animatingX&&u.animatingY||v._ignoreWhileAnimating===u)return W(!1);if(pt=!1,c&&!s.disabled&&(f?h||(o=U!==Z):ot===this||(this.lastPutMode=et.checkPull(this,c,Y,t))&&l.checkPut(this,c,Y,t))){if(r="vertical"===this._getDirection(t,u),n=M(Y),G("dragOverValid"),Nt.eventCanceled)return m;if(o)return U=Z,L(),this._hideClone(),G("revert"),Nt.eventCanceled||($?Z.insertBefore(Y,$):Z.appendChild(Y)),W(!0);var g=k(a,s.draggable);if(!g||function(t,n,i){var e=M(k(i.el,i.options.draggable));return n?t.clientX>e.right+10||t.clientX<=e.right&&t.clientY>e.bottom&&t.clientX>=e.left:t.clientX>e.right&&t.clientY>e.top||t.clientX<=e.right&&t.clientY>e.bottom+10}(t,r,this)&&!g.animated){if(g===Y)return W(!1);if(g&&a===t.target&&(u=g),u&&(e=M(u)),!1!==Ft(Z,a,Y,n,u,e,t,!!u))return L(),g&&g.nextSibling?a.insertBefore(Y,g.nextSibling):a.appendChild(Y),U=a,q(),W(!0)}else if(g&&function(t,n,i){var e=M(D(i.el,0,i.options,!0));return n?t.clientX<e.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<e.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,r,this)){var p=D(a,0,s,!0);if(p===Y)return W(!1);if(e=M(u=p),!1!==Ft(Z,a,Y,n,u,e,t,!1))return L(),a.insertBefore(Y,p),U=a,q(),W(!0)}else if(u.parentNode===a){e=M(u);var b,E,y,I=Y.parentNode!==a,O=!function(t,n,i){var e=i?t.left:t.top,o=i?n.left:n.top;return e===o||(i?t.right:t.bottom)===(i?n.right:n.bottom)||e+(i?t.width:t.height)/2===o+(i?n.width:n.height)/2}(Y.animated&&Y.toRect||n,u.animated&&u.toRect||e,r),x=r?"top":"left",C=_(u,"top","top")||_(Y,"top","top"),A=C?C.scrollTop:void 0;if(ht!==u&&(E=e[x],wt=!1,Et=!O&&s.invertSwap||I),b=function(t,n,i,e,o,r,a,u){var s=e?t.clientY:t.clientX,l=e?i.height:i.width,c=e?i.top:i.left,f=e?i.bottom:i.right,h=!1;if(!a)if(u&&vt<l*o){if(!wt&&(1===dt?s>c+l*r/2:s<f-l*r/2)&&(wt=!0),wt)h=!0;else if(1===dt?s<c+vt:s>f-vt)return-dt}else if(s>c+l*(1-o)/2&&s<f-l*(1-o)/2)return function(t){return j(Y)<j(t)?1:-1}(n);return(h=h||a)&&(s<c+l*r/2||s>f-l*r/2)?s>c+l/2?1:-1:0}(t,u,e,r,O?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Et,ht===u),0!==b){var z=j(Y);do{y=U.children[z-=b]}while(y&&("none"===T(y,"display")||y===V))}if(0===b||y===u)return W(!1);ht=u,dt=b;var N=u.nextElementSibling,P=!1,H=Ft(Z,a,Y,n,u,e,t,P=1===b);if(!1!==H)return 1!==H&&-1!==H||(P=1===H),St=!0,setTimeout(Bt,30),L(),P&&!N?a.appendChild(Y):u.parentNode.insertBefore(Y,P?N:u),C&&F(C,0,A-C.scrollTop),U=Y.parentNode,void 0===E||Et||(vt=Math.abs(E-M(u)[x])),q(),W(!0)}if(a.contains(Y))return W(!1)}return!1}function G(s,l){R(s,v,i({evt:t,isOwner:f,axis:r?"vertical":"horizontal",revert:o,dragRect:n,targetRect:e,canSort:h,fromSortable:d,target:u,completed:W,onMove:function(i,e){return Ft(Z,a,Y,n,i,M(i),t,e)},changed:q},l))}function L(){G("dragOverAnimationCapture"),v.captureAnimationState(),v!==d&&d.captureAnimationState()}function W(n){return G("dragOverCompleted",{insertion:n}),n&&(f?c._hideClone():c._showClone(v),v!==d&&(S(Y,ot?ot.options.ghostClass:c.options.ghostClass,!1),S(Y,s.ghostClass,!0)),ot!==v&&v!==Nt.active?ot=v:v===Nt.active&&ot&&(ot=null),d===v&&(v._ignoreWhileAnimating=u),v.animateAll((function(){G("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(u===Y&&!Y.animated||u===a&&!u.animated)&&(ht=null),s.dragoverBubble||t.rootEl||u===document||(Y.parentNode[B]._isOutsideThisEl(t.target),!n&&At(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function q(){tt=j(Y),it=j(Y,s.draggable),X({sortable:v,name:"change",toEl:a,newIndex:tt,newDraggableIndex:it,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){g(document,"mousemove",this._onTouchMove),g(document,"touchmove",this._onTouchMove),g(document,"pointermove",this._onTouchMove),g(document,"dragover",At),g(document,"mousemove",At),g(document,"touchmove",At)},_offUpEvents:function(){var t=this.el.ownerDocument;g(t,"mouseup",this._onDrop),g(t,"touchend",this._onDrop),g(t,"pointerup",this._onDrop),g(t,"touchcancel",this._onDrop),g(document,"selectstart",this)},_onDrop:function(t){var n=this.el,i=this.options;tt=j(Y),it=j(Y,i.draggable),R("drop",this,{evt:t}),U=Y&&Y.parentNode,tt=j(Y),it=j(Y,i.draggable),Nt.eventCanceled||(gt=!1,Et=!1,wt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Lt(this.cloneId),Lt(this._dragStartId),this.nativeDraggable&&(g(document,"drop",this),g(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&T(document.body,"user-select",""),T(Y,"transform",""),t&&(ft&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),V&&V.parentNode&&V.parentNode.removeChild(V),(Z===U||ot&&"clone"!==ot.lastPutMode)&&J&&J.parentNode&&J.parentNode.removeChild(J),Y&&(this.nativeDraggable&&g(Y,"dragend",this),Pt(Y),Y.style["will-change"]="",ft&&!gt&&S(Y,ot?ot.options.ghostClass:this.options.ghostClass,!1),S(Y,this.options.chosenClass,!1),X({sortable:this,name:"unchoose",toEl:U,newIndex:null,newDraggableIndex:null,originalEvent:t}),Z!==U?(tt>=0&&(X({rootEl:U,name:"add",toEl:U,fromEl:Z,originalEvent:t}),X({sortable:this,name:"remove",toEl:U,originalEvent:t}),X({rootEl:U,name:"sort",toEl:U,fromEl:Z,originalEvent:t}),X({sortable:this,name:"sort",toEl:U,originalEvent:t})),ot&&ot.save()):tt!==Q&&tt>=0&&(X({sortable:this,name:"update",toEl:U,originalEvent:t}),X({sortable:this,name:"sort",toEl:U,originalEvent:t})),Nt.active&&(null!=tt&&-1!==tt||(tt=Q,it=nt),X({sortable:this,name:"end",toEl:U,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){R("nulling",this),Z=Y=U=V=$=J=q=K=rt=at=ft=tt=it=Q=nt=ht=dt=ot=et=Nt.dragged=Nt.ghost=Nt.clone=Nt.active=null,Tt.forEach((function(t){t.checked=!0})),Tt.length=ut=st=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":Y&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,n=[],i=this.el.children,e=0,o=i.length,r=this.options;e<o;e++)w(t=i[e],r.draggable,this.el,!1)&&n.push(t.getAttribute(r.dataIdAttr)||Ht(t));return n},sort:function(t,n){var i={},e=this.el;this.toArray().forEach((function(t,n){var o=e.children[n];w(o,this.options.draggable,e,!1)&&(i[t]=o)}),this),n&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(e.removeChild(i[t]),e.appendChild(i[t]))})),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return w(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var i=this.options;if(void 0===n)return i[t];var e=L.modifyOption(this,t,n);i[t]=void 0!==e?e:n,"group"===t&&kt(i)},destroy:function(){R("destroy",this);var t=this.el;t[B]=null,g(t,"mousedown",this._onTapStart),g(t,"touchstart",this._onTapStart),g(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(g(t,"dragover",this),g(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),bt.splice(bt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!K){if(R("hideClone",this),Nt.eventCanceled)return;T(J,"display","none"),this.options.removeCloneOnHide&&J.parentNode&&J.parentNode.removeChild(J),K=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(K){if(R("showClone",this),Nt.eventCanceled)return;Y.parentNode!=Z||this.options.group.revertClone?$?Z.insertBefore(J,$):Z.appendChild(J):Z.insertBefore(J,Y),this.options.group.revertClone&&this.animate(Y,J),T(J,"display",""),K=!1}}else this._hideClone()}},It&&m(document,"touchmove",(function(t){(Nt.active||gt)&&t.cancelable&&t.preventDefault()})),Nt.utils={on:m,off:g,css:T,find:O,is:function(t,n){return!!w(t,n,t,!1)},extend:function(t,n){if(t&&n)for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t},throttle:N,closest:w,toggleClass:S,clone:P,index:j,nextTick:Gt,cancelNextTick:Lt,detectDirection:Dt,getChild:D},Nt.get=function(t){return t[B]},Nt.mount=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];n[0].constructor===Array&&(n=n[0]),n.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Nt.utils=i(i({},Nt.utils),t.utils)),L.mount(t)}))},Nt.create=function(t,n){return new Nt(t,n)},Nt.version="1.15.0";var Wt,Rt,Xt,Yt,Ut,Vt,Zt=[],$t=!1;function qt(){Zt.forEach((function(t){clearInterval(t.pid)})),Zt=[]}function Jt(){clearInterval(Vt)}var Kt=N((function(t,n,i,e){if(n.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,u=n.scrollSensitivity,s=n.scrollSpeed,l=x(),c=!1;Rt!==i&&(Rt=i,qt(),o=n.scrollFn,!0===(Wt=n.scroll)&&(Wt=A(i,!0)));var f=0,h=Wt;do{var d=h,v=M(d),m=v.top,g=v.bottom,p=v.left,b=v.right,w=v.width,E=v.height,y=void 0,S=void 0,I=d.scrollWidth,O=d.scrollHeight,_=T(d),D=d.scrollLeft,k=d.scrollTop;d===l?(y=w<I&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),S=E<O&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(y=w<I&&("auto"===_.overflowX||"scroll"===_.overflowX),S=E<O&&("auto"===_.overflowY||"scroll"===_.overflowY));var j=y&&(Math.abs(b-r)<=u&&D+w<I)-(Math.abs(p-r)<=u&&!!D),C=S&&(Math.abs(g-a)<=u&&k+E<O)-(Math.abs(m-a)<=u&&!!k);if(!Zt[f])for(var z=0;z<=f;z++)Zt[z]||(Zt[z]={});Zt[f].vx==j&&Zt[f].vy==C&&Zt[f].el===d||(Zt[f].el=d,Zt[f].vx=j,Zt[f].vy=C,clearInterval(Zt[f].pid),0==j&&0==C||(c=!0,Zt[f].pid=setInterval(function(){e&&0===this.layer&&Nt.active._onTouchMove(Ut);var n=Zt[this.layer].vy?Zt[this.layer].vy*s:0,i=Zt[this.layer].vx?Zt[this.layer].vx*s:0;"function"==typeof o&&"continue"!==o.call(Nt.dragged.parentNode[B],i,n,t,Ut,Zt[this.layer].el)||F(Zt[this.layer].el,i,n)}.bind({layer:f}),24))),f++}while(n.bubbleScroll&&h!==l&&(h=A(h,!1)));$t=c}}),30),Qt=function(t){var n=t.originalEvent,i=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(n){var a=i||t.activeSortable;(0,t.hideGhostForTarget)();var u=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,s=document.elementFromPoint(u.clientX,u.clientY);r(),a&&!a.el.contains(s)&&(o("spill"),this.onSpill({dragEl:e,putSortable:i}))}};function tn(){}function nn(){}tn.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var e=D(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(n,e):this.sortable.el.appendChild(n),this.sortable.animateAll(),i&&i.animateAll()},drop:Qt},r(tn,{pluginName:"revertOnSpill"}),nn.prototype={onSpill:function(t){var n=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:Qt},r(nn,{pluginName:"removeOnSpill"}),Nt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):m(document,this.options.supportPointer?"pointermove":n.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;this.options.dragOverBubble||n.rootEl||this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):(g(document,"pointermove",this._handleFallbackAutoScroll),g(document,"touchmove",this._handleFallbackAutoScroll),g(document,"mousemove",this._handleFallbackAutoScroll)),Jt(),qt(),clearTimeout(E),E=void 0},nulling:function(){Ut=Rt=Wt=$t=Vt=Xt=Yt=null,Zt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var i=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(Ut=t,n||this.options.forceAutoScrollFallback||l||s||f){Kt(t,this.options,r,n);var a=A(r,!0);!$t||Vt&&e===Xt&&o===Yt||(Vt&&Jt(),Vt=setInterval((function(){var r=A(document.elementFromPoint(e,o),!0);r!==a&&(a=r,qt()),Kt(t,i.options,r,n)}),10),Xt=e,Yt=o)}else{if(!this.options.bubbleScroll||A(r,!0)===x())return void qt();Kt(t,this.options,A(r,!1),!1)}}},r(t,{pluginName:"scroll",initializeByDefault:!0})}),Nt.mount(nn,tn);const en=new Set,on=new WeakSet;function rn(t){if(an(t),en.add(t),on.has(t))return;const{group:n,handleSelector:i,dragSelector:e}=t;t.sortable=Nt.create(t.el,{dataIdAttr:"id",...!!e&&{draggable:e},...!!n&&{group:{name:n,...!!t.canPull&&{pull:(n,i,e)=>t.canPull({toEl:n.el,fromEl:i.el,dragEl:e})},...!!t.canPut&&{put:(n,i,e)=>t.canPut({toEl:n.el,fromEl:i.el,dragEl:e})}}},handle:i,onStart:n=>{un(t).forEach((t=>on.add(t))),t.onDragStart(n)},onEnd:n=>{un(t).forEach((t=>on.delete(t))),t.onDragEnd(n)},onSort:n=>{t.onDragSort(n)}})}function an(t){en.delete(t),on.has(t)||(t.sortable?.destroy(),t.sortable=null)}function un(n){return Array.from(en).filter((i=>i!==n&&t(n.el,i.el)))}export{rn as c,an as d}
|