@esri/solutions-components 0.10.48 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ExpandToggle-44886935.js +115 -0
- package/dist/cjs/FloatingArrow-d7ea2b0f.js +48 -0
- package/dist/cjs/Heading-ee0aa171.js +25 -0
- package/dist/cjs/IdentityManager-d84c82f1.js +2047 -0
- package/dist/cjs/Validation-9515ef0c.js +20 -0
- package/dist/cjs/app-globals-03a6ab9b.js +67 -0
- package/dist/cjs/ar-180cd9b0.js +106 -0
- package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +37 -12
- package/dist/cjs/bg-fd095c86.js +84 -0
- package/dist/cjs/browser-717f77af.js +35 -0
- package/dist/cjs/bs-11fa6f0d.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/ca-0685b1cc.js +73 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert_2.cjs.entry.js +500 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_5.cjs.entry.js +17 -17
- package/dist/cjs/calcite-button-de2c2e75.js +282 -0
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +66 -20
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dialog-a5c288bb.js +5876 -0
- package/dist/cjs/calcite-dialog.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
- package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow-item_5.cjs.entry.js +1752 -0
- package/dist/cjs/calcite-flow_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-graph_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-icon_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-945ec162.js +1001 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker-3aeef2d4.js +1870 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-label-e7b67a86.js +111 -0
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +4 -4
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-menu-item.cjs.entry.js +6 -6
- package/dist/cjs/calcite-menu.cjs.entry.js +6 -6
- package/dist/cjs/calcite-meter.cjs.entry.js +6 -6
- package/dist/cjs/calcite-modal_4.cjs.entry.js +972 -0
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +3 -3
- package/dist/cjs/calcite-notice-a48cc9e7.js +261 -0
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -5
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +24 -24
- package/dist/cjs/calcite-shell.cjs.entry.js +4 -4
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table-row.cjs.entry.js +2 -2
- package/dist/cjs/calcite-table.cjs.entry.js +6 -6
- package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-time-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +194 -51
- package/dist/cjs/common-10d11a29.js +37 -0
- package/dist/cjs/component-69260f95.js +1073 -0
- package/dist/cjs/conditionalSlot-130cce71.js +54 -0
- package/dist/cjs/config-c999f8fc.js +40 -0
- package/dist/cjs/consent-manager.cjs.entry.js +7914 -45
- package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -6
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
- package/dist/cjs/cs-70e8ba01.js +149 -0
- package/dist/cjs/da-e8eb9ff4.js +69 -0
- package/dist/cjs/date-40a80298.js +264 -0
- package/dist/cjs/de-4b8310d2.js +93 -0
- package/dist/cjs/de-at-dc8ed8c3.js +92 -0
- package/dist/cjs/de-ch-c5971940.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-b6490537.js +3223 -0
- package/dist/cjs/el-a70d9f12.js +68 -0
- package/dist/cjs/en-au-88ddb80f.js +68 -0
- package/dist/cjs/en-ca-5a29b95b.js +67 -0
- package/dist/cjs/en-gb-3c763a84.js +71 -0
- package/dist/cjs/es-e83e8ff5.js +68 -0
- package/dist/cjs/es-mx-2ea879ef.js +67 -0
- package/dist/cjs/et-7b00c80d.js +94 -0
- package/dist/cjs/feature-list.cjs.entry.js +12 -10
- package/dist/cjs/fi-92ca007b.js +117 -0
- package/dist/cjs/floating-ui-7fa9e006.js +2413 -0
- package/dist/cjs/focusTrapComponent-a7cfa6da.js +1013 -0
- package/dist/cjs/form-dd5380da.js +370 -0
- package/dist/cjs/form-f2a43327.js +381 -0
- package/dist/cjs/fr-a1f5dfd4.js +70 -0
- package/dist/cjs/fr-ch-8a4a9d67.js +68 -0
- package/dist/cjs/he-38b2b883.js +107 -0
- package/dist/cjs/helpers-47465fc2.js +940 -0
- package/dist/cjs/hi-a517b1a8.js +67 -0
- package/dist/cjs/hr-c1e34de1.js +82 -0
- package/dist/cjs/hu-e46e8ae7.js +90 -0
- package/dist/cjs/icon-f45e7fbb.js +979 -0
- package/dist/cjs/id-bfc376d8.js +68 -0
- package/dist/cjs/index-1ab17699.js +201 -0
- package/dist/cjs/index-3bae5121.js +1789 -0
- package/dist/cjs/index-5d8d6ae2.js +2157 -0
- package/dist/cjs/index.es-5fc7bebc.js +11221 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +16 -20
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +13 -13
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -59
- package/dist/cjs/interactive-b59e6294.js +86 -0
- package/dist/cjs/interactive-e1c3ccf2.js +85 -0
- package/dist/cjs/it-6d8c8360.js +68 -0
- package/dist/cjs/it-ch-2b05812c.js +68 -0
- package/dist/cjs/ja-eb46f963.js +74 -0
- package/dist/cjs/ko-dbe28d19.js +74 -0
- package/dist/cjs/label-7f519bd9.js +186 -0
- package/dist/cjs/languageSwitcher-bca9ab2c.js +52 -0
- package/dist/cjs/loadable-19ab5827.js +98 -0
- package/dist/cjs/loader-97bb6b45.js +176 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-3a817e03.js +1488 -0
- package/dist/cjs/locale-80aff4b9.js +605 -0
- package/dist/cjs/locale-a79da367.js +160 -0
- package/dist/cjs/logger-780b61e8.js +61 -0
- package/dist/cjs/lt-651bfa9c.js +99 -0
- package/dist/cjs/lv-f6fe37a3.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +15 -13
- package/dist/cjs/mk-1f0ffdf6.js +68 -0
- package/dist/cjs/nb-8b7b39ed.js +69 -0
- package/dist/cjs/nl-27515721.js +69 -0
- package/dist/cjs/observers-902ebe13.js +58 -0
- package/dist/cjs/openCloseComponent-039ee139.js +65 -0
- package/dist/cjs/openCloseComponent-e8e50700.js +66 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pl-d2098514.js +116 -0
- package/dist/cjs/popupUtils-72d48968.js +121 -0
- package/dist/cjs/pt-a3304010.js +69 -0
- package/dist/cjs/pt-br-09d60ba8.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +12 -10
- package/dist/cjs/publicNotificationStore-04b6837d.js +47 -0
- package/dist/cjs/request-19fdbaaa.js +21 -0
- package/dist/cjs/restHelpersGet-e4639890.js +507 -0
- package/dist/cjs/ro-2ea54b1c.js +68 -0
- package/dist/cjs/ru-f94ee202.js +128 -0
- package/dist/cjs/shared-list-render-fb08b2af.js +361 -0
- package/dist/cjs/sk-3cdf67d8.js +150 -0
- package/dist/cjs/sl-075daf42.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +53 -53
- package/dist/cjs/solution-contents_3.cjs.entry.js +11 -11
- package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
- package/dist/cjs/solution-resource-d0a2f7fe.js +1845 -0
- package/dist/cjs/solution-store-4e602251.js +1105 -0
- package/dist/cjs/solutions-components.cjs.js +6 -6
- package/dist/cjs/spatial-ref.cjs.entry.js +5 -6
- package/dist/cjs/sr-2f08967b.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +7 -7
- package/dist/cjs/sv-65f0e21c.js +73 -0
- package/dist/cjs/t9n-0195f685.js +108 -0
- package/dist/cjs/templates-1e84847a.js +407 -0
- package/dist/cjs/th-db63e592.js +67 -0
- package/dist/cjs/time-caa0abbe.js +301 -0
- package/dist/cjs/tr-b6401cac.js +68 -0
- package/dist/cjs/typeof-2a7e2dec.js +28 -0
- package/dist/cjs/uk-d00c351d.js +106 -0
- package/dist/cjs/update-243ea407.js +783 -0
- package/dist/cjs/utils-7eb34f90.js +153 -0
- package/dist/cjs/utils-d2bcba4f.js +79 -0
- package/dist/cjs/vi-efe4ad72.js +72 -0
- package/dist/cjs/zh-cn-63f07390.js +96 -0
- package/dist/cjs/zh-hk-84a86ab9.js +94 -0
- package/dist/cjs/zh-tw-894f1adf.js +94 -0
- package/dist/collection/assets/t9n/consent-manager/resources.json +3 -10
- package/dist/collection/assets/t9n/consent-manager/resources_en.json +3 -10
- package/dist/collection/collection-manifest.json +2 -4
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
- package/dist/collection/components/card-manager/card-manager.js +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +113 -37
- package/dist/collection/components/create-feature/create-feature.js +2 -2
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +2 -2
- package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +26 -2
- package/dist/collection/components/feature-details/feature-details.js +6 -6
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +224 -47
- package/dist/collection/components/map-card/map-card.js +2 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +121 -5
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +53 -4
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +3 -3
- package/dist/collection/components/map-tools/map-tools.js +2 -2
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/consent-manager.html +56 -0
- package/dist/collection/utils/interfaces.ts +14 -0
- package/dist/components/IdentityManager.js +339 -0
- package/dist/components/asyncToGenerator.js +88 -0
- package/dist/components/basemap-gallery2.js +1 -1
- package/dist/components/buffer-tools2.js +1 -1
- package/dist/components/calcite-button2.js +273 -0
- package/dist/components/calcite-dialog.js +1 -663
- package/dist/components/calcite-dialog2.js +5867 -0
- package/dist/components/calcite-input2.js +992 -0
- package/dist/components/calcite-label2.js +100 -0
- package/dist/components/calcite-notice2.js +251 -0
- package/dist/components/card-manager2.js +10 -10
- package/dist/components/common.js +0 -1
- package/dist/components/component2.js +1048 -0
- package/dist/components/consent-manager.js +8053 -203
- package/dist/components/create-feature2.js +2 -2
- package/dist/components/create-related-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +37 -37
- package/dist/components/crowdsource-reporter.js +28 -28
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +29 -11
- package/dist/components/delete-dialog2.js +33 -9
- package/dist/components/dialog.js +670 -0
- package/dist/components/downloadUtils.js +10 -26
- package/dist/components/edit-card2.js +7 -2
- package/dist/components/feature-details2.js +23 -23
- package/dist/components/feature-list2.js +3 -3
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/form2.js +362 -0
- package/dist/components/icon2.js +960 -0
- package/dist/components/index.es.js +25 -104
- package/dist/components/index2.js +6 -5
- package/dist/components/info-card2.js +9 -9
- package/dist/components/instant-apps-language-switcher.js +6 -10
- package/dist/components/instant-apps-language-translator2.js +2 -809
- package/dist/components/instant-apps-time-filter.js +3 -57
- package/dist/components/interactive2.js +83 -0
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/label3.js +179 -0
- package/dist/components/layer-table2.js +212 -69
- package/dist/components/loader2.js +173 -0
- package/dist/components/locale3.js +1311 -3
- package/dist/components/map-card2.js +2 -2
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +53 -5
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +28 -3
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +3 -3
- package/dist/components/map-tools2.js +2 -2
- package/dist/components/openCloseComponent2.js +64 -0
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +2 -2
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/request.js +14 -0
- package/dist/components/restHelpersGet.js +74 -557
- package/dist/components/solution-configuration.js +27 -28
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -2
- package/dist/components/solution-resource.js +1701 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +36 -285
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/templates.js +0 -1
- package/dist/components/typeof.js +25 -0
- package/dist/components/update.js +773 -0
- package/dist/esm/ExpandToggle-324f556e.js +108 -0
- package/dist/esm/FloatingArrow-cd37b366.js +46 -0
- package/dist/esm/Heading-b6b7a8a6.js +22 -0
- package/dist/esm/IdentityManager-6880e890.js +2012 -0
- package/dist/esm/Validation-b62abebe.js +18 -0
- package/dist/esm/app-globals-b6ef4076.js +65 -0
- package/dist/esm/ar-aa347a04.js +104 -0
- package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +37 -12
- package/dist/esm/bg-b56e89f6.js +82 -0
- package/dist/esm/browser-e42b9848.js +32 -0
- package/dist/esm/bs-62486009.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +7 -7
- package/dist/esm/ca-db6a81f3.js +71 -0
- package/dist/esm/calcite-accordion_2.entry.js +6 -6
- package/dist/esm/calcite-action-bar.entry.js +9 -9
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu_2.entry.js +10 -10
- package/dist/esm/calcite-action-pad_2.entry.js +9 -9
- package/dist/esm/calcite-action_2.entry.js +14 -14
- package/dist/esm/calcite-alert_2.entry.js +495 -0
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +7 -7
- package/dist/esm/calcite-block_5.entry.js +19 -19
- package/dist/esm/calcite-button-e86d99b3.js +279 -0
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card-group.entry.js +5 -5
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-carousel_2.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip-group.entry.js +5 -5
- package/dist/esm/calcite-chip_2.entry.js +10 -10
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +4 -4
- package/dist/esm/calcite-color-picker.entry.js +8 -8
- package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
- package/dist/esm/calcite-combobox_3.entry.js +68 -22
- package/dist/esm/calcite-date-picker-day_3.entry.js +9 -9
- package/dist/esm/calcite-dialog-f5f9cfea.js +5873 -0
- package/dist/esm/calcite-dialog.entry.js +10 -10
- package/dist/esm/calcite-dropdown_2.entry.js +8 -8
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter_5.entry.js +8 -8
- package/dist/esm/calcite-flow-item_5.entry.js +1744 -0
- package/dist/esm/calcite-flow_4.entry.js +12 -12
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-icon_2.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-1f12bce0.js +998 -0
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-text.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker-07db9ed7.js +1867 -0
- package/dist/esm/calcite-input-time-picker.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +10 -10
- package/dist/esm/calcite-input_2.entry.js +11 -11
- package/dist/esm/calcite-label-d80f6f1c.js +108 -0
- package/dist/esm/calcite-label.entry.js +3 -3
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list-item-group.entry.js +2 -2
- package/dist/esm/calcite-menu-item.entry.js +7 -7
- package/dist/esm/calcite-menu.entry.js +7 -7
- package/dist/esm/calcite-meter.entry.js +7 -7
- package/dist/esm/calcite-modal_4.entry.js +965 -0
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation-user.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +4 -4
- package/dist/esm/calcite-notice-acc12411.js +258 -0
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +7 -7
- package/dist/esm/calcite-pick-list-group.entry.js +8 -8
- package/dist/esm/calcite-pick-list-item.entry.js +11 -11
- package/dist/esm/calcite-pick-list.entry.js +9 -9
- package/dist/esm/calcite-radio-button-group.entry.js +6 -6
- package/dist/esm/calcite-radio-button.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +6 -6
- package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
- package/dist/esm/calcite-sheet.entry.js +8 -8
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +25 -25
- package/dist/esm/calcite-shell.entry.js +5 -5
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +8 -8
- package/dist/esm/calcite-stepper.entry.js +6 -6
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-table-cell_2.entry.js +8 -8
- package/dist/esm/calcite-table-row.entry.js +3 -3
- package/dist/esm/calcite-table.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +11 -11
- package/dist/esm/calcite-tile-group.entry.js +5 -5
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +5 -5
- package/dist/esm/calcite-time-picker.entry.js +8 -8
- package/dist/esm/calcite-tip-group.entry.js +3 -3
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/calcite-tooltip.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/card-manager_3.entry.js +194 -51
- package/dist/esm/common-c8dc0e85.js +35 -0
- package/dist/esm/component-85f22c99.js +1048 -0
- package/dist/esm/conditionalSlot-2e16b206.js +51 -0
- package/dist/esm/config-e6645458.js +36 -0
- package/dist/esm/consent-manager.entry.js +7910 -41
- package/dist/esm/crowdsource-manager.entry.js +6 -6
- package/dist/esm/crowdsource-reporter.entry.js +3 -3
- package/dist/esm/cs-250e21c6.js +147 -0
- package/dist/esm/da-bab8eb4e.js +67 -0
- package/dist/esm/date-272939fd.js +248 -0
- package/dist/esm/de-808a43dc.js +91 -0
- package/dist/esm/de-at-9c396c81.js +90 -0
- package/dist/esm/de-ch-415303cf.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/dom-66c5cd46.js +1165 -0
- package/dist/esm/downloadUtils-8ba094d7.js +3217 -0
- package/dist/esm/el-3d1eaeb8.js +66 -0
- package/dist/esm/en-au-e6b00a93.js +66 -0
- package/dist/esm/en-ca-29b94ea2.js +65 -0
- package/dist/esm/en-gb-09267176.js +69 -0
- package/dist/esm/es-95fef748.js +66 -0
- package/dist/esm/es-mx-9b70cfc9.js +65 -0
- package/dist/esm/et-08cbe214.js +92 -0
- package/dist/esm/feature-list.entry.js +12 -10
- package/dist/esm/fi-e850e58b.js +115 -0
- package/dist/esm/floating-ui-1a431a21.js +2404 -0
- package/dist/esm/focusTrapComponent-e80b8863.js +1008 -0
- package/dist/esm/form-1528db83.js +362 -0
- package/dist/esm/form-99398da6.js +372 -0
- package/dist/esm/fr-c71b6844.js +68 -0
- package/dist/esm/fr-ch-7ac7a7eb.js +66 -0
- package/dist/esm/he-311cb5ba.js +105 -0
- package/dist/esm/helpers-f52a734a.js +913 -0
- package/dist/esm/hi-c41f0938.js +65 -0
- package/dist/esm/hr-f42cc721.js +80 -0
- package/dist/esm/hu-d1d33b21.js +88 -0
- package/dist/esm/icon-18c0eb17.js +959 -0
- package/dist/esm/id-1867967d.js +66 -0
- package/dist/esm/index-38bde943.js +199 -0
- package/dist/esm/index-d233c7a2.js +1753 -0
- package/dist/esm/index-d88c3eb6.js +2155 -0
- package/dist/esm/index.es-d286eecc.js +11134 -0
- package/dist/esm/instant-apps-app-guide.entry.js +2 -2
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-create.entry.js +2 -2
- package/dist/esm/instant-apps-export-views.entry.js +2 -2
- package/dist/esm/instant-apps-export.entry.js +2 -2
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -13
- package/dist/esm/instant-apps-language-translator.entry.js +5 -5
- package/dist/esm/instant-apps-measurement.entry.js +2 -2
- package/dist/esm/instant-apps-popover.entry.js +2 -2
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-splash.entry.js +3 -3
- package/dist/esm/instant-apps-time-filter.entry.js +3 -57
- package/dist/esm/interactive-5139f8d7.js +83 -0
- package/dist/esm/interactive-cad37709.js +82 -0
- package/dist/esm/it-6a7495d8.js +66 -0
- package/dist/esm/it-ch-89fa3c82.js +66 -0
- package/dist/esm/ja-f87a1f44.js +72 -0
- package/dist/esm/ko-0f4c7a11.js +72 -0
- package/dist/esm/label-56002f24.js +179 -0
- package/dist/esm/label-7f52ca53.js +179 -0
- package/dist/esm/languageSwitcher-d0ca5d6f.js +49 -0
- package/dist/esm/loadable-dc3f24a8.js +93 -0
- package/dist/esm/loader-bae2aa52.js +173 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-586d9375.js +155 -0
- package/dist/esm/locale-911eca09.js +591 -0
- package/dist/esm/locale-be7fd298.js +1423 -0
- package/dist/esm/logger-ff14b12f.js +59 -0
- package/dist/esm/lt-a4b14416.js +97 -0
- package/dist/esm/lv-3901862d.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +15 -13
- package/dist/esm/mk-886d280d.js +66 -0
- package/dist/esm/nb-b667a0e1.js +67 -0
- package/dist/esm/nl-d357a092.js +67 -0
- package/dist/esm/observers-ab3d6528.js +56 -0
- package/dist/esm/openCloseComponent-0e1e6768.js +64 -0
- package/dist/esm/openCloseComponent-c3f79463.js +63 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pl-75d54069.js +114 -0
- package/dist/esm/popupUtils-ddb1f6fa.js +119 -0
- package/dist/esm/pt-32bd5da2.js +67 -0
- package/dist/esm/pt-br-6f32314d.js +65 -0
- package/dist/esm/public-notification.entry.js +12 -10
- package/dist/esm/publicNotificationStore-8b54bf6f.js +45 -0
- package/dist/esm/request-2dbb152a.js +19 -0
- package/dist/esm/restHelpersGet-a7fda344.js +493 -0
- package/dist/esm/ro-d238055e.js +66 -0
- package/dist/esm/ru-ef7165ff.js +126 -0
- package/dist/esm/shared-list-render-5f202c55.js +339 -0
- package/dist/esm/sk-959dbca1.js +148 -0
- package/dist/esm/sl-96436015.js +168 -0
- package/dist/esm/solution-configuration.entry.js +34 -34
- package/dist/esm/solution-contents_3.entry.js +11 -11
- package/dist/esm/solution-item-accordion.entry.js +3 -3
- package/dist/esm/solution-item-icon.entry.js +2 -2
- package/dist/esm/solution-resource-30a29505.js +1842 -0
- package/dist/esm/solution-store-f252cb74.js +1103 -0
- package/dist/esm/solutions-components.js +7 -7
- package/dist/esm/spatial-ref.entry.js +5 -6
- package/dist/esm/sr-73033c89.js +101 -0
- package/dist/esm/store-manager.entry.js +7 -7
- package/dist/esm/sv-b1153aa8.js +71 -0
- package/dist/esm/t9n-1698878e.js +103 -0
- package/dist/esm/templates-60f33938.js +401 -0
- package/dist/esm/th-e1a074e2.js +65 -0
- package/dist/esm/time-bca5f70b.js +286 -0
- package/dist/esm/tr-1350f529.js +66 -0
- package/dist/esm/typeof-ef2a007d.js +25 -0
- package/dist/esm/uk-18ded66c.js +104 -0
- package/dist/esm/update-ad0b88fa.js +773 -0
- package/dist/esm/utils-0da093e1.js +142 -0
- package/dist/esm/utils-30c4c8ca.js +66 -0
- package/dist/esm/vi-cee99413.js +70 -0
- package/dist/esm/zh-cn-6e204128.js +94 -0
- package/dist/esm/zh-hk-ffb02673.js +92 -0
- package/dist/esm/zh-tw-0f52dd8c.js +92 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources.json +3 -10
- package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +3 -10
- package/dist/solutions-components/demos/consent-manager.html +56 -0
- package/dist/solutions-components/p-0094924f.entry.js +6 -0
- package/dist/solutions-components/p-00ea0ccc.entry.js +11 -0
- package/dist/solutions-components/p-018d1f95.entry.js +6 -0
- package/dist/solutions-components/p-025af0b3.entry.js +21 -0
- package/dist/solutions-components/p-0549a65c.js +6 -0
- package/dist/solutions-components/p-058d0542.js +17 -0
- package/dist/solutions-components/p-0668e30d.js +34 -0
- package/dist/solutions-components/p-066fc169.js +6 -0
- package/dist/solutions-components/p-067e36b2.entry.js +6 -0
- package/dist/solutions-components/p-0681b29b.entry.js +11 -0
- package/dist/solutions-components/p-0691d1af.entry.js +22 -0
- package/dist/solutions-components/p-088a5dca.js +67 -0
- package/dist/solutions-components/p-097b80df.js +6 -0
- package/dist/solutions-components/p-0a0902c4.entry.js +6 -0
- package/dist/solutions-components/p-0a71f549.entry.js +29 -0
- package/dist/solutions-components/p-0ac9cc4a.entry.js +21 -0
- package/dist/solutions-components/p-0b1fb6ae.js +36 -0
- package/dist/solutions-components/p-0d82ed7b.entry.js +11 -0
- package/dist/solutions-components/p-0e307601.entry.js +11 -0
- package/dist/solutions-components/p-0ece17fc.entry.js +6 -0
- package/dist/solutions-components/p-0f58bb3a.entry.js +11 -0
- package/dist/solutions-components/p-0f9f7528.entry.js +11 -0
- package/dist/solutions-components/p-135b2aba.js +16 -0
- package/dist/solutions-components/p-13bdb2c0.js +6 -0
- package/dist/solutions-components/p-14519a8a.entry.js +11 -0
- package/dist/solutions-components/p-1482f3cf.js +20 -0
- package/dist/solutions-components/p-1492bb6d.js +6 -0
- package/dist/solutions-components/p-1664573a.entry.js +6 -0
- package/dist/solutions-components/p-1900f9b1.js +11 -0
- package/dist/solutions-components/p-1984f2c7.entry.js +17 -0
- package/dist/solutions-components/p-1c1842b0.entry.js +6 -0
- package/dist/solutions-components/p-1f9d927b.entry.js +6 -0
- package/dist/solutions-components/p-1fb3756b.js +6 -0
- package/dist/solutions-components/p-208b5cc4.entry.js +6 -0
- package/dist/solutions-components/p-20cda8ef.entry.js +6 -0
- package/dist/solutions-components/p-2130a063.entry.js +17 -0
- package/dist/solutions-components/p-21f90019.js +21 -0
- package/dist/solutions-components/p-230f7315.entry.js +6 -0
- package/dist/solutions-components/p-24b42859.entry.js +47 -0
- package/dist/solutions-components/p-26f9f9c8.js +11 -0
- package/dist/solutions-components/p-270ca219.entry.js +6 -0
- package/dist/solutions-components/p-27a91364.entry.js +17 -0
- package/dist/solutions-components/p-28498868.entry.js +11 -0
- package/dist/solutions-components/p-2a5a5bfd.entry.js +11 -0
- package/dist/solutions-components/p-2ac553f6.js +6 -0
- package/dist/solutions-components/p-2b1e6acb.entry.js +6 -0
- package/dist/solutions-components/p-2bc98cb0.js +30 -0
- package/dist/solutions-components/p-2d96fdb9.js +6 -0
- package/dist/solutions-components/p-2dd8e49c.js +11 -0
- package/dist/solutions-components/p-30a16b7e.entry.js +11 -0
- package/dist/solutions-components/p-3212300b.entry.js +6 -0
- package/dist/solutions-components/p-35245316.entry.js +6 -0
- package/dist/solutions-components/p-3643a87a.entry.js +6 -0
- package/dist/solutions-components/p-3708cbdc.entry.js +6 -0
- package/dist/solutions-components/p-3828e77b.js +11 -0
- package/dist/solutions-components/p-38e0f88b.js +17 -0
- package/dist/solutions-components/p-3b3bfba5.entry.js +6 -0
- package/dist/solutions-components/p-3ba80c7c.js +6 -0
- package/dist/solutions-components/p-3d1f0434.js +21 -0
- package/dist/solutions-components/p-3ffc4738.js +6 -0
- package/dist/solutions-components/p-409401ce.js +11 -0
- package/dist/solutions-components/p-419df1ac.js +11 -0
- package/dist/solutions-components/p-46159285.js +6 -0
- package/dist/solutions-components/p-49a67314.entry.js +6 -0
- package/dist/solutions-components/p-4cbdea35.js +129 -0
- package/dist/solutions-components/p-4dfc2fc4.js +11 -0
- package/dist/solutions-components/p-4f236b5d.js +43 -0
- package/dist/solutions-components/p-4f50385f.js +16 -0
- package/dist/solutions-components/p-4fe489cf.js +6 -0
- package/dist/solutions-components/p-50239e15.entry.js +6 -0
- package/dist/solutions-components/p-531f66c7.entry.js +6 -0
- package/dist/solutions-components/p-570754a4.js +6 -0
- package/dist/solutions-components/p-570b13d9.js +67 -0
- package/dist/solutions-components/p-58d53a46.entry.js +6 -0
- package/dist/solutions-components/p-59970898.js +6 -0
- package/dist/solutions-components/p-59d02697.entry.js +11 -0
- package/dist/solutions-components/p-5b2ae6c4.js +6 -0
- package/dist/solutions-components/p-5b9783e6.entry.js +23 -0
- package/dist/solutions-components/p-5c5cbe3c.js +6 -0
- package/dist/solutions-components/p-5c692ed6.entry.js +11 -0
- package/dist/solutions-components/p-5cfa35f8.js +6 -0
- package/dist/solutions-components/p-5d581b7e.entry.js +6 -0
- package/dist/solutions-components/p-5df09fe4.js +31 -0
- package/dist/solutions-components/p-5ee359f1.entry.js +11 -0
- package/dist/solutions-components/p-5f099cd2.js +6 -0
- package/dist/solutions-components/p-60123545.js +6 -0
- package/dist/solutions-components/p-6148468f.js +11 -0
- package/dist/solutions-components/p-617d2160.js +6 -0
- package/dist/solutions-components/p-619a1ad0.js +6 -0
- package/dist/solutions-components/p-61d2582e.entry.js +6 -0
- package/dist/solutions-components/p-662cf7fa.entry.js +11 -0
- package/dist/solutions-components/p-6708060e.js +11 -0
- package/dist/solutions-components/p-676a2d60.entry.js +6 -0
- package/dist/solutions-components/p-68b5ec37.js +11 -0
- package/dist/solutions-components/p-68cf5134.entry.js +12 -0
- package/dist/solutions-components/p-694cfe4c.js +6 -0
- package/dist/solutions-components/p-6bcde3c4.js +6 -0
- package/dist/solutions-components/p-6c73f067.js +16 -0
- package/dist/solutions-components/p-6d56f75e.js +11 -0
- package/dist/solutions-components/p-6db88e16.entry.js +11 -0
- package/dist/solutions-components/p-6f93ec3e.entry.js +6 -0
- package/dist/solutions-components/p-7053b20e.entry.js +6 -0
- package/dist/solutions-components/p-741151d4.js +6 -0
- package/dist/solutions-components/p-749fe711.js +6 -0
- package/dist/solutions-components/p-7518e92a.js +6 -0
- package/dist/solutions-components/p-7802efa1.entry.js +11 -0
- package/dist/solutions-components/p-782c71a7.js +6 -0
- package/dist/solutions-components/p-78aa10b0.js +6 -0
- package/dist/solutions-components/p-7a8edc01.entry.js +11 -0
- package/dist/solutions-components/p-7a9e773b.js +6 -0
- package/dist/solutions-components/p-7aa5b402.entry.js +11 -0
- package/dist/solutions-components/p-7aafba66.js +11 -0
- package/dist/solutions-components/p-7d619b04.entry.js +11 -0
- package/dist/solutions-components/p-7dc37540.js +11 -0
- package/dist/solutions-components/p-7e3a6a0b.entry.js +11 -0
- package/dist/solutions-components/p-7fd55161.entry.js +6 -0
- package/dist/solutions-components/p-80168ff4.entry.js +11 -0
- package/dist/solutions-components/p-823684a3.js +6 -0
- package/dist/solutions-components/p-825ef4a7.js +6 -0
- package/dist/solutions-components/p-82d93164.js +11 -0
- package/dist/solutions-components/p-82f661c7.entry.js +11 -0
- package/dist/solutions-components/p-8378852e.js +6 -0
- package/dist/solutions-components/p-85bb5908.js +11 -0
- package/dist/solutions-components/p-866a2fad.js +11 -0
- package/dist/solutions-components/p-8744fe2a.entry.js +6 -0
- package/dist/solutions-components/p-8850bd21.js +21 -0
- package/dist/solutions-components/p-896a5fce.entry.js +11 -0
- package/dist/solutions-components/p-8df5939f.js +6 -0
- package/dist/solutions-components/p-8ec56f08.entry.js +11 -0
- package/dist/solutions-components/p-8ff2cba2.entry.js +11 -0
- package/dist/solutions-components/p-8ff4b2aa.js +488 -0
- package/dist/solutions-components/p-926e65eb.js +6 -0
- package/dist/solutions-components/p-94ad391c.js +40 -0
- package/dist/solutions-components/p-958c68c2.js +61 -0
- package/dist/solutions-components/p-95fcb607.js +6 -0
- package/dist/solutions-components/p-97df5300.js +27 -0
- package/dist/solutions-components/p-98079396.js +21 -0
- package/dist/solutions-components/p-98b1c057.entry.js +6 -0
- package/dist/solutions-components/p-9d4f62ca.js +6 -0
- package/dist/solutions-components/p-9d733373.entry.js +17 -0
- package/dist/solutions-components/p-9d9df87f.entry.js +6 -0
- package/dist/solutions-components/p-9e5d59aa.entry.js +11 -0
- package/dist/solutions-components/p-9f89901b.entry.js +6 -0
- package/dist/solutions-components/p-9fa8da35.entry.js +11 -0
- package/dist/solutions-components/p-a28502ac.entry.js +6 -0
- package/dist/solutions-components/p-a5df8093.entry.js +11 -0
- package/dist/solutions-components/p-a757bf75.js +16 -0
- package/dist/solutions-components/p-a7eded8f.entry.js +11 -0
- package/dist/solutions-components/p-a91fc014.entry.js +6 -0
- package/dist/solutions-components/p-aa6656f0.js +6 -0
- package/dist/solutions-components/p-abe60b81.entry.js +6 -0
- package/dist/solutions-components/p-ad66b010.entry.js +11 -0
- package/dist/solutions-components/p-adb57e25.entry.js +6 -0
- package/dist/solutions-components/p-add122e7.js +6 -0
- package/dist/solutions-components/p-ae357552.entry.js +11 -0
- package/dist/solutions-components/p-af4f2d4a.js +11 -0
- package/dist/solutions-components/p-b0d0022c.entry.js +11 -0
- package/dist/solutions-components/p-b14d2423.entry.js +11 -0
- package/dist/solutions-components/p-b1546c15.js +17 -0
- package/dist/solutions-components/p-b1c45ef8.entry.js +6 -0
- package/dist/solutions-components/p-b1f3c713.js +6 -0
- package/dist/solutions-components/p-b22046db.js +11 -0
- package/dist/solutions-components/p-b290affa.js +17 -0
- package/dist/solutions-components/p-b3b70f6b.entry.js +12 -0
- package/dist/solutions-components/p-b4a94ffe.entry.js +6 -0
- package/dist/solutions-components/p-b62871c3.entry.js +11 -0
- package/dist/solutions-components/p-b6a36bfe.js +6 -0
- package/dist/solutions-components/p-b915029b.js +6 -0
- package/dist/solutions-components/p-b98e9479.js +11 -0
- package/dist/solutions-components/p-b9bc3e7b.entry.js +17 -0
- package/dist/solutions-components/p-ba539e5a.entry.js +11 -0
- package/dist/solutions-components/p-bad614c0.entry.js +11 -0
- package/dist/solutions-components/p-bb158785.entry.js +11 -0
- package/dist/solutions-components/p-bc281e3b.js +6 -0
- package/dist/solutions-components/p-bc2b747e.js +6 -0
- package/dist/solutions-components/p-be78bc15.entry.js +6 -0
- package/dist/solutions-components/p-bf154e41.js +6 -0
- package/dist/solutions-components/p-c0f30138.entry.js +11 -0
- package/dist/solutions-components/p-c109e720.js +6 -0
- package/dist/solutions-components/p-c115215d.entry.js +6 -0
- package/dist/solutions-components/p-c433cc38.js +6 -0
- package/dist/solutions-components/p-c43fdf49.entry.js +16 -0
- package/dist/solutions-components/p-c5e0e5ef.js +6 -0
- package/dist/solutions-components/p-c766823c.entry.js +11 -0
- package/dist/solutions-components/p-c8a2c326.entry.js +29 -0
- package/dist/solutions-components/p-c8b26c56.js +6 -0
- package/dist/solutions-components/p-c900e9e8.entry.js +17 -0
- package/dist/solutions-components/p-c9dae6fb.entry.js +6 -0
- package/dist/solutions-components/p-cbf0769a.entry.js +11 -0
- package/dist/solutions-components/p-cc7d784e.entry.js +6 -0
- package/dist/solutions-components/p-ce8a69ef.entry.js +11 -0
- package/dist/solutions-components/p-cea51591.js +16 -0
- package/dist/solutions-components/p-d0b1d33f.js +6 -0
- package/dist/solutions-components/p-d0b36f2e.entry.js +6 -0
- package/dist/solutions-components/p-d2a6e970.js +6 -0
- package/dist/solutions-components/p-d2dc7d65.entry.js +11 -0
- package/dist/solutions-components/p-d60dc1f1.entry.js +11 -0
- package/dist/solutions-components/p-d654b676.entry.js +11 -0
- package/dist/solutions-components/p-d65f8b73.js +6 -0
- package/dist/solutions-components/p-d82ee2f9.entry.js +6 -0
- package/dist/solutions-components/p-d96fe526.entry.js +22 -0
- package/dist/solutions-components/p-da0cb140.entry.js +11 -0
- package/dist/solutions-components/p-da36faca.entry.js +6 -0
- package/dist/solutions-components/p-daf6a012.entry.js +6 -0
- package/dist/solutions-components/p-dba4704c.js +11 -0
- package/dist/solutions-components/p-dd16d94e.js +6 -0
- package/dist/solutions-components/p-dd689226.js +11 -0
- package/dist/solutions-components/p-dd6a34c6.entry.js +17 -0
- package/dist/solutions-components/p-df4bfe45.js +6 -0
- package/dist/solutions-components/p-dfe18931.js +6 -0
- package/dist/solutions-components/p-e2570a80.js +11 -0
- package/dist/solutions-components/p-ea9e0a79.js +6 -0
- package/dist/solutions-components/p-eb88fddc.js +6 -0
- package/dist/solutions-components/p-ed4fb4a1.entry.js +6 -0
- package/dist/solutions-components/p-ef0c43dc.js +6 -0
- package/dist/solutions-components/p-f05bbd82.entry.js +11 -0
- package/dist/solutions-components/p-f0ceb675.entry.js +11 -0
- package/dist/solutions-components/p-f1f356f0.js +7 -0
- package/dist/solutions-components/p-f46f7da7.entry.js +12 -0
- package/dist/solutions-components/p-f6e3d19a.entry.js +11 -0
- package/dist/solutions-components/p-f6e81cf8.js +22 -0
- package/dist/solutions-components/p-f7085e9e.entry.js +17 -0
- package/dist/solutions-components/p-f8ea8e73.js +6 -0
- package/dist/solutions-components/p-fb6ca6dd.entry.js +11 -0
- package/dist/solutions-components/p-fdaf1290.entry.js +11 -0
- package/dist/solutions-components/p-fe719f16.entry.js +6 -0
- package/dist/solutions-components/p-feebdac9.entry.js +17 -0
- package/dist/solutions-components/p-ff15447c.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +14 -0
- package/dist/types/components/consent-manager/consent-manager.d.ts +23 -20
- package/dist/types/components/delete-button/delete-button.d.ts +1 -1
- package/dist/types/components/edit-card/edit-card.d.ts +4 -0
- package/dist/types/components/layer-table/layer-table.d.ts +55 -7
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +18 -2
- package/dist/types/components/map-picker/map-picker.d.ts +10 -2
- package/dist/types/components.d.ts +67 -34
- package/dist/types/preact.d.ts +6 -7
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/utils/interfaces.d.ts +12 -0
- package/package.json +13 -13
- package/dist/cjs/ExpandToggle-c5e409ce.js +0 -115
- package/dist/cjs/FloatingArrow-c2b50d47.js +0 -48
- package/dist/cjs/Heading-3e2d46fd.js +0 -25
- package/dist/cjs/Validation-c065b988.js +0 -20
- package/dist/cjs/app-globals-09eb9eb5.js +0 -67
- package/dist/cjs/ar-0afb390b.js +0 -106
- package/dist/cjs/arcgis-login.cjs.entry.js +0 -61
- package/dist/cjs/bg-b1be4ef3.js +0 -84
- package/dist/cjs/browser-0bedacf5.js +0 -35
- package/dist/cjs/bs-a314390f.js +0 -53
- package/dist/cjs/ca-b8e89e47.js +0 -73
- package/dist/cjs/calcite-alert_6.cjs.entry.js +0 -2105
- package/dist/cjs/calcite-input-time-picker-42ed419f.js +0 -1870
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -393
- package/dist/cjs/common-eee0c33f.js +0 -38
- package/dist/cjs/conditionalSlot-003e6975.js +0 -54
- package/dist/cjs/config-2282fdac.js +0 -40
- package/dist/cjs/constants-bed33322.js +0 -860
- package/dist/cjs/cs-f14626e8.js +0 -149
- package/dist/cjs/da-2fce32d4.js +0 -69
- package/dist/cjs/date-e763caec.js +0 -264
- package/dist/cjs/de-2c1fce6f.js +0 -93
- package/dist/cjs/de-at-94de293d.js +0 -92
- package/dist/cjs/de-ch-d42f4faf.js +0 -92
- package/dist/cjs/delete-dialog.cjs.entry.js +0 -131
- package/dist/cjs/downloadUtils-76bc7e30.js +0 -3240
- package/dist/cjs/el-8092eeb9.js +0 -68
- package/dist/cjs/en-au-9bc4467f.js +0 -68
- package/dist/cjs/en-ca-d9140239.js +0 -67
- package/dist/cjs/en-gb-f5e2af8e.js +0 -71
- package/dist/cjs/es-4b6327d7.js +0 -68
- package/dist/cjs/es-mx-f729412a.js +0 -67
- package/dist/cjs/et-ec115eb3.js +0 -94
- package/dist/cjs/fi-95701850.js +0 -117
- package/dist/cjs/floating-ui-a8693586.js +0 -2413
- package/dist/cjs/focusTrapComponent-48fdd3f6.js +0 -1013
- package/dist/cjs/form-a36bd0e5.js +0 -381
- package/dist/cjs/fr-ch-a231f229.js +0 -68
- package/dist/cjs/fr-e22a2684.js +0 -70
- package/dist/cjs/he-d0070eb9.js +0 -107
- package/dist/cjs/helpers-0493759d.js +0 -940
- package/dist/cjs/hi-04615e27.js +0 -67
- package/dist/cjs/hr-27fefb6d.js +0 -82
- package/dist/cjs/hu-63da9819.js +0 -90
- package/dist/cjs/id-d4fe65cd.js +0 -68
- package/dist/cjs/index-2b13a4d5.js +0 -201
- package/dist/cjs/index-4b68e4b4.js +0 -1770
- package/dist/cjs/index-f052f656.js +0 -2156
- package/dist/cjs/index.es-8336efed.js +0 -11307
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
- package/dist/cjs/interactive-7ccdd728.js +0 -85
- package/dist/cjs/it-418a53bf.js +0 -68
- package/dist/cjs/it-ch-7f4632ab.js +0 -68
- package/dist/cjs/ja-6c5d5c7d.js +0 -74
- package/dist/cjs/ko-e4154b91.js +0 -74
- package/dist/cjs/loadable-f3fe73a2.js +0 -98
- package/dist/cjs/locale-339b55f0.js +0 -160
- package/dist/cjs/locale-4b820602.js +0 -120
- package/dist/cjs/locale-7eb2f603.js +0 -605
- package/dist/cjs/logger-912d7f26.js +0 -61
- package/dist/cjs/lt-d6dae6fd.js +0 -99
- package/dist/cjs/lv-bcf9724a.js +0 -68
- package/dist/cjs/mk-171505d2.js +0 -68
- package/dist/cjs/nb-0dcee19c.js +0 -69
- package/dist/cjs/nl-dace5864.js +0 -69
- package/dist/cjs/observers-affd684f.js +0 -58
- package/dist/cjs/openCloseComponent-044883e4.js +0 -65
- package/dist/cjs/pl-7755a609.js +0 -116
- package/dist/cjs/popupUtils-bc762034.js +0 -121
- package/dist/cjs/pt-3121cc39.js +0 -69
- package/dist/cjs/pt-br-67b16e3a.js +0 -67
- package/dist/cjs/publicNotificationStore-570204c1.js +0 -47
- package/dist/cjs/restHelpersGet-5c2245a3.js +0 -991
- package/dist/cjs/ro-7f726306.js +0 -68
- package/dist/cjs/ru-fc11963d.js +0 -128
- package/dist/cjs/share-item.cjs.entry.js +0 -61
- package/dist/cjs/shared-list-render-3d6ec3ca.js +0 -361
- package/dist/cjs/sk-e85b9c15.js +0 -150
- package/dist/cjs/sl-9eb375c2.js +0 -170
- package/dist/cjs/solution-resource-40e70253.js +0 -145
- package/dist/cjs/solution-store-4de89072.js +0 -1354
- package/dist/cjs/sr-1d2513be.js +0 -103
- package/dist/cjs/sv-f7693c9f.js +0 -73
- package/dist/cjs/t9n-64df74f3.js +0 -108
- package/dist/cjs/templates-0b7f886f.js +0 -408
- package/dist/cjs/th-0d2328bb.js +0 -67
- package/dist/cjs/time-513586eb.js +0 -301
- package/dist/cjs/tr-2c074411.js +0 -68
- package/dist/cjs/uk-5e16db67.js +0 -106
- package/dist/cjs/utils-3f10ea6b.js +0 -153
- package/dist/cjs/utils-d0049d76.js +0 -79
- package/dist/cjs/vi-2a4d8334.js +0 -72
- package/dist/cjs/zh-cn-126bcbc0.js +0 -96
- package/dist/cjs/zh-hk-aeeba861.js +0 -94
- package/dist/cjs/zh-tw-0cfb6e20.js +0 -94
- package/dist/collection/components/arcgis-login/arcgis-login.css +0 -19
- package/dist/collection/components/arcgis-login/arcgis-login.js +0 -80
- package/dist/collection/components/share-item/share-item.css +0 -19
- package/dist/collection/components/share-item/share-item.js +0 -80
- package/dist/components/arcgis-login.d.ts +0 -11
- package/dist/components/arcgis-login.js +0 -76
- package/dist/components/share-item.d.ts +0 -11
- package/dist/components/share-item.js +0 -76
- package/dist/esm/ExpandToggle-d2cde0b5.js +0 -108
- package/dist/esm/FloatingArrow-1ba04e83.js +0 -46
- package/dist/esm/Heading-82d9e017.js +0 -22
- package/dist/esm/Validation-594a63f5.js +0 -18
- package/dist/esm/app-globals-177bd1cd.js +0 -65
- package/dist/esm/ar-a85b5d05.js +0 -104
- package/dist/esm/arcgis-login.entry.js +0 -57
- package/dist/esm/bg-def28c6d.js +0 -82
- package/dist/esm/browser-e3f463e1.js +0 -32
- package/dist/esm/bs-86bb2bcb.js +0 -51
- package/dist/esm/ca-823e6ba8.js +0 -71
- package/dist/esm/calcite-alert_6.entry.js +0 -2096
- package/dist/esm/calcite-input-time-picker-c45e1964.js +0 -1867
- package/dist/esm/calcite-modal.entry.js +0 -389
- package/dist/esm/common-c3bbba83.js +0 -36
- package/dist/esm/conditionalSlot-720a3c33.js +0 -51
- package/dist/esm/config-3af0e436.js +0 -36
- package/dist/esm/constants-637a40f5.js +0 -856
- package/dist/esm/cs-87414fd8.js +0 -147
- package/dist/esm/da-f7060594.js +0 -67
- package/dist/esm/date-8f6c3f50.js +0 -248
- package/dist/esm/de-18aa2195.js +0 -91
- package/dist/esm/de-at-00f0ce55.js +0 -90
- package/dist/esm/de-ch-2bf886c0.js +0 -90
- package/dist/esm/delete-dialog.entry.js +0 -127
- package/dist/esm/dom-6f6759df.js +0 -1165
- package/dist/esm/downloadUtils-bc7a4ba1.js +0 -3233
- package/dist/esm/el-0c5df4ce.js +0 -66
- package/dist/esm/en-au-947d067e.js +0 -66
- package/dist/esm/en-ca-d80eb647.js +0 -65
- package/dist/esm/en-gb-78272f13.js +0 -69
- package/dist/esm/es-6b8b399b.js +0 -66
- package/dist/esm/es-mx-4f12df51.js +0 -65
- package/dist/esm/et-11aeba76.js +0 -92
- package/dist/esm/fi-c44d11d6.js +0 -115
- package/dist/esm/floating-ui-d21020a0.js +0 -2404
- package/dist/esm/focusTrapComponent-1ddc67c5.js +0 -1008
- package/dist/esm/form-e9b1ad9a.js +0 -372
- package/dist/esm/fr-cac28d20.js +0 -68
- package/dist/esm/fr-ch-a324bd02.js +0 -66
- package/dist/esm/he-eab95e66.js +0 -105
- package/dist/esm/helpers-91ca0f44.js +0 -913
- package/dist/esm/hi-cefe2a7e.js +0 -65
- package/dist/esm/hr-f863024d.js +0 -80
- package/dist/esm/hu-2921d1d5.js +0 -88
- package/dist/esm/id-4e25c1e7.js +0 -66
- package/dist/esm/index-39bc2e6d.js +0 -199
- package/dist/esm/index-904bc599.js +0 -1736
- package/dist/esm/index-e14fade9.js +0 -2154
- package/dist/esm/index.es-0d189a34.js +0 -11220
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
- package/dist/esm/interactive-949b348f.js +0 -82
- package/dist/esm/it-1f2ce2fc.js +0 -66
- package/dist/esm/it-ch-fa4f6a28.js +0 -66
- package/dist/esm/ja-dd6ac9b5.js +0 -72
- package/dist/esm/ko-3c269b4f.js +0 -72
- package/dist/esm/label-1ef4763d.js +0 -179
- package/dist/esm/loadable-421e634e.js +0 -93
- package/dist/esm/locale-0d06fca0.js +0 -155
- package/dist/esm/locale-77038bee.js +0 -115
- package/dist/esm/locale-a75d14ff.js +0 -591
- package/dist/esm/logger-5c7a2fec.js +0 -59
- package/dist/esm/lt-8f5fd3eb.js +0 -97
- package/dist/esm/lv-d1afc7ed.js +0 -66
- package/dist/esm/mk-794650fc.js +0 -66
- package/dist/esm/nb-800989aa.js +0 -67
- package/dist/esm/nl-634b9b85.js +0 -67
- package/dist/esm/observers-2d4fa9e3.js +0 -56
- package/dist/esm/openCloseComponent-4621d4ae.js +0 -63
- package/dist/esm/pl-45fb968c.js +0 -114
- package/dist/esm/popupUtils-03dc398a.js +0 -119
- package/dist/esm/pt-bd7887a6.js +0 -67
- package/dist/esm/pt-br-d9181dce.js +0 -65
- package/dist/esm/publicNotificationStore-8f6b0f93.js +0 -45
- package/dist/esm/restHelpersGet-48113381.js +0 -976
- package/dist/esm/ro-31fe0dcc.js +0 -66
- package/dist/esm/ru-e73bc075.js +0 -126
- package/dist/esm/share-item.entry.js +0 -57
- package/dist/esm/shared-list-render-83bb7274.js +0 -339
- package/dist/esm/sk-e7e24146.js +0 -148
- package/dist/esm/sl-ad96d047.js +0 -168
- package/dist/esm/solution-resource-f5809979.js +0 -142
- package/dist/esm/solution-store-ff13861b.js +0 -1352
- package/dist/esm/sr-785166a3.js +0 -101
- package/dist/esm/sv-9f422817.js +0 -71
- package/dist/esm/t9n-23649a4a.js +0 -103
- package/dist/esm/templates-0b442208.js +0 -402
- package/dist/esm/th-7e8b3dad.js +0 -65
- package/dist/esm/time-5ca488ba.js +0 -286
- package/dist/esm/tr-1b1dd6db.js +0 -66
- package/dist/esm/uk-13d0afbf.js +0 -104
- package/dist/esm/utils-0a78d3c9.js +0 -142
- package/dist/esm/utils-a564ca55.js +0 -66
- package/dist/esm/vi-82ec876c.js +0 -70
- package/dist/esm/zh-cn-c4181895.js +0 -94
- package/dist/esm/zh-hk-752cc263.js +0 -92
- package/dist/esm/zh-tw-e653ba6c.js +0 -92
- package/dist/solutions-components/p-053effee.entry.js +0 -6
- package/dist/solutions-components/p-05ae2b11.entry.js +0 -6
- package/dist/solutions-components/p-087c3740.entry.js +0 -6
- package/dist/solutions-components/p-08c18450.js +0 -11
- package/dist/solutions-components/p-09543b4e.js +0 -6
- package/dist/solutions-components/p-09d34b2b.entry.js +0 -11
- package/dist/solutions-components/p-0af967af.js +0 -6
- package/dist/solutions-components/p-0f8241d2.entry.js +0 -6
- package/dist/solutions-components/p-10a158fd.entry.js +0 -11
- package/dist/solutions-components/p-115af8e4.entry.js +0 -11
- package/dist/solutions-components/p-11c2426d.entry.js +0 -20
- package/dist/solutions-components/p-1336a071.entry.js +0 -6
- package/dist/solutions-components/p-1588fad8.entry.js +0 -6
- package/dist/solutions-components/p-177b4cbc.js +0 -16
- package/dist/solutions-components/p-184b270d.entry.js +0 -11
- package/dist/solutions-components/p-191f30e1.entry.js +0 -11
- package/dist/solutions-components/p-19e89591.entry.js +0 -12
- package/dist/solutions-components/p-1afc5947.entry.js +0 -11
- package/dist/solutions-components/p-1b1ff60a.entry.js +0 -6
- package/dist/solutions-components/p-1e8af7ed.js +0 -6
- package/dist/solutions-components/p-1f65aed7.js +0 -6
- package/dist/solutions-components/p-1fafdc23.entry.js +0 -11
- package/dist/solutions-components/p-20ed3f7f.entry.js +0 -11
- package/dist/solutions-components/p-2105e658.entry.js +0 -6
- package/dist/solutions-components/p-25f30972.entry.js +0 -11
- package/dist/solutions-components/p-26ba0cc7.js +0 -17
- package/dist/solutions-components/p-2714a658.entry.js +0 -6
- package/dist/solutions-components/p-2714ede8.entry.js +0 -16
- package/dist/solutions-components/p-274aa753.entry.js +0 -6
- package/dist/solutions-components/p-294cd25c.js +0 -6
- package/dist/solutions-components/p-2b9f9f7d.js +0 -16
- package/dist/solutions-components/p-2d9072d8.entry.js +0 -11
- package/dist/solutions-components/p-2e0aea4e.entry.js +0 -11
- package/dist/solutions-components/p-2e42f34c.js +0 -6
- package/dist/solutions-components/p-2f1ef41d.entry.js +0 -6
- package/dist/solutions-components/p-2f784608.entry.js +0 -6
- package/dist/solutions-components/p-351c7cbf.entry.js +0 -6
- package/dist/solutions-components/p-368902f1.entry.js +0 -6
- package/dist/solutions-components/p-39e21b70.js +0 -6
- package/dist/solutions-components/p-3aee989b.js +0 -11
- package/dist/solutions-components/p-3af39767.entry.js +0 -6
- package/dist/solutions-components/p-3ba388b6.entry.js +0 -17
- package/dist/solutions-components/p-3d999f0f.entry.js +0 -6
- package/dist/solutions-components/p-3e44cfab.entry.js +0 -6
- package/dist/solutions-components/p-3e87c19c.js +0 -6
- package/dist/solutions-components/p-3f9ec755.js +0 -6
- package/dist/solutions-components/p-3fe6c230.entry.js +0 -6
- package/dist/solutions-components/p-41503b16.entry.js +0 -6
- package/dist/solutions-components/p-4416d650.entry.js +0 -17
- package/dist/solutions-components/p-443be7fe.js +0 -6
- package/dist/solutions-components/p-44dc3dec.entry.js +0 -6
- package/dist/solutions-components/p-4695cfab.js +0 -6
- package/dist/solutions-components/p-499489c5.entry.js +0 -6
- package/dist/solutions-components/p-49df6eb3.entry.js +0 -11
- package/dist/solutions-components/p-4a665563.js +0 -6
- package/dist/solutions-components/p-4b15f4a4.entry.js +0 -11
- package/dist/solutions-components/p-4b47caf1.entry.js +0 -11
- package/dist/solutions-components/p-4d6e359e.entry.js +0 -11
- package/dist/solutions-components/p-4e3a18b1.js +0 -6
- package/dist/solutions-components/p-4e6eb06e.js +0 -7
- package/dist/solutions-components/p-4ff35ed4.js +0 -6
- package/dist/solutions-components/p-5104cc98.js +0 -6
- package/dist/solutions-components/p-51c6e6fe.js +0 -21
- package/dist/solutions-components/p-545a48dc.entry.js +0 -11
- package/dist/solutions-components/p-55bbfdbc.entry.js +0 -6
- package/dist/solutions-components/p-5804e6e1.entry.js +0 -22
- package/dist/solutions-components/p-58cff07f.entry.js +0 -11
- package/dist/solutions-components/p-592ab45c.js +0 -6
- package/dist/solutions-components/p-592f2000.entry.js +0 -6
- package/dist/solutions-components/p-5b5b78c0.js +0 -6
- package/dist/solutions-components/p-5e71e72a.js +0 -21
- package/dist/solutions-components/p-614a66c4.entry.js +0 -11
- package/dist/solutions-components/p-6166d8b4.js +0 -16
- package/dist/solutions-components/p-61cc2efe.js +0 -6
- package/dist/solutions-components/p-62c10928.entry.js +0 -6
- package/dist/solutions-components/p-63d334b2.entry.js +0 -6
- package/dist/solutions-components/p-677db47a.js +0 -6
- package/dist/solutions-components/p-68375137.js +0 -6
- package/dist/solutions-components/p-6a3f2249.entry.js +0 -6
- package/dist/solutions-components/p-6acd19c5.entry.js +0 -12
- package/dist/solutions-components/p-6b5b52c1.entry.js +0 -21
- package/dist/solutions-components/p-6cad2a22.js +0 -6
- package/dist/solutions-components/p-6f606cdb.js +0 -61
- package/dist/solutions-components/p-7059fc40.js +0 -6
- package/dist/solutions-components/p-70eba636.entry.js +0 -6
- package/dist/solutions-components/p-71f31d39.js +0 -6
- package/dist/solutions-components/p-74720d2b.js +0 -6
- package/dist/solutions-components/p-7530a02f.js +0 -30
- package/dist/solutions-components/p-764ff506.entry.js +0 -11
- package/dist/solutions-components/p-76a1236d.entry.js +0 -6
- package/dist/solutions-components/p-770a5a64.js +0 -11
- package/dist/solutions-components/p-77865541.entry.js +0 -11
- package/dist/solutions-components/p-78b6d3fe.entry.js +0 -6
- package/dist/solutions-components/p-78df7603.entry.js +0 -11
- package/dist/solutions-components/p-78e09c03.js +0 -6
- package/dist/solutions-components/p-7a7951bd.entry.js +0 -11
- package/dist/solutions-components/p-7bcfe068.entry.js +0 -6
- package/dist/solutions-components/p-7cc8e95a.js +0 -11
- package/dist/solutions-components/p-7d5d1b0a.js +0 -11
- package/dist/solutions-components/p-7eee9aa8.js +0 -11
- package/dist/solutions-components/p-7f68e6a4.js +0 -11
- package/dist/solutions-components/p-7fb51464.entry.js +0 -17
- package/dist/solutions-components/p-80ff858b.js +0 -6
- package/dist/solutions-components/p-8304ce4b.js +0 -17
- package/dist/solutions-components/p-85c068fd.js +0 -6
- package/dist/solutions-components/p-85c3237c.js +0 -11
- package/dist/solutions-components/p-860099d5.js +0 -6
- package/dist/solutions-components/p-86a5caf8.js +0 -6
- package/dist/solutions-components/p-86db882f.js +0 -6
- package/dist/solutions-components/p-872986ce.entry.js +0 -11
- package/dist/solutions-components/p-8a2ccb1e.js +0 -6
- package/dist/solutions-components/p-8cb9ecf6.js +0 -6
- package/dist/solutions-components/p-8d811472.js +0 -6
- package/dist/solutions-components/p-8dc9d5b6.entry.js +0 -6
- package/dist/solutions-components/p-8f8c7045.entry.js +0 -6
- package/dist/solutions-components/p-8ff43000.entry.js +0 -11
- package/dist/solutions-components/p-91a83986.entry.js +0 -47
- package/dist/solutions-components/p-928f0b5e.entry.js +0 -6
- package/dist/solutions-components/p-93d03bf0.js +0 -11
- package/dist/solutions-components/p-94e51621.entry.js +0 -6
- package/dist/solutions-components/p-977c099e.js +0 -11
- package/dist/solutions-components/p-9bb44f57.js +0 -65
- package/dist/solutions-components/p-9c25ee2c.entry.js +0 -6
- package/dist/solutions-components/p-9c5d5171.js +0 -11
- package/dist/solutions-components/p-9ce8e34f.js +0 -11
- package/dist/solutions-components/p-9d86dd68.js +0 -6
- package/dist/solutions-components/p-9d9e0e74.entry.js +0 -6
- package/dist/solutions-components/p-9e8d7c1d.entry.js +0 -17
- package/dist/solutions-components/p-9e996faa.js +0 -6
- package/dist/solutions-components/p-a1473254.entry.js +0 -11
- package/dist/solutions-components/p-a1ed15b8.entry.js +0 -11
- package/dist/solutions-components/p-a329f05c.entry.js +0 -6
- package/dist/solutions-components/p-a52fa87b.entry.js +0 -11
- package/dist/solutions-components/p-a5f6a4b9.entry.js +0 -23
- package/dist/solutions-components/p-a6790373.entry.js +0 -11
- package/dist/solutions-components/p-a693aa25.entry.js +0 -17
- package/dist/solutions-components/p-a7d249d9.js +0 -6
- package/dist/solutions-components/p-a7d4b1a4.js +0 -6
- package/dist/solutions-components/p-ac9c4111.entry.js +0 -12
- package/dist/solutions-components/p-acc4d847.entry.js +0 -11
- package/dist/solutions-components/p-adabe68e.entry.js +0 -6
- package/dist/solutions-components/p-ae5ea416.entry.js +0 -6
- package/dist/solutions-components/p-b138a65e.js +0 -11
- package/dist/solutions-components/p-b49e1a78.js +0 -6
- package/dist/solutions-components/p-b5a5da41.entry.js +0 -17
- package/dist/solutions-components/p-b6d50640.entry.js +0 -6
- package/dist/solutions-components/p-b8d1b57a.entry.js +0 -6
- package/dist/solutions-components/p-b90978d2.js +0 -6
- package/dist/solutions-components/p-b95968fa.entry.js +0 -6
- package/dist/solutions-components/p-bab47a85.entry.js +0 -29
- package/dist/solutions-components/p-bd35725f.js +0 -6
- package/dist/solutions-components/p-be6cd650.entry.js +0 -11
- package/dist/solutions-components/p-c0ceb17a.js +0 -6
- package/dist/solutions-components/p-c2ceb29c.js +0 -6
- package/dist/solutions-components/p-c350eacb.js +0 -143
- package/dist/solutions-components/p-c399f2b8.entry.js +0 -6
- package/dist/solutions-components/p-c604728b.js +0 -6
- package/dist/solutions-components/p-c63451e1.entry.js +0 -11
- package/dist/solutions-components/p-c7f86f73.entry.js +0 -6
- package/dist/solutions-components/p-c8e22575.entry.js +0 -22
- package/dist/solutions-components/p-c9422007.js +0 -6
- package/dist/solutions-components/p-c9715704.entry.js +0 -11
- package/dist/solutions-components/p-cb8d90d1.js +0 -11
- package/dist/solutions-components/p-cc6f6e41.entry.js +0 -17
- package/dist/solutions-components/p-cd482a33.js +0 -21
- package/dist/solutions-components/p-cdc63710.entry.js +0 -11
- package/dist/solutions-components/p-ce7b0b1a.entry.js +0 -11
- package/dist/solutions-components/p-cf2947f6.entry.js +0 -11
- package/dist/solutions-components/p-d02fb95c.entry.js +0 -17
- package/dist/solutions-components/p-d031cf50.entry.js +0 -11
- package/dist/solutions-components/p-d0d020a5.js +0 -37
- package/dist/solutions-components/p-d0ebd10d.js +0 -6
- package/dist/solutions-components/p-d154b5a1.entry.js +0 -11
- package/dist/solutions-components/p-d1b2484b.entry.js +0 -17
- package/dist/solutions-components/p-d2c2a105.entry.js +0 -11
- package/dist/solutions-components/p-d2f8d8a8.entry.js +0 -6
- package/dist/solutions-components/p-d37a68f7.entry.js +0 -6
- package/dist/solutions-components/p-d390df76.entry.js +0 -11
- package/dist/solutions-components/p-d3e1cc81.js +0 -6
- package/dist/solutions-components/p-d851b11e.js +0 -6
- package/dist/solutions-components/p-d9d25da8.entry.js +0 -11
- package/dist/solutions-components/p-d9e9fe80.js +0 -16
- package/dist/solutions-components/p-d9f3778e.js +0 -6
- package/dist/solutions-components/p-daae2ae7.js +0 -6
- package/dist/solutions-components/p-db7d5db8.entry.js +0 -6
- package/dist/solutions-components/p-dc9d4be3.js +0 -6
- package/dist/solutions-components/p-ddb37cba.entry.js +0 -11
- package/dist/solutions-components/p-df062602.entry.js +0 -11
- package/dist/solutions-components/p-e29e57db.entry.js +0 -6
- package/dist/solutions-components/p-e2fd2e29.js +0 -6
- package/dist/solutions-components/p-e3111b70.js +0 -6
- package/dist/solutions-components/p-e37e117f.js +0 -11
- package/dist/solutions-components/p-e4be63b6.entry.js +0 -11
- package/dist/solutions-components/p-e4e7add2.js +0 -11
- package/dist/solutions-components/p-e625aa69.entry.js +0 -6
- package/dist/solutions-components/p-e93a531c.entry.js +0 -11
- package/dist/solutions-components/p-e9a0d2f3.entry.js +0 -6
- package/dist/solutions-components/p-e9d3365f.js +0 -22
- package/dist/solutions-components/p-e9fcc194.entry.js +0 -6
- package/dist/solutions-components/p-ee487e75.entry.js +0 -11
- package/dist/solutions-components/p-ef773a13.js +0 -11
- package/dist/solutions-components/p-f09744aa.entry.js +0 -6
- package/dist/solutions-components/p-f3119757.entry.js +0 -11
- package/dist/solutions-components/p-f4aadb3b.js +0 -36
- package/dist/solutions-components/p-f5789e08.entry.js +0 -29
- package/dist/solutions-components/p-f57978f3.entry.js +0 -6
- package/dist/solutions-components/p-f6cc1cf8.entry.js +0 -17
- package/dist/solutions-components/p-f845da58.js +0 -6
- package/dist/solutions-components/p-fbf63d14.entry.js +0 -6
- package/dist/solutions-components/p-fc7c88c8.js +0 -6
- package/dist/solutions-components/p-fd019d15.js +0 -11
- package/dist/solutions-components/p-fd40d066.js +0 -6
- package/dist/solutions-components/p-febf9f75.entry.js +0 -11
- package/dist/solutions-components/p-ff9e28d1.js +0 -488
- package/dist/types/components/arcgis-login/arcgis-login.d.ts +0 -19
- package/dist/types/components/share-item/share-item.d.ts +0 -19
@@ -0,0 +1,1008 @@
|
|
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 { k as isFocusable, l as tabbable, m as focusable, n as isTabbable, o as getTabIndex, d as focusElement, p as tabbableOptions } from './dom-66c5cd46.js';
|
7
|
+
import { f as focusTrapStack } from './config-e6645458.js';
|
8
|
+
|
9
|
+
/*!
|
10
|
+
* focus-trap 7.6.0
|
11
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
12
|
+
*/
|
13
|
+
|
14
|
+
function _defineProperty(e, r, t) {
|
15
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
16
|
+
value: t,
|
17
|
+
enumerable: !0,
|
18
|
+
configurable: !0,
|
19
|
+
writable: !0
|
20
|
+
}) : e[r] = t, e;
|
21
|
+
}
|
22
|
+
function ownKeys(e, r) {
|
23
|
+
var t = Object.keys(e);
|
24
|
+
if (Object.getOwnPropertySymbols) {
|
25
|
+
var o = Object.getOwnPropertySymbols(e);
|
26
|
+
r && (o = o.filter(function (r) {
|
27
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
28
|
+
})), t.push.apply(t, o);
|
29
|
+
}
|
30
|
+
return t;
|
31
|
+
}
|
32
|
+
function _objectSpread2(e) {
|
33
|
+
for (var r = 1; r < arguments.length; r++) {
|
34
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
35
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
36
|
+
_defineProperty(e, r, t[r]);
|
37
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
38
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
39
|
+
});
|
40
|
+
}
|
41
|
+
return e;
|
42
|
+
}
|
43
|
+
function _toPrimitive(t, r) {
|
44
|
+
if ("object" != typeof t || !t) return t;
|
45
|
+
var e = t[Symbol.toPrimitive];
|
46
|
+
if (void 0 !== e) {
|
47
|
+
var i = e.call(t, r || "default");
|
48
|
+
if ("object" != typeof i) return i;
|
49
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
50
|
+
}
|
51
|
+
return ("string" === r ? String : Number)(t);
|
52
|
+
}
|
53
|
+
function _toPropertyKey(t) {
|
54
|
+
var i = _toPrimitive(t, "string");
|
55
|
+
return "symbol" == typeof i ? i : i + "";
|
56
|
+
}
|
57
|
+
|
58
|
+
var activeFocusTraps = {
|
59
|
+
activateTrap: function activateTrap(trapStack, trap) {
|
60
|
+
if (trapStack.length > 0) {
|
61
|
+
var activeTrap = trapStack[trapStack.length - 1];
|
62
|
+
if (activeTrap !== trap) {
|
63
|
+
activeTrap.pause();
|
64
|
+
}
|
65
|
+
}
|
66
|
+
var trapIndex = trapStack.indexOf(trap);
|
67
|
+
if (trapIndex === -1) {
|
68
|
+
trapStack.push(trap);
|
69
|
+
} else {
|
70
|
+
// move this existing trap to the front of the queue
|
71
|
+
trapStack.splice(trapIndex, 1);
|
72
|
+
trapStack.push(trap);
|
73
|
+
}
|
74
|
+
},
|
75
|
+
deactivateTrap: function deactivateTrap(trapStack, trap) {
|
76
|
+
var trapIndex = trapStack.indexOf(trap);
|
77
|
+
if (trapIndex !== -1) {
|
78
|
+
trapStack.splice(trapIndex, 1);
|
79
|
+
}
|
80
|
+
if (trapStack.length > 0) {
|
81
|
+
trapStack[trapStack.length - 1].unpause();
|
82
|
+
}
|
83
|
+
}
|
84
|
+
};
|
85
|
+
var isSelectableInput = function isSelectableInput(node) {
|
86
|
+
return node.tagName && node.tagName.toLowerCase() === 'input' && typeof node.select === 'function';
|
87
|
+
};
|
88
|
+
var isEscapeEvent = function isEscapeEvent(e) {
|
89
|
+
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;
|
90
|
+
};
|
91
|
+
var isTabEvent = function isTabEvent(e) {
|
92
|
+
return (e === null || e === void 0 ? void 0 : e.key) === 'Tab' || (e === null || e === void 0 ? void 0 : e.keyCode) === 9;
|
93
|
+
};
|
94
|
+
|
95
|
+
// checks for TAB by default
|
96
|
+
var isKeyForward = function isKeyForward(e) {
|
97
|
+
return isTabEvent(e) && !e.shiftKey;
|
98
|
+
};
|
99
|
+
|
100
|
+
// checks for SHIFT+TAB by default
|
101
|
+
var isKeyBackward = function isKeyBackward(e) {
|
102
|
+
return isTabEvent(e) && e.shiftKey;
|
103
|
+
};
|
104
|
+
var delay = function delay(fn) {
|
105
|
+
return setTimeout(fn, 0);
|
106
|
+
};
|
107
|
+
|
108
|
+
// Array.find/findIndex() are not supported on IE; this replicates enough
|
109
|
+
// of Array.findIndex() for our needs
|
110
|
+
var findIndex = function findIndex(arr, fn) {
|
111
|
+
var idx = -1;
|
112
|
+
arr.every(function (value, i) {
|
113
|
+
if (fn(value)) {
|
114
|
+
idx = i;
|
115
|
+
return false; // break
|
116
|
+
}
|
117
|
+
return true; // next
|
118
|
+
});
|
119
|
+
return idx;
|
120
|
+
};
|
121
|
+
|
122
|
+
/**
|
123
|
+
* Get an option's value when it could be a plain value, or a handler that provides
|
124
|
+
* the value.
|
125
|
+
* @param {*} value Option's value to check.
|
126
|
+
* @param {...*} [params] Any parameters to pass to the handler, if `value` is a function.
|
127
|
+
* @returns {*} The `value`, or the handler's returned value.
|
128
|
+
*/
|
129
|
+
var valueOrHandler = function valueOrHandler(value) {
|
130
|
+
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
131
|
+
params[_key - 1] = arguments[_key];
|
132
|
+
}
|
133
|
+
return typeof value === 'function' ? value.apply(void 0, params) : value;
|
134
|
+
};
|
135
|
+
var getActualTarget = function getActualTarget(event) {
|
136
|
+
// NOTE: If the trap is _inside_ a shadow DOM, event.target will always be the
|
137
|
+
// shadow host. However, event.target.composedPath() will be an array of
|
138
|
+
// nodes "clicked" from inner-most (the actual element inside the shadow) to
|
139
|
+
// outer-most (the host HTML document). If we have access to composedPath(),
|
140
|
+
// then use its first element; otherwise, fall back to event.target (and
|
141
|
+
// this only works for an _open_ shadow DOM; otherwise,
|
142
|
+
// composedPath()[0] === event.target always).
|
143
|
+
return event.target.shadowRoot && typeof event.composedPath === 'function' ? event.composedPath()[0] : event.target;
|
144
|
+
};
|
145
|
+
|
146
|
+
// NOTE: this must be _outside_ `createFocusTrap()` to make sure all traps in this
|
147
|
+
// current instance use the same stack if `userOptions.trapStack` isn't specified
|
148
|
+
var internalTrapStack = [];
|
149
|
+
var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
150
|
+
// SSR: a live trap shouldn't be created in this type of environment so this
|
151
|
+
// should be safe code to execute if the `document` option isn't specified
|
152
|
+
var doc = (userOptions === null || userOptions === void 0 ? void 0 : userOptions.document) || document;
|
153
|
+
var trapStack = (userOptions === null || userOptions === void 0 ? void 0 : userOptions.trapStack) || internalTrapStack;
|
154
|
+
var config = _objectSpread2({
|
155
|
+
returnFocusOnDeactivate: true,
|
156
|
+
escapeDeactivates: true,
|
157
|
+
delayInitialFocus: true,
|
158
|
+
isKeyForward: isKeyForward,
|
159
|
+
isKeyBackward: isKeyBackward
|
160
|
+
}, userOptions);
|
161
|
+
var state = {
|
162
|
+
// containers given to createFocusTrap()
|
163
|
+
// @type {Array<HTMLElement>}
|
164
|
+
containers: [],
|
165
|
+
// list of objects identifying tabbable nodes in `containers` in the trap
|
166
|
+
// NOTE: it's possible that a group has no tabbable nodes if nodes get removed while the trap
|
167
|
+
// is active, but the trap should never get to a state where there isn't at least one group
|
168
|
+
// with at least one tabbable node in it (that would lead to an error condition that would
|
169
|
+
// result in an error being thrown)
|
170
|
+
// @type {Array<{
|
171
|
+
// container: HTMLElement,
|
172
|
+
// tabbableNodes: Array<HTMLElement>, // empty if none
|
173
|
+
// focusableNodes: Array<HTMLElement>, // empty if none
|
174
|
+
// posTabIndexesFound: boolean,
|
175
|
+
// firstTabbableNode: HTMLElement|undefined,
|
176
|
+
// lastTabbableNode: HTMLElement|undefined,
|
177
|
+
// firstDomTabbableNode: HTMLElement|undefined,
|
178
|
+
// lastDomTabbableNode: HTMLElement|undefined,
|
179
|
+
// nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
|
180
|
+
// }>}
|
181
|
+
containerGroups: [],
|
182
|
+
// same order/length as `containers` list
|
183
|
+
|
184
|
+
// references to objects in `containerGroups`, but only those that actually have
|
185
|
+
// tabbable nodes in them
|
186
|
+
// NOTE: same order as `containers` and `containerGroups`, but __not necessarily__
|
187
|
+
// the same length
|
188
|
+
tabbableGroups: [],
|
189
|
+
nodeFocusedBeforeActivation: null,
|
190
|
+
mostRecentlyFocusedNode: null,
|
191
|
+
active: false,
|
192
|
+
paused: false,
|
193
|
+
// timer ID for when delayInitialFocus is true and initial focus in this trap
|
194
|
+
// has been delayed during activation
|
195
|
+
delayInitialFocusTimer: undefined,
|
196
|
+
// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
|
197
|
+
recentNavEvent: undefined
|
198
|
+
};
|
199
|
+
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
|
200
|
+
|
201
|
+
/**
|
202
|
+
* Gets a configuration option value.
|
203
|
+
* @param {Object|undefined} configOverrideOptions If true, and option is defined in this set,
|
204
|
+
* value will be taken from this object. Otherwise, value will be taken from base configuration.
|
205
|
+
* @param {string} optionName Name of the option whose value is sought.
|
206
|
+
* @param {string|undefined} [configOptionName] Name of option to use __instead of__ `optionName`
|
207
|
+
* IIF `configOverrideOptions` is not defined. Otherwise, `optionName` is used.
|
208
|
+
*/
|
209
|
+
var getOption = function getOption(configOverrideOptions, optionName, configOptionName) {
|
210
|
+
return configOverrideOptions && configOverrideOptions[optionName] !== undefined ? configOverrideOptions[optionName] : config[configOptionName || optionName];
|
211
|
+
};
|
212
|
+
|
213
|
+
/**
|
214
|
+
* Finds the index of the container that contains the element.
|
215
|
+
* @param {HTMLElement} element
|
216
|
+
* @param {Event} [event] If available, and `element` isn't directly found in any container,
|
217
|
+
* the event's composed path is used to see if includes any known trap containers in the
|
218
|
+
* case where the element is inside a Shadow DOM.
|
219
|
+
* @returns {number} Index of the container in either `state.containers` or
|
220
|
+
* `state.containerGroups` (the order/length of these lists are the same); -1
|
221
|
+
* if the element isn't found.
|
222
|
+
*/
|
223
|
+
var findContainerIndex = function findContainerIndex(element, event) {
|
224
|
+
var composedPath = typeof (event === null || event === void 0 ? void 0 : event.composedPath) === 'function' ? event.composedPath() : undefined;
|
225
|
+
// NOTE: search `containerGroups` because it's possible a group contains no tabbable
|
226
|
+
// nodes, but still contains focusable nodes (e.g. if they all have `tabindex=-1`)
|
227
|
+
// and we still need to find the element in there
|
228
|
+
return state.containerGroups.findIndex(function (_ref) {
|
229
|
+
var container = _ref.container,
|
230
|
+
tabbableNodes = _ref.tabbableNodes;
|
231
|
+
return container.contains(element) || ( // fall back to explicit tabbable search which will take into consideration any
|
232
|
+
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
233
|
+
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
234
|
+
// look inside web components even if open)
|
235
|
+
composedPath === null || composedPath === void 0 ? void 0 : composedPath.includes(container)) || tabbableNodes.find(function (node) {
|
236
|
+
return node === element;
|
237
|
+
});
|
238
|
+
});
|
239
|
+
};
|
240
|
+
|
241
|
+
/**
|
242
|
+
* Gets the node for the given option, which is expected to be an option that
|
243
|
+
* can be either a DOM node, a string that is a selector to get a node, `false`
|
244
|
+
* (if a node is explicitly NOT given), or a function that returns any of these
|
245
|
+
* values.
|
246
|
+
* @param {string} optionName
|
247
|
+
* @returns {undefined | false | HTMLElement | SVGElement} Returns
|
248
|
+
* `undefined` if the option is not specified; `false` if the option
|
249
|
+
* resolved to `false` (node explicitly not given); otherwise, the resolved
|
250
|
+
* DOM node.
|
251
|
+
* @throws {Error} If the option is set, not `false`, and is not, or does not
|
252
|
+
* resolve to a node.
|
253
|
+
*/
|
254
|
+
var getNodeForOption = function getNodeForOption(optionName) {
|
255
|
+
var optionValue = config[optionName];
|
256
|
+
if (typeof optionValue === 'function') {
|
257
|
+
for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
258
|
+
params[_key2 - 1] = arguments[_key2];
|
259
|
+
}
|
260
|
+
optionValue = optionValue.apply(void 0, params);
|
261
|
+
}
|
262
|
+
if (optionValue === true) {
|
263
|
+
optionValue = undefined; // use default value
|
264
|
+
}
|
265
|
+
if (!optionValue) {
|
266
|
+
if (optionValue === undefined || optionValue === false) {
|
267
|
+
return optionValue;
|
268
|
+
}
|
269
|
+
// else, empty string (invalid), null (invalid), 0 (invalid)
|
270
|
+
|
271
|
+
throw new Error("`".concat(optionName, "` was specified but was not a node, or did not return a node"));
|
272
|
+
}
|
273
|
+
var node = optionValue; // could be HTMLElement, SVGElement, or non-empty string at this point
|
274
|
+
|
275
|
+
if (typeof optionValue === 'string') {
|
276
|
+
node = doc.querySelector(optionValue); // resolve to node, or null if fails
|
277
|
+
if (!node) {
|
278
|
+
throw new Error("`".concat(optionName, "` as selector refers to no known node"));
|
279
|
+
}
|
280
|
+
}
|
281
|
+
return node;
|
282
|
+
};
|
283
|
+
var getInitialFocusNode = function getInitialFocusNode() {
|
284
|
+
var node = getNodeForOption('initialFocus');
|
285
|
+
|
286
|
+
// false explicitly indicates we want no initialFocus at all
|
287
|
+
if (node === false) {
|
288
|
+
return false;
|
289
|
+
}
|
290
|
+
if (node === undefined || !isFocusable(node, config.tabbableOptions)) {
|
291
|
+
// option not specified nor focusable: use fallback options
|
292
|
+
if (findContainerIndex(doc.activeElement) >= 0) {
|
293
|
+
node = doc.activeElement;
|
294
|
+
} else {
|
295
|
+
var firstTabbableGroup = state.tabbableGroups[0];
|
296
|
+
var firstTabbableNode = firstTabbableGroup && firstTabbableGroup.firstTabbableNode;
|
297
|
+
|
298
|
+
// NOTE: `fallbackFocus` option function cannot return `false` (not supported)
|
299
|
+
node = firstTabbableNode || getNodeForOption('fallbackFocus');
|
300
|
+
}
|
301
|
+
}
|
302
|
+
if (!node) {
|
303
|
+
throw new Error('Your focus-trap needs to have at least one focusable element');
|
304
|
+
}
|
305
|
+
return node;
|
306
|
+
};
|
307
|
+
var updateTabbableNodes = function updateTabbableNodes() {
|
308
|
+
state.containerGroups = state.containers.map(function (container) {
|
309
|
+
var tabbableNodes = tabbable(container, config.tabbableOptions);
|
310
|
+
|
311
|
+
// NOTE: if we have tabbable nodes, we must have focusable nodes; focusable nodes
|
312
|
+
// are a superset of tabbable nodes since nodes with negative `tabindex` attributes
|
313
|
+
// are focusable but not tabbable
|
314
|
+
var focusableNodes = focusable(container, config.tabbableOptions);
|
315
|
+
var firstTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[0] : undefined;
|
316
|
+
var lastTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[tabbableNodes.length - 1] : undefined;
|
317
|
+
var firstDomTabbableNode = focusableNodes.find(function (node) {
|
318
|
+
return isTabbable(node);
|
319
|
+
});
|
320
|
+
var lastDomTabbableNode = focusableNodes.slice().reverse().find(function (node) {
|
321
|
+
return isTabbable(node);
|
322
|
+
});
|
323
|
+
var posTabIndexesFound = !!tabbableNodes.find(function (node) {
|
324
|
+
return getTabIndex(node) > 0;
|
325
|
+
});
|
326
|
+
return {
|
327
|
+
container: container,
|
328
|
+
tabbableNodes: tabbableNodes,
|
329
|
+
focusableNodes: focusableNodes,
|
330
|
+
/** True if at least one node with positive `tabindex` was found in this container. */
|
331
|
+
posTabIndexesFound: posTabIndexesFound,
|
332
|
+
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
333
|
+
firstTabbableNode: firstTabbableNode,
|
334
|
+
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
335
|
+
lastTabbableNode: lastTabbableNode,
|
336
|
+
// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
|
337
|
+
// would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
|
338
|
+
// because that API doesn't work with Shadow DOM as well as it should (@see
|
339
|
+
// https://github.com/whatwg/dom/issues/320) and since this first/last is only needed, so far,
|
340
|
+
// to address an edge case related to positive tabindex support, this seems like a much easier,
|
341
|
+
// "close enough most of the time" alternative for positive tabindexes which should generally
|
342
|
+
// be avoided anyway...
|
343
|
+
/** First tabbable node in container, __DOM__ order; `undefined` if none. */
|
344
|
+
firstDomTabbableNode: firstDomTabbableNode,
|
345
|
+
/** Last tabbable node in container, __DOM__ order; `undefined` if none. */
|
346
|
+
lastDomTabbableNode: lastDomTabbableNode,
|
347
|
+
/**
|
348
|
+
* Finds the __tabbable__ node that follows the given node in the specified direction,
|
349
|
+
* in this container, if any.
|
350
|
+
* @param {HTMLElement} node
|
351
|
+
* @param {boolean} [forward] True if going in forward tab order; false if going
|
352
|
+
* in reverse.
|
353
|
+
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
354
|
+
*/
|
355
|
+
nextTabbableNode: function nextTabbableNode(node) {
|
356
|
+
var forward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
357
|
+
var nodeIdx = tabbableNodes.indexOf(node);
|
358
|
+
if (nodeIdx < 0) {
|
359
|
+
// either not tabbable nor focusable, or was focused but not tabbable (negative tabindex):
|
360
|
+
// since `node` should at least have been focusable, we assume that's the case and mimic
|
361
|
+
// what browsers do, which is set focus to the next node in __document position order__,
|
362
|
+
// regardless of positive tabindexes, if any -- and for reasons explained in the NOTE
|
363
|
+
// above related to `firstDomTabbable` and `lastDomTabbable` properties, we fall back to
|
364
|
+
// basic DOM order
|
365
|
+
if (forward) {
|
366
|
+
return focusableNodes.slice(focusableNodes.indexOf(node) + 1).find(function (el) {
|
367
|
+
return isTabbable(el);
|
368
|
+
});
|
369
|
+
}
|
370
|
+
return focusableNodes.slice(0, focusableNodes.indexOf(node)).reverse().find(function (el) {
|
371
|
+
return isTabbable(el);
|
372
|
+
});
|
373
|
+
}
|
374
|
+
return tabbableNodes[nodeIdx + (forward ? 1 : -1)];
|
375
|
+
}
|
376
|
+
};
|
377
|
+
});
|
378
|
+
state.tabbableGroups = state.containerGroups.filter(function (group) {
|
379
|
+
return group.tabbableNodes.length > 0;
|
380
|
+
});
|
381
|
+
|
382
|
+
// throw if no groups have tabbable nodes and we don't have a fallback focus node either
|
383
|
+
if (state.tabbableGroups.length <= 0 && !getNodeForOption('fallbackFocus') // returning false not supported for this option
|
384
|
+
) {
|
385
|
+
throw new Error('Your focus-trap must have at least one container with at least one tabbable node in it at all times');
|
386
|
+
}
|
387
|
+
|
388
|
+
// NOTE: Positive tabindexes are only properly supported in single-container traps because
|
389
|
+
// doing it across multiple containers where tabindexes could be all over the place
|
390
|
+
// would require Tabbable to support multiple containers, would require additional
|
391
|
+
// specialized Shadow DOM support, and would require Tabbable's multi-container support
|
392
|
+
// to look at those containers in document position order rather than user-provided
|
393
|
+
// order (as they are treated in Focus-trap, for legacy reasons). See discussion on
|
394
|
+
// https://github.com/focus-trap/focus-trap/issues/375 for more details.
|
395
|
+
if (state.containerGroups.find(function (g) {
|
396
|
+
return g.posTabIndexesFound;
|
397
|
+
}) && state.containerGroups.length > 1) {
|
398
|
+
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.");
|
399
|
+
}
|
400
|
+
};
|
401
|
+
|
402
|
+
/**
|
403
|
+
* Gets the current activeElement. If it's a web-component and has open shadow-root
|
404
|
+
* it will recursively search inside shadow roots for the "true" activeElement.
|
405
|
+
*
|
406
|
+
* @param {Document | ShadowRoot} el
|
407
|
+
*
|
408
|
+
* @returns {HTMLElement} The element that currently has the focus
|
409
|
+
**/
|
410
|
+
var _getActiveElement = function getActiveElement(el) {
|
411
|
+
var activeElement = el.activeElement;
|
412
|
+
if (!activeElement) {
|
413
|
+
return;
|
414
|
+
}
|
415
|
+
if (activeElement.shadowRoot && activeElement.shadowRoot.activeElement !== null) {
|
416
|
+
return _getActiveElement(activeElement.shadowRoot);
|
417
|
+
}
|
418
|
+
return activeElement;
|
419
|
+
};
|
420
|
+
var _tryFocus = function tryFocus(node) {
|
421
|
+
if (node === false) {
|
422
|
+
return;
|
423
|
+
}
|
424
|
+
if (node === _getActiveElement(document)) {
|
425
|
+
return;
|
426
|
+
}
|
427
|
+
if (!node || !node.focus) {
|
428
|
+
_tryFocus(getInitialFocusNode());
|
429
|
+
return;
|
430
|
+
}
|
431
|
+
node.focus({
|
432
|
+
preventScroll: !!config.preventScroll
|
433
|
+
});
|
434
|
+
// NOTE: focus() API does not trigger focusIn event so set MRU node manually
|
435
|
+
state.mostRecentlyFocusedNode = node;
|
436
|
+
if (isSelectableInput(node)) {
|
437
|
+
node.select();
|
438
|
+
}
|
439
|
+
};
|
440
|
+
var getReturnFocusNode = function getReturnFocusNode(previousActiveElement) {
|
441
|
+
var node = getNodeForOption('setReturnFocus', previousActiveElement);
|
442
|
+
return node ? node : node === false ? false : previousActiveElement;
|
443
|
+
};
|
444
|
+
|
445
|
+
/**
|
446
|
+
* Finds the next node (in either direction) where focus should move according to a
|
447
|
+
* keyboard focus-in event.
|
448
|
+
* @param {Object} params
|
449
|
+
* @param {Node} [params.target] Known target __from which__ to navigate, if any.
|
450
|
+
* @param {KeyboardEvent|FocusEvent} [params.event] Event to use if `target` isn't known (event
|
451
|
+
* will be used to determine the `target`). Ignored if `target` is specified.
|
452
|
+
* @param {boolean} [params.isBackward] True if focus should move backward.
|
453
|
+
* @returns {Node|undefined} The next node, or `undefined` if a next node couldn't be
|
454
|
+
* determined given the current state of the trap.
|
455
|
+
*/
|
456
|
+
var findNextNavNode = function findNextNavNode(_ref2) {
|
457
|
+
var target = _ref2.target,
|
458
|
+
event = _ref2.event,
|
459
|
+
_ref2$isBackward = _ref2.isBackward,
|
460
|
+
isBackward = _ref2$isBackward === void 0 ? false : _ref2$isBackward;
|
461
|
+
target = target || getActualTarget(event);
|
462
|
+
updateTabbableNodes();
|
463
|
+
var destinationNode = null;
|
464
|
+
if (state.tabbableGroups.length > 0) {
|
465
|
+
// make sure the target is actually contained in a group
|
466
|
+
// NOTE: the target may also be the container itself if it's focusable
|
467
|
+
// with tabIndex='-1' and was given initial focus
|
468
|
+
var containerIndex = findContainerIndex(target, event);
|
469
|
+
var containerGroup = containerIndex >= 0 ? state.containerGroups[containerIndex] : undefined;
|
470
|
+
if (containerIndex < 0) {
|
471
|
+
// target not found in any group: quite possible focus has escaped the trap,
|
472
|
+
// so bring it back into...
|
473
|
+
if (isBackward) {
|
474
|
+
// ...the last node in the last group
|
475
|
+
destinationNode = state.tabbableGroups[state.tabbableGroups.length - 1].lastTabbableNode;
|
476
|
+
} else {
|
477
|
+
// ...the first node in the first group
|
478
|
+
destinationNode = state.tabbableGroups[0].firstTabbableNode;
|
479
|
+
}
|
480
|
+
} else if (isBackward) {
|
481
|
+
// REVERSE
|
482
|
+
|
483
|
+
// is the target the first tabbable node in a group?
|
484
|
+
var startOfGroupIndex = findIndex(state.tabbableGroups, function (_ref3) {
|
485
|
+
var firstTabbableNode = _ref3.firstTabbableNode;
|
486
|
+
return target === firstTabbableNode;
|
487
|
+
});
|
488
|
+
if (startOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target, false))) {
|
489
|
+
// an exception case where the target is either the container itself, or
|
490
|
+
// a non-tabbable node that was given focus (i.e. tabindex is negative
|
491
|
+
// and user clicked on it or node was programmatically given focus)
|
492
|
+
// and is not followed by any other tabbable node, in which
|
493
|
+
// case, we should handle shift+tab as if focus were on the container's
|
494
|
+
// first tabbable node, and go to the last tabbable node of the LAST group
|
495
|
+
startOfGroupIndex = containerIndex;
|
496
|
+
}
|
497
|
+
if (startOfGroupIndex >= 0) {
|
498
|
+
// YES: then shift+tab should go to the last tabbable node in the
|
499
|
+
// previous group (and wrap around to the last tabbable node of
|
500
|
+
// the LAST group if it's the first tabbable node of the FIRST group)
|
501
|
+
var destinationGroupIndex = startOfGroupIndex === 0 ? state.tabbableGroups.length - 1 : startOfGroupIndex - 1;
|
502
|
+
var destinationGroup = state.tabbableGroups[destinationGroupIndex];
|
503
|
+
destinationNode = getTabIndex(target) >= 0 ? destinationGroup.lastTabbableNode : destinationGroup.lastDomTabbableNode;
|
504
|
+
} else if (!isTabEvent(event)) {
|
505
|
+
// user must have customized the nav keys so we have to move focus manually _within_
|
506
|
+
// the active group: do this based on the order determined by tabbable()
|
507
|
+
destinationNode = containerGroup.nextTabbableNode(target, false);
|
508
|
+
}
|
509
|
+
} else {
|
510
|
+
// FORWARD
|
511
|
+
|
512
|
+
// is the target the last tabbable node in a group?
|
513
|
+
var lastOfGroupIndex = findIndex(state.tabbableGroups, function (_ref4) {
|
514
|
+
var lastTabbableNode = _ref4.lastTabbableNode;
|
515
|
+
return target === lastTabbableNode;
|
516
|
+
});
|
517
|
+
if (lastOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target))) {
|
518
|
+
// an exception case where the target is the container itself, or
|
519
|
+
// a non-tabbable node that was given focus (i.e. tabindex is negative
|
520
|
+
// and user clicked on it or node was programmatically given focus)
|
521
|
+
// and is not followed by any other tabbable node, in which
|
522
|
+
// case, we should handle tab as if focus were on the container's
|
523
|
+
// last tabbable node, and go to the first tabbable node of the FIRST group
|
524
|
+
lastOfGroupIndex = containerIndex;
|
525
|
+
}
|
526
|
+
if (lastOfGroupIndex >= 0) {
|
527
|
+
// YES: then tab should go to the first tabbable node in the next
|
528
|
+
// group (and wrap around to the first tabbable node of the FIRST
|
529
|
+
// group if it's the last tabbable node of the LAST group)
|
530
|
+
var _destinationGroupIndex = lastOfGroupIndex === state.tabbableGroups.length - 1 ? 0 : lastOfGroupIndex + 1;
|
531
|
+
var _destinationGroup = state.tabbableGroups[_destinationGroupIndex];
|
532
|
+
destinationNode = getTabIndex(target) >= 0 ? _destinationGroup.firstTabbableNode : _destinationGroup.firstDomTabbableNode;
|
533
|
+
} else if (!isTabEvent(event)) {
|
534
|
+
// user must have customized the nav keys so we have to move focus manually _within_
|
535
|
+
// the active group: do this based on the order determined by tabbable()
|
536
|
+
destinationNode = containerGroup.nextTabbableNode(target);
|
537
|
+
}
|
538
|
+
}
|
539
|
+
} else {
|
540
|
+
// no groups available
|
541
|
+
// NOTE: the fallbackFocus option does not support returning false to opt-out
|
542
|
+
destinationNode = getNodeForOption('fallbackFocus');
|
543
|
+
}
|
544
|
+
return destinationNode;
|
545
|
+
};
|
546
|
+
|
547
|
+
// This needs to be done on mousedown and touchstart instead of click
|
548
|
+
// so that it precedes the focus event.
|
549
|
+
var checkPointerDown = function checkPointerDown(e) {
|
550
|
+
var target = getActualTarget(e);
|
551
|
+
if (findContainerIndex(target, e) >= 0) {
|
552
|
+
// allow the click since it ocurred inside the trap
|
553
|
+
return;
|
554
|
+
}
|
555
|
+
if (valueOrHandler(config.clickOutsideDeactivates, e)) {
|
556
|
+
// immediately deactivate the trap
|
557
|
+
trap.deactivate({
|
558
|
+
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
559
|
+
// which will result in the outside click setting focus to the node
|
560
|
+
// that was clicked (and if not focusable, to "nothing"); by setting
|
561
|
+
// `returnFocus: true`, we'll attempt to re-focus the node originally-focused
|
562
|
+
// on activation (or the configured `setReturnFocus` node), whether the
|
563
|
+
// outside click was on a focusable node or not
|
564
|
+
returnFocus: config.returnFocusOnDeactivate
|
565
|
+
});
|
566
|
+
return;
|
567
|
+
}
|
568
|
+
|
569
|
+
// This is needed for mobile devices.
|
570
|
+
// (If we'll only let `click` events through,
|
571
|
+
// then on mobile they will be blocked anyways if `touchstart` is blocked.)
|
572
|
+
if (valueOrHandler(config.allowOutsideClick, e)) {
|
573
|
+
// allow the click outside the trap to take place
|
574
|
+
return;
|
575
|
+
}
|
576
|
+
|
577
|
+
// otherwise, prevent the click
|
578
|
+
e.preventDefault();
|
579
|
+
};
|
580
|
+
|
581
|
+
// In case focus escapes the trap for some strange reason, pull it back in.
|
582
|
+
// NOTE: the focusIn event is NOT cancelable, so if focus escapes, it may cause unexpected
|
583
|
+
// scrolling if the node that got focused was out of view; there's nothing we can do to
|
584
|
+
// prevent that from happening by the time we discover that focus escaped
|
585
|
+
var checkFocusIn = function checkFocusIn(event) {
|
586
|
+
var target = getActualTarget(event);
|
587
|
+
var targetContained = findContainerIndex(target, event) >= 0;
|
588
|
+
|
589
|
+
// In Firefox when you Tab out of an iframe the Document is briefly focused.
|
590
|
+
if (targetContained || target instanceof Document) {
|
591
|
+
if (targetContained) {
|
592
|
+
state.mostRecentlyFocusedNode = target;
|
593
|
+
}
|
594
|
+
} else {
|
595
|
+
// escaped! pull it back in to where it just left
|
596
|
+
event.stopImmediatePropagation();
|
597
|
+
|
598
|
+
// focus will escape if the MRU node had a positive tab index and user tried to nav forward;
|
599
|
+
// it will also escape if the MRU node had a 0 tab index and user tried to nav backward
|
600
|
+
// toward a node with a positive tab index
|
601
|
+
var nextNode; // next node to focus, if we find one
|
602
|
+
var navAcrossContainers = true;
|
603
|
+
if (state.mostRecentlyFocusedNode) {
|
604
|
+
if (getTabIndex(state.mostRecentlyFocusedNode) > 0) {
|
605
|
+
// MRU container index must be >=0 otherwise we wouldn't have it as an MRU node...
|
606
|
+
var mruContainerIdx = findContainerIndex(state.mostRecentlyFocusedNode);
|
607
|
+
// there MAY not be any tabbable nodes in the container if there are at least 2 containers
|
608
|
+
// and the MRU node is focusable but not tabbable (focus-trap requires at least 1 container
|
609
|
+
// with at least one tabbable node in order to function, so this could be the other container
|
610
|
+
// with nothing tabbable in it)
|
611
|
+
var tabbableNodes = state.containerGroups[mruContainerIdx].tabbableNodes;
|
612
|
+
if (tabbableNodes.length > 0) {
|
613
|
+
// MRU tab index MAY not be found if the MRU node is focusable but not tabbable
|
614
|
+
var mruTabIdx = tabbableNodes.findIndex(function (node) {
|
615
|
+
return node === state.mostRecentlyFocusedNode;
|
616
|
+
});
|
617
|
+
if (mruTabIdx >= 0) {
|
618
|
+
if (config.isKeyForward(state.recentNavEvent)) {
|
619
|
+
if (mruTabIdx + 1 < tabbableNodes.length) {
|
620
|
+
nextNode = tabbableNodes[mruTabIdx + 1];
|
621
|
+
navAcrossContainers = false;
|
622
|
+
}
|
623
|
+
// else, don't wrap within the container as focus should move to next/previous
|
624
|
+
// container
|
625
|
+
} else {
|
626
|
+
if (mruTabIdx - 1 >= 0) {
|
627
|
+
nextNode = tabbableNodes[mruTabIdx - 1];
|
628
|
+
navAcrossContainers = false;
|
629
|
+
}
|
630
|
+
// else, don't wrap within the container as focus should move to next/previous
|
631
|
+
// container
|
632
|
+
}
|
633
|
+
// else, don't find in container order without considering direction too
|
634
|
+
}
|
635
|
+
}
|
636
|
+
// else, no tabbable nodes in that container (which means we must have at least one other
|
637
|
+
// container with at least one tabbable node in it, otherwise focus-trap would've thrown
|
638
|
+
// an error the last time updateTabbableNodes() was run): find next node among all known
|
639
|
+
// containers
|
640
|
+
} else {
|
641
|
+
// check to see if there's at least one tabbable node with a positive tab index inside
|
642
|
+
// the trap because focus seems to escape when navigating backward from a tabbable node
|
643
|
+
// with tabindex=0 when this is the case (instead of wrapping to the tabbable node with
|
644
|
+
// the greatest positive tab index like it should)
|
645
|
+
if (!state.containerGroups.some(function (g) {
|
646
|
+
return g.tabbableNodes.some(function (n) {
|
647
|
+
return getTabIndex(n) > 0;
|
648
|
+
});
|
649
|
+
})) {
|
650
|
+
// no containers with tabbable nodes with positive tab indexes which means the focus
|
651
|
+
// escaped for some other reason and we should just execute the fallback to the
|
652
|
+
// MRU node or initial focus node, if any
|
653
|
+
navAcrossContainers = false;
|
654
|
+
}
|
655
|
+
}
|
656
|
+
} else {
|
657
|
+
// no MRU node means we're likely in some initial condition when the trap has just
|
658
|
+
// been activated and initial focus hasn't been given yet, in which case we should
|
659
|
+
// fall through to trying to focus the initial focus node, which is what should
|
660
|
+
// happen below at this point in the logic
|
661
|
+
navAcrossContainers = false;
|
662
|
+
}
|
663
|
+
if (navAcrossContainers) {
|
664
|
+
nextNode = findNextNavNode({
|
665
|
+
// move FROM the MRU node, not event-related node (which will be the node that is
|
666
|
+
// outside the trap causing the focus escape we're trying to fix)
|
667
|
+
target: state.mostRecentlyFocusedNode,
|
668
|
+
isBackward: config.isKeyBackward(state.recentNavEvent)
|
669
|
+
});
|
670
|
+
}
|
671
|
+
if (nextNode) {
|
672
|
+
_tryFocus(nextNode);
|
673
|
+
} else {
|
674
|
+
_tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
|
675
|
+
}
|
676
|
+
}
|
677
|
+
state.recentNavEvent = undefined; // clear
|
678
|
+
};
|
679
|
+
|
680
|
+
// Hijack key nav events on the first and last focusable nodes of the trap,
|
681
|
+
// in order to prevent focus from escaping. If it escapes for even a
|
682
|
+
// moment it can end up scrolling the page and causing confusion so we
|
683
|
+
// kind of need to capture the action at the keydown phase.
|
684
|
+
var checkKeyNav = function checkKeyNav(event) {
|
685
|
+
var isBackward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
686
|
+
state.recentNavEvent = event;
|
687
|
+
var destinationNode = findNextNavNode({
|
688
|
+
event: event,
|
689
|
+
isBackward: isBackward
|
690
|
+
});
|
691
|
+
if (destinationNode) {
|
692
|
+
if (isTabEvent(event)) {
|
693
|
+
// since tab natively moves focus, we wouldn't have a destination node unless we
|
694
|
+
// were on the edge of a container and had to move to the next/previous edge, in
|
695
|
+
// which case we want to prevent default to keep the browser from moving focus
|
696
|
+
// to where it normally would
|
697
|
+
event.preventDefault();
|
698
|
+
}
|
699
|
+
_tryFocus(destinationNode);
|
700
|
+
}
|
701
|
+
// else, let the browser take care of [shift+]tab and move the focus
|
702
|
+
};
|
703
|
+
var checkTabKey = function checkTabKey(event) {
|
704
|
+
if (config.isKeyForward(event) || config.isKeyBackward(event)) {
|
705
|
+
checkKeyNav(event, config.isKeyBackward(event));
|
706
|
+
}
|
707
|
+
};
|
708
|
+
|
709
|
+
// we use a different event phase for the Escape key to allow canceling the event and checking for this in escapeDeactivates
|
710
|
+
var checkEscapeKey = function checkEscapeKey(event) {
|
711
|
+
if (isEscapeEvent(event) && valueOrHandler(config.escapeDeactivates, event) !== false) {
|
712
|
+
event.preventDefault();
|
713
|
+
trap.deactivate();
|
714
|
+
}
|
715
|
+
};
|
716
|
+
var checkClick = function checkClick(e) {
|
717
|
+
var target = getActualTarget(e);
|
718
|
+
if (findContainerIndex(target, e) >= 0) {
|
719
|
+
return;
|
720
|
+
}
|
721
|
+
if (valueOrHandler(config.clickOutsideDeactivates, e)) {
|
722
|
+
return;
|
723
|
+
}
|
724
|
+
if (valueOrHandler(config.allowOutsideClick, e)) {
|
725
|
+
return;
|
726
|
+
}
|
727
|
+
e.preventDefault();
|
728
|
+
e.stopImmediatePropagation();
|
729
|
+
};
|
730
|
+
|
731
|
+
//
|
732
|
+
// EVENT LISTENERS
|
733
|
+
//
|
734
|
+
|
735
|
+
var addListeners = function addListeners() {
|
736
|
+
if (!state.active) {
|
737
|
+
return;
|
738
|
+
}
|
739
|
+
|
740
|
+
// There can be only one listening focus trap at a time
|
741
|
+
activeFocusTraps.activateTrap(trapStack, trap);
|
742
|
+
|
743
|
+
// Delay ensures that the focused element doesn't capture the event
|
744
|
+
// that caused the focus trap activation.
|
745
|
+
state.delayInitialFocusTimer = config.delayInitialFocus ? delay(function () {
|
746
|
+
_tryFocus(getInitialFocusNode());
|
747
|
+
}) : _tryFocus(getInitialFocusNode());
|
748
|
+
doc.addEventListener('focusin', checkFocusIn, true);
|
749
|
+
doc.addEventListener('mousedown', checkPointerDown, {
|
750
|
+
capture: true,
|
751
|
+
passive: false
|
752
|
+
});
|
753
|
+
doc.addEventListener('touchstart', checkPointerDown, {
|
754
|
+
capture: true,
|
755
|
+
passive: false
|
756
|
+
});
|
757
|
+
doc.addEventListener('click', checkClick, {
|
758
|
+
capture: true,
|
759
|
+
passive: false
|
760
|
+
});
|
761
|
+
doc.addEventListener('keydown', checkTabKey, {
|
762
|
+
capture: true,
|
763
|
+
passive: false
|
764
|
+
});
|
765
|
+
doc.addEventListener('keydown', checkEscapeKey);
|
766
|
+
return trap;
|
767
|
+
};
|
768
|
+
var removeListeners = function removeListeners() {
|
769
|
+
if (!state.active) {
|
770
|
+
return;
|
771
|
+
}
|
772
|
+
doc.removeEventListener('focusin', checkFocusIn, true);
|
773
|
+
doc.removeEventListener('mousedown', checkPointerDown, true);
|
774
|
+
doc.removeEventListener('touchstart', checkPointerDown, true);
|
775
|
+
doc.removeEventListener('click', checkClick, true);
|
776
|
+
doc.removeEventListener('keydown', checkTabKey, true);
|
777
|
+
doc.removeEventListener('keydown', checkEscapeKey);
|
778
|
+
return trap;
|
779
|
+
};
|
780
|
+
|
781
|
+
//
|
782
|
+
// MUTATION OBSERVER
|
783
|
+
//
|
784
|
+
|
785
|
+
var checkDomRemoval = function checkDomRemoval(mutations) {
|
786
|
+
var isFocusedNodeRemoved = mutations.some(function (mutation) {
|
787
|
+
var removedNodes = Array.from(mutation.removedNodes);
|
788
|
+
return removedNodes.some(function (node) {
|
789
|
+
return node === state.mostRecentlyFocusedNode;
|
790
|
+
});
|
791
|
+
});
|
792
|
+
|
793
|
+
// If the currently focused is removed then browsers will move focus to the
|
794
|
+
// <body> element. If this happens, try to move focus back into the trap.
|
795
|
+
if (isFocusedNodeRemoved) {
|
796
|
+
_tryFocus(getInitialFocusNode());
|
797
|
+
}
|
798
|
+
};
|
799
|
+
|
800
|
+
// Use MutationObserver - if supported - to detect if focused node is removed
|
801
|
+
// from the DOM.
|
802
|
+
var mutationObserver = typeof window !== 'undefined' && 'MutationObserver' in window ? new MutationObserver(checkDomRemoval) : undefined;
|
803
|
+
var updateObservedNodes = function updateObservedNodes() {
|
804
|
+
if (!mutationObserver) {
|
805
|
+
return;
|
806
|
+
}
|
807
|
+
mutationObserver.disconnect();
|
808
|
+
if (state.active && !state.paused) {
|
809
|
+
state.containers.map(function (container) {
|
810
|
+
mutationObserver.observe(container, {
|
811
|
+
subtree: true,
|
812
|
+
childList: true
|
813
|
+
});
|
814
|
+
});
|
815
|
+
}
|
816
|
+
};
|
817
|
+
|
818
|
+
//
|
819
|
+
// TRAP DEFINITION
|
820
|
+
//
|
821
|
+
|
822
|
+
trap = {
|
823
|
+
get active() {
|
824
|
+
return state.active;
|
825
|
+
},
|
826
|
+
get paused() {
|
827
|
+
return state.paused;
|
828
|
+
},
|
829
|
+
activate: function activate(activateOptions) {
|
830
|
+
if (state.active) {
|
831
|
+
return this;
|
832
|
+
}
|
833
|
+
var onActivate = getOption(activateOptions, 'onActivate');
|
834
|
+
var onPostActivate = getOption(activateOptions, 'onPostActivate');
|
835
|
+
var checkCanFocusTrap = getOption(activateOptions, 'checkCanFocusTrap');
|
836
|
+
if (!checkCanFocusTrap) {
|
837
|
+
updateTabbableNodes();
|
838
|
+
}
|
839
|
+
state.active = true;
|
840
|
+
state.paused = false;
|
841
|
+
state.nodeFocusedBeforeActivation = doc.activeElement;
|
842
|
+
onActivate === null || onActivate === void 0 || onActivate();
|
843
|
+
var finishActivation = function finishActivation() {
|
844
|
+
if (checkCanFocusTrap) {
|
845
|
+
updateTabbableNodes();
|
846
|
+
}
|
847
|
+
addListeners();
|
848
|
+
updateObservedNodes();
|
849
|
+
onPostActivate === null || onPostActivate === void 0 || onPostActivate();
|
850
|
+
};
|
851
|
+
if (checkCanFocusTrap) {
|
852
|
+
checkCanFocusTrap(state.containers.concat()).then(finishActivation, finishActivation);
|
853
|
+
return this;
|
854
|
+
}
|
855
|
+
finishActivation();
|
856
|
+
return this;
|
857
|
+
},
|
858
|
+
deactivate: function deactivate(deactivateOptions) {
|
859
|
+
if (!state.active) {
|
860
|
+
return this;
|
861
|
+
}
|
862
|
+
var options = _objectSpread2({
|
863
|
+
onDeactivate: config.onDeactivate,
|
864
|
+
onPostDeactivate: config.onPostDeactivate,
|
865
|
+
checkCanReturnFocus: config.checkCanReturnFocus
|
866
|
+
}, deactivateOptions);
|
867
|
+
clearTimeout(state.delayInitialFocusTimer); // noop if undefined
|
868
|
+
state.delayInitialFocusTimer = undefined;
|
869
|
+
removeListeners();
|
870
|
+
state.active = false;
|
871
|
+
state.paused = false;
|
872
|
+
updateObservedNodes();
|
873
|
+
activeFocusTraps.deactivateTrap(trapStack, trap);
|
874
|
+
var onDeactivate = getOption(options, 'onDeactivate');
|
875
|
+
var onPostDeactivate = getOption(options, 'onPostDeactivate');
|
876
|
+
var checkCanReturnFocus = getOption(options, 'checkCanReturnFocus');
|
877
|
+
var returnFocus = getOption(options, 'returnFocus', 'returnFocusOnDeactivate');
|
878
|
+
onDeactivate === null || onDeactivate === void 0 || onDeactivate();
|
879
|
+
var finishDeactivation = function finishDeactivation() {
|
880
|
+
delay(function () {
|
881
|
+
if (returnFocus) {
|
882
|
+
_tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
|
883
|
+
}
|
884
|
+
onPostDeactivate === null || onPostDeactivate === void 0 || onPostDeactivate();
|
885
|
+
});
|
886
|
+
};
|
887
|
+
if (returnFocus && checkCanReturnFocus) {
|
888
|
+
checkCanReturnFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation)).then(finishDeactivation, finishDeactivation);
|
889
|
+
return this;
|
890
|
+
}
|
891
|
+
finishDeactivation();
|
892
|
+
return this;
|
893
|
+
},
|
894
|
+
pause: function pause(pauseOptions) {
|
895
|
+
if (state.paused || !state.active) {
|
896
|
+
return this;
|
897
|
+
}
|
898
|
+
var onPause = getOption(pauseOptions, 'onPause');
|
899
|
+
var onPostPause = getOption(pauseOptions, 'onPostPause');
|
900
|
+
state.paused = true;
|
901
|
+
onPause === null || onPause === void 0 || onPause();
|
902
|
+
removeListeners();
|
903
|
+
updateObservedNodes();
|
904
|
+
onPostPause === null || onPostPause === void 0 || onPostPause();
|
905
|
+
return this;
|
906
|
+
},
|
907
|
+
unpause: function unpause(unpauseOptions) {
|
908
|
+
if (!state.paused || !state.active) {
|
909
|
+
return this;
|
910
|
+
}
|
911
|
+
var onUnpause = getOption(unpauseOptions, 'onUnpause');
|
912
|
+
var onPostUnpause = getOption(unpauseOptions, 'onPostUnpause');
|
913
|
+
state.paused = false;
|
914
|
+
onUnpause === null || onUnpause === void 0 || onUnpause();
|
915
|
+
updateTabbableNodes();
|
916
|
+
addListeners();
|
917
|
+
updateObservedNodes();
|
918
|
+
onPostUnpause === null || onPostUnpause === void 0 || onPostUnpause();
|
919
|
+
return this;
|
920
|
+
},
|
921
|
+
updateContainerElements: function updateContainerElements(containerElements) {
|
922
|
+
var elementsAsArray = [].concat(containerElements).filter(Boolean);
|
923
|
+
state.containers = elementsAsArray.map(function (element) {
|
924
|
+
return typeof element === 'string' ? doc.querySelector(element) : element;
|
925
|
+
});
|
926
|
+
if (state.active) {
|
927
|
+
updateTabbableNodes();
|
928
|
+
}
|
929
|
+
updateObservedNodes();
|
930
|
+
return this;
|
931
|
+
}
|
932
|
+
};
|
933
|
+
|
934
|
+
// initialize container elements
|
935
|
+
trap.updateContainerElements(elements);
|
936
|
+
return trap;
|
937
|
+
};
|
938
|
+
|
939
|
+
/*!
|
940
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
941
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
942
|
+
* v2.13.2
|
943
|
+
*/
|
944
|
+
/**
|
945
|
+
* Helper to set up the FocusTrap component.
|
946
|
+
*
|
947
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
948
|
+
* @param options
|
949
|
+
*/
|
950
|
+
function connectFocusTrap(component, options) {
|
951
|
+
const { el } = component;
|
952
|
+
const focusTrapNode = options?.focusTrapEl || el;
|
953
|
+
if (!focusTrapNode) {
|
954
|
+
return;
|
955
|
+
}
|
956
|
+
const focusTrapOptions = {
|
957
|
+
clickOutsideDeactivates: true,
|
958
|
+
escapeDeactivates: false,
|
959
|
+
fallbackFocus: focusTrapNode,
|
960
|
+
setReturnFocus: (el) => {
|
961
|
+
focusElement(el);
|
962
|
+
return false;
|
963
|
+
},
|
964
|
+
...options?.focusTrapOptions,
|
965
|
+
// the following options are not overridable
|
966
|
+
document: el.ownerDocument,
|
967
|
+
tabbableOptions,
|
968
|
+
trapStack: focusTrapStack,
|
969
|
+
};
|
970
|
+
component.focusTrap = createFocusTrap(focusTrapNode, focusTrapOptions);
|
971
|
+
}
|
972
|
+
/**
|
973
|
+
* Helper to activate the FocusTrap component.
|
974
|
+
*
|
975
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
976
|
+
* @param [options] The FocusTrap activate options.
|
977
|
+
*/
|
978
|
+
function activateFocusTrap(component, options) {
|
979
|
+
if (!component.focusTrapDisabled) {
|
980
|
+
component.focusTrap?.activate(options);
|
981
|
+
}
|
982
|
+
}
|
983
|
+
/**
|
984
|
+
* Helper to deactivate the FocusTrap component.
|
985
|
+
*
|
986
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
987
|
+
* @param [options] The FocusTrap deactivate options.
|
988
|
+
*/
|
989
|
+
function deactivateFocusTrap(component, options) {
|
990
|
+
component.focusTrap?.deactivate(options);
|
991
|
+
}
|
992
|
+
/**
|
993
|
+
* Helper to update the element(s) that are used within the FocusTrap component.
|
994
|
+
*
|
995
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
996
|
+
* @example
|
997
|
+
* const modal = document.querySelector("calcite-modal");
|
998
|
+
* const input = document.createElement("calcite-input");
|
999
|
+
* content.appendChild(input);
|
1000
|
+
* await input.componentOnReady();
|
1001
|
+
* await modal.updateFocusTrapElements();
|
1002
|
+
* requestAnimationFrame(() => input.setFocus());
|
1003
|
+
*/
|
1004
|
+
function updateFocusTrapElements(component) {
|
1005
|
+
component.focusTrap?.updateContainerElements(component.el);
|
1006
|
+
}
|
1007
|
+
|
1008
|
+
export { activateFocusTrap as a, connectFocusTrap as c, deactivateFocusTrap as d, updateFocusTrapElements as u };
|