@esri/calcite-components 1.7.0-next.17 → 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-b464d393.js → p-02990b9a.js} +1 -1
- package/dist/calcite/{p-ec7e22a7.entry.js → p-02f48945.entry.js} +2 -2
- package/dist/calcite/{p-c9525878.entry.js → p-07ed817d.entry.js} +2 -2
- package/dist/calcite/{p-61438d6f.js → p-0c567b1c.js} +1 -1
- package/dist/calcite/{p-7cd7bfb2.entry.js → p-102ae572.entry.js} +2 -2
- package/dist/calcite/{p-c2799be3.js → p-1406a072.js} +2 -2
- package/dist/calcite/{p-25b1d76a.js → p-14a77225.js} +2 -2
- package/dist/calcite/{p-1c8962c4.entry.js → p-15647567.entry.js} +2 -2
- package/dist/calcite/p-1609e878.entry.js +6 -0
- package/dist/calcite/{p-50b2ff1a.js → p-185d81e1.js} +2 -2
- package/dist/calcite/{p-658a356f.entry.js → p-188b6ce0.entry.js} +2 -2
- package/dist/calcite/{p-7d6b89b0.js → p-18ac3650.js} +2 -2
- package/dist/calcite/p-18c1af85.entry.js +6 -0
- package/dist/calcite/{p-337b1135.entry.js → p-1a4b1396.entry.js} +2 -2
- package/dist/calcite/{p-cfcf9eeb.entry.js → p-1cf0db8b.entry.js} +2 -2
- package/dist/calcite/{p-97d26409.entry.js → p-1e156005.entry.js} +2 -2
- package/dist/calcite/{p-f8e28381.entry.js → p-20400982.entry.js} +2 -2
- package/dist/calcite/{p-41acfce2.entry.js → p-28fcfd03.entry.js} +2 -2
- package/dist/calcite/{p-8a5243c3.js → p-29e47662.js} +2 -2
- package/dist/calcite/{p-6a52269c.entry.js → p-2a52a643.entry.js} +2 -2
- package/dist/calcite/{p-39dd49cf.js → p-2aeaedb8.js} +2 -2
- package/dist/calcite/p-30db0ab5.entry.js +6 -0
- package/dist/calcite/{p-feaca3ef.entry.js → p-314a5324.entry.js} +2 -2
- package/dist/calcite/{p-477dc54e.js → p-3715cc3e.js} +2 -2
- package/dist/calcite/{p-0671d350.js → p-37ba641f.js} +1 -1
- package/dist/calcite/{p-2b6a09e6.js → p-381dc233.js} +2 -2
- package/dist/calcite/{p-0fb3b20e.entry.js → p-384d2aba.entry.js} +2 -2
- package/dist/calcite/{p-a25ff3f3.entry.js → p-3988602b.entry.js} +2 -2
- package/dist/calcite/{p-9391cf60.js → p-3ade8f57.js} +1 -1
- package/dist/calcite/{p-ae0394bd.js → p-3b9972d7.js} +2 -2
- package/dist/calcite/{p-222beb73.js → p-3f65bbf6.js} +2 -2
- package/dist/calcite/{p-f6d25277.entry.js → p-40626cbb.entry.js} +2 -2
- package/dist/calcite/{p-0b812538.entry.js → p-427f74a3.entry.js} +2 -2
- package/dist/calcite/{p-ec90ebf3.js → p-429d53db.js} +1 -1
- package/dist/calcite/p-44372911.entry.js +6 -0
- package/dist/calcite/{p-2f78a808.js → p-4977cb70.js} +2 -2
- package/dist/calcite/{p-fbfb9644.js → p-4c345e4c.js} +2 -2
- package/dist/calcite/{p-2273d064.js → p-4c57d16b.js} +2 -2
- package/dist/calcite/{p-e9457d6a.js → p-4e24172e.js} +2 -2
- package/dist/calcite/{p-7b329832.entry.js → p-4fee79e2.entry.js} +2 -2
- package/dist/calcite/{p-f11f14c7.entry.js → p-548e903d.entry.js} +2 -2
- package/dist/calcite/p-55efaad7.js +6 -0
- package/dist/calcite/{p-d0e893d5.entry.js → p-56dd4d97.entry.js} +2 -2
- package/dist/calcite/{p-4da64c86.js → p-57c44f4f.js} +2 -2
- package/dist/calcite/{p-e755a984.js → p-57f253dc.js} +1 -1
- package/dist/calcite/{p-bc4b9c89.entry.js → p-5a62a6c9.entry.js} +2 -2
- package/dist/calcite/{p-1707e155.js → p-5af4edb9.js} +1 -1
- package/dist/calcite/{p-5a36bc27.entry.js → p-5c7909f9.entry.js} +2 -2
- package/dist/calcite/{p-5b082756.entry.js → p-5cada24b.entry.js} +2 -2
- package/dist/calcite/p-5d653901.entry.js +6 -0
- package/dist/calcite/{p-ce8dc48f.js → p-5e508553.js} +2 -2
- package/dist/calcite/p-5f351559.entry.js +6 -0
- package/dist/calcite/{p-aedf9daa.js → p-5fe7e41b.js} +2 -2
- package/dist/calcite/{p-8c92524d.entry.js → p-61cb77cc.entry.js} +2 -2
- package/dist/calcite/p-6215d177.entry.js +6 -0
- package/dist/calcite/{p-79606642.entry.js → p-634c26c9.entry.js} +2 -2
- package/dist/calcite/{p-1e702809.js → p-6470e535.js} +2 -2
- package/dist/calcite/{p-767e03c5.js → p-6626b1ab.js} +2 -2
- package/dist/calcite/{p-d6a8916c.js → p-669843df.js} +2 -2
- package/dist/calcite/{p-3f076cf9.entry.js → p-67bb484b.entry.js} +2 -2
- package/dist/calcite/{p-6dd676a4.js → p-68dbb876.js} +2 -2
- package/dist/calcite/{p-d2cb5de5.entry.js → p-6a743785.entry.js} +2 -2
- package/dist/calcite/{p-8517aeea.entry.js → p-6f88b0b2.entry.js} +2 -2
- package/dist/calcite/{p-d2fcaba3.entry.js → p-70107504.entry.js} +2 -2
- package/dist/calcite/{p-6ea637bb.js → p-7326d2c3.js} +2 -2
- package/dist/calcite/p-754019fa.entry.js +6 -0
- package/dist/calcite/{p-f18ca3b8.js → p-7972825e.js} +2 -2
- package/dist/calcite/{p-fd99af34.js → p-7d3ea013.js} +1 -1
- package/dist/calcite/{p-f9927374.js → p-7d824bbf.js} +1 -1
- package/dist/calcite/{p-804aaf8e.entry.js → p-7da867af.entry.js} +2 -2
- package/dist/calcite/{p-36260d4e.js → p-7ef0fc9a.js} +2 -2
- package/dist/calcite/p-872e3bf7.js +12 -0
- package/dist/calcite/{p-a282f999.js → p-87352085.js} +2 -2
- package/dist/calcite/{p-56317464.js → p-88837f42.js} +2 -2
- package/dist/calcite/{p-5c9e4d27.entry.js → p-897ff740.entry.js} +2 -2
- package/dist/calcite/p-899a968c.entry.js +6 -0
- package/dist/calcite/{p-ae8aef0c.entry.js → p-8d995d26.entry.js} +2 -2
- package/dist/calcite/{p-db158a77.entry.js → p-8f467918.entry.js} +2 -2
- package/dist/calcite/{p-bc403d2d.js → p-902ea2e7.js} +2 -2
- package/dist/calcite/{p-9e919997.js → p-90565300.js} +2 -2
- package/dist/calcite/{p-2530f8ac.js → p-9385ca77.js} +2 -2
- package/dist/calcite/p-9585a744.entry.js +6 -0
- package/dist/calcite/{p-ad0e1a81.entry.js → p-999184d4.entry.js} +2 -2
- package/dist/calcite/{p-98810dc4.js → p-9a0913c4.js} +2 -2
- package/dist/calcite/p-9be86efa.js +6 -0
- package/dist/calcite/{p-ad085842.js → p-9c8e549f.js} +2 -2
- package/dist/calcite/{p-27ad3f12.entry.js → p-9ca7f4af.entry.js} +2 -2
- package/dist/calcite/{p-02ffea42.entry.js → p-9cef8991.entry.js} +2 -2
- package/dist/calcite/{p-2e240cdb.entry.js → p-9d74db7f.entry.js} +2 -2
- package/dist/calcite/{p-83053964.js → p-9de50a36.js} +2 -2
- package/dist/calcite/{p-a3e6ad4d.js → p-9e092c1f.js} +2 -2
- package/dist/calcite/p-9e6b3225.entry.js +6 -0
- package/dist/calcite/{p-a023f677.js → p-a10e4482.js} +3 -3
- package/dist/calcite/{p-b2f9cb5d.js → p-a184eecc.js} +2 -2
- package/dist/calcite/p-a66330bc.entry.js +6 -0
- package/dist/calcite/{p-8031130e.js → p-a6f102bb.js} +2 -2
- package/dist/calcite/p-a9322b8d.entry.js +6 -0
- package/dist/calcite/p-a993e7d7.js +6 -0
- package/dist/calcite/{p-554c0b34.js → p-a9caf330.js} +1 -1
- package/dist/calcite/{p-adf074f6.js → p-aa914aa6.js} +2 -2
- package/dist/calcite/{p-f88aeaed.js → p-aa9f25c6.js} +2 -2
- package/dist/calcite/{p-823d0849.js → p-af6b4665.js} +2 -2
- package/dist/calcite/{p-24d121bf.js → p-af8a5ad1.js} +2 -2
- package/dist/calcite/{p-686cf487.js → p-b021d6c2.js} +2 -2
- package/dist/calcite/{p-4ce791e7.js → p-b03b3ee6.js} +2 -2
- package/dist/calcite/{p-17ede011.js → p-b0baf314.js} +2 -2
- package/dist/calcite/{p-13b5990a.js → p-b3217cd8.js} +2 -2
- package/dist/calcite/p-b46a95f6.entry.js +6 -0
- package/dist/calcite/{p-5709aab2.entry.js → p-b48f8e9c.entry.js} +2 -2
- package/dist/calcite/{p-097135c4.js → p-b75b04f6.js} +1 -1
- package/dist/calcite/{p-fe2a6014.entry.js → p-b8f8dd11.entry.js} +2 -2
- package/dist/calcite/{p-a62aec14.entry.js → p-bcda0f15.entry.js} +2 -2
- package/dist/calcite/{p-1811fd36.js → p-bec36110.js} +2 -2
- package/dist/calcite/{p-55e614f6.entry.js → p-c0e3f382.entry.js} +2 -2
- package/dist/calcite/{p-e5172342.js → p-c476e7fa.js} +2 -2
- package/dist/calcite/{p-915ff1b7.entry.js → p-c5242f0b.entry.js} +2 -2
- package/dist/calcite/{p-47f9f3b5.js → p-c8585f57.js} +2 -2
- package/dist/calcite/{p-b3863301.js → p-cabacd7b.js} +2 -2
- package/dist/calcite/{p-3b435340.entry.js → p-d21757c6.entry.js} +2 -2
- package/dist/calcite/{p-f598d949.js → p-d2cf8867.js} +2 -2
- package/dist/calcite/{p-ac7c8322.js → p-d2f430cf.js} +2 -2
- package/dist/calcite/{p-7ffbb9cd.entry.js → p-d4f9e8a9.entry.js} +2 -2
- package/dist/calcite/{p-f3a04f66.js → p-d5f3d591.js} +2 -2
- package/dist/calcite/{p-da969cc6.entry.js → p-d662680f.entry.js} +2 -2
- package/dist/calcite/{p-b698c6d7.js → p-d823ccef.js} +2 -2
- package/dist/calcite/{p-a7437151.js → p-d833547b.js} +2 -2
- package/dist/calcite/{p-ed3b2c5d.entry.js → p-d934acf2.entry.js} +2 -2
- package/dist/calcite/p-dab319f5.js +6 -0
- package/dist/calcite/{p-909ace66.js → p-db3b90e5.js} +2 -2
- package/dist/calcite/{p-37403e16.js → p-dc127b58.js} +1 -1
- package/dist/calcite/{p-aa3ccef2.entry.js → p-dc28728c.entry.js} +2 -2
- package/dist/calcite/{p-6ec6a881.js → p-deef244a.js} +2 -2
- package/dist/calcite/{p-1fc90548.js → p-df5b193f.js} +1 -1
- package/dist/calcite/{p-94192aca.js → p-dfaa748c.js} +2 -2
- package/dist/calcite/{p-af570690.js → p-e2743940.js} +2 -2
- package/dist/calcite/{p-ccb569a8.js → p-e4206b79.js} +2 -2
- package/dist/calcite/{p-8a965b77.entry.js → p-e64ae5f1.entry.js} +2 -2
- package/dist/calcite/{p-576ec810.js → p-e6c167bd.js} +2 -2
- package/dist/calcite/{p-4fee9dc6.entry.js → p-e8a9892b.entry.js} +2 -2
- package/dist/calcite/{p-f71ac574.js → p-e9309e35.js} +2 -2
- package/dist/calcite/{p-a02fc70b.entry.js → p-eb083c99.entry.js} +2 -2
- package/dist/calcite/p-eb50cbfc.entry.js +6 -0
- package/dist/calcite/{p-0f6b183c.js → p-ed19d6b1.js} +2 -2
- package/dist/calcite/{p-94be6a04.entry.js → p-ef82a8d6.entry.js} +2 -2
- package/dist/calcite/{p-f211c0e7.entry.js → p-f0a1ad4b.entry.js} +2 -2
- package/dist/calcite/{p-dcc173b7.entry.js → p-f22f90a2.entry.js} +2 -2
- package/dist/calcite/{p-b2ba068f.js → p-f348d00a.js} +2 -2
- package/dist/calcite/{p-65be87f1.js → p-f35a3f99.js} +2 -2
- package/dist/calcite/{p-d469d0c1.entry.js → p-f4051ed8.entry.js} +2 -2
- package/dist/calcite/{p-6e8baae4.entry.js → p-f4f95041.entry.js} +2 -2
- package/dist/calcite/{p-22363d44.js → p-f77690b0.js} +1 -1
- package/dist/calcite/{p-be5be4d2.js → p-f79d4546.js} +2 -2
- package/dist/calcite/{p-272c5bed.entry.js → p-f82f7cb8.entry.js} +2 -2
- package/dist/calcite/{p-bc6a9d3b.entry.js → p-fa9fc25e.entry.js} +2 -2
- package/dist/calcite/{p-361b0e6e.js → p-fabe7c87.js} +1 -1
- package/dist/calcite/{p-8959b901.js → p-fe0ff403.js} +2 -2
- package/dist/cjs/{ExpandToggle-1d6b0af5.js → ExpandToggle-c76bfe8c.js} +5 -5
- package/dist/cjs/{FloatingArrow-874140c1.js → FloatingArrow-3a5d5ca7.js} +2 -2
- package/dist/cjs/{Heading-463035a8.js → Heading-e76bf6d7.js} +2 -2
- package/dist/cjs/{app-globals-d9f3e424.js → app-globals-1677ce1d.js} +2 -2
- package/dist/cjs/{ar-514a5742.js → ar-4f564400.js} +17 -17
- package/dist/cjs/{array-49760407.js → array-3c223d8a.js} +1 -1
- package/dist/cjs/{bg-a4915250.js → bg-021b6282.js} +17 -17
- package/dist/cjs/{browser-c5494765.js → browser-aeb57166.js} +1 -1
- package/dist/cjs/{bs-6002d2dc.js → bs-e0d58da9.js} +17 -17
- package/dist/cjs/{ca-fa6e53e8.js → ca-7f85b36b.js} +17 -17
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +13 -9
- 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-4c6c855a.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 +35 -19
- 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-4b033773.js → conditionalSlot-22a7444f.js} +3 -3
- package/dist/cjs/{cs-15a12e01.js → cs-31d48828.js} +17 -17
- package/dist/cjs/{da-e13e1f52.js → da-153d2e18.js} +17 -17
- package/dist/cjs/{de-at-15dc244e.js → de-at-bde2da78.js} +17 -17
- package/dist/cjs/{de-ch-ff28d9e8.js → de-ch-f667b648.js} +17 -17
- package/dist/cjs/{de-dd9dccdd.js → de-d00d9193.js} +17 -17
- package/dist/cjs/{debounce-7a852ee1.js → debounce-6ce021af.js} +1 -1
- package/dist/cjs/{dom-ea0bb304.js → dom-2ebce761.js} +3 -3
- package/dist/cjs/{el-83749216.js → el-33109e33.js} +17 -17
- package/dist/cjs/{en-au-ad58e9d1.js → en-au-5cbf69e1.js} +17 -17
- package/dist/cjs/{en-ca-a6686349.js → en-ca-3d138b80.js} +17 -17
- package/dist/cjs/{en-gb-eab173b8.js → en-gb-20a01f3c.js} +17 -17
- package/dist/cjs/{es-fdfb457d.js → es-7a96e1df.js} +17 -17
- package/dist/cjs/{es-mx-addeb4fe.js → es-mx-25eb0cb2.js} +17 -17
- package/dist/cjs/{et-870c4a2e.js → et-b57e5b96.js} +17 -17
- package/dist/cjs/{fi-0464f62e.js → fi-02578986.js} +17 -17
- package/dist/cjs/{filter-4d2c1e89.js → filter-c976a90b.js} +2 -2
- package/dist/cjs/{floating-ui-cda0e6e8.js → floating-ui-0c72b350.js} +3 -3
- package/dist/cjs/{focusTrapComponent-39f45689.js → focusTrapComponent-afcab509.js} +2 -2
- package/dist/cjs/{form-5db341dd.js → form-feebcf1c.js} +3 -3
- package/dist/cjs/{fr-545c7bb9.js → fr-9b4b9cb3.js} +17 -17
- package/dist/cjs/{fr-ch-e0e7786d.js → fr-ch-dab20d35.js} +17 -17
- package/dist/cjs/{guid-e9616580.js → guid-77c3b76c.js} +1 -1
- package/dist/cjs/{he-ab6813f7.js → he-f1c6a82c.js} +17 -17
- package/dist/cjs/{hi-c0aa717d.js → hi-41bcdf6d.js} +17 -17
- package/dist/cjs/{hr-a32a418d.js → hr-ae799368.js} +17 -17
- package/dist/cjs/{hu-3930a9b4.js → hu-1616cc1e.js} +17 -17
- package/dist/cjs/{id-99e82723.js → id-cce93675.js} +17 -17
- package/dist/cjs/{index-27680056.js → index-2c334c91.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-486f5dea.js → interactive-cd92bc2b.js} +2 -2
- package/dist/cjs/{it-ch-9e137ea8.js → it-ch-5064a0dc.js} +17 -17
- package/dist/cjs/{it-a485d1c0.js → it-dbbdd862.js} +17 -17
- package/dist/cjs/{ja-9e24f043.js → ja-6e751300.js} +17 -17
- package/dist/cjs/{key-2dc1cce5.js → key-8fd36c77.js} +1 -1
- package/dist/cjs/{ko-09d15e16.js → ko-c30b3d87.js} +17 -17
- package/dist/cjs/{label-69736362.js → label-0dfddc62.js} +2 -2
- package/dist/cjs/{loadable-14c9679e.js → loadable-d939c353.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-251d00f4.js → locale-48e01f6d.js} +4 -4
- package/dist/cjs/{lt-f09dc473.js → lt-636d54e9.js} +17 -17
- package/dist/cjs/{lv-33900432.js → lv-be4b71a0.js} +17 -17
- package/dist/cjs/{math-51ecbcbb.js → math-fcf5a0f8.js} +1 -1
- package/dist/cjs/{mk-821bfc0b.js → mk-bc57fd46.js} +17 -17
- package/dist/cjs/{nb-85a288f3.js → nb-4ef07926.js} +17 -17
- package/dist/cjs/{nl-e41301f5.js → nl-8aac83c2.js} +17 -17
- package/dist/cjs/{observers-9a8529c5.js → observers-d891a410.js} +1 -1
- package/dist/cjs/{openCloseComponent-5675db12.js → openCloseComponent-ccd6ddc9.js} +2 -2
- package/dist/cjs/{pl-9df5fdb6.js → pl-c9e98798.js} +17 -17
- package/dist/cjs/{pt-448f437b.js → pt-ad764f23.js} +17 -17
- package/dist/cjs/{pt-br-d0f74cf1.js → pt-br-6e07e1d6.js} +17 -17
- package/dist/cjs/{resources-8f715b22.js → resources-4ba9e8b5.js} +5 -5
- package/dist/cjs/{resources-f55b8763.js → resources-71a66cfb.js} +1 -1
- package/dist/cjs/{resources-62652321.js → resources-7560021d.js} +1 -1
- package/dist/cjs/{resources-7220131c.js → resources-8adec15f.js} +1 -1
- package/dist/cjs/{resources-b32e1ff0.js → resources-b6a1dca2.js} +1 -1
- package/dist/cjs/{resources-015e0632.js → resources-dbcdf3c3.js} +1 -1
- package/dist/cjs/{resources-b79ae61a.js → resources-e14901d2.js} +1 -1
- package/dist/cjs/{ro-1704d5b7.js → ro-3a1e26a7.js} +17 -17
- package/dist/cjs/{ru-325338ca.js → ru-12b1eb75.js} +17 -17
- package/dist/cjs/{sk-0b4d5d38.js → sk-b1516dab.js} +17 -17
- package/dist/cjs/{sl-ed1345c9.js → sl-22c7308a.js} +17 -17
- package/dist/cjs/{sortableComponent-765cf4f4.js → sortableComponent-ca46f630.js} +21 -32
- package/dist/cjs/{sr-08b334b9.js → sr-75eb5a85.js} +17 -17
- package/dist/cjs/{sv-b1d47816.js → sv-6a47013e.js} +17 -17
- package/dist/cjs/{t9n-220a1c81.js → t9n-28a0fcde.js} +3 -3
- package/dist/cjs/{th-8823c841.js → th-25eb22c9.js} +17 -17
- package/dist/cjs/{throttle-07aa9840.js → throttle-cb7772b6.js} +2 -2
- package/dist/cjs/{tr-7fc10d5c.js → tr-31cf5c6b.js} +17 -17
- package/dist/cjs/{uk-2f738a79.js → uk-e4bc39a8.js} +17 -17
- package/dist/cjs/{utils-8d6c0881.js → utils-e42d5351.js} +1 -1
- package/dist/cjs/{utils-58d8bf15.js → utils-f135be62.js} +3 -3
- package/dist/cjs/{vi-668b169e.js → vi-fc1cff55.js} +17 -17
- package/dist/cjs/{zh-cn-800db98e.js → zh-cn-72d37c2c.js} +17 -17
- package/dist/cjs/{zh-hk-b1632838.js → zh-hk-7a646186.js} +17 -17
- package/dist/cjs/{zh-tw-5ef701f8.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 +4 -4
- package/dist/collection/components/accordion-item/resources.js +5 -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 +54 -25
- package/dist/collection/components/stepper-item/stepper-item.js +57 -62
- 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 +2 -2
- 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 +7 -3
- 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 +9 -13
- package/dist/components/calcite-stepper.js +24 -3
- 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 +2 -2
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- 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 +2 -2
- 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-681aef6d.js → ExpandToggle-87d88ef1.js} +5 -5
- package/dist/esm/{FloatingArrow-f8c85286.js → FloatingArrow-144dd3c9.js} +2 -2
- package/dist/esm/{Heading-5b1b03e8.js → Heading-48474872.js} +2 -2
- package/dist/esm/{app-globals-49c73a91.js → app-globals-bba743d9.js} +2 -2
- package/dist/esm/{ar-30a33ee8.js → ar-7ca58bf0.js} +17 -17
- package/dist/esm/{array-f8bbe0a3.js → array-8a6ab989.js} +1 -1
- package/dist/esm/{bg-fc94160e.js → bg-4ba57b3e.js} +17 -17
- package/dist/esm/{browser-342337a9.js → browser-d85540ab.js} +1 -1
- package/dist/esm/{bs-9bf92f4e.js → bs-e23411dd.js} +17 -17
- package/dist/esm/{ca-9b2066c3.js → ca-fb8b7eb0.js} +17 -17
- package/dist/esm/calcite-accordion_2.entry.js +13 -9
- 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-453c17c8.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 +35 -19
- 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-9639587a.js → conditionalSlot-a9cb65a1.js} +3 -3
- package/dist/esm/{cs-0aa7e0c2.js → cs-4857c890.js} +17 -17
- package/dist/esm/{da-5b78b390.js → da-591fca6b.js} +17 -17
- package/dist/esm/{de-c8a584f5.js → de-45fa8e95.js} +17 -17
- package/dist/esm/{de-at-0f58b1e0.js → de-at-8141f95e.js} +17 -17
- package/dist/esm/{de-ch-7d578832.js → de-ch-e5590752.js} +17 -17
- package/dist/esm/{debounce-ee2506b2.js → debounce-b18124df.js} +1 -1
- package/dist/esm/{dom-412dd260.js → dom-e339086c.js} +4 -4
- package/dist/esm/{el-d08a477a.js → el-360c4040.js} +17 -17
- package/dist/esm/{en-au-b652e863.js → en-au-3ce4ad59.js} +17 -17
- package/dist/esm/{en-ca-043dd95c.js → en-ca-f06cdfde.js} +17 -17
- package/dist/esm/{en-gb-6609ba7d.js → en-gb-737a237f.js} +17 -17
- package/dist/esm/{es-0b6c198d.js → es-9cfe9be2.js} +17 -17
- package/dist/esm/{es-mx-5f55d85b.js → es-mx-b93112c1.js} +17 -17
- package/dist/esm/{et-8e9b448e.js → et-f253be95.js} +17 -17
- package/dist/esm/{fi-9fca64de.js → fi-191e826f.js} +17 -17
- package/dist/esm/{filter-1881740b.js → filter-6203387f.js} +2 -2
- package/dist/esm/{floating-ui-43e4f414.js → floating-ui-4af575c5.js} +3 -3
- package/dist/esm/{focusTrapComponent-b796f196.js → focusTrapComponent-6e249bcd.js} +2 -2
- package/dist/esm/{form-6f86424f.js → form-da43210d.js} +3 -3
- package/dist/esm/{fr-be6a5993.js → fr-39e53048.js} +17 -17
- package/dist/esm/{fr-ch-dcbb8195.js → fr-ch-1c1af37e.js} +17 -17
- package/dist/esm/{guid-0490f9f0.js → guid-bc9b2a2a.js} +1 -1
- package/dist/esm/{he-4d374a2f.js → he-99c92a41.js} +17 -17
- package/dist/esm/{hi-896a033c.js → hi-e43b25d5.js} +17 -17
- package/dist/esm/{hr-163b0c9e.js → hr-226e65ff.js} +17 -17
- package/dist/esm/{hu-68f7f7bb.js → hu-7cdfb0fe.js} +17 -17
- package/dist/esm/{id-a7ecd61f.js → id-4081f620.js} +17 -17
- package/dist/esm/{index-dafb95bd.js → index-ea1437d9.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-6bcbd567.js → interactive-3cd49281.js} +2 -2
- package/dist/esm/{it-2c13dace.js → it-442e622b.js} +17 -17
- package/dist/esm/{it-ch-73d3f5d8.js → it-ch-9bc36805.js} +17 -17
- package/dist/esm/{ja-07b1c56f.js → ja-6a865214.js} +17 -17
- package/dist/esm/{key-86423110.js → key-5c198520.js} +1 -1
- package/dist/esm/{ko-455cb62f.js → ko-dde99dc2.js} +17 -17
- package/dist/esm/{label-00366d68.js → label-8f54ab67.js} +2 -2
- package/dist/esm/{loadable-2ff657df.js → loadable-cc7d535d.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-294b6440.js → locale-e0f81363.js} +4 -4
- package/dist/esm/{lt-200c52ea.js → lt-dd5e9616.js} +17 -17
- package/dist/esm/{lv-507769ff.js → lv-ef56f08b.js} +17 -17
- package/dist/esm/{math-a2e82859.js → math-93304a6f.js} +1 -1
- package/dist/esm/{mk-921cb268.js → mk-03270b8a.js} +17 -17
- package/dist/esm/{nb-0f5a8c92.js → nb-48825584.js} +17 -17
- package/dist/esm/{nl-5f691c7e.js → nl-9121735b.js} +17 -17
- package/dist/esm/{observers-b898b95d.js → observers-d33369ef.js} +1 -1
- package/dist/esm/{openCloseComponent-d1a940bc.js → openCloseComponent-de2e797b.js} +2 -2
- package/dist/esm/{pl-5e211b79.js → pl-55e40164.js} +17 -17
- package/dist/esm/{pt-br-a6313e65.js → pt-br-9fcefae0.js} +17 -17
- package/dist/esm/{pt-39ca3f07.js → pt-f9e9602d.js} +17 -17
- package/dist/esm/{resources-adfa9502.js → resources-121ad4bd.js} +5 -5
- package/dist/esm/{resources-bfdb1d14.js → resources-1b8b153d.js} +1 -1
- package/dist/esm/{resources-bab7828c.js → resources-2307aae8.js} +1 -1
- package/dist/esm/{resources-ec927aad.js → resources-5e0ff5e2.js} +1 -1
- package/dist/esm/{resources-cfa3feb8.js → resources-7326e19b.js} +1 -1
- package/dist/esm/{resources-6147a442.js → resources-85732fc8.js} +1 -1
- package/dist/esm/{resources-2f2498f1.js → resources-ee32864b.js} +1 -1
- package/dist/esm/{ro-ded4537b.js → ro-dc2f89f9.js} +17 -17
- package/dist/esm/{ru-bf65d5e7.js → ru-37e3bc4d.js} +17 -17
- package/dist/esm/{sk-50ac8bd3.js → sk-d5f3a0f2.js} +17 -17
- package/dist/esm/{sl-f0413b4c.js → sl-81d2ab06.js} +17 -17
- package/dist/esm/{sortableComponent-bf052fa2.js → sortableComponent-f9665fdd.js} +21 -33
- package/dist/esm/{sr-015fca6d.js → sr-507ddcf6.js} +17 -17
- package/dist/esm/{sv-b4b7fd0a.js → sv-075b1d05.js} +17 -17
- package/dist/esm/{t9n-493993f8.js → t9n-628d6f8b.js} +3 -3
- package/dist/esm/{th-053e9044.js → th-3736323c.js} +17 -17
- package/dist/esm/{throttle-ff32f2ff.js → throttle-2185ffca.js} +2 -2
- package/dist/esm/{tr-432b0387.js → tr-02212203.js} +17 -17
- package/dist/esm/{uk-be1f9b1c.js → uk-992707cc.js} +17 -17
- package/dist/esm/{utils-9bdf375c.js → utils-9abcdb88.js} +3 -3
- package/dist/esm/{utils-d42b0a00.js → utils-c025f68d.js} +1 -1
- package/dist/esm/{vi-1b94de79.js → vi-fcebf562.js} +17 -17
- package/dist/esm/{zh-cn-871bb0d0.js → zh-cn-5234a57b.js} +17 -17
- package/dist/esm/{zh-hk-dc1d08f4.js → zh-hk-34ae87dc.js} +17 -17
- package/dist/esm/{zh-tw-9f7e668b.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/accordion-item/resources.d.ts +4 -0
- 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/stepper/stepper.d.ts +6 -2
- package/dist/types/components/stepper-item/stepper-item.d.ts +24 -12
- package/dist/types/components/value-list/value-list.d.ts +3 -3
- package/dist/types/components.d.ts +35 -15
- package/dist/types/utils/sortableComponent.d.ts +15 -8
- package/hydrate/index.js +95 -94
- package/package.json +2 -2
- package/dist/calcite/p-2372be2e.entry.js +0 -6
- package/dist/calcite/p-27cbf1a4.entry.js +0 -6
- package/dist/calcite/p-2a48d634.entry.js +0 -6
- package/dist/calcite/p-34c5c4fe.entry.js +0 -6
- package/dist/calcite/p-377c22c3.entry.js +0 -6
- package/dist/calcite/p-3c76739d.js +0 -12
- package/dist/calcite/p-444c47da.js +0 -6
- package/dist/calcite/p-45bf4a19.entry.js +0 -6
- package/dist/calcite/p-49b67c70.entry.js +0 -6
- package/dist/calcite/p-4f2ebe69.entry.js +0 -6
- package/dist/calcite/p-5e43d2da.entry.js +0 -6
- package/dist/calcite/p-6c1efce9.js +0 -6
- package/dist/calcite/p-999f617b.entry.js +0 -6
- package/dist/calcite/p-a8a275e3.entry.js +0 -6
- package/dist/calcite/p-a99b7a6e.entry.js +0 -6
- package/dist/calcite/p-af66df52.entry.js +0 -6
- package/dist/calcite/p-bd807a06.js +0 -6
- package/dist/calcite/p-f4f74f8c.entry.js +0 -6
- package/dist/calcite/p-fe2af1ec.js +0 -6
- package/dist/calcite/p-feccc2ea.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.19
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6716,39 +6716,6 @@ function closestElementCrossShadowBoundary(element, selector) {
|
|
|
6716
6716
|
}
|
|
6717
6717
|
return closestFrom(element);
|
|
6718
6718
|
}
|
|
6719
|
-
/**
|
|
6720
|
-
* This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.
|
|
6721
|
-
*
|
|
6722
|
-
* Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function
|
|
6723
|
-
*
|
|
6724
|
-
* @param {Element} element An element.
|
|
6725
|
-
* @param {(node: Node) => Element} onVisit The callback.
|
|
6726
|
-
* @returns {Element} The result.
|
|
6727
|
-
*/
|
|
6728
|
-
function walkUpAncestry(element, onVisit) {
|
|
6729
|
-
return visit(element, onVisit);
|
|
6730
|
-
}
|
|
6731
|
-
function visit(node, onVisit) {
|
|
6732
|
-
if (!node) {
|
|
6733
|
-
return;
|
|
6734
|
-
}
|
|
6735
|
-
const result = onVisit(node);
|
|
6736
|
-
if (result !== undefined) {
|
|
6737
|
-
return result;
|
|
6738
|
-
}
|
|
6739
|
-
const { parentNode } = node;
|
|
6740
|
-
return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);
|
|
6741
|
-
}
|
|
6742
|
-
/**
|
|
6743
|
-
* This helper returns true when an element has the descendant in question.
|
|
6744
|
-
*
|
|
6745
|
-
* @param {Element} element The starting element.
|
|
6746
|
-
* @param {Element} maybeDescendant The descendant.
|
|
6747
|
-
* @returns {boolean} The result.
|
|
6748
|
-
*/
|
|
6749
|
-
function containsCrossShadowBoundary(element, maybeDescendant) {
|
|
6750
|
-
return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));
|
|
6751
|
-
}
|
|
6752
6719
|
/**
|
|
6753
6720
|
* This helper returns true when an element has a setFocus method.
|
|
6754
6721
|
*
|
|
@@ -7037,6 +7004,10 @@ const CSS$1b = {
|
|
|
7037
7004
|
iconEnd: "icon--end",
|
|
7038
7005
|
headerContainer: "header-container",
|
|
7039
7006
|
};
|
|
7007
|
+
const IDS = {
|
|
7008
|
+
section: "section",
|
|
7009
|
+
sectionToggle: "section-toggle",
|
|
7010
|
+
};
|
|
7040
7011
|
|
|
7041
7012
|
const accordionItemCss = "/*!@.icon-position--end, .icon-position--start*/.icon-position--end.sc-calcite-accordion-item,.icon-position--start.sc-calcite-accordion-item{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}/*!@.icon-position--start*/.icon-position--start.sc-calcite-accordion-item{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}/*!@.icon-position--end*/.icon-position--end.sc-calcite-accordion-item{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}/*!@.icon-position--end:not(.icon-type--plus-minus)*/.icon-position--end.sc-calcite-accordion-item:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}/*!@:host*/.sc-calcite-accordion-item-h{position:relative;display:flex;flex-direction:column;color:var(--calcite-ui-text-3);text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}/*!@:host .header-content*/.sc-calcite-accordion-item-h .header-content.sc-calcite-accordion-item{outline-color:transparent}/*!@:host(:focus) .header-content*/.sc-calcite-accordion-item-h:focus .header-content.sc-calcite-accordion-item{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host([expanded])*/[expanded].sc-calcite-accordion-item-h{color:var(--calcite-ui-text-1)}/*!@:host([expanded]) .content*/[expanded].sc-calcite-accordion-item-h .content.sc-calcite-accordion-item{display:block;color:var(--calcite-ui-text-1)}/*!@:host([expanded]) .header*/[expanded].sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{border-block-end-color:transparent}/*!@:host .header*/.sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{display:flex;align-items:stretch}/*!@:host .icon*/.sc-calcite-accordion-item-h .icon.sc-calcite-accordion-item{position:relative;margin:0px;display:inline-flex;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}/*!@.icon--start*/.icon--start.sc-calcite-accordion-item{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}/*!@.icon--end*/.icon--end.sc-calcite-accordion-item{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}/*!@.header-container*/.header-container.sc-calcite-accordion-item{inline-size:100%}/*!@.content*/.content.sc-calcite-accordion-item{padding:var(--calcite-accordion-item-padding)}/*!@:host .content,\n:host .header*/.sc-calcite-accordion-item-h .content.sc-calcite-accordion-item,.sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}/*!@:host .header **/.sc-calcite-accordion-item-h .header.sc-calcite-accordion-item *.sc-calcite-accordion-item{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}/*!@:host .content*/.sc-calcite-accordion-item-h .content.sc-calcite-accordion-item{display:none;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}/*!@:host .expand-icon*/.sc-calcite-accordion-item-h .expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}/*!@.calcite--rtl .expand-icon*/.calcite--rtl.sc-calcite-accordion-item .expand-icon.sc-calcite-accordion-item{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}/*!@:host([expanded]) .expand-icon*/[expanded].sc-calcite-accordion-item-h .expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}/*!@:host([expanded]) .calcite--rtl .expand-icon*/[expanded].sc-calcite-accordion-item-h .calcite--rtl.sc-calcite-accordion-item .expand-icon.sc-calcite-accordion-item{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}/*!@:host .header-text*/.sc-calcite-accordion-item-h .header-text.sc-calcite-accordion-item{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}/*!@:host .heading,\n:host .description*/.sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h .description.sc-calcite-accordion-item{display:flex;inline-size:100%}/*!@:host .heading*/.sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .description*/.sc-calcite-accordion-item-h .description.sc-calcite-accordion-item{margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}/*!@:host(:focus) .heading,\n:host(:hover) .heading*/.sc-calcite-accordion-item-h:focus .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .heading.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .icon,\n:host(:hover) .icon*/.sc-calcite-accordion-item-h:focus .icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .expand-icon,\n:host(:hover) .expand-icon*/.sc-calcite-accordion-item-h:focus .expand-icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .description,\n:host(:hover) .description*/.sc-calcite-accordion-item-h:focus .description.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .description.sc-calcite-accordion-item{color:var(--calcite-ui-text-2)}/*!@:host(:focus) .heading,\n:host(:active) .heading,\n:host([expanded]) .heading*/.sc-calcite-accordion-item-h:focus .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .heading.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .icon,\n:host(:active) .icon,\n:host([expanded]) .icon*/.sc-calcite-accordion-item-h:focus .icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .icon.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .expand-icon,\n:host(:active) .expand-icon,\n:host([expanded]) .expand-icon*/.sc-calcite-accordion-item-h:focus .expand-icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .expand-icon.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .description,\n:host(:active) .description,\n:host([expanded]) .description*/.sc-calcite-accordion-item-h:focus .description.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .description.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .description.sc-calcite-accordion-item{color:var(--calcite-ui-text-2)}/*!@.header-content*/.header-content.sc-calcite-accordion-item{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}/*!@.actions-start,\n.actions-end*/.actions-start.sc-calcite-accordion-item,.actions-end.sc-calcite-accordion-item{display:flex;align-items:center}@media (forced-colors: active){/*!@:host([expanded]) .header*/[expanded].sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{border-block-end:none}/*!@:host([expanded]) .heading*/[expanded].sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item{font-weight:bolder}/*!@:host(:hover) .heading,\n :host(:focus) .heading*/.sc-calcite-accordion-item-h:hover .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:focus .heading.sc-calcite-accordion-item{text-decoration:underline}}/*!@:host([hidden])*/[hidden].sc-calcite-accordion-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-accordion-item{display:none}";
|
|
7042
7013
|
|
|
@@ -7101,13 +7072,13 @@ class AccordionItem {
|
|
|
7101
7072
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
7102
7073
|
[`icon-position--${this.iconPosition}`]: true,
|
|
7103
7074
|
[`icon-type--${this.iconType}`]: true,
|
|
7104
|
-
} }, hAsync("div", { class: { [CSS$1b.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$1b.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$1b.headerContainer }, iconStartEl, hAsync("div", { class: CSS$1b.headerText }, hAsync("span", { class: CSS$1b.heading }, this.heading), description ? hAsync("span", { class: CSS$1b.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$1b.expandIcon, icon: this.iconType === "chevron"
|
|
7075
|
+
} }, hAsync("div", { class: { [CSS$1b.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-controls": IDS.section, "aria-expanded": toAriaBoolean(this.expanded), class: CSS$1b.headerContent, id: IDS.sectionToggle, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$1b.headerContainer }, iconStartEl, hAsync("div", { class: CSS$1b.headerText }, hAsync("span", { class: CSS$1b.heading }, this.heading), description ? hAsync("span", { class: CSS$1b.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$1b.expandIcon, icon: this.iconType === "chevron"
|
|
7105
7076
|
? "chevronDown"
|
|
7106
7077
|
: this.iconType === "caret"
|
|
7107
7078
|
? "caretDown"
|
|
7108
7079
|
: this.expanded
|
|
7109
7080
|
? "minus"
|
|
7110
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("
|
|
7081
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("section", { "aria-labelledby": IDS.sectionToggle, class: CSS$1b.content, id: IDS.section }, hAsync("slot", null)))));
|
|
7111
7082
|
}
|
|
7112
7083
|
//--------------------------------------------------------------------------
|
|
7113
7084
|
//
|
|
@@ -25985,7 +25956,8 @@ class InputNumber {
|
|
|
25985
25956
|
};
|
|
25986
25957
|
const delocalizedValue = numberStringFormatter.delocalize(value);
|
|
25987
25958
|
if (nativeEvent.inputType === "insertFromPaste") {
|
|
25988
|
-
if (!isValidNumber(delocalizedValue)
|
|
25959
|
+
if (!isValidNumber(delocalizedValue) ||
|
|
25960
|
+
(this.integer && (delocalizedValue.includes("e") || delocalizedValue.includes(".")))) {
|
|
25989
25961
|
nativeEvent.preventDefault();
|
|
25990
25962
|
}
|
|
25991
25963
|
this.setNumberValue({
|
|
@@ -26042,7 +26014,7 @@ class InputNumber {
|
|
|
26042
26014
|
numberingSystem: this.numberingSystem,
|
|
26043
26015
|
useGrouping: this.groupSeparator,
|
|
26044
26016
|
};
|
|
26045
|
-
if (event.key === numberStringFormatter.decimal) {
|
|
26017
|
+
if (event.key === numberStringFormatter.decimal && !this.integer) {
|
|
26046
26018
|
if (!this.value && !this.childNumberEl.value) {
|
|
26047
26019
|
return;
|
|
26048
26020
|
}
|
|
@@ -26050,7 +26022,7 @@ class InputNumber {
|
|
|
26050
26022
|
return;
|
|
26051
26023
|
}
|
|
26052
26024
|
}
|
|
26053
|
-
if (/[eE]/.test(event.key)) {
|
|
26025
|
+
if (/[eE]/.test(event.key) && !this.integer) {
|
|
26054
26026
|
if (!this.value && !this.childNumberEl.value) {
|
|
26055
26027
|
return;
|
|
26056
26028
|
}
|
|
@@ -26135,8 +26107,11 @@ class InputNumber {
|
|
|
26135
26107
|
useGrouping: this.groupSeparator,
|
|
26136
26108
|
};
|
|
26137
26109
|
const isValueDeleted = this.previousValue?.length > value.length || this.value?.length > value.length;
|
|
26138
|
-
const
|
|
26139
|
-
const
|
|
26110
|
+
const valueHandleInteger = this.integer ? value.replace(/[e.]/g, "") : value;
|
|
26111
|
+
const hasTrailingDecimalSeparator = valueHandleInteger.charAt(valueHandleInteger.length - 1) === ".";
|
|
26112
|
+
const sanitizedValue = hasTrailingDecimalSeparator && isValueDeleted
|
|
26113
|
+
? valueHandleInteger
|
|
26114
|
+
: sanitizeNumberString(valueHandleInteger);
|
|
26140
26115
|
const newValue = value && !sanitizedValue
|
|
26141
26116
|
? isValidNumber(this.previousValue)
|
|
26142
26117
|
? this.previousValue
|
|
@@ -26184,6 +26159,7 @@ class InputNumber {
|
|
|
26184
26159
|
this.hidden = false;
|
|
26185
26160
|
this.icon = undefined;
|
|
26186
26161
|
this.iconFlipRtl = false;
|
|
26162
|
+
this.integer = false;
|
|
26187
26163
|
this.label = undefined;
|
|
26188
26164
|
this.loading = false;
|
|
26189
26165
|
this.numberingSystem = undefined;
|
|
@@ -26335,7 +26311,8 @@ class InputNumber {
|
|
|
26335
26311
|
incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
|
|
26336
26312
|
const { value } = this;
|
|
26337
26313
|
const adjustment = direction === "up" ? 1 : -1;
|
|
26338
|
-
const
|
|
26314
|
+
const stepHandleInteger = this.integer && this.step !== "any" ? Math.round(this.step) : this.step;
|
|
26315
|
+
const inputStep = stepHandleInteger === "any" ? 1 : Math.abs(stepHandleInteger || 1);
|
|
26339
26316
|
const inputVal = new BigDecimal(value !== "" ? value : "0");
|
|
26340
26317
|
const nudgedValue = inputVal.add(`${inputStep * adjustment}`);
|
|
26341
26318
|
const nudgedValueBelowInputMin = () => typeof inputMin === "number" &&
|
|
@@ -26447,6 +26424,7 @@ class InputNumber {
|
|
|
26447
26424
|
"hidden": [516],
|
|
26448
26425
|
"icon": [520],
|
|
26449
26426
|
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
26427
|
+
"integer": [4],
|
|
26450
26428
|
"label": [1],
|
|
26451
26429
|
"loading": [516],
|
|
26452
26430
|
"numberingSystem": [513, "numbering-system"],
|
|
@@ -32407,7 +32385,6 @@ Sortable.mount(new AutoScrollPlugin());
|
|
|
32407
32385
|
Sortable.mount(Remove, Revert);
|
|
32408
32386
|
|
|
32409
32387
|
const sortableComponentSet = new Set();
|
|
32410
|
-
const inactiveSortableComponentSet = new WeakSet();
|
|
32411
32388
|
/**
|
|
32412
32389
|
* Helper to keep track of a SortableComponent. This should be called in the `connectedCallback` lifecycle method as well as any other method necessary to rebuild the sortable instance.
|
|
32413
32390
|
*
|
|
@@ -32416,9 +32393,6 @@ const inactiveSortableComponentSet = new WeakSet();
|
|
|
32416
32393
|
function connectSortableComponent(component) {
|
|
32417
32394
|
disconnectSortableComponent(component);
|
|
32418
32395
|
sortableComponentSet.add(component);
|
|
32419
|
-
if (inactiveSortableComponentSet.has(component)) {
|
|
32420
|
-
return;
|
|
32421
|
-
}
|
|
32422
32396
|
const dataIdAttr = "id";
|
|
32423
32397
|
const { group, handleSelector: handle, dragSelector: draggable } = component;
|
|
32424
32398
|
component.sortable = Sortable.create(component.el, {
|
|
@@ -32436,16 +32410,16 @@ function connectSortableComponent(component) {
|
|
|
32436
32410
|
},
|
|
32437
32411
|
}),
|
|
32438
32412
|
handle,
|
|
32439
|
-
onStart: (
|
|
32440
|
-
|
|
32441
|
-
|
|
32413
|
+
onStart: () => {
|
|
32414
|
+
dragState.active = true;
|
|
32415
|
+
onDragStart();
|
|
32442
32416
|
},
|
|
32443
|
-
onEnd: (
|
|
32444
|
-
|
|
32445
|
-
|
|
32417
|
+
onEnd: () => {
|
|
32418
|
+
dragState.active = false;
|
|
32419
|
+
onDragEnd();
|
|
32446
32420
|
},
|
|
32447
|
-
onSort: (
|
|
32448
|
-
component.onDragSort(
|
|
32421
|
+
onSort: ({ from: fromEl, item: dragEl, to: toEl }) => {
|
|
32422
|
+
component.onDragSort({ fromEl, dragEl, toEl });
|
|
32449
32423
|
},
|
|
32450
32424
|
});
|
|
32451
32425
|
}
|
|
@@ -32456,30 +32430,24 @@ function connectSortableComponent(component) {
|
|
|
32456
32430
|
*/
|
|
32457
32431
|
function disconnectSortableComponent(component) {
|
|
32458
32432
|
sortableComponentSet.delete(component);
|
|
32459
|
-
if (inactiveSortableComponentSet.has(component)) {
|
|
32460
|
-
return;
|
|
32461
|
-
}
|
|
32462
32433
|
component.sortable?.destroy();
|
|
32463
32434
|
component.sortable = null;
|
|
32464
32435
|
}
|
|
32465
|
-
|
|
32466
|
-
return Array.from(sortableComponentSet).filter((component) => component !== activeComponent && containsCrossShadowBoundary(activeComponent.el, component.el));
|
|
32467
|
-
}
|
|
32436
|
+
const dragState = { active: false };
|
|
32468
32437
|
/**
|
|
32469
|
-
* Helper to
|
|
32438
|
+
* Helper to determine if dragging is currently active.
|
|
32470
32439
|
*
|
|
32471
|
-
* @param
|
|
32440
|
+
* @param component The sortable component.
|
|
32441
|
+
* @returns {boolean} a boolean value.
|
|
32472
32442
|
*/
|
|
32473
|
-
function
|
|
32474
|
-
|
|
32443
|
+
function dragActive(component) {
|
|
32444
|
+
return component.dragEnabled && dragState.active;
|
|
32475
32445
|
}
|
|
32476
|
-
|
|
32477
|
-
|
|
32478
|
-
|
|
32479
|
-
|
|
32480
|
-
|
|
32481
|
-
function onSortingEnd(activeComponent) {
|
|
32482
|
-
getNestedSortableComponents(activeComponent).forEach((component) => inactiveSortableComponentSet.delete(component));
|
|
32446
|
+
function onDragStart() {
|
|
32447
|
+
Array.from(sortableComponentSet).forEach((component) => component.onDragStart());
|
|
32448
|
+
}
|
|
32449
|
+
function onDragEnd() {
|
|
32450
|
+
Array.from(sortableComponentSet).forEach((component) => component.onDragEnd());
|
|
32483
32451
|
}
|
|
32484
32452
|
|
|
32485
32453
|
const CSS$y = {
|
|
@@ -32761,13 +32729,19 @@ class List$1 {
|
|
|
32761
32729
|
//
|
|
32762
32730
|
//--------------------------------------------------------------------------
|
|
32763
32731
|
connectedCallback() {
|
|
32732
|
+
if (dragActive(this)) {
|
|
32733
|
+
return;
|
|
32734
|
+
}
|
|
32764
32735
|
this.connectObserver();
|
|
32765
32736
|
this.updateListItems();
|
|
32766
32737
|
this.setUpSorting();
|
|
32767
32738
|
connectInteractive(this);
|
|
32768
|
-
this.
|
|
32739
|
+
this.setParentList();
|
|
32769
32740
|
}
|
|
32770
32741
|
disconnectedCallback() {
|
|
32742
|
+
if (dragActive(this)) {
|
|
32743
|
+
return;
|
|
32744
|
+
}
|
|
32771
32745
|
this.disconnectObserver();
|
|
32772
32746
|
disconnectSortableComponent(this);
|
|
32773
32747
|
disconnectInteractive(this);
|
|
@@ -32833,14 +32807,13 @@ class List$1 {
|
|
|
32833
32807
|
onDragEnd() {
|
|
32834
32808
|
this.connectObserver();
|
|
32835
32809
|
}
|
|
32836
|
-
onDragSort(
|
|
32810
|
+
onDragSort(detail) {
|
|
32811
|
+
this.setParentList();
|
|
32837
32812
|
this.updateListItems();
|
|
32838
|
-
|
|
32839
|
-
|
|
32840
|
-
|
|
32841
|
-
|
|
32842
|
-
toEl: to,
|
|
32843
|
-
});
|
|
32813
|
+
this.calciteListOrderChange.emit(detail);
|
|
32814
|
+
}
|
|
32815
|
+
setParentList() {
|
|
32816
|
+
this.parentListEl = this.el.parentElement?.closest("calcite-list");
|
|
32844
32817
|
}
|
|
32845
32818
|
filterElements({ el, filteredItems, visibleParents, }) {
|
|
32846
32819
|
const hidden = !visibleParents.has(el) && !filteredItems.includes(el);
|
|
@@ -39452,11 +39425,17 @@ class SortableList {
|
|
|
39452
39425
|
//
|
|
39453
39426
|
// --------------------------------------------------------------------------
|
|
39454
39427
|
connectedCallback() {
|
|
39428
|
+
if (dragActive(this)) {
|
|
39429
|
+
return;
|
|
39430
|
+
}
|
|
39455
39431
|
this.setUpSorting();
|
|
39456
39432
|
this.beginObserving();
|
|
39457
39433
|
connectInteractive(this);
|
|
39458
39434
|
}
|
|
39459
39435
|
disconnectedCallback() {
|
|
39436
|
+
if (dragActive(this)) {
|
|
39437
|
+
return;
|
|
39438
|
+
}
|
|
39460
39439
|
disconnectInteractive(this);
|
|
39461
39440
|
disconnectSortableComponent(this);
|
|
39462
39441
|
this.endObserving();
|
|
@@ -39796,12 +39775,16 @@ class Stepper {
|
|
|
39796
39775
|
this.items = [];
|
|
39797
39776
|
/** list of enabled Stepper items */
|
|
39798
39777
|
this.enabledItems = [];
|
|
39778
|
+
this.mutationObserver = createObserver();
|
|
39799
39779
|
this.icon = false;
|
|
39800
39780
|
this.layout = "horizontal";
|
|
39801
39781
|
this.numbered = false;
|
|
39782
|
+
this.scale = "m";
|
|
39802
39783
|
this.numberingSystem = undefined;
|
|
39803
39784
|
this.selectedItem = null;
|
|
39804
|
-
|
|
39785
|
+
}
|
|
39786
|
+
handleItemPropChange() {
|
|
39787
|
+
this.updateItems();
|
|
39805
39788
|
}
|
|
39806
39789
|
numberingSystemChange() {
|
|
39807
39790
|
this.setStepperItemNumberingSystem();
|
|
@@ -39811,6 +39794,10 @@ class Stepper {
|
|
|
39811
39794
|
// Lifecycle
|
|
39812
39795
|
//
|
|
39813
39796
|
//--------------------------------------------------------------------------
|
|
39797
|
+
connectedCallback() {
|
|
39798
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
|
39799
|
+
this.updateItems();
|
|
39800
|
+
}
|
|
39814
39801
|
componentDidLoad() {
|
|
39815
39802
|
// if no stepper items are set as active, default to the first one
|
|
39816
39803
|
if (typeof this.currentPosition !== "number") {
|
|
@@ -39925,6 +39912,14 @@ class Stepper {
|
|
|
39925
39912
|
}
|
|
39926
39913
|
this.updateStep(enabledStepIndex);
|
|
39927
39914
|
}
|
|
39915
|
+
updateItems() {
|
|
39916
|
+
this.el.querySelectorAll("calcite-stepper-item").forEach((item) => {
|
|
39917
|
+
item.icon = this.icon;
|
|
39918
|
+
item.numbered = this.numbered;
|
|
39919
|
+
item.layout = this.layout;
|
|
39920
|
+
item.scale = this.scale;
|
|
39921
|
+
});
|
|
39922
|
+
}
|
|
39928
39923
|
//--------------------------------------------------------------------------
|
|
39929
39924
|
//
|
|
39930
39925
|
// Private Methods
|
|
@@ -39960,6 +39955,10 @@ class Stepper {
|
|
|
39960
39955
|
}
|
|
39961
39956
|
get el() { return getElement(this); }
|
|
39962
39957
|
static get watchers() { return {
|
|
39958
|
+
"icon": ["handleItemPropChange"],
|
|
39959
|
+
"layout": ["handleItemPropChange"],
|
|
39960
|
+
"numbered": ["handleItemPropChange"],
|
|
39961
|
+
"scale": ["handleItemPropChange"],
|
|
39963
39962
|
"numberingSystem": ["numberingSystemChange"]
|
|
39964
39963
|
}; }
|
|
39965
39964
|
static get style() { return stepperCss; }
|
|
@@ -39970,9 +39969,9 @@ class Stepper {
|
|
|
39970
39969
|
"icon": [516],
|
|
39971
39970
|
"layout": [513],
|
|
39972
39971
|
"numbered": [516],
|
|
39972
|
+
"scale": [513],
|
|
39973
39973
|
"numberingSystem": [513, "numbering-system"],
|
|
39974
39974
|
"selectedItem": [1040],
|
|
39975
|
-
"scale": [513],
|
|
39976
39975
|
"nextStep": [64],
|
|
39977
39976
|
"prevStep": [64],
|
|
39978
39977
|
"goToStep": [64],
|
|
@@ -39981,7 +39980,7 @@ class Stepper {
|
|
|
39981
39980
|
},
|
|
39982
39981
|
"$listeners$": [[0, "calciteInternalStepperItemKeyEvent", "calciteInternalStepperItemKeyEvent"], [0, "calciteInternalStepperItemRegister", "registerItem"], [0, "calciteInternalStepperItemSelect", "updateItem"], [0, "calciteInternalUserRequestedStepperItemSelect", "handleUserRequestedStepperItemSelect"]],
|
|
39983
39982
|
"$lazyBundleId$": "-",
|
|
39984
|
-
"$attrsToReflect$": [["icon", "icon"], ["layout", "layout"], ["numbered", "numbered"], ["
|
|
39983
|
+
"$attrsToReflect$": [["icon", "icon"], ["layout", "layout"], ["numbered", "numbered"], ["scale", "scale"], ["numberingSystem", "numbering-system"]]
|
|
39985
39984
|
}; }
|
|
39986
39985
|
}
|
|
39987
39986
|
|
|
@@ -40055,12 +40054,12 @@ class StepperItem {
|
|
|
40055
40054
|
this.disabled = false;
|
|
40056
40055
|
this.heading = undefined;
|
|
40057
40056
|
this.description = undefined;
|
|
40058
|
-
this.layout = "horizontal";
|
|
40059
|
-
this.icon = false;
|
|
40060
40057
|
this.iconFlipRtl = false;
|
|
40058
|
+
this.numberingSystem = undefined;
|
|
40059
|
+
this.icon = false;
|
|
40060
|
+
this.layout = undefined;
|
|
40061
40061
|
this.numbered = false;
|
|
40062
40062
|
this.scale = "m";
|
|
40063
|
-
this.numberingSystem = undefined;
|
|
40064
40063
|
this.effectiveLocale = "";
|
|
40065
40064
|
}
|
|
40066
40065
|
selectedHandler() {
|
|
@@ -40090,10 +40089,6 @@ class StepperItem {
|
|
|
40090
40089
|
}
|
|
40091
40090
|
componentWillLoad() {
|
|
40092
40091
|
setUpLoadableComponent(this);
|
|
40093
|
-
this.icon = getElementProp(this.el, "icon", false);
|
|
40094
|
-
this.numbered = getElementProp(this.el, "numbered", false);
|
|
40095
|
-
this.layout = getElementProp(this.el, "layout", false);
|
|
40096
|
-
this.scale = getElementProp(this.el, "scale", "m");
|
|
40097
40092
|
this.parentStepperEl = this.el.parentElement;
|
|
40098
40093
|
this.itemPosition = this.getItemPosition();
|
|
40099
40094
|
this.registerStepperItem();
|
|
@@ -40186,18 +40181,18 @@ class StepperItem {
|
|
|
40186
40181
|
"disabled": [516],
|
|
40187
40182
|
"heading": [1],
|
|
40188
40183
|
"description": [1],
|
|
40189
|
-
"layout": [1537],
|
|
40190
|
-
"icon": [1028],
|
|
40191
40184
|
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
40192
|
-
"numbered": [1028],
|
|
40193
|
-
"scale": [1537],
|
|
40194
40185
|
"numberingSystem": [1, "numbering-system"],
|
|
40186
|
+
"icon": [4],
|
|
40187
|
+
"layout": [513],
|
|
40188
|
+
"numbered": [4],
|
|
40189
|
+
"scale": [513],
|
|
40195
40190
|
"effectiveLocale": [32],
|
|
40196
40191
|
"setFocus": [64]
|
|
40197
40192
|
},
|
|
40198
40193
|
"$listeners$": [[16, "calciteInternalStepperItemChange", "updateActiveItemOnChange"]],
|
|
40199
40194
|
"$lazyBundleId$": "-",
|
|
40200
|
-
"$attrsToReflect$": [["selected", "selected"], ["complete", "complete"], ["error", "error"], ["disabled", "disabled"], ["
|
|
40195
|
+
"$attrsToReflect$": [["selected", "selected"], ["complete", "complete"], ["error", "error"], ["disabled", "disabled"], ["iconFlipRtl", "icon-flip-rtl"], ["layout", "layout"], ["scale", "scale"]]
|
|
40201
40196
|
}; }
|
|
40202
40197
|
}
|
|
40203
40198
|
|
|
@@ -44956,6 +44951,9 @@ class ValueList {
|
|
|
44956
44951
|
//
|
|
44957
44952
|
// --------------------------------------------------------------------------
|
|
44958
44953
|
connectedCallback() {
|
|
44954
|
+
if (dragActive(this)) {
|
|
44955
|
+
return;
|
|
44956
|
+
}
|
|
44959
44957
|
connectInteractive(this);
|
|
44960
44958
|
connectLocalized(this);
|
|
44961
44959
|
connectMessages(this);
|
|
@@ -44975,6 +44973,9 @@ class ValueList {
|
|
|
44975
44973
|
updateHostInteraction(this);
|
|
44976
44974
|
}
|
|
44977
44975
|
disconnectedCallback() {
|
|
44976
|
+
if (dragActive(this)) {
|
|
44977
|
+
return;
|
|
44978
|
+
}
|
|
44978
44979
|
disconnectInteractive(this);
|
|
44979
44980
|
disconnectSortableComponent(this);
|
|
44980
44981
|
disconnectLocalized(this);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.7.0-next.
|
|
3
|
+
"version": "1.7.0-next.19",
|
|
4
4
|
"homepage": "https://developers.arcgis.com/calcite-design-system/",
|
|
5
5
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"volta": {
|
|
89
89
|
"extends": "../../package.json"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "38be8f88f5768571941f00767ada42d1f8f6a520"
|
|
92
92
|
}
|
|
@@ -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.17
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,H as s,a}from"./p-097135c4.js";import{s as l,a as n}from"./p-6dd676a4.js";import{u as o,s as r,c,d as h}from"./p-1811fd36.js";import{n as d,c as b,d as p}from"./p-f598d949.js";import{g as u}from"./p-361b0e6e.js";import"./p-a023f677.js";import"./p-1fc90548.js";import"./p-22363d44.js";import"./p-61438d6f.js";import"./p-1707e155.js";const f=class{constructor(i){t(this,i),this.calciteTableSelect=e(this,"calciteTableSelect",6),this.calciteTablePageChange=e(this,"calciteTablePageChange",6),this.calciteInternalTableRowFocusChange=e(this,"calciteInternalTableRowFocusChange",6),this.getSlottedRows=t=>t?.assignedElements({flatten:!0})?.filter((t=>t?.matches("calcite-table-row"))),this.updateRows=()=>{const t=this.getSlottedRows(this.tableHeadSlotEl)||[],e=this.getSlottedRows(this.tableBodySlotEl)||[],i=this.getSlottedRows(this.tableFootSlotEl)||[],s=[...t,...e,...i];t?.forEach((e=>{const i=t?.indexOf(e);e.rowType="head",e.positionSection=i,e.positionSectionLocalized=this.localizeNumber((i+1).toString())})),e?.forEach((t=>{const i=e?.indexOf(t);t.rowType="body",t.positionSection=i,t.positionSectionLocalized=this.localizeNumber((i+1).toString())})),i?.forEach((t=>{const e=i?.indexOf(t);t.rowType="foot",t.positionSection=e,t.positionSectionLocalized=this.localizeNumber((e+1).toString())})),s?.forEach((t=>{t.selectionMode=this.selectionMode,t.bodyRowCount=e?.length,t.positionAll=s?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT}));const a=t[0]?.cellCount||t[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=a,this.headRows=t,this.bodyRows=e,this.footRows=i,this.allRows=s,this.updateSelectedItems(),this.paginateRows()},this.handlePaginationChange=()=>{const t=this.paginationEl?.startItem;this.pageStartRow=t||1,this.calciteTablePageChange.emit(),this.updateRows()},this.paginateRows=()=>{this.bodyRows?.forEach((t=>{const e=t.positionSection+1;t.hidden=this.pageSize>0&&!(e>=this.pageStartRow&&e<this.pageStartRow+this.pageSize)&&!this.footRows.includes(t)}))},this.updateSelectedItems=t=>{const e=this.bodyRows?.filter((t=>t.selected));this.selectedItems=e,this.selectedCount=e?.length,this.allRows?.forEach((t=>{t.selectedRowCount=this.selectedCount,t.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)})),t&&this.calciteTableSelect.emit()},this.handleDeselectAllRows=()=>{this.bodyRows?.forEach((t=>{t.selected=!1})),this.updateSelectedItems(!0)},this.setSelectedItems=t=>{this.bodyRows?.forEach((e=>{e.selected="head"===t?.rowType?this.selectedCount!==this.bodyRows?.length:t===e?!e.selected:"multiple"===this.selectionMode&&e.selected})),this.updateSelectedItems(!0)},this.localizeNumber=t=>(d.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},d.localize(t.toString())),this.bordered=!1,this.caption=void 0,this.groupSeparator=!1,this.layout="auto",this.numbered=!1,this.numberingSystem=void 0,this.pageSize=0,this.scale="m",this.selectionMode="none",this.zebra=!1,this.selectedItems=[],this.messages=void 0,this.messageOverrides=void 0,this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.readCellContentsToAT=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}handleNumberedChange(){this.updateRows()}onMessagesChange(){}effectiveLocaleChange(){o(this,this.effectiveLocale)}async componentWillLoad(){l(this),await r(this),this.readCellContentsToAT=/safari/i.test(u()),this.updateRows()}componentDidLoad(){n(this)}connectedCallback(){b(this),c(this)}disconnectedCallback(){p(this),h(this)}calciteChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(t.target)}calciteInternalTableRowFocusEvent(t){const e=t.detail.cellPosition,i=t.detail.rowPosition,s=t.detail.destination,a=t.detail.lastCell,l=this.bodyRows?.filter((t=>!t.hidden)),n=this.allRows?.filter((t=>!t.hidden)),o=this.headRows[this.headRows.length-1]?.positionAll,r=l[0]?.positionAll,c=l[l.length-1]?.positionAll,h=this.footRows[0]?.positionAll,d=n[n.length-1]?.positionAll,b="next"===s&&i===o,p="previous"===s&&i===h,u="previous"===s&&i===r,f="next"===s&&i===c;let m;switch(s){case"first":m=0;break;case"last":m=d;break;case"next":m=b?r:f?h:i+1;break;case"previous":m=p?c:u?o:i-1}const g=this.allRows?.find((t=>t.positionAll===m))?.cellCount;void 0!==m&&this.calciteInternalTableRowFocusChange.emit({cellPosition:e>g?g:e,rowPosition:m,destination:s,lastCell:a})}renderSelectionArea(){const t=this.selectedItems?.filter((t=>t.hidden))?.length,e=this.localizeNumber(t?.toString()),s=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,a=`${e} ${this.messages.hiddenSelected}`;return i("div",{class:"selection-area"},i("calcite-chip",{kind:this.selectedCount>0?"brand":"neutral",scale:this.scale,value:s},s),t>0&&i("calcite-chip",{icon:"hide-empty",scale:this.scale,title:a,value:a},e),this.selectedCount>0&&i("calcite-button",{"icon-start":"x",kind:"neutral",onClick:this.handleDeselectAllRows,round:!0,scale:this.scale,title:`${this.messages.clear} ${s} ${this.messages.row}`},this.messages.clear),i("div",{class:"selection-actions"},i("slot",{name:"selection-actions"})))}renderPaginationArea(){return i("div",{class:"pagination-area"},i("calcite-pagination",{groupSeparator:this.groupSeparator,numberingSystem:this.numberingSystem,onCalcitePaginationChange:this.handlePaginationChange,pageSize:this.pageSize,scale:this.scale,startItem:1,totalItems:this.bodyRows?.length,ref:t=>this.paginationEl=t}))}renderTHead(){return i("thead",null,i("slot",{name:"table-header",onSlotchange:this.updateRows,ref:t=>this.tableHeadSlotEl=t}))}renderTBody(){return i("tbody",null,i("slot",{onSlotchange:this.updateRows,ref:t=>this.tableBodySlotEl=t}))}renderTFoot(){return i("tfoot",null,i("slot",{name:"table-footer",onSlotchange:this.updateRows,ref:t=>this.tableFootSlotEl=t}))}render(){return i(s,null,i("div",{class:"container"},"none"!==this.selectionMode&&this.renderSelectionArea(),i("div",{class:{bordered:this.bordered,zebra:this.zebra,"table-container":!0}},i("table",{"aria-colcount":this.colCount,"aria-multiselectable":"multiple"===this.selectionMode,"aria-readonly":!0,"aria-rowcount":this.allRows?.length,class:{"table--fixed":"fixed"===this.layout},role:"grid"},i("caption",{class:"assistive-text"},this.caption),this.renderTHead(),this.renderTBody(),this.renderTFoot())),this.pageSize>0&&this.renderPaginationArea()))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{groupSeparator:["handleNumberedChange"],numbered:["handleNumberedChange"],numberingSystem:["handleNumberedChange"],pageSize:["handleNumberedChange"],scale:["handleNumberedChange"],selectionMode:["handleNumberedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};f.style=":host([scale=s]){--calcite-internal-table-cell-padding:0.25rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding:0.5rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding:1rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--1)}:host{display:table}.container{max-inline-size:100vw;inline-size:100%}.table-container{overflow-x:scroll;white-space:nowrap}.table-container:not(.bordered){border-block-end:1px solid var(--calcite-ui-border-3)}.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}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll;border-block-start:1px solid var(--calcite-ui-border-3);border-inline-start:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3)}tbody{border-block-end:1px solid var(--calcite-ui-border-3)}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color:var(--calcite-ui-border-3)}.zebra ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background:var(--calcite-ui-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:0.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:0.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}:host([hidden]){display:none}[hidden]{display:none}";export{f as calcite_table}
|
|
@@ -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.17
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,c as t,h as e,F as s,a}from"./p-097135c4.js";import{f as n}from"./p-17ede011.js";import{c as o,u as r,d as c}from"./p-fe2af1ec.js";import{s as l,a as d,c as h}from"./p-6dd676a4.js";import{c as p,d as m}from"./p-f598d949.js";import{u,s as f,c as b,d as g}from"./p-1811fd36.js";import{d as v}from"./p-0671d350.js";import"./p-361b0e6e.js";import"./p-a023f677.js";import"./p-1fc90548.js";import"./p-22363d44.js";import"./p-61438d6f.js";import"./p-1707e155.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 f(this)}connectedCallback(){o(this),p(this),b(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,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.17
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as s,a as o}from"./p-097135c4.js";import{c as i,d as a}from"./p-bd807a06.js";import{c as e,s as c,a as n}from"./p-6dd676a4.js";import{c as l,d as r}from"./p-f598d949.js";import{u as d,c as h,d as p,s as u}from"./p-1811fd36.js";import{S as m}from"./p-ec90ebf3.js";import{S as g,I as f,C as x}from"./p-9391cf60.js";import{b}from"./p-a023f677.js";import"./p-1707e155.js";import"./p-61438d6f.js";import"./p-1fc90548.js";import"./p-22363d44.js";const v=class{constructor(s){t(this,s),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.handleMenuActionsSlotChange=t=>{this.hasMenuActions=b(t)},this.expanded=!1,this.label=void 0,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.overlayPositioning="absolute",this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasMenuActions=!1}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}async setFocus(){await e(this),this.el.focus()}connectedCallback(){l(this),h(this),i(this)}disconnectedCallback(){r(this),p(this),a(this)}async componentWillLoad(){c(this),await u(this)}componentDidLoad(){n(this)}renderMenu(){const{expanded:t,menuOpen:o,scale:i,layout:a,messages:e,overlayPositioning:c,hasMenuActions:n}=this;return s("calcite-action-menu",{expanded:t,flipPlacements:["left","right"],hidden:!n,label:e.more,onCalciteActionMenuOpen:this.setMenuOpen,open:o,overlayPositioning:c,placement:"horizontal"===a?"bottom-start":"leading-start",scale:i},s("calcite-action",{icon:f.menu,scale:i,slot:m.trigger,text:e.more,textEnabled:t}),s("slot",{name:g.menuActions,onSlotchange:this.handleMenuActionsSlotChange}),s("slot",{name:g.menuTooltip,slot:m.tooltip}))}render(){return s("div",{"aria-label":this.label,class:x.container,role:"group"},s("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.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{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}.container{display:flex;flex-direction:column}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}:host([hidden]){display:none}[hidden]{display:none}';export{v as calcite_action_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.17
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,a as s,H as n}from"./p-097135c4.js";import{b as a,t as l,g as o}from"./p-a023f677.js";import{c,d as r,u as h}from"./p-fe2af1ec.js";import{c as d}from"./p-1707e155.js";import{d as p,c as u}from"./p-3c76739d.js";import{S as f}from"./p-37403e16.js";import{s as m,a as b,c as g}from"./p-6dd676a4.js";import{d as v}from"./p-0671d350.js";import{c as w,d as y}from"./p-f598d949.js";import{u as x,c as C,s as k,d as I}from"./p-1811fd36.js";import"./p-1fc90548.js";import"./p-22363d44.js";import"./p-361b0e6e.js";import"./p-61438d6f.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(){m(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:f.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:f.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(){m(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,f="none"!==p&&"border"===d,m=f&&h,b=f&&!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":m,"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}
|