@esri/solutions-components 0.10.18 → 0.10.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-54ca6b91.js +115 -0
- package/dist/cjs/FloatingArrow-28f6bb91.js +48 -0
- package/dist/cjs/Heading-63b5c82c.js +25 -0
- package/dist/cjs/Validation-9bab9a69.js +20 -0
- package/dist/cjs/app-globals-d2085e28.js +67 -0
- package/dist/cjs/ar-ce94723b.js +106 -0
- package/dist/cjs/array-708fd433.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +15 -7
- package/dist/cjs/bg-8ab5661c.js +84 -0
- package/dist/cjs/browser-2893460e.js +35 -0
- package/dist/cjs/bs-f15b7a3d.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/ca-321e7e4f.js +73 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-accordion.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-alert_5.cjs.entry.js +55 -27
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block_5.cjs.entry.js +27 -27
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-carousel.cjs.entry.js +12 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-chip_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dialog.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
- package/dist/cjs/calcite-flow_4.cjs.entry.js +49 -17
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-icon_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker-d63d914b.js +1861 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +23 -17
- package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal_3.cjs.entry.js +19 -19
- 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 +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +40 -39
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
- package/dist/cjs/calcite-table.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_3.cjs.entry.js +11 -11
- package/dist/cjs/card-manager_3.cjs.entry.js +8 -7
- package/dist/cjs/common-eee0c33f.js +38 -0
- package/dist/cjs/component-7f2bd646.js +33 -0
- package/dist/cjs/conditionalSlot-2d2541f4.js +54 -0
- package/dist/cjs/config-7c16c710.js +40 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +71 -32
- package/dist/cjs/cs-66742e3a.js +149 -0
- package/dist/cjs/da-933e7031.js +69 -0
- package/dist/cjs/date-e01a99aa.js +264 -0
- package/dist/cjs/de-87706bda.js +93 -0
- package/dist/cjs/de-at-752f7be1.js +92 -0
- package/dist/cjs/de-ch-41dc3fef.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-3d3a8f25.js +1215 -0
- package/dist/cjs/downloadUtils-470f6a27.js +3164 -0
- package/dist/cjs/el-23b7e02b.js +68 -0
- package/dist/cjs/en-au-4f9fe083.js +68 -0
- package/dist/cjs/en-ca-afba9508.js +67 -0
- package/dist/cjs/en-gb-78a49c6a.js +71 -0
- package/dist/cjs/es-ea5faae0.js +68 -0
- package/dist/cjs/es-mx-47a5667a.js +67 -0
- package/dist/cjs/et-72505ea1.js +94 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +25 -12
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-7b4ac88c.js +117 -0
- package/dist/cjs/filter-a9429bde.js +778 -0
- package/dist/cjs/floating-ui-9ff03df8.js +2373 -0
- package/dist/cjs/focusTrapComponent-86ebd41d.js +1018 -0
- package/dist/cjs/form-8132060d.js +381 -0
- package/dist/cjs/fr-8077e2e8.js +70 -0
- package/dist/cjs/fr-ch-04f427a0.js +68 -0
- package/dist/cjs/guid-42cda8c9.js +26 -0
- package/dist/cjs/he-93b37a58.js +107 -0
- package/dist/cjs/hi-cb320ba3.js +67 -0
- package/dist/cjs/hr-15e455d9.js +82 -0
- package/dist/cjs/hu-10c42dd5.js +90 -0
- package/dist/cjs/id-813844ef.js +68 -0
- package/dist/cjs/index.es-6387d8fb.js +11318 -0
- package/dist/cjs/input-3efc5a5e.js +60 -0
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +9 -9
- package/dist/cjs/interactive-3b85d8df.js +167 -0
- package/dist/cjs/it-090375c5.js +68 -0
- package/dist/cjs/it-ch-6cc91215.js +68 -0
- package/dist/cjs/ja-e6697420.js +74 -0
- package/dist/cjs/key-82084ef6.js +19 -0
- package/dist/cjs/ko-522250be.js +74 -0
- package/dist/cjs/label-e7d3c371.js +186 -0
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadable-0e357195.js +98 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-351282c5.js +605 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/logger-309df5d9.js +61 -0
- package/dist/cjs/lt-c2f9fd21.js +99 -0
- package/dist/cjs/lv-a1930986.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -6
- package/dist/cjs/math-14740338.js +60 -0
- package/dist/cjs/mk-deb11706.js +68 -0
- package/dist/cjs/nb-3859b631.js +69 -0
- package/dist/cjs/nl-6c2c838d.js +69 -0
- package/dist/cjs/observers-5f9f67ee.js +58 -0
- package/dist/cjs/openCloseComponent-b66f10f5.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-fcb7899e.js +116 -0
- package/dist/cjs/popupUtils-c38f840d.js +121 -0
- package/dist/cjs/pt-416d2cf8.js +69 -0
- package/dist/cjs/pt-br-bae3d576.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +6 -5
- package/dist/cjs/purify-0805e9f8.js +1562 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/resources-4446499e.js +39 -0
- package/dist/cjs/resources-4c3e1c50.js +68 -0
- package/dist/cjs/resources-6f65a67f.js +29 -0
- package/dist/cjs/resources-87ed79dd.js +23 -0
- package/dist/cjs/resources-9b04cd8c.js +23 -0
- package/dist/cjs/resources-a1ca0958.js +27 -0
- package/dist/cjs/resources-c5f09989.js +68 -0
- package/dist/cjs/resources-dbc687b5.js +26 -0
- package/dist/cjs/resources-f11e9bd6.js +39 -0
- package/dist/cjs/resources-f8785f51.js +21 -0
- package/dist/cjs/restHelpersGet-5c2245a3.js +991 -0
- package/dist/cjs/ro-bda94f37.js +68 -0
- package/dist/cjs/ru-7258ce51.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-d4b7311f.js +361 -0
- package/dist/cjs/sk-3a398547.js +150 -0
- package/dist/cjs/sl-bfb5a728.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +31 -30
- package/dist/cjs/solution-contents_3.cjs.entry.js +8 -7
- package/dist/cjs/solution-resource-40e70253.js +145 -0
- package/dist/cjs/solution-store-2cd6a8c3.js +1354 -0
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-8684e273.js +2748 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -3
- package/dist/cjs/sr-58554054.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +5 -4
- package/dist/cjs/sv-335a4402.js +73 -0
- package/dist/cjs/t9n-e41672d2.js +108 -0
- package/dist/cjs/templates-0b7f886f.js +408 -0
- package/dist/cjs/th-14ebad2e.js +67 -0
- package/dist/cjs/time-9a5e2f2d.js +301 -0
- package/dist/cjs/tr-36bcc20f.js +68 -0
- package/dist/cjs/uk-dcff92bd.js +106 -0
- package/dist/cjs/utils-29c97686.js +2304 -0
- package/dist/cjs/utils-edb4e372.js +78 -0
- package/dist/cjs/vi-284fec96.js +72 -0
- package/dist/cjs/zh-cn-1f4ab46b.js +96 -0
- package/dist/cjs/zh-hk-39cf1fdd.js +94 -0
- package/dist/cjs/zh-tw-e0b3117d.js +94 -0
- package/dist/collection/assets/t9n/card-manager/resources_ar.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_bg.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_bs.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ca.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_cs.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_da.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_de.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_el.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_es.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_et.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_fi.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_fr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_he.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_hr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_hu.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_id.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_it.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ja.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ko.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_lt.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_lv.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_nb.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_nl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-BR.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-PT.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ro.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ru.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sk.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sv.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_th.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_tr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_uk.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_vi.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-CN.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-HK.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-TW.json +4 -1
- package/dist/collection/assets/t9n/create-feature/resources.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_en.json +5 -0
- package/dist/collection/assets/t9n/create-related-feature/resources.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_en.json +3 -0
- package/dist/collection/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/collection/assets/t9n/layer-table/resources_ar.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_bg.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_bs.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ca.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_cs.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_da.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_de.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_el.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_es.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_et.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_fi.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_fr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_he.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_hr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_hu.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_id.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_it.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ja.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ko.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_lt.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_lv.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_nb.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_nl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ro.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ru.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sk.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sv.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_th.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_tr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_uk.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_vi.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +2 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +11 -1
- package/dist/collection/components/create-feature/create-feature.css +6 -1
- package/dist/collection/components/create-feature/create-feature.js +50 -3
- package/dist/collection/components/create-related-feature/create-related-feature.css +10 -0
- package/dist/collection/components/create-related-feature/create-related-feature.js +35 -3
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +72 -31
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.css +0 -8
- package/dist/collection/components/feature-details/feature-details.js +58 -10
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +29 -10
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- 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 +3 -3
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +1 -1
- 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 +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- 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-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.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-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/crowdsource-reporter.html +24 -25
- package/dist/collection/utils/pdfUtils.js +1 -1
- package/dist/collection/utils/pdfUtils.ts +1 -1
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-bar.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/basemap-gallery2.js +10 -1
- package/dist/components/block.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +1 -1
- package/dist/components/calcite-dialog.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +11 -4
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/common.js +1 -0
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +1 -1
- package/dist/components/create-feature2.js +47 -5
- package/dist/components/create-related-feature2.js +32 -5
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +73 -33
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/downloadUtils.js +28 -27
- package/dist/components/dropdown.js +1 -1
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +31 -11
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +20 -8
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/flow-item.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +2117 -162
- package/dist/components/index3.js +162 -2117
- package/dist/components/info-card2.js +2 -2
- package/dist/components/input-date-picker.js +2 -2
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/instant-apps-time-filter.js +10 -10
- package/dist/components/interactive.js +1 -1
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +3 -3
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/navigation-user.js +1 -1
- package/dist/components/notice.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/panel.js +2 -2
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/public-notification.js +2 -2
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +275 -429
- package/dist/components/radio-button.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/restHelpersGet.js +16 -0
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/solution-configuration.js +27 -26
- package/dist/components/solution-contents2.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 +2 -1
- package/dist/components/solution-resource.js +1 -1699
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +2 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/store.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/templates.js +1 -0
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tree-item.js +1 -1
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/utils4.js +1 -1
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-b5147279.js +108 -0
- package/dist/esm/FloatingArrow-9a505e89.js +46 -0
- package/dist/esm/Heading-cae0b34c.js +22 -0
- package/dist/esm/Validation-bd0a53ec.js +18 -0
- package/dist/esm/app-globals-530c75ff.js +65 -0
- package/dist/esm/ar-e0e64e78.js +104 -0
- package/dist/esm/array-ddb2593b.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +15 -7
- package/dist/esm/bg-d2d8dbe0.js +82 -0
- package/dist/esm/browser-a791205e.js +32 -0
- package/dist/esm/bs-d883901d.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +5 -5
- package/dist/esm/ca-064729ad.js +71 -0
- package/dist/esm/calcite-accordion-item.entry.js +9 -9
- package/dist/esm/calcite-accordion.entry.js +3 -3
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +15 -15
- package/dist/esm/calcite-action-pad_2.entry.js +14 -14
- package/dist/esm/calcite-action_2.entry.js +20 -20
- package/dist/esm/calcite-alert_5.entry.js +55 -27
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block-section.entry.js +10 -10
- package/dist/esm/calcite-block_5.entry.js +27 -27
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card-group.entry.js +6 -6
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-carousel-item.entry.js +2 -2
- package/dist/esm/calcite-carousel.entry.js +12 -12
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +6 -6
- package/dist/esm/calcite-chip_2.entry.js +15 -15
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +12 -12
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
- package/dist/esm/calcite-combobox_3.entry.js +21 -21
- package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
- package/dist/esm/calcite-dialog.entry.js +15 -15
- package/dist/esm/calcite-dropdown_2.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_5.entry.js +18 -18
- package/dist/esm/calcite-flow_4.entry.js +50 -18
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-icon_2.entry.js +10 -10
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker-66e7a9f3.js +1858 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +23 -17
- package/dist/esm/calcite-input_2.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +10 -10
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal_3.entry.js +19 -19
- 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 +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_2.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pick-list-group.entry.js +10 -10
- package/dist/esm/calcite-pick-list-item.entry.js +15 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +10 -10
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +40 -39
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +11 -11
- package/dist/esm/calcite-stepper.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +8 -8
- package/dist/esm/calcite-table.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-group.entry.js +7 -7
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-time-picker.entry.js +13 -13
- package/dist/esm/calcite-tip-group.entry.js +2 -2
- package/dist/esm/calcite-tip-manager.entry.js +12 -12
- package/dist/esm/calcite-tip.entry.js +13 -13
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_3.entry.js +11 -11
- package/dist/esm/card-manager_3.entry.js +8 -7
- package/dist/esm/common-c3bbba83.js +36 -0
- package/dist/esm/component-d35983a4.js +30 -0
- package/dist/esm/conditionalSlot-0cbc7172.js +51 -0
- package/dist/esm/config-8d1c3431.js +36 -0
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +71 -32
- package/dist/esm/cs-3751e560.js +147 -0
- package/dist/esm/da-227f8ad5.js +67 -0
- package/dist/esm/date-87a67cb4.js +248 -0
- package/dist/esm/de-a5d2b25b.js +91 -0
- package/dist/esm/de-at-66232b80.js +90 -0
- package/dist/esm/de-ch-1264ed4c.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-63d2d41c.js +1180 -0
- package/dist/esm/downloadUtils-d1f791c5.js +3157 -0
- package/dist/esm/el-f5bf7ca3.js +66 -0
- package/dist/esm/en-au-2ac8f62e.js +66 -0
- package/dist/esm/en-ca-a1602b49.js +65 -0
- package/dist/esm/en-gb-28354b2e.js +69 -0
- package/dist/esm/es-feb7aad2.js +66 -0
- package/dist/esm/es-mx-5d64f899.js +65 -0
- package/dist/esm/et-173d2f49.js +92 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +25 -12
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-ff9bb719.js +115 -0
- package/dist/esm/filter-6ee02739.js +775 -0
- package/dist/esm/floating-ui-c7ae81d9.js +2365 -0
- package/dist/esm/focusTrapComponent-833b1234.js +1013 -0
- package/dist/esm/form-08e1bcb7.js +372 -0
- package/dist/esm/fr-ch-491f1abe.js +66 -0
- package/dist/esm/fr-e3af6835.js +68 -0
- package/dist/esm/guid-42656051.js +24 -0
- package/dist/esm/he-47aa8dde.js +105 -0
- package/dist/esm/hi-1700df3e.js +65 -0
- package/dist/esm/hr-68b828f5.js +80 -0
- package/dist/esm/hu-df6a8f29.js +88 -0
- package/dist/esm/id-8091582d.js +66 -0
- package/dist/esm/index.es-decad494.js +11231 -0
- package/dist/esm/input-7f3fc18b.js +58 -0
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +9 -9
- package/dist/esm/interactive-b2a41b8b.js +162 -0
- package/dist/esm/it-1f5e149d.js +66 -0
- package/dist/esm/it-ch-bf7fcac6.js +66 -0
- package/dist/esm/ja-a5117166.js +72 -0
- package/dist/esm/key-d6dfb50e.js +16 -0
- package/dist/esm/ko-9d7a9e79.js +72 -0
- package/dist/esm/label-4c4e06d6.js +179 -0
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadable-1a9b14b8.js +93 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-4441c976.js +591 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/logger-3188b9c3.js +59 -0
- package/dist/esm/lt-2e1c53de.js +97 -0
- package/dist/esm/lv-ca1ba866.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +7 -6
- package/dist/esm/math-9afe1f6d.js +54 -0
- package/dist/esm/mk-421d0d41.js +66 -0
- package/dist/esm/nb-5b103e32.js +67 -0
- package/dist/esm/nl-eac33461.js +67 -0
- package/dist/esm/observers-6cac5525.js +56 -0
- package/dist/esm/openCloseComponent-c8c8645b.js +63 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-03531ccb.js +114 -0
- package/dist/esm/popupUtils-4e0a103f.js +119 -0
- package/dist/esm/pt-b5d8bffc.js +67 -0
- package/dist/esm/pt-br-dee45728.js +65 -0
- package/dist/esm/public-notification.entry.js +6 -5
- package/dist/esm/purify-cb56797a.js +1560 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/resources-119ae117.js +23 -0
- package/dist/esm/resources-244d70ca.js +22 -0
- package/dist/esm/resources-3f56d4e7.js +19 -0
- package/dist/esm/resources-57625076.js +63 -0
- package/dist/esm/resources-5b213c89.js +35 -0
- package/dist/esm/resources-61eab899.js +20 -0
- package/dist/esm/resources-745dec87.js +34 -0
- package/dist/esm/resources-9494c015.js +21 -0
- package/dist/esm/resources-d6566b8a.js +62 -0
- package/dist/esm/resources-d7e0fbbf.js +24 -0
- package/dist/esm/restHelpersGet-48113381.js +976 -0
- package/dist/esm/ro-df6cb584.js +66 -0
- package/dist/esm/ru-e7c02faa.js +126 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-cadae2eb.js +339 -0
- package/dist/esm/sk-cae387d2.js +148 -0
- package/dist/esm/sl-2892ad87.js +168 -0
- package/dist/esm/solution-configuration.entry.js +31 -30
- package/dist/esm/solution-contents_3.entry.js +8 -7
- package/dist/esm/solution-resource-f5809979.js +142 -0
- package/dist/esm/solution-store-ca4d55de.js +1352 -0
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/sortableComponent-52b99f0f.js +2745 -0
- package/dist/esm/spatial-ref.entry.js +4 -3
- package/dist/esm/sr-11e6839f.js +101 -0
- package/dist/esm/store-manager.entry.js +5 -4
- package/dist/esm/sv-fd5c6ca5.js +71 -0
- package/dist/esm/t9n-b7ea1a61.js +103 -0
- package/dist/esm/templates-0b442208.js +402 -0
- package/dist/esm/th-170cf6b1.js +65 -0
- package/dist/esm/time-a7f1020b.js +286 -0
- package/dist/esm/tr-1d6ca382.js +66 -0
- package/dist/esm/uk-35eec84e.js +104 -0
- package/dist/esm/utils-62514064.js +65 -0
- package/dist/esm/utils-d2524a35.js +2274 -0
- package/dist/esm/vi-2713ee26.js +70 -0
- package/dist/esm/zh-cn-ed066014.js +94 -0
- package/dist/esm/zh-hk-a118dced.js +92 -0
- package/dist/esm/zh-tw-c9bbf220.js +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +6 -22
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/solutions-components/assets/t9n/card-manager/resources_ar.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bg.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bs.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ca.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_cs.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_da.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_de.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_el.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_es.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_et.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fi.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_he.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hu.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_id.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_it.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ja.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ko.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lt.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lv.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nb.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-BR.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-PT.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ro.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ru.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sk.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sv.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_th.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_tr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_uk.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_vi.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-CN.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-HK.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-TW.json +4 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +5 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_en.json +3 -0
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +2 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +24 -25
- package/dist/solutions-components/p-01dae909.js +6 -0
- package/dist/solutions-components/p-02ea30d1.entry.js +11 -0
- package/dist/solutions-components/p-040b6e44.entry.js +6 -0
- package/dist/solutions-components/p-04294b8e.js +6 -0
- package/dist/solutions-components/p-062e5705.entry.js +6 -0
- package/dist/solutions-components/p-062f4457.js +6 -0
- package/dist/solutions-components/p-07d30a6b.entry.js +11 -0
- package/dist/solutions-components/p-08d1cc1f.js +11 -0
- package/dist/solutions-components/p-0a165419.js +18 -0
- package/dist/solutions-components/p-0b6e5486.js +6 -0
- package/dist/solutions-components/p-0d6b3f44.js +6 -0
- package/dist/solutions-components/p-0dc73313.js +6 -0
- package/dist/solutions-components/p-0e851a4b.js +6 -0
- package/dist/solutions-components/p-0ef9d36b.js +11 -0
- package/dist/solutions-components/p-1017609e.js +11 -0
- package/dist/solutions-components/p-1490c752.js +61 -0
- package/dist/solutions-components/p-14f027b5.js +11 -0
- package/dist/solutions-components/p-150394be.js +11 -0
- package/dist/solutions-components/p-16a3f7ca.entry.js +6 -0
- package/dist/solutions-components/p-16b24981.entry.js +11 -0
- package/dist/solutions-components/p-19b466d0.js +6 -0
- package/dist/solutions-components/p-1a06bf01.js +6 -0
- package/dist/solutions-components/p-1b0fe5b1.entry.js +6 -0
- package/dist/solutions-components/p-1b229454.js +11 -0
- package/dist/solutions-components/p-1c249530.js +11 -0
- package/dist/solutions-components/p-1ce2608d.js +12 -0
- package/dist/solutions-components/p-1ef6a1c2.entry.js +6 -0
- package/dist/solutions-components/p-2007eaa4.entry.js +6 -0
- package/dist/solutions-components/p-222e0445.entry.js +11 -0
- package/dist/solutions-components/p-2230d4cc.js +11 -0
- package/dist/solutions-components/p-2264e8d5.entry.js +11 -0
- package/dist/solutions-components/p-23ce9afa.entry.js +11 -0
- package/dist/solutions-components/p-23dd68de.entry.js +17 -0
- package/dist/solutions-components/p-245c35ce.js +6 -0
- package/dist/solutions-components/p-24a813a4.entry.js +6 -0
- package/dist/solutions-components/p-25b5ffea.js +6 -0
- package/dist/solutions-components/p-267ef1b8.entry.js +11 -0
- package/dist/solutions-components/p-270ead49.js +16 -0
- package/dist/solutions-components/p-27d462c0.js +11 -0
- package/dist/solutions-components/p-2868a42b.js +11 -0
- package/dist/solutions-components/p-29a09798.js +17 -0
- package/dist/solutions-components/p-2aa44a02.entry.js +11 -0
- package/dist/solutions-components/p-2d17790c.js +6 -0
- package/dist/solutions-components/p-2e06ec97.js +6 -0
- package/dist/solutions-components/p-304cef31.js +16 -0
- package/dist/solutions-components/p-33db098c.js +6 -0
- package/dist/solutions-components/p-347d9ce0.js +6 -0
- package/dist/solutions-components/p-36e59391.js +143 -0
- package/dist/solutions-components/p-3792492a.js +11 -0
- package/dist/solutions-components/p-38a87c63.js +11 -0
- package/dist/solutions-components/p-3a47fde6.entry.js +11 -0
- package/dist/solutions-components/p-3c1ecf85.entry.js +29 -0
- package/dist/solutions-components/p-3c89bfe5.entry.js +6 -0
- package/dist/solutions-components/p-3e828614.js +11 -0
- package/dist/solutions-components/p-40175313.entry.js +11 -0
- package/dist/solutions-components/p-40f5df15.entry.js +11 -0
- package/dist/solutions-components/p-42cd083f.entry.js +20 -0
- package/dist/solutions-components/p-47a0be20.js +11 -0
- package/dist/solutions-components/p-4920ee12.js +11 -0
- package/dist/solutions-components/p-49bbe45e.js +6 -0
- package/dist/solutions-components/p-4b9b7778.js +11 -0
- package/dist/solutions-components/p-4c179300.entry.js +11 -0
- package/dist/solutions-components/p-4c88578a.entry.js +6 -0
- package/dist/solutions-components/p-4e7aa926.js +6 -0
- package/dist/solutions-components/p-4fe5e9c3.entry.js +22 -0
- package/dist/solutions-components/p-508b2b7b.js +6 -0
- package/dist/solutions-components/p-52f19286.entry.js +11 -0
- package/dist/solutions-components/p-53b5a39e.js +6 -0
- package/dist/solutions-components/p-5440c8dd.js +6 -0
- package/dist/solutions-components/p-54a9017c.entry.js +11 -0
- package/dist/solutions-components/p-54b7e680.js +6 -0
- package/dist/solutions-components/p-550da58b.js +6 -0
- package/dist/solutions-components/p-5612aa0c.entry.js +6 -0
- package/dist/solutions-components/p-57025491.entry.js +6 -0
- package/dist/solutions-components/p-5a3cab12.entry.js +17 -0
- package/dist/solutions-components/p-5de67b86.js +11 -0
- package/dist/solutions-components/p-5e71e72a.js +21 -0
- package/dist/solutions-components/p-5f705984.js +6 -0
- package/dist/solutions-components/p-5f7c1e49.js +6 -0
- package/dist/solutions-components/p-6147cfb4.entry.js +6 -0
- package/dist/solutions-components/p-6319ca20.js +6 -0
- package/dist/solutions-components/p-64a34d92.js +11 -0
- package/dist/solutions-components/p-64bf4d2e.entry.js +11 -0
- package/dist/solutions-components/p-66afdfdd.entry.js +17 -0
- package/dist/solutions-components/p-66b01781.js +11 -0
- package/dist/solutions-components/p-67c34d05.entry.js +16 -0
- package/dist/solutions-components/p-691cb5f4.js +21 -0
- package/dist/solutions-components/p-6b0fa1eb.entry.js +17 -0
- package/dist/solutions-components/p-6c080ac7.entry.js +11 -0
- package/dist/solutions-components/p-707ee1d1.entry.js +11 -0
- package/dist/solutions-components/p-712873f0.js +6 -0
- package/dist/solutions-components/p-732bb88c.entry.js +6 -0
- package/dist/solutions-components/p-744d9575.js +11 -0
- package/dist/solutions-components/p-74fbad1c.js +489 -0
- package/dist/solutions-components/p-7586e1de.entry.js +6 -0
- package/dist/solutions-components/p-770a0e12.js +6 -0
- package/dist/solutions-components/p-793f1b14.entry.js +11 -0
- package/dist/solutions-components/p-798b9928.entry.js +11 -0
- package/dist/solutions-components/p-79f5a8be.js +11 -0
- package/dist/solutions-components/p-79f78acc.entry.js +11 -0
- package/dist/solutions-components/p-7ae41cd8.js +6 -0
- package/dist/solutions-components/p-7b2ef872.entry.js +11 -0
- package/dist/solutions-components/p-7c854814.js +11 -0
- package/dist/solutions-components/p-7fce703f.entry.js +12 -0
- package/dist/solutions-components/p-80f49acc.js +6 -0
- package/dist/solutions-components/p-8537518d.entry.js +11 -0
- package/dist/solutions-components/p-8614d1a0.entry.js +11 -0
- package/dist/solutions-components/p-87f928a5.entry.js +17 -0
- package/dist/solutions-components/p-8bb2c169.js +11 -0
- package/dist/solutions-components/p-8bce991a.js +11 -0
- package/dist/solutions-components/p-8bfa18b7.js +11 -0
- package/dist/solutions-components/p-8c6a301f.entry.js +47 -0
- package/dist/solutions-components/p-8da5aeea.entry.js +11 -0
- package/dist/solutions-components/p-8fb06a85.entry.js +11 -0
- package/dist/solutions-components/p-919e9de7.entry.js +11 -0
- package/dist/solutions-components/p-91b7a7dc.entry.js +11 -0
- package/dist/solutions-components/p-924ec704.js +6 -0
- package/dist/solutions-components/p-9277a339.entry.js +22 -0
- package/dist/solutions-components/p-92ba99ff.js +6 -0
- package/dist/solutions-components/p-936037e4.js +6 -0
- package/dist/solutions-components/p-9384cc65.entry.js +11 -0
- package/dist/solutions-components/p-94ae78d6.js +6 -0
- package/dist/solutions-components/p-9524e5e4.js +6 -0
- package/dist/solutions-components/p-9560a1fd.entry.js +6 -0
- package/dist/solutions-components/p-95c3b305.entry.js +12 -0
- package/dist/solutions-components/p-986ff43b.entry.js +17 -0
- package/dist/solutions-components/p-990d8b4b.js +6 -0
- package/dist/solutions-components/p-996daf05.entry.js +6 -0
- package/dist/solutions-components/p-9bb44f57.js +65 -0
- package/dist/solutions-components/p-9bc84681.js +6 -0
- package/dist/solutions-components/p-9c5f4347.js +6 -0
- package/dist/solutions-components/p-9db30b19.entry.js +6 -0
- package/dist/solutions-components/p-9fa7a7ad.entry.js +6 -0
- package/dist/solutions-components/p-9fed495d.entry.js +17 -0
- package/dist/solutions-components/p-a37d1b17.entry.js +6 -0
- package/dist/solutions-components/p-a471ceb6.js +11 -0
- package/dist/solutions-components/p-a4e35c2d.entry.js +6 -0
- package/dist/solutions-components/p-a5e64f6b.entry.js +6 -0
- package/dist/solutions-components/p-a79f4c52.entry.js +12 -0
- package/dist/solutions-components/p-a8b42e35.entry.js +6 -0
- package/dist/solutions-components/p-aa341d46.entry.js +11 -0
- package/dist/solutions-components/p-aa68a36e.entry.js +11 -0
- package/dist/solutions-components/p-aa85b136.entry.js +6 -0
- package/dist/solutions-components/p-aaa56cbf.js +11 -0
- package/dist/solutions-components/p-ac11cf8f.entry.js +11 -0
- package/dist/solutions-components/p-aef41a6d.entry.js +11 -0
- package/dist/solutions-components/p-b3e8da19.entry.js +11 -0
- package/dist/solutions-components/p-b5575639.js +11 -0
- package/dist/solutions-components/p-b5b66530.js +11 -0
- package/dist/solutions-components/p-b75c4db2.entry.js +6 -0
- package/dist/solutions-components/p-b76ed1c7.entry.js +11 -0
- package/dist/solutions-components/p-b8b78283.entry.js +29 -0
- package/dist/solutions-components/p-b8ce880d.js +6 -0
- package/dist/solutions-components/p-b8f33145.js +6 -0
- package/dist/solutions-components/p-b96233e3.entry.js +6 -0
- package/dist/solutions-components/p-bae65813.entry.js +6 -0
- package/dist/solutions-components/p-bb0f549a.js +6 -0
- package/dist/solutions-components/p-bc6cf10f.entry.js +11 -0
- package/dist/solutions-components/p-bde2619f.entry.js +6 -0
- package/dist/solutions-components/p-c0d25be5.entry.js +21 -0
- package/dist/solutions-components/p-c151da98.entry.js +11 -0
- package/dist/solutions-components/p-c163b67f.js +6 -0
- package/dist/solutions-components/p-c1fa5dae.entry.js +11 -0
- package/dist/solutions-components/p-c25e8c35.js +17 -0
- package/dist/solutions-components/p-c40b0ec5.js +16 -0
- package/dist/solutions-components/p-c4953b5e.entry.js +11 -0
- package/dist/solutions-components/p-c5facecd.entry.js +6 -0
- package/dist/solutions-components/p-c6255e3c.entry.js +6 -0
- package/dist/solutions-components/p-c7eaade6.entry.js +11 -0
- package/dist/solutions-components/p-ca6055a3.js +6 -0
- package/dist/solutions-components/p-cadbe907.entry.js +11 -0
- package/dist/solutions-components/p-cb07016a.entry.js +11 -0
- package/dist/solutions-components/p-cd6eee11.js +6 -0
- package/dist/solutions-components/p-cf9e6515.entry.js +11 -0
- package/dist/solutions-components/p-d0d020a5.js +37 -0
- package/dist/solutions-components/p-d1cc620f.entry.js +11 -0
- package/dist/solutions-components/p-d36878db.js +11 -0
- package/dist/solutions-components/p-d47abf9b.entry.js +16 -0
- package/dist/solutions-components/p-d75ef009.entry.js +11 -0
- package/dist/solutions-components/p-d784f756.entry.js +23 -0
- package/dist/solutions-components/p-d9e930c8.js +11 -0
- package/dist/solutions-components/p-da80cfbc.entry.js +11 -0
- package/dist/solutions-components/p-de3ee7a6.entry.js +17 -0
- package/dist/solutions-components/p-de8121a4.js +6 -0
- package/dist/solutions-components/p-dfeb6a2e.entry.js +11 -0
- package/dist/solutions-components/p-e0ee0556.entry.js +11 -0
- package/dist/solutions-components/p-e378184f.entry.js +6 -0
- package/dist/solutions-components/p-e3fe81ae.js +7 -0
- package/dist/solutions-components/p-e4ef6f49.js +6 -0
- package/dist/solutions-components/p-e74bc7b3.js +6 -0
- package/dist/solutions-components/p-e9d3365f.js +22 -0
- package/dist/solutions-components/p-eb2859d6.js +6 -0
- package/dist/solutions-components/p-ee9b7fab.js +6 -0
- package/dist/solutions-components/p-ef67c743.js +11 -0
- package/dist/solutions-components/p-f3166d51.entry.js +6 -0
- package/dist/solutions-components/p-f550ebc1.entry.js +6 -0
- package/dist/solutions-components/p-f6c3501c.js +16 -0
- package/dist/solutions-components/p-f6f2018a.js +11 -0
- package/dist/solutions-components/p-f7bc99fb.entry.js +17 -0
- package/dist/solutions-components/p-f88c3477.entry.js +6 -0
- package/dist/solutions-components/p-f8d23498.js +11 -0
- package/dist/solutions-components/p-fa56b7c2.js +11 -0
- package/dist/solutions-components/p-fa68f43a.entry.js +6 -0
- package/dist/solutions-components/p-fb3e0eae.js +6 -0
- package/dist/solutions-components/p-fcd33b4f.js +6 -0
- package/dist/solutions-components/p-fd79adec.entry.js +6 -0
- package/dist/solutions-components/p-fedbf657.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/pdfUtils.ts +1 -1
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +1 -0
- package/dist/types/components/create-feature/create-feature.d.ts +20 -0
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +16 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +19 -3
- package/dist/types/components/feature-details/feature-details.d.ts +8 -0
- package/dist/types/components/feature-list/feature-list.d.ts +3 -1
- package/dist/types/components/layer-table/layer-table.d.ts +1 -1
- package/dist/types/components.d.ts +28 -1
- package/dist/types/preact.d.ts +3 -1
- package/package.json +8 -7
- package/dist/cjs/ExpandToggle-63855ea7.js +0 -115
- package/dist/cjs/FloatingArrow-4afc0a27.js +0 -48
- package/dist/cjs/Heading-f01dc40c.js +0 -25
- package/dist/cjs/Validation-c52e0b30.js +0 -20
- package/dist/cjs/app-globals-587d5fc5.js +0 -67
- package/dist/cjs/ar-406e323c.js +0 -106
- package/dist/cjs/array-7ee883b3.js +0 -17
- package/dist/cjs/bg-56abe1a2.js +0 -84
- package/dist/cjs/browser-e9eb8b2e.js +0 -35
- package/dist/cjs/bs-43ed4dcb.js +0 -53
- package/dist/cjs/ca-ad58f302.js +0 -73
- package/dist/cjs/calcite-input-time-picker-83bcd60f.js +0 -1861
- package/dist/cjs/common-4d4cf291.js +0 -37
- package/dist/cjs/component-ab59efe0.js +0 -33
- package/dist/cjs/conditionalSlot-e7b1e80b.js +0 -54
- package/dist/cjs/config-90915d7e.js +0 -40
- package/dist/cjs/cs-eef992e9.js +0 -149
- package/dist/cjs/da-4957191f.js +0 -69
- package/dist/cjs/date-09eabd7c.js +0 -264
- package/dist/cjs/de-64947d33.js +0 -93
- package/dist/cjs/de-at-976bd625.js +0 -92
- package/dist/cjs/de-ch-9c2f85be.js +0 -92
- package/dist/cjs/dom-5fd0c11a.js +0 -1215
- package/dist/cjs/downloadUtils-b1bc6031.js +0 -3163
- package/dist/cjs/el-17064e96.js +0 -68
- package/dist/cjs/en-au-bf34aa99.js +0 -68
- package/dist/cjs/en-ca-20b7aeab.js +0 -67
- package/dist/cjs/en-gb-72ebc333.js +0 -71
- package/dist/cjs/es-996df974.js +0 -68
- package/dist/cjs/es-mx-cf34d408.js +0 -67
- package/dist/cjs/et-fe1aba97.js +0 -94
- package/dist/cjs/fi-154d8730.js +0 -117
- package/dist/cjs/filter-1906ce7b.js +0 -778
- package/dist/cjs/floating-ui-b477f602.js +0 -2373
- package/dist/cjs/focusTrapComponent-01de8e72.js +0 -1018
- package/dist/cjs/form-fba99326.js +0 -381
- package/dist/cjs/fr-21a56733.js +0 -70
- package/dist/cjs/fr-ch-66f7a5c9.js +0 -68
- package/dist/cjs/guid-81a8c49f.js +0 -26
- package/dist/cjs/he-249d58b9.js +0 -107
- package/dist/cjs/hi-7015dbc4.js +0 -67
- package/dist/cjs/hr-e57553fd.js +0 -82
- package/dist/cjs/hu-e0a32fbd.js +0 -90
- package/dist/cjs/id-6eeb6f33.js +0 -68
- package/dist/cjs/index.es-5ad1b7be.js +0 -11317
- package/dist/cjs/input-cb7565cc.js +0 -60
- package/dist/cjs/interactive-d349d0f0.js +0 -167
- package/dist/cjs/it-21b9179c.js +0 -68
- package/dist/cjs/it-ch-ed862b1c.js +0 -68
- package/dist/cjs/ja-a5d93dac.js +0 -74
- package/dist/cjs/key-a0f7c4f3.js +0 -19
- package/dist/cjs/ko-1913cf25.js +0 -74
- package/dist/cjs/label-dc906a73.js +0 -186
- package/dist/cjs/loadable-d9a2a731.js +0 -98
- package/dist/cjs/locale-4d172288.js +0 -605
- package/dist/cjs/logger-dc99f85b.js +0 -61
- package/dist/cjs/lt-aeec2286.js +0 -99
- package/dist/cjs/lv-9055202a.js +0 -68
- package/dist/cjs/math-8d9588b6.js +0 -60
- package/dist/cjs/mk-98948b48.js +0 -68
- package/dist/cjs/nb-d88ea8dc.js +0 -69
- package/dist/cjs/nl-a8df29cd.js +0 -69
- package/dist/cjs/observers-b83abbfc.js +0 -58
- package/dist/cjs/openCloseComponent-a2a2a773.js +0 -65
- package/dist/cjs/pl-0c9cc2cf.js +0 -116
- package/dist/cjs/popupUtils-948e8990.js +0 -121
- package/dist/cjs/pt-5d70043e.js +0 -69
- package/dist/cjs/pt-br-fed6323a.js +0 -67
- package/dist/cjs/purify-17c0fc4a.js +0 -1716
- package/dist/cjs/resources-03698411.js +0 -39
- package/dist/cjs/resources-085b5a9c.js +0 -23
- package/dist/cjs/resources-08ceff44.js +0 -21
- package/dist/cjs/resources-32b7c652.js +0 -23
- package/dist/cjs/resources-3e7e7fb7.js +0 -26
- package/dist/cjs/resources-44438f5c.js +0 -68
- package/dist/cjs/resources-b4193681.js +0 -27
- package/dist/cjs/resources-bcc3f2b2.js +0 -68
- package/dist/cjs/resources-e3a7e2f5.js +0 -29
- package/dist/cjs/resources-e5bab826.js +0 -39
- package/dist/cjs/restHelpersGet-88ba0e25.js +0 -975
- package/dist/cjs/ro-021065c9.js +0 -68
- package/dist/cjs/ru-9ec3c8de.js +0 -128
- package/dist/cjs/shared-list-render-79567fc0.js +0 -361
- package/dist/cjs/sk-09cbe5ba.js +0 -150
- package/dist/cjs/sl-3a4381a4.js +0 -170
- package/dist/cjs/solution-resource-16c7510c.js +0 -1843
- package/dist/cjs/solution-store-1218246d.js +0 -1353
- package/dist/cjs/sortableComponent-abdb9e28.js +0 -2748
- package/dist/cjs/sr-c18bc63a.js +0 -103
- package/dist/cjs/sv-e721be29.js +0 -73
- package/dist/cjs/t9n-c8d7a2ec.js +0 -108
- package/dist/cjs/templates-2f44c01b.js +0 -407
- package/dist/cjs/th-baa740bc.js +0 -67
- package/dist/cjs/time-087f0346.js +0 -301
- package/dist/cjs/tr-c0b17a53.js +0 -68
- package/dist/cjs/uk-68a75a5a.js +0 -106
- package/dist/cjs/utils-8f400dfd.js +0 -78
- package/dist/cjs/utils-9a063f23.js +0 -2304
- package/dist/cjs/vi-bf3bf360.js +0 -72
- package/dist/cjs/zh-cn-f36908e8.js +0 -96
- package/dist/cjs/zh-hk-79863fdd.js +0 -94
- package/dist/cjs/zh-tw-eb1f3b17.js +0 -94
- package/dist/esm/ExpandToggle-f909e195.js +0 -108
- package/dist/esm/FloatingArrow-4dbed45e.js +0 -46
- package/dist/esm/Heading-19e46a14.js +0 -22
- package/dist/esm/Validation-0b8675a8.js +0 -18
- package/dist/esm/app-globals-0fc0d343.js +0 -65
- package/dist/esm/ar-2b7701c9.js +0 -104
- package/dist/esm/array-0d5d845c.js +0 -15
- package/dist/esm/bg-cfd918d6.js +0 -82
- package/dist/esm/browser-d0009bfe.js +0 -32
- package/dist/esm/bs-6e26541f.js +0 -51
- package/dist/esm/ca-3edf7b06.js +0 -71
- package/dist/esm/calcite-input-time-picker-c5ee10a4.js +0 -1858
- package/dist/esm/common-3b99e350.js +0 -35
- package/dist/esm/component-0f26d27a.js +0 -30
- package/dist/esm/conditionalSlot-56fa9723.js +0 -51
- package/dist/esm/config-e0237f7c.js +0 -36
- package/dist/esm/cs-93a3355b.js +0 -147
- package/dist/esm/da-f4d05bf2.js +0 -67
- package/dist/esm/date-dd3d9d2f.js +0 -248
- package/dist/esm/de-04f477b6.js +0 -91
- package/dist/esm/de-at-1b4e56b9.js +0 -90
- package/dist/esm/de-ch-59c96703.js +0 -90
- package/dist/esm/dom-9e8610a2.js +0 -1180
- package/dist/esm/downloadUtils-ee2d6a99.js +0 -3156
- package/dist/esm/el-134dd039.js +0 -66
- package/dist/esm/en-au-ec33ef70.js +0 -66
- package/dist/esm/en-ca-ab1fbea4.js +0 -65
- package/dist/esm/en-gb-ceb65f79.js +0 -69
- package/dist/esm/es-e023cfc8.js +0 -66
- package/dist/esm/es-mx-e0a5ee8c.js +0 -65
- package/dist/esm/et-572b1e56.js +0 -92
- package/dist/esm/fi-f13fae4c.js +0 -115
- package/dist/esm/filter-3c649b00.js +0 -775
- package/dist/esm/floating-ui-9d9558a6.js +0 -2365
- package/dist/esm/focusTrapComponent-a9be9a5f.js +0 -1013
- package/dist/esm/form-a992bc7e.js +0 -372
- package/dist/esm/fr-ch-a1f8ebbf.js +0 -66
- package/dist/esm/fr-e9b456c3.js +0 -68
- package/dist/esm/guid-52aae62c.js +0 -24
- package/dist/esm/he-dfaa7ea1.js +0 -105
- package/dist/esm/hi-efa0d8e7.js +0 -65
- package/dist/esm/hr-7c04c969.js +0 -80
- package/dist/esm/hu-fc6efaba.js +0 -88
- package/dist/esm/id-2d884294.js +0 -66
- package/dist/esm/index.es-6d52a4cf.js +0 -11230
- package/dist/esm/input-b18c3393.js +0 -58
- package/dist/esm/interactive-353bf495.js +0 -162
- package/dist/esm/it-913dabbb.js +0 -66
- package/dist/esm/it-ch-d4c2b23e.js +0 -66
- package/dist/esm/ja-b6c332b1.js +0 -72
- package/dist/esm/key-a9ffa61d.js +0 -16
- package/dist/esm/ko-b220c903.js +0 -72
- package/dist/esm/label-026b99b7.js +0 -179
- package/dist/esm/loadable-4841127f.js +0 -93
- package/dist/esm/locale-8a2aae09.js +0 -591
- package/dist/esm/logger-29d1dc0e.js +0 -59
- package/dist/esm/lt-e97a19a7.js +0 -97
- package/dist/esm/lv-c4e1d066.js +0 -66
- package/dist/esm/math-dd484f87.js +0 -54
- package/dist/esm/mk-fec9b21d.js +0 -66
- package/dist/esm/nb-28189f31.js +0 -67
- package/dist/esm/nl-194a064e.js +0 -67
- package/dist/esm/observers-3af27a40.js +0 -56
- package/dist/esm/openCloseComponent-00e6186d.js +0 -63
- package/dist/esm/pl-c0a7eacf.js +0 -114
- package/dist/esm/popupUtils-75294be5.js +0 -119
- package/dist/esm/pt-48180eaa.js +0 -67
- package/dist/esm/pt-br-e378640f.js +0 -65
- package/dist/esm/purify-72515357.js +0 -1714
- package/dist/esm/resources-0b9430f0.js +0 -21
- package/dist/esm/resources-2117aee0.js +0 -63
- package/dist/esm/resources-29504413.js +0 -34
- package/dist/esm/resources-37d6b520.js +0 -35
- package/dist/esm/resources-75518fcf.js +0 -23
- package/dist/esm/resources-8e7f2865.js +0 -22
- package/dist/esm/resources-8fe9ef4a.js +0 -20
- package/dist/esm/resources-966e32ad.js +0 -62
- package/dist/esm/resources-a1cc283e.js +0 -24
- package/dist/esm/resources-f4406546.js +0 -19
- package/dist/esm/restHelpersGet-788d7f7b.js +0 -960
- package/dist/esm/ro-a116f43c.js +0 -66
- package/dist/esm/ru-53b48473.js +0 -126
- package/dist/esm/shared-list-render-7df95a79.js +0 -339
- package/dist/esm/sk-6e16e781.js +0 -148
- package/dist/esm/sl-0b5a108a.js +0 -168
- package/dist/esm/solution-resource-966f8511.js +0 -1840
- package/dist/esm/solution-store-61fd39ea.js +0 -1351
- package/dist/esm/sortableComponent-fc3d2fcf.js +0 -2745
- package/dist/esm/sr-c91ad375.js +0 -101
- package/dist/esm/sv-99a8436f.js +0 -71
- package/dist/esm/t9n-d5539b3a.js +0 -103
- package/dist/esm/templates-9330d7b8.js +0 -401
- package/dist/esm/th-f448c101.js +0 -65
- package/dist/esm/time-8f4af53a.js +0 -286
- package/dist/esm/tr-1c4d126e.js +0 -66
- package/dist/esm/uk-afcd7307.js +0 -104
- package/dist/esm/utils-057404c5.js +0 -2274
- package/dist/esm/utils-6391b35c.js +0 -65
- package/dist/esm/vi-13e0626d.js +0 -70
- package/dist/esm/zh-cn-80512388.js +0 -94
- package/dist/esm/zh-hk-220c6f50.js +0 -92
- package/dist/esm/zh-tw-f9a73c0d.js +0 -92
- package/dist/solutions-components/p-0129abe8.entry.js +0 -11
- package/dist/solutions-components/p-0238f68c.js +0 -6
- package/dist/solutions-components/p-034291c9.entry.js +0 -11
- package/dist/solutions-components/p-042c0134.entry.js +0 -11
- package/dist/solutions-components/p-052d1165.js +0 -11
- package/dist/solutions-components/p-0558fbc7.js +0 -143
- package/dist/solutions-components/p-06c581b3.js +0 -6
- package/dist/solutions-components/p-071a80fb.js +0 -11
- package/dist/solutions-components/p-0ac3d6fb.js +0 -6
- package/dist/solutions-components/p-0afbf455.js +0 -11
- package/dist/solutions-components/p-0b0d30a9.entry.js +0 -11
- package/dist/solutions-components/p-0c8cf779.js +0 -6
- package/dist/solutions-components/p-0cdda3a9.js +0 -6
- package/dist/solutions-components/p-10a4512a.entry.js +0 -6
- package/dist/solutions-components/p-11149179.js +0 -6
- package/dist/solutions-components/p-111ff298.entry.js +0 -29
- package/dist/solutions-components/p-131ca2b1.js +0 -11
- package/dist/solutions-components/p-13ac2814.js +0 -6
- package/dist/solutions-components/p-14ac7f32.js +0 -17
- package/dist/solutions-components/p-15105f4c.js +0 -6
- package/dist/solutions-components/p-15cbdc2c.entry.js +0 -6
- package/dist/solutions-components/p-16af273f.entry.js +0 -6
- package/dist/solutions-components/p-17f35552.entry.js +0 -6
- package/dist/solutions-components/p-1803e66b.entry.js +0 -21
- package/dist/solutions-components/p-18103eee.entry.js +0 -11
- package/dist/solutions-components/p-190de825.js +0 -6
- package/dist/solutions-components/p-19879c48.entry.js +0 -6
- package/dist/solutions-components/p-1b147794.js +0 -11
- package/dist/solutions-components/p-1c45b737.entry.js +0 -6
- package/dist/solutions-components/p-1fcd444d.entry.js +0 -6
- package/dist/solutions-components/p-23c70a46.entry.js +0 -17
- package/dist/solutions-components/p-2483d087.entry.js +0 -11
- package/dist/solutions-components/p-26ccfcc6.entry.js +0 -6
- package/dist/solutions-components/p-27bc7520.js +0 -6
- package/dist/solutions-components/p-27eca753.js +0 -6
- package/dist/solutions-components/p-2866ef30.js +0 -11
- package/dist/solutions-components/p-288599db.entry.js +0 -16
- package/dist/solutions-components/p-28b4de12.js +0 -6
- package/dist/solutions-components/p-29a24832.entry.js +0 -6
- package/dist/solutions-components/p-2c7a600b.js +0 -6
- package/dist/solutions-components/p-2cff27c5.js +0 -22
- package/dist/solutions-components/p-2df01fbd.js +0 -6
- package/dist/solutions-components/p-30448906.entry.js +0 -6
- package/dist/solutions-components/p-32539121.js +0 -16
- package/dist/solutions-components/p-32b1bb0a.entry.js +0 -11
- package/dist/solutions-components/p-33601437.js +0 -6
- package/dist/solutions-components/p-351b4ea6.js +0 -61
- package/dist/solutions-components/p-363c89e1.js +0 -6
- package/dist/solutions-components/p-3795ce25.js +0 -18
- package/dist/solutions-components/p-3832f6b0.js +0 -11
- package/dist/solutions-components/p-38346d75.js +0 -6
- package/dist/solutions-components/p-39bc5b60.js +0 -6
- package/dist/solutions-components/p-3a4f0ef6.js +0 -6
- package/dist/solutions-components/p-3a839252.entry.js +0 -6
- package/dist/solutions-components/p-3ab1d999.js +0 -6
- package/dist/solutions-components/p-3ae3fb2d.entry.js +0 -6
- package/dist/solutions-components/p-3edf491f.js +0 -11
- package/dist/solutions-components/p-3f23fa58.js +0 -6
- package/dist/solutions-components/p-4115fcd2.entry.js +0 -6
- package/dist/solutions-components/p-416c0818.js +0 -11
- package/dist/solutions-components/p-42903dc4.entry.js +0 -11
- package/dist/solutions-components/p-432d7aac.entry.js +0 -11
- package/dist/solutions-components/p-443bb48a.js +0 -6
- package/dist/solutions-components/p-44b455ac.js +0 -21
- package/dist/solutions-components/p-461d72a9.entry.js +0 -11
- package/dist/solutions-components/p-4a5f4c12.js +0 -6
- package/dist/solutions-components/p-4a8da1a3.entry.js +0 -6
- package/dist/solutions-components/p-4dd4e1f5.js +0 -11
- package/dist/solutions-components/p-4e44d681.entry.js +0 -6
- package/dist/solutions-components/p-4ebde78c.entry.js +0 -6
- package/dist/solutions-components/p-517bc39b.entry.js +0 -6
- package/dist/solutions-components/p-51b004f6.js +0 -11
- package/dist/solutions-components/p-51eb6427.entry.js +0 -11
- package/dist/solutions-components/p-51f2cd4b.entry.js +0 -6
- package/dist/solutions-components/p-53e0faf4.js +0 -12
- package/dist/solutions-components/p-54713c54.js +0 -11
- package/dist/solutions-components/p-5501cb25.entry.js +0 -17
- package/dist/solutions-components/p-57729067.entry.js +0 -11
- package/dist/solutions-components/p-58d0a9e8.js +0 -11
- package/dist/solutions-components/p-5ae7ca10.js +0 -6
- package/dist/solutions-components/p-5cd51ba9.js +0 -6
- package/dist/solutions-components/p-5e901f4d.js +0 -6
- package/dist/solutions-components/p-5ea0c09b.js +0 -6
- package/dist/solutions-components/p-5fcdc5af.entry.js +0 -12
- package/dist/solutions-components/p-632a3328.js +0 -6
- package/dist/solutions-components/p-64e8c883.js +0 -11
- package/dist/solutions-components/p-659678f1.js +0 -43
- package/dist/solutions-components/p-667f4b68.js +0 -6
- package/dist/solutions-components/p-6b2ea220.entry.js +0 -11
- package/dist/solutions-components/p-6c44ba5f.js +0 -16
- package/dist/solutions-components/p-6d369f32.entry.js +0 -22
- package/dist/solutions-components/p-6d4f59df.js +0 -6
- package/dist/solutions-components/p-6def4549.js +0 -11
- package/dist/solutions-components/p-6df7b770.js +0 -11
- package/dist/solutions-components/p-6eaba85e.js +0 -11
- package/dist/solutions-components/p-6eba7557.entry.js +0 -11
- package/dist/solutions-components/p-6ef00d3c.js +0 -6
- package/dist/solutions-components/p-6f98db75.entry.js +0 -11
- package/dist/solutions-components/p-7090b8bc.entry.js +0 -11
- package/dist/solutions-components/p-72b4bf7a.entry.js +0 -23
- package/dist/solutions-components/p-74bd8ced.entry.js +0 -11
- package/dist/solutions-components/p-76c08334.js +0 -16
- package/dist/solutions-components/p-792a8e91.entry.js +0 -17
- package/dist/solutions-components/p-7b0448b1.js +0 -6
- package/dist/solutions-components/p-7c19f274.js +0 -6
- package/dist/solutions-components/p-7c583516.js +0 -50
- package/dist/solutions-components/p-7fa53f88.entry.js +0 -6
- package/dist/solutions-components/p-81012aaa.entry.js +0 -6
- package/dist/solutions-components/p-8145011e.entry.js +0 -11
- package/dist/solutions-components/p-8343f841.entry.js +0 -17
- package/dist/solutions-components/p-85002390.js +0 -11
- package/dist/solutions-components/p-860452b5.entry.js +0 -11
- package/dist/solutions-components/p-8704c6df.entry.js +0 -11
- package/dist/solutions-components/p-871b9b39.entry.js +0 -6
- package/dist/solutions-components/p-873a5fd1.entry.js +0 -29
- package/dist/solutions-components/p-8817162f.js +0 -17
- package/dist/solutions-components/p-88934d2b.js +0 -11
- package/dist/solutions-components/p-88e391ab.entry.js +0 -6
- package/dist/solutions-components/p-89bd8016.entry.js +0 -22
- package/dist/solutions-components/p-8ad16e95.js +0 -16
- package/dist/solutions-components/p-8b54465a.js +0 -11
- package/dist/solutions-components/p-8e85d818.js +0 -6
- package/dist/solutions-components/p-8feb21be.entry.js +0 -17
- package/dist/solutions-components/p-9099acb6.js +0 -6
- package/dist/solutions-components/p-93c9be09.entry.js +0 -17
- package/dist/solutions-components/p-941ec574.entry.js +0 -6
- package/dist/solutions-components/p-949a8cb7.entry.js +0 -11
- package/dist/solutions-components/p-952a4ed2.js +0 -6
- package/dist/solutions-components/p-960baebc.entry.js +0 -6
- package/dist/solutions-components/p-96a7e73d.js +0 -11
- package/dist/solutions-components/p-9905a2cd.js +0 -6
- package/dist/solutions-components/p-9a4f0ae3.entry.js +0 -11
- package/dist/solutions-components/p-9ab5fbed.entry.js +0 -17
- package/dist/solutions-components/p-9bfb0a88.entry.js +0 -17
- package/dist/solutions-components/p-9edd6de9.entry.js +0 -16
- package/dist/solutions-components/p-9f943f1a.js +0 -6
- package/dist/solutions-components/p-a2613102.entry.js +0 -11
- package/dist/solutions-components/p-a2c467d7.js +0 -6
- package/dist/solutions-components/p-a6aba7d4.entry.js +0 -6
- package/dist/solutions-components/p-a704be29.js +0 -6
- package/dist/solutions-components/p-a7ca67b9.js +0 -11
- package/dist/solutions-components/p-a8638d44.entry.js +0 -11
- package/dist/solutions-components/p-abafd987.entry.js +0 -47
- package/dist/solutions-components/p-abd443e4.entry.js +0 -11
- package/dist/solutions-components/p-abd99f2b.entry.js +0 -11
- package/dist/solutions-components/p-ac40d2a6.entry.js +0 -11
- package/dist/solutions-components/p-ade4a0c0.entry.js +0 -6
- package/dist/solutions-components/p-ae53daf0.js +0 -11
- package/dist/solutions-components/p-b134cc53.entry.js +0 -11
- package/dist/solutions-components/p-b1a053c7.entry.js +0 -6
- package/dist/solutions-components/p-b1b88bb9.entry.js +0 -11
- package/dist/solutions-components/p-b24985b0.entry.js +0 -11
- package/dist/solutions-components/p-b4f15b86.entry.js +0 -11
- package/dist/solutions-components/p-b51111e1.js +0 -11
- package/dist/solutions-components/p-b6ac459a.entry.js +0 -11
- package/dist/solutions-components/p-b715fe7e.entry.js +0 -11
- package/dist/solutions-components/p-bd989e41.js +0 -11
- package/dist/solutions-components/p-c58a3ade.entry.js +0 -11
- package/dist/solutions-components/p-c6296ee6.js +0 -11
- package/dist/solutions-components/p-c62bd2a0.entry.js +0 -17
- package/dist/solutions-components/p-c6fe3b6c.js +0 -6
- package/dist/solutions-components/p-c897ea6a.entry.js +0 -11
- package/dist/solutions-components/p-c9193d36.entry.js +0 -6
- package/dist/solutions-components/p-caa665a4.js +0 -11
- package/dist/solutions-components/p-cb860e39.js +0 -11
- package/dist/solutions-components/p-cc5e8fec.entry.js +0 -11
- package/dist/solutions-components/p-ccc3f0c4.entry.js +0 -6
- package/dist/solutions-components/p-cde4f891.entry.js +0 -11
- package/dist/solutions-components/p-cefb0487.js +0 -489
- package/dist/solutions-components/p-d29843c1.js +0 -6
- package/dist/solutions-components/p-d34db378.entry.js +0 -21
- package/dist/solutions-components/p-d3b61974.entry.js +0 -11
- package/dist/solutions-components/p-d7f00451.entry.js +0 -11
- package/dist/solutions-components/p-d81f19b5.js +0 -6
- package/dist/solutions-components/p-d9110df1.entry.js +0 -11
- package/dist/solutions-components/p-e060bbf4.entry.js +0 -6
- package/dist/solutions-components/p-e191b864.entry.js +0 -11
- package/dist/solutions-components/p-e2263afa.entry.js +0 -11
- package/dist/solutions-components/p-e2d9c1e4.entry.js +0 -12
- package/dist/solutions-components/p-e46f6b68.js +0 -11
- package/dist/solutions-components/p-e683e142.js +0 -6
- package/dist/solutions-components/p-e6ac93e5.entry.js +0 -11
- package/dist/solutions-components/p-e7ce7ab5.entry.js +0 -11
- package/dist/solutions-components/p-e85ca9f5.entry.js +0 -11
- package/dist/solutions-components/p-e9488a2a.js +0 -6
- package/dist/solutions-components/p-eacb5b05.js +0 -11
- package/dist/solutions-components/p-ed000576.js +0 -6
- package/dist/solutions-components/p-eec49294.entry.js +0 -11
- package/dist/solutions-components/p-f067a46c.js +0 -21
- package/dist/solutions-components/p-f123e913.entry.js +0 -6
- package/dist/solutions-components/p-f2139e1f.js +0 -11
- package/dist/solutions-components/p-f2e30760.entry.js +0 -11
- package/dist/solutions-components/p-f3cd6339.entry.js +0 -11
- package/dist/solutions-components/p-f42cdeb6.entry.js +0 -6
- package/dist/solutions-components/p-f44c8764.js +0 -6
- package/dist/solutions-components/p-f6a94b55.js +0 -11
- package/dist/solutions-components/p-f6c2f78c.js +0 -6
- package/dist/solutions-components/p-f97b2291.js +0 -6
- package/dist/solutions-components/p-fbd8a250.entry.js +0 -12
- package/dist/solutions-components/p-fc62c04b.entry.js +0 -6
- package/dist/solutions-components/p-fc68aaf4.js +0 -6
- package/dist/solutions-components/p-fc8d6dcf.js +0 -11
- package/dist/solutions-components/p-fc9301a3.entry.js +0 -6
- package/dist/solutions-components/p-fde2ea30.entry.js +0 -6
- package/dist/solutions-components/p-fe82bd8a.js +0 -11
- package/dist/solutions-components/p-ff87b9de.js +0 -7
- package/dist/solutions-components/p-ffbe2075.js +0 -11
- /package/dist/cjs/{index-5f864f65.js → index-f052f656.js} +0 -0
- /package/dist/esm/{index-dc62418d.js → index-e14fade9.js} +0 -0
- /package/dist/solutions-components/{p-36c1c370.js → p-7530a02f.js} +0 -0
@@ -0,0 +1,1215 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
'use strict';
|
7
|
+
|
8
|
+
const guid = require('./guid-42cda8c9.js');
|
9
|
+
const resources = require('./resources-f11e9bd6.js');
|
10
|
+
|
11
|
+
/*!
|
12
|
+
* tabbable 6.2.0
|
13
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
14
|
+
*/
|
15
|
+
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
16
|
+
// `:not([inert], [inert] *)` (Feb 2023)
|
17
|
+
// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes
|
18
|
+
// the entire query to fail, resulting in no nodes found, which will break a lot
|
19
|
+
// of things... so we have to rely on JS to identify nodes inside an inert container
|
20
|
+
var candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable="false"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];
|
21
|
+
var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
|
22
|
+
var NoElement = typeof Element === 'undefined';
|
23
|
+
var matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
24
|
+
var getRootNode$1 = !NoElement && Element.prototype.getRootNode ? function (element) {
|
25
|
+
var _element$getRootNode;
|
26
|
+
return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);
|
27
|
+
} : function (element) {
|
28
|
+
return element === null || element === void 0 ? void 0 : element.ownerDocument;
|
29
|
+
};
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Determines if a node is inert or in an inert ancestor.
|
33
|
+
* @param {Element} [node]
|
34
|
+
* @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to
|
35
|
+
* see if any of them are inert. If false, only `node` itself is considered.
|
36
|
+
* @returns {boolean} True if inert itself or by way of being in an inert ancestor.
|
37
|
+
* False if `node` is falsy.
|
38
|
+
*/
|
39
|
+
var isInert = function isInert(node, lookUp) {
|
40
|
+
var _node$getAttribute;
|
41
|
+
if (lookUp === void 0) {
|
42
|
+
lookUp = true;
|
43
|
+
}
|
44
|
+
// CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`
|
45
|
+
// JS API property; we have to check the attribute, which can either be empty or 'true';
|
46
|
+
// if it's `null` (not specified) or 'false', it's an active element
|
47
|
+
var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');
|
48
|
+
var inert = inertAtt === '' || inertAtt === 'true';
|
49
|
+
|
50
|
+
// NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`
|
51
|
+
// if it weren't for `matches()` not being a function on shadow roots; the following
|
52
|
+
// code works for any kind of node
|
53
|
+
// CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`
|
54
|
+
// so it likely would not support `:is([inert] *)` either...
|
55
|
+
var result = inert || lookUp && node && isInert(node.parentNode); // recursive
|
56
|
+
|
57
|
+
return result;
|
58
|
+
};
|
59
|
+
|
60
|
+
/**
|
61
|
+
* Determines if a node's content is editable.
|
62
|
+
* @param {Element} [node]
|
63
|
+
* @returns True if it's content-editable; false if it's not or `node` is falsy.
|
64
|
+
*/
|
65
|
+
var isContentEditable = function isContentEditable(node) {
|
66
|
+
var _node$getAttribute2;
|
67
|
+
// CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have
|
68
|
+
// to use the attribute directly to check for this, which can either be empty or 'true';
|
69
|
+
// if it's `null` (not specified) or 'false', it's a non-editable element
|
70
|
+
var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');
|
71
|
+
return attValue === '' || attValue === 'true';
|
72
|
+
};
|
73
|
+
|
74
|
+
/**
|
75
|
+
* @param {Element} el container to check in
|
76
|
+
* @param {boolean} includeContainer add container to check
|
77
|
+
* @param {(node: Element) => boolean} filter filter candidates
|
78
|
+
* @returns {Element[]}
|
79
|
+
*/
|
80
|
+
var getCandidates = function getCandidates(el, includeContainer, filter) {
|
81
|
+
// even if `includeContainer=false`, we still have to check it for inertness because
|
82
|
+
// if it's inert, all its children are inert
|
83
|
+
if (isInert(el)) {
|
84
|
+
return [];
|
85
|
+
}
|
86
|
+
var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
|
87
|
+
if (includeContainer && matches.call(el, candidateSelector)) {
|
88
|
+
candidates.unshift(el);
|
89
|
+
}
|
90
|
+
candidates = candidates.filter(filter);
|
91
|
+
return candidates;
|
92
|
+
};
|
93
|
+
|
94
|
+
/**
|
95
|
+
* @callback GetShadowRoot
|
96
|
+
* @param {Element} element to check for shadow root
|
97
|
+
* @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.
|
98
|
+
*/
|
99
|
+
|
100
|
+
/**
|
101
|
+
* @callback ShadowRootFilter
|
102
|
+
* @param {Element} shadowHostNode the element which contains shadow content
|
103
|
+
* @returns {boolean} true if a shadow root could potentially contain valid candidates.
|
104
|
+
*/
|
105
|
+
|
106
|
+
/**
|
107
|
+
* @typedef {Object} CandidateScope
|
108
|
+
* @property {Element} scopeParent contains inner candidates
|
109
|
+
* @property {Element[]} candidates list of candidates found in the scope parent
|
110
|
+
*/
|
111
|
+
|
112
|
+
/**
|
113
|
+
* @typedef {Object} IterativeOptions
|
114
|
+
* @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;
|
115
|
+
* if a function, implies shadow support is enabled and either returns the shadow root of an element
|
116
|
+
* or a boolean stating if it has an undisclosed shadow root
|
117
|
+
* @property {(node: Element) => boolean} filter filter candidates
|
118
|
+
* @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list
|
119
|
+
* @property {ShadowRootFilter} shadowRootFilter filter shadow roots;
|
120
|
+
*/
|
121
|
+
|
122
|
+
/**
|
123
|
+
* @param {Element[]} elements list of element containers to match candidates from
|
124
|
+
* @param {boolean} includeContainer add container list to check
|
125
|
+
* @param {IterativeOptions} options
|
126
|
+
* @returns {Array.<Element|CandidateScope>}
|
127
|
+
*/
|
128
|
+
var getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
|
129
|
+
var candidates = [];
|
130
|
+
var elementsToCheck = Array.from(elements);
|
131
|
+
while (elementsToCheck.length) {
|
132
|
+
var element = elementsToCheck.shift();
|
133
|
+
if (isInert(element, false)) {
|
134
|
+
// no need to look up since we're drilling down
|
135
|
+
// anything inside this container will also be inert
|
136
|
+
continue;
|
137
|
+
}
|
138
|
+
if (element.tagName === 'SLOT') {
|
139
|
+
// add shadow dom slot scope (slot itself cannot be focusable)
|
140
|
+
var assigned = element.assignedElements();
|
141
|
+
var content = assigned.length ? assigned : element.children;
|
142
|
+
var nestedCandidates = getCandidatesIteratively(content, true, options);
|
143
|
+
if (options.flatten) {
|
144
|
+
candidates.push.apply(candidates, nestedCandidates);
|
145
|
+
} else {
|
146
|
+
candidates.push({
|
147
|
+
scopeParent: element,
|
148
|
+
candidates: nestedCandidates
|
149
|
+
});
|
150
|
+
}
|
151
|
+
} else {
|
152
|
+
// check candidate element
|
153
|
+
var validCandidate = matches.call(element, candidateSelector);
|
154
|
+
if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {
|
155
|
+
candidates.push(element);
|
156
|
+
}
|
157
|
+
|
158
|
+
// iterate over shadow content if possible
|
159
|
+
var shadowRoot = element.shadowRoot ||
|
160
|
+
// check for an undisclosed shadow
|
161
|
+
typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);
|
162
|
+
|
163
|
+
// no inert look up because we're already drilling down and checking for inertness
|
164
|
+
// on the way down, so all containers to this root node should have already been
|
165
|
+
// vetted as non-inert
|
166
|
+
var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));
|
167
|
+
if (shadowRoot && validShadowRoot) {
|
168
|
+
// add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed
|
169
|
+
// shadow exists, so look at light dom children as fallback BUT create a scope for any
|
170
|
+
// child candidates found because they're likely slotted elements (elements that are
|
171
|
+
// children of the web component element (which has the shadow), in the light dom, but
|
172
|
+
// slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,
|
173
|
+
// _after_ we return from this recursive call
|
174
|
+
var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
|
175
|
+
if (options.flatten) {
|
176
|
+
candidates.push.apply(candidates, _nestedCandidates);
|
177
|
+
} else {
|
178
|
+
candidates.push({
|
179
|
+
scopeParent: element,
|
180
|
+
candidates: _nestedCandidates
|
181
|
+
});
|
182
|
+
}
|
183
|
+
} else {
|
184
|
+
// there's not shadow so just dig into the element's (light dom) children
|
185
|
+
// __without__ giving the element special scope treatment
|
186
|
+
elementsToCheck.unshift.apply(elementsToCheck, element.children);
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
return candidates;
|
191
|
+
};
|
192
|
+
|
193
|
+
/**
|
194
|
+
* @private
|
195
|
+
* Determines if the node has an explicitly specified `tabindex` attribute.
|
196
|
+
* @param {HTMLElement} node
|
197
|
+
* @returns {boolean} True if so; false if not.
|
198
|
+
*/
|
199
|
+
var hasTabIndex = function hasTabIndex(node) {
|
200
|
+
return !isNaN(parseInt(node.getAttribute('tabindex'), 10));
|
201
|
+
};
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Determine the tab index of a given node.
|
205
|
+
* @param {HTMLElement} node
|
206
|
+
* @returns {number} Tab order (negative, 0, or positive number).
|
207
|
+
* @throws {Error} If `node` is falsy.
|
208
|
+
*/
|
209
|
+
var getTabIndex = function getTabIndex(node) {
|
210
|
+
if (!node) {
|
211
|
+
throw new Error('No node provided');
|
212
|
+
}
|
213
|
+
if (node.tabIndex < 0) {
|
214
|
+
// in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
|
215
|
+
// `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
|
216
|
+
// yet they are still part of the regular tab order; in FF, they get a default
|
217
|
+
// `tabIndex` of 0; since Chrome still puts those elements in the regular tab
|
218
|
+
// order, consider their tab index to be 0.
|
219
|
+
// Also browsers do not return `tabIndex` correctly for contentEditable nodes;
|
220
|
+
// so if they don't have a tabindex attribute specifically set, assume it's 0.
|
221
|
+
if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {
|
222
|
+
return 0;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
return node.tabIndex;
|
226
|
+
};
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Determine the tab index of a given node __for sort order purposes__.
|
230
|
+
* @param {HTMLElement} node
|
231
|
+
* @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,
|
232
|
+
* has tabIndex -1, but needs to be sorted by document order in order for its content to be
|
233
|
+
* inserted into the correct sort position.
|
234
|
+
* @returns {number} Tab order (negative, 0, or positive number).
|
235
|
+
*/
|
236
|
+
var getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {
|
237
|
+
var tabIndex = getTabIndex(node);
|
238
|
+
if (tabIndex < 0 && isScope && !hasTabIndex(node)) {
|
239
|
+
return 0;
|
240
|
+
}
|
241
|
+
return tabIndex;
|
242
|
+
};
|
243
|
+
var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
|
244
|
+
return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
|
245
|
+
};
|
246
|
+
var isInput = function isInput(node) {
|
247
|
+
return node.tagName === 'INPUT';
|
248
|
+
};
|
249
|
+
var isHiddenInput = function isHiddenInput(node) {
|
250
|
+
return isInput(node) && node.type === 'hidden';
|
251
|
+
};
|
252
|
+
var isDetailsWithSummary = function isDetailsWithSummary(node) {
|
253
|
+
var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {
|
254
|
+
return child.tagName === 'SUMMARY';
|
255
|
+
});
|
256
|
+
return r;
|
257
|
+
};
|
258
|
+
var getCheckedRadio = function getCheckedRadio(nodes, form) {
|
259
|
+
for (var i = 0; i < nodes.length; i++) {
|
260
|
+
if (nodes[i].checked && nodes[i].form === form) {
|
261
|
+
return nodes[i];
|
262
|
+
}
|
263
|
+
}
|
264
|
+
};
|
265
|
+
var isTabbableRadio = function isTabbableRadio(node) {
|
266
|
+
if (!node.name) {
|
267
|
+
return true;
|
268
|
+
}
|
269
|
+
var radioScope = node.form || getRootNode$1(node);
|
270
|
+
var queryRadios = function queryRadios(name) {
|
271
|
+
return radioScope.querySelectorAll('input[type="radio"][name="' + name + '"]');
|
272
|
+
};
|
273
|
+
var radioSet;
|
274
|
+
if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {
|
275
|
+
radioSet = queryRadios(window.CSS.escape(node.name));
|
276
|
+
} else {
|
277
|
+
try {
|
278
|
+
radioSet = queryRadios(node.name);
|
279
|
+
} catch (err) {
|
280
|
+
// eslint-disable-next-line no-console
|
281
|
+
console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);
|
282
|
+
return false;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
var checked = getCheckedRadio(radioSet, node.form);
|
286
|
+
return !checked || checked === node;
|
287
|
+
};
|
288
|
+
var isRadio = function isRadio(node) {
|
289
|
+
return isInput(node) && node.type === 'radio';
|
290
|
+
};
|
291
|
+
var isNonTabbableRadio = function isNonTabbableRadio(node) {
|
292
|
+
return isRadio(node) && !isTabbableRadio(node);
|
293
|
+
};
|
294
|
+
|
295
|
+
// determines if a node is ultimately attached to the window's document
|
296
|
+
var isNodeAttached = function isNodeAttached(node) {
|
297
|
+
var _nodeRoot;
|
298
|
+
// The root node is the shadow root if the node is in a shadow DOM; some document otherwise
|
299
|
+
// (but NOT _the_ document; see second 'If' comment below for more).
|
300
|
+
// If rootNode is shadow root, it'll have a host, which is the element to which the shadow
|
301
|
+
// is attached, and the one we need to check if it's in the document or not (because the
|
302
|
+
// shadow, and all nodes it contains, is never considered in the document since shadows
|
303
|
+
// behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,
|
304
|
+
// is hidden, or is not in the document itself but is detached, it will affect the shadow's
|
305
|
+
// visibility, including all the nodes it contains). The host could be any normal node,
|
306
|
+
// or a custom element (i.e. web component). Either way, that's the one that is considered
|
307
|
+
// part of the document, not the shadow root, nor any of its children (i.e. the node being
|
308
|
+
// tested).
|
309
|
+
// To further complicate things, we have to look all the way up until we find a shadow HOST
|
310
|
+
// that is attached (or find none) because the node might be in nested shadows...
|
311
|
+
// If rootNode is not a shadow root, it won't have a host, and so rootNode should be the
|
312
|
+
// document (per the docs) and while it's a Document-type object, that document does not
|
313
|
+
// appear to be the same as the node's `ownerDocument` for some reason, so it's safer
|
314
|
+
// to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,
|
315
|
+
// using `rootNode.contains(node)` will _always_ be true we'll get false-positives when
|
316
|
+
// node is actually detached.
|
317
|
+
// NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible
|
318
|
+
// if a tabbable/focusable node was quickly added to the DOM, focused, and then removed
|
319
|
+
// from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then
|
320
|
+
// `ownerDocument` will be `null`, hence the optional chaining on it.
|
321
|
+
var nodeRoot = node && getRootNode$1(node);
|
322
|
+
var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;
|
323
|
+
|
324
|
+
// in some cases, a detached node will return itself as the root instead of a document or
|
325
|
+
// shadow root object, in which case, we shouldn't try to look further up the host chain
|
326
|
+
var attached = false;
|
327
|
+
if (nodeRoot && nodeRoot !== node) {
|
328
|
+
var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;
|
329
|
+
attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));
|
330
|
+
while (!attached && nodeRootHost) {
|
331
|
+
var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;
|
332
|
+
// since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,
|
333
|
+
// which means we need to get the host's host and check if that parent host is contained
|
334
|
+
// in (i.e. attached to) the document
|
335
|
+
nodeRoot = getRootNode$1(nodeRootHost);
|
336
|
+
nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;
|
337
|
+
attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));
|
338
|
+
}
|
339
|
+
}
|
340
|
+
return attached;
|
341
|
+
};
|
342
|
+
var isZeroArea = function isZeroArea(node) {
|
343
|
+
var _node$getBoundingClie = node.getBoundingClientRect(),
|
344
|
+
width = _node$getBoundingClie.width,
|
345
|
+
height = _node$getBoundingClie.height;
|
346
|
+
return width === 0 && height === 0;
|
347
|
+
};
|
348
|
+
var isHidden = function isHidden(node, _ref) {
|
349
|
+
var displayCheck = _ref.displayCheck,
|
350
|
+
getShadowRoot = _ref.getShadowRoot;
|
351
|
+
// NOTE: visibility will be `undefined` if node is detached from the document
|
352
|
+
// (see notes about this further down), which means we will consider it visible
|
353
|
+
// (this is legacy behavior from a very long way back)
|
354
|
+
// NOTE: we check this regardless of `displayCheck="none"` because this is a
|
355
|
+
// _visibility_ check, not a _display_ check
|
356
|
+
if (getComputedStyle(node).visibility === 'hidden') {
|
357
|
+
return true;
|
358
|
+
}
|
359
|
+
var isDirectSummary = matches.call(node, 'details>summary:first-of-type');
|
360
|
+
var nodeUnderDetails = isDirectSummary ? node.parentElement : node;
|
361
|
+
if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {
|
362
|
+
return true;
|
363
|
+
}
|
364
|
+
if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {
|
365
|
+
if (typeof getShadowRoot === 'function') {
|
366
|
+
// figure out if we should consider the node to be in an undisclosed shadow and use the
|
367
|
+
// 'non-zero-area' fallback
|
368
|
+
var originalNode = node;
|
369
|
+
while (node) {
|
370
|
+
var parentElement = node.parentElement;
|
371
|
+
var rootNode = getRootNode$1(node);
|
372
|
+
if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow
|
373
|
+
) {
|
374
|
+
// node has an undisclosed shadow which means we can only treat it as a black box, so we
|
375
|
+
// fall back to a non-zero-area test
|
376
|
+
return isZeroArea(node);
|
377
|
+
} else if (node.assignedSlot) {
|
378
|
+
// iterate up slot
|
379
|
+
node = node.assignedSlot;
|
380
|
+
} else if (!parentElement && rootNode !== node.ownerDocument) {
|
381
|
+
// cross shadow boundary
|
382
|
+
node = rootNode.host;
|
383
|
+
} else {
|
384
|
+
// iterate up normal dom
|
385
|
+
node = parentElement;
|
386
|
+
}
|
387
|
+
}
|
388
|
+
node = originalNode;
|
389
|
+
}
|
390
|
+
// else, `getShadowRoot` might be true, but all that does is enable shadow DOM support
|
391
|
+
// (i.e. it does not also presume that all nodes might have undisclosed shadows); or
|
392
|
+
// it might be a falsy value, which means shadow DOM support is disabled
|
393
|
+
|
394
|
+
// Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)
|
395
|
+
// now we can just test to see if it would normally be visible or not, provided it's
|
396
|
+
// attached to the main document.
|
397
|
+
// NOTE: We must consider case where node is inside a shadow DOM and given directly to
|
398
|
+
// `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.
|
399
|
+
|
400
|
+
if (isNodeAttached(node)) {
|
401
|
+
// this works wherever the node is: if there's at least one client rect, it's
|
402
|
+
// somehow displayed; it also covers the CSS 'display: contents' case where the
|
403
|
+
// node itself is hidden in place of its contents; and there's no need to search
|
404
|
+
// up the hierarchy either
|
405
|
+
return !node.getClientRects().length;
|
406
|
+
}
|
407
|
+
|
408
|
+
// Else, the node isn't attached to the document, which means the `getClientRects()`
|
409
|
+
// API will __always__ return zero rects (this can happen, for example, if React
|
410
|
+
// is used to render nodes onto a detached tree, as confirmed in this thread:
|
411
|
+
// https://github.com/facebook/react/issues/9117#issuecomment-284228870)
|
412
|
+
//
|
413
|
+
// It also means that even window.getComputedStyle(node).display will return `undefined`
|
414
|
+
// because styles are only computed for nodes that are in the document.
|
415
|
+
//
|
416
|
+
// NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable
|
417
|
+
// somehow. Though it was never stated officially, anyone who has ever used tabbable
|
418
|
+
// APIs on nodes in detached containers has actually implicitly used tabbable in what
|
419
|
+
// was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck="none"` mode -- essentially
|
420
|
+
// considering __everything__ to be visible because of the innability to determine styles.
|
421
|
+
//
|
422
|
+
// v6.0.0: As of this major release, the default 'full' option __no longer treats detached
|
423
|
+
// nodes as visible with the 'none' fallback.__
|
424
|
+
if (displayCheck !== 'legacy-full') {
|
425
|
+
return true; // hidden
|
426
|
+
}
|
427
|
+
// else, fallback to 'none' mode and consider the node visible
|
428
|
+
} else if (displayCheck === 'non-zero-area') {
|
429
|
+
// NOTE: Even though this tests that the node's client rect is non-zero to determine
|
430
|
+
// whether it's displayed, and that a detached node will __always__ have a zero-area
|
431
|
+
// client rect, we don't special-case for whether the node is attached or not. In
|
432
|
+
// this mode, we do want to consider nodes that have a zero area to be hidden at all
|
433
|
+
// times, and that includes attached or not.
|
434
|
+
return isZeroArea(node);
|
435
|
+
}
|
436
|
+
|
437
|
+
// visible, as far as we can tell, or per current `displayCheck=none` mode, we assume
|
438
|
+
// it's visible
|
439
|
+
return false;
|
440
|
+
};
|
441
|
+
|
442
|
+
// form fields (nested) inside a disabled fieldset are not focusable/tabbable
|
443
|
+
// unless they are in the _first_ <legend> element of the top-most disabled
|
444
|
+
// fieldset
|
445
|
+
var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
|
446
|
+
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {
|
447
|
+
var parentNode = node.parentElement;
|
448
|
+
// check if `node` is contained in a disabled <fieldset>
|
449
|
+
while (parentNode) {
|
450
|
+
if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {
|
451
|
+
// look for the first <legend> among the children of the disabled <fieldset>
|
452
|
+
for (var i = 0; i < parentNode.children.length; i++) {
|
453
|
+
var child = parentNode.children.item(i);
|
454
|
+
// when the first <legend> (in document order) is found
|
455
|
+
if (child.tagName === 'LEGEND') {
|
456
|
+
// if its parent <fieldset> is not nested in another disabled <fieldset>,
|
457
|
+
// return whether `node` is a descendant of its first <legend>
|
458
|
+
return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);
|
459
|
+
}
|
460
|
+
}
|
461
|
+
// the disabled <fieldset> containing `node` has no <legend>
|
462
|
+
return true;
|
463
|
+
}
|
464
|
+
parentNode = parentNode.parentElement;
|
465
|
+
}
|
466
|
+
}
|
467
|
+
|
468
|
+
// else, node's tabbable/focusable state should not be affected by a fieldset's
|
469
|
+
// enabled/disabled state
|
470
|
+
return false;
|
471
|
+
};
|
472
|
+
var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
|
473
|
+
if (node.disabled ||
|
474
|
+
// we must do an inert look up to filter out any elements inside an inert ancestor
|
475
|
+
// because we're limited in the type of selectors we can use in JSDom (see related
|
476
|
+
// note related to `candidateSelectors`)
|
477
|
+
isInert(node) || isHiddenInput(node) || isHidden(node, options) ||
|
478
|
+
// For a details element with a summary, the summary element gets the focus
|
479
|
+
isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
|
480
|
+
return false;
|
481
|
+
}
|
482
|
+
return true;
|
483
|
+
};
|
484
|
+
var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
|
485
|
+
if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {
|
486
|
+
return false;
|
487
|
+
}
|
488
|
+
return true;
|
489
|
+
};
|
490
|
+
var isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {
|
491
|
+
var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);
|
492
|
+
if (isNaN(tabIndex) || tabIndex >= 0) {
|
493
|
+
return true;
|
494
|
+
}
|
495
|
+
// If a custom element has an explicit negative tabindex,
|
496
|
+
// browsers will not allow tab targeting said element's children.
|
497
|
+
return false;
|
498
|
+
};
|
499
|
+
|
500
|
+
/**
|
501
|
+
* @param {Array.<Element|CandidateScope>} candidates
|
502
|
+
* @returns Element[]
|
503
|
+
*/
|
504
|
+
var sortByOrder = function sortByOrder(candidates) {
|
505
|
+
var regularTabbables = [];
|
506
|
+
var orderedTabbables = [];
|
507
|
+
candidates.forEach(function (item, i) {
|
508
|
+
var isScope = !!item.scopeParent;
|
509
|
+
var element = isScope ? item.scopeParent : item;
|
510
|
+
var candidateTabindex = getSortOrderTabIndex(element, isScope);
|
511
|
+
var elements = isScope ? sortByOrder(item.candidates) : element;
|
512
|
+
if (candidateTabindex === 0) {
|
513
|
+
isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
|
514
|
+
} else {
|
515
|
+
orderedTabbables.push({
|
516
|
+
documentOrder: i,
|
517
|
+
tabIndex: candidateTabindex,
|
518
|
+
item: item,
|
519
|
+
isScope: isScope,
|
520
|
+
content: elements
|
521
|
+
});
|
522
|
+
}
|
523
|
+
});
|
524
|
+
return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {
|
525
|
+
sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);
|
526
|
+
return acc;
|
527
|
+
}, []).concat(regularTabbables);
|
528
|
+
};
|
529
|
+
var tabbable = function tabbable(container, options) {
|
530
|
+
options = options || {};
|
531
|
+
var candidates;
|
532
|
+
if (options.getShadowRoot) {
|
533
|
+
candidates = getCandidatesIteratively([container], options.includeContainer, {
|
534
|
+
filter: isNodeMatchingSelectorTabbable.bind(null, options),
|
535
|
+
flatten: false,
|
536
|
+
getShadowRoot: options.getShadowRoot,
|
537
|
+
shadowRootFilter: isValidShadowRootTabbable
|
538
|
+
});
|
539
|
+
} else {
|
540
|
+
candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
|
541
|
+
}
|
542
|
+
return sortByOrder(candidates);
|
543
|
+
};
|
544
|
+
var focusable = function focusable(container, options) {
|
545
|
+
options = options || {};
|
546
|
+
var candidates;
|
547
|
+
if (options.getShadowRoot) {
|
548
|
+
candidates = getCandidatesIteratively([container], options.includeContainer, {
|
549
|
+
filter: isNodeMatchingSelectorFocusable.bind(null, options),
|
550
|
+
flatten: true,
|
551
|
+
getShadowRoot: options.getShadowRoot
|
552
|
+
});
|
553
|
+
} else {
|
554
|
+
candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
|
555
|
+
}
|
556
|
+
return candidates;
|
557
|
+
};
|
558
|
+
var isTabbable = function isTabbable(node, options) {
|
559
|
+
options = options || {};
|
560
|
+
if (!node) {
|
561
|
+
throw new Error('No node provided');
|
562
|
+
}
|
563
|
+
if (matches.call(node, candidateSelector) === false) {
|
564
|
+
return false;
|
565
|
+
}
|
566
|
+
return isNodeMatchingSelectorTabbable(options, node);
|
567
|
+
};
|
568
|
+
var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');
|
569
|
+
var isFocusable = function isFocusable(node, options) {
|
570
|
+
options = options || {};
|
571
|
+
if (!node) {
|
572
|
+
throw new Error('No node provided');
|
573
|
+
}
|
574
|
+
if (matches.call(node, focusableCandidateSelector) === false) {
|
575
|
+
return false;
|
576
|
+
}
|
577
|
+
return isNodeMatchingSelectorFocusable(options, node);
|
578
|
+
};
|
579
|
+
|
580
|
+
/*!
|
581
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
582
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
583
|
+
* v2.12.2
|
584
|
+
*/
|
585
|
+
/**
|
586
|
+
* The default `focus-trap/tabbable` options.
|
587
|
+
*
|
588
|
+
* See https://github.com/focus-trap/tabbable#tabbable
|
589
|
+
*/
|
590
|
+
const tabbableOptions = {
|
591
|
+
getShadowRoot: true,
|
592
|
+
};
|
593
|
+
/**
|
594
|
+
* This helper will guarantee an ID on the provided element.
|
595
|
+
*
|
596
|
+
* If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
|
597
|
+
*
|
598
|
+
* @param {Element} el An element.
|
599
|
+
* @returns {string} The element's ID.
|
600
|
+
*/
|
601
|
+
function ensureId(el) {
|
602
|
+
if (!el) {
|
603
|
+
return "";
|
604
|
+
}
|
605
|
+
return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid.guid()}`);
|
606
|
+
}
|
607
|
+
/**
|
608
|
+
* This helper returns an array from a NodeList.
|
609
|
+
*
|
610
|
+
* @param {NodeList} nodeList A NodeList.
|
611
|
+
* @returns {Element[]} An array of elements.
|
612
|
+
*/
|
613
|
+
function nodeListToArray(nodeList) {
|
614
|
+
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
615
|
+
}
|
616
|
+
/**
|
617
|
+
* This helper returns the Calcite "mode" of an element.
|
618
|
+
*
|
619
|
+
* @param {HTMLElement} el An element.
|
620
|
+
* @returns {"light"|"dark"} The Calcite mode.
|
621
|
+
*/
|
622
|
+
function getModeName(el) {
|
623
|
+
const closestElWithMode = closestElementCrossShadowBoundary(el, `.${resources.CSS_UTILITY.darkMode}, .${resources.CSS_UTILITY.lightMode}`);
|
624
|
+
return closestElWithMode?.classList.contains("calcite-mode-dark") ? "dark" : "light";
|
625
|
+
}
|
626
|
+
/**
|
627
|
+
* This helper returns the direction of a HTML element.
|
628
|
+
*
|
629
|
+
* @param {HTMLElement} el An element.
|
630
|
+
* @returns {Direction} The direction.
|
631
|
+
*/
|
632
|
+
function getElementDir(el) {
|
633
|
+
const prop = "dir";
|
634
|
+
const selector = `[${prop}]`;
|
635
|
+
const closest = closestElementCrossShadowBoundary(el, selector);
|
636
|
+
return closest ? closest.getAttribute(prop) : "ltr";
|
637
|
+
}
|
638
|
+
/**
|
639
|
+
* This helper returns the computed width in pixels of a rendered HTMLElement.
|
640
|
+
*
|
641
|
+
* @param {HTMLElement} el An element.
|
642
|
+
* @returns {number} The element's width.
|
643
|
+
*/
|
644
|
+
function getElementWidth(el) {
|
645
|
+
if (!el) {
|
646
|
+
return 0;
|
647
|
+
}
|
648
|
+
return parseFloat(getComputedStyle(el).inlineSize);
|
649
|
+
}
|
650
|
+
/**
|
651
|
+
* This helper returns the rootNode of an element.
|
652
|
+
*
|
653
|
+
* @param {Element} el An element.
|
654
|
+
* @returns {Document|ShadowRoot} The element's root node.
|
655
|
+
*/
|
656
|
+
function getRootNode(el) {
|
657
|
+
return el.getRootNode();
|
658
|
+
}
|
659
|
+
/**
|
660
|
+
* This helper returns the node's shadowRoot root node if it exists.
|
661
|
+
*
|
662
|
+
* @param {Element} el The element.
|
663
|
+
* @returns {ShadowRoot|null} The element's root node ShadowRoot.
|
664
|
+
*/
|
665
|
+
function getShadowRootNode(el) {
|
666
|
+
const rootNode = getRootNode(el);
|
667
|
+
return "host" in rootNode ? rootNode : null;
|
668
|
+
}
|
669
|
+
/**
|
670
|
+
* This helper returns the computed width in pixels a given text string takes up on screen.
|
671
|
+
*
|
672
|
+
* See https://stackoverflow.com/questions/118241/calculate-text-width-with-javascript
|
673
|
+
*
|
674
|
+
* @param {string} text The string of text to measure.
|
675
|
+
* @param {string} font The CSS font attribute's value, which should include size and face, e.g. "12px Arial".
|
676
|
+
*/
|
677
|
+
function getTextWidth(text, font) {
|
678
|
+
if (!text) {
|
679
|
+
return 0;
|
680
|
+
}
|
681
|
+
const canvas = document.createElement("canvas");
|
682
|
+
const context = canvas.getContext("2d");
|
683
|
+
context.font = font;
|
684
|
+
return context.measureText(text).width;
|
685
|
+
}
|
686
|
+
/**
|
687
|
+
* This helper returns the host of a ShadowRoot.
|
688
|
+
*
|
689
|
+
* @param {Document | ShadowRoot} root A root element.
|
690
|
+
* @returns {Element | null} The host element.
|
691
|
+
*/
|
692
|
+
function getHost(root) {
|
693
|
+
return root.host || null;
|
694
|
+
}
|
695
|
+
/**
|
696
|
+
* This helper queries an element's rootNode and any ancestor rootNodes.
|
697
|
+
*
|
698
|
+
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
699
|
+
*
|
700
|
+
* @param {Element} element An element.
|
701
|
+
* @param root0
|
702
|
+
* @param root0.selector
|
703
|
+
* @param root0.id
|
704
|
+
* @returns {Element} An element.
|
705
|
+
*/
|
706
|
+
function queryElementRoots(element, { selector, id, }) {
|
707
|
+
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
708
|
+
// Based on: https://stackoverflow.com/q/54520554/194216
|
709
|
+
function queryFrom(el) {
|
710
|
+
if (!el) {
|
711
|
+
return null;
|
712
|
+
}
|
713
|
+
if (el.assignedSlot) {
|
714
|
+
el = el.assignedSlot;
|
715
|
+
}
|
716
|
+
const rootNode = getRootNode(el);
|
717
|
+
const found = id
|
718
|
+
? "getElementById" in rootNode
|
719
|
+
? /*
|
720
|
+
Check to make sure 'getElementById' exists in cases where element is no longer connected to the DOM and getRootNode() returns the element.
|
721
|
+
https://github.com/Esri/calcite-design-system/pull/4280
|
722
|
+
*/
|
723
|
+
rootNode.getElementById(id)
|
724
|
+
: null
|
725
|
+
: selector
|
726
|
+
? rootNode.querySelector(selector)
|
727
|
+
: null;
|
728
|
+
const host = getHost(rootNode);
|
729
|
+
return found ? found : host ? queryFrom(host) : null;
|
730
|
+
}
|
731
|
+
return queryFrom(element);
|
732
|
+
}
|
733
|
+
/**
|
734
|
+
* This helper returns the closest element matching the selector by crossing he shadow boundary if necessary.
|
735
|
+
*
|
736
|
+
* @param {Element} element The starting element.
|
737
|
+
* @param {string} selector The selector.
|
738
|
+
* @returns {Element} The targeted element.
|
739
|
+
*/
|
740
|
+
function closestElementCrossShadowBoundary(element, selector) {
|
741
|
+
// based on https://stackoverflow.com/q/54520554/194216
|
742
|
+
function closestFrom(el) {
|
743
|
+
return el ? el.closest(selector) || closestFrom(getHost(getRootNode(el))) : null;
|
744
|
+
}
|
745
|
+
return closestFrom(element);
|
746
|
+
}
|
747
|
+
/**
|
748
|
+
* This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.
|
749
|
+
*
|
750
|
+
* Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function
|
751
|
+
*
|
752
|
+
* @param {Element} element An element.
|
753
|
+
* @param {(node: Node) => Element} onVisit The callback.
|
754
|
+
* @returns {Element} The result.
|
755
|
+
*/
|
756
|
+
function walkUpAncestry(element, onVisit) {
|
757
|
+
return visit(element, onVisit);
|
758
|
+
}
|
759
|
+
function visit(node, onVisit) {
|
760
|
+
if (!node) {
|
761
|
+
return;
|
762
|
+
}
|
763
|
+
const result = onVisit(node);
|
764
|
+
if (result !== undefined) {
|
765
|
+
return result;
|
766
|
+
}
|
767
|
+
const { parentNode } = node;
|
768
|
+
return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);
|
769
|
+
}
|
770
|
+
/**
|
771
|
+
* This helper returns true when an element has the descendant in question.
|
772
|
+
*
|
773
|
+
* @param {Element} element The starting element.
|
774
|
+
* @param {Element} maybeDescendant The descendant.
|
775
|
+
* @returns {boolean} The result.
|
776
|
+
*/
|
777
|
+
function containsCrossShadowBoundary(element, maybeDescendant) {
|
778
|
+
return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));
|
779
|
+
}
|
780
|
+
/**
|
781
|
+
* This helper returns true when an element has a setFocus method.
|
782
|
+
*
|
783
|
+
* @param {Element} el An element.
|
784
|
+
* @returns {boolean} The result.
|
785
|
+
*/
|
786
|
+
function isCalciteFocusable(el) {
|
787
|
+
return typeof el?.setFocus === "function";
|
788
|
+
}
|
789
|
+
/**
|
790
|
+
* This helper focuses an element using the `setFocus` method if available and falls back to using the `focus` method if not available.
|
791
|
+
*
|
792
|
+
* @param {Element} el An element.
|
793
|
+
*/
|
794
|
+
async function focusElement(el) {
|
795
|
+
if (!el) {
|
796
|
+
return;
|
797
|
+
}
|
798
|
+
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
799
|
+
}
|
800
|
+
/**
|
801
|
+
* Helper to get the first tabbable element.
|
802
|
+
*
|
803
|
+
* @param {HTMLElement} element The html element containing tabbable elements.
|
804
|
+
* @returns the first tabbable element.
|
805
|
+
*/
|
806
|
+
function getFirstTabbable(element) {
|
807
|
+
if (!element) {
|
808
|
+
return;
|
809
|
+
}
|
810
|
+
return (tabbable(element, tabbableOptions)[0] ?? element);
|
811
|
+
}
|
812
|
+
/**
|
813
|
+
* Helper to focus the first tabbable element.
|
814
|
+
*
|
815
|
+
* @param {HTMLElement} element The html element containing tabbable elements.
|
816
|
+
*/
|
817
|
+
function focusFirstTabbable(element) {
|
818
|
+
getFirstTabbable(element)?.focus();
|
819
|
+
}
|
820
|
+
const defaultSlotSelector = ":not([slot])";
|
821
|
+
function getSlotted(element, slotName, options) {
|
822
|
+
if (slotName && !Array.isArray(slotName) && typeof slotName !== "string") {
|
823
|
+
options = slotName;
|
824
|
+
slotName = null;
|
825
|
+
}
|
826
|
+
const slotSelector = slotName
|
827
|
+
? Array.isArray(slotName)
|
828
|
+
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
829
|
+
: `[slot="${slotName}"]`
|
830
|
+
: defaultSlotSelector;
|
831
|
+
if (options?.all) {
|
832
|
+
return queryMultiple(element, slotSelector, options);
|
833
|
+
}
|
834
|
+
return querySingle(element, slotSelector, options);
|
835
|
+
}
|
836
|
+
function getDirectChildren(el, selector) {
|
837
|
+
return el ? Array.from(el.children || []).filter((child) => child?.matches(selector)) : [];
|
838
|
+
}
|
839
|
+
function queryMultiple(element, slotSelector, options) {
|
840
|
+
let matches = slotSelector === defaultSlotSelector
|
841
|
+
? getDirectChildren(element, defaultSlotSelector)
|
842
|
+
: Array.from(element.querySelectorAll(slotSelector));
|
843
|
+
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
844
|
+
matches = options?.matches ? matches.filter((el) => el?.matches(options.matches)) : matches;
|
845
|
+
const selector = options?.selector;
|
846
|
+
return selector
|
847
|
+
? matches
|
848
|
+
.map((item) => Array.from(item.querySelectorAll(selector)))
|
849
|
+
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], [])
|
850
|
+
.filter((match) => !!match)
|
851
|
+
: matches;
|
852
|
+
}
|
853
|
+
function querySingle(element, slotSelector, options) {
|
854
|
+
let match = slotSelector === defaultSlotSelector
|
855
|
+
? getDirectChildren(element, defaultSlotSelector)[0] || null
|
856
|
+
: element.querySelector(slotSelector);
|
857
|
+
match = options && options.direct === false ? match : match?.parentElement === element ? match : null;
|
858
|
+
match = options?.matches ? (match?.matches(options.matches) ? match : null) : match;
|
859
|
+
const selector = options?.selector;
|
860
|
+
return selector ? match?.querySelector(selector) : match;
|
861
|
+
}
|
862
|
+
/**
|
863
|
+
* Filters direct children.
|
864
|
+
*
|
865
|
+
* @param {Element} el An element.
|
866
|
+
* @param {string} selector The selector.
|
867
|
+
* @returns {Element[]} An array of elements.
|
868
|
+
*/
|
869
|
+
function filterDirectChildren(el, selector) {
|
870
|
+
return Array.from(el.children).filter((child) => child.matches(selector));
|
871
|
+
}
|
872
|
+
/**
|
873
|
+
* Filters an array of HTML elements by the provided css selector string.
|
874
|
+
*
|
875
|
+
* @param {Element[]} elements An array of elements, such as one returned by HTMLSlotElement.assignedElements().
|
876
|
+
* @param {string} selector The CSS selector string to filter the returned elements by.
|
877
|
+
* @returns {Element[]} A filtered array of elements.
|
878
|
+
*/
|
879
|
+
function filterElementsBySelector(elements, selector) {
|
880
|
+
return elements.filter((element) => element.matches(selector));
|
881
|
+
}
|
882
|
+
/**
|
883
|
+
* Set a default icon from a defined set or allow an override with an icon name string
|
884
|
+
*
|
885
|
+
* @param {Record<string, string>} iconObject The icon object.
|
886
|
+
* @param {string | boolean} iconValue The icon value.
|
887
|
+
* @param {string} matchedValue The matched value.
|
888
|
+
* @returns {string|undefined} The resulting icon value.
|
889
|
+
*/
|
890
|
+
function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
891
|
+
if (typeof iconValue === "string" && iconValue !== "") {
|
892
|
+
return iconValue;
|
893
|
+
}
|
894
|
+
else if (iconValue === "") {
|
895
|
+
return iconObject[matchedValue];
|
896
|
+
}
|
897
|
+
}
|
898
|
+
/**
|
899
|
+
* This helper returns true when two rectangles intersect.
|
900
|
+
*
|
901
|
+
* @param {DOMRect} rect1 The first rectangle.
|
902
|
+
* @param {DOMRect} rect2 The second rectangle.
|
903
|
+
* @returns {boolean} The result.
|
904
|
+
*/
|
905
|
+
function intersects(rect1, rect2) {
|
906
|
+
return !(rect2.left > rect1.right ||
|
907
|
+
rect2.right < rect1.left ||
|
908
|
+
rect2.top > rect1.bottom ||
|
909
|
+
rect2.bottom < rect1.top);
|
910
|
+
}
|
911
|
+
/**
|
912
|
+
* This helper makes sure that boolean aria attributes are properly converted to a string.
|
913
|
+
*
|
914
|
+
* It should only be used for aria attributes that require a string value of "true" or "false".
|
915
|
+
*
|
916
|
+
* @param {boolean} value The value.
|
917
|
+
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
918
|
+
*/
|
919
|
+
function toAriaBoolean(value) {
|
920
|
+
return Boolean(value).toString();
|
921
|
+
}
|
922
|
+
/**
|
923
|
+
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has any content (text or elements).
|
924
|
+
*
|
925
|
+
* ```
|
926
|
+
* <slot onSlotchange={(event) => this.mySlotHasContent = slotChangeHasContent(event)} />}
|
927
|
+
* ```
|
928
|
+
*
|
929
|
+
* @param {Event} event The event.
|
930
|
+
* @returns {boolean} Whether the slot has any content.
|
931
|
+
*/
|
932
|
+
function slotChangeHasContent(event) {
|
933
|
+
return slotChangeHasAssignedElement(event) || slotChangeHasTextContent(event);
|
934
|
+
}
|
935
|
+
/**
|
936
|
+
* This helper returns a string of textContent if the target `slot` element from the `onSlotchange` event has any text content.
|
937
|
+
*
|
938
|
+
* ```
|
939
|
+
* <slot onSlotchange={(event) => this.mySlotText = slotChangeGetTextContent(event)} />}
|
940
|
+
* ```
|
941
|
+
*
|
942
|
+
* @param {Event} event The event.
|
943
|
+
* @returns {string} The slots text.
|
944
|
+
*/
|
945
|
+
function slotChangeGetTextContent(event) {
|
946
|
+
return slotChangeGetAssignedNodes(event)
|
947
|
+
.filter((node) => node.nodeType === Node.TEXT_NODE)
|
948
|
+
.map((node) => node.textContent)
|
949
|
+
.join("")
|
950
|
+
.trim();
|
951
|
+
}
|
952
|
+
/**
|
953
|
+
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has any text content.
|
954
|
+
*
|
955
|
+
* ```
|
956
|
+
* <slot onSlotchange={(event) => this.mySlotHasTextContent = slotChangeHasTextContent(event)} />}
|
957
|
+
* ```
|
958
|
+
*
|
959
|
+
* @param {Event} event The event.
|
960
|
+
* @returns {boolean} Whether the slot has any text content.
|
961
|
+
*/
|
962
|
+
function slotChangeHasTextContent(event) {
|
963
|
+
return !!slotChangeGetTextContent(event);
|
964
|
+
}
|
965
|
+
/**
|
966
|
+
* This helper returns the assigned nodes on a `slot` element from the `onSlotchange` event.
|
967
|
+
*
|
968
|
+
* ```
|
969
|
+
* <slot onSlotchange={(event) => this.mySlotNodes = slotChangeGetAssignedNodes(event)} />}
|
970
|
+
* ```
|
971
|
+
*
|
972
|
+
* @param {Event} event The event.
|
973
|
+
* @returns {boolean} Whether the slot has any assigned nodes.
|
974
|
+
*/
|
975
|
+
function slotChangeGetAssignedNodes(event) {
|
976
|
+
return event.currentTarget.assignedNodes({
|
977
|
+
flatten: true,
|
978
|
+
});
|
979
|
+
}
|
980
|
+
/**
|
981
|
+
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has an assigned element.
|
982
|
+
*
|
983
|
+
* ```
|
984
|
+
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
985
|
+
* ```
|
986
|
+
*
|
987
|
+
* @param {Event} event The event.
|
988
|
+
* @returns {boolean} Whether the slot has any assigned elements.
|
989
|
+
*/
|
990
|
+
function slotChangeHasAssignedElement(event) {
|
991
|
+
return !!slotChangeGetAssignedElements(event).length;
|
992
|
+
}
|
993
|
+
/**
|
994
|
+
* This helper returns the assigned elements on a `slot` element from the `onSlotchange` event.
|
995
|
+
*
|
996
|
+
* ```
|
997
|
+
* <slot onSlotchange={(event) => this.mySlotElements = slotChangeGetAssignedElements(event)} />}
|
998
|
+
* ```
|
999
|
+
*
|
1000
|
+
* @param {Event} event The event.
|
1001
|
+
* @param {string} selector The CSS selector string to filter the returned elements by.
|
1002
|
+
* @returns {Element[]} An array of elements.
|
1003
|
+
*/
|
1004
|
+
function slotChangeGetAssignedElements(event, selector) {
|
1005
|
+
return getSlotAssignedElements(event.target, selector);
|
1006
|
+
}
|
1007
|
+
/**
|
1008
|
+
* This helper returns the assigned elements on a `slot` element, filtered by an optional css selector.
|
1009
|
+
*
|
1010
|
+
* @param {HTMLSlotElement} slot The slot element.
|
1011
|
+
* @param {string} selector CSS selector string to filter the returned elements by.
|
1012
|
+
* @returns {Element[]} An array of elements.
|
1013
|
+
*/
|
1014
|
+
function getSlotAssignedElements(slot, selector) {
|
1015
|
+
const assignedElements = slot.assignedElements({
|
1016
|
+
flatten: true,
|
1017
|
+
});
|
1018
|
+
return selector ? filterElementsBySelector(assignedElements, selector) : assignedElements;
|
1019
|
+
}
|
1020
|
+
/**
|
1021
|
+
* This helper returns true if the pointer event fired from the primary button of the device.
|
1022
|
+
*
|
1023
|
+
* See https://www.w3.org/TR/pointerevents/#the-button-property.
|
1024
|
+
*
|
1025
|
+
* @param {PointerEvent} event The pointer event.
|
1026
|
+
* @returns {boolean} The value.
|
1027
|
+
*/
|
1028
|
+
function isPrimaryPointerButton(event) {
|
1029
|
+
return !!(event.isPrimary && event.button === 0);
|
1030
|
+
}
|
1031
|
+
/**
|
1032
|
+
* This helper returns true if the mouse event was triggered by a keyboard click.
|
1033
|
+
*
|
1034
|
+
* @param {MouseEvent} event The mouse event.
|
1035
|
+
* @returns {boolean} The value.
|
1036
|
+
*/
|
1037
|
+
function isKeyboardTriggeredClick(event) {
|
1038
|
+
// we assume event.detail = 0 is a keyboard click
|
1039
|
+
// see https://www.w3.org/TR/uievents/#event-type-click
|
1040
|
+
// see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event#usage_notes
|
1041
|
+
return event.detail === 0;
|
1042
|
+
}
|
1043
|
+
/**
|
1044
|
+
* This helper sets focus on and returns a destination element from within a group of provided elements.
|
1045
|
+
*
|
1046
|
+
* @param {Element[]} elements An array of elements.
|
1047
|
+
* @param {Element} currentElement The current element.
|
1048
|
+
* @param {FocusElementInGroupDestination} destination The target destination element to focus.
|
1049
|
+
* @param {boolean} cycle Should navigation cycle through elements or stop at extent - defaults to true.
|
1050
|
+
* @returns {Element} The focused element
|
1051
|
+
*/
|
1052
|
+
const focusElementInGroup = (elements, currentElement, destination, cycle = true) => {
|
1053
|
+
const currentIndex = elements.indexOf(currentElement);
|
1054
|
+
const isFirstItem = currentIndex === 0;
|
1055
|
+
const isLastItem = currentIndex === elements.length - 1;
|
1056
|
+
if (cycle) {
|
1057
|
+
destination =
|
1058
|
+
destination === "previous" && isFirstItem ? "last" : destination === "next" && isLastItem ? "first" : destination;
|
1059
|
+
}
|
1060
|
+
let focusTarget;
|
1061
|
+
if (destination === "previous") {
|
1062
|
+
focusTarget = elements[currentIndex - 1] || elements[cycle ? elements.length - 1 : currentIndex];
|
1063
|
+
}
|
1064
|
+
else if (destination === "next") {
|
1065
|
+
focusTarget = elements[currentIndex + 1] || elements[cycle ? 0 : currentIndex];
|
1066
|
+
}
|
1067
|
+
else if (destination === "last") {
|
1068
|
+
focusTarget = elements[elements.length - 1];
|
1069
|
+
}
|
1070
|
+
else {
|
1071
|
+
focusTarget = elements[0];
|
1072
|
+
}
|
1073
|
+
focusElement(focusTarget);
|
1074
|
+
return focusTarget;
|
1075
|
+
};
|
1076
|
+
/**
|
1077
|
+
* This helper determines if an element is before another element in the DOM.
|
1078
|
+
*
|
1079
|
+
* @param a the reference element to compare
|
1080
|
+
* @param b the element to compare against
|
1081
|
+
*
|
1082
|
+
* @returns true when a is before b in the DOM
|
1083
|
+
*/
|
1084
|
+
function isBefore(a, b) {
|
1085
|
+
if (a.parentNode !== b.parentNode) {
|
1086
|
+
return false;
|
1087
|
+
}
|
1088
|
+
const children = Array.from(a.parentNode.children);
|
1089
|
+
return children.indexOf(a) < children.indexOf(b);
|
1090
|
+
}
|
1091
|
+
/**
|
1092
|
+
* This util helps determine when an animation has completed.
|
1093
|
+
*
|
1094
|
+
* @param targetEl The element to watch for the animation to complete.
|
1095
|
+
* @param animationName The name of the animation to watch for completion.
|
1096
|
+
* @param onStart A callback to run when the animation starts.
|
1097
|
+
* @param onEnd A callback to run when the animation ends or is canceled.
|
1098
|
+
*/
|
1099
|
+
async function whenAnimationDone(targetEl, animationName, onStart, onEnd) {
|
1100
|
+
return whenTransitionOrAnimationDone(targetEl, animationName, "animation", onStart, onEnd);
|
1101
|
+
}
|
1102
|
+
/**
|
1103
|
+
* This util helps determine when a transition has completed.
|
1104
|
+
*
|
1105
|
+
* @param targetEl The element to watch for the transition to complete.
|
1106
|
+
* @param transitionProp The name of the transition to watch for completion.
|
1107
|
+
* @param onStart A callback to run when the transition starts.
|
1108
|
+
* @param onEnd A callback to run when the transition ends or is canceled.
|
1109
|
+
*/
|
1110
|
+
async function whenTransitionDone(targetEl, transitionProp, onStart, onEnd) {
|
1111
|
+
return whenTransitionOrAnimationDone(targetEl, transitionProp, "transition", onStart, onEnd);
|
1112
|
+
}
|
1113
|
+
/**
|
1114
|
+
* This util helps determine when a transition has completed.
|
1115
|
+
*
|
1116
|
+
* @param targetEl The element to watch for the transition or animation to complete.
|
1117
|
+
* @param transitionPropOrAnimationName The transition or animation property to watch for completion.
|
1118
|
+
* @param type The type of property to watch for completion. Defaults to "transition".
|
1119
|
+
* @param onStart A callback to run when the transition or animation starts.
|
1120
|
+
* @param onEnd A callback to run when the transition or animation ends or is canceled.
|
1121
|
+
*/
|
1122
|
+
async function whenTransitionOrAnimationDone(targetEl, transitionPropOrAnimationName, type, onStart, onEnd) {
|
1123
|
+
const style = window.getComputedStyle(targetEl);
|
1124
|
+
const allDurations = type === "transition" ? style.transitionDuration : style.animationDuration;
|
1125
|
+
const allProps = type === "transition" ? style.transitionProperty : style.animationName;
|
1126
|
+
const allDurationsArray = allDurations.split(",");
|
1127
|
+
const allPropsArray = allProps.split(",").map((prop) => prop.trim());
|
1128
|
+
const propIndex = allPropsArray.indexOf(transitionPropOrAnimationName);
|
1129
|
+
const duration = allDurationsArray[propIndex] ??
|
1130
|
+
/* Safari will have a single duration value for the shorthand prop when multiple, separate names/props are defined,
|
1131
|
+
so we fall back to it if there's no matching prop duration */
|
1132
|
+
allDurationsArray[0];
|
1133
|
+
function triggerFallbackStartEnd() {
|
1134
|
+
// offset callbacks by a frame to simulate event counterparts
|
1135
|
+
requestAnimationFrame(() => {
|
1136
|
+
onStart?.();
|
1137
|
+
requestAnimationFrame(() => onEnd?.());
|
1138
|
+
});
|
1139
|
+
}
|
1140
|
+
if (duration === "0s") {
|
1141
|
+
triggerFallbackStartEnd();
|
1142
|
+
return;
|
1143
|
+
}
|
1144
|
+
const startEvent = type === "transition" ? "transitionstart" : "animationstart";
|
1145
|
+
const endEvent = type === "transition" ? "transitionend" : "animationend";
|
1146
|
+
const cancelEvent = type === "transition" ? "transitioncancel" : "animationcancel";
|
1147
|
+
return new Promise((resolve) => {
|
1148
|
+
const fallbackTimeoutId = window.setTimeout(() => {
|
1149
|
+
targetEl.removeEventListener(startEvent, onTransitionOrAnimationStart);
|
1150
|
+
targetEl.removeEventListener(endEvent, onTransitionOrAnimationEndOrCancel);
|
1151
|
+
targetEl.removeEventListener(cancelEvent, onTransitionOrAnimationEndOrCancel);
|
1152
|
+
triggerFallbackStartEnd();
|
1153
|
+
resolve();
|
1154
|
+
}, parseFloat(duration) * 1000);
|
1155
|
+
targetEl.addEventListener(startEvent, onTransitionOrAnimationStart);
|
1156
|
+
targetEl.addEventListener(endEvent, onTransitionOrAnimationEndOrCancel);
|
1157
|
+
targetEl.addEventListener(cancelEvent, onTransitionOrAnimationEndOrCancel);
|
1158
|
+
function onTransitionOrAnimationStart(event) {
|
1159
|
+
if (event.target === targetEl && getTransitionOrAnimationName(event) === transitionPropOrAnimationName) {
|
1160
|
+
window.clearTimeout(fallbackTimeoutId);
|
1161
|
+
targetEl.removeEventListener(startEvent, onTransitionOrAnimationStart);
|
1162
|
+
onStart?.();
|
1163
|
+
}
|
1164
|
+
}
|
1165
|
+
function onTransitionOrAnimationEndOrCancel(event) {
|
1166
|
+
if (event.target === targetEl && getTransitionOrAnimationName(event) === transitionPropOrAnimationName) {
|
1167
|
+
targetEl.removeEventListener(endEvent, onTransitionOrAnimationEndOrCancel);
|
1168
|
+
targetEl.removeEventListener(cancelEvent, onTransitionOrAnimationEndOrCancel);
|
1169
|
+
onEnd?.();
|
1170
|
+
resolve();
|
1171
|
+
}
|
1172
|
+
}
|
1173
|
+
});
|
1174
|
+
}
|
1175
|
+
function isTransitionEvent(event) {
|
1176
|
+
return "propertyName" in event;
|
1177
|
+
}
|
1178
|
+
function getTransitionOrAnimationName(event) {
|
1179
|
+
return isTransitionEvent(event) ? event.propertyName : event.animationName;
|
1180
|
+
}
|
1181
|
+
|
1182
|
+
exports.closestElementCrossShadowBoundary = closestElementCrossShadowBoundary;
|
1183
|
+
exports.containsCrossShadowBoundary = containsCrossShadowBoundary;
|
1184
|
+
exports.ensureId = ensureId;
|
1185
|
+
exports.filterDirectChildren = filterDirectChildren;
|
1186
|
+
exports.focusElement = focusElement;
|
1187
|
+
exports.focusElementInGroup = focusElementInGroup;
|
1188
|
+
exports.focusFirstTabbable = focusFirstTabbable;
|
1189
|
+
exports.focusable = focusable;
|
1190
|
+
exports.getElementDir = getElementDir;
|
1191
|
+
exports.getElementWidth = getElementWidth;
|
1192
|
+
exports.getFirstTabbable = getFirstTabbable;
|
1193
|
+
exports.getModeName = getModeName;
|
1194
|
+
exports.getShadowRootNode = getShadowRootNode;
|
1195
|
+
exports.getSlotAssignedElements = getSlotAssignedElements;
|
1196
|
+
exports.getSlotted = getSlotted;
|
1197
|
+
exports.getTabIndex = getTabIndex;
|
1198
|
+
exports.getTextWidth = getTextWidth;
|
1199
|
+
exports.intersects = intersects;
|
1200
|
+
exports.isBefore = isBefore;
|
1201
|
+
exports.isFocusable = isFocusable;
|
1202
|
+
exports.isKeyboardTriggeredClick = isKeyboardTriggeredClick;
|
1203
|
+
exports.isPrimaryPointerButton = isPrimaryPointerButton;
|
1204
|
+
exports.isTabbable = isTabbable;
|
1205
|
+
exports.nodeListToArray = nodeListToArray;
|
1206
|
+
exports.queryElementRoots = queryElementRoots;
|
1207
|
+
exports.setRequestedIcon = setRequestedIcon;
|
1208
|
+
exports.slotChangeGetAssignedElements = slotChangeGetAssignedElements;
|
1209
|
+
exports.slotChangeHasAssignedElement = slotChangeHasAssignedElement;
|
1210
|
+
exports.slotChangeHasContent = slotChangeHasContent;
|
1211
|
+
exports.tabbable = tabbable;
|
1212
|
+
exports.tabbableOptions = tabbableOptions;
|
1213
|
+
exports.toAriaBoolean = toAriaBoolean;
|
1214
|
+
exports.whenAnimationDone = whenAnimationDone;
|
1215
|
+
exports.whenTransitionDone = whenTransitionDone;
|