@esri/calcite-components 2.3.1-next.0 → 2.4.0-next.1
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/index.esm.js +1 -1
- package/dist/calcite/p-02de05ee.js +12 -0
- package/dist/calcite/p-03466e98.entry.js +7 -0
- package/dist/calcite/p-04436d42.js +7 -0
- package/dist/calcite/p-054e4655.entry.js +7 -0
- package/dist/calcite/p-054e4655.entry.js.map +1 -0
- package/dist/calcite/p-05a645c3.js +7 -0
- package/dist/calcite/p-09556785.js +7 -0
- package/dist/calcite/p-097ddfaf.entry.js +7 -0
- package/dist/calcite/p-097ddfaf.entry.js.map +1 -0
- package/dist/calcite/p-0d5cef5c.js +7 -0
- package/dist/calcite/p-10f6f12d.entry.js +7 -0
- package/dist/calcite/p-11c99be3.entry.js +7 -0
- package/dist/calcite/p-11f004d7.js +7 -0
- package/dist/calcite/p-13715ca5.entry.js +7 -0
- package/dist/calcite/p-158326bc.js +7 -0
- package/dist/calcite/p-1754bb7a.js +7 -0
- package/dist/calcite/p-17d3ae23.entry.js +7 -0
- package/dist/calcite/p-18837e42.js +7 -0
- package/dist/calcite/p-1d6f0290.js +7 -0
- package/dist/calcite/p-1eeea095.entry.js +7 -0
- package/dist/calcite/p-2637a70b.js +7 -0
- package/dist/calcite/p-27d39387.js +7 -0
- package/dist/calcite/p-289a6e00.js +8 -0
- package/dist/calcite/p-2f59b246.entry.js +7 -0
- package/dist/calcite/p-317dcae9.js +7 -0
- package/dist/calcite/p-33abdb88.js +7 -0
- package/dist/calcite/p-3517b686.js +7 -0
- package/dist/calcite/p-35985f04.js +7 -0
- package/dist/calcite/p-3817e1aa.entry.js +7 -0
- package/dist/calcite/p-3817e1aa.entry.js.map +1 -0
- package/dist/calcite/p-387307d9.entry.js +7 -0
- package/dist/calcite/p-3ab59195.entry.js +7 -0
- package/dist/calcite/p-3d65f2ef.js +7 -0
- package/dist/calcite/p-3fd462f7.js +7 -0
- package/dist/calcite/p-42017f45.js +7 -0
- package/dist/calcite/p-42111420.entry.js +7 -0
- package/dist/calcite/p-446a7aa4.js +7 -0
- package/dist/calcite/p-45a4ca2e.js +7 -0
- package/dist/calcite/p-46d02fb8.js +7 -0
- package/dist/calcite/p-49064eda.js +7 -0
- package/dist/calcite/p-4b1895a3.entry.js +7 -0
- package/dist/calcite/p-4b1895a3.entry.js.map +1 -0
- package/dist/calcite/p-4b8c8c8f.js +7 -0
- package/dist/calcite/p-4e28001c.js +7 -0
- package/dist/calcite/p-4e3199c1.entry.js +7 -0
- package/dist/calcite/p-4e75ebf6.entry.js +7 -0
- package/dist/calcite/p-4fe83e3b.entry.js +7 -0
- package/dist/calcite/p-4fe83e3b.entry.js.map +1 -0
- package/dist/calcite/p-4ffec203.js +7 -0
- package/dist/calcite/p-5009221e.js +7 -0
- package/dist/calcite/p-525f320f.js +7 -0
- package/dist/calcite/p-529f676b.entry.js +7 -0
- package/dist/calcite/p-56192d9a.entry.js +7 -0
- package/dist/calcite/p-5cf3eb4a.entry.js +7 -0
- package/dist/calcite/p-5d6a4caa.entry.js +7 -0
- package/dist/calcite/p-5e5900bf.js +7 -0
- package/dist/calcite/p-5e6a57f2.js +7 -0
- package/dist/calcite/p-64baf72f.entry.js +7 -0
- package/dist/calcite/p-661119d5.js +7 -0
- package/dist/calcite/p-69f692f9.entry.js +7 -0
- package/dist/calcite/p-6a1caa77.entry.js +7 -0
- package/dist/calcite/p-6a2062cd.entry.js +7 -0
- package/dist/calcite/p-6cd11a1d.entry.js +7 -0
- package/dist/calcite/p-6cd11a1d.entry.js.map +1 -0
- package/dist/calcite/p-6d0ee319.entry.js +7 -0
- package/dist/calcite/p-72854847.js +7 -0
- package/dist/calcite/p-751d3815.entry.js +7 -0
- package/dist/calcite/p-76399617.entry.js +7 -0
- package/dist/calcite/p-76399617.entry.js.map +1 -0
- package/dist/calcite/p-79a9d5f5.js +7 -0
- package/dist/calcite/p-79fd39df.js +7 -0
- package/dist/calcite/p-7e81b930.entry.js +7 -0
- package/dist/calcite/p-7f027869.entry.js +7 -0
- package/dist/calcite/p-7f027869.entry.js.map +1 -0
- package/dist/calcite/p-7f40f967.js +7 -0
- package/dist/calcite/p-80b19ad6.entry.js +7 -0
- package/dist/calcite/p-8112aca5.js +7 -0
- package/dist/calcite/p-83031ec1.js +7 -0
- package/dist/calcite/p-84311bfd.js +13 -0
- package/dist/calcite/p-84d3754d.entry.js +7 -0
- package/dist/calcite/p-853b0ef8.js +7 -0
- package/dist/calcite/p-87db23bc.entry.js +7 -0
- package/dist/calcite/p-8e07a0c0.entry.js +7 -0
- package/dist/calcite/p-91704116.entry.js +7 -0
- package/dist/calcite/p-929630e4.js +7 -0
- package/dist/calcite/p-9629eb1c.entry.js +7 -0
- package/dist/calcite/p-9a3abd23.js +7 -0
- package/dist/calcite/p-9a736108.entry.js +7 -0
- package/dist/calcite/p-9aa6976a.js +7 -0
- package/dist/calcite/p-9aa6976a.js.map +1 -0
- package/dist/calcite/p-9ab9e0b2.js +7 -0
- package/dist/calcite/p-9c4f8476.js +7 -0
- package/dist/calcite/p-9c9323f6.js +11 -0
- package/dist/calcite/p-9ce55312.js +7 -0
- package/dist/calcite/p-9eefc416.entry.js +7 -0
- package/dist/calcite/p-9f448c8b.js +7 -0
- package/dist/calcite/p-a04f4812.entry.js +7 -0
- package/dist/calcite/p-a21fdce3.js +7 -0
- package/dist/calcite/p-a2f5ba43.entry.js +7 -0
- package/dist/calcite/p-a40f1c52.entry.js +7 -0
- package/dist/calcite/p-a4cf8317.js +7 -0
- package/dist/calcite/p-a5f7ec5b.js +7 -0
- package/dist/calcite/p-a906aea8.js +7 -0
- package/dist/calcite/p-a9167810.js +7 -0
- package/dist/calcite/p-a9b78bc9.entry.js +7 -0
- package/dist/calcite/p-a9ba2a62.entry.js +7 -0
- package/dist/calcite/p-a9f95250.js +7 -0
- package/dist/calcite/p-aa63ef65.entry.js +7 -0
- package/dist/calcite/p-ac94d37a.js +7 -0
- package/dist/calcite/p-b045c3fc.js +7 -0
- package/dist/calcite/p-b2bff1bc.entry.js +7 -0
- package/dist/calcite/p-b47c70e1.js +7 -0
- package/dist/calcite/p-b598c834.entry.js +7 -0
- package/dist/calcite/p-b75d2697.js +7 -0
- package/dist/calcite/p-b978a4a3.js +7 -0
- package/dist/calcite/p-b9f7e56e.js +7 -0
- package/dist/calcite/p-bb9e3d36.js +7 -0
- package/dist/calcite/p-bc9ca886.js +7 -0
- package/dist/calcite/p-bf7bfd7c.entry.js +7 -0
- package/dist/calcite/p-bf7f8967.js +7 -0
- package/dist/calcite/p-bff2e8cc.js +7 -0
- package/dist/calcite/p-bff89b22.js +7 -0
- package/dist/calcite/p-c004b956.js +7 -0
- package/dist/calcite/p-c16ae609.entry.js +7 -0
- package/dist/calcite/p-c1ef1849.js +7 -0
- package/dist/calcite/p-c504ad68.js +7 -0
- package/dist/calcite/p-c676e0f1.js +7 -0
- package/dist/calcite/p-c6f45282.entry.js +7 -0
- package/dist/calcite/p-ca79d05a.js +7 -0
- package/dist/calcite/p-cd53d08d.js +7 -0
- package/dist/calcite/p-cde56e21.entry.js +7 -0
- package/dist/calcite/p-cf536cc0.entry.js +7 -0
- package/dist/calcite/p-d088f935.js +7 -0
- package/dist/calcite/p-d1c5835f.entry.js +7 -0
- package/dist/calcite/p-d1c5835f.entry.js.map +1 -0
- package/dist/calcite/p-d1f9d3b0.entry.js +7 -0
- package/dist/calcite/p-d65927e0.entry.js +7 -0
- package/dist/calcite/p-d6b9f54e.js +7 -0
- package/dist/calcite/p-d9060d4d.js +7 -0
- package/dist/calcite/p-d96c05eb.js +7 -0
- package/dist/calcite/p-daeaa07b.entry.js +7 -0
- package/dist/calcite/p-dbaee29f.entry.js +7 -0
- package/dist/calcite/p-df7a1a25.js +7 -0
- package/dist/calcite/p-e1368075.entry.js +7 -0
- package/dist/calcite/p-e19e6f7c.entry.js +7 -0
- package/dist/calcite/p-e3537167.entry.js +7 -0
- package/dist/calcite/p-e3537167.entry.js.map +1 -0
- package/dist/calcite/p-e6104656.js +7 -0
- package/dist/calcite/p-e78bd00c.js +7 -0
- package/dist/calcite/p-e92b7c57.entry.js +7 -0
- package/dist/calcite/p-eafc1c23.js +7 -0
- package/dist/calcite/p-ebaf5a94.js +7 -0
- package/dist/calcite/p-ec4e7bf5.entry.js +7 -0
- package/dist/calcite/p-ede3c14b.entry.js +7 -0
- package/dist/calcite/p-ede3c14b.entry.js.map +1 -0
- package/dist/calcite/p-ee921c31.js +7 -0
- package/dist/calcite/p-ef1a6ea3.entry.js +7 -0
- package/dist/calcite/p-ef550ccc.entry.js +7 -0
- package/dist/calcite/p-ef68900f.js +7 -0
- package/dist/calcite/p-ef788d2e.js +7 -0
- package/dist/calcite/p-f0ecbb35.js +7 -0
- package/dist/calcite/p-f2abb58b.js +7 -0
- package/dist/calcite/p-f33d1e19.entry.js +7 -0
- package/dist/calcite/p-f3722d2d.js +7 -0
- package/dist/calcite/p-f38a9f71.js +7 -0
- package/dist/calcite/p-f3fc4eec.entry.js +7 -0
- package/dist/calcite/p-f5c92542.entry.js +7 -0
- package/dist/calcite/p-f5c92542.entry.js.map +1 -0
- package/dist/calcite/p-f6d2eb8e.entry.js +7 -0
- package/dist/calcite/p-f9a349ee.js +7 -0
- package/dist/calcite/p-fa6671a4.entry.js +7 -0
- package/dist/calcite/p-fe5bda81.entry.js +7 -0
- package/dist/calcite/p-fefd2c80.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-e06800dc.js +110 -0
- package/dist/cjs/ExpandToggle-e06800dc.js.map +1 -0
- package/dist/cjs/FloatingArrow-f6e66193.js +49 -0
- package/dist/cjs/FloatingArrow-f6e66193.js.map +1 -0
- package/dist/cjs/Heading-f8213fc2.js +22 -0
- package/dist/cjs/Heading-f8213fc2.js.map +1 -0
- package/dist/cjs/Validation-74c0fe7e.js +18 -0
- package/dist/cjs/Validation-74c0fe7e.js.map +1 -0
- package/dist/cjs/app-globals-69973d44.js +61 -0
- package/dist/cjs/app-globals-69973d44.js.map +1 -0
- package/dist/cjs/ar-ea6f7080.js +106 -0
- package/dist/cjs/ar-ea6f7080.js.map +1 -0
- package/dist/cjs/array-be51b6c0.js +14 -0
- package/dist/cjs/array-be51b6c0.js.map +1 -0
- package/dist/cjs/bg-3aa5b540.js +84 -0
- package/dist/cjs/bg-3aa5b540.js.map +1 -0
- package/dist/cjs/browser-e50a34e1.js +20 -0
- package/dist/cjs/browser-e50a34e1.js.map +1 -0
- package/dist/cjs/bs-616d56a1.js +53 -0
- package/dist/cjs/bs-616d56a1.js.map +1 -0
- package/dist/cjs/ca-f4049a16.js +73 -0
- package/dist/cjs/ca-f4049a16.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -15
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +23 -23
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
- 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-42f9ba05.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-42f9ba05.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 +35 -26
- 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 +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -18
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-ac1538bb.js +30 -0
- package/dist/cjs/component-ac1538bb.js.map +1 -0
- package/dist/cjs/conditionalSlot-7c0bd269.js +60 -0
- package/dist/cjs/conditionalSlot-7c0bd269.js.map +1 -0
- package/dist/cjs/cs-d26ef136.js +149 -0
- package/dist/cjs/cs-d26ef136.js.map +1 -0
- package/dist/cjs/da-b4b8e420.js +68 -0
- package/dist/cjs/da-b4b8e420.js.map +1 -0
- package/dist/cjs/de-at-237d5212.js +92 -0
- package/dist/cjs/de-at-237d5212.js.map +1 -0
- package/dist/cjs/de-ch-a4d4316b.js +92 -0
- package/dist/cjs/de-ch-a4d4316b.js.map +1 -0
- package/dist/cjs/de-e64d6c66.js +93 -0
- package/dist/cjs/de-e64d6c66.js.map +1 -0
- package/dist/cjs/debounce-4c5be099.js +498 -0
- package/dist/cjs/debounce-4c5be099.js.map +1 -0
- package/dist/cjs/dom-ae40bb19.js +1084 -0
- package/dist/cjs/dom-ae40bb19.js.map +1 -0
- package/dist/cjs/el-da737e68.js +68 -0
- package/dist/cjs/el-da737e68.js.map +1 -0
- package/dist/cjs/en-au-892361f2.js +68 -0
- package/dist/cjs/en-au-892361f2.js.map +1 -0
- package/dist/cjs/en-ca-6aebcbbd.js +67 -0
- package/dist/cjs/en-ca-6aebcbbd.js.map +1 -0
- package/dist/cjs/en-gb-c6075051.js +71 -0
- package/dist/cjs/en-gb-c6075051.js.map +1 -0
- package/dist/cjs/es-b75bef9b.js +68 -0
- package/dist/cjs/es-b75bef9b.js.map +1 -0
- package/dist/cjs/es-mx-6d5a3d32.js +67 -0
- package/dist/cjs/es-mx-6d5a3d32.js.map +1 -0
- package/dist/cjs/et-27fb9f67.js +94 -0
- package/dist/cjs/et-27fb9f67.js.map +1 -0
- package/dist/cjs/fi-86c56d7b.js +117 -0
- package/dist/cjs/fi-86c56d7b.js.map +1 -0
- package/dist/cjs/filter-1650adb2.js +762 -0
- package/dist/cjs/filter-1650adb2.js.map +1 -0
- package/dist/cjs/floating-ui-5c8b80d7.js +1965 -0
- package/dist/cjs/floating-ui-5c8b80d7.js.map +1 -0
- package/dist/cjs/focusTrapComponent-bbb911ed.js +1020 -0
- package/dist/cjs/focusTrapComponent-bbb911ed.js.map +1 -0
- package/dist/cjs/form-ec3b44e1.js +313 -0
- package/dist/cjs/form-ec3b44e1.js.map +1 -0
- package/dist/cjs/fr-ch-e283552b.js +68 -0
- package/dist/cjs/fr-ch-e283552b.js.map +1 -0
- package/dist/cjs/fr-e0b11c42.js +70 -0
- package/dist/cjs/fr-e0b11c42.js.map +1 -0
- package/dist/cjs/guid-edb0f959.js +23 -0
- package/dist/cjs/guid-edb0f959.js.map +1 -0
- package/dist/cjs/he-0604a4ee.js +107 -0
- package/dist/cjs/he-0604a4ee.js.map +1 -0
- package/dist/cjs/hi-671b7af5.js +67 -0
- package/dist/cjs/hi-671b7af5.js.map +1 -0
- package/dist/cjs/hr-c78fcdb6.js +82 -0
- package/dist/cjs/hr-c78fcdb6.js.map +1 -0
- package/dist/cjs/hu-007003d6.js +90 -0
- package/dist/cjs/hu-007003d6.js.map +1 -0
- package/dist/cjs/id-d6680ac4.js +68 -0
- package/dist/cjs/id-d6680ac4.js.map +1 -0
- package/dist/cjs/index-5943ccec.js +208 -0
- package/dist/cjs/index-5943ccec.js.map +1 -0
- package/dist/cjs/index-9c1ca3af.js +2655 -0
- package/dist/cjs/index-9c1ca3af.js.map +1 -0
- package/dist/cjs/index-d023201c.js +75 -0
- package/dist/cjs/index-d023201c.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-2984859f.js +141 -0
- package/dist/cjs/interactive-2984859f.js.map +1 -0
- package/dist/cjs/it-24e30e7a.js +68 -0
- package/dist/cjs/it-24e30e7a.js.map +1 -0
- package/dist/cjs/it-ch-ce7f4f2f.js +68 -0
- package/dist/cjs/it-ch-ce7f4f2f.js.map +1 -0
- package/dist/cjs/ja-8d7d05e1.js +74 -0
- package/dist/cjs/ja-8d7d05e1.js.map +1 -0
- package/dist/cjs/key-dad141cc.js +16 -0
- package/dist/cjs/key-dad141cc.js.map +1 -0
- package/dist/cjs/ko-1108d5f4.js +74 -0
- package/dist/cjs/ko-1108d5f4.js.map +1 -0
- package/dist/cjs/label-71f7b377.js +183 -0
- package/dist/cjs/label-71f7b377.js.map +1 -0
- package/dist/cjs/loadable-d6296ae3.js +91 -0
- package/dist/cjs/loadable-d6296ae3.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-ac4220ab.js +576 -0
- package/dist/cjs/locale-ac4220ab.js.map +1 -0
- package/dist/cjs/lt-63b9ab8e.js +99 -0
- package/dist/cjs/lt-63b9ab8e.js.map +1 -0
- package/dist/cjs/lv-81aa3a29.js +68 -0
- package/dist/cjs/lv-81aa3a29.js.map +1 -0
- package/dist/cjs/math-00db4b2f.js +57 -0
- package/dist/cjs/math-00db4b2f.js.map +1 -0
- package/dist/cjs/mk-b12da925.js +68 -0
- package/dist/cjs/mk-b12da925.js.map +1 -0
- package/dist/cjs/nb-de2e3209.js +69 -0
- package/dist/cjs/nb-de2e3209.js.map +1 -0
- package/dist/cjs/nl-a522f1da.js +69 -0
- package/dist/cjs/nl-a522f1da.js.map +1 -0
- package/dist/cjs/observers-14b8acd3.js +50 -0
- package/dist/cjs/observers-14b8acd3.js.map +1 -0
- package/dist/cjs/openCloseComponent-7778732b.js +89 -0
- package/dist/cjs/openCloseComponent-7778732b.js.map +1 -0
- package/dist/cjs/pl-fb9e3790.js +116 -0
- package/dist/cjs/pl-fb9e3790.js.map +1 -0
- package/dist/cjs/pt-9a8f39b8.js +69 -0
- package/dist/cjs/pt-9a8f39b8.js.map +1 -0
- package/dist/cjs/pt-br-55513fa2.js +67 -0
- package/dist/cjs/pt-br-55513fa2.js.map +1 -0
- package/dist/cjs/resources-096cb6d5.js +49 -0
- package/dist/cjs/resources-096cb6d5.js.map +1 -0
- package/dist/cjs/resources-9939174a.js +29 -0
- package/dist/cjs/resources-9939174a.js.map +1 -0
- package/dist/cjs/resources-d90e30b8.js +26 -0
- package/dist/cjs/resources-d90e30b8.js.map +1 -0
- package/dist/cjs/resources-ed556415.js +414 -0
- package/dist/cjs/resources-ed556415.js.map +1 -0
- package/dist/cjs/resources-ee038aff.js +26 -0
- package/dist/cjs/resources-ee038aff.js.map +1 -0
- package/dist/cjs/resources-f05ac264.js +23 -0
- package/dist/cjs/resources-f05ac264.js.map +1 -0
- package/dist/cjs/resources-f506fa21.js +17 -0
- package/dist/cjs/resources-f506fa21.js.map +1 -0
- package/dist/cjs/ro-a0e9feef.js +68 -0
- package/dist/cjs/ro-a0e9feef.js.map +1 -0
- package/dist/cjs/ru-5624a2d3.js +128 -0
- package/dist/cjs/ru-5624a2d3.js.map +1 -0
- package/dist/cjs/sk-ee231cba.js +150 -0
- package/dist/cjs/sk-ee231cba.js.map +1 -0
- package/dist/cjs/sl-7e89e8f4.js +170 -0
- package/dist/cjs/sl-7e89e8f4.js.map +1 -0
- package/dist/cjs/sortableComponent-fd7eab1d.js +2739 -0
- package/dist/cjs/sortableComponent-fd7eab1d.js.map +1 -0
- package/dist/cjs/sr-31c3177a.js +103 -0
- package/dist/cjs/sr-31c3177a.js.map +1 -0
- package/dist/cjs/sv-fd763b85.js +73 -0
- package/dist/cjs/sv-fd763b85.js.map +1 -0
- package/dist/cjs/t9n-c251b69c.js +97 -0
- package/dist/cjs/t9n-c251b69c.js.map +1 -0
- package/dist/cjs/th-1a4e9b0b.js +67 -0
- package/dist/cjs/th-1a4e9b0b.js.map +1 -0
- package/dist/cjs/throttle-dcd8c84f.js +77 -0
- package/dist/cjs/throttle-dcd8c84f.js.map +1 -0
- package/dist/cjs/tr-2396ca17.js +68 -0
- package/dist/cjs/tr-2396ca17.js.map +1 -0
- package/dist/cjs/uk-b8addf2a.js +106 -0
- package/dist/cjs/uk-b8addf2a.js.map +1 -0
- package/dist/cjs/utils-2e21e202.js +218 -0
- package/dist/cjs/utils-2e21e202.js.map +1 -0
- package/dist/cjs/utils-3d297d2a.js +307 -0
- package/dist/cjs/utils-3d297d2a.js.map +1 -0
- package/dist/cjs/vi-a3321881.js +72 -0
- package/dist/cjs/vi-a3321881.js.map +1 -0
- package/dist/cjs/zh-cn-675e5f95.js +96 -0
- package/dist/cjs/zh-cn-675e5f95.js.map +1 -0
- package/dist/cjs/zh-hk-c5d638e6.js +73 -0
- package/dist/cjs/zh-hk-c5d638e6.js.map +1 -0
- package/dist/cjs/zh-tw-6f59d091.js +94 -0
- package/dist/cjs/zh-tw-6f59d091.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.e2e.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.js +8 -1
- package/dist/collection/components/chip/chip.e2e.js.map +1 -1
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +2 -2
- package/dist/collection/components/combobox/combobox.js.map +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +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 +48 -1
- package/dist/collection/components/list/list.e2e.js.map +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +21 -12
- 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 +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.e2e.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +21 -12
- package/dist/components/calcite-list-item.js.map +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +2 -2
- package/dist/components/chip.js.map +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +11 -5
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-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 +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/radio-button.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-a509bbe8.js +102 -0
- package/dist/esm/ExpandToggle-a509bbe8.js.map +1 -0
- package/dist/esm/FloatingArrow-07e18275.js +47 -0
- package/dist/esm/FloatingArrow-07e18275.js.map +1 -0
- package/dist/esm/Heading-1f04e516.js +19 -0
- package/dist/esm/Heading-1f04e516.js.map +1 -0
- package/dist/esm/Validation-207c9f1e.js +16 -0
- package/dist/esm/Validation-207c9f1e.js.map +1 -0
- package/dist/esm/app-globals-b5caed77.js +59 -0
- package/dist/esm/app-globals-b5caed77.js.map +1 -0
- package/dist/esm/ar-0bbbb8a3.js +104 -0
- package/dist/esm/ar-0bbbb8a3.js.map +1 -0
- package/dist/esm/array-2c134ecc.js +12 -0
- package/dist/esm/array-2c134ecc.js.map +1 -0
- package/dist/esm/bg-106e7487.js +82 -0
- package/dist/esm/bg-106e7487.js.map +1 -0
- package/dist/esm/browser-1b0c8b03.js +18 -0
- package/dist/esm/browser-1b0c8b03.js.map +1 -0
- package/dist/esm/bs-a3720c24.js +51 -0
- package/dist/esm/bs-a3720c24.js.map +1 -0
- package/dist/esm/ca-2a3ca2e4.js +71 -0
- package/dist/esm/ca-2a3ca2e4.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +15 -15
- package/dist/esm/calcite-chip.entry.js.map +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +23 -23
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +21 -21
- 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-d9a9bfe9.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-d9a9bfe9.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 +35 -26
- 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 +5 -5
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +18 -18
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-576e6e8f.js +27 -0
- package/dist/esm/component-576e6e8f.js.map +1 -0
- package/dist/esm/conditionalSlot-4dc127b7.js +57 -0
- package/dist/esm/conditionalSlot-4dc127b7.js.map +1 -0
- package/dist/esm/cs-0a94f161.js +147 -0
- package/dist/esm/cs-0a94f161.js.map +1 -0
- package/dist/esm/da-320a360b.js +66 -0
- package/dist/esm/da-320a360b.js.map +1 -0
- package/dist/esm/de-at-a91c3bf2.js +90 -0
- package/dist/esm/de-at-a91c3bf2.js.map +1 -0
- package/dist/esm/de-c3ce66e6.js +91 -0
- package/dist/esm/de-c3ce66e6.js.map +1 -0
- package/dist/esm/de-ch-e14fd6cd.js +90 -0
- package/dist/esm/de-ch-e14fd6cd.js.map +1 -0
- package/dist/esm/debounce-c167ed0f.js +489 -0
- package/dist/esm/debounce-c167ed0f.js.map +1 -0
- package/dist/esm/dom-529b1639.js +1053 -0
- package/dist/esm/dom-529b1639.js.map +1 -0
- package/dist/esm/el-e1446379.js +66 -0
- package/dist/esm/el-e1446379.js.map +1 -0
- package/dist/esm/en-au-b11fbf39.js +66 -0
- package/dist/esm/en-au-b11fbf39.js.map +1 -0
- package/dist/esm/en-ca-a284d5bd.js +65 -0
- package/dist/esm/en-ca-a284d5bd.js.map +1 -0
- package/dist/esm/en-gb-30f7072b.js +69 -0
- package/dist/esm/en-gb-30f7072b.js.map +1 -0
- package/dist/esm/es-161e418f.js +66 -0
- package/dist/esm/es-161e418f.js.map +1 -0
- package/dist/esm/es-mx-0156c277.js +65 -0
- package/dist/esm/es-mx-0156c277.js.map +1 -0
- package/dist/esm/et-fad072c6.js +92 -0
- package/dist/esm/et-fad072c6.js.map +1 -0
- package/dist/esm/fi-a716102d.js +115 -0
- package/dist/esm/fi-a716102d.js.map +1 -0
- package/dist/esm/filter-fea83ced.js +760 -0
- package/dist/esm/filter-fea83ced.js.map +1 -0
- package/dist/esm/floating-ui-f26033b4.js +1957 -0
- package/dist/esm/floating-ui-f26033b4.js.map +1 -0
- package/dist/esm/focusTrapComponent-bc7da440.js +1015 -0
- package/dist/esm/focusTrapComponent-bc7da440.js.map +1 -0
- package/dist/esm/form-52ec45a3.js +304 -0
- package/dist/esm/form-52ec45a3.js.map +1 -0
- package/dist/esm/fr-33ba9a7d.js +68 -0
- package/dist/esm/fr-33ba9a7d.js.map +1 -0
- package/dist/esm/fr-ch-208d7aa3.js +66 -0
- package/dist/esm/fr-ch-208d7aa3.js.map +1 -0
- package/dist/esm/guid-d7fe9df2.js +21 -0
- package/dist/esm/guid-d7fe9df2.js.map +1 -0
- package/dist/esm/he-acf04dd0.js +105 -0
- package/dist/esm/he-acf04dd0.js.map +1 -0
- package/dist/esm/hi-6dad4bc4.js +65 -0
- package/dist/esm/hi-6dad4bc4.js.map +1 -0
- package/dist/esm/hr-a8df472d.js +80 -0
- package/dist/esm/hr-a8df472d.js.map +1 -0
- package/dist/esm/hu-65ca49da.js +88 -0
- package/dist/esm/hu-65ca49da.js.map +1 -0
- package/dist/esm/id-30c2fa49.js +66 -0
- package/dist/esm/id-30c2fa49.js.map +1 -0
- package/dist/esm/index-2db5ce78.js +2620 -0
- package/dist/esm/index-2db5ce78.js.map +1 -0
- package/dist/esm/index-c71b9c9a.js +206 -0
- package/dist/esm/index-c71b9c9a.js.map +1 -0
- package/dist/esm/index-e84b7d8b.js +73 -0
- package/dist/esm/index-e84b7d8b.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-38ac78fb.js +136 -0
- package/dist/esm/interactive-38ac78fb.js.map +1 -0
- package/dist/esm/it-ch-912cae37.js +66 -0
- package/dist/esm/it-ch-912cae37.js.map +1 -0
- package/dist/esm/it-d11c7725.js +66 -0
- package/dist/esm/it-d11c7725.js.map +1 -0
- package/dist/esm/ja-08435932.js +72 -0
- package/dist/esm/ja-08435932.js.map +1 -0
- package/dist/esm/key-22d0cdf0.js +13 -0
- package/dist/esm/key-22d0cdf0.js.map +1 -0
- package/dist/esm/ko-6fa3c1da.js +72 -0
- package/dist/esm/ko-6fa3c1da.js.map +1 -0
- package/dist/esm/label-dece1c23.js +176 -0
- package/dist/esm/label-dece1c23.js.map +1 -0
- package/dist/esm/loadable-cba1a0be.js +86 -0
- package/dist/esm/loadable-cba1a0be.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-985eb017.js +563 -0
- package/dist/esm/locale-985eb017.js.map +1 -0
- package/dist/esm/lt-3985db2c.js +97 -0
- package/dist/esm/lt-3985db2c.js.map +1 -0
- package/dist/esm/lv-f1556ac0.js +66 -0
- package/dist/esm/lv-f1556ac0.js.map +1 -0
- package/dist/esm/math-fdcbe292.js +51 -0
- package/dist/esm/math-fdcbe292.js.map +1 -0
- package/dist/esm/mk-2ca1415c.js +66 -0
- package/dist/esm/mk-2ca1415c.js.map +1 -0
- package/dist/esm/nb-f8a33f8f.js +67 -0
- package/dist/esm/nb-f8a33f8f.js.map +1 -0
- package/dist/esm/nl-94c1f98b.js +67 -0
- package/dist/esm/nl-94c1f98b.js.map +1 -0
- package/dist/esm/observers-332cc929.js +48 -0
- package/dist/esm/observers-332cc929.js.map +1 -0
- package/dist/esm/openCloseComponent-00c85ae1.js +87 -0
- package/dist/esm/openCloseComponent-00c85ae1.js.map +1 -0
- package/dist/esm/pl-2c1d3fd1.js +114 -0
- package/dist/esm/pl-2c1d3fd1.js.map +1 -0
- package/dist/esm/pt-0033bef5.js +67 -0
- package/dist/esm/pt-0033bef5.js.map +1 -0
- package/dist/esm/pt-br-e16700b9.js +65 -0
- package/dist/esm/pt-br-e16700b9.js.map +1 -0
- package/dist/esm/resources-22a9dfec.js +17 -0
- package/dist/esm/resources-22a9dfec.js.map +1 -0
- package/dist/esm/resources-65bd7324.js +45 -0
- package/dist/esm/resources-65bd7324.js.map +1 -0
- package/dist/esm/resources-69965996.js +19 -0
- package/dist/esm/resources-69965996.js.map +1 -0
- package/dist/esm/resources-6c6a679f.js +23 -0
- package/dist/esm/resources-6c6a679f.js.map +1 -0
- package/dist/esm/resources-938644dd.js +387 -0
- package/dist/esm/resources-938644dd.js.map +1 -0
- package/dist/esm/resources-f104cc11.js +25 -0
- package/dist/esm/resources-f104cc11.js.map +1 -0
- package/dist/esm/resources-f826c5e3.js +21 -0
- package/dist/esm/resources-f826c5e3.js.map +1 -0
- package/dist/esm/ro-96e97e36.js +66 -0
- package/dist/esm/ro-96e97e36.js.map +1 -0
- package/dist/esm/ru-0855a20e.js +126 -0
- package/dist/esm/ru-0855a20e.js.map +1 -0
- package/dist/esm/sk-66cf8cbb.js +148 -0
- package/dist/esm/sk-66cf8cbb.js.map +1 -0
- package/dist/esm/sl-799c83f4.js +168 -0
- package/dist/esm/sl-799c83f4.js.map +1 -0
- package/dist/esm/sortableComponent-7a5911a2.js +2735 -0
- package/dist/esm/sortableComponent-7a5911a2.js.map +1 -0
- package/dist/esm/sr-9e1adca8.js +101 -0
- package/dist/esm/sr-9e1adca8.js.map +1 -0
- package/dist/esm/sv-6434630b.js +71 -0
- package/dist/esm/sv-6434630b.js.map +1 -0
- package/dist/esm/t9n-9de64403.js +92 -0
- package/dist/esm/t9n-9de64403.js.map +1 -0
- package/dist/esm/th-b7dd04df.js +65 -0
- package/dist/esm/th-b7dd04df.js.map +1 -0
- package/dist/esm/throttle-56402d6a.js +75 -0
- package/dist/esm/throttle-56402d6a.js.map +1 -0
- package/dist/esm/tr-0fb6967b.js +66 -0
- package/dist/esm/tr-0fb6967b.js.map +1 -0
- package/dist/esm/uk-f1042ae6.js +104 -0
- package/dist/esm/uk-f1042ae6.js.map +1 -0
- package/dist/esm/utils-ac25d8bc.js +200 -0
- package/dist/esm/utils-ac25d8bc.js.map +1 -0
- package/dist/esm/utils-bcb0f75e.js +289 -0
- package/dist/esm/utils-bcb0f75e.js.map +1 -0
- package/dist/esm/vi-cf3010cd.js +70 -0
- package/dist/esm/vi-cf3010cd.js.map +1 -0
- package/dist/esm/zh-cn-8e0ff658.js +94 -0
- package/dist/esm/zh-cn-8e0ff658.js.map +1 -0
- package/dist/esm/zh-hk-cefbaf39.js +71 -0
- package/dist/esm/zh-hk-cefbaf39.js.map +1 -0
- package/dist/esm/zh-tw-d6c653e9.js +92 -0
- package/dist/esm/zh-tw-d6c653e9.js.map +1 -0
- package/dist/extras/docs-json.json +14 -4
- 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/list-item/list-item.d.ts +2 -0
- package/hydrate/index.js +25 -16
- package/package.json +3 -3
- package/dist/calcite/p-00c5fd54.js +0 -7
- package/dist/calcite/p-03df6e96.js +0 -7
- package/dist/calcite/p-04ad920d.js +0 -7
- package/dist/calcite/p-05ccbe3b.entry.js +0 -7
- package/dist/calcite/p-064dc69e.entry.js +0 -7
- package/dist/calcite/p-06821432.js +0 -7
- package/dist/calcite/p-09925f1a.js +0 -7
- package/dist/calcite/p-0ba55df1.js +0 -7
- package/dist/calcite/p-0cea0928.entry.js +0 -7
- package/dist/calcite/p-0d3dccf3.entry.js +0 -7
- package/dist/calcite/p-0d3dccf3.entry.js.map +0 -1
- package/dist/calcite/p-117ae764.js +0 -7
- package/dist/calcite/p-136330f6.js +0 -7
- package/dist/calcite/p-140e1981.entry.js +0 -7
- package/dist/calcite/p-14310be9.js +0 -7
- package/dist/calcite/p-14529a0d.js +0 -7
- package/dist/calcite/p-14529a0d.js.map +0 -1
- package/dist/calcite/p-15c20fb1.entry.js +0 -7
- package/dist/calcite/p-15c20fb1.entry.js.map +0 -1
- package/dist/calcite/p-160e006c.js +0 -7
- package/dist/calcite/p-17b85dfe.js +0 -7
- package/dist/calcite/p-1a42b4f5.js +0 -7
- package/dist/calcite/p-1d69302f.entry.js +0 -7
- package/dist/calcite/p-1e21abba.js +0 -8
- package/dist/calcite/p-201be191.js +0 -7
- package/dist/calcite/p-224429d9.entry.js +0 -7
- package/dist/calcite/p-236155ed.js +0 -7
- package/dist/calcite/p-2409e1af.entry.js +0 -7
- package/dist/calcite/p-249d8607.entry.js +0 -7
- package/dist/calcite/p-27011793.entry.js +0 -7
- package/dist/calcite/p-2a3b2ea3.entry.js +0 -7
- package/dist/calcite/p-2a3b2ea3.entry.js.map +0 -1
- package/dist/calcite/p-2c5a04c4.entry.js +0 -7
- package/dist/calcite/p-2c5a04c4.entry.js.map +0 -1
- package/dist/calcite/p-2fd217aa.js +0 -7
- package/dist/calcite/p-30719b16.entry.js +0 -7
- package/dist/calcite/p-30719b16.entry.js.map +0 -1
- package/dist/calcite/p-30b96498.js +0 -7
- package/dist/calcite/p-3499bb54.entry.js +0 -7
- package/dist/calcite/p-3499bb54.entry.js.map +0 -1
- package/dist/calcite/p-3764e60b.js +0 -12
- package/dist/calcite/p-3783aded.js +0 -7
- package/dist/calcite/p-3802f0d4.js +0 -7
- package/dist/calcite/p-3baf70f0.entry.js +0 -7
- package/dist/calcite/p-3d09c003.js +0 -7
- package/dist/calcite/p-3f6d33a5.entry.js +0 -7
- package/dist/calcite/p-3f98ebc6.js +0 -7
- package/dist/calcite/p-3fe98de4.entry.js +0 -7
- package/dist/calcite/p-42497bf1.js +0 -7
- package/dist/calcite/p-43636470.js +0 -7
- package/dist/calcite/p-43885b4b.js +0 -7
- package/dist/calcite/p-4663c26a.js +0 -7
- package/dist/calcite/p-4722f4f0.js +0 -7
- package/dist/calcite/p-4b609d2a.entry.js +0 -7
- package/dist/calcite/p-4b609d2a.entry.js.map +0 -1
- package/dist/calcite/p-4c969d63.js +0 -7
- package/dist/calcite/p-4d564c49.js +0 -7
- package/dist/calcite/p-510a5425.entry.js +0 -7
- package/dist/calcite/p-533e1afa.js +0 -7
- package/dist/calcite/p-53d9081a.js +0 -7
- package/dist/calcite/p-53d97368.entry.js +0 -7
- package/dist/calcite/p-543b449a.entry.js +0 -7
- package/dist/calcite/p-59b8d591.entry.js +0 -7
- package/dist/calcite/p-5a2309b8.js +0 -7
- package/dist/calcite/p-5aaa4939.js +0 -7
- package/dist/calcite/p-5b738927.entry.js +0 -7
- package/dist/calcite/p-5b81304d.js +0 -11
- package/dist/calcite/p-628d3c53.js +0 -7
- package/dist/calcite/p-62c1b385.js +0 -7
- package/dist/calcite/p-64a04c3c.js +0 -7
- package/dist/calcite/p-652474f8.entry.js +0 -7
- package/dist/calcite/p-679a5d68.js +0 -7
- package/dist/calcite/p-67face14.js +0 -7
- package/dist/calcite/p-6870a0aa.js +0 -7
- package/dist/calcite/p-68e11d61.js +0 -7
- package/dist/calcite/p-6a70be7c.entry.js +0 -7
- package/dist/calcite/p-6a70be7c.entry.js.map +0 -1
- package/dist/calcite/p-6a8bfe04.js +0 -7
- package/dist/calcite/p-6b3e2442.js +0 -7
- package/dist/calcite/p-6da48516.js +0 -7
- package/dist/calcite/p-71bdd132.js +0 -7
- package/dist/calcite/p-742290a5.js +0 -7
- package/dist/calcite/p-742802d2.js +0 -7
- package/dist/calcite/p-7608e5f7.entry.js +0 -7
- package/dist/calcite/p-767e8614.js +0 -7
- package/dist/calcite/p-78ef6e4f.js +0 -7
- package/dist/calcite/p-794cf056.entry.js +0 -7
- package/dist/calcite/p-7b791f2a.js +0 -7
- package/dist/calcite/p-7bd6ba15.entry.js +0 -7
- package/dist/calcite/p-7d3cc113.js +0 -7
- package/dist/calcite/p-7e1d8cd7.js +0 -7
- package/dist/calcite/p-7e5b61e6.entry.js +0 -7
- package/dist/calcite/p-7ea48da2.js +0 -7
- package/dist/calcite/p-80ba7f58.entry.js +0 -7
- package/dist/calcite/p-80fdbc92.entry.js +0 -7
- package/dist/calcite/p-8170edb2.js +0 -7
- package/dist/calcite/p-8260fc71.entry.js +0 -7
- package/dist/calcite/p-86bbcb78.js +0 -7
- package/dist/calcite/p-8784b6e4.entry.js +0 -7
- package/dist/calcite/p-879d1023.entry.js +0 -7
- package/dist/calcite/p-879d1023.entry.js.map +0 -1
- package/dist/calcite/p-8899b9f1.entry.js +0 -7
- package/dist/calcite/p-8b8bc233.js +0 -7
- package/dist/calcite/p-8d6359f2.js +0 -7
- package/dist/calcite/p-8e8c3a45.js +0 -7
- package/dist/calcite/p-8fe9a1e6.entry.js +0 -7
- package/dist/calcite/p-90cd7991.js +0 -13
- package/dist/calcite/p-930b1605.js +0 -7
- package/dist/calcite/p-93292eaa.entry.js +0 -7
- package/dist/calcite/p-93cb288f.entry.js +0 -7
- package/dist/calcite/p-94670df6.js +0 -7
- package/dist/calcite/p-95192cf8.js +0 -7
- package/dist/calcite/p-96920004.js +0 -7
- package/dist/calcite/p-96aa467c.js +0 -7
- package/dist/calcite/p-97fcfcb3.entry.js +0 -7
- package/dist/calcite/p-9a7441dc.entry.js +0 -7
- package/dist/calcite/p-9ac2458d.entry.js +0 -7
- package/dist/calcite/p-9af3c6bb.js +0 -7
- package/dist/calcite/p-a0be6191.entry.js +0 -7
- package/dist/calcite/p-a179158c.js +0 -7
- package/dist/calcite/p-a3b15468.entry.js +0 -7
- package/dist/calcite/p-a4d0bcf0.entry.js +0 -7
- package/dist/calcite/p-a558208d.entry.js +0 -7
- package/dist/calcite/p-a558208d.entry.js.map +0 -1
- package/dist/calcite/p-a57f2e30.entry.js +0 -7
- package/dist/calcite/p-a57f2e30.entry.js.map +0 -1
- package/dist/calcite/p-a7175d26.js +0 -7
- package/dist/calcite/p-ace12db0.js +0 -7
- package/dist/calcite/p-ae0dbff3.entry.js +0 -7
- package/dist/calcite/p-ae96850c.js +0 -7
- package/dist/calcite/p-b316aa58.entry.js +0 -7
- package/dist/calcite/p-b89befa3.js +0 -7
- package/dist/calcite/p-b8a7df27.js +0 -7
- package/dist/calcite/p-bd13b093.entry.js +0 -7
- package/dist/calcite/p-bfdfb32a.entry.js +0 -7
- package/dist/calcite/p-c2369029.entry.js +0 -7
- package/dist/calcite/p-c2e24b22.entry.js +0 -7
- package/dist/calcite/p-c33017fd.js +0 -7
- package/dist/calcite/p-c60b9875.js +0 -7
- package/dist/calcite/p-c61a50a5.entry.js +0 -7
- package/dist/calcite/p-c71be076.entry.js +0 -7
- package/dist/calcite/p-c77f71b6.entry.js +0 -7
- package/dist/calcite/p-c7a46a79.js +0 -7
- package/dist/calcite/p-cb04a5c9.entry.js +0 -7
- package/dist/calcite/p-ccb2b27c.entry.js +0 -7
- package/dist/calcite/p-cd21ddd8.entry.js +0 -7
- package/dist/calcite/p-ce64751e.js +0 -7
- package/dist/calcite/p-ceb52538.entry.js +0 -7
- package/dist/calcite/p-cec2ff90.js +0 -7
- package/dist/calcite/p-cee3403c.entry.js +0 -7
- package/dist/calcite/p-cee3403c.entry.js.map +0 -1
- package/dist/calcite/p-d0d0b694.entry.js +0 -7
- package/dist/calcite/p-d341d780.entry.js +0 -7
- package/dist/calcite/p-d97ea44d.js +0 -7
- package/dist/calcite/p-de2c5acd.entry.js +0 -7
- package/dist/calcite/p-e424cc12.js +0 -7
- package/dist/calcite/p-e5d5ab9a.entry.js +0 -7
- package/dist/calcite/p-e691fd27.entry.js +0 -7
- package/dist/calcite/p-e8a9f02d.entry.js +0 -7
- package/dist/calcite/p-e8ce7780.entry.js +0 -7
- package/dist/calcite/p-ea864adc.js +0 -7
- package/dist/calcite/p-ec6c49a0.entry.js +0 -7
- package/dist/calcite/p-ee088628.js +0 -7
- package/dist/calcite/p-eee3f02e.js +0 -7
- package/dist/calcite/p-efc60044.js +0 -7
- package/dist/calcite/p-f1337af1.js +0 -7
- package/dist/calcite/p-f1aa5e57.js +0 -7
- package/dist/calcite/p-f21a9f7b.entry.js +0 -7
- package/dist/calcite/p-f23c6fc0.js +0 -7
- package/dist/calcite/p-f71a6a50.entry.js +0 -7
- package/dist/calcite/p-fd43b652.js +0 -7
- package/dist/calcite/p-fe04468b.js +0 -7
- package/dist/calcite/p-ff063b2d.js +0 -7
- package/dist/cjs/ExpandToggle-2d673973.js +0 -110
- package/dist/cjs/ExpandToggle-2d673973.js.map +0 -1
- package/dist/cjs/FloatingArrow-05d6c6bb.js +0 -49
- package/dist/cjs/FloatingArrow-05d6c6bb.js.map +0 -1
- package/dist/cjs/Heading-568e4f31.js +0 -22
- package/dist/cjs/Heading-568e4f31.js.map +0 -1
- package/dist/cjs/Validation-6880743c.js +0 -18
- package/dist/cjs/Validation-6880743c.js.map +0 -1
- package/dist/cjs/app-globals-1be286a3.js +0 -61
- package/dist/cjs/app-globals-1be286a3.js.map +0 -1
- package/dist/cjs/ar-9c890712.js +0 -106
- package/dist/cjs/ar-9c890712.js.map +0 -1
- package/dist/cjs/array-c578685c.js +0 -14
- package/dist/cjs/array-c578685c.js.map +0 -1
- package/dist/cjs/bg-edb92448.js +0 -84
- package/dist/cjs/bg-edb92448.js.map +0 -1
- package/dist/cjs/browser-7c5cf20b.js +0 -20
- package/dist/cjs/browser-7c5cf20b.js.map +0 -1
- package/dist/cjs/bs-91a929ea.js +0 -53
- package/dist/cjs/bs-91a929ea.js.map +0 -1
- package/dist/cjs/ca-ef8e7f71.js +0 -73
- package/dist/cjs/ca-ef8e7f71.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-3b14ddb4.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-3b14ddb4.js.map +0 -1
- package/dist/cjs/component-1860c013.js +0 -30
- package/dist/cjs/component-1860c013.js.map +0 -1
- package/dist/cjs/conditionalSlot-700a1d0e.js +0 -60
- package/dist/cjs/conditionalSlot-700a1d0e.js.map +0 -1
- package/dist/cjs/cs-3cb83812.js +0 -149
- package/dist/cjs/cs-3cb83812.js.map +0 -1
- package/dist/cjs/da-46e4836f.js +0 -68
- package/dist/cjs/da-46e4836f.js.map +0 -1
- package/dist/cjs/de-1a6cced1.js +0 -93
- package/dist/cjs/de-1a6cced1.js.map +0 -1
- package/dist/cjs/de-at-2dcf1ee9.js +0 -92
- package/dist/cjs/de-at-2dcf1ee9.js.map +0 -1
- package/dist/cjs/de-ch-bf268c40.js +0 -92
- package/dist/cjs/de-ch-bf268c40.js.map +0 -1
- package/dist/cjs/debounce-da15d1a2.js +0 -498
- package/dist/cjs/debounce-da15d1a2.js.map +0 -1
- package/dist/cjs/dom-e84cd6f0.js +0 -1084
- package/dist/cjs/dom-e84cd6f0.js.map +0 -1
- package/dist/cjs/el-a4d68461.js +0 -68
- package/dist/cjs/el-a4d68461.js.map +0 -1
- package/dist/cjs/en-au-c46f7832.js +0 -68
- package/dist/cjs/en-au-c46f7832.js.map +0 -1
- package/dist/cjs/en-ca-4c7e2173.js +0 -67
- package/dist/cjs/en-ca-4c7e2173.js.map +0 -1
- package/dist/cjs/en-gb-bbdcad03.js +0 -71
- package/dist/cjs/en-gb-bbdcad03.js.map +0 -1
- package/dist/cjs/es-b7034148.js +0 -68
- package/dist/cjs/es-b7034148.js.map +0 -1
- package/dist/cjs/es-mx-3cf94726.js +0 -67
- package/dist/cjs/es-mx-3cf94726.js.map +0 -1
- package/dist/cjs/et-79d82eb9.js +0 -94
- package/dist/cjs/et-79d82eb9.js.map +0 -1
- package/dist/cjs/fi-562b08bd.js +0 -117
- package/dist/cjs/fi-562b08bd.js.map +0 -1
- package/dist/cjs/filter-c606410f.js +0 -762
- package/dist/cjs/filter-c606410f.js.map +0 -1
- package/dist/cjs/floating-ui-51d5db35.js +0 -1965
- package/dist/cjs/floating-ui-51d5db35.js.map +0 -1
- package/dist/cjs/focusTrapComponent-39452948.js +0 -1020
- package/dist/cjs/focusTrapComponent-39452948.js.map +0 -1
- package/dist/cjs/form-11198345.js +0 -313
- package/dist/cjs/form-11198345.js.map +0 -1
- package/dist/cjs/fr-2d930b95.js +0 -70
- package/dist/cjs/fr-2d930b95.js.map +0 -1
- package/dist/cjs/fr-ch-5ad0565f.js +0 -68
- package/dist/cjs/fr-ch-5ad0565f.js.map +0 -1
- package/dist/cjs/guid-25f252bb.js +0 -23
- package/dist/cjs/guid-25f252bb.js.map +0 -1
- package/dist/cjs/he-847ae8b2.js +0 -107
- package/dist/cjs/he-847ae8b2.js.map +0 -1
- package/dist/cjs/hi-f0cf549c.js +0 -67
- package/dist/cjs/hi-f0cf549c.js.map +0 -1
- package/dist/cjs/hr-2236b4a8.js +0 -82
- package/dist/cjs/hr-2236b4a8.js.map +0 -1
- package/dist/cjs/hu-a1f74ed6.js +0 -90
- package/dist/cjs/hu-a1f74ed6.js.map +0 -1
- package/dist/cjs/id-8f791aac.js +0 -68
- package/dist/cjs/id-8f791aac.js.map +0 -1
- package/dist/cjs/index-5e155fd6.js +0 -208
- package/dist/cjs/index-5e155fd6.js.map +0 -1
- package/dist/cjs/index-bae76f0c.js +0 -75
- package/dist/cjs/index-bae76f0c.js.map +0 -1
- package/dist/cjs/index-ff211a0d.js +0 -2655
- package/dist/cjs/index-ff211a0d.js.map +0 -1
- package/dist/cjs/interactive-408e6483.js +0 -141
- package/dist/cjs/interactive-408e6483.js.map +0 -1
- package/dist/cjs/it-2b40b019.js +0 -68
- package/dist/cjs/it-2b40b019.js.map +0 -1
- package/dist/cjs/it-ch-b9f79839.js +0 -68
- package/dist/cjs/it-ch-b9f79839.js.map +0 -1
- package/dist/cjs/ja-17a36ac7.js +0 -74
- package/dist/cjs/ja-17a36ac7.js.map +0 -1
- package/dist/cjs/key-e7d2a5a4.js +0 -16
- package/dist/cjs/key-e7d2a5a4.js.map +0 -1
- package/dist/cjs/ko-b9599ba5.js +0 -74
- package/dist/cjs/ko-b9599ba5.js.map +0 -1
- package/dist/cjs/label-5448ad3b.js +0 -183
- package/dist/cjs/label-5448ad3b.js.map +0 -1
- package/dist/cjs/loadable-295b60a0.js +0 -91
- package/dist/cjs/loadable-295b60a0.js.map +0 -1
- package/dist/cjs/locale-a68fe916.js +0 -576
- package/dist/cjs/locale-a68fe916.js.map +0 -1
- package/dist/cjs/lt-8e79ad8e.js +0 -99
- package/dist/cjs/lt-8e79ad8e.js.map +0 -1
- package/dist/cjs/lv-09447a03.js +0 -68
- package/dist/cjs/lv-09447a03.js.map +0 -1
- package/dist/cjs/math-0561a59e.js +0 -57
- package/dist/cjs/math-0561a59e.js.map +0 -1
- package/dist/cjs/mk-667af14e.js +0 -68
- package/dist/cjs/mk-667af14e.js.map +0 -1
- package/dist/cjs/nb-51cad1e6.js +0 -69
- package/dist/cjs/nb-51cad1e6.js.map +0 -1
- package/dist/cjs/nl-38e47430.js +0 -69
- package/dist/cjs/nl-38e47430.js.map +0 -1
- package/dist/cjs/observers-2968d5ac.js +0 -50
- package/dist/cjs/observers-2968d5ac.js.map +0 -1
- package/dist/cjs/openCloseComponent-29759508.js +0 -89
- package/dist/cjs/openCloseComponent-29759508.js.map +0 -1
- package/dist/cjs/pl-a485ec34.js +0 -116
- package/dist/cjs/pl-a485ec34.js.map +0 -1
- package/dist/cjs/pt-167b016b.js +0 -69
- package/dist/cjs/pt-167b016b.js.map +0 -1
- package/dist/cjs/pt-br-d1831c0a.js +0 -67
- package/dist/cjs/pt-br-d1831c0a.js.map +0 -1
- package/dist/cjs/resources-4d4cbe4b.js +0 -414
- package/dist/cjs/resources-4d4cbe4b.js.map +0 -1
- package/dist/cjs/resources-632ac7db.js +0 -23
- package/dist/cjs/resources-632ac7db.js.map +0 -1
- package/dist/cjs/resources-640b95a8.js +0 -29
- package/dist/cjs/resources-640b95a8.js.map +0 -1
- package/dist/cjs/resources-759a1790.js +0 -26
- package/dist/cjs/resources-759a1790.js.map +0 -1
- package/dist/cjs/resources-981e9a92.js +0 -26
- package/dist/cjs/resources-981e9a92.js.map +0 -1
- package/dist/cjs/resources-a4f1571b.js +0 -17
- package/dist/cjs/resources-a4f1571b.js.map +0 -1
- package/dist/cjs/resources-bf5dfc92.js +0 -49
- package/dist/cjs/resources-bf5dfc92.js.map +0 -1
- package/dist/cjs/ro-3145a98d.js +0 -68
- package/dist/cjs/ro-3145a98d.js.map +0 -1
- package/dist/cjs/ru-c57f4191.js +0 -128
- package/dist/cjs/ru-c57f4191.js.map +0 -1
- package/dist/cjs/sk-71ca1ff9.js +0 -150
- package/dist/cjs/sk-71ca1ff9.js.map +0 -1
- package/dist/cjs/sl-4daa9334.js +0 -170
- package/dist/cjs/sl-4daa9334.js.map +0 -1
- package/dist/cjs/sortableComponent-436c1002.js +0 -2739
- package/dist/cjs/sortableComponent-436c1002.js.map +0 -1
- package/dist/cjs/sr-30dc2b38.js +0 -103
- package/dist/cjs/sr-30dc2b38.js.map +0 -1
- package/dist/cjs/sv-d2e4dc28.js +0 -73
- package/dist/cjs/sv-d2e4dc28.js.map +0 -1
- package/dist/cjs/t9n-c561d5b9.js +0 -97
- package/dist/cjs/t9n-c561d5b9.js.map +0 -1
- package/dist/cjs/th-5d833a11.js +0 -67
- package/dist/cjs/th-5d833a11.js.map +0 -1
- package/dist/cjs/throttle-8ba684d9.js +0 -77
- package/dist/cjs/throttle-8ba684d9.js.map +0 -1
- package/dist/cjs/tr-9e2f3d83.js +0 -68
- package/dist/cjs/tr-9e2f3d83.js.map +0 -1
- package/dist/cjs/uk-90ae7ccc.js +0 -106
- package/dist/cjs/uk-90ae7ccc.js.map +0 -1
- package/dist/cjs/utils-2f1b9624.js +0 -307
- package/dist/cjs/utils-2f1b9624.js.map +0 -1
- package/dist/cjs/utils-d86450e6.js +0 -218
- package/dist/cjs/utils-d86450e6.js.map +0 -1
- package/dist/cjs/vi-a12dd597.js +0 -72
- package/dist/cjs/vi-a12dd597.js.map +0 -1
- package/dist/cjs/zh-cn-389bd02d.js +0 -96
- package/dist/cjs/zh-cn-389bd02d.js.map +0 -1
- package/dist/cjs/zh-hk-3e650fd3.js +0 -73
- package/dist/cjs/zh-hk-3e650fd3.js.map +0 -1
- package/dist/cjs/zh-tw-ec91311c.js +0 -94
- package/dist/cjs/zh-tw-ec91311c.js.map +0 -1
- package/dist/esm/ExpandToggle-7b46c5d8.js +0 -102
- package/dist/esm/ExpandToggle-7b46c5d8.js.map +0 -1
- package/dist/esm/FloatingArrow-610889b6.js +0 -47
- package/dist/esm/FloatingArrow-610889b6.js.map +0 -1
- package/dist/esm/Heading-945a0767.js +0 -19
- package/dist/esm/Heading-945a0767.js.map +0 -1
- package/dist/esm/Validation-946c9731.js +0 -16
- package/dist/esm/Validation-946c9731.js.map +0 -1
- package/dist/esm/app-globals-39b02b0f.js +0 -59
- package/dist/esm/app-globals-39b02b0f.js.map +0 -1
- package/dist/esm/ar-d5606cb0.js +0 -104
- package/dist/esm/ar-d5606cb0.js.map +0 -1
- package/dist/esm/array-77c7bbca.js +0 -12
- package/dist/esm/array-77c7bbca.js.map +0 -1
- package/dist/esm/bg-96dc10d4.js +0 -82
- package/dist/esm/bg-96dc10d4.js.map +0 -1
- package/dist/esm/browser-8c3adfbf.js +0 -18
- package/dist/esm/browser-8c3adfbf.js.map +0 -1
- package/dist/esm/bs-43c23818.js +0 -51
- package/dist/esm/bs-43c23818.js.map +0 -1
- package/dist/esm/ca-7f6c3bde.js +0 -71
- package/dist/esm/ca-7f6c3bde.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-18d9a7eb.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-18d9a7eb.js.map +0 -1
- package/dist/esm/component-b909be0a.js +0 -27
- package/dist/esm/component-b909be0a.js.map +0 -1
- package/dist/esm/conditionalSlot-5399c8ad.js +0 -57
- package/dist/esm/conditionalSlot-5399c8ad.js.map +0 -1
- package/dist/esm/cs-1d33165d.js +0 -147
- package/dist/esm/cs-1d33165d.js.map +0 -1
- package/dist/esm/da-d93ec940.js +0 -66
- package/dist/esm/da-d93ec940.js.map +0 -1
- package/dist/esm/de-7f3f4323.js +0 -91
- package/dist/esm/de-7f3f4323.js.map +0 -1
- package/dist/esm/de-at-d18dc701.js +0 -90
- package/dist/esm/de-at-d18dc701.js.map +0 -1
- package/dist/esm/de-ch-e90ce53a.js +0 -90
- package/dist/esm/de-ch-e90ce53a.js.map +0 -1
- package/dist/esm/debounce-3a3140a4.js +0 -489
- package/dist/esm/debounce-3a3140a4.js.map +0 -1
- package/dist/esm/dom-6378c08c.js +0 -1053
- package/dist/esm/dom-6378c08c.js.map +0 -1
- package/dist/esm/el-a9bfb49b.js +0 -66
- package/dist/esm/el-a9bfb49b.js.map +0 -1
- package/dist/esm/en-au-993cf2f4.js +0 -66
- package/dist/esm/en-au-993cf2f4.js.map +0 -1
- package/dist/esm/en-ca-335011c5.js +0 -65
- package/dist/esm/en-ca-335011c5.js.map +0 -1
- package/dist/esm/en-gb-0402207e.js +0 -69
- package/dist/esm/en-gb-0402207e.js.map +0 -1
- package/dist/esm/es-2685bc65.js +0 -66
- package/dist/esm/es-2685bc65.js.map +0 -1
- package/dist/esm/es-mx-79a9efb8.js +0 -65
- package/dist/esm/es-mx-79a9efb8.js.map +0 -1
- package/dist/esm/et-ec45d117.js +0 -92
- package/dist/esm/et-ec45d117.js.map +0 -1
- package/dist/esm/fi-1276a6fa.js +0 -115
- package/dist/esm/fi-1276a6fa.js.map +0 -1
- package/dist/esm/filter-3608d920.js +0 -760
- package/dist/esm/filter-3608d920.js.map +0 -1
- package/dist/esm/floating-ui-4f1980b4.js +0 -1957
- package/dist/esm/floating-ui-4f1980b4.js.map +0 -1
- package/dist/esm/focusTrapComponent-8c0d7b32.js +0 -1015
- package/dist/esm/focusTrapComponent-8c0d7b32.js.map +0 -1
- package/dist/esm/form-5cbc33de.js +0 -304
- package/dist/esm/form-5cbc33de.js.map +0 -1
- package/dist/esm/fr-91d851ad.js +0 -68
- package/dist/esm/fr-91d851ad.js.map +0 -1
- package/dist/esm/fr-ch-8e354aa5.js +0 -66
- package/dist/esm/fr-ch-8e354aa5.js.map +0 -1
- package/dist/esm/guid-9c30360f.js +0 -21
- package/dist/esm/guid-9c30360f.js.map +0 -1
- package/dist/esm/he-10214a06.js +0 -105
- package/dist/esm/he-10214a06.js.map +0 -1
- package/dist/esm/hi-a4215f90.js +0 -65
- package/dist/esm/hi-a4215f90.js.map +0 -1
- package/dist/esm/hr-83d57936.js +0 -80
- package/dist/esm/hr-83d57936.js.map +0 -1
- package/dist/esm/hu-86aec31f.js +0 -88
- package/dist/esm/hu-86aec31f.js.map +0 -1
- package/dist/esm/id-13c435aa.js +0 -66
- package/dist/esm/id-13c435aa.js.map +0 -1
- package/dist/esm/index-276e61df.js +0 -206
- package/dist/esm/index-276e61df.js.map +0 -1
- package/dist/esm/index-ba5a82b3.js +0 -2620
- package/dist/esm/index-ba5a82b3.js.map +0 -1
- package/dist/esm/index-c82c5e03.js +0 -73
- package/dist/esm/index-c82c5e03.js.map +0 -1
- package/dist/esm/interactive-8e364cb8.js +0 -136
- package/dist/esm/interactive-8e364cb8.js.map +0 -1
- package/dist/esm/it-c78cb468.js +0 -66
- package/dist/esm/it-c78cb468.js.map +0 -1
- package/dist/esm/it-ch-7d507038.js +0 -66
- package/dist/esm/it-ch-7d507038.js.map +0 -1
- package/dist/esm/ja-8a99c5ee.js +0 -72
- package/dist/esm/ja-8a99c5ee.js.map +0 -1
- package/dist/esm/key-072e01fe.js +0 -13
- package/dist/esm/key-072e01fe.js.map +0 -1
- package/dist/esm/ko-ec146f53.js +0 -72
- package/dist/esm/ko-ec146f53.js.map +0 -1
- package/dist/esm/label-540f1bf8.js +0 -176
- package/dist/esm/label-540f1bf8.js.map +0 -1
- package/dist/esm/loadable-b7c1478f.js +0 -86
- package/dist/esm/loadable-b7c1478f.js.map +0 -1
- package/dist/esm/locale-7f803dc2.js +0 -563
- package/dist/esm/locale-7f803dc2.js.map +0 -1
- package/dist/esm/lt-8ffc1748.js +0 -97
- package/dist/esm/lt-8ffc1748.js.map +0 -1
- package/dist/esm/lv-23d98bcb.js +0 -66
- package/dist/esm/lv-23d98bcb.js.map +0 -1
- package/dist/esm/math-0bcda14f.js +0 -51
- package/dist/esm/math-0bcda14f.js.map +0 -1
- package/dist/esm/mk-bebaf931.js +0 -66
- package/dist/esm/mk-bebaf931.js.map +0 -1
- package/dist/esm/nb-eec7ee89.js +0 -67
- package/dist/esm/nb-eec7ee89.js.map +0 -1
- package/dist/esm/nl-2796dffa.js +0 -67
- package/dist/esm/nl-2796dffa.js.map +0 -1
- package/dist/esm/observers-bb62377b.js +0 -48
- package/dist/esm/observers-bb62377b.js.map +0 -1
- package/dist/esm/openCloseComponent-959efc09.js +0 -87
- package/dist/esm/openCloseComponent-959efc09.js.map +0 -1
- package/dist/esm/pl-04e41da4.js +0 -114
- package/dist/esm/pl-04e41da4.js.map +0 -1
- package/dist/esm/pt-br-8a6b5042.js +0 -65
- package/dist/esm/pt-br-8a6b5042.js.map +0 -1
- package/dist/esm/pt-e9ec6150.js +0 -67
- package/dist/esm/pt-e9ec6150.js.map +0 -1
- package/dist/esm/resources-6218bbf6.js +0 -19
- package/dist/esm/resources-6218bbf6.js.map +0 -1
- package/dist/esm/resources-8f148f71.js +0 -17
- package/dist/esm/resources-8f148f71.js.map +0 -1
- package/dist/esm/resources-bb751407.js +0 -387
- package/dist/esm/resources-bb751407.js.map +0 -1
- package/dist/esm/resources-cd5395d1.js +0 -45
- package/dist/esm/resources-cd5395d1.js.map +0 -1
- package/dist/esm/resources-f1598738.js +0 -23
- package/dist/esm/resources-f1598738.js.map +0 -1
- package/dist/esm/resources-f390dadd.js +0 -25
- package/dist/esm/resources-f390dadd.js.map +0 -1
- package/dist/esm/resources-f4ed9243.js +0 -21
- package/dist/esm/resources-f4ed9243.js.map +0 -1
- package/dist/esm/ro-1309f4c0.js +0 -66
- package/dist/esm/ro-1309f4c0.js.map +0 -1
- package/dist/esm/ru-b730b6a5.js +0 -126
- package/dist/esm/ru-b730b6a5.js.map +0 -1
- package/dist/esm/sk-fa686854.js +0 -148
- package/dist/esm/sk-fa686854.js.map +0 -1
- package/dist/esm/sl-71eeae74.js +0 -168
- package/dist/esm/sl-71eeae74.js.map +0 -1
- package/dist/esm/sortableComponent-96b9438e.js +0 -2735
- package/dist/esm/sortableComponent-96b9438e.js.map +0 -1
- package/dist/esm/sr-33db1b17.js +0 -101
- package/dist/esm/sr-33db1b17.js.map +0 -1
- package/dist/esm/sv-650809fa.js +0 -71
- package/dist/esm/sv-650809fa.js.map +0 -1
- package/dist/esm/t9n-21c7e93d.js +0 -92
- package/dist/esm/t9n-21c7e93d.js.map +0 -1
- package/dist/esm/th-0c8508f1.js +0 -65
- package/dist/esm/th-0c8508f1.js.map +0 -1
- package/dist/esm/throttle-b70db35e.js +0 -75
- package/dist/esm/throttle-b70db35e.js.map +0 -1
- package/dist/esm/tr-8847b540.js +0 -66
- package/dist/esm/tr-8847b540.js.map +0 -1
- package/dist/esm/uk-f7ce6a63.js +0 -104
- package/dist/esm/uk-f7ce6a63.js.map +0 -1
- package/dist/esm/utils-8dafe4cc.js +0 -289
- package/dist/esm/utils-8dafe4cc.js.map +0 -1
- package/dist/esm/utils-fb2fbf80.js +0 -200
- package/dist/esm/utils-fb2fbf80.js.map +0 -1
- package/dist/esm/vi-921eaf32.js +0 -70
- package/dist/esm/vi-921eaf32.js.map +0 -1
- package/dist/esm/zh-cn-4c22d3ae.js +0 -94
- package/dist/esm/zh-cn-4c22d3ae.js.map +0 -1
- package/dist/esm/zh-hk-6708ba71.js +0 -71
- package/dist/esm/zh-hk-6708ba71.js.map +0 -1
- package/dist/esm/zh-tw-96a37b2c.js +0 -92
- package/dist/esm/zh-tw-96a37b2c.js.map +0 -1
- /package/dist/calcite/{p-3764e60b.js.map → p-02de05ee.js.map} +0 -0
- /package/dist/calcite/{p-80fdbc92.entry.js.map → p-03466e98.entry.js.map} +0 -0
- /package/dist/calcite/{p-0ba55df1.js.map → p-04436d42.js.map} +0 -0
- /package/dist/calcite/{p-03df6e96.js.map → p-05a645c3.js.map} +0 -0
- /package/dist/calcite/{p-30b96498.js.map → p-09556785.js.map} +0 -0
- /package/dist/calcite/{p-767e8614.js.map → p-0d5cef5c.js.map} +0 -0
- /package/dist/calcite/{p-bfdfb32a.entry.js.map → p-10f6f12d.entry.js.map} +0 -0
- /package/dist/calcite/{p-2409e1af.entry.js.map → p-11c99be3.entry.js.map} +0 -0
- /package/dist/calcite/{p-5aaa4939.js.map → p-11f004d7.js.map} +0 -0
- /package/dist/calcite/{p-93cb288f.entry.js.map → p-13715ca5.entry.js.map} +0 -0
- /package/dist/calcite/{p-ae96850c.js.map → p-158326bc.js.map} +0 -0
- /package/dist/calcite/{p-ea864adc.js.map → p-1754bb7a.js.map} +0 -0
- /package/dist/calcite/{p-140e1981.entry.js.map → p-17d3ae23.entry.js.map} +0 -0
- /package/dist/calcite/{p-6da48516.js.map → p-18837e42.js.map} +0 -0
- /package/dist/calcite/{p-5a2309b8.js.map → p-1d6f0290.js.map} +0 -0
- /package/dist/calcite/{p-3f6d33a5.entry.js.map → p-1eeea095.entry.js.map} +0 -0
- /package/dist/calcite/{p-96920004.js.map → p-2637a70b.js.map} +0 -0
- /package/dist/calcite/{p-3783aded.js.map → p-27d39387.js.map} +0 -0
- /package/dist/calcite/{p-1e21abba.js.map → p-289a6e00.js.map} +0 -0
- /package/dist/calcite/{p-c2e24b22.entry.js.map → p-2f59b246.entry.js.map} +0 -0
- /package/dist/calcite/{p-17b85dfe.js.map → p-317dcae9.js.map} +0 -0
- /package/dist/calcite/{p-533e1afa.js.map → p-33abdb88.js.map} +0 -0
- /package/dist/calcite/{p-f23c6fc0.js.map → p-3517b686.js.map} +0 -0
- /package/dist/calcite/{p-67face14.js.map → p-35985f04.js.map} +0 -0
- /package/dist/calcite/{p-ccb2b27c.entry.js.map → p-387307d9.entry.js.map} +0 -0
- /package/dist/calcite/{p-c71be076.entry.js.map → p-3ab59195.entry.js.map} +0 -0
- /package/dist/calcite/{p-8170edb2.js.map → p-3d65f2ef.js.map} +0 -0
- /package/dist/calcite/{p-eee3f02e.js.map → p-3fd462f7.js.map} +0 -0
- /package/dist/calcite/{p-f1337af1.js.map → p-42017f45.js.map} +0 -0
- /package/dist/calcite/{p-a0be6191.entry.js.map → p-42111420.entry.js.map} +0 -0
- /package/dist/calcite/{p-742802d2.js.map → p-446a7aa4.js.map} +0 -0
- /package/dist/calcite/{p-7b791f2a.js.map → p-45a4ca2e.js.map} +0 -0
- /package/dist/calcite/{p-64a04c3c.js.map → p-46d02fb8.js.map} +0 -0
- /package/dist/calcite/{p-ee088628.js.map → p-49064eda.js.map} +0 -0
- /package/dist/calcite/{p-6870a0aa.js.map → p-4b8c8c8f.js.map} +0 -0
- /package/dist/calcite/{p-6a8bfe04.js.map → p-4e28001c.js.map} +0 -0
- /package/dist/calcite/{p-9a7441dc.entry.js.map → p-4e3199c1.entry.js.map} +0 -0
- /package/dist/calcite/{p-0cea0928.entry.js.map → p-4e75ebf6.entry.js.map} +0 -0
- /package/dist/calcite/{p-c60b9875.js.map → p-4ffec203.js.map} +0 -0
- /package/dist/calcite/{p-ace12db0.js.map → p-5009221e.js.map} +0 -0
- /package/dist/calcite/{p-95192cf8.js.map → p-525f320f.js.map} +0 -0
- /package/dist/calcite/{p-1d69302f.entry.js.map → p-529f676b.entry.js.map} +0 -0
- /package/dist/calcite/{p-e8ce7780.entry.js.map → p-56192d9a.entry.js.map} +0 -0
- /package/dist/calcite/{p-80ba7f58.entry.js.map → p-5cf3eb4a.entry.js.map} +0 -0
- /package/dist/calcite/{p-8784b6e4.entry.js.map → p-5d6a4caa.entry.js.map} +0 -0
- /package/dist/calcite/{p-930b1605.js.map → p-5e5900bf.js.map} +0 -0
- /package/dist/calcite/{p-96aa467c.js.map → p-5e6a57f2.js.map} +0 -0
- /package/dist/calcite/{p-3baf70f0.entry.js.map → p-64baf72f.entry.js.map} +0 -0
- /package/dist/calcite/{p-8e8c3a45.js.map → p-661119d5.js.map} +0 -0
- /package/dist/calcite/{p-224429d9.entry.js.map → p-69f692f9.entry.js.map} +0 -0
- /package/dist/calcite/{p-ae0dbff3.entry.js.map → p-6a1caa77.entry.js.map} +0 -0
- /package/dist/calcite/{p-cb04a5c9.entry.js.map → p-6a2062cd.entry.js.map} +0 -0
- /package/dist/calcite/{p-d341d780.entry.js.map → p-6d0ee319.entry.js.map} +0 -0
- /package/dist/calcite/{p-136330f6.js.map → p-72854847.js.map} +0 -0
- /package/dist/calcite/{p-53d97368.entry.js.map → p-751d3815.entry.js.map} +0 -0
- /package/dist/calcite/{p-a179158c.js.map → p-79a9d5f5.js.map} +0 -0
- /package/dist/calcite/{p-00c5fd54.js.map → p-79fd39df.js.map} +0 -0
- /package/dist/calcite/{p-8899b9f1.entry.js.map → p-7e81b930.entry.js.map} +0 -0
- /package/dist/calcite/{p-b89befa3.js.map → p-7f40f967.js.map} +0 -0
- /package/dist/calcite/{p-510a5425.entry.js.map → p-80b19ad6.entry.js.map} +0 -0
- /package/dist/calcite/{p-742290a5.js.map → p-8112aca5.js.map} +0 -0
- /package/dist/calcite/{p-1a42b4f5.js.map → p-83031ec1.js.map} +0 -0
- /package/dist/calcite/{p-90cd7991.js.map → p-84311bfd.js.map} +0 -0
- /package/dist/calcite/{p-de2c5acd.entry.js.map → p-84d3754d.entry.js.map} +0 -0
- /package/dist/calcite/{p-cec2ff90.js.map → p-853b0ef8.js.map} +0 -0
- /package/dist/calcite/{p-7e5b61e6.entry.js.map → p-87db23bc.entry.js.map} +0 -0
- /package/dist/calcite/{p-c61a50a5.entry.js.map → p-8e07a0c0.entry.js.map} +0 -0
- /package/dist/calcite/{p-652474f8.entry.js.map → p-91704116.entry.js.map} +0 -0
- /package/dist/calcite/{p-14310be9.js.map → p-929630e4.js.map} +0 -0
- /package/dist/calcite/{p-05ccbe3b.entry.js.map → p-9629eb1c.entry.js.map} +0 -0
- /package/dist/calcite/{p-7d3cc113.js.map → p-9a3abd23.js.map} +0 -0
- /package/dist/calcite/{p-c77f71b6.entry.js.map → p-9a736108.entry.js.map} +0 -0
- /package/dist/calcite/{p-fd43b652.js.map → p-9ab9e0b2.js.map} +0 -0
- /package/dist/calcite/{p-4d564c49.js.map → p-9c4f8476.js.map} +0 -0
- /package/dist/calcite/{p-5b81304d.js.map → p-9c9323f6.js.map} +0 -0
- /package/dist/calcite/{p-8b8bc233.js.map → p-9ce55312.js.map} +0 -0
- /package/dist/calcite/{p-7bd6ba15.entry.js.map → p-9eefc416.entry.js.map} +0 -0
- /package/dist/calcite/{p-679a5d68.js.map → p-9f448c8b.js.map} +0 -0
- /package/dist/calcite/{p-7608e5f7.entry.js.map → p-a04f4812.entry.js.map} +0 -0
- /package/dist/calcite/{p-7ea48da2.js.map → p-a21fdce3.js.map} +0 -0
- /package/dist/calcite/{p-543b449a.entry.js.map → p-a2f5ba43.entry.js.map} +0 -0
- /package/dist/calcite/{p-ec6c49a0.entry.js.map → p-a40f1c52.entry.js.map} +0 -0
- /package/dist/calcite/{p-a7175d26.js.map → p-a4cf8317.js.map} +0 -0
- /package/dist/calcite/{p-9af3c6bb.js.map → p-a5f7ec5b.js.map} +0 -0
- /package/dist/calcite/{p-09925f1a.js.map → p-a906aea8.js.map} +0 -0
- /package/dist/calcite/{p-71bdd132.js.map → p-a9167810.js.map} +0 -0
- /package/dist/calcite/{p-9ac2458d.entry.js.map → p-a9b78bc9.entry.js.map} +0 -0
- /package/dist/calcite/{p-27011793.entry.js.map → p-a9ba2a62.entry.js.map} +0 -0
- /package/dist/calcite/{p-b8a7df27.js.map → p-a9f95250.js.map} +0 -0
- /package/dist/calcite/{p-97fcfcb3.entry.js.map → p-aa63ef65.entry.js.map} +0 -0
- /package/dist/calcite/{p-3d09c003.js.map → p-ac94d37a.js.map} +0 -0
- /package/dist/calcite/{p-3f98ebc6.js.map → p-b045c3fc.js.map} +0 -0
- /package/dist/calcite/{p-5b738927.entry.js.map → p-b2bff1bc.entry.js.map} +0 -0
- /package/dist/calcite/{p-3802f0d4.js.map → p-b47c70e1.js.map} +0 -0
- /package/dist/calcite/{p-8260fc71.entry.js.map → p-b598c834.entry.js.map} +0 -0
- /package/dist/calcite/{p-628d3c53.js.map → p-b75d2697.js.map} +0 -0
- /package/dist/calcite/{p-78ef6e4f.js.map → p-b978a4a3.js.map} +0 -0
- /package/dist/calcite/{p-94670df6.js.map → p-b9f7e56e.js.map} +0 -0
- /package/dist/calcite/{p-fe04468b.js.map → p-bb9e3d36.js.map} +0 -0
- /package/dist/calcite/{p-ff063b2d.js.map → p-bc9ca886.js.map} +0 -0
- /package/dist/calcite/{p-f71a6a50.entry.js.map → p-bf7bfd7c.entry.js.map} +0 -0
- /package/dist/calcite/{p-86bbcb78.js.map → p-bf7f8967.js.map} +0 -0
- /package/dist/calcite/{p-d97ea44d.js.map → p-bff2e8cc.js.map} +0 -0
- /package/dist/calcite/{p-efc60044.js.map → p-bff89b22.js.map} +0 -0
- /package/dist/calcite/{p-f1aa5e57.js.map → p-c004b956.js.map} +0 -0
- /package/dist/calcite/{p-794cf056.entry.js.map → p-c16ae609.entry.js.map} +0 -0
- /package/dist/calcite/{p-c7a46a79.js.map → p-c1ef1849.js.map} +0 -0
- /package/dist/calcite/{p-7e1d8cd7.js.map → p-c504ad68.js.map} +0 -0
- /package/dist/calcite/{p-68e11d61.js.map → p-c676e0f1.js.map} +0 -0
- /package/dist/calcite/{p-59b8d591.entry.js.map → p-c6f45282.entry.js.map} +0 -0
- /package/dist/calcite/{p-6b3e2442.js.map → p-ca79d05a.js.map} +0 -0
- /package/dist/calcite/{p-06821432.js.map → p-cd53d08d.js.map} +0 -0
- /package/dist/calcite/{p-3fe98de4.entry.js.map → p-cde56e21.entry.js.map} +0 -0
- /package/dist/calcite/{p-e5d5ab9a.entry.js.map → p-cf536cc0.entry.js.map} +0 -0
- /package/dist/calcite/{p-236155ed.js.map → p-d088f935.js.map} +0 -0
- /package/dist/calcite/{p-93292eaa.entry.js.map → p-d1f9d3b0.entry.js.map} +0 -0
- /package/dist/calcite/{p-e691fd27.entry.js.map → p-d65927e0.entry.js.map} +0 -0
- /package/dist/calcite/{p-117ae764.js.map → p-d6b9f54e.js.map} +0 -0
- /package/dist/calcite/{p-e424cc12.js.map → p-d9060d4d.js.map} +0 -0
- /package/dist/calcite/{p-ce64751e.js.map → p-d96c05eb.js.map} +0 -0
- /package/dist/calcite/{p-a3b15468.entry.js.map → p-daeaa07b.entry.js.map} +0 -0
- /package/dist/calcite/{p-8fe9a1e6.entry.js.map → p-dbaee29f.entry.js.map} +0 -0
- /package/dist/calcite/{p-42497bf1.js.map → p-df7a1a25.js.map} +0 -0
- /package/dist/calcite/{p-e8a9f02d.entry.js.map → p-e1368075.entry.js.map} +0 -0
- /package/dist/calcite/{p-b316aa58.entry.js.map → p-e19e6f7c.entry.js.map} +0 -0
- /package/dist/calcite/{p-43636470.js.map → p-e6104656.js.map} +0 -0
- /package/dist/calcite/{p-2fd217aa.js.map → p-e78bd00c.js.map} +0 -0
- /package/dist/calcite/{p-c2369029.entry.js.map → p-e92b7c57.entry.js.map} +0 -0
- /package/dist/calcite/{p-4722f4f0.js.map → p-eafc1c23.js.map} +0 -0
- /package/dist/calcite/{p-62c1b385.js.map → p-ebaf5a94.js.map} +0 -0
- /package/dist/calcite/{p-a4d0bcf0.entry.js.map → p-ec4e7bf5.entry.js.map} +0 -0
- /package/dist/calcite/{p-201be191.js.map → p-ee921c31.js.map} +0 -0
- /package/dist/calcite/{p-d0d0b694.entry.js.map → p-ef1a6ea3.entry.js.map} +0 -0
- /package/dist/calcite/{p-249d8607.entry.js.map → p-ef550ccc.entry.js.map} +0 -0
- /package/dist/calcite/{p-8d6359f2.js.map → p-ef68900f.js.map} +0 -0
- /package/dist/calcite/{p-4c969d63.js.map → p-ef788d2e.js.map} +0 -0
- /package/dist/calcite/{p-43885b4b.js.map → p-f0ecbb35.js.map} +0 -0
- /package/dist/calcite/{p-04ad920d.js.map → p-f2abb58b.js.map} +0 -0
- /package/dist/calcite/{p-cd21ddd8.entry.js.map → p-f33d1e19.entry.js.map} +0 -0
- /package/dist/calcite/{p-c33017fd.js.map → p-f3722d2d.js.map} +0 -0
- /package/dist/calcite/{p-53d9081a.js.map → p-f38a9f71.js.map} +0 -0
- /package/dist/calcite/{p-f21a9f7b.entry.js.map → p-f3fc4eec.entry.js.map} +0 -0
- /package/dist/calcite/{p-bd13b093.entry.js.map → p-f6d2eb8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-160e006c.js.map → p-f9a349ee.js.map} +0 -0
- /package/dist/calcite/{p-ceb52538.entry.js.map → p-fa6671a4.entry.js.map} +0 -0
- /package/dist/calcite/{p-064dc69e.entry.js.map → p-fe5bda81.entry.js.map} +0 -0
- /package/dist/calcite/{p-4663c26a.js.map → p-fefd2c80.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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,g as s,F as a}from"./p-289a6e00.js";import{c as n,d as o,u as c,I as l}from"./p-9ce55312.js";import{s as r,a as d,c as h}from"./p-bc9ca886.js";import{c as p}from"./p-e6104656.js";import{m as f,d as m,a as u,s as g,h as b,b as v,c as x,k as w,i as k,f as y,l as z,j as C,r as L,o as j,p as I,n as H,q as W,t as F,I as _,L as D,u as R,v as M,w as S,C as V,S as A}from"./p-853b0ef8.js";import{c as P,d as T}from"./p-7f40f967.js";import{e as U,t as K}from"./p-02de05ee.js";import{H as O,c as q}from"./p-ca79d05a.js";import{c as E,d as B}from"./p-f3722d2d.js";import{u as G,c as J,s as N,d as Q}from"./p-a906aea8.js";import"./p-e78bd00c.js";import"./p-9f448c8b.js";import"./p-2637a70b.js";import"./p-45a4ca2e.js";import"./p-b75d2697.js";import"./p-446a7aa4.js";const X=":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;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-color-foreground-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";const Y=class{constructor(i){t(this,i);this.calciteListChange=e(this,"calciteListChange",6);this.calciteListFilter=e(this,"calciteListFilter",6);this.lastSelectedItem=null;this.mutationObserver=p("mutation",f.bind(this));this.setFilterEl=t=>{this.filterEl=t};this.setFilteredItems=t=>{this.filteredItems=t};this.deselectRemovedItems=m.bind(this);this.deselectSiblingItems=u.bind(this);this.selectSiblings=g.bind(this);this.handleFilter=b.bind(this);this.handleFilterEvent=v.bind(this);this.getItemData=x.bind(this);this.keyDownHandler=w.bind(this);this.disabled=false;this.filteredItems=[];this.filteredData=[];this.filterEnabled=false;this.filterPlaceholder=undefined;this.filterText=undefined;this.headingLevel=undefined;this.loading=false;this.multiple=false;this.selectionFollowsFocus=false;this.selectedValues=new Map;this.dataForFilter=[]}connectedCallback(){k.call(this);y.call(this);n(this)}disconnectedCallback(){z.call(this);o(this)}componentWillLoad(){r(this)}componentDidLoad(){d(this);C.call(this)}componentDidRender(){c(this)}calciteListItemRemoveHandler(t){L.call(this,t)}calciteListItemChangeHandler(t){j.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation();this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){I.call(this,t);t.stopPropagation()}calciteListFocusOutHandler(t){H.call(this,t)}setUpItems(){W.call(this,"calcite-pick-list-item")}setUpFilter(){if(this.filterEnabled){this.dataForFilter=this.getItemData()}}async getSelectedItems(){return this.selectedValues}async setFocus(t){await h(this);return F.call(this,t)}getIconType(){return this.multiple?_.square:_.circle}render(){return i(D,{onKeyDown:this.keyDownHandler,props:this})}get el(){return s(this)}};Y.style=X;const Z=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-color-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";const $=class{constructor(e){t(this,e);this.groupTitle=undefined;this.headingLevel=undefined}connectedCallback(){P(this)}disconnectedCallback(){T(this)}render(){const{el:t,groupTitle:e,headingLevel:s}=this;const n=U(t,R.parentItem)!==null;const o={[M.container]:true,[M.indented]:n};const c=e;const l=t.closest("calcite-pick-list")?.headingLevel;const r=l?q(l+1):null;const d=s||r;return i(a,null,c?i(O,{class:M.heading,level:d},c):null,i("slot",{name:R.parentItem}),i("section",{class:o},i("slot",null)))}get el(){return s(this)}};$.style=Z;const tt='@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{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label: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 )}.label:hover{background-color:var(--calcite-color-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-color-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-color-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-color-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}';const et=class{constructor(i){t(this,i);this.calciteListItemChange=e(this,"calciteListItemChange",6);this.calciteListItemRemove=e(this,"calciteListItemRemove",7);this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6);this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6);this.pickListClickHandler=t=>{if(this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive){return}this.shiftPressed=t.shiftKey;this.selected=!this.selected};this.pickListKeyDownHandler=t=>{if(t.key===" "){t.preventDefault();if(this.deselectDisabled&&this.selected||this.nonInteractive){return}this.selected=!this.selected}};this.removeClickHandler=()=>{this.calciteListItemRemove.emit()};this.description=undefined;this.disabled=false;this.deselectDisabled=false;this.nonInteractive=false;this.icon=null;this.iconFlipRtl=false;this.label=undefined;this.messageOverrides=undefined;this.messages=undefined;this.metadata=undefined;this.removable=false;this.selected=false;this.value=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed});this.shiftPressed=false}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){G(this,this.effectiveLocale)}connectedCallback(){n(this);E(this);J(this);P(this)}async componentWillLoad(){await N(this);r(this)}componentDidLoad(){d(this)}disconnectedCallback(){o(this);B(this);Q(this);T(this)}componentDidRender(){c(this)}async toggleSelected(t){this.selected=typeof t==="boolean"?t:!this.selected}async setFocus(){await h(this);this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;if(!t){return null}return i("span",{class:{[V.icon]:true,[V.iconDot]:t===_.circle},onClick:this.pickListClickHandler},t===_.square?i("calcite-icon",{flipRtl:e,icon:S.checked,scale:"s"}):null)}renderRemoveAction(){return this.removable?i("calcite-action",{class:V.remove,icon:S.remove,onClick:this.removeClickHandler,slot:A.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;const e=U(t,A.actionsStart);return e?i("div",{class:{[V.actions]:true,[V.actionsStart]:true}},i("slot",{name:A.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;const s=U(t,A.actionsEnd);return s||e?i("div",{class:{[V.actions]:true,[V.actionsEnd]:true}},i("slot",{name:A.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(l,{disabled:this.disabled},this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":e,class:V.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},i("div",{"aria-checked":K(this.selected),class:V.textContainer,role:"menuitemcheckbox"},i("span",{class:V.title},e),t?i("span",{class:V.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};et.style=tt;export{Y as calcite_pick_list,$ as calcite_pick_list_group,et as calcite_pick_list_item};
|
|
7
|
+
//# sourceMappingURL=p-6d0ee319.entry.js.map
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{d as e}from"./p-fefd2c80.js";import"./p-289a6e00.js";import"./p-f0ecbb35.js";import"./p-02de05ee.js";import"./p-45a4ca2e.js";import"./p-b75d2697.js";import"./p-9ce55312.js";import"./p-e78bd00c.js";import"./p-446a7aa4.js";import"./p-9c4f8476.js";import"./p-a5f7ec5b.js";import"./p-bc9ca886.js";import"./p-f3722d2d.js";import"./p-e6104656.js";import"./p-9c9323f6.js";import"./p-ee921c31.js";import"./p-a906aea8.js";import"./p-ef68900f.js";import"./p-cd53d08d.js";var r={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function e(r){var m=r===1?"er":"";return""+r+m}};e.locale(r,null,true);export default r;
|
|
7
|
+
//# sourceMappingURL=p-72854847.js.map
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-289a6e00.js";import{e as a}from"./p-02de05ee.js";import{c as n,d as r,u as h,I as o}from"./p-9ce55312.js";import{c,d as l,g as d}from"./p-9c4f8476.js";import{s as p,a as b,c as u}from"./p-bc9ca886.js";import{c as f,d as g}from"./p-f3722d2d.js";import{c as m}from"./p-e6104656.js";import{c as y,s as w,d as k,u as C}from"./p-a906aea8.js";import"./p-45a4ca2e.js";import"./p-b75d2697.js";import"./p-e78bd00c.js";import"./p-a5f7ec5b.js";import"./p-446a7aa4.js";const v={wrapper:"wrapper",confirmChangesButton:"confirm-changes-button",cancelEditingButton:"cancel-editing-button",inputWrapper:"input-wrapper",cancelEditingButtonWrapper:"cancel-editing-button-wrapper",enableEditingButton:"enable-editing-button",controlsWrapper:"controls-wrapper"};const j=":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}:host([scale=s]) .controls-wrapper{block-size:1.5rem}:host([scale=m]) .controls-wrapper{block-size:2rem}:host([scale=l]) .controls-wrapper{block-size:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-color-foreground-2)}.wrapper{box-sizing:border-box;display:flex;justify-content:space-between;background-color:var(--calcite-color-foreground-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.wrapper .input-wrapper{flex:1 1 0%}.controls-wrapper{display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-color-border-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const E=class{constructor(s){t(this,s);this.calciteInlineEditableEditCancel=i(this,"calciteInlineEditableEditCancel",6);this.calciteInlineEditableEditConfirm=i(this,"calciteInlineEditableEditConfirm",6);this.calciteInternalInlineEditableEnableEditingChange=i(this,"calciteInternalInlineEditableEnableEditingChange",6);this.mutationObserver=m("mutation",(()=>this.mutationObserverCallback()));this.enableEditing=()=>{this.valuePriorToEditing=this.inputElement?.value;this.editingEnabled=true;this.inputElement?.setFocus();this.calciteInternalInlineEditableEnableEditingChange.emit()};this.disableEditing=()=>{this.editingEnabled=false};this.cancelEditing=()=>{if(this.inputElement){this.inputElement.value=this.valuePriorToEditing}this.disableEditing();this.enableEditingButton.setFocus();if(!this.editingEnabled&&!!this.shouldEmitCancel){this.calciteInlineEditableEditCancel.emit()}};this.escapeKeyHandler=async t=>{if(t.defaultPrevented){return}if(t.key==="Escape"){t.preventDefault();this.cancelEditing()}if(t.key==="Tab"&&this.shouldShowControls){if(!t.shiftKey&&t.target===this.inputElement){t.preventDefault();this.cancelEditingButton.setFocus()}if(!!t.shiftKey&&t.target===this.cancelEditingButton){t.preventDefault();this.inputElement?.setFocus()}}};this.cancelEditingHandler=async t=>{t.preventDefault();this.cancelEditing()};this.enableEditingHandler=async t=>{if(this.disabled||t.target===this.cancelEditingButton||t.target===this.confirmEditingButton){return}t.preventDefault();if(!this.editingEnabled){this.enableEditing()}};this.confirmChangesHandler=async t=>{t.preventDefault();this.calciteInlineEditableEditConfirm.emit();try{if(this.afterConfirm){this.loading=true;await this.afterConfirm();this.disableEditing();this.enableEditingButton.setFocus()}}catch(t){}finally{this.loading=false}};this.disabled=false;this.editingEnabled=false;this.loading=false;this.controls=false;this.scale=undefined;this.afterConfirm=undefined;this.messages=undefined;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale=undefined}disabledWatcher(t){if(this.inputElement){this.inputElement.disabled=t}}editingEnabledWatcher(t,i){if(this.inputElement){this.inputElement.editingEnabled=t}if(!t&&!!i){this.shouldEmitCancel=true}}onMessagesChange(){}connectedCallback(){n(this);c(this);f(this);y(this);this.mutationObserver?.observe(this.el,{childList:true});this.mutationObserverCallback()}async componentWillLoad(){p(this);await w(this)}componentDidLoad(){b(this)}disconnectedCallback(){r(this);l(this);g(this);k(this);this.mutationObserver?.disconnect()}componentDidRender(){h(this)}render(){return s(o,{disabled:this.disabled},s("div",{class:v.wrapper,onClick:this.enableEditingHandler,onKeyDown:this.escapeKeyHandler},s("div",{class:v.inputWrapper},s("slot",null)),s("div",{class:v.controlsWrapper},s("calcite-button",{appearance:"transparent",class:v.enableEditingButton,disabled:this.disabled,iconStart:"pencil",kind:"neutral",label:this.messages.enableEditing,onClick:this.enableEditingHandler,scale:this.scale,style:{opacity:this.editingEnabled?"0":"1",width:this.editingEnabled?"0":"inherit"},type:"button",ref:t=>this.enableEditingButton=t}),this.shouldShowControls&&[s("div",{class:v.cancelEditingButtonWrapper},s("calcite-button",{appearance:"transparent",class:v.cancelEditingButton,disabled:this.disabled,iconStart:"x",kind:"neutral",label:this.messages.cancelEditing,onClick:this.cancelEditingHandler,scale:this.scale,type:"button",ref:t=>this.cancelEditingButton=t})),s("calcite-button",{appearance:"solid",class:v.confirmChangesButton,disabled:this.disabled,iconStart:"check",kind:"brand",label:this.messages.confirmChanges,loading:this.loading,onClick:this.confirmChangesHandler,scale:this.scale,type:"button",ref:t=>this.confirmEditingButton=t})])))}blurHandler(){if(!this.controls){this.disableEditing()}}effectiveLocaleChange(){C(this,this.effectiveLocale)}async setFocus(){await u(this);this.el?.focus()}mutationObserverCallback(){this.updateSlottedInput();this.scale=this.scale||this.inputElement?.scale}onLabelClick(){this.setFocus()}updateSlottedInput(){const t=a(this.el,{matches:"calcite-input"});this.inputElement=t;if(!t){return}this.inputElement.disabled=this.disabled;this.inputElement.label=this.inputElement.label||d(this)}get shouldShowControls(){return this.editingEnabled&&this.controls}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{disabled:["disabledWatcher"],editingEnabled:["editingEnabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};E.style=j;export{E as calcite_inline_editable};
|
|
7
|
+
//# sourceMappingURL=p-751d3815.entry.js.map
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,h as t,g as i}from"./p-289a6e00.js";import{c as n,d as o}from"./p-7f40f967.js";import{e as s}from"./p-02de05ee.js";import{c,d as a,u as l,I as r}from"./p-9ce55312.js";import"./p-e6104656.js";import"./p-45a4ca2e.js";import"./p-b75d2697.js";import"./p-e78bd00c.js";const d={contentStart:"content-start",contentEnd:"content-end"};const h=":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{box-sizing:border-box;display:inline-block;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:var(--calcite-spacing-md)}:host .content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;inline-size:10%}:host .content-container{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-color-text-2);outline-color:transparent}:host .content-slot-container{display:flex;align-items:center}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:500;line-height:1.20313rem}:host .large-visual{align-items:center;text-align:center;min-block-size:12rem}:host .large-visual calcite-icon{align-self:self-end;block-size:64px;inline-size:64px;justify-self:center}:host .large-visual .content-container{align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:400;line-height:1.03125rem}:host([scale=s]) .container{gap:var(--calcite-spacing-sm)}:host([scale=s]) .heading{font-size:var(--calcite-font-size--2);line-height:1.03125rem}:host([scale=s]) .description{font-size:var(--calcite-font-size--3);line-height:0.85938rem}:host([scale=l]) .container{gap:var(--calcite-spacing-xl)}:host([scale=l]) .heading{font-size:var(--calcite-font-size-0);line-height:1.375rem}:host([scale=l]) .description{font-size:var(--calcite-font-size--1);line-height:1.20313rem}:host(:not([href])) calcite-icon{color:var(--calcite-color-text-3)}:host([href]) .heading,:host([href]:hover) .heading{text-decoration-line:underline;color:var(--calcite-color-text-link)}:host(:not([embed])){box-shadow:0 0 0 1px var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}:host(:not([embed])[scale=s]){padding:var(--calcite-spacing-sm)}:host(:not([embed])[scale=l]){padding:var(--calcite-spacing-xl)}:host(:not([embed])[href]:hover){cursor:pointer;box-shadow:0 0 0 2px var(--calcite-color-brand)}:host(:not([embed])[href]:active){box-shadow:0 0 0 3px var(--calcite-color-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-color-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-color-text-2)}:host([hidden]){display:none}[hidden]{display:none}";const p=class{constructor(t){e(this,t);this.active=false;this.description=undefined;this.disabled=false;this.embed=false;this.focused=false;this.heading=undefined;this.href=undefined;this.icon=undefined;this.iconFlipRtl=false;this.scale="m"}connectedCallback(){n(this);c(this)}disconnectedCallback(){o(this);a(this)}componentDidRender(){l(this)}renderTile(){const{icon:e,el:i,heading:n,description:o,iconFlipRtl:c}=this;const a=n&&e&&!o;return t("div",{class:{container:true,"large-visual":a}},e&&t("calcite-icon",{flipRtl:c,icon:e,scale:"l"}),t("div",{class:"content-container"},s(i,d.contentStart)?t("div",{class:"content-slot-container"},t("slot",{name:d.contentStart})):null,t("div",{class:"content"},n&&t("div",{class:"heading"},n),o&&t("div",{class:"description"},o)),s(i,d.contentEnd)?t("div",{class:"content-slot-container"},t("slot",{name:d.contentEnd})):null))}render(){const{disabled:e}=this;return t(r,{disabled:e},this.href?t("calcite-link",{disabled:e,href:this.href},this.renderTile()):this.renderTile())}get el(){return i(this)}};p.style=h;export{p as calcite_tile};
|
|
7
|
+
//# sourceMappingURL=p-76399617.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SLOTS","contentStart","contentEnd","tileCss","Tile","connectedCallback","connectConditionalSlotComponent","this","connectInteractive","disconnectedCallback","disconnectConditionalSlotComponent","disconnectInteractive","componentDidRender","updateHostInteraction","renderTile","icon","el","heading","description","iconFlipRtl","isLargeVisual","h","class","container","flipRtl","scale","getSlotted","name","render","disabled","InteractiveContainer","href"],"sources":["src/components/tile/resources.ts","src/components/tile/tile.scss?tag=calcite-tile&encapsulation=shadow","src/components/tile/tile.tsx"],"sourcesContent":["export const SLOTS = {\n contentStart: \"content-start\",\n contentEnd: \"content-end\",\n};\n",":host {\n @apply bg-foreground-1\n text-color-3\n box-border\n inline-block\n select-none\n duration-150\n ease-in-out;\n\n .container {\n @apply pointer-events-none\n grid\n grid-cols-1;\n gap: var(--calcite-spacing-md);\n }\n\n .content {\n @apply flex\n flex-auto\n flex-col\n justify-center;\n inline-size: 10%;\n }\n\n .content-container {\n @apply focus-base\n text-color-2\n flex\n w-full\n flex-auto\n items-stretch\n p-0;\n }\n\n .content-slot-container {\n @apply flex items-center;\n\n &:first-child {\n padding-inline: 0 0.75rem;\n }\n\n &:last-child {\n padding-inline: 0.75rem 0;\n }\n }\n\n .heading {\n @apply pointer-events-none\n break-words;\n color: var(--calcite-color-text-2);\n font-size: var(--calcite-font-size--1);\n font-weight: 500;\n line-height: 1.20313rem;\n }\n .large-visual {\n @apply items-center\n text-center;\n min-block-size: theme(\"spacing.48\");\n calcite-icon {\n align-self: self-end;\n block-size: 64px;\n inline-size: 64px;\n justify-self: center;\n }\n .content-container {\n @apply self-center;\n }\n }\n .description {\n @apply break-words\n pointer-events-none;\n color: var(--calcite-color-text-3);\n font-size: var(--calcite-font-size--2);\n font-weight: 400;\n line-height: 1.03125rem;\n }\n}\n\n:host([scale=\"s\"]) {\n .container {\n gap: var(--calcite-spacing-sm);\n }\n .heading {\n font-size: var(--calcite-font-size--2);\n line-height: 1.03125rem;\n }\n .description {\n font-size: var(--calcite-font-size--3);\n line-height: 0.85938rem;\n }\n}\n\n:host([scale=\"l\"]) {\n .container {\n gap: var(--calcite-spacing-xl);\n }\n .heading {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375rem;\n }\n .description {\n font-size: var(--calcite-font-size--1);\n line-height: 1.20313rem;\n }\n}\n\n:host(:not([href])) {\n calcite-icon {\n color: var(--calcite-color-text-3);\n }\n}\n\n:host([href]),\n:host([href]:hover) {\n .heading {\n @apply underline;\n color: var(--calcite-color-text-link);\n }\n}\n:host(:not([embed])) {\n box-shadow: 0 0 0 1px var(--calcite-color-border-2);\n padding: var(--calcite-spacing-md);\n}\n:host(:not([embed])[scale=\"s\"]) {\n padding: var(--calcite-spacing-sm);\n}\n:host(:not([embed])[scale=\"l\"]) {\n padding: var(--calcite-spacing-xl);\n}\n:host(:not([embed])[href]:hover) {\n @apply cursor-pointer;\n box-shadow: 0 0 0 2px var(--calcite-color-brand);\n}\n:host(:not([embed])[href]:active) {\n box-shadow: 0 0 0 3px var(--calcite-color-brand);\n}\n:host([icon][heading]:not([description]):not([embed])) {\n padding: 0px;\n}\n\n@include disabled();\n\n:host(:hover),\n:host([active]) {\n .heading {\n color: var(--calcite-color-text-1);\n }\n .description {\n color: var(--calcite-color-text-2);\n }\n}\n\n@include base-component();\n","import { Component, Element, h, Prop, VNode } from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted } from \"../../utils/dom\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { SLOTS } from \"./resources\";\nimport { Scale } from \"../interfaces\";\n\n/**\n * @slot content-start - A slot for adding non-actionable elements before the component's content.\n * @slot content-end - A slot for adding non-actionable elements after the component's content.\n */\n@Component({\n tag: \"calcite-tile\",\n styleUrl: \"tile.scss\",\n shadow: true,\n})\nexport class Tile implements ConditionalSlotComponent, InteractiveComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, the component is active.\n */\n @Prop({ reflect: true }) active = false;\n\n /**\n * A description for the component, which displays below the heading.\n */\n @Prop({ reflect: true }) description: string;\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The component's embed mode.\n *\n * When `true`, renders without a border and padding for use by other components.\n */\n @Prop({ reflect: true }) embed = false;\n\n /**\n * The focused state of the component.\n *\n * @internal\n */\n @Prop({ reflect: true }) focused = false;\n\n /** The component header text, which displays between the icon and description. */\n @Prop({ reflect: true }) heading: string;\n\n /** When embed is `\"false\"`, the URL for the component. */\n @Prop({ reflect: true }) href: string;\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\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTileElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\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 // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderTile(): VNode {\n const { icon, el, heading, description, iconFlipRtl } = this;\n const isLargeVisual = heading && icon && !description;\n\n return (\n <div class={{ container: true, \"large-visual\": isLargeVisual }}>\n {icon && <calcite-icon flipRtl={iconFlipRtl} icon={icon} scale=\"l\" />}\n <div class=\"content-container\">\n {getSlotted(el, SLOTS.contentStart) ? (\n <div class=\"content-slot-container\">\n <slot name={SLOTS.contentStart} />\n </div>\n ) : null}\n <div class=\"content\">\n {heading && <div class=\"heading\">{heading}</div>}\n {description && <div class=\"description\">{description}</div>}\n </div>\n {getSlotted(el, SLOTS.contentEnd) ? (\n <div class=\"content-slot-container\">\n <slot name={SLOTS.contentEnd} />\n </div>\n ) : null}\n </div>\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <InteractiveContainer disabled={disabled}>\n {this.href ? (\n <calcite-link disabled={disabled} href={this.href}>\n {this.renderTile()}\n </calcite-link>\n ) : (\n this.renderTile()\n )}\n </InteractiveContainer>\n );\n }\n}\n"],"mappings":";;;;;qRAAO,MAAMA,EAAQ,CACnBC,aAAc,gBACdC,WAAY,eCFd,MAAMC,EAAU,8jG,MC0BHC,EAAI,M,qCAUmB,M,yCAUE,M,WAOH,M,aAOE,M,gFAaI,M,WAKC,G,CAgBxC,iBAAAC,GACEC,EAAgCC,MAChCC,EAAmBD,K,CAGrB,oBAAAE,GACEC,EAAmCH,MACnCI,EAAsBJ,K,CAGxB,kBAAAK,GACEC,EAAsBN,K,CASxB,UAAAO,GACE,MAAMC,KAAEA,EAAIC,GAAEA,EAAEC,QAAEA,EAAOC,YAAEA,EAAWC,YAAEA,GAAgBZ,KACxD,MAAMa,EAAgBH,GAAWF,IAASG,EAE1C,OACEG,EAAA,OAAKC,MAAO,CAAEC,UAAW,KAAM,eAAgBH,IAC5CL,GAAQM,EAAA,gBAAcG,QAASL,EAAaJ,KAAMA,EAAMU,MAAM,MAC/DJ,EAAA,OAAKC,MAAM,qBACRI,EAAWV,EAAIhB,EAAMC,cACpBoB,EAAA,OAAKC,MAAM,0BACTD,EAAA,QAAMM,KAAM3B,EAAMC,gBAElB,KACJoB,EAAA,OAAKC,MAAM,WACRL,GAAWI,EAAA,OAAKC,MAAM,WAAWL,GACjCC,GAAeG,EAAA,OAAKC,MAAM,eAAeJ,IAE3CQ,EAAWV,EAAIhB,EAAME,YACpBmB,EAAA,OAAKC,MAAM,0BACTD,EAAA,QAAMM,KAAM3B,EAAME,cAElB,M,CAMZ,MAAA0B,GACE,MAAMC,SAAEA,GAAatB,KAErB,OACEc,EAACS,EAAoB,CAACD,SAAUA,GAC7BtB,KAAKwB,KACJV,EAAA,gBAAcQ,SAAUA,EAAUE,KAAMxB,KAAKwB,MAC1CxB,KAAKO,cAGRP,KAAKO,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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{g as t}from"./p-02de05ee.js";import{d as n}from"./p-2637a70b.js";const e=["top","right","bottom","left"];const o=["start","end"];const i=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]);const r=Math.min;const s=Math.max;const c=Math.round;const a=Math.floor;const l=t=>({x:t,y:t});const f={left:"right",right:"left",bottom:"top",top:"bottom"};const u={start:"end",end:"start"};function d(t,n,e){return s(t,r(n,e))}function m(t,n){return typeof t==="function"?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return t==="x"?"y":"x"}function h(t){return t==="y"?"height":"width"}function w(t){return["top","bottom"].includes(p(t))?"y":"x"}function x(t){return g(w(t))}function b(t,n,e){if(e===void 0){e=false}const o=y(t);const i=x(t);const r=h(i);let s=i==="x"?o===(e?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(n.reference[r]>n.floating[r]){s=D(s)}return[s,D(s)]}function v(t){const n=D(t);return[A(t),n,A(n)]}function A(t){return t.replace(/start|end/g,(t=>u[t]))}function k(t,n,e){const o=["left","right"];const i=["right","left"];const r=["top","bottom"];const s=["bottom","top"];switch(t){case"top":case"bottom":if(e)return n?i:o;return n?o:i;case"left":case"right":return n?r:s;default:return[]}}function S(t,n,e,o){const i=y(t);let r=k(p(t),e==="start",o);if(i){r=r.map((t=>t+"-"+i));if(n){r=r.concat(r.map(A))}}return r}function D(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function P(t){return{top:0,right:0,bottom:0,left:0,...t}}function O(t){return typeof t!=="number"?P(t):{top:t,right:t,bottom:t,left:t}}function R(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function E(t,n,e){let{reference:o,floating:i}=t;const r=w(n);const s=x(n);const c=h(s);const a=p(n);const l=r==="y";const f=o.x+o.width/2-i.width/2;const u=o.y+o.height/2-i.height/2;const d=o[c]/2-i[c]/2;let m;switch(a){case"top":m={x:f,y:o.y-i.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-i.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[s]-=d*(e&&l?-1:1);break;case"end":m[s]+=d*(e&&l?-1:1);break}return m}const F=async(t,n,e)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=e;const c=r.filter(Boolean);const a=await(s.isRTL==null?void 0:s.isRTL(n));let l=await s.getElementRects({reference:t,floating:n,strategy:i});let{x:f,y:u}=E(l,o,a);let d=o;let m={};let p=0;for(let e=0;e<c.length;e++){const{name:r,fn:y}=c[e];const{x:g,y:h,data:w,reset:x}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:t,floating:n}});f=g!=null?g:f;u=h!=null?h:u;m={...m,[r]:{...m[r],...w}};if(x&&p<=50){p++;if(typeof x==="object"){if(x.placement){d=x.placement}if(x.rects){l=x.rects===true?await s.getElementRects({reference:t,floating:n,strategy:i}):x.rects}({x:f,y:u}=E(l,d,a))}e=-1;continue}}return{x:f,y:u,placement:d,strategy:i,middlewareData:m}};async function M(t,n){var e;if(n===void 0){n={}}const{x:o,y:i,platform:r,rects:s,elements:c,strategy:a}=t;const{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=false,padding:p=0}=m(n,t);const y=O(p);const g=u==="floating"?"reference":"floating";const h=c[d?g:u];const w=R(await r.getClippingRect({element:((e=await(r.isElement==null?void 0:r.isElement(h)))!=null?e:true)?h:h.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:l,rootBoundary:f,strategy:a}));const x=u==="floating"?{...s.floating,x:o,y:i}:s.reference;const b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating));const v=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1};const A=R(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:b,strategy:a}):x);return{top:(w.top-A.top+y.top)/v.y,bottom:(A.bottom-w.bottom+y.bottom)/v.y,left:(w.left-A.left+y.left)/v.x,right:(A.right-w.right+y.right)/v.x}}const T=t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:i,rects:s,platform:c,elements:a,middlewareData:l}=n;const{element:f,padding:u=0}=m(t,n)||{};if(f==null){return{}}const p=O(u);const g={x:e,y:o};const w=x(i);const b=h(w);const v=await c.getDimensions(f);const A=w==="y";const k=A?"top":"left";const S=A?"bottom":"right";const D=A?"clientHeight":"clientWidth";const P=s.reference[b]+s.reference[w]-g[w]-s.floating[b];const R=g[w]-s.reference[w];const E=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f));let F=E?E[D]:0;if(!F||!await(c.isElement==null?void 0:c.isElement(E))){F=a.floating[D]||s.floating[b]}const M=P/2-R/2;const T=F/2-v[b]/2-1;const C=r(p[k],T);const $=r(p[S],T);const z=C;const B=F-v[b]-$;const L=F/2-v[b]/2+M;const j=d(z,L,B);const H=!l.arrow&&y(i)!=null&&L!=j&&s.reference[b]/2-(L<z?C:$)-v[b]/2<0;const I=H?L<z?L-z:L-B:0;return{[w]:g[w]+I,data:{[w]:j,centerOffset:L-j-I,...H&&{alignmentOffset:I}},reset:H}}});function C(t,n,e){const o=t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t));return o.filter((e=>{if(t){return y(e)===t||(n?A(e)!==e:false)}return true}))}const $=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,async fn(n){var e,o,r;const{rects:s,middlewareData:c,placement:a,platform:l,elements:f}=n;const{crossAxis:u=false,alignment:d,allowedPlacements:g=i,autoAlignment:h=true,...w}=m(t,n);const x=d!==undefined||g===i?C(d||null,h,g):g;const v=await M(n,w);const A=((e=c.autoPlacement)==null?void 0:e.index)||0;const k=x[A];if(k==null){return{}}const S=b(k,s,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(a!==k){return{reset:{placement:x[0]}}}const D=[v[p(k)],v[S[0]],v[S[1]]];const P=[...((o=c.autoPlacement)==null?void 0:o.overflows)||[],{placement:k,overflows:D}];const O=x[A+1];if(O){return{data:{index:A+1,overflows:P},reset:{placement:O}}}const R=P.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1]));const E=R.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))));const F=((r=E[0])==null?void 0:r[0])||R[0][0];if(F!==a){return{data:{index:A+1,overflows:P},reset:{placement:F}}}return{}}}};const z=function(t){if(t===void 0){t={}}return{name:"flip",options:t,async fn(n){var e,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:a,elements:l}=n;const{mainAxis:f=true,crossAxis:u=true,fallbackPlacements:d,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=true,...w}=m(t,n);if((e=r.arrow)!=null&&e.alignmentOffset){return{}}const x=p(i);const A=p(c)===c;const k=await(a.isRTL==null?void 0:a.isRTL(l.floating));const P=d||(A||!h?[D(c)]:v(c));if(!d&&g!=="none"){P.push(...S(c,h,g,k))}const O=[c,...P];const R=await M(n,w);const E=[];let F=((o=r.flip)==null?void 0:o.overflows)||[];if(f){E.push(R[x])}if(u){const t=b(i,s,k);E.push(R[t[0]],R[t[1]])}F=[...F,{placement:i,overflows:E}];if(!E.every((t=>t<=0))){var T,C;const t=(((T=r.flip)==null?void 0:T.index)||0)+1;const n=O[t];if(n){return{data:{index:t,overflows:F},reset:{placement:n}}}let e=(C=F.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])==null?void 0:C.placement;if(!e){switch(y){case"bestFit":{var $;const t=($=F.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])==null?void 0:$[0];if(t){e=t}break}case"initialPlacement":e=c;break}}if(i!==e){return{reset:{placement:e}}}}return{}}}};function B(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function L(t){return e.some((n=>t[n]>=0))}const j=function(t){if(t===void 0){t={}}return{name:"hide",options:t,async fn(n){const{rects:e}=n;const{strategy:o="referenceHidden",...i}=m(t,n);switch(o){case"referenceHidden":{const t=await M(n,{...i,elementContext:"reference"});const o=B(t,e.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:L(o)}}}case"escaped":{const t=await M(n,{...i,altBoundary:true});const o=B(t,e.floating);return{data:{escapedOffsets:o,escaped:L(o)}}}default:{return{}}}}}};async function H(t,n){const{placement:e,platform:o,elements:i}=t;const r=await(o.isRTL==null?void 0:o.isRTL(i.floating));const s=p(e);const c=y(e);const a=w(e)==="y";const l=["left","top"].includes(s)?-1:1;const f=r&&a?-1:1;const u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}=typeof u==="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};if(c&&typeof h==="number"){g=c==="end"?h*-1:h}return a?{x:g*f,y:d*l}:{x:d*l,y:g*f}}const I=function(t){if(t===void 0){t=0}return{name:"offset",options:t,async fn(n){var e,o;const{x:i,y:r,placement:s,middlewareData:c}=n;const a=await H(n,t);if(s===((e=c.offset)==null?void 0:e.placement)&&(o=c.arrow)!=null&&o.alignmentOffset){return{}}return{x:i+a.x,y:r+a.y,data:{...a,placement:s}}}}};const W=function(t){if(t===void 0){t={}}return{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:i}=n;const{mainAxis:r=true,crossAxis:s=false,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...a}=m(t,n);const l={x:e,y:o};const f=await M(n,a);const u=w(p(i));const y=g(u);let h=l[y];let x=l[u];if(r){const t=y==="y"?"top":"left";const n=y==="y"?"bottom":"right";const e=h+f[t];const o=h-f[n];h=d(e,h,o)}if(s){const t=u==="y"?"top":"left";const n=u==="y"?"bottom":"right";const e=x+f[t];const o=x-f[n];x=d(e,x,o)}const b=c.fn({...n,[y]:h,[u]:x});return{...b,data:{x:b.x-e,y:b.y-o}}}}};function N(t){if(V(t)){return(t.nodeName||"").toLowerCase()}return"#document"}function q(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function Y(t){var n;return(n=(V(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function V(t){return t instanceof Node||t instanceof q(t).Node}function X(t){return t instanceof Element||t instanceof q(t).Element}function _(t){return t instanceof HTMLElement||t instanceof q(t).HTMLElement}function G(t){if(typeof ShadowRoot==="undefined"){return false}return t instanceof ShadowRoot||t instanceof q(t).ShadowRoot}function J(t){const{overflow:n,overflowX:e,overflowY:o,display:i}=nt(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(i)}function K(t){return["table","td","th"].includes(N(t))}function Q(t){const n=Z();const e=nt(t);return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":false)||!n&&(e.backdropFilter?e.backdropFilter!=="none":false)||!n&&(e.filter?e.filter!=="none":false)||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function U(t){let n=ot(t);while(_(n)&&!tt(n)){if(Q(n)){return n}else{n=ot(n)}}return null}function Z(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function tt(t){return["html","body","#document"].includes(N(t))}function nt(t){return q(t).getComputedStyle(t)}function et(t){if(X(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ot(t){if(N(t)==="html"){return t}const n=t.assignedSlot||t.parentNode||G(t)&&t.host||Y(t);return G(n)?n.host:n}function it(t){const n=ot(t);if(tt(n)){return t.ownerDocument?t.ownerDocument.body:t.body}if(_(n)&&J(n)){return n}return it(n)}function rt(t,n,e){var o;if(n===void 0){n=[]}if(e===void 0){e=true}const i=it(t);const r=i===((o=t.ownerDocument)==null?void 0:o.body);const s=q(i);if(r){return n.concat(s,s.visualViewport||[],J(i)?i:[],s.frameElement&&e?rt(s.frameElement):[])}return n.concat(i,rt(i,[],e))}function st(t){const n=nt(t);let e=parseFloat(n.width)||0;let o=parseFloat(n.height)||0;const i=_(t);const r=i?t.offsetWidth:e;const s=i?t.offsetHeight:o;const a=c(e)!==r||c(o)!==s;if(a){e=r;o=s}return{width:e,height:o,$:a}}function ct(t){return!X(t)?t.contextElement:t}function at(t){const n=ct(t);if(!_(n)){return l(1)}const e=n.getBoundingClientRect();const{width:o,height:i,$:r}=st(n);let s=(r?c(e.width):e.width)/o;let a=(r?c(e.height):e.height)/i;if(!s||!Number.isFinite(s)){s=1}if(!a||!Number.isFinite(a)){a=1}return{x:s,y:a}}const lt=l(0);function ft(t){const n=q(t);if(!Z()||!n.visualViewport){return lt}return{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function ut(t,n,e){if(n===void 0){n=false}if(!e||n&&e!==q(t)){return false}return n}function dt(t,n,e,o){if(n===void 0){n=false}if(e===void 0){e=false}const i=t.getBoundingClientRect();const r=ct(t);let s=l(1);if(n){if(o){if(X(o)){s=at(o)}}else{s=at(t)}}const c=ut(r,e,o)?ft(r):l(0);let a=(i.left+c.x)/s.x;let f=(i.top+c.y)/s.y;let u=i.width/s.x;let d=i.height/s.y;if(r){const t=q(r);const n=o&&X(o)?q(o):o;let e=t.frameElement;while(e&&o&&n!==t){const t=at(e);const n=e.getBoundingClientRect();const o=nt(e);const i=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x;const r=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x;f*=t.y;u*=t.x;d*=t.y;a+=i;f+=r;e=q(e).frameElement}}return R({width:u,height:d,x:a,y:f})}function mt(t){let{rect:n,offsetParent:e,strategy:o}=t;const i=_(e);const r=Y(e);if(e===r){return n}let s={scrollLeft:0,scrollTop:0};let c=l(1);const a=l(0);if(i||!i&&o!=="fixed"){if(N(e)!=="body"||J(r)){s=et(e)}if(_(e)){const t=dt(e);c=at(e);a.x=t.x+e.clientLeft;a.y=t.y+e.clientTop}}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+a.x,y:n.y*c.y-s.scrollTop*c.y+a.y}}function pt(t){return Array.from(t.getClientRects())}function yt(t){return dt(Y(t)).left+et(t).scrollLeft}function gt(t){const n=Y(t);const e=et(t);const o=t.ownerDocument.body;const i=s(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth);const r=s(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let c=-e.scrollLeft+yt(t);const a=-e.scrollTop;if(nt(o).direction==="rtl"){c+=s(n.clientWidth,o.clientWidth)-i}return{width:i,height:r,x:c,y:a}}function ht(t,n){const e=q(t);const o=Y(t);const i=e.visualViewport;let r=o.clientWidth;let s=o.clientHeight;let c=0;let a=0;if(i){r=i.width;s=i.height;const t=Z();if(!t||t&&n==="fixed"){c=i.offsetLeft;a=i.offsetTop}}return{width:r,height:s,x:c,y:a}}function wt(t,n){const e=dt(t,true,n==="fixed");const o=e.top+t.clientTop;const i=e.left+t.clientLeft;const r=_(t)?at(t):l(1);const s=t.clientWidth*r.x;const c=t.clientHeight*r.y;const a=i*r.x;const f=o*r.y;return{width:s,height:c,x:a,y:f}}function xt(t,n,e){let o;if(n==="viewport"){o=ht(t,e)}else if(n==="document"){o=gt(Y(t))}else if(X(n)){o=wt(n,e)}else{const e=ft(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return R(o)}function bt(t,n){const e=ot(t);if(e===n||!X(e)||tt(e)){return false}return nt(e).position==="fixed"||bt(e,n)}function vt(t,n){const e=n.get(t);if(e){return e}let o=rt(t,[],false).filter((t=>X(t)&&N(t)!=="body"));let i=null;const r=nt(t).position==="fixed";let s=r?ot(t):t;while(X(s)&&!tt(s)){const n=nt(s);const e=Q(s);if(!e&&n.position==="fixed"){i=null}const c=r?!e&&!i:!e&&n.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||J(s)&&!e&&bt(t,s);if(c){o=o.filter((t=>t!==s))}else{i=n}s=ot(s)}n.set(t,o);return o}function At(t){let{element:n,boundary:e,rootBoundary:o,strategy:i}=t;const c=e==="clippingAncestors"?vt(n,this._c):[].concat(e);const a=[...c,o];const l=a[0];const f=a.reduce(((t,e)=>{const o=xt(n,e,i);t.top=s(o.top,t.top);t.right=r(o.right,t.right);t.bottom=r(o.bottom,t.bottom);t.left=s(o.left,t.left);return t}),xt(n,l,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function kt(t){const{width:n,height:e}=st(t);return{width:n,height:e}}function St(t,n,e){const o=_(n);const i=Y(n);const r=e==="fixed";const s=dt(t,true,r,n);let c={scrollLeft:0,scrollTop:0};const a=l(0);if(o||!o&&!r){if(N(n)!=="body"||J(i)){c=et(n)}if(o){const t=dt(n,true,r,n);a.x=t.x+n.clientLeft;a.y=t.y+n.clientTop}else if(i){a.x=yt(i)}}return{x:s.left+c.scrollLeft-a.x,y:s.top+c.scrollTop-a.y,width:s.width,height:s.height}}function Dt(t,n){if(!_(t)||nt(t).position==="fixed"){return null}if(n){return n(t)}return t.offsetParent}function Pt(t,n){const e=q(t);if(!_(t)){return e}let o=Dt(t,n);while(o&&K(o)&&nt(o).position==="static"){o=Dt(o,n)}if(o&&(N(o)==="html"||N(o)==="body"&&nt(o).position==="static"&&!Q(o))){return e}return o||U(t)||e}const Ot=async function(t){let{reference:n,floating:e,strategy:o}=t;const i=this.getOffsetParent||Pt;const r=this.getDimensions;return{reference:St(n,await i(e),o),floating:{x:0,y:0,...await r(e)}}};function Rt(t){return nt(t).direction==="rtl"}const Et={convertOffsetParentRelativeRectToViewportRelativeRect:mt,getDocumentElement:Y,getClippingRect:At,getOffsetParent:Pt,getElementRects:Ot,getClientRects:pt,getDimensions:kt,getScale:at,isElement:X,isRTL:Rt};function Ft(t,n){let e=null;let o;const i=Y(t);function c(){clearTimeout(o);e&&e.disconnect();e=null}function l(f,u){if(f===void 0){f=false}if(u===void 0){u=1}c();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(!f){n()}if(!p||!y){return}const g=a(m);const h=a(i.clientWidth-(d+p));const w=a(i.clientHeight-(m+y));const x=a(d);const b=-g+"px "+-h+"px "+-w+"px "+-x+"px";const v={rootMargin:b,threshold:s(0,r(1,u))||1};let A=true;function k(t){const n=t[0].intersectionRatio;if(n!==u){if(!A){return l()}if(!n){o=setTimeout((()=>{l(false,1e-7)}),100)}else{l(false,n)}}A=false}try{e=new IntersectionObserver(k,{...v,root:i.ownerDocument})}catch(t){e=new IntersectionObserver(k,v)}e.observe(t)}l(true);return c}function Mt(t,n,e,o){if(o===void 0){o={}}const{ancestorScroll:i=true,ancestorResize:r=true,elementResize:s=typeof ResizeObserver==="function",layoutShift:c=typeof IntersectionObserver==="function",animationFrame:a=false}=o;const l=ct(t);const f=i||r?[...l?rt(l):[],...rt(n)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",e,{passive:true});r&&t.addEventListener("resize",e)}));const u=l&&c?Ft(l,e):null;let d=-1;let m=null;if(s){m=new ResizeObserver((t=>{let[o]=t;if(o&&o.target===l&&m){m.unobserve(n);cancelAnimationFrame(d);d=requestAnimationFrame((()=>{m&&m.observe(n)}))}e()}));if(l&&!a){m.observe(l)}m.observe(n)}let p;let y=a?dt(t):null;if(a){g()}function g(){const n=dt(t);if(y&&(n.x!==y.x||n.y!==y.y||n.width!==y.width||n.height!==y.height)){e()}y=n;p=requestAnimationFrame(g)}e();return()=>{f.forEach((t=>{i&&t.removeEventListener("scroll",e);r&&t.removeEventListener("resize",e)}));u&&u();m&&m.disconnect();m=null;if(a){cancelAnimationFrame(p)}}}const Tt=$;const Ct=W;const $t=z;const zt=j;const Bt=T;const Lt=(t,n,e)=>{const o=new Map;const i={platform:Et,...e};const r={...i.platform,_c:o};return F(t,n,{...i,platform:r})};function jt(t){return It(t)}function Ht(t){if(t.assignedSlot){return t.assignedSlot}if(t.parentNode instanceof ShadowRoot){return t.parentNode.host}return t.parentNode}function It(t){for(let n=t;n;n=Ht(n)){if(!(n instanceof Element)){continue}if(getComputedStyle(n).display==="none"){return null}}for(let n=Ht(t);n;n=Ht(n)){if(!(n instanceof Element)){continue}const t=getComputedStyle(n);if(t.display==="contents"){continue}if(t.position!=="static"||t.filter!=="none"){return n}if(n.tagName==="BODY"){return n}}return null}(function t(){{const t=Et.getOffsetParent;Et.getOffsetParent=n=>t(n,jt)}})();function Wt(t){const n=window.devicePixelRatio||1;return Math.round(t*n)/n}const Nt=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:i,flipDisabled:r,flipPlacements:s,offsetDistance:c,offsetSkidding:a,arrowEl:l,type:f})=>{if(!n||!e){return null}const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await Lt(n,e,{strategy:o,placement:i==="auto"||i==="auto-start"||i==="auto-end"?undefined:Kt(e,i),middleware:Gt({placement:i,flipDisabled:r,flipPlacements:s,offsetDistance:c,offsetSkidding:a,arrowEl:l,type:f})});if(l&&y.arrow){const{x:n,y:e}=y.arrow;const o=m.split("-")[0];const i=n!=null?"left":"top";const r=Zt[o];const s={left:"",top:"",bottom:"",right:""};if("floatingLayout"in t){t.floatingLayout=o==="left"||o==="right"?"horizontal":"vertical"}Object.assign(l.style,{...s,[i]:`${i=="left"?n:e}px`,[o]:"100%",transform:r})}const g=y.hide?.referenceHidden;const h=g?"hidden":null;const w=h?"none":null;e.setAttribute(qt,m);const{open:x}=t;Object.assign(e.style,{visibility:h,pointerEvents:w,position:p,transform:x?`translate(${Wt(u)}px,${Wt(d)}px)`:"",top:0,left:0})};const qt="data-placement";const Yt=100;const Vt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];const Xt="bottom-start";const _t={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function Gt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:i,arrowEl:r,type:s}){const c=[Ct(),zt()];if(s==="menu"){return[...c,$t({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})]}if(s==="popover"||s==="tooltip"){const s=[...c,I({mainAxis:typeof o==="number"?o:0,crossAxis:typeof i==="number"?i:0})];if(t==="auto"||t==="auto-start"||t==="auto-end"){s.push(Tt({alignment:t==="auto-start"?"start":t==="auto-end"?"end":null}))}else if(!n){s.push($t(e?{fallbackPlacements:e}:{}))}if(r){s.push(Bt({element:r}))}return s}return[]}function Jt(t,n){const e=t.filter((t=>Vt.includes(t)));if(e.length!==t.length){console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${Vt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n})}return e}function Kt(n,e){const o=["left","right"];if(t(n)==="rtl"){o.reverse()}return e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function Qt(t,n,e=false){if(!t.open){return}const o=e?Ut(t):Nt;return o(t,n)}function Ut(t){let e=nn.get(t);if(e){return e}e=n(Nt,Yt,{leading:true,maxWait:Yt});nn.set(t,e);return e}const Zt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"};const tn=new WeakMap;const nn=new WeakMap;function en(t,n,e){if(!e||!n){return}on(t,n,e);Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning});const o=Mt;tn.set(t,o(n,e,(()=>t.reposition())))}function on(t,n,e){if(!e||!n){return}tn.get(t)?.();tn.delete(t);nn.get(t)?.cancel();nn.delete(t)}const rn=4;const sn=Math.ceil(Math.hypot(rn,rn));export{_t as F,on as a,sn as b,en as c,Xt as d,Jt as f,Qt as r};
|
|
7
|
+
//# sourceMappingURL=p-79a9d5f5.js.map
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{f as t,h as o}from"./p-289a6e00.js";import{g as e}from"./p-02de05ee.js";import{S as n}from"./p-3d65f2ef.js";import{S as c}from"./p-f2abb58b.js";const i=150;const a=2;const s=t=>t.reduce(((t,o)=>t+o),0)/t.length;const r=t=>{const o=t.filter((t=>t.slot!==n.menuActions));const e=o?.length;return{actionWidth:e?s(o.map((t=>t.clientWidth||0))):0,actionHeight:e?s(o.map((t=>t.clientHeight||0))):0}};const l=({width:t,actionWidth:o,layout:e,height:n,actionHeight:c,groupCount:i})=>{const s=e==="horizontal"?t:n;const r=e==="horizontal"?o:c;return Math.floor((s-i*a)/r)};const h=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:c,height:i,groupCount:a})=>Math.max(o-l({width:n,actionWidth:e,layout:t,height:i,actionHeight:c,groupCount:a}),0);const u=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>t.closest("calcite-action-menu")?t.slot===c.trigger:true));const f=({actionGroups:o,expanded:e,overflowCount:c})=>{let i=c;o.reverse().forEach((o=>{let c=0;const a=u(o).reverse();a.forEach((t=>{if(t.slot===n.menuActions){t.removeAttribute("slot");t.textEnabled=e}}));if(i>0){a.some((t=>{const o=a.filter((t=>!t.slot));if(o.length>1&&a.length>2&&!t.closest("calcite-action-menu")){t.textEnabled=true;t.setAttribute("slot",n.menuActions);c++;if(c>1){i--}}return i<1}))}t(o)}))};const p={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function d(t,o){return t||o.closest("calcite-shell-panel")?.position||"start"}function g({el:t,expanded:o}){u(t).filter((t=>t.slot!==n.menuActions)).forEach((t=>t.textEnabled=o));t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const m=({tooltip:t,referenceElement:o,expanded:e,ref:n})=>{if(t){t.referenceElement=!e&&o?o:null}if(n){n(o)}return o};const x=({expanded:t,expandText:n,collapseText:c,toggle:i,el:a,position:s,tooltip:r,ref:l,scale:h})=>{const u=e(a)==="rtl";const f=t?c:n;const g=[p.chevronsLeft,p.chevronsRight];if(u){g.reverse()}const x=d(s,a)==="end";const C=x?g[1]:g[0];const b=x?g[0]:g[1];const v=o("calcite-action",{icon:t?C:b,onClick:i,scale:h,text:f,textEnabled:t,title:!t&&!r?f:null,ref:o=>m({tooltip:r,referenceElement:o,expanded:t,ref:l})});return v};export{x as E,f as a,h as b,r as g,i as o,u as q,g as t};
|
|
7
|
+
//# sourceMappingURL=p-79fd39df.js.map
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{h as e,r as t,c as i,H as s,e as o,g as r}from"./p-289a6e00.js";import{s as n,l as a}from"./p-02de05ee.js";import{c}from"./p-e6104656.js";import{g as l}from"./p-45a4ca2e.js";import{c as h,d as p,n as d}from"./p-f3722d2d.js";import{c as m,s as u,d as b,u as f}from"./p-a906aea8.js";import{c as g,u as v,d as y,I as x}from"./p-9ce55312.js";import{s as z,a as w,c as k}from"./p-bc9ca886.js";import"./p-b75d2697.js";import"./p-446a7aa4.js";import"./p-e78bd00c.js";const I={stepBar:"step-bar",stepBarActive:"step-bar--active",stepBarComplete:"step-bar--complete",stepBarDisabled:"step-bar--disabled",stepBarError:"step-bar--error",stepBarInActive:"step-bar--inactive"};const C=({disabled:t,active:i,complete:s,error:o,key:r})=>e("svg",{class:{[I.stepBar]:true},key:r},e("rect",{class:{[I.stepBarActive]:i,[I.stepBarComplete]:s,[I.stepBarDisabled]:t,[I.stepBarError]:o,[I.stepBarInActive]:true},width:"100%",x:"0",y:"0"}));const S={s:120,m:180,l:200};const A={actionIcon:"action-icon",actionIconStart:"action-icon--start",actionIconEnd:"action-icon--end",actionContainer:"action-container",stepBarContainer:"step-bar-container",singleView:"single-view"};const E=':host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s:0.25rem;--calcite-internal-stepper-action-block-size:2.75rem;--calcite-internal-stepper-action-inline-size:2rem;--calcite-internal-step-bar-gap:0.25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s:0.5rem;--calcite-internal-stepper-action-block-size:3.25rem;--calcite-internal-stepper-action-inline-size:2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s:0.75rem;--calcite-internal-stepper-action-block-size:4rem;--calcite-internal-stepper-action-inline-size:3rem;--calcite-internal-step-bar-gap:0.75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container{display:grid;grid-template-areas:"items" "content";gap:0.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container{gap:0.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container{gap:0.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:0.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:0.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, 0.5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:0.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}';const j=class{constructor(e){t(this,e);this.calciteStepperItemChange=i(this,"calciteStepperItemChange",6);this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",6);this.enabledItems=[];this.itemMap=new Map;this.items=[];this.mutationObserver=c("mutation",(()=>this.updateItems()));this.multipleViewMode=false;this.guid=`calcite-stepper-action-${l()}`;this.resizeObserver=c("resize",(e=>this.elWidth=e[0].contentRect.width));this.handleActionClick=e=>{const t=this.currentActivePosition;const i=e.target;if(i.getAttribute("data-position")==="start"){this.prevStep()}else{this.nextStep()}if(typeof this.currentActivePosition==="number"&&t!==this.currentActivePosition&&!this.items[this.currentActivePosition].disabled){this.calciteStepperItemChange.emit()}};this.setContainerEl=e=>{this.containerEl=e};this.handleDefaultSlotChange=e=>{const t=n(e).filter((e=>e?.tagName==="CALCITE-STEPPER-ITEM"));this.items=t;this.setGridTemplateColumns(t);this.setStepperItemNumberingSystem()};this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.messages=undefined;this.numberingSystem=undefined;this.selectedItem=null;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.currentActivePosition=undefined;this.elWidth=undefined}handleItemPropChange(){this.updateItems()}numberingSystemChange(){this.setStepperItemNumberingSystem()}onMessagesChange(){}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true});this.updateItems();m(this);h(this)}async componentWillLoad(){await u(this)}componentDidLoad(){this.resizeObserver?.observe(this.containerEl);if(typeof this.currentActivePosition!=="number"){const e=this.getFirstEnabledStepperPosition();if(e===0){this.currentActivePosition=e}this.calciteInternalStepperItemChange.emit({position:e})}}disconnectedCallback(){this.resizeObserver?.disconnect();b(this);p(this);this.mutationObserver?.disconnect()}render(){return e(s,{"aria-label":this.messages.label,role:"region"},e("div",{class:{container:true,[A.singleView]:!this.multipleViewMode},ref:this.setContainerEl},!this.multipleViewMode&&this.layout==="horizontal"&&e("div",{class:{[A.stepBarContainer]:true}},this.items.map(((t,i)=>e(C,{active:i===this.currentActivePosition,complete:t.complete&&i!==this.currentActivePosition&&!t.error,disabled:t.disabled&&i!==this.currentActivePosition,error:t.error&&i!==this.currentActivePosition,key:i})))),e("div",{class:{[A.actionContainer]:true}},this.renderAction("start"),this.renderAction("end")),e("slot",{onSlotchange:this.handleDefaultSlotChange})))}calciteInternalStepperItemKeyEvent(e){const t=e.detail.item;const i=e.target;switch(t.key){case"ArrowDown":case"ArrowRight":a(this.enabledItems,i,"next");break;case"ArrowUp":case"ArrowLeft":a(this.enabledItems,i,"previous");break;case"Home":a(this.enabledItems,i,"first");break;case"End":a(this.enabledItems,i,"last");break}e.stopPropagation()}registerItem(e){const t=e.target;const{content:i,position:s}=e.detail;this.itemMap.set(t,{position:s,content:i});this.enabledItems=this.filterItems();e.stopPropagation()}updateItem(e){const{position:t}=e.detail;if(typeof t==="number"){this.currentActivePosition=t;this.selectedItem=e.target}this.calciteInternalStepperItemChange.emit({position:t})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const e=this.getEnabledStepIndex(this.currentActivePosition+1,"next");if(typeof e!=="number"){return}this.updateStep(e)}async prevStep(){const e=this.getEnabledStepIndex(this.currentActivePosition-1,"previous");if(typeof e!=="number"){return}this.updateStep(e)}async goToStep(e){const t=e-1;if(this.currentActivePosition!==t){this.updateStep(t)}}async startStep(){const e=this.getEnabledStepIndex(0,"next");if(typeof e!=="number"){return}this.updateStep(e)}async endStep(){const e=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof e!=="number"){return}this.updateStep(e)}effectiveLocaleChange(){f(this,this.effectiveLocale)}handlePositionChange(){o((()=>{this.determineActiveStepper(true)}))}handleElWidthChange(){o((()=>{this.determineActiveStepper()}))}updateItems(){this.el.querySelectorAll("calcite-stepper-item").forEach((e=>{e.icon=this.icon;e.numbered=this.numbered;e.layout=this.layout;e.scale=this.scale}))}determineActiveStepper(e=false){const t=this.items.length;if(!this.elWidth||!t||this.layout!=="horizontal"||t===1){return}const i=this.currentActivePosition||0;const s=t*this.getMinWidthOfStepperItem();const o=(t-1)*(parseInt(window.getComputedStyle(this.containerEl).rowGap)||0);if(this.elWidth<=s+o){this.multipleViewMode=false;this.items.forEach(((e,t)=>{if(t!==i){e.hidden=true}else{e.hidden=false;e.multipleViewMode=false}}))}else if(this.elWidth>s+o){if(this.multipleViewMode&&!e){return}this.multipleViewMode=true;this.setGridTemplateColumns(this.items);this.items.forEach((e=>{e.hidden=false;e.multipleViewMode=true}))}}getEnabledStepIndex(e,t="next"){const{items:i,currentActivePosition:s}=this;let o=e;while(i[o]?.disabled&&this.multipleViewMode){o=o+(t==="previous"?-1:1)}return o!==s&&o<i.length&&o>=0?o:null}updateStep(e){this.currentActivePosition=e;this.calciteInternalStepperItemChange.emit({position:e})}filterItems(){return this.items.filter((e=>!e.disabled))}setStepperItemNumberingSystem(){this.items.forEach((e=>{e.numberingSystem=this.numberingSystem}))}renderAction(t){const i=t==="start";const s=i?"chevron-left":"chevron-right";const{currentActivePosition:o,multipleViewMode:r,layout:n}=this;const a=this.items.length;const c=`${this.guid}-${i?"start":"end"}`;return n==="horizontal"&&!r?e("calcite-action",{alignment:"center",appearance:"transparent",class:{[A.actionIcon]:true},compact:true,"data-position":t,disabled:o===0&&i||o===a-1&&!i,icon:s,iconFlipRtl:true,id:c,onClick:this.handleActionClick,scale:this.scale,text:i?this.messages.previousStep:this.messages.nextStep}):null}getFirstEnabledStepperPosition(){const e=this.items.findIndex((e=>!e.disabled));if(e>-1){return e}return 0}setGridTemplateColumns(e){const t=this.getMinWidthOfStepperItem();const i=Array(e.length).fill(`minmax(${t}px, 1fr)`).join(" ");this.containerEl.style.gridTemplateAreas=i;this.containerEl.style.gridTemplateColumns=i}getMinWidthOfStepperItem(){return S[this.scale]}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{icon:["handleItemPropChange"],layout:["handleItemPropChange"],numbered:["handleItemPropChange"],scale:["handleItemPropChange"],numberingSystem:["numberingSystemChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],currentActivePosition:["handlePositionChange"],elWidth:["handleElWidthChange"]}}};j.style=E;const L={container:"container",stepperItemContent:"stepper-item-content",stepperItemDescription:"stepper-item-description",stepperItemHeader:"stepper-item-header",stepperItemHeading:"stepper-item-heading",stepperItemHeaderText:"stepper-item-header-text",stepperItemNumber:"stepper-item-number",visuallyHidden:"visually-hidden"};const P=":host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;--calcite-internal-stepper-action-inline-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;--calcite-internal-stepper-action-inline-size:2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;--calcite-internal-stepper-action-inline-size:3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected][multiple-view-mode]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal]:not([multiple-view-mode])) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem)}:host([layout=horizontal][error]:not([multiple-view-mode])) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal][error]:not([multiple-view-mode])) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal][error][selected]:not([multiple-view-mode])),:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal][error][selected]:not([multiple-view-mode])) .stepper-item-heading,:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const D=class{constructor(e){t(this,e);this.calciteInternalStepperItemKeyEvent=i(this,"calciteInternalStepperItemKeyEvent",6);this.calciteInternalStepperItemSelect=i(this,"calciteInternalStepperItemSelect",6);this.calciteInternalUserRequestedStepperItemSelect=i(this,"calciteInternalUserRequestedStepperItemSelect",6);this.calciteInternalStepperItemRegister=i(this,"calciteInternalStepperItemRegister",6);this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el){switch(e.key){case" ":case"Enter":this.emitUserRequestedItem();e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e});e.preventDefault();break}}};this.handleItemClick=e=>{if(this.disabled||this.layout==="horizontal"&&e.composedPath().some((e=>e.classList?.contains("stepper-item-content")))){return}this.emitUserRequestedItem()};this.emitUserRequestedItem=()=>{this.emitRequestedItem();if(!this.disabled){const e=this.itemPosition;this.calciteInternalUserRequestedStepperItemSelect.emit({position:e})}};this.emitRequestedItem=()=>{if(!this.disabled){const e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}};this.selected=false;this.complete=false;this.error=false;this.disabled=false;this.heading=undefined;this.description=undefined;this.iconFlipRtl=false;this.numberingSystem=undefined;this.icon=false;this.layout=undefined;this.messages=undefined;this.numbered=false;this.scale="m";this.multipleViewMode=false;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}selectedHandler(){if(this.selected){this.emitRequestedItem()}}disabledWatcher(){this.registerStepperItem()}onMessagesChange(){}effectiveLocaleWatcher(e){d.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:false};f(this,this.effectiveLocale)}connectedCallback(){g(this);h(this);m(this)}async componentWillLoad(){z(this);this.parentStepperEl=this.el.parentElement;this.itemPosition=this.getItemPosition();this.registerStepperItem();if(this.selected){this.emitRequestedItem()}await u(this)}componentDidLoad(){w(this)}componentDidRender(){v(this)}disconnectedCallback(){y(this);p(this);b(this)}render(){return e(s,{"aria-current":this.selected?"step":"false",onClick:this.handleItemClick,onKeyDown:this.keyDownHandler,tabIndex:this.disabled?-1:0},e(x,{disabled:this.disabled},e("div",{class:L.container},this.complete&&e("span",{"aria-live":"polite",class:L.visuallyHidden},this.messages.complete),e("div",{class:L.stepperItemHeader,tabIndex:this.layout==="horizontal"&&!this.disabled&&this.multipleViewMode?0:null,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?e("div",{class:L.stepperItemNumber},this.renderNumbers(),"."):null,e("div",{class:L.stepperItemHeaderText},e("span",{class:L.stepperItemHeading},this.heading),e("span",{class:L.stepperItemDescription},this.description))),e("div",{class:L.stepperItemContent},e("slot",null)))))}updateActiveItemOnChange(e){if(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl)){this.selectedPosition=e.detail.position;this.determineSelectedItem()}}async setFocus(){await k(this);(this.layout==="vertical"?this.el:this.headerEl)?.focus()}renderIcon(){let t="circle";if(this.selected&&(this.multipleViewMode||!this.error&&!this.complete)){t="circleF"}else if(this.error){t="exclamationMarkCircleF"}else if(this.complete){t="checkCircleF"}return e("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:t,scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){d.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:false};return d.numberFormatter.format(this.itemPosition+1)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};D.style=P;export{j as calcite_stepper,D as calcite_stepper_item};
|
|
7
|
+
//# sourceMappingURL=p-7e81b930.entry.js.map
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as e,g as a}from"./p-289a6e00.js";import{c as n,u as o,d as s,I as c}from"./p-9ce55312.js";import{c as l,s as r,a as d}from"./p-bc9ca886.js";import"./p-e78bd00c.js";const h={container:"container",dividerContainer:"divider-container",divider:"divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"};const p=":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:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host:host([kind=brand]){--calcite-split-button-background:var(--calcite-color-brand);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host:host([kind=danger]){--calcite-split-button-background:var(--calcite-color-status-danger);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host:host([kind=neutral]){--calcite-split-button-background:var(--calcite-color-foreground-3);--calcite-split-button-divider:var(--calcite-color-text-1)}:host:host([kind=inverse]){--calcite-split-button-background:var(--calcite-color-inverse);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=transparent]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand);--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger);--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-color-text-1);--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-color-foreground-1);--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:transparent}:host([appearance=outline-fill]){--calcite-split-button-background:var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-color-border-1);--calcite-split-button-background:var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .divider-container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const u=class{constructor(e){t(this,e);this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6);this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6);this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit();this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit();this.appearance="solid";this.kind="brand";this.disabled=false;this.active=false;this.dropdownIconType="chevron";this.dropdownLabel=undefined;this.loading=false;this.overlayPositioning="absolute";this.primaryIconEnd=undefined;this.primaryIconFlipRtl=undefined;this.primaryIconStart=undefined;this.primaryLabel=undefined;this.primaryText=undefined;this.scale="m";this.width="auto"}handleDisabledChange(t){if(!t){this.active=false}}activeHandler(){if(this.disabled){this.active=false}}async setFocus(){await l(this);this.el.focus()}connectedCallback(){n(this)}componentWillLoad(){r(this)}componentDidLoad(){d(this)}componentDidRender(){o(this)}disconnectedCallback(){s(this)}render(){const t=this.width==="auto"?"auto":"full";return e(c,{disabled:this.disabled},e("div",{class:h.container},e("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:t},this.primaryText),e("div",{class:h.dividerContainer},e("div",{class:h.divider})),e("calcite-dropdown",{disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,"width-scale":this.scale},e("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),e("slot",null))))}get dropdownIcon(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"}static get delegatesFocus(){return true}get el(){return a(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};u.style=p;export{u as calcite_split_button};
|
|
7
|
+
//# sourceMappingURL=p-7f027869.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CSS","container","dividerContainer","divider","widthAuto","widthHalf","widthFull","splitButtonCss","SplitButton","this","calciteSplitButtonPrimaryClickHandler","calciteSplitButtonPrimaryClick","emit","calciteSplitButtonSecondaryClickHandler","calciteSplitButtonSecondaryClick","handleDisabledChange","value","active","activeHandler","disabled","setFocus","componentFocusable","el","focus","connectedCallback","connectInteractive","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","disconnectedCallback","disconnectInteractive","render","buttonWidth","width","h","InteractiveContainer","class","appearance","primaryIconEnd","primaryIconStart","iconFlipRtl","primaryIconFlipRtl","kind","label","primaryLabel","loading","onClick","scale","splitChild","type","primaryText","open","overlayPositioning","placement","dropdownIcon","dropdownLabel","slot","dropdownIconType"],"sources":["src/components/split-button/resources.ts","src/components/split-button/split-button.scss?tag=calcite-split-button&encapsulation=shadow","src/components/split-button/split-button.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n dividerContainer: \"divider-container\",\n divider: \"divider\",\n widthAuto: \"width-auto\",\n widthHalf: \"width-half\",\n widthFull: \"width-full\",\n};\n",":host {\n @apply inline-block;\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-2/4;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n:host {\n &:host([kind=\"brand\"]) {\n --calcite-split-button-background: theme(\"colors.brand\");\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-background: theme(\"colors.danger\");\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n }\n &:host([kind=\"neutral\"]) {\n --calcite-split-button-background: theme(\"colors.background.foreground.3\");\n --calcite-split-button-divider: theme(\"colors.color.1\");\n }\n &:host([kind=\"inverse\"]) {\n --calcite-split-button-background: var(--calcite-color-inverse);\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n }\n}\n\n:host([appearance=\"transparent\"]) {\n &:host([kind=\"brand\"]) {\n --calcite-split-button-divider: theme(\"colors.brand\");\n --calcite-split-button-background: transparent;\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-divider: theme(\"colors.danger\");\n --calcite-split-button-background: transparent;\n }\n &:host([kind=\"neutral\"]) {\n --calcite-split-button-divider: theme(\"colors.color.1\");\n --calcite-split-button-background: transparent;\n }\n &:host([kind=\"inverse\"]) {\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n --calcite-split-button-background: transparent;\n }\n}\n\n:host([appearance=\"outline\"]) {\n --calcite-split-button-background: transparent;\n}\n\n:host([appearance=\"outline-fill\"]) {\n --calcite-split-button-background: theme(\"colors.background.foreground.1\");\n}\n\n:host([appearance=\"outline\"]),\n:host([appearance=\"outline-fill\"]) {\n &:host([kind=\"brand\"]) {\n --calcite-split-button-divider: theme(\"colors.brand\");\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-divider: theme(\"colors.danger\");\n }\n &:host([kind=\"neutral\"]) {\n --calcite-split-button-divider: theme(\"borderColor.color.1\");\n --calcite-split-button-background: theme(\"borderColor.color.1\");\n }\n &:host([kind=\"inverse\"]) {\n --calcite-split-button-divider: var(--calcite-color-inverse);\n }\n}\n\n.container {\n @apply flex items-stretch;\n > calcite-dropdown > calcite-button {\n @apply h-full align-top;\n }\n}\n\n.divider-container {\n @apply transition-default flex w-px items-stretch;\n background-color: var(--calcite-split-button-background);\n}\n\n.divider {\n @apply my-1 inline-block w-px;\n background-color: var(--calcite-split-button-divider);\n}\n\n:host([appearance=\"outline-fill\"]),\n:host([appearance=\"outline\"]) {\n .divider-container {\n border-block: 1px solid var(--calcite-split-button-divider);\n }\n &:hover .divider-container {\n background-color: var(--calcite-split-button-divider);\n }\n}\n\n:host([appearance=\"outline-fill\"]:hover),\n:host([appearance=\"outline\"]:hover) {\n .divider-container {\n background-color: var(--calcite-split-button-divider);\n }\n}\n\n:host([appearance=\"outline-fill\"]:focus-within),\n:host([appearance=\"outline\"]:focus-within) {\n &:host([kind=\"brand\"]) {\n --calcite-split-button-divider: theme(\"colors.brand-press\");\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-divider: theme(\"colors.danger-press\");\n }\n .divider-container {\n background-color: var(--calcite-split-button-divider);\n }\n}\n\n@include disabled() {\n .divider-container {\n @apply opacity-disabled;\n }\n\n calcite-dropdown > calcite-button {\n @apply pointer-events-none;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { OverlayPositioning } from \"../../utils/floating-ui\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { DropdownIconType } from \"../button/interfaces\";\nimport { Appearance, FlipContext, Kind, Scale, Width } from \"../interfaces\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown` content.\n */\n@Component({\n tag: \"calcite-split-button\",\n styleUrl: \"split-button.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class SplitButton implements InteractiveComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\n \"outline\" | \"outline-fill\" | \"solid\" | \"transparent\",\n Appearance\n > = \"solid\";\n\n /** Specifies the kind of the component, which will apply to border and background, if applicable. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"danger\" | \"inverse\" | \"neutral\", Kind> =\n \"brand\";\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.active = false;\n }\n }\n\n /**\n * When `true`, the component is active.\n *\n * @internal\n */\n @Prop({ mutable: true, reflect: true }) active = false;\n\n @Watch(\"active\")\n activeHandler(): void {\n if (this.disabled) {\n this.active = false;\n }\n }\n\n /** Specifies the icon used for the dropdown menu. */\n @Prop({ reflect: true }) dropdownIconType: DropdownIconType = \"chevron\";\n\n /** Accessible name for the dropdown menu. */\n @Prop({ reflect: true }) dropdownLabel: string;\n\n /**\n When `true`, a busy indicator is displayed on the primary button.\n */\n @Prop({ reflect: true }) loading = false;\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 /** Specifies an icon to display at the end of the primary button. */\n @Prop({ reflect: true }) primaryIconEnd: string;\n\n /** Displays the `primaryIconStart` and/or `primaryIconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) primaryIconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the primary button. */\n @Prop({ reflect: true }) primaryIconStart: string;\n\n /** Accessible name for the primary button. */\n @Prop({ reflect: true }) primaryLabel: string;\n\n /** Text displayed in the primary button. */\n @Prop({ reflect: true }) primaryText: string;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Fires when the primary button is clicked.\n */\n @Event({ cancelable: false })\n calciteSplitButtonPrimaryClick: EventEmitter<void>;\n\n /**\n * Fires when the dropdown menu is clicked.\n */\n @Event({ cancelable: false })\n calciteSplitButtonSecondaryClick: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSplitButtonElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n }\n\n render(): VNode {\n const buttonWidth = this.width === \"auto\" ? \"auto\" : \"full\";\n\n return (\n <InteractiveContainer disabled={this.disabled}>\n <div class={CSS.container}>\n <calcite-button\n appearance={this.appearance}\n disabled={this.disabled}\n icon-end={this.primaryIconEnd ? this.primaryIconEnd : null}\n icon-start={this.primaryIconStart ? this.primaryIconStart : null}\n iconFlipRtl={this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null}\n kind={this.kind}\n label={this.primaryLabel}\n loading={this.loading}\n onClick={this.calciteSplitButtonPrimaryClickHandler}\n scale={this.scale}\n splitChild={\"primary\"}\n type=\"button\"\n width={buttonWidth}\n >\n {this.primaryText}\n </calcite-button>\n <div class={CSS.dividerContainer}>\n <div class={CSS.divider} />\n </div>\n <calcite-dropdown\n disabled={this.disabled}\n onClick={this.calciteSplitButtonSecondaryClickHandler}\n open={this.active}\n overlayPositioning={this.overlayPositioning}\n placement=\"bottom-end\"\n scale={this.scale}\n width-scale={this.scale}\n >\n <calcite-button\n appearance={this.appearance}\n disabled={this.disabled}\n icon-start={this.dropdownIcon}\n kind={this.kind}\n label={this.dropdownLabel}\n scale={this.scale}\n slot=\"trigger\"\n splitChild={\"secondary\"}\n type=\"button\"\n />\n <slot />\n </calcite-dropdown>\n </div>\n </InteractiveContainer>\n );\n }\n\n private calciteSplitButtonPrimaryClickHandler = (): CustomEvent =>\n this.calciteSplitButtonPrimaryClick.emit();\n\n private calciteSplitButtonSecondaryClickHandler = (): CustomEvent =>\n this.calciteSplitButtonSecondaryClick.emit();\n\n private get dropdownIcon(): string {\n return this.dropdownIconType === \"chevron\"\n ? \"chevronDown\"\n : this.dropdownIconType === \"caret\"\n ? \"caretDown\"\n : this.dropdownIconType === \"ellipsis\"\n ? \"ellipsis\"\n : \"handle-vertical\";\n }\n}\n"],"mappings":";;;;;4LAAO,MAAMA,EAAM,CACjBC,UAAW,YACXC,iBAAkB,oBAClBC,QAAS,UACTC,UAAW,aACXC,UAAW,aACXC,UAAW,cCNb,MAAMC,EAAiB,qvI,MCuCVC,EAAW,M,2LAmMdC,KAAAC,sCAAwC,IAC9CD,KAAKE,+BAA+BC,OAE9BH,KAAAI,wCAA0C,IAChDJ,KAAKK,iCAAiCF,O,gBA5LpC,Q,UAIF,Q,cAGkC,M,YAca,M,sBAUa,U,0CAQ3B,M,wBAU+B,W,kKAkB1B,I,WAGA,M,CA5DxC,oBAAAG,CAAqBC,GACnB,IAAKA,EAAO,CACVP,KAAKQ,OAAS,K,EAYlB,aAAAC,GACE,GAAIT,KAAKU,SAAU,CACjBV,KAAKQ,OAAS,K,EAkElB,cAAMG,SACEC,EAAmBZ,MACzBA,KAAKa,GAAGC,O,CAiBV,iBAAAC,GACEC,EAAmBhB,K,CAGrB,iBAAAiB,GACEC,EAAuBlB,K,CAGzB,gBAAAmB,GACEC,EAAmBpB,K,CAGrB,kBAAAqB,GACEC,EAAsBtB,K,CAGxB,oBAAAuB,GACEC,EAAsBxB,K,CAGxB,MAAAyB,GACE,MAAMC,EAAc1B,KAAK2B,QAAU,OAAS,OAAS,OAErD,OACEC,EAACC,EAAoB,CAACnB,SAAUV,KAAKU,UACnCkB,EAAA,OAAKE,MAAOvC,EAAIC,WACdoC,EAAA,kBACEG,WAAY/B,KAAK+B,WACjBrB,SAAUV,KAAKU,SAAQ,WACbV,KAAKgC,eAAiBhC,KAAKgC,eAAiB,KAAI,aAC9ChC,KAAKiC,iBAAmBjC,KAAKiC,iBAAmB,KAC5DC,YAAalC,KAAKmC,mBAAqBnC,KAAKmC,mBAAqB,KACjEC,KAAMpC,KAAKoC,KACXC,MAAOrC,KAAKsC,aACZC,QAASvC,KAAKuC,QACdC,QAASxC,KAAKC,sCACdwC,MAAOzC,KAAKyC,MACZC,WAAY,UACZC,KAAK,SACLhB,MAAOD,GAEN1B,KAAK4C,aAERhB,EAAA,OAAKE,MAAOvC,EAAIE,kBACdmC,EAAA,OAAKE,MAAOvC,EAAIG,WAElBkC,EAAA,oBACElB,SAAUV,KAAKU,SACf8B,QAASxC,KAAKI,wCACdyC,KAAM7C,KAAKQ,OACXsC,mBAAoB9C,KAAK8C,mBACzBC,UAAU,aACVN,MAAOzC,KAAKyC,MAAK,cACJzC,KAAKyC,OAElBb,EAAA,kBACEG,WAAY/B,KAAK+B,WACjBrB,SAAUV,KAAKU,SAAQ,aACXV,KAAKgD,aACjBZ,KAAMpC,KAAKoC,KACXC,MAAOrC,KAAKiD,cACZR,MAAOzC,KAAKyC,MACZS,KAAK,UACLR,WAAY,YACZC,KAAK,WAEPf,EAAA,e,CAaV,gBAAYoB,GACV,OAAOhD,KAAKmD,mBAAqB,UAC7B,cACAnD,KAAKmD,mBAAqB,QACxB,YACAnD,KAAKmD,mBAAqB,WACxB,WACA,iB"}
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{f as t}from"./p-289a6e00.js";import{c as o}from"./p-e6104656.js";const n=new Set;let s;const c={childList:true};function f(t){if(!s){s=o("mutation",e)}s.observe(t.el,c)}function i(t){n.delete(t.el);e(s.takeRecords());s.disconnect();for(const[t]of n.entries()){s.observe(t,c)}}function e(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d};
|
|
7
|
+
//# sourceMappingURL=p-7f40f967.js.map
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,g as s}from"./p-289a6e00.js";import{c as n,d as a,u as r,I as o}from"./p-9ce55312.js";import{c as l}from"./p-e6104656.js";import{d,a as c,c as h}from"./p-84311bfd.js";import{d as u}from"./p-02de05ee.js";import"./p-e78bd00c.js";import"./p-45a4ca2e.js";import"./p-b75d2697.js";const p={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"};const f=":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:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}";const b=class{constructor(i){t(this,i);this.calciteListOrderChange=e(this,"calciteListOrderChange",6);this.items=[];this.mutationObserver=l("mutation",(()=>{this.setUpSorting()}));this.dragEnabled=true;this.canPull=undefined;this.canPut=undefined;this.dragSelector=undefined;this.group=undefined;this.handleSelector="calcite-handle";this.layout="vertical";this.disabled=false;this.loading=false}connectedCallback(){if(d(this)){return}this.setUpSorting();this.beginObserving();n(this)}disconnectedCallback(){if(d(this)){return}a(this);c(this);this.endObserving()}componentDidRender(){r(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}onGlobalDragStart(){this.endObserving()}onGlobalDragEnd(){this.beginObserving()}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.children);this.calciteListOrderChange.emit()}handleNudgeEvent(t){const{direction:e}=t.detail;const i=t.composedPath().find((t=>t.matches(this.handleSelector)));const s=this.items.find((e=>e.contains(i)||t.composedPath().includes(e)));const n=this.items.length-1;const a=this.items.indexOf(s);let r=false;let o;if(e==="up"){if(a===0){r=true}else{o=a-1}}else{if(a===n){o=0}else if(a===n-1){r=true}else{o=a+2}}this.endObserving();if(r){s.parentElement.appendChild(s)}else{s.parentElement.insertBefore(s,this.items[o])}this.items=Array.from(this.el.children);this.beginObserving();requestAnimationFrame((()=>u(i)));if("selected"in i){i.selected=true}}setUpSorting(){this.items=Array.from(this.el.children);h(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true})}endObserving(){this.mutationObserver?.disconnect()}render(){const{disabled:t,layout:e}=this;const s=e==="horizontal"||false;return i(o,{disabled:t},i("div",{class:{[p.container]:true,[p.containerVertical]:!s,[p.containerHorizontal]:s}},i("slot",null)))}get el(){return s(this)}};b.style=f;export{b as calcite_sortable_list};
|
|
7
|
+
//# sourceMappingURL=p-80b19ad6.entry.js.map
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{d as e}from"./p-fefd2c80.js";import"./p-289a6e00.js";import"./p-f0ecbb35.js";import"./p-02de05ee.js";import"./p-45a4ca2e.js";import"./p-b75d2697.js";import"./p-9ce55312.js";import"./p-e78bd00c.js";import"./p-446a7aa4.js";import"./p-9c4f8476.js";import"./p-a5f7ec5b.js";import"./p-bc9ca886.js";import"./p-f3722d2d.js";import"./p-e6104656.js";import"./p-9c9323f6.js";import"./p-ee921c31.js";import"./p-a906aea8.js";import"./p-ef68900f.js";import"./p-cd53d08d.js";var p={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function e(p){return p},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};e.locale(p,null,true);export default p;
|
|
7
|
+
//# sourceMappingURL=p-8112aca5.js.map
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{a as r,S as t,i as e,b as n,c as o,r as u,f as a}from"./p-2637a70b.js";function c(r,t){var e=-1,n=r==null?0:r.length,o=Array(n);while(++e<n){o[e]=t(r[e],e,r)}return o}var f=Array.isArray;var i=1/0;var b=t?t.prototype:undefined,v=b?b.toString:undefined;function l(t){if(typeof t=="string"){return t}if(f(t)){return c(t,l)+""}if(r(t)){return v?v.call(t):""}var e=t+"";return e=="0"&&1/t==-i?"-0":e}function j(r){return r}var s="[object AsyncFunction]",y="[object Function]",p="[object GeneratorFunction]",d="[object Proxy]";function m(r){if(!e(r)){return false}var t=n(r);return t==y||t==p||t==s||t==d}var A=9007199254740991;var x=/^(?:0|[1-9]\d*)$/;function g(r,t){var e=typeof r;t=t==null?A:t;return!!t&&(e=="number"||e!="symbol"&&x.test(r))&&(r>-1&&r%1==0&&r<t)}var h=9007199254740991;function O(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=h}function w(r){return r!=null&&O(r.length)&&!m(r)}var F=Object.prototype;function E(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||F;return r===e}function S(r,t){var e=-1,n=Array(r);while(++e<r){n[e]=t(e)}return n}var U="[object Arguments]";function I(r){return o(r)&&n(r)==U}var R=Object.prototype;var $=R.hasOwnProperty;var k=R.propertyIsEnumerable;var B=I(function(){return arguments}())?I:function(r){return o(r)&&$.call(r,"callee")&&!k.call(r,"callee")};function D(){return false}var M=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var N=M&&typeof module=="object"&&module&&!module.nodeType&&module;var C=N&&N.exports===M;var G=C?u.Buffer:undefined;var L=G?G.isBuffer:undefined;var P=L||D;var T="[object Arguments]",V="[object Array]",W="[object Boolean]",q="[object Date]",z="[object Error]",H="[object Function]",J="[object Map]",K="[object Number]",Q="[object Object]",X="[object RegExp]",Y="[object Set]",Z="[object String]",_="[object WeakMap]";var rr="[object ArrayBuffer]",tr="[object DataView]",er="[object Float32Array]",nr="[object Float64Array]",or="[object Int8Array]",ur="[object Int16Array]",ar="[object Int32Array]",cr="[object Uint8Array]",fr="[object Uint8ClampedArray]",ir="[object Uint16Array]",br="[object Uint32Array]";var vr={};vr[er]=vr[nr]=vr[or]=vr[ur]=vr[ar]=vr[cr]=vr[fr]=vr[ir]=vr[br]=true;vr[T]=vr[V]=vr[rr]=vr[W]=vr[tr]=vr[q]=vr[z]=vr[H]=vr[J]=vr[K]=vr[Q]=vr[X]=vr[Y]=vr[Z]=vr[_]=false;function lr(r){return o(r)&&O(r.length)&&!!vr[n(r)]}function jr(r){return function(t){return r(t)}}var sr=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var yr=sr&&typeof module=="object"&&module&&!module.nodeType&&module;var pr=yr&&yr.exports===sr;var dr=pr&&a.process;var mr=function(){try{var r=yr&&yr.require&&yr.require("util").types;if(r){return r}return dr&&dr.binding&&dr.binding("util")}catch(r){}}();var Ar=mr&&mr.isTypedArray;var xr=Ar?jr(Ar):lr;var gr=Object.prototype;var hr=gr.hasOwnProperty;function Or(r,t){var e=f(r),n=!e&&B(r),o=!e&&!n&&P(r),u=!e&&!n&&!o&&xr(r),a=e||n||o||u,c=a?S(r.length,String):[],i=c.length;for(var b in r){if((t||hr.call(r,b))&&!(a&&(b=="length"||o&&(b=="offset"||b=="parent")||u&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||g(b,i)))){c.push(b)}}return c}function wr(r){var t=[];if(r!=null){for(var e in Object(r)){t.push(e)}}return t}var Fr=Object.prototype;var Er=Fr.hasOwnProperty;function Sr(r){if(!e(r)){return wr(r)}var t=E(r),n=[];for(var o in r){if(!(o=="constructor"&&(t||!Er.call(r,o)))){n.push(o)}}return n}function Ur(r){return w(r)?Or(r,true):Sr(r)}function Ir(r){return r==null?"":l(r)}function Rr(r){return function(t,e,n){var o=-1,u=Object(t),a=n(t),c=a.length;while(c--){var f=a[r?c:++o];if(e(u[f],f,u)===false){break}}return t}}var $r=Rr();function kr(r){return typeof r=="function"?r:j}var Br=/[\\^$.*+?()[\]{}|]/g,Dr=RegExp(Br.source);function Mr(r){r=Ir(r);return r&&Dr.test(r)?r.replace(Br,"\\$&"):r}function Nr(r,t){return r==null?r:$r(r,kr(t),Ur)}const Cr=(r,t)=>{const e=Mr(t);const n=new RegExp(e,"i");if(r.length===0){console.warn(`No data was passed to the filter function.\n The data argument should be an array of objects`)}const o=(r,t)=>{if(r?.constant||r?.filterDisabled){return true}let e=false;Nr(r,(r=>{if(typeof r==="function"||r==null){return}if(Array.isArray(r)||typeof r==="object"&&r!==null){if(o(r,t)){e=true}}else if(t.test(r)){e=true}}));return e};const u=r.filter((r=>o(r,n)));return u};export{Cr as f};
|
|
7
|
+
//# sourceMappingURL=p-83031ec1.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
/**!
|
|
7
|
+
* Sortable 1.15.1
|
|
8
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
9
|
+
* @author owenm <owen23355@gmail.com>
|
|
10
|
+
* @license MIT
|
|
11
|
+
*/
|
|
12
|
+
function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);if(e){i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))}n.push.apply(n,i)}return n}function e(e){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};if(n%2){t(Object(r),true).forEach((function(t){i(e,t,r[t])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(r))}else{t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}}return e}function n(t){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){n=function(t){return typeof t}}else{n=function(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}}return n(t)}function i(t,e,n){if(e in t){Object.defineProperty(t,e,{value:n,enumerable:true,configurable:true,writable:true})}else{t[e]=n}return t}function r(){r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n){if(Object.prototype.hasOwnProperty.call(n,i)){t[i]=n[i]}}}return t};return r.apply(this,arguments)}function o(t,e){if(t==null)return{};var n={};var i=Object.keys(t);var r,o;for(o=0;o<i.length;o++){r=i[o];if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}function a(t,e){if(t==null)return{};var n=o(t,e);var i,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++){i=a[r];if(e.indexOf(i)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(t,i))continue;n[i]=t[i]}}return n}var f="1.15.1";function u(t){if(typeof window!=="undefined"&&window.navigator){return!!navigator.userAgent.match(t)}}var s=u(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);var l=u(/Edge/i);var c=u(/firefox/i);var h=u(/safari/i)&&!u(/chrome/i)&&!u(/android/i);var d=u(/iP(ad|od|hone)/i);var v=u(/chrome/i)&&u(/android/i);var m={capture:false,passive:false};function p(t,e,n){t.addEventListener(e,n,!s&&m)}function g(t,e,n){t.removeEventListener(e,n,!s&&m)}function b(t,e){if(!e)return;e[0]===">"&&(e=e.substring(1));if(t){try{if(t.matches){return t.matches(e)}else if(t.msMatchesSelector){return t.msMatchesSelector(e)}else if(t.webkitMatchesSelector){return t.webkitMatchesSelector(e)}}catch(t){return false}}return false}function w(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function E(t,e,n,i){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&b(t,e):b(t,e))||i&&t===n){return t}if(t===n)break}while(t=w(t))}return null}var y=/\s+/g;function I(t,e,n){if(t&&e){if(t.classList){t.classList[n?"add":"remove"](e)}else{var i=(" "+t.className+" ").replace(y," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(y," ")}}}function x(t,e,n){var i=t&&t.style;if(i){if(n===void 0){if(document.defaultView&&document.defaultView.getComputedStyle){n=document.defaultView.getComputedStyle(t,"")}else if(t.currentStyle){n=t.currentStyle}return e===void 0?n:n[e]}else{if(!(e in i)&&e.indexOf("webkit")===-1){e="-webkit-"+e}i[e]=n+(typeof n==="string"?"":"px")}}}function S(t,e){var n="";if(typeof t==="string"){n=t}else{do{var i=x(t,"transform");if(i&&i!=="none"){n=i+" "+n}}while(!e&&(t=t.parentNode))}var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function T(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,o=i.length;if(n){for(;r<o;r++){n(i[r],r)}}return i}return[]}function O(){var t=document.scrollingElement;if(t){return t}else{return document.documentElement}}function M(t,e,n,i,r){if(!t.getBoundingClientRect&&t!==window)return;var o,a,f,u,l,c,h;if(t!==window&&t.parentNode&&t!==O()){o=t.getBoundingClientRect();a=o.top;f=o.left;u=o.bottom;l=o.right;c=o.height;h=o.width}else{a=0;f=0;u=window.innerHeight;l=window.innerWidth;c=window.innerHeight;h=window.innerWidth}if((e||n)&&t!==window){r=r||t.parentNode;if(!s){do{if(r&&r.getBoundingClientRect&&(x(r,"transform")!=="none"||n&&x(r,"position")!=="static")){var d=r.getBoundingClientRect();a-=d.top+parseInt(x(r,"border-top-width"));f-=d.left+parseInt(x(r,"border-left-width"));u=a+o.height;l=f+o.width;break}}while(r=r.parentNode)}}if(i&&t!==window){var v=S(r||t),m=v&&v.a,p=v&&v.d;if(v){a/=p;f/=m;h/=m;c/=p;u=a+c;l=f+h}}return{top:a,left:f,bottom:u,right:l,width:h,height:c}}function _(t){var e=M(t);var n=parseInt(x(t,"padding-left")),i=parseInt(x(t,"padding-top")),r=parseInt(x(t,"padding-right")),o=parseInt(x(t,"padding-bottom"));e.top+=i+parseInt(x(t,"border-top-width"));e.left+=n+parseInt(x(t,"border-left-width"));e.width=t.clientWidth-n-r;e.height=t.clientHeight-i-o;e.bottom=e.top+e.height;e.right=e.left+e.width;return e}function D(t,e,n){var i=N(t,true),r=M(t)[e];while(i){var o=M(i)[n],a=void 0;if(n==="top"||n==="left"){a=r>=o}else{a=r<=o}if(!a)return i;if(i===O())break;i=N(i,false)}return false}function k(t,e,n,i){var r=0,o=0,a=t.children;while(o<a.length){if(a[o].style.display!=="none"&&a[o]!==Ut.ghost&&(i||a[o]!==Ut.dragged)&&E(a[o],n.draggable,t,false)){if(r===e){return a[o]}r++}o++}return null}function C(t,e){var n=t.lastElementChild;while(n&&(n===Ut.ghost||x(n,"display")==="none"||e&&!b(n,e))){n=n.previousElementSibling}return n||null}function j(t,e){var n=0;if(!t||!t.parentNode){return-1}while(t=t.previousElementSibling){if(t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==Ut.clone&&(!e||b(t,e))){n++}}return n}function A(t){var e=0,n=0,i=O();if(t){do{var r=S(t),o=r.a,a=r.d;e+=t.scrollLeft*o;n+=t.scrollTop*a}while(t!==i&&(t=t.parentNode))}return[e,n]}function z(t,e){for(var n in t){if(!t.hasOwnProperty(n))continue;for(var i in e){if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n)}}return-1}function N(t,e){if(!t||!t.getBoundingClientRect)return O();var n=t;var i=false;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=x(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return O();if(i||e)return n;i=true}}}while(n=n.parentNode);return O()}function F(t,e){if(t&&e){for(var n in e){if(e.hasOwnProperty(n)){t[n]=e[n]}}}return t}function P(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}var B;function H(t,e){return function(){if(!B){var n=arguments,i=this;if(n.length===1){t.call(i,n[0])}else{t.apply(i,n)}B=setTimeout((function(){B=void 0}),e)}}}function G(){clearTimeout(B);B=void 0}function L(t,e,n){t.scrollLeft+=e;t.scrollTop+=n}function R(t){var e=window.Polymer;var n=window.jQuery||window.Zepto;if(e&&e.dom){return e.dom(t).cloneNode(true)}else if(n){return n(t).clone(true)[0]}else{return t.cloneNode(true)}}var W="Sortable"+(new Date).getTime();function X(){var t=[],n;return{captureAnimationState:function n(){t=[];if(!this.options.animation)return;var i=[].slice.call(this.el.children);i.forEach((function(n){if(x(n,"display")==="none"||n===Ut.ghost)return;t.push({target:n,rect:M(n)});var i=e({},t[t.length-1].rect);if(n.thisAnimationDuration){var r=S(n,true);if(r){i.top-=r.f;i.left-=r.e}}n.fromRect=i}))},addAnimationState:function e(n){t.push(n)},removeAnimationState:function e(n){t.splice(z(t,{target:n}),1)},animateAll:function e(i){var r=this;if(!this.options.animation){clearTimeout(n);if(typeof i==="function")i();return}var o=false,a=0;t.forEach((function(t){var e=0,n=t.target,i=n.fromRect,f=M(n),u=n.prevFromRect,s=n.prevToRect,l=t.rect,c=S(n,true);if(c){f.top-=c.f;f.left-=c.e}n.toRect=f;if(n.thisAnimationDuration){if(P(u,f)&&!P(i,f)&&(l.top-f.top)/(l.left-f.left)===(i.top-f.top)/(i.left-f.left)){e=U(l,u,s,r.options)}}if(!P(f,i)){n.prevFromRect=i;n.prevToRect=f;if(!e){e=r.options.animation}r.animate(n,l,f,e)}if(e){o=true;a=Math.max(a,e);clearTimeout(n.animationResetTimer);n.animationResetTimer=setTimeout((function(){n.animationTime=0;n.prevFromRect=null;n.fromRect=null;n.prevToRect=null;n.thisAnimationDuration=null}),e);n.thisAnimationDuration=e}}));clearTimeout(n);if(!o){if(typeof i==="function")i()}else{n=setTimeout((function(){if(typeof i==="function")i()}),a)}t=[]},animate:function t(e,n,i,r){if(r){x(e,"transition","");x(e,"transform","");var o=S(this.el),a=o&&o.a,f=o&&o.d,u=(n.left-i.left)/(a||1),s=(n.top-i.top)/(f||1);e.animatingX=!!u;e.animatingY=!!s;x(e,"transform","translate3d("+u+"px,"+s+"px,0)");this.forRepaintDummy=Y(e);x(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:""));x(e,"transform","translate3d(0,0,0)");typeof e.animated==="number"&&clearTimeout(e.animated);e.animated=setTimeout((function(){x(e,"transition","");x(e,"transform","");e.animated=false;e.animatingX=false;e.animatingY=false}),r)}}}}function Y(t){return t.offsetWidth}function U(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}var V=[];var Z={initializeByDefault:true};var $={mount:function t(e){for(var n in Z){if(Z.hasOwnProperty(n)&&!(n in e)){e[n]=Z[n]}}V.forEach((function(t){if(t.pluginName===e.pluginName){throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}}));V.push(e)},pluginEvent:function t(n,i,r){var o=this;this.eventCanceled=false;r.cancel=function(){o.eventCanceled=true};var a=n+"Global";V.forEach((function(t){if(!i[t.pluginName])return;if(i[t.pluginName][a]){i[t.pluginName][a](e({sortable:i},r))}if(i.options[t.pluginName]&&i[t.pluginName][n]){i[t.pluginName][n](e({sortable:i},r))}}))},initializePlugins:function t(e,n,i,o){V.forEach((function(t){var o=t.pluginName;if(!e.options[o]&&!t.initializeByDefault)return;var a=new t(e,n,e.options);a.sortable=e;a.options=e.options;e[o]=a;r(i,a.defaults)}));for(var a in e.options){if(!e.options.hasOwnProperty(a))continue;var f=this.modifyOption(e,a,e.options[a]);if(typeof f!=="undefined"){e.options[a]=f}}},getEventProperties:function t(e,n){var i={};V.forEach((function(t){if(typeof t.eventProperties!=="function")return;r(i,t.eventProperties.call(n[t.pluginName],e))}));return i},modifyOption:function t(e,n,i){var r;V.forEach((function(t){if(!e[t.pluginName])return;if(t.optionListeners&&typeof t.optionListeners[n]==="function"){r=t.optionListeners[n].call(e[t.pluginName],i)}}));return r}};function q(t){var n=t.sortable,i=t.rootEl,r=t.name,o=t.targetEl,a=t.cloneEl,f=t.toEl,u=t.fromEl,c=t.oldIndex,h=t.newIndex,d=t.oldDraggableIndex,v=t.newDraggableIndex,m=t.originalEvent,p=t.putSortable,g=t.extraEventProperties;n=n||i&&i[W];if(!n)return;var b,w=n.options,E="on"+r.charAt(0).toUpperCase()+r.substr(1);if(window.CustomEvent&&!s&&!l){b=new CustomEvent(r,{bubbles:true,cancelable:true})}else{b=document.createEvent("Event");b.initEvent(r,true,true)}b.to=f||i;b.from=u||i;b.item=o||i;b.clone=a;b.oldIndex=c;b.newIndex=h;b.oldDraggableIndex=d;b.newDraggableIndex=v;b.originalEvent=m;b.pullMode=p?p.lastPutMode:undefined;var y=e(e({},g),$.getEventProperties(r,n));for(var I in y){b[I]=y[I]}if(i){i.dispatchEvent(b)}if(w[E]){w[E].call(n,b)}}var J=["evt"];var K=function t(n,i){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},o=r.evt,f=a(r,J);$.pluginEvent.bind(Ut)(n,i,e({dragEl:tt,parentEl:et,ghostEl:nt,rootEl:it,nextEl:rt,lastDownEl:ot,cloneEl:at,cloneHidden:ft,dragStarted:xt,putSortable:dt,activeSortable:Ut.active,originalEvent:o,oldIndex:ut,oldDraggableIndex:lt,newIndex:st,newDraggableIndex:ct,hideGhostForTarget:Rt,unhideGhostForTarget:Wt,cloneNowHidden:function t(){ft=true},cloneNowShown:function t(){ft=false},dispatchSortableEvent:function t(e){Q({sortable:i,name:e,originalEvent:o})}},f))};function Q(t){q(e({putSortable:dt,cloneEl:at,targetEl:tt,rootEl:it,oldIndex:ut,oldDraggableIndex:lt,newIndex:st,newDraggableIndex:ct},t))}var tt,et,nt,it,rt,ot,at,ft,ut,st,lt,ct,ht,dt,vt=false,mt=false,pt=[],gt,bt,wt,Et,yt,It,xt,St,Tt,Ot=false,Mt=false,_t,Dt,kt=[],Ct=false,jt=[];var At=typeof document!=="undefined",zt=d,Nt=l||s?"cssFloat":"float",Ft=At&&!v&&!d&&"draggable"in document.createElement("div"),Pt=function(){if(!At)return;if(s){return false}var t=document.createElement("x");t.style.cssText="pointer-events:auto";return t.style.pointerEvents==="auto"}(),Bt=function t(e,n){var i=x(e),r=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),o=k(e,0,n),a=k(e,1,n),f=o&&x(o),u=a&&x(a),s=f&&parseInt(f.marginLeft)+parseInt(f.marginRight)+M(o).width,l=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+M(a).width;if(i.display==="flex"){return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal"}if(i.display==="grid"){return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal"}if(o&&f["float"]&&f["float"]!=="none"){var c=f["float"]==="left"?"left":"right";return a&&(u.clear==="both"||u.clear===c)?"vertical":"horizontal"}return o&&(f.display==="block"||f.display==="flex"||f.display==="table"||f.display==="grid"||s>=r&&i[Nt]==="none"||a&&i[Nt]==="none"&&s+l>r)?"vertical":"horizontal"},Ht=function t(e,n,i){var r=i?e.left:e.top,o=i?e.right:e.bottom,a=i?e.width:e.height,f=i?n.left:n.top,u=i?n.right:n.bottom,s=i?n.width:n.height;return r===f||o===u||r+a/2===f+s/2},Gt=function t(e,n){var i;pt.some((function(t){var r=t[W].options.emptyInsertThreshold;if(!r||C(t))return;var o=M(t),a=e>=o.left-r&&e<=o.right+r,f=n>=o.top-r&&n<=o.bottom+r;if(a&&f){return i=t}}));return i},Lt=function t(e){function i(t,e){return function(n,r,o,a){var f=n.options.group.name&&r.options.group.name&&n.options.group.name===r.options.group.name;if(t==null&&(e||f)){return true}else if(t==null||t===false){return false}else if(e&&t==="clone"){return t}else if(typeof t==="function"){return i(t(n,r,o,a),e)(n,r,o,a)}else{var u=(e?n:r).options.group.name;return t===true||typeof t==="string"&&t===u||t.join&&t.indexOf(u)>-1}}}var r={};var o=e.group;if(!o||n(o)!="object"){o={name:o}}r.name=o.name;r.checkPull=i(o.pull,true);r.checkPut=i(o.put);r.revertClone=o.revertClone;e.group=r},Rt=function t(){if(!Pt&&nt){x(nt,"display","none")}},Wt=function t(){if(!Pt&&nt){x(nt,"display","")}};if(At&&!v){document.addEventListener("click",(function(t){if(mt){t.preventDefault();t.stopPropagation&&t.stopPropagation();t.stopImmediatePropagation&&t.stopImmediatePropagation();mt=false;return false}}),true)}var Xt=function t(e){if(tt){e=e.touches?e.touches[0]:e;var n=Gt(e.clientX,e.clientY);if(n){var i={};for(var r in e){if(e.hasOwnProperty(r)){i[r]=e[r]}}i.target=i.rootEl=n;i.preventDefault=void 0;i.stopPropagation=void 0;n[W]._onDragOver(i)}}};var Yt=function t(e){if(tt){tt.parentNode[W]._isOutsideThisEl(e.target)}};function Ut(t,e){if(!(t&&t.nodeType&&t.nodeType===1)){throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t))}this.el=t;this.options=e=r({},e);t[W]=this;var n={group:null,sort:true,disabled:false,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:false,invertedSwapThreshold:null,removeCloneOnHide:true,direction:function e(){return Bt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:true,animation:0,easing:null,setData:function t(e,n){e.setData("Text",n.textContent)},dropBubble:false,dragoverBubble:false,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:false,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:false,fallbackClass:"sortable-fallback",fallbackOnBody:false,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ut.supportPointer!==false&&"PointerEvent"in window&&!h,emptyInsertThreshold:5};$.initializePlugins(this,t,n);for(var i in n){!(i in e)&&(e[i]=n[i])}Lt(e);for(var o in this){if(o.charAt(0)==="_"&&typeof this[o]==="function"){this[o]=this[o].bind(this)}}this.nativeDraggable=e.forceFallback?false:Ft;if(this.nativeDraggable){this.options.touchStartThreshold=1}if(e.supportPointer){p(t,"pointerdown",this._onTapStart)}else{p(t,"mousedown",this._onTapStart);p(t,"touchstart",this._onTapStart)}if(this.nativeDraggable){p(t,"dragover",this);p(t,"dragenter",this)}pt.push(this.el);e.store&&e.store.get&&this.sort(e.store.get(this)||[]);r(this,X())}Ut.prototype={constructor:Ut,_isOutsideThisEl:function t(e){if(!this.el.contains(e)&&e!==this.el){St=null}},_getDirection:function t(e,n){return typeof this.options.direction==="function"?this.options.direction.call(this,e,n,tt):this.options.direction},_onTapStart:function t(e){if(!e.cancelable)return;var n=this,i=this.el,r=this.options,o=r.preventOnFilter,a=e.type,f=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,u=(f||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||u,l=r.filter;ne(i);if(tt){return}if(/mousedown|pointerdown/.test(a)&&e.button!==0||r.disabled){return}if(s.isContentEditable){return}if(!this.nativeDraggable&&h&&u&&u.tagName.toUpperCase()==="SELECT"){return}u=E(u,r.draggable,i,false);if(u&&u.animated){return}if(ot===u){return}ut=j(u);lt=j(u,r.draggable);if(typeof l==="function"){if(l.call(this,e,u,this)){Q({sortable:n,rootEl:s,name:"filter",targetEl:u,toEl:i,fromEl:i});K("filter",n,{evt:e});o&&e.cancelable&&e.preventDefault();return}}else if(l){l=l.split(",").some((function(t){t=E(s,t.trim(),i,false);if(t){Q({sortable:n,rootEl:t,name:"filter",targetEl:u,fromEl:i,toEl:i});K("filter",n,{evt:e});return true}}));if(l){o&&e.cancelable&&e.preventDefault();return}}if(r.handle&&!E(s,r.handle,i,false)){return}this._prepareDragStart(e,f,u)},_prepareDragStart:function t(e,n,i){var r=this,o=r.el,a=r.options,f=o.ownerDocument,u;if(i&&!tt&&i.parentNode===o){var h=M(i);it=o;tt=i;et=tt.parentNode;rt=tt.nextSibling;ot=i;ht=a.group;Ut.dragged=tt;gt={target:tt,clientX:(n||e).clientX,clientY:(n||e).clientY};yt=gt.clientX-h.left;It=gt.clientY-h.top;this._lastX=(n||e).clientX;this._lastY=(n||e).clientY;tt.style["will-change"]="all";u=function t(){K("delayEnded",r,{evt:e});if(Ut.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents();if(!c&&r.nativeDraggable){tt.draggable=true}r._triggerDragStart(e,n);Q({sortable:r,name:"choose",originalEvent:e});I(tt,a.chosenClass,true)};a.ignore.split(",").forEach((function(t){T(tt,t.trim(),$t)}));p(f,"dragover",Xt);p(f,"mousemove",Xt);p(f,"touchmove",Xt);p(f,"mouseup",r._onDrop);p(f,"touchend",r._onDrop);p(f,"touchcancel",r._onDrop);if(c&&this.nativeDraggable){this.options.touchStartThreshold=4;tt.draggable=true}K("delayStart",this,{evt:e});if(a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(l||s))){if(Ut.eventCanceled){this._onDrop();return}p(f,"mouseup",r._disableDelayedDrag);p(f,"touchend",r._disableDelayedDrag);p(f,"touchcancel",r._disableDelayedDrag);p(f,"mousemove",r._delayedDragTouchMoveHandler);p(f,"touchmove",r._delayedDragTouchMoveHandler);a.supportPointer&&p(f,"pointermove",r._delayedDragTouchMoveHandler);r._dragStartTimer=setTimeout(u,a.delay)}else{u()}}},_delayedDragTouchMoveHandler:function t(e){var n=e.touches?e.touches[0]:e;if(Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))){this._disableDelayedDrag()}},_disableDelayedDrag:function t(){tt&&$t(tt);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function t(){var e=this.el.ownerDocument;g(e,"mouseup",this._disableDelayedDrag);g(e,"touchend",this._disableDelayedDrag);g(e,"touchcancel",this._disableDelayedDrag);g(e,"mousemove",this._delayedDragTouchMoveHandler);g(e,"touchmove",this._delayedDragTouchMoveHandler);g(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function t(e,n){n=n||e.pointerType=="touch"&&e;if(!this.nativeDraggable||n){if(this.options.supportPointer){p(document,"pointermove",this._onTouchMove)}else if(n){p(document,"touchmove",this._onTouchMove)}else{p(document,"mousemove",this._onTouchMove)}}else{p(tt,"dragend",this);p(it,"dragstart",this._onDragStart)}try{if(document.selection){ie((function(){document.selection.empty()}))}else{window.getSelection().removeAllRanges()}}catch(t){}},_dragStarted:function t(e,n){vt=false;if(it&&tt){K("dragStarted",this,{evt:n});if(this.nativeDraggable){p(document,"dragover",Yt)}var i=this.options;!e&&I(tt,i.dragClass,false);I(tt,i.ghostClass,true);Ut.active=this;e&&this._appendGhost();Q({sortable:this,name:"start",originalEvent:n})}else{this._nulling()}},_emulateDragOver:function t(){if(bt){this._lastX=bt.clientX;this._lastY=bt.clientY;Rt();var e=document.elementFromPoint(bt.clientX,bt.clientY);var n=e;while(e&&e.shadowRoot){e=e.shadowRoot.elementFromPoint(bt.clientX,bt.clientY);if(e===n)break;n=e}tt.parentNode[W]._isOutsideThisEl(e);if(n){do{if(n[W]){var i=void 0;i=n[W]._onDragOver({clientX:bt.clientX,clientY:bt.clientY,target:e,rootEl:n});if(i&&!this.options.dragoverBubble){break}}e=n}while(n=n.parentNode)}Wt()}},_onTouchMove:function t(e){if(gt){var n=this.options,i=n.fallbackTolerance,r=n.fallbackOffset,o=e.touches?e.touches[0]:e,a=nt&&S(nt,true),f=nt&&a&&a.a,u=nt&&a&&a.d,s=zt&&Dt&&A(Dt),l=(o.clientX-gt.clientX+r.x)/(f||1)+(s?s[0]-kt[0]:0)/(f||1),c=(o.clientY-gt.clientY+r.y)/(u||1)+(s?s[1]-kt[1]:0)/(u||1);if(!Ut.active&&!vt){if(i&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<i){return}this._onDragStart(e,true)}if(nt){if(a){a.e+=l-(wt||0);a.f+=c-(Et||0)}else{a={a:1,b:0,c:0,d:1,e:l,f:c}}var h="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");x(nt,"webkitTransform",h);x(nt,"mozTransform",h);x(nt,"msTransform",h);x(nt,"transform",h);wt=l;Et=c;bt=o}e.cancelable&&e.preventDefault()}},_appendGhost:function t(){if(!nt){var e=this.options.fallbackOnBody?document.body:it,n=M(tt,true,zt,true,e),i=this.options;if(zt){Dt=e;while(x(Dt,"position")==="static"&&x(Dt,"transform")==="none"&&Dt!==document){Dt=Dt.parentNode}if(Dt!==document.body&&Dt!==document.documentElement){if(Dt===document)Dt=O();n.top+=Dt.scrollTop;n.left+=Dt.scrollLeft}else{Dt=O()}kt=A(Dt)}nt=tt.cloneNode(true);I(nt,i.ghostClass,false);I(nt,i.fallbackClass,true);I(nt,i.dragClass,true);x(nt,"transition","");x(nt,"transform","");x(nt,"box-sizing","border-box");x(nt,"margin",0);x(nt,"top",n.top);x(nt,"left",n.left);x(nt,"width",n.width);x(nt,"height",n.height);x(nt,"opacity","0.8");x(nt,"position",zt?"absolute":"fixed");x(nt,"zIndex","100000");x(nt,"pointerEvents","none");Ut.ghost=nt;e.appendChild(nt);x(nt,"transform-origin",yt/parseInt(nt.style.width)*100+"% "+It/parseInt(nt.style.height)*100+"%")}},_onDragStart:function t(e,n){var i=this;var r=e.dataTransfer;var o=i.options;K("dragStart",this,{evt:e});if(Ut.eventCanceled){this._onDrop();return}K("setupClone",this);if(!Ut.eventCanceled){at=R(tt);at.removeAttribute("id");at.draggable=false;at.style["will-change"]="";this._hideClone();I(at,this.options.chosenClass,false);Ut.clone=at}i.cloneId=ie((function(){K("clone",i);if(Ut.eventCanceled)return;if(!i.options.removeCloneOnHide){it.insertBefore(at,tt)}i._hideClone();Q({sortable:i,name:"clone"})}));!n&&I(tt,o.dragClass,true);if(n){mt=true;i._loopId=setInterval(i._emulateDragOver,50)}else{g(document,"mouseup",i._onDrop);g(document,"touchend",i._onDrop);g(document,"touchcancel",i._onDrop);if(r){r.effectAllowed="move";o.setData&&o.setData.call(i,r,tt)}p(document,"drop",i);x(tt,"transform","translateZ(0)")}vt=true;i._dragStartId=ie(i._dragStarted.bind(i,n,e));p(document,"selectstart",i);xt=true;if(h){x(document.body,"user-select","none")}},_onDragOver:function t(n){var i=this.el,r=n.target,o,a,f,u=this.options,s=u.group,l=Ut.active,c=ht===s,h=u.sort,d=dt||l,v,m=this,p=false;if(Ct)return;function g(t,u){K(t,m,e({evt:n,isOwner:c,axis:v?"vertical":"horizontal",revert:f,dragRect:o,targetRect:a,canSort:h,fromSortable:d,target:r,completed:w,onMove:function t(e,r){return Zt(it,i,tt,o,e,M(e),n,r)},changed:y},u))}function b(){g("dragOverAnimationCapture");m.captureAnimationState();if(m!==d){d.captureAnimationState()}}function w(t){g("dragOverCompleted",{insertion:t});if(t){if(c){l._hideClone()}else{l._showClone(m)}if(m!==d){I(tt,dt?dt.options.ghostClass:l.options.ghostClass,false);I(tt,u.ghostClass,true)}if(dt!==m&&m!==Ut.active){dt=m}else if(m===Ut.active&&dt){dt=null}if(d===m){m._ignoreWhileAnimating=r}m.animateAll((function(){g("dragOverAnimationComplete");m._ignoreWhileAnimating=null}));if(m!==d){d.animateAll();d._ignoreWhileAnimating=null}}if(r===tt&&!tt.animated||r===i&&!r.animated){St=null}if(!u.dragoverBubble&&!n.rootEl&&r!==document){tt.parentNode[W]._isOutsideThisEl(n.target);!t&&Xt(n)}!u.dragoverBubble&&n.stopPropagation&&n.stopPropagation();return p=true}function y(){st=j(tt);ct=j(tt,u.draggable);Q({sortable:m,name:"change",toEl:i,newIndex:st,newDraggableIndex:ct,originalEvent:n})}if(n.preventDefault!==void 0){n.cancelable&&n.preventDefault()}r=E(r,u.draggable,i,true);g("dragOver");if(Ut.eventCanceled)return p;if(tt.contains(n.target)||r.animated&&r.animatingX&&r.animatingY||m._ignoreWhileAnimating===r){return w(false)}mt=false;if(l&&!u.disabled&&(c?h||(f=et!==it):dt===this||(this.lastPutMode=ht.checkPull(this,l,tt,n))&&s.checkPut(this,l,tt,n))){v=this._getDirection(n,r)==="vertical";o=M(tt);g("dragOverValid");if(Ut.eventCanceled)return p;if(f){et=it;b();this._hideClone();g("revert");if(!Ut.eventCanceled){if(rt){it.insertBefore(tt,rt)}else{it.appendChild(tt)}}return w(true)}var S=C(i,u.draggable);if(!S||Kt(n,v,this)&&!S.animated){if(S===tt){return w(false)}if(S&&i===n.target){r=S}if(r){a=M(r)}if(Zt(it,i,tt,o,r,a,n,!!r)!==false){b();if(S&&S.nextSibling){i.insertBefore(tt,S.nextSibling)}else{i.appendChild(tt)}et=i;y();return w(true)}}else if(S&&Jt(n,v,this)){var T=k(i,0,u,true);if(T===tt){return w(false)}r=T;a=M(r);if(Zt(it,i,tt,o,r,a,n,false)!==false){b();i.insertBefore(tt,T);et=i;y();return w(true)}}else if(r.parentNode===i){a=M(r);var O=0,_,A=tt.parentNode!==i,z=!Ht(tt.animated&&tt.toRect||o,r.animated&&r.toRect||a,v),N=v?"top":"left",F=D(r,"top","top")||D(tt,"top","top"),P=F?F.scrollTop:void 0;if(St!==r){_=a[N];Ot=false;Mt=!z&&u.invertSwap||A}O=Qt(n,r,a,v,z?1:u.swapThreshold,u.invertedSwapThreshold==null?u.swapThreshold:u.invertedSwapThreshold,Mt,St===r);var B;if(O!==0){var H=j(tt);do{H-=O;B=et.children[H]}while(B&&(x(B,"display")==="none"||B===nt))}if(O===0||B===r){return w(false)}St=r;Tt=O;var G=r.nextElementSibling,R=false;R=O===1;var X=Zt(it,i,tt,o,r,a,n,R);if(X!==false){if(X===1||X===-1){R=X===1}Ct=true;setTimeout(qt,30);b();if(R&&!G){i.appendChild(tt)}else{r.parentNode.insertBefore(tt,R?G:r)}if(F){L(F,0,P-F.scrollTop)}et=tt.parentNode;if(_!==undefined&&!Mt){_t=Math.abs(_-M(r)[N])}y();return w(true)}}if(i.contains(tt)){return w(false)}}return false},_ignoreWhileAnimating:null,_offMoveEvents:function t(){g(document,"mousemove",this._onTouchMove);g(document,"touchmove",this._onTouchMove);g(document,"pointermove",this._onTouchMove);g(document,"dragover",Xt);g(document,"mousemove",Xt);g(document,"touchmove",Xt)},_offUpEvents:function t(){var e=this.el.ownerDocument;g(e,"mouseup",this._onDrop);g(e,"touchend",this._onDrop);g(e,"pointerup",this._onDrop);g(e,"touchcancel",this._onDrop);g(document,"selectstart",this)},_onDrop:function t(e){var n=this.el,i=this.options;st=j(tt);ct=j(tt,i.draggable);K("drop",this,{evt:e});et=tt&&tt.parentNode;st=j(tt);ct=j(tt,i.draggable);if(Ut.eventCanceled){this._nulling();return}vt=false;Mt=false;Ot=false;clearInterval(this._loopId);clearTimeout(this._dragStartTimer);re(this.cloneId);re(this._dragStartId);if(this.nativeDraggable){g(document,"drop",this);g(n,"dragstart",this._onDragStart)}this._offMoveEvents();this._offUpEvents();if(h){x(document.body,"user-select","")}x(tt,"transform","");if(e){if(xt){e.cancelable&&e.preventDefault();!i.dropBubble&&e.stopPropagation()}nt&&nt.parentNode&&nt.parentNode.removeChild(nt);if(it===et||dt&&dt.lastPutMode!=="clone"){at&&at.parentNode&&at.parentNode.removeChild(at)}if(tt){if(this.nativeDraggable){g(tt,"dragend",this)}$t(tt);tt.style["will-change"]="";if(xt&&!vt){I(tt,dt?dt.options.ghostClass:this.options.ghostClass,false)}I(tt,this.options.chosenClass,false);Q({sortable:this,name:"unchoose",toEl:et,newIndex:null,newDraggableIndex:null,originalEvent:e});if(it!==et){if(st>=0){Q({rootEl:et,name:"add",toEl:et,fromEl:it,originalEvent:e});Q({sortable:this,name:"remove",toEl:et,originalEvent:e});Q({rootEl:et,name:"sort",toEl:et,fromEl:it,originalEvent:e});Q({sortable:this,name:"sort",toEl:et,originalEvent:e})}dt&&dt.save()}else{if(st!==ut){if(st>=0){Q({sortable:this,name:"update",toEl:et,originalEvent:e});Q({sortable:this,name:"sort",toEl:et,originalEvent:e})}}}if(Ut.active){if(st==null||st===-1){st=ut;ct=lt}Q({sortable:this,name:"end",toEl:et,originalEvent:e});this.save()}}}this._nulling()},_nulling:function t(){K("nulling",this);it=tt=et=nt=rt=at=ot=ft=gt=bt=xt=st=ct=ut=lt=St=Tt=dt=ht=Ut.dragged=Ut.ghost=Ut.clone=Ut.active=null;jt.forEach((function(t){t.checked=true}));jt.length=wt=Et=0},handleEvent:function t(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":if(tt){this._onDragOver(e);Vt(e)}break;case"selectstart":e.preventDefault();break}},toArray:function t(){var e=[],n,i=this.el.children,r=0,o=i.length,a=this.options;for(;r<o;r++){n=i[r];if(E(n,a.draggable,this.el,false)){e.push(n.getAttribute(a.dataIdAttr)||ee(n))}}return e},sort:function t(e,n){var i={},r=this.el;this.toArray().forEach((function(t,e){var n=r.children[e];if(E(n,this.options.draggable,r,false)){i[t]=n}}),this);n&&this.captureAnimationState();e.forEach((function(t){if(i[t]){r.removeChild(i[t]);r.appendChild(i[t])}}));n&&this.animateAll()},save:function t(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function t(e,n){return E(e,n||this.options.draggable,this.el,false)},option:function t(e,n){var i=this.options;if(n===void 0){return i[e]}else{var r=$.modifyOption(this,e,n);if(typeof r!=="undefined"){i[e]=r}else{i[e]=n}if(e==="group"){Lt(i)}}},destroy:function t(){K("destroy",this);var e=this.el;e[W]=null;g(e,"mousedown",this._onTapStart);g(e,"touchstart",this._onTapStart);g(e,"pointerdown",this._onTapStart);if(this.nativeDraggable){g(e,"dragover",this);g(e,"dragenter",this)}Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")}));this._onDrop();this._disableDelayedDragEvents();pt.splice(pt.indexOf(this.el),1);this.el=e=null},_hideClone:function t(){if(!ft){K("hideClone",this);if(Ut.eventCanceled)return;x(at,"display","none");if(this.options.removeCloneOnHide&&at.parentNode){at.parentNode.removeChild(at)}ft=true}},_showClone:function t(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(ft){K("showClone",this);if(Ut.eventCanceled)return;if(tt.parentNode==it&&!this.options.group.revertClone){it.insertBefore(at,tt)}else if(rt){it.insertBefore(at,rt)}else{it.appendChild(at)}if(this.options.group.revertClone){this.animate(tt,at)}x(at,"display","");ft=false}}};function Vt(t){if(t.dataTransfer){t.dataTransfer.dropEffect="move"}t.cancelable&&t.preventDefault()}function Zt(t,e,n,i,r,o,a,f){var u,c=t[W],h=c.options.onMove,d;if(window.CustomEvent&&!s&&!l){u=new CustomEvent("move",{bubbles:true,cancelable:true})}else{u=document.createEvent("Event");u.initEvent("move",true,true)}u.to=e;u.from=t;u.dragged=n;u.draggedRect=i;u.related=r||e;u.relatedRect=o||M(e);u.willInsertAfter=f;u.originalEvent=a;t.dispatchEvent(u);if(h){d=h.call(c,u,a)}return d}function $t(t){t.draggable=false}function qt(){Ct=false}function Jt(t,e,n){var i=M(k(n.el,0,n.options,true));var r=_(n.el);var o=10;return e?t.clientX<r.left-o||t.clientY<i.top&&t.clientX<i.right:t.clientY<r.top-o||t.clientY<i.bottom&&t.clientX<i.left}function Kt(t,e,n){var i=M(C(n.el,n.options.draggable));var r=_(n.el);var o=10;return e?t.clientX>r.right+o||t.clientY>i.bottom&&t.clientX>i.left:t.clientY>r.bottom+o||t.clientX>i.right&&t.clientY>i.top}function Qt(t,e,n,i,r,o,a,f){var u=i?t.clientY:t.clientX,s=i?n.height:n.width,l=i?n.top:n.left,c=i?n.bottom:n.right,h=false;if(!a){if(f&&_t<s*r){if(!Ot&&(Tt===1?u>l+s*o/2:u<c-s*o/2)){Ot=true}if(!Ot){if(Tt===1?u<l+_t:u>c-_t){return-Tt}}else{h=true}}else{if(u>l+s*(1-r)/2&&u<c-s*(1-r)/2){return te(e)}}}h=h||a;if(h){if(u<l+s*o/2||u>c-s*o/2){return u>l+s/2?1:-1}}return 0}function te(t){if(j(tt)<j(t)){return 1}else{return-1}}function ee(t){var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;while(n--){i+=e.charCodeAt(n)}return i.toString(36)}function ne(t){jt.length=0;var e=t.getElementsByTagName("input");var n=e.length;while(n--){var i=e[n];i.checked&&jt.push(i)}}function ie(t){return setTimeout(t,0)}function re(t){return clearTimeout(t)}if(At){p(document,"touchmove",(function(t){if((Ut.active||vt)&&t.cancelable){t.preventDefault()}}))}Ut.utils={on:p,off:g,css:x,find:T,is:function t(e,n){return!!E(e,n,e,false)},extend:F,throttle:H,closest:E,toggleClass:I,clone:R,index:j,nextTick:ie,cancelNextTick:re,detectDirection:Bt,getChild:k};Ut.get=function(t){return t[W]};Ut.mount=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++){n[i]=arguments[i]}if(n[0].constructor===Array)n=n[0];n.forEach((function(t){if(!t.prototype||!t.prototype.constructor){throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t))}if(t.utils)Ut.utils=e(e({},Ut.utils),t.utils);$.mount(t)}))};Ut.create=function(t,e){return new Ut(t,e)};Ut.version=f;var oe=[],ae,fe,ue=false,se,le,ce,he;function de(){function t(){this.defaults={scroll:true,forceAutoScrollFallback:false,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:true};for(var t in this){if(t.charAt(0)==="_"&&typeof this[t]==="function"){this[t]=this[t].bind(this)}}}t.prototype={dragStarted:function t(e){var n=e.originalEvent;if(this.sortable.nativeDraggable){p(document,"dragover",this._handleAutoScroll)}else{if(this.options.supportPointer){p(document,"pointermove",this._handleFallbackAutoScroll)}else if(n.touches){p(document,"touchmove",this._handleFallbackAutoScroll)}else{p(document,"mousemove",this._handleFallbackAutoScroll)}}},dragOverCompleted:function t(e){var n=e.originalEvent;if(!this.options.dragOverBubble&&!n.rootEl){this._handleAutoScroll(n)}},drop:function t(){if(this.sortable.nativeDraggable){g(document,"dragover",this._handleAutoScroll)}else{g(document,"pointermove",this._handleFallbackAutoScroll);g(document,"touchmove",this._handleFallbackAutoScroll);g(document,"mousemove",this._handleFallbackAutoScroll)}me();ve();G()},nulling:function t(){ce=fe=ae=ue=he=se=le=null;oe.length=0},_handleFallbackAutoScroll:function t(e){this._handleAutoScroll(e,true)},_handleAutoScroll:function t(e,n){var i=this;var r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(r,o);ce=e;if(n||this.options.forceAutoScrollFallback||l||s||h){pe(e,this.options,a,n);var f=N(a,true);if(ue&&(!he||r!==se||o!==le)){he&&me();he=setInterval((function(){var t=N(document.elementFromPoint(r,o),true);if(t!==f){f=t;ve()}pe(e,i.options,t,n)}),10);se=r;le=o}}else{if(!this.options.bubbleScroll||N(a,true)===O()){ve();return}pe(e,this.options,N(a,false),false)}}};return r(t,{pluginName:"scroll",initializeByDefault:true})}function ve(){oe.forEach((function(t){clearInterval(t.pid)}));oe=[]}function me(){clearInterval(he)}var pe=H((function(t,e,n,i){if(!e.scroll)return;var r=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,f=e.scrollSpeed,u=O();var s=false,l;if(fe!==n){fe=n;ve();ae=e.scroll;l=e.scrollFn;if(ae===true){ae=N(n,true)}}var c=0;var h=ae;do{var d=h,v=M(d),m=v.top,p=v.bottom,g=v.left,b=v.right,w=v.width,E=v.height,y=void 0,I=void 0,S=d.scrollWidth,T=d.scrollHeight,_=x(d),D=d.scrollLeft,k=d.scrollTop;if(d===u){y=w<S&&(_.overflowX==="auto"||_.overflowX==="scroll"||_.overflowX==="visible");I=E<T&&(_.overflowY==="auto"||_.overflowY==="scroll"||_.overflowY==="visible")}else{y=w<S&&(_.overflowX==="auto"||_.overflowX==="scroll");I=E<T&&(_.overflowY==="auto"||_.overflowY==="scroll")}var C=y&&(Math.abs(b-r)<=a&&D+w<S)-(Math.abs(g-r)<=a&&!!D);var j=I&&(Math.abs(p-o)<=a&&k+E<T)-(Math.abs(m-o)<=a&&!!k);if(!oe[c]){for(var A=0;A<=c;A++){if(!oe[A]){oe[A]={}}}}if(oe[c].vx!=C||oe[c].vy!=j||oe[c].el!==d){oe[c].el=d;oe[c].vx=C;oe[c].vy=j;clearInterval(oe[c].pid);if(C!=0||j!=0){s=true;oe[c].pid=setInterval(function(){if(i&&this.layer===0){Ut.active._onTouchMove(ce)}var e=oe[this.layer].vy?oe[this.layer].vy*f:0;var n=oe[this.layer].vx?oe[this.layer].vx*f:0;if(typeof l==="function"){if(l.call(Ut.dragged.parentNode[W],n,e,t,ce,oe[this.layer].el)!=="continue"){return}}L(oe[this.layer].el,n,e)}.bind({layer:c}),24)}}c++}while(e.bubbleScroll&&h!==u&&(h=N(h,false)));ue=s}),30);var ge=function t(e){var n=e.originalEvent,i=e.putSortable,r=e.dragEl,o=e.activeSortable,a=e.dispatchSortableEvent,f=e.hideGhostForTarget,u=e.unhideGhostForTarget;if(!n)return;var s=i||o;f();var l=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n;var c=document.elementFromPoint(l.clientX,l.clientY);u();if(s&&!s.el.contains(c)){a("spill");this.onSpill({dragEl:r,putSortable:i})}};function be(){}be.prototype={startIndex:null,dragStart:function t(e){var n=e.oldDraggableIndex;this.startIndex=n},onSpill:function t(e){var n=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState();if(i){i.captureAnimationState()}var r=k(this.sortable.el,this.startIndex,this.options);if(r){this.sortable.el.insertBefore(n,r)}else{this.sortable.el.appendChild(n)}this.sortable.animateAll();if(i){i.animateAll()}},drop:ge};r(be,{pluginName:"revertOnSpill"});function we(){}we.prototype={onSpill:function t(e){var n=e.dragEl,i=e.putSortable;var r=i||this.sortable;r.captureAnimationState();n.parentNode&&n.parentNode.removeChild(n);r.animateAll()},drop:ge};r(we,{pluginName:"removeOnSpill"});Ut.mount(new de);Ut.mount(we,be);const Ee=new Set;const ye={ghostClass:"calcite-sortable--ghost",chosenClass:"calcite-sortable--chosen",dragClass:"calcite-sortable--drag"};function Ie(t){xe(t);Ee.add(t);const e="id";const{group:n,handleSelector:i,dragSelector:r}=t;t.sortable=Ut.create(t.el,{dataIdAttr:e,...ye,...!!r&&{draggable:r},...!!n&&{group:{name:n,...!!t.canPull&&{pull:(e,n,i,{newIndex:r,oldIndex:o})=>t.canPull({toEl:e.el,fromEl:n.el,dragEl:i,newIndex:r,oldIndex:o})},...!!t.canPut&&{put:(e,n,i,{newIndex:r,oldIndex:o})=>t.canPut({toEl:e.el,fromEl:n.el,dragEl:i,newIndex:r,oldIndex:o})}}},handle:i,filter:"[drag-disabled]",onStart:({from:e,item:n,to:i,newIndex:r,oldIndex:o})=>{Se.active=true;Oe();t.onDragStart({fromEl:e,dragEl:n,toEl:i,newIndex:r,oldIndex:o})},onEnd:({from:e,item:n,to:i,newIndex:r,oldIndex:o})=>{Se.active=false;Me();t.onDragEnd({fromEl:e,dragEl:n,toEl:i,newIndex:r,oldIndex:o})},onSort:({from:e,item:n,to:i,newIndex:r,oldIndex:o})=>{t.onDragSort({fromEl:e,dragEl:n,toEl:i,newIndex:r,oldIndex:o})}})}function xe(t){Ee.delete(t);t.sortable?.destroy();t.sortable=null}const Se={active:false};function Te(t){return t.dragEnabled&&Se.active}function Oe(){Array.from(Ee).forEach((t=>t.onGlobalDragStart()))}function Me(){Array.from(Ee).forEach((t=>t.onGlobalDragEnd()))}export{xe as a,Ie as c,Te as d};
|
|
13
|
+
//# sourceMappingURL=p-84311bfd.js.map
|
|
@@ -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.4.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,H as n,g as o}from"./p-289a6e00.js";import{t as s,i as a,l as r,d as l}from"./p-02de05ee.js";import{f as c,c as d,d as h,a as p,F as m,r as u}from"./p-79a9d5f5.js";import{g as f}from"./p-45a4ca2e.js";import{c as g,u as w,d as b,I as v}from"./p-9ce55312.js";import{i as k}from"./p-446a7aa4.js";import{c as x,s as y,a as z}from"./p-bc9ca886.js";import{c as D}from"./p-e6104656.js";import{o as I}from"./p-ef68900f.js";import{g as C}from"./p-a5f7ec5b.js";import"./p-b75d2697.js";import"./p-2637a70b.js";import"./p-e78bd00c.js";const E={dropdownTrigger:"trigger"};const H=":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:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .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}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";const P=class{constructor(i){t(this,i);this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6);this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6);this.calciteDropdownClose=e(this,"calciteDropdownClose",6);this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6);this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6);this.items=[];this.groups=[];this.mutationObserver=D("mutation",(()=>this.updateItems()));this.resizeObserver=D("resize",(t=>this.resizeObserverCallback(t)));this.openTransitionProp="opacity";this.guid=`calcite-dropdown-${f()}`;this.defaultAssignedElements=[];this.slotChangeHandler=t=>{this.defaultAssignedElements=t.target.assignedElements({flatten:true});this.updateItems()};this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?c(e,t):null};this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:true});this.reposition(true)};this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(t?.querySelectorAll("calcite-dropdown-item")))).reduce(((t,e)=>[...t,...e]),[]);this.updateSelectedItems();this.reposition(true);this.items.forEach((t=>t.scale=this.scale))};this.updateGroups=t=>{const e=t.target.assignedElements({flatten:true}).filter((t=>t?.matches("calcite-dropdown-group")));this.groups=e;this.updateItems()};this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:e}=t;if(e===this.referenceEl){this.setDropdownWidth()}else if(e===this.scrollerEl){this.setMaxScrollerHeight()}}))};this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:e}=this;const i=t?.clientWidth;if(!i||!e){return}e.style.minWidth=`${i}px`};this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t){return}this.reposition(true);const e=this.getMaxScrollerHeight();t.style.maxHeight=e>0?`${e}px`:"";this.reposition(true)};this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t);this.scrollerEl=t;this.transitionEl=t};this.setReferenceEl=t=>{this.referenceEl=t;d(this,this.referenceEl,this.floatingEl);this.resizeObserver.observe(t)};this.setFloatingEl=t=>{this.floatingEl=t;d(this,this.referenceEl,this.floatingEl)};this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl)){return}const{defaultPrevented:e,key:i}=t;if(e){return}if(this.open){if(i==="Escape"){this.closeCalciteDropdown();t.preventDefault();return}else if(t.shiftKey&&i==="Tab"){this.closeCalciteDropdown();t.preventDefault();return}}if(k(i)){this.openCalciteDropdown();t.preventDefault()}else if(i==="Escape"){this.closeCalciteDropdown();t.preventDefault()}};this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.getTraversableItems().find((t=>t.selected))||this.items[0])};this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem();this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)};this.openCalciteDropdown=()=>{this.open=!this.open;if(this.open){this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)}};this.open=false;this.closeOnSelectDisabled=false;this.disabled=false;this.flipPlacements=undefined;this.maxItems=0;this.overlayPositioning="absolute";this.placement=h;this.selectedItems=[];this.type="click";this.widthScale=undefined;this.scale="m"}openHandler(){I(this);if(this.disabled){this.open=false;return}this.reposition(true)}handleDisabledChange(t){if(!t){this.open=false}}flipPlacementsHandler(){this.setFilteredPlacements();this.reposition(true)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(true)}placementHandler(){this.reposition(true)}handlePropsChange(){this.updateItems()}async setFocus(){await x(this);this.el.focus()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true});this.setFilteredPlacements();this.reposition(true);if(this.open){this.openHandler();I(this)}g(this);this.updateItems();d(this,this.referenceEl,this.floatingEl)}componentWillLoad(){y(this)}componentDidLoad(){z(this);this.reposition(true)}componentDidRender(){w(this)}disconnectedCallback(){this.mutationObserver?.disconnect();this.resizeObserver?.disconnect();b(this);p(this,this.referenceEl,this.floatingEl)}render(){const{open:t,guid:e}=this;return i(n,null,i(v,{disabled:this.disabled},i("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{"aria-controls":`${e}-menu`,"aria-expanded":s(t),"aria-haspopup":"menu",name:E.dropdownTrigger,onSlotchange:this.updateTriggers})),i("div",{"aria-hidden":s(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{"aria-labelledby":`${e}-menubutton`,class:{["calcite-dropdown-content"]:true,[m.animation]:true,[m.animationActive]:t},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},i("slot",{onSlotchange:this.updateGroups})))))}async reposition(t=false){const{floatingEl:e,referenceEl:i,placement:n,overlayPositioning:o,filteredFlipPlacements:s}=this;return u(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:n,flipPlacements:s,type:"menu"},t)}closeCalciteDropdownOnClick(t){if(this.disabled||!a(t)||!this.open||t.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown();t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){if(t.composedPath().includes(this.el)){return}this.open=false}pointerEnterHandler(){if(this.disabled||this.type!=="hover"){return}this.openCalciteDropdown()}pointerLeaveHandler(){if(this.disabled||this.type!=="hover"){return}this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter((t=>!t.disabled&&!t.hidden))}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:e}=t.detail;const i=e.target;const n=this.getTraversableItems();switch(e.key){case"Tab":this.open=false;this.updateTabIndexOfItems(i);break;case"ArrowDown":r(n,i,"next");break;case"ArrowUp":r(n,i,"previous");break;case"Home":r(n,i,"first");break;case"End":r(n,i,"last");break}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems();t.stopPropagation();this.calciteDropdownSelect.emit();if(!this.closeOnSelectDisabled||t.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}t.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:e}=this;let i=0;let n=0;let o;this.groups.forEach((e=>{if(t>0&&i<t){Array.from(e.children).forEach(((e,s)=>{if(s===0){if(isNaN(o)){o=e.offsetTop}n+=o}if(i<t){n+=e.offsetHeight;i+=1}}))}}));return e.length>t?n:0}closeCalciteDropdown(t=true){this.open=false;if(t){l(this.triggers[0])}}getFocusableElement(t){if(!t){return}l(t)}updateTabIndexOfItems(t){this.items.forEach((e=>{e.tabIndex=t!==e?-1:0}))}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};P.style=H;const j={container:"container",containerLink:"container--link",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection",icon:"dropdown-item-icon",iconEnd:"dropdown-item-icon-end",iconStart:"dropdown-item-icon-start",itemContent:"dropdown-item-content",link:"dropdown-link"};const O=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const A=class{constructor(i){t(this,i);this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6);this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))};this.mutationObserver=D("mutation",(()=>this.updateItems()));this.groupTitle=undefined;this.scale="m";this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems();this.mutationObserver?.observe(this.el,{childList:true})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const t=this.groupTitle?i("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;const e=this.groupPosition>0?i("div",{class:"dropdown-separator",role:"separator"}):null;return i(n,{"aria-label":this.groupTitle,role:"group"},i("div",{class:{[j.container]:true,[`${j.container}--${this.scale}`]:true}},e,t,i("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};A.style=O;const $=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;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);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;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 )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;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)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .container--link .dropdown-link,:host(:active:not([disabled])) .container--link .dropdown-link{color:var(--calcite-color-text-1)}:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-3)}:host(:focus) .container{color:var(--calcite-color-text-1);text-decoration-line:none}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-color-brand)}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover:not([disabled])) .dropdown-item-icon{color:var(--calcite-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";const S=class{constructor(i){t(this,i);this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6);this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6);this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6);this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6);this.disabled=false;this.href=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.iconEnd=undefined;this.label=undefined;this.rel=undefined;this.selected=false;this.target=undefined;this.selectionMode="single";this.scale="m"}async setFocus(){await x(this);this.el?.focus()}componentWillLoad(){y(this);this.initialize()}componentDidLoad(){z(this)}connectedCallback(){this.initialize()}componentDidRender(){w(this)}render(){const{href:t,selectionMode:e,label:o,iconFlipRtl:a,scale:r}=this;const l=i("calcite-icon",{class:j.iconStart,flipRtl:a==="start"||a==="both",icon:this.iconStart,scale:C(this.scale)});const c=i("span",{class:j.itemContent},i("slot",null));const d=i("calcite-icon",{class:j.iconEnd,flipRtl:a==="end"||a==="both",icon:this.iconEnd,scale:C(this.scale)});const h=this.iconStart&&this.iconEnd?[l,c,d]:this.iconStart?[l,c]:this.iconEnd?[c,d]:c;const p=!t?h:i("a",{"aria-label":o,class:j.link,href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:t=>this.childLink=t},h);const m=t?null:e==="single"?"menuitemradio":e==="multiple"?"menuitemcheckbox":"menuitem";const u=e!=="none"?s(this.selected):null;const{disabled:f}=this;return i(n,{"aria-checked":u,"aria-label":!t?o:"",role:m,tabIndex:f?-1:0},i(v,{disabled:f},i("div",{class:{[j.container]:true,[j.containerLink]:!!t,[`${j.container}--${r}`]:true,[j.containerMulti]:e==="multiple",[j.containerSingle]:e==="single",[j.containerNone]:e==="none"}},e!=="none"?i("calcite-icon",{class:j.icon,icon:e==="multiple"?"check":"bullet-point",scale:C(this.scale)}):null,p)))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem();if(this.href){this.childLink.click()}t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit();t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault();this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break}}updateActiveItemOnChange(t){const e=t.composedPath().includes(this.parentDropdownGroupEl);if(e){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.determineActiveItem()}t.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.selected=false}}determineActiveItem(){switch(this.selectionMode){case"multiple":if(this.el===this.requestedDropdownItem){this.selected=!this.selected}break;case"single":if(this.el===this.requestedDropdownItem){this.selected=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.selected=false}break;case"none":this.selected=false;break}}emitRequestedItem(){this.calciteDropdownItemSelect.emit();this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return o(this)}};S.style=$;export{P as calcite_dropdown,A as calcite_dropdown_group,S as calcite_dropdown_item};
|
|
7
|
+
//# sourceMappingURL=p-84d3754d.entry.js.map
|