@esri/calcite-components 2.3.0-next.0 → 2.3.0
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-02222285.js +7 -0
- package/dist/calcite/p-0250ac3a.entry.js +7 -0
- package/dist/calcite/p-0250ac3a.entry.js.map +1 -0
- package/dist/calcite/p-02b36b33.js +7 -0
- package/dist/calcite/p-0329e379.entry.js +7 -0
- package/dist/calcite/p-041a823f.entry.js +7 -0
- package/dist/calcite/p-046b26d2.entry.js +7 -0
- package/dist/calcite/p-053424eb.entry.js +7 -0
- package/dist/calcite/p-07d04a1e.js +7 -0
- package/dist/calcite/p-0835711b.entry.js +7 -0
- package/dist/calcite/p-093c529c.js +7 -0
- package/dist/calcite/p-09d174ca.js +7 -0
- package/dist/calcite/p-0ac72eb8.js +7 -0
- package/dist/calcite/p-0aea0d18.entry.js +7 -0
- package/dist/calcite/p-0cb8f61a.entry.js +7 -0
- package/dist/calcite/p-0d5c969e.js +7 -0
- package/dist/calcite/p-0eeab064.entry.js +7 -0
- package/dist/calcite/p-114a4889.entry.js +7 -0
- package/dist/calcite/p-134e2e90.entry.js +7 -0
- package/dist/calcite/p-1c29a6af.js +7 -0
- package/dist/calcite/p-1c7950f8.js +7 -0
- package/dist/calcite/p-1edf945c.js +7 -0
- package/dist/calcite/p-1f0469e8.js +7 -0
- package/dist/calcite/p-22371dfa.js +7 -0
- package/dist/calcite/p-25365d34.entry.js +7 -0
- package/dist/calcite/p-2571a533.js +7 -0
- package/dist/calcite/p-26adba10.js +7 -0
- package/dist/calcite/p-2924902e.entry.js +7 -0
- package/dist/calcite/p-2a6f310e.entry.js +7 -0
- package/dist/calcite/p-2e2a42a6.js +7 -0
- package/dist/calcite/p-2f1c705d.js +7 -0
- package/dist/calcite/p-30ad4224.entry.js +7 -0
- package/dist/calcite/p-311f7931.js +7 -0
- package/dist/calcite/p-31438ebe.js +7 -0
- package/dist/calcite/p-320ba65f.entry.js +7 -0
- package/dist/calcite/p-321f795c.js +7 -0
- package/dist/calcite/p-331a1142.entry.js +7 -0
- package/dist/calcite/p-33812d1b.entry.js +7 -0
- package/dist/calcite/p-34a533a4.entry.js +7 -0
- package/dist/calcite/p-352d0b85.js +7 -0
- package/dist/calcite/p-37896d2f.entry.js +7 -0
- package/dist/calcite/p-37bb10ac.js +7 -0
- package/dist/calcite/p-37e8fe13.js +7 -0
- package/dist/calcite/p-38ac0d8f.entry.js +7 -0
- package/dist/calcite/p-39ca931c.js +7 -0
- package/dist/calcite/p-3a08116c.entry.js +7 -0
- package/dist/calcite/p-3c0e2088.js +7 -0
- package/dist/calcite/p-3f5d93df.js +7 -0
- package/dist/calcite/p-3f7fcf5f.entry.js +7 -0
- package/dist/calcite/p-3f7fcf5f.entry.js.map +1 -0
- package/dist/calcite/p-4361d832.entry.js +7 -0
- package/dist/calcite/p-4361d832.entry.js.map +1 -0
- package/dist/calcite/p-45bfaf51.entry.js +7 -0
- package/dist/calcite/p-47e5e2e0.entry.js +7 -0
- package/dist/calcite/p-48b82dd9.entry.js +7 -0
- package/dist/calcite/p-48b82dd9.entry.js.map +1 -0
- package/dist/calcite/p-50866efe.js +7 -0
- package/dist/calcite/p-52a2b747.js +7 -0
- package/dist/calcite/p-53968f27.js +7 -0
- package/dist/calcite/p-54b054f4.js +7 -0
- package/dist/calcite/p-577f5b59.js +7 -0
- package/dist/calcite/p-59ebb8f6.js +7 -0
- package/dist/calcite/p-5a197779.js +7 -0
- package/dist/calcite/p-5bbaa182.entry.js +7 -0
- package/dist/calcite/p-5db6bfa4.js +7 -0
- package/dist/calcite/p-5e4eedc9.entry.js +7 -0
- package/dist/calcite/p-6069f318.js +7 -0
- package/dist/calcite/p-6289c31a.entry.js +7 -0
- package/dist/calcite/p-62937748.entry.js +7 -0
- package/dist/calcite/p-6403da3e.js +7 -0
- package/dist/calcite/p-64a2019a.entry.js +7 -0
- package/dist/calcite/p-64a2019a.entry.js.map +1 -0
- package/dist/calcite/p-6740dbc7.js +7 -0
- package/dist/calcite/p-6950192b.js +7 -0
- package/dist/calcite/p-6a0edef8.entry.js +7 -0
- package/dist/calcite/p-6a0edef8.entry.js.map +1 -0
- package/dist/calcite/p-6aa7e11a.entry.js +7 -0
- package/dist/calcite/p-6b838ce4.js +7 -0
- package/dist/calcite/p-6bf6e9e1.js +7 -0
- package/dist/calcite/p-6f5cc640.js +7 -0
- package/dist/calcite/p-764c5f12.js +8 -0
- package/dist/calcite/p-77ef5370.entry.js +7 -0
- package/dist/calcite/p-79596b0f.js +11 -0
- package/dist/calcite/p-7a882e3c.js +7 -0
- package/dist/calcite/p-7c5c1332.js +7 -0
- package/dist/calcite/p-7d0e8153.js +7 -0
- package/dist/calcite/p-7e594aa8.js +13 -0
- package/dist/calcite/p-7f2a8b4d.entry.js +7 -0
- package/dist/calcite/p-81b0a156.entry.js +7 -0
- package/dist/calcite/p-81d1178a.js +7 -0
- package/dist/calcite/p-829ebf59.js +7 -0
- package/dist/calcite/p-83c71369.js +7 -0
- package/dist/calcite/p-84625c2c.entry.js +7 -0
- package/dist/calcite/p-84daab23.js +7 -0
- package/dist/calcite/p-856cae4a.entry.js +7 -0
- package/dist/calcite/p-88059d1b.js +7 -0
- package/dist/calcite/p-882f088e.entry.js +7 -0
- package/dist/calcite/p-882f088e.entry.js.map +1 -0
- package/dist/calcite/p-89cc9679.js +7 -0
- package/dist/calcite/p-8addb902.js +7 -0
- package/dist/calcite/p-8bd04d5c.js +7 -0
- package/dist/calcite/p-8d481462.entry.js +7 -0
- package/dist/calcite/p-8d7beee9.entry.js +7 -0
- package/dist/calcite/p-8dda6a19.entry.js +7 -0
- package/dist/calcite/p-8e65b4f3.entry.js +7 -0
- package/dist/calcite/p-8f6e8991.js +7 -0
- package/dist/calcite/p-906a25f4.js +7 -0
- package/dist/calcite/p-90aaf553.js +7 -0
- package/dist/calcite/p-92840ce6.js +7 -0
- package/dist/calcite/p-92a01289.entry.js +7 -0
- package/dist/calcite/p-94ff4b4a.js +7 -0
- package/dist/calcite/p-96d5da2e.js +7 -0
- package/dist/calcite/p-9bc28b5f.js +7 -0
- package/dist/calcite/p-9f2d650f.js +7 -0
- package/dist/calcite/p-9f8094a9.entry.js +7 -0
- package/dist/calcite/p-a07b7b6a.js +7 -0
- package/dist/calcite/p-a3cbbf10.entry.js +7 -0
- package/dist/calcite/p-a3f2a0ed.js +7 -0
- package/dist/calcite/p-a605cdd8.entry.js +7 -0
- package/dist/calcite/p-a605cdd8.entry.js.map +1 -0
- package/dist/calcite/p-a8c6729e.js +7 -0
- package/dist/calcite/p-a90bec6e.js +7 -0
- package/dist/calcite/p-ab047b62.entry.js +7 -0
- package/dist/calcite/p-ab1d7a77.entry.js +7 -0
- package/dist/calcite/p-acde49d9.js +7 -0
- package/dist/calcite/p-aebbe321.entry.js +7 -0
- package/dist/calcite/p-b34493a5.js +7 -0
- package/dist/calcite/p-b427f356.entry.js +7 -0
- package/dist/calcite/p-b4bbc792.js +7 -0
- package/dist/calcite/p-ba0a988e.js +7 -0
- package/dist/calcite/p-bae4c124.entry.js +7 -0
- package/dist/calcite/p-bda9f57f.entry.js +7 -0
- package/dist/calcite/p-bde7c80e.js +7 -0
- package/dist/calcite/p-be1176aa.js +7 -0
- package/dist/calcite/p-c5d39cfe.entry.js +7 -0
- package/dist/calcite/p-c71317ea.js +7 -0
- package/dist/calcite/p-c8312d2d.js +7 -0
- package/dist/calcite/p-c991694b.entry.js +7 -0
- package/dist/calcite/p-cb7c3e6b.entry.js +7 -0
- package/dist/calcite/p-cb7c3e6b.entry.js.map +1 -0
- package/dist/calcite/p-cfcdf250.entry.js +7 -0
- package/dist/calcite/p-d1247118.entry.js +7 -0
- package/dist/calcite/p-d2bcf18b.entry.js +7 -0
- package/dist/calcite/p-d40673cb.js +7 -0
- package/dist/calcite/p-d414b707.js +7 -0
- package/dist/calcite/p-d41f84ca.js +7 -0
- package/dist/calcite/p-d6388c47.entry.js +7 -0
- package/dist/calcite/p-d911e405.entry.js +7 -0
- package/dist/calcite/p-da503f41.js +7 -0
- package/dist/calcite/p-ddb456f0.js +7 -0
- package/dist/calcite/p-de1100ef.entry.js +7 -0
- package/dist/calcite/p-e169257a.entry.js +7 -0
- package/dist/calcite/p-e33edff6.js +7 -0
- package/dist/calcite/p-e4034c76.js +7 -0
- package/dist/calcite/p-e4ca961d.entry.js +7 -0
- package/dist/calcite/p-e50ff739.entry.js +7 -0
- package/dist/calcite/p-e50ff739.entry.js.map +1 -0
- package/dist/calcite/p-e575a553.entry.js +7 -0
- package/dist/calcite/p-e7cc19f3.js +7 -0
- package/dist/calcite/p-e7d442b3.entry.js +7 -0
- package/dist/calcite/p-e968318b.js +7 -0
- package/dist/calcite/p-e9c6cbdf.entry.js +7 -0
- package/dist/calcite/p-ec66aafd.js +7 -0
- package/dist/calcite/p-f240b08f.js +7 -0
- package/dist/calcite/p-f514c231.js +7 -0
- package/dist/calcite/p-f53cf02f.entry.js +7 -0
- package/dist/calcite/p-f5b207c4.js +7 -0
- package/dist/calcite/p-f95e0d26.entry.js +7 -0
- package/dist/calcite/p-f95e0d26.entry.js.map +1 -0
- package/dist/calcite/p-fa54a79f.js +7 -0
- package/dist/calcite/p-fe12a9c1.js +12 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-2c174122.js +110 -0
- package/dist/cjs/ExpandToggle-2c174122.js.map +1 -0
- package/dist/cjs/FloatingArrow-bf148d02.js +49 -0
- package/dist/cjs/FloatingArrow-bf148d02.js.map +1 -0
- package/dist/cjs/Heading-f06b9411.js +22 -0
- package/dist/cjs/Heading-f06b9411.js.map +1 -0
- package/dist/cjs/Validation-7234ca0c.js +18 -0
- package/dist/cjs/Validation-7234ca0c.js.map +1 -0
- package/dist/cjs/app-globals-f48526fb.js +61 -0
- package/dist/cjs/app-globals-f48526fb.js.map +1 -0
- package/dist/cjs/ar-c2787664.js +106 -0
- package/dist/cjs/ar-c2787664.js.map +1 -0
- package/dist/cjs/array-0c9c17ab.js +14 -0
- package/dist/cjs/array-0c9c17ab.js.map +1 -0
- package/dist/cjs/bg-adece98e.js +84 -0
- package/dist/cjs/bg-adece98e.js.map +1 -0
- package/dist/cjs/browser-9f6d4f3e.js +20 -0
- package/dist/cjs/browser-9f6d4f3e.js.map +1 -0
- package/dist/cjs/bs-f7ca130f.js +53 -0
- package/dist/cjs/bs-f7ca130f.js.map +1 -0
- package/dist/cjs/ca-1033856b.js +73 -0
- package/dist/cjs/ca-1033856b.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 +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-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-88709c43.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-88709c43.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 +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +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 +13 -13
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-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 +4 -4
- package/dist/cjs/component-598a0b25.js +30 -0
- package/dist/cjs/component-598a0b25.js.map +1 -0
- package/dist/cjs/conditionalSlot-c2869946.js +60 -0
- package/dist/cjs/conditionalSlot-c2869946.js.map +1 -0
- package/dist/cjs/cs-4fad6cae.js +149 -0
- package/dist/cjs/cs-4fad6cae.js.map +1 -0
- package/dist/cjs/da-142fb59d.js +68 -0
- package/dist/cjs/da-142fb59d.js.map +1 -0
- package/dist/cjs/de-53786a75.js +93 -0
- package/dist/cjs/de-53786a75.js.map +1 -0
- package/dist/cjs/de-at-161e4d43.js +92 -0
- package/dist/cjs/de-at-161e4d43.js.map +1 -0
- package/dist/cjs/de-ch-ec3c6434.js +92 -0
- package/dist/cjs/de-ch-ec3c6434.js.map +1 -0
- package/dist/cjs/debounce-0a8a24e9.js +498 -0
- package/dist/cjs/debounce-0a8a24e9.js.map +1 -0
- package/dist/cjs/dom-32a65d20.js +1084 -0
- package/dist/cjs/dom-32a65d20.js.map +1 -0
- package/dist/cjs/el-49ee8635.js +68 -0
- package/dist/cjs/el-49ee8635.js.map +1 -0
- package/dist/cjs/en-au-420cea8a.js +68 -0
- package/dist/cjs/en-au-420cea8a.js.map +1 -0
- package/dist/cjs/en-ca-068fb4a1.js +67 -0
- package/dist/cjs/en-ca-068fb4a1.js.map +1 -0
- package/dist/cjs/en-gb-19fbd9be.js +71 -0
- package/dist/cjs/en-gb-19fbd9be.js.map +1 -0
- package/dist/cjs/es-c8795542.js +68 -0
- package/dist/cjs/es-c8795542.js.map +1 -0
- package/dist/cjs/es-mx-7d54f853.js +67 -0
- package/dist/cjs/es-mx-7d54f853.js.map +1 -0
- package/dist/cjs/et-a88a3796.js +94 -0
- package/dist/cjs/et-a88a3796.js.map +1 -0
- package/dist/cjs/fi-cbe3ad81.js +117 -0
- package/dist/cjs/fi-cbe3ad81.js.map +1 -0
- package/dist/cjs/filter-86e80ab5.js +762 -0
- package/dist/cjs/filter-86e80ab5.js.map +1 -0
- package/dist/cjs/floating-ui-79b9ee81.js +1916 -0
- package/dist/cjs/floating-ui-79b9ee81.js.map +1 -0
- package/dist/cjs/focusTrapComponent-ea8d0ac2.js +1020 -0
- package/dist/cjs/focusTrapComponent-ea8d0ac2.js.map +1 -0
- package/dist/cjs/form-b86b905f.js +313 -0
- package/dist/cjs/form-b86b905f.js.map +1 -0
- package/dist/cjs/fr-0fd6defa.js +70 -0
- package/dist/cjs/fr-0fd6defa.js.map +1 -0
- package/dist/cjs/fr-ch-ef064ff6.js +68 -0
- package/dist/cjs/fr-ch-ef064ff6.js.map +1 -0
- package/dist/cjs/guid-99807351.js +23 -0
- package/dist/cjs/guid-99807351.js.map +1 -0
- package/dist/cjs/he-85433412.js +107 -0
- package/dist/cjs/he-85433412.js.map +1 -0
- package/dist/cjs/hi-823e133c.js +67 -0
- package/dist/cjs/hi-823e133c.js.map +1 -0
- package/dist/cjs/hr-20569f20.js +82 -0
- package/dist/cjs/hr-20569f20.js.map +1 -0
- package/dist/cjs/hu-7030f15e.js +90 -0
- package/dist/cjs/hu-7030f15e.js.map +1 -0
- package/dist/cjs/id-1dbb1274.js +68 -0
- package/dist/cjs/id-1dbb1274.js.map +1 -0
- package/dist/cjs/index-63b04f81.js +208 -0
- package/dist/cjs/index-63b04f81.js.map +1 -0
- package/dist/cjs/index-d3d0239d.js +2655 -0
- package/dist/cjs/index-d3d0239d.js.map +1 -0
- package/dist/cjs/index-d49451bd.js +75 -0
- package/dist/cjs/index-d49451bd.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-5bb8529c.js +141 -0
- package/dist/cjs/interactive-5bb8529c.js.map +1 -0
- package/dist/cjs/it-ch-ff0e6ad6.js +68 -0
- package/dist/cjs/it-ch-ff0e6ad6.js.map +1 -0
- package/dist/cjs/it-f9eae9cf.js +68 -0
- package/dist/cjs/it-f9eae9cf.js.map +1 -0
- package/dist/cjs/ja-6a6fd98b.js +74 -0
- package/dist/cjs/ja-6a6fd98b.js.map +1 -0
- package/dist/cjs/key-83515829.js +16 -0
- package/dist/cjs/key-83515829.js.map +1 -0
- package/dist/cjs/ko-54972e76.js +74 -0
- package/dist/cjs/ko-54972e76.js.map +1 -0
- package/dist/cjs/label-c3608979.js +183 -0
- package/dist/cjs/label-c3608979.js.map +1 -0
- package/dist/cjs/loadable-6a6e9428.js +91 -0
- package/dist/cjs/loadable-6a6e9428.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-3455b4c2.js +576 -0
- package/dist/cjs/locale-3455b4c2.js.map +1 -0
- package/dist/cjs/lt-d9d6acf0.js +99 -0
- package/dist/cjs/lt-d9d6acf0.js.map +1 -0
- package/dist/cjs/lv-373fc905.js +68 -0
- package/dist/cjs/lv-373fc905.js.map +1 -0
- package/dist/cjs/math-8329d570.js +57 -0
- package/dist/cjs/math-8329d570.js.map +1 -0
- package/dist/cjs/mk-dd1d4a2b.js +68 -0
- package/dist/cjs/mk-dd1d4a2b.js.map +1 -0
- package/dist/cjs/nb-3e5bad57.js +69 -0
- package/dist/cjs/nb-3e5bad57.js.map +1 -0
- package/dist/cjs/nl-765b0dc8.js +69 -0
- package/dist/cjs/nl-765b0dc8.js.map +1 -0
- package/dist/cjs/observers-1b42b894.js +50 -0
- package/dist/cjs/observers-1b42b894.js.map +1 -0
- package/dist/cjs/openCloseComponent-0d17d23b.js +89 -0
- package/dist/cjs/openCloseComponent-0d17d23b.js.map +1 -0
- package/dist/cjs/pl-a2727ecb.js +116 -0
- package/dist/cjs/pl-a2727ecb.js.map +1 -0
- package/dist/cjs/pt-3e0cd0a0.js +69 -0
- package/dist/cjs/pt-3e0cd0a0.js.map +1 -0
- package/dist/cjs/pt-br-d0187128.js +67 -0
- package/dist/cjs/pt-br-d0187128.js.map +1 -0
- package/dist/cjs/resources-066d5858.js +29 -0
- package/dist/cjs/resources-066d5858.js.map +1 -0
- package/dist/cjs/resources-0a6aad81.js +17 -0
- package/dist/cjs/resources-0a6aad81.js.map +1 -0
- package/dist/cjs/resources-12f07df3.js +414 -0
- package/dist/cjs/resources-12f07df3.js.map +1 -0
- package/dist/cjs/resources-314c6b4b.js +26 -0
- package/dist/cjs/resources-314c6b4b.js.map +1 -0
- package/dist/cjs/resources-33bad06e.js +49 -0
- package/dist/cjs/resources-33bad06e.js.map +1 -0
- package/dist/cjs/resources-a1c55f21.js +26 -0
- package/dist/cjs/resources-a1c55f21.js.map +1 -0
- package/dist/cjs/resources-d7b13e6f.js +23 -0
- package/dist/cjs/resources-d7b13e6f.js.map +1 -0
- package/dist/cjs/ro-43b97aee.js +68 -0
- package/dist/cjs/ro-43b97aee.js.map +1 -0
- package/dist/cjs/ru-47ce07ad.js +128 -0
- package/dist/cjs/ru-47ce07ad.js.map +1 -0
- package/dist/cjs/sk-e1bd1015.js +150 -0
- package/dist/cjs/sk-e1bd1015.js.map +1 -0
- package/dist/cjs/sl-30ffb2d4.js +170 -0
- package/dist/cjs/sl-30ffb2d4.js.map +1 -0
- package/dist/cjs/sortableComponent-a964c46f.js +2739 -0
- package/dist/cjs/sortableComponent-a964c46f.js.map +1 -0
- package/dist/cjs/sr-22f7a350.js +103 -0
- package/dist/cjs/sr-22f7a350.js.map +1 -0
- package/dist/cjs/sv-19289da1.js +73 -0
- package/dist/cjs/sv-19289da1.js.map +1 -0
- package/dist/cjs/t9n-eab97913.js +97 -0
- package/dist/cjs/t9n-eab97913.js.map +1 -0
- package/dist/cjs/th-89c8d3af.js +67 -0
- package/dist/cjs/th-89c8d3af.js.map +1 -0
- package/dist/cjs/throttle-fc989149.js +77 -0
- package/dist/cjs/throttle-fc989149.js.map +1 -0
- package/dist/cjs/tr-1223760b.js +68 -0
- package/dist/cjs/tr-1223760b.js.map +1 -0
- package/dist/cjs/uk-b58b054b.js +106 -0
- package/dist/cjs/uk-b58b054b.js.map +1 -0
- package/dist/cjs/utils-3f07ce5a.js +218 -0
- package/dist/cjs/utils-3f07ce5a.js.map +1 -0
- package/dist/cjs/utils-c01b951b.js +307 -0
- package/dist/cjs/utils-c01b951b.js.map +1 -0
- package/dist/cjs/vi-b7ea1aca.js +72 -0
- package/dist/cjs/vi-b7ea1aca.js.map +1 -0
- package/dist/cjs/zh-cn-9b1dc178.js +96 -0
- package/dist/cjs/zh-cn-9b1dc178.js.map +1 -0
- package/dist/cjs/zh-hk-a3187e2b.js +73 -0
- package/dist/cjs/zh-hk-a3187e2b.js.map +1 -0
- package/dist/cjs/zh-tw-8df28c47.js +94 -0
- package/dist/cjs/zh-tw-8df28c47.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 +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.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 +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +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 +39 -31
- 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 +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 +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 +2 -2
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-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/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 +2 -2
- package/dist/components/tab.js.map +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-762e2746.js +102 -0
- package/dist/esm/ExpandToggle-762e2746.js.map +1 -0
- package/dist/esm/FloatingArrow-997779ff.js +47 -0
- package/dist/esm/FloatingArrow-997779ff.js.map +1 -0
- package/dist/esm/Heading-76d9eef3.js +19 -0
- package/dist/esm/Heading-76d9eef3.js.map +1 -0
- package/dist/esm/Validation-10868ac2.js +16 -0
- package/dist/esm/Validation-10868ac2.js.map +1 -0
- package/dist/esm/app-globals-3e12034c.js +59 -0
- package/dist/esm/app-globals-3e12034c.js.map +1 -0
- package/dist/esm/ar-1781649b.js +104 -0
- package/dist/esm/ar-1781649b.js.map +1 -0
- package/dist/esm/array-9830c5dc.js +12 -0
- package/dist/esm/array-9830c5dc.js.map +1 -0
- package/dist/esm/bg-432a125e.js +82 -0
- package/dist/esm/bg-432a125e.js.map +1 -0
- package/dist/esm/browser-d1b5af80.js +18 -0
- package/dist/esm/browser-d1b5af80.js.map +1 -0
- package/dist/esm/bs-a61342ea.js +51 -0
- package/dist/esm/bs-a61342ea.js.map +1 -0
- package/dist/esm/ca-b405b83f.js +71 -0
- package/dist/esm/ca-b405b83f.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 +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-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-75842457.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-75842457.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 +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +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 +13 -13
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-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 +5 -5
- package/dist/esm/component-991df83d.js +27 -0
- package/dist/esm/component-991df83d.js.map +1 -0
- package/dist/esm/conditionalSlot-aba2bbe2.js +57 -0
- package/dist/esm/conditionalSlot-aba2bbe2.js.map +1 -0
- package/dist/esm/cs-97be6792.js +147 -0
- package/dist/esm/cs-97be6792.js.map +1 -0
- package/dist/esm/da-abb26a31.js +66 -0
- package/dist/esm/da-abb26a31.js.map +1 -0
- package/dist/esm/de-998843ad.js +91 -0
- package/dist/esm/de-998843ad.js.map +1 -0
- package/dist/esm/de-at-805fa1c5.js +90 -0
- package/dist/esm/de-at-805fa1c5.js.map +1 -0
- package/dist/esm/de-ch-40e066b5.js +90 -0
- package/dist/esm/de-ch-40e066b5.js.map +1 -0
- package/dist/esm/debounce-4b673e74.js +489 -0
- package/dist/esm/debounce-4b673e74.js.map +1 -0
- package/dist/esm/dom-67b2ac64.js +1053 -0
- package/dist/esm/dom-67b2ac64.js.map +1 -0
- package/dist/esm/el-615126c9.js +66 -0
- package/dist/esm/el-615126c9.js.map +1 -0
- package/dist/esm/en-au-ca5f2bd4.js +66 -0
- package/dist/esm/en-au-ca5f2bd4.js.map +1 -0
- package/dist/esm/en-ca-afe4db78.js +65 -0
- package/dist/esm/en-ca-afe4db78.js.map +1 -0
- package/dist/esm/en-gb-bc487184.js +69 -0
- package/dist/esm/en-gb-bc487184.js.map +1 -0
- package/dist/esm/es-469efd5c.js +66 -0
- package/dist/esm/es-469efd5c.js.map +1 -0
- package/dist/esm/es-mx-50b26301.js +65 -0
- package/dist/esm/es-mx-50b26301.js.map +1 -0
- package/dist/esm/et-15b4e8a0.js +92 -0
- package/dist/esm/et-15b4e8a0.js.map +1 -0
- package/dist/esm/fi-31ec8868.js +115 -0
- package/dist/esm/fi-31ec8868.js.map +1 -0
- package/dist/esm/filter-bf5bfe75.js +760 -0
- package/dist/esm/filter-bf5bfe75.js.map +1 -0
- package/dist/esm/floating-ui-b51dcc14.js +1908 -0
- package/dist/esm/floating-ui-b51dcc14.js.map +1 -0
- package/dist/esm/focusTrapComponent-3fd9c7e9.js +1015 -0
- package/dist/esm/focusTrapComponent-3fd9c7e9.js.map +1 -0
- package/dist/esm/form-4ad3af77.js +304 -0
- package/dist/esm/form-4ad3af77.js.map +1 -0
- package/dist/esm/fr-ch-12a0e376.js +66 -0
- package/dist/esm/fr-ch-12a0e376.js.map +1 -0
- package/dist/esm/fr-e89dd9ab.js +68 -0
- package/dist/esm/fr-e89dd9ab.js.map +1 -0
- package/dist/esm/guid-bb406789.js +21 -0
- package/dist/esm/guid-bb406789.js.map +1 -0
- package/dist/esm/he-964f963d.js +105 -0
- package/dist/esm/he-964f963d.js.map +1 -0
- package/dist/esm/hi-7712db91.js +65 -0
- package/dist/esm/hi-7712db91.js.map +1 -0
- package/dist/esm/hr-02a6c3b6.js +80 -0
- package/dist/esm/hr-02a6c3b6.js.map +1 -0
- package/dist/esm/hu-08c0b90f.js +88 -0
- package/dist/esm/hu-08c0b90f.js.map +1 -0
- package/dist/esm/id-b3b9c58f.js +66 -0
- package/dist/esm/id-b3b9c58f.js.map +1 -0
- package/dist/esm/index-2009bffc.js +73 -0
- package/dist/esm/index-2009bffc.js.map +1 -0
- package/dist/esm/index-39facca9.js +206 -0
- package/dist/esm/index-39facca9.js.map +1 -0
- package/dist/esm/index-cc6d72bd.js +2620 -0
- package/dist/esm/index-cc6d72bd.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-996f661c.js +136 -0
- package/dist/esm/interactive-996f661c.js.map +1 -0
- package/dist/esm/it-7704e94e.js +66 -0
- package/dist/esm/it-7704e94e.js.map +1 -0
- package/dist/esm/it-ch-aebd3ebd.js +66 -0
- package/dist/esm/it-ch-aebd3ebd.js.map +1 -0
- package/dist/esm/ja-d49309a1.js +72 -0
- package/dist/esm/ja-d49309a1.js.map +1 -0
- package/dist/esm/key-14a40272.js +13 -0
- package/dist/esm/key-14a40272.js.map +1 -0
- package/dist/esm/ko-c3bec985.js +72 -0
- package/dist/esm/ko-c3bec985.js.map +1 -0
- package/dist/esm/label-a76d44c6.js +176 -0
- package/dist/esm/label-a76d44c6.js.map +1 -0
- package/dist/esm/loadable-dd9e9f1a.js +86 -0
- package/dist/esm/loadable-dd9e9f1a.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-22a9971e.js +563 -0
- package/dist/esm/locale-22a9971e.js.map +1 -0
- package/dist/esm/lt-823e9e57.js +97 -0
- package/dist/esm/lt-823e9e57.js.map +1 -0
- package/dist/esm/lv-335f75d4.js +66 -0
- package/dist/esm/lv-335f75d4.js.map +1 -0
- package/dist/esm/math-4075c652.js +51 -0
- package/dist/esm/math-4075c652.js.map +1 -0
- package/dist/esm/mk-62d7db37.js +66 -0
- package/dist/esm/mk-62d7db37.js.map +1 -0
- package/dist/esm/nb-31f80459.js +67 -0
- package/dist/esm/nb-31f80459.js.map +1 -0
- package/dist/esm/nl-c057b8d1.js +67 -0
- package/dist/esm/nl-c057b8d1.js.map +1 -0
- package/dist/esm/observers-a942d8c2.js +48 -0
- package/dist/esm/observers-a942d8c2.js.map +1 -0
- package/dist/esm/openCloseComponent-71e44a44.js +87 -0
- package/dist/esm/openCloseComponent-71e44a44.js.map +1 -0
- package/dist/esm/pl-0e619bf5.js +114 -0
- package/dist/esm/pl-0e619bf5.js.map +1 -0
- package/dist/esm/pt-240f9cff.js +67 -0
- package/dist/esm/pt-240f9cff.js.map +1 -0
- package/dist/esm/pt-br-3f78885b.js +65 -0
- package/dist/esm/pt-br-3f78885b.js.map +1 -0
- package/dist/esm/resources-00fa7dd9.js +387 -0
- package/dist/esm/resources-00fa7dd9.js.map +1 -0
- package/dist/esm/resources-1b011ee7.js +45 -0
- package/dist/esm/resources-1b011ee7.js.map +1 -0
- package/dist/esm/resources-2aa07f7e.js +21 -0
- package/dist/esm/resources-2aa07f7e.js.map +1 -0
- package/dist/esm/resources-35e9551b.js +25 -0
- package/dist/esm/resources-35e9551b.js.map +1 -0
- package/dist/esm/resources-6b766eca.js +23 -0
- package/dist/esm/resources-6b766eca.js.map +1 -0
- package/dist/esm/resources-a50c6c00.js +19 -0
- package/dist/esm/resources-a50c6c00.js.map +1 -0
- package/dist/esm/resources-e361cf27.js +17 -0
- package/dist/esm/resources-e361cf27.js.map +1 -0
- package/dist/esm/ro-6b42874d.js +66 -0
- package/dist/esm/ro-6b42874d.js.map +1 -0
- package/dist/esm/ru-27452b6d.js +126 -0
- package/dist/esm/ru-27452b6d.js.map +1 -0
- package/dist/esm/sk-c3ac6d25.js +148 -0
- package/dist/esm/sk-c3ac6d25.js.map +1 -0
- package/dist/esm/sl-6cfe0fba.js +168 -0
- package/dist/esm/sl-6cfe0fba.js.map +1 -0
- package/dist/esm/sortableComponent-1f37b8a4.js +2735 -0
- package/dist/esm/sortableComponent-1f37b8a4.js.map +1 -0
- package/dist/esm/sr-bbfb9d72.js +101 -0
- package/dist/esm/sr-bbfb9d72.js.map +1 -0
- package/dist/esm/sv-97bc5e7d.js +71 -0
- package/dist/esm/sv-97bc5e7d.js.map +1 -0
- package/dist/esm/t9n-cb6362c9.js +92 -0
- package/dist/esm/t9n-cb6362c9.js.map +1 -0
- package/dist/esm/th-d795ed18.js +65 -0
- package/dist/esm/th-d795ed18.js.map +1 -0
- package/dist/esm/throttle-fede0d7a.js +75 -0
- package/dist/esm/throttle-fede0d7a.js.map +1 -0
- package/dist/esm/tr-4f8da2c1.js +66 -0
- package/dist/esm/tr-4f8da2c1.js.map +1 -0
- package/dist/esm/uk-ee2f5381.js +104 -0
- package/dist/esm/uk-ee2f5381.js.map +1 -0
- package/dist/esm/utils-64c9dd8d.js +200 -0
- package/dist/esm/utils-64c9dd8d.js.map +1 -0
- package/dist/esm/utils-9c45ba58.js +289 -0
- package/dist/esm/utils-9c45ba58.js.map +1 -0
- package/dist/esm/vi-bb13ac37.js +70 -0
- package/dist/esm/vi-bb13ac37.js.map +1 -0
- package/dist/esm/zh-cn-f8571a05.js +94 -0
- package/dist/esm/zh-cn-f8571a05.js.map +1 -0
- package/dist/esm/zh-hk-fc2da4e4.js +71 -0
- package/dist/esm/zh-hk-fc2da4e4.js.map +1 -0
- package/dist/esm/zh-tw-8ab5fd0b.js +92 -0
- package/dist/esm/zh-tw-8ab5fd0b.js.map +1 -0
- package/dist/extras/docs-json.json +8 -2
- package/dist/extras/vscode-data.json +6882 -0
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/hydrate/index.js +4 -4
- package/package.json +2 -2
- package/readme.md +2 -2
- package/dist/calcite/p-0123d9af.entry.js +0 -7
- package/dist/calcite/p-01599da6.js +0 -7
- package/dist/calcite/p-016963bc.entry.js +0 -7
- package/dist/calcite/p-016963bc.entry.js.map +0 -1
- package/dist/calcite/p-01cb3dc3.entry.js +0 -7
- package/dist/calcite/p-01cb3dc3.entry.js.map +0 -1
- package/dist/calcite/p-02c06a20.entry.js +0 -7
- package/dist/calcite/p-04a3e002.js +0 -7
- package/dist/calcite/p-051e6a52.js +0 -7
- package/dist/calcite/p-06c59dc4.entry.js +0 -7
- package/dist/calcite/p-0a25e366.js +0 -7
- package/dist/calcite/p-0b1ec07e.entry.js +0 -7
- package/dist/calcite/p-0bd9d910.js +0 -7
- package/dist/calcite/p-0d86cf3c.js +0 -7
- package/dist/calcite/p-1154cd79.entry.js +0 -7
- package/dist/calcite/p-12bb43ef.entry.js +0 -7
- package/dist/calcite/p-12bb43ef.entry.js.map +0 -1
- package/dist/calcite/p-12e2bdbf.js +0 -7
- package/dist/calcite/p-14bf15fe.entry.js +0 -7
- package/dist/calcite/p-16d444bd.entry.js +0 -7
- package/dist/calcite/p-17291a6b.js +0 -7
- package/dist/calcite/p-184a5f84.js +0 -7
- package/dist/calcite/p-18ef4ec6.entry.js +0 -7
- package/dist/calcite/p-1a0b7624.entry.js +0 -7
- package/dist/calcite/p-1ae6a6b7.entry.js +0 -7
- package/dist/calcite/p-1bcef799.js +0 -7
- package/dist/calcite/p-1c492818.entry.js +0 -7
- package/dist/calcite/p-1c99dc99.js +0 -7
- package/dist/calcite/p-23aa9acf.entry.js +0 -7
- package/dist/calcite/p-254c45c4.js +0 -7
- package/dist/calcite/p-2852ac0f.js +0 -7
- package/dist/calcite/p-2ba57a48.js +0 -7
- package/dist/calcite/p-2c85f2b9.js +0 -11
- package/dist/calcite/p-2c9ed4c8.js +0 -7
- package/dist/calcite/p-3020b86e.entry.js +0 -7
- package/dist/calcite/p-307ddb92.js +0 -7
- package/dist/calcite/p-32fd60c1.entry.js +0 -7
- package/dist/calcite/p-32fd60c1.entry.js.map +0 -1
- package/dist/calcite/p-37d79622.js +0 -7
- package/dist/calcite/p-39409f1f.js +0 -7
- package/dist/calcite/p-39c74b95.entry.js +0 -7
- package/dist/calcite/p-3f21f9ac.js +0 -7
- package/dist/calcite/p-40925694.js +0 -7
- package/dist/calcite/p-428d2a25.entry.js +0 -7
- package/dist/calcite/p-44aa7a7f.js +0 -8
- package/dist/calcite/p-476c56cf.js +0 -7
- package/dist/calcite/p-4879f67e.js +0 -7
- package/dist/calcite/p-49ee5a54.entry.js +0 -7
- package/dist/calcite/p-4a38fc0c.js +0 -7
- package/dist/calcite/p-4a6263f4.js +0 -7
- package/dist/calcite/p-4b553b47.entry.js +0 -7
- package/dist/calcite/p-4b58b067.js +0 -7
- package/dist/calcite/p-4c53ba33.js +0 -7
- package/dist/calcite/p-4fdce4fa.entry.js +0 -7
- package/dist/calcite/p-53ac35f0.entry.js +0 -7
- package/dist/calcite/p-54873946.entry.js +0 -7
- package/dist/calcite/p-5636ca3e.js +0 -7
- package/dist/calcite/p-568c539a.entry.js +0 -7
- package/dist/calcite/p-56bb88c4.js +0 -7
- package/dist/calcite/p-57a920d4.js +0 -7
- package/dist/calcite/p-58e95db6.js +0 -7
- package/dist/calcite/p-5a019fdc.entry.js +0 -7
- package/dist/calcite/p-5d10e3fb.entry.js +0 -7
- package/dist/calcite/p-5d10e3fb.entry.js.map +0 -1
- package/dist/calcite/p-5dffd160.entry.js +0 -7
- package/dist/calcite/p-6169720d.js +0 -7
- package/dist/calcite/p-62539e6f.js +0 -7
- package/dist/calcite/p-65bdcd44.js +0 -7
- package/dist/calcite/p-664db087.entry.js +0 -7
- package/dist/calcite/p-67d03822.entry.js +0 -7
- package/dist/calcite/p-6c728a32.js +0 -7
- package/dist/calcite/p-6d5a4459.entry.js +0 -7
- package/dist/calcite/p-724fe979.entry.js +0 -7
- package/dist/calcite/p-7251a5d4.entry.js +0 -7
- package/dist/calcite/p-72f4795b.entry.js +0 -7
- package/dist/calcite/p-73985dfe.js +0 -7
- package/dist/calcite/p-7750de21.js +0 -7
- package/dist/calcite/p-77b4855a.js +0 -7
- package/dist/calcite/p-77d3c2cf.js +0 -7
- package/dist/calcite/p-78827ae2.js +0 -7
- package/dist/calcite/p-79571cee.js +0 -7
- package/dist/calcite/p-7b88468a.js +0 -7
- package/dist/calcite/p-7c60af7e.entry.js +0 -7
- package/dist/calcite/p-81d73021.entry.js +0 -7
- package/dist/calcite/p-85f84e1d.js +0 -7
- package/dist/calcite/p-865715d4.js +0 -13
- package/dist/calcite/p-87914e00.entry.js +0 -7
- package/dist/calcite/p-8855bcef.js +0 -7
- package/dist/calcite/p-8ab638ed.js +0 -7
- package/dist/calcite/p-8b5d5671.js +0 -7
- package/dist/calcite/p-8bcb7999.entry.js +0 -7
- package/dist/calcite/p-8d7f7fa6.js +0 -7
- package/dist/calcite/p-918f2cca.entry.js +0 -7
- package/dist/calcite/p-92b6a965.js +0 -7
- package/dist/calcite/p-93244949.js +0 -7
- package/dist/calcite/p-96cd91d5.entry.js +0 -7
- package/dist/calcite/p-9729c1ac.entry.js +0 -7
- package/dist/calcite/p-9729c1ac.entry.js.map +0 -1
- package/dist/calcite/p-981c0661.entry.js +0 -7
- package/dist/calcite/p-981c0661.entry.js.map +0 -1
- package/dist/calcite/p-9a8c6d4f.js +0 -7
- package/dist/calcite/p-9e03486e.js +0 -7
- package/dist/calcite/p-a13393fb.entry.js +0 -7
- package/dist/calcite/p-a1e21159.entry.js +0 -7
- package/dist/calcite/p-a1e464a2.js +0 -7
- package/dist/calcite/p-a367aac4.js +0 -7
- package/dist/calcite/p-a464f414.entry.js +0 -7
- package/dist/calcite/p-a5135e58.entry.js +0 -7
- package/dist/calcite/p-a723fadf.js +0 -7
- package/dist/calcite/p-a73b6cb1.entry.js +0 -7
- package/dist/calcite/p-a7dcc476.entry.js +0 -7
- package/dist/calcite/p-a7dcc476.entry.js.map +0 -1
- package/dist/calcite/p-a92acd62.js +0 -7
- package/dist/calcite/p-acb3f312.js +0 -7
- package/dist/calcite/p-b105433d.entry.js +0 -7
- package/dist/calcite/p-b1c64ce1.entry.js +0 -7
- package/dist/calcite/p-b44b3bed.js +0 -7
- package/dist/calcite/p-b49c85e9.js +0 -7
- package/dist/calcite/p-b4cfcafb.entry.js +0 -7
- package/dist/calcite/p-b4f5fa69.js +0 -7
- package/dist/calcite/p-b5098ec3.js +0 -7
- package/dist/calcite/p-b5cbf282.js +0 -7
- package/dist/calcite/p-b69a390f.js +0 -7
- package/dist/calcite/p-b9fb7b55.entry.js +0 -7
- package/dist/calcite/p-bfa85cd2.js +0 -7
- package/dist/calcite/p-c1756b65.js +0 -7
- package/dist/calcite/p-c1cb62ba.js +0 -7
- package/dist/calcite/p-c29ef1e3.js +0 -7
- package/dist/calcite/p-c58f74f8.js +0 -7
- package/dist/calcite/p-c6e6c347.js +0 -7
- package/dist/calcite/p-c752323a.entry.js +0 -7
- package/dist/calcite/p-cbe0afa6.js +0 -7
- package/dist/calcite/p-cd95036e.js +0 -7
- package/dist/calcite/p-d1b3f4cf.js +0 -7
- package/dist/calcite/p-d23b4d9c.entry.js +0 -7
- package/dist/calcite/p-d23b4d9c.entry.js.map +0 -1
- package/dist/calcite/p-d321eaed.entry.js +0 -7
- package/dist/calcite/p-d3345e33.entry.js +0 -7
- package/dist/calcite/p-d409c956.entry.js +0 -7
- package/dist/calcite/p-d492fc4a.js +0 -7
- package/dist/calcite/p-d4e29b57.js +0 -7
- package/dist/calcite/p-d7766ee6.entry.js +0 -7
- package/dist/calcite/p-da3a8243.js +0 -7
- package/dist/calcite/p-da6ea2f4.entry.js +0 -7
- package/dist/calcite/p-db63c36f.js +0 -7
- package/dist/calcite/p-dcc31b64.entry.js +0 -7
- package/dist/calcite/p-de0cd223.entry.js +0 -7
- package/dist/calcite/p-de60cf18.entry.js +0 -7
- package/dist/calcite/p-e19a135a.js +0 -7
- package/dist/calcite/p-e1e4b192.entry.js +0 -7
- package/dist/calcite/p-e21efbd7.entry.js +0 -7
- package/dist/calcite/p-e28b5e0e.js +0 -7
- package/dist/calcite/p-e81b27ab.js +0 -7
- package/dist/calcite/p-e84a54ed.js +0 -7
- package/dist/calcite/p-e8c9d167.entry.js +0 -7
- package/dist/calcite/p-ea2ebc38.entry.js +0 -7
- package/dist/calcite/p-eb4b52d4.js +0 -12
- package/dist/calcite/p-ee27ddc7.js +0 -7
- package/dist/calcite/p-f423113d.js +0 -7
- package/dist/calcite/p-f48b73ff.entry.js +0 -7
- package/dist/calcite/p-f4ea3307.entry.js +0 -7
- package/dist/calcite/p-f5883133.js +0 -7
- package/dist/calcite/p-f95e88f1.js +0 -7
- package/dist/calcite/p-f9a5d5ea.js +0 -7
- package/dist/calcite/p-fa55d31e.js +0 -7
- package/dist/calcite/p-fc093f60.js +0 -7
- package/dist/calcite/p-fc3721cb.entry.js +0 -7
- package/dist/calcite/p-fd8757c3.entry.js +0 -7
- package/dist/calcite/p-fd8757c3.entry.js.map +0 -1
- package/dist/calcite/p-ff04a47e.entry.js +0 -7
- package/dist/calcite/p-ff04a47e.entry.js.map +0 -1
- package/dist/cjs/ExpandToggle-13482a57.js +0 -110
- package/dist/cjs/ExpandToggle-13482a57.js.map +0 -1
- package/dist/cjs/FloatingArrow-1a5c7349.js +0 -49
- package/dist/cjs/FloatingArrow-1a5c7349.js.map +0 -1
- package/dist/cjs/Heading-bc9aaff6.js +0 -22
- package/dist/cjs/Heading-bc9aaff6.js.map +0 -1
- package/dist/cjs/Validation-a5dc5620.js +0 -18
- package/dist/cjs/Validation-a5dc5620.js.map +0 -1
- package/dist/cjs/app-globals-5d450455.js +0 -61
- package/dist/cjs/app-globals-5d450455.js.map +0 -1
- package/dist/cjs/ar-86e8743d.js +0 -106
- package/dist/cjs/ar-86e8743d.js.map +0 -1
- package/dist/cjs/array-47ad2189.js +0 -14
- package/dist/cjs/array-47ad2189.js.map +0 -1
- package/dist/cjs/bg-2ebfe6b9.js +0 -84
- package/dist/cjs/bg-2ebfe6b9.js.map +0 -1
- package/dist/cjs/browser-372c937d.js +0 -20
- package/dist/cjs/browser-372c937d.js.map +0 -1
- package/dist/cjs/bs-9b99558c.js +0 -53
- package/dist/cjs/bs-9b99558c.js.map +0 -1
- package/dist/cjs/ca-1364fe8b.js +0 -73
- package/dist/cjs/ca-1364fe8b.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6e0d8897.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6e0d8897.js.map +0 -1
- package/dist/cjs/component-2175b124.js +0 -30
- package/dist/cjs/component-2175b124.js.map +0 -1
- package/dist/cjs/conditionalSlot-aeeab96f.js +0 -60
- package/dist/cjs/conditionalSlot-aeeab96f.js.map +0 -1
- package/dist/cjs/cs-c7380f14.js +0 -149
- package/dist/cjs/cs-c7380f14.js.map +0 -1
- package/dist/cjs/da-02c08b54.js +0 -68
- package/dist/cjs/da-02c08b54.js.map +0 -1
- package/dist/cjs/de-at-6ad2ab5a.js +0 -92
- package/dist/cjs/de-at-6ad2ab5a.js.map +0 -1
- package/dist/cjs/de-ch-45342044.js +0 -92
- package/dist/cjs/de-ch-45342044.js.map +0 -1
- package/dist/cjs/de-f5f4a017.js +0 -93
- package/dist/cjs/de-f5f4a017.js.map +0 -1
- package/dist/cjs/debounce-6f0faf5e.js +0 -498
- package/dist/cjs/debounce-6f0faf5e.js.map +0 -1
- package/dist/cjs/dom-9295bc30.js +0 -1084
- package/dist/cjs/dom-9295bc30.js.map +0 -1
- package/dist/cjs/el-988abdf5.js +0 -68
- package/dist/cjs/el-988abdf5.js.map +0 -1
- package/dist/cjs/en-au-d1b708f6.js +0 -68
- package/dist/cjs/en-au-d1b708f6.js.map +0 -1
- package/dist/cjs/en-ca-2c78da7b.js +0 -67
- package/dist/cjs/en-ca-2c78da7b.js.map +0 -1
- package/dist/cjs/en-gb-b3e9d4b0.js +0 -71
- package/dist/cjs/en-gb-b3e9d4b0.js.map +0 -1
- package/dist/cjs/es-139fbc19.js +0 -68
- package/dist/cjs/es-139fbc19.js.map +0 -1
- package/dist/cjs/es-mx-2b990913.js +0 -67
- package/dist/cjs/es-mx-2b990913.js.map +0 -1
- package/dist/cjs/et-56b1eeb6.js +0 -94
- package/dist/cjs/et-56b1eeb6.js.map +0 -1
- package/dist/cjs/fi-d981c2da.js +0 -117
- package/dist/cjs/fi-d981c2da.js.map +0 -1
- package/dist/cjs/filter-ac1e4e12.js +0 -762
- package/dist/cjs/filter-ac1e4e12.js.map +0 -1
- package/dist/cjs/floating-ui-67cc854a.js +0 -1916
- package/dist/cjs/floating-ui-67cc854a.js.map +0 -1
- package/dist/cjs/focusTrapComponent-f624c1ef.js +0 -1020
- package/dist/cjs/focusTrapComponent-f624c1ef.js.map +0 -1
- package/dist/cjs/form-fc7cdcfb.js +0 -313
- package/dist/cjs/form-fc7cdcfb.js.map +0 -1
- package/dist/cjs/fr-760e6aa9.js +0 -70
- package/dist/cjs/fr-760e6aa9.js.map +0 -1
- package/dist/cjs/fr-ch-a73a350e.js +0 -68
- package/dist/cjs/fr-ch-a73a350e.js.map +0 -1
- package/dist/cjs/guid-503dc96d.js +0 -23
- package/dist/cjs/guid-503dc96d.js.map +0 -1
- package/dist/cjs/he-c6ed0a2b.js +0 -107
- package/dist/cjs/he-c6ed0a2b.js.map +0 -1
- package/dist/cjs/hi-e974eb04.js +0 -67
- package/dist/cjs/hi-e974eb04.js.map +0 -1
- package/dist/cjs/hr-e2a5bbeb.js +0 -82
- package/dist/cjs/hr-e2a5bbeb.js.map +0 -1
- package/dist/cjs/hu-53d57bdf.js +0 -90
- package/dist/cjs/hu-53d57bdf.js.map +0 -1
- package/dist/cjs/id-ed9f3d29.js +0 -68
- package/dist/cjs/id-ed9f3d29.js.map +0 -1
- package/dist/cjs/index-593f8325.js +0 -208
- package/dist/cjs/index-593f8325.js.map +0 -1
- package/dist/cjs/index-bbe84fa7.js +0 -75
- package/dist/cjs/index-bbe84fa7.js.map +0 -1
- package/dist/cjs/index-cff042ba.js +0 -2655
- package/dist/cjs/index-cff042ba.js.map +0 -1
- package/dist/cjs/interactive-bf6ad235.js +0 -141
- package/dist/cjs/interactive-bf6ad235.js.map +0 -1
- package/dist/cjs/it-a4abf76b.js +0 -68
- package/dist/cjs/it-a4abf76b.js.map +0 -1
- package/dist/cjs/it-ch-d6c36e62.js +0 -68
- package/dist/cjs/it-ch-d6c36e62.js.map +0 -1
- package/dist/cjs/ja-bbdff34f.js +0 -74
- package/dist/cjs/ja-bbdff34f.js.map +0 -1
- package/dist/cjs/key-a6a844da.js +0 -16
- package/dist/cjs/key-a6a844da.js.map +0 -1
- package/dist/cjs/ko-c878fcd3.js +0 -74
- package/dist/cjs/ko-c878fcd3.js.map +0 -1
- package/dist/cjs/label-3ae92f3c.js +0 -183
- package/dist/cjs/label-3ae92f3c.js.map +0 -1
- package/dist/cjs/loadable-0a65536b.js +0 -91
- package/dist/cjs/loadable-0a65536b.js.map +0 -1
- package/dist/cjs/locale-821da1ff.js +0 -576
- package/dist/cjs/locale-821da1ff.js.map +0 -1
- package/dist/cjs/lt-cfb74977.js +0 -99
- package/dist/cjs/lt-cfb74977.js.map +0 -1
- package/dist/cjs/lv-4d3c772b.js +0 -68
- package/dist/cjs/lv-4d3c772b.js.map +0 -1
- package/dist/cjs/math-e5e19eb7.js +0 -57
- package/dist/cjs/math-e5e19eb7.js.map +0 -1
- package/dist/cjs/mk-f3c69cf9.js +0 -68
- package/dist/cjs/mk-f3c69cf9.js.map +0 -1
- package/dist/cjs/nb-e9b951a4.js +0 -69
- package/dist/cjs/nb-e9b951a4.js.map +0 -1
- package/dist/cjs/nl-083c6073.js +0 -69
- package/dist/cjs/nl-083c6073.js.map +0 -1
- package/dist/cjs/observers-7001f408.js +0 -50
- package/dist/cjs/observers-7001f408.js.map +0 -1
- package/dist/cjs/openCloseComponent-d0d72cce.js +0 -89
- package/dist/cjs/openCloseComponent-d0d72cce.js.map +0 -1
- package/dist/cjs/pl-9f253973.js +0 -116
- package/dist/cjs/pl-9f253973.js.map +0 -1
- package/dist/cjs/pt-1ede2bad.js +0 -69
- package/dist/cjs/pt-1ede2bad.js.map +0 -1
- package/dist/cjs/pt-br-67ec11eb.js +0 -67
- package/dist/cjs/pt-br-67ec11eb.js.map +0 -1
- package/dist/cjs/resources-11bc12dc.js +0 -49
- package/dist/cjs/resources-11bc12dc.js.map +0 -1
- package/dist/cjs/resources-247e6075.js +0 -17
- package/dist/cjs/resources-247e6075.js.map +0 -1
- package/dist/cjs/resources-3c2cc88e.js +0 -29
- package/dist/cjs/resources-3c2cc88e.js.map +0 -1
- package/dist/cjs/resources-500fdd54.js +0 -23
- package/dist/cjs/resources-500fdd54.js.map +0 -1
- package/dist/cjs/resources-7d3cb7d9.js +0 -414
- package/dist/cjs/resources-7d3cb7d9.js.map +0 -1
- package/dist/cjs/resources-ab66f681.js +0 -26
- package/dist/cjs/resources-ab66f681.js.map +0 -1
- package/dist/cjs/resources-b3e4c5a7.js +0 -26
- package/dist/cjs/resources-b3e4c5a7.js.map +0 -1
- package/dist/cjs/ro-4d654972.js +0 -68
- package/dist/cjs/ro-4d654972.js.map +0 -1
- package/dist/cjs/ru-1c6dc60d.js +0 -128
- package/dist/cjs/ru-1c6dc60d.js.map +0 -1
- package/dist/cjs/sk-2216420c.js +0 -150
- package/dist/cjs/sk-2216420c.js.map +0 -1
- package/dist/cjs/sl-117d8379.js +0 -170
- package/dist/cjs/sl-117d8379.js.map +0 -1
- package/dist/cjs/sortableComponent-7496d743.js +0 -2739
- package/dist/cjs/sortableComponent-7496d743.js.map +0 -1
- package/dist/cjs/sr-7c3ed7ea.js +0 -103
- package/dist/cjs/sr-7c3ed7ea.js.map +0 -1
- package/dist/cjs/sv-3688f61c.js +0 -73
- package/dist/cjs/sv-3688f61c.js.map +0 -1
- package/dist/cjs/t9n-e9d3ea3c.js +0 -97
- package/dist/cjs/t9n-e9d3ea3c.js.map +0 -1
- package/dist/cjs/th-d3e09fce.js +0 -67
- package/dist/cjs/th-d3e09fce.js.map +0 -1
- package/dist/cjs/throttle-6e9127f2.js +0 -77
- package/dist/cjs/throttle-6e9127f2.js.map +0 -1
- package/dist/cjs/tr-6851e276.js +0 -68
- package/dist/cjs/tr-6851e276.js.map +0 -1
- package/dist/cjs/uk-aa377b5d.js +0 -106
- package/dist/cjs/uk-aa377b5d.js.map +0 -1
- package/dist/cjs/utils-52a35f50.js +0 -218
- package/dist/cjs/utils-52a35f50.js.map +0 -1
- package/dist/cjs/utils-66ba8095.js +0 -307
- package/dist/cjs/utils-66ba8095.js.map +0 -1
- package/dist/cjs/vi-b7dbc182.js +0 -72
- package/dist/cjs/vi-b7dbc182.js.map +0 -1
- package/dist/cjs/zh-cn-bf6ad325.js +0 -96
- package/dist/cjs/zh-cn-bf6ad325.js.map +0 -1
- package/dist/cjs/zh-hk-549cd75a.js +0 -73
- package/dist/cjs/zh-hk-549cd75a.js.map +0 -1
- package/dist/cjs/zh-tw-b195ad31.js +0 -94
- package/dist/cjs/zh-tw-b195ad31.js.map +0 -1
- package/dist/esm/ExpandToggle-69b15e98.js +0 -102
- package/dist/esm/ExpandToggle-69b15e98.js.map +0 -1
- package/dist/esm/FloatingArrow-22df8a51.js +0 -47
- package/dist/esm/FloatingArrow-22df8a51.js.map +0 -1
- package/dist/esm/Heading-e04d55ee.js +0 -19
- package/dist/esm/Heading-e04d55ee.js.map +0 -1
- package/dist/esm/Validation-a2d6c496.js +0 -16
- package/dist/esm/Validation-a2d6c496.js.map +0 -1
- package/dist/esm/app-globals-32b62198.js +0 -59
- package/dist/esm/app-globals-32b62198.js.map +0 -1
- package/dist/esm/ar-69ada1df.js +0 -104
- package/dist/esm/ar-69ada1df.js.map +0 -1
- package/dist/esm/array-62819c68.js +0 -12
- package/dist/esm/array-62819c68.js.map +0 -1
- package/dist/esm/bg-a9be08bf.js +0 -82
- package/dist/esm/bg-a9be08bf.js.map +0 -1
- package/dist/esm/browser-55bbc124.js +0 -18
- package/dist/esm/browser-55bbc124.js.map +0 -1
- package/dist/esm/bs-9828eb4a.js +0 -51
- package/dist/esm/bs-9828eb4a.js.map +0 -1
- package/dist/esm/ca-b0032b4c.js +0 -71
- package/dist/esm/ca-b0032b4c.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-6581f2f7.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-6581f2f7.js.map +0 -1
- package/dist/esm/component-79713599.js +0 -27
- package/dist/esm/component-79713599.js.map +0 -1
- package/dist/esm/conditionalSlot-9f44f037.js +0 -57
- package/dist/esm/conditionalSlot-9f44f037.js.map +0 -1
- package/dist/esm/cs-1919ff06.js +0 -147
- package/dist/esm/cs-1919ff06.js.map +0 -1
- package/dist/esm/da-9fe73385.js +0 -66
- package/dist/esm/da-9fe73385.js.map +0 -1
- package/dist/esm/de-64fbcccb.js +0 -91
- package/dist/esm/de-64fbcccb.js.map +0 -1
- package/dist/esm/de-at-89e0a758.js +0 -90
- package/dist/esm/de-at-89e0a758.js.map +0 -1
- package/dist/esm/de-ch-33845f5c.js +0 -90
- package/dist/esm/de-ch-33845f5c.js.map +0 -1
- package/dist/esm/debounce-e0706caf.js +0 -489
- package/dist/esm/debounce-e0706caf.js.map +0 -1
- package/dist/esm/dom-4e52c9af.js +0 -1053
- package/dist/esm/dom-4e52c9af.js.map +0 -1
- package/dist/esm/el-9b1b7fa1.js +0 -66
- package/dist/esm/el-9b1b7fa1.js.map +0 -1
- package/dist/esm/en-au-d983c188.js +0 -66
- package/dist/esm/en-au-d983c188.js.map +0 -1
- package/dist/esm/en-ca-b33c1bd9.js +0 -65
- package/dist/esm/en-ca-b33c1bd9.js.map +0 -1
- package/dist/esm/en-gb-4e0a485d.js +0 -69
- package/dist/esm/en-gb-4e0a485d.js.map +0 -1
- package/dist/esm/es-1a1c3dcb.js +0 -66
- package/dist/esm/es-1a1c3dcb.js.map +0 -1
- package/dist/esm/es-mx-a9d3d665.js +0 -65
- package/dist/esm/es-mx-a9d3d665.js.map +0 -1
- package/dist/esm/et-a7bf9de7.js +0 -92
- package/dist/esm/et-a7bf9de7.js.map +0 -1
- package/dist/esm/fi-c1e94405.js +0 -115
- package/dist/esm/fi-c1e94405.js.map +0 -1
- package/dist/esm/filter-4a916469.js +0 -760
- package/dist/esm/filter-4a916469.js.map +0 -1
- package/dist/esm/floating-ui-bf5f5c6e.js +0 -1908
- package/dist/esm/floating-ui-bf5f5c6e.js.map +0 -1
- package/dist/esm/focusTrapComponent-a2568819.js +0 -1015
- package/dist/esm/focusTrapComponent-a2568819.js.map +0 -1
- package/dist/esm/form-159f989a.js +0 -304
- package/dist/esm/form-159f989a.js.map +0 -1
- package/dist/esm/fr-131becfa.js +0 -68
- package/dist/esm/fr-131becfa.js.map +0 -1
- package/dist/esm/fr-ch-02c3e7ea.js +0 -66
- package/dist/esm/fr-ch-02c3e7ea.js.map +0 -1
- package/dist/esm/guid-0badf9c7.js +0 -21
- package/dist/esm/guid-0badf9c7.js.map +0 -1
- package/dist/esm/he-f2ad4b9a.js +0 -105
- package/dist/esm/he-f2ad4b9a.js.map +0 -1
- package/dist/esm/hi-e741c63b.js +0 -65
- package/dist/esm/hi-e741c63b.js.map +0 -1
- package/dist/esm/hr-590de10b.js +0 -80
- package/dist/esm/hr-590de10b.js.map +0 -1
- package/dist/esm/hu-36fa0c4f.js +0 -88
- package/dist/esm/hu-36fa0c4f.js.map +0 -1
- package/dist/esm/id-fd611f1e.js +0 -66
- package/dist/esm/id-fd611f1e.js.map +0 -1
- package/dist/esm/index-5b513d35.js +0 -73
- package/dist/esm/index-5b513d35.js.map +0 -1
- package/dist/esm/index-69a21355.js +0 -2620
- package/dist/esm/index-69a21355.js.map +0 -1
- package/dist/esm/index-95bb3a95.js +0 -206
- package/dist/esm/index-95bb3a95.js.map +0 -1
- package/dist/esm/interactive-bbaf745f.js +0 -136
- package/dist/esm/interactive-bbaf745f.js.map +0 -1
- package/dist/esm/it-8a062ac5.js +0 -66
- package/dist/esm/it-8a062ac5.js.map +0 -1
- package/dist/esm/it-ch-8df393ae.js +0 -66
- package/dist/esm/it-ch-8df393ae.js.map +0 -1
- package/dist/esm/ja-fd1afef5.js +0 -72
- package/dist/esm/ja-fd1afef5.js.map +0 -1
- package/dist/esm/key-50b60e2a.js +0 -13
- package/dist/esm/key-50b60e2a.js.map +0 -1
- package/dist/esm/ko-1bec0bec.js +0 -72
- package/dist/esm/ko-1bec0bec.js.map +0 -1
- package/dist/esm/label-4ec915e3.js +0 -176
- package/dist/esm/label-4ec915e3.js.map +0 -1
- package/dist/esm/loadable-4c12ba7c.js +0 -86
- package/dist/esm/loadable-4c12ba7c.js.map +0 -1
- package/dist/esm/locale-2aa303ba.js +0 -563
- package/dist/esm/locale-2aa303ba.js.map +0 -1
- package/dist/esm/lt-82b81423.js +0 -97
- package/dist/esm/lt-82b81423.js.map +0 -1
- package/dist/esm/lv-b3953fa0.js +0 -66
- package/dist/esm/lv-b3953fa0.js.map +0 -1
- package/dist/esm/math-26f50486.js +0 -51
- package/dist/esm/math-26f50486.js.map +0 -1
- package/dist/esm/mk-36cbad21.js +0 -66
- package/dist/esm/mk-36cbad21.js.map +0 -1
- package/dist/esm/nb-ffdc99a5.js +0 -67
- package/dist/esm/nb-ffdc99a5.js.map +0 -1
- package/dist/esm/nl-c98dd822.js +0 -67
- package/dist/esm/nl-c98dd822.js.map +0 -1
- package/dist/esm/observers-967997d5.js +0 -48
- package/dist/esm/observers-967997d5.js.map +0 -1
- package/dist/esm/openCloseComponent-854f6923.js +0 -87
- package/dist/esm/openCloseComponent-854f6923.js.map +0 -1
- package/dist/esm/pl-795b2875.js +0 -114
- package/dist/esm/pl-795b2875.js.map +0 -1
- package/dist/esm/pt-b67b7669.js +0 -67
- package/dist/esm/pt-b67b7669.js.map +0 -1
- package/dist/esm/pt-br-79950ce2.js +0 -65
- package/dist/esm/pt-br-79950ce2.js.map +0 -1
- package/dist/esm/resources-0b3bb272.js +0 -387
- package/dist/esm/resources-0b3bb272.js.map +0 -1
- package/dist/esm/resources-30e74853.js +0 -17
- package/dist/esm/resources-30e74853.js.map +0 -1
- package/dist/esm/resources-85364525.js +0 -25
- package/dist/esm/resources-85364525.js.map +0 -1
- package/dist/esm/resources-98242dad.js +0 -45
- package/dist/esm/resources-98242dad.js.map +0 -1
- package/dist/esm/resources-a5061e73.js +0 -21
- package/dist/esm/resources-a5061e73.js.map +0 -1
- package/dist/esm/resources-e020c594.js +0 -23
- package/dist/esm/resources-e020c594.js.map +0 -1
- package/dist/esm/resources-f293ff54.js +0 -19
- package/dist/esm/resources-f293ff54.js.map +0 -1
- package/dist/esm/ro-57dae402.js +0 -66
- package/dist/esm/ro-57dae402.js.map +0 -1
- package/dist/esm/ru-ea554f9e.js +0 -126
- package/dist/esm/ru-ea554f9e.js.map +0 -1
- package/dist/esm/sk-d8155503.js +0 -148
- package/dist/esm/sk-d8155503.js.map +0 -1
- package/dist/esm/sl-9c98313b.js +0 -168
- package/dist/esm/sl-9c98313b.js.map +0 -1
- package/dist/esm/sortableComponent-7d614d1b.js +0 -2735
- package/dist/esm/sortableComponent-7d614d1b.js.map +0 -1
- package/dist/esm/sr-2ea46da5.js +0 -101
- package/dist/esm/sr-2ea46da5.js.map +0 -1
- package/dist/esm/sv-19ab94a8.js +0 -71
- package/dist/esm/sv-19ab94a8.js.map +0 -1
- package/dist/esm/t9n-2c1aa541.js +0 -92
- package/dist/esm/t9n-2c1aa541.js.map +0 -1
- package/dist/esm/th-a8f4a855.js +0 -65
- package/dist/esm/th-a8f4a855.js.map +0 -1
- package/dist/esm/throttle-000dc603.js +0 -75
- package/dist/esm/throttle-000dc603.js.map +0 -1
- package/dist/esm/tr-01447a86.js +0 -66
- package/dist/esm/tr-01447a86.js.map +0 -1
- package/dist/esm/uk-7d67d429.js +0 -104
- package/dist/esm/uk-7d67d429.js.map +0 -1
- package/dist/esm/utils-80453760.js +0 -289
- package/dist/esm/utils-80453760.js.map +0 -1
- package/dist/esm/utils-ae3df212.js +0 -200
- package/dist/esm/utils-ae3df212.js.map +0 -1
- package/dist/esm/vi-bfd67573.js +0 -70
- package/dist/esm/vi-bfd67573.js.map +0 -1
- package/dist/esm/zh-cn-0e316be9.js +0 -94
- package/dist/esm/zh-cn-0e316be9.js.map +0 -1
- package/dist/esm/zh-hk-efaed716.js +0 -71
- package/dist/esm/zh-hk-efaed716.js.map +0 -1
- package/dist/esm/zh-tw-dc11d92b.js +0 -92
- package/dist/esm/zh-tw-dc11d92b.js.map +0 -1
- /package/dist/calcite/{p-65bdcd44.js.map → p-02222285.js.map} +0 -0
- /package/dist/calcite/{p-0d86cf3c.js.map → p-02b36b33.js.map} +0 -0
- /package/dist/calcite/{p-c752323a.entry.js.map → p-0329e379.entry.js.map} +0 -0
- /package/dist/calcite/{p-b1c64ce1.entry.js.map → p-041a823f.entry.js.map} +0 -0
- /package/dist/calcite/{p-e21efbd7.entry.js.map → p-046b26d2.entry.js.map} +0 -0
- /package/dist/calcite/{p-d321eaed.entry.js.map → p-053424eb.entry.js.map} +0 -0
- /package/dist/calcite/{p-e19a135a.js.map → p-07d04a1e.js.map} +0 -0
- /package/dist/calcite/{p-918f2cca.entry.js.map → p-0835711b.entry.js.map} +0 -0
- /package/dist/calcite/{p-79571cee.js.map → p-093c529c.js.map} +0 -0
- /package/dist/calcite/{p-d4e29b57.js.map → p-09d174ca.js.map} +0 -0
- /package/dist/calcite/{p-17291a6b.js.map → p-0ac72eb8.js.map} +0 -0
- /package/dist/calcite/{p-18ef4ec6.entry.js.map → p-0aea0d18.entry.js.map} +0 -0
- /package/dist/calcite/{p-a464f414.entry.js.map → p-0cb8f61a.entry.js.map} +0 -0
- /package/dist/calcite/{p-6169720d.js.map → p-0d5c969e.js.map} +0 -0
- /package/dist/calcite/{p-e8c9d167.entry.js.map → p-0eeab064.entry.js.map} +0 -0
- /package/dist/calcite/{p-a13393fb.entry.js.map → p-114a4889.entry.js.map} +0 -0
- /package/dist/calcite/{p-23aa9acf.entry.js.map → p-134e2e90.entry.js.map} +0 -0
- /package/dist/calcite/{p-77b4855a.js.map → p-1c29a6af.js.map} +0 -0
- /package/dist/calcite/{p-e81b27ab.js.map → p-1c7950f8.js.map} +0 -0
- /package/dist/calcite/{p-0a25e366.js.map → p-1edf945c.js.map} +0 -0
- /package/dist/calcite/{p-0bd9d910.js.map → p-1f0469e8.js.map} +0 -0
- /package/dist/calcite/{p-77d3c2cf.js.map → p-22371dfa.js.map} +0 -0
- /package/dist/calcite/{p-e1e4b192.entry.js.map → p-25365d34.entry.js.map} +0 -0
- /package/dist/calcite/{p-b69a390f.js.map → p-2571a533.js.map} +0 -0
- /package/dist/calcite/{p-cd95036e.js.map → p-26adba10.js.map} +0 -0
- /package/dist/calcite/{p-87914e00.entry.js.map → p-2924902e.entry.js.map} +0 -0
- /package/dist/calcite/{p-b105433d.entry.js.map → p-2a6f310e.entry.js.map} +0 -0
- /package/dist/calcite/{p-8d7f7fa6.js.map → p-2e2a42a6.js.map} +0 -0
- /package/dist/calcite/{p-b49c85e9.js.map → p-2f1c705d.js.map} +0 -0
- /package/dist/calcite/{p-a1e21159.entry.js.map → p-30ad4224.entry.js.map} +0 -0
- /package/dist/calcite/{p-73985dfe.js.map → p-311f7931.js.map} +0 -0
- /package/dist/calcite/{p-c6e6c347.js.map → p-31438ebe.js.map} +0 -0
- /package/dist/calcite/{p-a73b6cb1.entry.js.map → p-320ba65f.entry.js.map} +0 -0
- /package/dist/calcite/{p-62539e6f.js.map → p-321f795c.js.map} +0 -0
- /package/dist/calcite/{p-49ee5a54.entry.js.map → p-331a1142.entry.js.map} +0 -0
- /package/dist/calcite/{p-16d444bd.entry.js.map → p-33812d1b.entry.js.map} +0 -0
- /package/dist/calcite/{p-da6ea2f4.entry.js.map → p-34a533a4.entry.js.map} +0 -0
- /package/dist/calcite/{p-b5cbf282.js.map → p-352d0b85.js.map} +0 -0
- /package/dist/calcite/{p-f48b73ff.entry.js.map → p-37896d2f.entry.js.map} +0 -0
- /package/dist/calcite/{p-c1cb62ba.js.map → p-37bb10ac.js.map} +0 -0
- /package/dist/calcite/{p-184a5f84.js.map → p-37e8fe13.js.map} +0 -0
- /package/dist/calcite/{p-3020b86e.entry.js.map → p-38ac0d8f.entry.js.map} +0 -0
- /package/dist/calcite/{p-f5883133.js.map → p-39ca931c.js.map} +0 -0
- /package/dist/calcite/{p-428d2a25.entry.js.map → p-3a08116c.entry.js.map} +0 -0
- /package/dist/calcite/{p-58e95db6.js.map → p-3c0e2088.js.map} +0 -0
- /package/dist/calcite/{p-051e6a52.js.map → p-3f5d93df.js.map} +0 -0
- /package/dist/calcite/{p-de0cd223.entry.js.map → p-45bfaf51.entry.js.map} +0 -0
- /package/dist/calcite/{p-724fe979.entry.js.map → p-47e5e2e0.entry.js.map} +0 -0
- /package/dist/calcite/{p-db63c36f.js.map → p-50866efe.js.map} +0 -0
- /package/dist/calcite/{p-b5098ec3.js.map → p-52a2b747.js.map} +0 -0
- /package/dist/calcite/{p-9a8c6d4f.js.map → p-53968f27.js.map} +0 -0
- /package/dist/calcite/{p-04a3e002.js.map → p-54b054f4.js.map} +0 -0
- /package/dist/calcite/{p-acb3f312.js.map → p-577f5b59.js.map} +0 -0
- /package/dist/calcite/{p-78827ae2.js.map → p-59ebb8f6.js.map} +0 -0
- /package/dist/calcite/{p-37d79622.js.map → p-5a197779.js.map} +0 -0
- /package/dist/calcite/{p-ea2ebc38.entry.js.map → p-5bbaa182.entry.js.map} +0 -0
- /package/dist/calcite/{p-1bcef799.js.map → p-5db6bfa4.js.map} +0 -0
- /package/dist/calcite/{p-664db087.entry.js.map → p-5e4eedc9.entry.js.map} +0 -0
- /package/dist/calcite/{p-b4f5fa69.js.map → p-6069f318.js.map} +0 -0
- /package/dist/calcite/{p-5dffd160.entry.js.map → p-6289c31a.entry.js.map} +0 -0
- /package/dist/calcite/{p-81d73021.entry.js.map → p-62937748.entry.js.map} +0 -0
- /package/dist/calcite/{p-307ddb92.js.map → p-6403da3e.js.map} +0 -0
- /package/dist/calcite/{p-85f84e1d.js.map → p-6740dbc7.js.map} +0 -0
- /package/dist/calcite/{p-40925694.js.map → p-6950192b.js.map} +0 -0
- /package/dist/calcite/{p-a5135e58.entry.js.map → p-6aa7e11a.entry.js.map} +0 -0
- /package/dist/calcite/{p-476c56cf.js.map → p-6b838ce4.js.map} +0 -0
- /package/dist/calcite/{p-ee27ddc7.js.map → p-6bf6e9e1.js.map} +0 -0
- /package/dist/calcite/{p-a92acd62.js.map → p-6f5cc640.js.map} +0 -0
- /package/dist/calcite/{p-44aa7a7f.js.map → p-764c5f12.js.map} +0 -0
- /package/dist/calcite/{p-6d5a4459.entry.js.map → p-77ef5370.entry.js.map} +0 -0
- /package/dist/calcite/{p-2c85f2b9.js.map → p-79596b0f.js.map} +0 -0
- /package/dist/calcite/{p-8855bcef.js.map → p-7a882e3c.js.map} +0 -0
- /package/dist/calcite/{p-57a920d4.js.map → p-7c5c1332.js.map} +0 -0
- /package/dist/calcite/{p-c29ef1e3.js.map → p-7d0e8153.js.map} +0 -0
- /package/dist/calcite/{p-865715d4.js.map → p-7e594aa8.js.map} +0 -0
- /package/dist/calcite/{p-53ac35f0.entry.js.map → p-7f2a8b4d.entry.js.map} +0 -0
- /package/dist/calcite/{p-568c539a.entry.js.map → p-81b0a156.entry.js.map} +0 -0
- /package/dist/calcite/{p-8b5d5671.js.map → p-81d1178a.js.map} +0 -0
- /package/dist/calcite/{p-b44b3bed.js.map → p-829ebf59.js.map} +0 -0
- /package/dist/calcite/{p-56bb88c4.js.map → p-83c71369.js.map} +0 -0
- /package/dist/calcite/{p-4b553b47.entry.js.map → p-84625c2c.entry.js.map} +0 -0
- /package/dist/calcite/{p-a723fadf.js.map → p-84daab23.js.map} +0 -0
- /package/dist/calcite/{p-96cd91d5.entry.js.map → p-856cae4a.entry.js.map} +0 -0
- /package/dist/calcite/{p-7b88468a.js.map → p-88059d1b.js.map} +0 -0
- /package/dist/calcite/{p-2852ac0f.js.map → p-89cc9679.js.map} +0 -0
- /package/dist/calcite/{p-2c9ed4c8.js.map → p-8addb902.js.map} +0 -0
- /package/dist/calcite/{p-6c728a32.js.map → p-8bd04d5c.js.map} +0 -0
- /package/dist/calcite/{p-54873946.entry.js.map → p-8d481462.entry.js.map} +0 -0
- /package/dist/calcite/{p-fc3721cb.entry.js.map → p-8d7beee9.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a019fdc.entry.js.map → p-8dda6a19.entry.js.map} +0 -0
- /package/dist/calcite/{p-de60cf18.entry.js.map → p-8e65b4f3.entry.js.map} +0 -0
- /package/dist/calcite/{p-f423113d.js.map → p-8f6e8991.js.map} +0 -0
- /package/dist/calcite/{p-d492fc4a.js.map → p-906a25f4.js.map} +0 -0
- /package/dist/calcite/{p-9e03486e.js.map → p-90aaf553.js.map} +0 -0
- /package/dist/calcite/{p-4879f67e.js.map → p-92840ce6.js.map} +0 -0
- /package/dist/calcite/{p-b9fb7b55.entry.js.map → p-92a01289.entry.js.map} +0 -0
- /package/dist/calcite/{p-c58f74f8.js.map → p-94ff4b4a.js.map} +0 -0
- /package/dist/calcite/{p-4a38fc0c.js.map → p-96d5da2e.js.map} +0 -0
- /package/dist/calcite/{p-bfa85cd2.js.map → p-9bc28b5f.js.map} +0 -0
- /package/dist/calcite/{p-2ba57a48.js.map → p-9f2d650f.js.map} +0 -0
- /package/dist/calcite/{p-7c60af7e.entry.js.map → p-9f8094a9.entry.js.map} +0 -0
- /package/dist/calcite/{p-fa55d31e.js.map → p-a07b7b6a.js.map} +0 -0
- /package/dist/calcite/{p-06c59dc4.entry.js.map → p-a3cbbf10.entry.js.map} +0 -0
- /package/dist/calcite/{p-da3a8243.js.map → p-a3f2a0ed.js.map} +0 -0
- /package/dist/calcite/{p-1c99dc99.js.map → p-a8c6729e.js.map} +0 -0
- /package/dist/calcite/{p-f95e88f1.js.map → p-a90bec6e.js.map} +0 -0
- /package/dist/calcite/{p-72f4795b.entry.js.map → p-ab047b62.entry.js.map} +0 -0
- /package/dist/calcite/{p-d409c956.entry.js.map → p-ab1d7a77.entry.js.map} +0 -0
- /package/dist/calcite/{p-a1e464a2.js.map → p-acde49d9.js.map} +0 -0
- /package/dist/calcite/{p-8bcb7999.entry.js.map → p-aebbe321.entry.js.map} +0 -0
- /package/dist/calcite/{p-fc093f60.js.map → p-b34493a5.js.map} +0 -0
- /package/dist/calcite/{p-1a0b7624.entry.js.map → p-b427f356.entry.js.map} +0 -0
- /package/dist/calcite/{p-7750de21.js.map → p-b4bbc792.js.map} +0 -0
- /package/dist/calcite/{p-254c45c4.js.map → p-ba0a988e.js.map} +0 -0
- /package/dist/calcite/{p-1ae6a6b7.entry.js.map → p-bae4c124.entry.js.map} +0 -0
- /package/dist/calcite/{p-02c06a20.entry.js.map → p-bda9f57f.entry.js.map} +0 -0
- /package/dist/calcite/{p-cbe0afa6.js.map → p-bde7c80e.js.map} +0 -0
- /package/dist/calcite/{p-e84a54ed.js.map → p-be1176aa.js.map} +0 -0
- /package/dist/calcite/{p-dcc31b64.entry.js.map → p-c5d39cfe.entry.js.map} +0 -0
- /package/dist/calcite/{p-93244949.js.map → p-c71317ea.js.map} +0 -0
- /package/dist/calcite/{p-92b6a965.js.map → p-c8312d2d.js.map} +0 -0
- /package/dist/calcite/{p-0123d9af.entry.js.map → p-c991694b.entry.js.map} +0 -0
- /package/dist/calcite/{p-67d03822.entry.js.map → p-cfcdf250.entry.js.map} +0 -0
- /package/dist/calcite/{p-4fdce4fa.entry.js.map → p-d1247118.entry.js.map} +0 -0
- /package/dist/calcite/{p-1c492818.entry.js.map → p-d2bcf18b.entry.js.map} +0 -0
- /package/dist/calcite/{p-f9a5d5ea.js.map → p-d40673cb.js.map} +0 -0
- /package/dist/calcite/{p-12e2bdbf.js.map → p-d414b707.js.map} +0 -0
- /package/dist/calcite/{p-a367aac4.js.map → p-d41f84ca.js.map} +0 -0
- /package/dist/calcite/{p-7251a5d4.entry.js.map → p-d6388c47.entry.js.map} +0 -0
- /package/dist/calcite/{p-0b1ec07e.entry.js.map → p-d911e405.entry.js.map} +0 -0
- /package/dist/calcite/{p-3f21f9ac.js.map → p-da503f41.js.map} +0 -0
- /package/dist/calcite/{p-4c53ba33.js.map → p-ddb456f0.js.map} +0 -0
- /package/dist/calcite/{p-14bf15fe.entry.js.map → p-de1100ef.entry.js.map} +0 -0
- /package/dist/calcite/{p-f4ea3307.entry.js.map → p-e169257a.entry.js.map} +0 -0
- /package/dist/calcite/{p-c1756b65.js.map → p-e33edff6.js.map} +0 -0
- /package/dist/calcite/{p-e28b5e0e.js.map → p-e4034c76.js.map} +0 -0
- /package/dist/calcite/{p-d3345e33.entry.js.map → p-e4ca961d.entry.js.map} +0 -0
- /package/dist/calcite/{p-1154cd79.entry.js.map → p-e575a553.entry.js.map} +0 -0
- /package/dist/calcite/{p-5636ca3e.js.map → p-e7cc19f3.js.map} +0 -0
- /package/dist/calcite/{p-d7766ee6.entry.js.map → p-e7d442b3.entry.js.map} +0 -0
- /package/dist/calcite/{p-01599da6.js.map → p-e968318b.js.map} +0 -0
- /package/dist/calcite/{p-b4cfcafb.entry.js.map → p-e9c6cbdf.entry.js.map} +0 -0
- /package/dist/calcite/{p-8ab638ed.js.map → p-ec66aafd.js.map} +0 -0
- /package/dist/calcite/{p-d1b3f4cf.js.map → p-f240b08f.js.map} +0 -0
- /package/dist/calcite/{p-4a6263f4.js.map → p-f514c231.js.map} +0 -0
- /package/dist/calcite/{p-39c74b95.entry.js.map → p-f53cf02f.entry.js.map} +0 -0
- /package/dist/calcite/{p-4b58b067.js.map → p-f5b207c4.js.map} +0 -0
- /package/dist/calcite/{p-39409f1f.js.map → p-fa54a79f.js.map} +0 -0
- /package/dist/calcite/{p-eb4b52d4.js.map → p-fe12a9c1.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.3.0
|
|
5
|
+
*/
|
|
6
|
+
import{d as e}from"./p-6bf6e9e1.js";import"./p-764c5f12.js";import"./p-50866efe.js";import"./p-fe12a9c1.js";import"./p-5a197779.js";import"./p-a90bec6e.js";import"./p-52a2b747.js";import"./p-6f5cc640.js";import"./p-577f5b59.js";import"./p-39ca931c.js";import"./p-31438ebe.js";import"./p-37e8fe13.js";import"./p-fa54a79f.js";import"./p-d40673cb.js";import"./p-79596b0f.js";import"./p-1c7950f8.js";import"./p-c71317ea.js";import"./p-7c5c1332.js";import"./p-be1176aa.js";function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function r(e,r,t){var a=e+" ";switch(t){case"m":return r?"minuta":"minutę";case"mm":return a+(i(e)?"minuty":"minut");case"h":return r?"godzina":"godzinę";case"hh":return a+(i(e)?"godziny":"godzin");case"MM":return a+(i(e)?"miesiące":"miesięcy");case"yy":return a+(i(e)?"lata":"lat")}}var t="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");var a="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_");var _=/D MMMM/;var p=function e(i,r){if(_.test(r)){return t[i.month()]}return a[i.month()]};p.s=a;p.f=t;var s={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:p,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function e(i){return i+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},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"}};e.locale(s,null,true);export default s;
|
|
7
|
+
//# sourceMappingURL=p-a3f2a0ed.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.3.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,H as s,g as n,F as o}from"./p-764c5f12.js";import{z as a,l as c,g as r,A as l,t as d}from"./p-fe12a9c1.js";import{g as h}from"./p-5a197779.js";import{c as b}from"./p-d40673cb.js";import{c as u,d as p,I as f,u as m}from"./p-52a2b747.js";import{c as g,d as v}from"./p-fa54a79f.js";import{c as x,d as y,s as k,u as T}from"./p-c71317ea.js";import{g as C}from"./p-31438ebe.js";import"./p-a90bec6e.js";import"./p-6f5cc640.js";import"./p-577f5b59.js";const z={container:"container",content:"content"};const w=":host([selected]) section,:host([selected]) .container{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([selected]){display:block;block-size:100%;inline-size:100%;overflow:auto}.content{box-sizing:border-box;padding-block:var(--calcite-internal-tab-content-block-padding)}.scale-s{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.25rem);font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.5rem);font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.625rem);font-size:var(--calcite-font-size-0);line-height:1.25rem}section,.container{display:none;block-size:100%;inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}";const I=class{constructor(i){t(this,i);this.calciteInternalTabRegister=e(this,"calciteInternalTabRegister",6);this.guid=`calcite-tab-title-${h()}`;this.tab=undefined;this.selected=false;this.scale="m";this.labeledBy=undefined}render(){const t=this.el.id||this.guid;return i(s,{"aria-labelledby":this.labeledBy,id:t},i("div",{class:{[z.container]:true,[`scale-${this.scale}`]:true},role:"tabpanel",tabIndex:this.selected?0:-1},i("section",{class:z.content},i("slot",null))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}componentDidLoad(){this.calciteInternalTabRegister.emit()}disconnectedCallback(){document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){const e=t.composedPath().find((t=>t.tagName==="CALCITE-TABS"));if(e!==this.parentTabsEl){return}if(this.tab){this.selected=this.tab===t.detail.tab}else{this.getTabIndex().then((e=>{this.selected=e===t.detail.tab}))}t.stopPropagation()}async getTabIndex(){return Array.prototype.indexOf.call(a(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],e=[]){this.labeledBy=e[t.indexOf(this.el.id)]||null}get el(){return n(this)}};I.style=w;const A={container:"tab-nav"};const H=":host{position:relative;display:flex}.scale-s{min-block-size:1.5rem}.scale-m{min-block-size:2rem}.scale-l{min-block-size:2.75rem}:host([layout=center]:not([bordered])){padding-inline:1.25rem}:host([layout=center]:not([bordered])) .tab-nav ::slotted(calcite-tab-title:last-child){margin-inline-end:0px}:host(:not([bordered])) .scale-l ::slotted(calcite-tab-title){margin-inline-end:1.5rem}:host(:not([bordered])) .scale-m ::slotted(calcite-tab-title){margin-inline-end:1.25rem}:host(:not([bordered])) .scale-s ::slotted(calcite-tab-title){margin-inline-end:1rem}.tab-nav{display:flex;inline-size:100%;justify-content:flex-start;overflow:auto}.tab-nav-active-indicator-container{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-color-brand);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([layout=center]) .tab-nav{justify-content:space-evenly}:host .position-bottom .tab-nav-active-indicator{inset-block-end:unset;inset-block-start:0px}:host .position-bottom .tab-nav-active-indicator-container{inset-block-end:unset;inset-block-start:0px}:host([bordered]) .tab-nav-active-indicator-container{inset-block-end:unset}:host([bordered]) .position-bottom .tab-nav-active-indicator-container{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){.tab-nav-active-indicator{background-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}";const L=class{constructor(i){t(this,i);this.calciteTabChange=e(this,"calciteTabChange",6);this.calciteInternalTabChange=e(this,"calciteInternalTabChange",6);this.animationActiveDuration=.3;this.resizeObserver=b("resize",(()=>{if(!this.activeIndicatorEl){return}this.activeIndicatorEl.style.transitionDuration="0s";this.updateActiveWidth();this.updateOffsetPosition()}));this.handleTabFocus=(t,e,i)=>{c(this.enabledTabTitles,e,i);t.stopPropagation()};this.handleContainerScroll=()=>{this.activeIndicatorEl.style.transitionDuration="0s";this.updateOffsetPosition()};this.storageId=undefined;this.syncId=undefined;this.selectedTitle=null;this.scale="m";this.layout="inline";this.position="bottom";this.bordered=false;this.indicatorOffset=undefined;this.indicatorWidth=undefined;this.selectedTabId=undefined}async selectedTabIdChanged(){if(localStorage&&this.storageId&&this.selectedTabId!==undefined&&this.selectedTabId!==null){localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId))}this.calciteInternalTabChange.emit({tab:this.selectedTabId});this.selectedTitle=await this.getTabTitleById(this.selectedTabId)}selectedTitleChanged(){this.updateOffsetPosition();this.updateActiveWidth();this.activeIndicatorEl.style.transitionDuration=`${this.animationActiveDuration}s`}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs");this.resizeObserver?.observe(this.el)}componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}}componentWillRender(){const{parentTabsEl:t}=this;this.layout=t?.layout;this.bordered=t?.bordered;if(this.selectedTitle){this.updateOffsetPosition()}}componentDidRender(){if(this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId){this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}}disconnectedCallback(){this.resizeObserver?.disconnect()}render(){const t=r(this.el);const e=`${this.indicatorWidth}px`;const n=`${this.indicatorOffset}px`;const o=t!=="rtl"?{width:e,left:n}:{width:e,right:n};return i(s,{role:"tablist"},i("div",{class:{[A.container]:true,[`scale-${this.scale}`]:true,[`position-${this.position}`]:true},onScroll:this.handleContainerScroll,ref:t=>this.tabNavEl=t},i("slot",null),i("div",{class:"tab-nav-active-indicator-container",ref:t=>this.activeIndicatorContainerEl=t},i("div",{class:"tab-nav-active-indicator",style:o,ref:t=>this.activeIndicatorEl=t}))))}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target);t.stopPropagation()}activateTabHandler(t){this.calciteTabChange.emit();t.stopPropagation()}internalCloseTabHandler(t){const e=t.target;this.handleTabTitleClose(e);t.stopPropagation()}updateTabTitles(t){if(t.target.selected){this.selectedTabId=t.detail}}globalInternalTabChangeHandler(t){if(this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab){this.selectedTabId=t.detail.tab}t.stopPropagation()}iconStartChangeHandler(){this.updateActiveWidth();this.updateOffsetPosition()}updateOffsetPosition(){const t=r(this.el);const e=this.activeIndicatorContainerEl?.offsetWidth;const i=this.selectedTitle?.offsetLeft;const s=this.selectedTitle?.offsetWidth;const n=e-(i+s);this.indicatorOffset=t!=="rtl"?i-this.tabNavEl?.scrollLeft:n+this.tabNavEl?.scrollLeft}updateActiveWidth(){this.indicatorWidth=this.selectedTitle?.offsetWidth}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((e=>this.tabTitles[e.indexOf(t)]))}get tabTitles(){return l(this.el,"calcite-tab-title")}get enabledTabTitles(){return l(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this;const i=t.selected;const s=e.reduce(((t,e,i)=>!e.closed?[...t,i]:t),[]);const n=s.length;if(n===1&&e[s[0]].closable){e[s[0]].closable=false;this.selectedTabId=s[0];if(i){e[s[0]].activateTab()}}else if(n>1){const i=e.findIndex((e=>e===t));const o=s.find((t=>t>i));if(this.selectedTabId===i){this.selectedTabId=o?o:n-1;e[this.selectedTabId].activateTab()}}requestAnimationFrame((()=>{this.updateOffsetPosition();this.updateActiveWidth();e[this.selectedTabId].focus()}))}get el(){return n(this)}static get watchers(){return{selectedTabId:["selectedTabIdChanged"],selectedTitle:["selectedTitleChanged"]}}};L.style=H;const j={closeButton:"close-button",container:"container",content:"content",contentHasText:"content--has-text",iconEnd:"icon-end",iconPresent:"icon-present",iconStart:"icon-start",titleIcon:"calcite-tab-title--icon"};const E={close:"x"};const S=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;text-align:center;flex-basis:12rem}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{margin:auto}:host([layout=center][closable]) .content{padding-inline-start:32px}:host([layout=center][bordered][closable]) .scale-s .content{padding-inline-start:36px}:host([layout=center][bordered][closable]) .scale-m .content{padding-inline-start:40px}:host([layout=center][closable]) .scale-l .content{padding-inline-start:40px}:host([layout=center][closable][bordered]) .scale-s .content{padding-inline-start:52px}:host([position=bottom]) .container{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}:host([closed]){display:none}.container{outline-color:transparent}:host(:focus) .container{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-color-border-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-color-text-1)}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale-s .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.container{box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;border-block-end-width:2px;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}.content{display:flex;align-items:center;justify-content:center}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.content--has-text{padding:0.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:0.5rem}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:0.5rem}.close-button{display:flex;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:calc(100% - 2px);background-color:var(--calcite-button-transparent-1);margin-inline-start:auto}.close-button:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:-1px}.close-button:focus,.close-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-2)}.close-button:active{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:0.5rem}:host([bordered]){margin-inline-end:0}:host([bordered][selected]){box-shadow:inset 0px -2px var(--calcite-color-foreground-1)}:host([bordered][selected][position=bottom]){box-shadow:inset 0 2px 0 var(--calcite-color-foreground-1)}:host([bordered]:hover) .container,:host([bordered]:focus) .container,:host([bordered]:active) .container{position:relative}:host([bordered]:hover) .container{background-color:var(--calcite-color-transparent-hover)}:host([closable]) .container,:host([bordered]) .container{border-inline-start:1px solid transparent;border-inline-end:1px solid transparent}:host([closable]) .container .close-button,:host([bordered]) .container .close-button{margin-inline:0}:host([closable]) .content{box-sizing:border-box;block-size:100%;border-block-end-color:transparent}:host([closable][position=bottom]) .container,:host([bordered][position=bottom]) .container{border-block-start-style:unset}:host([selected][bordered]) .container{border-inline-start-color:var(--calcite-color-border-1);border-inline-end-color:var(--calcite-color-border-1)}:host([bordered]) .content{padding-inline:0.75rem}:host([bordered]) .scale-s .content{padding-inline:0.5rem}:host([bordered]) .scale-l .content{padding-inline:1rem}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered][position=bottom]) .container{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][position=bottom][selected]) .container{border-block-start-style:none}.close-button{z-index:var(--calcite-z-index)}}:host([hidden]){display:none}[hidden]{display:none}";const R=class{constructor(i){t(this,i);this.calciteTabsActivate=e(this,"calciteTabsActivate",6);this.calciteInternalTabsActivate=e(this,"calciteInternalTabsActivate",6);this.calciteTabsClose=e(this,"calciteTabsClose",6);this.calciteInternalTabsClose=e(this,"calciteInternalTabsClose",6);this.calciteInternalTabsFocusNext=e(this,"calciteInternalTabsFocusNext",6);this.calciteInternalTabsFocusPrevious=e(this,"calciteInternalTabsFocusPrevious",6);this.calciteInternalTabsFocusFirst=e(this,"calciteInternalTabsFocusFirst",6);this.calciteInternalTabsFocusLast=e(this,"calciteInternalTabsFocusLast",6);this.calciteInternalTabTitleRegister=e(this,"calciteInternalTabTitleRegister",6);this.calciteInternalTabIconChanged=e(this,"calciteInternalTabIconChanged",6);this.closeClickHandler=()=>{this.closeTabTitleAndNotify()};this.mutationObserver=b("mutation",(()=>this.updateHasText()));this.resizeObserver=b("resize",(()=>{this.calciteInternalTabIconChanged.emit()}));this.guid=`calcite-tab-title-${h()}`;this.selected=false;this.closable=false;this.closed=false;this.disabled=false;this.iconEnd=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.layout=undefined;this.position="top";this.scale="m";this.bordered=false;this.tab=undefined;this.messages=undefined;this.messageOverrides=undefined;this.controls=undefined;this.defaultMessages=undefined;this.effectiveLocale=undefined;this.hasText=false}selectedHandler(){if(this.selected){this.activateTab(false)}}onMessagesChange(){}connectedCallback(){u(this);g(this);x(this);this.setupTextContentObserver();this.parentTabNavEl=this.el.closest("calcite-tab-nav");this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){this.mutationObserver?.disconnect();document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}));this.resizeObserver?.disconnect();p(this);v(this);y(this)}async componentWillLoad(){await k(this);{this.updateHasText()}if(this.tab&&this.selected){this.activateTab(false)}}componentWillRender(){if(this.parentTabsEl){this.layout=this.parentTabsEl.layout;this.bordered=this.parentTabsEl.bordered}}render(){const{el:t,closed:e}=this;const n=t.id||this.guid;const o=i("calcite-icon",{class:{[j.titleIcon]:true,[j.iconStart]:true},flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:C(this.scale)});const a=i("calcite-icon",{class:{[j.titleIcon]:true,[j.iconEnd]:true},flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:C(this.scale)});return i(s,{"aria-controls":this.controls,"aria-selected":d(this.selected),id:n,role:"tab",tabIndex:this.selected&&!this.disabled?0:-1},i(f,{disabled:this.disabled},i("div",{class:{container:true,[j.iconPresent]:!!this.iconStart||!!this.iconEnd,[`scale-${this.scale}`]:true},hidden:e,ref:t=>this.resizeObserver?.observe(t)},i("div",{class:{[j.content]:true,[j.contentHasText]:this.hasText}},this.iconStart?o:null,i("slot",null),this.iconEnd?a:null),this.renderCloseButton())))}renderCloseButton(){const{closable:t,messages:e}=this;return t?i("button",{"aria-label":e.close,class:j.closeButton,disabled:false,key:j.closeButton,onClick:this.closeClickHandler,title:e.close,type:"button",ref:t=>this.closeButtonEl=t},i("calcite-icon",{icon:E.close,scale:C(this.scale)})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){m(this)}internalTabChangeHandler(t){const e=t.composedPath().find((t=>t.tagName==="CALCITE-TABS"));if(e!==this.parentTabsEl){return}if(this.tab){this.selected=this.tab===t.detail.tab}else{this.getTabIndex().then((e=>{this.selected=e===t.detail.tab}))}t.stopPropagation()}onClick(){this.activateTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":if(!t.composedPath().includes(this.closeButtonEl)){this.activateTab();t.preventDefault()}break;case"ArrowRight":t.preventDefault();if(r(this.el)==="ltr"){this.calciteInternalTabsFocusNext.emit()}else{this.calciteInternalTabsFocusPrevious.emit()}break;case"ArrowLeft":t.preventDefault();if(r(this.el)==="ltr"){this.calciteInternalTabsFocusPrevious.emit()}else{this.calciteInternalTabsFocusNext.emit()}break;case"Home":t.preventDefault();this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault();this.calciteInternalTabsFocusLast.emit();break}}async getTabIndex(){return Array.prototype.indexOf.call(a(this.el.parentElement.children).filter((t=>t.matches("calcite-tab-title"))),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],e=[]){this.controls=t[e.indexOf(this.el.id)]||null}async activateTab(t=true){if(this.disabled||this.closed){return}const e={tab:this.tab};this.calciteInternalTabsActivate.emit(e);if(t){requestAnimationFrame((()=>this.calciteTabsActivate.emit()))}}effectiveLocaleChange(){T(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true})}closeTabTitleAndNotify(){this.closed=true;this.calciteInternalTabsClose.emit({tab:this.tab});this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};R.style=S;const $={titleGroup:"title-group"};const P=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1), inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}";const F=class{constructor(e){t(this,e);this.mutationObserver=b("mutation",(t=>{for(const e of t){const t=e.target;if(t.nodeName==="CALCITE-TAB-NAV"||t.nodeName==="CALCITE-TAB-TITLE"||t.nodeName==="CALCITE-TAB"){this.updateItems()}}}));this.layout="inline";this.position="top";this.scale="m";this.bordered=false;this.titles=[];this.tabs=[]}handleInheritableProps(){this.updateItems()}connectedCallback(){this.mutationObserver.observe(this.el,{childList:true});this.updateItems()}async componentWillLoad(){this.updateItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return i(o,null,i("slot",{name:$.titleGroup}),i("section",null,i("slot",null)))}calciteInternalTabTitleRegister(t){this.titles=[...this.titles,t.target];this.registryHandler();t.stopPropagation()}calciteTabTitleUnregister(t){this.titles=this.titles.filter((e=>e!==t.detail));this.registryHandler();t.stopPropagation()}calciteInternalTabRegister(t){this.tabs=[...this.tabs,t.target];this.registryHandler();t.stopPropagation()}calciteTabUnregister(t){this.tabs=this.tabs.filter((e=>e!==t.detail));this.registryHandler();t.stopPropagation()}updateItems(){const{position:t,scale:e}=this;const i=this.el.querySelector("calcite-tab-nav");if(i){i.position=t;i.scale=e}Array.from(this.el.querySelectorAll("calcite-tab")).forEach((t=>{if(t.parentElement===this.el){t.scale=e}}));Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((i=>{i.position=t;i.scale=e}))}async registryHandler(){let t;let e;if(this.tabs.some((t=>t.tab))||this.titles.some((t=>t.tab))){t=this.tabs.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id));e=this.titles.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id))}else{const i=await Promise.all(this.tabs.map((t=>t.getTabIndex())));const s=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=i.reduce(((t,e,i)=>{t[e]=this.tabs[i].id;return t}),[]);e=s.reduce(((t,e,i)=>{t[e]=this.titles[i].id;return t}),[])}this.tabs.forEach((i=>i.updateAriaInfo(t,e)));this.titles.forEach((i=>i.updateAriaInfo(t,e)))}get el(){return n(this)}static get watchers(){return{position:["handleInheritableProps"],scale:["handleInheritableProps"]}}};F.style=P;export{I as calcite_tab,L as calcite_tab_nav,R as calcite_tab_title,F as calcite_tabs};
|
|
7
|
+
//# sourceMappingURL=p-a605cdd8.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CSS","container","content","tabCss","Tab","this","guid","render","id","el","h","Host","labeledBy","class","scale","role","tabIndex","selected","connectedCallback","parentTabsEl","closest","componentDidLoad","calciteInternalTabRegister","emit","disconnectedCallback","document","body","dispatchEvent","CustomEvent","detail","internalTabChangeHandler","event","targetTabsEl","composedPath","find","tagName","tab","getTabIndex","then","index","stopPropagation","Array","prototype","indexOf","call","nodeListToArray","parentElement","children","filter","matches","updateAriaInfo","tabIds","titleIds","tabNavCss","TabNav","animationActiveDuration","resizeObserver","createObserver","activeIndicatorEl","style","transitionDuration","updateActiveWidth","updateOffsetPosition","handleTabFocus","destination","focusElementInGroup","enabledTabTitles","handleContainerScroll","selectedTabIdChanged","localStorage","storageId","selectedTabId","undefined","setItem","JSON","stringify","calciteInternalTabChange","selectedTitle","getTabTitleById","selectedTitleChanged","observe","componentWillLoad","storageKey","getItem","storedTab","parse","componentWillRender","layout","bordered","componentDidRender","tabTitles","length","every","title","getTabIdentifier","disconnect","dir","getElementDir","width","indicatorWidth","offset","indicatorOffset","indicatorStyle","left","right","position","onScroll","ref","tabNavEl","activeIndicatorContainerEl","focusPreviousTabHandler","target","focusNextTabHandler","focusFirstTabHandler","focusLastTabHandler","internalActivateTabHandler","getIndexOfTabTitle","activateTabHandler","calciteTabChange","internalCloseTabHandler","closedTabTitleEl","handleTabTitleClose","updateTabTitles","globalInternalTabChangeHandler","syncId","iconStartChangeHandler","navWidth","offsetWidth","tabLeft","offsetLeft","tabWidth","offsetRight","scrollLeft","Promise","all","map","ids","filterDirectChildren","tabTitle","closed","selectionModified","visibleTabTitlesIndices","reduce","tabTitleIndices","totalVisibleTabTitles","closable","activateTab","closedTabTitleIndex","findIndex","nextTabTitleIndex","value","requestAnimationFrame","focus","closeButton","contentHasText","iconEnd","iconPresent","iconStart","titleIcon","ICONS","close","tabTitleCss","TabTitle","closeClickHandler","closeTabTitleAndNotify","mutationObserver","updateHasText","calciteInternalTabIconChanged","selectedHandler","onMessagesChange","connectInteractive","connectLocalized","connectMessages","setupTextContentObserver","parentTabNavEl","disconnectInteractive","disconnectLocalized","disconnectMessages","setUpMessages","iconStartEl","flipRtl","iconFlipRtl","icon","getIconScale","iconEndEl","controls","toAriaBoolean","disabled","InteractiveContainer","hidden","hasText","renderCloseButton","messages","key","onClick","type","closeButtonEl","calciteInternalTabTitleRegister","updateHostInteraction","keyDownHandler","includes","preventDefault","calciteInternalTabsFocusNext","calciteInternalTabsFocusPrevious","calciteInternalTabsFocusFirst","calciteInternalTabsFocusLast","userTriggered","payload","calciteInternalTabsActivate","calciteTabsActivate","effectiveLocaleChange","updateMessages","effectiveLocale","textContent","trim","childList","subtree","calciteInternalTabsClose","calciteTabsClose","SLOTS","titleGroup","tabsCss","Tabs","mutationsList","mutation","nodeName","updateItems","handleInheritableProps","Fragment","name","titles","registryHandler","calciteTabTitleUnregister","tabs","calciteTabUnregister","nav","querySelector","from","querySelectorAll","forEach","some","sort","a","b","localeCompare","tabDomIndexes","titleDomIndexes","indexInDOM","registryIndex"],"sources":["src/components/tab/resources.ts","src/components/tab/tab.scss?tag=calcite-tab&encapsulation=shadow","src/components/tab/tab.tsx","src/components/tab-nav/resources.ts","src/components/tab-nav/tab-nav.scss?tag=calcite-tab-nav&encapsulation=shadow","src/components/tab-nav/tab-nav.tsx","src/components/tab-title/resources.ts","src/components/tab-title/tab-title.scss?tag=calcite-tab-title&encapsulation=shadow","src/components/tab-title/tab-title.tsx","src/components/tabs/resources.ts","src/components/tabs/tabs.scss?tag=calcite-tabs&encapsulation=shadow","src/components/tabs/tabs.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n content: \"content\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-tab-content-block-padding: Specifies the block padding of the component's content in the `default` slot.\n */\n\n:host([selected]) {\n section,\n .container {\n @apply block;\n }\n}\n\n:host {\n @apply hidden h-full w-full;\n}\n\n:host([selected]) {\n @apply block h-full w-full overflow-auto;\n}\n\n.content {\n @apply box-border;\n padding-block: var(--calcite-internal-tab-content-block-padding);\n}\n\n.scale-s {\n --calcite-internal-tab-content-block-padding: var(--calcite-tab-content-block-padding, theme(\"spacing.1\"));\n @apply text-n2h;\n}\n\n.scale-m {\n --calcite-internal-tab-content-block-padding: var(--calcite-tab-content-block-padding, theme(\"spacing.2\"));\n @apply text-n1h;\n}\n\n.scale-l {\n --calcite-internal-tab-content-block-padding: var(--calcite-tab-content-block-padding, theme(\"spacing.[2.5]\"));\n @apply text-0h;\n}\n\nsection,\n.container {\n @apply hidden h-full w-full;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n} from \"@stencil/core\";\nimport { CSS } from \"./resources\";\nimport { nodeListToArray } from \"../../utils/dom\";\nimport { guid } from \"../../utils/guid\";\nimport { Scale } from \"../interfaces\";\nimport { TabChangeEventDetail } from \"./interfaces\";\n\n/**\n * @slot - A slot for adding custom content.\n */\n@Component({\n tag: \"calcite-tab\",\n styleUrl: \"tab.scss\",\n shadow: true,\n})\nexport class Tab {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * Specifies a unique name for the component.\n *\n * When specified, use the same value on the `calcite-tab-title`.\n */\n @Prop({ reflect: true }) tab: string;\n\n /**\n * When `true`, the component's contents are selected.\n *\n * Only one tab can be selected within the `calcite-tabs` parent.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /**\n * Specifies the size of the component inherited from the parent `calcite-tabs`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const id = this.el.id || this.guid;\n\n return (\n <Host aria-labelledby={this.labeledBy} id={id}>\n <div\n class={{ [CSS.container]: true, [`scale-${this.scale}`]: true }}\n role=\"tabpanel\"\n tabIndex={this.selected ? 0 : -1}\n >\n <section class={CSS.content}>\n <slot />\n </section>\n </div>\n </Host>\n );\n }\n\n connectedCallback(): void {\n this.parentTabsEl = this.el.closest(\"calcite-tabs\");\n }\n\n componentDidLoad(): void {\n this.calciteInternalTabRegister.emit();\n }\n\n disconnectedCallback(): void {\n // Dispatching to body in order to be listened by other elements that are still connected to the DOM.\n document.body?.dispatchEvent(\n new CustomEvent(\"calciteTabUnregister\", {\n detail: this.el,\n }),\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalTabRegister: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalTabChange\", { target: \"body\" })\n internalTabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void {\n const targetTabsEl = event\n .composedPath()\n .find((el: HTMLElement) => el.tagName === \"CALCITE-TABS\");\n\n // to allow `<calcite-tabs>` to be nested we need to make sure this\n // `calciteTabChange` event was actually fired from a within the same\n // `<calcite-tabs>` that is the a parent of this tab.\n if (targetTabsEl !== this.parentTabsEl) {\n return;\n }\n\n if (this.tab) {\n this.selected = this.tab === event.detail.tab;\n } else {\n this.getTabIndex().then((index) => {\n this.selected = index === event.detail.tab;\n });\n }\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Returns the index of the component item within the tab array.\n */\n @Method()\n async getTabIndex(): Promise<number> {\n return Array.prototype.indexOf.call(\n nodeListToArray(this.el.parentElement.children).filter((el) => el.matches(\"calcite-tab\")),\n this.el,\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTabElement;\n\n parentTabsEl: HTMLCalciteTabsElement;\n\n guid = `calcite-tab-title-${guid()}`;\n\n @State() labeledBy: string;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * @param tabIds\n * @param titleIds\n * @internal\n */\n @Method()\n async updateAriaInfo(tabIds: string[] = [], titleIds: string[] = []): Promise<void> {\n this.labeledBy = titleIds[tabIds.indexOf(this.el.id)] || null;\n }\n}\n","export const CSS = {\n container: \"tab-nav\",\n};\n",":host {\n @apply relative flex;\n}\n\n.scale-s {\n min-block-size: theme(\"spacing.6\");\n}\n\n.scale-m {\n min-block-size: theme(\"spacing.8\");\n}\n\n.scale-l {\n min-block-size: theme(\"spacing.11\");\n}\n\n:host([layout=\"center\"]:not([bordered])) {\n // `tab-nav` in all scales in layout=\"center\" has a padding of 20px on both ends\n padding-inline: theme(\"margin.5\");\n\n //override margin-inline-end for the last child for tab-nav to implement the 20px padding on both ends instead\n .tab-nav {\n ::slotted(calcite-tab-title:last-child) {\n margin-inline-end: theme(\"margin.0\");\n }\n }\n}\n\n:host(:not([bordered])) {\n .scale-l {\n ::slotted(calcite-tab-title) {\n margin-inline-end: theme(\"margin.6\");\n }\n }\n .scale-m {\n ::slotted(calcite-tab-title) {\n margin-inline-end: theme(\"margin.5\");\n }\n }\n .scale-s {\n ::slotted(calcite-tab-title) {\n margin-inline-end: theme(\"margin.4\");\n }\n }\n}\n\n.tab-nav {\n @apply flex\n w-full\n justify-start\n overflow-auto;\n}\n\n// prevent indicator overflow in horizontal scrolling situations\n.tab-nav-active-indicator-container {\n @apply absolute\n inset-x-0\n bottom-0\n h-0.5\n w-full\n overflow-hidden;\n}\n\n.tab-nav-active-indicator {\n @apply bg-brand\n absolute\n bottom-0\n block\n h-0.5\n transition-all\n ease-out;\n}\n\n:host([layout=\"center\"]) .tab-nav {\n @apply justify-evenly;\n}\n\n:host .position-bottom .tab-nav-active-indicator {\n inset-block-end: unset;\n @apply top-0;\n}\n\n:host .position-bottom .tab-nav-active-indicator-container {\n inset-block-end: unset;\n @apply top-0;\n}\n\n:host([bordered]) .tab-nav-active-indicator-container {\n inset-block-end: unset; // display active blue line above instead of below\n}\n\n:host([bordered]) .position-bottom .tab-nav-active-indicator-container {\n inset-block-end: 0; // display active blue line below instead of above\n inset-block-start: unset;\n}\n\n@media (forced-colors: active) {\n .tab-nav-active-indicator {\n background-color: highlight;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n filterDirectChildren,\n focusElementInGroup,\n FocusElementInGroupDestination,\n getElementDir,\n} from \"../../utils/dom\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale } from \"../interfaces\";\nimport { TabChangeEventDetail, TabCloseEventDetail } from \"../tab/interfaces\";\nimport { TabID, TabLayout, TabPosition } from \"../tabs/interfaces\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-tab-title`s.\n */\n@Component({\n tag: \"calcite-tab-nav\",\n styleUrl: \"tab-nav.scss\",\n shadow: true,\n})\nexport class TabNav {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * Specifies the name when saving selected `calcite-tab` data to `localStorage`.\n */\n @Prop({ reflect: true }) storageId: string;\n\n /**\n * Specifies text to update multiple components to keep in sync if one changes.\n */\n @Prop({ reflect: true }) syncId: string;\n\n /**\n * Specifies the component's selected `calcite-tab-title`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedTitle: HTMLCalciteTabTitleElement = null;\n\n /**\n * Specifies the size of the component inherited from the parent `calcite-tabs`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n /**\n * @internal\n */\n @Prop({ reflect: true, mutable: true }) layout: TabLayout = \"inline\";\n\n /**\n * Specifies the position of `calcite-tab-nav` and `calcite-tab-title` components in relation to, and is inherited from the parent `calcite-tabs`, defaults to `top`.\n *\n * @internal\n */\n @Prop() position: TabPosition = \"bottom\";\n\n /**\n * @internal\n */\n @Prop({ reflect: true, mutable: true }) bordered = false;\n\n /**\n * @internal\n */\n @Prop({ mutable: true }) indicatorOffset: number;\n\n /**\n * @internal\n */\n @Prop({ mutable: true }) indicatorWidth: number;\n\n @Watch(\"selectedTabId\")\n async selectedTabIdChanged(): Promise<void> {\n if (\n localStorage &&\n this.storageId &&\n this.selectedTabId !== undefined &&\n this.selectedTabId !== null\n ) {\n localStorage.setItem(`calcite-tab-nav-${this.storageId}`, JSON.stringify(this.selectedTabId));\n }\n\n this.calciteInternalTabChange.emit({\n tab: this.selectedTabId,\n });\n\n this.selectedTitle = await this.getTabTitleById(this.selectedTabId);\n }\n\n @Watch(\"selectedTitle\")\n selectedTitleChanged(): void {\n this.updateOffsetPosition();\n this.updateActiveWidth();\n // reset the animation time on tab selection\n this.activeIndicatorEl.style.transitionDuration = `${this.animationActiveDuration}s`;\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.parentTabsEl = this.el.closest(\"calcite-tabs\");\n this.resizeObserver?.observe(this.el);\n }\n\n componentWillLoad(): void {\n const storageKey = `calcite-tab-nav-${this.storageId}`;\n if (localStorage && this.storageId && localStorage.getItem(storageKey)) {\n const storedTab = JSON.parse(localStorage.getItem(storageKey));\n this.selectedTabId = storedTab;\n }\n }\n\n componentWillRender(): void {\n const { parentTabsEl } = this;\n\n this.layout = parentTabsEl?.layout;\n this.bordered = parentTabsEl?.bordered;\n // fix issue with active tab-title not lining up with blue indicator\n if (this.selectedTitle) {\n this.updateOffsetPosition();\n }\n }\n\n componentDidRender(): void {\n // if every tab title is active select the first tab.\n if (\n this.tabTitles.length &&\n this.tabTitles.every((title) => !title.selected) &&\n !this.selectedTabId\n ) {\n this.tabTitles[0].getTabIdentifier().then((tab) => {\n this.calciteInternalTabChange.emit({\n tab,\n });\n });\n }\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): VNode {\n const dir = getElementDir(this.el);\n const width = `${this.indicatorWidth}px`;\n const offset = `${this.indicatorOffset}px`;\n const indicatorStyle = dir !== \"rtl\" ? { width, left: offset } : { width, right: offset };\n return (\n <Host role=\"tablist\">\n <div\n class={{\n [CSS.container]: true,\n [`scale-${this.scale}`]: true,\n [`position-${this.position}`]: true,\n }}\n onScroll={this.handleContainerScroll}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el: HTMLDivElement) => (this.tabNavEl = el)}\n >\n <slot />\n <div\n class=\"tab-nav-active-indicator-container\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.activeIndicatorContainerEl = el)}\n >\n <div\n class=\"tab-nav-active-indicator\"\n style={indicatorStyle}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.activeIndicatorEl = el as HTMLElement)}\n />\n </div>\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalTabsFocusPrevious\")\n focusPreviousTabHandler(event: CustomEvent): void {\n this.handleTabFocus(event, event.target as HTMLCalciteTabTitleElement, \"previous\");\n }\n\n @Listen(\"calciteInternalTabsFocusNext\")\n focusNextTabHandler(event: CustomEvent): void {\n this.handleTabFocus(event, event.target as HTMLCalciteTabTitleElement, \"next\");\n }\n\n @Listen(\"calciteInternalTabsFocusFirst\")\n focusFirstTabHandler(event: CustomEvent): void {\n this.handleTabFocus(event, event.target as HTMLCalciteTabTitleElement, \"first\");\n }\n\n @Listen(\"calciteInternalTabsFocusLast\")\n focusLastTabHandler(event: CustomEvent): void {\n this.handleTabFocus(event, event.target as HTMLCalciteTabTitleElement, \"last\");\n }\n\n @Listen(\"calciteInternalTabsActivate\")\n internalActivateTabHandler(event: CustomEvent<TabChangeEventDetail>): void {\n this.selectedTabId = event.detail.tab\n ? event.detail.tab\n : this.getIndexOfTabTitle(event.target as HTMLCalciteTabTitleElement);\n event.stopPropagation();\n }\n\n @Listen(\"calciteTabsActivate\")\n activateTabHandler(event: CustomEvent<void>): void {\n this.calciteTabChange.emit();\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalTabsClose\")\n internalCloseTabHandler(event: CustomEvent<TabCloseEventDetail>): void {\n const closedTabTitleEl = event.target as HTMLCalciteTabTitleElement;\n this.handleTabTitleClose(closedTabTitleEl);\n event.stopPropagation();\n }\n\n /**\n * Check for active tabs on register and update selected\n *\n * @param event\n */\n @Listen(\"calciteInternalTabTitleRegister\")\n updateTabTitles(event: CustomEvent<TabID>): void {\n if ((event.target as HTMLCalciteTabTitleElement).selected) {\n this.selectedTabId = event.detail;\n }\n }\n\n @Listen(\"calciteInternalTabChange\", { target: \"body\" })\n globalInternalTabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void {\n if (\n this.syncId &&\n event.target !== this.el &&\n (event.target as HTMLCalciteTabNavElement).syncId === this.syncId &&\n this.selectedTabId !== event.detail.tab\n ) {\n this.selectedTabId = event.detail.tab;\n }\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalTabIconChanged\")\n iconStartChangeHandler(): void {\n this.updateActiveWidth();\n this.updateOffsetPosition();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Emits when the selected `calcite-tab` changes.\n */\n @Event({ cancelable: false }) calciteTabChange: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalTabChange: EventEmitter<TabChangeEventDetail>;\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTabNavElement;\n\n @State() selectedTabId: TabID;\n\n parentTabsEl: HTMLCalciteTabsElement;\n\n tabNavEl: HTMLDivElement;\n\n activeIndicatorEl: HTMLElement;\n\n activeIndicatorContainerEl: HTMLDivElement;\n\n animationActiveDuration = 0.3;\n\n resizeObserver = createObserver(\"resize\", () => {\n if (!this.activeIndicatorEl) {\n return;\n }\n\n // remove active indicator transition duration during resize to prevent wobble\n this.activeIndicatorEl.style.transitionDuration = \"0s\";\n this.updateActiveWidth();\n this.updateOffsetPosition();\n });\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n handleTabFocus = (\n event: CustomEvent,\n el: HTMLCalciteTabTitleElement,\n destination: FocusElementInGroupDestination,\n ): void => {\n focusElementInGroup(this.enabledTabTitles, el, destination);\n\n event.stopPropagation();\n };\n\n handleContainerScroll = (): void => {\n // remove active indicator transition duration while container is scrolling to prevent wobble\n this.activeIndicatorEl.style.transitionDuration = \"0s\";\n this.updateOffsetPosition();\n };\n\n updateOffsetPosition(): void {\n const dir = getElementDir(this.el);\n const navWidth = this.activeIndicatorContainerEl?.offsetWidth;\n const tabLeft = this.selectedTitle?.offsetLeft;\n const tabWidth = this.selectedTitle?.offsetWidth;\n const offsetRight = navWidth - (tabLeft + tabWidth);\n this.indicatorOffset =\n dir !== \"rtl\" ? tabLeft - this.tabNavEl?.scrollLeft : offsetRight + this.tabNavEl?.scrollLeft;\n }\n\n updateActiveWidth(): void {\n this.indicatorWidth = this.selectedTitle?.offsetWidth;\n }\n\n getIndexOfTabTitle(el: HTMLCalciteTabTitleElement, tabTitles = this.tabTitles): number {\n // In most cases, since these indexes correlate with tab contents, we want to consider all tab titles.\n // However, when doing relative index operations, it makes sense to pass in this.enabledTabTitles as the 2nd arg.\n return tabTitles.indexOf(el);\n }\n\n async getTabTitleById(id: TabID): Promise<HTMLCalciteTabTitleElement | null> {\n return Promise.all(this.tabTitles.map((el) => el.getTabIdentifier())).then((ids) => {\n return this.tabTitles[ids.indexOf(id)];\n });\n }\n\n get tabTitles(): HTMLCalciteTabTitleElement[] {\n return filterDirectChildren<HTMLCalciteTabTitleElement>(this.el, \"calcite-tab-title\");\n }\n\n get enabledTabTitles(): HTMLCalciteTabTitleElement[] {\n return filterDirectChildren<HTMLCalciteTabTitleElement>(\n this.el,\n \"calcite-tab-title:not([disabled])\",\n ).filter((tabTitle) => !tabTitle.closed);\n }\n\n private handleTabTitleClose(closedTabTitleEl: HTMLCalciteTabTitleElement): void {\n const { tabTitles } = this;\n const selectionModified = closedTabTitleEl.selected;\n\n const visibleTabTitlesIndices = tabTitles.reduce(\n (tabTitleIndices: number[], tabTitle, index) =>\n !tabTitle.closed ? [...tabTitleIndices, index] : tabTitleIndices,\n [],\n );\n const totalVisibleTabTitles = visibleTabTitlesIndices.length;\n\n if (totalVisibleTabTitles === 1 && tabTitles[visibleTabTitlesIndices[0]].closable) {\n tabTitles[visibleTabTitlesIndices[0]].closable = false;\n this.selectedTabId = visibleTabTitlesIndices[0];\n\n if (selectionModified) {\n tabTitles[visibleTabTitlesIndices[0]].activateTab();\n }\n } else if (totalVisibleTabTitles > 1) {\n const closedTabTitleIndex = tabTitles.findIndex((el) => el === closedTabTitleEl);\n const nextTabTitleIndex = visibleTabTitlesIndices.find(\n (value) => value > closedTabTitleIndex,\n );\n\n if (this.selectedTabId === closedTabTitleIndex) {\n this.selectedTabId = nextTabTitleIndex ? nextTabTitleIndex : totalVisibleTabTitles - 1;\n tabTitles[this.selectedTabId].activateTab();\n }\n }\n\n requestAnimationFrame(() => {\n this.updateOffsetPosition();\n this.updateActiveWidth();\n tabTitles[this.selectedTabId].focus();\n });\n }\n}\n","export const CSS = {\n closeButton: \"close-button\",\n container: \"container\",\n content: \"content\",\n contentHasText: \"content--has-text\",\n iconEnd: \"icon-end\",\n iconPresent: \"icon-present\",\n iconStart: \"icon-start\",\n titleIcon: \"calcite-tab-title--icon\",\n};\n\nexport const ICONS = {\n close: \"x\",\n};\n",":host {\n @apply block outline-none;\n margin-inline-start: theme(\"margin.0\");\n}\n\n:host([layout=\"inline\"]) {\n @apply flex-initial;\n}\n\n:host([layout=\"center\"]) {\n @apply flex-auto;\n}\n\n:host([layout=\"center\"]) .scale-s,\n:host([layout=\"center\"]) .scale-m,\n:host([layout=\"center\"]) .scale-l {\n @apply my-0 text-center;\n flex-basis: theme(\"spacing.48\");\n .content {\n @apply m-auto;\n }\n}\n\n// center the text visually and not affected by the x button so as to avoid moving when on or off\n:host([layout=\"center\"][closable]) {\n .content {\n padding-inline-start: 32px; //28px button width + 0.25rem padding\n }\n}\n\n:host([layout=\"center\"][bordered][closable]) .scale-s {\n .content {\n padding-inline-start: 36px; //28px button width + 0.5rem padding\n }\n}\n\n:host([layout=\"center\"][bordered][closable]) .scale-m {\n .content {\n padding-inline-start: 40px; //28px button width + 0.75rem padding\n }\n}\n\n:host([layout=\"center\"][closable]) .scale-l {\n .content {\n padding-inline-start: 40px; //36px button width + .25 padding\n }\n}\n\n:host([layout=\"center\"][closable][bordered]) .scale-s {\n .content {\n padding-inline-start: 52px; //36px button width + 1rem padding\n }\n}\n\n:host([position=\"bottom\"]) .container {\n @apply border-t-color-transparent\n border-b-0\n border-t-2;\n border-block-start-style: solid;\n}\n\n:host([closed]) {\n @apply hidden;\n}\n\n.container {\n @apply focus-base;\n}\n\n:host(:focus) .container {\n @apply focus-inset;\n\n &:focus-within {\n @apply focus-base;\n }\n}\n\n:host(:active),\n:host(:focus),\n:host(:hover) {\n a {\n @apply text-color-1 border-color-2 no-underline;\n }\n}\n\n:host([selected]) .container {\n @apply text-color-1 border-color-transparent;\n}\n\n@include disabled() {\n .container {\n @apply pointer-events-none opacity-50;\n }\n}\n\n.scale-s {\n .content {\n @apply text-n2h py-1;\n }\n}\n\n.scale-m {\n .content {\n @apply text-n1h py-2;\n }\n}\n\n.scale-l {\n .content {\n @apply text-0h py-2.5;\n }\n}\n\n.container {\n @apply border-b-2\n border-b-color-transparent\n box-border\n content-center\n cursor-pointer\n flex\n h-full\n justify-between\n px-0\n text-color-3\n text-n1h\n transition-default\n w-full;\n\n border-block-end-style: solid;\n}\n\n.content {\n @apply flex items-center justify-center;\n}\n\n.calcite-tab-title--icon {\n @apply relative\n m-0\n inline-flex\n self-center;\n & svg {\n @apply transition-default;\n }\n}\n\n.content--has-text {\n @apply p-1;\n}\n\n.content--has-text .calcite-tab-title--icon.icon-start {\n margin-inline-end: theme(\"margin.2\");\n}\n\n.content--has-text .calcite-tab-title--icon.icon-end {\n margin-inline-start: theme(\"margin.2\");\n}\n\n.close-button {\n @apply appearance-none\n bg-foreground-1\n border-none\n content-center\n cursor-pointer\n flex\n focus-base\n items-center\n justify-center\n self-center\n text-color-3\n transition-default;\n\n block-size: calc(100% - 2px); // fit within top/bottom borders\n background-color: var(--calcite-button-transparent-1);\n margin-inline-start: auto;\n\n &:focus {\n @apply focus-inset;\n\n // ⚠️overriding outline-offset should be avoided as it won't honor --calcite-color-focus-offset-invert\n outline-offset: -1px;\n }\n\n &:focus,\n &:hover {\n @apply text-color-1;\n background-color: var(--calcite-color-foreground-2);\n }\n\n &:active {\n @apply text-color-1;\n background-color: var(--calcite-color-foreground-3);\n }\n\n & calcite-icon {\n color: inherit;\n }\n}\n\n// compensate for spacing when no hastext and two icons\n:host([icon-start][icon-end]) {\n .calcite-tab-title--icon:first-child {\n margin-inline-end: theme(\"margin.2\");\n }\n}\n\n// bordered styles\n:host([bordered]) {\n margin-inline-end: 0;\n}\n\n:host([bordered][selected]) {\n box-shadow: inset 0px -2px var(--calcite-color-foreground-1);\n}\n\n:host([bordered][selected][position=\"bottom\"]) {\n box-shadow: inset 0 2px 0 var(--calcite-color-foreground-1);\n}\n\n:host([bordered]:hover),\n:host([bordered]:focus),\n:host([bordered]:active) {\n .container {\n @apply relative;\n }\n}\n\n:host([bordered]:hover) {\n .container {\n background-color: var(--calcite-color-transparent-hover);\n }\n}\n\n:host([closable]) .container,\n:host([bordered]) .container {\n border-inline-start: 1px solid transparent;\n border-inline-end: 1px solid transparent;\n .close-button {\n margin-inline: 0;\n }\n}\n\n:host([closable]) .content {\n @apply h-full box-border border-b-color-transparent;\n}\n\n:host([closable][position=\"bottom\"]) .container,\n:host([bordered][position=\"bottom\"]) .container {\n border-block-start-style: unset;\n}\n\n:host([selected][bordered]) .container {\n border-inline-start-color: var(--calcite-color-border-1);\n border-inline-end-color: var(--calcite-color-border-1);\n}\n\n:host([bordered]) {\n .content {\n @apply px-3;\n }\n}\n\n:host([bordered]) .scale-s {\n .content {\n @apply px-2;\n }\n}\n\n:host([bordered]) .scale-l {\n .content {\n @apply px-4;\n }\n}\n\n@media (forced-colors: active) {\n :host {\n outline-width: 0;\n outline-offset: 0;\n }\n\n :host(:focus) .container {\n outline-color: highlight;\n }\n\n :host([bordered]) .container {\n border-block-end-style: solid;\n }\n\n :host([bordered][position=\"bottom\"]) .container {\n border-block-start-style: solid;\n }\n\n :host([bordered][selected]) .container {\n border-block-end-style: none;\n }\n\n :host([bordered][position=\"bottom\"][selected]) .container {\n border-block-start-style: none;\n }\n\n .close-button {\n /* in high contrast the tab title outline covers the close button outline without a z-index */\n @apply z-default;\n }\n}\n\n@include base-component();\n","import {\n Build,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { getElementDir, toAriaBoolean, nodeListToArray } from \"../../utils/dom\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { createObserver } from \"../../utils/observers\";\nimport { FlipContext, Scale } from \"../interfaces\";\nimport { TabChangeEventDetail, TabCloseEventDetail } from \"../tab/interfaces\";\nimport { CSS, ICONS } from \"./resources\";\nimport { TabID, TabLayout, TabPosition } from \"../tabs/interfaces\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { TabTitleMessages } from \"./assets/tab-title/t9n\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * Tab-titles are optionally individually closable.\n */\n\n/**\n * @slot - A slot for adding text.\n */\n@Component({\n tag: \"calcite-tab-title\",\n styleUrl: \"tab-title.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class TabTitle implements InteractiveComponent, LocalizedComponent, T9nComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, the component and its respective `calcite-tab` contents are selected.\n *\n * Only one tab can be selected within the `calcite-tabs` parent.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n @Watch(\"selected\")\n selectedHandler(): void {\n if (this.selected) {\n this.activateTab(false);\n }\n }\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /** When `true`, does not display or position the component. */\n @Prop({ reflect: true, mutable: true }) closed = false;\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /**\n * @internal\n */\n @Prop({ reflect: true, mutable: true }) layout: TabLayout;\n\n /**\n * Specifies the position of `calcite-tab-nav` and `calcite-tab-title` components in relation to, and is inherited from the parent `calcite-tabs`, defaults to `top`.\n *\n * @internal\n */\n @Prop() position: TabPosition = \"top\";\n\n /**\n * Specifies the size of the component inherited from the parent `calcite-tabs`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n /**\n * @internal\n */\n @Prop({ reflect: true, mutable: true }) bordered = false;\n\n /**\n * Specifies a unique name for the component.\n *\n * When specified, use the same value on the `calcite-tab`.\n */\n @Prop({ reflect: true }) tab: string;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: TabTitleMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<TabTitleMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n this.setupTextContentObserver();\n this.parentTabNavEl = this.el.closest(\"calcite-tab-nav\");\n this.parentTabsEl = this.el.closest(\"calcite-tabs\");\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n // Dispatching to body in order to be listened by other elements that are still connected to the DOM.\n document.body?.dispatchEvent(\n new CustomEvent(\"calciteTabTitleUnregister\", {\n detail: this.el,\n }),\n );\n this.resizeObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n if (Build.isBrowser) {\n this.updateHasText();\n }\n if (this.tab && this.selected) {\n this.activateTab(false);\n }\n }\n\n componentWillRender(): void {\n if (this.parentTabsEl) {\n this.layout = this.parentTabsEl.layout;\n this.bordered = this.parentTabsEl.bordered;\n }\n }\n\n render(): VNode {\n const { el, closed } = this;\n const id = el.id || this.guid;\n\n const iconStartEl = (\n <calcite-icon\n class={{ [CSS.titleIcon]: true, [CSS.iconStart]: true }}\n flipRtl={this.iconFlipRtl === \"start\" || this.iconFlipRtl === \"both\"}\n icon={this.iconStart}\n scale={getIconScale(this.scale)}\n />\n );\n\n const iconEndEl = (\n <calcite-icon\n class={{ [CSS.titleIcon]: true, [CSS.iconEnd]: true }}\n flipRtl={this.iconFlipRtl === \"end\" || this.iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n scale={getIconScale(this.scale)}\n />\n );\n\n return (\n <Host\n aria-controls={this.controls}\n aria-selected={toAriaBoolean(this.selected)}\n id={id}\n role=\"tab\"\n tabIndex={this.selected && !this.disabled ? 0 : -1}\n >\n <InteractiveContainer disabled={this.disabled}>\n <div\n class={{\n container: true,\n [CSS.iconPresent]: !!this.iconStart || !!this.iconEnd,\n [`scale-${this.scale}`]: true,\n }}\n hidden={closed}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => this.resizeObserver?.observe(el)}\n >\n <div class={{ [CSS.content]: true, [CSS.contentHasText]: this.hasText }}>\n {this.iconStart ? iconStartEl : null}\n <slot />\n {this.iconEnd ? iconEndEl : null}\n </div>\n {this.renderCloseButton()}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n renderCloseButton(): VNode {\n const { closable, messages } = this;\n\n return closable ? (\n <button\n aria-label={messages.close}\n class={CSS.closeButton}\n disabled={false}\n key={CSS.closeButton}\n onClick={this.closeClickHandler}\n title={messages.close}\n type=\"button\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButtonEl = el)}\n >\n <calcite-icon icon={ICONS.close} scale={getIconScale(this.scale)} />\n </button>\n ) : null;\n }\n\n async componentDidLoad(): Promise<void> {\n this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier());\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalTabChange\", { target: \"body\" })\n internalTabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void {\n const targetTabsEl = event\n .composedPath()\n .find((el: HTMLElement) => el.tagName === \"CALCITE-TABS\");\n\n if (targetTabsEl !== this.parentTabsEl) {\n return;\n }\n\n if (this.tab) {\n this.selected = this.tab === event.detail.tab;\n } else {\n this.getTabIndex().then((index) => {\n this.selected = index === event.detail.tab;\n });\n }\n\n event.stopPropagation();\n }\n\n @Listen(\"click\")\n onClick(): void {\n this.activateTab();\n }\n\n @Listen(\"keydown\")\n keyDownHandler(event: KeyboardEvent): void {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n if (!event.composedPath().includes(this.closeButtonEl)) {\n this.activateTab();\n event.preventDefault();\n }\n break;\n case \"ArrowRight\":\n event.preventDefault();\n if (getElementDir(this.el) === \"ltr\") {\n this.calciteInternalTabsFocusNext.emit();\n } else {\n this.calciteInternalTabsFocusPrevious.emit();\n }\n break;\n case \"ArrowLeft\":\n event.preventDefault();\n if (getElementDir(this.el) === \"ltr\") {\n this.calciteInternalTabsFocusPrevious.emit();\n } else {\n this.calciteInternalTabsFocusNext.emit();\n }\n break;\n case \"Home\":\n event.preventDefault();\n this.calciteInternalTabsFocusFirst.emit();\n break;\n case \"End\":\n event.preventDefault();\n this.calciteInternalTabsFocusLast.emit();\n break;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when a `calcite-tab` is selected.\n */\n @Event({ cancelable: false }) calciteTabsActivate: EventEmitter<void>;\n\n /**\n * Fires when a `calcite-tab` is selected (`event.details`).\n *\n * @see [TabChangeEventDetail](https://github.com/Esri/calcite-design-system/blob/main/src/components/tab/interfaces.ts#L1)\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalTabsActivate: EventEmitter<TabChangeEventDetail>;\n\n /**\n * Fires when a `calcite-tab` is closed.\n */\n @Event({ cancelable: false }) calciteTabsClose: EventEmitter<void>;\n\n /**\n * Fires when `calcite-tab` is closed (`event.details`).\n *\n * @see [TabChangeEventDetail](https://github.com/Esri/calcite-design-system/blob/main/src/components/tab/interfaces.ts)\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalTabsClose: EventEmitter<TabCloseEventDetail>;\n /**\n * @internal\n */\n\n @Event({ cancelable: false }) calciteInternalTabsFocusNext: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalTabsFocusPrevious: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalTabsFocusFirst: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalTabsFocusLast: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalTabTitleRegister: EventEmitter<TabID>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalTabIconChanged: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Returns the index of the title within the `calcite-tab-nav`.\n */\n @Method()\n async getTabIndex(): Promise<number> {\n return Array.prototype.indexOf.call(\n nodeListToArray(this.el.parentElement.children).filter((el) =>\n el.matches(\"calcite-tab-title\"),\n ),\n this.el,\n );\n }\n\n /**\n * @internal\n */\n @Method()\n async getTabIdentifier(): Promise<TabID> {\n return this.tab ? this.tab : this.getTabIndex();\n }\n\n /**\n * @param tabIds\n * @param titleIds\n * @internal\n */\n @Method()\n async updateAriaInfo(tabIds: string[] = [], titleIds: string[] = []): Promise<void> {\n this.controls = tabIds[titleIds.indexOf(this.el.id)] || null;\n }\n\n /**\n * This activates a tab in order for it and its associated tab-title be selected.\n *\n * @param userTriggered - when `true`, user-interaction events will be emitted in addition to internal events\n * @internal\n */\n @Method()\n async activateTab(userTriggered = true): Promise<void> {\n if (this.disabled || this.closed) {\n return;\n }\n const payload = { tab: this.tab };\n this.calciteInternalTabsActivate.emit(payload);\n\n if (userTriggered) {\n // emit in the next frame to let internal events sync up\n requestAnimationFrame(() => this.calciteTabsActivate.emit());\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private closeClickHandler = (): void => {\n this.closeTabTitleAndNotify();\n };\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTabTitleElement;\n\n /** watches for changing text content */\n mutationObserver: MutationObserver = createObserver(\"mutation\", () => this.updateHasText());\n\n @State() controls: string;\n\n @State() defaultMessages: TabTitleMessages;\n\n @State() effectiveLocale: \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n /** determine if there is slotted text for styling purposes */\n @State() hasText = false;\n\n closeButtonEl: HTMLButtonElement;\n\n containerEl: HTMLDivElement;\n\n parentTabNavEl: HTMLCalciteTabNavElement;\n\n parentTabsEl: HTMLCalciteTabsElement;\n\n resizeObserver = createObserver(\"resize\", () => {\n this.calciteInternalTabIconChanged.emit();\n });\n\n updateHasText(): void {\n this.hasText = this.el.textContent.trim().length > 0;\n }\n\n setupTextContentObserver(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n closeTabTitleAndNotify(): void {\n this.closed = true;\n this.calciteInternalTabsClose.emit({ tab: this.tab });\n this.calciteTabsClose.emit();\n }\n\n guid = `calcite-tab-title-${guid()}`;\n}\n","export const SLOTS = {\n titleGroup: \"title-group\",\n};\n",":host {\n @apply flex flex-col;\n}\n\n:host([bordered]) {\n box-shadow: inset 0 1px 0 var(--calcite-color-border-1);\n background-color: var(--calcite-color-foreground-1);\n}\n\n:host([bordered]:not([position=\"bottom\"])) ::slotted(calcite-tab-nav) {\n margin-block-end: -1px;\n}\n\n:host([bordered][position=\"bottom\"]) {\n box-shadow:\n inset 0 1px 0 var(--calcite-color-border-1),\n inset 0 -1px 0 var(--calcite-color-border-1);\n}\n\n:host([bordered]) section {\n @apply border-color-1 border border-solid;\n}\n\n:host([bordered][scale=\"s\"]) section {\n @apply p-3;\n}\n\n:host([bordered][scale=\"m\"]) section {\n @apply p-2;\n}\n\n:host([bordered][scale=\"l\"]) section {\n @apply p-4;\n}\n\n:host([position=\"bottom\"]) {\n @apply flex-col-reverse;\n}\n\nsection {\n @apply border-t-color-1\n flex\n flex-grow\n overflow-hidden\n border-t;\n border-block-start-style: solid;\n}\n\n:host([position=\"bottom\"]) section {\n @apply border-b-color-1\n flex-col-reverse\n border-t-0\n border-b;\n}\n\n:host([position=\"bottom\"]:not([bordered])) section {\n border-block-end-style: solid;\n}\n\n@media (forced-colors: active) {\n :host([bordered]) section {\n @apply border-t-0\n border-b;\n }\n :host([position=\"bottom\"][bordered]) section {\n @apply border-t\n border-b-0;\n }\n}\n\n@include base-component();\n","import { Component, Element, Fragment, h, Listen, Prop, State, VNode, Watch } from \"@stencil/core\";\nimport { Scale } from \"../interfaces\";\nimport { TabLayout, TabPosition } from \"./interfaces\";\nimport { SLOTS } from \"./resources\";\nimport { createObserver } from \"../../utils/observers\";\n\n/**\n * @slot - A slot for adding `calcite-tab`s.\n * @slot title-group - A slot for adding a `calcite-tab-nav`.\n */\n@Component({\n tag: \"calcite-tabs\",\n styleUrl: \"tabs.scss\",\n shadow: true,\n})\nexport class Tabs {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * Specifies the layout of the `calcite-tab-nav`, justifying the `calcite-tab-title`s to the start (`\"inline\"`), or across and centered (`\"center\"`).\n */\n @Prop({ reflect: true }) layout: TabLayout = \"inline\";\n\n /**\n * Specifies the position of `calcite-tab-nav` and `calcite-tab-title` components in relation to the `calcite-tabs`.\n */\n @Prop({ reflect: true }) position: TabPosition = \"top\";\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n @Watch(\"position\")\n @Watch(\"scale\")\n handleInheritableProps(): void {\n this.updateItems();\n }\n\n /**\n * When `true`, the component will display with a folder style menu.\n */\n @Prop() bordered = false;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.mutationObserver.observe(this.el, { childList: true });\n this.updateItems();\n }\n\n async componentWillLoad(): Promise<void> {\n this.updateItems();\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n }\n\n render(): VNode {\n return (\n <Fragment>\n <slot name={SLOTS.titleGroup} />\n <section>\n <slot />\n </section>\n </Fragment>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n /**\n * @param event\n * @internal\n */\n @Listen(\"calciteInternalTabTitleRegister\")\n calciteInternalTabTitleRegister(event: CustomEvent): void {\n this.titles = [...this.titles, event.target as HTMLCalciteTabTitleElement];\n this.registryHandler();\n event.stopPropagation();\n }\n\n /**\n * @param event\n * @internal\n */\n @Listen(\"calciteTabTitleUnregister\", { target: \"body\" })\n calciteTabTitleUnregister(event: CustomEvent): void {\n this.titles = this.titles.filter((el) => el !== event.detail);\n this.registryHandler();\n event.stopPropagation();\n }\n\n /**\n * @param event\n * @internal\n */\n @Listen(\"calciteInternalTabRegister\")\n calciteInternalTabRegister(event: CustomEvent): void {\n this.tabs = [...this.tabs, event.target as HTMLCalciteTabElement];\n this.registryHandler();\n event.stopPropagation();\n }\n\n /**\n * @param event\n * @internal\n */\n @Listen(\"calciteTabUnregister\", { target: \"body\" })\n calciteTabUnregister(event: CustomEvent): void {\n this.tabs = this.tabs.filter((el) => el !== event.detail);\n this.registryHandler();\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTabsElement;\n\n /**\n *\n * Stores an array of ids of `<calcite-tab-titles>`s to match up ARIA\n * attributes.\n */\n @State() titles: HTMLCalciteTabTitleElement[] = [];\n\n /**\n *\n * Stores an array of ids of `<calcite-tab>`s to match up ARIA attributes.\n */\n @State() tabs: HTMLCalciteTabElement[] = [];\n\n mutationObserver = createObserver(\"mutation\", (mutationsList: MutationRecord[]) => {\n for (const mutation of mutationsList) {\n const target = mutation.target as HTMLElement;\n if (\n target.nodeName === \"CALCITE-TAB-NAV\" ||\n target.nodeName === \"CALCITE-TAB-TITLE\" ||\n target.nodeName === \"CALCITE-TAB\"\n ) {\n this.updateItems();\n }\n }\n });\n\n private updateItems(): void {\n const { position, scale } = this;\n\n const nav = this.el.querySelector(\"calcite-tab-nav\");\n if (nav) {\n nav.position = position;\n nav.scale = scale;\n }\n\n Array.from(this.el.querySelectorAll(\"calcite-tab\")).forEach((tab: HTMLCalciteTabElement) => {\n if (tab.parentElement === this.el) {\n tab.scale = scale;\n }\n });\n\n Array.from(this.el.querySelectorAll(\"calcite-tab-nav > calcite-tab-title\")).forEach(\n (title: HTMLCalciteTabTitleElement) => {\n title.position = position;\n title.scale = scale;\n },\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n *\n * Matches up elements from the internal `tabs` and `titles` to automatically\n * update the ARIA attributes and link `<calcite-tab>` and\n * `<calcite-tab-title>` components.\n */\n async registryHandler(): Promise<void> {\n let tabIds;\n let titleIds;\n\n // determine if we are using `tab` based or `index` based tab identifiers.\n if (this.tabs.some((el) => el.tab) || this.titles.some((el) => el.tab)) {\n // if we are using `tab` based identifiers sort by `tab` to account for\n // possible out of order tabs and get the id of each tab\n tabIds = this.tabs.sort((a, b) => a.tab.localeCompare(b.tab)).map((el) => el.id);\n titleIds = this.titles.sort((a, b) => a.tab.localeCompare(b.tab)).map((el) => el.id);\n } else {\n // if we are using index based tabs then the `<calcite-tab>` and\n // `<calcite-tab-title>` might have been rendered out of order so the\n // order of `this.tabs` and `this.titles` might not reflect the DOM state,\n // and might not match each other so we need to get the index of all the\n // tabs and titles in the DOM order to match them up as a source of truth\n const tabDomIndexes = await Promise.all(this.tabs.map((el) => el.getTabIndex()));\n\n const titleDomIndexes = await Promise.all(this.titles.map((el) => el.getTabIndex()));\n\n // once we have the DOM order as a source of truth we can build the\n // matching tabIds and titleIds arrays\n tabIds = tabDomIndexes.reduce((ids, indexInDOM, registryIndex) => {\n ids[indexInDOM] = this.tabs[registryIndex].id;\n return ids;\n }, []);\n\n titleIds = titleDomIndexes.reduce((ids, indexInDOM, registryIndex) => {\n ids[indexInDOM] = this.titles[registryIndex].id;\n return ids;\n }, []);\n }\n\n // pass all our new aria information to each `<calcite-tab>` and\n // `<calcite-tab-title>` which will check if they can update their internal\n // `controlled` or `labeledBy` states and re-render if necessary\n this.tabs.forEach((el) => el.updateAriaInfo(tabIds, titleIds));\n this.titles.forEach((el) => el.updateAriaInfo(tabIds, titleIds));\n }\n}\n"],"mappings":";;;;;wdAAO,MAAMA,EAAM,CACjBC,UAAW,YACXC,QAAS,WCFX,MAAMC,EAAS,63B,MC2BFC,EAAG,M,gGAwIdC,KAAAC,KAAO,qBAAqBA,M,iCArHuB,M,WAO5B,I,yBAQvB,MAAAC,GACE,MAAMC,EAAKH,KAAKI,GAAGD,IAAMH,KAAKC,KAE9B,OACEI,EAACC,EAAI,mBAAkBN,KAAKO,UAAWJ,GAAIA,GACzCE,EAAA,OACEG,MAAO,CAAE,CAACb,EAAIC,WAAY,KAAM,CAAC,SAASI,KAAKS,SAAU,MACzDC,KAAK,WACLC,SAAUX,KAAKY,SAAW,GAAK,GAE/BP,EAAA,WAASG,MAAOb,EAAIE,SAClBQ,EAAA,e,CAOV,iBAAAQ,GACEb,KAAKc,aAAed,KAAKI,GAAGW,QAAQ,e,CAGtC,gBAAAC,GACEhB,KAAKiB,2BAA2BC,M,CAGlC,oBAAAC,GAEEC,SAASC,MAAMC,cACb,IAAIC,YAAY,uBAAwB,CACtCC,OAAQxB,KAAKI,K,CAuBnB,wBAAAqB,CAAyBC,GACvB,MAAMC,EAAeD,EAClBE,eACAC,MAAMzB,GAAoBA,EAAG0B,UAAY,iBAK5C,GAAIH,IAAiB3B,KAAKc,aAAc,CACtC,M,CAGF,GAAId,KAAK+B,IAAK,CACZ/B,KAAKY,SAAWZ,KAAK+B,MAAQL,EAAMF,OAAOO,G,KACrC,CACL/B,KAAKgC,cAAcC,MAAMC,IACvBlC,KAAKY,SAAWsB,IAAUR,EAAMF,OAAOO,GAAG,G,CAG9CL,EAAMS,iB,CAaR,iBAAMH,GACJ,OAAOI,MAAMC,UAAUC,QAAQC,KAC7BC,EAAgBxC,KAAKI,GAAGqC,cAAcC,UAAUC,QAAQvC,GAAOA,EAAGwC,QAAQ,iBAC1E5C,KAAKI,G,CA8BT,oBAAMyC,CAAeC,EAAmB,GAAIC,EAAqB,IAC/D/C,KAAKO,UAAYwC,EAASD,EAAOR,QAAQtC,KAAKI,GAAGD,MAAQ,I,qCCpLtD,MAAMR,EAAM,CACjBC,UAAW,WCDb,MAAMoD,EAAY,woD,MCiCLC,EAAM,M,+IAwRjBjD,KAAAkD,wBAA0B,GAE1BlD,KAAAmD,eAAiBC,EAAe,UAAU,KACxC,IAAKpD,KAAKqD,kBAAmB,CAC3B,M,CAIFrD,KAAKqD,kBAAkBC,MAAMC,mBAAqB,KAClDvD,KAAKwD,oBACLxD,KAAKyD,sBAAsB,IAS7BzD,KAAA0D,eAAiB,CACfhC,EACAtB,EACAuD,KAEAC,EAAoB5D,KAAK6D,iBAAkBzD,EAAIuD,GAE/CjC,EAAMS,iBAAiB,EAGzBnC,KAAA8D,sBAAwB,KAEtB9D,KAAKqD,kBAAkBC,MAAMC,mBAAqB,KAClDvD,KAAKyD,sBAAsB,E,kEAlSwC,K,WAO9C,I,YAKqC,S,cAO5B,S,cAKmB,M,0FAanD,0BAAMM,GACJ,GACEC,cACAhE,KAAKiE,WACLjE,KAAKkE,gBAAkBC,WACvBnE,KAAKkE,gBAAkB,KACvB,CACAF,aAAaI,QAAQ,mBAAmBpE,KAAKiE,YAAaI,KAAKC,UAAUtE,KAAKkE,e,CAGhFlE,KAAKuE,yBAAyBrD,KAAK,CACjCa,IAAK/B,KAAKkE,gBAGZlE,KAAKwE,oBAAsBxE,KAAKyE,gBAAgBzE,KAAKkE,c,CAIvD,oBAAAQ,GACE1E,KAAKyD,uBACLzD,KAAKwD,oBAELxD,KAAKqD,kBAAkBC,MAAMC,mBAAqB,GAAGvD,KAAKkD,0B,CAS5D,iBAAArC,GACEb,KAAKc,aAAed,KAAKI,GAAGW,QAAQ,gBACpCf,KAAKmD,gBAAgBwB,QAAQ3E,KAAKI,G,CAGpC,iBAAAwE,GACE,MAAMC,EAAa,mBAAmB7E,KAAKiE,YAC3C,GAAID,cAAgBhE,KAAKiE,WAAaD,aAAac,QAAQD,GAAa,CACtE,MAAME,EAAYV,KAAKW,MAAMhB,aAAac,QAAQD,IAClD7E,KAAKkE,cAAgBa,C,EAIzB,mBAAAE,GACE,MAAMnE,aAAEA,GAAiBd,KAEzBA,KAAKkF,OAASpE,GAAcoE,OAC5BlF,KAAKmF,SAAWrE,GAAcqE,SAE9B,GAAInF,KAAKwE,cAAe,CACtBxE,KAAKyD,sB,EAIT,kBAAA2B,GAEE,GACEpF,KAAKqF,UAAUC,QACftF,KAAKqF,UAAUE,OAAOC,IAAWA,EAAM5E,aACtCZ,KAAKkE,cACN,CACAlE,KAAKqF,UAAU,GAAGI,mBAAmBxD,MAAMF,IACzC/B,KAAKuE,yBAAyBrD,KAAK,CACjCa,OACA,G,EAKR,oBAAAZ,GACEnB,KAAKmD,gBAAgBuC,Y,CAGvB,MAAAxF,GACE,MAAMyF,EAAMC,EAAc5F,KAAKI,IAC/B,MAAMyF,EAAQ,GAAG7F,KAAK8F,mBACtB,MAAMC,EAAS,GAAG/F,KAAKgG,oBACvB,MAAMC,EAAiBN,IAAQ,MAAQ,CAAEE,QAAOK,KAAMH,GAAW,CAAEF,QAAOM,MAAOJ,GACjF,OACE1F,EAACC,EAAI,CAACI,KAAK,WACTL,EAAA,OACEG,MAAO,CACL,CAACb,EAAIC,WAAY,KACjB,CAAC,SAASI,KAAKS,SAAU,KACzB,CAAC,YAAYT,KAAKoG,YAAa,MAEjCC,SAAUrG,KAAK8D,sBAEfwC,IAAMlG,GAAwBJ,KAAKuG,SAAWnG,GAE9CC,EAAA,aACAA,EAAA,OACEG,MAAM,qCAEN8F,IAAMlG,GAAQJ,KAAKwG,2BAA6BpG,GAEhDC,EAAA,OACEG,MAAM,2BACN8C,MAAO2C,EAEPK,IAAMlG,GAAQJ,KAAKqD,kBAAoBjD,M,CAenD,uBAAAqG,CAAwB/E,GACtB1B,KAAK0D,eAAehC,EAAOA,EAAMgF,OAAsC,W,CAIzE,mBAAAC,CAAoBjF,GAClB1B,KAAK0D,eAAehC,EAAOA,EAAMgF,OAAsC,O,CAIzE,oBAAAE,CAAqBlF,GACnB1B,KAAK0D,eAAehC,EAAOA,EAAMgF,OAAsC,Q,CAIzE,mBAAAG,CAAoBnF,GAClB1B,KAAK0D,eAAehC,EAAOA,EAAMgF,OAAsC,O,CAIzE,0BAAAI,CAA2BpF,GACzB1B,KAAKkE,cAAgBxC,EAAMF,OAAOO,IAC9BL,EAAMF,OAAOO,IACb/B,KAAK+G,mBAAmBrF,EAAMgF,QAClChF,EAAMS,iB,CAIR,kBAAA6E,CAAmBtF,GACjB1B,KAAKiH,iBAAiB/F,OACtBQ,EAAMS,iB,CAIR,uBAAA+E,CAAwBxF,GACtB,MAAMyF,EAAmBzF,EAAMgF,OAC/B1G,KAAKoH,oBAAoBD,GACzBzF,EAAMS,iB,CASR,eAAAkF,CAAgB3F,GACd,GAAKA,EAAMgF,OAAsC9F,SAAU,CACzDZ,KAAKkE,cAAgBxC,EAAMF,M,EAK/B,8BAAA8F,CAA+B5F,GAC7B,GACE1B,KAAKuH,QACL7F,EAAMgF,SAAW1G,KAAKI,IACrBsB,EAAMgF,OAAoCa,SAAWvH,KAAKuH,QAC3DvH,KAAKkE,gBAAkBxC,EAAMF,OAAOO,IACpC,CACA/B,KAAKkE,cAAgBxC,EAAMF,OAAOO,G,CAEpCL,EAAMS,iB,CAIR,sBAAAqF,GACExH,KAAKwD,oBACLxD,KAAKyD,sB,CAwEP,oBAAAA,GACE,MAAMkC,EAAMC,EAAc5F,KAAKI,IAC/B,MAAMqH,EAAWzH,KAAKwG,4BAA4BkB,YAClD,MAAMC,EAAU3H,KAAKwE,eAAeoD,WACpC,MAAMC,EAAW7H,KAAKwE,eAAekD,YACrC,MAAMI,EAAcL,GAAYE,EAAUE,GAC1C7H,KAAKgG,gBACHL,IAAQ,MAAQgC,EAAU3H,KAAKuG,UAAUwB,WAAaD,EAAc9H,KAAKuG,UAAUwB,U,CAGvF,iBAAAvE,GACExD,KAAK8F,eAAiB9F,KAAKwE,eAAekD,W,CAG5C,kBAAAX,CAAmB3G,EAAgCiF,EAAYrF,KAAKqF,WAGlE,OAAOA,EAAU/C,QAAQlC,E,CAG3B,qBAAMqE,CAAgBtE,GACpB,OAAO6H,QAAQC,IAAIjI,KAAKqF,UAAU6C,KAAK9H,GAAOA,EAAGqF,sBAAqBxD,MAAMkG,GACnEnI,KAAKqF,UAAU8C,EAAI7F,QAAQnC,K,CAItC,aAAIkF,GACF,OAAO+C,EAAiDpI,KAAKI,GAAI,oB,CAGnE,oBAAIyD,GACF,OAAOuE,EACLpI,KAAKI,GACL,qCACAuC,QAAQ0F,IAAcA,EAASC,Q,CAG3B,mBAAAlB,CAAoBD,GAC1B,MAAM9B,UAAEA,GAAcrF,KACtB,MAAMuI,EAAoBpB,EAAiBvG,SAE3C,MAAM4H,EAA0BnD,EAAUoD,QACxC,CAACC,EAA2BL,EAAUnG,KACnCmG,EAASC,OAAS,IAAII,EAAiBxG,GAASwG,GACnD,IAEF,MAAMC,EAAwBH,EAAwBlD,OAEtD,GAAIqD,IAA0B,GAAKtD,EAAUmD,EAAwB,IAAII,SAAU,CACjFvD,EAAUmD,EAAwB,IAAII,SAAW,MACjD5I,KAAKkE,cAAgBsE,EAAwB,GAE7C,GAAID,EAAmB,CACrBlD,EAAUmD,EAAwB,IAAIK,a,OAEnC,GAAIF,EAAwB,EAAG,CACpC,MAAMG,EAAsBzD,EAAU0D,WAAW3I,GAAOA,IAAO+G,IAC/D,MAAM6B,EAAoBR,EAAwB3G,MAC/CoH,GAAUA,EAAQH,IAGrB,GAAI9I,KAAKkE,gBAAkB4E,EAAqB,CAC9C9I,KAAKkE,cAAgB8E,EAAoBA,EAAoBL,EAAwB,EACrFtD,EAAUrF,KAAKkE,eAAe2E,a,EAIlCK,uBAAsB,KACpBlJ,KAAKyD,uBACLzD,KAAKwD,oBACL6B,EAAUrF,KAAKkE,eAAeiF,OAAO,G,iJClapC,MAAMxJ,EAAM,CACjByJ,YAAa,eACbxJ,UAAW,YACXC,QAAS,UACTwJ,eAAgB,oBAChBC,QAAS,WACTC,YAAa,eACbC,UAAW,aACXC,UAAW,2BAGN,MAAMC,EAAQ,CACnBC,MAAO,KCZT,MAAMC,EAAc,yiM,MCqDPC,EAAQ,M,quBA0ZX7J,KAAA8J,kBAAoB,KAC1B9J,KAAK+J,wBAAwB,EAY/B/J,KAAAgK,iBAAqC5G,EAAe,YAAY,IAAMpD,KAAKiK,kBAwB3EjK,KAAAmD,eAAiBC,EAAe,UAAU,KACxCpD,KAAKkK,8BAA8BhJ,MAAM,IAiB3ClB,KAAAC,KAAO,qBAAqBA,M,cArcuB,M,cAUf,M,YAGa,M,cAGb,M,+GAqBJ,M,WAOT,I,cAK4B,M,8KAwXhC,K,CAtanB,eAAAkK,GACE,GAAInK,KAAKY,SAAU,CACjBZ,KAAK6I,YAAY,M,EAoErB,gBAAAuB,G,CAUA,iBAAAvJ,GACEwJ,EAAmBrK,MACnBsK,EAAiBtK,MACjBuK,EAAgBvK,MAChBA,KAAKwK,2BACLxK,KAAKyK,eAAiBzK,KAAKI,GAAGW,QAAQ,mBACtCf,KAAKc,aAAed,KAAKI,GAAGW,QAAQ,e,CAGtC,oBAAAI,GACEnB,KAAKgK,kBAAkBtE,aAEvBtE,SAASC,MAAMC,cACb,IAAIC,YAAY,4BAA6B,CAC3CC,OAAQxB,KAAKI,MAGjBJ,KAAKmD,gBAAgBuC,aACrBgF,EAAsB1K,MACtB2K,EAAoB3K,MACpB4K,EAAmB5K,K,CAGrB,uBAAM4E,SACEiG,EAAc7K,MACC,CACnBA,KAAKiK,e,CAEP,GAAIjK,KAAK+B,KAAO/B,KAAKY,SAAU,CAC7BZ,KAAK6I,YAAY,M,EAIrB,mBAAA5D,GACE,GAAIjF,KAAKc,aAAc,CACrBd,KAAKkF,OAASlF,KAAKc,aAAaoE,OAChClF,KAAKmF,SAAWnF,KAAKc,aAAaqE,Q,EAItC,MAAAjF,GACE,MAAME,GAAEA,EAAEkI,OAAEA,GAAWtI,KACvB,MAAMG,EAAKC,EAAGD,IAAMH,KAAKC,KAEzB,MAAM6K,EACJzK,EAAA,gBACEG,MAAO,CAAE,CAACb,EAAI8J,WAAY,KAAM,CAAC9J,EAAI6J,WAAY,MACjDuB,QAAS/K,KAAKgL,cAAgB,SAAWhL,KAAKgL,cAAgB,OAC9DC,KAAMjL,KAAKwJ,UACX/I,MAAOyK,EAAalL,KAAKS,SAI7B,MAAM0K,EACJ9K,EAAA,gBACEG,MAAO,CAAE,CAACb,EAAI8J,WAAY,KAAM,CAAC9J,EAAI2J,SAAU,MAC/CyB,QAAS/K,KAAKgL,cAAgB,OAAShL,KAAKgL,cAAgB,OAC5DC,KAAMjL,KAAKsJ,QACX7I,MAAOyK,EAAalL,KAAKS,SAI7B,OACEJ,EAACC,EAAI,iBACYN,KAAKoL,SAAQ,gBACbC,EAAcrL,KAAKY,UAClCT,GAAIA,EACJO,KAAK,MACLC,SAAUX,KAAKY,WAAaZ,KAAKsL,SAAW,GAAK,GAEjDjL,EAACkL,EAAoB,CAACD,SAAUtL,KAAKsL,UACnCjL,EAAA,OACEG,MAAO,CACLZ,UAAW,KACX,CAACD,EAAI4J,eAAgBvJ,KAAKwJ,aAAexJ,KAAKsJ,QAC9C,CAAC,SAAStJ,KAAKS,SAAU,MAE3B+K,OAAQlD,EAERhC,IAAMlG,GAAOJ,KAAKmD,gBAAgBwB,QAAQvE,IAE1CC,EAAA,OAAKG,MAAO,CAAE,CAACb,EAAIE,SAAU,KAAM,CAACF,EAAI0J,gBAAiBrJ,KAAKyL,UAC3DzL,KAAKwJ,UAAYsB,EAAc,KAChCzK,EAAA,aACCL,KAAKsJ,QAAU6B,EAAY,MAE7BnL,KAAK0L,sB,CAOhB,iBAAAA,GACE,MAAM9C,SAAEA,EAAQ+C,SAAEA,GAAa3L,KAE/B,OAAO4I,EACLvI,EAAA,uBACcsL,EAAShC,MACrBnJ,MAAOb,EAAIyJ,YACXkC,SAAU,MACVM,IAAKjM,EAAIyJ,YACTyC,QAAS7L,KAAK8J,kBACdtE,MAAOmG,EAAShC,MAChBmC,KAAK,SAELxF,IAAMlG,GAAQJ,KAAK+L,cAAgB3L,GAEnCC,EAAA,gBAAc4K,KAAMvB,EAAMC,MAAOlJ,MAAOyK,EAAalL,KAAKS,UAE1D,I,CAGN,sBAAMO,GACJhB,KAAKgM,gCAAgC9K,WAAWlB,KAAKyF,mB,CAGvD,kBAAAL,GACE6G,EAAsBjM,K,CAUxB,wBAAAyB,CAAyBC,GACvB,MAAMC,EAAeD,EAClBE,eACAC,MAAMzB,GAAoBA,EAAG0B,UAAY,iBAE5C,GAAIH,IAAiB3B,KAAKc,aAAc,CACtC,M,CAGF,GAAId,KAAK+B,IAAK,CACZ/B,KAAKY,SAAWZ,KAAK+B,MAAQL,EAAMF,OAAOO,G,KACrC,CACL/B,KAAKgC,cAAcC,MAAMC,IACvBlC,KAAKY,SAAWsB,IAAUR,EAAMF,OAAOO,GAAG,G,CAI9CL,EAAMS,iB,CAIR,OAAA0J,GACE7L,KAAK6I,a,CAIP,cAAAqD,CAAexK,GACb,OAAQA,EAAMkK,KACZ,IAAK,IACL,IAAK,QACH,IAAKlK,EAAME,eAAeuK,SAASnM,KAAK+L,eAAgB,CACtD/L,KAAK6I,cACLnH,EAAM0K,gB,CAER,MACF,IAAK,aACH1K,EAAM0K,iBACN,GAAIxG,EAAc5F,KAAKI,MAAQ,MAAO,CACpCJ,KAAKqM,6BAA6BnL,M,KAC7B,CACLlB,KAAKsM,iCAAiCpL,M,CAExC,MACF,IAAK,YACHQ,EAAM0K,iBACN,GAAIxG,EAAc5F,KAAKI,MAAQ,MAAO,CACpCJ,KAAKsM,iCAAiCpL,M,KACjC,CACLlB,KAAKqM,6BAA6BnL,M,CAEpC,MACF,IAAK,OACHQ,EAAM0K,iBACNpM,KAAKuM,8BAA8BrL,OACnC,MACF,IAAK,MACHQ,EAAM0K,iBACNpM,KAAKwM,6BAA6BtL,OAClC,M,CA4EN,iBAAMc,GACJ,OAAOI,MAAMC,UAAUC,QAAQC,KAC7BC,EAAgBxC,KAAKI,GAAGqC,cAAcC,UAAUC,QAAQvC,GACtDA,EAAGwC,QAAQ,uBAEb5C,KAAKI,G,CAQT,sBAAMqF,GACJ,OAAOzF,KAAK+B,IAAM/B,KAAK+B,IAAM/B,KAAKgC,a,CASpC,oBAAMa,CAAeC,EAAmB,GAAIC,EAAqB,IAC/D/C,KAAKoL,SAAWtI,EAAOC,EAAST,QAAQtC,KAAKI,GAAGD,MAAQ,I,CAU1D,iBAAM0I,CAAY4D,EAAgB,MAChC,GAAIzM,KAAKsL,UAAYtL,KAAKsI,OAAQ,CAChC,M,CAEF,MAAMoE,EAAU,CAAE3K,IAAK/B,KAAK+B,KAC5B/B,KAAK2M,4BAA4BzL,KAAKwL,GAEtC,GAAID,EAAe,CAEjBvD,uBAAsB,IAAMlJ,KAAK4M,oBAAoB1L,Q,EAgCzD,qBAAA2L,GACEC,EAAe9M,KAAMA,KAAK+M,gB,CAkB5B,aAAA9C,GACEjK,KAAKyL,QAAUzL,KAAKI,GAAG4M,YAAYC,OAAO3H,OAAS,C,CAGrD,wBAAAkF,GACExK,KAAKgK,kBAAkBrF,QAAQ3E,KAAKI,GAAI,CAAE8M,UAAW,KAAMC,QAAS,M,CAGtE,sBAAApD,GACE/J,KAAKsI,OAAS,KACdtI,KAAKoN,yBAAyBlM,KAAK,CAAEa,IAAK/B,KAAK+B,MAC/C/B,KAAKqN,iBAAiBnM,M,yNCngBnB,MAAMoM,EAAQ,CACnBC,WAAY,eCDd,MAAMC,EAAU,q2C,MCeHC,EAAI,M,yBA4IfzN,KAAAgK,iBAAmB5G,EAAe,YAAasK,IAC7C,IAAK,MAAMC,KAAYD,EAAe,CACpC,MAAMhH,EAASiH,EAASjH,OACxB,GACEA,EAAOkH,WAAa,mBACpBlH,EAAOkH,WAAa,qBACpBlH,EAAOkH,WAAa,cACpB,CACA5N,KAAK6N,a,kBA1IkC,S,cAKI,M,WAKT,I,cAWrB,M,YAqG6B,G,UAMP,E,CAlHzC,sBAAAC,GACE9N,KAAK6N,a,CAcP,iBAAAhN,GACEb,KAAKgK,iBAAiBrF,QAAQ3E,KAAKI,GAAI,CAAE8M,UAAW,OACpDlN,KAAK6N,a,CAGP,uBAAMjJ,GACJ5E,KAAK6N,a,CAGP,oBAAA1M,GACEnB,KAAKgK,kBAAkBtE,Y,CAGzB,MAAAxF,GACE,OACEG,EAAC0N,EAAQ,KACP1N,EAAA,QAAM2N,KAAMV,EAAMC,aAClBlN,EAAA,eACEA,EAAA,c,CAiBR,+BAAA2L,CAAgCtK,GAC9B1B,KAAKiO,OAAS,IAAIjO,KAAKiO,OAAQvM,EAAMgF,QACrC1G,KAAKkO,kBACLxM,EAAMS,iB,CAQR,yBAAAgM,CAA0BzM,GACxB1B,KAAKiO,OAASjO,KAAKiO,OAAOtL,QAAQvC,GAAOA,IAAOsB,EAAMF,SACtDxB,KAAKkO,kBACLxM,EAAMS,iB,CAQR,0BAAAlB,CAA2BS,GACzB1B,KAAKoO,KAAO,IAAIpO,KAAKoO,KAAM1M,EAAMgF,QACjC1G,KAAKkO,kBACLxM,EAAMS,iB,CAQR,oBAAAkM,CAAqB3M,GACnB1B,KAAKoO,KAAOpO,KAAKoO,KAAKzL,QAAQvC,GAAOA,IAAOsB,EAAMF,SAClDxB,KAAKkO,kBACLxM,EAAMS,iB,CA2CA,WAAA0L,GACN,MAAMzH,SAAEA,EAAQ3F,MAAEA,GAAUT,KAE5B,MAAMsO,EAAMtO,KAAKI,GAAGmO,cAAc,mBAClC,GAAID,EAAK,CACPA,EAAIlI,SAAWA,EACfkI,EAAI7N,MAAQA,C,CAGd2B,MAAMoM,KAAKxO,KAAKI,GAAGqO,iBAAiB,gBAAgBC,SAAS3M,IAC3D,GAAIA,EAAIU,gBAAkBzC,KAAKI,GAAI,CACjC2B,EAAItB,MAAQA,C,KAIhB2B,MAAMoM,KAAKxO,KAAKI,GAAGqO,iBAAiB,wCAAwCC,SACzElJ,IACCA,EAAMY,SAAWA,EACjBZ,EAAM/E,MAAQA,CAAK,G,CAiBzB,qBAAMyN,GACJ,IAAIpL,EACJ,IAAIC,EAGJ,GAAI/C,KAAKoO,KAAKO,MAAMvO,GAAOA,EAAG2B,OAAQ/B,KAAKiO,OAAOU,MAAMvO,GAAOA,EAAG2B,MAAM,CAGtEe,EAAS9C,KAAKoO,KAAKQ,MAAK,CAACC,EAAGC,IAAMD,EAAE9M,IAAIgN,cAAcD,EAAE/M,OAAMmG,KAAK9H,GAAOA,EAAGD,KAC7E4C,EAAW/C,KAAKiO,OAAOW,MAAK,CAACC,EAAGC,IAAMD,EAAE9M,IAAIgN,cAAcD,EAAE/M,OAAMmG,KAAK9H,GAAOA,EAAGD,I,KAC5E,CAML,MAAM6O,QAAsBhH,QAAQC,IAAIjI,KAAKoO,KAAKlG,KAAK9H,GAAOA,EAAG4B,iBAEjE,MAAMiN,QAAwBjH,QAAQC,IAAIjI,KAAKiO,OAAO/F,KAAK9H,GAAOA,EAAG4B,iBAIrEc,EAASkM,EAAcvG,QAAO,CAACN,EAAK+G,EAAYC,KAC9ChH,EAAI+G,GAAclP,KAAKoO,KAAKe,GAAehP,GAC3C,OAAOgI,CAAG,GACT,IAEHpF,EAAWkM,EAAgBxG,QAAO,CAACN,EAAK+G,EAAYC,KAClDhH,EAAI+G,GAAclP,KAAKiO,OAAOkB,GAAehP,GAC7C,OAAOgI,CAAG,GACT,G,CAMLnI,KAAKoO,KAAKM,SAAStO,GAAOA,EAAGyC,eAAeC,EAAQC,KACpD/C,KAAKiO,OAAOS,SAAStO,GAAOA,EAAGyC,eAAeC,EAAQC,I"}
|
|
@@ -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.3.0
|
|
5
|
+
*/
|
|
6
|
+
import{d as e}from"./p-6bf6e9e1.js";import"./p-764c5f12.js";import"./p-50866efe.js";import"./p-fe12a9c1.js";import"./p-5a197779.js";import"./p-a90bec6e.js";import"./p-52a2b747.js";import"./p-6f5cc640.js";import"./p-577f5b59.js";import"./p-39ca931c.js";import"./p-31438ebe.js";import"./p-37e8fe13.js";import"./p-fa54a79f.js";import"./p-d40673cb.js";import"./p-79596b0f.js";import"./p-1c7950f8.js";import"./p-c71317ea.js";import"./p-7c5c1332.js";import"./p-be1176aa.js";var a={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function e(a){return a},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(a,null,true);export default a;
|
|
7
|
+
//# sourceMappingURL=p-a8c6729e.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.3.0
|
|
5
|
+
*/
|
|
6
|
+
const a="calcite-mode-auto";const t="calcite-mode-dark";const e="calcite-mode-light";const c={autoMode:a,darkMode:t,lightMode:e,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"};export{c as C,a,t as d};
|
|
7
|
+
//# sourceMappingURL=p-a90bec6e.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.3.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,h as i,H as n,g as e}from"./p-764c5f12.js";import{g as s,d as o}from"./p-fe12a9c1.js";import{c as a,u as c,d as l,I as r}from"./p-52a2b747.js";import{s as d,a as h,c as p}from"./p-37e8fe13.js";import{C as u}from"./p-a90bec6e.js";import"./p-5a197779.js";import"./p-6f5cc640.js";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:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span: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 )}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-block-start:-0.25em}:host .calcite-link--icon.icon-start{margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-color-text-link);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-color-brand-underline), var(--calcite-color-brand-underline));background-position-x:0%, 100%;background-position-y:min(1.5em, 100%);background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}: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 m=class{constructor(i){t(this,i);this.childElClickHandler=t=>{if(!t.isTrusted){t.stopPropagation()}};this.storeTagRef=t=>{this.childEl=t};this.disabled=false;this.download=false;this.href=undefined;this.iconEnd=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.rel=undefined;this.target=undefined}connectedCallback(){a(this)}componentWillLoad(){d(this)}componentDidLoad(){h(this)}componentDidRender(){c(this)}disconnectedCallback(){l(this)}render(){const{download:t,el:e}=this;const o=s(e);const a=this.href?"a":"span";const c=i("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});const l=i("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});const d=a;const h=a==="span"?"link":null;const p=a==="span"?0:null;return i(n,{role:"presentation"},i(r,{disabled:this.disabled},i(d,{class:{[u.rtl]:o==="rtl"},download:d==="a"&&(t===""||t)?t:null,href:d==="a"&&this.href,onClick:this.childElClickHandler,rel:d==="a"&&this.rel,role:h,tabIndex:p,target:d==="a"&&this.target,ref:this.storeTagRef},this.iconStart?c:null,i("slot",null),this.iconEnd?l:null)))}clickHandler(t){if(this.disabled){return}if(!t.isTrusted){this.childEl.click()}}async setFocus(){await p(this);o(this.childEl)}get el(){return e(this)}};m.style=f;export{m as calcite_link};
|
|
7
|
+
//# sourceMappingURL=p-ab047b62.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.3.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,h as e,F as n,g as o,c as i,f as a}from"./p-764c5f12.js";import{c as l,d as s}from"./p-92840ce6.js";import{b as r,s as c,e as h,g as d,i as p}from"./p-fe12a9c1.js";import{c as x,d as u}from"./p-fa54a79f.js";import{c as f}from"./p-1c7950f8.js";import{c as b,s as w,d as m,u as v}from"./p-c71317ea.js";import{C as g}from"./p-a90bec6e.js";import"./p-d40673cb.js";import"./p-5a197779.js";import"./p-577f5b59.js";const y={main:"main",content:"content",contentBehind:"content--behind",contentNonInteractive:"content--non-interactive",footer:"footer",positionedSlotWrapper:"positioned-slot-wrapper",container:"container",contentBehindCenterContent:"center-content"};const z={centerRow:"center-row",panelStart:"panel-start",panelEnd:"panel-end",panelTop:"panel-top",panelBottom:"panel-bottom",header:"header",footer:"footer",alerts:"alerts",sheets:"sheets",modals:"modals"};const k=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content,.content--non-interactive{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}.content{overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-color-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";const C=class{constructor(e){t(this,e);this.handleHeaderSlotChange=t=>{this.hasHeader=!!r(t)};this.handleFooterSlotChange=t=>{this.hasFooter=!!r(t)};this.handleAlertsSlotChange=t=>{this.hasAlerts=!!r(t);c(t)?.map((t=>{if(t.nodeName==="CALCITE-ALERT"){t.slottedInShell=true}}))};this.handleSheetsSlotChange=t=>{this.hasSheets=!!r(t);c(t)?.map((t=>{if(t.nodeName==="CALCITE-SHEET"){t.slottedInShell=true}}))};this.handleModalsSlotChange=t=>{this.hasModals=!!r(t);c(t)?.map((t=>{if(t.nodeName==="CALCITE-MODAL"){t.slottedInShell=true}}))};this.contentBehind=false;this.hasHeader=false;this.hasFooter=false;this.hasAlerts=false;this.hasModals=false;this.hasSheets=false;this.panelIsResizing=false}handleCalciteInternalShellPanelResizeStart(t){this.panelIsResizing=true;t.stopPropagation()}handleCalciteInternalShellPanelResizeEnd(t){this.panelIsResizing=false;t.stopPropagation()}connectedCallback(){l(this)}disconnectedCallback(){s(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:z.header,onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:y.footer,hidden:!this.hasFooter,key:"footer"},e("slot",{name:z.footer,onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:z.alerts,onSlotchange:this.handleAlertsSlotChange}))}renderSheets(){return e("div",{hidden:!this.hasSheets},e("slot",{key:"sheets",name:z.sheets,onSlotchange:this.handleSheetsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:z.modals,onSlotchange:this.handleModalsSlotChange}))}renderContent(){const{panelIsResizing:t}=this;const n=e("slot",{key:"default-slot"});const o=t?e("div",{class:y.contentNonInteractive},n):n;const i=e("slot",{key:"center-row-slot",name:z.centerRow});const a=e("slot",{key:"panel-bottom-slot",name:z.panelBottom});const l=e("slot",{key:"panel-top-slot",name:z.panelTop});const s="content-container";const r=!!this.contentBehind?[e("div",{class:{[y.content]:true,[y.contentBehind]:true},key:s},o),e("div",{class:y.contentBehindCenterContent},l,a,i)]:[e("div",{class:y.content,key:s},l,o,a,i)];return r}renderMain(){return e("div",{class:y.main},e("slot",{name:z.panelStart}),this.renderContent(),e("slot",{name:z.panelEnd}))}renderPositionedSlots(){return e("div",{class:y.positionedSlotWrapper},this.renderAlerts(),this.renderModals(),this.renderSheets())}render(){return e(n,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return o(this)}};C.style=k;const H={actionBarContainer:"action-bar-container",content:"content"};const S={actionBar:"action-bar"};const M=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const D=class{constructor(e){t(this,e);this.detached=false;this.heightScale="s";this.position="end"}connectedCallback(){l(this)}disconnectedCallback(){s(this)}render(){const{el:t}=this;const o=e("div",{class:H.content},e("slot",null));const i=h(t,S.actionBar);const a=i?e("div",{class:H.actionBarContainer,key:"action-bar"},e("slot",{name:S.actionBar})):null;const l=[a,o];if(i?.position==="end"){l.reverse()}return e(n,null,l)}get el(){return o(this)}};D.style=M;const I={container:"container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentFloat:"content--float",contentOverlay:"content--overlay",separator:"separator"};const A={actionBar:"action-bar",header:"header"};const E=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-color-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-color-border-2)}.separator:focus{background-color:var(--calcite-color-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}";const W=class{constructor(e){t(this,e);this.calciteInternalShellPanelResizeStart=i(this,"calciteInternalShellPanelResizeStart",6);this.calciteInternalShellPanelResizeEnd=i(this,"calciteInternalShellPanelResizeEnd",6);this.initialContentWidth=null;this.initialContentHeight=null;this.initialClientX=null;this.initialClientY=null;this.contentWidthMax=null;this.contentWidthMin=null;this.contentHeightMax=null;this.contentHeightMin=null;this.step=1;this.stepMultiplier=10;this.actionBars=[];this.storeContentEl=t=>{this.contentEl=t};this.getKeyAdjustedSize=t=>{const{key:e}=t;const{el:n,step:o,stepMultiplier:i,layout:a,contentWidthMin:l,contentWidthMax:s,initialContentWidth:r,initialContentHeight:c,contentHeightMin:h,contentHeightMax:p,position:x}=this;const u=o*i;const f=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"];if(f.indexOf(e)>-1){t.preventDefault()}const b=d(n);const w=["ArrowLeft","ArrowRight"];const m=["ArrowDown","ArrowUp"];const v=b==="rtl"&&w.includes(e)?-1:1;const g=a==="horizontal"?x==="end"?e===m[1]||e===w[0]:e===m[0]||e===w[1]:e===m[1]||(x==="end"?e===w[0]:e===w[1]);if(g){const e=t.shiftKey?u:o;return a==="horizontal"?c+v*e:r+v*e}const y=a==="horizontal"?x==="end"?e===m[0]||e===w[0]:e===m[1]||e===w[1]:e===m[0]||(x==="end"?e===w[1]:e===w[0]);if(y){const e=t.shiftKey?u:o;return a==="horizontal"?c-v*e:r-v*e}if(e==="Home"&&a==="horizontal"&&typeof h==="number"){return h}if(e==="Home"&&a==="vertical"&&typeof l==="number"){return l}if(e==="End"&&a==="horizontal"&&typeof p==="number"){return p}if(e==="End"&&a==="vertical"&&typeof s==="number"){return s}if(e==="PageDown"){return a==="horizontal"?c-u:r-u}if(e==="PageUp"){return a==="horizontal"?c+u:r+u}return null};this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);if(typeof e==="number"){this.setContentWidth(e)}};this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);if(typeof e==="number"){this.setContentHeight(e)}};this.separatorKeyDown=t=>{this.layout==="horizontal"?this.initialKeydownHeight(t):this.initialKeydownWidth(t)};this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:n,initialContentWidth:o,initialContentHeight:i,position:a,initialClientX:l,initialClientY:s}=this;const r=n==="horizontal"?t.clientY-s:t.clientX-l;const c=n==="vertical"&&d(e)==="rtl"?-1:1;const h=n==="horizontal"?a==="end"?-c*r:c*r:a==="end"?-c*r:c*r;n==="horizontal"?this.setContentHeight(i+h):this.setContentWidth(o+h)};this.separatorPointerUp=t=>{if(!p(t)){return}this.calciteInternalShellPanelResizeEnd.emit();t.preventDefault();window.removeEventListener("pointerup",this.separatorPointerUp);window.removeEventListener("pointermove",this.separatorPointerMove)};this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height};this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width};this.separatorPointerDown=t=>{if(!p(t)){return}this.calciteInternalShellPanelResizeStart.emit();t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus();if(this.layout==="horizontal"){this.setInitialContentHeight();this.initialClientY=t.clientY}else{this.setInitialContentWidth();this.initialClientX=t.clientX}window.addEventListener("pointerup",this.separatorPointerUp);window.addEventListener("pointermove",this.separatorPointerMove)};this.connectSeparator=t=>{this.disconnectSeparator();this.separatorEl=t;t?.addEventListener("pointerdown",this.separatorPointerDown)};this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)};this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))};this.handleActionBarSlotChange=t=>{const e=c(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e;this.setActionBarsLayout(e)};this.handleHeaderSlotChange=t=>{this.hasHeader=r(t)};this.collapsed=false;this.detached=false;this.displayMode="dock";this.detachedHeightScale=undefined;this.heightScale=undefined;this.widthScale="m";this.layout="vertical";this.position="start";this.resizable=false;this.messages=undefined;this.messageOverrides=undefined;this.contentWidth=null;this.contentHeight=null;this.defaultMessages=undefined;this.effectiveLocale="";this.hasHeader=false}handleDetached(t){if(t){this.displayMode="float"}else if(this.displayMode==="float"){this.displayMode="dock"}}handleDisplayMode(t){this.detached=t==="float"}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){l(this);x(this);b(this)}async componentWillLoad(){await w(this)}disconnectedCallback(){s(this);this.disconnectSeparator();u(this);m(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){v(this,this.effectiveLocale)}renderHeader(){return e("div",{class:I.contentHeader,hidden:!this.hasHeader,key:"header"},e("slot",{name:A.header,onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:n,initialContentWidth:o,initialContentHeight:i,contentWidth:a,contentWidthMax:l,contentWidthMin:s,contentHeight:r,contentHeightMax:c,contentHeightMin:h,resizable:p,layout:x,displayMode:u}=this;const f=d(this.el);const b=u!=="float"&&p;const w=b?x==="horizontal"?r?{height:`${r}px`}:null:a?{width:`${a}px`}:null:null;const m=!t&&b?e("div",{"aria-label":this.messages.resize,"aria-orientation":x==="horizontal"?"vertical":"horizontal","aria-valuemax":x=="horizontal"?c:l,"aria-valuemin":x=="horizontal"?h:s,"aria-valuenow":x=="horizontal"?r??i:a??o,class:I.separator,key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null;const v=()=>{if(x==="horizontal"){return n==="start"?g.calciteAnimateInDown:g.calciteAnimateInUp}else{const t=f==="ltr"&&n==="end"||f==="rtl"&&n==="start";return t?g.calciteAnimateInLeft:g.calciteAnimateInRight}};const y=e("div",{class:{[g.rtl]:f==="rtl",[I.content]:true,[I.contentOverlay]:u==="overlay",[I.contentFloat]:u==="float",[g.calciteAnimate]:u==="overlay",[v()]:u==="overlay"},hidden:t,key:"content",style:w,ref:this.storeContentEl},this.renderHeader(),e("div",{class:I.contentBody},e("slot",null)),m);const z=e("slot",{key:"action-bar",name:A.actionBar,onSlotchange:this.handleActionBarSlotChange});const k=[z,y];if(n==="end"){k.reverse()}return e("div",{class:{[I.container]:true}},k)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:n}=this;const o=Math.round(t);this.contentWidth=typeof e==="number"&&typeof n==="number"?f(o,n,e):o}updateAriaValues(){const{contentEl:t}=this;const e=t&&getComputedStyle(t);if(!e){return}this.layout==="horizontal"?this.updateHeights(e):this.updateWidths(e);a(this)}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:n}=this;const o=Math.round(t);this.contentHeight=typeof e==="number"&&typeof n==="number"?f(o,n,e):o}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10);const n=parseInt(t.getPropertyValue("min-width"),10);const o=parseInt(t.getPropertyValue("width"),10);if(typeof o==="number"&&!isNaN(o)){this.initialContentWidth=o}if(typeof e==="number"&&!isNaN(e)){this.contentWidthMax=e}if(typeof n==="number"&&!isNaN(n)){this.contentWidthMin=n}}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10);const n=parseInt(t.getPropertyValue("min-height"),10);const o=parseInt(t.getPropertyValue("height"),10);if(typeof o==="number"&&!isNaN(o)){this.initialContentHeight=o}if(typeof e==="number"&&!isNaN(e)){this.contentHeightMax=e}if(typeof n==="number"&&!isNaN(n)){this.contentHeightMin=n}}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};W.style=E;export{C as calcite_shell,D as calcite_shell_center_row,W as calcite_shell_panel};
|
|
7
|
+
//# sourceMappingURL=p-ab1d7a77.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.3.0
|
|
5
|
+
*/
|
|
6
|
+
import{d as e}from"./p-6bf6e9e1.js";import"./p-764c5f12.js";import"./p-50866efe.js";import"./p-fe12a9c1.js";import"./p-5a197779.js";import"./p-a90bec6e.js";import"./p-52a2b747.js";import"./p-6f5cc640.js";import"./p-577f5b59.js";import"./p-39ca931c.js";import"./p-31438ebe.js";import"./p-37e8fe13.js";import"./p-fa54a79f.js";import"./p-d40673cb.js";import"./p-79596b0f.js";import"./p-1c7950f8.js";import"./p-c71317ea.js";import"./p-7c5c1332.js";import"./p-be1176aa.js";function a(e,a,t,s){var p={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};if(a){return(p[t][2]?p[t][2]:p[t][1]).replace("%d",e)}return(s?p[t][0]:p[t][1]).replace("%d",e)}var t={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function e(a){return a+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d päeva",M:a,MM:a,y:a,yy:a},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(t,null,true);export default t;
|
|
7
|
+
//# sourceMappingURL=p-acde49d9.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.3.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as s,g as n,F as i}from"./p-764c5f12.js";import{i as o,g as r,d as a,j as l}from"./p-fe12a9c1.js";import{C as c,n as h,a as u,o as d,b as f,c as p,p as g,d as b,t as m,e as w,f as y,g as v,j as k,i as x,r as C,k as M}from"./p-8addb902.js";import{c as S,d as A,u as j,I as z}from"./p-52a2b747.js";import{i as F}from"./p-577f5b59.js";import{c as O,s as $,a as D}from"./p-37e8fe13.js";import{c as I,d as q}from"./p-fa54a79f.js";import{r as E,c as N,a as L}from"./p-1c7950f8.js";import{u as K,s as U,c as P,d as T}from"./p-c71317ea.js";import{t as _}from"./p-8f6e8991.js";import"./p-5a197779.js";import"./p-a90bec6e.js";import"./p-6f5cc640.js";import"./p-d40673cb.js";import"./p-02b36b33.js";function B(t,e,s){return s={path:e,exports:{},require:function(t,e){return H()}},t(s,s.exports),s.exports}function H(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var V={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var J=function t(e){if(!e||typeof e==="string"){return false}return e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")};var R=B((function(t){var e=Array.prototype.concat;var s=Array.prototype.slice;var n=t.exports=function t(n){var i=[];for(var o=0,r=n.length;o<r;o++){var a=n[o];if(J(a)){i=e.call(i,s.call(a))}else{i.push(a)}}return i};n.wrap=function(t){return function(){return t(n(arguments))}}}));var X=B((function(t){var e=Object.hasOwnProperty;var s=Object.create(null);for(var n in V){if(e.call(V,n)){s[V[n]]=n}}var i=t.exports={to:{},get:{}};i.get=function(t){var e=t.substring(0,3).toLowerCase();var s;var n;switch(e){case"hsl":s=i.get.hsl(t);n="hsl";break;case"hwb":s=i.get.hwb(t);n="hwb";break;default:s=i.get.rgb(t);n="rgb";break}if(!s){return null}return{model:n,value:s}};i.get.rgb=function(t){if(!t){return null}var s=/^#([a-f0-9]{3,4})$/i;var n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i;var i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;var r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;var a=/^(\w+)$/;var l=[0,0,0,1];var c;var h;var u;if(c=t.match(n)){u=c[2];c=c[1];for(h=0;h<3;h++){var d=h*2;l[h]=parseInt(c.slice(d,d+2),16)}if(u){l[3]=parseInt(u,16)/255}}else if(c=t.match(s)){c=c[1];u=c[3];for(h=0;h<3;h++){l[h]=parseInt(c[h]+c[h],16)}if(u){l[3]=parseInt(u+u,16)/255}}else if(c=t.match(i)){for(h=0;h<3;h++){l[h]=parseInt(c[h+1],0)}if(c[4]){if(c[5]){l[3]=parseFloat(c[4])*.01}else{l[3]=parseFloat(c[4])}}}else if(c=t.match(r)){for(h=0;h<3;h++){l[h]=Math.round(parseFloat(c[h+1])*2.55)}if(c[4]){if(c[5]){l[3]=parseFloat(c[4])*.01}else{l[3]=parseFloat(c[4])}}}else if(c=t.match(a)){if(c[1]==="transparent"){return[0,0,0,0]}if(!e.call(V,c[1])){return null}l=V[c[1]];l[3]=1;return l}else{return null}for(h=0;h<3;h++){l[h]=o(l[h],0,255)}l[3]=o(l[3],0,1);return l};i.get.hsl=function(t){if(!t){return null}var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;var s=t.match(e);if(s){var n=parseFloat(s[4]);var i=(parseFloat(s[1])%360+360)%360;var r=o(parseFloat(s[2]),0,100);var a=o(parseFloat(s[3]),0,100);var l=o(isNaN(n)?1:n,0,1);return[i,r,a,l]}return null};i.get.hwb=function(t){if(!t){return null}var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;var s=t.match(e);if(s){var n=parseFloat(s[4]);var i=(parseFloat(s[1])%360+360)%360;var r=o(parseFloat(s[2]),0,100);var a=o(parseFloat(s[3]),0,100);var l=o(isNaN(n)?1:n,0,1);return[i,r,a,l]}return null};i.to.hex=function(){var t=R(arguments);return"#"+r(t[0])+r(t[1])+r(t[2])+(t[3]<1?r(Math.round(t[3]*255)):"")};i.to.rgb=function(){var t=R(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};i.to.rgb.percent=function(){var t=R(arguments);var e=Math.round(t[0]/255*100);var s=Math.round(t[1]/255*100);var n=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+s+"%, "+n+"%)":"rgba("+e+"%, "+s+"%, "+n+"%, "+t[3]+")"};i.to.hsl=function(){var t=R(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};i.to.hwb=function(){var t=R(arguments);var e="";if(t.length>=4&&t[3]!==1){e=", "+t[3]}return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};i.to.keyword=function(t){return s[t.slice(0,3)]};function o(t,e,s){return Math.min(Math.max(e,t),s)}function r(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}}));var W={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const G={};for(const t of Object.keys(W)){G[W[t]]=t}const Y={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Q=Y;for(const t of Object.keys(Y)){if(!("channels"in Y[t])){throw new Error("missing channels property: "+t)}if(!("labels"in Y[t])){throw new Error("missing channel labels property: "+t)}if(Y[t].labels.length!==Y[t].channels){throw new Error("channel and label counts mismatch: "+t)}const{channels:e,labels:s}=Y[t];delete Y[t].channels;delete Y[t].labels;Object.defineProperty(Y[t],"channels",{value:e});Object.defineProperty(Y[t],"labels",{value:s})}Y.rgb.hsl=function(t){const e=t[0]/255;const s=t[1]/255;const n=t[2]/255;const i=Math.min(e,s,n);const o=Math.max(e,s,n);const r=o-i;let a;let l;if(o===i){a=0}else if(e===o){a=(s-n)/r}else if(s===o){a=2+(n-e)/r}else if(n===o){a=4+(e-s)/r}a=Math.min(a*60,360);if(a<0){a+=360}const c=(i+o)/2;if(o===i){l=0}else if(c<=.5){l=r/(o+i)}else{l=r/(2-o-i)}return[a,l*100,c*100]};Y.rgb.hsv=function(t){let e;let s;let n;let i;let o;const r=t[0]/255;const a=t[1]/255;const l=t[2]/255;const c=Math.max(r,a,l);const h=c-Math.min(r,a,l);const u=function(t){return(c-t)/6/h+1/2};if(h===0){i=0;o=0}else{o=h/c;e=u(r);s=u(a);n=u(l);if(r===c){i=n-s}else if(a===c){i=1/3+e-n}else if(l===c){i=2/3+s-e}if(i<0){i+=1}else if(i>1){i-=1}}return[i*360,o*100,c*100]};Y.rgb.hwb=function(t){const e=t[0];const s=t[1];let n=t[2];const i=Y.rgb.hsl(t)[0];const o=1/255*Math.min(e,Math.min(s,n));n=1-1/255*Math.max(e,Math.max(s,n));return[i,o*100,n*100]};Y.rgb.cmyk=function(t){const e=t[0]/255;const s=t[1]/255;const n=t[2]/255;const i=Math.min(1-e,1-s,1-n);const o=(1-e-i)/(1-i)||0;const r=(1-s-i)/(1-i)||0;const a=(1-n-i)/(1-i)||0;return[o*100,r*100,a*100,i*100]};function Z(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}Y.rgb.keyword=function(t){const e=G[t];if(e){return e}let s=Infinity;let n;for(const e of Object.keys(W)){const i=W[e];const o=Z(t,i);if(o<s){s=o;n=e}}return n};Y.keyword.rgb=function(t){return W[t]};Y.rgb.xyz=function(t){let e=t[0]/255;let s=t[1]/255;let n=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92;s=s>.04045?((s+.055)/1.055)**2.4:s/12.92;n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const i=e*.4124+s*.3576+n*.1805;const o=e*.2126+s*.7152+n*.0722;const r=e*.0193+s*.1192+n*.9505;return[i*100,o*100,r*100]};Y.rgb.lab=function(t){const e=Y.rgb.xyz(t);let s=e[0];let n=e[1];let i=e[2];s/=95.047;n/=100;i/=108.883;s=s>.008856?s**(1/3):7.787*s+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*n-16;const r=500*(s-n);const a=200*(n-i);return[o,r,a]};Y.hsl.rgb=function(t){const e=t[0]/360;const s=t[1]/100;const n=t[2]/100;let i;let o;let r;if(s===0){r=n*255;return[r,r,r]}if(n<.5){i=n*(1+s)}else{i=n+s-n*s}const a=2*n-i;const l=[0,0,0];for(let t=0;t<3;t++){o=e+1/3*-(t-1);if(o<0){o++}if(o>1){o--}if(6*o<1){r=a+(i-a)*6*o}else if(2*o<1){r=i}else if(3*o<2){r=a+(i-a)*(2/3-o)*6}else{r=a}l[t]=r*255}return l};Y.hsl.hsv=function(t){const e=t[0];let s=t[1]/100;let n=t[2]/100;let i=s;const o=Math.max(n,.01);n*=2;s*=n<=1?n:2-n;i*=o<=1?o:2-o;const r=(n+s)/2;const a=n===0?2*i/(o+i):2*s/(n+s);return[e,a*100,r*100]};Y.hsv.rgb=function(t){const e=t[0]/60;const s=t[1]/100;let n=t[2]/100;const i=Math.floor(e)%6;const o=e-Math.floor(e);const r=255*n*(1-s);const a=255*n*(1-s*o);const l=255*n*(1-s*(1-o));n*=255;switch(i){case 0:return[n,l,r];case 1:return[a,n,r];case 2:return[r,n,l];case 3:return[r,a,n];case 4:return[l,r,n];case 5:return[n,r,a]}};Y.hsv.hsl=function(t){const e=t[0];const s=t[1]/100;const n=t[2]/100;const i=Math.max(n,.01);let o;let r;r=(2-s)*n;const a=(2-s)*i;o=s*i;o/=a<=1?a:2-a;o=o||0;r/=2;return[e,o*100,r*100]};Y.hwb.rgb=function(t){const e=t[0]/360;let s=t[1]/100;let n=t[2]/100;const i=s+n;let o;if(i>1){s/=i;n/=i}const r=Math.floor(6*e);const a=1-n;o=6*e-r;if((r&1)!==0){o=1-o}const l=s+o*(a-s);let c;let h;let u;switch(r){default:case 6:case 0:c=a;h=l;u=s;break;case 1:c=l;h=a;u=s;break;case 2:c=s;h=a;u=l;break;case 3:c=s;h=l;u=a;break;case 4:c=l;h=s;u=a;break;case 5:c=a;h=s;u=l;break}return[c*255,h*255,u*255]};Y.cmyk.rgb=function(t){const e=t[0]/100;const s=t[1]/100;const n=t[2]/100;const i=t[3]/100;const o=1-Math.min(1,e*(1-i)+i);const r=1-Math.min(1,s*(1-i)+i);const a=1-Math.min(1,n*(1-i)+i);return[o*255,r*255,a*255]};Y.xyz.rgb=function(t){const e=t[0]/100;const s=t[1]/100;const n=t[2]/100;let i;let o;let r;i=e*3.2406+s*-1.5372+n*-.4986;o=e*-.9689+s*1.8758+n*.0415;r=e*.0557+s*-.204+n*1.057;i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92;o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92;r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92;i=Math.min(Math.max(0,i),1);o=Math.min(Math.max(0,o),1);r=Math.min(Math.max(0,r),1);return[i*255,o*255,r*255]};Y.xyz.lab=function(t){let e=t[0];let s=t[1];let n=t[2];e/=95.047;s/=100;n/=108.883;e=e>.008856?e**(1/3):7.787*e+16/116;s=s>.008856?s**(1/3):7.787*s+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;const i=116*s-16;const o=500*(e-s);const r=200*(s-n);return[i,o,r]};Y.lab.xyz=function(t){const e=t[0];const s=t[1];const n=t[2];let i;let o;let r;o=(e+16)/116;i=s/500+o;r=o-n/200;const a=o**3;const l=i**3;const c=r**3;o=a>.008856?a:(o-16/116)/7.787;i=l>.008856?l:(i-16/116)/7.787;r=c>.008856?c:(r-16/116)/7.787;i*=95.047;o*=100;r*=108.883;return[i,o,r]};Y.lab.lch=function(t){const e=t[0];const s=t[1];const n=t[2];let i;const o=Math.atan2(n,s);i=o*360/2/Math.PI;if(i<0){i+=360}const r=Math.sqrt(s*s+n*n);return[e,r,i]};Y.lch.lab=function(t){const e=t[0];const s=t[1];const n=t[2];const i=n/360*2*Math.PI;const o=s*Math.cos(i);const r=s*Math.sin(i);return[e,o,r]};Y.rgb.ansi16=function(t,e=null){const[s,n,i]=t;let o=e===null?Y.rgb.hsv(t)[2]:e;o=Math.round(o/50);if(o===0){return 30}let r=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(s/255));if(o===2){r+=60}return r};Y.hsv.ansi16=function(t){return Y.rgb.ansi16(Y.hsv.rgb(t),t[2])};Y.rgb.ansi256=function(t){const e=t[0];const s=t[1];const n=t[2];if(e===s&&s===n){if(e<8){return 16}if(e>248){return 231}return Math.round((e-8)/247*24)+232}const i=16+36*Math.round(e/255*5)+6*Math.round(s/255*5)+Math.round(n/255*5);return i};Y.ansi16.rgb=function(t){let e=t%10;if(e===0||e===7){if(t>50){e+=3.5}e=e/10.5*255;return[e,e,e]}const s=(~~(t>50)+1)*.5;const n=(e&1)*s*255;const i=(e>>1&1)*s*255;const o=(e>>2&1)*s*255;return[n,i,o]};Y.ansi256.rgb=function(t){if(t>=232){const e=(t-232)*10+8;return[e,e,e]}t-=16;let e;const s=Math.floor(t/36)/5*255;const n=Math.floor((e=t%36)/6)/5*255;const i=e%6/5*255;return[s,n,i]};Y.rgb.hex=function(t){const e=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);const s=e.toString(16).toUpperCase();return"000000".substring(s.length)+s};Y.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e){return[0,0,0]}let s=e[0];if(e[0].length===3){s=s.split("").map((t=>t+t)).join("")}const n=parseInt(s,16);const i=n>>16&255;const o=n>>8&255;const r=n&255;return[i,o,r]};Y.rgb.hcg=function(t){const e=t[0]/255;const s=t[1]/255;const n=t[2]/255;const i=Math.max(Math.max(e,s),n);const o=Math.min(Math.min(e,s),n);const r=i-o;let a;let l;if(r<1){a=o/(1-r)}else{a=0}if(r<=0){l=0}else if(i===e){l=(s-n)/r%6}else if(i===s){l=2+(n-e)/r}else{l=4+(e-s)/r}l/=6;l%=1;return[l*360,r*100,a*100]};Y.hsl.hcg=function(t){const e=t[1]/100;const s=t[2]/100;const n=s<.5?2*e*s:2*e*(1-s);let i=0;if(n<1){i=(s-.5*n)/(1-n)}return[t[0],n*100,i*100]};Y.hsv.hcg=function(t){const e=t[1]/100;const s=t[2]/100;const n=e*s;let i=0;if(n<1){i=(s-n)/(1-n)}return[t[0],n*100,i*100]};Y.hcg.rgb=function(t){const e=t[0]/360;const s=t[1]/100;const n=t[2]/100;if(s===0){return[n*255,n*255,n*255]}const i=[0,0,0];const o=e%1*6;const r=o%1;const a=1-r;let l=0;switch(Math.floor(o)){case 0:i[0]=1;i[1]=r;i[2]=0;break;case 1:i[0]=a;i[1]=1;i[2]=0;break;case 2:i[0]=0;i[1]=1;i[2]=r;break;case 3:i[0]=0;i[1]=a;i[2]=1;break;case 4:i[0]=r;i[1]=0;i[2]=1;break;default:i[0]=1;i[1]=0;i[2]=a}l=(1-s)*n;return[(s*i[0]+l)*255,(s*i[1]+l)*255,(s*i[2]+l)*255]};Y.hcg.hsv=function(t){const e=t[1]/100;const s=t[2]/100;const n=e+s*(1-e);let i=0;if(n>0){i=e/n}return[t[0],i*100,n*100]};Y.hcg.hsl=function(t){const e=t[1]/100;const s=t[2]/100;const n=s*(1-e)+.5*e;let i=0;if(n>0&&n<.5){i=e/(2*n)}else if(n>=.5&&n<1){i=e/(2*(1-n))}return[t[0],i*100,n*100]};Y.hcg.hwb=function(t){const e=t[1]/100;const s=t[2]/100;const n=e+s*(1-e);return[t[0],(n-e)*100,(1-n)*100]};Y.hwb.hcg=function(t){const e=t[1]/100;const s=t[2]/100;const n=1-s;const i=n-e;let o=0;if(i<1){o=(n-i)/(1-i)}return[t[0],i*100,o*100]};Y.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};Y.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};Y.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};Y.gray.hsl=function(t){return[0,0,t[0]]};Y.gray.hsv=Y.gray.hsl;Y.gray.hwb=function(t){return[0,100,t[0]]};Y.gray.cmyk=function(t){return[0,0,0,t[0]]};Y.gray.lab=function(t){return[t[0],0,0]};Y.gray.hex=function(t){const e=Math.round(t[0]/100*255)&255;const s=(e<<16)+(e<<8)+e;const n=s.toString(16).toUpperCase();return"000000".substring(n.length)+n};Y.rgb.gray=function(t){const e=(t[0]+t[1]+t[2])/3;return[e/255*100]};function tt(){const t={};const e=Object.keys(Q);for(let s=e.length,n=0;n<s;n++){t[e[n]]={distance:-1,parent:null}}return t}function et(t){const e=tt();const s=[t];e[t].distance=0;while(s.length){const t=s.pop();const n=Object.keys(Q[t]);for(let i=n.length,o=0;o<i;o++){const i=n[o];const r=e[i];if(r.distance===-1){r.distance=e[t].distance+1;r.parent=t;s.unshift(i)}}}return e}function st(t,e){return function(s){return e(t(s))}}function nt(t,e){const s=[e[t].parent,t];let n=Q[e[t].parent][t];let i=e[t].parent;while(e[i].parent){s.unshift(e[i].parent);n=st(Q[e[i].parent][i],n);i=e[i].parent}n.conversion=s;return n}var it=function(t){const e=et(t);const s={};const n=Object.keys(e);for(let t=n.length,i=0;i<t;i++){const t=n[i];const o=e[t];if(o.parent===null){continue}s[t]=nt(t,e)}return s};const ot={};const rt=Object.keys(Q);function at(t){const e=function(...e){const s=e[0];if(s===undefined||s===null){return s}if(s.length>1){e=s}return t(e)};if("conversion"in t){e.conversion=t.conversion}return e}function lt(t){const e=function(...e){const s=e[0];if(s===undefined||s===null){return s}if(s.length>1){e=s}const n=t(e);if(typeof n==="object"){for(let t=n.length,e=0;e<t;e++){n[e]=Math.round(n[e])}}return n};if("conversion"in t){e.conversion=t.conversion}return e}rt.forEach((t=>{ot[t]={};Object.defineProperty(ot[t],"channels",{value:Q[t].channels});Object.defineProperty(ot[t],"labels",{value:Q[t].labels});const e=it(t);const s=Object.keys(e);s.forEach((s=>{const n=e[s];ot[t][s]=lt(n);ot[t][s].raw=at(n)}))}));var ct=ot;const ht=["keyword","gray","hex"];const ut={};for(const t of Object.keys(ct)){ut[[...ct[t].labels].sort().join("")]=t}const dt={};function ft(t,e){if(!(this instanceof ft)){return new ft(t,e)}if(e&&e in ht){e=null}if(e&&!(e in ct)){throw new Error("Unknown model: "+e)}let s;let n;if(t==null){this.model="rgb";this.color=[0,0,0];this.valpha=1}else if(t instanceof ft){this.model=t.model;this.color=[...t.color];this.valpha=t.valpha}else if(typeof t==="string"){const e=X.get(t);if(e===null){throw new Error("Unable to parse color from string: "+t)}this.model=e.model;n=ct[this.model].channels;this.color=e.value.slice(0,n);this.valpha=typeof e.value[n]==="number"?e.value[n]:1}else if(t.length>0){this.model=e||"rgb";n=ct[this.model].channels;const s=Array.prototype.slice.call(t,0,n);this.color=yt(s,n);this.valpha=typeof t[n]==="number"?t[n]:1}else if(typeof t==="number"){this.model="rgb";this.color=[t>>16&255,t>>8&255,t&255];this.valpha=1}else{this.valpha=1;const e=Object.keys(t);if("alpha"in t){e.splice(e.indexOf("alpha"),1);this.valpha=typeof t.alpha==="number"?t.alpha:0}const n=e.sort().join("");if(!(n in ut)){throw new Error("Unable to parse color from object: "+JSON.stringify(t))}this.model=ut[n];const{labels:i}=ct[this.model];const o=[];for(s=0;s<i.length;s++){o.push(t[i[s]])}this.color=yt(o)}if(dt[this.model]){n=ct[this.model].channels;for(s=0;s<n;s++){const t=dt[this.model][s];if(t){this.color[s]=t(this.color[s])}}}this.valpha=Math.max(0,Math.min(1,this.valpha));if(Object.freeze){Object.freeze(this)}}ft.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in X.to?this:this.rgb();e=e.round(typeof t==="number"?t:1);const s=e.valpha===1?e.color:[...e.color,this.valpha];return X.to[e.model](s)},percentString(t){const e=this.rgb().round(typeof t==="number"?t:1);const s=e.valpha===1?e.color:[...e.color,this.valpha];return X.to.rgb.percent(s)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const t={};const{channels:e}=ct[this.model];const{labels:s}=ct[this.model];for(let n=0;n<e;n++){t[s[n]]=this.color[n]}if(this.valpha!==1){t.alpha=this.valpha}return t},unitArray(){const t=this.rgb().color;t[0]/=255;t[1]/=255;t[2]/=255;if(this.valpha!==1){t.push(this.valpha)}return t},unitObject(){const t=this.rgb().object();t.r/=255;t.g/=255;t.b/=255;if(this.valpha!==1){t.alpha=this.valpha}return t},round(t){t=Math.max(t||0,0);return new ft([...this.color.map(gt(t)),this.valpha],this.model)},alpha(t){if(t!==undefined){return new ft([...this.color,Math.max(0,Math.min(1,t))],this.model)}return this.valpha},red:bt("rgb",0,mt(255)),green:bt("rgb",1,mt(255)),blue:bt("rgb",2,mt(255)),hue:bt(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:bt("hsl",1,mt(100)),lightness:bt("hsl",2,mt(100)),saturationv:bt("hsv",1,mt(100)),value:bt("hsv",2,mt(100)),chroma:bt("hcg",1,mt(100)),gray:bt("hcg",2,mt(100)),white:bt("hwb",1,mt(100)),wblack:bt("hwb",2,mt(100)),cyan:bt("cmyk",0,mt(100)),magenta:bt("cmyk",1,mt(100)),yellow:bt("cmyk",2,mt(100)),black:bt("cmyk",3,mt(100)),x:bt("xyz",0,mt(95.047)),y:bt("xyz",1,mt(100)),z:bt("xyz",2,mt(108.833)),l:bt("lab",0,mt(100)),a:bt("lab",1),b:bt("lab",2),keyword(t){if(t!==undefined){return new ft(t)}return ct[this.model].keyword(this.color)},hex(t){if(t!==undefined){return new ft(t)}return X.to.hex(this.rgb().round().color)},hexa(t){if(t!==undefined){return new ft(t)}const e=this.rgb().round().color;let s=Math.round(this.valpha*255).toString(16).toUpperCase();if(s.length===1){s="0"+s}return X.to.hex(e)+s},rgbNumber(){const t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){const t=this.rgb().color;const e=[];for(const[s,n]of t.entries()){const t=n/255;e[s]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity();const s=t.luminosity();if(e>s){return(e+.05)/(s+.05)}return(s+.05)/(e+.05)},level(t){const e=this.contrast(t);if(e>=7){return"AAA"}return e>=4.5?"AA":""},isDark(){const t=this.rgb().color;const e=(t[0]*2126+t[1]*7152+t[2]*722)/1e4;return e<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++){t.color[e]=255-t.color[e]}return t},lighten(t){const e=this.hsl();e.color[2]+=e.color[2]*t;return e},darken(t){const e=this.hsl();e.color[2]-=e.color[2]*t;return e},saturate(t){const e=this.hsl();e.color[1]+=e.color[1]*t;return e},desaturate(t){const e=this.hsl();e.color[1]-=e.color[1]*t;return e},whiten(t){const e=this.hwb();e.color[1]+=e.color[1]*t;return e},blacken(t){const e=this.hwb();e.color[2]+=e.color[2]*t;return e},grayscale(){const t=this.rgb().color;const e=t[0]*.3+t[1]*.59+t[2]*.11;return ft.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let s=e.color[0];s=(s+t)%360;s=s<0?360+s:s;e.color[0]=s;return e},mix(t,e){if(!t||!t.rgb){throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t)}const s=t.rgb();const n=this.rgb();const i=e===undefined?.5:e;const o=2*i-1;const r=s.alpha()-n.alpha();const a=((o*r===-1?o:(o+r)/(1+o*r))+1)/2;const l=1-a;return ft.rgb(a*s.red()+l*n.red(),a*s.green()+l*n.green(),a*s.blue()+l*n.blue(),s.alpha()*i+n.alpha()*(1-i))}};for(const t of Object.keys(ct)){if(ht.includes(t)){continue}const{channels:e}=ct[t];ft.prototype[t]=function(...e){if(this.model===t){return new ft(this)}if(e.length>0){return new ft(e,t)}return new ft([...wt(ct[this.model][t].raw(this.color)),this.valpha],t)};ft[t]=function(...s){let n=s[0];if(typeof n==="number"){n=yt(s,e)}return new ft(n,t)}}function pt(t,e){return Number(t.toFixed(e))}function gt(t){return function(e){return pt(e,t)}}function bt(t,e,s){t=Array.isArray(t)?t:[t];for(const n of t){(dt[n]||(dt[n]=[]))[e]=s}t=t[0];return function(n){let i;if(n!==undefined){if(s){n=s(n)}i=this[t]();i.color[e]=n;return i}i=this[t]().color[e];if(s){i=s(i)}return i}}function mt(t){return function(e){return Math.max(0,Math.min(t,e))}}function wt(t){return Array.isArray(t)?t:[t]}function yt(t,e){for(let s=0;s<e;s++){if(typeof t[s]!=="number"){t[s]=0}}return t}var vt=ft;const kt={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"};const xt=vt("#007AC2");const Ct="calcite-color-";const Mt={r:255,g:255,b:255};const St={h:360,s:100,v:100};const At=St.h-1;const jt={min:0,max:100};const zt={s:{slider:{height:12,width:104},colorField:{height:80,width:160},thumb:{radius:10}},m:{slider:{height:12,width:204},colorField:{height:150,width:272},thumb:{radius:10}},l:{slider:{height:12,width:384},colorField:{height:200,width:464},thumb:{radius:10}}};const Ft=1;const Ot=':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;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';const $t=16;const Dt=class{constructor(n){t(this,n);this.calciteColorPickerChange=e(this,"calciteColorPickerChange",6);this.calciteColorPickerInput=e(this,"calciteColorPickerInput",6);this.internalColorUpdateContext=null;this.mode=c.HEX;this.shiftKeyChannelAdjustment=0;this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode");this.updateChannelsFromColor(this.color)};this.handleColorFieldScopeKeyDown=t=>{const{key:e}=t;const s={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};if(s[e]){t.preventDefault();this.scopeOrientation=e==="ArrowDown"||e==="ArrowUp"?"vertical":"horizontal";this.captureColorFieldColor(this.colorFieldScopeLeft+s[e].x||0,this.colorFieldScopeTop+s[e].y||0,false)}};this.handleHueScopeKeyDown=t=>{const e=t.shiftKey?10:1;const{key:s}=t;const n={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(n[s]){t.preventDefault();const i=n[s]*e;const o=this.baseColorFieldColor.hue();const r=this.baseColorFieldColor.hue(o+i);this.internalColorSet(r,false)}};this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:e,color:s}=this;const n=t.target;const i=n.value;if(e&&!i){this.internalColorSet(null);return}const o=s&&h(u(s,p(this.mode)));if(i!==o){this.internalColorSet(vt(i))}};this.handleSavedColorSelect=t=>{const e=t.currentTarget;this.internalColorSet(vt(e.color))};this.handleChannelInput=t=>{const e=t.currentTarget;const s=Number(e.getAttribute("data-channel-index"));const n=s===3;const i=n?jt.max:this.channelMode==="rgb"?Mt[Object.keys(Mt)[s]]:St[Object.keys(St)[s]];let o;if(this.allowEmpty&&!e.value){o=""}else{const t=Number(e.value);const s=t+this.shiftKeyChannelAdjustment;const n=N(s,0,i);o=n.toString()}e.value=o;if(o!==""&&this.shiftKeyChannelAdjustment!==0){this.handleChannelChange(t)}};this.handleChannelChange=t=>{const e=t.currentTarget;const s=Number(e.getAttribute("data-channel-index"));const n=[...this.channels];const i=this.allowEmpty&&!e.value;if(i){this.channels=[null,null,null,null];this.internalColorSet(null);return}const o=s===3;const r=Number(e.value);n[s]=o?d(r):r;this.updateColorFromChannels(n)};this.handleSavedColorKeyDown=t=>{if(F(t.key)){t.preventDefault();this.handleSavedColorSelect(t)}};this.handleColorFieldPointerDown=t=>{if(!o(t)){return}const{offsetX:e,offsetY:s}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler);window.addEventListener("pointerup",this.globalPointerUpHandler,{once:true});this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()};this.captureColorFieldColor(e,s);this.colorFieldScopeNode.focus()};this.handleHueSliderPointerDown=t=>{if(!o(t)){return}const{offsetX:e}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler);window.addEventListener("pointerup",this.globalPointerUpHandler,{once:true});this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()};this.captureHueSliderColor(e);this.hueScopeNode.focus()};this.handleOpacitySliderPointerDown=t=>{if(!o(t)){return}const{offsetX:e}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler);window.addEventListener("pointerup",this.globalPointerUpHandler,{once:true});this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()};this.captureOpacitySliderValue(e);this.opacityScopeNode.focus()};this.globalPointerUpHandler=t=>{if(!o(t)){return}const e=this.activeCanvasInfo;this.activeCanvasInfo=null;this.drawColorControls();if(e){this.calciteColorPickerChange.emit()}};this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:e,el:s}=this;if(!s.isConnected||!e){return}const{context:n,bounds:i}=e;let o;let r;const{clientX:a,clientY:l}=t;if(n.canvas.matches(":hover")){o=a-i.x;r=l-i.y}else{if(a<i.x+i.width&&a>i.x){o=a-i.x}else if(a<i.x){o=0}else{o=i.width}if(l<i.y+i.height&&l>i.y){r=l-i.y}else if(l<i.y){r=0}else{r=i.height}}if(n===this.colorFieldRenderingContext){this.captureColorFieldColor(o,r,false)}else if(n===this.hueSliderRenderingContext){this.captureHueSliderColor(o)}else if(n===this.opacitySliderRenderingContext){this.captureOpacitySliderValue(o)}};this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t};this.storeHueScope=t=>{this.hueScopeNode=t};this.renderChannelsTabTitle=t=>{const{channelMode:e,messages:n}=this;const i=t===e;const o=t==="rgb"?n.rgb:n.hsv;return s("calcite-tab-title",{class:kt.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:i},o)};this.renderChannelsTab=t=>{const{allowEmpty:e,channelMode:n,channels:i,messages:o,alphaChannel:a}=this;const l=t===n;const c=t==="rgb";const h=c?[o.red,o.green,o.blue]:[o.hue,o.saturation,o.value];const u=r(this.el);const d=a?i:i.slice(0,3);return s("calcite-tab",{class:kt.control,key:t,selected:l},s("div",{class:kt.channels,dir:"ltr"},d.map(((t,s)=>{const n=s===3;if(n){t=e&&!t?t:f(t)}return this.renderChannel(t,s,h[s],u,n?"%":"")}))))};this.renderChannel=(t,e,n,i,o)=>s("calcite-input-number",{class:kt.channel,"data-channel-index":e,dir:i,key:e,label:n,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:this.scale==="l"?"m":"s",style:{marginLeft:e>0&&!(this.scale==="s"&&this.alphaChannel&&e===3)?"-1px":""},suffixText:o,value:t?.toString()});this.deleteColor=()=>{const t=u(this.color,this.alphaChannel);const e=this.savedColors.indexOf(t)>-1;if(!e){return}const s=this.savedColors.filter((e=>e!==t));this.savedColors=s;const n=`${Ct}${this.storageId}`;if(this.storageId){localStorage.setItem(n,JSON.stringify(s))}};this.saveColor=()=>{const t=u(this.color,this.alphaChannel);const e=this.savedColors.indexOf(t)>-1;if(e){return}const s=[...this.savedColors,t];this.savedColors=s;const n=`${Ct}${this.storageId}`;if(this.storageId){localStorage.setItem(n,JSON.stringify(s))}};this.drawColorControls=_(((t="all")=>{if((t==="all"||t==="color-field")&&this.colorFieldRenderingContext){this.drawColorField()}if((t==="all"||t==="hue-slider")&&this.hueSliderRenderingContext){this.drawHueSlider()}if(this.alphaChannel&&(t==="all"||t==="opacity-slider")&&this.opacitySliderRenderingContext){this.drawOpacitySlider()}}),$t);this.captureColorFieldColor=(t,e,s=true)=>{const{dimensions:{colorField:{height:n,width:i}}}=this;const o=Math.round(St.s/i*t);const r=Math.round(St.v/n*(n-e));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(r),s)};this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d");this.updateCanvasSize("color-field");this.drawColorControls()};this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d");this.updateCanvasSize("hue-slider");this.drawHueSlider()};this.initOpacitySlider=t=>{if(!t){return}this.opacitySliderRenderingContext=t.getContext("2d");this.updateCanvasSize("opacity-slider");this.drawOpacitySlider()};this.storeOpacityScope=t=>{this.opacityScopeNode=t};this.handleOpacityScopeKeyDown=t=>{const e=t.shiftKey?10:1;const{key:s}=t;const n={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(n[s]){t.preventDefault();const i=n[s]*e;const o=this.baseColorFieldColor.alpha();const r=this.baseColorFieldColor.alpha(o+i);this.internalColorSet(r,false)}};this.allowEmpty=false;this.alphaChannel=false;this.channelsDisabled=false;this.color=xt;this.disabled=false;this.format="auto";this.hideChannels=false;this.hexDisabled=false;this.hideHex=false;this.hideSaved=false;this.savedDisabled=false;this.scale="m";this.storageId=undefined;this.messageOverrides=undefined;this.numberingSystem=undefined;this.value=h(u(xt,this.alphaChannel));this.defaultMessages=undefined;this.channelMode="rgb";this.channels=this.toChannels(xt);this.dimensions=zt.m;this.effectiveLocale="";this.messages=undefined;this.savedColors=[];this.colorFieldScopeTop=undefined;this.colorFieldScopeLeft=undefined;this.hueScopeLeft=undefined;this.opacityScopeLeft=undefined;this.scopeOrientation=undefined}handleAlphaChannelChange(t){const{format:e}=this;if(t&&e!=="auto"&&!p(e)){console.warn(`ignoring alphaChannel as the current format (${e}) does not support alpha`);this.alphaChannel=false}}handleColorChange(t,e){this.drawColorControls();this.updateChannelsFromColor(t);this.previousColor=e}handleFormatOrAlphaChannelChange(){this.setMode(this.format);this.internalColorSet(this.color,false,"internal")}handleScaleChange(t="m"){this.updateDimensions(t);this.updateCanvasSize("all");this.drawColorControls()}onMessagesChange(){}handleValueChange(t,e){const{allowEmpty:s,format:n}=this;const i=!s||t;let o=false;if(i){const s=g(t);if(!s||n!=="auto"&&s!==n){this.showIncompatibleColorWarning(t,n);this.value=e;return}o=this.mode!==s;this.setMode(s,this.internalColorUpdateContext===null)}const r=this.activeCanvasInfo;if(this.internalColorUpdateContext==="initial"){return}if(this.internalColorUpdateContext==="user-interaction"){this.calciteColorPickerInput.emit();if(!r){this.calciteColorPickerChange.emit()}return}const a=s&&!t?null:vt(t!=null&&typeof t==="object"&&p(this.mode)?v(t):t);const l=!b(a,this.color);if(o||l){this.internalColorSet(a,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}}get baseColorFieldColor(){return this.color||this.previousColor||xt}effectiveLocaleChange(){K(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:e}=t;if(e!=="ArrowUp"&&e!=="ArrowDown"||!t.composedPath().some((t=>t.classList?.contains(kt.channel)))){return}const{shiftKey:s}=t;t.preventDefault();if(!this.color){this.internalColorSet(this.previousColor);t.stopPropagation();return}const n=9;this.shiftKeyChannelAdjustment=e==="ArrowUp"&&s?n:e==="ArrowDown"&&s?-n:0}async setFocus(){await O(this);this.el.focus()}async componentWillLoad(){$(this);const{allowEmpty:t,color:e,format:s,value:n}=this;const i=t&&!n;const o=g(n);const r=i||s==="auto"&&o||s===o;const a=i?null:r?vt(n):e;if(!r){this.showIncompatibleColorWarning(n,s)}this.setMode(s,false);this.internalColorSet(a,false,"initial");this.updateDimensions(this.scale);const l=`${Ct}${this.storageId}`;if(this.storageId&&localStorage.getItem(l)){this.savedColors=JSON.parse(localStorage.getItem(l))}await U(this)}connectedCallback(){S(this);I(this);P(this)}componentDidLoad(){D(this)}disconnectedCallback(){window.removeEventListener("pointermove",this.globalPointerMoveHandler);window.removeEventListener("pointerup",this.globalPointerUpHandler);A(this);q(this);T(this)}componentDidRender(){j(this)}render(){const{allowEmpty:t,channelsDisabled:e,color:n,colorFieldScopeLeft:i,colorFieldScopeTop:o,dimensions:{slider:{width:r},thumb:{radius:a}},hexDisabled:l,hideChannels:c,hideHex:h,hideSaved:d,hueScopeLeft:p,messages:g,alphaChannel:b,opacityScopeLeft:m,savedColors:w,savedDisabled:y,scale:v,scopeOrientation:k}=this;const x=n?u(n,b):null;const C=a;const M=p??r*xt.hue()/St.h;const S=a;const A=m??r*f(xt.alpha())/jt.max;const j=n===null;const F=k==="vertical";const O=l||h;const $=e||c;const D=y||d;const[I,q]=this.getAdjustedScopePosition(i,o);const[E,N]=this.getAdjustedScopePosition(M,C);const[L,K]=this.getAdjustedScopePosition(A,S);return s(z,{disabled:this.disabled},s("div",{class:kt.container},s("div",{class:kt.controlAndScope},s("canvas",{class:kt.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),s("div",{"aria-label":F?g.value:g.saturation,"aria-valuemax":F?St.v:St.s,"aria-valuemin":"0","aria-valuenow":(F?n?.saturationv():n?.value())||"0",class:{[kt.scope]:true,[kt.colorFieldScope]:true},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${q||0}px`,left:`${I||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),s("div",{class:kt.previewAndSliders},s("calcite-color-picker-swatch",{class:kt.preview,color:x,scale:"l"}),s("div",{class:kt.sliders},s("div",{class:kt.controlAndScope},s("canvas",{class:{[kt.slider]:true,[kt.hueSlider]:true},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),s("div",{"aria-label":g.hue,"aria-valuemax":St.h,"aria-valuemin":"0","aria-valuenow":n?.round().hue()||xt.round().hue(),class:{[kt.scope]:true,[kt.hueScope]:true},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${N}px`,left:`${E}px`},tabindex:"0",ref:this.storeHueScope})),b?s("div",{class:kt.controlAndScope},s("canvas",{class:{[kt.slider]:true,[kt.opacitySlider]:true},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),s("div",{"aria-label":g.opacity,"aria-valuemax":jt.max,"aria-valuemin":jt.min,"aria-valuenow":(n||xt).round().alpha(),class:{[kt.scope]:true,[kt.opacityScope]:true},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${K}px`,left:`${L}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),O&&$?null:s("div",{class:{[kt.controlSection]:true,[kt.section]:true}},s("div",{class:kt.hexAndChannelsGroup},O?null:s("div",{class:kt.hexOptions},s("calcite-color-picker-hex-input",{allowEmpty:t,alphaChannel:b,class:kt.control,messages:g,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:v,value:x})),$?null:s("calcite-tabs",{class:{[kt.colorModeContainer]:true,[kt.splitSection]:true},scale:v==="l"?"m":"s"},s("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),D?null:s("div",{class:{[kt.savedColorsSection]:true,[kt.section]:true}},s("div",{class:kt.header},s("label",null,g.saved),s("div",{class:kt.savedColorsButtons},s("calcite-button",{appearance:"transparent",class:kt.deleteColor,disabled:j,iconStart:"minus",kind:"neutral",label:g.deleteColor,onClick:this.deleteColor,scale:v,type:"button"}),s("calcite-button",{appearance:"transparent",class:kt.saveColor,disabled:j,iconStart:"plus",kind:"neutral",label:g.saveColor,onClick:this.saveColor,scale:v,type:"button"}))),w.length>0?s("div",{class:kt.savedColors},[...w.map((t=>s("calcite-color-picker-swatch",{class:kt.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:v,tabIndex:0})))]):null)))}handleKeyDown(t){if(t.key==="Enter"){t.preventDefault()}}showIncompatibleColorWarning(t,e){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${e})`)}setMode(t,e=true){const s=t==="auto"?this.mode:t;this.mode=this.ensureCompatibleMode(s,e)}ensureCompatibleMode(t,e){const{alphaChannel:s}=this;const n=p(t);if(s&&!n){const s=y(t);if(e){console.warn(`setting format to (${s}) as the provided one (${t}) does not support alpha`)}return s}if(!s&&n){const s=m(t);if(e){console.warn(`setting format to (${s}) as the provided one (${t}) does not support alpha`)}return s}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:e}}}=this;const s=At/e*t;this.internalColorSet(this.baseColorFieldColor.hue(s),false)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:e}}}=this;const s=d(jt.max/e*t);this.internalColorSet(this.baseColorFieldColor.alpha(s),false)}internalColorSet(t,e=true,s="user-interaction"){if(e&&b(t,this.color)){return}this.internalColorUpdateContext=s;this.color=t;this.value=this.toValue(t);this.internalColorUpdateContext=null}toValue(t,e=this.mode){if(!t){return null}const s="hex";if(e.includes(s)){const s=e===c.HEXA;return h(u(t.round(),s),s)}if(e.includes("-css")){const s=t[e.replace("-css","").replace("a","")]().round().string();const n=(e.endsWith("a")||e.endsWith("a-css"))&&t.alpha()===1;if(n){const e=s.slice(0,3);const n=s.slice(4,-1);return`${e}a(${n}, ${t.alpha()})`}return s}const n=t[m(e)]().round().object();if(e.endsWith("a")){return w(n)}return n}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:e}}}=this;return e*2-t}updateDimensions(t="m"){this.dimensions=zt[t]}drawColorField(){const t=this.colorFieldRenderingContext;const{dimensions:{colorField:{height:e,width:s}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string();t.fillRect(0,0,s,e);const n=t.createLinearGradient(0,0,s,0);n.addColorStop(0,"rgba(255,255,255,1)");n.addColorStop(1,"rgba(255,255,255,0)");t.fillStyle=n;t.fillRect(0,0,s,e);const i=t.createLinearGradient(0,0,0,e);i.addColorStop(0,"rgba(0,0,0,0)");i.addColorStop(1,"rgba(0,0,0,1)");t.fillStyle=i;t.fillRect(0,0,s,e);this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:e,width:s}){if(!t){return}const n=window.devicePixelRatio||1;t.width=s*n;t.height=e*n;t.style.height=`${e}px`;t.style.width=`${s}px`;const i=t.getContext("2d");i.scale(n,n)}updateCanvasSize(t="all"){const{dimensions:e}=this;if(t==="all"||t==="color-field"){this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,e.colorField)}const s={width:e.slider.width,height:e.slider.height+(e.thumb.radius-e.slider.height/2)*2};if(t==="all"||t==="hue-slider"){this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,s)}if(t==="all"||t==="opacity-slider"){this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,s)}}drawActiveColorFieldColor(){const{color:t}=this;if(!t){return}const e=t.hsv();const{dimensions:{colorField:{height:s,width:n},thumb:{radius:i}}}=this;const o=e.saturationv()/(St.s/n);const r=s-e.value()/(St.v/s);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o;this.colorFieldScopeTop=r}));this.drawThumb(this.colorFieldRenderingContext,i,o,r,e)}drawThumb(t,e,s,n,i){const o=0;const r=2*Math.PI;const a=1;t.beginPath();t.arc(s,n,e,o,r);t.fillStyle="#fff";t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=a;t.stroke();t.beginPath();t.arc(s,n,e-3,o,r);t.fillStyle=i.rgb().alpha(1).string();t.fill()}drawActiveHueSliderColor(){const{color:t}=this;if(!t){return}const e=t.hsv().saturationv(100).value(100);const{dimensions:{slider:{width:s},thumb:{radius:n}}}=this;const i=e.hue()/(At/s);const o=n;const r=this.getSliderBoundX(i,s,n);requestAnimationFrame((()=>{this.hueScopeLeft=r}));this.drawThumb(this.hueSliderRenderingContext,n,r,o,e)}drawHueSlider(){const t=this.hueSliderRenderingContext;const{dimensions:{slider:{height:e,width:s},thumb:{radius:n}}}=this;const i=0;const o=n-e/2;const r=t.createLinearGradient(0,0,s,0);const a=["red","yellow","lime","cyan","blue","magenta","#ff0004"];const l=1/(a.length-1);let c=0;a.forEach((t=>{r.addColorStop(c,vt(t).string());c+=l}));t.clearRect(0,0,s,e+this.getSliderCapSpacing()*2);this.drawSliderPath(t,e,s,i,o);t.fillStyle=r;t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=1;t.stroke();this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext;const{baseColorFieldColor:e,dimensions:{slider:{height:s,width:n},thumb:{radius:i}}}=this;const o=0;const r=i-s/2;t.clearRect(0,0,n,s+this.getSliderCapSpacing()*2);const a=t.createLinearGradient(0,r,n,0);const l=e.rgb().alpha(0);const c=e.rgb().alpha(.5);const h=e.rgb().alpha(1);a.addColorStop(0,l.string());a.addColorStop(.5,c.string());a.addColorStop(1,h.string());this.drawSliderPath(t,s,n,o,r);const u=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=u;t.fill();t.fillStyle=a;t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=1;t.stroke();this.drawActiveOpacitySliderColor()}drawSliderPath(t,e,s,n,i){const o=e/2+1;t.beginPath();t.moveTo(n+o,i);t.lineTo(n+s-o,i);t.quadraticCurveTo(n+s,i,n+s,i+o);t.lineTo(n+s,i+e-o);t.quadraticCurveTo(n+s,i+e,n+s-o,i+e);t.lineTo(n+o,i+e);t.quadraticCurveTo(n,i+e,n,i+e-o);t.lineTo(n,i+o);t.quadraticCurveTo(n,i,n+o,i);t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern){return this.checkerPattern}const t=document.createElement("canvas");t.width=10;t.height=10;const e=t.getContext("2d");e.fillStyle="#ccc";e.fillRect(0,0,10,10);e.fillStyle="#fff";e.fillRect(0,0,5,5);e.fillRect(5,5,5,5);this.checkerPattern=t;return t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t){return}const e=t;const{dimensions:{slider:{width:s},thumb:{radius:n}}}=this;const i=f(e.alpha())/(jt.max/s);const o=n;const r=this.getSliderBoundX(i,s,n);requestAnimationFrame((()=>{this.opacityScopeLeft=r}));this.drawThumb(this.opacitySliderRenderingContext,n,r,o,e)}getSliderBoundX(t,e,s){const n=L(t,e,s);return n===0?t:n===-1?E(t,0,e,s,s*2):E(t,0,e,e-s*2,e-s)}updateColorFromChannels(t){this.internalColorSet(vt(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:e}=this;const s=t[e]().array().map(((t,e)=>{const s=e===3;return s?t:Math.floor(t)}));if(s.length===3){s.push(1)}return s}getAdjustedScopePosition(t,e){return[t-Ft/2,e-Ft/2]}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{alphaChannel:["handleAlphaChannelChange","handleFormatOrAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};Dt.style=Ot;const It={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"};const qt=":host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}:host([hidden]){display:none}[hidden]{display:none}";const Et=vt();const Nt=class{constructor(s){t(this,s);this.calciteColorPickerHexInputChange=e(this,"calciteColorPickerHexInputChange",6);this.onHexInputBlur=()=>{const t=this.hexInputNode;const e=t.value;const s=`#${e}`;const{allowEmpty:n,internalColor:i}=this;const o=n&&!e;const r=k(s);this.onHexInputChange();if(o||x(s)&&r){return}t.value=n&&!i?"":this.formatHexForInternalInput(C(i.object()))};this.onOpacityInputBlur=()=>{const t=this.opacityInputNode;const e=t.value;const{allowEmpty:s,internalColor:n}=this;const i=s&&!e;if(i){return}t.value=s&&!n?"":this.formatOpacityForInternalInput(n)};this.onHexInputChange=()=>{const t=this.hexInputNode.value;let e=t;if(e){const t=h(e,false);const s=x(t)&&this.alphaChannel;if(s&&this.internalColor){const s=h(this.internalColor.hexa(),true).slice(-2);e=`${t+s}`}}this.internalSetValue(e,this.value)};this.onOpacityInputChange=()=>{const t=this.opacityInputNode;let e;if(!t.value){e=t.value}else{const s=d(Number(t.value));e=this.internalColor?.alpha(s).hexa()}this.internalSetValue(e,this.value)};this.onInputKeyDown=t=>{const{altKey:e,ctrlKey:s,metaKey:n,shiftKey:i}=t;const{alphaChannel:o,hexInputNode:r,internalColor:a,value:l}=this;const{key:c}=t;const h=t.composedPath();if(c==="Tab"||c==="Enter"){if(h.includes(r)){this.onHexInputChange()}else{this.onOpacityInputChange()}if(c==="Enter"){t.preventDefault()}return}const d=c==="ArrowDown"||c==="ArrowUp";const f=this.value;if(d){if(!l){this.internalSetValue(this.previousNonNullValue,f);t.preventDefault();return}const e=c==="ArrowUp"?1:-1;const s=i?10:1;this.internalSetValue(u(this.nudgeRGBChannels(a,s*e,h.includes(r)?"rgb":"a"),o),f);t.preventDefault();return}const p=e||s||n;const g=c.length===1;const b=M.test(c);if(g&&!p&&!b){t.preventDefault()}};this.onHexInputPaste=t=>{const e=t.clipboardData.getData("text");if(x(e)){t.preventDefault();this.hexInputNode.value=e.slice(1)}};this.previousNonNullValue=this.value;this.storeHexInputRef=t=>{this.hexInputNode=t};this.storeOpacityInputRef=t=>{this.opacityInputNode=t};this.allowEmpty=false;this.alphaChannel=false;this.hexLabel="Hex";this.messages=undefined;this.numberingSystem=undefined;this.scale="m";this.value=h(u(Et,this.alphaChannel),this.alphaChannel,true);this.internalColor=Et}connectedCallback(){const{allowEmpty:t,alphaChannel:e,value:s}=this;if(s){const t=h(s,e);if(x(t,e)){this.internalSetValue(t,t,false)}return}if(t){this.internalSetValue(null,null,false)}}componentWillLoad(){$(this)}componentDidLoad(){D(this)}handleValueChange(t,e){this.internalSetValue(t,e,false)}render(){const{alphaChannel:t,hexLabel:e,internalColor:n,messages:i,scale:o,value:r}=this;const a=this.formatHexForInternalInput(r);const l=this.formatOpacityForInternalInput(n);const c=o==="l"?"m":"s";return s("div",{class:It.container},s("calcite-input-text",{class:It.hexInput,label:i?.hex||e,maxLength:6,onCalciteInputTextChange:this.onHexInputChange,onCalciteInternalInputTextBlur:this.onHexInputBlur,onKeyDown:this.onInputKeyDown,onPaste:this.onHexInputPaste,prefixText:"#",scale:c,value:a,ref:this.storeHexInputRef}),t?s("calcite-input-number",{class:It.opacityInput,key:"opacity-input",label:i?.opacity,max:jt.max,maxLength:3,min:jt.min,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.onOpacityInputChange,onCalciteInternalInputNumberBlur:this.onOpacityInputBlur,onKeyDown:this.onInputKeyDown,scale:c,suffixText:"%",value:l,ref:this.storeOpacityInputRef}):null)}async setFocus(){await O(this);return a(this.hexInputNode)}internalSetValue(t,e,s=true){if(t){const{alphaChannel:e}=this;const n=h(t,e,e);if(x(n,e)){const{internalColor:t}=this;const i=vt(n);const o=h(u(i,e),e);const r=!t||o!==h(u(t,e),e);this.internalColor=i;this.previousNonNullValue=o;this.value=o;if(r&&s){this.calciteColorPickerHexInputChange.emit()}return}}else if(this.allowEmpty){this.internalColor=null;this.value=null;if(s){this.calciteColorPickerHexInputChange.emit()}return}this.value=e}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${f(t.alpha())}`:""}nudgeRGBChannels(t,e,s){let n;const i=t.array();const o=i.slice(0,3);if(s==="rgb"){const t=o.map((t=>t+e));n=[...t,this.alphaChannel?i[3]:undefined]}else{const s=d(f(t.alpha())+e);n=[...o,s]}return vt(n)}get el(){return n(this)}static get watchers(){return{value:["handleValueChange"]}}};Nt.style=qt;const Lt={swatch:"swatch",noColorSwatch:"swatch--no-color",checker:"checker"};const Kt={borderLight:"rgba(0, 0, 0, 0.3)",borderDark:"rgba(255, 255, 255, 0.15)"};const Ut=4;const Pt={squareSize:Ut,size:Ut*2};const Tt=":host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}.swatch--no-color line{stroke:var(--calcite-color-status-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}";const _t=class{constructor(e){t(this,e);this.active=false;this.color=undefined;this.scale="m"}handleColorChange(t){this.internalColor=t?vt(t):null}componentWillLoad(){this.handleColorChange(this.color)}render(){const t=!this.internalColor;const e={[Lt.swatch]:true,[Lt.noColorSwatch]:t};return s("svg",{class:e,xmlns:"http://www.w3.org/2000/svg"},this.renderSwatch())}renderSwatch(){const{active:t,el:e,internalColor:n}=this;const o=t?"100%":"0";const r=l(e);const a=r==="light"?Kt.borderLight:Kt.borderDark;const c={height:"100%",rx:o,stroke:a,["stroke-width"]:"2",width:"100%"};const h=!n;if(h){return s(i,null,s("clipPath",{id:"shape"},s("rect",{height:"100%",rx:o,width:"100%"})),s("rect",{"clip-path":`inset(0 round ${o})`,rx:o,...c}),s("line",{"clip-path":"url(#shape)","stroke-width":"3",x1:"100%",x2:"0",y1:"0",y2:"100%"}))}const d=n.alpha();const f=u(n);const p=u(n,d<1);return s(i,null,s("title",null,p),s("defs",null,s("pattern",{height:Pt.size,id:"checker",patternUnits:"userSpaceOnUse",width:Pt.size,x:"0",y:"0"},s("rect",{class:Lt.checker,height:Pt.squareSize,width:Pt.squareSize,x:"0",y:"0"}),s("rect",{class:Lt.checker,height:Pt.squareSize,width:Pt.squareSize,x:Pt.squareSize,y:Pt.squareSize}))),s("rect",{fill:"url(#checker)",height:"100%",rx:o,width:"100%"}),s("rect",{fill:f,style:{"clip-path":d<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round ${o})`},...c}),d<1?s("rect",{fill:p,key:"opacity-fill",style:{"clip-path":"polygon(100% 0, 100% 100%, 0 100%)"},...c}):null)}get el(){return n(this)}static get watchers(){return{color:["handleColorChange"]}}};_t.style=Tt;export{Dt as calcite_color_picker,Nt as calcite_color_picker_hex_input,_t as calcite_color_picker_swatch};
|
|
7
|
+
//# sourceMappingURL=p-aebbe321.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.3.0
|
|
5
|
+
*/
|
|
6
|
+
const t={container:"container",actionsStart:"actions-start",contentStart:"content-start",content:"content",contentEnd:"content-end",actionsEnd:"actions-end"};const n={actionsStart:"actions-start",contentStart:"content-start",contentEnd:"content-end",actionsEnd:"actions-end"};export{t as C,n as S};
|
|
7
|
+
//# sourceMappingURL=p-b34493a5.js.map
|