@esri/solutions-components 0.7.16 → 0.7.17
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +88 -0
- package/dist/assets/t9n/crowdsource-manager/resources_en.json +1 -1
- package/dist/assets/t9n/solution-item-sharing/resources_en.json +1 -1
- package/dist/cjs/ExpandToggle-f83d93f8.js +118 -0
- package/dist/cjs/FloatingArrow-7e1624ea.js +50 -0
- package/dist/cjs/Heading-fe70b3e6.js +25 -0
- package/dist/cjs/app-globals-b3f43c6b.js +69 -0
- package/dist/cjs/ar-5f98cd4b.js +104 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +27 -25
- package/dist/cjs/bg-a55b554b.js +82 -0
- package/dist/cjs/bs-00e4d31b.js +51 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +18 -22
- package/dist/cjs/ca-cdd10d29.js +71 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-accordion.cjs.entry.js +6 -4
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +52 -42
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +19 -18
- package/dist/cjs/calcite-action_2.cjs.entry.js +22 -18
- package/dist/cjs/calcite-alert_3.cjs.entry.js +40 -32
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block-section.cjs.entry.js +11 -10
- package/dist/cjs/calcite-block_2.cjs.entry.js +18 -17
- package/dist/cjs/calcite-button.cjs.entry.js +31 -26
- package/dist/cjs/calcite-card.cjs.entry.js +9 -9
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +27 -22
- package/dist/cjs/calcite-chip.cjs.entry.js +20 -17
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-color-picker.cjs.entry.js +26 -26
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +70 -57
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +21 -26
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_2.cjs.entry.js +17 -16
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +8 -6
- package/dist/cjs/calcite-graph_2.cjs.entry.js +21 -18
- package/dist/cjs/calcite-handle.cjs.entry.js +15 -13
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +26 -20
- package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +43 -37
- package/dist/cjs/calcite-input-number.cjs.entry.js +35 -26
- package/dist/cjs/calcite-input-text.cjs.entry.js +23 -19
- package/dist/cjs/calcite-input-time-picker-4f7e55b6.js +1849 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +20 -18
- package/dist/cjs/calcite-input_2.cjs.entry.js +39 -29
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +11 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +13 -11
- package/dist/cjs/calcite-modal.cjs.entry.js +22 -19
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +7 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +23 -18
- package/dist/cjs/calcite-pagination.cjs.entry.js +15 -13
- package/dist/cjs/calcite-panel.cjs.entry.js +22 -19
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -9
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +16 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +11 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +14 -11
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +18 -15
- package/dist/cjs/calcite-sheet.cjs.entry.js +12 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +92 -71
- package/dist/cjs/calcite-shell.cjs.entry.js +12 -9
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +12 -10
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +17 -15
- package/dist/cjs/calcite-stepper.cjs.entry.js +18 -14
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +21 -19
- package/dist/cjs/calcite-table-row.cjs.entry.js +17 -16
- package/dist/cjs/calcite-table.cjs.entry.js +55 -45
- package/dist/cjs/calcite-text-area.cjs.entry.js +22 -19
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-time-picker.cjs.entry.js +19 -17
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +15 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +12 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +21 -18
- package/dist/cjs/card-manager_3.cjs.entry.js +55 -38
- package/dist/cjs/common-4cd3537b.js +38 -0
- package/dist/cjs/conditionalSlot-63e11cba.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +10 -8
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/cs-d08a7e91.js +147 -0
- package/dist/cjs/da-2fb40e38.js +66 -0
- package/dist/cjs/date-a0b274b2.js +261 -0
- package/dist/cjs/de-at-8cb4fc8d.js +90 -0
- package/dist/cjs/de-ch-98281a16.js +90 -0
- package/dist/cjs/de-f88ab56a.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-e111eaa6.js +1087 -0
- package/dist/cjs/downloadUtils-8f50633d.js +3124 -0
- package/dist/cjs/el-42222f37.js +66 -0
- package/dist/cjs/en-au-ce99afe4.js +66 -0
- package/dist/cjs/en-ca-44a0c79e.js +65 -0
- package/dist/cjs/en-gb-9bd18cc2.js +69 -0
- package/dist/cjs/es-a630678a.js +66 -0
- package/dist/cjs/es-mx-cb026d16.js +65 -0
- package/dist/cjs/et-9801d7bf.js +92 -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/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-99bb68b2.js +115 -0
- package/dist/cjs/filter-8f1bbfe6.js +765 -0
- package/dist/cjs/floating-ui-290f99dd.js +1906 -0
- package/dist/cjs/focusTrapComponent-3add574e.js +1028 -0
- package/dist/cjs/form-0291a707.js +260 -0
- package/dist/cjs/fr-047990d9.js +68 -0
- package/dist/cjs/fr-ch-eefff196.js +66 -0
- package/dist/cjs/globalAttributes-c973ec3a.js +77 -0
- package/dist/cjs/he-3f50b1de.js +105 -0
- package/dist/cjs/helpers-a0719076.js +903 -0
- package/dist/cjs/hi-8fad23c8.js +65 -0
- package/dist/cjs/hr-85523ea5.js +80 -0
- package/dist/cjs/hu-133d6509.js +88 -0
- package/dist/cjs/id-cf31387c.js +66 -0
- package/dist/cjs/index-22bb61da.js +201 -0
- package/dist/cjs/index-b8a649fc.js +2530 -0
- package/dist/cjs/index.es-140aa937.js +10811 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-header.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-splash.cjs.entry.js +6 -6
- package/dist/cjs/interactive-8aff886e.js +147 -0
- package/dist/cjs/it-87a2a88e.js +66 -0
- package/dist/cjs/it-ch-6197d836.js +66 -0
- package/dist/cjs/ja-1be83730.js +72 -0
- package/dist/cjs/ko-ea4b0148.js +72 -0
- package/dist/cjs/label-bcad2894.js +186 -0
- package/dist/cjs/languageSwitcher-7de41e17.js +58 -0
- package/dist/cjs/languageUtil-a3b464f8.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadModules-46d14e81.js +30 -0
- package/dist/cjs/loadModules-51c30ab9.js +23 -0
- package/dist/cjs/loadable-07a214c7.js +94 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/locale-6a627639.js +584 -0
- package/dist/cjs/locale-9b9d0e94.js +82 -0
- package/dist/cjs/locale-9db09b63.js +122 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-4acaf0a6.js +97 -0
- package/dist/cjs/lv-251e08f1.js +66 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +62 -52
- package/dist/cjs/mapViewUtils-569e9644.js +467 -0
- package/dist/cjs/mk-8b1ae7dd.js +66 -0
- package/dist/cjs/nb-fa98c484.js +67 -0
- package/dist/cjs/nl-e71e8890.js +67 -0
- package/dist/cjs/openCloseComponent-8c9a1749.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-8527f540.js +114 -0
- package/dist/cjs/pt-a1c7a6ea.js +67 -0
- package/dist/cjs/pt-br-c5319e0c.js +65 -0
- package/dist/cjs/public-notification.cjs.entry.js +32 -25
- package/dist/cjs/publicNotificationStore-3a17c2f4.js +47 -0
- package/dist/cjs/purify-f8c3e427.js +1712 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/restHelpersGet-e0737480.js +972 -0
- package/dist/cjs/ro-df6f795a.js +66 -0
- package/dist/cjs/ru-7516a3ba.js +126 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-25bedff5.js +364 -0
- package/dist/cjs/sk-9d31fa10.js +148 -0
- package/dist/cjs/sl-abecca0d.js +168 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +43 -17
- package/dist/cjs/solution-contents_3.cjs.entry.js +12 -11
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-resource-abec7452.js +141 -0
- package/dist/cjs/solution-store-ab6c980f.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +4 -4
- package/dist/cjs/spatial-ref.cjs.entry.js +8 -7
- package/dist/cjs/sr-334c5c73.js +101 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/sv-832dd153.js +71 -0
- package/dist/cjs/t9n-0556abcb.js +100 -0
- package/dist/cjs/th-cca86754.js +65 -0
- package/dist/cjs/throttle-aeeb1b4d.js +75 -0
- package/dist/cjs/time-06aad495.js +289 -0
- package/dist/cjs/tr-fcef3dae.js +66 -0
- package/dist/cjs/uk-69eceeec.js +104 -0
- package/dist/cjs/utils-35b31785.js +120 -0
- package/dist/cjs/utils-3df24da4.js +62 -0
- package/dist/cjs/utils-6587cc34.js +64 -0
- package/dist/cjs/vi-6afa69a0.js +70 -0
- package/dist/cjs/zh-cn-0513bc09.js +94 -0
- package/dist/cjs/zh-hk-73971e1d.js +71 -0
- package/dist/cjs/zh-tw-af0db947.js +92 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +2 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +2 -1
- package/dist/collection/components/card-manager/card-manager.js +3 -2
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +7 -5
- package/dist/collection/components/edit-card/edit-card.js +14 -10
- package/dist/collection/components/floor-filter/floor-filter.js +2 -1
- package/dist/collection/components/info-card/info-card.js +8 -5
- package/dist/collection/components/json-editor/assets/monaco-editor/package.json +63 -63
- package/dist/collection/components/json-editor/json-editor.js +21 -14
- package/dist/collection/components/layer-table/layer-table.js +36 -22
- package/dist/collection/components/map-card/map-card.js +7 -5
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +7 -12
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +8 -6
- package/dist/collection/components/map-picker/map-picker.js +6 -4
- package/dist/collection/components/map-search/map-search.js +8 -12
- package/dist/collection/components/map-select-tools/map-select-tools.js +36 -32
- package/dist/collection/components/map-tools/map-tools.js +5 -3
- package/dist/collection/components/pdf-download/pdf-download.js +2 -1
- package/dist/collection/components/public-notification/public-notification.js +21 -14
- package/dist/collection/components/refine-selection/refine-selection.js +13 -8
- package/dist/collection/components/solution-configuration/solution-configuration.js +1 -1
- package/dist/collection/components/solution-contents/solution-contents.js +3 -2
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +2 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +2 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +2 -1
- package/dist/collection/components/store-manager/store-manager.js +1 -1
- package/dist/collection/utils/common.js +2 -1
- package/dist/collection/utils/downloadUtils.js +15 -13
- package/dist/collection/utils/locale.js +3 -2
- package/dist/collection/utils/mapViewUtils.js +2 -5
- package/dist/collection/utils/publicNotificationStore.js +1 -1
- package/dist/collection/utils/queryUtils.js +3 -2
- package/dist/collection/utils/solution-store.js +1 -3
- package/dist/collection/utils/test/downloadUtils.spec.js +2 -1
- package/dist/collection/utils/test/solution-store.spec.js +2 -5
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-bar.js +11 -8
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +8 -8
- package/dist/components/action-pad.js +5 -4
- package/dist/components/action.js +10 -6
- package/dist/components/alert.js +3 -2
- package/dist/components/arcgis-login.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/basemap-gallery2.js +3 -2
- package/dist/components/block.js +1 -1
- package/dist/components/buffer-tools2.js +3 -2
- package/dist/components/button.js +17 -12
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +5 -3
- package/dist/components/calcite-block-section.js +3 -2
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-chip-group.js +20 -15
- package/dist/components/calcite-color-picker.js +11 -11
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -2
- package/dist/components/calcite-flow.js +6 -4
- package/dist/components/calcite-inline-editable.js +14 -8
- package/dist/components/calcite-input-time-picker.js +5 -3
- package/dist/components/calcite-input-time-zone.js +5 -3
- 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 +5 -3
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +3 -2
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -2
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-radio-button-group.js +9 -5
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-rating.js +3 -2
- package/dist/components/calcite-sheet.js +5 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-sortable-list.js +5 -3
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +7 -5
- package/dist/components/calcite-stepper.js +11 -7
- package/dist/components/calcite-table-row.js +10 -9
- package/dist/components/calcite-table.js +46 -36
- package/dist/components/calcite-text-area.js +7 -4
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +3 -2
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +7 -4
- package/dist/components/calcite-tip.js +3 -2
- package/dist/components/card-manager2.js +4 -3
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +8 -5
- package/dist/components/color-picker-hex-input.js +5 -4
- package/dist/components/color-picker-swatch.js +4 -4
- package/dist/components/combobox-item.js +2 -2
- package/dist/components/combobox.js +22 -16
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/crowdsource-manager.js +8 -6
- package/dist/components/crowdsource-reporter.js +1 -1
- package/dist/components/date-picker-day.js +2 -6
- package/dist/components/date-picker-month-header.js +4 -7
- package/dist/components/date-picker-month.js +6 -4
- package/dist/components/date-picker.js +3 -2
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/downloadUtils.js +51 -23
- package/dist/components/dropdown-group.js +5 -3
- package/dist/components/dropdown-item.js +4 -3
- package/dist/components/dropdown.js +9 -7
- package/dist/components/edit-card2.js +15 -11
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter2.js +4 -3
- package/dist/components/floating-ui.js +3 -15
- package/dist/components/floor-filter2.js +3 -2
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +5 -3
- package/dist/components/handle.js +5 -3
- package/dist/components/icon.js +3 -2
- package/dist/components/index.es.js +112 -161
- package/dist/components/index.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/info-card2.js +9 -6
- package/dist/components/input-date-picker.js +19 -13
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +22 -13
- package/dist/components/input-text.js +10 -6
- package/dist/components/input.js +26 -16
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +1 -1
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-classic2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-relationship2.js +1 -1
- package/dist/components/instant-apps-interactive-legend.js +1 -1
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-language-switcher.js +1 -1
- package/dist/components/instant-apps-language-translator-item2.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +1 -1
- package/dist/components/instant-apps-measurement-tool2.js +1 -1
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-popovers.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-social-share2.js +1 -1
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/json-editor2.js +22 -15
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +37 -23
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list-item.js +5 -5
- package/dist/components/list.js +20 -13
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +4 -3
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/map-card2.js +8 -6
- package/dist/components/map-draw-tools2.js +8 -13
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +9 -7
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +7 -5
- package/dist/components/map-search2.js +9 -13
- package/dist/components/map-select-tools2.js +37 -33
- package/dist/components/map-tools2.js +6 -4
- package/dist/components/mapViewUtils.js +2 -5
- package/dist/components/menu.js +2 -2
- package/dist/components/modal.js +10 -7
- package/dist/components/notice.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +5 -3
- package/dist/components/pagination.js +6 -4
- package/dist/components/panel.js +9 -6
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +3 -2
- package/dist/components/pick-list-item.js +3 -2
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/public-notification.js +22 -15
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +17 -31
- package/dist/components/queryUtils.js +3 -2
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +14 -9
- package/dist/components/restHelpersGet.js +382 -344
- package/dist/components/scrim.js +7 -4
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +8 -5
- package/dist/components/select.js +9 -6
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/shell-panel.js +11 -8
- package/dist/components/shell.js +7 -4
- package/dist/components/slider.js +4 -3
- package/dist/components/solution-configuration.js +28 -2
- package/dist/components/solution-contents2.js +4 -3
- package/dist/components/solution-item-details2.js +3 -2
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-resource.js +107 -107
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +510 -496
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +3 -2
- package/dist/components/spatial-ref2.js +3 -2
- package/dist/components/stack.js +1 -1
- package/dist/components/store-manager.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +14 -10
- package/dist/components/tab-title.js +9 -7
- package/dist/components/tab.js +3 -2
- package/dist/components/table-cell.js +4 -3
- package/dist/components/table-header.js +7 -6
- package/dist/components/tabs.js +3 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +8 -6
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tree-item.js +7 -5
- package/dist/components/tree.js +7 -6
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +3 -2
- package/dist/components/value-list.js +3 -3
- package/dist/esm/ExpandToggle-540998b5.js +110 -0
- package/dist/esm/FloatingArrow-245804f3.js +48 -0
- package/dist/esm/Heading-c45d3f45.js +22 -0
- package/dist/esm/app-globals-e4f88f7e.js +67 -0
- package/dist/esm/ar-35006b74.js +102 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +27 -25
- package/dist/esm/bg-c289978f.js +80 -0
- package/dist/esm/bs-6f9fb44a.js +49 -0
- package/dist/esm/buffer-tools_3.entry.js +18 -22
- package/dist/esm/ca-7962c8b7.js +69 -0
- package/dist/esm/calcite-accordion-item.entry.js +8 -8
- package/dist/esm/calcite-accordion.entry.js +6 -4
- package/dist/esm/calcite-action-bar_3.entry.js +52 -42
- package/dist/esm/calcite-action-group_2.entry.js +20 -20
- package/dist/esm/calcite-action-pad_2.entry.js +19 -18
- package/dist/esm/calcite-action_2.entry.js +22 -18
- package/dist/esm/calcite-alert_3.entry.js +40 -32
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block-section.entry.js +11 -10
- package/dist/esm/calcite-block_2.entry.js +18 -17
- package/dist/esm/calcite-button.entry.js +31 -26
- package/dist/esm/calcite-card.entry.js +9 -9
- package/dist/esm/calcite-checkbox.entry.js +13 -12
- package/dist/esm/calcite-chip-group.entry.js +27 -22
- package/dist/esm/calcite-chip.entry.js +20 -17
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +14 -13
- package/dist/esm/calcite-color-picker.entry.js +26 -26
- package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
- package/dist/esm/calcite-combobox_6.entry.js +70 -57
- package/dist/esm/calcite-date-picker-day_3.entry.js +21 -26
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_2.entry.js +17 -16
- package/dist/esm/calcite-flow-item.entry.js +14 -13
- package/dist/esm/calcite-flow.entry.js +8 -6
- package/dist/esm/calcite-graph_2.entry.js +21 -18
- package/dist/esm/calcite-handle.entry.js +15 -13
- package/dist/esm/calcite-icon.entry.js +7 -6
- package/dist/esm/calcite-inline-editable.entry.js +26 -20
- package/dist/esm/calcite-input-date-picker_3.entry.js +43 -37
- package/dist/esm/calcite-input-number.entry.js +35 -26
- package/dist/esm/calcite-input-text.entry.js +23 -19
- package/dist/esm/calcite-input-time-picker-63439178.js +1846 -0
- package/dist/esm/calcite-input-time-picker.entry.js +19 -19
- package/dist/esm/calcite-input-time-zone.entry.js +20 -18
- package/dist/esm/calcite-input_2.entry.js +39 -29
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +9 -9
- package/dist/esm/calcite-menu.entry.js +11 -11
- package/dist/esm/calcite-meter.entry.js +13 -11
- package/dist/esm/calcite-modal.entry.js +22 -19
- package/dist/esm/calcite-navigation-logo.entry.js +3 -3
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +7 -6
- package/dist/esm/calcite-notice.entry.js +13 -13
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +23 -18
- package/dist/esm/calcite-pagination.entry.js +15 -13
- package/dist/esm/calcite-panel.entry.js +22 -19
- package/dist/esm/calcite-pick-list-group.entry.js +10 -9
- package/dist/esm/calcite-pick-list-item.entry.js +16 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-radio-button-group.entry.js +11 -7
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +16 -15
- package/dist/esm/calcite-scrim.entry.js +14 -11
- package/dist/esm/calcite-segmented-control_2.entry.js +18 -15
- package/dist/esm/calcite-sheet.entry.js +12 -10
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +92 -71
- package/dist/esm/calcite-shell.entry.js +12 -9
- package/dist/esm/calcite-sortable-list.entry.js +12 -10
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +17 -15
- package/dist/esm/calcite-stepper.entry.js +18 -14
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +21 -19
- package/dist/esm/calcite-table-row.entry.js +17 -16
- package/dist/esm/calcite-table.entry.js +55 -45
- package/dist/esm/calcite-text-area.entry.js +22 -19
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +7 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-time-picker.entry.js +19 -17
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +15 -12
- package/dist/esm/calcite-tip.entry.js +12 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +21 -18
- package/dist/esm/card-manager_3.entry.js +55 -38
- package/dist/esm/common-2cf42ac2.js +36 -0
- package/dist/esm/conditionalSlot-1149b5cb.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +10 -8
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/cs-6d13069b.js +145 -0
- package/dist/esm/da-14097e6c.js +64 -0
- package/dist/esm/date-1743b515.js +245 -0
- package/dist/esm/de-at-b733db65.js +88 -0
- package/dist/esm/de-ch-5ad0cb74.js +88 -0
- package/dist/esm/de-dff2571b.js +89 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-492b1b24.js +1056 -0
- package/dist/esm/downloadUtils-9dee8bc0.js +3118 -0
- package/dist/esm/el-688e05ba.js +64 -0
- package/dist/esm/en-au-357e70d8.js +64 -0
- package/dist/esm/en-ca-1e0b6b47.js +63 -0
- package/dist/esm/en-gb-861a17f2.js +67 -0
- package/dist/esm/es-291ab4bd.js +64 -0
- package/dist/esm/es-mx-0a7283a7.js +63 -0
- package/dist/esm/et-addd2617.js +90 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-469884d5.js +113 -0
- package/dist/esm/filter-8b806ae6.js +763 -0
- package/dist/esm/floating-ui-03eb4c82.js +1898 -0
- package/dist/esm/focusTrapComponent-2e7de651.js +1023 -0
- package/dist/esm/form-9bccaf85.js +252 -0
- package/dist/esm/fr-ch-115d3fda.js +64 -0
- package/dist/esm/fr-f5cb34ca.js +66 -0
- package/dist/esm/globalAttributes-03c9e433.js +74 -0
- package/dist/esm/he-6e5f5c56.js +103 -0
- package/dist/esm/helpers-078591d2.js +877 -0
- package/dist/esm/hi-503240c2.js +63 -0
- package/dist/esm/hr-cc08d6fc.js +78 -0
- package/dist/esm/hu-69ac240d.js +86 -0
- package/dist/esm/id-99547746.js +64 -0
- package/dist/esm/index-7183ce4a.js +2496 -0
- package/dist/esm/index-857df22e.js +199 -0
- package/dist/esm/index.es-54e86c8e.js +10725 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
- package/dist/esm/instant-apps-control-panel.entry.js +3 -3
- package/dist/esm/instant-apps-export.entry.js +6 -6
- package/dist/esm/instant-apps-header.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
- package/dist/esm/instant-apps-language-translator.entry.js +8 -8
- package/dist/esm/instant-apps-measurement.entry.js +5 -5
- package/dist/esm/instant-apps-popover.entry.js +5 -5
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +6 -6
- package/dist/esm/instant-apps-splash.entry.js +6 -6
- package/dist/esm/interactive-20bb1dc4.js +143 -0
- package/dist/esm/it-ch-a83801f6.js +64 -0
- package/dist/esm/it-dbb6ea7d.js +64 -0
- package/dist/esm/ja-79dbb02f.js +70 -0
- package/dist/esm/ko-31ebe067.js +70 -0
- package/dist/esm/label-14301f4d.js +179 -0
- package/dist/esm/languageSwitcher-62232826.js +55 -0
- package/dist/esm/languageUtil-8b54477c.js +66 -0
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadModules-b677d6d7.js +21 -0
- package/dist/esm/loadModules-cea493da.js +28 -0
- package/dist/esm/loadable-c3685e51.js +89 -0
- package/dist/esm/loader.js +4 -4
- package/dist/esm/locale-834c52c6.js +119 -0
- package/dist/esm/locale-89b49505.js +77 -0
- package/dist/esm/locale-8cfa3086.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-94d3f4b8.js +95 -0
- package/dist/esm/lv-d770ed0d.js +64 -0
- package/dist/esm/map-select-tools_3.entry.js +62 -52
- package/dist/esm/mapViewUtils-066602d5.js +450 -0
- package/dist/esm/mk-1046d60a.js +64 -0
- package/dist/esm/nb-dad0b4b9.js +65 -0
- package/dist/esm/nl-a968c4b7.js +65 -0
- package/dist/esm/openCloseComponent-982c6b9e.js +90 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-a0037bd3.js +112 -0
- package/dist/esm/pt-br-44c11565.js +63 -0
- package/dist/esm/pt-e3d9370c.js +65 -0
- package/dist/esm/public-notification.entry.js +32 -25
- package/dist/esm/publicNotificationStore-9362d7ae.js +45 -0
- package/dist/esm/purify-c99d2ace.js +1710 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/restHelpersGet-af032ab2.js +959 -0
- package/dist/esm/ro-290e025d.js +64 -0
- package/dist/esm/ru-38ff91f1.js +124 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-89e4bcff.js +342 -0
- package/dist/esm/sk-9622a24b.js +146 -0
- package/dist/esm/sl-6bc83a24.js +166 -0
- package/dist/esm/solution-configuration.entry.js +34 -8
- package/dist/esm/solution-contents_3.entry.js +12 -11
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-resource-7b8d302d.js +138 -0
- package/dist/esm/solution-store-b08696f7.js +1342 -0
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/spatial-ref.entry.js +8 -7
- package/dist/esm/sr-35e575d8.js +99 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/sv-d80fa359.js +69 -0
- package/dist/esm/t9n-3c5e55ab.js +95 -0
- package/dist/esm/th-23e71d40.js +63 -0
- package/dist/esm/throttle-9ab70933.js +73 -0
- package/dist/esm/time-d956a7c8.js +274 -0
- package/dist/esm/tr-961fd2f3.js +64 -0
- package/dist/esm/uk-4e8a425a.js +102 -0
- package/dist/esm/utils-56206ec2.js +61 -0
- package/dist/esm/utils-8287806a.js +51 -0
- package/dist/esm/utils-b1bd777e.js +111 -0
- package/dist/esm/vi-ad983882.js +68 -0
- package/dist/esm/zh-cn-5b6fd039.js +92 -0
- package/dist/esm/zh-hk-7439b11d.js +69 -0
- package/dist/esm/zh-tw-cf384663.js +90 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +77 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +264 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +338 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +105 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +113 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +73 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +113 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +421 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +81 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +298 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +145 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +804 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +183 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +167 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +385 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +244 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +66 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +425 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +211 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +101 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +72 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +290 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +95 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +189 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +136 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +84 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +282 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +72 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +136 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +98 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +89 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +51 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +99 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +73 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +89 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +630 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +267 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +109 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +484 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +397 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +99 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +67 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +134 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +148 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +122 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +244 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +88 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +298 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +50 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +281 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +183 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +529 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +142 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +137 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +112 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +289 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +36 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +36 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +138 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +227 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +83 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +179 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +194 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +110 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +164 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +58 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +178 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +76 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +95 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +172 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +218 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +267 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +184 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +124 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +360 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +388 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +68 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +184 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +118 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +147 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +458 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +189 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +75 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +122 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +349 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +143 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +133 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +130 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +102 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +288 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +171 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +156 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +64 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +144 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +151 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +47 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +194 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +120 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +41 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +318 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +105 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +121 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +81 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +104 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +165 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +124 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +18 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +65 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +17 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +66 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +51 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +15 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +222 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +83 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +34 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +273 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +10 -0
- package/dist/solutions-components/assets/monaco-editor/package.json +63 -63
- package/dist/solutions-components/p-00f9774c.js +6 -0
- package/dist/solutions-components/p-0200864c.entry.js +11 -0
- package/dist/solutions-components/p-0250dec5.js +6 -0
- package/dist/solutions-components/p-026b1345.js +16 -0
- package/dist/solutions-components/p-02714171.entry.js +11 -0
- package/dist/solutions-components/p-034d43fb.js +6 -0
- package/dist/solutions-components/p-0511c98c.js +11 -0
- package/dist/solutions-components/p-0637dbc2.entry.js +6 -0
- package/dist/solutions-components/p-07b31dc9.js +6 -0
- package/dist/solutions-components/p-080249de.js +6 -0
- package/dist/solutions-components/p-0a0d0d3a.entry.js +6 -0
- package/dist/solutions-components/p-0b47b407.js +6 -0
- package/dist/solutions-components/p-0c97de08.js +12 -0
- package/dist/solutions-components/p-0d97c2c5.entry.js +17 -0
- package/dist/solutions-components/p-0e723ffc.js +6 -0
- package/dist/solutions-components/p-105bf4aa.entry.js +6 -0
- package/dist/solutions-components/p-11b59592.entry.js +16 -0
- package/dist/solutions-components/p-121a5dac.entry.js +11 -0
- package/dist/solutions-components/p-133de052.entry.js +11 -0
- package/dist/solutions-components/p-13bfc206.entry.js +29 -0
- package/dist/solutions-components/p-14097810.entry.js +6 -0
- package/dist/solutions-components/p-14a48b14.js +6 -0
- package/dist/solutions-components/p-166d5bcc.entry.js +6 -0
- package/dist/solutions-components/p-1711c535.entry.js +6 -0
- package/dist/solutions-components/p-17183100.js +6 -0
- package/dist/solutions-components/p-1b9fb070.entry.js +6 -0
- package/dist/solutions-components/p-1bdd64a0.js +489 -0
- package/dist/solutions-components/p-1be63b50.js +11 -0
- package/dist/solutions-components/p-1c720ed5.entry.js +6 -0
- package/dist/solutions-components/p-1cb4c542.entry.js +17 -0
- package/dist/solutions-components/p-1f88a556.entry.js +6 -0
- package/dist/solutions-components/p-1fc220c7.js +11 -0
- package/dist/solutions-components/p-21c2d29c.entry.js +6 -0
- package/dist/solutions-components/p-21ccd955.entry.js +6 -0
- package/dist/solutions-components/p-220ec0d1.js +66 -0
- package/dist/solutions-components/p-225c4ca4.js +6 -0
- package/dist/solutions-components/p-23662977.entry.js +11 -0
- package/dist/solutions-components/p-259f6f81.js +11 -0
- package/dist/solutions-components/p-25dd768d.js +11 -0
- package/dist/solutions-components/p-29602eff.entry.js +11 -0
- package/dist/solutions-components/p-2d1b8cfa.js +11 -0
- package/dist/solutions-components/p-2e1f7c0e.entry.js +11 -0
- package/dist/solutions-components/p-3022da2d.js +6 -0
- package/dist/solutions-components/p-324d71f4.entry.js +11 -0
- package/dist/solutions-components/p-337acb3c.js +11 -0
- package/dist/solutions-components/p-33f07da5.entry.js +6 -0
- package/dist/solutions-components/p-34cacf32.js +6 -0
- package/dist/solutions-components/p-355249fc.js +6 -0
- package/dist/solutions-components/p-36eb8399.js +145 -0
- package/dist/solutions-components/p-3bf0115f.entry.js +6 -0
- package/dist/solutions-components/p-3c5d3b4a.js +6 -0
- package/dist/solutions-components/p-3d17ee9f.entry.js +6 -0
- package/dist/solutions-components/p-3ea18af7.entry.js +6 -0
- package/dist/solutions-components/p-40235cb7.entry.js +11 -0
- package/dist/solutions-components/p-414240b2.js +22 -0
- package/dist/solutions-components/p-41f7bc94.entry.js +11 -0
- package/dist/solutions-components/p-43546966.entry.js +6 -0
- package/dist/solutions-components/p-43e67b3c.entry.js +11 -0
- package/dist/solutions-components/p-4613e205.js +6 -0
- package/dist/solutions-components/p-4647c429.js +6 -0
- package/dist/solutions-components/p-48828002.entry.js +16 -0
- package/dist/solutions-components/p-48ff9cea.js +21 -0
- package/dist/solutions-components/p-4da72ee8.entry.js +11 -0
- package/dist/solutions-components/p-4ee789e1.entry.js +21 -0
- package/dist/solutions-components/p-4f71a1a0.js +6 -0
- package/dist/solutions-components/p-50764143.entry.js +17 -0
- package/dist/solutions-components/p-50ea26de.entry.js +11 -0
- package/dist/solutions-components/p-52ad6ff9.entry.js +6 -0
- package/dist/solutions-components/p-531d91d6.js +36 -0
- package/dist/solutions-components/p-532b7378.entry.js +11 -0
- package/dist/solutions-components/p-5752785e.entry.js +11 -0
- package/dist/solutions-components/p-58054bc2.js +6 -0
- package/dist/solutions-components/p-5953ebe8.entry.js +36 -0
- package/dist/solutions-components/p-5a885617.entry.js +6 -0
- package/dist/solutions-components/p-5c3fd315.entry.js +11 -0
- package/dist/solutions-components/p-5d2ccc75.entry.js +11 -0
- package/dist/solutions-components/p-5e530f8c.js +6 -0
- package/dist/solutions-components/p-5e9b05c0.entry.js +11 -0
- package/dist/solutions-components/p-5fd1eb64.js +11 -0
- package/dist/solutions-components/p-60d212df.entry.js +6 -0
- package/dist/solutions-components/p-61a523a6.entry.js +6 -0
- package/dist/solutions-components/p-6268020e.entry.js +6 -0
- package/dist/solutions-components/p-627c19b5.entry.js +6 -0
- package/dist/solutions-components/p-62e92138.js +6 -0
- package/dist/solutions-components/p-634835fe.js +6 -0
- package/dist/solutions-components/p-6437fee1.entry.js +11 -0
- package/dist/solutions-components/p-653af7e0.js +11 -0
- package/dist/solutions-components/p-663a433a.entry.js +11 -0
- package/dist/solutions-components/p-6656c53e.entry.js +6 -0
- package/dist/solutions-components/p-6665fa1f.js +6 -0
- package/dist/solutions-components/p-683cded6.entry.js +6 -0
- package/dist/solutions-components/p-68434a63.js +6 -0
- package/dist/solutions-components/p-6a4b1e48.entry.js +11 -0
- package/dist/solutions-components/p-6b943f52.js +21 -0
- package/dist/solutions-components/p-6c3cdd09.entry.js +6 -0
- package/dist/solutions-components/p-6e406a7b.js +6 -0
- package/dist/solutions-components/p-708294ca.entry.js +11 -0
- package/dist/solutions-components/p-722ae773.js +11 -0
- package/dist/solutions-components/p-7440c114.entry.js +11 -0
- package/dist/solutions-components/p-75f7bfe3.entry.js +6 -0
- package/dist/solutions-components/p-75fbe76c.js +6 -0
- package/dist/solutions-components/p-76d60881.entry.js +6 -0
- package/dist/solutions-components/p-78780f63.js +7 -0
- package/dist/solutions-components/p-789f606f.entry.js +6 -0
- package/dist/solutions-components/p-799c3f19.js +6 -0
- package/dist/solutions-components/p-79ba73cb.js +11 -0
- package/dist/solutions-components/p-79f95735.entry.js +11 -0
- package/dist/solutions-components/p-7a06dcdf.js +6 -0
- package/dist/solutions-components/p-7c5191ff.entry.js +6 -0
- package/dist/solutions-components/p-7e82a730.js +6 -0
- package/dist/solutions-components/p-8118146c.entry.js +11 -0
- package/dist/solutions-components/p-825c045a.entry.js +6 -0
- package/dist/solutions-components/p-82b4ab94.js +6 -0
- package/dist/solutions-components/p-83225907.js +6 -0
- package/dist/solutions-components/p-85a89f1d.entry.js +11 -0
- package/dist/solutions-components/p-8684a905.js +21 -0
- package/dist/solutions-components/p-8772a573.js +6 -0
- package/dist/solutions-components/p-8934e858.entry.js +11 -0
- package/dist/solutions-components/p-897037f0.entry.js +6 -0
- package/dist/solutions-components/p-8b5b4662.js +6 -0
- package/dist/solutions-components/p-8c7fc78f.entry.js +11 -0
- package/dist/solutions-components/p-8f8fe5d0.entry.js +6 -0
- package/dist/solutions-components/p-92ea9e81.js +6 -0
- package/dist/solutions-components/p-941ab8c0.js +6 -0
- package/dist/solutions-components/p-96974e5f.js +6 -0
- package/dist/solutions-components/p-98013072.entry.js +11 -0
- package/dist/solutions-components/p-980cd015.entry.js +11 -0
- package/dist/solutions-components/p-98fe7b5d.entry.js +6 -0
- package/dist/solutions-components/p-99ca7674.entry.js +6 -0
- package/dist/solutions-components/p-9bcbc1cc.js +21 -0
- package/dist/solutions-components/p-9e3b8632.entry.js +11 -0
- package/dist/solutions-components/p-a0b8cecf.entry.js +6 -0
- package/dist/solutions-components/p-a0be72b6.entry.js +11 -0
- package/dist/solutions-components/p-a11fca14.js +6 -0
- package/dist/solutions-components/p-a32b61ee.entry.js +6 -0
- package/dist/solutions-components/p-a3a64af2.entry.js +11 -0
- package/dist/solutions-components/p-a4755ea8.entry.js +6 -0
- package/dist/solutions-components/p-a4772574.js +6 -0
- package/dist/solutions-components/p-a4aef40c.entry.js +17 -0
- package/dist/solutions-components/p-a8a0187d.js +6 -0
- package/dist/solutions-components/p-a9c30842.entry.js +11 -0
- package/dist/solutions-components/p-a9f21aaf.entry.js +6 -0
- package/dist/solutions-components/p-a9fc934d.js +6 -0
- package/dist/solutions-components/p-aa3092cf.js +6 -0
- package/dist/solutions-components/p-ac6a3e13.js +6 -0
- package/dist/solutions-components/p-ada368a5.entry.js +6 -0
- package/dist/solutions-components/p-b170916e.js +11 -0
- package/dist/solutions-components/p-b21a9b47.js +11 -0
- package/dist/solutions-components/p-b42bde59.entry.js +11 -0
- package/dist/solutions-components/p-b6efec9a.entry.js +6 -0
- package/dist/solutions-components/p-b78a1c21.js +6 -0
- package/dist/solutions-components/p-b82179c0.js +6 -0
- package/dist/solutions-components/p-baf82bab.entry.js +6 -0
- package/dist/solutions-components/p-bf23173c.js +6 -0
- package/dist/solutions-components/p-bf9e18d4.js +8 -0
- package/dist/solutions-components/p-c147117f.entry.js +17 -0
- package/dist/solutions-components/p-c21f578f.js +6 -0
- package/dist/solutions-components/p-c252997f.entry.js +17 -0
- package/dist/solutions-components/p-c2b20b85.entry.js +11 -0
- package/dist/solutions-components/p-c504529e.entry.js +6 -0
- package/dist/solutions-components/p-c5cb8804.js +6 -0
- package/dist/solutions-components/p-c8cf222b.entry.js +6 -0
- package/dist/solutions-components/p-c99843aa.entry.js +6 -0
- package/dist/solutions-components/p-ca33fa09.entry.js +11 -0
- package/dist/solutions-components/p-ca97465b.js +17 -0
- package/dist/solutions-components/p-cbe7a79a.entry.js +6 -0
- package/dist/solutions-components/p-cc774829.entry.js +6 -0
- package/dist/solutions-components/p-ced4e208.entry.js +6 -0
- package/dist/solutions-components/p-cfb83693.js +6 -0
- package/dist/solutions-components/p-cfccae7c.js +11 -0
- package/dist/solutions-components/p-d1ca57f3.entry.js +11 -0
- package/dist/solutions-components/p-d6208a47.js +6 -0
- package/dist/solutions-components/p-d78f13cb.entry.js +6 -0
- package/dist/solutions-components/p-d89fff3a.js +49 -0
- package/dist/solutions-components/p-d8b3d156.entry.js +12 -0
- package/dist/solutions-components/p-d9d213d4.entry.js +6 -0
- package/dist/solutions-components/p-db1f5bd5.entry.js +6 -0
- package/dist/solutions-components/p-db3ca38d.entry.js +17 -0
- package/dist/solutions-components/p-db436a77.entry.js +11 -0
- package/dist/solutions-components/p-db44593d.js +16 -0
- package/dist/solutions-components/p-dd071507.js +6 -0
- package/dist/solutions-components/p-dd37c504.js +6 -0
- package/dist/solutions-components/p-dd48cc25.entry.js +6 -0
- package/dist/solutions-components/p-dfdb8411.js +61 -0
- package/dist/solutions-components/p-e01f576a.entry.js +6 -0
- package/dist/solutions-components/p-e0276e26.entry.js +11 -0
- package/dist/solutions-components/p-e31754c8.js +6 -0
- package/dist/solutions-components/p-e377cfb3.entry.js +6 -0
- package/dist/solutions-components/p-e7951fcb.js +6 -0
- package/dist/solutions-components/p-e8011829.entry.js +47 -0
- package/dist/solutions-components/p-e83b1772.entry.js +11 -0
- package/dist/solutions-components/p-e89c5860.entry.js +6 -0
- package/dist/solutions-components/p-eb9b003a.entry.js +11 -0
- package/dist/solutions-components/p-ebbeec9f.entry.js +11 -0
- package/dist/solutions-components/p-ec8f042e.entry.js +6 -0
- package/dist/solutions-components/p-ecdd587c.entry.js +17 -0
- package/dist/solutions-components/p-ede84883.js +16 -0
- package/dist/solutions-components/p-efce2e85.js +6 -0
- package/dist/solutions-components/p-f10944e6.js +11 -0
- package/dist/solutions-components/p-f3626331.entry.js +11 -0
- package/dist/solutions-components/p-f3d277c2.entry.js +11 -0
- package/dist/solutions-components/p-f3dfb34f.entry.js +12 -0
- package/dist/solutions-components/p-f3f09834.js +6 -0
- package/dist/solutions-components/p-f4e91113.js +6 -0
- package/dist/solutions-components/p-f84848b0.entry.js +22 -0
- package/dist/solutions-components/p-f8f18a94.entry.js +12 -0
- package/dist/solutions-components/p-f9e3a93d.js +11 -0
- package/dist/solutions-components/p-f9eb2f2d.js +17 -0
- package/dist/solutions-components/p-f9ff6c29.entry.js +6 -0
- package/dist/solutions-components/p-fa6ef970.js +6 -0
- package/dist/solutions-components/p-fc8338c6.entry.js +6 -0
- package/dist/solutions-components/p-fe68d502.js +6 -0
- package/dist/solutions-components/p-ffee4847.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components_commit.txt +5 -6
- package/dist/types/monaco.d.ts +8191 -0
- package/dist/types/preact.d.ts +180 -180
- package/package.json +111 -109
- package/dist/assets/t9n/add-record-modal/index.d.ts +0 -10
- package/dist/assets/t9n/arcgis-login/index.d.ts +0 -1
- package/dist/assets/t9n/buffer-tools/index.d.ts +0 -6
- package/dist/assets/t9n/card-manager/index.d.ts +0 -6
- package/dist/assets/t9n/comment-card/index.d.ts +0 -4
- package/dist/assets/t9n/crowdsource-manager/index.d.ts +0 -8
- package/dist/assets/t9n/crowdsource-reporter/index.d.ts +0 -1
- package/dist/assets/t9n/edit-card/index.d.ts +0 -3
- package/dist/assets/t9n/feature-comments/index.d.ts +0 -1
- package/dist/assets/t9n/feature-form-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/info-card/index.d.ts +0 -9
- package/dist/assets/t9n/instant-apps-export/index.d.ts +0 -12
- package/dist/assets/t9n/instant-apps-filter-list/index.d.ts +0 -16
- package/dist/assets/t9n/instant-apps-interactive-legend/index.d.ts +0 -17
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/index.d.ts +0 -38
- package/dist/assets/t9n/instant-apps-language-translator/index.d.ts +0 -65
- package/dist/assets/t9n/instant-apps-measurement/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-popover/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-scoreboard/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-social-share/index.d.ts +0 -36
- package/dist/assets/t9n/instant-apps-splash/index.d.ts +0 -3
- package/dist/assets/t9n/json-editor/index.d.ts +0 -8
- package/dist/assets/t9n/layer-table/index.d.ts +0 -28
- package/dist/assets/t9n/layout-manager/index.d.ts +0 -7
- package/dist/assets/t9n/list-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/location-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/map-card/index.d.ts +0 -3
- package/dist/assets/t9n/map-draw-tools/index.d.ts +0 -5
- package/dist/assets/t9n/map-layer-picker/index.d.ts +0 -5
- package/dist/assets/t9n/map-picker/index.d.ts +0 -3
- package/dist/assets/t9n/map-search/index.d.ts +0 -3
- package/dist/assets/t9n/map-select-tools/index.d.ts +0 -16
- package/dist/assets/t9n/map-tools/index.d.ts +0 -10
- package/dist/assets/t9n/media-card/index.d.ts +0 -5
- package/dist/assets/t9n/pdf-download/index.d.ts +0 -3
- package/dist/assets/t9n/public-notification/index.d.ts +0 -42
- package/dist/assets/t9n/refine-selection/index.d.ts +0 -9
- package/dist/assets/t9n/share-item/index.d.ts +0 -1
- package/dist/assets/t9n/solution-configuration/index.d.ts +0 -15
- package/dist/assets/t9n/solution-item/index.d.ts +0 -8
- package/dist/assets/t9n/solution-item-details/index.d.ts +0 -8
- package/dist/assets/t9n/solution-item-sharing/index.d.ts +0 -3
- package/dist/assets/t9n/solution-organization-variables/index.d.ts +0 -3
- package/dist/assets/t9n/solution-resource-item/index.d.ts +0 -8
- package/dist/assets/t9n/solution-spatial-ref/index.d.ts +0 -6
- package/dist/assets/t9n/solution-template-data/index.d.ts +0 -5
- package/dist/assets/t9n/solution-variables/index.d.ts +0 -3
- package/dist/assets/t9n/spatial-ref/index.d.ts +0 -3
- package/dist/assets/t9n/store-manager/index.d.ts +0 -1
- package/dist/cjs/ExpandToggle-817ccf38.js +0 -118
- package/dist/cjs/FloatingArrow-9bcb9e39.js +0 -50
- package/dist/cjs/Heading-f0383b92.js +0 -25
- package/dist/cjs/app-globals-127cde88.js +0 -69
- package/dist/cjs/ar-1faa7d7d.js +0 -104
- package/dist/cjs/bg-4d9cf392.js +0 -82
- package/dist/cjs/bs-87311f13.js +0 -51
- package/dist/cjs/ca-c533185f.js +0 -71
- package/dist/cjs/calcite-input-time-picker-fc18d09a.js +0 -1847
- package/dist/cjs/common-7f2082e5.js +0 -38
- package/dist/cjs/conditionalSlot-0be6171f.js +0 -63
- package/dist/cjs/cs-5a59562e.js +0 -147
- package/dist/cjs/da-b30dd248.js +0 -66
- package/dist/cjs/date-36e46ea6.js +0 -261
- package/dist/cjs/de-77484baa.js +0 -91
- package/dist/cjs/de-at-8c79eb0f.js +0 -90
- package/dist/cjs/de-ch-3efd6700.js +0 -90
- package/dist/cjs/dom-3532b4e4.js +0 -1087
- package/dist/cjs/downloadUtils-aedb5bf6.js +0 -3095
- package/dist/cjs/el-6fbc3bc9.js +0 -66
- package/dist/cjs/en-au-743018fb.js +0 -66
- package/dist/cjs/en-ca-3f139cfb.js +0 -65
- package/dist/cjs/en-gb-6271968e.js +0 -69
- package/dist/cjs/es-0b70ae1c.js +0 -66
- package/dist/cjs/es-mx-69ac7c88.js +0 -65
- package/dist/cjs/et-59db03c6.js +0 -92
- package/dist/cjs/fi-6792c787.js +0 -115
- package/dist/cjs/filter-02931d81.js +0 -765
- package/dist/cjs/floating-ui-68d9cf85.js +0 -1918
- package/dist/cjs/focusTrapComponent-37ecfdab.js +0 -1028
- package/dist/cjs/form-b7bc281a.js +0 -260
- package/dist/cjs/fr-95775e8e.js +0 -68
- package/dist/cjs/fr-ch-07b1a3b0.js +0 -66
- package/dist/cjs/globalAttributes-8943d3a3.js +0 -77
- package/dist/cjs/he-40b642ab.js +0 -105
- package/dist/cjs/helpers-b54d3082.js +0 -903
- package/dist/cjs/hi-45503aee.js +0 -65
- package/dist/cjs/hr-2e14d177.js +0 -80
- package/dist/cjs/hu-33594a1a.js +0 -88
- package/dist/cjs/id-e8e8832c.js +0 -66
- package/dist/cjs/index-1dd06c65.js +0 -201
- package/dist/cjs/index-2ed5545a.js +0 -2532
- package/dist/cjs/index.es-f2719df9.js +0 -10852
- package/dist/cjs/interactive-101013d4.js +0 -147
- package/dist/cjs/it-6a19cd26.js +0 -66
- package/dist/cjs/it-ch-d57bf7c3.js +0 -66
- package/dist/cjs/ja-bf600e3d.js +0 -72
- package/dist/cjs/ko-df515d73.js +0 -72
- package/dist/cjs/label-fff46771.js +0 -186
- package/dist/cjs/languageSwitcher-3d3b39dd.js +0 -58
- package/dist/cjs/languageUtil-1e8c411a.js +0 -69
- package/dist/cjs/loadModules-4c86a3ad.js +0 -30
- package/dist/cjs/loadModules-946c1946.js +0 -23
- package/dist/cjs/loadable-ddfda3cb.js +0 -94
- package/dist/cjs/locale-21097ba6.js +0 -82
- package/dist/cjs/locale-b38efacf.js +0 -121
- package/dist/cjs/locale-eb5416f2.js +0 -584
- package/dist/cjs/lt-7a431e7e.js +0 -97
- package/dist/cjs/lv-21feaab4.js +0 -66
- package/dist/cjs/mapViewUtils-3eb6e609.js +0 -469
- package/dist/cjs/mk-d9314e40.js +0 -66
- package/dist/cjs/nb-3002ae87.js +0 -67
- package/dist/cjs/nl-c33a7b29.js +0 -67
- package/dist/cjs/openCloseComponent-6500785c.js +0 -92
- package/dist/cjs/pl-e2f641d8.js +0 -114
- package/dist/cjs/pt-bbbf4991.js +0 -67
- package/dist/cjs/pt-br-590240d8.js +0 -65
- package/dist/cjs/publicNotificationStore-20c11ad3.js +0 -47
- package/dist/cjs/purify-b928c67e.js +0 -1726
- package/dist/cjs/restHelpersGet-20db55a9.js +0 -934
- package/dist/cjs/ro-b50a3568.js +0 -66
- package/dist/cjs/ru-048dc256.js +0 -126
- package/dist/cjs/shared-list-render-cf397ca1.js +0 -364
- package/dist/cjs/sk-8f42e1d7.js +0 -148
- package/dist/cjs/sl-fcb7ca4a.js +0 -168
- package/dist/cjs/solution-resource-93d2edb1.js +0 -141
- package/dist/cjs/solution-store-18a2d74e.js +0 -1330
- package/dist/cjs/sr-adcb5f2c.js +0 -101
- package/dist/cjs/sv-291ad8d8.js +0 -71
- package/dist/cjs/t9n-0700950f.js +0 -100
- package/dist/cjs/th-1f8ae352.js +0 -65
- package/dist/cjs/throttle-4ed3a729.js +0 -75
- package/dist/cjs/time-c558fdba.js +0 -289
- package/dist/cjs/tr-e8bee7f8.js +0 -66
- package/dist/cjs/uk-bac40231.js +0 -104
- package/dist/cjs/utils-3f9f041f.js +0 -120
- package/dist/cjs/utils-9a5c4f89.js +0 -62
- package/dist/cjs/utils-a6c6f23d.js +0 -64
- package/dist/cjs/vi-21081da3.js +0 -70
- package/dist/cjs/zh-cn-c19380cc.js +0 -94
- package/dist/cjs/zh-hk-4dc0c98c.js +0 -71
- package/dist/cjs/zh-tw-02c2a621.js +0 -92
- package/dist/collection/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +0 -387
- package/dist/esm/ExpandToggle-b9006424.js +0 -110
- package/dist/esm/FloatingArrow-bb212ed0.js +0 -48
- package/dist/esm/Heading-c0ce7e4b.js +0 -22
- package/dist/esm/app-globals-6bdf3cae.js +0 -67
- package/dist/esm/ar-e817c594.js +0 -102
- package/dist/esm/bg-c538d7e4.js +0 -80
- package/dist/esm/bs-213b43f7.js +0 -49
- package/dist/esm/ca-769b2dcf.js +0 -69
- package/dist/esm/calcite-input-time-picker-3b625c9b.js +0 -1844
- package/dist/esm/common-e1460239.js +0 -36
- package/dist/esm/conditionalSlot-c2cdc3cc.js +0 -60
- package/dist/esm/cs-e7ba2567.js +0 -145
- package/dist/esm/da-60dd17c2.js +0 -64
- package/dist/esm/date-26df2cd9.js +0 -245
- package/dist/esm/de-at-5cba014b.js +0 -88
- package/dist/esm/de-ch-7091dedd.js +0 -88
- package/dist/esm/de-de2769c4.js +0 -89
- package/dist/esm/dom-eb5bed1c.js +0 -1056
- package/dist/esm/downloadUtils-14e503d3.js +0 -3090
- package/dist/esm/el-8d04fc83.js +0 -64
- package/dist/esm/en-au-f90d0076.js +0 -64
- package/dist/esm/en-ca-e7dff189.js +0 -63
- package/dist/esm/en-gb-de33a68b.js +0 -67
- package/dist/esm/es-f3c33183.js +0 -64
- package/dist/esm/es-mx-24cabff0.js +0 -63
- package/dist/esm/et-ce3bc99d.js +0 -90
- package/dist/esm/fi-e86b38f9.js +0 -113
- package/dist/esm/filter-38af63e6.js +0 -763
- package/dist/esm/floating-ui-21971993.js +0 -1910
- package/dist/esm/focusTrapComponent-0023638f.js +0 -1023
- package/dist/esm/form-97a3e830.js +0 -252
- package/dist/esm/fr-ch-c87556da.js +0 -64
- package/dist/esm/fr-deebbddc.js +0 -66
- package/dist/esm/globalAttributes-9314dfb3.js +0 -74
- package/dist/esm/he-a6418f1e.js +0 -103
- package/dist/esm/helpers-bf5ecfd6.js +0 -877
- package/dist/esm/hi-4fe025e6.js +0 -63
- package/dist/esm/hr-dbe4130c.js +0 -78
- package/dist/esm/hu-33bae3ab.js +0 -86
- package/dist/esm/id-c6f1843e.js +0 -64
- package/dist/esm/index-6b2dd90f.js +0 -2498
- package/dist/esm/index-aa6b7033.js +0 -199
- package/dist/esm/index.es-14036977.js +0 -10766
- package/dist/esm/interactive-754da4cd.js +0 -143
- package/dist/esm/it-80b1d6c8.js +0 -64
- package/dist/esm/it-ch-8e297e22.js +0 -64
- package/dist/esm/ja-78050c74.js +0 -70
- package/dist/esm/ko-4d44c869.js +0 -70
- package/dist/esm/label-afc422fb.js +0 -179
- package/dist/esm/languageSwitcher-d1766a22.js +0 -55
- package/dist/esm/languageUtil-7ca08515.js +0 -66
- package/dist/esm/loadModules-7bf27f90.js +0 -21
- package/dist/esm/loadModules-fdecaaec.js +0 -28
- package/dist/esm/loadable-9da00331.js +0 -89
- package/dist/esm/locale-1f3572e4.js +0 -77
- package/dist/esm/locale-5d32d5f4.js +0 -118
- package/dist/esm/locale-5e5469ac.js +0 -571
- package/dist/esm/lt-a67abd12.js +0 -95
- package/dist/esm/lv-a86a1a8e.js +0 -64
- package/dist/esm/mapViewUtils-b21ca0ac.js +0 -452
- package/dist/esm/mk-7741130f.js +0 -64
- package/dist/esm/nb-ebb2d499.js +0 -65
- package/dist/esm/nl-3de88217.js +0 -65
- package/dist/esm/openCloseComponent-697374e0.js +0 -90
- package/dist/esm/pl-eac0bd2f.js +0 -112
- package/dist/esm/pt-81a10022.js +0 -65
- package/dist/esm/pt-br-fd5c5c15.js +0 -63
- package/dist/esm/publicNotificationStore-dcb46bde.js +0 -45
- package/dist/esm/purify-24af905b.js +0 -1724
- package/dist/esm/restHelpersGet-57a51bca.js +0 -921
- package/dist/esm/ro-84f1494e.js +0 -64
- package/dist/esm/ru-4207d5ce.js +0 -124
- package/dist/esm/shared-list-render-9822f373.js +0 -342
- package/dist/esm/sk-cee3b9cc.js +0 -146
- package/dist/esm/sl-c4c248af.js +0 -166
- package/dist/esm/solution-resource-342904db.js +0 -138
- package/dist/esm/solution-store-294ba149.js +0 -1328
- package/dist/esm/sr-755dc8e6.js +0 -99
- package/dist/esm/sv-de83ad1a.js +0 -69
- package/dist/esm/t9n-0c5d99c4.js +0 -95
- package/dist/esm/th-353ccceb.js +0 -63
- package/dist/esm/throttle-9530dcf0.js +0 -73
- package/dist/esm/time-b88e70c8.js +0 -274
- package/dist/esm/tr-ac2382ba.js +0 -64
- package/dist/esm/uk-69e01d81.js +0 -102
- package/dist/esm/utils-4dc99bbb.js +0 -61
- package/dist/esm/utils-8ec2a8d5.js +0 -111
- package/dist/esm/utils-c5b069a6.js +0 -51
- package/dist/esm/vi-a2c9fb81.js +0 -68
- package/dist/esm/zh-cn-e0771769.js +0 -92
- package/dist/esm/zh-hk-f125cc0c.js +0 -69
- package/dist/esm/zh-tw-48a85069.js +0 -90
- package/dist/solutions-components/p-011767da.entry.js +0 -6
- package/dist/solutions-components/p-019bf7ce.entry.js +0 -6
- package/dist/solutions-components/p-0283dd2e.js +0 -6
- package/dist/solutions-components/p-028bb9a5.entry.js +0 -11
- package/dist/solutions-components/p-035652d2.entry.js +0 -11
- package/dist/solutions-components/p-04026f1f.js +0 -8
- package/dist/solutions-components/p-0452cb66.entry.js +0 -6
- package/dist/solutions-components/p-049ce6f8.entry.js +0 -16
- package/dist/solutions-components/p-04af5bc4.entry.js +0 -6
- package/dist/solutions-components/p-0512396e.entry.js +0 -11
- package/dist/solutions-components/p-05de45f5.entry.js +0 -6
- package/dist/solutions-components/p-067c5df3.js +0 -6
- package/dist/solutions-components/p-083faade.entry.js +0 -6
- package/dist/solutions-components/p-08988be0.js +0 -6
- package/dist/solutions-components/p-09075cfa.js +0 -6
- package/dist/solutions-components/p-09ada2ae.entry.js +0 -11
- package/dist/solutions-components/p-0a6ee349.js +0 -36
- package/dist/solutions-components/p-0bf6feff.entry.js +0 -6
- package/dist/solutions-components/p-0ce3bfc6.js +0 -11
- package/dist/solutions-components/p-0d76fdc5.entry.js +0 -6
- package/dist/solutions-components/p-0ea70808.js +0 -6
- package/dist/solutions-components/p-10882fb6.js +0 -6
- package/dist/solutions-components/p-1170ba45.entry.js +0 -11
- package/dist/solutions-components/p-1272c7ff.js +0 -6
- package/dist/solutions-components/p-135afb56.entry.js +0 -11
- package/dist/solutions-components/p-14c0367b.js +0 -6
- package/dist/solutions-components/p-1535c276.js +0 -6
- package/dist/solutions-components/p-158f331a.entry.js +0 -6
- package/dist/solutions-components/p-164259d0.entry.js +0 -12
- package/dist/solutions-components/p-1b29d7b1.entry.js +0 -11
- package/dist/solutions-components/p-1d0b8fdc.entry.js +0 -6
- package/dist/solutions-components/p-1edcc028.js +0 -21
- package/dist/solutions-components/p-1fbffc2a.js +0 -6
- package/dist/solutions-components/p-20f93e39.entry.js +0 -11
- package/dist/solutions-components/p-20fdc9b7.entry.js +0 -6
- package/dist/solutions-components/p-2395c425.js +0 -11
- package/dist/solutions-components/p-23d633cf.js +0 -11
- package/dist/solutions-components/p-23dd9d46.entry.js +0 -17
- package/dist/solutions-components/p-244a369a.entry.js +0 -6
- package/dist/solutions-components/p-27c7ec35.entry.js +0 -6
- package/dist/solutions-components/p-28c4dbc7.js +0 -11
- package/dist/solutions-components/p-2952c223.entry.js +0 -11
- package/dist/solutions-components/p-2c86746d.entry.js +0 -6
- package/dist/solutions-components/p-2d14147b.js +0 -6
- package/dist/solutions-components/p-2ee1209d.entry.js +0 -11
- package/dist/solutions-components/p-2f17251a.entry.js +0 -11
- package/dist/solutions-components/p-2f623c6c.entry.js +0 -11
- package/dist/solutions-components/p-3259f627.entry.js +0 -6
- package/dist/solutions-components/p-3318dd6e.entry.js +0 -6
- package/dist/solutions-components/p-3421d548.js +0 -6
- package/dist/solutions-components/p-395ff202.entry.js +0 -11
- package/dist/solutions-components/p-3c262f56.js +0 -11
- package/dist/solutions-components/p-3cc7e0bf.js +0 -6
- package/dist/solutions-components/p-3dcb3ec6.entry.js +0 -11
- package/dist/solutions-components/p-414c0db9.entry.js +0 -6
- package/dist/solutions-components/p-43a69f44.entry.js +0 -6
- package/dist/solutions-components/p-463c7edd.entry.js +0 -6
- package/dist/solutions-components/p-47d5adbf.entry.js +0 -6
- package/dist/solutions-components/p-4b407bca.entry.js +0 -11
- package/dist/solutions-components/p-4d3c4339.entry.js +0 -6
- package/dist/solutions-components/p-4dd6252a.js +0 -6
- package/dist/solutions-components/p-4ffb1666.js +0 -6
- package/dist/solutions-components/p-51f70c0f.js +0 -50
- package/dist/solutions-components/p-52167ca3.entry.js +0 -22
- package/dist/solutions-components/p-54e785c5.js +0 -11
- package/dist/solutions-components/p-561197ae.entry.js +0 -11
- package/dist/solutions-components/p-564cd4d8.entry.js +0 -6
- package/dist/solutions-components/p-57a1815c.entry.js +0 -11
- package/dist/solutions-components/p-58fd70b1.js +0 -6
- package/dist/solutions-components/p-59ee209a.js +0 -61
- package/dist/solutions-components/p-5ccd28a3.js +0 -474
- package/dist/solutions-components/p-5fb865d4.entry.js +0 -6
- package/dist/solutions-components/p-6024576c.entry.js +0 -11
- package/dist/solutions-components/p-607c89c8.js +0 -6
- package/dist/solutions-components/p-609c9d7e.js +0 -6
- package/dist/solutions-components/p-62259927.entry.js +0 -6
- package/dist/solutions-components/p-6244081f.js +0 -130
- package/dist/solutions-components/p-62d0f796.entry.js +0 -11
- package/dist/solutions-components/p-630b79b8.js +0 -6
- package/dist/solutions-components/p-647c4bdb.js +0 -22
- package/dist/solutions-components/p-65c0f748.entry.js +0 -11
- package/dist/solutions-components/p-65ef22d3.entry.js +0 -11
- package/dist/solutions-components/p-67165117.entry.js +0 -6
- package/dist/solutions-components/p-68567e31.entry.js +0 -6
- package/dist/solutions-components/p-6a5bbbe6.js +0 -21
- package/dist/solutions-components/p-6a727977.entry.js +0 -11
- package/dist/solutions-components/p-6b14cc7e.entry.js +0 -6
- package/dist/solutions-components/p-6c224b36.js +0 -6
- package/dist/solutions-components/p-6c932889.js +0 -11
- package/dist/solutions-components/p-6e1fc9fd.js +0 -21
- package/dist/solutions-components/p-6ebb8b36.js +0 -6
- package/dist/solutions-components/p-6f9cff0d.entry.js +0 -6
- package/dist/solutions-components/p-6ff33c47.js +0 -6
- package/dist/solutions-components/p-71b620cf.js +0 -6
- package/dist/solutions-components/p-729dde18.js +0 -21
- package/dist/solutions-components/p-761c16ed.entry.js +0 -6
- package/dist/solutions-components/p-768ad236.js +0 -6
- package/dist/solutions-components/p-790ee30b.entry.js +0 -17
- package/dist/solutions-components/p-792be6b2.entry.js +0 -11
- package/dist/solutions-components/p-7b9dda44.entry.js +0 -6
- package/dist/solutions-components/p-7f9bd076.entry.js +0 -6
- package/dist/solutions-components/p-81920123.entry.js +0 -6
- package/dist/solutions-components/p-82fdf707.entry.js +0 -11
- package/dist/solutions-components/p-830e72b4.js +0 -6
- package/dist/solutions-components/p-8527bf4b.entry.js +0 -6
- package/dist/solutions-components/p-861a83eb.entry.js +0 -11
- package/dist/solutions-components/p-868263d3.js +0 -6
- package/dist/solutions-components/p-874624ea.js +0 -6
- package/dist/solutions-components/p-882e74a1.js +0 -6
- package/dist/solutions-components/p-88cbaf7f.entry.js +0 -17
- package/dist/solutions-components/p-89365894.js +0 -6
- package/dist/solutions-components/p-8ba9eba7.entry.js +0 -11
- package/dist/solutions-components/p-8c4467ee.entry.js +0 -11
- package/dist/solutions-components/p-8dc37394.entry.js +0 -6
- package/dist/solutions-components/p-8e43aba3.entry.js +0 -6
- package/dist/solutions-components/p-8fdbb6f2.js +0 -12
- package/dist/solutions-components/p-90620197.entry.js +0 -6
- package/dist/solutions-components/p-910e4993.js +0 -6
- package/dist/solutions-components/p-92b12ad0.js +0 -6
- package/dist/solutions-components/p-92b563f9.js +0 -6
- package/dist/solutions-components/p-94ba42ec.js +0 -6
- package/dist/solutions-components/p-94df1842.js +0 -6
- package/dist/solutions-components/p-953fda45.entry.js +0 -6
- package/dist/solutions-components/p-9604fada.entry.js +0 -12
- package/dist/solutions-components/p-97ab28b4.entry.js +0 -21
- package/dist/solutions-components/p-97b13b3f.entry.js +0 -11
- package/dist/solutions-components/p-9907889f.js +0 -16
- package/dist/solutions-components/p-9a11a86b.entry.js +0 -11
- package/dist/solutions-components/p-9b46426a.js +0 -17
- package/dist/solutions-components/p-9ca4870b.js +0 -6
- package/dist/solutions-components/p-9ff8cf72.js +0 -6
- package/dist/solutions-components/p-a28057e8.entry.js +0 -6
- package/dist/solutions-components/p-a49efba1.js +0 -17
- package/dist/solutions-components/p-a5190904.entry.js +0 -6
- package/dist/solutions-components/p-a56b22c8.js +0 -6
- package/dist/solutions-components/p-a663c1ab.entry.js +0 -11
- package/dist/solutions-components/p-a7402cd7.js +0 -11
- package/dist/solutions-components/p-a79a92bc.js +0 -6
- package/dist/solutions-components/p-a7eb2d6c.js +0 -16
- package/dist/solutions-components/p-a8669ed9.js +0 -6
- package/dist/solutions-components/p-a8c24d3a.js +0 -16
- package/dist/solutions-components/p-a9ac285a.entry.js +0 -16
- package/dist/solutions-components/p-aacb905c.js +0 -11
- package/dist/solutions-components/p-abc63396.entry.js +0 -11
- package/dist/solutions-components/p-ac9ddc01.entry.js +0 -6
- package/dist/solutions-components/p-acc83f1a.entry.js +0 -11
- package/dist/solutions-components/p-ad243418.entry.js +0 -6
- package/dist/solutions-components/p-af42225b.entry.js +0 -47
- package/dist/solutions-components/p-af71a53f.entry.js +0 -17
- package/dist/solutions-components/p-afea124e.entry.js +0 -11
- package/dist/solutions-components/p-b00ce8db.entry.js +0 -11
- package/dist/solutions-components/p-b1e8596e.js +0 -11
- package/dist/solutions-components/p-b1e970f5.entry.js +0 -11
- package/dist/solutions-components/p-b23de6b9.entry.js +0 -6
- package/dist/solutions-components/p-b2b179ab.entry.js +0 -17
- package/dist/solutions-components/p-b3665ad1.js +0 -6
- package/dist/solutions-components/p-b5427580.js +0 -6
- package/dist/solutions-components/p-b5aba3e5.js +0 -6
- package/dist/solutions-components/p-b63e932f.entry.js +0 -6
- package/dist/solutions-components/p-b9345656.js +0 -6
- package/dist/solutions-components/p-b9d4587a.entry.js +0 -6
- package/dist/solutions-components/p-bb675f49.js +0 -11
- package/dist/solutions-components/p-bb68d649.js +0 -6
- package/dist/solutions-components/p-bbbbd3a7.entry.js +0 -11
- package/dist/solutions-components/p-bd416950.js +0 -6
- package/dist/solutions-components/p-c2865313.js +0 -6
- package/dist/solutions-components/p-c4ba432f.entry.js +0 -6
- package/dist/solutions-components/p-c4de6793.entry.js +0 -6
- package/dist/solutions-components/p-c664ada9.entry.js +0 -6
- package/dist/solutions-components/p-c82d391f.js +0 -6
- package/dist/solutions-components/p-c8ddae0d.entry.js +0 -11
- package/dist/solutions-components/p-c91f487a.entry.js +0 -6
- package/dist/solutions-components/p-c9af7cb8.js +0 -6
- package/dist/solutions-components/p-ca4061c3.js +0 -49
- package/dist/solutions-components/p-ca6ddf46.js +0 -6
- package/dist/solutions-components/p-cdac1223.entry.js +0 -11
- package/dist/solutions-components/p-cec7da74.entry.js +0 -11
- package/dist/solutions-components/p-d0bb6ca3.entry.js +0 -17
- package/dist/solutions-components/p-d22cacef.js +0 -6
- package/dist/solutions-components/p-d395caef.js +0 -11
- package/dist/solutions-components/p-d3a96b97.js +0 -6
- package/dist/solutions-components/p-d4a4ba7e.js +0 -11
- package/dist/solutions-components/p-d82c7328.entry.js +0 -6
- package/dist/solutions-components/p-d85d8528.entry.js +0 -6
- package/dist/solutions-components/p-d8f0d787.entry.js +0 -6
- package/dist/solutions-components/p-da61bede.entry.js +0 -11
- package/dist/solutions-components/p-db4e9400.entry.js +0 -6
- package/dist/solutions-components/p-dca25d3e.js +0 -11
- package/dist/solutions-components/p-dd11873e.entry.js +0 -12
- package/dist/solutions-components/p-deda072b.entry.js +0 -11
- package/dist/solutions-components/p-dfcf30cc.js +0 -7
- package/dist/solutions-components/p-e05880a7.entry.js +0 -6
- package/dist/solutions-components/p-e085289d.entry.js +0 -17
- package/dist/solutions-components/p-e3c5210a.entry.js +0 -21
- package/dist/solutions-components/p-e42db291.js +0 -6
- package/dist/solutions-components/p-e6579db5.js +0 -6
- package/dist/solutions-components/p-e9a7b4c8.entry.js +0 -6
- package/dist/solutions-components/p-eae915c0.entry.js +0 -11
- package/dist/solutions-components/p-ebf5b224.js +0 -6
- package/dist/solutions-components/p-ecfaf4d7.js +0 -11
- package/dist/solutions-components/p-ed116111.js +0 -11
- package/dist/solutions-components/p-ede08016.js +0 -6
- package/dist/solutions-components/p-ee0118e4.js +0 -6
- package/dist/solutions-components/p-ee5c18c2.js +0 -6
- package/dist/solutions-components/p-f1e9b756.entry.js +0 -6
- package/dist/solutions-components/p-f4772dcf.entry.js +0 -17
- package/dist/solutions-components/p-f4aecd64.entry.js +0 -11
- package/dist/solutions-components/p-f7d67177.entry.js +0 -6
- package/dist/solutions-components/p-fa4473b3.entry.js +0 -11
- package/dist/solutions-components/p-fac18708.entry.js +0 -6
- package/dist/solutions-components/p-fc384a88.entry.js +0 -29
- package/dist/solutions-components/p-fdff775f.entry.js +0 -11
- package/dist/solutions-components/p-fe949c1d.entry.js +0 -11
- package/dist/solutions-components/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +0 -387
- package/dist/types/assets/t9n/add-record-modal/index.d.ts +0 -10
- package/dist/types/assets/t9n/arcgis-login/index.d.ts +0 -1
- package/dist/types/assets/t9n/buffer-tools/index.d.ts +0 -6
- package/dist/types/assets/t9n/card-manager/index.d.ts +0 -6
- package/dist/types/assets/t9n/comment-card/index.d.ts +0 -4
- package/dist/types/assets/t9n/crowdsource-manager/index.d.ts +0 -8
- package/dist/types/assets/t9n/crowdsource-reporter/index.d.ts +0 -1
- package/dist/types/assets/t9n/edit-card/index.d.ts +0 -3
- package/dist/types/assets/t9n/feature-comments/index.d.ts +0 -1
- package/dist/types/assets/t9n/feature-form-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/info-card/index.d.ts +0 -9
- package/dist/types/assets/t9n/instant-apps-export/index.d.ts +0 -12
- package/dist/types/assets/t9n/instant-apps-filter-list/index.d.ts +0 -16
- package/dist/types/assets/t9n/instant-apps-interactive-legend/index.d.ts +0 -17
- package/dist/types/assets/t9n/instant-apps-keyboard-shortcuts/index.d.ts +0 -38
- package/dist/types/assets/t9n/instant-apps-language-translator/index.d.ts +0 -65
- package/dist/types/assets/t9n/instant-apps-measurement/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-popover/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-scoreboard/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-social-share/index.d.ts +0 -36
- package/dist/types/assets/t9n/instant-apps-splash/index.d.ts +0 -3
- package/dist/types/assets/t9n/json-editor/index.d.ts +0 -8
- package/dist/types/assets/t9n/layer-table/index.d.ts +0 -28
- package/dist/types/assets/t9n/layout-manager/index.d.ts +0 -7
- package/dist/types/assets/t9n/list-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/location-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/map-card/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-draw-tools/index.d.ts +0 -5
- package/dist/types/assets/t9n/map-layer-picker/index.d.ts +0 -5
- package/dist/types/assets/t9n/map-picker/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-search/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-select-tools/index.d.ts +0 -16
- package/dist/types/assets/t9n/map-tools/index.d.ts +0 -10
- package/dist/types/assets/t9n/media-card/index.d.ts +0 -5
- package/dist/types/assets/t9n/pdf-download/index.d.ts +0 -3
- package/dist/types/assets/t9n/public-notification/index.d.ts +0 -42
- package/dist/types/assets/t9n/refine-selection/index.d.ts +0 -9
- package/dist/types/assets/t9n/share-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/solution-configuration/index.d.ts +0 -15
- package/dist/types/assets/t9n/solution-item/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-item-details/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-item-sharing/index.d.ts +0 -3
- package/dist/types/assets/t9n/solution-organization-variables/index.d.ts +0 -3
- package/dist/types/assets/t9n/solution-resource-item/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-spatial-ref/index.d.ts +0 -6
- package/dist/types/assets/t9n/solution-template-data/index.d.ts +0 -5
- package/dist/types/assets/t9n/solution-variables/index.d.ts +0 -3
- package/dist/types/assets/t9n/spatial-ref/index.d.ts +0 -3
- package/dist/types/assets/t9n/store-manager/index.d.ts +0 -1
- /package/dist/cjs/{array-e1557681.js → array-1d19377b.js} +0 -0
- /package/dist/cjs/{breakpoints-101f3498.js → breakpoints-fcd0f2a0.js} +0 -0
- /package/dist/cjs/{browser-16e4bcaa.js → browser-9a43b900.js} +0 -0
- /package/dist/cjs/{component-9ae7f98c.js → component-c270a500.js} +0 -0
- /package/dist/cjs/{debounce-dc29e0d7.js → debounce-30afab47.js} +0 -0
- /package/dist/cjs/{esri-loader-f9cc896e.js → esri-loader-a91c0ec1.js} +0 -0
- /package/dist/cjs/{guid-915a25a4.js → guid-1a466ca6.js} +0 -0
- /package/dist/cjs/{html2canvas-f6c29bf8.js → html2canvas-34208bbf.js} +0 -0
- /package/dist/cjs/{index-ef33dd68.js → index-4c1b0d3c.js} +0 -0
- /package/dist/cjs/{index-2ade4bf3.js → index-c0ee2715.js} +0 -0
- /package/dist/cjs/{index-2c4c660f.js → index-f64944ad.js} +0 -0
- /package/dist/cjs/{key-3057c9ae.js → key-b8c05387.js} +0 -0
- /package/dist/cjs/{math-8083815d.js → math-6c9027e3.js} +0 -0
- /package/dist/cjs/{mode-eea7083b.js → mode-d6c12b38.js} +0 -0
- /package/dist/cjs/{observers-0dc2268b.js → observers-281a8c99.js} +0 -0
- /package/dist/cjs/{resources-0cdf5268.js → resources-0986c5c2.js} +0 -0
- /package/dist/cjs/{resources-97624e80.js → resources-222ad22c.js} +0 -0
- /package/dist/cjs/{resources-dab03f25.js → resources-228f9286.js} +0 -0
- /package/dist/cjs/{resources-40bb3b0f.js → resources-55ba2752.js} +0 -0
- /package/dist/cjs/{resources-eeb0b476.js → resources-6c60363a.js} +0 -0
- /package/dist/cjs/{resources-08594e64.js → resources-8e3763a4.js} +0 -0
- /package/dist/cjs/{resources-e6b1ec37.js → resources-9400a252.js} +0 -0
- /package/dist/cjs/{resources-989454ca.js → resources-a825d7ae.js} +0 -0
- /package/dist/cjs/{resources-ca92098e.js → resources-d2d7b7c7.js} +0 -0
- /package/dist/cjs/{resources-346657b2.js → resources-f3e0e822.js} +0 -0
- /package/dist/cjs/{sortableComponent-2df4ffc7.js → sortableComponent-188f3290.js} +0 -0
- /package/dist/cjs/{utils-d185873c.js → utils-234879c7.js} +0 -0
- /package/dist/cjs/{utils-ce788266.js → utils-c735a41d.js} +0 -0
- /package/dist/esm/{array-ee46de18.js → array-51c31356.js} +0 -0
- /package/dist/esm/{breakpoints-88967029.js → breakpoints-f0f1417d.js} +0 -0
- /package/dist/esm/{browser-d9c15d82.js → browser-b4c16201.js} +0 -0
- /package/dist/esm/{component-57d75546.js → component-98bae46b.js} +0 -0
- /package/dist/esm/{debounce-3a2354cd.js → debounce-229b1a22.js} +0 -0
- /package/dist/esm/{esri-loader-bf16520d.js → esri-loader-eda07632.js} +0 -0
- /package/dist/esm/{guid-3cc28ba2.js → guid-36c6c6a5.js} +0 -0
- /package/dist/esm/{html2canvas-2fee68d8.js → html2canvas-a0a4df55.js} +0 -0
- /package/dist/esm/{index-4efda611.js → index-5110a27a.js} +0 -0
- /package/dist/esm/{index-37abc70f.js → index-a1e91462.js} +0 -0
- /package/dist/esm/{index-eb5a4509.js → index-d8ff08ed.js} +0 -0
- /package/dist/esm/{key-adae9343.js → key-af303047.js} +0 -0
- /package/dist/esm/{math-a7230f76.js → math-cdaf4dc0.js} +0 -0
- /package/dist/esm/{mode-328b4c11.js → mode-66911cb5.js} +0 -0
- /package/dist/esm/{observers-0e786b1c.js → observers-8ce200f2.js} +0 -0
- /package/dist/esm/{resources-29d4d05f.js → resources-13098091.js} +0 -0
- /package/dist/esm/{resources-500077b3.js → resources-1a8d4d77.js} +0 -0
- /package/dist/esm/{resources-4bf2674a.js → resources-221791b0.js} +0 -0
- /package/dist/esm/{resources-65472b8b.js → resources-242fdf8d.js} +0 -0
- /package/dist/esm/{resources-44be2909.js → resources-4bcfc016.js} +0 -0
- /package/dist/esm/{resources-011302b8.js → resources-649a0f91.js} +0 -0
- /package/dist/esm/{resources-3ce376de.js → resources-6772a50d.js} +0 -0
- /package/dist/esm/{resources-529ffb0b.js → resources-6e00e0d1.js} +0 -0
- /package/dist/esm/{resources-b7b6b68c.js → resources-a0420cda.js} +0 -0
- /package/dist/esm/{resources-cfbc37a8.js → resources-cdc36705.js} +0 -0
- /package/dist/esm/{sortableComponent-50cfe8da.js → sortableComponent-65956286.js} +0 -0
- /package/dist/esm/{utils-809d6ba5.js → utils-86d242a6.js} +0 -0
- /package/dist/esm/{utils-619bc2ee.js → utils-abdd879e.js} +0 -0
- /package/dist/solutions-components/{p-31b622cd.js → p-0c07ad8a.js} +0 -0
- /package/dist/solutions-components/{p-52445921.js → p-1e2ffee3.js} +0 -0
- /package/dist/solutions-components/{p-16b08122.js → p-29d68474.js} +0 -0
- /package/dist/solutions-components/{p-748597df.js → p-32b6b6c9.js} +0 -0
- /package/dist/solutions-components/{p-f44d9211.js → p-35c58364.js} +0 -0
- /package/dist/solutions-components/{p-0953177a.js → p-3cce003d.js} +0 -0
- /package/dist/solutions-components/{p-950cebf2.js → p-3f279568.js} +0 -0
- /package/dist/solutions-components/{p-f6b96918.js → p-428554b4.js} +0 -0
- /package/dist/solutions-components/{p-a95649f7.js → p-475ad635.js} +0 -0
- /package/dist/solutions-components/{p-6f89a806.js → p-568822d4.js} +0 -0
- /package/dist/solutions-components/{p-2b56ecd9.js → p-5b566d55.js} +0 -0
- /package/dist/solutions-components/{p-b9c4c123.js → p-74062e42.js} +0 -0
- /package/dist/solutions-components/{p-974f5f01.js → p-775ad144.js} +0 -0
- /package/dist/solutions-components/{p-c5af6380.js → p-77b43a94.js} +0 -0
- /package/dist/solutions-components/{p-d68612ec.js → p-7f333e23.js} +0 -0
- /package/dist/solutions-components/{p-64e988e7.js → p-993e8bd0.js} +0 -0
- /package/dist/solutions-components/{p-aa6b47d1.js → p-a230b270.js} +0 -0
- /package/dist/solutions-components/{p-f67a0324.js → p-a82f35c9.js} +0 -0
- /package/dist/solutions-components/{p-f2fda308.js → p-abea8ef5.js} +0 -0
- /package/dist/solutions-components/{p-9fb768a8.js → p-b3ebaa79.js} +0 -0
- /package/dist/solutions-components/{p-a442727d.js → p-c92fff33.js} +0 -0
- /package/dist/solutions-components/{p-dac67a09.js → p-c96eb2db.js} +0 -0
- /package/dist/solutions-components/{p-f5e66598.js → p-c9fc3253.js} +0 -0
- /package/dist/solutions-components/{p-fec9937a.js → p-d32e6900.js} +0 -0
- /package/dist/solutions-components/{p-16ec7030.js → p-d918ec36.js} +0 -0
- /package/dist/solutions-components/{p-252a1f8a.js → p-dbacb910.js} +0 -0
- /package/dist/solutions-components/{p-1f74004b.js → p-ea83d12d.js} +0 -0
- /package/dist/solutions-components/{p-cbfdcfaf.js → p-fcefdfff.js} +0 -0
@@ -1,1918 +0,0 @@
|
|
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 dom = require('./dom-3532b4e4.js');
|
9
|
-
const debounce = require('./debounce-dc29e0d7.js');
|
10
|
-
|
11
|
-
const sides = ['top', 'right', 'bottom', 'left'];
|
12
|
-
const alignments = ['start', 'end'];
|
13
|
-
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
14
|
-
const min = Math.min;
|
15
|
-
const max = Math.max;
|
16
|
-
const round = Math.round;
|
17
|
-
const floor = Math.floor;
|
18
|
-
const createCoords = v => ({
|
19
|
-
x: v,
|
20
|
-
y: v
|
21
|
-
});
|
22
|
-
const oppositeSideMap = {
|
23
|
-
left: 'right',
|
24
|
-
right: 'left',
|
25
|
-
bottom: 'top',
|
26
|
-
top: 'bottom'
|
27
|
-
};
|
28
|
-
const oppositeAlignmentMap = {
|
29
|
-
start: 'end',
|
30
|
-
end: 'start'
|
31
|
-
};
|
32
|
-
function clamp(start, value, end) {
|
33
|
-
return max(start, min(value, end));
|
34
|
-
}
|
35
|
-
function evaluate(value, param) {
|
36
|
-
return typeof value === 'function' ? value(param) : value;
|
37
|
-
}
|
38
|
-
function getSide(placement) {
|
39
|
-
return placement.split('-')[0];
|
40
|
-
}
|
41
|
-
function getAlignment(placement) {
|
42
|
-
return placement.split('-')[1];
|
43
|
-
}
|
44
|
-
function getOppositeAxis(axis) {
|
45
|
-
return axis === 'x' ? 'y' : 'x';
|
46
|
-
}
|
47
|
-
function getAxisLength(axis) {
|
48
|
-
return axis === 'y' ? 'height' : 'width';
|
49
|
-
}
|
50
|
-
function getSideAxis(placement) {
|
51
|
-
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
52
|
-
}
|
53
|
-
function getAlignmentAxis(placement) {
|
54
|
-
return getOppositeAxis(getSideAxis(placement));
|
55
|
-
}
|
56
|
-
function getAlignmentSides(placement, rects, rtl) {
|
57
|
-
if (rtl === void 0) {
|
58
|
-
rtl = false;
|
59
|
-
}
|
60
|
-
const alignment = getAlignment(placement);
|
61
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
62
|
-
const length = getAxisLength(alignmentAxis);
|
63
|
-
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
64
|
-
if (rects.reference[length] > rects.floating[length]) {
|
65
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
66
|
-
}
|
67
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
68
|
-
}
|
69
|
-
function getExpandedPlacements(placement) {
|
70
|
-
const oppositePlacement = getOppositePlacement(placement);
|
71
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
72
|
-
}
|
73
|
-
function getOppositeAlignmentPlacement(placement) {
|
74
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
75
|
-
}
|
76
|
-
function getSideList(side, isStart, rtl) {
|
77
|
-
const lr = ['left', 'right'];
|
78
|
-
const rl = ['right', 'left'];
|
79
|
-
const tb = ['top', 'bottom'];
|
80
|
-
const bt = ['bottom', 'top'];
|
81
|
-
switch (side) {
|
82
|
-
case 'top':
|
83
|
-
case 'bottom':
|
84
|
-
if (rtl) return isStart ? rl : lr;
|
85
|
-
return isStart ? lr : rl;
|
86
|
-
case 'left':
|
87
|
-
case 'right':
|
88
|
-
return isStart ? tb : bt;
|
89
|
-
default:
|
90
|
-
return [];
|
91
|
-
}
|
92
|
-
}
|
93
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
94
|
-
const alignment = getAlignment(placement);
|
95
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
96
|
-
if (alignment) {
|
97
|
-
list = list.map(side => side + "-" + alignment);
|
98
|
-
if (flipAlignment) {
|
99
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
100
|
-
}
|
101
|
-
}
|
102
|
-
return list;
|
103
|
-
}
|
104
|
-
function getOppositePlacement(placement) {
|
105
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
106
|
-
}
|
107
|
-
function expandPaddingObject(padding) {
|
108
|
-
return {
|
109
|
-
top: 0,
|
110
|
-
right: 0,
|
111
|
-
bottom: 0,
|
112
|
-
left: 0,
|
113
|
-
...padding
|
114
|
-
};
|
115
|
-
}
|
116
|
-
function getPaddingObject(padding) {
|
117
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
118
|
-
top: padding,
|
119
|
-
right: padding,
|
120
|
-
bottom: padding,
|
121
|
-
left: padding
|
122
|
-
};
|
123
|
-
}
|
124
|
-
function rectToClientRect(rect) {
|
125
|
-
return {
|
126
|
-
...rect,
|
127
|
-
top: rect.y,
|
128
|
-
left: rect.x,
|
129
|
-
right: rect.x + rect.width,
|
130
|
-
bottom: rect.y + rect.height
|
131
|
-
};
|
132
|
-
}
|
133
|
-
|
134
|
-
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
135
|
-
let {
|
136
|
-
reference,
|
137
|
-
floating
|
138
|
-
} = _ref;
|
139
|
-
const sideAxis = getSideAxis(placement);
|
140
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
141
|
-
const alignLength = getAxisLength(alignmentAxis);
|
142
|
-
const side = getSide(placement);
|
143
|
-
const isVertical = sideAxis === 'y';
|
144
|
-
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
145
|
-
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
146
|
-
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
147
|
-
let coords;
|
148
|
-
switch (side) {
|
149
|
-
case 'top':
|
150
|
-
coords = {
|
151
|
-
x: commonX,
|
152
|
-
y: reference.y - floating.height
|
153
|
-
};
|
154
|
-
break;
|
155
|
-
case 'bottom':
|
156
|
-
coords = {
|
157
|
-
x: commonX,
|
158
|
-
y: reference.y + reference.height
|
159
|
-
};
|
160
|
-
break;
|
161
|
-
case 'right':
|
162
|
-
coords = {
|
163
|
-
x: reference.x + reference.width,
|
164
|
-
y: commonY
|
165
|
-
};
|
166
|
-
break;
|
167
|
-
case 'left':
|
168
|
-
coords = {
|
169
|
-
x: reference.x - floating.width,
|
170
|
-
y: commonY
|
171
|
-
};
|
172
|
-
break;
|
173
|
-
default:
|
174
|
-
coords = {
|
175
|
-
x: reference.x,
|
176
|
-
y: reference.y
|
177
|
-
};
|
178
|
-
}
|
179
|
-
switch (getAlignment(placement)) {
|
180
|
-
case 'start':
|
181
|
-
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
182
|
-
break;
|
183
|
-
case 'end':
|
184
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
185
|
-
break;
|
186
|
-
}
|
187
|
-
return coords;
|
188
|
-
}
|
189
|
-
|
190
|
-
/**
|
191
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
192
|
-
* next to a reference element when it is given a certain positioning strategy.
|
193
|
-
*
|
194
|
-
* This export does not have any `platform` interface logic. You will need to
|
195
|
-
* write one for the platform you are using Floating UI with.
|
196
|
-
*/
|
197
|
-
const computePosition$1 = async (reference, floating, config) => {
|
198
|
-
const {
|
199
|
-
placement = 'bottom',
|
200
|
-
strategy = 'absolute',
|
201
|
-
middleware = [],
|
202
|
-
platform
|
203
|
-
} = config;
|
204
|
-
const validMiddleware = middleware.filter(Boolean);
|
205
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
206
|
-
let rects = await platform.getElementRects({
|
207
|
-
reference,
|
208
|
-
floating,
|
209
|
-
strategy
|
210
|
-
});
|
211
|
-
let {
|
212
|
-
x,
|
213
|
-
y
|
214
|
-
} = computeCoordsFromPlacement(rects, placement, rtl);
|
215
|
-
let statefulPlacement = placement;
|
216
|
-
let middlewareData = {};
|
217
|
-
let resetCount = 0;
|
218
|
-
for (let i = 0; i < validMiddleware.length; i++) {
|
219
|
-
const {
|
220
|
-
name,
|
221
|
-
fn
|
222
|
-
} = validMiddleware[i];
|
223
|
-
const {
|
224
|
-
x: nextX,
|
225
|
-
y: nextY,
|
226
|
-
data,
|
227
|
-
reset
|
228
|
-
} = await fn({
|
229
|
-
x,
|
230
|
-
y,
|
231
|
-
initialPlacement: placement,
|
232
|
-
placement: statefulPlacement,
|
233
|
-
strategy,
|
234
|
-
middlewareData,
|
235
|
-
rects,
|
236
|
-
platform,
|
237
|
-
elements: {
|
238
|
-
reference,
|
239
|
-
floating
|
240
|
-
}
|
241
|
-
});
|
242
|
-
x = nextX != null ? nextX : x;
|
243
|
-
y = nextY != null ? nextY : y;
|
244
|
-
middlewareData = {
|
245
|
-
...middlewareData,
|
246
|
-
[name]: {
|
247
|
-
...middlewareData[name],
|
248
|
-
...data
|
249
|
-
}
|
250
|
-
};
|
251
|
-
if (reset && resetCount <= 50) {
|
252
|
-
resetCount++;
|
253
|
-
if (typeof reset === 'object') {
|
254
|
-
if (reset.placement) {
|
255
|
-
statefulPlacement = reset.placement;
|
256
|
-
}
|
257
|
-
if (reset.rects) {
|
258
|
-
rects = reset.rects === true ? await platform.getElementRects({
|
259
|
-
reference,
|
260
|
-
floating,
|
261
|
-
strategy
|
262
|
-
}) : reset.rects;
|
263
|
-
}
|
264
|
-
({
|
265
|
-
x,
|
266
|
-
y
|
267
|
-
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
268
|
-
}
|
269
|
-
i = -1;
|
270
|
-
continue;
|
271
|
-
}
|
272
|
-
}
|
273
|
-
return {
|
274
|
-
x,
|
275
|
-
y,
|
276
|
-
placement: statefulPlacement,
|
277
|
-
strategy,
|
278
|
-
middlewareData
|
279
|
-
};
|
280
|
-
};
|
281
|
-
|
282
|
-
/**
|
283
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
284
|
-
* element is overflowing a given clipping boundary on each side.
|
285
|
-
* - positive = overflowing the boundary by that number of pixels
|
286
|
-
* - negative = how many pixels left before it will overflow
|
287
|
-
* - 0 = lies flush with the boundary
|
288
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
289
|
-
*/
|
290
|
-
async function detectOverflow(state, options) {
|
291
|
-
var _await$platform$isEle;
|
292
|
-
if (options === void 0) {
|
293
|
-
options = {};
|
294
|
-
}
|
295
|
-
const {
|
296
|
-
x,
|
297
|
-
y,
|
298
|
-
platform,
|
299
|
-
rects,
|
300
|
-
elements,
|
301
|
-
strategy
|
302
|
-
} = state;
|
303
|
-
const {
|
304
|
-
boundary = 'clippingAncestors',
|
305
|
-
rootBoundary = 'viewport',
|
306
|
-
elementContext = 'floating',
|
307
|
-
altBoundary = false,
|
308
|
-
padding = 0
|
309
|
-
} = evaluate(options, state);
|
310
|
-
const paddingObject = getPaddingObject(padding);
|
311
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
312
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
313
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
314
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
315
|
-
boundary,
|
316
|
-
rootBoundary,
|
317
|
-
strategy
|
318
|
-
}));
|
319
|
-
const rect = elementContext === 'floating' ? {
|
320
|
-
...rects.floating,
|
321
|
-
x,
|
322
|
-
y
|
323
|
-
} : rects.reference;
|
324
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
325
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
326
|
-
x: 1,
|
327
|
-
y: 1
|
328
|
-
} : {
|
329
|
-
x: 1,
|
330
|
-
y: 1
|
331
|
-
};
|
332
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
333
|
-
rect,
|
334
|
-
offsetParent,
|
335
|
-
strategy
|
336
|
-
}) : rect);
|
337
|
-
return {
|
338
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
339
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
340
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
341
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
342
|
-
};
|
343
|
-
}
|
344
|
-
|
345
|
-
/**
|
346
|
-
* Provides data to position an inner element of the floating element so that it
|
347
|
-
* appears centered to the reference element.
|
348
|
-
* @see https://floating-ui.com/docs/arrow
|
349
|
-
*/
|
350
|
-
const arrow = options => ({
|
351
|
-
name: 'arrow',
|
352
|
-
options,
|
353
|
-
async fn(state) {
|
354
|
-
const {
|
355
|
-
x,
|
356
|
-
y,
|
357
|
-
placement,
|
358
|
-
rects,
|
359
|
-
platform,
|
360
|
-
elements,
|
361
|
-
middlewareData
|
362
|
-
} = state;
|
363
|
-
// Since `element` is required, we don't Partial<> the type.
|
364
|
-
const {
|
365
|
-
element,
|
366
|
-
padding = 0
|
367
|
-
} = evaluate(options, state) || {};
|
368
|
-
if (element == null) {
|
369
|
-
return {};
|
370
|
-
}
|
371
|
-
const paddingObject = getPaddingObject(padding);
|
372
|
-
const coords = {
|
373
|
-
x,
|
374
|
-
y
|
375
|
-
};
|
376
|
-
const axis = getAlignmentAxis(placement);
|
377
|
-
const length = getAxisLength(axis);
|
378
|
-
const arrowDimensions = await platform.getDimensions(element);
|
379
|
-
const isYAxis = axis === 'y';
|
380
|
-
const minProp = isYAxis ? 'top' : 'left';
|
381
|
-
const maxProp = isYAxis ? 'bottom' : 'right';
|
382
|
-
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
383
|
-
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
384
|
-
const startDiff = coords[axis] - rects.reference[axis];
|
385
|
-
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
386
|
-
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
387
|
-
|
388
|
-
// DOM platform can return `window` as the `offsetParent`.
|
389
|
-
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
390
|
-
clientSize = elements.floating[clientProp] || rects.floating[length];
|
391
|
-
}
|
392
|
-
const centerToReference = endDiff / 2 - startDiff / 2;
|
393
|
-
|
394
|
-
// If the padding is large enough that it causes the arrow to no longer be
|
395
|
-
// centered, modify the padding so that it is centered.
|
396
|
-
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
397
|
-
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
398
|
-
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
399
|
-
|
400
|
-
// Make sure the arrow doesn't overflow the floating element if the center
|
401
|
-
// point is outside the floating element's bounds.
|
402
|
-
const min$1 = minPadding;
|
403
|
-
const max = clientSize - arrowDimensions[length] - maxPadding;
|
404
|
-
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
405
|
-
const offset = clamp(min$1, center, max);
|
406
|
-
|
407
|
-
// If the reference is small enough that the arrow's padding causes it to
|
408
|
-
// to point to nothing for an aligned placement, adjust the offset of the
|
409
|
-
// floating element itself. To ensure `shift()` continues to take action,
|
410
|
-
// a single reset is performed when this is true.
|
411
|
-
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
412
|
-
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
413
|
-
return {
|
414
|
-
[axis]: coords[axis] + alignmentOffset,
|
415
|
-
data: {
|
416
|
-
[axis]: offset,
|
417
|
-
centerOffset: center - offset - alignmentOffset,
|
418
|
-
...(shouldAddOffset && {
|
419
|
-
alignmentOffset
|
420
|
-
})
|
421
|
-
},
|
422
|
-
reset: shouldAddOffset
|
423
|
-
};
|
424
|
-
}
|
425
|
-
});
|
426
|
-
|
427
|
-
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
428
|
-
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
429
|
-
return allowedPlacementsSortedByAlignment.filter(placement => {
|
430
|
-
if (alignment) {
|
431
|
-
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
432
|
-
}
|
433
|
-
return true;
|
434
|
-
});
|
435
|
-
}
|
436
|
-
/**
|
437
|
-
* Optimizes the visibility of the floating element by choosing the placement
|
438
|
-
* that has the most space available automatically, without needing to specify a
|
439
|
-
* preferred placement. Alternative to `flip`.
|
440
|
-
* @see https://floating-ui.com/docs/autoPlacement
|
441
|
-
*/
|
442
|
-
const autoPlacement = function (options) {
|
443
|
-
if (options === void 0) {
|
444
|
-
options = {};
|
445
|
-
}
|
446
|
-
return {
|
447
|
-
name: 'autoPlacement',
|
448
|
-
options,
|
449
|
-
async fn(state) {
|
450
|
-
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
451
|
-
const {
|
452
|
-
rects,
|
453
|
-
middlewareData,
|
454
|
-
placement,
|
455
|
-
platform,
|
456
|
-
elements
|
457
|
-
} = state;
|
458
|
-
const {
|
459
|
-
crossAxis = false,
|
460
|
-
alignment,
|
461
|
-
allowedPlacements = placements,
|
462
|
-
autoAlignment = true,
|
463
|
-
...detectOverflowOptions
|
464
|
-
} = evaluate(options, state);
|
465
|
-
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
466
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
467
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
468
|
-
const currentPlacement = placements$1[currentIndex];
|
469
|
-
if (currentPlacement == null) {
|
470
|
-
return {};
|
471
|
-
}
|
472
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
473
|
-
|
474
|
-
// Make `computeCoords` start from the right place.
|
475
|
-
if (placement !== currentPlacement) {
|
476
|
-
return {
|
477
|
-
reset: {
|
478
|
-
placement: placements$1[0]
|
479
|
-
}
|
480
|
-
};
|
481
|
-
}
|
482
|
-
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
483
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
484
|
-
placement: currentPlacement,
|
485
|
-
overflows: currentOverflows
|
486
|
-
}];
|
487
|
-
const nextPlacement = placements$1[currentIndex + 1];
|
488
|
-
|
489
|
-
// There are more placements to check.
|
490
|
-
if (nextPlacement) {
|
491
|
-
return {
|
492
|
-
data: {
|
493
|
-
index: currentIndex + 1,
|
494
|
-
overflows: allOverflows
|
495
|
-
},
|
496
|
-
reset: {
|
497
|
-
placement: nextPlacement
|
498
|
-
}
|
499
|
-
};
|
500
|
-
}
|
501
|
-
const placementsSortedByMostSpace = allOverflows.map(d => {
|
502
|
-
const alignment = getAlignment(d.placement);
|
503
|
-
return [d.placement, alignment && crossAxis ?
|
504
|
-
// Check along the mainAxis and main crossAxis side.
|
505
|
-
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
506
|
-
// Check only the mainAxis.
|
507
|
-
d.overflows[0], d.overflows];
|
508
|
-
}).sort((a, b) => a[1] - b[1]);
|
509
|
-
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
510
|
-
// Aligned placements should not check their opposite crossAxis
|
511
|
-
// side.
|
512
|
-
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
513
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
514
|
-
if (resetPlacement !== placement) {
|
515
|
-
return {
|
516
|
-
data: {
|
517
|
-
index: currentIndex + 1,
|
518
|
-
overflows: allOverflows
|
519
|
-
},
|
520
|
-
reset: {
|
521
|
-
placement: resetPlacement
|
522
|
-
}
|
523
|
-
};
|
524
|
-
}
|
525
|
-
return {};
|
526
|
-
}
|
527
|
-
};
|
528
|
-
};
|
529
|
-
|
530
|
-
/**
|
531
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
532
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
533
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
534
|
-
* @see https://floating-ui.com/docs/flip
|
535
|
-
*/
|
536
|
-
const flip = function (options) {
|
537
|
-
if (options === void 0) {
|
538
|
-
options = {};
|
539
|
-
}
|
540
|
-
return {
|
541
|
-
name: 'flip',
|
542
|
-
options,
|
543
|
-
async fn(state) {
|
544
|
-
var _middlewareData$arrow, _middlewareData$flip;
|
545
|
-
const {
|
546
|
-
placement,
|
547
|
-
middlewareData,
|
548
|
-
rects,
|
549
|
-
initialPlacement,
|
550
|
-
platform,
|
551
|
-
elements
|
552
|
-
} = state;
|
553
|
-
const {
|
554
|
-
mainAxis: checkMainAxis = true,
|
555
|
-
crossAxis: checkCrossAxis = true,
|
556
|
-
fallbackPlacements: specifiedFallbackPlacements,
|
557
|
-
fallbackStrategy = 'bestFit',
|
558
|
-
fallbackAxisSideDirection = 'none',
|
559
|
-
flipAlignment = true,
|
560
|
-
...detectOverflowOptions
|
561
|
-
} = evaluate(options, state);
|
562
|
-
|
563
|
-
// If a reset by the arrow was caused due to an alignment offset being
|
564
|
-
// added, we should skip any logic now since `flip()` has already done its
|
565
|
-
// work.
|
566
|
-
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
567
|
-
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
568
|
-
return {};
|
569
|
-
}
|
570
|
-
const side = getSide(placement);
|
571
|
-
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
572
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
573
|
-
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
574
|
-
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
575
|
-
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
576
|
-
}
|
577
|
-
const placements = [initialPlacement, ...fallbackPlacements];
|
578
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
579
|
-
const overflows = [];
|
580
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
581
|
-
if (checkMainAxis) {
|
582
|
-
overflows.push(overflow[side]);
|
583
|
-
}
|
584
|
-
if (checkCrossAxis) {
|
585
|
-
const sides = getAlignmentSides(placement, rects, rtl);
|
586
|
-
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
587
|
-
}
|
588
|
-
overflowsData = [...overflowsData, {
|
589
|
-
placement,
|
590
|
-
overflows
|
591
|
-
}];
|
592
|
-
|
593
|
-
// One or more sides is overflowing.
|
594
|
-
if (!overflows.every(side => side <= 0)) {
|
595
|
-
var _middlewareData$flip2, _overflowsData$filter;
|
596
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
597
|
-
const nextPlacement = placements[nextIndex];
|
598
|
-
if (nextPlacement) {
|
599
|
-
// Try next placement and re-run the lifecycle.
|
600
|
-
return {
|
601
|
-
data: {
|
602
|
-
index: nextIndex,
|
603
|
-
overflows: overflowsData
|
604
|
-
},
|
605
|
-
reset: {
|
606
|
-
placement: nextPlacement
|
607
|
-
}
|
608
|
-
};
|
609
|
-
}
|
610
|
-
|
611
|
-
// First, find the candidates that fit on the mainAxis side of overflow,
|
612
|
-
// then find the placement that fits the best on the main crossAxis side.
|
613
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
614
|
-
|
615
|
-
// Otherwise fallback.
|
616
|
-
if (!resetPlacement) {
|
617
|
-
switch (fallbackStrategy) {
|
618
|
-
case 'bestFit':
|
619
|
-
{
|
620
|
-
var _overflowsData$map$so;
|
621
|
-
const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0];
|
622
|
-
if (placement) {
|
623
|
-
resetPlacement = placement;
|
624
|
-
}
|
625
|
-
break;
|
626
|
-
}
|
627
|
-
case 'initialPlacement':
|
628
|
-
resetPlacement = initialPlacement;
|
629
|
-
break;
|
630
|
-
}
|
631
|
-
}
|
632
|
-
if (placement !== resetPlacement) {
|
633
|
-
return {
|
634
|
-
reset: {
|
635
|
-
placement: resetPlacement
|
636
|
-
}
|
637
|
-
};
|
638
|
-
}
|
639
|
-
}
|
640
|
-
return {};
|
641
|
-
}
|
642
|
-
};
|
643
|
-
};
|
644
|
-
|
645
|
-
function getSideOffsets(overflow, rect) {
|
646
|
-
return {
|
647
|
-
top: overflow.top - rect.height,
|
648
|
-
right: overflow.right - rect.width,
|
649
|
-
bottom: overflow.bottom - rect.height,
|
650
|
-
left: overflow.left - rect.width
|
651
|
-
};
|
652
|
-
}
|
653
|
-
function isAnySideFullyClipped(overflow) {
|
654
|
-
return sides.some(side => overflow[side] >= 0);
|
655
|
-
}
|
656
|
-
/**
|
657
|
-
* Provides data to hide the floating element in applicable situations, such as
|
658
|
-
* when it is not in the same clipping context as the reference element.
|
659
|
-
* @see https://floating-ui.com/docs/hide
|
660
|
-
*/
|
661
|
-
const hide = function (options) {
|
662
|
-
if (options === void 0) {
|
663
|
-
options = {};
|
664
|
-
}
|
665
|
-
return {
|
666
|
-
name: 'hide',
|
667
|
-
options,
|
668
|
-
async fn(state) {
|
669
|
-
const {
|
670
|
-
rects
|
671
|
-
} = state;
|
672
|
-
const {
|
673
|
-
strategy = 'referenceHidden',
|
674
|
-
...detectOverflowOptions
|
675
|
-
} = evaluate(options, state);
|
676
|
-
switch (strategy) {
|
677
|
-
case 'referenceHidden':
|
678
|
-
{
|
679
|
-
const overflow = await detectOverflow(state, {
|
680
|
-
...detectOverflowOptions,
|
681
|
-
elementContext: 'reference'
|
682
|
-
});
|
683
|
-
const offsets = getSideOffsets(overflow, rects.reference);
|
684
|
-
return {
|
685
|
-
data: {
|
686
|
-
referenceHiddenOffsets: offsets,
|
687
|
-
referenceHidden: isAnySideFullyClipped(offsets)
|
688
|
-
}
|
689
|
-
};
|
690
|
-
}
|
691
|
-
case 'escaped':
|
692
|
-
{
|
693
|
-
const overflow = await detectOverflow(state, {
|
694
|
-
...detectOverflowOptions,
|
695
|
-
altBoundary: true
|
696
|
-
});
|
697
|
-
const offsets = getSideOffsets(overflow, rects.floating);
|
698
|
-
return {
|
699
|
-
data: {
|
700
|
-
escapedOffsets: offsets,
|
701
|
-
escaped: isAnySideFullyClipped(offsets)
|
702
|
-
}
|
703
|
-
};
|
704
|
-
}
|
705
|
-
default:
|
706
|
-
{
|
707
|
-
return {};
|
708
|
-
}
|
709
|
-
}
|
710
|
-
}
|
711
|
-
};
|
712
|
-
};
|
713
|
-
|
714
|
-
// For type backwards-compatibility, the `OffsetOptions` type was also
|
715
|
-
// Derivable.
|
716
|
-
async function convertValueToCoords(state, options) {
|
717
|
-
const {
|
718
|
-
placement,
|
719
|
-
platform,
|
720
|
-
elements
|
721
|
-
} = state;
|
722
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
723
|
-
const side = getSide(placement);
|
724
|
-
const alignment = getAlignment(placement);
|
725
|
-
const isVertical = getSideAxis(placement) === 'y';
|
726
|
-
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
727
|
-
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
728
|
-
const rawValue = evaluate(options, state);
|
729
|
-
|
730
|
-
// eslint-disable-next-line prefer-const
|
731
|
-
let {
|
732
|
-
mainAxis,
|
733
|
-
crossAxis,
|
734
|
-
alignmentAxis
|
735
|
-
} = typeof rawValue === 'number' ? {
|
736
|
-
mainAxis: rawValue,
|
737
|
-
crossAxis: 0,
|
738
|
-
alignmentAxis: null
|
739
|
-
} : {
|
740
|
-
mainAxis: 0,
|
741
|
-
crossAxis: 0,
|
742
|
-
alignmentAxis: null,
|
743
|
-
...rawValue
|
744
|
-
};
|
745
|
-
if (alignment && typeof alignmentAxis === 'number') {
|
746
|
-
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
747
|
-
}
|
748
|
-
return isVertical ? {
|
749
|
-
x: crossAxis * crossAxisMulti,
|
750
|
-
y: mainAxis * mainAxisMulti
|
751
|
-
} : {
|
752
|
-
x: mainAxis * mainAxisMulti,
|
753
|
-
y: crossAxis * crossAxisMulti
|
754
|
-
};
|
755
|
-
}
|
756
|
-
|
757
|
-
/**
|
758
|
-
* Modifies the placement by translating the floating element along the
|
759
|
-
* specified axes.
|
760
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
761
|
-
* object may be passed.
|
762
|
-
* @see https://floating-ui.com/docs/offset
|
763
|
-
*/
|
764
|
-
const offset = function (options) {
|
765
|
-
if (options === void 0) {
|
766
|
-
options = 0;
|
767
|
-
}
|
768
|
-
return {
|
769
|
-
name: 'offset',
|
770
|
-
options,
|
771
|
-
async fn(state) {
|
772
|
-
var _middlewareData$offse, _middlewareData$arrow;
|
773
|
-
const {
|
774
|
-
x,
|
775
|
-
y,
|
776
|
-
placement,
|
777
|
-
middlewareData
|
778
|
-
} = state;
|
779
|
-
const diffCoords = await convertValueToCoords(state, options);
|
780
|
-
|
781
|
-
// If the placement is the same and the arrow caused an alignment offset
|
782
|
-
// then we don't need to change the positioning coordinates.
|
783
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
784
|
-
return {};
|
785
|
-
}
|
786
|
-
return {
|
787
|
-
x: x + diffCoords.x,
|
788
|
-
y: y + diffCoords.y,
|
789
|
-
data: {
|
790
|
-
...diffCoords,
|
791
|
-
placement
|
792
|
-
}
|
793
|
-
};
|
794
|
-
}
|
795
|
-
};
|
796
|
-
};
|
797
|
-
|
798
|
-
/**
|
799
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
800
|
-
* keep it in view when it will overflow the clipping boundary.
|
801
|
-
* @see https://floating-ui.com/docs/shift
|
802
|
-
*/
|
803
|
-
const shift = function (options) {
|
804
|
-
if (options === void 0) {
|
805
|
-
options = {};
|
806
|
-
}
|
807
|
-
return {
|
808
|
-
name: 'shift',
|
809
|
-
options,
|
810
|
-
async fn(state) {
|
811
|
-
const {
|
812
|
-
x,
|
813
|
-
y,
|
814
|
-
placement
|
815
|
-
} = state;
|
816
|
-
const {
|
817
|
-
mainAxis: checkMainAxis = true,
|
818
|
-
crossAxis: checkCrossAxis = false,
|
819
|
-
limiter = {
|
820
|
-
fn: _ref => {
|
821
|
-
let {
|
822
|
-
x,
|
823
|
-
y
|
824
|
-
} = _ref;
|
825
|
-
return {
|
826
|
-
x,
|
827
|
-
y
|
828
|
-
};
|
829
|
-
}
|
830
|
-
},
|
831
|
-
...detectOverflowOptions
|
832
|
-
} = evaluate(options, state);
|
833
|
-
const coords = {
|
834
|
-
x,
|
835
|
-
y
|
836
|
-
};
|
837
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
838
|
-
const crossAxis = getSideAxis(getSide(placement));
|
839
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
840
|
-
let mainAxisCoord = coords[mainAxis];
|
841
|
-
let crossAxisCoord = coords[crossAxis];
|
842
|
-
if (checkMainAxis) {
|
843
|
-
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
844
|
-
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
845
|
-
const min = mainAxisCoord + overflow[minSide];
|
846
|
-
const max = mainAxisCoord - overflow[maxSide];
|
847
|
-
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
848
|
-
}
|
849
|
-
if (checkCrossAxis) {
|
850
|
-
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
851
|
-
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
852
|
-
const min = crossAxisCoord + overflow[minSide];
|
853
|
-
const max = crossAxisCoord - overflow[maxSide];
|
854
|
-
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
855
|
-
}
|
856
|
-
const limitedCoords = limiter.fn({
|
857
|
-
...state,
|
858
|
-
[mainAxis]: mainAxisCoord,
|
859
|
-
[crossAxis]: crossAxisCoord
|
860
|
-
});
|
861
|
-
return {
|
862
|
-
...limitedCoords,
|
863
|
-
data: {
|
864
|
-
x: limitedCoords.x - x,
|
865
|
-
y: limitedCoords.y - y
|
866
|
-
}
|
867
|
-
};
|
868
|
-
}
|
869
|
-
};
|
870
|
-
};
|
871
|
-
|
872
|
-
function getNodeName(node) {
|
873
|
-
if (isNode(node)) {
|
874
|
-
return (node.nodeName || '').toLowerCase();
|
875
|
-
}
|
876
|
-
// Mocked nodes in testing environments may not be instances of Node. By
|
877
|
-
// returning `#document` an infinite loop won't occur.
|
878
|
-
// https://github.com/floating-ui/floating-ui/issues/2317
|
879
|
-
return '#document';
|
880
|
-
}
|
881
|
-
function getWindow(node) {
|
882
|
-
var _node$ownerDocument;
|
883
|
-
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
884
|
-
}
|
885
|
-
function getDocumentElement(node) {
|
886
|
-
var _ref;
|
887
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
888
|
-
}
|
889
|
-
function isNode(value) {
|
890
|
-
return value instanceof Node || value instanceof getWindow(value).Node;
|
891
|
-
}
|
892
|
-
function isElement(value) {
|
893
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
894
|
-
}
|
895
|
-
function isHTMLElement(value) {
|
896
|
-
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
897
|
-
}
|
898
|
-
function isShadowRoot(value) {
|
899
|
-
// Browsers without `ShadowRoot` support.
|
900
|
-
if (typeof ShadowRoot === 'undefined') {
|
901
|
-
return false;
|
902
|
-
}
|
903
|
-
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
904
|
-
}
|
905
|
-
function isOverflowElement(element) {
|
906
|
-
const {
|
907
|
-
overflow,
|
908
|
-
overflowX,
|
909
|
-
overflowY,
|
910
|
-
display
|
911
|
-
} = getComputedStyle$1(element);
|
912
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
913
|
-
}
|
914
|
-
function isTableElement(element) {
|
915
|
-
return ['table', 'td', 'th'].includes(getNodeName(element));
|
916
|
-
}
|
917
|
-
function isContainingBlock(element) {
|
918
|
-
const webkit = isWebKit();
|
919
|
-
const css = getComputedStyle$1(element);
|
920
|
-
|
921
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
922
|
-
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
923
|
-
}
|
924
|
-
function getContainingBlock(element) {
|
925
|
-
let currentNode = getParentNode(element);
|
926
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
927
|
-
if (isContainingBlock(currentNode)) {
|
928
|
-
return currentNode;
|
929
|
-
} else {
|
930
|
-
currentNode = getParentNode(currentNode);
|
931
|
-
}
|
932
|
-
}
|
933
|
-
return null;
|
934
|
-
}
|
935
|
-
function isWebKit() {
|
936
|
-
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
937
|
-
return CSS.supports('-webkit-backdrop-filter', 'none');
|
938
|
-
}
|
939
|
-
function isLastTraversableNode(node) {
|
940
|
-
return ['html', 'body', '#document'].includes(getNodeName(node));
|
941
|
-
}
|
942
|
-
function getComputedStyle$1(element) {
|
943
|
-
return getWindow(element).getComputedStyle(element);
|
944
|
-
}
|
945
|
-
function getNodeScroll(element) {
|
946
|
-
if (isElement(element)) {
|
947
|
-
return {
|
948
|
-
scrollLeft: element.scrollLeft,
|
949
|
-
scrollTop: element.scrollTop
|
950
|
-
};
|
951
|
-
}
|
952
|
-
return {
|
953
|
-
scrollLeft: element.pageXOffset,
|
954
|
-
scrollTop: element.pageYOffset
|
955
|
-
};
|
956
|
-
}
|
957
|
-
function getParentNode(node) {
|
958
|
-
if (getNodeName(node) === 'html') {
|
959
|
-
return node;
|
960
|
-
}
|
961
|
-
const result =
|
962
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
963
|
-
node.assignedSlot ||
|
964
|
-
// DOM Element detected.
|
965
|
-
node.parentNode ||
|
966
|
-
// ShadowRoot detected.
|
967
|
-
isShadowRoot(node) && node.host ||
|
968
|
-
// Fallback.
|
969
|
-
getDocumentElement(node);
|
970
|
-
return isShadowRoot(result) ? result.host : result;
|
971
|
-
}
|
972
|
-
function getNearestOverflowAncestor(node) {
|
973
|
-
const parentNode = getParentNode(node);
|
974
|
-
if (isLastTraversableNode(parentNode)) {
|
975
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
976
|
-
}
|
977
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
978
|
-
return parentNode;
|
979
|
-
}
|
980
|
-
return getNearestOverflowAncestor(parentNode);
|
981
|
-
}
|
982
|
-
function getOverflowAncestors(node, list, traverseIframes) {
|
983
|
-
var _node$ownerDocument2;
|
984
|
-
if (list === void 0) {
|
985
|
-
list = [];
|
986
|
-
}
|
987
|
-
if (traverseIframes === void 0) {
|
988
|
-
traverseIframes = true;
|
989
|
-
}
|
990
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
991
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
992
|
-
const win = getWindow(scrollableAncestor);
|
993
|
-
if (isBody) {
|
994
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
995
|
-
}
|
996
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
997
|
-
}
|
998
|
-
|
999
|
-
function getCssDimensions(element) {
|
1000
|
-
const css = getComputedStyle$1(element);
|
1001
|
-
// In testing environments, the `width` and `height` properties are empty
|
1002
|
-
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
1003
|
-
let width = parseFloat(css.width) || 0;
|
1004
|
-
let height = parseFloat(css.height) || 0;
|
1005
|
-
const hasOffset = isHTMLElement(element);
|
1006
|
-
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
1007
|
-
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
1008
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
1009
|
-
if (shouldFallback) {
|
1010
|
-
width = offsetWidth;
|
1011
|
-
height = offsetHeight;
|
1012
|
-
}
|
1013
|
-
return {
|
1014
|
-
width,
|
1015
|
-
height,
|
1016
|
-
$: shouldFallback
|
1017
|
-
};
|
1018
|
-
}
|
1019
|
-
|
1020
|
-
function unwrapElement(element) {
|
1021
|
-
return !isElement(element) ? element.contextElement : element;
|
1022
|
-
}
|
1023
|
-
|
1024
|
-
function getScale(element) {
|
1025
|
-
const domElement = unwrapElement(element);
|
1026
|
-
if (!isHTMLElement(domElement)) {
|
1027
|
-
return createCoords(1);
|
1028
|
-
}
|
1029
|
-
const rect = domElement.getBoundingClientRect();
|
1030
|
-
const {
|
1031
|
-
width,
|
1032
|
-
height,
|
1033
|
-
$
|
1034
|
-
} = getCssDimensions(domElement);
|
1035
|
-
let x = ($ ? round(rect.width) : rect.width) / width;
|
1036
|
-
let y = ($ ? round(rect.height) : rect.height) / height;
|
1037
|
-
|
1038
|
-
// 0, NaN, or Infinity should always fallback to 1.
|
1039
|
-
|
1040
|
-
if (!x || !Number.isFinite(x)) {
|
1041
|
-
x = 1;
|
1042
|
-
}
|
1043
|
-
if (!y || !Number.isFinite(y)) {
|
1044
|
-
y = 1;
|
1045
|
-
}
|
1046
|
-
return {
|
1047
|
-
x,
|
1048
|
-
y
|
1049
|
-
};
|
1050
|
-
}
|
1051
|
-
|
1052
|
-
const noOffsets = /*#__PURE__*/createCoords(0);
|
1053
|
-
function getVisualOffsets(element) {
|
1054
|
-
const win = getWindow(element);
|
1055
|
-
if (!isWebKit() || !win.visualViewport) {
|
1056
|
-
return noOffsets;
|
1057
|
-
}
|
1058
|
-
return {
|
1059
|
-
x: win.visualViewport.offsetLeft,
|
1060
|
-
y: win.visualViewport.offsetTop
|
1061
|
-
};
|
1062
|
-
}
|
1063
|
-
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
1064
|
-
if (isFixed === void 0) {
|
1065
|
-
isFixed = false;
|
1066
|
-
}
|
1067
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
1068
|
-
return false;
|
1069
|
-
}
|
1070
|
-
return isFixed;
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
1074
|
-
if (includeScale === void 0) {
|
1075
|
-
includeScale = false;
|
1076
|
-
}
|
1077
|
-
if (isFixedStrategy === void 0) {
|
1078
|
-
isFixedStrategy = false;
|
1079
|
-
}
|
1080
|
-
const clientRect = element.getBoundingClientRect();
|
1081
|
-
const domElement = unwrapElement(element);
|
1082
|
-
let scale = createCoords(1);
|
1083
|
-
if (includeScale) {
|
1084
|
-
if (offsetParent) {
|
1085
|
-
if (isElement(offsetParent)) {
|
1086
|
-
scale = getScale(offsetParent);
|
1087
|
-
}
|
1088
|
-
} else {
|
1089
|
-
scale = getScale(element);
|
1090
|
-
}
|
1091
|
-
}
|
1092
|
-
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
1093
|
-
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
1094
|
-
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
1095
|
-
let width = clientRect.width / scale.x;
|
1096
|
-
let height = clientRect.height / scale.y;
|
1097
|
-
if (domElement) {
|
1098
|
-
const win = getWindow(domElement);
|
1099
|
-
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
1100
|
-
let currentIFrame = win.frameElement;
|
1101
|
-
while (currentIFrame && offsetParent && offsetWin !== win) {
|
1102
|
-
const iframeScale = getScale(currentIFrame);
|
1103
|
-
const iframeRect = currentIFrame.getBoundingClientRect();
|
1104
|
-
const css = getComputedStyle$1(currentIFrame);
|
1105
|
-
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
1106
|
-
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
1107
|
-
x *= iframeScale.x;
|
1108
|
-
y *= iframeScale.y;
|
1109
|
-
width *= iframeScale.x;
|
1110
|
-
height *= iframeScale.y;
|
1111
|
-
x += left;
|
1112
|
-
y += top;
|
1113
|
-
currentIFrame = getWindow(currentIFrame).frameElement;
|
1114
|
-
}
|
1115
|
-
}
|
1116
|
-
return rectToClientRect({
|
1117
|
-
width,
|
1118
|
-
height,
|
1119
|
-
x,
|
1120
|
-
y
|
1121
|
-
});
|
1122
|
-
}
|
1123
|
-
|
1124
|
-
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
1125
|
-
let {
|
1126
|
-
rect,
|
1127
|
-
offsetParent,
|
1128
|
-
strategy
|
1129
|
-
} = _ref;
|
1130
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
1131
|
-
const documentElement = getDocumentElement(offsetParent);
|
1132
|
-
if (offsetParent === documentElement) {
|
1133
|
-
return rect;
|
1134
|
-
}
|
1135
|
-
let scroll = {
|
1136
|
-
scrollLeft: 0,
|
1137
|
-
scrollTop: 0
|
1138
|
-
};
|
1139
|
-
let scale = createCoords(1);
|
1140
|
-
const offsets = createCoords(0);
|
1141
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
1142
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
1143
|
-
scroll = getNodeScroll(offsetParent);
|
1144
|
-
}
|
1145
|
-
if (isHTMLElement(offsetParent)) {
|
1146
|
-
const offsetRect = getBoundingClientRect(offsetParent);
|
1147
|
-
scale = getScale(offsetParent);
|
1148
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
1149
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
1150
|
-
}
|
1151
|
-
}
|
1152
|
-
return {
|
1153
|
-
width: rect.width * scale.x,
|
1154
|
-
height: rect.height * scale.y,
|
1155
|
-
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
1156
|
-
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
1157
|
-
};
|
1158
|
-
}
|
1159
|
-
|
1160
|
-
function getClientRects(element) {
|
1161
|
-
return Array.from(element.getClientRects());
|
1162
|
-
}
|
1163
|
-
|
1164
|
-
function getWindowScrollBarX(element) {
|
1165
|
-
// If <html> has a CSS width greater than the viewport, then this will be
|
1166
|
-
// incorrect for RTL.
|
1167
|
-
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
1168
|
-
}
|
1169
|
-
|
1170
|
-
// Gets the entire size of the scrollable document area, even extending outside
|
1171
|
-
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
1172
|
-
function getDocumentRect(element) {
|
1173
|
-
const html = getDocumentElement(element);
|
1174
|
-
const scroll = getNodeScroll(element);
|
1175
|
-
const body = element.ownerDocument.body;
|
1176
|
-
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
1177
|
-
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
1178
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
1179
|
-
const y = -scroll.scrollTop;
|
1180
|
-
if (getComputedStyle$1(body).direction === 'rtl') {
|
1181
|
-
x += max(html.clientWidth, body.clientWidth) - width;
|
1182
|
-
}
|
1183
|
-
return {
|
1184
|
-
width,
|
1185
|
-
height,
|
1186
|
-
x,
|
1187
|
-
y
|
1188
|
-
};
|
1189
|
-
}
|
1190
|
-
|
1191
|
-
function getViewportRect(element, strategy) {
|
1192
|
-
const win = getWindow(element);
|
1193
|
-
const html = getDocumentElement(element);
|
1194
|
-
const visualViewport = win.visualViewport;
|
1195
|
-
let width = html.clientWidth;
|
1196
|
-
let height = html.clientHeight;
|
1197
|
-
let x = 0;
|
1198
|
-
let y = 0;
|
1199
|
-
if (visualViewport) {
|
1200
|
-
width = visualViewport.width;
|
1201
|
-
height = visualViewport.height;
|
1202
|
-
const visualViewportBased = isWebKit();
|
1203
|
-
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
1204
|
-
x = visualViewport.offsetLeft;
|
1205
|
-
y = visualViewport.offsetTop;
|
1206
|
-
}
|
1207
|
-
}
|
1208
|
-
return {
|
1209
|
-
width,
|
1210
|
-
height,
|
1211
|
-
x,
|
1212
|
-
y
|
1213
|
-
};
|
1214
|
-
}
|
1215
|
-
|
1216
|
-
// Returns the inner client rect, subtracting scrollbars if present.
|
1217
|
-
function getInnerBoundingClientRect(element, strategy) {
|
1218
|
-
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
1219
|
-
const top = clientRect.top + element.clientTop;
|
1220
|
-
const left = clientRect.left + element.clientLeft;
|
1221
|
-
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
1222
|
-
const width = element.clientWidth * scale.x;
|
1223
|
-
const height = element.clientHeight * scale.y;
|
1224
|
-
const x = left * scale.x;
|
1225
|
-
const y = top * scale.y;
|
1226
|
-
return {
|
1227
|
-
width,
|
1228
|
-
height,
|
1229
|
-
x,
|
1230
|
-
y
|
1231
|
-
};
|
1232
|
-
}
|
1233
|
-
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
1234
|
-
let rect;
|
1235
|
-
if (clippingAncestor === 'viewport') {
|
1236
|
-
rect = getViewportRect(element, strategy);
|
1237
|
-
} else if (clippingAncestor === 'document') {
|
1238
|
-
rect = getDocumentRect(getDocumentElement(element));
|
1239
|
-
} else if (isElement(clippingAncestor)) {
|
1240
|
-
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
1241
|
-
} else {
|
1242
|
-
const visualOffsets = getVisualOffsets(element);
|
1243
|
-
rect = {
|
1244
|
-
...clippingAncestor,
|
1245
|
-
x: clippingAncestor.x - visualOffsets.x,
|
1246
|
-
y: clippingAncestor.y - visualOffsets.y
|
1247
|
-
};
|
1248
|
-
}
|
1249
|
-
return rectToClientRect(rect);
|
1250
|
-
}
|
1251
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
1252
|
-
const parentNode = getParentNode(element);
|
1253
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
1254
|
-
return false;
|
1255
|
-
}
|
1256
|
-
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
1257
|
-
}
|
1258
|
-
|
1259
|
-
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
1260
|
-
// clipping (or hiding) child elements. This returns all clipping ancestors
|
1261
|
-
// of the given element up the tree.
|
1262
|
-
function getClippingElementAncestors(element, cache) {
|
1263
|
-
const cachedResult = cache.get(element);
|
1264
|
-
if (cachedResult) {
|
1265
|
-
return cachedResult;
|
1266
|
-
}
|
1267
|
-
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
1268
|
-
let currentContainingBlockComputedStyle = null;
|
1269
|
-
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
1270
|
-
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
1271
|
-
|
1272
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
1273
|
-
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
1274
|
-
const computedStyle = getComputedStyle$1(currentNode);
|
1275
|
-
const currentNodeIsContaining = isContainingBlock(currentNode);
|
1276
|
-
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
1277
|
-
currentContainingBlockComputedStyle = null;
|
1278
|
-
}
|
1279
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
1280
|
-
if (shouldDropCurrentNode) {
|
1281
|
-
// Drop non-containing blocks.
|
1282
|
-
result = result.filter(ancestor => ancestor !== currentNode);
|
1283
|
-
} else {
|
1284
|
-
// Record last containing block for next iteration.
|
1285
|
-
currentContainingBlockComputedStyle = computedStyle;
|
1286
|
-
}
|
1287
|
-
currentNode = getParentNode(currentNode);
|
1288
|
-
}
|
1289
|
-
cache.set(element, result);
|
1290
|
-
return result;
|
1291
|
-
}
|
1292
|
-
|
1293
|
-
// Gets the maximum area that the element is visible in due to any number of
|
1294
|
-
// clipping ancestors.
|
1295
|
-
function getClippingRect(_ref) {
|
1296
|
-
let {
|
1297
|
-
element,
|
1298
|
-
boundary,
|
1299
|
-
rootBoundary,
|
1300
|
-
strategy
|
1301
|
-
} = _ref;
|
1302
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
1303
|
-
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
1304
|
-
const firstClippingAncestor = clippingAncestors[0];
|
1305
|
-
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
1306
|
-
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
1307
|
-
accRect.top = max(rect.top, accRect.top);
|
1308
|
-
accRect.right = min(rect.right, accRect.right);
|
1309
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
1310
|
-
accRect.left = max(rect.left, accRect.left);
|
1311
|
-
return accRect;
|
1312
|
-
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
1313
|
-
return {
|
1314
|
-
width: clippingRect.right - clippingRect.left,
|
1315
|
-
height: clippingRect.bottom - clippingRect.top,
|
1316
|
-
x: clippingRect.left,
|
1317
|
-
y: clippingRect.top
|
1318
|
-
};
|
1319
|
-
}
|
1320
|
-
|
1321
|
-
function getDimensions(element) {
|
1322
|
-
return getCssDimensions(element);
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
1326
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
1327
|
-
const documentElement = getDocumentElement(offsetParent);
|
1328
|
-
const isFixed = strategy === 'fixed';
|
1329
|
-
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
1330
|
-
let scroll = {
|
1331
|
-
scrollLeft: 0,
|
1332
|
-
scrollTop: 0
|
1333
|
-
};
|
1334
|
-
const offsets = createCoords(0);
|
1335
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
1336
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
1337
|
-
scroll = getNodeScroll(offsetParent);
|
1338
|
-
}
|
1339
|
-
if (isOffsetParentAnElement) {
|
1340
|
-
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
1341
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
1342
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
1343
|
-
} else if (documentElement) {
|
1344
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
1345
|
-
}
|
1346
|
-
}
|
1347
|
-
return {
|
1348
|
-
x: rect.left + scroll.scrollLeft - offsets.x,
|
1349
|
-
y: rect.top + scroll.scrollTop - offsets.y,
|
1350
|
-
width: rect.width,
|
1351
|
-
height: rect.height
|
1352
|
-
};
|
1353
|
-
}
|
1354
|
-
|
1355
|
-
function getTrueOffsetParent(element, polyfill) {
|
1356
|
-
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
1357
|
-
return null;
|
1358
|
-
}
|
1359
|
-
if (polyfill) {
|
1360
|
-
return polyfill(element);
|
1361
|
-
}
|
1362
|
-
return element.offsetParent;
|
1363
|
-
}
|
1364
|
-
|
1365
|
-
// Gets the closest ancestor positioned element. Handles some edge cases,
|
1366
|
-
// such as table ancestors and cross browser bugs.
|
1367
|
-
function getOffsetParent(element, polyfill) {
|
1368
|
-
const window = getWindow(element);
|
1369
|
-
if (!isHTMLElement(element)) {
|
1370
|
-
return window;
|
1371
|
-
}
|
1372
|
-
let offsetParent = getTrueOffsetParent(element, polyfill);
|
1373
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
1374
|
-
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
1375
|
-
}
|
1376
|
-
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
1377
|
-
return window;
|
1378
|
-
}
|
1379
|
-
return offsetParent || getContainingBlock(element) || window;
|
1380
|
-
}
|
1381
|
-
|
1382
|
-
const getElementRects = async function (_ref) {
|
1383
|
-
let {
|
1384
|
-
reference,
|
1385
|
-
floating,
|
1386
|
-
strategy
|
1387
|
-
} = _ref;
|
1388
|
-
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
1389
|
-
const getDimensionsFn = this.getDimensions;
|
1390
|
-
return {
|
1391
|
-
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
1392
|
-
floating: {
|
1393
|
-
x: 0,
|
1394
|
-
y: 0,
|
1395
|
-
...(await getDimensionsFn(floating))
|
1396
|
-
}
|
1397
|
-
};
|
1398
|
-
};
|
1399
|
-
|
1400
|
-
function isRTL(element) {
|
1401
|
-
return getComputedStyle$1(element).direction === 'rtl';
|
1402
|
-
}
|
1403
|
-
|
1404
|
-
const platform = {
|
1405
|
-
convertOffsetParentRelativeRectToViewportRelativeRect,
|
1406
|
-
getDocumentElement,
|
1407
|
-
getClippingRect,
|
1408
|
-
getOffsetParent,
|
1409
|
-
getElementRects,
|
1410
|
-
getClientRects,
|
1411
|
-
getDimensions,
|
1412
|
-
getScale,
|
1413
|
-
isElement,
|
1414
|
-
isRTL
|
1415
|
-
};
|
1416
|
-
|
1417
|
-
// https://samthor.au/2021/observing-dom/
|
1418
|
-
function observeMove(element, onMove) {
|
1419
|
-
let io = null;
|
1420
|
-
let timeoutId;
|
1421
|
-
const root = getDocumentElement(element);
|
1422
|
-
function cleanup() {
|
1423
|
-
clearTimeout(timeoutId);
|
1424
|
-
io && io.disconnect();
|
1425
|
-
io = null;
|
1426
|
-
}
|
1427
|
-
function refresh(skip, threshold) {
|
1428
|
-
if (skip === void 0) {
|
1429
|
-
skip = false;
|
1430
|
-
}
|
1431
|
-
if (threshold === void 0) {
|
1432
|
-
threshold = 1;
|
1433
|
-
}
|
1434
|
-
cleanup();
|
1435
|
-
const {
|
1436
|
-
left,
|
1437
|
-
top,
|
1438
|
-
width,
|
1439
|
-
height
|
1440
|
-
} = element.getBoundingClientRect();
|
1441
|
-
if (!skip) {
|
1442
|
-
onMove();
|
1443
|
-
}
|
1444
|
-
if (!width || !height) {
|
1445
|
-
return;
|
1446
|
-
}
|
1447
|
-
const insetTop = floor(top);
|
1448
|
-
const insetRight = floor(root.clientWidth - (left + width));
|
1449
|
-
const insetBottom = floor(root.clientHeight - (top + height));
|
1450
|
-
const insetLeft = floor(left);
|
1451
|
-
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
1452
|
-
const options = {
|
1453
|
-
rootMargin,
|
1454
|
-
threshold: max(0, min(1, threshold)) || 1
|
1455
|
-
};
|
1456
|
-
let isFirstUpdate = true;
|
1457
|
-
function handleObserve(entries) {
|
1458
|
-
const ratio = entries[0].intersectionRatio;
|
1459
|
-
if (ratio !== threshold) {
|
1460
|
-
if (!isFirstUpdate) {
|
1461
|
-
return refresh();
|
1462
|
-
}
|
1463
|
-
if (!ratio) {
|
1464
|
-
timeoutId = setTimeout(() => {
|
1465
|
-
refresh(false, 1e-7);
|
1466
|
-
}, 100);
|
1467
|
-
} else {
|
1468
|
-
refresh(false, ratio);
|
1469
|
-
}
|
1470
|
-
}
|
1471
|
-
isFirstUpdate = false;
|
1472
|
-
}
|
1473
|
-
|
1474
|
-
// Older browsers don't support a `document` as the root and will throw an
|
1475
|
-
// error.
|
1476
|
-
try {
|
1477
|
-
io = new IntersectionObserver(handleObserve, {
|
1478
|
-
...options,
|
1479
|
-
// Handle <iframe>s
|
1480
|
-
root: root.ownerDocument
|
1481
|
-
});
|
1482
|
-
} catch (e) {
|
1483
|
-
io = new IntersectionObserver(handleObserve, options);
|
1484
|
-
}
|
1485
|
-
io.observe(element);
|
1486
|
-
}
|
1487
|
-
refresh(true);
|
1488
|
-
return cleanup;
|
1489
|
-
}
|
1490
|
-
|
1491
|
-
/**
|
1492
|
-
* Automatically updates the position of the floating element when necessary.
|
1493
|
-
* Should only be called when the floating element is mounted on the DOM or
|
1494
|
-
* visible on the screen.
|
1495
|
-
* @returns cleanup function that should be invoked when the floating element is
|
1496
|
-
* removed from the DOM or hidden from the screen.
|
1497
|
-
* @see https://floating-ui.com/docs/autoUpdate
|
1498
|
-
*/
|
1499
|
-
function autoUpdate(reference, floating, update, options) {
|
1500
|
-
if (options === void 0) {
|
1501
|
-
options = {};
|
1502
|
-
}
|
1503
|
-
const {
|
1504
|
-
ancestorScroll = true,
|
1505
|
-
ancestorResize = true,
|
1506
|
-
elementResize = typeof ResizeObserver === 'function',
|
1507
|
-
layoutShift = typeof IntersectionObserver === 'function',
|
1508
|
-
animationFrame = false
|
1509
|
-
} = options;
|
1510
|
-
const referenceEl = unwrapElement(reference);
|
1511
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
1512
|
-
ancestors.forEach(ancestor => {
|
1513
|
-
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
1514
|
-
passive: true
|
1515
|
-
});
|
1516
|
-
ancestorResize && ancestor.addEventListener('resize', update);
|
1517
|
-
});
|
1518
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
1519
|
-
let reobserveFrame = -1;
|
1520
|
-
let resizeObserver = null;
|
1521
|
-
if (elementResize) {
|
1522
|
-
resizeObserver = new ResizeObserver(_ref => {
|
1523
|
-
let [firstEntry] = _ref;
|
1524
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
1525
|
-
// Prevent update loops when using the `size` middleware.
|
1526
|
-
// https://github.com/floating-ui/floating-ui/issues/1740
|
1527
|
-
resizeObserver.unobserve(floating);
|
1528
|
-
cancelAnimationFrame(reobserveFrame);
|
1529
|
-
reobserveFrame = requestAnimationFrame(() => {
|
1530
|
-
resizeObserver && resizeObserver.observe(floating);
|
1531
|
-
});
|
1532
|
-
}
|
1533
|
-
update();
|
1534
|
-
});
|
1535
|
-
if (referenceEl && !animationFrame) {
|
1536
|
-
resizeObserver.observe(referenceEl);
|
1537
|
-
}
|
1538
|
-
resizeObserver.observe(floating);
|
1539
|
-
}
|
1540
|
-
let frameId;
|
1541
|
-
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
1542
|
-
if (animationFrame) {
|
1543
|
-
frameLoop();
|
1544
|
-
}
|
1545
|
-
function frameLoop() {
|
1546
|
-
const nextRefRect = getBoundingClientRect(reference);
|
1547
|
-
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
1548
|
-
update();
|
1549
|
-
}
|
1550
|
-
prevRefRect = nextRefRect;
|
1551
|
-
frameId = requestAnimationFrame(frameLoop);
|
1552
|
-
}
|
1553
|
-
update();
|
1554
|
-
return () => {
|
1555
|
-
ancestors.forEach(ancestor => {
|
1556
|
-
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
1557
|
-
ancestorResize && ancestor.removeEventListener('resize', update);
|
1558
|
-
});
|
1559
|
-
cleanupIo && cleanupIo();
|
1560
|
-
resizeObserver && resizeObserver.disconnect();
|
1561
|
-
resizeObserver = null;
|
1562
|
-
if (animationFrame) {
|
1563
|
-
cancelAnimationFrame(frameId);
|
1564
|
-
}
|
1565
|
-
};
|
1566
|
-
}
|
1567
|
-
|
1568
|
-
/**
|
1569
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
1570
|
-
* next to a reference element when it is given a certain CSS positioning
|
1571
|
-
* strategy.
|
1572
|
-
*/
|
1573
|
-
const computePosition = (reference, floating, options) => {
|
1574
|
-
// This caches the expensive `getClippingElementAncestors` function so that
|
1575
|
-
// multiple lifecycle resets re-use the same result. It only lives for a
|
1576
|
-
// single call. If other functions become expensive, we can add them as well.
|
1577
|
-
const cache = new Map();
|
1578
|
-
const mergedOptions = {
|
1579
|
-
platform,
|
1580
|
-
...options
|
1581
|
-
};
|
1582
|
-
const platformWithCache = {
|
1583
|
-
...mergedOptions.platform,
|
1584
|
-
_c: cache
|
1585
|
-
};
|
1586
|
-
return computePosition$1(reference, floating, {
|
1587
|
-
...mergedOptions,
|
1588
|
-
platform: platformWithCache
|
1589
|
-
});
|
1590
|
-
};
|
1591
|
-
|
1592
|
-
/* eslint-disable @typescript-eslint/ban-types */
|
1593
|
-
function offsetParent(element) {
|
1594
|
-
return offsetParentPolyfill(element);
|
1595
|
-
}
|
1596
|
-
function flatTreeParent(element) {
|
1597
|
-
if (element.assignedSlot) {
|
1598
|
-
return element.assignedSlot;
|
1599
|
-
}
|
1600
|
-
if (element.parentNode instanceof ShadowRoot) {
|
1601
|
-
return element.parentNode.host;
|
1602
|
-
}
|
1603
|
-
return element.parentNode;
|
1604
|
-
}
|
1605
|
-
function offsetParentPolyfill(element) {
|
1606
|
-
// Do an initial walk to check for display:none ancestors.
|
1607
|
-
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
1608
|
-
if (!(ancestor instanceof Element)) {
|
1609
|
-
continue;
|
1610
|
-
}
|
1611
|
-
if (getComputedStyle(ancestor).display === 'none') {
|
1612
|
-
return null;
|
1613
|
-
}
|
1614
|
-
}
|
1615
|
-
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
1616
|
-
if (!(ancestor instanceof Element)) {
|
1617
|
-
continue;
|
1618
|
-
}
|
1619
|
-
const style = getComputedStyle(ancestor);
|
1620
|
-
// Display:contents nodes aren't in the layout tree so they should be skipped.
|
1621
|
-
if (style.display === 'contents') {
|
1622
|
-
continue;
|
1623
|
-
}
|
1624
|
-
if (style.position !== 'static' || style.filter !== 'none') {
|
1625
|
-
return ancestor;
|
1626
|
-
}
|
1627
|
-
if (ancestor.tagName === 'BODY') {
|
1628
|
-
return ancestor;
|
1629
|
-
}
|
1630
|
-
}
|
1631
|
-
return null;
|
1632
|
-
}
|
1633
|
-
|
1634
|
-
/*!
|
1635
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
1636
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
1637
|
-
* v2.0.0
|
1638
|
-
*/
|
1639
|
-
(function setUpFloatingUiForShadowDomPositioning() {
|
1640
|
-
{
|
1641
|
-
const originalGetOffsetParent = platform.getOffsetParent;
|
1642
|
-
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
1643
|
-
}
|
1644
|
-
})();
|
1645
|
-
function roundByDPR(value) {
|
1646
|
-
const dpr = window.devicePixelRatio || 1;
|
1647
|
-
return Math.round(value * dpr) / dpr;
|
1648
|
-
}
|
1649
|
-
/**
|
1650
|
-
* Positions the floating element relative to the reference element.
|
1651
|
-
*
|
1652
|
-
* **Note:** exported for testing purposes only
|
1653
|
-
*
|
1654
|
-
* @param root0
|
1655
|
-
* @param root0.referenceEl
|
1656
|
-
* @param root0.floatingEl
|
1657
|
-
* @param root0.overlayPositioning
|
1658
|
-
* @param root0.placement
|
1659
|
-
* @param root0.flipDisabled
|
1660
|
-
* @param root0.flipPlacements
|
1661
|
-
* @param root0.offsetDistance
|
1662
|
-
* @param root0.offsetSkidding
|
1663
|
-
* @param root0.arrowEl
|
1664
|
-
* @param root0.type
|
1665
|
-
* @param component
|
1666
|
-
* @param root0.referenceEl.referenceEl
|
1667
|
-
* @param root0.referenceEl.floatingEl
|
1668
|
-
* @param root0.referenceEl.overlayPositioning
|
1669
|
-
* @param root0.referenceEl.placement
|
1670
|
-
* @param root0.referenceEl.flipDisabled
|
1671
|
-
* @param root0.referenceEl.flipPlacements
|
1672
|
-
* @param root0.referenceEl.offsetDistance
|
1673
|
-
* @param root0.referenceEl.offsetSkidding
|
1674
|
-
* @param root0.referenceEl.arrowEl
|
1675
|
-
* @param root0.referenceEl.type
|
1676
|
-
* @param component.referenceEl
|
1677
|
-
* @param component.floatingEl
|
1678
|
-
* @param component.overlayPositioning
|
1679
|
-
* @param component.placement
|
1680
|
-
* @param component.flipDisabled
|
1681
|
-
* @param component.flipPlacements
|
1682
|
-
* @param component.offsetDistance
|
1683
|
-
* @param component.offsetSkidding
|
1684
|
-
* @param component.arrowEl
|
1685
|
-
* @param component.type
|
1686
|
-
*/
|
1687
|
-
const positionFloatingUI =
|
1688
|
-
/* we export arrow function to allow us to spy on it during testing */
|
1689
|
-
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
|
1690
|
-
if (!referenceEl || !floatingEl) {
|
1691
|
-
return null;
|
1692
|
-
}
|
1693
|
-
const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
|
1694
|
-
strategy: overlayPositioning,
|
1695
|
-
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
1696
|
-
? undefined
|
1697
|
-
: getEffectivePlacement(floatingEl, placement),
|
1698
|
-
middleware: getMiddleware({
|
1699
|
-
placement,
|
1700
|
-
flipDisabled,
|
1701
|
-
flipPlacements,
|
1702
|
-
offsetDistance,
|
1703
|
-
offsetSkidding,
|
1704
|
-
arrowEl,
|
1705
|
-
type,
|
1706
|
-
}),
|
1707
|
-
});
|
1708
|
-
if (arrowEl && middlewareData.arrow) {
|
1709
|
-
const { x, y } = middlewareData.arrow;
|
1710
|
-
const side = effectivePlacement.split("-")[0];
|
1711
|
-
const alignment = x != null ? "left" : "top";
|
1712
|
-
const transform = ARROW_CSS_TRANSFORM[side];
|
1713
|
-
const reset = { left: "", top: "", bottom: "", right: "" };
|
1714
|
-
if ("floatingLayout" in component) {
|
1715
|
-
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
1716
|
-
}
|
1717
|
-
Object.assign(arrowEl.style, {
|
1718
|
-
...reset,
|
1719
|
-
[alignment]: `${alignment == "left" ? x : y}px`,
|
1720
|
-
[side]: "100%",
|
1721
|
-
transform,
|
1722
|
-
});
|
1723
|
-
}
|
1724
|
-
const referenceHidden = middlewareData.hide?.referenceHidden;
|
1725
|
-
const visibility = referenceHidden ? "hidden" : null;
|
1726
|
-
const pointerEvents = visibility ? "none" : null;
|
1727
|
-
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
1728
|
-
const { open } = component;
|
1729
|
-
Object.assign(floatingEl.style, {
|
1730
|
-
visibility,
|
1731
|
-
pointerEvents,
|
1732
|
-
position,
|
1733
|
-
transform: open ? `translate(${roundByDPR(x)}px,${roundByDPR(y)}px)` : "",
|
1734
|
-
left: open ? "0" : "",
|
1735
|
-
top: open ? "0" : "",
|
1736
|
-
});
|
1737
|
-
};
|
1738
|
-
/**
|
1739
|
-
* Exported for testing purposes only
|
1740
|
-
*/
|
1741
|
-
const placementDataAttribute = "data-placement";
|
1742
|
-
/**
|
1743
|
-
* Exported for testing purposes only
|
1744
|
-
*/
|
1745
|
-
const repositionDebounceTimeout = 100;
|
1746
|
-
const effectivePlacements = [
|
1747
|
-
"top",
|
1748
|
-
"bottom",
|
1749
|
-
"right",
|
1750
|
-
"left",
|
1751
|
-
"top-start",
|
1752
|
-
"top-end",
|
1753
|
-
"bottom-start",
|
1754
|
-
"bottom-end",
|
1755
|
-
"right-start",
|
1756
|
-
"right-end",
|
1757
|
-
"left-start",
|
1758
|
-
"left-end",
|
1759
|
-
];
|
1760
|
-
const defaultMenuPlacement = "bottom-start";
|
1761
|
-
const FloatingCSS = {
|
1762
|
-
animation: "calcite-floating-ui-anim",
|
1763
|
-
animationActive: "calcite-floating-ui-anim--active",
|
1764
|
-
};
|
1765
|
-
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
|
1766
|
-
const defaultMiddleware = [shift(), hide()];
|
1767
|
-
if (type === "menu") {
|
1768
|
-
return [
|
1769
|
-
...defaultMiddleware,
|
1770
|
-
flip({
|
1771
|
-
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
|
1772
|
-
}),
|
1773
|
-
];
|
1774
|
-
}
|
1775
|
-
if (type === "popover" || type === "tooltip") {
|
1776
|
-
const middleware = [
|
1777
|
-
...defaultMiddleware,
|
1778
|
-
offset({
|
1779
|
-
mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
|
1780
|
-
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
|
1781
|
-
}),
|
1782
|
-
];
|
1783
|
-
if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
|
1784
|
-
middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
|
1785
|
-
}
|
1786
|
-
else if (!flipDisabled) {
|
1787
|
-
middleware.push(flip(flipPlacements ? { fallbackPlacements: flipPlacements } : {}));
|
1788
|
-
}
|
1789
|
-
if (arrowEl) {
|
1790
|
-
middleware.push(arrow({
|
1791
|
-
element: arrowEl,
|
1792
|
-
}));
|
1793
|
-
}
|
1794
|
-
return middleware;
|
1795
|
-
}
|
1796
|
-
return [];
|
1797
|
-
}
|
1798
|
-
function filterComputedPlacements(placements, el) {
|
1799
|
-
const filteredPlacements = placements.filter((placement) => effectivePlacements.includes(placement));
|
1800
|
-
if (filteredPlacements.length !== placements.length) {
|
1801
|
-
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${effectivePlacements
|
1802
|
-
.map((placement) => `"${placement}"`)
|
1803
|
-
.join(", ")
|
1804
|
-
.trim()}`, { el });
|
1805
|
-
}
|
1806
|
-
return filteredPlacements;
|
1807
|
-
}
|
1808
|
-
function getEffectivePlacement(floatingEl, placement) {
|
1809
|
-
const placements = ["left", "right"];
|
1810
|
-
if (dom.getElementDir(floatingEl) === "rtl") {
|
1811
|
-
placements.reverse();
|
1812
|
-
}
|
1813
|
-
return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
|
1814
|
-
}
|
1815
|
-
/**
|
1816
|
-
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
1817
|
-
*
|
1818
|
-
* Note: this is not needed for components that use `calcite-popover`.
|
1819
|
-
*
|
1820
|
-
* @param component - A floating-ui component.
|
1821
|
-
* @param options - Reposition parameters.
|
1822
|
-
* @param options.referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
1823
|
-
* @param options.floatingEl - The `floatingElement` containing the floating ui.
|
1824
|
-
* @param options.overlayPositioning - type of positioning to use for the overlaid content.
|
1825
|
-
* @param options.placement - Determines where the component will be positioned relative to the `referenceElement`.
|
1826
|
-
* @param options.flipDisabled - Prevents flipping the component's placement when overlapping its `referenceElement`.
|
1827
|
-
* @param options.flipPlacements - Defines the available placements that can be used when a flip occurs.
|
1828
|
-
* @param options.offsetDistance - Offsets the position of the popover away from the `referenceElement`.
|
1829
|
-
* @param options.offsetSkidding - Offsets the position of the component along the `referenceElement`.
|
1830
|
-
* @param options.arrowEl - A customizable arrow element.
|
1831
|
-
* @param options.type - The type of floating UI.
|
1832
|
-
* @param delayed - Reposition the component after a delay.
|
1833
|
-
* @returns {Promise<void>}
|
1834
|
-
*/
|
1835
|
-
async function reposition(component, options, delayed = false) {
|
1836
|
-
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
1837
|
-
return positionFunction(component, options);
|
1838
|
-
}
|
1839
|
-
function getDebouncedReposition(component) {
|
1840
|
-
let debounced = componentToDebouncedRepositionMap.get(component);
|
1841
|
-
if (debounced) {
|
1842
|
-
return debounced;
|
1843
|
-
}
|
1844
|
-
debounced = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
|
1845
|
-
leading: true,
|
1846
|
-
maxWait: repositionDebounceTimeout,
|
1847
|
-
});
|
1848
|
-
componentToDebouncedRepositionMap.set(component, debounced);
|
1849
|
-
return debounced;
|
1850
|
-
}
|
1851
|
-
const ARROW_CSS_TRANSFORM = {
|
1852
|
-
top: "",
|
1853
|
-
left: "rotate(-90deg)",
|
1854
|
-
bottom: "rotate(180deg)",
|
1855
|
-
right: "rotate(90deg)",
|
1856
|
-
};
|
1857
|
-
/**
|
1858
|
-
* Exported for testing purposes only
|
1859
|
-
*
|
1860
|
-
* @internal
|
1861
|
-
*/
|
1862
|
-
const cleanupMap = new WeakMap();
|
1863
|
-
const componentToDebouncedRepositionMap = new WeakMap();
|
1864
|
-
/**
|
1865
|
-
* Helper to set up floating element interactions on connectedCallback.
|
1866
|
-
*
|
1867
|
-
* @param component - A floating-ui component.
|
1868
|
-
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
1869
|
-
* @param floatingEl - The `floatingElement` containing the floating ui.
|
1870
|
-
*/
|
1871
|
-
function connectFloatingUI(component, referenceEl, floatingEl) {
|
1872
|
-
if (!floatingEl || !referenceEl) {
|
1873
|
-
return;
|
1874
|
-
}
|
1875
|
-
disconnectFloatingUI(component, referenceEl, floatingEl);
|
1876
|
-
Object.assign(floatingEl.style, {
|
1877
|
-
visibility: "hidden",
|
1878
|
-
pointerEvents: "none",
|
1879
|
-
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
1880
|
-
position: component.overlayPositioning,
|
1881
|
-
top: "0",
|
1882
|
-
left: "0",
|
1883
|
-
});
|
1884
|
-
const runAutoUpdate = autoUpdate
|
1885
|
-
;
|
1886
|
-
cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
|
1887
|
-
}
|
1888
|
-
/**
|
1889
|
-
* Helper to tear down floating element interactions on disconnectedCallback.
|
1890
|
-
*
|
1891
|
-
* @param component - A floating-ui component.
|
1892
|
-
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
1893
|
-
* @param floatingEl - The `floatingElement` containing the floating ui.
|
1894
|
-
*/
|
1895
|
-
function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
1896
|
-
if (!floatingEl || !referenceEl) {
|
1897
|
-
return;
|
1898
|
-
}
|
1899
|
-
cleanupMap.get(component)?.();
|
1900
|
-
cleanupMap.delete(component);
|
1901
|
-
componentToDebouncedRepositionMap.get(component)?.cancel();
|
1902
|
-
componentToDebouncedRepositionMap.delete(component);
|
1903
|
-
}
|
1904
|
-
const visiblePointerSize = 4;
|
1905
|
-
/**
|
1906
|
-
* Default offset the position of the floating element away from the reference element.
|
1907
|
-
*
|
1908
|
-
* @default 6
|
1909
|
-
*/
|
1910
|
-
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
1911
|
-
|
1912
|
-
exports.FloatingCSS = FloatingCSS;
|
1913
|
-
exports.connectFloatingUI = connectFloatingUI;
|
1914
|
-
exports.defaultMenuPlacement = defaultMenuPlacement;
|
1915
|
-
exports.defaultOffsetDistance = defaultOffsetDistance;
|
1916
|
-
exports.disconnectFloatingUI = disconnectFloatingUI;
|
1917
|
-
exports.filterComputedPlacements = filterComputedPlacements;
|
1918
|
-
exports.reposition = reposition;
|