@esri/solutions-components 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/layer-table/resources.json +1 -0
- package/dist/assets/t9n/layer-table/resources_en.json +1 -0
- package/dist/cjs/ExpandToggle-7ca802d2.js +118 -0
- package/dist/cjs/FloatingArrow-f4896a36.js +50 -0
- package/dist/cjs/Heading-ef796c7e.js +25 -0
- package/dist/cjs/app-globals-9541aa87.js +69 -0
- package/dist/cjs/ar-4ea5cf50.js +104 -0
- package/dist/cjs/array-967ea191.js +17 -0
- package/dist/cjs/bg-bbb11dad.js +82 -0
- package/dist/cjs/browser-abd0e2fa.js +23 -0
- package/dist/cjs/bs-0c7323f3.js +51 -0
- package/dist/cjs/buffer-tools_4.cjs.entry.js +14 -14
- package/dist/cjs/ca-8c132b5c.js +71 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +11 -10
- package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +74 -29
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action_2.cjs.entry.js +19 -17
- package/dist/cjs/calcite-alert_3.cjs.entry.js +18 -33
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block.cjs.entry.js +16 -16
- package/dist/cjs/calcite-button.cjs.entry.js +22 -19
- package/dist/cjs/calcite-card.cjs.entry.js +9 -9
- package/dist/cjs/calcite-checkbox_3.cjs.entry.js +17 -16
- package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +16 -15
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +272 -72
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +17 -18
- package/dist/cjs/calcite-date-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph.cjs.entry.js +3 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +13 -8
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -25
- package/dist/cjs/calcite-input-number.cjs.entry.js +593 -0
- package/dist/cjs/calcite-input-text.cjs.entry.js +356 -0
- package/dist/cjs/calcite-input-time-picker-07edd190.js +1849 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +18 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +53 -16
- package/dist/cjs/calcite-input_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -13
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +11 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
- package/dist/cjs/calcite-notice_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +120 -55
- package/dist/cjs/calcite-panel_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pick-list.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -16
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +11 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sheet.cjs.entry.js +8 -8
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +120 -61
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +9 -15
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +38 -21
- package/dist/cjs/calcite-stepper.cjs.entry.js +197 -35
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -7
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile-select.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -12
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
- package/dist/cjs/card-manager_3.cjs.entry.js +15 -3
- package/dist/cjs/component-98c27d5f.js +17 -0
- package/dist/cjs/conditionalSlot-1efd1f30.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -1
- package/dist/cjs/cs-beb23778.js +147 -0
- package/dist/cjs/da-d2413a66.js +66 -0
- package/dist/cjs/date-628b8529.js +261 -0
- package/dist/cjs/de-73c09fa5.js +91 -0
- package/dist/cjs/de-at-c80ba65c.js +90 -0
- package/dist/cjs/de-ch-07611a55.js +90 -0
- package/dist/cjs/dom-5c1fefc1.js +1077 -0
- package/dist/cjs/el-85562376.js +66 -0
- package/dist/cjs/en-au-46f6054b.js +66 -0
- package/dist/cjs/en-ca-0c0a3c9b.js +65 -0
- package/dist/cjs/en-gb-60b63416.js +69 -0
- package/dist/cjs/es-699e9ab7.js +66 -0
- package/dist/cjs/es-mx-0a692d1b.js +65 -0
- package/dist/cjs/et-7120f20c.js +92 -0
- package/dist/cjs/fi-48d50457.js +115 -0
- package/dist/cjs/filter-6d5fdb8c.js +765 -0
- package/dist/cjs/floating-ui-b601790a.js +1902 -0
- package/dist/cjs/focusTrapComponent-21d85ddf.js +1028 -0
- package/dist/cjs/form-81cf84d1.js +260 -0
- package/dist/cjs/fr-181ff7ad.js +68 -0
- package/dist/cjs/fr-ch-be3e8d46.js +66 -0
- package/dist/cjs/globalAttributes-b155944a.js +77 -0
- package/dist/cjs/guid-c95a49d2.js +26 -0
- package/dist/cjs/he-e3d579f4.js +105 -0
- package/dist/cjs/hi-330caf2c.js +65 -0
- package/dist/cjs/hr-dc91d7f6.js +80 -0
- package/dist/cjs/hu-20d2f283.js +88 -0
- package/dist/cjs/id-621968dc.js +66 -0
- package/dist/cjs/index-4c1b0d3c.js +73 -0
- package/dist/cjs/index-c0ee2715.js +206 -0
- package/dist/cjs/interactive-85d0402d.js +147 -0
- package/dist/cjs/it-68cc02eb.js +66 -0
- package/dist/cjs/it-ch-125ed733.js +66 -0
- package/dist/cjs/ja-42400345.js +72 -0
- package/dist/cjs/key-cdf99d14.js +19 -0
- package/dist/cjs/ko-af71930f.js +72 -0
- package/dist/cjs/label-8a389916.js +154 -0
- package/dist/cjs/loadable-3358bfc7.js +94 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/locale-44d38e1a.js +607 -0
- package/dist/cjs/lt-7fed7d9b.js +97 -0
- package/dist/cjs/lv-69552dce.js +66 -0
- package/dist/cjs/math-950b6ada.js +60 -0
- package/dist/cjs/mk-d7e02da4.js +66 -0
- package/dist/cjs/nb-bd55eaf3.js +67 -0
- package/dist/cjs/nl-cd98d891.js +67 -0
- package/dist/cjs/observers-0f180f88.js +53 -0
- package/dist/cjs/openCloseComponent-7afeb520.js +92 -0
- package/dist/cjs/pl-2d3c3597.js +114 -0
- package/dist/cjs/pt-93b5d4f4.js +67 -0
- package/dist/cjs/pt-br-839d5879.js +65 -0
- package/dist/cjs/resources-19f11bde.js +29 -0
- package/dist/cjs/resources-1f09ad7f.js +20 -0
- package/dist/cjs/resources-854eafcd.js +2062 -0
- package/dist/cjs/resources-87f6e576.js +39 -0
- package/dist/cjs/resources-89626d92.js +32 -0
- package/dist/cjs/resources-a95a6548.js +26 -0
- package/dist/cjs/resources-b4f2bec2.js +27 -0
- package/dist/cjs/resources-b89c3642.js +52 -0
- package/dist/cjs/resources-d3562a7e.js +29 -0
- package/dist/cjs/resources-e1672ba5.js +23 -0
- package/dist/cjs/ro-faf4d226.js +66 -0
- package/dist/cjs/ru-52c88060.js +126 -0
- package/dist/cjs/shared-list-render-6939bcac.js +364 -0
- package/dist/cjs/sk-3d496fd7.js +148 -0
- package/dist/cjs/sl-5422921c.js +168 -0
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/sortableComponent-f5f88018.js +3107 -0
- package/dist/cjs/sr-23a8f847.js +101 -0
- package/dist/cjs/sv-22b72d3a.js +71 -0
- package/dist/cjs/t9n-02f62c58.js +100 -0
- package/dist/cjs/th-73ce9bbd.js +65 -0
- package/dist/cjs/time-bfaa8f38.js +289 -0
- package/dist/cjs/tr-f4530a05.js +66 -0
- package/dist/cjs/uk-117902c4.js +104 -0
- package/dist/cjs/utils-4d5934ab.js +95 -0
- package/dist/cjs/utils-75231cf1.js +221 -0
- package/dist/cjs/utils-90ce30aa.js +64 -0
- package/dist/cjs/utils-b6e28e37.js +62 -0
- package/dist/cjs/vi-6ef0f273.js +70 -0
- package/dist/cjs/zh-cn-e801dfdd.js +94 -0
- package/dist/cjs/zh-hk-b4793c58.js +71 -0
- package/dist/cjs/zh-tw-f7e62c05.js +92 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -1
- package/dist/collection/components/layer-table/layer-table.css +5 -0
- package/dist/collection/components/layer-table/layer-table.js +45 -2
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +4 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-bar.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +9 -7
- package/dist/components/alert.js +8 -25
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/button.js +9 -6
- package/dist/components/calcite-accordion-item.js +6 -5
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +3 -3
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -2
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +12 -11
- package/dist/components/calcite-input-time-picker.js +8 -7
- package/dist/components/calcite-input-time-zone.js +39 -2
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +19 -4
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +6 -12
- package/dist/components/calcite-stepper-item.js +34 -12
- package/dist/components/calcite-stepper.js +224 -34
- package/dist/components/calcite-table-row.js +2 -1
- package/dist/components/calcite-table.js +2 -2
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +5 -4
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +6 -6
- package/dist/components/combobox.js +252 -47
- package/dist/components/component.js +15 -0
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/crowdsource-manager.js +3 -1
- package/dist/components/date-picker-day.js +3 -5
- package/dist/components/date-picker-month-header.js +4 -4
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +3 -3
- package/dist/components/date.js +1 -1
- package/dist/components/dom.js +26 -11
- package/dist/components/dropdown-item.js +4 -3
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +2 -2
- package/dist/components/floating-ui.js +21 -23
- package/dist/components/focusTrapComponent.js +46 -27
- package/dist/components/form.js +1 -29
- package/dist/components/globalAttributes.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/icon.js +9 -4
- package/dist/components/index.js +2 -2
- package/dist/components/index4.js +40 -6
- package/dist/components/index5.js +15 -15
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +12 -7
- package/dist/components/input-text.js +5 -4
- package/dist/components/input.js +8 -7
- package/dist/components/interactive.js +3 -3
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +16 -3
- package/dist/components/list-item.js +29 -9
- package/dist/components/list.js +28 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +4 -3
- package/dist/components/notice.js +4 -3
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +120 -51
- package/dist/components/panel.js +5 -5
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +4 -3
- 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/scrim.js +4 -2
- package/dist/components/segmented-control-item.js +2 -2
- package/dist/components/select.js +3 -2
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/stack.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +21 -10
- package/dist/components/tab-title.js +13 -18
- package/dist/components/tab.js +13 -7
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +3 -2
- package/dist/components/tabs.js +51 -2
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +4 -3
- package/dist/components/tooltip.js +4 -4
- package/dist/components/tree-item.js +5 -4
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +6 -3
- package/dist/components/utils3.js +4 -2
- package/dist/components/value-list-item.js +4 -2
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-c3ebdd3b.js +110 -0
- package/dist/esm/FloatingArrow-b38b7259.js +48 -0
- package/dist/esm/Heading-272fcae6.js +22 -0
- package/dist/esm/app-globals-7b136f05.js +67 -0
- package/dist/esm/ar-1d739ee3.js +102 -0
- package/dist/esm/array-5ed5be45.js +15 -0
- package/dist/esm/bg-5aa64085.js +80 -0
- package/dist/esm/browser-aaebde6b.js +21 -0
- package/dist/esm/bs-6fe73bc9.js +49 -0
- package/dist/esm/buffer-tools_4.entry.js +14 -14
- package/dist/esm/ca-78e2432d.js +69 -0
- package/dist/esm/calcite-accordion-item.entry.js +11 -10
- package/dist/esm/calcite-accordion.entry.js +1 -1
- package/dist/esm/calcite-action-bar_3.entry.js +74 -29
- package/dist/esm/calcite-action-group_2.entry.js +12 -12
- package/dist/esm/calcite-action-pad.entry.js +13 -13
- package/dist/esm/calcite-action_2.entry.js +19 -17
- package/dist/esm/calcite-alert_3.entry.js +18 -33
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block-section.entry.js +10 -10
- package/dist/esm/calcite-block.entry.js +16 -16
- package/dist/esm/calcite-button.entry.js +22 -19
- package/dist/esm/calcite-card.entry.js +9 -9
- package/dist/esm/calcite-checkbox_3.entry.js +17 -16
- package/dist/esm/calcite-chip-group.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +16 -15
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +13 -13
- package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
- package/dist/esm/calcite-combobox_6.entry.js +272 -72
- package/dist/esm/calcite-date-picker-day_3.entry.js +17 -18
- package/dist/esm/calcite-date-picker.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_3.entry.js +16 -16
- package/dist/esm/calcite-flow-item.entry.js +14 -13
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph.entry.js +3 -3
- package/dist/esm/calcite-icon.entry.js +13 -8
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +26 -25
- package/dist/esm/calcite-input-number.entry.js +589 -0
- package/dist/esm/calcite-input-text.entry.js +352 -0
- package/dist/esm/calcite-input-time-picker-b0e9c281.js +1846 -0
- package/dist/esm/calcite-input-time-picker.entry.js +18 -17
- package/dist/esm/calcite-input-time-zone.entry.js +53 -16
- package/dist/esm/calcite-input_2.entry.js +20 -19
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +5 -5
- package/dist/esm/calcite-menu-item.entry.js +9 -9
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-meter.entry.js +9 -9
- package/dist/esm/calcite-modal.entry.js +14 -13
- package/dist/esm/calcite-navigation-logo.entry.js +11 -4
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +5 -5
- package/dist/esm/calcite-notice_2.entry.js +20 -19
- package/dist/esm/calcite-option_2.entry.js +12 -11
- package/dist/esm/calcite-pagination.entry.js +120 -55
- package/dist/esm/calcite-panel_2.entry.js +17 -17
- package/dist/esm/calcite-pick-list-group.entry.js +7 -7
- package/dist/esm/calcite-pick-list-item.entry.js +13 -13
- package/dist/esm/calcite-pick-list.entry.js +11 -11
- package/dist/esm/calcite-popover.entry.js +17 -16
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +11 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
- package/dist/esm/calcite-sheet.entry.js +8 -8
- package/dist/esm/calcite-shell-center-row.entry.js +6 -6
- package/dist/esm/calcite-shell-panel_14.entry.js +122 -63
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +9 -15
- package/dist/esm/calcite-stepper-item.entry.js +38 -21
- package/dist/esm/calcite-stepper.entry.js +198 -36
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-table-cell_2.entry.js +14 -13
- package/dist/esm/calcite-table-row.entry.js +8 -7
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +13 -13
- package/dist/esm/calcite-tile-select-group.entry.js +2 -2
- package/dist/esm/calcite-tile-select.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-time-picker.entry.js +13 -12
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/card-manager_3.entry.js +15 -3
- package/dist/esm/component-7a1690e7.js +15 -0
- package/dist/esm/conditionalSlot-ea10aa41.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +2 -1
- package/dist/esm/cs-e623da5b.js +145 -0
- package/dist/esm/da-b065ea31.js +64 -0
- package/dist/esm/date-713af2d5.js +245 -0
- package/dist/esm/de-674a391a.js +89 -0
- package/dist/esm/de-at-94f5df4e.js +88 -0
- package/dist/esm/de-ch-977042ef.js +88 -0
- package/dist/esm/dom-7b3caf49.js +1047 -0
- package/dist/esm/el-3bf5add5.js +64 -0
- package/dist/esm/en-au-b012c4f1.js +64 -0
- package/dist/esm/en-ca-e94b72aa.js +63 -0
- package/dist/esm/en-gb-f01e285d.js +67 -0
- package/dist/esm/es-b0a092b5.js +64 -0
- package/dist/esm/es-mx-318553ae.js +63 -0
- package/dist/esm/et-4b370a83.js +90 -0
- package/dist/esm/fi-01e2268c.js +113 -0
- package/dist/esm/filter-77954777.js +763 -0
- package/dist/esm/floating-ui-5f9b22b5.js +1894 -0
- package/dist/esm/focusTrapComponent-971a945b.js +1023 -0
- package/dist/esm/form-e5d8cf1d.js +252 -0
- package/dist/esm/fr-c98a937e.js +66 -0
- package/dist/esm/fr-ch-32c7c9be.js +64 -0
- package/dist/esm/globalAttributes-8f64aaf3.js +74 -0
- package/dist/esm/guid-abceb248.js +24 -0
- package/dist/esm/he-bea2cda9.js +103 -0
- package/dist/esm/hi-88b336f9.js +63 -0
- package/dist/esm/hr-1ba83f9d.js +78 -0
- package/dist/esm/hu-cb7c9b7d.js +86 -0
- package/dist/esm/id-401c4f4b.js +64 -0
- package/dist/esm/index-5110a27a.js +71 -0
- package/dist/esm/index-d8ff08ed.js +204 -0
- package/dist/esm/interactive-53ef126b.js +143 -0
- package/dist/esm/it-aee1b55c.js +64 -0
- package/dist/esm/it-ch-2bacdd40.js +64 -0
- package/dist/esm/ja-14a21ba5.js +70 -0
- package/dist/esm/key-242646ba.js +16 -0
- package/dist/esm/ko-a451f6de.js +70 -0
- package/dist/esm/label-be72bd90.js +148 -0
- package/dist/esm/loadable-a9b6b87e.js +89 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-f23b92b1.js +594 -0
- package/dist/esm/lt-97185284.js +95 -0
- package/dist/esm/lv-742b3967.js +64 -0
- package/dist/esm/math-7162ad13.js +54 -0
- package/dist/esm/mk-d63a58c3.js +64 -0
- package/dist/esm/nb-a9b71f26.js +65 -0
- package/dist/esm/nl-88f97550.js +65 -0
- package/dist/esm/observers-4ec1ca0a.js +51 -0
- package/dist/esm/openCloseComponent-79521e6e.js +90 -0
- package/dist/esm/pl-6d408a9c.js +112 -0
- package/dist/esm/pt-bfc774aa.js +65 -0
- package/dist/esm/pt-br-bef64ce0.js +63 -0
- package/dist/esm/resources-120cdd90.js +35 -0
- package/dist/esm/resources-6a27a5e7.js +26 -0
- package/dist/esm/resources-7de224d3.js +24 -0
- package/dist/esm/resources-8c00c1ef.js +24 -0
- package/dist/esm/resources-91b0f96d.js +20 -0
- package/dist/esm/resources-99ae29ef.js +28 -0
- package/dist/esm/resources-b1d1efb3.js +48 -0
- package/dist/esm/resources-b56d35f9.js +22 -0
- package/dist/esm/resources-b994d084.js +20 -0
- package/dist/esm/resources-d9c39906.js +2051 -0
- package/dist/esm/ro-6b678231.js +64 -0
- package/dist/esm/ru-4f0974b4.js +124 -0
- package/dist/esm/shared-list-render-0fe2fe03.js +342 -0
- package/dist/esm/sk-4694961f.js +146 -0
- package/dist/esm/sl-abe686d3.js +166 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/sortableComponent-0b6eef97.js +3103 -0
- package/dist/esm/sr-a7201cef.js +99 -0
- package/dist/esm/sv-8cba5484.js +69 -0
- package/dist/esm/t9n-9d03f26d.js +95 -0
- package/dist/esm/th-b1c38718.js +63 -0
- package/dist/esm/time-1361fac3.js +274 -0
- package/dist/esm/tr-069d2eb8.js +64 -0
- package/dist/esm/uk-7f9ed1d7.js +102 -0
- package/dist/esm/utils-2cd02be4.js +61 -0
- package/dist/esm/utils-404ac39d.js +87 -0
- package/dist/esm/utils-93bb7d2c.js +203 -0
- package/dist/esm/utils-c0f61fc0.js +51 -0
- package/dist/esm/vi-94474938.js +68 -0
- package/dist/esm/zh-cn-4428e0d5.js +92 -0
- package/dist/esm/zh-hk-07262583.js +69 -0
- package/dist/esm/zh-tw-43ddb906.js +90 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +2 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +37 -42
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +17 -64
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +2 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +6 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +36 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +22 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +116 -243
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +4 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +13 -13
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +36 -25
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +4 -16
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +27 -12
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +39 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +4 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +12 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +23 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +6 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +3 -3
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +9 -3
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +13 -20
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +2 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +3 -3
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +27 -27
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +8 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +96 -3
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +36 -14
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +28 -28
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +24 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +26 -27
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +7 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +1 -1
- package/dist/solutions-components/assets/combobox/t9n/index.d.ts +3 -0
- package/dist/solutions-components/assets/combobox/t9n/messages.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_en.json +4 -1
- package/dist/solutions-components/assets/icon/boxChartSeries16.json +1 -0
- package/dist/solutions-components/assets/icon/boxChartSeries24.json +1 -0
- package/dist/solutions-components/assets/icon/boxChartSeries32.json +1 -0
- package/dist/solutions-components/assets/icon/breakRecurrence16.json +1 -0
- package/dist/solutions-components/assets/icon/breakRecurrence24.json +1 -0
- package/dist/solutions-components/assets/icon/breakRecurrence32.json +1 -0
- package/dist/solutions-components/assets/icon/chevronEnd16.json +1 -0
- package/dist/solutions-components/assets/icon/chevronEnd24.json +1 -0
- package/dist/solutions-components/assets/icon/chevronEnd32.json +1 -0
- package/dist/solutions-components/assets/icon/chevronStart16.json +1 -0
- package/dist/solutions-components/assets/icon/chevronStart24.json +1 -0
- package/dist/solutions-components/assets/icon/chevronStart32.json +1 -0
- package/dist/solutions-components/assets/icon/collaborationUser16.json +1 -0
- package/dist/solutions-components/assets/icon/collaborationUser24.json +1 -0
- package/dist/solutions-components/assets/icon/collaborationUser32.json +1 -0
- package/dist/solutions-components/assets/icon/configureGridUnit16.json +1 -0
- package/dist/solutions-components/assets/icon/configureGridUnit24.json +1 -0
- package/dist/solutions-components/assets/icon/configureGridUnit32.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsUnit16.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsUnit24.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsUnit32.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsWall16.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsWall24.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsWall32.json +1 -0
- package/dist/solutions-components/assets/icon/employeeId16.json +1 -0
- package/dist/solutions-components/assets/icon/employeeId24.json +1 -0
- package/dist/solutions-components/assets/icon/employeeId32.json +1 -0
- package/dist/solutions-components/assets/icon/fileUser16.json +1 -0
- package/dist/solutions-components/assets/icon/fileUser24.json +1 -0
- package/dist/solutions-components/assets/icon/fileUser32.json +1 -0
- package/dist/solutions-components/assets/icon/flipVertical16.json +1 -0
- package/dist/solutions-components/assets/icon/flipVertical24.json +1 -0
- package/dist/solutions-components/assets/icon/flipVertical32.json +1 -0
- package/dist/solutions-components/assets/icon/groundControlPoint16.json +1 -0
- package/dist/solutions-components/assets/icon/groundControlPoint24.json +1 -0
- package/dist/solutions-components/assets/icon/groundControlPoint32.json +1 -0
- package/dist/solutions-components/assets/icon/imageCollectionExplorer16.json +1 -0
- package/dist/solutions-components/assets/icon/imageCollectionExplorer24.json +1 -0
- package/dist/solutions-components/assets/icon/imageCollectionExplorer32.json +1 -0
- package/dist/solutions-components/assets/icon/imageMagnifyingGlass16.json +1 -0
- package/dist/solutions-components/assets/icon/imageMagnifyingGlass24.json +1 -0
- package/dist/solutions-components/assets/icon/imageMagnifyingGlass32.json +1 -0
- package/dist/solutions-components/assets/icon/layoutCompact16.json +1 -0
- package/dist/solutions-components/assets/icon/layoutCompact24.json +1 -0
- package/dist/solutions-components/assets/icon/layoutCompact32.json +1 -0
- package/dist/solutions-components/assets/icon/layoutSpacious16.json +1 -0
- package/dist/solutions-components/assets/icon/layoutSpacious24.json +1 -0
- package/dist/solutions-components/assets/icon/layoutSpacious32.json +1 -0
- package/dist/solutions-components/assets/icon/mergeDetails16.json +1 -0
- package/dist/solutions-components/assets/icon/mergeDetails24.json +1 -0
- package/dist/solutions-components/assets/icon/mergeDetails32.json +1 -0
- package/dist/solutions-components/assets/icon/mergeUnits16.json +1 -0
- package/dist/solutions-components/assets/icon/mergeUnits24.json +1 -0
- package/dist/solutions-components/assets/icon/mergeUnits32.json +1 -0
- package/dist/solutions-components/assets/icon/partner16.json +1 -0
- package/dist/solutions-components/assets/icon/partner24.json +1 -0
- package/dist/solutions-components/assets/icon/partner32.json +1 -0
- package/dist/solutions-components/assets/icon/polygonSelect16.json +1 -0
- package/dist/solutions-components/assets/icon/polygonSelect24.json +1 -0
- package/dist/solutions-components/assets/icon/polygonSelect32.json +1 -0
- package/dist/solutions-components/assets/icon/presentationX16.json +1 -0
- package/dist/solutions-components/assets/icon/presentationX24.json +1 -0
- package/dist/solutions-components/assets/icon/presentationX32.json +1 -0
- package/dist/solutions-components/assets/icon/scanArea16.json +1 -0
- package/dist/solutions-components/assets/icon/scanArea24.json +1 -0
- package/dist/solutions-components/assets/icon/scanArea32.json +1 -0
- package/dist/solutions-components/assets/icon/scanCorridor16.json +1 -0
- package/dist/solutions-components/assets/icon/scanCorridor24.json +1 -0
- package/dist/solutions-components/assets/icon/scanCorridor32.json +1 -0
- package/dist/solutions-components/assets/icon/scanCrosshatch16.json +1 -0
- package/dist/solutions-components/assets/icon/scanCrosshatch24.json +1 -0
- package/dist/solutions-components/assets/icon/scanCrosshatch32.json +1 -0
- package/dist/solutions-components/assets/icon/scanPerimeter16.json +1 -0
- package/dist/solutions-components/assets/icon/scanPerimeter24.json +1 -0
- package/dist/solutions-components/assets/icon/scanPerimeter32.json +1 -0
- package/dist/solutions-components/assets/icon/scanVertical16.json +1 -0
- package/dist/solutions-components/assets/icon/scanVertical24.json +1 -0
- package/dist/solutions-components/assets/icon/scanVertical32.json +1 -0
- package/dist/solutions-components/assets/icon/speechBubbleLike16.json +1 -0
- package/dist/solutions-components/assets/icon/speechBubbleLike24.json +1 -0
- package/dist/solutions-components/assets/icon/speechBubbleLike32.json +1 -0
- package/dist/solutions-components/assets/icon/splitUnits16.json +1 -0
- package/dist/solutions-components/assets/icon/splitUnits24.json +1 -0
- package/dist/solutions-components/assets/icon/splitUnits32.json +1 -0
- package/dist/solutions-components/assets/icon/storage16.json +1 -0
- package/dist/solutions-components/assets/icon/storage24.json +1 -0
- package/dist/solutions-components/assets/icon/storage32.json +1 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +4 -4
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +4 -4
- package/dist/solutions-components/assets/pagination/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/pagination/t9n/messages.json +3 -1
- package/dist/solutions-components/assets/pagination/t9n/messages_en.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_nl.json +2 -2
- package/dist/solutions-components/assets/stepper/t9n/index.d.ts +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ar.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_bg.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_bs.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ca.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_cs.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_da.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_de.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_el.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_en.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_es.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_et.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_fi.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_fr.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_he.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_hr.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_hu.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_id.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_it.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ja.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ko.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_lt.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_lv.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_nl.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_no.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_pl.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_pt-BR.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_pt-PT.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ro.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ru.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_sk.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_sl.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_sr.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_sv.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_th.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_tr.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_uk.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_vi.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_zh-CN.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_zh-HK.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_zh-TW.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/index.d.ts +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ar.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_bg.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_bs.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ca.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_cs.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_da.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_de.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_el.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_en.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_es.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_et.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_fi.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_fr.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_he.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_hr.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_hu.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_id.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_it.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ja.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ko.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_lt.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_lv.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_nl.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_no.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_pl.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_pt-BR.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_pt-PT.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ro.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ru.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_sk.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_sl.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_sr.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_sv.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_th.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_tr.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_uk.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_vi.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_zh-CN.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_zh-HK.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_zh-TW.json +5 -0
- package/dist/solutions-components/p-00778753.entry.js +28 -0
- package/dist/solutions-components/p-014bea09.entry.js +11 -0
- package/dist/solutions-components/p-01835985.js +11 -0
- package/dist/solutions-components/p-0303091f.entry.js +11 -0
- package/dist/solutions-components/p-037ab3c5.entry.js +11 -0
- package/dist/solutions-components/p-039e518a.entry.js +11 -0
- package/dist/solutions-components/p-03ddee7e.entry.js +11 -0
- package/dist/solutions-components/p-08916647.entry.js +12 -0
- package/dist/solutions-components/p-0c322ca5.entry.js +6 -0
- package/dist/solutions-components/p-0c43e485.js +6 -0
- package/dist/solutions-components/p-0ed276ee.js +6 -0
- package/dist/solutions-components/p-0fc9b854.entry.js +11 -0
- package/dist/solutions-components/p-118bcff3.js +11 -0
- package/dist/solutions-components/p-132a0716.js +6 -0
- package/dist/solutions-components/p-1539a6fa.entry.js +11 -0
- package/dist/solutions-components/p-156f2d47.js +6 -0
- package/dist/solutions-components/p-16adafcb.js +6 -0
- package/dist/solutions-components/p-1814d28b.js +11 -0
- package/dist/solutions-components/p-1a8e8246.js +16 -0
- package/dist/solutions-components/p-1af5af80.js +11 -0
- package/dist/solutions-components/p-1be88141.entry.js +12 -0
- package/dist/solutions-components/p-1bf91a04.js +11 -0
- package/dist/solutions-components/p-1e50346e.entry.js +11 -0
- package/dist/solutions-components/p-1f283ddb.js +11 -0
- package/dist/solutions-components/p-2295c2dd.entry.js +6 -0
- package/dist/solutions-components/p-23328381.entry.js +6 -0
- package/dist/solutions-components/p-2dfb4e56.entry.js +16 -0
- package/dist/solutions-components/p-2e730210.entry.js +6 -0
- package/dist/solutions-components/p-2f268d5b.entry.js +16 -0
- package/dist/solutions-components/p-308024dc.js +11 -0
- package/dist/solutions-components/p-3124eab2.entry.js +17 -0
- package/dist/solutions-components/p-31c65694.entry.js +6 -0
- package/dist/solutions-components/p-32d25bcb.js +11 -0
- package/dist/solutions-components/p-3640823f.entry.js +17 -0
- package/dist/solutions-components/p-367c73f3.entry.js +6 -0
- package/dist/solutions-components/p-37f44acc.js +11 -0
- package/dist/solutions-components/p-3870751d.js +6 -0
- package/dist/solutions-components/p-3a8f5449.entry.js +11 -0
- package/dist/solutions-components/p-3f0a680f.js +6 -0
- package/dist/solutions-components/p-4031b480.js +6 -0
- package/dist/solutions-components/p-406c320e.js +11 -0
- package/dist/solutions-components/p-40827722.js +11 -0
- package/dist/solutions-components/p-4147ecf0.js +11 -0
- package/dist/solutions-components/p-430908f8.js +6 -0
- package/dist/solutions-components/p-44b3bbf8.entry.js +11 -0
- package/dist/solutions-components/p-46a7caf2.js +6 -0
- package/dist/solutions-components/p-470345d6.js +11 -0
- package/dist/solutions-components/p-483a5477.js +6 -0
- package/dist/solutions-components/p-49bb8952.js +11 -0
- package/dist/solutions-components/p-4c365c5e.entry.js +11 -0
- package/dist/solutions-components/p-4c70b352.entry.js +6 -0
- package/dist/solutions-components/p-4f6aa2f6.js +11 -0
- package/dist/solutions-components/p-50002c2f.js +6 -0
- package/dist/solutions-components/p-504bb19e.entry.js +11 -0
- package/dist/solutions-components/p-5119d274.js +11 -0
- package/dist/solutions-components/p-533b0d64.js +6 -0
- package/dist/solutions-components/p-5467780a.entry.js +11 -0
- package/dist/solutions-components/p-54ff0119.entry.js +11 -0
- package/dist/solutions-components/p-55a07c2a.js +11 -0
- package/dist/solutions-components/p-56a43beb.entry.js +11 -0
- package/dist/solutions-components/p-579bdb57.js +6 -0
- package/dist/solutions-components/p-58ccddc5.entry.js +11 -0
- package/dist/solutions-components/p-598c64f7.entry.js +29 -0
- package/dist/solutions-components/p-5a075f65.entry.js +11 -0
- package/dist/solutions-components/p-5bb19185.entry.js +11 -0
- package/dist/solutions-components/p-5e1ecb54.js +6 -0
- package/dist/solutions-components/p-60dba4a9.entry.js +11 -0
- package/dist/solutions-components/p-6373d5e2.js +6 -0
- package/dist/solutions-components/p-659f82a2.js +11 -0
- package/dist/solutions-components/p-65f230f4.js +6 -0
- package/dist/solutions-components/p-6d5a1566.js +17 -0
- package/dist/solutions-components/p-6ecce676.entry.js +11 -0
- package/dist/solutions-components/p-6ff04b6a.entry.js +11 -0
- package/dist/solutions-components/p-7203026b.entry.js +11 -0
- package/dist/solutions-components/p-74062e42.js +6 -0
- package/dist/solutions-components/p-76809845.js +6 -0
- package/dist/solutions-components/p-779f46eb.js +11 -0
- package/dist/solutions-components/p-77c3fb52.js +6 -0
- package/dist/solutions-components/p-79bb2b4d.entry.js +11 -0
- package/dist/solutions-components/p-7ab4c1e1.js +6 -0
- package/dist/solutions-components/p-7afb5491.js +6 -0
- package/dist/solutions-components/p-7bd4e7bf.js +6 -0
- package/dist/solutions-components/p-7c9cfa11.js +11 -0
- package/dist/solutions-components/p-7d79a255.entry.js +11 -0
- package/dist/solutions-components/p-7d94c28d.js +6 -0
- package/dist/solutions-components/p-7e4238d2.js +6 -0
- package/dist/solutions-components/p-7f3f99de.entry.js +6 -0
- package/dist/solutions-components/p-7ff4a852.js +6 -0
- package/dist/solutions-components/p-822d9606.entry.js +18 -0
- package/dist/solutions-components/p-82da0de5.js +12 -0
- package/dist/solutions-components/p-83153df0.js +18 -0
- package/dist/solutions-components/p-86a2d317.entry.js +11 -0
- package/dist/solutions-components/p-8837c151.entry.js +6 -0
- package/dist/solutions-components/p-88dac03a.js +11 -0
- package/dist/solutions-components/p-8a15f8aa.js +6 -0
- package/dist/solutions-components/p-8a9d80e2.js +6 -0
- package/dist/solutions-components/p-8b05cb55.entry.js +18 -0
- package/dist/solutions-components/p-8cbb4062.js +11 -0
- package/dist/solutions-components/p-8e26eb6f.js +22 -0
- package/dist/solutions-components/p-90a57fcf.js +6 -0
- package/dist/solutions-components/p-91d4bef4.js +6 -0
- package/dist/solutions-components/p-920709db.entry.js +11 -0
- package/dist/solutions-components/p-9283b5f2.entry.js +11 -0
- package/dist/solutions-components/p-931e1ce1.js +6 -0
- package/dist/solutions-components/p-9507e2ce.js +11 -0
- package/dist/solutions-components/p-950b82c8.entry.js +11 -0
- package/dist/solutions-components/p-956d3175.entry.js +6 -0
- package/dist/solutions-components/p-998671c9.entry.js +11 -0
- package/dist/solutions-components/p-99d06856.js +6 -0
- package/dist/solutions-components/p-9bbe962a.entry.js +11 -0
- package/dist/solutions-components/p-9e64167e.js +6 -0
- package/dist/solutions-components/p-9eaa2050.js +6 -0
- package/dist/solutions-components/p-a013accc.js +6 -0
- package/dist/solutions-components/p-a23a07b4.entry.js +17 -0
- package/dist/solutions-components/p-a2c636db.entry.js +12 -0
- package/dist/solutions-components/p-a302baed.js +6 -0
- package/dist/solutions-components/p-a41dfa26.entry.js +6 -0
- package/dist/solutions-components/p-a4d81864.js +16 -0
- package/dist/solutions-components/p-a6db296e.js +6 -0
- package/dist/solutions-components/p-a7ff08e7.js +11 -0
- package/dist/solutions-components/p-a825403b.js +6 -0
- package/dist/solutions-components/p-a85f10d5.js +6 -0
- package/dist/solutions-components/p-aaa1209e.js +11 -0
- package/dist/solutions-components/p-abe3df4d.entry.js +6 -0
- package/dist/solutions-components/p-adcf36e0.js +11 -0
- package/dist/solutions-components/p-b2862cb2.js +6 -0
- package/dist/solutions-components/p-b2a7416b.entry.js +11 -0
- package/dist/solutions-components/p-b2d1b625.entry.js +6 -0
- package/dist/solutions-components/p-b4912a5e.js +6 -0
- package/dist/solutions-components/p-b69d8edc.js +6 -0
- package/dist/solutions-components/p-b6bf2256.entry.js +17 -0
- package/dist/solutions-components/p-b95a7bb1.entry.js +11 -0
- package/dist/solutions-components/p-b9c16f28.js +6 -0
- package/dist/solutions-components/p-ba717eb2.entry.js +6 -0
- package/dist/solutions-components/p-bdd2d1b3.js +6 -0
- package/dist/solutions-components/p-be7add87.js +6 -0
- package/dist/solutions-components/p-bfda0e4c.js +6 -0
- package/dist/solutions-components/p-c147c7ee.js +11 -0
- package/dist/solutions-components/p-c3f4cb87.entry.js +11 -0
- package/dist/solutions-components/p-c758e011.js +6 -0
- package/dist/solutions-components/p-c75af332.js +11 -0
- package/dist/solutions-components/p-c94937f6.entry.js +6 -0
- package/dist/solutions-components/p-c95cf6b6.entry.js +17 -0
- package/dist/solutions-components/p-c9fc3253.js +6 -0
- package/dist/solutions-components/p-ca391de0.js +6 -0
- package/dist/solutions-components/p-caa4ef57.js +17 -0
- package/dist/solutions-components/p-cadf1546.entry.js +11 -0
- package/dist/solutions-components/p-cb57efe6.entry.js +11 -0
- package/dist/solutions-components/p-cc6b57c6.entry.js +11 -0
- package/dist/solutions-components/p-d34397ef.entry.js +17 -0
- package/dist/solutions-components/p-d52bc7dd.entry.js +11 -0
- package/dist/solutions-components/p-d607ab3d.entry.js +47 -0
- package/dist/solutions-components/p-d93e3745.entry.js +11 -0
- package/dist/solutions-components/p-d943947f.js +11 -0
- package/dist/solutions-components/p-ddb3bc15.js +11 -0
- package/dist/solutions-components/p-ddd5afde.js +11 -0
- package/dist/solutions-components/p-dea5e302.entry.js +11 -0
- package/dist/solutions-components/p-e2336324.js +11 -0
- package/dist/solutions-components/p-e2d2cb89.entry.js +11 -0
- package/dist/solutions-components/p-e58ffef6.entry.js +11 -0
- package/dist/solutions-components/p-e91c5763.js +16 -0
- package/dist/solutions-components/p-ea22826b.js +11 -0
- package/dist/solutions-components/p-eace7ab0.entry.js +11 -0
- package/dist/solutions-components/p-ec1f28a7.entry.js +11 -0
- package/dist/solutions-components/p-ef0b06ac.entry.js +6 -0
- package/dist/solutions-components/p-f0547cac.entry.js +6 -0
- package/dist/solutions-components/p-f0b83721.js +6 -0
- package/dist/solutions-components/p-f1979b5c.entry.js +11 -0
- package/dist/solutions-components/p-f2723f08.js +6 -0
- package/dist/solutions-components/p-f3f1e27e.js +11 -0
- package/dist/solutions-components/p-f70e8ca1.js +11 -0
- package/dist/solutions-components/p-ff3f307a.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
- package/dist/types/components/layer-table/layer-table.d.ts +16 -0
- package/dist/types/components.d.ts +21 -0
- package/dist/types/preact.d.ts +2 -1
- package/package.json +2 -2
- package/dist/cjs/ExpandToggle-965987de.js +0 -118
- package/dist/cjs/FloatingArrow-5aba7af1.js +0 -48
- package/dist/cjs/Heading-b0970391.js +0 -25
- package/dist/cjs/app-globals-8afc8fa0.js +0 -69
- package/dist/cjs/ar-e86d748c.js +0 -103
- package/dist/cjs/array-d55de2d5.js +0 -17
- package/dist/cjs/bg-6f72f34d.js +0 -81
- package/dist/cjs/browser-09760f9f.js +0 -23
- package/dist/cjs/bs-290f2e0c.js +0 -50
- package/dist/cjs/ca-d9261215.js +0 -70
- package/dist/cjs/calcite-input-number_2.cjs.entry.js +0 -920
- package/dist/cjs/calcite-input-time-picker-b809da0b.js +0 -1848
- package/dist/cjs/conditionalSlot-f577ba32.js +0 -63
- package/dist/cjs/cs-b250298e.js +0 -146
- package/dist/cjs/da-8715f736.js +0 -65
- package/dist/cjs/date-60e18f3e.js +0 -261
- package/dist/cjs/de-9289461a.js +0 -90
- package/dist/cjs/de-at-e7ef417f.js +0 -89
- package/dist/cjs/de-ch-de539200.js +0 -89
- package/dist/cjs/dom-c585dfa7.js +0 -1061
- package/dist/cjs/el-7701d486.js +0 -65
- package/dist/cjs/en-au-6e2f2f4b.js +0 -65
- package/dist/cjs/en-ca-8bc8ae5b.js +0 -64
- package/dist/cjs/en-gb-6e0fd6a4.js +0 -68
- package/dist/cjs/es-dd9fcddf.js +0 -65
- package/dist/cjs/es-mx-32e3b2ce.js +0 -64
- package/dist/cjs/et-9c241f89.js +0 -91
- package/dist/cjs/fi-946c7e09.js +0 -114
- package/dist/cjs/filter-a4465208.js +0 -765
- package/dist/cjs/floating-ui-3625f253.js +0 -1904
- package/dist/cjs/focusTrapComponent-919e5636.js +0 -1009
- package/dist/cjs/form-da1bc377.js +0 -288
- package/dist/cjs/fr-1a8ac01d.js +0 -67
- package/dist/cjs/fr-ch-02594f06.js +0 -65
- package/dist/cjs/globalAttributes-bb9603f4.js +0 -77
- package/dist/cjs/guid-5ef151a6.js +0 -26
- package/dist/cjs/he-e3dd7687.js +0 -104
- package/dist/cjs/hi-66fc4798.js +0 -64
- package/dist/cjs/hr-2dbffa4f.js +0 -79
- package/dist/cjs/hu-22732855.js +0 -87
- package/dist/cjs/id-40469057.js +0 -65
- package/dist/cjs/index-22e2d297.js +0 -172
- package/dist/cjs/index-6b21a03f.js +0 -73
- package/dist/cjs/interactive-17168f1c.js +0 -147
- package/dist/cjs/it-72244e1f.js +0 -65
- package/dist/cjs/it-ch-111e0a76.js +0 -65
- package/dist/cjs/ja-64c49fbb.js +0 -71
- package/dist/cjs/key-29076628.js +0 -19
- package/dist/cjs/ko-ba039889.js +0 -71
- package/dist/cjs/label-a44d17b9.js +0 -154
- package/dist/cjs/loadable-53fa41ac.js +0 -94
- package/dist/cjs/locale-62c20bcc.js +0 -607
- package/dist/cjs/lt-14caf6e3.js +0 -96
- package/dist/cjs/lv-90627da7.js +0 -65
- package/dist/cjs/math-1e2752e6.js +0 -60
- package/dist/cjs/mk-43da0937.js +0 -65
- package/dist/cjs/nb-6e84fe55.js +0 -66
- package/dist/cjs/nl-b09e824f.js +0 -66
- package/dist/cjs/observers-ee7eadc4.js +0 -53
- package/dist/cjs/openCloseComponent-56419b32.js +0 -92
- package/dist/cjs/pl-acc3eed9.js +0 -113
- package/dist/cjs/pt-445d1df2.js +0 -66
- package/dist/cjs/pt-br-63d38ff8.js +0 -64
- package/dist/cjs/resources-3a88b7d8.js +0 -2062
- package/dist/cjs/resources-4548c1f4.js +0 -29
- package/dist/cjs/resources-4671a126.js +0 -20
- package/dist/cjs/resources-49866a7a.js +0 -52
- package/dist/cjs/resources-85c1ae6a.js +0 -27
- package/dist/cjs/resources-876c9b89.js +0 -29
- package/dist/cjs/resources-9dcc553a.js +0 -39
- package/dist/cjs/resources-be3c1b4b.js +0 -26
- package/dist/cjs/resources-d8917c46.js +0 -32
- package/dist/cjs/resources-d89b020a.js +0 -23
- package/dist/cjs/responsive-b6e86bcb.js +0 -44
- package/dist/cjs/ro-3d33dcc0.js +0 -65
- package/dist/cjs/ru-6d33bd42.js +0 -125
- package/dist/cjs/shared-list-render-44ea9d69.js +0 -364
- package/dist/cjs/sk-8e7343e5.js +0 -147
- package/dist/cjs/sl-b2721e1d.js +0 -167
- package/dist/cjs/sortableComponent-f9fbabf1.js +0 -3107
- package/dist/cjs/sr-6c42e7fd.js +0 -100
- package/dist/cjs/sv-09355347.js +0 -70
- package/dist/cjs/t9n-78efea01.js +0 -100
- package/dist/cjs/th-b011dfda.js +0 -64
- package/dist/cjs/time-5c558990.js +0 -289
- package/dist/cjs/tr-64095398.js +0 -65
- package/dist/cjs/uk-942a3963.js +0 -103
- package/dist/cjs/utils-a3c937c3.js +0 -59
- package/dist/cjs/utils-bad1a9c3.js +0 -64
- package/dist/cjs/utils-bbda4ba3.js +0 -93
- package/dist/cjs/utils-e99ff998.js +0 -221
- package/dist/cjs/vi-1f4b147c.js +0 -69
- package/dist/cjs/zh-cn-d312b710.js +0 -93
- package/dist/cjs/zh-hk-8237d0e3.js +0 -70
- package/dist/cjs/zh-tw-f28548c8.js +0 -91
- package/dist/components/responsive.js +0 -42
- package/dist/esm/ExpandToggle-e107f9b4.js +0 -110
- package/dist/esm/FloatingArrow-3bcbf69c.js +0 -46
- package/dist/esm/Heading-d54e4e64.js +0 -22
- package/dist/esm/app-globals-d6e155e2.js +0 -67
- package/dist/esm/ar-6024936e.js +0 -101
- package/dist/esm/array-3a471981.js +0 -15
- package/dist/esm/bg-0aaf375e.js +0 -79
- package/dist/esm/browser-b8a2c2d7.js +0 -21
- package/dist/esm/bs-a29d4263.js +0 -48
- package/dist/esm/ca-7025e8bd.js +0 -68
- package/dist/esm/calcite-input-number_2.entry.js +0 -915
- package/dist/esm/calcite-input-time-picker-970d2da4.js +0 -1845
- package/dist/esm/conditionalSlot-2966afcc.js +0 -60
- package/dist/esm/cs-e75d4f0f.js +0 -144
- package/dist/esm/da-7ef2ef83.js +0 -63
- package/dist/esm/date-05688c80.js +0 -245
- package/dist/esm/de-8c937192.js +0 -88
- package/dist/esm/de-at-2d6f27fb.js +0 -87
- package/dist/esm/de-ch-94e48c2e.js +0 -87
- package/dist/esm/dom-923ca11d.js +0 -1032
- package/dist/esm/el-a2fbe5ed.js +0 -63
- package/dist/esm/en-au-e41b88d1.js +0 -63
- package/dist/esm/en-ca-87be65a9.js +0 -62
- package/dist/esm/en-gb-83952182.js +0 -66
- package/dist/esm/es-141e8350.js +0 -63
- package/dist/esm/es-mx-b6a7e8b9.js +0 -62
- package/dist/esm/et-938a5466.js +0 -89
- package/dist/esm/fi-b2c86fbe.js +0 -112
- package/dist/esm/filter-a4d7ecd2.js +0 -763
- package/dist/esm/floating-ui-9c3f29d1.js +0 -1896
- package/dist/esm/focusTrapComponent-d703f459.js +0 -1004
- package/dist/esm/form-77fd19cb.js +0 -280
- package/dist/esm/fr-38f2377b.js +0 -65
- package/dist/esm/fr-ch-f0aa93c8.js +0 -63
- package/dist/esm/globalAttributes-43f1d649.js +0 -74
- package/dist/esm/guid-99d025c6.js +0 -24
- package/dist/esm/he-c4b286cd.js +0 -102
- package/dist/esm/hi-78cb42a0.js +0 -62
- package/dist/esm/hr-a4637cfd.js +0 -77
- package/dist/esm/hu-54c88160.js +0 -85
- package/dist/esm/id-059e47c6.js +0 -63
- package/dist/esm/index-7bd8186c.js +0 -71
- package/dist/esm/index-9d64f551.js +0 -170
- package/dist/esm/interactive-e95bbf6b.js +0 -143
- package/dist/esm/it-015c5cc3.js +0 -63
- package/dist/esm/it-ch-f345a8fe.js +0 -63
- package/dist/esm/ja-f6c91a37.js +0 -69
- package/dist/esm/key-5ab69c42.js +0 -16
- package/dist/esm/ko-7b0bfdfa.js +0 -69
- package/dist/esm/label-be61f66c.js +0 -148
- package/dist/esm/loadable-9617e31c.js +0 -89
- package/dist/esm/locale-76c0c1d9.js +0 -594
- package/dist/esm/lt-ebe0d73b.js +0 -94
- package/dist/esm/lv-f7cb8ecf.js +0 -63
- package/dist/esm/math-26607e9b.js +0 -54
- package/dist/esm/mk-fdcc6d81.js +0 -63
- package/dist/esm/nb-44fa5d1f.js +0 -64
- package/dist/esm/nl-72a97244.js +0 -64
- package/dist/esm/observers-115d1b4b.js +0 -51
- package/dist/esm/openCloseComponent-ecc80ec6.js +0 -90
- package/dist/esm/pl-6594cf3b.js +0 -111
- package/dist/esm/pt-a7407eb8.js +0 -64
- package/dist/esm/pt-br-83e7fa27.js +0 -62
- package/dist/esm/resources-0fa1514d.js +0 -22
- package/dist/esm/resources-19e558e7.js +0 -48
- package/dist/esm/resources-27261bc6.js +0 -24
- package/dist/esm/resources-4100c616.js +0 -35
- package/dist/esm/resources-55ef6d44.js +0 -2051
- package/dist/esm/resources-9158321b.js +0 -20
- package/dist/esm/resources-936a5f2d.js +0 -26
- package/dist/esm/resources-bb8600a6.js +0 -28
- package/dist/esm/resources-c8f83593.js +0 -20
- package/dist/esm/resources-ee6e347f.js +0 -24
- package/dist/esm/responsive-4d7ef153.js +0 -42
- package/dist/esm/ro-455d4855.js +0 -63
- package/dist/esm/ru-afedf1c0.js +0 -123
- package/dist/esm/shared-list-render-086be7e0.js +0 -342
- package/dist/esm/sk-593b7042.js +0 -145
- package/dist/esm/sl-738e75ca.js +0 -165
- package/dist/esm/sortableComponent-4a933f2e.js +0 -3103
- package/dist/esm/sr-46d78867.js +0 -98
- package/dist/esm/sv-a5afd0c2.js +0 -68
- package/dist/esm/t9n-709a2605.js +0 -95
- package/dist/esm/th-0e794832.js +0 -62
- package/dist/esm/time-a725be63.js +0 -274
- package/dist/esm/tr-c520e117.js +0 -63
- package/dist/esm/uk-98d8c935.js +0 -101
- package/dist/esm/utils-186d9d5e.js +0 -48
- package/dist/esm/utils-1c26ea1b.js +0 -61
- package/dist/esm/utils-3ad366fc.js +0 -85
- package/dist/esm/utils-9f44f942.js +0 -203
- package/dist/esm/vi-d6022534.js +0 -67
- package/dist/esm/zh-cn-c112d022.js +0 -91
- package/dist/esm/zh-hk-2d857989.js +0 -68
- package/dist/esm/zh-tw-196abcd0.js +0 -89
- package/dist/solutions-components/p-00026bea.js +0 -6
- package/dist/solutions-components/p-024c2016.js +0 -11
- package/dist/solutions-components/p-024ff2f9.js +0 -11
- package/dist/solutions-components/p-02e84287.entry.js +0 -11
- package/dist/solutions-components/p-039ac222.js +0 -11
- package/dist/solutions-components/p-071d92ec.entry.js +0 -18
- package/dist/solutions-components/p-091f2e4a.entry.js +0 -11
- package/dist/solutions-components/p-0a95c999.js +0 -11
- package/dist/solutions-components/p-0a976cf8.js +0 -6
- package/dist/solutions-components/p-0bd702b0.entry.js +0 -11
- package/dist/solutions-components/p-0c77262e.entry.js +0 -11
- package/dist/solutions-components/p-0ca9f9b0.js +0 -6
- package/dist/solutions-components/p-109dcfef.entry.js +0 -6
- package/dist/solutions-components/p-11a5efc8.entry.js +0 -11
- package/dist/solutions-components/p-1229516f.js +0 -11
- package/dist/solutions-components/p-123257b4.js +0 -6
- package/dist/solutions-components/p-139ff4ab.js +0 -6
- package/dist/solutions-components/p-1406bcc4.js +0 -18
- package/dist/solutions-components/p-151c5d71.js +0 -11
- package/dist/solutions-components/p-16d0f5e7.js +0 -6
- package/dist/solutions-components/p-1738c574.entry.js +0 -6
- package/dist/solutions-components/p-18bdcb54.js +0 -6
- package/dist/solutions-components/p-1abf4a98.entry.js +0 -12
- package/dist/solutions-components/p-1b606a4e.js +0 -6
- package/dist/solutions-components/p-1d8b5383.entry.js +0 -17
- package/dist/solutions-components/p-1efb6f5e.js +0 -6
- package/dist/solutions-components/p-1f8b3c22.js +0 -6
- package/dist/solutions-components/p-244fe501.js +0 -6
- package/dist/solutions-components/p-25736760.entry.js +0 -6
- package/dist/solutions-components/p-27431aa6.js +0 -11
- package/dist/solutions-components/p-27c3142d.js +0 -6
- package/dist/solutions-components/p-28657abb.entry.js +0 -11
- package/dist/solutions-components/p-29f22e76.entry.js +0 -11
- package/dist/solutions-components/p-2a8e0824.entry.js +0 -11
- package/dist/solutions-components/p-2c095772.entry.js +0 -11
- package/dist/solutions-components/p-2c49fea8.entry.js +0 -11
- package/dist/solutions-components/p-2c676869.entry.js +0 -11
- package/dist/solutions-components/p-2d34a885.entry.js +0 -6
- package/dist/solutions-components/p-2ee3afea.js +0 -12
- package/dist/solutions-components/p-2f9bab49.js +0 -11
- package/dist/solutions-components/p-3003e56a.js +0 -11
- package/dist/solutions-components/p-319e672e.js +0 -6
- package/dist/solutions-components/p-3324bc9c.js +0 -6
- package/dist/solutions-components/p-33833cea.js +0 -6
- package/dist/solutions-components/p-34fb2a6e.js +0 -11
- package/dist/solutions-components/p-353ff6c3.js +0 -17
- package/dist/solutions-components/p-3556a164.entry.js +0 -11
- package/dist/solutions-components/p-361b44ed.js +0 -11
- package/dist/solutions-components/p-369e28ed.js +0 -11
- package/dist/solutions-components/p-37551e19.entry.js +0 -28
- package/dist/solutions-components/p-3760847f.js +0 -11
- package/dist/solutions-components/p-3a712812.js +0 -6
- package/dist/solutions-components/p-3ca5956e.entry.js +0 -6
- package/dist/solutions-components/p-3e1346f4.js +0 -6
- package/dist/solutions-components/p-42472527.entry.js +0 -11
- package/dist/solutions-components/p-427f8955.js +0 -6
- package/dist/solutions-components/p-4349f3f7.js +0 -6
- package/dist/solutions-components/p-44ddfacf.entry.js +0 -6
- package/dist/solutions-components/p-455f4ed8.entry.js +0 -17
- package/dist/solutions-components/p-4879d789.js +0 -11
- package/dist/solutions-components/p-48a44c8d.js +0 -6
- package/dist/solutions-components/p-49dc53cb.js +0 -11
- package/dist/solutions-components/p-4b9ba22d.js +0 -17
- package/dist/solutions-components/p-4ce32f39.js +0 -6
- package/dist/solutions-components/p-4daf1755.entry.js +0 -11
- package/dist/solutions-components/p-4e58893d.js +0 -11
- package/dist/solutions-components/p-4eb21769.js +0 -11
- package/dist/solutions-components/p-50a7927d.entry.js +0 -11
- package/dist/solutions-components/p-524078d6.entry.js +0 -11
- package/dist/solutions-components/p-528116a5.js +0 -6
- package/dist/solutions-components/p-52d5d2c7.js +0 -6
- package/dist/solutions-components/p-53368491.js +0 -11
- package/dist/solutions-components/p-5507d527.entry.js +0 -17
- package/dist/solutions-components/p-59d706b4.js +0 -11
- package/dist/solutions-components/p-59f96664.js +0 -6
- package/dist/solutions-components/p-5f4fba81.entry.js +0 -11
- package/dist/solutions-components/p-60336409.entry.js +0 -17
- package/dist/solutions-components/p-640de6e2.js +0 -11
- package/dist/solutions-components/p-64106e73.js +0 -6
- package/dist/solutions-components/p-6536a858.js +0 -6
- package/dist/solutions-components/p-69925ee2.entry.js +0 -12
- package/dist/solutions-components/p-69b7a4da.js +0 -6
- package/dist/solutions-components/p-6acf6258.js +0 -6
- package/dist/solutions-components/p-6b7be761.entry.js +0 -11
- package/dist/solutions-components/p-6e779398.entry.js +0 -11
- package/dist/solutions-components/p-73e7af57.entry.js +0 -11
- package/dist/solutions-components/p-761adec1.js +0 -6
- package/dist/solutions-components/p-76384a24.js +0 -6
- package/dist/solutions-components/p-788f3c1c.js +0 -11
- package/dist/solutions-components/p-799ba781.js +0 -6
- package/dist/solutions-components/p-7c937dad.entry.js +0 -11
- package/dist/solutions-components/p-7d7e6744.js +0 -11
- package/dist/solutions-components/p-7fea302e.js +0 -6
- package/dist/solutions-components/p-800d0291.entry.js +0 -11
- package/dist/solutions-components/p-8239ee0e.entry.js +0 -6
- package/dist/solutions-components/p-83208f15.js +0 -6
- package/dist/solutions-components/p-857c255c.js +0 -6
- package/dist/solutions-components/p-866837f6.js +0 -11
- package/dist/solutions-components/p-86f482ca.js +0 -11
- package/dist/solutions-components/p-87e51c05.entry.js +0 -11
- package/dist/solutions-components/p-8a2ae571.js +0 -11
- package/dist/solutions-components/p-8f535590.entry.js +0 -6
- package/dist/solutions-components/p-8f650f5a.entry.js +0 -6
- package/dist/solutions-components/p-940c447c.js +0 -6
- package/dist/solutions-components/p-9640d89a.entry.js +0 -6
- package/dist/solutions-components/p-98d82820.entry.js +0 -11
- package/dist/solutions-components/p-9b5df16f.js +0 -6
- package/dist/solutions-components/p-9d54d7a0.entry.js +0 -29
- package/dist/solutions-components/p-9ddb9445.entry.js +0 -11
- package/dist/solutions-components/p-9e10d371.js +0 -6
- package/dist/solutions-components/p-9fd9dab0.entry.js +0 -35
- package/dist/solutions-components/p-a30bf8f8.entry.js +0 -11
- package/dist/solutions-components/p-a3538132.js +0 -6
- package/dist/solutions-components/p-a47c8ae2.js +0 -22
- package/dist/solutions-components/p-a525e175.entry.js +0 -11
- package/dist/solutions-components/p-a6774162.entry.js +0 -11
- package/dist/solutions-components/p-a678b2d3.js +0 -6
- package/dist/solutions-components/p-a99967f5.js +0 -6
- package/dist/solutions-components/p-abfec82b.js +0 -6
- package/dist/solutions-components/p-acd7494a.js +0 -6
- package/dist/solutions-components/p-b0e67c32.entry.js +0 -11
- package/dist/solutions-components/p-b3622a4e.js +0 -11
- package/dist/solutions-components/p-b41915d9.js +0 -16
- package/dist/solutions-components/p-b48e8dd1.js +0 -11
- package/dist/solutions-components/p-b587b224.entry.js +0 -6
- package/dist/solutions-components/p-b80631c4.js +0 -11
- package/dist/solutions-components/p-bc965d47.js +0 -12
- package/dist/solutions-components/p-bdc6be4b.entry.js +0 -11
- package/dist/solutions-components/p-bf9d3381.js +0 -16
- package/dist/solutions-components/p-c0ec94af.js +0 -6
- package/dist/solutions-components/p-c191d28c.entry.js +0 -17
- package/dist/solutions-components/p-c24040ec.js +0 -11
- package/dist/solutions-components/p-c4a448a3.js +0 -6
- package/dist/solutions-components/p-c69ba9db.entry.js +0 -11
- package/dist/solutions-components/p-c8e772fb.js +0 -6
- package/dist/solutions-components/p-c9ba6598.js +0 -6
- package/dist/solutions-components/p-c9d9ac15.entry.js +0 -6
- package/dist/solutions-components/p-ca37ebd0.entry.js +0 -6
- package/dist/solutions-components/p-ca53679d.entry.js +0 -11
- package/dist/solutions-components/p-cb8e599c.js +0 -6
- package/dist/solutions-components/p-cbe3b9ee.js +0 -6
- package/dist/solutions-components/p-cdfe141e.entry.js +0 -11
- package/dist/solutions-components/p-cefde738.entry.js +0 -11
- package/dist/solutions-components/p-d0e59d62.js +0 -6
- package/dist/solutions-components/p-d16db4eb.entry.js +0 -11
- package/dist/solutions-components/p-d4278729.js +0 -11
- package/dist/solutions-components/p-d6f51bea.entry.js +0 -11
- package/dist/solutions-components/p-d78136be.entry.js +0 -11
- package/dist/solutions-components/p-d7953124.entry.js +0 -11
- package/dist/solutions-components/p-d85e1fbe.entry.js +0 -11
- package/dist/solutions-components/p-dcf0f0c8.entry.js +0 -12
- package/dist/solutions-components/p-dd36af4f.js +0 -11
- package/dist/solutions-components/p-dd4e5f64.js +0 -11
- package/dist/solutions-components/p-dd6b827e.entry.js +0 -16
- package/dist/solutions-components/p-e004e8e2.js +0 -16
- package/dist/solutions-components/p-e1e22909.entry.js +0 -11
- package/dist/solutions-components/p-e1f1e124.entry.js +0 -11
- package/dist/solutions-components/p-e416078b.entry.js +0 -6
- package/dist/solutions-components/p-e592e744.entry.js +0 -6
- package/dist/solutions-components/p-e6371690.entry.js +0 -6
- package/dist/solutions-components/p-ed3bd9b8.entry.js +0 -17
- package/dist/solutions-components/p-ed95f634.entry.js +0 -6
- package/dist/solutions-components/p-ee13cafa.entry.js +0 -11
- package/dist/solutions-components/p-ee839f28.entry.js +0 -11
- package/dist/solutions-components/p-efc041d0.js +0 -11
- package/dist/solutions-components/p-f20097e5.js +0 -6
- package/dist/solutions-components/p-f3f83c1e.js +0 -6
- package/dist/solutions-components/p-f52ee45d.js +0 -11
- package/dist/solutions-components/p-fb67a388.entry.js +0 -17
- package/dist/solutions-components/p-fbbfed75.entry.js +0 -18
- package/dist/solutions-components/p-fe9cdc3d.entry.js +0 -6
@@ -0,0 +1,1077 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
'use strict';
|
7
|
+
|
8
|
+
const guid = require('./guid-c95a49d2.js');
|
9
|
+
const resources = require('./resources-89626d92.js');
|
10
|
+
|
11
|
+
/*!
|
12
|
+
* tabbable 6.2.0
|
13
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
14
|
+
*/
|
15
|
+
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
16
|
+
// `:not([inert], [inert] *)` (Feb 2023)
|
17
|
+
// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes
|
18
|
+
// the entire query to fail, resulting in no nodes found, which will break a lot
|
19
|
+
// of things... so we have to rely on JS to identify nodes inside an inert container
|
20
|
+
var candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable="false"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];
|
21
|
+
var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
|
22
|
+
var NoElement = typeof Element === 'undefined';
|
23
|
+
var matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
24
|
+
var getRootNode$1 = !NoElement && Element.prototype.getRootNode ? function (element) {
|
25
|
+
var _element$getRootNode;
|
26
|
+
return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);
|
27
|
+
} : function (element) {
|
28
|
+
return element === null || element === void 0 ? void 0 : element.ownerDocument;
|
29
|
+
};
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Determines if a node is inert or in an inert ancestor.
|
33
|
+
* @param {Element} [node]
|
34
|
+
* @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to
|
35
|
+
* see if any of them are inert. If false, only `node` itself is considered.
|
36
|
+
* @returns {boolean} True if inert itself or by way of being in an inert ancestor.
|
37
|
+
* False if `node` is falsy.
|
38
|
+
*/
|
39
|
+
var isInert = function isInert(node, lookUp) {
|
40
|
+
var _node$getAttribute;
|
41
|
+
if (lookUp === void 0) {
|
42
|
+
lookUp = true;
|
43
|
+
}
|
44
|
+
// CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`
|
45
|
+
// JS API property; we have to check the attribute, which can either be empty or 'true';
|
46
|
+
// if it's `null` (not specified) or 'false', it's an active element
|
47
|
+
var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');
|
48
|
+
var inert = inertAtt === '' || inertAtt === 'true';
|
49
|
+
|
50
|
+
// NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`
|
51
|
+
// if it weren't for `matches()` not being a function on shadow roots; the following
|
52
|
+
// code works for any kind of node
|
53
|
+
// CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`
|
54
|
+
// so it likely would not support `:is([inert] *)` either...
|
55
|
+
var result = inert || lookUp && node && isInert(node.parentNode); // recursive
|
56
|
+
|
57
|
+
return result;
|
58
|
+
};
|
59
|
+
|
60
|
+
/**
|
61
|
+
* Determines if a node's content is editable.
|
62
|
+
* @param {Element} [node]
|
63
|
+
* @returns True if it's content-editable; false if it's not or `node` is falsy.
|
64
|
+
*/
|
65
|
+
var isContentEditable = function isContentEditable(node) {
|
66
|
+
var _node$getAttribute2;
|
67
|
+
// CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have
|
68
|
+
// to use the attribute directly to check for this, which can either be empty or 'true';
|
69
|
+
// if it's `null` (not specified) or 'false', it's a non-editable element
|
70
|
+
var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');
|
71
|
+
return attValue === '' || attValue === 'true';
|
72
|
+
};
|
73
|
+
|
74
|
+
/**
|
75
|
+
* @param {Element} el container to check in
|
76
|
+
* @param {boolean} includeContainer add container to check
|
77
|
+
* @param {(node: Element) => boolean} filter filter candidates
|
78
|
+
* @returns {Element[]}
|
79
|
+
*/
|
80
|
+
var getCandidates = function getCandidates(el, includeContainer, filter) {
|
81
|
+
// even if `includeContainer=false`, we still have to check it for inertness because
|
82
|
+
// if it's inert, all its children are inert
|
83
|
+
if (isInert(el)) {
|
84
|
+
return [];
|
85
|
+
}
|
86
|
+
var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
|
87
|
+
if (includeContainer && matches.call(el, candidateSelector)) {
|
88
|
+
candidates.unshift(el);
|
89
|
+
}
|
90
|
+
candidates = candidates.filter(filter);
|
91
|
+
return candidates;
|
92
|
+
};
|
93
|
+
|
94
|
+
/**
|
95
|
+
* @callback GetShadowRoot
|
96
|
+
* @param {Element} element to check for shadow root
|
97
|
+
* @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.
|
98
|
+
*/
|
99
|
+
|
100
|
+
/**
|
101
|
+
* @callback ShadowRootFilter
|
102
|
+
* @param {Element} shadowHostNode the element which contains shadow content
|
103
|
+
* @returns {boolean} true if a shadow root could potentially contain valid candidates.
|
104
|
+
*/
|
105
|
+
|
106
|
+
/**
|
107
|
+
* @typedef {Object} CandidateScope
|
108
|
+
* @property {Element} scopeParent contains inner candidates
|
109
|
+
* @property {Element[]} candidates list of candidates found in the scope parent
|
110
|
+
*/
|
111
|
+
|
112
|
+
/**
|
113
|
+
* @typedef {Object} IterativeOptions
|
114
|
+
* @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;
|
115
|
+
* if a function, implies shadow support is enabled and either returns the shadow root of an element
|
116
|
+
* or a boolean stating if it has an undisclosed shadow root
|
117
|
+
* @property {(node: Element) => boolean} filter filter candidates
|
118
|
+
* @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list
|
119
|
+
* @property {ShadowRootFilter} shadowRootFilter filter shadow roots;
|
120
|
+
*/
|
121
|
+
|
122
|
+
/**
|
123
|
+
* @param {Element[]} elements list of element containers to match candidates from
|
124
|
+
* @param {boolean} includeContainer add container list to check
|
125
|
+
* @param {IterativeOptions} options
|
126
|
+
* @returns {Array.<Element|CandidateScope>}
|
127
|
+
*/
|
128
|
+
var getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
|
129
|
+
var candidates = [];
|
130
|
+
var elementsToCheck = Array.from(elements);
|
131
|
+
while (elementsToCheck.length) {
|
132
|
+
var element = elementsToCheck.shift();
|
133
|
+
if (isInert(element, false)) {
|
134
|
+
// no need to look up since we're drilling down
|
135
|
+
// anything inside this container will also be inert
|
136
|
+
continue;
|
137
|
+
}
|
138
|
+
if (element.tagName === 'SLOT') {
|
139
|
+
// add shadow dom slot scope (slot itself cannot be focusable)
|
140
|
+
var assigned = element.assignedElements();
|
141
|
+
var content = assigned.length ? assigned : element.children;
|
142
|
+
var nestedCandidates = getCandidatesIteratively(content, true, options);
|
143
|
+
if (options.flatten) {
|
144
|
+
candidates.push.apply(candidates, nestedCandidates);
|
145
|
+
} else {
|
146
|
+
candidates.push({
|
147
|
+
scopeParent: element,
|
148
|
+
candidates: nestedCandidates
|
149
|
+
});
|
150
|
+
}
|
151
|
+
} else {
|
152
|
+
// check candidate element
|
153
|
+
var validCandidate = matches.call(element, candidateSelector);
|
154
|
+
if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {
|
155
|
+
candidates.push(element);
|
156
|
+
}
|
157
|
+
|
158
|
+
// iterate over shadow content if possible
|
159
|
+
var shadowRoot = element.shadowRoot ||
|
160
|
+
// check for an undisclosed shadow
|
161
|
+
typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);
|
162
|
+
|
163
|
+
// no inert look up because we're already drilling down and checking for inertness
|
164
|
+
// on the way down, so all containers to this root node should have already been
|
165
|
+
// vetted as non-inert
|
166
|
+
var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));
|
167
|
+
if (shadowRoot && validShadowRoot) {
|
168
|
+
// add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed
|
169
|
+
// shadow exists, so look at light dom children as fallback BUT create a scope for any
|
170
|
+
// child candidates found because they're likely slotted elements (elements that are
|
171
|
+
// children of the web component element (which has the shadow), in the light dom, but
|
172
|
+
// slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,
|
173
|
+
// _after_ we return from this recursive call
|
174
|
+
var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
|
175
|
+
if (options.flatten) {
|
176
|
+
candidates.push.apply(candidates, _nestedCandidates);
|
177
|
+
} else {
|
178
|
+
candidates.push({
|
179
|
+
scopeParent: element,
|
180
|
+
candidates: _nestedCandidates
|
181
|
+
});
|
182
|
+
}
|
183
|
+
} else {
|
184
|
+
// there's not shadow so just dig into the element's (light dom) children
|
185
|
+
// __without__ giving the element special scope treatment
|
186
|
+
elementsToCheck.unshift.apply(elementsToCheck, element.children);
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
return candidates;
|
191
|
+
};
|
192
|
+
|
193
|
+
/**
|
194
|
+
* @private
|
195
|
+
* Determines if the node has an explicitly specified `tabindex` attribute.
|
196
|
+
* @param {HTMLElement} node
|
197
|
+
* @returns {boolean} True if so; false if not.
|
198
|
+
*/
|
199
|
+
var hasTabIndex = function hasTabIndex(node) {
|
200
|
+
return !isNaN(parseInt(node.getAttribute('tabindex'), 10));
|
201
|
+
};
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Determine the tab index of a given node.
|
205
|
+
* @param {HTMLElement} node
|
206
|
+
* @returns {number} Tab order (negative, 0, or positive number).
|
207
|
+
* @throws {Error} If `node` is falsy.
|
208
|
+
*/
|
209
|
+
var getTabIndex = function getTabIndex(node) {
|
210
|
+
if (!node) {
|
211
|
+
throw new Error('No node provided');
|
212
|
+
}
|
213
|
+
if (node.tabIndex < 0) {
|
214
|
+
// in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
|
215
|
+
// `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
|
216
|
+
// yet they are still part of the regular tab order; in FF, they get a default
|
217
|
+
// `tabIndex` of 0; since Chrome still puts those elements in the regular tab
|
218
|
+
// order, consider their tab index to be 0.
|
219
|
+
// Also browsers do not return `tabIndex` correctly for contentEditable nodes;
|
220
|
+
// so if they don't have a tabindex attribute specifically set, assume it's 0.
|
221
|
+
if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {
|
222
|
+
return 0;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
return node.tabIndex;
|
226
|
+
};
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Determine the tab index of a given node __for sort order purposes__.
|
230
|
+
* @param {HTMLElement} node
|
231
|
+
* @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,
|
232
|
+
* has tabIndex -1, but needs to be sorted by document order in order for its content to be
|
233
|
+
* inserted into the correct sort position.
|
234
|
+
* @returns {number} Tab order (negative, 0, or positive number).
|
235
|
+
*/
|
236
|
+
var getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {
|
237
|
+
var tabIndex = getTabIndex(node);
|
238
|
+
if (tabIndex < 0 && isScope && !hasTabIndex(node)) {
|
239
|
+
return 0;
|
240
|
+
}
|
241
|
+
return tabIndex;
|
242
|
+
};
|
243
|
+
var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
|
244
|
+
return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
|
245
|
+
};
|
246
|
+
var isInput = function isInput(node) {
|
247
|
+
return node.tagName === 'INPUT';
|
248
|
+
};
|
249
|
+
var isHiddenInput = function isHiddenInput(node) {
|
250
|
+
return isInput(node) && node.type === 'hidden';
|
251
|
+
};
|
252
|
+
var isDetailsWithSummary = function isDetailsWithSummary(node) {
|
253
|
+
var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {
|
254
|
+
return child.tagName === 'SUMMARY';
|
255
|
+
});
|
256
|
+
return r;
|
257
|
+
};
|
258
|
+
var getCheckedRadio = function getCheckedRadio(nodes, form) {
|
259
|
+
for (var i = 0; i < nodes.length; i++) {
|
260
|
+
if (nodes[i].checked && nodes[i].form === form) {
|
261
|
+
return nodes[i];
|
262
|
+
}
|
263
|
+
}
|
264
|
+
};
|
265
|
+
var isTabbableRadio = function isTabbableRadio(node) {
|
266
|
+
if (!node.name) {
|
267
|
+
return true;
|
268
|
+
}
|
269
|
+
var radioScope = node.form || getRootNode$1(node);
|
270
|
+
var queryRadios = function queryRadios(name) {
|
271
|
+
return radioScope.querySelectorAll('input[type="radio"][name="' + name + '"]');
|
272
|
+
};
|
273
|
+
var radioSet;
|
274
|
+
if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {
|
275
|
+
radioSet = queryRadios(window.CSS.escape(node.name));
|
276
|
+
} else {
|
277
|
+
try {
|
278
|
+
radioSet = queryRadios(node.name);
|
279
|
+
} catch (err) {
|
280
|
+
// eslint-disable-next-line no-console
|
281
|
+
console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);
|
282
|
+
return false;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
var checked = getCheckedRadio(radioSet, node.form);
|
286
|
+
return !checked || checked === node;
|
287
|
+
};
|
288
|
+
var isRadio = function isRadio(node) {
|
289
|
+
return isInput(node) && node.type === 'radio';
|
290
|
+
};
|
291
|
+
var isNonTabbableRadio = function isNonTabbableRadio(node) {
|
292
|
+
return isRadio(node) && !isTabbableRadio(node);
|
293
|
+
};
|
294
|
+
|
295
|
+
// determines if a node is ultimately attached to the window's document
|
296
|
+
var isNodeAttached = function isNodeAttached(node) {
|
297
|
+
var _nodeRoot;
|
298
|
+
// The root node is the shadow root if the node is in a shadow DOM; some document otherwise
|
299
|
+
// (but NOT _the_ document; see second 'If' comment below for more).
|
300
|
+
// If rootNode is shadow root, it'll have a host, which is the element to which the shadow
|
301
|
+
// is attached, and the one we need to check if it's in the document or not (because the
|
302
|
+
// shadow, and all nodes it contains, is never considered in the document since shadows
|
303
|
+
// behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,
|
304
|
+
// is hidden, or is not in the document itself but is detached, it will affect the shadow's
|
305
|
+
// visibility, including all the nodes it contains). The host could be any normal node,
|
306
|
+
// or a custom element (i.e. web component). Either way, that's the one that is considered
|
307
|
+
// part of the document, not the shadow root, nor any of its children (i.e. the node being
|
308
|
+
// tested).
|
309
|
+
// To further complicate things, we have to look all the way up until we find a shadow HOST
|
310
|
+
// that is attached (or find none) because the node might be in nested shadows...
|
311
|
+
// If rootNode is not a shadow root, it won't have a host, and so rootNode should be the
|
312
|
+
// document (per the docs) and while it's a Document-type object, that document does not
|
313
|
+
// appear to be the same as the node's `ownerDocument` for some reason, so it's safer
|
314
|
+
// to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,
|
315
|
+
// using `rootNode.contains(node)` will _always_ be true we'll get false-positives when
|
316
|
+
// node is actually detached.
|
317
|
+
// NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible
|
318
|
+
// if a tabbable/focusable node was quickly added to the DOM, focused, and then removed
|
319
|
+
// from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then
|
320
|
+
// `ownerDocument` will be `null`, hence the optional chaining on it.
|
321
|
+
var nodeRoot = node && getRootNode$1(node);
|
322
|
+
var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;
|
323
|
+
|
324
|
+
// in some cases, a detached node will return itself as the root instead of a document or
|
325
|
+
// shadow root object, in which case, we shouldn't try to look further up the host chain
|
326
|
+
var attached = false;
|
327
|
+
if (nodeRoot && nodeRoot !== node) {
|
328
|
+
var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;
|
329
|
+
attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));
|
330
|
+
while (!attached && nodeRootHost) {
|
331
|
+
var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;
|
332
|
+
// since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,
|
333
|
+
// which means we need to get the host's host and check if that parent host is contained
|
334
|
+
// in (i.e. attached to) the document
|
335
|
+
nodeRoot = getRootNode$1(nodeRootHost);
|
336
|
+
nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;
|
337
|
+
attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));
|
338
|
+
}
|
339
|
+
}
|
340
|
+
return attached;
|
341
|
+
};
|
342
|
+
var isZeroArea = function isZeroArea(node) {
|
343
|
+
var _node$getBoundingClie = node.getBoundingClientRect(),
|
344
|
+
width = _node$getBoundingClie.width,
|
345
|
+
height = _node$getBoundingClie.height;
|
346
|
+
return width === 0 && height === 0;
|
347
|
+
};
|
348
|
+
var isHidden = function isHidden(node, _ref) {
|
349
|
+
var displayCheck = _ref.displayCheck,
|
350
|
+
getShadowRoot = _ref.getShadowRoot;
|
351
|
+
// NOTE: visibility will be `undefined` if node is detached from the document
|
352
|
+
// (see notes about this further down), which means we will consider it visible
|
353
|
+
// (this is legacy behavior from a very long way back)
|
354
|
+
// NOTE: we check this regardless of `displayCheck="none"` because this is a
|
355
|
+
// _visibility_ check, not a _display_ check
|
356
|
+
if (getComputedStyle(node).visibility === 'hidden') {
|
357
|
+
return true;
|
358
|
+
}
|
359
|
+
var isDirectSummary = matches.call(node, 'details>summary:first-of-type');
|
360
|
+
var nodeUnderDetails = isDirectSummary ? node.parentElement : node;
|
361
|
+
if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {
|
362
|
+
return true;
|
363
|
+
}
|
364
|
+
if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {
|
365
|
+
if (typeof getShadowRoot === 'function') {
|
366
|
+
// figure out if we should consider the node to be in an undisclosed shadow and use the
|
367
|
+
// 'non-zero-area' fallback
|
368
|
+
var originalNode = node;
|
369
|
+
while (node) {
|
370
|
+
var parentElement = node.parentElement;
|
371
|
+
var rootNode = getRootNode$1(node);
|
372
|
+
if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow
|
373
|
+
) {
|
374
|
+
// node has an undisclosed shadow which means we can only treat it as a black box, so we
|
375
|
+
// fall back to a non-zero-area test
|
376
|
+
return isZeroArea(node);
|
377
|
+
} else if (node.assignedSlot) {
|
378
|
+
// iterate up slot
|
379
|
+
node = node.assignedSlot;
|
380
|
+
} else if (!parentElement && rootNode !== node.ownerDocument) {
|
381
|
+
// cross shadow boundary
|
382
|
+
node = rootNode.host;
|
383
|
+
} else {
|
384
|
+
// iterate up normal dom
|
385
|
+
node = parentElement;
|
386
|
+
}
|
387
|
+
}
|
388
|
+
node = originalNode;
|
389
|
+
}
|
390
|
+
// else, `getShadowRoot` might be true, but all that does is enable shadow DOM support
|
391
|
+
// (i.e. it does not also presume that all nodes might have undisclosed shadows); or
|
392
|
+
// it might be a falsy value, which means shadow DOM support is disabled
|
393
|
+
|
394
|
+
// Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)
|
395
|
+
// now we can just test to see if it would normally be visible or not, provided it's
|
396
|
+
// attached to the main document.
|
397
|
+
// NOTE: We must consider case where node is inside a shadow DOM and given directly to
|
398
|
+
// `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.
|
399
|
+
|
400
|
+
if (isNodeAttached(node)) {
|
401
|
+
// this works wherever the node is: if there's at least one client rect, it's
|
402
|
+
// somehow displayed; it also covers the CSS 'display: contents' case where the
|
403
|
+
// node itself is hidden in place of its contents; and there's no need to search
|
404
|
+
// up the hierarchy either
|
405
|
+
return !node.getClientRects().length;
|
406
|
+
}
|
407
|
+
|
408
|
+
// Else, the node isn't attached to the document, which means the `getClientRects()`
|
409
|
+
// API will __always__ return zero rects (this can happen, for example, if React
|
410
|
+
// is used to render nodes onto a detached tree, as confirmed in this thread:
|
411
|
+
// https://github.com/facebook/react/issues/9117#issuecomment-284228870)
|
412
|
+
//
|
413
|
+
// It also means that even window.getComputedStyle(node).display will return `undefined`
|
414
|
+
// because styles are only computed for nodes that are in the document.
|
415
|
+
//
|
416
|
+
// NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable
|
417
|
+
// somehow. Though it was never stated officially, anyone who has ever used tabbable
|
418
|
+
// APIs on nodes in detached containers has actually implicitly used tabbable in what
|
419
|
+
// was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck="none"` mode -- essentially
|
420
|
+
// considering __everything__ to be visible because of the innability to determine styles.
|
421
|
+
//
|
422
|
+
// v6.0.0: As of this major release, the default 'full' option __no longer treats detached
|
423
|
+
// nodes as visible with the 'none' fallback.__
|
424
|
+
if (displayCheck !== 'legacy-full') {
|
425
|
+
return true; // hidden
|
426
|
+
}
|
427
|
+
// else, fallback to 'none' mode and consider the node visible
|
428
|
+
} else if (displayCheck === 'non-zero-area') {
|
429
|
+
// NOTE: Even though this tests that the node's client rect is non-zero to determine
|
430
|
+
// whether it's displayed, and that a detached node will __always__ have a zero-area
|
431
|
+
// client rect, we don't special-case for whether the node is attached or not. In
|
432
|
+
// this mode, we do want to consider nodes that have a zero area to be hidden at all
|
433
|
+
// times, and that includes attached or not.
|
434
|
+
return isZeroArea(node);
|
435
|
+
}
|
436
|
+
|
437
|
+
// visible, as far as we can tell, or per current `displayCheck=none` mode, we assume
|
438
|
+
// it's visible
|
439
|
+
return false;
|
440
|
+
};
|
441
|
+
|
442
|
+
// form fields (nested) inside a disabled fieldset are not focusable/tabbable
|
443
|
+
// unless they are in the _first_ <legend> element of the top-most disabled
|
444
|
+
// fieldset
|
445
|
+
var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
|
446
|
+
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {
|
447
|
+
var parentNode = node.parentElement;
|
448
|
+
// check if `node` is contained in a disabled <fieldset>
|
449
|
+
while (parentNode) {
|
450
|
+
if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {
|
451
|
+
// look for the first <legend> among the children of the disabled <fieldset>
|
452
|
+
for (var i = 0; i < parentNode.children.length; i++) {
|
453
|
+
var child = parentNode.children.item(i);
|
454
|
+
// when the first <legend> (in document order) is found
|
455
|
+
if (child.tagName === 'LEGEND') {
|
456
|
+
// if its parent <fieldset> is not nested in another disabled <fieldset>,
|
457
|
+
// return whether `node` is a descendant of its first <legend>
|
458
|
+
return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);
|
459
|
+
}
|
460
|
+
}
|
461
|
+
// the disabled <fieldset> containing `node` has no <legend>
|
462
|
+
return true;
|
463
|
+
}
|
464
|
+
parentNode = parentNode.parentElement;
|
465
|
+
}
|
466
|
+
}
|
467
|
+
|
468
|
+
// else, node's tabbable/focusable state should not be affected by a fieldset's
|
469
|
+
// enabled/disabled state
|
470
|
+
return false;
|
471
|
+
};
|
472
|
+
var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
|
473
|
+
if (node.disabled ||
|
474
|
+
// we must do an inert look up to filter out any elements inside an inert ancestor
|
475
|
+
// because we're limited in the type of selectors we can use in JSDom (see related
|
476
|
+
// note related to `candidateSelectors`)
|
477
|
+
isInert(node) || isHiddenInput(node) || isHidden(node, options) ||
|
478
|
+
// For a details element with a summary, the summary element gets the focus
|
479
|
+
isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
|
480
|
+
return false;
|
481
|
+
}
|
482
|
+
return true;
|
483
|
+
};
|
484
|
+
var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
|
485
|
+
if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {
|
486
|
+
return false;
|
487
|
+
}
|
488
|
+
return true;
|
489
|
+
};
|
490
|
+
var isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {
|
491
|
+
var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);
|
492
|
+
if (isNaN(tabIndex) || tabIndex >= 0) {
|
493
|
+
return true;
|
494
|
+
}
|
495
|
+
// If a custom element has an explicit negative tabindex,
|
496
|
+
// browsers will not allow tab targeting said element's children.
|
497
|
+
return false;
|
498
|
+
};
|
499
|
+
|
500
|
+
/**
|
501
|
+
* @param {Array.<Element|CandidateScope>} candidates
|
502
|
+
* @returns Element[]
|
503
|
+
*/
|
504
|
+
var sortByOrder = function sortByOrder(candidates) {
|
505
|
+
var regularTabbables = [];
|
506
|
+
var orderedTabbables = [];
|
507
|
+
candidates.forEach(function (item, i) {
|
508
|
+
var isScope = !!item.scopeParent;
|
509
|
+
var element = isScope ? item.scopeParent : item;
|
510
|
+
var candidateTabindex = getSortOrderTabIndex(element, isScope);
|
511
|
+
var elements = isScope ? sortByOrder(item.candidates) : element;
|
512
|
+
if (candidateTabindex === 0) {
|
513
|
+
isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
|
514
|
+
} else {
|
515
|
+
orderedTabbables.push({
|
516
|
+
documentOrder: i,
|
517
|
+
tabIndex: candidateTabindex,
|
518
|
+
item: item,
|
519
|
+
isScope: isScope,
|
520
|
+
content: elements
|
521
|
+
});
|
522
|
+
}
|
523
|
+
});
|
524
|
+
return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {
|
525
|
+
sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);
|
526
|
+
return acc;
|
527
|
+
}, []).concat(regularTabbables);
|
528
|
+
};
|
529
|
+
var tabbable = function tabbable(container, options) {
|
530
|
+
options = options || {};
|
531
|
+
var candidates;
|
532
|
+
if (options.getShadowRoot) {
|
533
|
+
candidates = getCandidatesIteratively([container], options.includeContainer, {
|
534
|
+
filter: isNodeMatchingSelectorTabbable.bind(null, options),
|
535
|
+
flatten: false,
|
536
|
+
getShadowRoot: options.getShadowRoot,
|
537
|
+
shadowRootFilter: isValidShadowRootTabbable
|
538
|
+
});
|
539
|
+
} else {
|
540
|
+
candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
|
541
|
+
}
|
542
|
+
return sortByOrder(candidates);
|
543
|
+
};
|
544
|
+
var focusable = function focusable(container, options) {
|
545
|
+
options = options || {};
|
546
|
+
var candidates;
|
547
|
+
if (options.getShadowRoot) {
|
548
|
+
candidates = getCandidatesIteratively([container], options.includeContainer, {
|
549
|
+
filter: isNodeMatchingSelectorFocusable.bind(null, options),
|
550
|
+
flatten: true,
|
551
|
+
getShadowRoot: options.getShadowRoot
|
552
|
+
});
|
553
|
+
} else {
|
554
|
+
candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
|
555
|
+
}
|
556
|
+
return candidates;
|
557
|
+
};
|
558
|
+
var isTabbable = function isTabbable(node, options) {
|
559
|
+
options = options || {};
|
560
|
+
if (!node) {
|
561
|
+
throw new Error('No node provided');
|
562
|
+
}
|
563
|
+
if (matches.call(node, candidateSelector) === false) {
|
564
|
+
return false;
|
565
|
+
}
|
566
|
+
return isNodeMatchingSelectorTabbable(options, node);
|
567
|
+
};
|
568
|
+
var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');
|
569
|
+
var isFocusable = function isFocusable(node, options) {
|
570
|
+
options = options || {};
|
571
|
+
if (!node) {
|
572
|
+
throw new Error('No node provided');
|
573
|
+
}
|
574
|
+
if (matches.call(node, focusableCandidateSelector) === false) {
|
575
|
+
return false;
|
576
|
+
}
|
577
|
+
return isNodeMatchingSelectorFocusable(options, node);
|
578
|
+
};
|
579
|
+
|
580
|
+
/*!
|
581
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
582
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
583
|
+
* v1.11.0
|
584
|
+
*/
|
585
|
+
/**
|
586
|
+
* The default `focus-trap/tabbable` options.
|
587
|
+
*
|
588
|
+
* See https://github.com/focus-trap/tabbable#tabbable
|
589
|
+
*/
|
590
|
+
const tabbableOptions = {
|
591
|
+
getShadowRoot: true,
|
592
|
+
};
|
593
|
+
/**
|
594
|
+
* This helper will guarantee an ID on the provided element.
|
595
|
+
*
|
596
|
+
* If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
|
597
|
+
*
|
598
|
+
* @param {Element} el An element.
|
599
|
+
* @returns {string} The element's ID.
|
600
|
+
*/
|
601
|
+
function ensureId(el) {
|
602
|
+
if (!el) {
|
603
|
+
return "";
|
604
|
+
}
|
605
|
+
return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid.guid()}`);
|
606
|
+
}
|
607
|
+
/**
|
608
|
+
* This helper returns an array from a NodeList.
|
609
|
+
*
|
610
|
+
* @param {NodeList} nodeList A NodeList.
|
611
|
+
* @returns {Element[]} An array of elements.
|
612
|
+
*/
|
613
|
+
function nodeListToArray(nodeList) {
|
614
|
+
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
615
|
+
}
|
616
|
+
/**
|
617
|
+
* This helper returns the Calcite "mode" of an element.
|
618
|
+
*
|
619
|
+
* @param {HTMLElement} el An element.
|
620
|
+
* @returns {"light"|"dark"} The Calcite mode.
|
621
|
+
*/
|
622
|
+
function getModeName(el) {
|
623
|
+
const closestElWithMode = closestElementCrossShadowBoundary(el, `.${resources.CSS_UTILITY.darkMode}, .${resources.CSS_UTILITY.lightMode}`);
|
624
|
+
return closestElWithMode?.classList.contains("calcite-mode-dark") ? "dark" : "light";
|
625
|
+
}
|
626
|
+
/**
|
627
|
+
* This helper returns the direction of a HTML element.
|
628
|
+
*
|
629
|
+
* @param {HTMLElement} el An element.
|
630
|
+
* @returns {Direction} The direction.
|
631
|
+
*/
|
632
|
+
function getElementDir(el) {
|
633
|
+
const prop = "dir";
|
634
|
+
const selector = `[${prop}]`;
|
635
|
+
const closest = closestElementCrossShadowBoundary(el, selector);
|
636
|
+
return closest ? closest.getAttribute(prop) : "ltr";
|
637
|
+
}
|
638
|
+
/**
|
639
|
+
* This helper returns the computed width in pixels of a rendered HTMLElement.
|
640
|
+
*
|
641
|
+
* @param {HTMLElement} el An element.
|
642
|
+
* @returns {number} The element's width.
|
643
|
+
*/
|
644
|
+
function getElementWidth(el) {
|
645
|
+
if (!el) {
|
646
|
+
return 0;
|
647
|
+
}
|
648
|
+
return parseFloat(getComputedStyle(el).inlineSize);
|
649
|
+
}
|
650
|
+
/**
|
651
|
+
* This helper returns the rootNode of an element.
|
652
|
+
*
|
653
|
+
* @param {Element} el An element.
|
654
|
+
* @returns {Document|ShadowRoot} The element's root node.
|
655
|
+
*/
|
656
|
+
function getRootNode(el) {
|
657
|
+
return el.getRootNode();
|
658
|
+
}
|
659
|
+
/**
|
660
|
+
* This helper returns the node's shadowRoot root node if it exists.
|
661
|
+
*
|
662
|
+
* @param {Element} el The element.
|
663
|
+
* @returns {ShadowRoot|null} The element's root node ShadowRoot.
|
664
|
+
*/
|
665
|
+
function getShadowRootNode(el) {
|
666
|
+
const rootNode = getRootNode(el);
|
667
|
+
return "host" in rootNode ? rootNode : null;
|
668
|
+
}
|
669
|
+
/**
|
670
|
+
* This helper returns the computed width in pixels a given text string takes up on screen.
|
671
|
+
*
|
672
|
+
* See https://stackoverflow.com/questions/118241/calculate-text-width-with-javascript
|
673
|
+
*
|
674
|
+
* @param {string} text The string of text to measure.
|
675
|
+
* @param {string} font The CSS font attribute's value, which should include size and face, e.g. "12px Arial".
|
676
|
+
*/
|
677
|
+
function getTextWidth(text, font) {
|
678
|
+
if (!text) {
|
679
|
+
return 0;
|
680
|
+
}
|
681
|
+
const canvas = document.createElement("canvas");
|
682
|
+
const context = canvas.getContext("2d");
|
683
|
+
context.font = font;
|
684
|
+
return context.measureText(text).width;
|
685
|
+
}
|
686
|
+
/**
|
687
|
+
* This helper returns the host of a ShadowRoot.
|
688
|
+
*
|
689
|
+
* @param {Document | ShadowRoot} root A root element.
|
690
|
+
* @returns {Element | null} The host element.
|
691
|
+
*/
|
692
|
+
function getHost(root) {
|
693
|
+
return root.host || null;
|
694
|
+
}
|
695
|
+
/**
|
696
|
+
* This helper queries an element's rootNode and any ancestor rootNodes.
|
697
|
+
*
|
698
|
+
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
699
|
+
*
|
700
|
+
* @param {Element} element An element.
|
701
|
+
* @param root0
|
702
|
+
* @param root0.selector
|
703
|
+
* @param root0.id
|
704
|
+
* @returns {Element} An element.
|
705
|
+
*/
|
706
|
+
function queryElementRoots(element, { selector, id, }) {
|
707
|
+
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
708
|
+
// Based on: https://stackoverflow.com/q/54520554/194216
|
709
|
+
function queryFrom(el) {
|
710
|
+
if (!el) {
|
711
|
+
return null;
|
712
|
+
}
|
713
|
+
if (el.assignedSlot) {
|
714
|
+
el = el.assignedSlot;
|
715
|
+
}
|
716
|
+
const rootNode = getRootNode(el);
|
717
|
+
const found = id
|
718
|
+
? "getElementById" in rootNode
|
719
|
+
? /*
|
720
|
+
Check to make sure 'getElementById' exists in cases where element is no longer connected to the DOM and getRootNode() returns the element.
|
721
|
+
https://github.com/Esri/calcite-design-system/pull/4280
|
722
|
+
*/
|
723
|
+
rootNode.getElementById(id)
|
724
|
+
: null
|
725
|
+
: selector
|
726
|
+
? rootNode.querySelector(selector)
|
727
|
+
: null;
|
728
|
+
const host = getHost(rootNode);
|
729
|
+
return found ? found : host ? queryFrom(host) : null;
|
730
|
+
}
|
731
|
+
return queryFrom(element);
|
732
|
+
}
|
733
|
+
/**
|
734
|
+
* This helper returns the closest element matching the selector by crossing he shadow boundary if necessary.
|
735
|
+
*
|
736
|
+
* @param {Element} element The starting element.
|
737
|
+
* @param {string} selector The selector.
|
738
|
+
* @returns {Element} The targeted element.
|
739
|
+
*/
|
740
|
+
function closestElementCrossShadowBoundary(element, selector) {
|
741
|
+
// based on https://stackoverflow.com/q/54520554/194216
|
742
|
+
function closestFrom(el) {
|
743
|
+
return el ? el.closest(selector) || closestFrom(getHost(getRootNode(el))) : null;
|
744
|
+
}
|
745
|
+
return closestFrom(element);
|
746
|
+
}
|
747
|
+
/**
|
748
|
+
* This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.
|
749
|
+
*
|
750
|
+
* Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function
|
751
|
+
*
|
752
|
+
* @param {Element} element An element.
|
753
|
+
* @param {(node: Node) => Element} onVisit The callback.
|
754
|
+
* @returns {Element} The result.
|
755
|
+
*/
|
756
|
+
function walkUpAncestry(element, onVisit) {
|
757
|
+
return visit(element, onVisit);
|
758
|
+
}
|
759
|
+
function visit(node, onVisit) {
|
760
|
+
if (!node) {
|
761
|
+
return;
|
762
|
+
}
|
763
|
+
const result = onVisit(node);
|
764
|
+
if (result !== undefined) {
|
765
|
+
return result;
|
766
|
+
}
|
767
|
+
const { parentNode } = node;
|
768
|
+
return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);
|
769
|
+
}
|
770
|
+
/**
|
771
|
+
* This helper returns true when an element has the descendant in question.
|
772
|
+
*
|
773
|
+
* @param {Element} element The starting element.
|
774
|
+
* @param {Element} maybeDescendant The descendant.
|
775
|
+
* @returns {boolean} The result.
|
776
|
+
*/
|
777
|
+
function containsCrossShadowBoundary(element, maybeDescendant) {
|
778
|
+
return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));
|
779
|
+
}
|
780
|
+
/**
|
781
|
+
* This helper returns true when an element has a setFocus method.
|
782
|
+
*
|
783
|
+
* @param {Element} el An element.
|
784
|
+
* @returns {boolean} The result.
|
785
|
+
*/
|
786
|
+
function isCalciteFocusable(el) {
|
787
|
+
return typeof el?.setFocus === "function";
|
788
|
+
}
|
789
|
+
/**
|
790
|
+
* This helper focuses an element using the `setFocus` method if available and falls back to using the `focus` method if not available.
|
791
|
+
*
|
792
|
+
* @param {Element} el An element.
|
793
|
+
*/
|
794
|
+
async function focusElement(el) {
|
795
|
+
if (!el) {
|
796
|
+
return;
|
797
|
+
}
|
798
|
+
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
799
|
+
}
|
800
|
+
/**
|
801
|
+
* Helper to focus the first tabbable element.
|
802
|
+
*
|
803
|
+
* @param {HTMLElement} element The html element containing tabbable elements.
|
804
|
+
*/
|
805
|
+
function focusFirstTabbable(element) {
|
806
|
+
if (!element) {
|
807
|
+
return;
|
808
|
+
}
|
809
|
+
(tabbable(element, tabbableOptions)[0] || element).focus();
|
810
|
+
}
|
811
|
+
const defaultSlotSelector = ":not([slot])";
|
812
|
+
function getSlotted(element, slotName, options) {
|
813
|
+
if (slotName && !Array.isArray(slotName) && typeof slotName !== "string") {
|
814
|
+
options = slotName;
|
815
|
+
slotName = null;
|
816
|
+
}
|
817
|
+
const slotSelector = slotName
|
818
|
+
? Array.isArray(slotName)
|
819
|
+
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
820
|
+
: `[slot="${slotName}"]`
|
821
|
+
: defaultSlotSelector;
|
822
|
+
if (options?.all) {
|
823
|
+
return queryMultiple(element, slotSelector, options);
|
824
|
+
}
|
825
|
+
return querySingle(element, slotSelector, options);
|
826
|
+
}
|
827
|
+
function getDirectChildren(el, selector) {
|
828
|
+
return el ? Array.from(el.children || []).filter((child) => child?.matches(selector)) : [];
|
829
|
+
}
|
830
|
+
function queryMultiple(element, slotSelector, options) {
|
831
|
+
let matches = slotSelector === defaultSlotSelector
|
832
|
+
? getDirectChildren(element, defaultSlotSelector)
|
833
|
+
: Array.from(element.querySelectorAll(slotSelector));
|
834
|
+
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
835
|
+
matches = options?.matches ? matches.filter((el) => el?.matches(options.matches)) : matches;
|
836
|
+
const selector = options?.selector;
|
837
|
+
return selector
|
838
|
+
? matches
|
839
|
+
.map((item) => Array.from(item.querySelectorAll(selector)))
|
840
|
+
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], [])
|
841
|
+
.filter((match) => !!match)
|
842
|
+
: matches;
|
843
|
+
}
|
844
|
+
function querySingle(element, slotSelector, options) {
|
845
|
+
let match = slotSelector === defaultSlotSelector
|
846
|
+
? getDirectChildren(element, defaultSlotSelector)[0] || null
|
847
|
+
: element.querySelector(slotSelector);
|
848
|
+
match = options && options.direct === false ? match : match?.parentElement === element ? match : null;
|
849
|
+
match = options?.matches ? (match?.matches(options.matches) ? match : null) : match;
|
850
|
+
const selector = options?.selector;
|
851
|
+
return selector ? match?.querySelector(selector) : match;
|
852
|
+
}
|
853
|
+
/**
|
854
|
+
* Filters direct children.
|
855
|
+
*
|
856
|
+
* @param {Element} el An element.
|
857
|
+
* @param {string} selector The selector.
|
858
|
+
* @returns {Element[]} An array of elements.
|
859
|
+
*/
|
860
|
+
function filterDirectChildren(el, selector) {
|
861
|
+
return Array.from(el.children).filter((child) => child.matches(selector));
|
862
|
+
}
|
863
|
+
/**
|
864
|
+
* Set a default icon from a defined set or allow an override with an icon name string
|
865
|
+
*
|
866
|
+
* @param {Record<string, string>} iconObject The icon object.
|
867
|
+
* @param {string | boolean} iconValue The icon value.
|
868
|
+
* @param {string} matchedValue The matched value.
|
869
|
+
* @returns {string|undefined} The resulting icon value.
|
870
|
+
*/
|
871
|
+
function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
872
|
+
if (typeof iconValue === "string" && iconValue !== "") {
|
873
|
+
return iconValue;
|
874
|
+
}
|
875
|
+
else if (iconValue === "") {
|
876
|
+
return iconObject[matchedValue];
|
877
|
+
}
|
878
|
+
}
|
879
|
+
/**
|
880
|
+
* This helper returns true when two rectangles intersect.
|
881
|
+
*
|
882
|
+
* @param {DOMRect} rect1 The first rectangle.
|
883
|
+
* @param {DOMRect} rect2 The second rectangle.
|
884
|
+
* @returns {boolean} The result.
|
885
|
+
*/
|
886
|
+
function intersects(rect1, rect2) {
|
887
|
+
return !(rect2.left > rect1.right ||
|
888
|
+
rect2.right < rect1.left ||
|
889
|
+
rect2.top > rect1.bottom ||
|
890
|
+
rect2.bottom < rect1.top);
|
891
|
+
}
|
892
|
+
/**
|
893
|
+
* This helper makes sure that boolean aria attributes are properly converted to a string.
|
894
|
+
*
|
895
|
+
* It should only be used for aria attributes that require a string value of "true" or "false".
|
896
|
+
*
|
897
|
+
* @param {boolean} value The value.
|
898
|
+
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
899
|
+
*/
|
900
|
+
function toAriaBoolean(value) {
|
901
|
+
return Boolean(value).toString();
|
902
|
+
}
|
903
|
+
/**
|
904
|
+
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has any content (text or elements).
|
905
|
+
*
|
906
|
+
* ```
|
907
|
+
* <slot onSlotchange={(event) => this.mySlotHasContent = slotChangeHasContent(event)} />}
|
908
|
+
* ```
|
909
|
+
*
|
910
|
+
* @param {Event} event The event.
|
911
|
+
* @returns {boolean} Whether the slot has any content.
|
912
|
+
*/
|
913
|
+
function slotChangeHasContent(event) {
|
914
|
+
return slotChangeHasAssignedElement(event) || slotChangeHasTextContent(event);
|
915
|
+
}
|
916
|
+
/**
|
917
|
+
* This helper returns a string of textContent if the target `slot` element from the `onSlotchange` event has any text content.
|
918
|
+
*
|
919
|
+
* ```
|
920
|
+
* <slot onSlotchange={(event) => this.mySlotText = slotChangeGetTextContent(event)} />}
|
921
|
+
* ```
|
922
|
+
*
|
923
|
+
* @param {Event} event The event.
|
924
|
+
* @returns {string} The slots text.
|
925
|
+
*/
|
926
|
+
function slotChangeGetTextContent(event) {
|
927
|
+
return slotChangeGetAssignedNodes(event)
|
928
|
+
.filter((node) => node.nodeType === Node.TEXT_NODE)
|
929
|
+
.map((node) => node.textContent)
|
930
|
+
.join("")
|
931
|
+
.trim();
|
932
|
+
}
|
933
|
+
/**
|
934
|
+
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has any text content.
|
935
|
+
*
|
936
|
+
* ```
|
937
|
+
* <slot onSlotchange={(event) => this.mySlotHasTextContent = slotChangeHasTextContent(event)} />}
|
938
|
+
* ```
|
939
|
+
*
|
940
|
+
* @param {Event} event The event.
|
941
|
+
* @returns {boolean} Whether the slot has any text content.
|
942
|
+
*/
|
943
|
+
function slotChangeHasTextContent(event) {
|
944
|
+
return !!slotChangeGetTextContent(event);
|
945
|
+
}
|
946
|
+
/**
|
947
|
+
* This helper returns the assigned nodes on a `slot` element from the `onSlotchange` event.
|
948
|
+
*
|
949
|
+
* ```
|
950
|
+
* <slot onSlotchange={(event) => this.mySlotNodes = slotChangeGetAssignedNodes(event)} />}
|
951
|
+
* ```
|
952
|
+
*
|
953
|
+
* @param {Event} event The event.
|
954
|
+
* @returns {boolean} Whether the slot has any assigned nodes.
|
955
|
+
*/
|
956
|
+
function slotChangeGetAssignedNodes(event) {
|
957
|
+
return event.target.assignedNodes({
|
958
|
+
flatten: true,
|
959
|
+
});
|
960
|
+
}
|
961
|
+
/**
|
962
|
+
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has an assigned element.
|
963
|
+
*
|
964
|
+
* ```
|
965
|
+
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
966
|
+
* ```
|
967
|
+
*
|
968
|
+
* @param {Event} event The event.
|
969
|
+
* @returns {boolean} Whether the slot has any assigned elements.
|
970
|
+
*/
|
971
|
+
function slotChangeHasAssignedElement(event) {
|
972
|
+
return !!slotChangeGetAssignedElements(event).length;
|
973
|
+
}
|
974
|
+
/**
|
975
|
+
* This helper returns the assigned elements on a `slot` element from the `onSlotchange` event.
|
976
|
+
*
|
977
|
+
* ```
|
978
|
+
* <slot onSlotchange={(event) => this.mySlotElements = slotChangeGetAssignedElements(event)} />}
|
979
|
+
* ```
|
980
|
+
*
|
981
|
+
* @param {Event} event The event.
|
982
|
+
* @returns {boolean} Whether the slot has any assigned elements.
|
983
|
+
*/
|
984
|
+
function slotChangeGetAssignedElements(event) {
|
985
|
+
return event.target.assignedElements({
|
986
|
+
flatten: true,
|
987
|
+
});
|
988
|
+
}
|
989
|
+
/**
|
990
|
+
* This helper returns true if the pointer event fired from the primary button of the device.
|
991
|
+
*
|
992
|
+
* See https://www.w3.org/TR/pointerevents/#the-button-property.
|
993
|
+
*
|
994
|
+
* @param {PointerEvent} event The pointer event.
|
995
|
+
* @returns {boolean} The value.
|
996
|
+
*/
|
997
|
+
function isPrimaryPointerButton(event) {
|
998
|
+
return !!(event.isPrimary && event.button === 0);
|
999
|
+
}
|
1000
|
+
/**
|
1001
|
+
* This helper sets focus on and returns a destination element from within a group of provided elements.
|
1002
|
+
*
|
1003
|
+
* @param {Element[]} elements An array of elements.
|
1004
|
+
* @param {Element} currentElement The current element.
|
1005
|
+
* @param {FocusElementInGroupDestination} destination The target destination element to focus.
|
1006
|
+
* @param {boolean} cycle Should navigation cycle through elements or stop at extent - defaults to true.
|
1007
|
+
* @returns {Element} The focused element
|
1008
|
+
*/
|
1009
|
+
const focusElementInGroup = (elements, currentElement, destination, cycle = true) => {
|
1010
|
+
const currentIndex = elements.indexOf(currentElement);
|
1011
|
+
const isFirstItem = currentIndex === 0;
|
1012
|
+
const isLastItem = currentIndex === elements.length - 1;
|
1013
|
+
if (cycle) {
|
1014
|
+
destination =
|
1015
|
+
destination === "previous" && isFirstItem ? "last" : destination === "next" && isLastItem ? "first" : destination;
|
1016
|
+
}
|
1017
|
+
let focusTarget;
|
1018
|
+
if (destination === "previous") {
|
1019
|
+
focusTarget = elements[currentIndex - 1] || elements[cycle ? elements.length - 1 : currentIndex];
|
1020
|
+
}
|
1021
|
+
else if (destination === "next") {
|
1022
|
+
focusTarget = elements[currentIndex + 1] || elements[cycle ? 0 : currentIndex];
|
1023
|
+
}
|
1024
|
+
else if (destination === "last") {
|
1025
|
+
focusTarget = elements[elements.length - 1];
|
1026
|
+
}
|
1027
|
+
else {
|
1028
|
+
focusTarget = elements[0];
|
1029
|
+
}
|
1030
|
+
focusElement(focusTarget);
|
1031
|
+
return focusTarget;
|
1032
|
+
};
|
1033
|
+
/**
|
1034
|
+
* This helper determines if an element is before another element in the DOM.
|
1035
|
+
*
|
1036
|
+
* @param a the reference element to compare
|
1037
|
+
* @param b the element to compare against
|
1038
|
+
*
|
1039
|
+
* @returns true when a is before b in the DOM
|
1040
|
+
*/
|
1041
|
+
function isBefore(a, b) {
|
1042
|
+
if (a.parentNode !== b.parentNode) {
|
1043
|
+
return false;
|
1044
|
+
}
|
1045
|
+
const children = Array.from(a.parentNode.children);
|
1046
|
+
return children.indexOf(a) < children.indexOf(b);
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
exports.closestElementCrossShadowBoundary = closestElementCrossShadowBoundary;
|
1050
|
+
exports.containsCrossShadowBoundary = containsCrossShadowBoundary;
|
1051
|
+
exports.ensureId = ensureId;
|
1052
|
+
exports.filterDirectChildren = filterDirectChildren;
|
1053
|
+
exports.focusElement = focusElement;
|
1054
|
+
exports.focusElementInGroup = focusElementInGroup;
|
1055
|
+
exports.focusFirstTabbable = focusFirstTabbable;
|
1056
|
+
exports.focusable = focusable;
|
1057
|
+
exports.getElementDir = getElementDir;
|
1058
|
+
exports.getElementWidth = getElementWidth;
|
1059
|
+
exports.getModeName = getModeName;
|
1060
|
+
exports.getShadowRootNode = getShadowRootNode;
|
1061
|
+
exports.getSlotted = getSlotted;
|
1062
|
+
exports.getTabIndex = getTabIndex;
|
1063
|
+
exports.getTextWidth = getTextWidth;
|
1064
|
+
exports.intersects = intersects;
|
1065
|
+
exports.isBefore = isBefore;
|
1066
|
+
exports.isFocusable = isFocusable;
|
1067
|
+
exports.isPrimaryPointerButton = isPrimaryPointerButton;
|
1068
|
+
exports.isTabbable = isTabbable;
|
1069
|
+
exports.nodeListToArray = nodeListToArray;
|
1070
|
+
exports.queryElementRoots = queryElementRoots;
|
1071
|
+
exports.setRequestedIcon = setRequestedIcon;
|
1072
|
+
exports.slotChangeGetAssignedElements = slotChangeGetAssignedElements;
|
1073
|
+
exports.slotChangeHasAssignedElement = slotChangeHasAssignedElement;
|
1074
|
+
exports.slotChangeHasContent = slotChangeHasContent;
|
1075
|
+
exports.tabbable = tabbable;
|
1076
|
+
exports.tabbableOptions = tabbableOptions;
|
1077
|
+
exports.toAriaBoolean = toAriaBoolean;
|