@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,1023 @@
|
|
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
|
+
import { j as tabbable, k as focusable, l as isTabbable, m as getTabIndex, o as isFocusable, e as focusElement, p as tabbableOptions } from './dom-7b3caf49.js';
|
7
|
+
|
8
|
+
/*!
|
9
|
+
* focus-trap 7.5.4
|
10
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
11
|
+
*/
|
12
|
+
|
13
|
+
function ownKeys(e, r) {
|
14
|
+
var t = Object.keys(e);
|
15
|
+
if (Object.getOwnPropertySymbols) {
|
16
|
+
var o = Object.getOwnPropertySymbols(e);
|
17
|
+
r && (o = o.filter(function (r) {
|
18
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
19
|
+
})), t.push.apply(t, o);
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
}
|
23
|
+
function _objectSpread2(e) {
|
24
|
+
for (var r = 1; r < arguments.length; r++) {
|
25
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
26
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
27
|
+
_defineProperty(e, r, t[r]);
|
28
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
29
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
30
|
+
});
|
31
|
+
}
|
32
|
+
return e;
|
33
|
+
}
|
34
|
+
function _defineProperty(obj, key, value) {
|
35
|
+
key = _toPropertyKey(key);
|
36
|
+
if (key in obj) {
|
37
|
+
Object.defineProperty(obj, key, {
|
38
|
+
value: value,
|
39
|
+
enumerable: true,
|
40
|
+
configurable: true,
|
41
|
+
writable: true
|
42
|
+
});
|
43
|
+
} else {
|
44
|
+
obj[key] = value;
|
45
|
+
}
|
46
|
+
return obj;
|
47
|
+
}
|
48
|
+
function _toPrimitive(input, hint) {
|
49
|
+
if (typeof input !== "object" || input === null) return input;
|
50
|
+
var prim = input[Symbol.toPrimitive];
|
51
|
+
if (prim !== undefined) {
|
52
|
+
var res = prim.call(input, hint || "default");
|
53
|
+
if (typeof res !== "object") return res;
|
54
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
55
|
+
}
|
56
|
+
return (hint === "string" ? String : Number)(input);
|
57
|
+
}
|
58
|
+
function _toPropertyKey(arg) {
|
59
|
+
var key = _toPrimitive(arg, "string");
|
60
|
+
return typeof key === "symbol" ? key : String(key);
|
61
|
+
}
|
62
|
+
|
63
|
+
var activeFocusTraps = {
|
64
|
+
activateTrap: function activateTrap(trapStack, trap) {
|
65
|
+
if (trapStack.length > 0) {
|
66
|
+
var activeTrap = trapStack[trapStack.length - 1];
|
67
|
+
if (activeTrap !== trap) {
|
68
|
+
activeTrap.pause();
|
69
|
+
}
|
70
|
+
}
|
71
|
+
var trapIndex = trapStack.indexOf(trap);
|
72
|
+
if (trapIndex === -1) {
|
73
|
+
trapStack.push(trap);
|
74
|
+
} else {
|
75
|
+
// move this existing trap to the front of the queue
|
76
|
+
trapStack.splice(trapIndex, 1);
|
77
|
+
trapStack.push(trap);
|
78
|
+
}
|
79
|
+
},
|
80
|
+
deactivateTrap: function deactivateTrap(trapStack, trap) {
|
81
|
+
var trapIndex = trapStack.indexOf(trap);
|
82
|
+
if (trapIndex !== -1) {
|
83
|
+
trapStack.splice(trapIndex, 1);
|
84
|
+
}
|
85
|
+
if (trapStack.length > 0) {
|
86
|
+
trapStack[trapStack.length - 1].unpause();
|
87
|
+
}
|
88
|
+
}
|
89
|
+
};
|
90
|
+
var isSelectableInput = function isSelectableInput(node) {
|
91
|
+
return node.tagName && node.tagName.toLowerCase() === 'input' && typeof node.select === 'function';
|
92
|
+
};
|
93
|
+
var isEscapeEvent = function isEscapeEvent(e) {
|
94
|
+
return (e === null || e === void 0 ? void 0 : e.key) === 'Escape' || (e === null || e === void 0 ? void 0 : e.key) === 'Esc' || (e === null || e === void 0 ? void 0 : e.keyCode) === 27;
|
95
|
+
};
|
96
|
+
var isTabEvent = function isTabEvent(e) {
|
97
|
+
return (e === null || e === void 0 ? void 0 : e.key) === 'Tab' || (e === null || e === void 0 ? void 0 : e.keyCode) === 9;
|
98
|
+
};
|
99
|
+
|
100
|
+
// checks for TAB by default
|
101
|
+
var isKeyForward = function isKeyForward(e) {
|
102
|
+
return isTabEvent(e) && !e.shiftKey;
|
103
|
+
};
|
104
|
+
|
105
|
+
// checks for SHIFT+TAB by default
|
106
|
+
var isKeyBackward = function isKeyBackward(e) {
|
107
|
+
return isTabEvent(e) && e.shiftKey;
|
108
|
+
};
|
109
|
+
var delay = function delay(fn) {
|
110
|
+
return setTimeout(fn, 0);
|
111
|
+
};
|
112
|
+
|
113
|
+
// Array.find/findIndex() are not supported on IE; this replicates enough
|
114
|
+
// of Array.findIndex() for our needs
|
115
|
+
var findIndex = function findIndex(arr, fn) {
|
116
|
+
var idx = -1;
|
117
|
+
arr.every(function (value, i) {
|
118
|
+
if (fn(value)) {
|
119
|
+
idx = i;
|
120
|
+
return false; // break
|
121
|
+
}
|
122
|
+
|
123
|
+
return true; // next
|
124
|
+
});
|
125
|
+
|
126
|
+
return idx;
|
127
|
+
};
|
128
|
+
|
129
|
+
/**
|
130
|
+
* Get an option's value when it could be a plain value, or a handler that provides
|
131
|
+
* the value.
|
132
|
+
* @param {*} value Option's value to check.
|
133
|
+
* @param {...*} [params] Any parameters to pass to the handler, if `value` is a function.
|
134
|
+
* @returns {*} The `value`, or the handler's returned value.
|
135
|
+
*/
|
136
|
+
var valueOrHandler = function valueOrHandler(value) {
|
137
|
+
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
138
|
+
params[_key - 1] = arguments[_key];
|
139
|
+
}
|
140
|
+
return typeof value === 'function' ? value.apply(void 0, params) : value;
|
141
|
+
};
|
142
|
+
var getActualTarget = function getActualTarget(event) {
|
143
|
+
// NOTE: If the trap is _inside_ a shadow DOM, event.target will always be the
|
144
|
+
// shadow host. However, event.target.composedPath() will be an array of
|
145
|
+
// nodes "clicked" from inner-most (the actual element inside the shadow) to
|
146
|
+
// outer-most (the host HTML document). If we have access to composedPath(),
|
147
|
+
// then use its first element; otherwise, fall back to event.target (and
|
148
|
+
// this only works for an _open_ shadow DOM; otherwise,
|
149
|
+
// composedPath()[0] === event.target always).
|
150
|
+
return event.target.shadowRoot && typeof event.composedPath === 'function' ? event.composedPath()[0] : event.target;
|
151
|
+
};
|
152
|
+
|
153
|
+
// NOTE: this must be _outside_ `createFocusTrap()` to make sure all traps in this
|
154
|
+
// current instance use the same stack if `userOptions.trapStack` isn't specified
|
155
|
+
var internalTrapStack = [];
|
156
|
+
var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
157
|
+
// SSR: a live trap shouldn't be created in this type of environment so this
|
158
|
+
// should be safe code to execute if the `document` option isn't specified
|
159
|
+
var doc = (userOptions === null || userOptions === void 0 ? void 0 : userOptions.document) || document;
|
160
|
+
var trapStack = (userOptions === null || userOptions === void 0 ? void 0 : userOptions.trapStack) || internalTrapStack;
|
161
|
+
var config = _objectSpread2({
|
162
|
+
returnFocusOnDeactivate: true,
|
163
|
+
escapeDeactivates: true,
|
164
|
+
delayInitialFocus: true,
|
165
|
+
isKeyForward: isKeyForward,
|
166
|
+
isKeyBackward: isKeyBackward
|
167
|
+
}, userOptions);
|
168
|
+
var state = {
|
169
|
+
// containers given to createFocusTrap()
|
170
|
+
// @type {Array<HTMLElement>}
|
171
|
+
containers: [],
|
172
|
+
// list of objects identifying tabbable nodes in `containers` in the trap
|
173
|
+
// NOTE: it's possible that a group has no tabbable nodes if nodes get removed while the trap
|
174
|
+
// is active, but the trap should never get to a state where there isn't at least one group
|
175
|
+
// with at least one tabbable node in it (that would lead to an error condition that would
|
176
|
+
// result in an error being thrown)
|
177
|
+
// @type {Array<{
|
178
|
+
// container: HTMLElement,
|
179
|
+
// tabbableNodes: Array<HTMLElement>, // empty if none
|
180
|
+
// focusableNodes: Array<HTMLElement>, // empty if none
|
181
|
+
// posTabIndexesFound: boolean,
|
182
|
+
// firstTabbableNode: HTMLElement|undefined,
|
183
|
+
// lastTabbableNode: HTMLElement|undefined,
|
184
|
+
// firstDomTabbableNode: HTMLElement|undefined,
|
185
|
+
// lastDomTabbableNode: HTMLElement|undefined,
|
186
|
+
// nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
|
187
|
+
// }>}
|
188
|
+
containerGroups: [],
|
189
|
+
// same order/length as `containers` list
|
190
|
+
|
191
|
+
// references to objects in `containerGroups`, but only those that actually have
|
192
|
+
// tabbable nodes in them
|
193
|
+
// NOTE: same order as `containers` and `containerGroups`, but __not necessarily__
|
194
|
+
// the same length
|
195
|
+
tabbableGroups: [],
|
196
|
+
nodeFocusedBeforeActivation: null,
|
197
|
+
mostRecentlyFocusedNode: null,
|
198
|
+
active: false,
|
199
|
+
paused: false,
|
200
|
+
// timer ID for when delayInitialFocus is true and initial focus in this trap
|
201
|
+
// has been delayed during activation
|
202
|
+
delayInitialFocusTimer: undefined,
|
203
|
+
// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
|
204
|
+
recentNavEvent: undefined
|
205
|
+
};
|
206
|
+
var trap; // eslint-disable-line prefer-const -- some private functions reference it, and its methods reference private functions, so we must declare here and define later
|
207
|
+
|
208
|
+
/**
|
209
|
+
* Gets a configuration option value.
|
210
|
+
* @param {Object|undefined} configOverrideOptions If true, and option is defined in this set,
|
211
|
+
* value will be taken from this object. Otherwise, value will be taken from base configuration.
|
212
|
+
* @param {string} optionName Name of the option whose value is sought.
|
213
|
+
* @param {string|undefined} [configOptionName] Name of option to use __instead of__ `optionName`
|
214
|
+
* IIF `configOverrideOptions` is not defined. Otherwise, `optionName` is used.
|
215
|
+
*/
|
216
|
+
var getOption = function getOption(configOverrideOptions, optionName, configOptionName) {
|
217
|
+
return configOverrideOptions && configOverrideOptions[optionName] !== undefined ? configOverrideOptions[optionName] : config[configOptionName || optionName];
|
218
|
+
};
|
219
|
+
|
220
|
+
/**
|
221
|
+
* Finds the index of the container that contains the element.
|
222
|
+
* @param {HTMLElement} element
|
223
|
+
* @param {Event} [event] If available, and `element` isn't directly found in any container,
|
224
|
+
* the event's composed path is used to see if includes any known trap containers in the
|
225
|
+
* case where the element is inside a Shadow DOM.
|
226
|
+
* @returns {number} Index of the container in either `state.containers` or
|
227
|
+
* `state.containerGroups` (the order/length of these lists are the same); -1
|
228
|
+
* if the element isn't found.
|
229
|
+
*/
|
230
|
+
var findContainerIndex = function findContainerIndex(element, event) {
|
231
|
+
var composedPath = typeof (event === null || event === void 0 ? void 0 : event.composedPath) === 'function' ? event.composedPath() : undefined;
|
232
|
+
// NOTE: search `containerGroups` because it's possible a group contains no tabbable
|
233
|
+
// nodes, but still contains focusable nodes (e.g. if they all have `tabindex=-1`)
|
234
|
+
// and we still need to find the element in there
|
235
|
+
return state.containerGroups.findIndex(function (_ref) {
|
236
|
+
var container = _ref.container,
|
237
|
+
tabbableNodes = _ref.tabbableNodes;
|
238
|
+
return container.contains(element) || ( // fall back to explicit tabbable search which will take into consideration any
|
239
|
+
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
240
|
+
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
241
|
+
// look inside web components even if open)
|
242
|
+
composedPath === null || composedPath === void 0 ? void 0 : composedPath.includes(container)) || tabbableNodes.find(function (node) {
|
243
|
+
return node === element;
|
244
|
+
});
|
245
|
+
});
|
246
|
+
};
|
247
|
+
|
248
|
+
/**
|
249
|
+
* Gets the node for the given option, which is expected to be an option that
|
250
|
+
* can be either a DOM node, a string that is a selector to get a node, `false`
|
251
|
+
* (if a node is explicitly NOT given), or a function that returns any of these
|
252
|
+
* values.
|
253
|
+
* @param {string} optionName
|
254
|
+
* @returns {undefined | false | HTMLElement | SVGElement} Returns
|
255
|
+
* `undefined` if the option is not specified; `false` if the option
|
256
|
+
* resolved to `false` (node explicitly not given); otherwise, the resolved
|
257
|
+
* DOM node.
|
258
|
+
* @throws {Error} If the option is set, not `false`, and is not, or does not
|
259
|
+
* resolve to a node.
|
260
|
+
*/
|
261
|
+
var getNodeForOption = function getNodeForOption(optionName) {
|
262
|
+
var optionValue = config[optionName];
|
263
|
+
if (typeof optionValue === 'function') {
|
264
|
+
for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
265
|
+
params[_key2 - 1] = arguments[_key2];
|
266
|
+
}
|
267
|
+
optionValue = optionValue.apply(void 0, params);
|
268
|
+
}
|
269
|
+
if (optionValue === true) {
|
270
|
+
optionValue = undefined; // use default value
|
271
|
+
}
|
272
|
+
|
273
|
+
if (!optionValue) {
|
274
|
+
if (optionValue === undefined || optionValue === false) {
|
275
|
+
return optionValue;
|
276
|
+
}
|
277
|
+
// else, empty string (invalid), null (invalid), 0 (invalid)
|
278
|
+
|
279
|
+
throw new Error("`".concat(optionName, "` was specified but was not a node, or did not return a node"));
|
280
|
+
}
|
281
|
+
var node = optionValue; // could be HTMLElement, SVGElement, or non-empty string at this point
|
282
|
+
|
283
|
+
if (typeof optionValue === 'string') {
|
284
|
+
node = doc.querySelector(optionValue); // resolve to node, or null if fails
|
285
|
+
if (!node) {
|
286
|
+
throw new Error("`".concat(optionName, "` as selector refers to no known node"));
|
287
|
+
}
|
288
|
+
}
|
289
|
+
return node;
|
290
|
+
};
|
291
|
+
var getInitialFocusNode = function getInitialFocusNode() {
|
292
|
+
var node = getNodeForOption('initialFocus');
|
293
|
+
|
294
|
+
// false explicitly indicates we want no initialFocus at all
|
295
|
+
if (node === false) {
|
296
|
+
return false;
|
297
|
+
}
|
298
|
+
if (node === undefined || !isFocusable(node, config.tabbableOptions)) {
|
299
|
+
// option not specified nor focusable: use fallback options
|
300
|
+
if (findContainerIndex(doc.activeElement) >= 0) {
|
301
|
+
node = doc.activeElement;
|
302
|
+
} else {
|
303
|
+
var firstTabbableGroup = state.tabbableGroups[0];
|
304
|
+
var firstTabbableNode = firstTabbableGroup && firstTabbableGroup.firstTabbableNode;
|
305
|
+
|
306
|
+
// NOTE: `fallbackFocus` option function cannot return `false` (not supported)
|
307
|
+
node = firstTabbableNode || getNodeForOption('fallbackFocus');
|
308
|
+
}
|
309
|
+
}
|
310
|
+
if (!node) {
|
311
|
+
throw new Error('Your focus-trap needs to have at least one focusable element');
|
312
|
+
}
|
313
|
+
return node;
|
314
|
+
};
|
315
|
+
var updateTabbableNodes = function updateTabbableNodes() {
|
316
|
+
state.containerGroups = state.containers.map(function (container) {
|
317
|
+
var tabbableNodes = tabbable(container, config.tabbableOptions);
|
318
|
+
|
319
|
+
// NOTE: if we have tabbable nodes, we must have focusable nodes; focusable nodes
|
320
|
+
// are a superset of tabbable nodes since nodes with negative `tabindex` attributes
|
321
|
+
// are focusable but not tabbable
|
322
|
+
var focusableNodes = focusable(container, config.tabbableOptions);
|
323
|
+
var firstTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[0] : undefined;
|
324
|
+
var lastTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[tabbableNodes.length - 1] : undefined;
|
325
|
+
var firstDomTabbableNode = focusableNodes.find(function (node) {
|
326
|
+
return isTabbable(node);
|
327
|
+
});
|
328
|
+
var lastDomTabbableNode = focusableNodes.slice().reverse().find(function (node) {
|
329
|
+
return isTabbable(node);
|
330
|
+
});
|
331
|
+
var posTabIndexesFound = !!tabbableNodes.find(function (node) {
|
332
|
+
return getTabIndex(node) > 0;
|
333
|
+
});
|
334
|
+
return {
|
335
|
+
container: container,
|
336
|
+
tabbableNodes: tabbableNodes,
|
337
|
+
focusableNodes: focusableNodes,
|
338
|
+
/** True if at least one node with positive `tabindex` was found in this container. */
|
339
|
+
posTabIndexesFound: posTabIndexesFound,
|
340
|
+
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
341
|
+
firstTabbableNode: firstTabbableNode,
|
342
|
+
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
343
|
+
lastTabbableNode: lastTabbableNode,
|
344
|
+
// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
|
345
|
+
// would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
|
346
|
+
// because that API doesn't work with Shadow DOM as well as it should (@see
|
347
|
+
// https://github.com/whatwg/dom/issues/320) and since this first/last is only needed, so far,
|
348
|
+
// to address an edge case related to positive tabindex support, this seems like a much easier,
|
349
|
+
// "close enough most of the time" alternative for positive tabindexes which should generally
|
350
|
+
// be avoided anyway...
|
351
|
+
/** First tabbable node in container, __DOM__ order; `undefined` if none. */
|
352
|
+
firstDomTabbableNode: firstDomTabbableNode,
|
353
|
+
/** Last tabbable node in container, __DOM__ order; `undefined` if none. */
|
354
|
+
lastDomTabbableNode: lastDomTabbableNode,
|
355
|
+
/**
|
356
|
+
* Finds the __tabbable__ node that follows the given node in the specified direction,
|
357
|
+
* in this container, if any.
|
358
|
+
* @param {HTMLElement} node
|
359
|
+
* @param {boolean} [forward] True if going in forward tab order; false if going
|
360
|
+
* in reverse.
|
361
|
+
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
362
|
+
*/
|
363
|
+
nextTabbableNode: function nextTabbableNode(node) {
|
364
|
+
var forward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
365
|
+
var nodeIdx = tabbableNodes.indexOf(node);
|
366
|
+
if (nodeIdx < 0) {
|
367
|
+
// either not tabbable nor focusable, or was focused but not tabbable (negative tabindex):
|
368
|
+
// since `node` should at least have been focusable, we assume that's the case and mimic
|
369
|
+
// what browsers do, which is set focus to the next node in __document position order__,
|
370
|
+
// regardless of positive tabindexes, if any -- and for reasons explained in the NOTE
|
371
|
+
// above related to `firstDomTabbable` and `lastDomTabbable` properties, we fall back to
|
372
|
+
// basic DOM order
|
373
|
+
if (forward) {
|
374
|
+
return focusableNodes.slice(focusableNodes.indexOf(node) + 1).find(function (el) {
|
375
|
+
return isTabbable(el);
|
376
|
+
});
|
377
|
+
}
|
378
|
+
return focusableNodes.slice(0, focusableNodes.indexOf(node)).reverse().find(function (el) {
|
379
|
+
return isTabbable(el);
|
380
|
+
});
|
381
|
+
}
|
382
|
+
return tabbableNodes[nodeIdx + (forward ? 1 : -1)];
|
383
|
+
}
|
384
|
+
};
|
385
|
+
});
|
386
|
+
state.tabbableGroups = state.containerGroups.filter(function (group) {
|
387
|
+
return group.tabbableNodes.length > 0;
|
388
|
+
});
|
389
|
+
|
390
|
+
// throw if no groups have tabbable nodes and we don't have a fallback focus node either
|
391
|
+
if (state.tabbableGroups.length <= 0 && !getNodeForOption('fallbackFocus') // returning false not supported for this option
|
392
|
+
) {
|
393
|
+
throw new Error('Your focus-trap must have at least one container with at least one tabbable node in it at all times');
|
394
|
+
}
|
395
|
+
|
396
|
+
// NOTE: Positive tabindexes are only properly supported in single-container traps because
|
397
|
+
// doing it across multiple containers where tabindexes could be all over the place
|
398
|
+
// would require Tabbable to support multiple containers, would require additional
|
399
|
+
// specialized Shadow DOM support, and would require Tabbable's multi-container support
|
400
|
+
// to look at those containers in document position order rather than user-provided
|
401
|
+
// order (as they are treated in Focus-trap, for legacy reasons). See discussion on
|
402
|
+
// https://github.com/focus-trap/focus-trap/issues/375 for more details.
|
403
|
+
if (state.containerGroups.find(function (g) {
|
404
|
+
return g.posTabIndexesFound;
|
405
|
+
}) && state.containerGroups.length > 1) {
|
406
|
+
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
407
|
+
}
|
408
|
+
};
|
409
|
+
|
410
|
+
/**
|
411
|
+
* Gets the current activeElement. If it's a web-component and has open shadow-root
|
412
|
+
* it will recursively search inside shadow roots for the "true" activeElement.
|
413
|
+
*
|
414
|
+
* @param {Document | ShadowRoot} el
|
415
|
+
*
|
416
|
+
* @returns {HTMLElement} The element that currently has the focus
|
417
|
+
**/
|
418
|
+
var getActiveElement = function getActiveElement(el) {
|
419
|
+
var activeElement = el.activeElement;
|
420
|
+
if (!activeElement) {
|
421
|
+
return;
|
422
|
+
}
|
423
|
+
if (activeElement.shadowRoot && activeElement.shadowRoot.activeElement !== null) {
|
424
|
+
return getActiveElement(activeElement.shadowRoot);
|
425
|
+
}
|
426
|
+
return activeElement;
|
427
|
+
};
|
428
|
+
var tryFocus = function tryFocus(node) {
|
429
|
+
if (node === false) {
|
430
|
+
return;
|
431
|
+
}
|
432
|
+
if (node === getActiveElement(document)) {
|
433
|
+
return;
|
434
|
+
}
|
435
|
+
if (!node || !node.focus) {
|
436
|
+
tryFocus(getInitialFocusNode());
|
437
|
+
return;
|
438
|
+
}
|
439
|
+
node.focus({
|
440
|
+
preventScroll: !!config.preventScroll
|
441
|
+
});
|
442
|
+
// NOTE: focus() API does not trigger focusIn event so set MRU node manually
|
443
|
+
state.mostRecentlyFocusedNode = node;
|
444
|
+
if (isSelectableInput(node)) {
|
445
|
+
node.select();
|
446
|
+
}
|
447
|
+
};
|
448
|
+
var getReturnFocusNode = function getReturnFocusNode(previousActiveElement) {
|
449
|
+
var node = getNodeForOption('setReturnFocus', previousActiveElement);
|
450
|
+
return node ? node : node === false ? false : previousActiveElement;
|
451
|
+
};
|
452
|
+
|
453
|
+
/**
|
454
|
+
* Finds the next node (in either direction) where focus should move according to a
|
455
|
+
* keyboard focus-in event.
|
456
|
+
* @param {Object} params
|
457
|
+
* @param {Node} [params.target] Known target __from which__ to navigate, if any.
|
458
|
+
* @param {KeyboardEvent|FocusEvent} [params.event] Event to use if `target` isn't known (event
|
459
|
+
* will be used to determine the `target`). Ignored if `target` is specified.
|
460
|
+
* @param {boolean} [params.isBackward] True if focus should move backward.
|
461
|
+
* @returns {Node|undefined} The next node, or `undefined` if a next node couldn't be
|
462
|
+
* determined given the current state of the trap.
|
463
|
+
*/
|
464
|
+
var findNextNavNode = function findNextNavNode(_ref2) {
|
465
|
+
var target = _ref2.target,
|
466
|
+
event = _ref2.event,
|
467
|
+
_ref2$isBackward = _ref2.isBackward,
|
468
|
+
isBackward = _ref2$isBackward === void 0 ? false : _ref2$isBackward;
|
469
|
+
target = target || getActualTarget(event);
|
470
|
+
updateTabbableNodes();
|
471
|
+
var destinationNode = null;
|
472
|
+
if (state.tabbableGroups.length > 0) {
|
473
|
+
// make sure the target is actually contained in a group
|
474
|
+
// NOTE: the target may also be the container itself if it's focusable
|
475
|
+
// with tabIndex='-1' and was given initial focus
|
476
|
+
var containerIndex = findContainerIndex(target, event);
|
477
|
+
var containerGroup = containerIndex >= 0 ? state.containerGroups[containerIndex] : undefined;
|
478
|
+
if (containerIndex < 0) {
|
479
|
+
// target not found in any group: quite possible focus has escaped the trap,
|
480
|
+
// so bring it back into...
|
481
|
+
if (isBackward) {
|
482
|
+
// ...the last node in the last group
|
483
|
+
destinationNode = state.tabbableGroups[state.tabbableGroups.length - 1].lastTabbableNode;
|
484
|
+
} else {
|
485
|
+
// ...the first node in the first group
|
486
|
+
destinationNode = state.tabbableGroups[0].firstTabbableNode;
|
487
|
+
}
|
488
|
+
} else if (isBackward) {
|
489
|
+
// REVERSE
|
490
|
+
|
491
|
+
// is the target the first tabbable node in a group?
|
492
|
+
var startOfGroupIndex = findIndex(state.tabbableGroups, function (_ref3) {
|
493
|
+
var firstTabbableNode = _ref3.firstTabbableNode;
|
494
|
+
return target === firstTabbableNode;
|
495
|
+
});
|
496
|
+
if (startOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target, false))) {
|
497
|
+
// an exception case where the target is either the container itself, or
|
498
|
+
// a non-tabbable node that was given focus (i.e. tabindex is negative
|
499
|
+
// and user clicked on it or node was programmatically given focus)
|
500
|
+
// and is not followed by any other tabbable node, in which
|
501
|
+
// case, we should handle shift+tab as if focus were on the container's
|
502
|
+
// first tabbable node, and go to the last tabbable node of the LAST group
|
503
|
+
startOfGroupIndex = containerIndex;
|
504
|
+
}
|
505
|
+
if (startOfGroupIndex >= 0) {
|
506
|
+
// YES: then shift+tab should go to the last tabbable node in the
|
507
|
+
// previous group (and wrap around to the last tabbable node of
|
508
|
+
// the LAST group if it's the first tabbable node of the FIRST group)
|
509
|
+
var destinationGroupIndex = startOfGroupIndex === 0 ? state.tabbableGroups.length - 1 : startOfGroupIndex - 1;
|
510
|
+
var destinationGroup = state.tabbableGroups[destinationGroupIndex];
|
511
|
+
destinationNode = getTabIndex(target) >= 0 ? destinationGroup.lastTabbableNode : destinationGroup.lastDomTabbableNode;
|
512
|
+
} else if (!isTabEvent(event)) {
|
513
|
+
// user must have customized the nav keys so we have to move focus manually _within_
|
514
|
+
// the active group: do this based on the order determined by tabbable()
|
515
|
+
destinationNode = containerGroup.nextTabbableNode(target, false);
|
516
|
+
}
|
517
|
+
} else {
|
518
|
+
// FORWARD
|
519
|
+
|
520
|
+
// is the target the last tabbable node in a group?
|
521
|
+
var lastOfGroupIndex = findIndex(state.tabbableGroups, function (_ref4) {
|
522
|
+
var lastTabbableNode = _ref4.lastTabbableNode;
|
523
|
+
return target === lastTabbableNode;
|
524
|
+
});
|
525
|
+
if (lastOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target))) {
|
526
|
+
// an exception case where the target is the container itself, or
|
527
|
+
// a non-tabbable node that was given focus (i.e. tabindex is negative
|
528
|
+
// and user clicked on it or node was programmatically given focus)
|
529
|
+
// and is not followed by any other tabbable node, in which
|
530
|
+
// case, we should handle tab as if focus were on the container's
|
531
|
+
// last tabbable node, and go to the first tabbable node of the FIRST group
|
532
|
+
lastOfGroupIndex = containerIndex;
|
533
|
+
}
|
534
|
+
if (lastOfGroupIndex >= 0) {
|
535
|
+
// YES: then tab should go to the first tabbable node in the next
|
536
|
+
// group (and wrap around to the first tabbable node of the FIRST
|
537
|
+
// group if it's the last tabbable node of the LAST group)
|
538
|
+
var _destinationGroupIndex = lastOfGroupIndex === state.tabbableGroups.length - 1 ? 0 : lastOfGroupIndex + 1;
|
539
|
+
var _destinationGroup = state.tabbableGroups[_destinationGroupIndex];
|
540
|
+
destinationNode = getTabIndex(target) >= 0 ? _destinationGroup.firstTabbableNode : _destinationGroup.firstDomTabbableNode;
|
541
|
+
} else if (!isTabEvent(event)) {
|
542
|
+
// user must have customized the nav keys so we have to move focus manually _within_
|
543
|
+
// the active group: do this based on the order determined by tabbable()
|
544
|
+
destinationNode = containerGroup.nextTabbableNode(target);
|
545
|
+
}
|
546
|
+
}
|
547
|
+
} else {
|
548
|
+
// no groups available
|
549
|
+
// NOTE: the fallbackFocus option does not support returning false to opt-out
|
550
|
+
destinationNode = getNodeForOption('fallbackFocus');
|
551
|
+
}
|
552
|
+
return destinationNode;
|
553
|
+
};
|
554
|
+
|
555
|
+
// This needs to be done on mousedown and touchstart instead of click
|
556
|
+
// so that it precedes the focus event.
|
557
|
+
var checkPointerDown = function checkPointerDown(e) {
|
558
|
+
var target = getActualTarget(e);
|
559
|
+
if (findContainerIndex(target, e) >= 0) {
|
560
|
+
// allow the click since it ocurred inside the trap
|
561
|
+
return;
|
562
|
+
}
|
563
|
+
if (valueOrHandler(config.clickOutsideDeactivates, e)) {
|
564
|
+
// immediately deactivate the trap
|
565
|
+
trap.deactivate({
|
566
|
+
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
567
|
+
// which will result in the outside click setting focus to the node
|
568
|
+
// that was clicked (and if not focusable, to "nothing"); by setting
|
569
|
+
// `returnFocus: true`, we'll attempt to re-focus the node originally-focused
|
570
|
+
// on activation (or the configured `setReturnFocus` node), whether the
|
571
|
+
// outside click was on a focusable node or not
|
572
|
+
returnFocus: config.returnFocusOnDeactivate
|
573
|
+
});
|
574
|
+
return;
|
575
|
+
}
|
576
|
+
|
577
|
+
// This is needed for mobile devices.
|
578
|
+
// (If we'll only let `click` events through,
|
579
|
+
// then on mobile they will be blocked anyways if `touchstart` is blocked.)
|
580
|
+
if (valueOrHandler(config.allowOutsideClick, e)) {
|
581
|
+
// allow the click outside the trap to take place
|
582
|
+
return;
|
583
|
+
}
|
584
|
+
|
585
|
+
// otherwise, prevent the click
|
586
|
+
e.preventDefault();
|
587
|
+
};
|
588
|
+
|
589
|
+
// In case focus escapes the trap for some strange reason, pull it back in.
|
590
|
+
// NOTE: the focusIn event is NOT cancelable, so if focus escapes, it may cause unexpected
|
591
|
+
// scrolling if the node that got focused was out of view; there's nothing we can do to
|
592
|
+
// prevent that from happening by the time we discover that focus escaped
|
593
|
+
var checkFocusIn = function checkFocusIn(event) {
|
594
|
+
var target = getActualTarget(event);
|
595
|
+
var targetContained = findContainerIndex(target, event) >= 0;
|
596
|
+
|
597
|
+
// In Firefox when you Tab out of an iframe the Document is briefly focused.
|
598
|
+
if (targetContained || target instanceof Document) {
|
599
|
+
if (targetContained) {
|
600
|
+
state.mostRecentlyFocusedNode = target;
|
601
|
+
}
|
602
|
+
} else {
|
603
|
+
// escaped! pull it back in to where it just left
|
604
|
+
event.stopImmediatePropagation();
|
605
|
+
|
606
|
+
// focus will escape if the MRU node had a positive tab index and user tried to nav forward;
|
607
|
+
// it will also escape if the MRU node had a 0 tab index and user tried to nav backward
|
608
|
+
// toward a node with a positive tab index
|
609
|
+
var nextNode; // next node to focus, if we find one
|
610
|
+
var navAcrossContainers = true;
|
611
|
+
if (state.mostRecentlyFocusedNode) {
|
612
|
+
if (getTabIndex(state.mostRecentlyFocusedNode) > 0) {
|
613
|
+
// MRU container index must be >=0 otherwise we wouldn't have it as an MRU node...
|
614
|
+
var mruContainerIdx = findContainerIndex(state.mostRecentlyFocusedNode);
|
615
|
+
// there MAY not be any tabbable nodes in the container if there are at least 2 containers
|
616
|
+
// and the MRU node is focusable but not tabbable (focus-trap requires at least 1 container
|
617
|
+
// with at least one tabbable node in order to function, so this could be the other container
|
618
|
+
// with nothing tabbable in it)
|
619
|
+
var tabbableNodes = state.containerGroups[mruContainerIdx].tabbableNodes;
|
620
|
+
if (tabbableNodes.length > 0) {
|
621
|
+
// MRU tab index MAY not be found if the MRU node is focusable but not tabbable
|
622
|
+
var mruTabIdx = tabbableNodes.findIndex(function (node) {
|
623
|
+
return node === state.mostRecentlyFocusedNode;
|
624
|
+
});
|
625
|
+
if (mruTabIdx >= 0) {
|
626
|
+
if (config.isKeyForward(state.recentNavEvent)) {
|
627
|
+
if (mruTabIdx + 1 < tabbableNodes.length) {
|
628
|
+
nextNode = tabbableNodes[mruTabIdx + 1];
|
629
|
+
navAcrossContainers = false;
|
630
|
+
}
|
631
|
+
// else, don't wrap within the container as focus should move to next/previous
|
632
|
+
// container
|
633
|
+
} else {
|
634
|
+
if (mruTabIdx - 1 >= 0) {
|
635
|
+
nextNode = tabbableNodes[mruTabIdx - 1];
|
636
|
+
navAcrossContainers = false;
|
637
|
+
}
|
638
|
+
// else, don't wrap within the container as focus should move to next/previous
|
639
|
+
// container
|
640
|
+
}
|
641
|
+
// else, don't find in container order without considering direction too
|
642
|
+
}
|
643
|
+
}
|
644
|
+
// else, no tabbable nodes in that container (which means we must have at least one other
|
645
|
+
// container with at least one tabbable node in it, otherwise focus-trap would've thrown
|
646
|
+
// an error the last time updateTabbableNodes() was run): find next node among all known
|
647
|
+
// containers
|
648
|
+
} else {
|
649
|
+
// check to see if there's at least one tabbable node with a positive tab index inside
|
650
|
+
// the trap because focus seems to escape when navigating backward from a tabbable node
|
651
|
+
// with tabindex=0 when this is the case (instead of wrapping to the tabbable node with
|
652
|
+
// the greatest positive tab index like it should)
|
653
|
+
if (!state.containerGroups.some(function (g) {
|
654
|
+
return g.tabbableNodes.some(function (n) {
|
655
|
+
return getTabIndex(n) > 0;
|
656
|
+
});
|
657
|
+
})) {
|
658
|
+
// no containers with tabbable nodes with positive tab indexes which means the focus
|
659
|
+
// escaped for some other reason and we should just execute the fallback to the
|
660
|
+
// MRU node or initial focus node, if any
|
661
|
+
navAcrossContainers = false;
|
662
|
+
}
|
663
|
+
}
|
664
|
+
} else {
|
665
|
+
// no MRU node means we're likely in some initial condition when the trap has just
|
666
|
+
// been activated and initial focus hasn't been given yet, in which case we should
|
667
|
+
// fall through to trying to focus the initial focus node, which is what should
|
668
|
+
// happen below at this point in the logic
|
669
|
+
navAcrossContainers = false;
|
670
|
+
}
|
671
|
+
if (navAcrossContainers) {
|
672
|
+
nextNode = findNextNavNode({
|
673
|
+
// move FROM the MRU node, not event-related node (which will be the node that is
|
674
|
+
// outside the trap causing the focus escape we're trying to fix)
|
675
|
+
target: state.mostRecentlyFocusedNode,
|
676
|
+
isBackward: config.isKeyBackward(state.recentNavEvent)
|
677
|
+
});
|
678
|
+
}
|
679
|
+
if (nextNode) {
|
680
|
+
tryFocus(nextNode);
|
681
|
+
} else {
|
682
|
+
tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
|
683
|
+
}
|
684
|
+
}
|
685
|
+
state.recentNavEvent = undefined; // clear
|
686
|
+
};
|
687
|
+
|
688
|
+
// Hijack key nav events on the first and last focusable nodes of the trap,
|
689
|
+
// in order to prevent focus from escaping. If it escapes for even a
|
690
|
+
// moment it can end up scrolling the page and causing confusion so we
|
691
|
+
// kind of need to capture the action at the keydown phase.
|
692
|
+
var checkKeyNav = function checkKeyNav(event) {
|
693
|
+
var isBackward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
694
|
+
state.recentNavEvent = event;
|
695
|
+
var destinationNode = findNextNavNode({
|
696
|
+
event: event,
|
697
|
+
isBackward: isBackward
|
698
|
+
});
|
699
|
+
if (destinationNode) {
|
700
|
+
if (isTabEvent(event)) {
|
701
|
+
// since tab natively moves focus, we wouldn't have a destination node unless we
|
702
|
+
// were on the edge of a container and had to move to the next/previous edge, in
|
703
|
+
// which case we want to prevent default to keep the browser from moving focus
|
704
|
+
// to where it normally would
|
705
|
+
event.preventDefault();
|
706
|
+
}
|
707
|
+
tryFocus(destinationNode);
|
708
|
+
}
|
709
|
+
// else, let the browser take care of [shift+]tab and move the focus
|
710
|
+
};
|
711
|
+
|
712
|
+
var checkKey = function checkKey(event) {
|
713
|
+
if (isEscapeEvent(event) && valueOrHandler(config.escapeDeactivates, event) !== false) {
|
714
|
+
event.preventDefault();
|
715
|
+
trap.deactivate();
|
716
|
+
return;
|
717
|
+
}
|
718
|
+
if (config.isKeyForward(event) || config.isKeyBackward(event)) {
|
719
|
+
checkKeyNav(event, config.isKeyBackward(event));
|
720
|
+
}
|
721
|
+
};
|
722
|
+
var checkClick = function checkClick(e) {
|
723
|
+
var target = getActualTarget(e);
|
724
|
+
if (findContainerIndex(target, e) >= 0) {
|
725
|
+
return;
|
726
|
+
}
|
727
|
+
if (valueOrHandler(config.clickOutsideDeactivates, e)) {
|
728
|
+
return;
|
729
|
+
}
|
730
|
+
if (valueOrHandler(config.allowOutsideClick, e)) {
|
731
|
+
return;
|
732
|
+
}
|
733
|
+
e.preventDefault();
|
734
|
+
e.stopImmediatePropagation();
|
735
|
+
};
|
736
|
+
|
737
|
+
//
|
738
|
+
// EVENT LISTENERS
|
739
|
+
//
|
740
|
+
|
741
|
+
var addListeners = function addListeners() {
|
742
|
+
if (!state.active) {
|
743
|
+
return;
|
744
|
+
}
|
745
|
+
|
746
|
+
// There can be only one listening focus trap at a time
|
747
|
+
activeFocusTraps.activateTrap(trapStack, trap);
|
748
|
+
|
749
|
+
// Delay ensures that the focused element doesn't capture the event
|
750
|
+
// that caused the focus trap activation.
|
751
|
+
state.delayInitialFocusTimer = config.delayInitialFocus ? delay(function () {
|
752
|
+
tryFocus(getInitialFocusNode());
|
753
|
+
}) : tryFocus(getInitialFocusNode());
|
754
|
+
doc.addEventListener('focusin', checkFocusIn, true);
|
755
|
+
doc.addEventListener('mousedown', checkPointerDown, {
|
756
|
+
capture: true,
|
757
|
+
passive: false
|
758
|
+
});
|
759
|
+
doc.addEventListener('touchstart', checkPointerDown, {
|
760
|
+
capture: true,
|
761
|
+
passive: false
|
762
|
+
});
|
763
|
+
doc.addEventListener('click', checkClick, {
|
764
|
+
capture: true,
|
765
|
+
passive: false
|
766
|
+
});
|
767
|
+
doc.addEventListener('keydown', checkKey, {
|
768
|
+
capture: true,
|
769
|
+
passive: false
|
770
|
+
});
|
771
|
+
return trap;
|
772
|
+
};
|
773
|
+
var removeListeners = function removeListeners() {
|
774
|
+
if (!state.active) {
|
775
|
+
return;
|
776
|
+
}
|
777
|
+
doc.removeEventListener('focusin', checkFocusIn, true);
|
778
|
+
doc.removeEventListener('mousedown', checkPointerDown, true);
|
779
|
+
doc.removeEventListener('touchstart', checkPointerDown, true);
|
780
|
+
doc.removeEventListener('click', checkClick, true);
|
781
|
+
doc.removeEventListener('keydown', checkKey, true);
|
782
|
+
return trap;
|
783
|
+
};
|
784
|
+
|
785
|
+
//
|
786
|
+
// MUTATION OBSERVER
|
787
|
+
//
|
788
|
+
|
789
|
+
var checkDomRemoval = function checkDomRemoval(mutations) {
|
790
|
+
var isFocusedNodeRemoved = mutations.some(function (mutation) {
|
791
|
+
var removedNodes = Array.from(mutation.removedNodes);
|
792
|
+
return removedNodes.some(function (node) {
|
793
|
+
return node === state.mostRecentlyFocusedNode;
|
794
|
+
});
|
795
|
+
});
|
796
|
+
|
797
|
+
// If the currently focused is removed then browsers will move focus to the
|
798
|
+
// <body> element. If this happens, try to move focus back into the trap.
|
799
|
+
if (isFocusedNodeRemoved) {
|
800
|
+
tryFocus(getInitialFocusNode());
|
801
|
+
}
|
802
|
+
};
|
803
|
+
|
804
|
+
// Use MutationObserver - if supported - to detect if focused node is removed
|
805
|
+
// from the DOM.
|
806
|
+
var mutationObserver = typeof window !== 'undefined' && 'MutationObserver' in window ? new MutationObserver(checkDomRemoval) : undefined;
|
807
|
+
var updateObservedNodes = function updateObservedNodes() {
|
808
|
+
if (!mutationObserver) {
|
809
|
+
return;
|
810
|
+
}
|
811
|
+
mutationObserver.disconnect();
|
812
|
+
if (state.active && !state.paused) {
|
813
|
+
state.containers.map(function (container) {
|
814
|
+
mutationObserver.observe(container, {
|
815
|
+
subtree: true,
|
816
|
+
childList: true
|
817
|
+
});
|
818
|
+
});
|
819
|
+
}
|
820
|
+
};
|
821
|
+
|
822
|
+
//
|
823
|
+
// TRAP DEFINITION
|
824
|
+
//
|
825
|
+
|
826
|
+
trap = {
|
827
|
+
get active() {
|
828
|
+
return state.active;
|
829
|
+
},
|
830
|
+
get paused() {
|
831
|
+
return state.paused;
|
832
|
+
},
|
833
|
+
activate: function activate(activateOptions) {
|
834
|
+
if (state.active) {
|
835
|
+
return this;
|
836
|
+
}
|
837
|
+
var onActivate = getOption(activateOptions, 'onActivate');
|
838
|
+
var onPostActivate = getOption(activateOptions, 'onPostActivate');
|
839
|
+
var checkCanFocusTrap = getOption(activateOptions, 'checkCanFocusTrap');
|
840
|
+
if (!checkCanFocusTrap) {
|
841
|
+
updateTabbableNodes();
|
842
|
+
}
|
843
|
+
state.active = true;
|
844
|
+
state.paused = false;
|
845
|
+
state.nodeFocusedBeforeActivation = doc.activeElement;
|
846
|
+
onActivate === null || onActivate === void 0 || onActivate();
|
847
|
+
var finishActivation = function finishActivation() {
|
848
|
+
if (checkCanFocusTrap) {
|
849
|
+
updateTabbableNodes();
|
850
|
+
}
|
851
|
+
addListeners();
|
852
|
+
updateObservedNodes();
|
853
|
+
onPostActivate === null || onPostActivate === void 0 || onPostActivate();
|
854
|
+
};
|
855
|
+
if (checkCanFocusTrap) {
|
856
|
+
checkCanFocusTrap(state.containers.concat()).then(finishActivation, finishActivation);
|
857
|
+
return this;
|
858
|
+
}
|
859
|
+
finishActivation();
|
860
|
+
return this;
|
861
|
+
},
|
862
|
+
deactivate: function deactivate(deactivateOptions) {
|
863
|
+
if (!state.active) {
|
864
|
+
return this;
|
865
|
+
}
|
866
|
+
var options = _objectSpread2({
|
867
|
+
onDeactivate: config.onDeactivate,
|
868
|
+
onPostDeactivate: config.onPostDeactivate,
|
869
|
+
checkCanReturnFocus: config.checkCanReturnFocus
|
870
|
+
}, deactivateOptions);
|
871
|
+
clearTimeout(state.delayInitialFocusTimer); // noop if undefined
|
872
|
+
state.delayInitialFocusTimer = undefined;
|
873
|
+
removeListeners();
|
874
|
+
state.active = false;
|
875
|
+
state.paused = false;
|
876
|
+
updateObservedNodes();
|
877
|
+
activeFocusTraps.deactivateTrap(trapStack, trap);
|
878
|
+
var onDeactivate = getOption(options, 'onDeactivate');
|
879
|
+
var onPostDeactivate = getOption(options, 'onPostDeactivate');
|
880
|
+
var checkCanReturnFocus = getOption(options, 'checkCanReturnFocus');
|
881
|
+
var returnFocus = getOption(options, 'returnFocus', 'returnFocusOnDeactivate');
|
882
|
+
onDeactivate === null || onDeactivate === void 0 || onDeactivate();
|
883
|
+
var finishDeactivation = function finishDeactivation() {
|
884
|
+
delay(function () {
|
885
|
+
if (returnFocus) {
|
886
|
+
tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
|
887
|
+
}
|
888
|
+
onPostDeactivate === null || onPostDeactivate === void 0 || onPostDeactivate();
|
889
|
+
});
|
890
|
+
};
|
891
|
+
if (returnFocus && checkCanReturnFocus) {
|
892
|
+
checkCanReturnFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation)).then(finishDeactivation, finishDeactivation);
|
893
|
+
return this;
|
894
|
+
}
|
895
|
+
finishDeactivation();
|
896
|
+
return this;
|
897
|
+
},
|
898
|
+
pause: function pause(pauseOptions) {
|
899
|
+
if (state.paused || !state.active) {
|
900
|
+
return this;
|
901
|
+
}
|
902
|
+
var onPause = getOption(pauseOptions, 'onPause');
|
903
|
+
var onPostPause = getOption(pauseOptions, 'onPostPause');
|
904
|
+
state.paused = true;
|
905
|
+
onPause === null || onPause === void 0 || onPause();
|
906
|
+
removeListeners();
|
907
|
+
updateObservedNodes();
|
908
|
+
onPostPause === null || onPostPause === void 0 || onPostPause();
|
909
|
+
return this;
|
910
|
+
},
|
911
|
+
unpause: function unpause(unpauseOptions) {
|
912
|
+
if (!state.paused || !state.active) {
|
913
|
+
return this;
|
914
|
+
}
|
915
|
+
var onUnpause = getOption(unpauseOptions, 'onUnpause');
|
916
|
+
var onPostUnpause = getOption(unpauseOptions, 'onPostUnpause');
|
917
|
+
state.paused = false;
|
918
|
+
onUnpause === null || onUnpause === void 0 || onUnpause();
|
919
|
+
updateTabbableNodes();
|
920
|
+
addListeners();
|
921
|
+
updateObservedNodes();
|
922
|
+
onPostUnpause === null || onPostUnpause === void 0 || onPostUnpause();
|
923
|
+
return this;
|
924
|
+
},
|
925
|
+
updateContainerElements: function updateContainerElements(containerElements) {
|
926
|
+
var elementsAsArray = [].concat(containerElements).filter(Boolean);
|
927
|
+
state.containers = elementsAsArray.map(function (element) {
|
928
|
+
return typeof element === 'string' ? doc.querySelector(element) : element;
|
929
|
+
});
|
930
|
+
if (state.active) {
|
931
|
+
updateTabbableNodes();
|
932
|
+
}
|
933
|
+
updateObservedNodes();
|
934
|
+
return this;
|
935
|
+
}
|
936
|
+
};
|
937
|
+
|
938
|
+
// initialize container elements
|
939
|
+
trap.updateContainerElements(elements);
|
940
|
+
return trap;
|
941
|
+
};
|
942
|
+
|
943
|
+
/*!
|
944
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
945
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
946
|
+
* v1.11.0
|
947
|
+
*/
|
948
|
+
/**
|
949
|
+
* This module allows custom configuration for components.
|
950
|
+
*/
|
951
|
+
const customConfig = globalThis["calciteConfig"];
|
952
|
+
const focusTrapStack = customConfig?.focusTrapStack || [];
|
953
|
+
|
954
|
+
/*!
|
955
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
956
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
957
|
+
* v1.11.0
|
958
|
+
*/
|
959
|
+
/**
|
960
|
+
* Helper to set up the FocusTrap component.
|
961
|
+
*
|
962
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
963
|
+
* @param options
|
964
|
+
*/
|
965
|
+
function connectFocusTrap(component, options) {
|
966
|
+
const { el } = component;
|
967
|
+
const focusTrapNode = options?.focusTrapEl || el;
|
968
|
+
if (!focusTrapNode) {
|
969
|
+
return;
|
970
|
+
}
|
971
|
+
const focusTrapOptions = {
|
972
|
+
clickOutsideDeactivates: true,
|
973
|
+
escapeDeactivates: false,
|
974
|
+
fallbackFocus: focusTrapNode,
|
975
|
+
setReturnFocus: (el) => {
|
976
|
+
focusElement(el);
|
977
|
+
return false;
|
978
|
+
},
|
979
|
+
...options?.focusTrapOptions,
|
980
|
+
// the following options are not overridable
|
981
|
+
document: el.ownerDocument,
|
982
|
+
tabbableOptions,
|
983
|
+
trapStack: focusTrapStack,
|
984
|
+
};
|
985
|
+
component.focusTrap = createFocusTrap(focusTrapNode, focusTrapOptions);
|
986
|
+
}
|
987
|
+
/**
|
988
|
+
* Helper to activate the FocusTrap component.
|
989
|
+
*
|
990
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
991
|
+
* @param [options] The FocusTrap activate options.
|
992
|
+
*/
|
993
|
+
function activateFocusTrap(component, options) {
|
994
|
+
if (!component.focusTrapDisabled) {
|
995
|
+
component.focusTrap?.activate(options);
|
996
|
+
}
|
997
|
+
}
|
998
|
+
/**
|
999
|
+
* Helper to deactivate the FocusTrap component.
|
1000
|
+
*
|
1001
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
1002
|
+
* @param [options] The FocusTrap deactivate options.
|
1003
|
+
*/
|
1004
|
+
function deactivateFocusTrap(component, options) {
|
1005
|
+
component.focusTrap?.deactivate(options);
|
1006
|
+
}
|
1007
|
+
/**
|
1008
|
+
* Helper to update the element(s) that are used within the FocusTrap component.
|
1009
|
+
*
|
1010
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
1011
|
+
* @example
|
1012
|
+
* const modal = document.querySelector("calcite-modal");
|
1013
|
+
* const input = document.createElement("calcite-input");
|
1014
|
+
* content.appendChild(input);
|
1015
|
+
* await input.componentOnReady();
|
1016
|
+
* await modal.updateFocusTrapElements();
|
1017
|
+
* requestAnimationFrame(() => input.setFocus());
|
1018
|
+
*/
|
1019
|
+
function updateFocusTrapElements(component) {
|
1020
|
+
component.focusTrap?.updateContainerElements(component.el);
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
export { activateFocusTrap as a, connectFocusTrap as c, deactivateFocusTrap as d, updateFocusTrapElements as u };
|