@esri/calcite-components 2.2.0-next.10 → 2.2.0-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00ec3b40.entry.js +7 -0
- package/dist/calcite/p-01d0b79e.entry.js +7 -0
- package/dist/calcite/p-03514f40.js +7 -0
- package/dist/calcite/p-08408029.entry.js +7 -0
- package/dist/calcite/p-08408029.entry.js.map +1 -0
- package/dist/calcite/p-09d785b7.entry.js +7 -0
- package/dist/calcite/p-0a21ae9a.entry.js +7 -0
- package/dist/calcite/p-0c74332d.entry.js +7 -0
- package/dist/calcite/p-0c82022e.entry.js +7 -0
- package/dist/calcite/p-0c82022e.entry.js.map +1 -0
- package/dist/calcite/p-10ce1025.js +7 -0
- package/dist/calcite/p-12b96fb7.entry.js +7 -0
- package/dist/calcite/p-1457e761.js +7 -0
- package/dist/calcite/p-1554e4ce.entry.js +7 -0
- package/dist/calcite/p-1554e4ce.entry.js.map +1 -0
- package/dist/calcite/p-156ce16b.js +7 -0
- package/dist/calcite/p-163b702a.js +7 -0
- package/dist/calcite/p-17d1b050.js +7 -0
- package/dist/calcite/p-1844f3c8.js +7 -0
- package/dist/calcite/p-1adc319c.entry.js +7 -0
- package/dist/calcite/p-1ae4df79.entry.js +7 -0
- package/dist/calcite/p-1ae4df79.entry.js.map +1 -0
- package/dist/calcite/p-1ba52137.entry.js +7 -0
- package/dist/calcite/p-1ba52137.entry.js.map +1 -0
- package/dist/calcite/p-1ebf9938.js +7 -0
- package/dist/calcite/p-2074af32.js +7 -0
- package/dist/calcite/p-214ccc59.entry.js +7 -0
- package/dist/calcite/p-214ccc59.entry.js.map +1 -0
- package/dist/calcite/p-227cf9b0.entry.js +7 -0
- package/dist/calcite/p-23373769.js +7 -0
- package/dist/calcite/p-24065bf5.entry.js +7 -0
- package/dist/calcite/p-24065bf5.entry.js.map +1 -0
- package/dist/calcite/p-26555df5.js +7 -0
- package/dist/calcite/p-2898f4e3.entry.js +7 -0
- package/dist/calcite/p-2b228bdb.js +7 -0
- package/dist/calcite/p-2c9f261b.entry.js +7 -0
- package/dist/calcite/p-2c9f261b.entry.js.map +1 -0
- package/dist/calcite/p-2e9e8356.entry.js +7 -0
- package/dist/calcite/p-2e9e8356.entry.js.map +1 -0
- package/dist/calcite/p-2ec1ae1f.js +7 -0
- package/dist/calcite/p-330dcff5.entry.js +7 -0
- package/dist/calcite/p-336ecede.js +7 -0
- package/dist/calcite/p-3401e225.js +8 -0
- package/dist/calcite/p-35de244d.js +11 -0
- package/dist/calcite/p-39154db7.entry.js +7 -0
- package/dist/calcite/p-3a1532df.js +7 -0
- package/dist/calcite/p-3b24c890.js +7 -0
- package/dist/calcite/p-3e5298b9.entry.js +7 -0
- package/dist/calcite/p-3e5dfc05.js +7 -0
- package/dist/calcite/p-3eccd737.entry.js +7 -0
- package/dist/calcite/p-3eccd737.entry.js.map +1 -0
- package/dist/calcite/p-41186de8.js +7 -0
- package/dist/calcite/p-41ed86ff.entry.js +7 -0
- package/dist/calcite/p-41ed86ff.entry.js.map +1 -0
- package/dist/calcite/p-465e3b6d.js +7 -0
- package/dist/calcite/p-47351c6c.js +7 -0
- package/dist/calcite/p-4d033e97.entry.js +7 -0
- package/dist/calcite/p-4f1be9a0.js +7 -0
- package/dist/calcite/p-4faeec71.entry.js +7 -0
- package/dist/calcite/p-500c21e3.js +7 -0
- package/dist/calcite/p-5034f6c2.entry.js +7 -0
- package/dist/calcite/p-5078829f.js +7 -0
- package/dist/calcite/p-589c83ff.entry.js +7 -0
- package/dist/calcite/p-58c39dbe.js +7 -0
- package/dist/calcite/p-5a5e4703.js +7 -0
- package/dist/calcite/p-5bf1aaca.entry.js +7 -0
- package/dist/calcite/p-6111ea41.js +7 -0
- package/dist/calcite/p-61532044.js +7 -0
- package/dist/calcite/p-62abf6e6.entry.js +7 -0
- package/dist/calcite/p-677fb004.js +7 -0
- package/dist/calcite/p-686c4ba3.js +7 -0
- package/dist/calcite/p-68c09996.js +7 -0
- package/dist/calcite/p-68edde72.js +7 -0
- package/dist/calcite/p-6afafcdf.entry.js +7 -0
- package/dist/calcite/p-6ba850dc.entry.js +7 -0
- package/dist/calcite/p-6d1e0c66.entry.js +7 -0
- package/dist/calcite/p-6e961f06.js +7 -0
- package/dist/calcite/p-70314047.js +7 -0
- package/dist/calcite/p-70721e8e.entry.js +7 -0
- package/dist/calcite/p-7183efb5.js +7 -0
- package/dist/calcite/p-72a3e0eb.js +7 -0
- package/dist/calcite/p-739a6b48.js +7 -0
- package/dist/calcite/p-7788819a.entry.js +7 -0
- package/dist/calcite/p-7788819a.entry.js.map +1 -0
- package/dist/calcite/p-788b097d.js +7 -0
- package/dist/calcite/p-797435e3.entry.js +7 -0
- package/dist/calcite/p-842853b7.js +7 -0
- package/dist/calcite/p-85c787c9.js +7 -0
- package/dist/calcite/p-86b0f2f3.entry.js +7 -0
- package/dist/calcite/p-86b0f2f3.entry.js.map +1 -0
- package/dist/calcite/p-877022f2.js +7 -0
- package/dist/calcite/p-8889a7a2.entry.js +7 -0
- package/dist/calcite/p-8889a7a2.entry.js.map +1 -0
- package/dist/calcite/p-88d2daad.entry.js +7 -0
- package/dist/calcite/p-88d2daad.entry.js.map +1 -0
- package/dist/calcite/p-89a69461.entry.js +7 -0
- package/dist/calcite/p-89a69461.entry.js.map +1 -0
- package/dist/calcite/p-8c2c7db0.js +7 -0
- package/dist/calcite/p-8ed05206.entry.js +7 -0
- package/dist/calcite/p-8ed05206.entry.js.map +1 -0
- package/dist/calcite/p-902b3ccb.js +7 -0
- package/dist/calcite/p-918685db.entry.js +7 -0
- package/dist/calcite/p-966ff128.js +7 -0
- package/dist/calcite/p-97253db9.entry.js +7 -0
- package/dist/calcite/p-97253db9.entry.js.map +1 -0
- package/dist/calcite/p-9a7772a1.js +7 -0
- package/dist/calcite/p-9bf4a131.js +7 -0
- package/dist/calcite/p-9c9d42c5.entry.js +7 -0
- package/dist/calcite/p-9c9d42c5.entry.js.map +1 -0
- package/dist/calcite/p-9cf924a8.js +7 -0
- package/dist/calcite/p-9d1c5523.js +7 -0
- package/dist/calcite/p-9f0db635.entry.js +7 -0
- package/dist/calcite/p-9f0db635.entry.js.map +1 -0
- package/dist/calcite/p-9f9f2610.js +7 -0
- package/dist/calcite/p-a4b20142.js +7 -0
- package/dist/calcite/p-a5afbe13.js +7 -0
- package/dist/calcite/p-a6995c05.entry.js +7 -0
- package/dist/calcite/p-a6995c05.entry.js.map +1 -0
- package/dist/calcite/p-a7392021.entry.js +7 -0
- package/dist/calcite/p-a9907b09.js +7 -0
- package/dist/calcite/p-aa046ae1.js +7 -0
- package/dist/calcite/p-aaedee41.entry.js +7 -0
- package/dist/calcite/p-ab8333f4.js +7 -0
- package/dist/calcite/p-ac2a91d8.entry.js +7 -0
- package/dist/calcite/p-ad553e66.js +7 -0
- package/dist/calcite/p-ad553e66.js.map +1 -0
- package/dist/calcite/p-aec9f331.entry.js +7 -0
- package/dist/calcite/p-af245c96.entry.js +7 -0
- package/dist/calcite/p-b0905701.entry.js +7 -0
- package/dist/calcite/p-b0905701.entry.js.map +1 -0
- package/dist/calcite/p-b0dcf746.js +7 -0
- package/dist/calcite/p-b1270b80.js +7 -0
- package/dist/calcite/p-b217290a.entry.js +7 -0
- package/dist/calcite/p-b2cdfa31.js +7 -0
- package/dist/calcite/p-b2e233de.entry.js +7 -0
- package/dist/calcite/p-b5c8e70f.js +7 -0
- package/dist/calcite/p-b936e0ca.js +7 -0
- package/dist/calcite/p-bafb9086.entry.js +7 -0
- package/dist/calcite/p-bafb9086.entry.js.map +1 -0
- package/dist/calcite/p-bbca2939.js +7 -0
- package/dist/calcite/p-c21996d8.js +7 -0
- package/dist/calcite/p-c3d8dcdc.js +7 -0
- package/dist/calcite/p-c3e9f361.entry.js +7 -0
- package/dist/calcite/p-cbcc479a.entry.js +7 -0
- package/dist/calcite/p-cbededa0.entry.js +7 -0
- package/dist/calcite/p-ccece29c.entry.js +7 -0
- package/dist/calcite/p-ced06054.js +7 -0
- package/dist/calcite/p-cf3f540f.js +7 -0
- package/dist/calcite/p-cfd360ee.entry.js +7 -0
- package/dist/calcite/p-d3627cbd.js +12 -0
- package/dist/calcite/p-d3e40740.entry.js +7 -0
- package/dist/calcite/p-d7e01f48.entry.js +7 -0
- package/dist/calcite/p-d8425f1b.js +7 -0
- package/dist/calcite/p-d88fafe2.entry.js +7 -0
- package/dist/calcite/p-d94d869b.entry.js +7 -0
- package/dist/calcite/p-d962db95.js +7 -0
- package/dist/calcite/p-da68df06.js +7 -0
- package/dist/calcite/p-dc287520.js +7 -0
- package/dist/calcite/p-de939342.js +7 -0
- package/dist/calcite/p-df3f7354.entry.js +7 -0
- package/dist/calcite/p-df3f7354.entry.js.map +1 -0
- package/dist/calcite/p-e04bf743.entry.js +7 -0
- package/dist/calcite/p-e3e91631.js +7 -0
- package/dist/calcite/p-e54d80ea.js +7 -0
- package/dist/calcite/p-e57c8997.js +7 -0
- package/dist/calcite/p-e7a19067.js +7 -0
- package/dist/calcite/p-e86d6fe4.entry.js +7 -0
- package/dist/calcite/p-e941de73.js +7 -0
- package/dist/calcite/p-ecbf8738.js +7 -0
- package/dist/calcite/p-ecf5974f.entry.js +7 -0
- package/dist/calcite/p-ed0d2d66.js +7 -0
- package/dist/calcite/p-eda07208.js +7 -0
- package/dist/calcite/p-eea4b5c6.entry.js +7 -0
- package/dist/calcite/p-eea4b5c6.entry.js.map +1 -0
- package/dist/calcite/p-eee1c1ae.js +7 -0
- package/dist/calcite/p-f08765e4.js +13 -0
- package/dist/calcite/p-f13c04dd.js +7 -0
- package/dist/calcite/p-f2055d6b.js +7 -0
- package/dist/calcite/p-f374ba4d.entry.js +7 -0
- package/dist/calcite/p-f584d2fa.js +7 -0
- package/dist/calcite/p-f79d4f9e.entry.js +7 -0
- package/dist/calcite/p-f79fe807.entry.js +7 -0
- package/dist/calcite/p-f800b560.js +7 -0
- package/dist/calcite/p-f90759a5.js +7 -0
- package/dist/calcite/p-fd1568c2.js +7 -0
- package/dist/calcite/p-fd727f3e.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-7241e2e4.js +110 -0
- package/dist/cjs/ExpandToggle-7241e2e4.js.map +1 -0
- package/dist/cjs/FloatingArrow-3589dd9e.js +49 -0
- package/dist/cjs/FloatingArrow-3589dd9e.js.map +1 -0
- package/dist/cjs/Heading-371c1c2e.js +22 -0
- package/dist/cjs/Heading-371c1c2e.js.map +1 -0
- package/dist/cjs/Validation-15fb642b.js +18 -0
- package/dist/cjs/Validation-15fb642b.js.map +1 -0
- package/dist/cjs/app-globals-c176a102.js +61 -0
- package/dist/cjs/app-globals-c176a102.js.map +1 -0
- package/dist/cjs/ar-0abe3e2d.js +106 -0
- package/dist/cjs/ar-0abe3e2d.js.map +1 -0
- package/dist/cjs/array-5fcbf689.js +14 -0
- package/dist/cjs/array-5fcbf689.js.map +1 -0
- package/dist/cjs/bg-b7e8f332.js +84 -0
- package/dist/cjs/bg-b7e8f332.js.map +1 -0
- package/dist/cjs/browser-34b605ef.js +20 -0
- package/dist/cjs/browser-34b605ef.js.map +1 -0
- package/dist/cjs/bs-2d79f6a5.js +53 -0
- package/dist/cjs/bs-2d79f6a5.js.map +1 -0
- package/dist/cjs/ca-c99d8602.js +73 -0
- package/dist/cjs/ca-c99d8602.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-bar.cjs.entry.js.map +1 -1
- 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-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +16 -16
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -30
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-8533150a.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-8533150a.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +32 -45
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -18
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-3cb4d607.js +30 -0
- package/dist/cjs/component-3cb4d607.js.map +1 -0
- package/dist/cjs/conditionalSlot-129f9fb1.js +60 -0
- package/dist/cjs/conditionalSlot-129f9fb1.js.map +1 -0
- package/dist/cjs/cs-e20ba71b.js +149 -0
- package/dist/cjs/cs-e20ba71b.js.map +1 -0
- package/dist/cjs/da-46ca109b.js +68 -0
- package/dist/cjs/da-46ca109b.js.map +1 -0
- package/dist/cjs/de-at-9b99ff4e.js +92 -0
- package/dist/cjs/de-at-9b99ff4e.js.map +1 -0
- package/dist/cjs/de-ch-0a56a5d7.js +92 -0
- package/dist/cjs/de-ch-0a56a5d7.js.map +1 -0
- package/dist/cjs/de-f1c7341f.js +93 -0
- package/dist/cjs/de-f1c7341f.js.map +1 -0
- package/dist/cjs/debounce-4a5c618d.js +498 -0
- package/dist/cjs/debounce-4a5c618d.js.map +1 -0
- package/dist/cjs/dom-96b95ba5.js +1084 -0
- package/dist/cjs/dom-96b95ba5.js.map +1 -0
- package/dist/cjs/el-23291f8d.js +68 -0
- package/dist/cjs/el-23291f8d.js.map +1 -0
- package/dist/cjs/en-au-6d032305.js +68 -0
- package/dist/cjs/en-au-6d032305.js.map +1 -0
- package/dist/cjs/en-ca-32202e14.js +67 -0
- package/dist/cjs/en-ca-32202e14.js.map +1 -0
- package/dist/cjs/en-gb-afcd6e2d.js +71 -0
- package/dist/cjs/en-gb-afcd6e2d.js.map +1 -0
- package/dist/cjs/es-ee64d2c4.js +68 -0
- package/dist/cjs/es-ee64d2c4.js.map +1 -0
- package/dist/cjs/es-mx-ed48f631.js +67 -0
- package/dist/cjs/es-mx-ed48f631.js.map +1 -0
- package/dist/cjs/et-0ac28679.js +94 -0
- package/dist/cjs/et-0ac28679.js.map +1 -0
- package/dist/cjs/fi-bda743b5.js +117 -0
- package/dist/cjs/fi-bda743b5.js.map +1 -0
- package/dist/cjs/filter-168097e5.js +762 -0
- package/dist/cjs/filter-168097e5.js.map +1 -0
- package/dist/cjs/floating-ui-13d69ca1.js +1916 -0
- package/dist/cjs/floating-ui-13d69ca1.js.map +1 -0
- package/dist/cjs/focusTrapComponent-cea06372.js +1020 -0
- package/dist/cjs/focusTrapComponent-cea06372.js.map +1 -0
- package/dist/cjs/form-89e59b29.js +257 -0
- package/dist/cjs/form-89e59b29.js.map +1 -0
- package/dist/cjs/fr-9b4cb711.js +70 -0
- package/dist/cjs/fr-9b4cb711.js.map +1 -0
- package/dist/cjs/fr-ch-42e5c0ef.js +68 -0
- package/dist/cjs/fr-ch-42e5c0ef.js.map +1 -0
- package/dist/cjs/guid-f81db95d.js +23 -0
- package/dist/cjs/guid-f81db95d.js.map +1 -0
- package/dist/cjs/he-b48c6a0a.js +107 -0
- package/dist/cjs/he-b48c6a0a.js.map +1 -0
- package/dist/cjs/hi-c3f1ca26.js +67 -0
- package/dist/cjs/hi-c3f1ca26.js.map +1 -0
- package/dist/cjs/hr-b41a8e50.js +82 -0
- package/dist/cjs/hr-b41a8e50.js.map +1 -0
- package/dist/cjs/hu-6ba01e7f.js +90 -0
- package/dist/cjs/hu-6ba01e7f.js.map +1 -0
- package/dist/cjs/id-9b1df1f7.js +68 -0
- package/dist/cjs/id-9b1df1f7.js.map +1 -0
- package/dist/cjs/index-86e0bedf.js +75 -0
- package/dist/cjs/index-86e0bedf.js.map +1 -0
- package/dist/cjs/index-8b34daf0.js +2655 -0
- package/dist/cjs/index-8b34daf0.js.map +1 -0
- package/dist/cjs/index-c596660b.js +208 -0
- package/dist/cjs/index-c596660b.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-7b3fb6e5.js +141 -0
- package/dist/cjs/interactive-7b3fb6e5.js.map +1 -0
- package/dist/cjs/it-ch-6c2cbb18.js +68 -0
- package/dist/cjs/it-ch-6c2cbb18.js.map +1 -0
- package/dist/cjs/it-d3904c2b.js +68 -0
- package/dist/cjs/it-d3904c2b.js.map +1 -0
- package/dist/cjs/ja-5d6924b2.js +74 -0
- package/dist/cjs/ja-5d6924b2.js.map +1 -0
- package/dist/cjs/key-89f3021a.js +16 -0
- package/dist/cjs/key-89f3021a.js.map +1 -0
- package/dist/cjs/ko-44d83663.js +74 -0
- package/dist/cjs/ko-44d83663.js.map +1 -0
- package/dist/cjs/label-19f970cb.js +183 -0
- package/dist/cjs/label-19f970cb.js.map +1 -0
- package/dist/cjs/loadable-64558297.js +91 -0
- package/dist/cjs/loadable-64558297.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-92847a13.js +576 -0
- package/dist/cjs/locale-92847a13.js.map +1 -0
- package/dist/cjs/lt-ea512350.js +99 -0
- package/dist/cjs/lt-ea512350.js.map +1 -0
- package/dist/cjs/lv-c16e3000.js +68 -0
- package/dist/cjs/lv-c16e3000.js.map +1 -0
- package/dist/cjs/math-ff28c0e4.js +57 -0
- package/dist/cjs/math-ff28c0e4.js.map +1 -0
- package/dist/cjs/mk-1b01d0fe.js +68 -0
- package/dist/cjs/mk-1b01d0fe.js.map +1 -0
- package/dist/cjs/nb-a7bac747.js +69 -0
- package/dist/cjs/nb-a7bac747.js.map +1 -0
- package/dist/cjs/nl-28c3ec66.js +69 -0
- package/dist/cjs/nl-28c3ec66.js.map +1 -0
- package/dist/cjs/observers-72601b59.js +50 -0
- package/dist/cjs/observers-72601b59.js.map +1 -0
- package/dist/cjs/openCloseComponent-b4ccd661.js +89 -0
- package/dist/cjs/openCloseComponent-b4ccd661.js.map +1 -0
- package/dist/cjs/pl-b18815eb.js +116 -0
- package/dist/cjs/pl-b18815eb.js.map +1 -0
- package/dist/cjs/pt-br-1dbf2b98.js +67 -0
- package/dist/cjs/pt-br-1dbf2b98.js.map +1 -0
- package/dist/cjs/pt-c109c31c.js +69 -0
- package/dist/cjs/pt-c109c31c.js.map +1 -0
- package/dist/cjs/resources-1e439750.js +29 -0
- package/dist/cjs/resources-1e439750.js.map +1 -0
- package/dist/cjs/resources-2bdd1ed7.js +26 -0
- package/dist/cjs/resources-2bdd1ed7.js.map +1 -0
- package/dist/cjs/resources-2e941bc5.js +49 -0
- package/dist/cjs/resources-2e941bc5.js.map +1 -0
- package/dist/cjs/resources-3926d6a2.js +23 -0
- package/dist/cjs/resources-3926d6a2.js.map +1 -0
- package/dist/cjs/resources-69dbc240.js +414 -0
- package/dist/cjs/resources-69dbc240.js.map +1 -0
- package/dist/cjs/resources-861365b8.js +26 -0
- package/dist/cjs/resources-861365b8.js.map +1 -0
- package/dist/cjs/resources-c29a4618.js +17 -0
- package/dist/cjs/resources-c29a4618.js.map +1 -0
- package/dist/cjs/ro-d584246c.js +68 -0
- package/dist/cjs/ro-d584246c.js.map +1 -0
- package/dist/cjs/ru-2e053696.js +128 -0
- package/dist/cjs/ru-2e053696.js.map +1 -0
- package/dist/cjs/sk-3d939427.js +150 -0
- package/dist/cjs/sk-3d939427.js.map +1 -0
- package/dist/cjs/sl-8a540a44.js +170 -0
- package/dist/cjs/sl-8a540a44.js.map +1 -0
- package/dist/cjs/sortableComponent-541e0a79.js +2739 -0
- package/dist/cjs/sortableComponent-541e0a79.js.map +1 -0
- package/dist/cjs/sr-5b87491e.js +103 -0
- package/dist/cjs/sr-5b87491e.js.map +1 -0
- package/dist/cjs/sv-a21e52a2.js +73 -0
- package/dist/cjs/sv-a21e52a2.js.map +1 -0
- package/dist/cjs/t9n-b908c650.js +97 -0
- package/dist/cjs/t9n-b908c650.js.map +1 -0
- package/dist/cjs/th-3d0365ed.js +67 -0
- package/dist/cjs/th-3d0365ed.js.map +1 -0
- package/dist/cjs/throttle-1ecba9da.js +77 -0
- package/dist/cjs/throttle-1ecba9da.js.map +1 -0
- package/dist/cjs/tr-b49efb2e.js +68 -0
- package/dist/cjs/tr-b49efb2e.js.map +1 -0
- package/dist/cjs/uk-6f4e4731.js +106 -0
- package/dist/cjs/uk-6f4e4731.js.map +1 -0
- package/dist/cjs/utils-bf47d56f.js +218 -0
- package/dist/cjs/utils-bf47d56f.js.map +1 -0
- package/dist/cjs/utils-fa405e46.js +307 -0
- package/dist/cjs/utils-fa405e46.js.map +1 -0
- package/dist/cjs/vi-df93dde4.js +72 -0
- package/dist/cjs/vi-df93dde4.js.map +1 -0
- package/dist/cjs/zh-cn-ada2dfc8.js +96 -0
- package/dist/cjs/zh-cn-ada2dfc8.js.map +1 -0
- package/dist/cjs/zh-hk-7261d0e6.js +73 -0
- package/dist/cjs/zh-hk-7261d0e6.js.map +1 -0
- package/dist/cjs/zh-tw-2d40436e.js +94 -0
- package/dist/cjs/zh-tw-2d40436e.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.e2e.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/action-bar/action-bar.js.map +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +2 -2
- package/dist/collection/components/action-menu/action-menu.js.map +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +2 -2
- package/dist/collection/components/action-pad/action-pad.js.map +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +3 -3
- package/dist/collection/components/block/block.js.map +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -3
- package/dist/collection/components/block-section/block-section.js.map +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.js +29 -16
- package/dist/collection/components/button/button.e2e.js.map +1 -1
- package/dist/collection/components/button/button.js +4 -4
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +5 -5
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +3 -3
- package/dist/collection/components/chip-group/chip-group.js.map +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +6 -6
- package/dist/collection/components/color-picker/color-picker.js.map +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +3 -3
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js.map +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +2 -2
- package/dist/collection/components/combobox/combobox.js.map +1 -1
- package/dist/collection/components/combobox/interfaces.js.map +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +2 -2
- package/dist/collection/components/combobox-item/combobox-item.js.map +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +3 -3
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +7 -7
- package/dist/collection/components/date-picker-day/date-picker-day.js.map +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +7 -7
- package/dist/collection/components/date-picker-month/date-picker-month.js.map +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +4 -4
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js.map +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +2 -2
- package/dist/collection/components/dropdown-group/dropdown-group.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +2 -2
- package/dist/collection/components/filter/filter.js.map +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +7 -7
- package/dist/collection/components/graph/graph.js.map +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +6 -6
- package/dist/collection/components/handle/handle.js.map +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +17 -1
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js.map +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +6 -10
- package/dist/collection/components/input-date-picker/input-date-picker.js.map +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +2 -2
- package/dist/collection/components/list/list.e2e.js.map +1 -1
- package/dist/collection/components/list/list.js +10 -10
- package/dist/collection/components/list/list.js.map +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +9 -5
- package/dist/collection/components/list-item/list-item.e2e.js +5 -1
- package/dist/collection/components/list-item/list-item.e2e.js.map +1 -1
- package/dist/collection/components/list-item/list-item.js +27 -20
- package/dist/collection/components/list-item/list-item.js.map +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +9 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +5 -1
- package/dist/collection/components/list-item-group/list-item-group.e2e.js.map +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +23 -1
- package/dist/collection/components/list-item-group/list-item-group.js.map +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +2 -2
- package/dist/collection/components/tab-nav/tab-nav.js.map +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +3 -3
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +3 -3
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +2 -2
- package/dist/collection/components/tile-select/tile-select.js.map +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +2 -2
- package/dist/collection/components/tree/tree.js.map +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +4 -4
- package/dist/collection/components/value-list/value-list.js.map +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +2 -5
- package/dist/collection/utils/interactive.js.map +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-menu.js.map +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-bar.js.map +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-pad.js.map +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-section.js.map +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-block.js.map +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-group.js.map +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-color-picker.js.map +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-group.js.map +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 +6 -10
- package/dist/components/calcite-input-date-picker.js.map +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +4 -2
- package/dist/components/calcite-list-item-group.js.map +1 -1
- package/dist/components/calcite-list-item.js +8 -21
- package/dist/components/calcite-list-item.js.map +1 -1
- package/dist/components/calcite-list.js +10 -10
- package/dist/components/calcite-list.js.map +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-table.js.map +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-select.js.map +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-tree.js.map +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/calcite-value-list.js.map +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-hex-input.js.map +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox-item.js.map +1 -1
- package/dist/components/combobox.js +2 -2
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-day.js.map +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month-header.js.map +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker-month.js.map +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/filter2.js.map +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/graph.js.map +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/handle.js.map +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +2 -5
- package/dist/components/interactive.js.map +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-nav.js.map +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-a6f6fe93.js +102 -0
- package/dist/esm/ExpandToggle-a6f6fe93.js.map +1 -0
- package/dist/esm/FloatingArrow-8822a239.js +47 -0
- package/dist/esm/FloatingArrow-8822a239.js.map +1 -0
- package/dist/esm/Heading-d27d565f.js +19 -0
- package/dist/esm/Heading-d27d565f.js.map +1 -0
- package/dist/esm/Validation-99bfd0e6.js +16 -0
- package/dist/esm/Validation-99bfd0e6.js.map +1 -0
- package/dist/esm/app-globals-a4940f11.js +59 -0
- package/dist/esm/app-globals-a4940f11.js.map +1 -0
- package/dist/esm/ar-70517ab9.js +104 -0
- package/dist/esm/ar-70517ab9.js.map +1 -0
- package/dist/esm/array-67ef3cfb.js +12 -0
- package/dist/esm/array-67ef3cfb.js.map +1 -0
- package/dist/esm/bg-06f7aed4.js +82 -0
- package/dist/esm/bg-06f7aed4.js.map +1 -0
- package/dist/esm/browser-1daeb1e0.js +18 -0
- package/dist/esm/browser-1daeb1e0.js.map +1 -0
- package/dist/esm/bs-1c0438d8.js +51 -0
- package/dist/esm/bs-1c0438d8.js.map +1 -0
- package/dist/esm/ca-c16d3907.js +71 -0
- package/dist/esm/ca-c16d3907.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-bar.entry.js.map +1 -1
- 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-menu.entry.js.map +1 -1
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action-pad.entry.js.map +1 -1
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +16 -16
- package/dist/esm/calcite-button.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip-group.entry.js.map +1 -1
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-filter.entry.js.map +1 -1
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-graph_2.entry.js.map +1 -1
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +26 -30
- package/dist/esm/calcite-input-date-picker.entry.js.map +1 -1
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-f5d5f0eb.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-f5d5f0eb.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +32 -45
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-table.entry.js.map +1 -1
- package/dist/esm/calcite-text-area.entry.js +18 -18
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +18 -18
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-b60b634a.js +27 -0
- package/dist/esm/component-b60b634a.js.map +1 -0
- package/dist/esm/conditionalSlot-98ea2e45.js +57 -0
- package/dist/esm/conditionalSlot-98ea2e45.js.map +1 -0
- package/dist/esm/cs-b239a4ef.js +147 -0
- package/dist/esm/cs-b239a4ef.js.map +1 -0
- package/dist/esm/da-9aca734a.js +66 -0
- package/dist/esm/da-9aca734a.js.map +1 -0
- package/dist/esm/de-4229b866.js +91 -0
- package/dist/esm/de-4229b866.js.map +1 -0
- package/dist/esm/de-at-b27fbf36.js +90 -0
- package/dist/esm/de-at-b27fbf36.js.map +1 -0
- package/dist/esm/de-ch-c61d4d11.js +90 -0
- package/dist/esm/de-ch-c61d4d11.js.map +1 -0
- package/dist/esm/debounce-6a65f52d.js +489 -0
- package/dist/esm/debounce-6a65f52d.js.map +1 -0
- package/dist/esm/dom-1d04b28a.js +1053 -0
- package/dist/esm/dom-1d04b28a.js.map +1 -0
- package/dist/esm/el-6fab80e1.js +66 -0
- package/dist/esm/el-6fab80e1.js.map +1 -0
- package/dist/esm/en-au-a62e4774.js +66 -0
- package/dist/esm/en-au-a62e4774.js.map +1 -0
- package/dist/esm/en-ca-519812ff.js +65 -0
- package/dist/esm/en-ca-519812ff.js.map +1 -0
- package/dist/esm/en-gb-1afc9433.js +69 -0
- package/dist/esm/en-gb-1afc9433.js.map +1 -0
- package/dist/esm/es-377b51dc.js +66 -0
- package/dist/esm/es-377b51dc.js.map +1 -0
- package/dist/esm/es-mx-1c27d818.js +65 -0
- package/dist/esm/es-mx-1c27d818.js.map +1 -0
- package/dist/esm/et-6b16cefb.js +92 -0
- package/dist/esm/et-6b16cefb.js.map +1 -0
- package/dist/esm/fi-e8ed3d3d.js +115 -0
- package/dist/esm/fi-e8ed3d3d.js.map +1 -0
- package/dist/esm/filter-2d8822f9.js +760 -0
- package/dist/esm/filter-2d8822f9.js.map +1 -0
- package/dist/esm/floating-ui-f5372615.js +1908 -0
- package/dist/esm/floating-ui-f5372615.js.map +1 -0
- package/dist/esm/focusTrapComponent-8b77a9c1.js +1015 -0
- package/dist/esm/focusTrapComponent-8b77a9c1.js.map +1 -0
- package/dist/esm/form-469c1a1b.js +249 -0
- package/dist/esm/form-469c1a1b.js.map +1 -0
- package/dist/esm/fr-a41476e5.js +68 -0
- package/dist/esm/fr-a41476e5.js.map +1 -0
- package/dist/esm/fr-ch-d991ee83.js +66 -0
- package/dist/esm/fr-ch-d991ee83.js.map +1 -0
- package/dist/esm/guid-ac2c9771.js +21 -0
- package/dist/esm/guid-ac2c9771.js.map +1 -0
- package/dist/esm/he-9ba5fcd7.js +105 -0
- package/dist/esm/he-9ba5fcd7.js.map +1 -0
- package/dist/esm/hi-7ea0af49.js +65 -0
- package/dist/esm/hi-7ea0af49.js.map +1 -0
- package/dist/esm/hr-095f65d3.js +80 -0
- package/dist/esm/hr-095f65d3.js.map +1 -0
- package/dist/esm/hu-865ad188.js +88 -0
- package/dist/esm/hu-865ad188.js.map +1 -0
- package/dist/esm/id-166753d2.js +66 -0
- package/dist/esm/id-166753d2.js.map +1 -0
- package/dist/esm/index-15f771ad.js +206 -0
- package/dist/esm/index-15f771ad.js.map +1 -0
- package/dist/esm/index-718a1912.js +73 -0
- package/dist/esm/index-718a1912.js.map +1 -0
- package/dist/esm/index-c5927327.js +2620 -0
- package/dist/esm/index-c5927327.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-7d14016f.js +136 -0
- package/dist/esm/interactive-7d14016f.js.map +1 -0
- package/dist/esm/it-c9b329ad.js +66 -0
- package/dist/esm/it-c9b329ad.js.map +1 -0
- package/dist/esm/it-ch-95db05de.js +66 -0
- package/dist/esm/it-ch-95db05de.js.map +1 -0
- package/dist/esm/ja-e5777426.js +72 -0
- package/dist/esm/ja-e5777426.js.map +1 -0
- package/dist/esm/key-cbd7bda4.js +13 -0
- package/dist/esm/key-cbd7bda4.js.map +1 -0
- package/dist/esm/ko-fa1cbe56.js +72 -0
- package/dist/esm/ko-fa1cbe56.js.map +1 -0
- package/dist/esm/label-4e7a2660.js +176 -0
- package/dist/esm/label-4e7a2660.js.map +1 -0
- package/dist/esm/loadable-a1de4e95.js +86 -0
- package/dist/esm/loadable-a1de4e95.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-3e047066.js +563 -0
- package/dist/esm/locale-3e047066.js.map +1 -0
- package/dist/esm/lt-145e8dc2.js +97 -0
- package/dist/esm/lt-145e8dc2.js.map +1 -0
- package/dist/esm/lv-f0990115.js +66 -0
- package/dist/esm/lv-f0990115.js.map +1 -0
- package/dist/esm/math-29793169.js +51 -0
- package/dist/esm/math-29793169.js.map +1 -0
- package/dist/esm/mk-c85f369b.js +66 -0
- package/dist/esm/mk-c85f369b.js.map +1 -0
- package/dist/esm/nb-5c8de923.js +67 -0
- package/dist/esm/nb-5c8de923.js.map +1 -0
- package/dist/esm/nl-6ea60a03.js +67 -0
- package/dist/esm/nl-6ea60a03.js.map +1 -0
- package/dist/esm/observers-78e78d2a.js +48 -0
- package/dist/esm/observers-78e78d2a.js.map +1 -0
- package/dist/esm/openCloseComponent-bd2fbb9b.js +87 -0
- package/dist/esm/openCloseComponent-bd2fbb9b.js.map +1 -0
- package/dist/esm/pl-13987bc8.js +114 -0
- package/dist/esm/pl-13987bc8.js.map +1 -0
- package/dist/esm/pt-br-a9292466.js +65 -0
- package/dist/esm/pt-br-a9292466.js.map +1 -0
- package/dist/esm/pt-d68aa10d.js +67 -0
- package/dist/esm/pt-d68aa10d.js.map +1 -0
- package/dist/esm/resources-05e37c90.js +25 -0
- package/dist/esm/resources-05e37c90.js.map +1 -0
- package/dist/esm/resources-18ea645d.js +387 -0
- package/dist/esm/resources-18ea645d.js.map +1 -0
- package/dist/esm/resources-7041feea.js +45 -0
- package/dist/esm/resources-7041feea.js.map +1 -0
- package/dist/esm/resources-718a4af7.js +23 -0
- package/dist/esm/resources-718a4af7.js.map +1 -0
- package/dist/esm/resources-a1d34c3c.js +21 -0
- package/dist/esm/resources-a1d34c3c.js.map +1 -0
- package/dist/esm/resources-b5867d9c.js +19 -0
- package/dist/esm/resources-b5867d9c.js.map +1 -0
- package/dist/esm/resources-e6f305f0.js +17 -0
- package/dist/esm/resources-e6f305f0.js.map +1 -0
- package/dist/esm/ro-0c43e955.js +66 -0
- package/dist/esm/ro-0c43e955.js.map +1 -0
- package/dist/esm/ru-7ae5f1f7.js +126 -0
- package/dist/esm/ru-7ae5f1f7.js.map +1 -0
- package/dist/esm/sk-9bafa76c.js +148 -0
- package/dist/esm/sk-9bafa76c.js.map +1 -0
- package/dist/esm/sl-5ca377dc.js +168 -0
- package/dist/esm/sl-5ca377dc.js.map +1 -0
- package/dist/esm/sortableComponent-df2a38b9.js +2735 -0
- package/dist/esm/sortableComponent-df2a38b9.js.map +1 -0
- package/dist/esm/sr-fdafd997.js +101 -0
- package/dist/esm/sr-fdafd997.js.map +1 -0
- package/dist/esm/sv-4fc21b55.js +71 -0
- package/dist/esm/sv-4fc21b55.js.map +1 -0
- package/dist/esm/t9n-1b78af51.js +92 -0
- package/dist/esm/t9n-1b78af51.js.map +1 -0
- package/dist/esm/th-088797e4.js +65 -0
- package/dist/esm/th-088797e4.js.map +1 -0
- package/dist/esm/throttle-6985030c.js +75 -0
- package/dist/esm/throttle-6985030c.js.map +1 -0
- package/dist/esm/tr-a6ce8e74.js +66 -0
- package/dist/esm/tr-a6ce8e74.js.map +1 -0
- package/dist/esm/uk-6dfbbbb8.js +104 -0
- package/dist/esm/uk-6dfbbbb8.js.map +1 -0
- package/dist/esm/utils-064f3e83.js +289 -0
- package/dist/esm/utils-064f3e83.js.map +1 -0
- package/dist/esm/utils-300e747f.js +200 -0
- package/dist/esm/utils-300e747f.js.map +1 -0
- package/dist/esm/vi-58c763f4.js +70 -0
- package/dist/esm/vi-58c763f4.js.map +1 -0
- package/dist/esm/zh-cn-b54a1e17.js +94 -0
- package/dist/esm/zh-cn-b54a1e17.js.map +1 -0
- package/dist/esm/zh-hk-84d09589.js +71 -0
- package/dist/esm/zh-hk-84d09589.js.map +1 -0
- package/dist/esm/zh-tw-c9834cf0.js +92 -0
- package/dist/esm/zh-tw-c9834cf0.js.map +1 -0
- package/dist/extras/docs-json.json +56 -56
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/action-bar/action-bar.d.ts +1 -1
- package/dist/types/components/action-menu/action-menu.d.ts +1 -1
- package/dist/types/components/action-pad/action-pad.d.ts +1 -1
- package/dist/types/components/block/block.d.ts +2 -2
- package/dist/types/components/block-section/block-section.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +2 -2
- package/dist/types/components/checkbox/checkbox.d.ts +8 -4
- package/dist/types/components/chip-group/chip-group.d.ts +8 -2
- package/dist/types/components/color-picker/color-picker.d.ts +7 -5
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +3 -3
- package/dist/types/components/combobox/combobox.d.ts +4 -4
- package/dist/types/components/combobox/interfaces.d.ts +0 -4
- package/dist/types/components/combobox-item/combobox-item.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +2 -2
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +6 -6
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +6 -6
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +3 -3
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +4 -4
- package/dist/types/components/filter/filter.d.ts +1 -1
- package/dist/types/components/graph/graph.d.ts +6 -6
- package/dist/types/components/handle/handle.d.ts +5 -5
- package/dist/types/components/list/list.d.ts +1 -1
- package/dist/types/components/list-item/list-item.d.ts +6 -0
- package/dist/types/components/list-item-group/list-item-group.d.ts +6 -0
- package/dist/types/components/tab-nav/tab-nav.d.ts +1 -1
- package/dist/types/components/table/table.d.ts +2 -2
- package/dist/types/components/tabs/tabs.d.ts +2 -2
- package/dist/types/components/tile-select/tile-select.d.ts +1 -1
- package/dist/types/components/tree/tree.d.ts +1 -1
- package/dist/types/components/value-list/value-list.d.ts +2 -2
- package/dist/types/components.d.ts +102 -94
- package/hydrate/index.js +32 -50
- package/package.json +5 -5
- package/dist/calcite/p-00562149.js +0 -7
- package/dist/calcite/p-01375993.js +0 -7
- package/dist/calcite/p-03492dd4.entry.js +0 -7
- package/dist/calcite/p-06476721.entry.js +0 -7
- package/dist/calcite/p-064f0f08.js +0 -7
- package/dist/calcite/p-08a784ac.entry.js +0 -7
- package/dist/calcite/p-08fb9762.entry.js +0 -7
- package/dist/calcite/p-0bba21d0.js +0 -7
- package/dist/calcite/p-0c36d3cd.entry.js +0 -7
- package/dist/calcite/p-0c7e1a3b.entry.js +0 -7
- package/dist/calcite/p-106d3278.js +0 -7
- package/dist/calcite/p-127b631c.js +0 -7
- package/dist/calcite/p-12f8943c.js +0 -7
- package/dist/calcite/p-137d2def.js +0 -7
- package/dist/calcite/p-13955780.js +0 -7
- package/dist/calcite/p-1817d190.entry.js +0 -7
- package/dist/calcite/p-1a02138f.js +0 -7
- package/dist/calcite/p-1aef2454.js +0 -7
- package/dist/calcite/p-1bc39d92.entry.js +0 -7
- package/dist/calcite/p-1c6ebe7b.js +0 -7
- package/dist/calcite/p-1d43baed.js +0 -7
- package/dist/calcite/p-20b2ae04.entry.js +0 -7
- package/dist/calcite/p-22b8e45c.entry.js +0 -7
- package/dist/calcite/p-230ddf20.entry.js +0 -7
- package/dist/calcite/p-26881613.entry.js +0 -7
- package/dist/calcite/p-26960e4c.js +0 -12
- package/dist/calcite/p-29f77175.js +0 -7
- package/dist/calcite/p-2d1688b5.entry.js +0 -7
- package/dist/calcite/p-2e2cedda.entry.js +0 -7
- package/dist/calcite/p-2edf4b61.entry.js +0 -7
- package/dist/calcite/p-30eb660a.entry.js +0 -7
- package/dist/calcite/p-31499797.entry.js +0 -7
- package/dist/calcite/p-31499797.entry.js.map +0 -1
- package/dist/calcite/p-326bd437.entry.js +0 -7
- package/dist/calcite/p-33af7fcf.entry.js +0 -7
- package/dist/calcite/p-34b05cbe.js +0 -7
- package/dist/calcite/p-37f5293c.js +0 -7
- package/dist/calcite/p-38493b6a.js +0 -7
- package/dist/calcite/p-3872cdff.js +0 -7
- package/dist/calcite/p-38dcb6e1.entry.js +0 -7
- package/dist/calcite/p-38dcb6e1.entry.js.map +0 -1
- package/dist/calcite/p-3ae305ac.entry.js +0 -7
- package/dist/calcite/p-3c1c7466.js +0 -7
- package/dist/calcite/p-3c1c7466.js.map +0 -1
- package/dist/calcite/p-3d3ae505.js +0 -7
- package/dist/calcite/p-3f0c1a1b.entry.js +0 -7
- package/dist/calcite/p-430a5646.js +0 -7
- package/dist/calcite/p-4344e12b.entry.js +0 -7
- package/dist/calcite/p-4381790f.entry.js +0 -7
- package/dist/calcite/p-4381790f.entry.js.map +0 -1
- package/dist/calcite/p-444a00ef.entry.js +0 -7
- package/dist/calcite/p-444a00ef.entry.js.map +0 -1
- package/dist/calcite/p-45c88ddd.js +0 -7
- package/dist/calcite/p-47689c90.js +0 -7
- package/dist/calcite/p-48317d63.js +0 -7
- package/dist/calcite/p-4911decd.entry.js +0 -7
- package/dist/calcite/p-4911decd.entry.js.map +0 -1
- package/dist/calcite/p-4a6c0ecd.js +0 -7
- package/dist/calcite/p-4d45b4ec.js +0 -11
- package/dist/calcite/p-4da38535.entry.js +0 -7
- package/dist/calcite/p-4e7eb977.js +0 -7
- package/dist/calcite/p-4e822d0a.js +0 -7
- package/dist/calcite/p-4e9755b8.entry.js +0 -7
- package/dist/calcite/p-4e9755b8.entry.js.map +0 -1
- package/dist/calcite/p-4f9cdea0.js +0 -7
- package/dist/calcite/p-53cf1fbc.js +0 -7
- package/dist/calcite/p-553c204f.entry.js +0 -7
- package/dist/calcite/p-553c204f.entry.js.map +0 -1
- package/dist/calcite/p-55f68566.entry.js +0 -7
- package/dist/calcite/p-5e9d5d9f.js +0 -7
- package/dist/calcite/p-6135907c.js +0 -7
- package/dist/calcite/p-61ccebf8.entry.js +0 -7
- package/dist/calcite/p-64bdb317.js +0 -7
- package/dist/calcite/p-65ce72af.js +0 -7
- package/dist/calcite/p-65ed8563.entry.js +0 -7
- package/dist/calcite/p-65ed8563.entry.js.map +0 -1
- package/dist/calcite/p-66590f6a.js +0 -7
- package/dist/calcite/p-66807f8a.js +0 -7
- package/dist/calcite/p-6721fc73.js +0 -7
- package/dist/calcite/p-6779d45a.js +0 -7
- package/dist/calcite/p-67e9ba0c.js +0 -7
- package/dist/calcite/p-67ea6144.js +0 -7
- package/dist/calcite/p-6d5c0a3d.js +0 -7
- package/dist/calcite/p-6e319790.entry.js +0 -7
- package/dist/calcite/p-6e5b1ef3.js +0 -7
- package/dist/calcite/p-727b0e83.js +0 -7
- package/dist/calcite/p-727fd8fa.js +0 -7
- package/dist/calcite/p-7543ca5b.js +0 -7
- package/dist/calcite/p-76178830.entry.js +0 -7
- package/dist/calcite/p-7bac6b46.js +0 -7
- package/dist/calcite/p-7e65832e.js +0 -7
- package/dist/calcite/p-7f640e50.entry.js +0 -7
- package/dist/calcite/p-8109d55a.entry.js +0 -7
- package/dist/calcite/p-811d855d.js +0 -7
- package/dist/calcite/p-83547032.entry.js +0 -7
- package/dist/calcite/p-84190c9d.entry.js +0 -7
- package/dist/calcite/p-843ee8a4.js +0 -7
- package/dist/calcite/p-85571568.entry.js +0 -7
- package/dist/calcite/p-87415bef.js +0 -7
- package/dist/calcite/p-877d4d5b.js +0 -7
- package/dist/calcite/p-885936ba.entry.js +0 -7
- package/dist/calcite/p-8884f00a.js +0 -7
- package/dist/calcite/p-88d01a69.js +0 -7
- package/dist/calcite/p-8a15e31c.entry.js +0 -7
- package/dist/calcite/p-8a15e31c.entry.js.map +0 -1
- package/dist/calcite/p-8ba67eff.entry.js +0 -7
- package/dist/calcite/p-8ceb7b14.entry.js +0 -7
- package/dist/calcite/p-8ceb7b14.entry.js.map +0 -1
- package/dist/calcite/p-8d4e3b14.entry.js +0 -7
- package/dist/calcite/p-8d4e3b14.entry.js.map +0 -1
- package/dist/calcite/p-8d82e28c.entry.js +0 -7
- package/dist/calcite/p-8d82e28c.entry.js.map +0 -1
- package/dist/calcite/p-8dd4b707.entry.js +0 -7
- package/dist/calcite/p-8dd4b707.entry.js.map +0 -1
- package/dist/calcite/p-904be5f8.js +0 -7
- package/dist/calcite/p-909b6184.entry.js +0 -7
- package/dist/calcite/p-909b6184.entry.js.map +0 -1
- package/dist/calcite/p-90b8bb44.entry.js +0 -7
- package/dist/calcite/p-90b8bb44.entry.js.map +0 -1
- package/dist/calcite/p-91a5aae5.js +0 -7
- package/dist/calcite/p-925e6f4c.entry.js +0 -7
- package/dist/calcite/p-925e6f4c.entry.js.map +0 -1
- package/dist/calcite/p-9306d022.js +0 -7
- package/dist/calcite/p-93d1635f.js +0 -7
- package/dist/calcite/p-94aa0361.js +0 -7
- package/dist/calcite/p-9517daa5.js +0 -7
- package/dist/calcite/p-9a7e6205.js +0 -7
- package/dist/calcite/p-9a9521de.js +0 -7
- package/dist/calcite/p-9b7a0f7a.entry.js +0 -7
- package/dist/calcite/p-9d708d39.entry.js +0 -7
- package/dist/calcite/p-9d708d39.entry.js.map +0 -1
- package/dist/calcite/p-a0f3f6ac.js +0 -7
- package/dist/calcite/p-a134f3fd.js +0 -7
- package/dist/calcite/p-a5510bb7.entry.js +0 -7
- package/dist/calcite/p-a64ef919.entry.js +0 -7
- package/dist/calcite/p-a64ef919.entry.js.map +0 -1
- package/dist/calcite/p-af2e8eba.js +0 -7
- package/dist/calcite/p-baae7d2e.js +0 -7
- package/dist/calcite/p-bc5caa0a.entry.js +0 -7
- package/dist/calcite/p-bd93168e.js +0 -7
- package/dist/calcite/p-bf84c797.js +0 -7
- package/dist/calcite/p-c0595915.js +0 -8
- package/dist/calcite/p-c0741d59.js +0 -7
- package/dist/calcite/p-c18ccc88.entry.js +0 -7
- package/dist/calcite/p-c18ccc88.entry.js.map +0 -1
- package/dist/calcite/p-c3126a1c.js +0 -7
- package/dist/calcite/p-c34f50cd.js +0 -7
- package/dist/calcite/p-c43eabbe.js +0 -7
- package/dist/calcite/p-c56cfdf3.js +0 -7
- package/dist/calcite/p-c6d3ba8a.js +0 -7
- package/dist/calcite/p-c742596f.entry.js +0 -7
- package/dist/calcite/p-c742596f.entry.js.map +0 -1
- package/dist/calcite/p-c8fc62e5.entry.js +0 -7
- package/dist/calcite/p-cc05a377.entry.js +0 -7
- package/dist/calcite/p-cca3d8e3.js +0 -7
- package/dist/calcite/p-ced5bc8d.js +0 -7
- package/dist/calcite/p-d452d6e1.entry.js +0 -7
- package/dist/calcite/p-d452d6e1.entry.js.map +0 -1
- package/dist/calcite/p-d6110847.js +0 -7
- package/dist/calcite/p-da020626.js +0 -7
- package/dist/calcite/p-db1dd382.js +0 -7
- package/dist/calcite/p-db444d57.js +0 -7
- package/dist/calcite/p-dd2f1ccf.entry.js +0 -7
- package/dist/calcite/p-df388a30.entry.js +0 -7
- package/dist/calcite/p-dff64291.entry.js +0 -7
- package/dist/calcite/p-dff64291.entry.js.map +0 -1
- package/dist/calcite/p-e003995f.js +0 -7
- package/dist/calcite/p-e080003c.js +0 -7
- package/dist/calcite/p-e37a390f.entry.js +0 -7
- package/dist/calcite/p-e37a390f.entry.js.map +0 -1
- package/dist/calcite/p-e3c95268.entry.js +0 -7
- package/dist/calcite/p-e4c8c237.js +0 -7
- package/dist/calcite/p-e71b1cd2.entry.js +0 -7
- package/dist/calcite/p-e71b1cd2.entry.js.map +0 -1
- package/dist/calcite/p-e7fd75a4.js +0 -7
- package/dist/calcite/p-ea037ba0.entry.js +0 -7
- package/dist/calcite/p-edacb36f.js +0 -7
- package/dist/calcite/p-f46496d8.js +0 -13
- package/dist/calcite/p-f64597ef.entry.js +0 -7
- package/dist/calcite/p-f7268024.entry.js +0 -7
- package/dist/calcite/p-faac5552.js +0 -7
- package/dist/calcite/p-fbe5b95e.entry.js +0 -7
- package/dist/calcite/p-fd324a68.entry.js +0 -7
- package/dist/calcite/p-ffda9d68.js +0 -7
- package/dist/calcite/p-fff274cf.entry.js +0 -7
- package/dist/calcite/p-fff274cf.entry.js.map +0 -1
- package/dist/cjs/ExpandToggle-b7af8422.js +0 -110
- package/dist/cjs/ExpandToggle-b7af8422.js.map +0 -1
- package/dist/cjs/FloatingArrow-b74cd034.js +0 -49
- package/dist/cjs/FloatingArrow-b74cd034.js.map +0 -1
- package/dist/cjs/Heading-d82319fe.js +0 -22
- package/dist/cjs/Heading-d82319fe.js.map +0 -1
- package/dist/cjs/Validation-de4e1adf.js +0 -18
- package/dist/cjs/Validation-de4e1adf.js.map +0 -1
- package/dist/cjs/app-globals-0705f1fd.js +0 -61
- package/dist/cjs/app-globals-0705f1fd.js.map +0 -1
- package/dist/cjs/ar-1da0e5c8.js +0 -106
- package/dist/cjs/ar-1da0e5c8.js.map +0 -1
- package/dist/cjs/array-202818bb.js +0 -14
- package/dist/cjs/array-202818bb.js.map +0 -1
- package/dist/cjs/bg-bd15b5eb.js +0 -84
- package/dist/cjs/bg-bd15b5eb.js.map +0 -1
- package/dist/cjs/browser-38dfc363.js +0 -20
- package/dist/cjs/browser-38dfc363.js.map +0 -1
- package/dist/cjs/bs-5dafadaf.js +0 -53
- package/dist/cjs/bs-5dafadaf.js.map +0 -1
- package/dist/cjs/ca-5aacd2e9.js +0 -73
- package/dist/cjs/ca-5aacd2e9.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-0b97c7d3.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-0b97c7d3.js.map +0 -1
- package/dist/cjs/component-b4823705.js +0 -30
- package/dist/cjs/component-b4823705.js.map +0 -1
- package/dist/cjs/conditionalSlot-a51d05ce.js +0 -60
- package/dist/cjs/conditionalSlot-a51d05ce.js.map +0 -1
- package/dist/cjs/cs-03b8e90e.js +0 -149
- package/dist/cjs/cs-03b8e90e.js.map +0 -1
- package/dist/cjs/da-899ce414.js +0 -68
- package/dist/cjs/da-899ce414.js.map +0 -1
- package/dist/cjs/de-36b20236.js +0 -93
- package/dist/cjs/de-36b20236.js.map +0 -1
- package/dist/cjs/de-at-34e2070a.js +0 -92
- package/dist/cjs/de-at-34e2070a.js.map +0 -1
- package/dist/cjs/de-ch-0771cabe.js +0 -92
- package/dist/cjs/de-ch-0771cabe.js.map +0 -1
- package/dist/cjs/debounce-dc2203c4.js +0 -498
- package/dist/cjs/debounce-dc2203c4.js.map +0 -1
- package/dist/cjs/dom-6ebda9a4.js +0 -1084
- package/dist/cjs/dom-6ebda9a4.js.map +0 -1
- package/dist/cjs/el-564a075c.js +0 -68
- package/dist/cjs/el-564a075c.js.map +0 -1
- package/dist/cjs/en-au-865f026d.js +0 -68
- package/dist/cjs/en-au-865f026d.js.map +0 -1
- package/dist/cjs/en-ca-f9fd5e45.js +0 -67
- package/dist/cjs/en-ca-f9fd5e45.js.map +0 -1
- package/dist/cjs/en-gb-9a2125ed.js +0 -71
- package/dist/cjs/en-gb-9a2125ed.js.map +0 -1
- package/dist/cjs/es-8ef6a4b3.js +0 -68
- package/dist/cjs/es-8ef6a4b3.js.map +0 -1
- package/dist/cjs/es-mx-9d184bc1.js +0 -67
- package/dist/cjs/es-mx-9d184bc1.js.map +0 -1
- package/dist/cjs/et-bf39a866.js +0 -94
- package/dist/cjs/et-bf39a866.js.map +0 -1
- package/dist/cjs/fi-19997699.js +0 -117
- package/dist/cjs/fi-19997699.js.map +0 -1
- package/dist/cjs/filter-c8dd1c87.js +0 -762
- package/dist/cjs/filter-c8dd1c87.js.map +0 -1
- package/dist/cjs/floating-ui-cf401968.js +0 -1916
- package/dist/cjs/floating-ui-cf401968.js.map +0 -1
- package/dist/cjs/focusTrapComponent-9aaad4bc.js +0 -1020
- package/dist/cjs/focusTrapComponent-9aaad4bc.js.map +0 -1
- package/dist/cjs/form-773b1282.js +0 -257
- package/dist/cjs/form-773b1282.js.map +0 -1
- package/dist/cjs/fr-186d3f72.js +0 -70
- package/dist/cjs/fr-186d3f72.js.map +0 -1
- package/dist/cjs/fr-ch-6342a567.js +0 -68
- package/dist/cjs/fr-ch-6342a567.js.map +0 -1
- package/dist/cjs/guid-f8293edf.js +0 -23
- package/dist/cjs/guid-f8293edf.js.map +0 -1
- package/dist/cjs/he-7322c777.js +0 -107
- package/dist/cjs/he-7322c777.js.map +0 -1
- package/dist/cjs/hi-9a828af3.js +0 -67
- package/dist/cjs/hi-9a828af3.js.map +0 -1
- package/dist/cjs/hr-b9f6df5a.js +0 -82
- package/dist/cjs/hr-b9f6df5a.js.map +0 -1
- package/dist/cjs/hu-c237ae4d.js +0 -90
- package/dist/cjs/hu-c237ae4d.js.map +0 -1
- package/dist/cjs/id-386ce6a1.js +0 -68
- package/dist/cjs/id-386ce6a1.js.map +0 -1
- package/dist/cjs/index-3f4e122c.js +0 -2655
- package/dist/cjs/index-3f4e122c.js.map +0 -1
- package/dist/cjs/index-a3f5b07a.js +0 -75
- package/dist/cjs/index-a3f5b07a.js.map +0 -1
- package/dist/cjs/index-df25d497.js +0 -208
- package/dist/cjs/index-df25d497.js.map +0 -1
- package/dist/cjs/interactive-8aa5ce2d.js +0 -144
- package/dist/cjs/interactive-8aa5ce2d.js.map +0 -1
- package/dist/cjs/it-ae8eb070.js +0 -68
- package/dist/cjs/it-ae8eb070.js.map +0 -1
- package/dist/cjs/it-ch-6b2b9530.js +0 -68
- package/dist/cjs/it-ch-6b2b9530.js.map +0 -1
- package/dist/cjs/ja-864a3d3b.js +0 -74
- package/dist/cjs/ja-864a3d3b.js.map +0 -1
- package/dist/cjs/key-f1e6dc28.js +0 -16
- package/dist/cjs/key-f1e6dc28.js.map +0 -1
- package/dist/cjs/ko-48f9d54e.js +0 -74
- package/dist/cjs/ko-48f9d54e.js.map +0 -1
- package/dist/cjs/label-ebaebe46.js +0 -183
- package/dist/cjs/label-ebaebe46.js.map +0 -1
- package/dist/cjs/loadable-56f61e5d.js +0 -91
- package/dist/cjs/loadable-56f61e5d.js.map +0 -1
- package/dist/cjs/locale-ad7edd77.js +0 -576
- package/dist/cjs/locale-ad7edd77.js.map +0 -1
- package/dist/cjs/lt-ce414452.js +0 -99
- package/dist/cjs/lt-ce414452.js.map +0 -1
- package/dist/cjs/lv-3f737857.js +0 -68
- package/dist/cjs/lv-3f737857.js.map +0 -1
- package/dist/cjs/math-da8126f0.js +0 -57
- package/dist/cjs/math-da8126f0.js.map +0 -1
- package/dist/cjs/mk-956e54cd.js +0 -68
- package/dist/cjs/mk-956e54cd.js.map +0 -1
- package/dist/cjs/nb-81ce5c93.js +0 -69
- package/dist/cjs/nb-81ce5c93.js.map +0 -1
- package/dist/cjs/nl-297294a6.js +0 -69
- package/dist/cjs/nl-297294a6.js.map +0 -1
- package/dist/cjs/observers-325d7cbb.js +0 -50
- package/dist/cjs/observers-325d7cbb.js.map +0 -1
- package/dist/cjs/openCloseComponent-639c0cad.js +0 -89
- package/dist/cjs/openCloseComponent-639c0cad.js.map +0 -1
- package/dist/cjs/pl-cc6c612c.js +0 -116
- package/dist/cjs/pl-cc6c612c.js.map +0 -1
- package/dist/cjs/pt-2ff109ee.js +0 -69
- package/dist/cjs/pt-2ff109ee.js.map +0 -1
- package/dist/cjs/pt-br-53b530af.js +0 -67
- package/dist/cjs/pt-br-53b530af.js.map +0 -1
- package/dist/cjs/resources-288d2d36.js +0 -23
- package/dist/cjs/resources-288d2d36.js.map +0 -1
- package/dist/cjs/resources-2d961646.js +0 -29
- package/dist/cjs/resources-2d961646.js.map +0 -1
- package/dist/cjs/resources-34057642.js +0 -49
- package/dist/cjs/resources-34057642.js.map +0 -1
- package/dist/cjs/resources-6dc453d3.js +0 -414
- package/dist/cjs/resources-6dc453d3.js.map +0 -1
- package/dist/cjs/resources-72b45579.js +0 -26
- package/dist/cjs/resources-72b45579.js.map +0 -1
- package/dist/cjs/resources-f273d8a6.js +0 -26
- package/dist/cjs/resources-f273d8a6.js.map +0 -1
- package/dist/cjs/resources-ffb2e8cb.js +0 -17
- package/dist/cjs/resources-ffb2e8cb.js.map +0 -1
- package/dist/cjs/ro-13ab7a6b.js +0 -68
- package/dist/cjs/ro-13ab7a6b.js.map +0 -1
- package/dist/cjs/ru-fa5dd4b8.js +0 -128
- package/dist/cjs/ru-fa5dd4b8.js.map +0 -1
- package/dist/cjs/sk-7677ed5c.js +0 -150
- package/dist/cjs/sk-7677ed5c.js.map +0 -1
- package/dist/cjs/sl-695739f5.js +0 -170
- package/dist/cjs/sl-695739f5.js.map +0 -1
- package/dist/cjs/sortableComponent-0c2fcde7.js +0 -2739
- package/dist/cjs/sortableComponent-0c2fcde7.js.map +0 -1
- package/dist/cjs/sr-7fc3a12f.js +0 -103
- package/dist/cjs/sr-7fc3a12f.js.map +0 -1
- package/dist/cjs/sv-53602bc3.js +0 -73
- package/dist/cjs/sv-53602bc3.js.map +0 -1
- package/dist/cjs/t9n-60b39bb3.js +0 -97
- package/dist/cjs/t9n-60b39bb3.js.map +0 -1
- package/dist/cjs/th-d7fa6bbd.js +0 -67
- package/dist/cjs/th-d7fa6bbd.js.map +0 -1
- package/dist/cjs/throttle-90315733.js +0 -77
- package/dist/cjs/throttle-90315733.js.map +0 -1
- package/dist/cjs/tr-011f1f52.js +0 -68
- package/dist/cjs/tr-011f1f52.js.map +0 -1
- package/dist/cjs/uk-37a06696.js +0 -106
- package/dist/cjs/uk-37a06696.js.map +0 -1
- package/dist/cjs/utils-74a02572.js +0 -218
- package/dist/cjs/utils-74a02572.js.map +0 -1
- package/dist/cjs/utils-99c68f54.js +0 -307
- package/dist/cjs/utils-99c68f54.js.map +0 -1
- package/dist/cjs/vi-3f50a7fa.js +0 -72
- package/dist/cjs/vi-3f50a7fa.js.map +0 -1
- package/dist/cjs/zh-cn-876d2e24.js +0 -96
- package/dist/cjs/zh-cn-876d2e24.js.map +0 -1
- package/dist/cjs/zh-hk-f927f37d.js +0 -73
- package/dist/cjs/zh-hk-f927f37d.js.map +0 -1
- package/dist/cjs/zh-tw-9ffa2541.js +0 -94
- package/dist/cjs/zh-tw-9ffa2541.js.map +0 -1
- package/dist/esm/ExpandToggle-b7342b6b.js +0 -102
- package/dist/esm/ExpandToggle-b7342b6b.js.map +0 -1
- package/dist/esm/FloatingArrow-3272c4a1.js +0 -47
- package/dist/esm/FloatingArrow-3272c4a1.js.map +0 -1
- package/dist/esm/Heading-cf8b2f58.js +0 -19
- package/dist/esm/Heading-cf8b2f58.js.map +0 -1
- package/dist/esm/Validation-951e000c.js +0 -16
- package/dist/esm/Validation-951e000c.js.map +0 -1
- package/dist/esm/app-globals-a01090ee.js +0 -59
- package/dist/esm/app-globals-a01090ee.js.map +0 -1
- package/dist/esm/ar-3688cb64.js +0 -104
- package/dist/esm/ar-3688cb64.js.map +0 -1
- package/dist/esm/array-b51621c8.js +0 -12
- package/dist/esm/array-b51621c8.js.map +0 -1
- package/dist/esm/bg-02264eb7.js +0 -82
- package/dist/esm/bg-02264eb7.js.map +0 -1
- package/dist/esm/browser-3418f705.js +0 -18
- package/dist/esm/browser-3418f705.js.map +0 -1
- package/dist/esm/bs-edc0fe0d.js +0 -51
- package/dist/esm/bs-edc0fe0d.js.map +0 -1
- package/dist/esm/ca-e9cb6071.js +0 -71
- package/dist/esm/ca-e9cb6071.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-9dd7063d.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-9dd7063d.js.map +0 -1
- package/dist/esm/component-a9172c50.js +0 -27
- package/dist/esm/component-a9172c50.js.map +0 -1
- package/dist/esm/conditionalSlot-faae52f8.js +0 -57
- package/dist/esm/conditionalSlot-faae52f8.js.map +0 -1
- package/dist/esm/cs-6533e5d1.js +0 -147
- package/dist/esm/cs-6533e5d1.js.map +0 -1
- package/dist/esm/da-56b232fe.js +0 -66
- package/dist/esm/da-56b232fe.js.map +0 -1
- package/dist/esm/de-a3c87ced.js +0 -91
- package/dist/esm/de-a3c87ced.js.map +0 -1
- package/dist/esm/de-at-a2d5b325.js +0 -90
- package/dist/esm/de-at-a2d5b325.js.map +0 -1
- package/dist/esm/de-ch-94ef747f.js +0 -90
- package/dist/esm/de-ch-94ef747f.js.map +0 -1
- package/dist/esm/debounce-4b01202d.js +0 -489
- package/dist/esm/debounce-4b01202d.js.map +0 -1
- package/dist/esm/dom-c464bbe7.js +0 -1053
- package/dist/esm/dom-c464bbe7.js.map +0 -1
- package/dist/esm/el-45eca7fa.js +0 -66
- package/dist/esm/el-45eca7fa.js.map +0 -1
- package/dist/esm/en-au-4ac766c8.js +0 -66
- package/dist/esm/en-au-4ac766c8.js.map +0 -1
- package/dist/esm/en-ca-d3982a46.js +0 -65
- package/dist/esm/en-ca-d3982a46.js.map +0 -1
- package/dist/esm/en-gb-84324ec5.js +0 -69
- package/dist/esm/en-gb-84324ec5.js.map +0 -1
- package/dist/esm/es-0472fe43.js +0 -66
- package/dist/esm/es-0472fe43.js.map +0 -1
- package/dist/esm/es-mx-ae2527e5.js +0 -65
- package/dist/esm/es-mx-ae2527e5.js.map +0 -1
- package/dist/esm/et-06aa5521.js +0 -92
- package/dist/esm/et-06aa5521.js.map +0 -1
- package/dist/esm/fi-d6aa4dcb.js +0 -115
- package/dist/esm/fi-d6aa4dcb.js.map +0 -1
- package/dist/esm/filter-2fbe33f9.js +0 -760
- package/dist/esm/filter-2fbe33f9.js.map +0 -1
- package/dist/esm/floating-ui-5071a217.js +0 -1908
- package/dist/esm/floating-ui-5071a217.js.map +0 -1
- package/dist/esm/focusTrapComponent-f400d9c9.js +0 -1015
- package/dist/esm/focusTrapComponent-f400d9c9.js.map +0 -1
- package/dist/esm/form-b4c4d406.js +0 -249
- package/dist/esm/form-b4c4d406.js.map +0 -1
- package/dist/esm/fr-097d00cf.js +0 -68
- package/dist/esm/fr-097d00cf.js.map +0 -1
- package/dist/esm/fr-ch-dfbd0855.js +0 -66
- package/dist/esm/fr-ch-dfbd0855.js.map +0 -1
- package/dist/esm/guid-28e3fe65.js +0 -21
- package/dist/esm/guid-28e3fe65.js.map +0 -1
- package/dist/esm/he-5aa0572e.js +0 -105
- package/dist/esm/he-5aa0572e.js.map +0 -1
- package/dist/esm/hi-de2bd55b.js +0 -65
- package/dist/esm/hi-de2bd55b.js.map +0 -1
- package/dist/esm/hr-e5e95866.js +0 -80
- package/dist/esm/hr-e5e95866.js.map +0 -1
- package/dist/esm/hu-bcfa8209.js +0 -88
- package/dist/esm/hu-bcfa8209.js.map +0 -1
- package/dist/esm/id-1b33d290.js +0 -66
- package/dist/esm/id-1b33d290.js.map +0 -1
- package/dist/esm/index-3150c792.js +0 -206
- package/dist/esm/index-3150c792.js.map +0 -1
- package/dist/esm/index-9826a6f5.js +0 -2620
- package/dist/esm/index-9826a6f5.js.map +0 -1
- package/dist/esm/index-f3e80e21.js +0 -73
- package/dist/esm/index-f3e80e21.js.map +0 -1
- package/dist/esm/interactive-9224b7a0.js +0 -139
- package/dist/esm/interactive-9224b7a0.js.map +0 -1
- package/dist/esm/it-5da853c7.js +0 -66
- package/dist/esm/it-5da853c7.js.map +0 -1
- package/dist/esm/it-ch-1ae3dcc0.js +0 -66
- package/dist/esm/it-ch-1ae3dcc0.js.map +0 -1
- package/dist/esm/ja-b673de23.js +0 -72
- package/dist/esm/ja-b673de23.js.map +0 -1
- package/dist/esm/key-cd6614cf.js +0 -13
- package/dist/esm/key-cd6614cf.js.map +0 -1
- package/dist/esm/ko-4b26e3fc.js +0 -72
- package/dist/esm/ko-4b26e3fc.js.map +0 -1
- package/dist/esm/label-fb2922a7.js +0 -176
- package/dist/esm/label-fb2922a7.js.map +0 -1
- package/dist/esm/loadable-3e7301e8.js +0 -86
- package/dist/esm/loadable-3e7301e8.js.map +0 -1
- package/dist/esm/locale-a8935116.js +0 -563
- package/dist/esm/locale-a8935116.js.map +0 -1
- package/dist/esm/lt-5f59d6f3.js +0 -97
- package/dist/esm/lt-5f59d6f3.js.map +0 -1
- package/dist/esm/lv-3c03c8ea.js +0 -66
- package/dist/esm/lv-3c03c8ea.js.map +0 -1
- package/dist/esm/math-44d08572.js +0 -51
- package/dist/esm/math-44d08572.js.map +0 -1
- package/dist/esm/mk-15702009.js +0 -66
- package/dist/esm/mk-15702009.js.map +0 -1
- package/dist/esm/nb-a3508598.js +0 -67
- package/dist/esm/nb-a3508598.js.map +0 -1
- package/dist/esm/nl-71448a23.js +0 -67
- package/dist/esm/nl-71448a23.js.map +0 -1
- package/dist/esm/observers-fbd7b543.js +0 -48
- package/dist/esm/observers-fbd7b543.js.map +0 -1
- package/dist/esm/openCloseComponent-bc8be48f.js +0 -87
- package/dist/esm/openCloseComponent-bc8be48f.js.map +0 -1
- package/dist/esm/pl-8e254491.js +0 -114
- package/dist/esm/pl-8e254491.js.map +0 -1
- package/dist/esm/pt-bd882d7b.js +0 -67
- package/dist/esm/pt-bd882d7b.js.map +0 -1
- package/dist/esm/pt-br-6db10319.js +0 -65
- package/dist/esm/pt-br-6db10319.js.map +0 -1
- package/dist/esm/resources-1035ff61.js +0 -45
- package/dist/esm/resources-1035ff61.js.map +0 -1
- package/dist/esm/resources-6fba0075.js +0 -21
- package/dist/esm/resources-6fba0075.js.map +0 -1
- package/dist/esm/resources-912f1a4c.js +0 -23
- package/dist/esm/resources-912f1a4c.js.map +0 -1
- package/dist/esm/resources-a8c9f57b.js +0 -25
- package/dist/esm/resources-a8c9f57b.js.map +0 -1
- package/dist/esm/resources-add91c2f.js +0 -17
- package/dist/esm/resources-add91c2f.js.map +0 -1
- package/dist/esm/resources-dd7b77ce.js +0 -387
- package/dist/esm/resources-dd7b77ce.js.map +0 -1
- package/dist/esm/resources-eabbd5e7.js +0 -19
- package/dist/esm/resources-eabbd5e7.js.map +0 -1
- package/dist/esm/ro-77396fa5.js +0 -66
- package/dist/esm/ro-77396fa5.js.map +0 -1
- package/dist/esm/ru-f3387845.js +0 -126
- package/dist/esm/ru-f3387845.js.map +0 -1
- package/dist/esm/sk-c650abc2.js +0 -148
- package/dist/esm/sk-c650abc2.js.map +0 -1
- package/dist/esm/sl-bee894be.js +0 -168
- package/dist/esm/sl-bee894be.js.map +0 -1
- package/dist/esm/sortableComponent-0e67e900.js +0 -2735
- package/dist/esm/sortableComponent-0e67e900.js.map +0 -1
- package/dist/esm/sr-29f41cca.js +0 -101
- package/dist/esm/sr-29f41cca.js.map +0 -1
- package/dist/esm/sv-3faca763.js +0 -71
- package/dist/esm/sv-3faca763.js.map +0 -1
- package/dist/esm/t9n-b13b59aa.js +0 -92
- package/dist/esm/t9n-b13b59aa.js.map +0 -1
- package/dist/esm/th-446172f1.js +0 -65
- package/dist/esm/th-446172f1.js.map +0 -1
- package/dist/esm/throttle-ed211e8e.js +0 -75
- package/dist/esm/throttle-ed211e8e.js.map +0 -1
- package/dist/esm/tr-d13d9e83.js +0 -66
- package/dist/esm/tr-d13d9e83.js.map +0 -1
- package/dist/esm/uk-1238c145.js +0 -104
- package/dist/esm/uk-1238c145.js.map +0 -1
- package/dist/esm/utils-24fe1ed7.js +0 -200
- package/dist/esm/utils-24fe1ed7.js.map +0 -1
- package/dist/esm/utils-7db41fe6.js +0 -289
- package/dist/esm/utils-7db41fe6.js.map +0 -1
- package/dist/esm/vi-820613c4.js +0 -70
- package/dist/esm/vi-820613c4.js.map +0 -1
- package/dist/esm/zh-cn-00769384.js +0 -94
- package/dist/esm/zh-cn-00769384.js.map +0 -1
- package/dist/esm/zh-hk-df971eeb.js +0 -71
- package/dist/esm/zh-hk-df971eeb.js.map +0 -1
- package/dist/esm/zh-tw-f61c0e27.js +0 -92
- package/dist/esm/zh-tw-f61c0e27.js.map +0 -1
- /package/dist/calcite/{p-2e2cedda.entry.js.map → p-00ec3b40.entry.js.map} +0 -0
- /package/dist/calcite/{p-06476721.entry.js.map → p-01d0b79e.entry.js.map} +0 -0
- /package/dist/calcite/{p-904be5f8.js.map → p-03514f40.js.map} +0 -0
- /package/dist/calcite/{p-2edf4b61.entry.js.map → p-09d785b7.entry.js.map} +0 -0
- /package/dist/calcite/{p-bc5caa0a.entry.js.map → p-0a21ae9a.entry.js.map} +0 -0
- /package/dist/calcite/{p-3f0c1a1b.entry.js.map → p-0c74332d.entry.js.map} +0 -0
- /package/dist/calcite/{p-064f0f08.js.map → p-10ce1025.js.map} +0 -0
- /package/dist/calcite/{p-f7268024.entry.js.map → p-12b96fb7.entry.js.map} +0 -0
- /package/dist/calcite/{p-baae7d2e.js.map → p-1457e761.js.map} +0 -0
- /package/dist/calcite/{p-9a9521de.js.map → p-156ce16b.js.map} +0 -0
- /package/dist/calcite/{p-e003995f.js.map → p-163b702a.js.map} +0 -0
- /package/dist/calcite/{p-34b05cbe.js.map → p-17d1b050.js.map} +0 -0
- /package/dist/calcite/{p-7543ca5b.js.map → p-1844f3c8.js.map} +0 -0
- /package/dist/calcite/{p-22b8e45c.entry.js.map → p-1adc319c.entry.js.map} +0 -0
- /package/dist/calcite/{p-d6110847.js.map → p-1ebf9938.js.map} +0 -0
- /package/dist/calcite/{p-cca3d8e3.js.map → p-2074af32.js.map} +0 -0
- /package/dist/calcite/{p-33af7fcf.entry.js.map → p-227cf9b0.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e7eb977.js.map → p-23373769.js.map} +0 -0
- /package/dist/calcite/{p-91a5aae5.js.map → p-26555df5.js.map} +0 -0
- /package/dist/calcite/{p-3ae305ac.entry.js.map → p-2898f4e3.entry.js.map} +0 -0
- /package/dist/calcite/{p-88d01a69.js.map → p-2b228bdb.js.map} +0 -0
- /package/dist/calcite/{p-127b631c.js.map → p-2ec1ae1f.js.map} +0 -0
- /package/dist/calcite/{p-26881613.entry.js.map → p-330dcff5.entry.js.map} +0 -0
- /package/dist/calcite/{p-a0f3f6ac.js.map → p-336ecede.js.map} +0 -0
- /package/dist/calcite/{p-c0595915.js.map → p-3401e225.js.map} +0 -0
- /package/dist/calcite/{p-4d45b4ec.js.map → p-35de244d.js.map} +0 -0
- /package/dist/calcite/{p-30eb660a.entry.js.map → p-39154db7.entry.js.map} +0 -0
- /package/dist/calcite/{p-3872cdff.js.map → p-3a1532df.js.map} +0 -0
- /package/dist/calcite/{p-65ce72af.js.map → p-3b24c890.js.map} +0 -0
- /package/dist/calcite/{p-08fb9762.entry.js.map → p-3e5298b9.entry.js.map} +0 -0
- /package/dist/calcite/{p-38493b6a.js.map → p-3e5dfc05.js.map} +0 -0
- /package/dist/calcite/{p-727b0e83.js.map → p-41186de8.js.map} +0 -0
- /package/dist/calcite/{p-da020626.js.map → p-465e3b6d.js.map} +0 -0
- /package/dist/calcite/{p-430a5646.js.map → p-47351c6c.js.map} +0 -0
- /package/dist/calcite/{p-83547032.entry.js.map → p-4d033e97.entry.js.map} +0 -0
- /package/dist/calcite/{p-7bac6b46.js.map → p-4f1be9a0.js.map} +0 -0
- /package/dist/calcite/{p-0c7e1a3b.entry.js.map → p-4faeec71.entry.js.map} +0 -0
- /package/dist/calcite/{p-47689c90.js.map → p-500c21e3.js.map} +0 -0
- /package/dist/calcite/{p-8ba67eff.entry.js.map → p-5034f6c2.entry.js.map} +0 -0
- /package/dist/calcite/{p-1a02138f.js.map → p-5078829f.js.map} +0 -0
- /package/dist/calcite/{p-1817d190.entry.js.map → p-589c83ff.entry.js.map} +0 -0
- /package/dist/calcite/{p-ffda9d68.js.map → p-58c39dbe.js.map} +0 -0
- /package/dist/calcite/{p-e7fd75a4.js.map → p-5a5e4703.js.map} +0 -0
- /package/dist/calcite/{p-4da38535.entry.js.map → p-5bf1aaca.entry.js.map} +0 -0
- /package/dist/calcite/{p-87415bef.js.map → p-6111ea41.js.map} +0 -0
- /package/dist/calcite/{p-01375993.js.map → p-61532044.js.map} +0 -0
- /package/dist/calcite/{p-08a784ac.entry.js.map → p-62abf6e6.entry.js.map} +0 -0
- /package/dist/calcite/{p-0bba21d0.js.map → p-677fb004.js.map} +0 -0
- /package/dist/calcite/{p-12f8943c.js.map → p-686c4ba3.js.map} +0 -0
- /package/dist/calcite/{p-137d2def.js.map → p-68c09996.js.map} +0 -0
- /package/dist/calcite/{p-67ea6144.js.map → p-68edde72.js.map} +0 -0
- /package/dist/calcite/{p-fd324a68.entry.js.map → p-6afafcdf.entry.js.map} +0 -0
- /package/dist/calcite/{p-e3c95268.entry.js.map → p-6ba850dc.entry.js.map} +0 -0
- /package/dist/calcite/{p-326bd437.entry.js.map → p-6d1e0c66.entry.js.map} +0 -0
- /package/dist/calcite/{p-1d43baed.js.map → p-6e961f06.js.map} +0 -0
- /package/dist/calcite/{p-c56cfdf3.js.map → p-70314047.js.map} +0 -0
- /package/dist/calcite/{p-6e319790.entry.js.map → p-70721e8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-48317d63.js.map → p-7183efb5.js.map} +0 -0
- /package/dist/calcite/{p-9306d022.js.map → p-72a3e0eb.js.map} +0 -0
- /package/dist/calcite/{p-00562149.js.map → p-739a6b48.js.map} +0 -0
- /package/dist/calcite/{p-4a6c0ecd.js.map → p-788b097d.js.map} +0 -0
- /package/dist/calcite/{p-03492dd4.entry.js.map → p-797435e3.entry.js.map} +0 -0
- /package/dist/calcite/{p-edacb36f.js.map → p-842853b7.js.map} +0 -0
- /package/dist/calcite/{p-53cf1fbc.js.map → p-85c787c9.js.map} +0 -0
- /package/dist/calcite/{p-db444d57.js.map → p-877022f2.js.map} +0 -0
- /package/dist/calcite/{p-c34f50cd.js.map → p-8c2c7db0.js.map} +0 -0
- /package/dist/calcite/{p-9a7e6205.js.map → p-902b3ccb.js.map} +0 -0
- /package/dist/calcite/{p-4344e12b.entry.js.map → p-918685db.entry.js.map} +0 -0
- /package/dist/calcite/{p-29f77175.js.map → p-966ff128.js.map} +0 -0
- /package/dist/calcite/{p-45c88ddd.js.map → p-9a7772a1.js.map} +0 -0
- /package/dist/calcite/{p-6779d45a.js.map → p-9bf4a131.js.map} +0 -0
- /package/dist/calcite/{p-66807f8a.js.map → p-9cf924a8.js.map} +0 -0
- /package/dist/calcite/{p-4f9cdea0.js.map → p-9d1c5523.js.map} +0 -0
- /package/dist/calcite/{p-93d1635f.js.map → p-9f9f2610.js.map} +0 -0
- /package/dist/calcite/{p-5e9d5d9f.js.map → p-a4b20142.js.map} +0 -0
- /package/dist/calcite/{p-6721fc73.js.map → p-a5afbe13.js.map} +0 -0
- /package/dist/calcite/{p-55f68566.entry.js.map → p-a7392021.entry.js.map} +0 -0
- /package/dist/calcite/{p-64bdb317.js.map → p-a9907b09.js.map} +0 -0
- /package/dist/calcite/{p-3d3ae505.js.map → p-aa046ae1.js.map} +0 -0
- /package/dist/calcite/{p-2d1688b5.entry.js.map → p-aaedee41.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e822d0a.js.map → p-ab8333f4.js.map} +0 -0
- /package/dist/calcite/{p-a5510bb7.entry.js.map → p-ac2a91d8.entry.js.map} +0 -0
- /package/dist/calcite/{p-85571568.entry.js.map → p-aec9f331.entry.js.map} +0 -0
- /package/dist/calcite/{p-20b2ae04.entry.js.map → p-af245c96.entry.js.map} +0 -0
- /package/dist/calcite/{p-e4c8c237.js.map → p-b0dcf746.js.map} +0 -0
- /package/dist/calcite/{p-6135907c.js.map → p-b1270b80.js.map} +0 -0
- /package/dist/calcite/{p-ea037ba0.entry.js.map → p-b217290a.entry.js.map} +0 -0
- /package/dist/calcite/{p-c6d3ba8a.js.map → p-b2cdfa31.js.map} +0 -0
- /package/dist/calcite/{p-c8fc62e5.entry.js.map → p-b2e233de.entry.js.map} +0 -0
- /package/dist/calcite/{p-877d4d5b.js.map → p-b5c8e70f.js.map} +0 -0
- /package/dist/calcite/{p-c3126a1c.js.map → p-b936e0ca.js.map} +0 -0
- /package/dist/calcite/{p-bd93168e.js.map → p-bbca2939.js.map} +0 -0
- /package/dist/calcite/{p-c43eabbe.js.map → p-c21996d8.js.map} +0 -0
- /package/dist/calcite/{p-e080003c.js.map → p-c3d8dcdc.js.map} +0 -0
- /package/dist/calcite/{p-dd2f1ccf.entry.js.map → p-c3e9f361.entry.js.map} +0 -0
- /package/dist/calcite/{p-885936ba.entry.js.map → p-cbcc479a.entry.js.map} +0 -0
- /package/dist/calcite/{p-f64597ef.entry.js.map → p-cbededa0.entry.js.map} +0 -0
- /package/dist/calcite/{p-9b7a0f7a.entry.js.map → p-ccece29c.entry.js.map} +0 -0
- /package/dist/calcite/{p-37f5293c.js.map → p-ced06054.js.map} +0 -0
- /package/dist/calcite/{p-9517daa5.js.map → p-cf3f540f.js.map} +0 -0
- /package/dist/calcite/{p-230ddf20.entry.js.map → p-cfd360ee.entry.js.map} +0 -0
- /package/dist/calcite/{p-26960e4c.js.map → p-d3627cbd.js.map} +0 -0
- /package/dist/calcite/{p-cc05a377.entry.js.map → p-d3e40740.entry.js.map} +0 -0
- /package/dist/calcite/{p-84190c9d.entry.js.map → p-d7e01f48.entry.js.map} +0 -0
- /package/dist/calcite/{p-843ee8a4.js.map → p-d8425f1b.js.map} +0 -0
- /package/dist/calcite/{p-0c36d3cd.entry.js.map → p-d88fafe2.entry.js.map} +0 -0
- /package/dist/calcite/{p-7f640e50.entry.js.map → p-d94d869b.entry.js.map} +0 -0
- /package/dist/calcite/{p-1c6ebe7b.js.map → p-d962db95.js.map} +0 -0
- /package/dist/calcite/{p-af2e8eba.js.map → p-da68df06.js.map} +0 -0
- /package/dist/calcite/{p-c0741d59.js.map → p-dc287520.js.map} +0 -0
- /package/dist/calcite/{p-727fd8fa.js.map → p-de939342.js.map} +0 -0
- /package/dist/calcite/{p-df388a30.entry.js.map → p-e04bf743.entry.js.map} +0 -0
- /package/dist/calcite/{p-8884f00a.js.map → p-e3e91631.js.map} +0 -0
- /package/dist/calcite/{p-faac5552.js.map → p-e54d80ea.js.map} +0 -0
- /package/dist/calcite/{p-13955780.js.map → p-e57c8997.js.map} +0 -0
- /package/dist/calcite/{p-1aef2454.js.map → p-e7a19067.js.map} +0 -0
- /package/dist/calcite/{p-61ccebf8.entry.js.map → p-e86d6fe4.entry.js.map} +0 -0
- /package/dist/calcite/{p-6e5b1ef3.js.map → p-e941de73.js.map} +0 -0
- /package/dist/calcite/{p-66590f6a.js.map → p-ecbf8738.js.map} +0 -0
- /package/dist/calcite/{p-1bc39d92.entry.js.map → p-ecf5974f.entry.js.map} +0 -0
- /package/dist/calcite/{p-bf84c797.js.map → p-ed0d2d66.js.map} +0 -0
- /package/dist/calcite/{p-a134f3fd.js.map → p-eda07208.js.map} +0 -0
- /package/dist/calcite/{p-811d855d.js.map → p-eee1c1ae.js.map} +0 -0
- /package/dist/calcite/{p-f46496d8.js.map → p-f08765e4.js.map} +0 -0
- /package/dist/calcite/{p-7e65832e.js.map → p-f13c04dd.js.map} +0 -0
- /package/dist/calcite/{p-ced5bc8d.js.map → p-f2055d6b.js.map} +0 -0
- /package/dist/calcite/{p-8109d55a.entry.js.map → p-f374ba4d.entry.js.map} +0 -0
- /package/dist/calcite/{p-94aa0361.js.map → p-f584d2fa.js.map} +0 -0
- /package/dist/calcite/{p-fbe5b95e.entry.js.map → p-f79d4f9e.entry.js.map} +0 -0
- /package/dist/calcite/{p-76178830.entry.js.map → p-f79fe807.entry.js.map} +0 -0
- /package/dist/calcite/{p-db1dd382.js.map → p-f800b560.js.map} +0 -0
- /package/dist/calcite/{p-106d3278.js.map → p-f90759a5.js.map} +0 -0
- /package/dist/calcite/{p-67e9ba0c.js.map → p-fd1568c2.js.map} +0 -0
- /package/dist/calcite/{p-6d5c0a3d.js.map → p-fd727f3e.js.map} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.2.0-next.11
|
|
5
|
+
*/
|
|
6
|
+
import{h as t,r as i,c as e,H as s,g as n}from"./p-3401e225.js";import{f as o}from"./p-68edde72.js";import{z as a,B as c,C as l,i as r,t as h,e as d}from"./p-d3627cbd.js";import{d as p,f as u,c as m,r as b,a as f,F as g}from"./p-70314047.js";import{s as x,c as v,a as w,d as y,H as C}from"./p-a9907b09.js";import{g as k}from"./p-da68df06.js";import{c as z,u as I,d as $,I as E}from"./p-ad553e66.js";import{c as H,d as S,g as A}from"./p-a5afbe13.js";import{b as D,c as j,s as M,a as O}from"./p-163b702a.js";import{c as P,d as F}from"./p-03514f40.js";import{c as L}from"./p-5078829f.js";import{o as B}from"./p-ecbf8738.js";import{c as T,s as R,d as W,u as V}from"./p-156ce16b.js";import{g as G}from"./p-465e3b6d.js";import{V as X}from"./p-8c2c7db0.js";import{d as _}from"./p-41186de8.js";import{c as U,d as Y}from"./p-9d1c5523.js";import"./p-7183efb5.js";import"./p-902b3ccb.js";import"./p-72a3e0eb.js";const K="CALCITE-COMBOBOX-ITEM";const N="CALCITE-COMBOBOX-ITEM-GROUP";const q=`${K}, ${N}`;const J={chipInvisible:"chip--invisible",selectionDisplayFit:"selection-display-fit",selectionDisplaySingle:"selection-display-single",listContainer:"list-container"};function Q(t){const i=t.parentElement?.closest(q);const e=i?.parentElement?.closest(q);return[i,e].filter((t=>t))}function Z(t){return t.ancestors?.filter((t=>t.nodeName==="CALCITE-COMBOBOX-ITEM"))||[]}function tt(t){return a(t.querySelectorAll("calcite-combobox-item"))}function it(t){const i=a(t.querySelectorAll("calcite-combobox-item"));return i.filter((t=>t.selected)).length>0}function et(t){const i=document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);return i.snapshotLength}function st(t){return t.includes("single")}const nt={button:"x-button"};function ot({disabled:i,key:e,label:s,onClick:n,ref:o,scale:a}){return t("button",{"aria-label":s,class:nt.button,disabled:i,key:e,onClick:n,tabIndex:-1,type:"button",ref:o},t("calcite-icon",{icon:"x",scale:G(a)}))}const at="48px";const ct=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;appearance:none;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:placeholder-shown{text-overflow:ellipsis}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-s)}:host([scale=m]) .input--icon,:host([scale=l]) .input--icon{padding-inline:0.25rem}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{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}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.validation-container{padding-block-start:0.5rem;display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";const lt=t=>t.tagName===N;const rt="combobox-item-";const ht="combobox-chip-";const dt="combobox-label-";const pt="combobox-listbox-";const ut="combobox-input-";const mt=class{constructor(t){i(this,t);this.calciteComboboxChange=e(this,"calciteComboboxChange",6);this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6);this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6);this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6);this.calciteComboboxClose=e(this,"calciteComboboxClose",6);this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6);this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6);this.placement=p;this.internalValueChangeFlag=false;this.textInput=null;this.mutationObserver=L("mutation",(()=>this.updateItems()));this.resizeObserver=L("resize",(()=>{this.setMaxScrollerHeight();this.refreshSelectionDisplay()}));this.guid=k();this.inputHeight=0;this.ignoreSelectedEventsFlag=false;this.openTransitionProp="opacity";this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null};this.getValue=()=>{const t=this.selectedItems.map((t=>t?.value?.toString()));return t?.length?t.length>1?t:t[0]:""};this.onLabelClick=()=>{this.setFocus()};this.keyDownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1;this.activeItemIndex=-1;if(this.allowCustomValues&&this.text){this.addCustomChip(this.text,true);t.preventDefault()}else if(this.open){this.open=false;t.preventDefault()}else if(!this.allowCustomValues&&this.text){this.clearInputValue();this.filterItems("");this.updateActiveItemIndex(-1)}break;case"ArrowLeft":this.previousChip();t.preventDefault();break;case"ArrowRight":this.nextChip();t.preventDefault();break;case"ArrowUp":t.preventDefault();if(this.open){this.shiftActiveItemIndex(-1)}if(!this.comboboxInViewport()){this.el.scrollIntoView()}break;case"ArrowDown":t.preventDefault();if(this.open){this.shiftActiveItemIndex(1)}else{this.open=true;this.ensureRecentSelectedItemIsActive()}if(!this.comboboxInViewport()){this.el.scrollIntoView()}break;case" ":if(!this.textInput.value){if(!this.open){this.open=true;this.shiftActiveItemIndex(1)}t.preventDefault()}break;case"Home":if(!this.open){return}t.preventDefault();this.updateActiveItemIndex(0);this.scrollToActiveItem();if(!this.comboboxInViewport()){this.el.scrollIntoView()}break;case"End":if(!this.open){return}t.preventDefault();this.updateActiveItemIndex(this.filteredItems.length-1);this.scrollToActiveItem();if(!this.comboboxInViewport()){this.el.scrollIntoView()}break;case"Escape":if(!this.clearDisabled&&!this.open){this.clearValue()}this.open=false;t.preventDefault();break;case"Enter":if(this.activeItemIndex>-1){this.toggleSelection(this.filteredItems[this.activeItemIndex]);t.preventDefault()}else if(this.activeChipIndex>-1){this.removeActiveChip();t.preventDefault()}else if(this.allowCustomValues&&this.text){this.addCustomChip(this.text,true);t.preventDefault()}else if(!t.defaultPrevented){if(x(this)){t.preventDefault()}}break;case"Delete":case"Backspace":if(this.activeChipIndex>-1){t.preventDefault();this.removeActiveChip()}else if(!this.text&&this.isMulti()){t.preventDefault();this.removeLastChip()}break}};this.toggleCloseEnd=()=>{this.open=false;this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)};this.toggleOpenEnd=()=>{this.open=false;this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)};this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i){return}await this.reposition(true);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"";t.style.minWidth=`${e.clientWidth}px`;await this.reposition(true)};this.calciteChipCloseHandler=t=>{this.open=false;const i=this.items.find((i=>i===t));if(i){this.toggleSelection(i,false)}this.calciteComboboxChipClose.emit()};this.clickHandler=t=>{const i=t.composedPath();if(i.some((t=>t.tagName==="CALCITE-CHIP"))){this.open=false;t.preventDefault();return}if(i.some((t=>t.classList?.contains(nt.button)))){this.clearValue();t.preventDefault();return}this.open=!this.open;this.ensureRecentSelectedItemIsActive()};this.refreshSelectionDisplay=async()=>{await D(this);if(st(this.selectionMode)){return}if(!this.textInput){return}const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:n,textInput:o}=this;const a=parseInt(getComputedStyle(i).gap.replace("px",""));const r=c(i);const{fontSize:h,fontFamily:d}=getComputedStyle(o);const p=l(s,`${h} ${d}`);const u=(p||parseInt(at))+a;const m=c(t);const b=c(n);const f=Math.max(m,b);this.setCompactSelectionDisplay({chipContainerElGap:a,chipContainerElWidth:r,inputWidth:u,largestSelectedIndicatorChipWidth:f});if(e==="fit"){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable));const i=Math.round(r-((this.selectedHiddenChipsCount>0?b:0)+a+u+a));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:a,chipEls:t});this.setVisibleAndHiddenChips(t)}};this.setFloatingEl=t=>{this.floatingEl=t;m(this,this.referenceEl,this.floatingEl)};this.setContainerEl=t=>{this.resizeObserver.observe(t);this.listContainerEl=t;this.transitionEl=t};this.setChipContainerEl=t=>{this.resizeObserver.observe(t);this.chipContainerEl=t};this.setReferenceEl=t=>{this.referenceEl=t;m(this,this.referenceEl,this.floatingEl)};this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t};this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t};this.inputHandler=t=>{const i=t.target.value;this.text=i;this.filterItems(i);if(i){this.activeChipIndex=-1}};this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>lt(t)?i===t.label:e===t.value&&i===t.textLabel));return _((i=>{const e=o(this.data,i);const s=this.getItemsAndGroups();s.forEach((i=>{const s=!t(i,e);i.hidden=s;const[n,o]=i.ancestors;if(t(n,e)||t(o,e)){i.hidden=false}if(!s){i.ancestors.forEach((t=>t.hidden=false))}}));this.filteredItems=this.getFilteredItems();this.calciteComboboxFilterChange.emit()}),100)})();this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()};this.emitComboboxChange=_(this.internalComboboxChangeEvent,0);this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&(this.selectionMode!=="ancestors"||!it(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t);const s=this.selectedItems.indexOf(i);if(e>-1&&s>-1){return e-s}return s-e}))};this.updateItems=()=>{this.items=this.getItems();this.groupItems=this.getGroupItems();this.data=this.getData();this.selectedItems=this.getSelectedItems();this.filteredItems=this.getFilteredItems();this.needsIcon=this.getNeedsIcon();this.items.forEach((t=>{t.selectionMode=this.selectionMode;t.scale=this.scale}));if(!this.allowCustomValues){this.setMaxScrollerHeight()}this.groupItems.forEach(((t,i,e)=>{if(i===0){t.afterEmptyGroup=false}const s=e[i+1];if(s){s.afterEmptyGroup=t.children.length===0}}))};this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t){return}const i=this.calculateSingleItemHeight(t);const{offsetHeight:e,scrollTop:s}=this.listContainerEl;if(e+s<t.offsetTop+i){this.listContainerEl.scrollTop=t.offsetTop-e+i}else if(t.offsetTop<s){this.listContainerEl.scrollTop=t.offsetTop}};this.comboboxFocusHandler=()=>{if(this.disabled){return}this.textInput?.focus()};this.clearDisabled=false;this.selectionDisplay="all";this.open=false;this.disabled=false;this.form=undefined;this.label=undefined;this.placeholder=undefined;this.placeholderIcon=undefined;this.placeholderIconFlipRtl=false;this.maxItems=0;this.validationMessage=undefined;this.validationIcon=undefined;this.name=undefined;this.allowCustomValues=undefined;this.overlayPositioning="absolute";this.required=false;this.selectionMode="multiple";this.scale="m";this.status="idle";this.value=null;this.flipPlacements=undefined;this.messages=undefined;this.messageOverrides=undefined;this.selectedItems=[];this.filteredItems=[];this.items=[];this.groupItems=[];this.needsIcon=undefined;this.activeItemIndex=-1;this.activeChipIndex=-1;this.activeDescendant="";this.compactSelectionDisplay=false;this.selectedHiddenChipsCount=0;this.selectedVisibleChipsCount=0;this.text="";this.effectiveLocale=undefined;this.defaultMessages=undefined}openHandler(){B(this);if(this.disabled){this.open=false;return}this.setMaxScrollerHeight()}handleDisabledChange(t){if(!t){this.open=false}}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(true)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();if(Array.isArray(t)){i.forEach((i=>i.selected=t.includes(i.value)))}else if(t){i.forEach((i=>i.selected=t===i.value))}else{i.forEach((t=>t.selected=false))}this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements();this.reposition(true)}selectedItemsHandler(){this.internalValueChangeFlag=true;this.value=this.getValue();this.internalValueChangeFlag=false}documentClickHandler(t){if(this.disabled||!r(t)){return}const i=t.composedPath();if(i.includes(this.el)||i.includes(this.referenceEl)){return}if(!this.allowCustomValues&&this.textInput.value){this.clearInputValue();this.filterItems("");this.updateActiveItemIndex(-1)}if(this.allowCustomValues&&this.text.trim().length){this.addCustomChip(this.text)}this.open=false}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag){return}const i=t.target;const e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e);this.toggleSelection(i,i.selected)}async reposition(t=false){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return b(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){await j(this);this.textInput?.focus();this.activeChipIndex=-1;this.activeItemIndex=-1}connectedCallback(){z(this);P(this);T(this);H(this);v(this);this.internalValueChangeFlag=true;this.value=this.getValue();this.internalValueChangeFlag=false;this.mutationObserver?.observe(this.el,{childList:true,subtree:true});this.updateItems();this.setFilteredPlacements();this.reposition(true);if(this.open){this.openHandler();B(this)}m(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){M(this);this.updateItems();await R(this)}componentDidLoad(){w(this,this.getValue());this.reposition(true);O(this)}componentDidRender(){if(this.el.offsetHeight!==this.inputHeight){this.reposition(true);this.inputHeight=this.el.offsetHeight}I(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){this.mutationObserver?.disconnect();this.resizeObserver?.disconnect();$(this);S(this);y(this);f(this,this.referenceEl,this.floatingEl);F(this);W(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){V(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=true;this.items.forEach((t=>t.selected=false));this.ignoreSelectedEventsFlag=false;this.selectedItems=[];this.emitComboboxChange();this.open=false;this.updateActiveItemIndex(-1);this.resetText();this.filterItems("");this.setFocus()}clearInputValue(){this.textInput.value="";this.text=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem();this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this;const i=t.length===0?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(J.chipInvisible)}showChip(t){t.classList.remove(J.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(!t.selected){this.hideChip(t)}else{const s=c(t);if(s&&s<i){i-=s+e;this.showChip(t);return}}this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const n=Math.round(s+t+e);if(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<n){this.maxCompactBreakpoint=n}this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{if(t.selected&&!t.classList.contains(J.chipInvisible)){i++}}));if(i!==this.selectedVisibleChipsCount){this.selectedVisibleChipsCount=i}const e=this.getSelectedItems().length-i;if(e!==this.selectedHiddenChipsCount){this.selectedHiddenChipsCount=e}}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden));const{maxItems:i}=this;let e=0;let s=0;if(t.length>i){t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);if(i>0){s+=i;e++}}}))}return s}calculateSingleItemHeight(t){if(!t){return}let i=t.offsetHeight;const e=Array.from(t.querySelectorAll(q));e.map((t=>t?.offsetHeight)).forEach((t=>{i-=t}));return i}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){if(!t||this.selectionMode==="single-persist"&&t.selected&&t.value===this.value){return}if(this.isMulti()){t.selected=i;this.updateAncestors(t);this.selectedItems=this.getSelectedItems();this.emitComboboxChange();this.resetText();this.filterItems("")}else{this.ignoreSelectedEventsFlag=true;this.items.forEach((e=>e.selected=e===t?i:false));this.ignoreSelectedEventsFlag=false;this.selectedItems=this.getSelectedItems();this.emitComboboxChange();if(this.textInput){this.textInput.value=t.textLabel}this.open=false;this.updateActiveItemIndex(-1);this.resetText();this.filterItems("")}}updateAncestors(t){if(this.selectionMode!=="ancestors"){return}const i=Z(t);const e=tt(t);if(t.selected){i.forEach((t=>{t.selected=true}))}else{e.forEach((t=>t.selected=false));[...i].forEach((t=>{if(!it(t)){t.selected=false}}))}}getFilteredItems(){return this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({filterDisabled:t.filterDisabled,value:t.value,label:t.textLabel})))}getNeedsIcon(){return st(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){if(this.textInput){this.textInput.value=""}this.text=""}getItems(){const t=Array.from(this.el.querySelectorAll(K));return t.filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(N))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e){this.toggleSelection(e,true)}else{if(!this.isMulti()){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],false)}const e=document.createElement(K);e.value=t;e.textLabel=t;e.selected=true;this.el.appendChild(e);this.resetText();if(i){this.setFocus()}this.updateItems();this.filterItems("");this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],false);this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],false);this.setFocus()}previousChip(){if(this.text){return}const t=this.selectedItems.length-1;const i=this.activeChipIndex;this.activeChipIndex=i===-1?t:Math.max(i-1,0);this.updateActiveItemIndex(-1);this.focusChip()}nextChip(){if(this.text||this.activeChipIndex===-1){return}const t=this.selectedItems.length-1;const i=this.activeChipIndex+1;if(i>t){this.activeChipIndex=-1;this.setFocus()}else{this.activeChipIndex=i;this.focusChip()}this.updateActiveItemIndex(-1)}focusChip(){const t=this.selectedItems[this.activeChipIndex]?.guid;const i=t?this.referenceEl.querySelector(`#${ht}${t}`):null;i?.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;const e=(this.activeItemIndex+i+t)%i;this.updateActiveItemIndex(e);this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{if(s===t){e.active=true;i=`${rt}${e.guid}`}else{e.active=false}}));this.activeDescendant=i;if(this.activeItemIndex>-1){this.activeChipIndex=-1}}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!st(this.selectionMode)}renderChips(){const{activeChipIndex:i,scale:e,selectionMode:s,messages:n}=this;return this.selectedItems.map(((o,a)=>{const c={chip:true,"chip--active":i===a};const l=[...Z(o)].reverse();const r=[...l,o].map((t=>t.textLabel));const h=s!=="ancestors"?o.textLabel:r.join(" / ");return t("calcite-chip",{class:c,closable:true,icon:o.icon,iconFlipRtl:o.iconFlipRtl,id:o.guid?`${ht}${o.guid}`:null,key:o.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(o),scale:e,selected:o.selected,title:h,value:o.value},h)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:n}=this;const o=this.messages.allSelected;return t("calcite-chip",{class:{chip:true,[J.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},scale:e,title:o,value:"",ref:n},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this;const n=this.messages.all||"All";return t("calcite-chip",{class:{chip:true,[J.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:n,value:""},n)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o,selectedVisibleChipsCount:a,setSelectedIndicatorChipEl:c}=this;let l;let r;if(i){l=true}else{if(e==="single"){const t=s().length;if(this.isAllSelected()){l=true}else if(t>0){l=false}else{l=true}r=`${t} ${this.messages.selected}`}else if(e==="fit"){l=!!(this.isAllSelected()&&a===0||o===0);r=a>0?`+${o}`:`${o} ${this.messages.selected}`}}return t("calcite-chip",{class:{chip:true,[J.chipInvisible]:l},scale:n,title:r,value:"",ref:c},r)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o}=this;let a;let c;if(i){const t=s().length;if(this.isAllSelected()){a=true}else if(e==="fit"){a=!(o>0);c=`${o||0}`}else if(e==="single"){a=!(t>0);c=`${t}`}}else{a=true}return t("calcite-chip",{class:{chip:true,[J.chipInvisible]:a},scale:n,title:c,value:""},c)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:n,selectedItems:o,open:a}=this;const c=st(n);const l=o[0];const r=!a&&c&&!!l;return t("span",{class:{"input-wrap":true,"input-wrap--single":c}},r&&t("span",{class:{label:true,"label--icon":!!l?.icon},key:"label"},l.textLabel),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${pt}${i}`,"aria-label":A(this),class:{input:true,"input--single":true,"input--transparent":this.activeChipIndex>-1,"input--hidden":r,"input--icon":!!this.placeholderIcon},disabled:e,id:`${ut}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,type:"text",ref:t=>this.textInput=t}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":h(i.selected),id:i.guid?`${rt}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;const n={[J.listContainer]:true,[g.animation]:true,[g.animationActive]:s};return t("div",{"aria-hidden":"true",class:{"floating-ui-container":true,"floating-ui-container--active":s},ref:i},t("div",{class:n,ref:e},t("ul",{class:{list:true,"list--hide":!s}},t("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:e,selectionMode:s,placeholderIconFlipRtl:n}=this;const o=i[0];const a=o?.icon;const c=st(s);const l=!this.open&&o?!!a&&c:!!this.placeholderIcon&&(!o||c);return l&&t("span",{class:"icon-start"},t("calcite-icon",{class:"selected-icon",flipRtl:this.open&&o?o.iconFlipRtl:n,icon:!this.open&&o?a:e,scale:G(this.scale)}))}renderIconEnd(){const{open:i}=this;return t("span",{class:"icon-end"},t("calcite-icon",{icon:i?"chevron-up":"chevron-down",scale:G(this.scale)}))}render(){const{selectionDisplay:i,guid:e,label:n,open:o}=this;const a=st(this.selectionMode);const c=i==="all";const l=i==="single";const r=!a&&i==="fit";const d=!this.clearDisabled&&this.value?.length>0;return t(s,{onClick:this.comboboxFocusHandler},t(E,{disabled:this.disabled},t("div",{"aria-autocomplete":"list","aria-controls":`${pt}${e}`,"aria-expanded":h(o),"aria-haspopup":"listbox","aria-label":A(this),"aria-live":"polite","aria-owns":`${pt}${e}`,class:{wrapper:true,"wrapper--single":a||!this.selectedItems.length,"wrapper--active":o},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,role:"combobox",ref:this.setReferenceEl},t("div",{class:{"grid-input":true,[J.selectionDisplayFit]:r,[J.selectionDisplaySingle]:l},ref:this.setChipContainerEl},this.renderIconStart(),!a&&!l&&this.renderChips(),!a&&!c&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{class:"screen-readers-only",htmlFor:`${ut}${e}`,id:`${dt}${e}`},n),this.renderInput()),d?t(ot,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderIconEnd()),t("ul",{"aria-labelledby":`${dt}${e}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${pt}${e}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(C,{component:this}),this.validationMessage?t(X,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};mt.style=ct;const bt={icon:"icon",iconActive:"icon--active",iconIndent:"icon--indent",custom:"icon--custom",dot:"icon--dot",single:"label--single",label:"label",active:"label--active",selected:"label--selected",title:"title",textContainer:"text-container"};const ft='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.label--active{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--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)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-color-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-color-text-3)}.icon--active{color:var(--calcite-color-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}:host(:hover[disabled]) .icon{opacity:1}';const gt=class{constructor(t){i(this,t);this.calciteComboboxItemChange=e(this,"calciteComboboxItemChange",6);this.itemClickHandler=()=>{this.toggleSelected()};this.disabled=false;this.selected=false;this.active=false;this.ancestors=undefined;this.guid=k();this.icon=undefined;this.iconFlipRtl=false;this.textLabel=undefined;this.value=undefined;this.filterDisabled=undefined;this.selectionMode="multiple";this.scale="m"}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=Q(this.el);U(this);z(this)}disconnectedCallback(){Y(this);$(this)}componentDidRender(){I(this)}toggleSelected(){const t=this.selectionMode==="single-persist";if(this.disabled||t&&this.selected){return}this.selected=!this.selected}renderIcon(i){return this.icon?t("calcite-icon",{class:{[bt.custom]:!!this.icon,[bt.iconActive]:this.icon&&this.selected,[bt.iconIndent]:true},flipRtl:this.iconFlipRtl,icon:this.icon||i,key:"icon",scale:G(this.scale)}):null}renderSelectIndicator(i,e){return i?t("span",{class:{[bt.icon]:true,[bt.dot]:true,[bt.iconIndent]:true}}):t("calcite-icon",{class:{[bt.icon]:true,[bt.iconActive]:this.selected,[bt.iconIndent]:true},flipRtl:this.iconFlipRtl,icon:e,key:"indicator",scale:G(this.scale)})}renderChildren(){if(d(this.el)){return t("ul",{key:"default-slot-container"},t("slot",null))}return null}render(){const{disabled:i}=this;const e=st(this.selectionMode);const n=e&&!i;const o=e?"dot":"check";const a=i?"":o;const c={[bt.label]:true,[bt.selected]:this.selected,[bt.active]:this.active,[bt.single]:e};const l=et(this.el);return t(s,{"aria-hidden":"true"},t(E,{disabled:i},t("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${l}`}},t("li",{class:c,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(n,a),this.renderIcon(a),t("span",{class:"title"},this.textLabel)),this.renderChildren())))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};gt.style=ft;const xt={list:"list",label:"label",title:"title"};const vt=".scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}:host,.list{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-color-text-3)}.title{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-color-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);margin-inline-start:var(--calcite-combobox-item-indent-value)}::slotted(calcite-combobox-item-group:not([after-empty-group])){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}:host([hidden]){display:none}[hidden]{display:none}";const wt=class{constructor(t){i(this,t);this.guid=k();this.afterEmptyGroup=false;this.ancestors=undefined;this.label=undefined;this.scale="m"}connectedCallback(){this.ancestors=Q(this.el)}render(){const{el:i,scale:e}=this;const s=et(i);return t("ul",{"aria-labelledby":this.guid,class:{[xt.list]:true,[`scale--${e}`]:true},role:"group"},t("li",{class:{[xt.label]:true},id:this.guid,role:"presentation",style:{"--calcite-combobox-item-spacing-indent-multiplier":`${s}`}},t("span",{class:xt.title},this.label)),t("slot",null))}get el(){return n(this)}};wt.style=vt;export{mt as calcite_combobox,gt as calcite_combobox_item,wt as calcite_combobox_item_group};
|
|
7
|
+
//# sourceMappingURL=p-8889a7a2.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ComboboxItem","ComboboxItemGroup","ComboboxChildSelector","CSS","chipInvisible","selectionDisplayFit","selectionDisplaySingle","listContainer","getAncestors","element","parent","parentElement","closest","grandparent","filter","el","getItemAncestors","item","ancestors","nodeName","getItemChildren","nodeListToArray","querySelectorAll","hasActiveChildren","node","items","selected","length","getDepth","result","document","evaluate","XPathResult","UNORDERED_NODE_SNAPSHOT_TYPE","snapshotLength","isSingleLike","selectionMode","includes","button","XButton","disabled","key","label","onClick","ref","scale","h","class","tabIndex","type","icon","getIconScale","calciteSize48","comboboxCss","isGroup","tagName","itemUidPrefix","chipUidPrefix","labelUidPrefix","listboxUidPrefix","inputUidPrefix","Combobox","this","placement","defaultMenuPlacement","internalValueChangeFlag","textInput","mutationObserver","createObserver","updateItems","resizeObserver","setMaxScrollerHeight","refreshSelectionDisplay","guid","inputHeight","ignoreSelectedEventsFlag","openTransitionProp","setFilteredPlacements","flipPlacements","filteredFlipPlacements","filterComputedPlacements","getValue","selectedItems","map","value","toString","onLabelClick","setFocus","keyDownHandler","event","activeChipIndex","activeItemIndex","allowCustomValues","text","addCustomChip","preventDefault","open","clearInputValue","filterItems","updateActiveItemIndex","previousChip","nextChip","shiftActiveItemIndex","comboboxInViewport","scrollIntoView","ensureRecentSelectedItemIsActive","scrollToActiveItem","filteredItems","clearDisabled","clearValue","toggleSelection","removeActiveChip","defaultPrevented","submitForm","isMulti","removeLastChip","toggleCloseEnd","removeEventListener","toggleOpenEnd","async","listContainerEl","referenceEl","reposition","maxScrollerHeight","getMaxScrollerHeight","style","maxHeight","minWidth","clientWidth","calciteChipCloseHandler","comboboxItem","selection","find","calciteComboboxChipClose","emit","clickHandler","composedPath","some","classList","contains","XButtonCSS","componentLoaded","allSelectedIndicatorChipEl","chipContainerEl","selectionDisplay","placeholder","selectedIndicatorChipEl","chipContainerElGap","parseInt","getComputedStyle","gap","replace","chipContainerElWidth","getElementWidth","fontSize","fontFamily","inputTextWidth","getTextWidth","inputWidth","allSelectedIndicatorChipElWidth","selectedIndicatorChipElWidth","largestSelectedIndicatorChipWidth","Math","max","setCompactSelectionDisplay","chipEls","Array","from","shadowRoot","chipEl","closable","availableHorizontalChipElSpace","round","selectedHiddenChipsCount","refreshChipDisplay","setVisibleAndHiddenChips","setFloatingEl","floatingEl","connectFloatingUI","setContainerEl","observe","transitionEl","setChipContainerEl","setReferenceEl","setAllSelectedIndicatorChipEl","setSelectedIndicatorChipEl","inputHandler","target","filteredData","textLabel","debounce","data","itemsAndGroups","getItemsAndGroups","forEach","hidden","ancestor","getFilteredItems","calciteComboboxFilterChange","internalComboboxChangeEvent","calciteComboboxChange","emitComboboxChange","getSelectedItems","match","sort","a","b","aIdx","indexOf","bIdx","getItems","groupItems","getGroupItems","getData","needsIcon","getNeedsIcon","groupItem","index","afterEmptyGroup","nextGroupItem","children","activeItem","height","calculateSingleItemHeight","offsetHeight","scrollTop","offsetTop","comboboxFocusHandler","focus","openHandler","onToggleOpenCloseComponent","handleDisabledChange","maxItemsHandler","overlayPositioningHandler","handlePropsChange","valueHandler","isArray","onMessagesChange","flipPlacementsHandler","selectedItemsHandler","documentClickHandler","isPrimaryPointerButton","trim","calciteComboboxItemChangeHandler","newIndex","delayed","overlayPositioning","componentFocusable","connectedCallback","connectInteractive","connectLocalized","connectMessages","connectLabel","connectForm","childList","subtree","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","afterConnectDefaultValueSet","setComponentLoaded","componentDidRender","updateHostInteraction","componentDidUpdate","disconnectedCallback","disconnect","disconnectInteractive","disconnectLabel","disconnectForm","disconnectFloatingUI","disconnectLocalized","disconnectMessages","textHandler","effectiveLocaleChange","updateMessages","effectiveLocale","resetText","bounding","getBoundingClientRect","top","left","right","window","innerWidth","documentElement","bottom","innerHeight","clientHeight","onBeforeOpen","calciteComboboxBeforeOpen","onOpen","calciteComboboxOpen","onBeforeClose","calciteComboboxBeforeClose","onClose","calciteComboboxClose","targetIndex","hideChip","add","showChip","remove","chipElWidth","newCompactBreakpoint","maxCompactBreakpoint","compactSelectionDisplay","newSelectedVisibleChipsCount","selectedVisibleChipsCount","newSelectedHiddenChipsCount","maxItems","itemsToProcess","child","updateAncestors","filterDisabled","existingItem","createElement","appendChild","active","focusChip","last","chip","querySelector","delta","activeDescendant","i","isAllSelected","renderChips","messages","chipClasses","reverse","pathLabel","join","iconFlipRtl","id","messageOverrides","dismissLabel","removeTag","onCalciteChipClose","title","renderAllSelectedIndicatorChip","allSelected","renderAllSelectedIndicatorChipCompact","all","renderSelectedIndicatorChip","selectedItemsCount","renderSelectedIndicatorChipCompact","renderInput","single","selectedItem","showLabel","getLabelText","input","placeholderIcon","onFocus","onInput","renderListBoxOptions","toAriaBoolean","role","tabindex","renderFloatingUIContainer","classes","FloatingCSS","animation","animationActive","list","renderIconStart","placeholderIconFlipRtl","selectedIcon","singleSelectionMode","iconAtStart","flipRtl","renderIconEnd","render","allSelectionDisplay","singleSelectionDisplay","fitSelectionDisplay","isClearable","Host","InteractiveContainer","wrapper","onKeyDown","htmlFor","clear","HiddenFormInputSlot","component","validationMessage","Validation","validationIcon","message","status","iconActive","iconIndent","custom","dot","textContainer","comboboxItemCss","itemClickHandler","toggleSelected","selectedWatchHandler","calciteComboboxItemChange","connectConditionalSlotComponent","disconnectConditionalSlotComponent","isSinglePersistSelect","renderIcon","iconPath","renderSelectIndicator","showDot","renderChildren","getSlotted","isSingleSelect","defaultIcon","depth","comboboxItemGroupCss"],"sources":["src/components/combobox/resources.ts","src/components/combobox/utils.ts","src/components/functional/XButton.tsx","../calcite-design-tokens/dist/es6/core.js","src/components/combobox/combobox.scss?tag=calcite-combobox&encapsulation=shadow","src/components/combobox/combobox.tsx","src/components/combobox-item/resources.ts","src/components/combobox-item/combobox-item.scss?tag=calcite-combobox-item&encapsulation=shadow","src/components/combobox-item/combobox-item.tsx","src/components/combobox-item-group/resources.ts","src/components/combobox-item-group/combobox-item-group.scss?tag=calcite-combobox-item-group&encapsulation=shadow","src/components/combobox-item-group/combobox-item-group.tsx"],"sourcesContent":["export const ComboboxItem = \"CALCITE-COMBOBOX-ITEM\";\nexport const ComboboxItemGroup = \"CALCITE-COMBOBOX-ITEM-GROUP\";\nexport const ComboboxChildSelector = `${ComboboxItem}, ${ComboboxItemGroup}`;\n\nexport const CSS = {\n chipInvisible: \"chip--invisible\",\n selectionDisplayFit: \"selection-display-fit\",\n selectionDisplaySingle: \"selection-display-single\",\n listContainer: \"list-container\",\n};\n","import { nodeListToArray } from \"../../utils/dom\";\nimport { ComboboxChildElement } from \"./interfaces\";\nimport { ComboboxChildSelector } from \"./resources\";\nimport { Build } from \"@stencil/core\";\nimport { Combobox } from \"./combobox\";\n\nexport function getAncestors(element: HTMLElement): ComboboxChildElement[] {\n const parent: ComboboxChildElement = element.parentElement?.closest(ComboboxChildSelector);\n const grandparent: ComboboxChildElement = parent?.parentElement?.closest(ComboboxChildSelector);\n return [parent, grandparent].filter((el) => el);\n}\n\nexport function getItemAncestors(item: HTMLCalciteComboboxItemElement): HTMLCalciteComboboxItemElement[] {\n return (\n (item.ancestors?.filter((el) => el.nodeName === \"CALCITE-COMBOBOX-ITEM\") as HTMLCalciteComboboxItemElement[]) || []\n );\n}\n\nexport function getItemChildren(item: HTMLCalciteComboboxItemElement): HTMLCalciteComboboxItemElement[] {\n return nodeListToArray(item.querySelectorAll(\"calcite-combobox-item\"));\n}\n\nexport function hasActiveChildren(node: HTMLCalciteComboboxItemElement): boolean {\n const items = nodeListToArray(node.querySelectorAll(\"calcite-combobox-item\"));\n return items.filter((item) => item.selected).length > 0;\n}\n\nexport function getDepth(element: HTMLElement): number {\n if (!Build.isBrowser) {\n return 0;\n }\n\n const result = document.evaluate(\n \"ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group\",\n element,\n null,\n XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,\n null,\n );\n\n return result.snapshotLength;\n}\n\nexport function isSingleLike(selectionMode: Combobox[\"selectionMode\"]): boolean {\n return selectionMode.includes(\"single\");\n}\n","import { FunctionalComponent, h } from \"@stencil/core\";\nimport { JSXAttributes, JSXBase } from \"@stencil/core/internal\";\nimport { Scale } from \"../interfaces\";\nimport { getIconScale } from \"../../utils/component\";\n\nexport interface XButtonOptions extends JSXAttributes {\n disabled: boolean;\n label: string;\n scale: Scale;\n onClick?: JSXBase.DOMAttributes<HTMLElement>[\"onClick\"];\n}\n\nexport const CSS = {\n button: \"x-button\",\n};\n\nexport function XButton({\n disabled,\n key,\n label,\n onClick,\n ref,\n scale,\n}: XButtonOptions): FunctionalComponent {\n return (\n <button\n aria-label={label}\n class={CSS.button}\n disabled={disabled}\n key={key}\n onClick={onClick}\n tabIndex={-1}\n type=\"button\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={ref}\n >\n <calcite-icon icon=\"x\" scale={getIconScale(scale)} />\n </button>\n );\n}\n","/**\n * Do not edit directly\n * Generated on Fri, 05 Jan 2024 16:59:14 GMT\n */\n\nexport const calciteColorNeutralBlk000 = \"#ffffff\";\nexport const calciteColorNeutralBlk005 = \"#f8f8f8\";\nexport const calciteColorNeutralBlk010 = \"#f3f3f3\";\nexport const calciteColorNeutralBlk020 = \"#eaeaea\";\nexport const calciteColorNeutralBlk030 = \"#dfdfdf\";\nexport const calciteColorNeutralBlk040 = \"#d4d4d4\";\nexport const calciteColorNeutralBlk050 = \"#cacaca\";\nexport const calciteColorNeutralBlk060 = \"#bfbfbf\";\nexport const calciteColorNeutralBlk070 = \"#b5b5b5\";\nexport const calciteColorNeutralBlk080 = \"#aaaaaa\";\nexport const calciteColorNeutralBlk090 = \"#9f9f9f\";\nexport const calciteColorNeutralBlk100 = \"#949494\";\nexport const calciteColorNeutralBlk110 = \"#8a8a8a\";\nexport const calciteColorNeutralBlk120 = \"#808080\";\nexport const calciteColorNeutralBlk130 = \"#757575\";\nexport const calciteColorNeutralBlk140 = \"#6a6a6a\";\nexport const calciteColorNeutralBlk150 = \"#606060\";\nexport const calciteColorNeutralBlk160 = \"#555555\";\nexport const calciteColorNeutralBlk170 = \"#4a4a4a\";\nexport const calciteColorNeutralBlk180 = \"#404040\";\nexport const calciteColorNeutralBlk190 = \"#353535\";\nexport const calciteColorNeutralBlk200 = \"#2b2b2b\";\nexport const calciteColorNeutralBlk210 = \"#202020\";\nexport const calciteColorNeutralBlk220 = \"#151515\";\nexport const calciteColorNeutralBlk230 = \"#0b0b0b\";\nexport const calciteColorNeutralBlk235 = \"#060606\";\nexport const calciteColorNeutralBlk240 = \"#000000\";\nexport const calciteColorHighSaturationBlueHBb010 = \"#c7eaff\";\nexport const calciteColorHighSaturationBlueHBb020 = \"#9fd4f3\";\nexport const calciteColorHighSaturationBlueHBb030 = \"#77bde7\";\nexport const calciteColorHighSaturationBlueHBb040 = \"#50a7da\";\nexport const calciteColorHighSaturationBlueHBb050 = \"#2890ce\";\nexport const calciteColorHighSaturationBlueHBb060 = \"#007ac2\";\nexport const calciteColorHighSaturationBlueHBb070 = \"#00619b\";\nexport const calciteColorHighSaturationBlueHBb080 = \"#004874\";\nexport const calciteColorHighSaturationBlueHBb090 = \"#00304d\";\nexport const calciteColorHighSaturationBlueHBb100 = \"#001726\";\nexport const calciteColorHighSaturationGreenBlueHGb010 = \"#cef5f4\";\nexport const calciteColorHighSaturationGreenBlueHGb020 = \"#afedec\";\nexport const calciteColorHighSaturationGreenBlueHGb030 = \"#8fe6e5\";\nexport const calciteColorHighSaturationGreenBlueHGb040 = \"#5ae0de\";\nexport const calciteColorHighSaturationGreenBlueHGb050 = \"#28cecb\";\nexport const calciteColorHighSaturationGreenBlueHGb060 = \"#00bab5\";\nexport const calciteColorHighSaturationGreenBlueHGb070 = \"#009b98\";\nexport const calciteColorHighSaturationGreenBlueHGb080 = \"#007472\";\nexport const calciteColorHighSaturationGreenBlueHGb090 = \"#004d4c\";\nexport const calciteColorHighSaturationGreenBlueHGb100 = \"#002625\";\nexport const calciteColorHighSaturationGreenHGg010 = \"#bdf2c4\";\nexport const calciteColorHighSaturationGreenHGg020 = \"#a2e4ab\";\nexport const calciteColorHighSaturationGreenHGg030 = \"#87d692\";\nexport const calciteColorHighSaturationGreenHGg040 = \"#6bc878\";\nexport const calciteColorHighSaturationGreenHGg050 = \"#50ba5f\";\nexport const calciteColorHighSaturationGreenHGg060 = \"#35ac46\";\nexport const calciteColorHighSaturationGreenHGg070 = \"#288835\";\nexport const calciteColorHighSaturationGreenHGg080 = \"#1a6324\";\nexport const calciteColorHighSaturationGreenHGg090 = \"#0d3f14\";\nexport const calciteColorHighSaturationGreenHGg100 = \"#001a03\";\nexport const calciteColorHighSaturationYellowGreenHYg010 = \"#e5f7b4\";\nexport const calciteColorHighSaturationYellowGreenHYg020 = \"#d9ef9f\";\nexport const calciteColorHighSaturationYellowGreenHYg030 = \"#cde78a\";\nexport const calciteColorHighSaturationYellowGreenHYg040 = \"#c2e075\";\nexport const calciteColorHighSaturationYellowGreenHYg050 = \"#b6d860\";\nexport const calciteColorHighSaturationYellowGreenHYg060 = \"#aad04b\";\nexport const calciteColorHighSaturationYellowGreenHYg070 = \"#84a338\";\nexport const calciteColorHighSaturationYellowGreenHYg080 = \"#5e7526\";\nexport const calciteColorHighSaturationYellowGreenHYg090 = \"#384813\";\nexport const calciteColorHighSaturationYellowGreenHYg100 = \"#121a00\";\nexport const calciteColorHighSaturationYellowHYy010 = \"#fff7cc\";\nexport const calciteColorHighSaturationYellowHYy020 = \"#fef3ad\";\nexport const calciteColorHighSaturationYellowHYy030 = \"#fcee8d\";\nexport const calciteColorHighSaturationYellowHYy040 = \"#fbea6e\";\nexport const calciteColorHighSaturationYellowHYy050 = \"#f9e54e\";\nexport const calciteColorHighSaturationYellowHYy060 = \"#edd317\";\nexport const calciteColorHighSaturationYellowHYy070 = \"#d9bc00\";\nexport const calciteColorHighSaturationYellowHYy080 = \"#bfa200\";\nexport const calciteColorHighSaturationYellowHYy090 = \"#8c7500\";\nexport const calciteColorHighSaturationYellowHYy100 = \"#5c4e00\";\nexport const calciteColorHighSaturationOrangeYellowHOy010 = \"#ffe2bf\";\nexport const calciteColorHighSaturationOrangeYellowHOy020 = \"#fed3a1\";\nexport const calciteColorHighSaturationOrangeYellowHOy030 = \"#fcc582\";\nexport const calciteColorHighSaturationOrangeYellowHOy040 = \"#fbb664\";\nexport const calciteColorHighSaturationOrangeYellowHOy050 = \"#f9a845\";\nexport const calciteColorHighSaturationOrangeYellowHOy060 = \"#f89927\";\nexport const calciteColorHighSaturationOrangeYellowHOy070 = \"#c67718\";\nexport const calciteColorHighSaturationOrangeYellowHOy080 = \"#9a5b10\";\nexport const calciteColorHighSaturationOrangeYellowHOy090 = \"#6d3f08\";\nexport const calciteColorHighSaturationOrangeYellowHOy100 = \"#402300\";\nexport const calciteColorHighSaturationOrangeHOo010 = \"#ffd8bf\";\nexport const calciteColorHighSaturationOrangeHOo020 = \"#fdc39f\";\nexport const calciteColorHighSaturationOrangeHOo030 = \"#faae7f\";\nexport const calciteColorHighSaturationOrangeHOo040 = \"#f89960\";\nexport const calciteColorHighSaturationOrangeHOo050 = \"#f58440\";\nexport const calciteColorHighSaturationOrangeHOo060 = \"#f36f20\";\nexport const calciteColorHighSaturationOrangeHOo070 = \"#c65a18\";\nexport const calciteColorHighSaturationOrangeHOo080 = \"#9a4410\";\nexport const calciteColorHighSaturationOrangeHOo090 = \"#6d2f08\";\nexport const calciteColorHighSaturationOrangeHOo100 = \"#401900\";\nexport const calciteColorHighSaturationRedOrangeHRo010 = \"#ffc7b3\";\nexport const calciteColorHighSaturationRedOrangeHRo020 = \"#f8af95\";\nexport const calciteColorHighSaturationRedOrangeHRo030 = \"#f09677\";\nexport const calciteColorHighSaturationRedOrangeHRo040 = \"#e97e5a\";\nexport const calciteColorHighSaturationRedOrangeHRo050 = \"#e1653c\";\nexport const calciteColorHighSaturationRedOrangeHRo060 = \"#da4d1e\";\nexport const calciteColorHighSaturationRedOrangeHRo070 = \"#ad3c16\";\nexport const calciteColorHighSaturationRedOrangeHRo080 = \"#802c0f\";\nexport const calciteColorHighSaturationRedOrangeHRo090 = \"#531b07\";\nexport const calciteColorHighSaturationRedOrangeHRo100 = \"#260a00\";\nexport const calciteColorHighSaturationRedHRr010 = \"#ffc6bf\";\nexport const calciteColorHighSaturationRedHRr020 = \"#ffaaa1\";\nexport const calciteColorHighSaturationRedHRr030 = \"#f2877b\";\nexport const calciteColorHighSaturationRedHRr040 = \"#f07062\";\nexport const calciteColorHighSaturationRedHRr050 = \"#e65240\";\nexport const calciteColorHighSaturationRedHRr060 = \"#d83020\";\nexport const calciteColorHighSaturationRedHRr070 = \"#a82b1e\";\nexport const calciteColorHighSaturationRedHRr080 = \"#7c1d13\";\nexport const calciteColorHighSaturationRedHRr090 = \"#4f0e08\";\nexport const calciteColorHighSaturationRedHRr100 = \"#210300\";\nexport const calciteColorHighSaturationPinkHPk010 = \"#ffd1ef\";\nexport const calciteColorHighSaturationPinkHPk020 = \"#fabee4\";\nexport const calciteColorHighSaturationPinkHPk030 = \"#f2a5d6\";\nexport const calciteColorHighSaturationPinkHPk040 = \"#eb8dc9\";\nexport const calciteColorHighSaturationPinkHPk050 = \"#e673bb\";\nexport const calciteColorHighSaturationPinkHPk060 = \"#e04ea6\";\nexport const calciteColorHighSaturationPinkHPk070 = \"#ba2f7e\";\nexport const calciteColorHighSaturationPinkHPk080 = \"#851b52\";\nexport const calciteColorHighSaturationPinkHPk090 = \"#590b32\";\nexport const calciteColorHighSaturationPinkHPk100 = \"#260404\";\nexport const calciteColorHighSaturationVioletRedHVr010 = \"#fadbff\";\nexport const calciteColorHighSaturationVioletRedHVr020 = \"#e4beeb\";\nexport const calciteColorHighSaturationVioletRedHVr030 = \"#cfa1d7\";\nexport const calciteColorHighSaturationVioletRedHVr040 = \"#b983c3\";\nexport const calciteColorHighSaturationVioletRedHVr050 = \"#a466af\";\nexport const calciteColorHighSaturationVioletRedHVr060 = \"#8e499b\";\nexport const calciteColorHighSaturationVioletRedHVr070 = \"#73377e\";\nexport const calciteColorHighSaturationVioletRedHVr080 = \"#572561\";\nexport const calciteColorHighSaturationVioletRedHVr090 = \"#3c1243\";\nexport const calciteColorHighSaturationVioletRedHVr100 = \"#200026\";\nexport const calciteColorHighSaturationVioletHVv010 = \"#e8d9ff\";\nexport const calciteColorHighSaturationVioletHVv020 = \"#cdb9eb\";\nexport const calciteColorHighSaturationVioletHVv030 = \"#b39ad7\";\nexport const calciteColorHighSaturationVioletHVv040 = \"#987ac3\";\nexport const calciteColorHighSaturationVioletHVv050 = \"#7e5baf\";\nexport const calciteColorHighSaturationVioletHVv060 = \"#633b9b\";\nexport const calciteColorHighSaturationVioletHVv070 = \"#4e2c7e\";\nexport const calciteColorHighSaturationVioletHVv080 = \"#3a1e61\";\nexport const calciteColorHighSaturationVioletHVv090 = \"#250f43\";\nexport const calciteColorHighSaturationVioletHVv100 = \"#100026\";\nexport const calciteColorVibrantBlueVBb120 = \"#59d6ff\";\nexport const calciteColorVibrantBlueVBb140 = \"#3db8ff\";\nexport const calciteColorVibrantBlueVBb160 = \"#009af2\";\nexport const calciteColorVibrantBlueVBb180 = \"#009af2\";\nexport const calciteColorVibrantGreenBlueVGb120 = \"#59fffc\";\nexport const calciteColorVibrantGreenBlueVGb140 = \"#00f7f3\";\nexport const calciteColorVibrantGreenBlueVGb160 = \"#00e6e2\";\nexport const calciteColorVibrantGreenBlueVGb180 = \"#00cfca\";\nexport const calciteColorVibrantGreenVGg120 = \"#73ff84\";\nexport const calciteColorVibrantGreenVGg140 = \"#3bed52\";\nexport const calciteColorVibrantGreenVGg160 = \"#00b81b\";\nexport const calciteColorVibrantGreenVGg180 = \"#00a118\";\nexport const calciteColorVibrantYellowGreenVYg120 = \"#d7ff73\";\nexport const calciteColorVibrantYellowGreenVYg140 = \"#bbed3b\";\nexport const calciteColorVibrantYellowGreenVYg160 = \"#96cc00\";\nexport const calciteColorVibrantYellowGreenVYg180 = \"#7fab00\";\nexport const calciteColorVibrantYellowVYy120 = \"#fff766\";\nexport const calciteColorVibrantYellowVYy140 = \"#ffee33\";\nexport const calciteColorVibrantYellowVYy160 = \"#f5d000\";\nexport const calciteColorVibrantYellowVYy180 = \"#ebba17\";\nexport const calciteColorVibrantOrangeYellowVOy120 = \"#ffb54d\";\nexport const calciteColorVibrantOrangeYellowVOy140 = \"#ff9500\";\nexport const calciteColorVibrantOrangeYellowVOy160 = \"#e68600\";\nexport const calciteColorVibrantOrangeYellowVOy180 = \"#d17300\";\nexport const calciteColorVibrantRedOrangeVRo120 = \"#ff824d\";\nexport const calciteColorVibrantRedOrangeVRo140 = \"#ff4d00\";\nexport const calciteColorVibrantRedOrangeVRo160 = \"#de4300\";\nexport const calciteColorVibrantRedOrangeVRo180 = \"#c93b00\";\nexport const calciteColorVibrantRedVRr120 = \"#ff624d\";\nexport const calciteColorVibrantRedVRr140 = \"#ff0015\";\nexport const calciteColorVibrantRedVRr160 = \"#d90012\";\nexport const calciteColorVibrantRedVRr180 = \"#b3000f\";\nexport const calciteColorVibrantPinkVPk120 = \"#ff66c2\";\nexport const calciteColorVibrantPinkVPk140 = \"#ff19a4\";\nexport const calciteColorVibrantPinkVPk160 = \"#d11486\";\nexport const calciteColorVibrantPinkVPk180 = \"#c00073\";\nexport const calciteColorVibrantVioletRedVVr120 = \"#ea80ff\";\nexport const calciteColorVibrantVioletRedVVr140 = \"#dd33ff\";\nexport const calciteColorVibrantVioletRedVVr160 = \"#ac08cc\";\nexport const calciteColorVibrantVioletRedVVr180 = \"#83009e\";\nexport const calciteColorVibrantVioletVVv120 = \"#b580ff\";\nexport const calciteColorVibrantVioletVVv140 = \"#974dff\";\nexport const calciteColorVibrantVioletVVv160 = \"#8129ff\";\nexport const calciteColorVibrantVioletVVv180 = \"#6a0be6\";\nexport const calciteColorDarkGreenDGg410 = \"#44ed51\";\nexport const calciteColorDarkGreenDGg420 = \"#36da43\";\nexport const calciteColorDarkGreenDGg430 = \"#36da43\";\nexport const calciteColorDarkYellowDYy410 = \"#ffe24d\";\nexport const calciteColorDarkYellowDYy420 = \"#ffc900\";\nexport const calciteColorDarkYellowDYy430 = \"#f4b000\";\nexport const calciteColorDarkRedDRr410 = \"#ff7465\";\nexport const calciteColorDarkRedDRr420 = \"#fe583e\";\nexport const calciteColorDarkRedDRr430 = \"#f3381b\";\nexport const calciteColorDarkBlueDBb410 = \"#47bbff\";\nexport const calciteColorDarkBlueDBb420 = \"#00a0ff\";\nexport const calciteColorDarkBlueDBb430 = \"#0087d7\";\nexport const calciteContainerSize0 = \"0\";\nexport const calciteContainerSize154 = \"154px\";\nexport const calciteContainerSize320 = \"320px\";\nexport const calciteContainerSize328 = \"328px\";\nexport const calciteContainerSize476 = \"476px\";\nexport const calciteContainerSize504 = \"504px\";\nexport const calciteContainerSize678 = \"678px\";\nexport const calciteContainerSize768 = \"768px\";\nexport const calciteContainerSize854 = \"854px\";\nexport const calciteContainerSize1152 = \"1152px\";\nexport const calciteContainerSize1440 = \"1440px\";\nexport const calciteFontFamilyAndaleMono = \"Andale Mono\"; // Fallback for Monaco\nexport const calciteFontFamilyAvenirNextPro = \"Avenir Next LT Pro\";\nexport const calciteFontFamilyAvenirNextWorld = \"Avenir Next World\";\nexport const calciteFontFamilyAvenir = \"Avenir\"; // Fallback for Avenir Next\nexport const calciteFontFamilyConsolas = \"Consolas\"; // Fallback for Monaco\nexport const calciteFontFamilyHelveticaNeue = \"Helvetica Neue\"; // Fallback for Avenir Next\nexport const calciteFontFamilyLucidaConsole = \"Lucida Console\"; // Fallback for Monaco\nexport const calciteFontFamilyMonaco = \"Monaco\";\nexport const calciteFontFamilyMonospace = \"monospace\"; // Fallback for Monaco\nexport const calciteFontFamilySansSerif = \"sans-serif\"; // Fallback for Avenir Next\nexport const calciteFontStyleItalic = \"italic\"; // used in ratings\nexport const calciteFontWeightUltralight = \"200\"; // only for Avenir Next World (secondary font family)\nexport const calciteFontWeightThin = \"100\";\nexport const calciteFontWeightLight = \"300\"; // only for Avenir Next World (secondary font family)\nexport const calciteFontWeightRegular = \"400\";\nexport const calciteFontWeightMedium = \"500\";\nexport const calciteFontWeightMediumItalic = \"Medium Italic\";\nexport const calciteFontWeightDemi = \"600\";\nexport const calciteFontWeightBold = \"700\";\nexport const calciteFontWeightExtrabold = \"800\"; // only for Avenir Next World (secondary font family)\nexport const calciteFontWeightBlack = \"900\"; // only for Avenir Next World (secondary font family)\nexport const calciteFontWeightHeavy = \"900\";\nexport const calciteFontTextDecorationNone = \"none\";\nexport const calciteFontTextDecorationUnderline = \"underline\";\nexport const calciteFontTextCaseNone = \"none\";\nexport const calciteFontTextCaseUppercase = \"uppercase\";\nexport const calciteFontTextCaseLowercase = \"lowercase\";\nexport const calciteFontTextCaseCapitalize = \"capitalize\";\nexport const calciteOpacity0 = \"0\";\nexport const calciteOpacity4 = \"0.04\";\nexport const calciteOpacity8 = \"0.08\";\nexport const calciteOpacity10 = \"0.1\";\nexport const calciteOpacity20 = \"0.2\";\nexport const calciteOpacity30 = \"0.3\";\nexport const calciteOpacity40 = \"0.4\";\nexport const calciteOpacity50 = \"0.5\";\nexport const calciteOpacity60 = \"0.6\";\nexport const calciteOpacity70 = \"0.7\";\nexport const calciteOpacity80 = \"0.8\";\nexport const calciteOpacity85 = \"0.85\";\nexport const calciteOpacity90 = \"0.9\";\nexport const calciteOpacity92 = \"0.92\";\nexport const calciteOpacity96 = \"0.96\";\nexport const calciteOpacity100 = \"1\";\nexport const calciteShadow0 = {\"x\":\"0\",\"y\":\"0\",\"blur\":\"0\",\"spread\":\"0\",\"color\":\"rgba(#000000, 0)\"};\nexport const calciteShadow1 = {\"x\":\"0\",\"y\":\"2\",\"blur\":\"8\",\"spread\":\"0\",\"color\":\"rgba(#000000, 0.04)\"};\nexport const calciteShadow2 = {\"x\":\"0\",\"y\":\"4\",\"blur\":\"16\",\"spread\":\"0\",\"color\":\"rgba(#000000, 0.08)\"};\nexport const calciteShadow3 = {\"x\":\"0\",\"y\":\"4\",\"blur\":\"20\",\"spread\":\"0\",\"color\":\"rgba(#000000, 0.08)\"};\nexport const calciteShadow4 = {\"x\":\"0\",\"y\":\"12\",\"blur\":\"32\",\"spread\":\"-2\",\"color\":\"rgba(#000000, 0.1)\"};\nexport const calciteSize1 = \"1px\";\nexport const calciteSize2 = \"2px\";\nexport const calciteSize4 = \"4px\";\nexport const calciteSize6 = \"6px\";\nexport const calciteSize8 = \"8px\";\nexport const calciteSize10 = \"10px\";\nexport const calciteSize12 = \"12px\";\nexport const calciteSize14 = \"14px\";\nexport const calciteSize16 = \"16px\";\nexport const calciteSize20 = \"20px\";\nexport const calciteSize24 = \"24px\";\nexport const calciteSize28 = \"28px\";\nexport const calciteSize32 = \"32px\";\nexport const calciteSize36 = \"36px\";\nexport const calciteSize40 = \"40px\";\nexport const calciteSize44 = \"44px\";\nexport const calciteSize48 = \"48px\";\nexport const calciteSize56 = \"56px\";\nexport const calciteSize64 = \"64px\";\nexport const calciteSize72 = \"72px\";\nexport const calciteSize80 = \"80px\";\nexport const calciteSize96 = \"96px\";\nexport const calciteSize112 = \"112px\";\nexport const calciteSize128 = \"128px\";\nexport const calciteSize144 = \"144px\";\nexport const calciteSize160 = \"160px\";\nexport const calciteSize192 = \"192px\";\nexport const calciteSize224 = \"224px\";\nexport const calciteSize256 = \"256px\";\nexport const calciteSize288 = \"288px\";\nexport const calciteSizeNone = \"0\";\nexport const calciteSizeRelative50 = \"50%\";\nexport const calciteSizeRelative100 = \"100%\";\nexport const calciteSizeRelative125 = \"125%\";\nexport const calciteSizeRelative137 = \"137.5%\";\nexport const calciteSizeRelative150 = \"150%\";\nexport const calciteSizeRelative162 = \"162.5%\";\nexport const calciteSizeRelative200 = \"200%\";\nexport const calciteSizeRelativeAuto = \"auto\";\nexport const calciteZIndex0 = \"-999999\";\nexport const calciteZIndex1 = \"1\";\nexport const calciteZIndex3 = \"300\";\nexport const calciteZIndex4 = \"400\";\nexport const calciteZIndex5 = \"500\";\nexport const calciteZIndex6 = \"600\";\nexport const calciteZIndex7 = \"700\";\nexport const calciteZIndex8 = \"800\";\nexport const calciteZIndex9 = \"900\";\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-combobox-input-height: Specifies the height of the component's input.\n */\n\n:host {\n @apply relative block;\n}\n\n@include disabled();\n@include xButton();\n\n:host([scale=\"s\"]) {\n @apply text-n2;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-input-height: theme(\"spacing.4\");\n --calcite-internal-combobox-input-margin-block: calc(theme(\"spacing.1\") - theme(\"borderWidth.DEFAULT\"));\n\n .x-button {\n margin-inline: theme(\"spacing.2\");\n }\n}\n\n:host([scale=\"m\"]) {\n @apply text-n1;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-input-height: theme(\"spacing.4\");\n --calcite-internal-combobox-input-margin-block: calc(theme(\"spacing.2\") - theme(\"borderWidth.DEFAULT\"));\n\n .x-button {\n margin-inline-end: theme(\"spacing.3\");\n }\n}\n\n:host([scale=\"l\"]) {\n @apply text-0;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-combobox-input-height: theme(\"spacing.6\");\n --calcite-internal-combobox-input-margin-block: calc(theme(\"spacing[2.5]\") - theme(\"borderWidth.DEFAULT\"));\n\n .x-button {\n margin-inline-end: theme(\"spacing.4\");\n }\n}\n\n.wrapper {\n @apply bg-foreground-1\n text-color-1\n focus-base\n flex\n border-color-input\n border\n border-solid;\n padding-block: calc(var(--calcite-combobox-item-spacing-unit-s) / 4);\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host(:focus-within) .wrapper,\n.wrapper--active {\n @apply focus-inset;\n}\n\n:host([status=\"invalid\"]) .wrapper {\n @apply border-color-danger;\n}\n\n:host([status=\"invalid\"]:focus-within) .wrapper {\n @apply focus-inset-danger;\n}\n\n.wrapper--single {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n @apply cursor-pointer flex-nowrap;\n}\n\n.grid-input {\n @apply flex\n flex-grow\n flex-wrap\n items-center\n relative\n truncate\n p-0;\n\n gap: var(--calcite-combobox-item-spacing-unit-s);\n\n &.selection-display-fit,\n &.selection-display-single {\n @apply flex-nowrap overflow-hidden;\n }\n}\n\n.input {\n @apply appearance-none\n bg-transparent\n border-none\n flex-grow\n font-inherit\n text-color-1\n text-ellipsis\n p-0;\n font-size: inherit;\n block-size: var(--calcite-combobox-input-height);\n line-height: var(--calcite-combobox-input-height);\n inline-size: 100%;\n margin-block-end: var(--calcite-combobox-item-spacing-unit-s);\n min-inline-size: 4.8125rem;\n &:focus {\n @apply outline-none;\n }\n &:placeholder-shown {\n @apply text-ellipsis;\n }\n}\n\n.input--transparent {\n @apply opacity-0;\n}\n\n.input--single {\n @apply p-0;\n margin-block: var(--calcite-internal-combobox-input-margin-block);\n}\n\n.wrapper--active .input-single {\n @apply cursor-text;\n}\n\n.input--hidden {\n @apply pointer-events-none\n w-0\n min-w-0\n opacity-0;\n}\n\n.input--icon {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-s);\n}\n\n:host([scale=\"m\"]) .input--icon,\n:host([scale=\"l\"]) .input--icon {\n padding-inline: 0.25rem;\n}\n\n.input-wrap {\n @apply flex flex-grow items-center;\n}\n\n.input-wrap--single {\n @apply flex-1 overflow-hidden;\n}\n\n.label {\n @apply pointer-events-none\n flex\n max-w-full\n flex-auto\n truncate\n p-0\n font-normal;\n block-size: var(--calcite-combobox-input-height);\n line-height: var(--calcite-combobox-input-height);\n}\n\n.label--icon {\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon-end,\n.icon-start {\n @apply flex cursor-pointer items-center;\n}\n\n.icon-end {\n @apply flex-none;\n}\n\n.floating-ui-container {\n --calcite-floating-ui-z-index: theme(\"zIndex.dropdown\");\n @include floatingUIContainer();\n @include floatingUIWrapper();\n}\n\n@include floatingUIElemAnim(\".floating-ui-container\");\n\n.floating-ui-container--active {\n @include floatingUIWrapperActive();\n}\n\n@media (forced-colors: active) {\n .wrapper,\n .floating-ui-container--active {\n border: 1px solid canvasText;\n }\n}\n\n.screen-readers-only {\n @apply sr-only;\n}\n\n.list-container {\n @apply bg-foreground-1\n max-h-menu\n overflow-y-auto;\n inline-size: var(--calcite-dropdown-width);\n}\n\n.list {\n @apply m-0 block p-0;\n}\n\n.list--hide {\n @apply h-0 overflow-hidden;\n}\n\ncalcite-chip {\n --calcite-animation-timing: 0;\n}\n\n.chip {\n margin-block: calc(var(--calcite-combobox-item-spacing-unit-s) / 4);\n max-inline-size: 100%;\n}\n\n.chip--active {\n @apply bg-foreground-3;\n}\n\n.chip--invisible {\n @apply absolute invisible;\n}\n\n.item {\n @apply block;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n\n::slotted(calcite-combobox-item-group:not(:first-child)) {\n padding-block-start: var(--calcite-combobox-item-spacing-unit-l);\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { debounce } from \"lodash-es\";\nimport { filter } from \"../../utils/filter\";\n\nimport {\n getElementWidth,\n getTextWidth,\n isPrimaryPointerButton,\n toAriaBoolean,\n} from \"../../utils/dom\";\nimport {\n connectFloatingUI,\n defaultMenuPlacement,\n disconnectFloatingUI,\n EffectivePlacement,\n filterComputedPlacements,\n FloatingCSS,\n FloatingUIComponent,\n LogicalPlacement,\n OverlayPositioning,\n reposition,\n} from \"../../utils/floating-ui\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n submitForm,\n} from \"../../utils/form\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n componentLoaded,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Scale, SelectionMode, Status } from \"../interfaces\";\nimport { ComboboxMessages } from \"./assets/combobox/t9n\";\nimport { ComboboxChildElement, SelectionDisplay } from \"./interfaces\";\nimport { ComboboxChildSelector, ComboboxItem, ComboboxItemGroup, CSS } from \"./resources\";\nimport { getItemAncestors, getItemChildren, hasActiveChildren, isSingleLike } from \"./utils\";\nimport { XButton, CSS as XButtonCSS } from \"../functional/XButton\";\nimport { getIconScale } from \"../../utils/component\";\nimport { calciteSize48 } from \"@esri/calcite-design-tokens/dist/es6/core.js\";\nimport { Validation } from \"../functional/Validation\";\n\ninterface ItemData {\n label: string;\n value: string;\n}\n\nconst isGroup = (el: ComboboxChildElement): el is HTMLCalciteComboboxItemGroupElement =>\n el.tagName === ComboboxItemGroup;\n\nconst itemUidPrefix = \"combobox-item-\";\nconst chipUidPrefix = \"combobox-chip-\";\nconst labelUidPrefix = \"combobox-label-\";\nconst listboxUidPrefix = \"combobox-listbox-\";\nconst inputUidPrefix = \"combobox-input-\";\n\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox\",\n styleUrl: \"combobox.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Combobox\n implements\n LabelableComponent,\n FormComponent,\n InteractiveComponent,\n OpenCloseComponent,\n FloatingUIComponent,\n T9nComponent,\n LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, the value-clearing will be disabled.\n */\n @Prop({ reflect: true }) clearDisabled = false;\n\n /**\n * When `selectionMode` is `\"ancestors\"` or `\"multiple\"`, specifies the display of multiple `calcite-combobox-item` selections\n * - `\"all\"` (displays all selections with individual `calcite-chip`s), `\"fit\"` (displays individual `calcite-chip`s that scale to the component's size, including a non-closable `calcite-chip`, which provides the number of additional `calcite-combobox-item` selections not visually displayed), or `\"single\"` (display one `calcite-chip` with the total number of selections).\n */\n @Prop({ reflect: true }) selectionDisplay: SelectionDisplay = \"all\";\n\n /**When `true`, displays and positions the component. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n\n if (this.disabled) {\n this.open = false;\n return;\n }\n\n this.setMaxScrollerHeight();\n }\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n @Watch(\"disabled\")\n handleDisabledChange(value: boolean): void {\n if (!value) {\n this.open = false;\n }\n }\n\n /**\n * The ID of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /** Accessible name for the component. */\n @Prop() label!: string;\n\n /** Specifies the placeholder text for the input. */\n @Prop() placeholder: string;\n\n /** Specifies the placeholder icon for the input. */\n @Prop({ reflect: true }) placeholderIcon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) placeholderIconFlipRtl = false;\n\n /** Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar. */\n @Prop({ reflect: true }) maxItems = 0;\n\n @Watch(\"maxItems\")\n maxItemsHandler(): void {\n this.setMaxScrollerHeight();\n }\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop() validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, allows entry of custom values, which are not in the original set of items. */\n @Prop({ reflect: true }) allowCustomValues: boolean;\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n @Watch(\"overlayPositioning\")\n overlayPositioningHandler(): void {\n this.reposition(true);\n }\n\n /**\n * When `true`, the component must have a value in order for the form to submit.\n *\n * @internal\n */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the selection mode:\n * `\"multiple\"` allows any number of selected items,\n * `\"single\"` allows only one selection,\n * `\"single-persist\"` allow and require one open item,\n * `\"ancestors\"` is like multiple, but shows ancestors of selected items as selected, with only deepest children shown in chips.\n */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"single\" | \"single-persist\" | \"ancestors\" | \"multiple\",\n SelectionMode\n > = \"multiple\";\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n @Watch(\"selectionMode\")\n @Watch(\"scale\")\n handlePropsChange(): void {\n this.updateItems();\n }\n\n /** The component's value(s) from the selected `calcite-combobox-item`(s). */\n @Prop({ mutable: true }) value: string | string[] = null;\n\n @Watch(\"value\")\n valueHandler(value: string | string[]): void {\n if (!this.internalValueChangeFlag) {\n const items = this.getItems();\n if (Array.isArray(value)) {\n items.forEach((item) => (item.selected = value.includes(item.value)));\n } else if (value) {\n items.forEach((item) => (item.selected = value === item.value));\n } else {\n items.forEach((item) => (item.selected = false));\n }\n this.updateItems();\n }\n }\n\n /**\n * Defines the available placements that can be used when a flip occurs.\n */\n @Prop() flipPlacements: EffectivePlacement[];\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ComboboxMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<ComboboxMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"flipPlacements\")\n flipPlacementsHandler(): void {\n this.setFilteredPlacements();\n this.reposition(true);\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteComboboxItemElement[] = [];\n\n @Watch(\"selectedItems\")\n selectedItemsHandler(): void {\n this.internalValueChangeFlag = true;\n this.value = this.getValue();\n this.internalValueChangeFlag = false;\n }\n\n /**\n * Specifies the component's filtered items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) filteredItems: HTMLCalciteComboboxItemElement[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"pointerdown\", { target: \"document\" })\n documentClickHandler(event: PointerEvent): void {\n if (this.disabled || !isPrimaryPointerButton(event)) {\n return;\n }\n\n const composedPath = event.composedPath();\n\n if (composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {\n return;\n }\n\n if (!this.allowCustomValues && this.textInput.value) {\n this.clearInputValue();\n this.filterItems(\"\");\n this.updateActiveItemIndex(-1);\n }\n\n if (this.allowCustomValues && this.text.trim().length) {\n this.addCustomChip(this.text);\n }\n\n this.open = false;\n }\n\n @Listen(\"calciteComboboxItemChange\")\n calciteComboboxItemChangeHandler(event: CustomEvent<HTMLCalciteComboboxItemElement>): void {\n if (this.ignoreSelectedEventsFlag) {\n return;\n }\n\n const target = event.target as HTMLCalciteComboboxItemElement;\n const newIndex = this.filteredItems.indexOf(target);\n this.updateActiveItemIndex(newIndex);\n this.toggleSelection(target, target.selected);\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Updates the position of the component.\n *\n * @param delayed Reposition the component after a delay\n * @returns Promise\n */\n @Method()\n async reposition(delayed = false): Promise<void> {\n const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;\n\n return reposition(\n this,\n {\n floatingEl,\n referenceEl,\n overlayPositioning,\n placement,\n flipPlacements: filteredFlipPlacements,\n type: \"menu\",\n },\n delayed,\n );\n }\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.textInput?.focus();\n this.activeChipIndex = -1;\n this.activeItemIndex = -1;\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the selected item(s) changes.\n */\n @Event({ cancelable: false }) calciteComboboxChange: EventEmitter<void>;\n\n /** Fires when text is added to filter the options list. */\n @Event({ cancelable: false }) calciteComboboxFilterChange: EventEmitter<void>;\n\n /**\n * Fires when a selected item in the component is closed via its `calcite-chip`.\n */\n @Event({ cancelable: false }) calciteComboboxChipClose: EventEmitter<void>;\n\n /** Fires when the component is requested to be closed, and before the closing transition begins. */\n @Event({ cancelable: false }) calciteComboboxBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteComboboxClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteComboboxBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteComboboxOpen: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n connectLabel(this);\n connectForm(this);\n\n this.internalValueChangeFlag = true;\n this.value = this.getValue();\n this.internalValueChangeFlag = false;\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n\n this.updateItems();\n this.setFilteredPlacements();\n this.reposition(true);\n\n if (this.open) {\n this.openHandler();\n onToggleOpenCloseComponent(this);\n }\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.updateItems();\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n afterConnectDefaultValueSet(this, this.getValue());\n this.reposition(true);\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n if (this.el.offsetHeight !== this.inputHeight) {\n this.reposition(true);\n this.inputHeight = this.el.offsetHeight;\n }\n\n updateHostInteraction(this);\n }\n\n componentDidUpdate(): void {\n this.refreshSelectionDisplay();\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n this.resizeObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n disconnectFloatingUI(this, this.referenceEl, this.floatingEl);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n private allSelectedIndicatorChipEl: HTMLCalciteChipElement;\n\n @Element() el: HTMLCalciteComboboxElement;\n\n placement: LogicalPlacement = defaultMenuPlacement;\n\n filteredFlipPlacements: EffectivePlacement[];\n\n internalValueChangeFlag = false;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Combobox[\"value\"];\n\n @State() items: HTMLCalciteComboboxItemElement[] = [];\n\n @State() groupItems: HTMLCalciteComboboxItemGroupElement[] = [];\n\n @State() needsIcon: boolean;\n\n @State() activeItemIndex = -1;\n\n @State() activeChipIndex = -1;\n\n @State() activeDescendant = \"\";\n\n @State() compactSelectionDisplay = false;\n\n @State() selectedHiddenChipsCount = 0;\n\n @State() selectedVisibleChipsCount = 0;\n\n @State() text = \"\";\n\n /** when search text is cleared, reset active to */\n @Watch(\"text\")\n textHandler(): void {\n this.updateActiveItemIndex(-1);\n }\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ComboboxMessages;\n\n textInput: HTMLInputElement = null;\n\n data: ItemData[];\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n private resizeObserver = createObserver(\"resize\", () => {\n this.setMaxScrollerHeight();\n this.refreshSelectionDisplay();\n });\n\n private guid = guid();\n\n private inputHeight = 0;\n\n private floatingEl: HTMLDivElement;\n\n private referenceEl: HTMLDivElement;\n\n private chipContainerEl: HTMLDivElement;\n\n private listContainerEl: HTMLDivElement;\n\n private ignoreSelectedEventsFlag = false;\n\n private maxCompactBreakpoint: number;\n\n openTransitionProp = \"opacity\";\n\n private selectedIndicatorChipEl: HTMLCalciteChipElement;\n\n transitionEl: HTMLDivElement;\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private clearValue(): void {\n this.ignoreSelectedEventsFlag = true;\n this.items.forEach((el) => (el.selected = false));\n this.ignoreSelectedEventsFlag = false;\n this.selectedItems = [];\n this.emitComboboxChange();\n this.open = false;\n this.updateActiveItemIndex(-1);\n this.resetText();\n this.filterItems(\"\");\n this.setFocus();\n }\n\n private clearInputValue(): void {\n this.textInput.value = \"\";\n this.text = \"\";\n }\n\n setFilteredPlacements = (): void => {\n const { el, flipPlacements } = this;\n\n this.filteredFlipPlacements = flipPlacements\n ? filterComputedPlacements(flipPlacements, el)\n : null;\n };\n\n getValue = (): string | string[] => {\n const items = this.selectedItems.map((item) => item?.value?.toString());\n return items?.length ? (items.length > 1 ? items : items[0]) : \"\";\n };\n\n onLabelClick = (): void => {\n this.setFocus();\n };\n\n private comboboxInViewport(): boolean {\n const bounding = this.el.getBoundingClientRect();\n return (\n bounding.top >= 0 &&\n bounding.left >= 0 &&\n bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&\n bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight)\n );\n }\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n const { key } = event;\n\n switch (key) {\n case \"Tab\":\n this.activeChipIndex = -1;\n this.activeItemIndex = -1;\n if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text, true);\n event.preventDefault();\n } else if (this.open) {\n this.open = false;\n event.preventDefault();\n } else if (!this.allowCustomValues && this.text) {\n this.clearInputValue();\n this.filterItems(\"\");\n this.updateActiveItemIndex(-1);\n }\n break;\n case \"ArrowLeft\":\n this.previousChip();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n this.nextChip();\n event.preventDefault();\n break;\n case \"ArrowUp\":\n event.preventDefault();\n if (this.open) {\n this.shiftActiveItemIndex(-1);\n }\n\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"ArrowDown\":\n event.preventDefault();\n if (this.open) {\n this.shiftActiveItemIndex(1);\n } else {\n this.open = true;\n this.ensureRecentSelectedItemIsActive();\n }\n\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \" \":\n if (!this.textInput.value) {\n if (!this.open) {\n this.open = true;\n this.shiftActiveItemIndex(1);\n }\n event.preventDefault();\n }\n break;\n case \"Home\":\n if (!this.open) {\n return;\n }\n event.preventDefault();\n this.updateActiveItemIndex(0);\n this.scrollToActiveItem();\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"End\":\n if (!this.open) {\n return;\n }\n event.preventDefault();\n this.updateActiveItemIndex(this.filteredItems.length - 1);\n this.scrollToActiveItem();\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"Escape\":\n if (!this.clearDisabled && !this.open) {\n this.clearValue();\n }\n\n this.open = false;\n event.preventDefault();\n break;\n case \"Enter\":\n if (this.activeItemIndex > -1) {\n this.toggleSelection(this.filteredItems[this.activeItemIndex]);\n event.preventDefault();\n } else if (this.activeChipIndex > -1) {\n this.removeActiveChip();\n event.preventDefault();\n } else if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text, true);\n event.preventDefault();\n } else if (!event.defaultPrevented) {\n if (submitForm(this)) {\n event.preventDefault();\n }\n }\n break;\n case \"Delete\":\n case \"Backspace\":\n if (this.activeChipIndex > -1) {\n event.preventDefault();\n this.removeActiveChip();\n } else if (!this.text && this.isMulti()) {\n event.preventDefault();\n this.removeLastChip();\n }\n break;\n }\n };\n\n private toggleCloseEnd = (): void => {\n this.open = false;\n this.el.removeEventListener(\"calciteComboboxClose\", this.toggleCloseEnd);\n };\n\n private toggleOpenEnd = (): void => {\n this.open = false;\n this.el.removeEventListener(\"calciteComboboxOpen\", this.toggleOpenEnd);\n };\n\n onBeforeOpen(): void {\n this.scrollToActiveItem();\n this.calciteComboboxBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteComboboxOpen.emit();\n }\n\n onBeforeClose(): void {\n this.calciteComboboxBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteComboboxClose.emit();\n }\n\n setMaxScrollerHeight = async (): Promise<void> => {\n const { listContainerEl, open, referenceEl } = this;\n\n if (!listContainerEl || !open) {\n return;\n }\n\n await this.reposition(true);\n const maxScrollerHeight = this.getMaxScrollerHeight();\n listContainerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : \"\";\n listContainerEl.style.minWidth = `${referenceEl.clientWidth}px`;\n await this.reposition(true);\n };\n\n calciteChipCloseHandler = (comboboxItem: HTMLCalciteComboboxItemElement): void => {\n this.open = false;\n\n const selection = this.items.find((item) => item === comboboxItem);\n\n if (selection) {\n this.toggleSelection(selection, false);\n }\n\n this.calciteComboboxChipClose.emit();\n };\n\n clickHandler = (event: MouseEvent): void => {\n const composedPath = event.composedPath();\n\n if (composedPath.some((node: HTMLElement) => node.tagName === \"CALCITE-CHIP\")) {\n this.open = false;\n event.preventDefault();\n return;\n }\n\n if (composedPath.some((node: HTMLElement) => node.classList?.contains(XButtonCSS.button))) {\n this.clearValue();\n event.preventDefault();\n return;\n }\n\n this.open = !this.open;\n this.ensureRecentSelectedItemIsActive();\n };\n\n private ensureRecentSelectedItemIsActive(): void {\n const { selectedItems } = this;\n const targetIndex =\n selectedItems.length === 0 ? 0 : this.items.indexOf(selectedItems[selectedItems.length - 1]);\n\n this.updateActiveItemIndex(targetIndex);\n }\n\n private hideChip(chipEl: HTMLCalciteChipElement): void {\n chipEl.classList.add(CSS.chipInvisible);\n }\n\n private showChip(chipEl: HTMLCalciteChipElement): void {\n chipEl.classList.remove(CSS.chipInvisible);\n }\n\n private refreshChipDisplay({\n chipEls,\n availableHorizontalChipElSpace,\n chipContainerElGap,\n }): void {\n chipEls.forEach((chipEl: HTMLCalciteChipElement) => {\n if (!chipEl.selected) {\n this.hideChip(chipEl);\n } else {\n const chipElWidth = getElementWidth(chipEl);\n if (chipElWidth && chipElWidth < availableHorizontalChipElSpace) {\n availableHorizontalChipElSpace -= chipElWidth + chipContainerElGap;\n this.showChip(chipEl);\n return;\n }\n }\n this.hideChip(chipEl);\n });\n }\n\n private refreshSelectionDisplay = async () => {\n await componentLoaded(this);\n\n if (isSingleLike(this.selectionMode)) {\n return;\n }\n\n if (!this.textInput) {\n return;\n }\n\n const {\n allSelectedIndicatorChipEl,\n chipContainerEl,\n selectionDisplay,\n placeholder,\n selectedIndicatorChipEl,\n textInput,\n } = this;\n\n const chipContainerElGap = parseInt(getComputedStyle(chipContainerEl).gap.replace(\"px\", \"\"));\n const chipContainerElWidth = getElementWidth(chipContainerEl);\n const { fontSize, fontFamily } = getComputedStyle(textInput);\n const inputTextWidth = getTextWidth(placeholder, `${fontSize} ${fontFamily}`);\n const inputWidth = (inputTextWidth || parseInt(calciteSize48)) + chipContainerElGap;\n const allSelectedIndicatorChipElWidth = getElementWidth(allSelectedIndicatorChipEl);\n const selectedIndicatorChipElWidth = getElementWidth(selectedIndicatorChipEl);\n const largestSelectedIndicatorChipWidth = Math.max(\n allSelectedIndicatorChipElWidth,\n selectedIndicatorChipElWidth,\n );\n\n this.setCompactSelectionDisplay({\n chipContainerElGap,\n chipContainerElWidth,\n inputWidth,\n largestSelectedIndicatorChipWidth,\n });\n\n if (selectionDisplay === \"fit\") {\n const chipEls = Array.from(this.el.shadowRoot.querySelectorAll(\"calcite-chip\")).filter(\n (chipEl) => chipEl.closable,\n );\n\n const availableHorizontalChipElSpace = Math.round(\n chipContainerElWidth -\n ((this.selectedHiddenChipsCount > 0 ? selectedIndicatorChipElWidth : 0) +\n chipContainerElGap +\n inputWidth +\n chipContainerElGap),\n );\n\n this.refreshChipDisplay({ availableHorizontalChipElSpace, chipContainerElGap, chipEls });\n this.setVisibleAndHiddenChips(chipEls);\n }\n };\n\n setFloatingEl = (el: HTMLDivElement): void => {\n this.floatingEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n\n private setCompactSelectionDisplay({\n chipContainerElGap,\n chipContainerElWidth,\n inputWidth,\n largestSelectedIndicatorChipWidth,\n }): void {\n const newCompactBreakpoint = Math.round(\n largestSelectedIndicatorChipWidth + chipContainerElGap + inputWidth,\n );\n if (!this.maxCompactBreakpoint || this.maxCompactBreakpoint < newCompactBreakpoint) {\n this.maxCompactBreakpoint = newCompactBreakpoint;\n }\n this.compactSelectionDisplay = chipContainerElWidth < this.maxCompactBreakpoint;\n }\n\n setContainerEl = (el: HTMLDivElement): void => {\n this.resizeObserver.observe(el);\n this.listContainerEl = el;\n this.transitionEl = el;\n };\n\n setChipContainerEl = (el: HTMLDivElement): void => {\n this.resizeObserver.observe(el);\n this.chipContainerEl = el;\n };\n\n setReferenceEl = (el: HTMLDivElement): void => {\n this.referenceEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n\n setAllSelectedIndicatorChipEl = (el: HTMLCalciteChipElement): void => {\n this.allSelectedIndicatorChipEl = el;\n };\n\n setSelectedIndicatorChipEl = (el: HTMLCalciteChipElement): void => {\n this.selectedIndicatorChipEl = el;\n };\n\n private setVisibleAndHiddenChips(chipEls: HTMLCalciteChipElement[]): void {\n let newSelectedVisibleChipsCount = 0;\n chipEls.forEach((chipEl) => {\n if (chipEl.selected && !chipEl.classList.contains(CSS.chipInvisible)) {\n newSelectedVisibleChipsCount++;\n }\n });\n if (newSelectedVisibleChipsCount !== this.selectedVisibleChipsCount) {\n this.selectedVisibleChipsCount = newSelectedVisibleChipsCount;\n }\n const newSelectedHiddenChipsCount =\n this.getSelectedItems().length - newSelectedVisibleChipsCount;\n if (newSelectedHiddenChipsCount !== this.selectedHiddenChipsCount) {\n this.selectedHiddenChipsCount = newSelectedHiddenChipsCount;\n }\n }\n\n private getMaxScrollerHeight(): number {\n const items = this.getItemsAndGroups().filter((item) => !item.hidden);\n\n const { maxItems } = this;\n\n let itemsToProcess = 0;\n let maxScrollerHeight = 0;\n\n if (items.length > maxItems) {\n items.forEach((item) => {\n if (itemsToProcess < maxItems && maxItems > 0) {\n const height = this.calculateSingleItemHeight(item);\n if (height > 0) {\n maxScrollerHeight += height;\n itemsToProcess++;\n }\n }\n });\n }\n\n return maxScrollerHeight;\n }\n\n private calculateSingleItemHeight(item: ComboboxChildElement): number {\n if (!item) {\n return;\n }\n\n let height = item.offsetHeight;\n // if item has children items, don't count their height twice\n const children = Array.from(item.querySelectorAll<ComboboxChildElement>(ComboboxChildSelector));\n children\n .map((child) => child?.offsetHeight)\n .forEach((offsetHeight) => {\n height -= offsetHeight;\n });\n return height;\n }\n\n inputHandler = (event: Event): void => {\n const value = (event.target as HTMLInputElement).value;\n this.text = value;\n this.filterItems(value);\n if (value) {\n this.activeChipIndex = -1;\n }\n };\n\n getItemsAndGroups(): ComboboxChildElement[] {\n return [...this.groupItems, ...this.items];\n }\n\n private filterItems = (() => {\n const find = (item: ComboboxChildElement, filteredData: ItemData[]) =>\n item &&\n filteredData.some(({ label, value }) =>\n isGroup(item) ? label === item.label : value === item.value && label === item.textLabel,\n );\n\n return debounce((text: string): void => {\n const filteredData = filter(this.data, text);\n const itemsAndGroups = this.getItemsAndGroups();\n\n itemsAndGroups.forEach((item) => {\n const hidden = !find(item, filteredData);\n item.hidden = hidden;\n const [parent, grandparent] = item.ancestors;\n\n if (find(parent, filteredData) || find(grandparent, filteredData)) {\n item.hidden = false;\n }\n\n if (!hidden) {\n item.ancestors.forEach((ancestor) => (ancestor.hidden = false));\n }\n });\n\n this.filteredItems = this.getFilteredItems();\n this.calciteComboboxFilterChange.emit();\n }, 100);\n })();\n\n internalComboboxChangeEvent = (): void => {\n this.calciteComboboxChange.emit();\n };\n\n private emitComboboxChange = debounce(this.internalComboboxChangeEvent, 0);\n\n toggleSelection(item: HTMLCalciteComboboxItemElement, value = !item.selected): void {\n if (\n !item ||\n (this.selectionMode === \"single-persist\" && item.selected && item.value === this.value)\n ) {\n return;\n }\n\n if (this.isMulti()) {\n item.selected = value;\n this.updateAncestors(item);\n this.selectedItems = this.getSelectedItems();\n this.emitComboboxChange();\n this.resetText();\n this.filterItems(\"\");\n } else {\n this.ignoreSelectedEventsFlag = true;\n this.items.forEach((el) => (el.selected = el === item ? value : false));\n this.ignoreSelectedEventsFlag = false;\n this.selectedItems = this.getSelectedItems();\n this.emitComboboxChange();\n\n if (this.textInput) {\n this.textInput.value = item.textLabel;\n }\n this.open = false;\n this.updateActiveItemIndex(-1);\n this.resetText();\n this.filterItems(\"\");\n }\n }\n\n updateAncestors(item: HTMLCalciteComboboxItemElement): void {\n if (this.selectionMode !== \"ancestors\") {\n return;\n }\n const ancestors = getItemAncestors(item);\n const children = getItemChildren(item);\n if (item.selected) {\n ancestors.forEach((el) => {\n (el as HTMLCalciteComboboxItemElement).selected = true;\n });\n } else {\n children.forEach((el) => (el.selected = false));\n [...ancestors].forEach((el) => {\n if (!hasActiveChildren(el)) {\n el.selected = false;\n }\n });\n }\n }\n\n getFilteredItems(): HTMLCalciteComboboxItemElement[] {\n return this.items.filter((item) => !item.hidden);\n }\n\n private getSelectedItems = (): HTMLCalciteComboboxItemElement[] => {\n if (!this.isMulti()) {\n const match = this.items.find(({ selected }) => selected);\n return match ? [match] : [];\n }\n\n return (\n this.items\n .filter(\n (item) =>\n item.selected && (this.selectionMode !== \"ancestors\" || !hasActiveChildren(item)),\n )\n /** Preserve order of entered tags */\n .sort((a, b) => {\n const aIdx = this.selectedItems.indexOf(a);\n const bIdx = this.selectedItems.indexOf(b);\n if (aIdx > -1 && bIdx > -1) {\n return aIdx - bIdx;\n }\n return bIdx - aIdx;\n })\n );\n };\n\n private updateItems = (): void => {\n this.items = this.getItems();\n this.groupItems = this.getGroupItems();\n this.data = this.getData();\n this.selectedItems = this.getSelectedItems();\n this.filteredItems = this.getFilteredItems();\n this.needsIcon = this.getNeedsIcon();\n\n this.items.forEach((item) => {\n item.selectionMode = this.selectionMode;\n item.scale = this.scale;\n });\n\n if (!this.allowCustomValues) {\n this.setMaxScrollerHeight();\n }\n\n this.groupItems.forEach((groupItem, index, items) => {\n if (index === 0) {\n groupItem.afterEmptyGroup = false;\n }\n\n const nextGroupItem = items[index + 1];\n\n if (nextGroupItem) {\n nextGroupItem.afterEmptyGroup = groupItem.children.length === 0;\n }\n });\n };\n\n getData(): ItemData[] {\n return this.items.map((item) => ({\n filterDisabled: item.filterDisabled,\n value: item.value,\n label: item.textLabel,\n }));\n }\n\n getNeedsIcon(): boolean {\n return isSingleLike(this.selectionMode) && this.items.some((item) => item.icon);\n }\n\n resetText(): void {\n if (this.textInput) {\n this.textInput.value = \"\";\n }\n this.text = \"\";\n }\n\n getItems(): HTMLCalciteComboboxItemElement[] {\n const items: HTMLCalciteComboboxItemElement[] = Array.from(\n this.el.querySelectorAll(ComboboxItem),\n );\n return items.filter((item) => !item.disabled);\n }\n\n getGroupItems(): HTMLCalciteComboboxItemGroupElement[] {\n return Array.from(this.el.querySelectorAll(ComboboxItemGroup));\n }\n\n addCustomChip(value: string, focus?: boolean): void {\n const existingItem = this.items.find((el) => el.textLabel === value);\n if (existingItem) {\n this.toggleSelection(existingItem, true);\n } else {\n if (!this.isMulti()) {\n this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);\n }\n const item = document.createElement(ComboboxItem) as HTMLCalciteComboboxItemElement;\n item.value = value;\n item.textLabel = value;\n item.selected = true;\n this.el.appendChild(item);\n this.resetText();\n if (focus) {\n this.setFocus();\n }\n this.updateItems();\n this.filterItems(\"\");\n this.emitComboboxChange();\n }\n }\n\n removeActiveChip(): void {\n this.toggleSelection(this.selectedItems[this.activeChipIndex], false);\n this.setFocus();\n }\n\n removeLastChip(): void {\n this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);\n this.setFocus();\n }\n\n previousChip(): void {\n if (this.text) {\n return;\n }\n const length = this.selectedItems.length - 1;\n const active = this.activeChipIndex;\n this.activeChipIndex = active === -1 ? length : Math.max(active - 1, 0);\n this.updateActiveItemIndex(-1);\n this.focusChip();\n }\n\n nextChip(): void {\n if (this.text || this.activeChipIndex === -1) {\n return;\n }\n const last = this.selectedItems.length - 1;\n const newIndex = this.activeChipIndex + 1;\n if (newIndex > last) {\n this.activeChipIndex = -1;\n this.setFocus();\n } else {\n this.activeChipIndex = newIndex;\n this.focusChip();\n }\n this.updateActiveItemIndex(-1);\n }\n\n focusChip(): void {\n const guid = this.selectedItems[this.activeChipIndex]?.guid;\n\n const chip = guid\n ? this.referenceEl.querySelector<HTMLCalciteChipElement>(`#${chipUidPrefix}${guid}`)\n : null;\n chip?.setFocus();\n }\n\n private scrollToActiveItem = (): void => {\n const activeItem = this.filteredItems[this.activeItemIndex];\n\n if (!activeItem) {\n return;\n }\n\n const height = this.calculateSingleItemHeight(activeItem);\n const { offsetHeight, scrollTop } = this.listContainerEl;\n if (offsetHeight + scrollTop < activeItem.offsetTop + height) {\n this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;\n } else if (activeItem.offsetTop < scrollTop) {\n this.listContainerEl.scrollTop = activeItem.offsetTop;\n }\n };\n\n shiftActiveItemIndex(delta: number): void {\n const { length } = this.filteredItems;\n const newIndex = (this.activeItemIndex + length + delta) % length;\n this.updateActiveItemIndex(newIndex);\n this.scrollToActiveItem();\n }\n\n updateActiveItemIndex(index: number): void {\n this.activeItemIndex = index;\n let activeDescendant: string = null;\n this.filteredItems.forEach((el, i) => {\n if (i === index) {\n el.active = true;\n activeDescendant = `${itemUidPrefix}${el.guid}`;\n } else {\n el.active = false;\n }\n });\n this.activeDescendant = activeDescendant;\n if (this.activeItemIndex > -1) {\n this.activeChipIndex = -1;\n }\n }\n\n private isAllSelected(): boolean {\n return this.getItems().length === this.getSelectedItems().length;\n }\n\n isMulti(): boolean {\n return !isSingleLike(this.selectionMode);\n }\n\n comboboxFocusHandler = (): void => {\n if (this.disabled) {\n return;\n }\n\n this.textInput?.focus();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChips(): VNode[] {\n const { activeChipIndex, scale, selectionMode, messages } = this;\n return this.selectedItems.map((item, i) => {\n const chipClasses = {\n chip: true,\n \"chip--active\": activeChipIndex === i,\n };\n const ancestors = [...getItemAncestors(item)].reverse();\n const pathLabel = [...ancestors, item].map((el) => el.textLabel);\n const label = selectionMode !== \"ancestors\" ? item.textLabel : pathLabel.join(\" / \");\n return (\n <calcite-chip\n class={chipClasses}\n closable\n icon={item.icon}\n iconFlipRtl={item.iconFlipRtl}\n id={item.guid ? `${chipUidPrefix}${item.guid}` : null}\n key={item.textLabel}\n messageOverrides={{ dismissLabel: messages.removeTag }}\n onCalciteChipClose={() => this.calciteChipCloseHandler(item)}\n scale={scale}\n selected={item.selected}\n title={label}\n value={item.value}\n >\n {label}\n </calcite-chip>\n );\n });\n }\n\n renderAllSelectedIndicatorChip(): VNode {\n const {\n compactSelectionDisplay,\n scale,\n selectedVisibleChipsCount,\n setAllSelectedIndicatorChipEl,\n } = this;\n const label = this.messages.allSelected;\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: !(\n this.isAllSelected() &&\n !selectedVisibleChipsCount &&\n !compactSelectionDisplay\n ),\n }}\n scale={scale}\n title={label}\n value=\"\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={setAllSelectedIndicatorChipEl}\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderAllSelectedIndicatorChipCompact(): VNode {\n const { compactSelectionDisplay, scale, selectedVisibleChipsCount } = this;\n const label = this.messages.all || \"All\";\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: !(\n this.isAllSelected() &&\n !selectedVisibleChipsCount &&\n compactSelectionDisplay\n ),\n }}\n scale={scale}\n title={label}\n value=\"\"\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderSelectedIndicatorChip(): VNode {\n const {\n compactSelectionDisplay,\n selectionDisplay,\n getSelectedItems,\n scale,\n selectedHiddenChipsCount,\n selectedVisibleChipsCount,\n setSelectedIndicatorChipEl,\n } = this;\n let chipInvisible: boolean;\n let label: string;\n\n if (compactSelectionDisplay) {\n chipInvisible = true;\n } else {\n if (selectionDisplay === \"single\") {\n const selectedItemsCount = getSelectedItems().length;\n if (this.isAllSelected()) {\n chipInvisible = true;\n } else if (selectedItemsCount > 0) {\n chipInvisible = false;\n } else {\n chipInvisible = true;\n }\n label = `${selectedItemsCount} ${this.messages.selected}`;\n } else if (selectionDisplay === \"fit\") {\n chipInvisible = !!(\n (this.isAllSelected() && selectedVisibleChipsCount === 0) ||\n selectedHiddenChipsCount === 0\n );\n label =\n selectedVisibleChipsCount > 0\n ? `+${selectedHiddenChipsCount}`\n : `${selectedHiddenChipsCount} ${this.messages.selected}`;\n }\n }\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: chipInvisible,\n }}\n scale={scale}\n title={label}\n value=\"\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={setSelectedIndicatorChipEl}\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderSelectedIndicatorChipCompact(): VNode {\n const {\n compactSelectionDisplay,\n selectionDisplay,\n getSelectedItems,\n scale,\n selectedHiddenChipsCount,\n } = this;\n let chipInvisible: boolean;\n let label: string;\n\n if (compactSelectionDisplay) {\n const selectedItemsCount = getSelectedItems().length;\n if (this.isAllSelected()) {\n chipInvisible = true;\n } else if (selectionDisplay === \"fit\") {\n chipInvisible = !(selectedHiddenChipsCount > 0);\n label = `${selectedHiddenChipsCount || 0}`;\n } else if (selectionDisplay === \"single\") {\n chipInvisible = !(selectedItemsCount > 0);\n label = `${selectedItemsCount}`;\n }\n } else {\n chipInvisible = true;\n }\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: chipInvisible,\n }}\n scale={scale}\n title={label}\n value=\"\"\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderInput(): VNode {\n const { guid, disabled, placeholder, selectionMode, selectedItems, open } = this;\n const single = isSingleLike(selectionMode);\n const selectedItem = selectedItems[0];\n const showLabel = !open && single && !!selectedItem;\n\n return (\n <span\n class={{\n \"input-wrap\": true,\n \"input-wrap--single\": single,\n }}\n >\n {showLabel && (\n <span\n class={{\n label: true,\n \"label--icon\": !!selectedItem?.icon,\n }}\n key=\"label\"\n >\n {selectedItem.textLabel}\n </span>\n )}\n <input\n aria-activedescendant={this.activeDescendant}\n aria-autocomplete=\"list\"\n aria-controls={`${listboxUidPrefix}${guid}`}\n aria-label={getLabelText(this)}\n class={{\n input: true,\n \"input--single\": true,\n \"input--transparent\": this.activeChipIndex > -1,\n \"input--hidden\": showLabel,\n \"input--icon\": !!this.placeholderIcon,\n }}\n disabled={disabled}\n id={`${inputUidPrefix}${guid}`}\n key=\"input\"\n onFocus={this.comboboxFocusHandler}\n onInput={this.inputHandler}\n placeholder={placeholder}\n type=\"text\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.textInput = el as HTMLInputElement)}\n />\n </span>\n );\n }\n\n renderListBoxOptions(): VNode[] {\n return this.filteredItems.map((item) => (\n <li\n aria-selected={toAriaBoolean(item.selected)}\n id={item.guid ? `${itemUidPrefix}${item.guid}` : null}\n role=\"option\"\n tabindex=\"-1\"\n >\n {item.textLabel}\n </li>\n ));\n }\n\n renderFloatingUIContainer(): VNode {\n const { setFloatingEl, setContainerEl, open } = this;\n const classes = {\n [CSS.listContainer]: true,\n [FloatingCSS.animation]: true,\n [FloatingCSS.animationActive]: open,\n };\n\n return (\n <div\n aria-hidden=\"true\"\n class={{\n \"floating-ui-container\": true,\n \"floating-ui-container--active\": open,\n }}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={setFloatingEl}\n >\n <div\n class={classes}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={setContainerEl}\n >\n <ul class={{ list: true, \"list--hide\": !open }}>\n <slot />\n </ul>\n </div>\n </div>\n );\n }\n\n renderIconStart(): VNode {\n const { selectedItems, placeholderIcon, selectionMode, placeholderIconFlipRtl } = this;\n const selectedItem = selectedItems[0];\n const selectedIcon = selectedItem?.icon;\n const singleSelectionMode = isSingleLike(selectionMode);\n\n const iconAtStart =\n !this.open && selectedItem\n ? !!selectedIcon && singleSelectionMode\n : !!this.placeholderIcon && (!selectedItem || singleSelectionMode);\n\n return (\n iconAtStart && (\n <span class=\"icon-start\">\n <calcite-icon\n class=\"selected-icon\"\n flipRtl={this.open && selectedItem ? selectedItem.iconFlipRtl : placeholderIconFlipRtl}\n icon={!this.open && selectedItem ? selectedIcon : placeholderIcon}\n scale={getIconScale(this.scale)}\n />\n </span>\n )\n );\n }\n\n renderIconEnd(): VNode {\n const { open } = this;\n return (\n <span class=\"icon-end\">\n <calcite-icon\n icon={open ? \"chevron-up\" : \"chevron-down\"}\n scale={getIconScale(this.scale)}\n />\n </span>\n );\n }\n\n render(): VNode {\n const { selectionDisplay, guid, label, open } = this;\n const singleSelectionMode = isSingleLike(this.selectionMode);\n const allSelectionDisplay = selectionDisplay === \"all\";\n const singleSelectionDisplay = selectionDisplay === \"single\";\n const fitSelectionDisplay = !singleSelectionMode && selectionDisplay === \"fit\";\n const isClearable = !this.clearDisabled && this.value?.length > 0;\n return (\n <Host onClick={this.comboboxFocusHandler}>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-autocomplete=\"list\"\n aria-controls={`${listboxUidPrefix}${guid}`}\n aria-expanded={toAriaBoolean(open)}\n aria-haspopup=\"listbox\"\n aria-label={getLabelText(this)}\n aria-live=\"polite\"\n aria-owns={`${listboxUidPrefix}${guid}`}\n class={{\n wrapper: true,\n \"wrapper--single\": singleSelectionMode || !this.selectedItems.length,\n \"wrapper--active\": open,\n }}\n onClick={this.clickHandler}\n onKeyDown={this.keyDownHandler}\n role=\"combobox\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setReferenceEl}\n >\n <div\n class={{\n \"grid-input\": true,\n [CSS.selectionDisplayFit]: fitSelectionDisplay,\n [CSS.selectionDisplaySingle]: singleSelectionDisplay,\n }}\n ref={this.setChipContainerEl}\n >\n {this.renderIconStart()}\n {!singleSelectionMode && !singleSelectionDisplay && this.renderChips()}\n {!singleSelectionMode &&\n !allSelectionDisplay && [\n this.renderSelectedIndicatorChip(),\n this.renderSelectedIndicatorChipCompact(),\n this.renderAllSelectedIndicatorChip(),\n this.renderAllSelectedIndicatorChipCompact(),\n ]}\n <label\n class=\"screen-readers-only\"\n htmlFor={`${inputUidPrefix}${guid}`}\n id={`${labelUidPrefix}${guid}`}\n >\n {label}\n </label>\n {this.renderInput()}\n </div>\n {isClearable ? (\n <XButton\n disabled={this.disabled}\n key=\"close-button\"\n label={this.messages.clear}\n scale={this.scale}\n />\n ) : null}\n {this.renderIconEnd()}\n </div>\n <ul\n aria-labelledby={`${labelUidPrefix}${guid}`}\n aria-multiselectable=\"true\"\n class=\"screen-readers-only\"\n id={`${listboxUidPrefix}${guid}`}\n role=\"listbox\"\n tabIndex={-1}\n >\n {this.renderListBoxOptions()}\n </ul>\n {this.renderFloatingUIContainer()}\n <HiddenFormInputSlot component={this} />\n {this.validationMessage ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n","export const CSS = {\n icon: \"icon\",\n iconActive: \"icon--active\",\n iconIndent: \"icon--indent\",\n custom: \"icon--custom\",\n dot: \"icon--dot\",\n single: \"label--single\",\n label: \"label\",\n active: \"label--active\",\n selected: \"label--selected\",\n title: \"title\",\n textContainer: \"text-container\",\n};\n","@include base-component();\n\n.scale--s {\n @apply text-n2h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.2\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.4\");\n}\n\n.scale--m {\n @apply text-n1h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.3\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.4\");\n}\n\n.scale--l {\n @apply text-0h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing[2.5]\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.4\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.6\");\n}\n\n.container {\n --calcite-combobox-item-indent-value: calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );\n}\n\n:host(:focus) {\n @apply shadow-none;\n}\n\n@include disabled();\n\n:host,\nul {\n @apply m-0 flex flex-col p-0;\n}\n\n:host(:focus),\nul:focus {\n @apply outline-none;\n}\n\n.label {\n @apply text-color-3\n focus-base\n relative\n box-border\n flex\n w-full\n min-w-full\n cursor-pointer\n items-center\n no-underline\n duration-150\n ease-in-out;\n @include word-break();\n padding-block: var(--calcite-combobox-item-spacing-unit-s);\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host([disabled]) .label {\n @apply cursor-default;\n}\n\n// selected state\n.label--selected {\n @apply text-color-1 font-medium;\n}\n\n.label--active {\n @apply focus-inset;\n}\n\n.label:hover,\n.label:active {\n @apply text-color-1\n bg-foreground-2\n no-underline\n shadow-none;\n}\n\n.title {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon {\n @apply inline-flex\n opacity-0\n duration-150\n ease-in-out;\n color: theme(\"borderColor.color.1\");\n}\n\n.icon--indent {\n padding-inline-start: var(--calcite-combobox-item-indent-value);\n}\n\n.icon--custom {\n margin-block-start: -1px;\n padding-inline-start: var(--calcite-combobox-item-spacing-unit-l);\n @apply text-color-3;\n}\n\n.icon--active {\n @apply text-color-1;\n}\n\n.icon--dot {\n @apply flex justify-center;\n min-inline-size: var(--calcite-combobox-item-selector-icon-size);\n}\n\n.icon--dot:before {\n text-align: start;\n content: \"\\2022\";\n}\n\n.label--active .icon {\n @apply opacity-100;\n}\n\n.label--selected .icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.brand\");\n}\n\n:host(:hover[disabled]) .icon {\n @apply opacity-100;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { ComboboxChildElement } from \"../combobox/interfaces\";\nimport { getAncestors, getDepth, isSingleLike } from \"../combobox/utils\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * @slot - A slot for adding nested `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox-item\",\n styleUrl: \"combobox-item.scss\",\n shadow: true,\n})\nexport class ComboboxItem implements ConditionalSlotComponent, InteractiveComponent {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /** When `true`, the component is active. */\n @Prop({ reflect: true }) active = false;\n\n /** Specifies the parent and grandparent items, which are set on `calcite-combobox`. */\n @Prop({ mutable: true }) ancestors: ComboboxChildElement[];\n\n /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */\n @Prop({ reflect: true }) guid = guid();\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n @Watch(\"selected\")\n selectedWatchHandler(): void {\n this.calciteComboboxItemChange.emit();\n }\n\n /** The component's text. */\n @Prop({ reflect: true }) textLabel!: string;\n\n /** The component's value. */\n @Prop() value!: any;\n\n /**\n * When `true`, omits the component from the `calcite-combobox` filtered search results.\n */\n @Prop({ reflect: true }) filterDisabled: boolean;\n\n /**\n * Specifies the selection mode:\n * - \"multiple\" allows any number of selected items (default),\n * - \"single\" allows only one selection,\n * - \"single-persist\" allow and require one open item,\n * - \"ancestors\" is like multiple, but shows ancestors of selected items as selected, with only deepest children shown in chips.\n *\n * @internal\n */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"single\" | \"single-persist\" | \"ancestors\" | \"multiple\",\n SelectionMode\n > = \"multiple\";\n\n /**\n * Specifies the size of the component inherited from the `calcite-combobox`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteComboboxItemElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ancestors = getAncestors(this.el);\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires whenever the component is selected or unselected.\n *\n */\n @Event({ cancelable: false }) calciteComboboxItemChange: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n toggleSelected(): Promise<void> {\n const isSinglePersistSelect = this.selectionMode === \"single-persist\";\n\n if (this.disabled || (isSinglePersistSelect && this.selected)) {\n return;\n }\n\n this.selected = !this.selected;\n }\n\n private itemClickHandler = (): void => {\n this.toggleSelected();\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderIcon(iconPath: string): VNode {\n return this.icon ? (\n <calcite-icon\n class={{\n [CSS.custom]: !!this.icon,\n [CSS.iconActive]: this.icon && this.selected,\n [CSS.iconIndent]: true,\n }}\n flipRtl={this.iconFlipRtl}\n icon={this.icon || iconPath}\n key=\"icon\"\n scale={getIconScale(this.scale)}\n />\n ) : null;\n }\n\n renderSelectIndicator(showDot: boolean, iconPath: string): VNode {\n return showDot ? (\n <span\n class={{\n [CSS.icon]: true,\n [CSS.dot]: true,\n [CSS.iconIndent]: true,\n }}\n />\n ) : (\n <calcite-icon\n class={{\n [CSS.icon]: true,\n [CSS.iconActive]: this.selected,\n [CSS.iconIndent]: true,\n }}\n flipRtl={this.iconFlipRtl}\n icon={iconPath}\n key=\"indicator\"\n scale={getIconScale(this.scale)}\n />\n );\n }\n\n renderChildren(): VNode {\n if (getSlotted(this.el)) {\n return (\n <ul key=\"default-slot-container\">\n <slot />\n </ul>\n );\n }\n\n return null;\n }\n\n render(): VNode {\n const { disabled } = this;\n const isSingleSelect = isSingleLike(this.selectionMode);\n const showDot = isSingleSelect && !disabled;\n const defaultIcon = isSingleSelect ? \"dot\" : \"check\";\n const iconPath = disabled ? \"\" : defaultIcon;\n\n const classes = {\n [CSS.label]: true,\n [CSS.selected]: this.selected,\n [CSS.active]: this.active,\n [CSS.single]: isSingleSelect,\n };\n const depth = getDepth(this.el);\n\n return (\n <Host aria-hidden=\"true\">\n <InteractiveContainer disabled={disabled}>\n <div\n class={`container scale--${this.scale}`}\n style={{ \"--calcite-combobox-item-spacing-indent-multiplier\": `${depth}` }}\n >\n <li class={classes} id={this.guid} onClick={this.itemClickHandler}>\n {this.renderSelectIndicator(showDot, iconPath)}\n {this.renderIcon(iconPath)}\n <span class=\"title\">{this.textLabel}</span>\n </li>\n {this.renderChildren()}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n","export const CSS = {\n list: \"list\",\n label: \"label\",\n title: \"title\",\n};\n",".scale--s {\n @apply text-n2h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.2\");\n}\n\n.scale--m {\n @apply text-n1h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.3\");\n}\n\n.scale--l {\n @apply text-0h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.4\");\n}\n\n:host,\n.list {\n @apply m-0 flex flex-col p-0;\n}\n\n:host(:focus),\n.list:focus {\n @apply outline-none;\n}\n\n.label {\n @apply text-color-3 box-border flex w-full min-w-0 max-w-full;\n}\n\n.title {\n --calcite-combobox-item-indent-value: calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );\n border: 0 solid;\n @apply border-b-color-3\n text-color-2\n word-break\n block\n flex-1\n border-b\n font-bold;\n padding-block: var(--calcite-combobox-item-spacing-unit-l);\n padding-inline: var(--calcite-combobox-item-spacing-unit-s);\n margin-inline-start: var(--calcite-combobox-item-indent-value);\n}\n\n::slotted(calcite-combobox-item-group:not([after-empty-group])) {\n padding-block-start: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n@include base-component();\n","import { Component, Element, h, Prop, VNode } from \"@stencil/core\";\nimport { guid } from \"../../utils/guid\";\nimport { ComboboxChildElement } from \"../combobox/interfaces\";\nimport { getAncestors, getDepth } from \"../combobox/utils\";\nimport { Scale } from \"../interfaces\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox-item-group\",\n styleUrl: \"combobox-item-group.scss\",\n shadow: true,\n})\nexport class ComboboxItemGroup {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, signifies that the group comes after another group without any children (items or sub-groups), otherwise indicates that the group comes after another group that has children. Used for styling.\n *\n * @internal\n */\n @Prop({ reflect: true }) afterEmptyGroup = false;\n\n /** Specifies the parent and grandparent `calcite-combobox-item`s, which are set on `calcite-combobox`. */\n @Prop({ mutable: true }) ancestors: ComboboxChildElement[];\n\n /** Specifies the title of the component. */\n @Prop() label!: string;\n\n /**\n * Specifies the size of the component inherited from the `calcite-combobox`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ancestors = getAncestors(this.el);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteComboboxItemGroupElement;\n\n guid: string = guid();\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n const { el, scale } = this;\n const depth = getDepth(el);\n\n return (\n <ul\n aria-labelledby={this.guid}\n class={{ [CSS.list]: true, [`scale--${scale}`]: true }}\n role=\"group\"\n >\n <li\n class={{ [CSS.label]: true }}\n id={this.guid}\n role=\"presentation\"\n style={{ \"--calcite-combobox-item-spacing-indent-multiplier\": `${depth}` }}\n >\n <span class={CSS.title}>{this.label}</span>\n </li>\n <slot />\n </ul>\n );\n }\n}\n"],"mappings":";;;;;q4BAAO,MAAMA,EAAe,wBACrB,MAAMC,EAAoB,8BAC1B,MAAMC,EAAwB,GAAGF,MAAiBC,IAElD,MAAME,EAAM,CACjBC,cAAe,kBACfC,oBAAqB,wBACrBC,uB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MCehB3Z,GAAiB,M,yBA6C5B6D,KAAAW,KAAeA,I,qBAjC4B,M,yDAapB,G,CAQvB,iBAAA+K,GACE1L,KAAK5C,UAAYV,EAAasD,KAAK/C,G,CAmBrC,MAAAqW,GACE,MAAMrW,GAAEA,EAAE8B,MAAEA,GAAUiB,KACtB,MAAM6V,EAAQ/X,GAASb,GAEvB,OACE+B,EAAA,wBACmBgB,KAAKW,KACtB1B,MAAO,CAAE,CAAC5C,GAAIyW,MAAO,KAAM,CAAC,UAAU/T,KAAU,MAChDwT,KAAK,SAELvT,EAAA,MACEC,MAAO,CAAE,CAAC5C,GAAIuC,OAAQ,MACtBmS,GAAI/Q,KAAKW,KACT4R,KAAK,eACLxO,MAAO,CAAE,oDAAqD,GAAG8R,MAEjE7W,EAAA,QAAMC,MAAO5C,GAAI+U,OAAQpR,KAAKpB,QAEhCI,EAAA,a"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.2.0-next.11
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,F as s,g as n}from"./p-3401e225.js";import{g as o}from"./p-23373769.js";import{t as a,i as r,d as l}from"./p-d3627cbd.js";import{g as c}from"./p-da68df06.js";import{i as h}from"./p-72a3e0eb.js";import{s as d,a as u,c as p}from"./p-163b702a.js";import{a as f,C as m,I as b,S as x}from"./p-e54d80ea.js";import"./p-7183efb5.js";const g=":host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1);color:var(--calcite-color-text-2)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-color-border-3)}::slotted(calcite-action-group:last-child){border-block-end:0}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";const v=["ArrowUp","ArrowDown","End","Home"];const w=class{constructor(i){t(this,i);this.calciteActionMenuOpen=e(this,"calciteActionMenuOpen",6);this.actionElements=[];this.guid=`calcite-action-menu-${c()}`;this.menuId=`${this.guid}-menu`;this.menuButtonId=`${this.guid}-menu-button`;this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:e,open:i,label:s}=this;const n=this.slottedMenuButtonEl||this.defaultMenuButtonEl;if(this.menuButtonEl===n){return}this.disconnectMenuButtonEl();this.menuButtonEl=n;this.setTooltipReferenceElement();if(!n){return}n.active=i;n.setAttribute("aria-controls",e);n.setAttribute("aria-expanded",a(i));n.setAttribute("aria-haspopup","true");if(!n.id){n.id=t}if(!n.label){n.label=s}if(!n.text){n.text=s}n.addEventListener("pointerdown",this.menuButtonClick);n.addEventListener("keydown",this.menuButtonKeyDown)};this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;if(!t){return}t.removeEventListener("pointerdown",this.menuButtonClick);t.removeEventListener("keydown",this.menuButtonKeyDown)};this.setMenuButtonEl=t=>{const e=t.target.assignedElements({flatten:true}).filter((t=>t?.matches("calcite-action")));this.slottedMenuButtonEl=e[0];this.connectMenuButtonEl()};this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t;this.connectMenuButtonEl()};this.handleCalciteActionClick=()=>{this.open=false;this.setFocus()};this.menuButtonClick=t=>{if(!r(t)){return}this.toggleOpen()};this.updateTooltip=t=>{const e=t.target.assignedElements({flatten:true}).filter((t=>t?.matches("calcite-tooltip")));this.tooltipEl=e[0];this.setTooltipReferenceElement()};this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:e,menuButtonEl:i,open:s}=this;if(t){t.referenceElement=!e&&!s?i:null}};this.updateAction=(t,e)=>{const{guid:i,activeMenuItemIndex:s}=this;const n=`${i}-action-${e}`;t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=n}t.toggleAttribute(f,e===s)};this.updateActions=t=>{t?.forEach(this.updateAction)};this.handleDefaultSlotChange=t=>{const e=t.target.assignedElements({flatten:true}).reduce(((t,e)=>{if(e?.matches("calcite-action")){t.push(e);return t}if(e?.matches("calcite-action-group")){return t.concat(Array.from(e.querySelectorAll("calcite-action")))}return t}),[]);this.actionElements=e.filter((t=>!t.disabled&&!t.hidden))};this.menuButtonKeyDown=t=>{const{key:e}=t;const{actionElements:i,activeMenuItemIndex:s,open:n}=this;if(!i.length){return}if(h(e)){t.preventDefault();if(!n){this.toggleOpen();return}const e=i[s];e?e.click():this.toggleOpen(false)}if(e==="Tab"){this.open=false;return}if(e==="Escape"){this.toggleOpen(false);t.preventDefault();return}this.handleActionNavigation(t,e,i)};this.handleActionNavigation=(t,e,i)=>{if(!this.isValidKey(e,v)){return}t.preventDefault();if(!this.open){this.toggleOpen();if(e==="Home"||e==="ArrowDown"){this.activeMenuItemIndex=0}if(e==="End"||e==="ArrowUp"){this.activeMenuItemIndex=i.length-1}return}if(e==="Home"){this.activeMenuItemIndex=0}if(e==="End"){this.activeMenuItemIndex=i.length-1}const s=this.activeMenuItemIndex;if(e==="ArrowUp"){this.activeMenuItemIndex=o(Math.max(s-1,-1),i.length)}if(e==="ArrowDown"){this.activeMenuItemIndex=o(s+1,i.length)}};this.toggleOpenEnd=()=>{this.setFocus();this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)};this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd);this.open=t};this.handlePopoverOpen=()=>{this.open=true};this.handlePopoverClose=()=>{this.open=false};this.appearance="solid";this.expanded=false;this.flipPlacements=undefined;this.label=undefined;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.scale=undefined;this.menuButtonEl=undefined;this.activeMenuItemIndex=-1}connectedCallback(){this.connectMenuButtonEl()}componentWillLoad(){d(this)}componentDidLoad(){u(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=false;this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpen.emit();this.setTooltipReferenceElement()}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){await p(this);return l(this.menuButtonEl)}renderMenuButton(){const{appearance:t,label:e,scale:s,expanded:n}=this;const o=i("slot",{name:x.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{appearance:t,class:m.defaultTrigger,icon:b.menu,scale:s,text:e,textEnabled:n,ref:this.setDefaultMenuButtonEl}));return o}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:e,open:s,menuId:n,menuButtonEl:o,label:a,placement:r,overlayPositioning:l,flipPlacements:c}=this;const h=t[e];const d=h?.id||null;return i("calcite-popover",{autoClose:true,flipPlacements:c,focusTrapDisabled:true,label:a,offsetDistance:0,onCalcitePopoverClose:this.handlePopoverClose,onCalcitePopoverOpen:this.handlePopoverOpen,open:s,overlayPositioning:l,placement:r,pointerDisabled:true,referenceElement:o},i("div",{"aria-activedescendant":d,"aria-labelledby":o?.id,class:m.menu,id:n,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(s,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:x.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,e){return!!e.find((e=>e===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};w.style=g;export{w as calcite_action_menu};
|
|
7
|
+
//# sourceMappingURL=p-88d2daad.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["actionMenuCss","SUPPORTED_MENU_NAV_KEYS","ActionMenu","this","actionElements","guid","menuId","menuButtonId","connectMenuButtonEl","open","label","menuButtonEl","slottedMenuButtonEl","defaultMenuButtonEl","disconnectMenuButtonEl","setTooltipReferenceElement","active","setAttribute","toAriaBoolean","id","text","addEventListener","menuButtonClick","menuButtonKeyDown","removeEventListener","setMenuButtonEl","event","actions","target","assignedElements","flatten","filter","el","matches","setDefaultMenuButtonEl","handleCalciteActionClick","setFocus","isPrimaryPointerButton","toggleOpen","updateTooltip","tooltips","tooltipEl","expanded","referenceElement","updateAction","action","index","activeMenuItemIndex","tabIndex","toggleAttribute","activeAttr","updateActions","forEach","handleDefaultSlotChange","reduce","previousValue","currentValue","push","concat","Array","from","querySelectorAll","disabled","hidden","key","length","isActivationKey","preventDefault","click","handleActionNavigation","isValidKey","currentIndex","getRoundRobinIndex","Math","max","toggleOpenEnd","value","handlePopoverOpen","handlePopoverClose","connectedCallback","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","disconnectedCallback","expandedHandler","openHandler","calciteActionMenuOpen","emit","activeMenuItemIndexHandler","componentFocusable","focusElement","renderMenuButton","appearance","scale","menuButtonSlot","h","name","SLOTS","trigger","onSlotchange","class","CSS","defaultTrigger","icon","ICONS","menu","textEnabled","ref","renderMenuItems","placement","overlayPositioning","flipPlacements","activeAction","activeDescendantId","autoClose","focusTrapDisabled","offsetDistance","onCalcitePopoverClose","onCalcitePopoverOpen","pointerDisabled","onClick","role","render","Fragment","tooltip","supportedKeys","find","k"],"sources":["src/components/action-menu/action-menu.scss?tag=calcite-action-menu&encapsulation=shadow","src/components/action-menu/action-menu.tsx"],"sourcesContent":[":host {\n @apply text-color-2\n text-1\n box-border\n flex\n flex-col;\n}\n\n::slotted(calcite-action-group) {\n border-block-end: 1px solid var(--calcite-color-border-3);\n}\n\n::slotted(calcite-action-group:last-child) {\n border-block-end: 0;\n}\n\n.default-trigger {\n @apply relative\n h-full\n flex-initial\n self-stretch;\n}\n\n@include slotted(\"trigger\", \"calcite-action\") {\n @apply relative\n h-full\n flex-initial\n self-stretch;\n}\n\n.menu {\n @apply flex-col\n flex-nowrap\n outline-none\n overflow-y-auto\n overflow-x-hidden\n max-h-menu;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n State,\n Watch,\n} from \"@stencil/core\";\nimport { Fragment, VNode } from \"@stencil/core/internal\";\nimport { getRoundRobinIndex } from \"../../utils/array\";\nimport { focusElement, isPrimaryPointerButton, toAriaBoolean } from \"../../utils/dom\";\nimport { EffectivePlacement, LogicalPlacement, OverlayPositioning } from \"../../utils/floating-ui\";\nimport { guid } from \"../../utils/guid\";\nimport { isActivationKey } from \"../../utils/key\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { Appearance, Scale } from \"../interfaces\";\nimport { activeAttr, CSS, ICONS, SLOTS } from \"./resources\";\n\nconst SUPPORTED_MENU_NAV_KEYS = [\"ArrowUp\", \"ArrowDown\", \"End\", \"Home\"];\n\n/**\n * @slot - A slot for adding `calcite-action`s.\n * @slot trigger - A slot for adding a `calcite-action` to trigger opening the menu.\n * @slot tooltip - A slot for adding an tooltip for the menu.\n */\n@Component({\n tag: \"calcite-action-menu\",\n styleUrl: \"action-menu.scss\",\n shadow: true,\n})\nexport class ActionMenu implements LoadableComponent {\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.connectMenuButtonEl();\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n this.disconnectMenuButtonEl();\n }\n\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /** Specifies the appearance of the component. */\n @Prop({ reflect: true }) appearance: Extract<\"solid\" | \"transparent\", Appearance> = \"solid\";\n\n /**\n * When `true`, the component is expanded.\n */\n @Prop({ reflect: true }) expanded = false;\n\n @Watch(\"expanded\")\n expandedHandler(): void {\n this.open = false;\n this.setTooltipReferenceElement();\n }\n\n /**\n * Defines the available placements that can be used when a flip occurs.\n */\n @Prop() flipPlacements: EffectivePlacement[];\n\n /**\n * Specifies the text string for the component.\n */\n @Prop() label!: string;\n\n /**\n * When `true`, the component is open.\n */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(open: boolean): void {\n this.activeMenuItemIndex = this.open ? 0 : -1;\n if (this.menuButtonEl) {\n this.menuButtonEl.active = open;\n }\n this.calciteActionMenuOpen.emit();\n\n this.setTooltipReferenceElement();\n }\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n /**\n * Determines where the component will be positioned relative to the `referenceElement`.\n */\n @Prop({ reflect: true }) placement: LogicalPlacement = \"auto\";\n\n /**\n * Specifies the size of the component's trigger `calcite-action`.\n */\n @Prop({ reflect: true }) scale: Scale;\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the `open` property is toggled.\n *\n */\n @Event({ cancelable: false }) calciteActionMenuOpen: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteActionMenuElement;\n\n @State() menuButtonEl: HTMLCalciteActionElement;\n\n slottedMenuButtonEl: HTMLCalciteActionElement;\n\n defaultMenuButtonEl: HTMLCalciteActionElement;\n\n actionElements: HTMLCalciteActionElement[] = [];\n\n guid = `calcite-action-menu-${guid()}`;\n\n menuId = `${this.guid}-menu`;\n\n menuButtonId = `${this.guid}-menu-button`;\n\n tooltipEl: HTMLCalciteTooltipElement;\n\n @State() activeMenuItemIndex = -1;\n\n @Watch(\"activeMenuItemIndex\")\n activeMenuItemIndexHandler(): void {\n this.updateActions(this.actionElements);\n }\n\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n return focusElement(this.menuButtonEl);\n }\n\n // --------------------------------------------------------------------------\n //\n // Component Methods\n //\n // --------------------------------------------------------------------------\n\n connectMenuButtonEl = (): void => {\n const { menuButtonId, menuId, open, label } = this;\n const menuButtonEl = this.slottedMenuButtonEl || this.defaultMenuButtonEl;\n\n if (this.menuButtonEl === menuButtonEl) {\n return;\n }\n\n this.disconnectMenuButtonEl();\n\n this.menuButtonEl = menuButtonEl;\n\n this.setTooltipReferenceElement();\n\n if (!menuButtonEl) {\n return;\n }\n\n menuButtonEl.active = open;\n menuButtonEl.setAttribute(\"aria-controls\", menuId);\n menuButtonEl.setAttribute(\"aria-expanded\", toAriaBoolean(open));\n menuButtonEl.setAttribute(\"aria-haspopup\", \"true\");\n\n if (!menuButtonEl.id) {\n menuButtonEl.id = menuButtonId;\n }\n\n if (!menuButtonEl.label) {\n menuButtonEl.label = label;\n }\n\n if (!menuButtonEl.text) {\n menuButtonEl.text = label;\n }\n\n menuButtonEl.addEventListener(\"pointerdown\", this.menuButtonClick);\n menuButtonEl.addEventListener(\"keydown\", this.menuButtonKeyDown);\n };\n\n disconnectMenuButtonEl = (): void => {\n const { menuButtonEl } = this;\n\n if (!menuButtonEl) {\n return;\n }\n\n menuButtonEl.removeEventListener(\"pointerdown\", this.menuButtonClick);\n menuButtonEl.removeEventListener(\"keydown\", this.menuButtonKeyDown);\n };\n\n setMenuButtonEl = (event: Event): void => {\n const actions = (event.target as HTMLSlotElement)\n .assignedElements({\n flatten: true,\n })\n .filter((el) => el?.matches(\"calcite-action\")) as HTMLCalciteActionElement[];\n\n this.slottedMenuButtonEl = actions[0];\n this.connectMenuButtonEl();\n };\n\n setDefaultMenuButtonEl = (el: HTMLCalciteActionElement): void => {\n this.defaultMenuButtonEl = el;\n this.connectMenuButtonEl();\n };\n\n renderMenuButton(): VNode {\n const { appearance, label, scale, expanded } = this;\n\n const menuButtonSlot = (\n <slot name={SLOTS.trigger} onSlotchange={this.setMenuButtonEl}>\n <calcite-action\n appearance={appearance}\n class={CSS.defaultTrigger}\n icon={ICONS.menu}\n scale={scale}\n text={label}\n textEnabled={expanded}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setDefaultMenuButtonEl}\n />\n </slot>\n );\n\n return menuButtonSlot;\n }\n\n renderMenuItems(): VNode {\n const {\n actionElements,\n activeMenuItemIndex,\n open,\n menuId,\n menuButtonEl,\n label,\n placement,\n overlayPositioning,\n flipPlacements,\n } = this;\n\n const activeAction = actionElements[activeMenuItemIndex];\n const activeDescendantId = activeAction?.id || null;\n\n return (\n <calcite-popover\n autoClose={true}\n flipPlacements={flipPlacements}\n focusTrapDisabled={true}\n label={label}\n offsetDistance={0}\n onCalcitePopoverClose={this.handlePopoverClose}\n onCalcitePopoverOpen={this.handlePopoverOpen}\n open={open}\n overlayPositioning={overlayPositioning}\n placement={placement}\n pointerDisabled={true}\n referenceElement={menuButtonEl}\n >\n <div\n aria-activedescendant={activeDescendantId}\n aria-labelledby={menuButtonEl?.id}\n class={CSS.menu}\n id={menuId}\n onClick={this.handleCalciteActionClick}\n role=\"menu\"\n tabIndex={-1}\n >\n <slot onSlotchange={this.handleDefaultSlotChange} />\n </div>\n </calcite-popover>\n );\n }\n\n render(): VNode {\n return (\n <Fragment>\n {this.renderMenuButton()}\n {this.renderMenuItems()}\n <slot name={SLOTS.tooltip} onSlotchange={this.updateTooltip} />\n </Fragment>\n );\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n handleCalciteActionClick = (): void => {\n this.open = false;\n this.setFocus();\n };\n\n menuButtonClick = (event: PointerEvent): void => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n\n this.toggleOpen();\n };\n\n updateTooltip = (event: Event): void => {\n const tooltips = (event.target as HTMLSlotElement)\n .assignedElements({\n flatten: true,\n })\n .filter((el) => el?.matches(\"calcite-tooltip\")) as HTMLCalciteTooltipElement[];\n\n this.tooltipEl = tooltips[0];\n this.setTooltipReferenceElement();\n };\n\n setTooltipReferenceElement = (): void => {\n const { tooltipEl, expanded, menuButtonEl, open } = this;\n\n if (tooltipEl) {\n tooltipEl.referenceElement = !expanded && !open ? menuButtonEl : null;\n }\n };\n\n updateAction = (action: HTMLCalciteActionElement, index: number): void => {\n const { guid, activeMenuItemIndex } = this;\n const id = `${guid}-action-${index}`;\n\n action.tabIndex = -1;\n action.setAttribute(\"role\", \"menuitem\");\n\n if (!action.id) {\n action.id = id;\n }\n\n // data attribute is used to style the \"activeMenuItemIndex\" action using token focus styling.\n action.toggleAttribute(activeAttr, index === activeMenuItemIndex);\n };\n\n updateActions = (actions: HTMLCalciteActionElement[]): void => {\n actions?.forEach(this.updateAction);\n };\n\n handleDefaultSlotChange = (event: Event): void => {\n const actions = (event.target as HTMLSlotElement)\n .assignedElements({\n flatten: true,\n })\n .reduce(\n (previousValue: HTMLCalciteActionElement[], currentValue): HTMLCalciteActionElement[] => {\n if (currentValue?.matches(\"calcite-action\")) {\n previousValue.push(currentValue as HTMLCalciteActionElement);\n return previousValue;\n }\n\n if (currentValue?.matches(\"calcite-action-group\")) {\n return previousValue.concat(\n Array.from(currentValue.querySelectorAll(\"calcite-action\")),\n );\n }\n\n return previousValue;\n },\n [],\n );\n\n this.actionElements = actions.filter((action) => !action.disabled && !action.hidden);\n };\n\n isValidKey(key: string, supportedKeys: string[]): boolean {\n return !!supportedKeys.find((k) => k === key);\n }\n\n menuButtonKeyDown = (event: KeyboardEvent): void => {\n const { key } = event;\n const { actionElements, activeMenuItemIndex, open } = this;\n\n if (!actionElements.length) {\n return;\n }\n\n if (isActivationKey(key)) {\n event.preventDefault();\n\n if (!open) {\n this.toggleOpen();\n return;\n }\n\n const action = actionElements[activeMenuItemIndex];\n action ? action.click() : this.toggleOpen(false);\n }\n\n if (key === \"Tab\") {\n this.open = false;\n return;\n }\n\n if (key === \"Escape\") {\n this.toggleOpen(false);\n event.preventDefault();\n return;\n }\n\n this.handleActionNavigation(event, key, actionElements);\n };\n\n handleActionNavigation = (\n event: KeyboardEvent,\n key: string,\n actions: HTMLCalciteActionElement[],\n ): void => {\n if (!this.isValidKey(key, SUPPORTED_MENU_NAV_KEYS)) {\n return;\n }\n\n event.preventDefault();\n\n if (!this.open) {\n this.toggleOpen();\n\n if (key === \"Home\" || key === \"ArrowDown\") {\n this.activeMenuItemIndex = 0;\n }\n\n if (key === \"End\" || key === \"ArrowUp\") {\n this.activeMenuItemIndex = actions.length - 1;\n }\n\n return;\n }\n\n if (key === \"Home\") {\n this.activeMenuItemIndex = 0;\n }\n\n if (key === \"End\") {\n this.activeMenuItemIndex = actions.length - 1;\n }\n\n const currentIndex = this.activeMenuItemIndex;\n\n if (key === \"ArrowUp\") {\n this.activeMenuItemIndex = getRoundRobinIndex(Math.max(currentIndex - 1, -1), actions.length);\n }\n\n if (key === \"ArrowDown\") {\n this.activeMenuItemIndex = getRoundRobinIndex(currentIndex + 1, actions.length);\n }\n };\n\n toggleOpenEnd = (): void => {\n this.setFocus();\n this.el.removeEventListener(\"calcitePopoverOpen\", this.toggleOpenEnd);\n };\n\n toggleOpen = (value = !this.open): void => {\n this.el.addEventListener(\"calcitePopoverOpen\", this.toggleOpenEnd);\n this.open = value;\n };\n\n private handlePopoverOpen = (): void => {\n this.open = true;\n };\n\n private handlePopoverClose = (): void => {\n this.open = false;\n };\n}\n"],"mappings":";;;;;iWAAA,MAAMA,EAAgB,ktBC0BtB,MAAMC,EAA0B,CAAC,UAAW,YAAa,MAAO,Q,MAYnDC,EAAU,M,sFAkHrBC,KAAAC,eAA6C,GAE7CD,KAAAE,KAAO,uBAAuBA,MAE9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M8G,EAAe7G,EAAe2C,GACpC,MAAMmE,EAAqBD,GAAc9F,IAAM,KAE/C,OACE6E,EAAA,mBACEmB,UAAW,KACXH,eAAgBA,EAChBI,kBAAmB,KACnB1G,MAAOA,EACP2G,eAAgB,EAChBC,sBAAuBnH,KAAK2E,mBAC5ByC,qBAAsBpH,KAAK0E,kBAC3BpE,KAAMA,EACNsG,mBAAoBA,EACpBD,UAAWA,EACXU,gBAAiB,KACjB7E,iBAAkBhC,GAElBqF,EAAA,+BACyBkB,EAAkB,kBACxBvG,GAAcQ,GAC/BkF,MAAOC,EAAII,KACXvF,GAAIb,EACJmH,QAAStH,KAAKgC,yBACduF,KAAK,OACL1E,UAAW,GAEXgD,EAAA,QAAMI,aAAcjG,KAAKkD,2B,CAMjC,MAAAsE,GACE,OACE3B,EAAC4B,EAAQ,KACNzH,KAAKyF,mBACLzF,KAAK0G,kBACNb,EAAA,QAAMC,KAAMC,EAAM2B,QAASzB,aAAcjG,KAAKoC,gB,CAwFpD,UAAA+B,CAAWN,EAAa8D,GACtB,QAASA,EAAcC,MAAMC,GAAMA,IAAMhE,G"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.2.0-next.11
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,H as s,g as o,F as n}from"./p-3401e225.js";import{z as a,l as c,g as r,A as l,t as d}from"./p-d3627cbd.js";import{g as h}from"./p-da68df06.js";import{c as b}from"./p-5078829f.js";import{c as u,d as p,I as f,u as m}from"./p-ad553e66.js";import{c as g,d as v}from"./p-03514f40.js";import{c as x,d as y,s as k,u as T}from"./p-156ce16b.js";import{g as C}from"./p-465e3b6d.js";import"./p-7183efb5.js";import"./p-902b3ccb.js";import"./p-72a3e0eb.js";const z={container:"container",content:"content"};const w=":host([selected]) section,:host([selected]) .container{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([selected]){display:block;block-size:100%;inline-size:100%;overflow:auto}.content{box-sizing:border-box}.scale-s .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}section,.container{display:none;block-size:100%;inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}";const I=class{constructor(i){t(this,i);this.calciteInternalTabRegister=e(this,"calciteInternalTabRegister",6);this.guid=`calcite-tab-title-${h()}`;this.tab=undefined;this.selected=false;this.scale="m";this.labeledBy=undefined}render(){const t=this.el.id||this.guid;return i(s,{"aria-labelledby":this.labeledBy,id:t},i("div",{class:{[z.container]:true,[`scale-${this.scale}`]:true},role:"tabpanel",tabIndex:this.selected?0:-1},i("section",{class:z.content},i("slot",null))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}componentDidLoad(){this.calciteInternalTabRegister.emit()}disconnectedCallback(){document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){const e=t.composedPath().find((t=>t.tagName==="CALCITE-TABS"));if(e!==this.parentTabsEl){return}if(this.tab){this.selected=this.tab===t.detail.tab}else{this.getTabIndex().then((e=>{this.selected=e===t.detail.tab}))}t.stopPropagation()}async getTabIndex(){return Array.prototype.indexOf.call(a(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],e=[]){this.labeledBy=e[t.indexOf(this.el.id)]||null}get el(){return o(this)}};I.style=w;const A={container:"tab-nav"};const H=":host{position:relative;display:flex}.scale-s{min-block-size:1.5rem}.scale-m{min-block-size:2rem}.scale-l{min-block-size:2.75rem}:host([layout=center]:not([bordered])){padding-inline:1.25rem}:host([layout=center]:not([bordered])) .tab-nav ::slotted(calcite-tab-title:last-child){margin-inline-end:0px}:host(:not([bordered])) .scale-l ::slotted(calcite-tab-title){margin-inline-end:1.5rem}:host(:not([bordered])) .scale-m ::slotted(calcite-tab-title){margin-inline-end:1.25rem}:host(:not([bordered])) .scale-s ::slotted(calcite-tab-title){margin-inline-end:1rem}.tab-nav{display:flex;inline-size:100%;justify-content:flex-start;overflow:auto}.tab-nav-active-indicator-container{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-color-brand);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([layout=center]) .tab-nav{justify-content:space-evenly}:host .position-bottom .tab-nav-active-indicator{inset-block-end:unset;inset-block-start:0px}:host .position-bottom .tab-nav-active-indicator-container{inset-block-end:unset;inset-block-start:0px}:host([bordered]) .tab-nav-active-indicator-container{inset-block-end:unset}:host([bordered]) .position-bottom .tab-nav-active-indicator-container{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){.tab-nav-active-indicator{background-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}";const L=class{constructor(i){t(this,i);this.calciteTabChange=e(this,"calciteTabChange",6);this.calciteInternalTabChange=e(this,"calciteInternalTabChange",6);this.animationActiveDuration=.3;this.resizeObserver=b("resize",(()=>{if(!this.activeIndicatorEl){return}this.activeIndicatorEl.style.transitionDuration="0s";this.updateActiveWidth();this.updateOffsetPosition()}));this.handleTabFocus=(t,e,i)=>{c(this.enabledTabTitles,e,i);t.stopPropagation()};this.handleContainerScroll=()=>{this.activeIndicatorEl.style.transitionDuration="0s";this.updateOffsetPosition()};this.storageId=undefined;this.syncId=undefined;this.selectedTitle=null;this.scale="m";this.layout="inline";this.position="bottom";this.bordered=false;this.indicatorOffset=undefined;this.indicatorWidth=undefined;this.selectedTabId=undefined}async selectedTabIdChanged(){if(localStorage&&this.storageId&&this.selectedTabId!==undefined&&this.selectedTabId!==null){localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId))}this.calciteInternalTabChange.emit({tab:this.selectedTabId});this.selectedTitle=await this.getTabTitleById(this.selectedTabId)}selectedTitleChanged(){this.updateOffsetPosition();this.updateActiveWidth();this.activeIndicatorEl.style.transitionDuration=`${this.animationActiveDuration}s`}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs");this.resizeObserver?.observe(this.el)}componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}}componentWillRender(){const{parentTabsEl:t}=this;this.layout=t?.layout;this.bordered=t?.bordered;if(this.selectedTitle){this.updateOffsetPosition()}}componentDidRender(){if(this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId){this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}}disconnectedCallback(){this.resizeObserver?.disconnect()}render(){const t=r(this.el);const e=`${this.indicatorWidth}px`;const o=`${this.indicatorOffset}px`;const n=t!=="rtl"?{width:e,left:o}:{width:e,right:o};return i(s,{role:"tablist"},i("div",{class:{[A.container]:true,[`scale-${this.scale}`]:true,[`position-${this.position}`]:true},onScroll:this.handleContainerScroll,ref:t=>this.tabNavEl=t},i("slot",null),i("div",{class:"tab-nav-active-indicator-container",ref:t=>this.activeIndicatorContainerEl=t},i("div",{class:"tab-nav-active-indicator",style:n,ref:t=>this.activeIndicatorEl=t}))))}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target);t.stopPropagation()}activateTabHandler(t){this.calciteTabChange.emit();t.stopPropagation()}internalCloseTabHandler(t){const e=t.target;this.handleTabTitleClose(e);t.stopPropagation()}updateTabTitles(t){if(t.target.selected){this.selectedTabId=t.detail}}globalInternalTabChangeHandler(t){if(this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab){this.selectedTabId=t.detail.tab}t.stopPropagation()}iconStartChangeHandler(){this.updateActiveWidth();this.updateOffsetPosition()}updateOffsetPosition(){const t=r(this.el);const e=this.activeIndicatorContainerEl?.offsetWidth;const i=this.selectedTitle?.offsetLeft;const s=this.selectedTitle?.offsetWidth;const o=e-(i+s);this.indicatorOffset=t!=="rtl"?i-this.tabNavEl?.scrollLeft:o+this.tabNavEl?.scrollLeft}updateActiveWidth(){this.indicatorWidth=this.selectedTitle?.offsetWidth}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((e=>this.tabTitles[e.indexOf(t)]))}get tabTitles(){return l(this.el,"calcite-tab-title")}get enabledTabTitles(){return l(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this;const i=e.reduce(((t,e,i)=>!e.closed?[...t,i]:t),[]);const s=i.length;if(s===1&&e[i[0]].closable){e[i[0]].closable=false;this.selectedTabId=i[0]}else if(s>1){const o=e.findIndex((e=>e===t));const n=i.find((t=>t>o));if(this.selectedTabId===o){this.selectedTabId=n?n:s-1}}requestAnimationFrame((()=>{this.updateOffsetPosition();this.updateActiveWidth();e[this.selectedTabId].focus()}))}get el(){return o(this)}static get watchers(){return{selectedTabId:["selectedTabIdChanged"],selectedTitle:["selectedTitleChanged"]}}};L.style=H;const j={closeButton:"close-button",container:"container",content:"content",contentHasText:"content--has-text",iconEnd:"icon-end",iconPresent:"icon-present",iconStart:"icon-start",titleIcon:"calcite-tab-title--icon"};const E={close:"x"};const S=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;text-align:center;flex-basis:12rem}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{margin:auto}:host([layout=center][closable]) .content{padding-inline-start:32px}:host([layout=center][bordered][closable]) .scale-s .content{padding-inline-start:36px}:host([layout=center][bordered][closable]) .scale-m .content{padding-inline-start:40px}:host([layout=center][closable]) .scale-l .content{padding-inline-start:40px}:host([layout=center][closable][bordered]) .scale-s .content{padding-inline-start:52px}:host([position=bottom]) .container{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}:host([closed]){display:none}.container{outline-color:transparent}:host(:focus) .container{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-color-border-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-color-text-1)}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale-s .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.container{box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;border-block-end-width:2px;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}.content{display:flex;align-items:center;justify-content:center}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.content--has-text{padding:0.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:0.5rem}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:0.5rem}.close-button{display:flex;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:calc(100% - 2px);background-color:var(--calcite-button-transparent-1);margin-inline-start:auto}.close-button:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:-1px}.close-button:focus,.close-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-2)}.close-button:active{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:0.5rem}:host([bordered]){margin-inline-end:0}:host([bordered][selected]){box-shadow:inset 0px -2px var(--calcite-color-foreground-1)}:host([bordered][selected][position=bottom]){box-shadow:inset 0 2px 0 var(--calcite-color-foreground-1)}:host([bordered]:hover) .container,:host([bordered]:focus) .container,:host([bordered]:active) .container{position:relative}:host([bordered]:hover) .container{background-color:var(--calcite-color-transparent-hover)}:host([closable]) .container,:host([bordered]) .container{border-inline-start:1px solid transparent;border-inline-end:1px solid transparent}:host([closable]) .container .close-button,:host([bordered]) .container .close-button{margin-inline:0}:host([closable]) .content{box-sizing:border-box;block-size:100%;border-block-end-color:transparent}:host([closable][position=bottom]) .container,:host([bordered][position=bottom]) .container{border-block-start-style:unset}:host([selected][bordered]) .container{border-inline-start-color:var(--calcite-color-border-1);border-inline-end-color:var(--calcite-color-border-1)}:host([bordered]) .content{padding-inline:0.75rem}:host([bordered]) .scale-s .content{padding-inline:0.5rem}:host([bordered]) .scale-l .content{padding-inline:1rem}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered][position=bottom]) .container{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][position=bottom][selected]) .container{border-block-start-style:none}.close-button{z-index:var(--calcite-z-index)}}:host([hidden]){display:none}[hidden]{display:none}";const R=class{constructor(i){t(this,i);this.calciteTabsActivate=e(this,"calciteTabsActivate",6);this.calciteInternalTabsActivate=e(this,"calciteInternalTabsActivate",6);this.calciteTabsClose=e(this,"calciteTabsClose",6);this.calciteInternalTabsClose=e(this,"calciteInternalTabsClose",6);this.calciteInternalTabsFocusNext=e(this,"calciteInternalTabsFocusNext",6);this.calciteInternalTabsFocusPrevious=e(this,"calciteInternalTabsFocusPrevious",6);this.calciteInternalTabsFocusFirst=e(this,"calciteInternalTabsFocusFirst",6);this.calciteInternalTabsFocusLast=e(this,"calciteInternalTabsFocusLast",6);this.calciteInternalTabTitleRegister=e(this,"calciteInternalTabTitleRegister",6);this.calciteInternalTabIconChanged=e(this,"calciteInternalTabIconChanged",6);this.closeClickHandler=()=>{this.closeTabTitleAndNotify()};this.mutationObserver=b("mutation",(()=>this.updateHasText()));this.resizeObserver=b("resize",(()=>{this.calciteInternalTabIconChanged.emit()}));this.guid=`calcite-tab-title-${h()}`;this.selected=false;this.closable=false;this.closed=false;this.disabled=false;this.iconEnd=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.layout=undefined;this.position="top";this.scale="m";this.bordered=false;this.tab=undefined;this.messages=undefined;this.messageOverrides=undefined;this.controls=undefined;this.defaultMessages=undefined;this.effectiveLocale=undefined;this.hasText=false}selectedHandler(){if(this.selected){this.emitActiveTab(false)}}onMessagesChange(){}connectedCallback(){u(this);g(this);x(this);this.setupTextContentObserver();this.parentTabNavEl=this.el.closest("calcite-tab-nav");this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){this.mutationObserver?.disconnect();document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}));this.resizeObserver?.disconnect();p(this);v(this);y(this)}async componentWillLoad(){await k(this);{this.updateHasText()}if(this.tab&&this.selected){this.emitActiveTab(false)}}componentWillRender(){if(this.parentTabsEl){this.layout=this.parentTabsEl.layout;this.bordered=this.parentTabsEl.bordered}}render(){const{el:t,closed:e}=this;const o=t.id||this.guid;const n=i("calcite-icon",{class:{[j.titleIcon]:true,[j.iconStart]:true},flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:C(this.scale)});const a=i("calcite-icon",{class:{[j.titleIcon]:true,[j.iconEnd]:true},flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:C(this.scale)});return i(s,{"aria-controls":this.controls,"aria-selected":d(this.selected),id:o,role:"tab",tabIndex:this.selected&&!this.disabled?0:-1},i(f,{disabled:this.disabled},i("div",{class:{container:true,[j.iconPresent]:!!this.iconStart||!!this.iconEnd,[`scale-${this.scale}`]:true},hidden:e,ref:t=>this.resizeObserver?.observe(t)},i("div",{class:{[j.content]:true,[j.contentHasText]:this.hasText}},this.iconStart?n:null,i("slot",null),this.iconEnd?a:null),this.renderCloseButton())))}renderCloseButton(){const{closable:t,messages:e}=this;return t?i("button",{"aria-label":e.close,class:j.closeButton,disabled:false,key:j.closeButton,onClick:this.closeClickHandler,title:e.close,type:"button",ref:t=>this.closeButtonEl=t},i("calcite-icon",{icon:E.close,scale:C(this.scale)})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){m(this)}internalTabChangeHandler(t){const e=t.composedPath().find((t=>t.tagName==="CALCITE-TABS"));if(e!==this.parentTabsEl){return}if(this.tab){this.selected=this.tab===t.detail.tab}else{this.getTabIndex().then((e=>{this.selected=e===t.detail.tab}))}t.stopPropagation()}onClick(){if(this.disabled){return}this.emitActiveTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":if(!t.composedPath().includes(this.closeButtonEl)){this.emitActiveTab();t.preventDefault()}break;case"ArrowRight":t.preventDefault();if(r(this.el)==="ltr"){this.calciteInternalTabsFocusNext.emit()}else{this.calciteInternalTabsFocusPrevious.emit()}break;case"ArrowLeft":t.preventDefault();if(r(this.el)==="ltr"){this.calciteInternalTabsFocusPrevious.emit()}else{this.calciteInternalTabsFocusNext.emit()}break;case"Home":t.preventDefault();this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault();this.calciteInternalTabsFocusLast.emit();break}}async getTabIndex(){return Array.prototype.indexOf.call(a(this.el.parentElement.children).filter((t=>t.matches("calcite-tab-title"))),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],e=[]){this.controls=t[e.indexOf(this.el.id)]||null}effectiveLocaleChange(){T(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true})}emitActiveTab(t=true){if(this.disabled||this.closed){return}const e={tab:this.tab};this.calciteInternalTabsActivate.emit(e);if(t){requestAnimationFrame((()=>this.calciteTabsActivate.emit()))}}closeTabTitleAndNotify(){this.closed=true;this.calciteInternalTabsClose.emit({tab:this.tab});this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};R.style=S;const $={titleGroup:"title-group"};const P=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1), inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}";const F=class{constructor(e){t(this,e);this.mutationObserver=b("mutation",(t=>{for(const e of t){const t=e.target;if(t.nodeName==="CALCITE-TAB-NAV"||t.nodeName==="CALCITE-TAB-TITLE"||t.nodeName==="CALCITE-TAB"){this.updateItems()}}}));this.layout="inline";this.position="top";this.scale="m";this.bordered=false;this.titles=[];this.tabs=[]}handleInheritableProps(){this.updateItems()}connectedCallback(){this.mutationObserver.observe(this.el,{childList:true});this.updateItems()}async componentWillLoad(){this.updateItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return i(n,null,i("slot",{name:$.titleGroup}),i("section",null,i("slot",null)))}calciteInternalTabTitleRegister(t){this.titles=[...this.titles,t.target];this.registryHandler();t.stopPropagation()}calciteTabTitleUnregister(t){this.titles=this.titles.filter((e=>e!==t.detail));this.registryHandler();t.stopPropagation()}calciteInternalTabRegister(t){this.tabs=[...this.tabs,t.target];this.registryHandler();t.stopPropagation()}calciteTabUnregister(t){this.tabs=this.tabs.filter((e=>e!==t.detail));this.registryHandler();t.stopPropagation()}updateItems(){const{position:t,scale:e}=this;const i=this.el.querySelector("calcite-tab-nav");if(i){i.position=t;i.scale=e}Array.from(this.el.querySelectorAll("calcite-tab")).forEach((t=>{if(t.parentElement===this.el){t.scale=e}}));Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((i=>{i.position=t;i.scale=e}))}async registryHandler(){let t;let e;if(this.tabs.some((t=>t.tab))||this.titles.some((t=>t.tab))){t=this.tabs.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id));e=this.titles.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id))}else{const i=await Promise.all(this.tabs.map((t=>t.getTabIndex())));const s=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=i.reduce(((t,e,i)=>{t[e]=this.tabs[i].id;return t}),[]);e=s.reduce(((t,e,i)=>{t[e]=this.titles[i].id;return t}),[])}this.tabs.forEach((i=>i.updateAriaInfo(t,e)));this.titles.forEach((i=>i.updateAriaInfo(t,e)))}get el(){return o(this)}static get watchers(){return{position:["handleInheritableProps"],scale:["handleInheritableProps"]}}};F.style=P;export{I as calcite_tab,L as calcite_tab_nav,R as calcite_tab_title,F as calcite_tabs};
|
|
7
|
+
//# sourceMappingURL=p-89a69461.entry.js.map
|