@esri/solutions-components 0.10.27 → 0.10.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-2cdd9a8e.js +115 -0
- package/dist/cjs/FloatingArrow-91a71a80.js +48 -0
- package/dist/cjs/Heading-a3e36113.js +25 -0
- package/dist/cjs/Validation-55fc2417.js +20 -0
- package/dist/cjs/app-globals-3ff4b752.js +67 -0
- package/dist/cjs/ar-76c21e64.js +106 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/array-286e5a3b.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/bg-14c9b066.js +84 -0
- package/dist/cjs/browser-333a21c5.js +35 -0
- package/dist/cjs/bs-af03a828.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +9 -9
- package/dist/cjs/ca-ae8e24ac.js +73 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -20
- package/dist/cjs/calcite-action-group.cjs.entry.js +18 -16
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +27 -24
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +20 -21
- package/dist/cjs/calcite-action_2.cjs.entry.js +32 -30
- package/dist/cjs/calcite-alert_5.cjs.entry.js +25 -27
- package/dist/cjs/calcite-avatar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block-section.cjs.entry.js +12 -12
- package/dist/cjs/calcite-block_5.cjs.entry.js +45 -47
- package/dist/cjs/calcite-button.cjs.entry.js +24 -22
- package/dist/cjs/calcite-card-group.cjs.entry.js +9 -15
- package/dist/cjs/calcite-card.cjs.entry.js +50 -31
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +92 -37
- package/dist/cjs/calcite-checkbox.cjs.entry.js +15 -17
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -12
- package/dist/cjs/calcite-chip_2.cjs.entry.js +22 -26
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +37 -20
- package/dist/cjs/calcite-color-picker.cjs.entry.js +15 -17
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +36 -42
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +16 -22
- package/dist/cjs/calcite-dialog.cjs.entry.js +20 -23
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +50 -51
- package/dist/cjs/calcite-fab.cjs.entry.js +9 -15
- package/dist/cjs/calcite-filter_5.cjs.entry.js +58 -61
- package/dist/cjs/calcite-flow_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-graph_2.cjs.entry.js +23 -25
- package/dist/cjs/calcite-icon_2.cjs.entry.js +24 -23
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -19
- package/dist/cjs/calcite-input-number.cjs.entry.js +31 -33
- package/dist/cjs/calcite-input-text.cjs.entry.js +25 -27
- package/dist/cjs/calcite-input-time-picker-74396a94.js +1870 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +100 -66
- package/dist/cjs/calcite-input_2.cjs.entry.js +33 -35
- package/dist/cjs/calcite-label.cjs.entry.js +8 -8
- package/dist/cjs/calcite-link.cjs.entry.js +15 -17
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +5 -12
- package/dist/cjs/calcite-menu-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-menu.cjs.entry.js +12 -12
- package/dist/cjs/calcite-meter.cjs.entry.js +12 -12
- package/dist/cjs/calcite-modal_3.cjs.entry.js +25 -25
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +6 -6
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +5 -5
- package/dist/cjs/calcite-navigation.cjs.entry.js +9 -9
- package/dist/cjs/calcite-notice.cjs.entry.js +17 -17
- package/dist/cjs/calcite-option-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-option_2.cjs.entry.js +15 -17
- package/dist/cjs/calcite-pagination.cjs.entry.js +20 -52
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +17 -19
- package/dist/cjs/calcite-pick-list.cjs.entry.js +15 -17
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -15
- package/dist/cjs/calcite-rating.cjs.entry.js +18 -22
- package/dist/cjs/calcite-scrim.cjs.entry.js +11 -11
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +43 -47
- package/dist/cjs/calcite-sheet.cjs.entry.js +14 -14
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +47 -54
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -13
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -12
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +14 -16
- package/dist/cjs/calcite-stepper.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -16
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +18 -20
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -16
- package/dist/cjs/calcite-table.cjs.entry.js +18 -18
- package/dist/cjs/calcite-text-area.cjs.entry.js +26 -28
- package/dist/cjs/calcite-tile-group.cjs.entry.js +9 -11
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +5 -12
- package/dist/cjs/calcite-tile-select.cjs.entry.js +10 -12
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -15
- package/dist/cjs/calcite-time-picker.cjs.entry.js +32 -38
- package/dist/cjs/calcite-tip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +20 -15
- package/dist/cjs/calcite-tree_2.cjs.entry.js +18 -20
- package/dist/cjs/card-manager_3.cjs.entry.js +3 -3
- package/dist/cjs/component-5d190962.js +33 -0
- package/dist/cjs/conditionalSlot-37ff4832.js +54 -0
- package/dist/cjs/config-e76d9931.js +40 -0
- package/dist/cjs/consent-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
- package/dist/cjs/cs-5c693156.js +149 -0
- package/dist/cjs/da-1a406d67.js +69 -0
- package/dist/cjs/date-bb8f971c.js +264 -0
- package/dist/cjs/de-11376da8.js +93 -0
- package/dist/cjs/de-at-a7437de2.js +92 -0
- package/dist/cjs/de-ch-862dfe8d.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-795d4a33.js +1200 -0
- package/dist/cjs/downloadUtils-20637f89.js +3239 -0
- package/dist/cjs/el-69fd471f.js +68 -0
- package/dist/cjs/en-au-4af4c244.js +68 -0
- package/dist/cjs/en-ca-dd0f74b8.js +67 -0
- package/dist/cjs/en-gb-d9916a0a.js +71 -0
- package/dist/cjs/es-b96f4aa7.js +68 -0
- package/dist/cjs/es-mx-7ce9a959.js +67 -0
- package/dist/cjs/et-ed1f6381.js +94 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +4 -4
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-16433386.js +117 -0
- package/dist/cjs/filter-e600c2fe.js +778 -0
- package/dist/cjs/floating-ui-0f85d59c.js +2413 -0
- package/dist/cjs/focusTrapComponent-b19fd5d5.js +1013 -0
- package/dist/cjs/form-6dd8050a.js +381 -0
- package/dist/cjs/fr-32b252ad.js +70 -0
- package/dist/cjs/fr-ch-368648e3.js +68 -0
- package/dist/cjs/guid-e84a8375.js +26 -0
- package/dist/cjs/he-d139901b.js +107 -0
- package/dist/cjs/helpers-415179ad.js +940 -0
- package/dist/cjs/hi-ba5e377e.js +67 -0
- package/dist/cjs/hr-87b5a9d8.js +82 -0
- package/dist/cjs/hu-3b80d082.js +90 -0
- package/dist/cjs/id-09dfbe6e.js +68 -0
- package/dist/cjs/index-0fb00064.js +15 -0
- package/dist/cjs/index-2b13a4d5.js +201 -0
- package/dist/cjs/index-4b68e4b4.js +1770 -0
- package/dist/cjs/index-89a62dc9.js +58 -0
- package/dist/cjs/index-c134f2f6.js +128 -0
- package/dist/cjs/index-p4VH55K1-8a6a97cb.js +4111 -0
- package/dist/cjs/index.es-a242cb45.js +11307 -0
- package/dist/cjs/input-8c28213d.js +60 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-splash.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +9 -9
- package/dist/cjs/interactive-a128ac30.js +85 -0
- package/dist/cjs/it-ch-00a4c4b4.js +68 -0
- package/dist/cjs/it-da71aa25.js +68 -0
- package/dist/cjs/ja-c3519ced.js +74 -0
- package/dist/cjs/key-47c9469a.js +19 -0
- package/dist/cjs/ko-ea8cd08b.js +74 -0
- package/dist/cjs/label-726fc287.js +186 -0
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadable-1c888c87.js +98 -0
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-339b55f0.js +160 -0
- package/dist/cjs/locale-4a18a858.js +120 -0
- package/dist/cjs/locale-da840314.js +605 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/logger-f177776b.js +61 -0
- package/dist/cjs/lt-4e8161c8.js +99 -0
- package/dist/cjs/lv-b976ad37.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/math-089392ef.js +60 -0
- package/dist/cjs/mk-e2ea18b4.js +68 -0
- package/dist/cjs/nb-d81f921b.js +69 -0
- package/dist/cjs/nl-7249cded.js +69 -0
- package/dist/cjs/observers-18d87cb5.js +58 -0
- package/dist/cjs/openCloseComponent-3c540d25.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-d93521bd.js +116 -0
- package/dist/cjs/popupUtils-d477705b.js +121 -0
- package/dist/cjs/pt-bf297919.js +69 -0
- package/dist/cjs/pt-br-2c9c4ba2.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +5 -5
- package/dist/cjs/publicNotificationStore-570204c1.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/region-26804632.js +36 -0
- package/dist/cjs/resources-18f799c7.js +39 -0
- package/dist/cjs/resources-388efec5.js +27 -0
- package/dist/cjs/resources-535f936c.js +68 -0
- package/dist/cjs/resources-7aaf489b.js +39 -0
- package/dist/cjs/resources-9c07e2ea.js +26 -0
- package/dist/cjs/resources-b3dc59f7.js +29 -0
- package/dist/cjs/resources-cf1791da.js +69 -0
- package/dist/cjs/resources-eeda5acf.js +23 -0
- package/dist/cjs/resources-f895ff54.js +23 -0
- package/dist/cjs/resources-f9ab74c4.js +21 -0
- package/dist/cjs/responsive-a61585b1.js +39 -0
- package/dist/cjs/ro-b770ba3d.js +68 -0
- package/dist/cjs/ru-f70d0afe.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-546c7296.js +361 -0
- package/dist/cjs/sk-67e2fd96.js +150 -0
- package/dist/cjs/sl-cf79e6c6.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
- package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
- package/dist/cjs/solution-item-accordion.cjs.entry.js +64 -27
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-store-4de89072.js +1354 -0
- package/dist/cjs/solutions-components.cjs.js +6 -6
- package/dist/cjs/sortableComponent-5dfc7ff8.js +2746 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/sr-02a5153e.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +3 -3
- package/dist/cjs/sv-1c32f9ba.js +73 -0
- package/dist/cjs/t9n-ed5c03a7.js +108 -0
- package/dist/cjs/th-ddd7073f.js +67 -0
- package/dist/cjs/time-a92ca33f.js +301 -0
- package/dist/cjs/time-zones-a7e83971.js +52 -0
- package/dist/cjs/tr-31fcd3f7.js +68 -0
- package/dist/cjs/uk-a0f9e2bc.js +106 -0
- package/dist/cjs/utils-51a793a5.js +2304 -0
- package/dist/cjs/utils-7e5609ab.js +78 -0
- package/dist/cjs/utils-fa7ad44b.js +153 -0
- package/dist/cjs/vi-d484e1b9.js +72 -0
- package/dist/cjs/zh-cn-3d843268.js +96 -0
- package/dist/cjs/zh-hk-4aacd6d2.js +94 -0
- package/dist/cjs/zh-tw-cbd770ad.js +94 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +4 -0
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +61 -24
- package/dist/collection/demos/browse-solutions.html +1 -1
- package/dist/collection/demos/buffer-tools.html +3 -3
- package/dist/collection/demos/card-manager.html +1 -1
- package/dist/collection/demos/create-feature.html +3 -3
- package/dist/collection/demos/crowdsource-manager.html +4 -42
- package/dist/collection/demos/crowdsource-reporter.html +1 -1
- package/dist/collection/demos/deduct-calculator.html +1 -1
- package/dist/collection/demos/demo-map.html +3 -3
- package/dist/collection/demos/edit-card.html +1 -1
- package/dist/collection/demos/feature-list.html +3 -3
- package/dist/collection/demos/index.html +1 -2
- package/dist/collection/demos/info-card.html +1 -1
- package/dist/collection/demos/json-editor-2.html +1 -1
- package/dist/collection/demos/json-editor.html +1 -1
- package/dist/collection/demos/layer-list.html +3 -3
- package/dist/collection/demos/layer-table.html +3 -3
- package/dist/collection/demos/list-item.html +3 -3
- package/dist/collection/demos/map-card.html +3 -3
- package/dist/collection/demos/map-draw-tools.html +3 -3
- package/dist/collection/demos/map-layer-picker.html +3 -3
- package/dist/collection/demos/map-select-tools.html +3 -3
- package/dist/collection/demos/new-public-notification.html +3 -3
- package/dist/collection/demos/new-solution-configuration.html +1 -1
- package/dist/collection/demos/pci-calculator.html +1 -1
- package/dist/collection/demos/pdf-download.html +1 -2
- package/dist/collection/demos/solution-configuration.html +1 -1
- package/dist/collection/demos/solution-contents.html +1 -1
- package/dist/collection/demos/solution-group-details.html +1 -1
- package/dist/collection/demos/solution-item-accordion.html +426 -294
- package/dist/collection/demos/solution-item-details.html +1 -1
- package/dist/collection/demos/solution-item-icon.html +1 -2
- package/dist/collection/demos/solution-item-sharing.html +1 -1
- package/dist/collection/demos/solution-item.html +1 -1
- package/dist/collection/demos/solution-organization-variables.html +1 -1
- package/dist/collection/demos/solution-resource-item.html +1 -1
- package/dist/collection/demos/solution-spatial-ref.html +1 -1
- package/dist/collection/demos/solution-template-data.html +1 -1
- package/dist/collection/demos/solution-variables.html +1 -1
- package/dist/collection/demos/spatial-ref.html +1 -1
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +2 -2
- package/dist/components/Validation.js +1 -1
- package/dist/components/accordion-item.js +8 -8
- package/dist/components/accordion.js +3 -3
- package/dist/components/action-bar.js +3 -6
- package/dist/components/action-group.js +8 -4
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action-pad.js +6 -7
- package/dist/components/action.js +4 -6
- package/dist/components/alert.js +5 -5
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +5 -5
- package/dist/components/block.js +12 -9
- package/dist/components/browser.js +1 -1
- package/dist/components/button.js +12 -10
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-card-group.js +4 -10
- package/dist/components/calcite-card.js +48 -22
- package/dist/components/calcite-chip-group.js +3 -7
- package/dist/components/calcite-color-picker.js +3 -5
- package/dist/components/calcite-dialog.js +5 -8
- package/dist/components/calcite-fab.js +3 -9
- package/dist/components/calcite-inline-editable.js +5 -7
- package/dist/components/calcite-input-time-picker.js +26 -16
- package/dist/components/calcite-input-time-zone.js +82 -48
- package/dist/components/calcite-list-item-group.js +3 -9
- package/dist/components/calcite-menu-item.js +4 -4
- package/dist/components/calcite-meter.js +2 -2
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation.js +3 -3
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list.js +4 -5
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-rating.js +5 -9
- package/dist/components/calcite-sheet.js +4 -4
- package/dist/components/calcite-shell-center-row.js +3 -3
- package/dist/components/calcite-sortable-list.js +4 -6
- package/dist/components/calcite-split-button.js +3 -9
- package/dist/components/calcite-stepper-item.js +4 -6
- package/dist/components/calcite-stepper.js +3 -3
- package/dist/components/calcite-table-row.js +4 -10
- package/dist/components/calcite-table.js +8 -8
- package/dist/components/calcite-text-area.js +11 -13
- package/dist/components/calcite-tile-group.js +3 -5
- package/dist/components/calcite-tile-select-group.js +2 -8
- package/dist/components/calcite-tile-select.js +4 -6
- package/dist/components/calcite-tile.js +3 -9
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/carousel-item.js +2 -2
- package/dist/components/carousel.js +81 -24
- package/dist/components/checkbox.js +5 -7
- package/dist/components/chip.js +6 -8
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +28 -11
- package/dist/components/combobox-item-group.js +2 -2
- package/dist/components/combobox-item.js +4 -6
- package/dist/components/combobox.js +13 -19
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +1 -1
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/date-picker-day.js +2 -8
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker.js +3 -3
- package/dist/components/date.js +1 -1
- package/dist/components/dom.js +24 -39
- package/dist/components/dropdown-group.js +2 -2
- package/dist/components/dropdown-item.js +4 -4
- package/dist/components/dropdown.js +36 -37
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +5 -10
- package/dist/components/floating-ui.js +54 -15
- package/dist/components/flow-item.js +3 -5
- package/dist/components/flow.js +2 -2
- package/dist/components/focusTrapComponent.js +43 -48
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +5 -9
- package/dist/components/icon.js +3 -3
- package/dist/components/index-p4VH55K1.js +4107 -0
- package/dist/components/index.js +2 -2
- package/dist/components/index4.js +1 -1
- package/dist/components/index5.js +5 -10
- package/dist/components/index6.js +5 -5
- package/dist/components/input-date-picker.js +12 -14
- package/dist/components/input-message.js +2 -2
- package/dist/components/input-number.js +16 -18
- package/dist/components/input-text.js +10 -12
- package/dist/components/input.js +16 -18
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-time-filter.js +6 -6
- package/dist/components/interactive.js +3 -83
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +9 -11
- package/dist/components/list-item.js +7 -6
- package/dist/components/list.js +26 -22
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +15 -12
- package/dist/components/locale2.js +2 -2
- package/dist/components/logger.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +2 -2
- package/dist/components/modal.js +5 -5
- package/dist/components/navigation-user.js +2 -2
- package/dist/components/notice.js +3 -3
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +1 -1
- package/dist/components/pagination.js +5 -37
- package/dist/components/panel.js +14 -10
- package/dist/components/pick-list-item.js +3 -5
- package/dist/components/popover.js +11 -7
- package/dist/components/progress.js +2 -2
- package/dist/components/radio-button.js +3 -5
- package/dist/components/region.js +32 -0
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +2 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/responsive.js +37 -0
- package/dist/components/scrim.js +2 -2
- package/dist/components/segmented-control-item.js +2 -2
- package/dist/components/segmented-control.js +32 -36
- package/dist/components/select.js +3 -5
- package/dist/components/shared-list-render.js +6 -6
- package/dist/components/shell-panel.js +4 -4
- package/dist/components/shell.js +3 -3
- package/dist/components/slider.js +9 -11
- package/dist/components/solution-item-accordion.js +62 -25
- package/dist/components/sortableComponent.js +27 -29
- package/dist/components/stack.js +2 -2
- package/dist/components/switch.js +4 -6
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +4 -4
- package/dist/components/tab-title.js +6 -9
- package/dist/components/tab.js +2 -2
- package/dist/components/table-cell.js +4 -6
- package/dist/components/table-header.js +3 -3
- package/dist/components/tabs.js +2 -2
- package/dist/components/time-picker.js +21 -27
- package/dist/components/time-zones.js +41 -357
- package/dist/components/tooltip.js +12 -7
- package/dist/components/tree-item.js +7 -9
- package/dist/components/tree.js +4 -4
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +5 -3
- package/dist/components/value-list-item.js +3 -5
- package/dist/components/value-list.js +6 -8
- package/dist/esm/ExpandToggle-4d440eb0.js +108 -0
- package/dist/esm/FloatingArrow-4f645ccd.js +46 -0
- package/dist/esm/Heading-80b3be96.js +22 -0
- package/dist/esm/Validation-cf136c56.js +18 -0
- package/dist/esm/app-globals-4aab2132.js +65 -0
- package/dist/esm/ar-d4e9c6ca.js +104 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/array-0e780f6f.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/bg-e7db3070.js +82 -0
- package/dist/esm/browser-b67d8df6.js +32 -0
- package/dist/esm/bs-154d0540.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +9 -9
- package/dist/esm/ca-403d9586.js +71 -0
- package/dist/esm/calcite-accordion_2.entry.js +20 -20
- package/dist/esm/calcite-action-bar.entry.js +17 -20
- package/dist/esm/calcite-action-group.entry.js +18 -16
- package/dist/esm/calcite-action-menu_2.entry.js +27 -24
- package/dist/esm/calcite-action-pad_2.entry.js +20 -21
- package/dist/esm/calcite-action_2.entry.js +32 -30
- package/dist/esm/calcite-alert_5.entry.js +25 -27
- package/dist/esm/calcite-avatar.entry.js +10 -10
- package/dist/esm/calcite-block-section.entry.js +12 -12
- package/dist/esm/calcite-block_5.entry.js +45 -47
- package/dist/esm/calcite-button.entry.js +24 -22
- package/dist/esm/calcite-card-group.entry.js +9 -15
- package/dist/esm/calcite-card.entry.js +50 -31
- package/dist/esm/calcite-carousel_2.entry.js +92 -37
- package/dist/esm/calcite-checkbox.entry.js +15 -17
- package/dist/esm/calcite-chip-group.entry.js +8 -12
- package/dist/esm/calcite-chip_2.entry.js +22 -26
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +37 -20
- package/dist/esm/calcite-color-picker.entry.js +15 -17
- package/dist/esm/calcite-combobox-item-group.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +36 -42
- package/dist/esm/calcite-date-picker-day_3.entry.js +16 -22
- package/dist/esm/calcite-dialog.entry.js +20 -23
- package/dist/esm/calcite-dropdown_2.entry.js +50 -51
- package/dist/esm/calcite-fab.entry.js +9 -15
- package/dist/esm/calcite-filter_5.entry.js +58 -61
- package/dist/esm/calcite-flow_4.entry.js +7 -7
- package/dist/esm/calcite-graph_2.entry.js +23 -25
- package/dist/esm/calcite-icon_2.entry.js +24 -23
- package/dist/esm/calcite-inline-editable.entry.js +17 -19
- package/dist/esm/calcite-input-number.entry.js +31 -33
- package/dist/esm/calcite-input-text.entry.js +25 -27
- package/dist/esm/calcite-input-time-picker-cc675f33.js +1867 -0
- package/dist/esm/calcite-input-time-picker.entry.js +21 -21
- package/dist/esm/calcite-input-time-zone.entry.js +100 -66
- package/dist/esm/calcite-input_2.entry.js +33 -35
- package/dist/esm/calcite-label.entry.js +8 -8
- package/dist/esm/calcite-link.entry.js +15 -17
- package/dist/esm/calcite-list-item-group.entry.js +5 -12
- package/dist/esm/calcite-menu-item.entry.js +13 -13
- package/dist/esm/calcite-menu.entry.js +12 -12
- package/dist/esm/calcite-meter.entry.js +12 -12
- package/dist/esm/calcite-modal_3.entry.js +25 -25
- package/dist/esm/calcite-navigation-logo.entry.js +6 -6
- package/dist/esm/calcite-navigation-user.entry.js +5 -5
- package/dist/esm/calcite-navigation.entry.js +9 -9
- package/dist/esm/calcite-notice.entry.js +17 -17
- package/dist/esm/calcite-option-group.entry.js +2 -2
- package/dist/esm/calcite-option_2.entry.js +15 -17
- package/dist/esm/calcite-pagination.entry.js +15 -47
- package/dist/esm/calcite-pick-list-group.entry.js +12 -12
- package/dist/esm/calcite-pick-list-item.entry.js +17 -19
- package/dist/esm/calcite-pick-list.entry.js +15 -17
- package/dist/esm/calcite-radio-button-group.entry.js +10 -10
- package/dist/esm/calcite-radio-button.entry.js +13 -15
- package/dist/esm/calcite-rating.entry.js +18 -22
- package/dist/esm/calcite-scrim.entry.js +11 -11
- package/dist/esm/calcite-segmented-control_2.entry.js +43 -47
- package/dist/esm/calcite-sheet.entry.js +14 -14
- package/dist/esm/calcite-shell-center-row.entry.js +10 -10
- package/dist/esm/calcite-shell-panel_14.entry.js +47 -54
- package/dist/esm/calcite-sortable-list.entry.js +11 -13
- package/dist/esm/calcite-split-button.entry.js +6 -12
- package/dist/esm/calcite-stepper-item.entry.js +14 -16
- package/dist/esm/calcite-stepper.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +14 -16
- package/dist/esm/calcite-table-cell_2.entry.js +18 -20
- package/dist/esm/calcite-table-row.entry.js +9 -16
- package/dist/esm/calcite-table.entry.js +18 -18
- package/dist/esm/calcite-text-area.entry.js +26 -28
- package/dist/esm/calcite-tile-group.entry.js +9 -11
- package/dist/esm/calcite-tile-select-group.entry.js +5 -12
- package/dist/esm/calcite-tile-select.entry.js +10 -12
- package/dist/esm/calcite-tile.entry.js +9 -15
- package/dist/esm/calcite-time-picker.entry.js +32 -38
- package/dist/esm/calcite-tip-group.entry.js +4 -4
- package/dist/esm/calcite-tip-manager.entry.js +13 -13
- package/dist/esm/calcite-tip.entry.js +15 -15
- package/dist/esm/calcite-tooltip.entry.js +20 -15
- package/dist/esm/calcite-tree_2.entry.js +18 -20
- package/dist/esm/card-manager_3.entry.js +3 -3
- package/dist/esm/component-83541c88.js +30 -0
- package/dist/esm/conditionalSlot-8a0b08ef.js +51 -0
- package/dist/esm/config-16813c92.js +36 -0
- package/dist/esm/consent-manager.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +3 -3
- package/dist/esm/crowdsource-reporter.entry.js +2 -2
- package/dist/esm/cs-4687cf9f.js +147 -0
- package/dist/esm/da-27cb521d.js +67 -0
- package/dist/esm/date-4fc03f44.js +248 -0
- package/dist/esm/de-1fcb8b55.js +91 -0
- package/dist/esm/de-at-621e3161.js +90 -0
- package/dist/esm/de-ch-dbe106ba.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-75c641a7.js +1165 -0
- package/dist/esm/downloadUtils-e266e98d.js +3232 -0
- package/dist/esm/el-60cb7e8e.js +66 -0
- package/dist/esm/en-au-6b31eadf.js +66 -0
- package/dist/esm/en-ca-c62e2c29.js +65 -0
- package/dist/esm/en-gb-7b86a861.js +69 -0
- package/dist/esm/es-b048cf9a.js +66 -0
- package/dist/esm/es-mx-a469d043.js +65 -0
- package/dist/esm/et-09e59731.js +92 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +4 -4
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-98448a04.js +115 -0
- package/dist/esm/filter-c0066fe2.js +775 -0
- package/dist/esm/floating-ui-93b345b1.js +2404 -0
- package/dist/esm/focusTrapComponent-35b3348c.js +1008 -0
- package/dist/esm/form-d45062d8.js +372 -0
- package/dist/esm/fr-3a6bc75f.js +68 -0
- package/dist/esm/fr-ch-dd9aa577.js +66 -0
- package/dist/esm/guid-b0fb1de3.js +24 -0
- package/dist/esm/he-510944f3.js +105 -0
- package/dist/esm/helpers-f9bf9c0b.js +913 -0
- package/dist/esm/hi-b7f35ddc.js +65 -0
- package/dist/esm/hr-91d6e89b.js +80 -0
- package/dist/esm/hu-ab576bec.js +88 -0
- package/dist/esm/id-5ebe99df.js +66 -0
- package/dist/esm/index-19dc829d.js +126 -0
- package/dist/esm/index-39bc2e6d.js +199 -0
- package/dist/esm/index-3aaf8d41.js +13 -0
- package/dist/esm/index-46fa2a72.js +56 -0
- package/dist/esm/index-904bc599.js +1736 -0
- package/dist/esm/index-p4VH55K1-881b80d8.js +4107 -0
- package/dist/esm/index.es-c5f258e2.js +11220 -0
- package/dist/esm/input-e01adc49.js +58 -0
- package/dist/esm/instant-apps-app-guide.entry.js +2 -2
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +4 -4
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-create.entry.js +2 -2
- package/dist/esm/instant-apps-export-views.entry.js +2 -2
- package/dist/esm/instant-apps-export.entry.js +2 -2
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +4 -4
- package/dist/esm/instant-apps-language-translator.entry.js +4 -4
- package/dist/esm/instant-apps-measurement.entry.js +2 -2
- package/dist/esm/instant-apps-popover.entry.js +2 -2
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-splash.entry.js +2 -2
- package/dist/esm/instant-apps-time-filter.entry.js +9 -9
- package/dist/esm/interactive-98ed6b6f.js +82 -0
- package/dist/esm/it-62f24385.js +66 -0
- package/dist/esm/it-ch-11bc01ef.js +66 -0
- package/dist/esm/ja-4073b97b.js +72 -0
- package/dist/esm/key-e6b442de.js +16 -0
- package/dist/esm/ko-c1f9c746.js +72 -0
- package/dist/esm/label-272c5973.js +179 -0
- package/dist/esm/layout-manager.entry.js +2 -2
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadable-7cb2fc6f.js +93 -0
- package/dist/esm/loader.js +7 -7
- package/dist/esm/locale-0d06fca0.js +155 -0
- package/dist/esm/locale-24516fec.js +591 -0
- package/dist/esm/locale-ce177eb8.js +115 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/logger-f75712ce.js +59 -0
- package/dist/esm/lt-f293ef90.js +97 -0
- package/dist/esm/lv-cc60dc4f.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +5 -5
- package/dist/esm/math-d7c8823c.js +54 -0
- package/dist/esm/mk-90d4457e.js +66 -0
- package/dist/esm/nb-3d8eb4cc.js +67 -0
- package/dist/esm/nl-a2e0732f.js +67 -0
- package/dist/esm/observers-c83631e8.js +56 -0
- package/dist/esm/openCloseComponent-f642bffd.js +63 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-1e1abb9b.js +114 -0
- package/dist/esm/popupUtils-4570096e.js +119 -0
- package/dist/esm/pt-1bc85b37.js +67 -0
- package/dist/esm/pt-br-bd78f1f2.js +65 -0
- package/dist/esm/public-notification.entry.js +5 -5
- package/dist/esm/publicNotificationStore-8f6b0f93.js +45 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/region-a37e45f7.js +32 -0
- package/dist/esm/resources-14a1713f.js +20 -0
- package/dist/esm/resources-29590c8b.js +24 -0
- package/dist/esm/resources-35208c6c.js +63 -0
- package/dist/esm/resources-5956d3f9.js +35 -0
- package/dist/esm/resources-8e2ed936.js +34 -0
- package/dist/esm/resources-aa7bb7b6.js +22 -0
- package/dist/esm/resources-bc1429eb.js +63 -0
- package/dist/esm/resources-be1618c8.js +19 -0
- package/dist/esm/resources-c1a8d628.js +21 -0
- package/dist/esm/resources-de1ba6bb.js +23 -0
- package/dist/esm/responsive-b2be423e.js +37 -0
- package/dist/esm/ro-c1cb4571.js +66 -0
- package/dist/esm/ru-deb7b95b.js +126 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-0d3e719c.js +339 -0
- package/dist/esm/sk-e86a1a74.js +148 -0
- package/dist/esm/sl-4f70ce5c.js +168 -0
- package/dist/esm/solution-configuration.entry.js +4 -4
- package/dist/esm/solution-contents_3.entry.js +4 -4
- package/dist/esm/solution-item-accordion.entry.js +64 -27
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-store-ff13861b.js +1352 -0
- package/dist/esm/solutions-components.js +7 -7
- package/dist/esm/sortableComponent-7f184466.js +2743 -0
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/sr-bcde0bb0.js +101 -0
- package/dist/esm/store-manager.entry.js +3 -3
- package/dist/esm/sv-e585fbb5.js +71 -0
- package/dist/esm/t9n-9a5d28cf.js +103 -0
- package/dist/esm/th-f1746070.js +65 -0
- package/dist/esm/time-fbe17659.js +286 -0
- package/dist/esm/time-zones-044d518b.js +49 -0
- package/dist/esm/tr-065767bb.js +66 -0
- package/dist/esm/uk-96e72322.js +104 -0
- package/dist/esm/utils-3fc29543.js +142 -0
- package/dist/esm/utils-b5a6dbcd.js +65 -0
- package/dist/esm/utils-dadbd166.js +2274 -0
- package/dist/esm/vi-667fe4b6.js +70 -0
- package/dist/esm/zh-cn-fbbbe429.js +94 -0
- package/dist/esm/zh-hk-d11430a1.js +92 -0
- package/dist/esm/zh-tw-4a1b522b.js +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +35 -22
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +20 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +9 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +63 -52
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +42 -32
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +46 -51
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +16 -16
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +23 -19
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +273 -334
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +7 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +24 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +15 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +15 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +15 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +10 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +8 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +28 -22
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +17 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +5 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +8 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +130 -105
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/solutions-components/assets/action/t9n/index.d.ts +1 -0
- package/dist/solutions-components/assets/action/t9n/messages.json +2 -1
- package/dist/solutions-components/assets/action/t9n/messages_en.json +2 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_ar.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_bg.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_bs.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_ca.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_cs.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_da.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_de.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_el.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_es.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_et.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_fi.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_fr.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_he.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_hr.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_hu.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_id.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_it.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_ja.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_ko.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_lt.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_lv.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_nl.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_no.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_pl.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_pt-BR.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_pt-PT.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_ro.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_ru.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_sk.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_sl.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_sr.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_sv.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_th.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_tr.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_uk.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_vi.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_zh-CN.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_zh-HK.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_zh-TW.json +3 -1
- package/dist/solutions-components/assets/icon/connectionEndLeft16.json +1 -0
- package/dist/solutions-components/assets/icon/connectionEndLeft24.json +1 -0
- package/dist/solutions-components/assets/icon/connectionEndLeft32.json +1 -0
- package/dist/solutions-components/assets/icon/connectionEndRight16.json +1 -0
- package/dist/solutions-components/assets/icon/connectionEndRight24.json +1 -0
- package/dist/solutions-components/assets/icon/connectionEndRight32.json +1 -0
- package/dist/solutions-components/assets/icon/connectionMiddle16.json +1 -0
- package/dist/solutions-components/assets/icon/connectionMiddle24.json +1 -0
- package/dist/solutions-components/assets/icon/connectionMiddle32.json +1 -0
- package/dist/solutions-components/assets/icon/connectionToConnection16.json +1 -0
- package/dist/solutions-components/assets/icon/connectionToConnection24.json +1 -0
- package/dist/solutions-components/assets/icon/connectionToConnection32.json +1 -0
- package/dist/solutions-components/assets/icon/contentInlineRight16.json +1 -0
- package/dist/solutions-components/assets/icon/contentInlineRight24.json +1 -0
- package/dist/solutions-components/assets/icon/contentInlineRight32.json +1 -0
- package/dist/solutions-components/assets/icon/dashboardGraph16.json +1 -0
- package/dist/solutions-components/assets/icon/dashboardGraph24.json +1 -0
- package/dist/solutions-components/assets/icon/dashboardGraph32.json +1 -0
- package/dist/solutions-components/assets/icon/divide16.json +1 -0
- package/dist/solutions-components/assets/icon/divide24.json +1 -0
- package/dist/solutions-components/assets/icon/divide32.json +1 -0
- package/dist/solutions-components/assets/icon/i3DBuilding16.json +1 -0
- package/dist/solutions-components/assets/icon/i3DBuilding24.json +1 -0
- package/dist/solutions-components/assets/icon/i3DBuilding32.json +1 -0
- package/dist/solutions-components/assets/icon/i3DBuildingParameter16.json +1 -0
- package/dist/solutions-components/assets/icon/i3DBuildingParameter24.json +1 -0
- package/dist/solutions-components/assets/icon/i3DBuildingParameter32.json +1 -0
- package/dist/solutions-components/assets/icon/justify16.json +1 -0
- package/dist/solutions-components/assets/icon/justify24.json +1 -0
- package/dist/solutions-components/assets/icon/justify32.json +1 -0
- package/dist/solutions-components/assets/icon/layers16F.json +1 -0
- package/dist/solutions-components/assets/icon/layers24F.json +1 -0
- package/dist/solutions-components/assets/icon/layers32F.json +1 -0
- package/dist/solutions-components/assets/icon/modelHistory16.json +1 -0
- package/dist/solutions-components/assets/icon/modelHistory24.json +1 -0
- package/dist/solutions-components/assets/icon/modelHistory32.json +1 -0
- package/dist/solutions-components/assets/icon/nVariable16.json +1 -0
- package/dist/solutions-components/assets/icon/nVariable24.json +1 -0
- package/dist/solutions-components/assets/icon/nVariable32.json +1 -0
- package/dist/solutions-components/assets/icon/parcel16.json +1 -0
- package/dist/solutions-components/assets/icon/parcel24.json +1 -0
- package/dist/solutions-components/assets/icon/parcel32.json +1 -0
- package/dist/solutions-components/assets/icon/parcelParameter16.json +1 -0
- package/dist/solutions-components/assets/icon/parcelParameter24.json +1 -0
- package/dist/solutions-components/assets/icon/parcelParameter32.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionHistory16.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionHistory24.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionHistory32.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplateHistory16.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplateHistory24.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplateHistory32.json +1 -0
- package/dist/solutions-components/assets/icon/rasterToolHistory16.json +1 -0
- package/dist/solutions-components/assets/icon/rasterToolHistory24.json +1 -0
- package/dist/solutions-components/assets/icon/rasterToolHistory32.json +1 -0
- package/dist/solutions-components/assets/icon/refresh16F.json +1 -0
- package/dist/solutions-components/assets/icon/refresh24F.json +1 -0
- package/dist/solutions-components/assets/icon/refresh32F.json +1 -0
- package/dist/solutions-components/assets/icon/rss16F.json +1 -0
- package/dist/solutions-components/assets/icon/rss24F.json +1 -0
- package/dist/solutions-components/assets/icon/rss32F.json +1 -0
- package/dist/solutions-components/assets/icon/spaces16.json +1 -0
- package/dist/solutions-components/assets/icon/spaces24.json +1 -0
- package/dist/solutions-components/assets/icon/spaces32.json +1 -0
- package/dist/solutions-components/assets/icon/spacesParameter16.json +1 -0
- package/dist/solutions-components/assets/icon/spacesParameter24.json +1 -0
- package/dist/solutions-components/assets/icon/spacesParameter32.json +1 -0
- package/dist/solutions-components/assets/icon/squareBracketsX16.json +1 -0
- package/dist/solutions-components/assets/icon/squareBracketsX24.json +1 -0
- package/dist/solutions-components/assets/icon/squareBracketsX32.json +1 -0
- package/dist/solutions-components/assets/icon/toolHistory16.json +1 -0
- package/dist/solutions-components/assets/icon/toolHistory24.json +1 -0
- package/dist/solutions-components/assets/icon/toolHistory32.json +1 -0
- package/dist/solutions-components/assets/icon/tracePath16.json +1 -0
- package/dist/solutions-components/assets/icon/tracePath24.json +1 -0
- package/dist/solutions-components/assets/icon/tracePath32.json +1 -0
- package/dist/solutions-components/assets/icon/tracePathComplete16.json +1 -0
- package/dist/solutions-components/assets/icon/tracePathComplete24.json +1 -0
- package/dist/solutions-components/assets/icon/tracePathComplete32.json +1 -0
- package/dist/solutions-components/assets/icon/validate16.json +1 -0
- package/dist/solutions-components/assets/icon/validate24.json +1 -0
- package/dist/solutions-components/assets/icon/validate32.json +1 -0
- package/dist/solutions-components/assets/icon/webAdaptor16.json +1 -0
- package/dist/solutions-components/assets/icon/webAdaptor24.json +1 -0
- package/dist/solutions-components/assets/icon/webAdaptor32.json +1 -0
- package/dist/solutions-components/assets/icon/zoningParameter16.json +1 -0
- package/dist/solutions-components/assets/icon/zoningParameter24.json +1 -0
- package/dist/solutions-components/assets/icon/zoningParameter32.json +1 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/index.d.ts +45 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +46 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ar.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_bg.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_bs.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ca.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_cs.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_da.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_de.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_el.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +46 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_es.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_et.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_fi.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_fr.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_he.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_hr.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_hu.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_id.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_it.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ja.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ko.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_lt.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_lv.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_nl.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_no.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_pl.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_pt-BR.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_pt-PT.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ro.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ru.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_sk.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_sl.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_sr.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_sv.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_th.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_tr.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_uk.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_vi.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_zh-CN.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_zh-HK.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_zh-TW.json +262 -1
- package/dist/solutions-components/demos/browse-solutions.html +1 -1
- package/dist/solutions-components/demos/buffer-tools.html +3 -3
- package/dist/solutions-components/demos/card-manager.html +1 -1
- package/dist/solutions-components/demos/create-feature.html +3 -3
- package/dist/solutions-components/demos/crowdsource-manager.html +4 -42
- package/dist/solutions-components/demos/crowdsource-reporter.html +1 -1
- package/dist/solutions-components/demos/deduct-calculator.html +1 -1
- package/dist/solutions-components/demos/demo-map.html +3 -3
- package/dist/solutions-components/demos/edit-card.html +1 -1
- package/dist/solutions-components/demos/feature-list.html +3 -3
- package/dist/solutions-components/demos/index.html +1 -2
- package/dist/solutions-components/demos/info-card.html +1 -1
- package/dist/solutions-components/demos/json-editor-2.html +1 -1
- package/dist/solutions-components/demos/json-editor.html +1 -1
- package/dist/solutions-components/demos/layer-list.html +3 -3
- package/dist/solutions-components/demos/layer-table.html +3 -3
- package/dist/solutions-components/demos/list-item.html +3 -3
- package/dist/solutions-components/demos/map-card.html +3 -3
- package/dist/solutions-components/demos/map-draw-tools.html +3 -3
- package/dist/solutions-components/demos/map-layer-picker.html +3 -3
- package/dist/solutions-components/demos/map-select-tools.html +3 -3
- package/dist/solutions-components/demos/new-public-notification.html +3 -3
- package/dist/solutions-components/demos/new-solution-configuration.html +1 -1
- package/dist/solutions-components/demos/pci-calculator.html +1 -1
- package/dist/solutions-components/demos/pdf-download.html +1 -2
- package/dist/solutions-components/demos/solution-configuration.html +1 -1
- package/dist/solutions-components/demos/solution-contents.html +1 -1
- package/dist/solutions-components/demos/solution-group-details.html +1 -1
- package/dist/solutions-components/demos/solution-item-accordion.html +426 -294
- package/dist/solutions-components/demos/solution-item-details.html +1 -1
- package/dist/solutions-components/demos/solution-item-icon.html +1 -2
- package/dist/solutions-components/demos/solution-item-sharing.html +1 -1
- package/dist/solutions-components/demos/solution-item.html +1 -1
- package/dist/solutions-components/demos/solution-organization-variables.html +1 -1
- package/dist/solutions-components/demos/solution-resource-item.html +1 -1
- package/dist/solutions-components/demos/solution-spatial-ref.html +1 -1
- package/dist/solutions-components/demos/solution-template-data.html +1 -1
- package/dist/solutions-components/demos/solution-variables.html +1 -1
- package/dist/solutions-components/demos/spatial-ref.html +1 -1
- package/dist/solutions-components/p-017f63c5.js +6 -0
- package/dist/solutions-components/p-020143eb.entry.js +11 -0
- package/dist/solutions-components/p-0374291c.js +6 -0
- package/dist/solutions-components/p-05ae2b11.entry.js +6 -0
- package/dist/solutions-components/p-065e678f.js +6 -0
- package/dist/solutions-components/p-07a194e6.entry.js +6 -0
- package/dist/solutions-components/p-086f8bbb.js +6 -0
- package/dist/solutions-components/p-08e9cb30.entry.js +11 -0
- package/dist/solutions-components/p-097bf845.entry.js +11 -0
- package/dist/solutions-components/p-0bfef9c6.entry.js +11 -0
- package/dist/solutions-components/p-13d2e3cb.js +6 -0
- package/dist/solutions-components/p-143f9e99.entry.js +17 -0
- package/dist/solutions-components/p-144b7a4d.js +6 -0
- package/dist/solutions-components/p-146acd9a.entry.js +6 -0
- package/dist/solutions-components/p-14d78748.entry.js +6 -0
- package/dist/solutions-components/p-15410144.js +11 -0
- package/dist/solutions-components/p-1588fad8.entry.js +6 -0
- package/dist/solutions-components/p-16f52a67.js +6 -0
- package/dist/solutions-components/p-1726f46c.js +6 -0
- package/dist/solutions-components/p-181ac808.entry.js +11 -0
- package/dist/solutions-components/p-1862084a.entry.js +11 -0
- package/dist/solutions-components/p-1c2d0e90.entry.js +6 -0
- package/dist/solutions-components/p-1c9db4df.entry.js +6 -0
- package/dist/solutions-components/p-1effd2f3.entry.js +11 -0
- package/dist/solutions-components/p-1fc9919b.entry.js +17 -0
- package/dist/solutions-components/p-2105e658.entry.js +6 -0
- package/dist/solutions-components/p-2154a0f9.entry.js +6 -0
- package/dist/solutions-components/p-22bb693d.entry.js +6 -0
- package/dist/solutions-components/p-233f219c.js +11 -0
- package/dist/solutions-components/p-2360802a.js +21 -0
- package/dist/solutions-components/p-24ab8211.entry.js +11 -0
- package/dist/solutions-components/p-24ae549d.entry.js +6 -0
- package/dist/solutions-components/p-24e3f09f.entry.js +6 -0
- package/dist/solutions-components/p-2506309d.entry.js +11 -0
- package/dist/solutions-components/p-2714a658.entry.js +6 -0
- package/dist/solutions-components/p-27a4a537.js +11 -0
- package/dist/solutions-components/p-27bcce86.entry.js +11 -0
- package/dist/solutions-components/p-29047e77.entry.js +29 -0
- package/dist/solutions-components/p-296bd1c0.js +6 -0
- package/dist/solutions-components/p-2bb1b8a8.entry.js +6 -0
- package/dist/solutions-components/p-2daeb1fe.js +11 -0
- package/dist/solutions-components/p-2ebd8a9b.entry.js +11 -0
- package/dist/solutions-components/p-319f79c2.js +6 -0
- package/dist/solutions-components/p-33d732d7.entry.js +11 -0
- package/dist/solutions-components/p-347f341e.js +11 -0
- package/dist/solutions-components/p-347fa724.js +6 -0
- package/dist/solutions-components/p-3517faab.entry.js +11 -0
- package/dist/solutions-components/p-353312fc.entry.js +23 -0
- package/dist/solutions-components/p-3776809a.js +11 -0
- package/dist/solutions-components/p-39678a7e.js +6 -0
- package/dist/solutions-components/p-399dc933.entry.js +17 -0
- package/dist/solutions-components/p-3a33ef72.entry.js +6 -0
- package/dist/solutions-components/p-3bcdf332.entry.js +6 -0
- package/dist/solutions-components/p-3c775d00.js +6 -0
- package/dist/solutions-components/p-3cadb18d.js +11 -0
- package/dist/solutions-components/p-3cfc1e2e.js +11 -0
- package/dist/solutions-components/p-3d7643a5.entry.js +6 -0
- package/dist/solutions-components/p-3df0c310.entry.js +11 -0
- package/dist/solutions-components/p-3ec0ab00.entry.js +11 -0
- package/dist/solutions-components/p-402301cb.js +6 -0
- package/dist/solutions-components/p-40bfb158.entry.js +11 -0
- package/dist/solutions-components/p-41a6f03d.entry.js +6 -0
- package/dist/solutions-components/p-4253e9f1.js +16 -0
- package/dist/solutions-components/p-43165ebd.entry.js +6 -0
- package/dist/solutions-components/p-44d04914.entry.js +11 -0
- package/dist/solutions-components/p-46c8015c.js +488 -0
- package/dist/solutions-components/p-471c6630.js +6 -0
- package/dist/solutions-components/p-47f85755.entry.js +16 -0
- package/dist/solutions-components/p-49fbb67d.js +6 -0
- package/dist/solutions-components/p-4a02fd45.entry.js +6 -0
- package/dist/solutions-components/p-4a291f79.js +11 -0
- package/dist/solutions-components/p-4af0e4bd.entry.js +47 -0
- package/dist/solutions-components/p-4bb08a47.entry.js +11 -0
- package/dist/solutions-components/p-4db86c5e.entry.js +6 -0
- package/dist/solutions-components/p-4e0045d5.entry.js +6 -0
- package/dist/solutions-components/p-4e6eb06e.js +7 -0
- package/dist/solutions-components/p-4f82eb55.js +11 -0
- package/dist/solutions-components/p-50fb7f47.js +6 -0
- package/dist/solutions-components/p-51c6e6fe.js +21 -0
- package/dist/solutions-components/p-52094fca.entry.js +6 -0
- package/dist/solutions-components/p-52280e10.entry.js +17 -0
- package/dist/solutions-components/p-5230c9ff.entry.js +11 -0
- package/dist/solutions-components/p-549cdc87.entry.js +11 -0
- package/dist/solutions-components/p-54a3d9b8.js +6 -0
- package/dist/solutions-components/p-54e5a55d.js +11 -0
- package/dist/solutions-components/p-57ccfe47.entry.js +12 -0
- package/dist/solutions-components/p-58338ff8.entry.js +11 -0
- package/dist/solutions-components/p-5949dd38.js +6 -0
- package/dist/solutions-components/p-5b0e8838.entry.js +6 -0
- package/dist/solutions-components/p-5d2cd0a4.js +11 -0
- package/dist/solutions-components/p-5d8592e0.js +6 -0
- package/dist/solutions-components/p-5e25a0b8.js +11 -0
- package/dist/solutions-components/p-5e406ad0.entry.js +12 -0
- package/dist/solutions-components/p-5f63be31.entry.js +17 -0
- package/dist/solutions-components/p-5f6d9950.js +6 -0
- package/dist/solutions-components/p-5ff711ee.js +6 -0
- package/dist/solutions-components/p-60412359.js +6 -0
- package/dist/solutions-components/p-61aebbb5.js +11 -0
- package/dist/solutions-components/p-621ad249.js +17 -0
- package/dist/solutions-components/p-634f86e5.entry.js +11 -0
- package/dist/solutions-components/p-662aa94e.entry.js +6 -0
- package/dist/solutions-components/p-67ca4a64.entry.js +6 -0
- package/dist/solutions-components/p-67e7f047.entry.js +29 -0
- package/dist/solutions-components/p-685091db.js +6 -0
- package/dist/solutions-components/p-6aab07ba.entry.js +6 -0
- package/dist/solutions-components/p-6adaac20.js +11 -0
- package/dist/solutions-components/p-6e1685bd.entry.js +6 -0
- package/dist/solutions-components/p-6e93a997.entry.js +6 -0
- package/dist/solutions-components/p-706cddd1.entry.js +22 -0
- package/dist/solutions-components/p-70ecc979.entry.js +6 -0
- package/dist/solutions-components/p-710bd9ec.entry.js +6 -0
- package/dist/solutions-components/p-713949f2.js +6 -0
- package/dist/solutions-components/p-72522a67.js +11 -0
- package/dist/solutions-components/p-72ab74b8.entry.js +11 -0
- package/dist/solutions-components/p-739ce6f3.entry.js +6 -0
- package/dist/solutions-components/p-745efeab.js +11 -0
- package/dist/solutions-components/p-750f234e.entry.js +6 -0
- package/dist/solutions-components/p-759d0beb.entry.js +6 -0
- package/dist/solutions-components/p-790af200.entry.js +6 -0
- package/dist/solutions-components/p-794d1b98.js +6 -0
- package/dist/solutions-components/p-7b862835.js +6 -0
- package/dist/solutions-components/p-7b8d7eef.entry.js +11 -0
- package/dist/solutions-components/p-7cc351f6.js +6 -0
- package/dist/solutions-components/p-7d542581.js +11 -0
- package/dist/solutions-components/p-7d974838.js +11 -0
- package/dist/solutions-components/p-7e6a8c06.entry.js +6 -0
- package/dist/solutions-components/p-7e97d4d6.entry.js +6 -0
- package/dist/solutions-components/p-7fdb374f.js +6 -0
- package/dist/solutions-components/p-7ffa7eae.entry.js +11 -0
- package/dist/solutions-components/p-81681ba0.entry.js +11 -0
- package/dist/solutions-components/p-866cc732.js +6 -0
- package/dist/solutions-components/p-876c3f5f.js +11 -0
- package/dist/solutions-components/p-89334c32.js +6 -0
- package/dist/solutions-components/p-895e7b9c.js +16 -0
- package/dist/solutions-components/p-89a4ce79.entry.js +11 -0
- package/dist/solutions-components/p-89b27ae3.entry.js +20 -0
- package/dist/solutions-components/p-89f86585.js +18 -0
- package/dist/solutions-components/p-8ac08cc3.entry.js +17 -0
- package/dist/solutions-components/p-8cdeed09.entry.js +11 -0
- package/dist/solutions-components/p-8d0d5a69.js +6 -0
- package/dist/solutions-components/p-8d48a13f.js +6 -0
- package/dist/solutions-components/p-8d59545b.js +6 -0
- package/dist/solutions-components/p-8e0a95ff.js +16 -0
- package/dist/solutions-components/p-8e6081e0.entry.js +6 -0
- package/dist/solutions-components/p-8f556cfc.entry.js +6 -0
- package/dist/solutions-components/p-904a670f.js +6 -0
- package/dist/solutions-components/p-90d2aadc.entry.js +6 -0
- package/dist/solutions-components/p-91371f97.js +11 -0
- package/dist/solutions-components/p-91e05c99.js +11 -0
- package/dist/solutions-components/p-91f0f556.entry.js +17 -0
- package/dist/solutions-components/p-93b87dd4.entry.js +11 -0
- package/dist/solutions-components/p-94a5d59f.entry.js +6 -0
- package/dist/solutions-components/p-96385535.entry.js +17 -0
- package/dist/solutions-components/p-96a983ab.entry.js +6 -0
- package/dist/solutions-components/p-971b67d7.entry.js +6 -0
- package/dist/solutions-components/p-986dd5b2.js +17 -0
- package/dist/solutions-components/p-988c0d5e.entry.js +6 -0
- package/dist/solutions-components/p-9e862c85.js +6 -0
- package/dist/solutions-components/p-9f98f213.js +6 -0
- package/dist/solutions-components/p-9ff02b5e.js +6 -0
- package/dist/solutions-components/p-a02e2069.js +11 -0
- package/dist/solutions-components/p-a25c73c8.entry.js +6 -0
- package/dist/solutions-components/p-a568af9f.js +61 -0
- package/dist/solutions-components/p-a584543f.js +6 -0
- package/dist/solutions-components/p-a922f993.entry.js +11 -0
- package/dist/solutions-components/p-a9742ffc.entry.js +11 -0
- package/dist/solutions-components/p-ad9d1221.js +11 -0
- package/dist/solutions-components/p-adabe68e.entry.js +6 -0
- package/dist/solutions-components/p-af0e57e2.js +11 -0
- package/dist/solutions-components/p-b034e287.entry.js +17 -0
- package/dist/solutions-components/p-b0b1c672.entry.js +17 -0
- package/dist/solutions-components/p-b10d9165.entry.js +22 -0
- package/dist/solutions-components/p-b13aca6a.js +11 -0
- package/dist/solutions-components/p-b3e498bd.js +6 -0
- package/dist/solutions-components/p-b5ddeee9.js +6 -0
- package/dist/solutions-components/p-b658f264.js +6 -0
- package/dist/solutions-components/p-b739f26d.entry.js +6 -0
- package/dist/solutions-components/p-b78a4ce7.entry.js +6 -0
- package/dist/solutions-components/p-b79f296d.entry.js +11 -0
- package/dist/solutions-components/p-b90ed430.entry.js +11 -0
- package/dist/solutions-components/p-bb1de7a0.entry.js +11 -0
- package/dist/solutions-components/p-bb630f8c.entry.js +6 -0
- package/dist/solutions-components/p-be2c7d0c.entry.js +6 -0
- package/dist/solutions-components/p-be9a6a87.entry.js +17 -0
- package/dist/solutions-components/p-bf187297.js +6 -0
- package/dist/solutions-components/p-c0c6f4b2.js +6 -0
- package/dist/solutions-components/p-c350eacb.js +143 -0
- package/dist/solutions-components/p-c551ffc5.entry.js +6 -0
- package/dist/solutions-components/p-c64d61d9.entry.js +6 -0
- package/dist/solutions-components/p-c6dac8d2.js +16 -0
- package/dist/solutions-components/p-c7f8b7f0.js +11 -0
- package/dist/solutions-components/p-c97472e4.js +6 -0
- package/dist/solutions-components/p-c9f94a25.js +6 -0
- package/dist/solutions-components/p-cbb86cf2.entry.js +6 -0
- package/dist/solutions-components/p-cd8e711f.entry.js +6 -0
- package/dist/solutions-components/p-cf4273a0.js +6 -0
- package/dist/solutions-components/p-d0f16cd3.entry.js +11 -0
- package/dist/solutions-components/p-d25fc2c2.js +11 -0
- package/dist/solutions-components/p-d3338131.entry.js +11 -0
- package/dist/solutions-components/p-d4e07230.entry.js +11 -0
- package/dist/solutions-components/p-d4f16e41.js +6 -0
- package/dist/solutions-components/p-d6902512.js +11 -0
- package/dist/solutions-components/p-d751e255.entry.js +11 -0
- package/dist/solutions-components/p-da2fd30a.js +6 -0
- package/dist/solutions-components/p-dac93fa8.js +6 -0
- package/dist/solutions-components/p-daff208e.js +6 -0
- package/dist/solutions-components/p-dc9d4be3.js +6 -0
- package/dist/solutions-components/p-e01d27aa.entry.js +6 -0
- package/dist/solutions-components/p-e070ef82.entry.js +11 -0
- package/dist/solutions-components/p-e72e2dcc.entry.js +21 -0
- package/dist/solutions-components/p-e799935e.js +6 -0
- package/dist/solutions-components/p-e7acd771.entry.js +11 -0
- package/dist/solutions-components/p-e93184af.entry.js +6 -0
- package/dist/solutions-components/p-ea822f6e.js +6 -0
- package/dist/solutions-components/p-ec56afaa.js +6 -0
- package/dist/solutions-components/p-ed844e16.entry.js +11 -0
- package/dist/solutions-components/p-efaa77a0.js +11 -0
- package/dist/solutions-components/p-efdd44e3.js +6 -0
- package/dist/solutions-components/p-efe845d9.js +6 -0
- package/dist/solutions-components/p-f0c96a6a.js +11 -0
- package/dist/solutions-components/p-f4aadb3b.js +36 -0
- package/dist/solutions-components/p-f61fdfc6.entry.js +12 -0
- package/dist/solutions-components/p-f62b8031.js +6 -0
- package/dist/solutions-components/p-f746ec20.js +11 -0
- package/dist/solutions-components/p-f76d3cfe.js +6 -0
- package/dist/solutions-components/p-f7e7b830.entry.js +6 -0
- package/dist/solutions-components/p-f898b163.js +11 -0
- package/dist/solutions-components/p-f8ee16f3.entry.js +6 -0
- package/dist/solutions-components/p-f966fadb.entry.js +11 -0
- package/dist/solutions-components/p-fa80bc7e.js +11 -0
- package/dist/solutions-components/p-fae4708b.js +11 -0
- package/dist/solutions-components/p-faf3343c.entry.js +11 -0
- package/dist/solutions-components/p-fb4f7ace.js +6 -0
- package/dist/solutions-components/p-fc243a76.entry.js +11 -0
- package/dist/solutions-components/p-fca48d30.entry.js +6 -0
- package/dist/solutions-components/p-fdbb52ca.js +6 -0
- package/dist/solutions-components/p-fe3aea1a.entry.js +6 -0
- package/dist/solutions-components/p-fe58f3f0.entry.js +11 -0
- package/dist/solutions-components/p-ff336351.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +25 -3
- package/dist/types/preact.d.ts +1 -3
- package/package.json +5 -5
- package/dist/cjs/ExpandToggle-54ca6b91.js +0 -115
- package/dist/cjs/FloatingArrow-28f6bb91.js +0 -48
- package/dist/cjs/Heading-63b5c82c.js +0 -25
- package/dist/cjs/Validation-9bab9a69.js +0 -20
- package/dist/cjs/app-globals-d2085e28.js +0 -67
- package/dist/cjs/ar-ce94723b.js +0 -106
- package/dist/cjs/array-708fd433.js +0 -17
- package/dist/cjs/bg-8ab5661c.js +0 -84
- package/dist/cjs/browser-2893460e.js +0 -35
- package/dist/cjs/bs-f15b7a3d.js +0 -53
- package/dist/cjs/ca-321e7e4f.js +0 -73
- package/dist/cjs/calcite-input-time-picker-d63d914b.js +0 -1861
- package/dist/cjs/component-7f2bd646.js +0 -33
- package/dist/cjs/conditionalSlot-2d2541f4.js +0 -54
- package/dist/cjs/config-7c16c710.js +0 -40
- package/dist/cjs/continent-cdee1112.js +0 -34
- package/dist/cjs/country-a8539532.js +0 -446
- package/dist/cjs/cs-66742e3a.js +0 -149
- package/dist/cjs/da-933e7031.js +0 -69
- package/dist/cjs/date-e01a99aa.js +0 -264
- package/dist/cjs/de-87706bda.js +0 -93
- package/dist/cjs/de-at-752f7be1.js +0 -92
- package/dist/cjs/de-ch-41dc3fef.js +0 -92
- package/dist/cjs/dom-3d3a8f25.js +0 -1215
- package/dist/cjs/downloadUtils-17f08e5e.js +0 -3239
- package/dist/cjs/el-23b7e02b.js +0 -68
- package/dist/cjs/en-au-4f9fe083.js +0 -68
- package/dist/cjs/en-ca-afba9508.js +0 -67
- package/dist/cjs/en-gb-78a49c6a.js +0 -71
- package/dist/cjs/es-ea5faae0.js +0 -68
- package/dist/cjs/es-mx-47a5667a.js +0 -67
- package/dist/cjs/et-72505ea1.js +0 -94
- package/dist/cjs/fi-7b4ac88c.js +0 -117
- package/dist/cjs/filter-a9429bde.js +0 -778
- package/dist/cjs/floating-ui-9ff03df8.js +0 -2373
- package/dist/cjs/focusTrapComponent-86ebd41d.js +0 -1018
- package/dist/cjs/form-8132060d.js +0 -381
- package/dist/cjs/fr-8077e2e8.js +0 -70
- package/dist/cjs/fr-ch-04f427a0.js +0 -68
- package/dist/cjs/guid-42cda8c9.js +0 -26
- package/dist/cjs/he-93b37a58.js +0 -107
- package/dist/cjs/helpers-3cfcbb0d.js +0 -940
- package/dist/cjs/hi-cb320ba3.js +0 -67
- package/dist/cjs/hr-15e455d9.js +0 -82
- package/dist/cjs/hu-10c42dd5.js +0 -90
- package/dist/cjs/id-813844ef.js +0 -68
- package/dist/cjs/index-5a0af791.js +0 -1782
- package/dist/cjs/index-6189d0bb.js +0 -62
- package/dist/cjs/index-866b8a4c.js +0 -127
- package/dist/cjs/index-d21e03cd.js +0 -14
- package/dist/cjs/index-da709a10.js +0 -201
- package/dist/cjs/index.es-2518dd41.js +0 -11307
- package/dist/cjs/input-3efc5a5e.js +0 -60
- package/dist/cjs/interactive-3b85d8df.js +0 -167
- package/dist/cjs/it-090375c5.js +0 -68
- package/dist/cjs/it-ch-6cc91215.js +0 -68
- package/dist/cjs/ja-e6697420.js +0 -74
- package/dist/cjs/key-82084ef6.js +0 -19
- package/dist/cjs/ko-522250be.js +0 -74
- package/dist/cjs/label-e7d3c371.js +0 -186
- package/dist/cjs/loadable-0e357195.js +0 -98
- package/dist/cjs/locale-351282c5.js +0 -605
- package/dist/cjs/locale-a09603ee.js +0 -160
- package/dist/cjs/locale-a965a573.js +0 -120
- package/dist/cjs/logger-309df5d9.js +0 -61
- package/dist/cjs/lt-c2f9fd21.js +0 -99
- package/dist/cjs/lv-a1930986.js +0 -68
- package/dist/cjs/math-14740338.js +0 -60
- package/dist/cjs/mk-deb11706.js +0 -68
- package/dist/cjs/nb-3859b631.js +0 -69
- package/dist/cjs/nl-6c2c838d.js +0 -69
- package/dist/cjs/observers-5f9f67ee.js +0 -58
- package/dist/cjs/openCloseComponent-b66f10f5.js +0 -65
- package/dist/cjs/pl-fcb7899e.js +0 -116
- package/dist/cjs/popupUtils-24306e6b.js +0 -121
- package/dist/cjs/pt-416d2cf8.js +0 -69
- package/dist/cjs/pt-br-bae3d576.js +0 -67
- package/dist/cjs/publicNotificationStore-f229e839.js +0 -47
- package/dist/cjs/resources-4446499e.js +0 -39
- package/dist/cjs/resources-4c3e1c50.js +0 -68
- package/dist/cjs/resources-6f65a67f.js +0 -29
- package/dist/cjs/resources-87ed79dd.js +0 -23
- package/dist/cjs/resources-9b04cd8c.js +0 -23
- package/dist/cjs/resources-a1ca0958.js +0 -27
- package/dist/cjs/resources-c5f09989.js +0 -68
- package/dist/cjs/resources-dbc687b5.js +0 -26
- package/dist/cjs/resources-f11e9bd6.js +0 -39
- package/dist/cjs/resources-f8785f51.js +0 -21
- package/dist/cjs/ro-bda94f37.js +0 -68
- package/dist/cjs/ru-7258ce51.js +0 -128
- package/dist/cjs/shared-list-render-d4b7311f.js +0 -361
- package/dist/cjs/sk-3a398547.js +0 -150
- package/dist/cjs/sl-bfb5a728.js +0 -170
- package/dist/cjs/solution-store-2cd6a8c3.js +0 -1354
- package/dist/cjs/sortableComponent-8684e273.js +0 -2748
- package/dist/cjs/sr-58554054.js +0 -103
- package/dist/cjs/sv-335a4402.js +0 -73
- package/dist/cjs/t9n-e41672d2.js +0 -108
- package/dist/cjs/th-14ebad2e.js +0 -67
- package/dist/cjs/time-9a5e2f2d.js +0 -301
- package/dist/cjs/time-zones-cd027b1e.js +0 -367
- package/dist/cjs/tr-36bcc20f.js +0 -68
- package/dist/cjs/uk-dcff92bd.js +0 -106
- package/dist/cjs/utils-29c97686.js +0 -2304
- package/dist/cjs/utils-62072741.js +0 -153
- package/dist/cjs/utils-edb4e372.js +0 -78
- package/dist/cjs/vi-284fec96.js +0 -72
- package/dist/cjs/zh-cn-1f4ab46b.js +0 -96
- package/dist/cjs/zh-hk-39cf1fdd.js +0 -94
- package/dist/cjs/zh-tw-e0b3117d.js +0 -94
- package/dist/components/continent.js +0 -31
- package/dist/components/country.js +0 -444
- package/dist/esm/ExpandToggle-076b4360.js +0 -108
- package/dist/esm/FloatingArrow-9a505e89.js +0 -46
- package/dist/esm/Heading-cae0b34c.js +0 -22
- package/dist/esm/Validation-bd0a53ec.js +0 -18
- package/dist/esm/app-globals-530c75ff.js +0 -65
- package/dist/esm/ar-3e3c0d14.js +0 -104
- package/dist/esm/array-ddb2593b.js +0 -15
- package/dist/esm/bg-a872736b.js +0 -82
- package/dist/esm/browser-a791205e.js +0 -32
- package/dist/esm/bs-fe545c28.js +0 -51
- package/dist/esm/ca-8a2abdaa.js +0 -71
- package/dist/esm/calcite-input-time-picker-2fbabd28.js +0 -1858
- package/dist/esm/component-d35983a4.js +0 -30
- package/dist/esm/conditionalSlot-0cbc7172.js +0 -51
- package/dist/esm/config-8d1c3431.js +0 -36
- package/dist/esm/continent-125eb777.js +0 -31
- package/dist/esm/country-2d5661ee.js +0 -444
- package/dist/esm/cs-f9bfb6dd.js +0 -147
- package/dist/esm/da-0528de8d.js +0 -67
- package/dist/esm/date-f0c83d13.js +0 -248
- package/dist/esm/de-at-c7c45014.js +0 -90
- package/dist/esm/de-ch-e9338f1b.js +0 -90
- package/dist/esm/de-d149b983.js +0 -91
- package/dist/esm/dom-42a638f6.js +0 -1180
- package/dist/esm/downloadUtils-4a34c86a.js +0 -3232
- package/dist/esm/el-d86fff8e.js +0 -66
- package/dist/esm/en-au-e722c119.js +0 -66
- package/dist/esm/en-ca-8f38a3b8.js +0 -65
- package/dist/esm/en-gb-24dd064c.js +0 -69
- package/dist/esm/es-39a9e113.js +0 -66
- package/dist/esm/es-mx-fa0cbd42.js +0 -65
- package/dist/esm/et-51eabe80.js +0 -92
- package/dist/esm/fi-64ca8666.js +0 -115
- package/dist/esm/filter-6ee02739.js +0 -775
- package/dist/esm/floating-ui-a14930d0.js +0 -2365
- package/dist/esm/focusTrapComponent-c1def619.js +0 -1013
- package/dist/esm/form-46367137.js +0 -372
- package/dist/esm/fr-ch-6fe6a6e6.js +0 -66
- package/dist/esm/fr-e20306bf.js +0 -68
- package/dist/esm/guid-42656051.js +0 -24
- package/dist/esm/he-32ec6cce.js +0 -105
- package/dist/esm/helpers-22ae4484.js +0 -913
- package/dist/esm/hi-da2b085c.js +0 -65
- package/dist/esm/hr-5a52222a.js +0 -80
- package/dist/esm/hu-d3bbacef.js +0 -88
- package/dist/esm/id-dcdac250.js +0 -66
- package/dist/esm/index-2c724afd.js +0 -199
- package/dist/esm/index-ad182a71.js +0 -125
- package/dist/esm/index-b793d9aa.js +0 -1748
- package/dist/esm/index-f5d562b1.js +0 -60
- package/dist/esm/index-f8c935d6.js +0 -12
- package/dist/esm/index.es-5f44061b.js +0 -11220
- package/dist/esm/input-7f3fc18b.js +0 -58
- package/dist/esm/interactive-b2a41b8b.js +0 -162
- package/dist/esm/it-360f430f.js +0 -66
- package/dist/esm/it-ch-0ec68776.js +0 -66
- package/dist/esm/ja-a95cae4c.js +0 -72
- package/dist/esm/key-d6dfb50e.js +0 -16
- package/dist/esm/ko-f0edd78f.js +0 -72
- package/dist/esm/label-f2ec1100.js +0 -179
- package/dist/esm/loadable-1a9b14b8.js +0 -93
- package/dist/esm/locale-a34f9f04.js +0 -115
- package/dist/esm/locale-a53a7bc6.js +0 -591
- package/dist/esm/locale-b1d53fb1.js +0 -155
- package/dist/esm/logger-3188b9c3.js +0 -59
- package/dist/esm/lt-bff432da.js +0 -97
- package/dist/esm/lv-0c7edf32.js +0 -66
- package/dist/esm/math-9afe1f6d.js +0 -54
- package/dist/esm/mk-876446b8.js +0 -66
- package/dist/esm/nb-25537e87.js +0 -67
- package/dist/esm/nl-8be84da3.js +0 -67
- package/dist/esm/observers-6cac5525.js +0 -56
- package/dist/esm/openCloseComponent-9d44719e.js +0 -63
- package/dist/esm/pl-8d4fe5a7.js +0 -114
- package/dist/esm/popupUtils-3ccb86bd.js +0 -119
- package/dist/esm/pt-br-3015e62b.js +0 -65
- package/dist/esm/pt-dcc887b4.js +0 -67
- package/dist/esm/publicNotificationStore-7b0b97b6.js +0 -45
- package/dist/esm/resources-119ae117.js +0 -23
- package/dist/esm/resources-244d70ca.js +0 -22
- package/dist/esm/resources-3f56d4e7.js +0 -19
- package/dist/esm/resources-57625076.js +0 -63
- package/dist/esm/resources-5b213c89.js +0 -35
- package/dist/esm/resources-61eab899.js +0 -20
- package/dist/esm/resources-745dec87.js +0 -34
- package/dist/esm/resources-9494c015.js +0 -21
- package/dist/esm/resources-d6566b8a.js +0 -62
- package/dist/esm/resources-d7e0fbbf.js +0 -24
- package/dist/esm/ro-b973c654.js +0 -66
- package/dist/esm/ru-59a7f10b.js +0 -126
- package/dist/esm/shared-list-render-097ee366.js +0 -339
- package/dist/esm/sk-a00e5b97.js +0 -148
- package/dist/esm/sl-55c8a748.js +0 -168
- package/dist/esm/solution-store-ca4d55de.js +0 -1352
- package/dist/esm/sortableComponent-52b99f0f.js +0 -2745
- package/dist/esm/sr-e4fc3293.js +0 -101
- package/dist/esm/sv-f0782d2a.js +0 -71
- package/dist/esm/t9n-b33c486a.js +0 -103
- package/dist/esm/th-d2abb499.js +0 -65
- package/dist/esm/time-f99aceff.js +0 -286
- package/dist/esm/time-zones-211c88e3.js +0 -365
- package/dist/esm/tr-512413e1.js +0 -66
- package/dist/esm/uk-79fe44f1.js +0 -104
- package/dist/esm/utils-6f13e31e.js +0 -142
- package/dist/esm/utils-d2524a35.js +0 -2274
- package/dist/esm/utils-d67a6d71.js +0 -65
- package/dist/esm/vi-53b51e7a.js +0 -70
- package/dist/esm/zh-cn-7d19a53a.js +0 -94
- package/dist/esm/zh-hk-4fb6c3eb.js +0 -92
- package/dist/esm/zh-tw-6a5d2c2b.js +0 -92
- package/dist/solutions-components/p-022d51db.js +0 -6
- package/dist/solutions-components/p-03f3cf77.js +0 -6
- package/dist/solutions-components/p-03ffbb1b.js +0 -6
- package/dist/solutions-components/p-07d30a6b.entry.js +0 -11
- package/dist/solutions-components/p-0a165419.js +0 -18
- package/dist/solutions-components/p-0a1a9ff1.js +0 -6
- package/dist/solutions-components/p-0a311862.entry.js +0 -6
- package/dist/solutions-components/p-0a64be62.js +0 -6
- package/dist/solutions-components/p-0ded20f0.js +0 -6
- package/dist/solutions-components/p-0ef9d36b.js +0 -11
- package/dist/solutions-components/p-100bf9eb.entry.js +0 -6
- package/dist/solutions-components/p-12be6545.js +0 -11
- package/dist/solutions-components/p-14f027b5.js +0 -11
- package/dist/solutions-components/p-150394be.js +0 -11
- package/dist/solutions-components/p-1692858b.entry.js +0 -11
- package/dist/solutions-components/p-16b24981.entry.js +0 -11
- package/dist/solutions-components/p-174aa4da.js +0 -16
- package/dist/solutions-components/p-1826154b.entry.js +0 -11
- package/dist/solutions-components/p-1a047db6.js +0 -6
- package/dist/solutions-components/p-1b229454.js +0 -11
- package/dist/solutions-components/p-1c249530.js +0 -11
- package/dist/solutions-components/p-1ce2608d.js +0 -12
- package/dist/solutions-components/p-1df2d94d.js +0 -6
- package/dist/solutions-components/p-1e4aca17.js +0 -6
- package/dist/solutions-components/p-2058b5d9.js +0 -36
- package/dist/solutions-components/p-216ae423.entry.js +0 -11
- package/dist/solutions-components/p-219f0273.entry.js +0 -6
- package/dist/solutions-components/p-2230d4cc.js +0 -11
- package/dist/solutions-components/p-27d462c0.js +0 -11
- package/dist/solutions-components/p-283e344a.entry.js +0 -6
- package/dist/solutions-components/p-2868a42b.js +0 -11
- package/dist/solutions-components/p-290dee0b.js +0 -21
- package/dist/solutions-components/p-2a059548.entry.js +0 -11
- package/dist/solutions-components/p-2bb9b365.entry.js +0 -11
- package/dist/solutions-components/p-2c423f9c.js +0 -6
- package/dist/solutions-components/p-2caf1f94.js +0 -11
- package/dist/solutions-components/p-2cb47eff.entry.js +0 -11
- package/dist/solutions-components/p-2cc624c3.entry.js +0 -21
- package/dist/solutions-components/p-2d2b06db.entry.js +0 -6
- package/dist/solutions-components/p-2d2dcf8a.js +0 -6
- package/dist/solutions-components/p-2d5e428d.js +0 -6
- package/dist/solutions-components/p-2e7d005f.js +0 -6
- package/dist/solutions-components/p-3016bf77.entry.js +0 -11
- package/dist/solutions-components/p-313fcf40.entry.js +0 -6
- package/dist/solutions-components/p-31524836.entry.js +0 -6
- package/dist/solutions-components/p-3244e59a.js +0 -11
- package/dist/solutions-components/p-3305a61f.entry.js +0 -6
- package/dist/solutions-components/p-365169c2.js +0 -11
- package/dist/solutions-components/p-36e59391.js +0 -143
- package/dist/solutions-components/p-372e4640.js +0 -6
- package/dist/solutions-components/p-3792492a.js +0 -11
- package/dist/solutions-components/p-38a87c63.js +0 -11
- package/dist/solutions-components/p-3a4fbcf6.entry.js +0 -6
- package/dist/solutions-components/p-3d0e9be4.js +0 -6
- package/dist/solutions-components/p-3d6f8c9e.entry.js +0 -29
- package/dist/solutions-components/p-3de85f54.entry.js +0 -6
- package/dist/solutions-components/p-3e3b7172.entry.js +0 -6
- package/dist/solutions-components/p-3e828614.js +0 -11
- package/dist/solutions-components/p-42710186.entry.js +0 -11
- package/dist/solutions-components/p-44270ade.entry.js +0 -6
- package/dist/solutions-components/p-47398e76.entry.js +0 -11
- package/dist/solutions-components/p-47a0be20.js +0 -11
- package/dist/solutions-components/p-4881885b.entry.js +0 -23
- package/dist/solutions-components/p-4920ee12.js +0 -11
- package/dist/solutions-components/p-496b7a1f.entry.js +0 -6
- package/dist/solutions-components/p-4aafcac7.entry.js +0 -6
- package/dist/solutions-components/p-4b9b7778.js +0 -11
- package/dist/solutions-components/p-4cfe3d80.entry.js +0 -11
- package/dist/solutions-components/p-4feaf7db.entry.js +0 -11
- package/dist/solutions-components/p-50323300.entry.js +0 -6
- package/dist/solutions-components/p-50ab7903.js +0 -6
- package/dist/solutions-components/p-50c2d3e5.entry.js +0 -6
- package/dist/solutions-components/p-50e2a33b.js +0 -6
- package/dist/solutions-components/p-51abfcb7.js +0 -6
- package/dist/solutions-components/p-524a996f.js +0 -6
- package/dist/solutions-components/p-52dad11d.entry.js +0 -6
- package/dist/solutions-components/p-54879c84.entry.js +0 -11
- package/dist/solutions-components/p-5550f101.entry.js +0 -17
- package/dist/solutions-components/p-565bc712.entry.js +0 -12
- package/dist/solutions-components/p-5714f5ca.entry.js +0 -6
- package/dist/solutions-components/p-57be85fb.entry.js +0 -11
- package/dist/solutions-components/p-58d8ee47.js +0 -6
- package/dist/solutions-components/p-5959580d.js +0 -6
- package/dist/solutions-components/p-59695ccc.js +0 -6
- package/dist/solutions-components/p-59b3e946.entry.js +0 -17
- package/dist/solutions-components/p-5ba9df82.js +0 -17
- package/dist/solutions-components/p-5d398871.entry.js +0 -6
- package/dist/solutions-components/p-5dcec135.js +0 -21
- package/dist/solutions-components/p-5de67b86.js +0 -11
- package/dist/solutions-components/p-5ee4ba5c.js +0 -6
- package/dist/solutions-components/p-6147cfb4.entry.js +0 -6
- package/dist/solutions-components/p-62dadb51.js +0 -6
- package/dist/solutions-components/p-62ed6a7a.entry.js +0 -6
- package/dist/solutions-components/p-63f9004a.js +0 -6
- package/dist/solutions-components/p-64906bb5.entry.js +0 -11
- package/dist/solutions-components/p-64a34d92.js +0 -11
- package/dist/solutions-components/p-65fe42ef.js +0 -6
- package/dist/solutions-components/p-66cee72b.js +0 -17
- package/dist/solutions-components/p-6b21efce.js +0 -6
- package/dist/solutions-components/p-6cf1225a.entry.js +0 -11
- package/dist/solutions-components/p-6d4db88b.entry.js +0 -17
- package/dist/solutions-components/p-6d894d47.entry.js +0 -11
- package/dist/solutions-components/p-6e0439fa.entry.js +0 -6
- package/dist/solutions-components/p-6e118057.js +0 -11
- package/dist/solutions-components/p-6eb37ed2.js +0 -7
- package/dist/solutions-components/p-6f594492.entry.js +0 -11
- package/dist/solutions-components/p-6fdbdfdd.entry.js +0 -6
- package/dist/solutions-components/p-70b46ea4.js +0 -6
- package/dist/solutions-components/p-70f2898c.entry.js +0 -6
- package/dist/solutions-components/p-720a12c0.js +0 -6
- package/dist/solutions-components/p-72bce122.entry.js +0 -6
- package/dist/solutions-components/p-72ee63b0.entry.js +0 -16
- package/dist/solutions-components/p-744d9575.js +0 -11
- package/dist/solutions-components/p-754a5334.js +0 -6
- package/dist/solutions-components/p-76efd680.entry.js +0 -11
- package/dist/solutions-components/p-77052872.entry.js +0 -6
- package/dist/solutions-components/p-7758a533.entry.js +0 -17
- package/dist/solutions-components/p-776995b1.entry.js +0 -6
- package/dist/solutions-components/p-7987d73b.entry.js +0 -6
- package/dist/solutions-components/p-7a641e36.entry.js +0 -6
- package/dist/solutions-components/p-7a820f38.js +0 -6
- package/dist/solutions-components/p-7b122a6e.entry.js +0 -6
- package/dist/solutions-components/p-7e762fa7.js +0 -6
- package/dist/solutions-components/p-7f147e8b.entry.js +0 -6
- package/dist/solutions-components/p-8208ba6c.entry.js +0 -6
- package/dist/solutions-components/p-82185ebf.entry.js +0 -12
- package/dist/solutions-components/p-8267d344.entry.js +0 -11
- package/dist/solutions-components/p-827037ce.entry.js +0 -16
- package/dist/solutions-components/p-88c6ece3.entry.js +0 -11
- package/dist/solutions-components/p-8a683cdc.js +0 -6
- package/dist/solutions-components/p-8bce991a.js +0 -11
- package/dist/solutions-components/p-8be24ce9.entry.js +0 -6
- package/dist/solutions-components/p-8bfa18b7.js +0 -11
- package/dist/solutions-components/p-8d0f6824.entry.js +0 -6
- package/dist/solutions-components/p-8d453a3a.js +0 -16
- package/dist/solutions-components/p-8ef003ec.entry.js +0 -6
- package/dist/solutions-components/p-8fb651e5.entry.js +0 -6
- package/dist/solutions-components/p-92008b90.js +0 -6
- package/dist/solutions-components/p-926664d9.js +0 -61
- package/dist/solutions-components/p-94397114.js +0 -6
- package/dist/solutions-components/p-94805d7f.entry.js +0 -11
- package/dist/solutions-components/p-94c518ff.entry.js +0 -6
- package/dist/solutions-components/p-97aa6766.js +0 -6
- package/dist/solutions-components/p-984ce9da.js +0 -11
- package/dist/solutions-components/p-9850998d.entry.js +0 -6
- package/dist/solutions-components/p-99e6cb74.js +0 -6
- package/dist/solutions-components/p-9d12b3f1.entry.js +0 -17
- package/dist/solutions-components/p-9ee72dba.entry.js +0 -22
- package/dist/solutions-components/p-9f3aebd0.entry.js +0 -11
- package/dist/solutions-components/p-a095dadb.entry.js +0 -17
- package/dist/solutions-components/p-a0a77f45.entry.js +0 -20
- package/dist/solutions-components/p-a1093fee.entry.js +0 -6
- package/dist/solutions-components/p-a2a2c6a2.entry.js +0 -11
- package/dist/solutions-components/p-a2dbc38b.entry.js +0 -11
- package/dist/solutions-components/p-a4255b97.js +0 -6
- package/dist/solutions-components/p-a471ceb6.js +0 -11
- package/dist/solutions-components/p-a4e73041.js +0 -6
- package/dist/solutions-components/p-a5fc6ab7.js +0 -11
- package/dist/solutions-components/p-a60a2c8b.entry.js +0 -11
- package/dist/solutions-components/p-a6a0df5c.entry.js +0 -6
- package/dist/solutions-components/p-a7395caf.js +0 -6
- package/dist/solutions-components/p-a7761371.js +0 -6
- package/dist/solutions-components/p-a8b70e9a.js +0 -6
- package/dist/solutions-components/p-a8d83bc3.entry.js +0 -11
- package/dist/solutions-components/p-aa36f70e.entry.js +0 -6
- package/dist/solutions-components/p-aaa56cbf.js +0 -11
- package/dist/solutions-components/p-abd68931.entry.js +0 -6
- package/dist/solutions-components/p-ac92679c.js +0 -6
- package/dist/solutions-components/p-ad1c27ef.entry.js +0 -6
- package/dist/solutions-components/p-ad441ffa.entry.js +0 -11
- package/dist/solutions-components/p-add869b6.entry.js +0 -11
- package/dist/solutions-components/p-b310402f.entry.js +0 -11
- package/dist/solutions-components/p-b4d708cd.entry.js +0 -6
- package/dist/solutions-components/p-b5575639.js +0 -11
- package/dist/solutions-components/p-b5b66530.js +0 -11
- package/dist/solutions-components/p-b7e63ac2.js +0 -6
- package/dist/solutions-components/p-b8eee32e.js +0 -6
- package/dist/solutions-components/p-b9b2f7a9.entry.js +0 -6
- package/dist/solutions-components/p-bb040eab.entry.js +0 -29
- package/dist/solutions-components/p-bcc2d4ff.js +0 -6
- package/dist/solutions-components/p-bcce9d28.entry.js +0 -17
- package/dist/solutions-components/p-c151da98.entry.js +0 -11
- package/dist/solutions-components/p-c1fa5dae.entry.js +0 -11
- package/dist/solutions-components/p-c346ca43.entry.js +0 -6
- package/dist/solutions-components/p-c60c5991.entry.js +0 -11
- package/dist/solutions-components/p-c6255e3c.entry.js +0 -6
- package/dist/solutions-components/p-c66faddf.entry.js +0 -6
- package/dist/solutions-components/p-c6ef8cca.js +0 -6
- package/dist/solutions-components/p-c718930a.entry.js +0 -6
- package/dist/solutions-components/p-c7bfe120.entry.js +0 -6
- package/dist/solutions-components/p-c94b0e1a.js +0 -16
- package/dist/solutions-components/p-c976ac3b.entry.js +0 -47
- package/dist/solutions-components/p-cadbe907.entry.js +0 -11
- package/dist/solutions-components/p-cba6953c.js +0 -6
- package/dist/solutions-components/p-d00ca970.entry.js +0 -6
- package/dist/solutions-components/p-d2033cfa.entry.js +0 -6
- package/dist/solutions-components/p-d2ee8b82.js +0 -6
- package/dist/solutions-components/p-d301b8fd.js +0 -6
- package/dist/solutions-components/p-d4ab82e3.entry.js +0 -17
- package/dist/solutions-components/p-d7711a84.entry.js +0 -11
- package/dist/solutions-components/p-d7871f0d.entry.js +0 -11
- package/dist/solutions-components/p-d9b8b4e2.entry.js +0 -6
- package/dist/solutions-components/p-d9e930c8.js +0 -11
- package/dist/solutions-components/p-dc264663.entry.js +0 -17
- package/dist/solutions-components/p-dcaae1e9.entry.js +0 -11
- package/dist/solutions-components/p-dcebc541.js +0 -6
- package/dist/solutions-components/p-de3719f2.entry.js +0 -22
- package/dist/solutions-components/p-dec62e5d.js +0 -488
- package/dist/solutions-components/p-e068dfb9.entry.js +0 -11
- package/dist/solutions-components/p-e0b65115.js +0 -11
- package/dist/solutions-components/p-e0f10596.entry.js +0 -6
- package/dist/solutions-components/p-e0fd4006.js +0 -6
- package/dist/solutions-components/p-e26cf5f5.entry.js +0 -11
- package/dist/solutions-components/p-e378184f.entry.js +0 -6
- package/dist/solutions-components/p-e6798e38.js +0 -6
- package/dist/solutions-components/p-ea8d2558.js +0 -6
- package/dist/solutions-components/p-ef187f1d.js +0 -6
- package/dist/solutions-components/p-ef67c743.js +0 -11
- package/dist/solutions-components/p-efca5cea.entry.js +0 -6
- package/dist/solutions-components/p-f359c162.entry.js +0 -11
- package/dist/solutions-components/p-f3e3a4d5.entry.js +0 -6
- package/dist/solutions-components/p-f4360468.entry.js +0 -11
- package/dist/solutions-components/p-f4d7f757.js +0 -6
- package/dist/solutions-components/p-f550ebc1.entry.js +0 -6
- package/dist/solutions-components/p-f69ca69c.js +0 -6
- package/dist/solutions-components/p-f6c3501c.js +0 -16
- package/dist/solutions-components/p-f6eeac1b.entry.js +0 -17
- package/dist/solutions-components/p-f72fa647.entry.js +0 -12
- package/dist/solutions-components/p-f7e45464.js +0 -6
- package/dist/solutions-components/p-f7ffcd95.js +0 -6
- package/dist/solutions-components/p-f8d23498.js +0 -11
- package/dist/solutions-components/p-fa56b7c2.js +0 -11
- package/dist/solutions-components/p-fa7c50f8.entry.js +0 -6
- package/dist/solutions-components/p-fd9fb1ba.entry.js +0 -11
- package/dist/solutions-components/p-fdb201ff.entry.js +0 -17
- package/dist/solutions-components/p-fe0add26.js +0 -6
- package/dist/solutions-components/p-ff105078.entry.js +0 -11
- package/dist/solutions-components/p-ff639390.entry.js +0 -6
- /package/dist/cjs/{index-04255c05.js → index-c44fa2e4.js} +0 -0
- /package/dist/esm/{index-87ec7c0a.js → index-8fda18f5.js} +0 -0
- /package/dist/solutions-components/{p-fc17754b.js → p-33ff2b9e.js} +0 -0
@@ -0,0 +1,2413 @@
|
|
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 resources = require('./resources-18f799c7.js');
|
9
|
+
const dom = require('./dom-795d4a33.js');
|
10
|
+
const browser = require('./browser-333a21c5.js');
|
11
|
+
const debounce = require('./debounce-7f1e04d6.js');
|
12
|
+
|
13
|
+
/**
|
14
|
+
* Custom positioning reference element.
|
15
|
+
* @see https://floating-ui.com/docs/virtual-elements
|
16
|
+
*/
|
17
|
+
|
18
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
19
|
+
const alignments = ['start', 'end'];
|
20
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
21
|
+
const min = Math.min;
|
22
|
+
const max = Math.max;
|
23
|
+
const round = Math.round;
|
24
|
+
const floor = Math.floor;
|
25
|
+
const createCoords = v => ({
|
26
|
+
x: v,
|
27
|
+
y: v
|
28
|
+
});
|
29
|
+
const oppositeSideMap = {
|
30
|
+
left: 'right',
|
31
|
+
right: 'left',
|
32
|
+
bottom: 'top',
|
33
|
+
top: 'bottom'
|
34
|
+
};
|
35
|
+
const oppositeAlignmentMap = {
|
36
|
+
start: 'end',
|
37
|
+
end: 'start'
|
38
|
+
};
|
39
|
+
function clamp(start, value, end) {
|
40
|
+
return max(start, min(value, end));
|
41
|
+
}
|
42
|
+
function evaluate(value, param) {
|
43
|
+
return typeof value === 'function' ? value(param) : value;
|
44
|
+
}
|
45
|
+
function getSide(placement) {
|
46
|
+
return placement.split('-')[0];
|
47
|
+
}
|
48
|
+
function getAlignment(placement) {
|
49
|
+
return placement.split('-')[1];
|
50
|
+
}
|
51
|
+
function getOppositeAxis(axis) {
|
52
|
+
return axis === 'x' ? 'y' : 'x';
|
53
|
+
}
|
54
|
+
function getAxisLength(axis) {
|
55
|
+
return axis === 'y' ? 'height' : 'width';
|
56
|
+
}
|
57
|
+
function getSideAxis(placement) {
|
58
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
59
|
+
}
|
60
|
+
function getAlignmentAxis(placement) {
|
61
|
+
return getOppositeAxis(getSideAxis(placement));
|
62
|
+
}
|
63
|
+
function getAlignmentSides(placement, rects, rtl) {
|
64
|
+
if (rtl === void 0) {
|
65
|
+
rtl = false;
|
66
|
+
}
|
67
|
+
const alignment = getAlignment(placement);
|
68
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
69
|
+
const length = getAxisLength(alignmentAxis);
|
70
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
71
|
+
if (rects.reference[length] > rects.floating[length]) {
|
72
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
73
|
+
}
|
74
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
75
|
+
}
|
76
|
+
function getExpandedPlacements(placement) {
|
77
|
+
const oppositePlacement = getOppositePlacement(placement);
|
78
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
79
|
+
}
|
80
|
+
function getOppositeAlignmentPlacement(placement) {
|
81
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
82
|
+
}
|
83
|
+
function getSideList(side, isStart, rtl) {
|
84
|
+
const lr = ['left', 'right'];
|
85
|
+
const rl = ['right', 'left'];
|
86
|
+
const tb = ['top', 'bottom'];
|
87
|
+
const bt = ['bottom', 'top'];
|
88
|
+
switch (side) {
|
89
|
+
case 'top':
|
90
|
+
case 'bottom':
|
91
|
+
if (rtl) return isStart ? rl : lr;
|
92
|
+
return isStart ? lr : rl;
|
93
|
+
case 'left':
|
94
|
+
case 'right':
|
95
|
+
return isStart ? tb : bt;
|
96
|
+
default:
|
97
|
+
return [];
|
98
|
+
}
|
99
|
+
}
|
100
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
101
|
+
const alignment = getAlignment(placement);
|
102
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
103
|
+
if (alignment) {
|
104
|
+
list = list.map(side => side + "-" + alignment);
|
105
|
+
if (flipAlignment) {
|
106
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
107
|
+
}
|
108
|
+
}
|
109
|
+
return list;
|
110
|
+
}
|
111
|
+
function getOppositePlacement(placement) {
|
112
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
113
|
+
}
|
114
|
+
function expandPaddingObject(padding) {
|
115
|
+
return {
|
116
|
+
top: 0,
|
117
|
+
right: 0,
|
118
|
+
bottom: 0,
|
119
|
+
left: 0,
|
120
|
+
...padding
|
121
|
+
};
|
122
|
+
}
|
123
|
+
function getPaddingObject(padding) {
|
124
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
125
|
+
top: padding,
|
126
|
+
right: padding,
|
127
|
+
bottom: padding,
|
128
|
+
left: padding
|
129
|
+
};
|
130
|
+
}
|
131
|
+
function rectToClientRect(rect) {
|
132
|
+
const {
|
133
|
+
x,
|
134
|
+
y,
|
135
|
+
width,
|
136
|
+
height
|
137
|
+
} = rect;
|
138
|
+
return {
|
139
|
+
width,
|
140
|
+
height,
|
141
|
+
top: y,
|
142
|
+
left: x,
|
143
|
+
right: x + width,
|
144
|
+
bottom: y + height,
|
145
|
+
x,
|
146
|
+
y
|
147
|
+
};
|
148
|
+
}
|
149
|
+
|
150
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
151
|
+
let {
|
152
|
+
reference,
|
153
|
+
floating
|
154
|
+
} = _ref;
|
155
|
+
const sideAxis = getSideAxis(placement);
|
156
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
157
|
+
const alignLength = getAxisLength(alignmentAxis);
|
158
|
+
const side = getSide(placement);
|
159
|
+
const isVertical = sideAxis === 'y';
|
160
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
161
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
162
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
163
|
+
let coords;
|
164
|
+
switch (side) {
|
165
|
+
case 'top':
|
166
|
+
coords = {
|
167
|
+
x: commonX,
|
168
|
+
y: reference.y - floating.height
|
169
|
+
};
|
170
|
+
break;
|
171
|
+
case 'bottom':
|
172
|
+
coords = {
|
173
|
+
x: commonX,
|
174
|
+
y: reference.y + reference.height
|
175
|
+
};
|
176
|
+
break;
|
177
|
+
case 'right':
|
178
|
+
coords = {
|
179
|
+
x: reference.x + reference.width,
|
180
|
+
y: commonY
|
181
|
+
};
|
182
|
+
break;
|
183
|
+
case 'left':
|
184
|
+
coords = {
|
185
|
+
x: reference.x - floating.width,
|
186
|
+
y: commonY
|
187
|
+
};
|
188
|
+
break;
|
189
|
+
default:
|
190
|
+
coords = {
|
191
|
+
x: reference.x,
|
192
|
+
y: reference.y
|
193
|
+
};
|
194
|
+
}
|
195
|
+
switch (getAlignment(placement)) {
|
196
|
+
case 'start':
|
197
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
198
|
+
break;
|
199
|
+
case 'end':
|
200
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
201
|
+
break;
|
202
|
+
}
|
203
|
+
return coords;
|
204
|
+
}
|
205
|
+
|
206
|
+
/**
|
207
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
208
|
+
* next to a given reference element.
|
209
|
+
*
|
210
|
+
* This export does not have any `platform` interface logic. You will need to
|
211
|
+
* write one for the platform you are using Floating UI with.
|
212
|
+
*/
|
213
|
+
const computePosition$1 = async (reference, floating, config) => {
|
214
|
+
const {
|
215
|
+
placement = 'bottom',
|
216
|
+
strategy = 'absolute',
|
217
|
+
middleware = [],
|
218
|
+
platform
|
219
|
+
} = config;
|
220
|
+
const validMiddleware = middleware.filter(Boolean);
|
221
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
222
|
+
let rects = await platform.getElementRects({
|
223
|
+
reference,
|
224
|
+
floating,
|
225
|
+
strategy
|
226
|
+
});
|
227
|
+
let {
|
228
|
+
x,
|
229
|
+
y
|
230
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
231
|
+
let statefulPlacement = placement;
|
232
|
+
let middlewareData = {};
|
233
|
+
let resetCount = 0;
|
234
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
235
|
+
const {
|
236
|
+
name,
|
237
|
+
fn
|
238
|
+
} = validMiddleware[i];
|
239
|
+
const {
|
240
|
+
x: nextX,
|
241
|
+
y: nextY,
|
242
|
+
data,
|
243
|
+
reset
|
244
|
+
} = await fn({
|
245
|
+
x,
|
246
|
+
y,
|
247
|
+
initialPlacement: placement,
|
248
|
+
placement: statefulPlacement,
|
249
|
+
strategy,
|
250
|
+
middlewareData,
|
251
|
+
rects,
|
252
|
+
platform,
|
253
|
+
elements: {
|
254
|
+
reference,
|
255
|
+
floating
|
256
|
+
}
|
257
|
+
});
|
258
|
+
x = nextX != null ? nextX : x;
|
259
|
+
y = nextY != null ? nextY : y;
|
260
|
+
middlewareData = {
|
261
|
+
...middlewareData,
|
262
|
+
[name]: {
|
263
|
+
...middlewareData[name],
|
264
|
+
...data
|
265
|
+
}
|
266
|
+
};
|
267
|
+
if (reset && resetCount <= 50) {
|
268
|
+
resetCount++;
|
269
|
+
if (typeof reset === 'object') {
|
270
|
+
if (reset.placement) {
|
271
|
+
statefulPlacement = reset.placement;
|
272
|
+
}
|
273
|
+
if (reset.rects) {
|
274
|
+
rects = reset.rects === true ? await platform.getElementRects({
|
275
|
+
reference,
|
276
|
+
floating,
|
277
|
+
strategy
|
278
|
+
}) : reset.rects;
|
279
|
+
}
|
280
|
+
({
|
281
|
+
x,
|
282
|
+
y
|
283
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
284
|
+
}
|
285
|
+
i = -1;
|
286
|
+
}
|
287
|
+
}
|
288
|
+
return {
|
289
|
+
x,
|
290
|
+
y,
|
291
|
+
placement: statefulPlacement,
|
292
|
+
strategy,
|
293
|
+
middlewareData
|
294
|
+
};
|
295
|
+
};
|
296
|
+
|
297
|
+
/**
|
298
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
299
|
+
* element is overflowing a given clipping boundary on each side.
|
300
|
+
* - positive = overflowing the boundary by that number of pixels
|
301
|
+
* - negative = how many pixels left before it will overflow
|
302
|
+
* - 0 = lies flush with the boundary
|
303
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
304
|
+
*/
|
305
|
+
async function detectOverflow(state, options) {
|
306
|
+
var _await$platform$isEle;
|
307
|
+
if (options === void 0) {
|
308
|
+
options = {};
|
309
|
+
}
|
310
|
+
const {
|
311
|
+
x,
|
312
|
+
y,
|
313
|
+
platform,
|
314
|
+
rects,
|
315
|
+
elements,
|
316
|
+
strategy
|
317
|
+
} = state;
|
318
|
+
const {
|
319
|
+
boundary = 'clippingAncestors',
|
320
|
+
rootBoundary = 'viewport',
|
321
|
+
elementContext = 'floating',
|
322
|
+
altBoundary = false,
|
323
|
+
padding = 0
|
324
|
+
} = evaluate(options, state);
|
325
|
+
const paddingObject = getPaddingObject(padding);
|
326
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
327
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
328
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
329
|
+
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))),
|
330
|
+
boundary,
|
331
|
+
rootBoundary,
|
332
|
+
strategy
|
333
|
+
}));
|
334
|
+
const rect = elementContext === 'floating' ? {
|
335
|
+
x,
|
336
|
+
y,
|
337
|
+
width: rects.floating.width,
|
338
|
+
height: rects.floating.height
|
339
|
+
} : rects.reference;
|
340
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
341
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
342
|
+
x: 1,
|
343
|
+
y: 1
|
344
|
+
} : {
|
345
|
+
x: 1,
|
346
|
+
y: 1
|
347
|
+
};
|
348
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
349
|
+
elements,
|
350
|
+
rect,
|
351
|
+
offsetParent,
|
352
|
+
strategy
|
353
|
+
}) : rect);
|
354
|
+
return {
|
355
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
356
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
357
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
358
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
359
|
+
};
|
360
|
+
}
|
361
|
+
|
362
|
+
/**
|
363
|
+
* Provides data to position an inner element of the floating element so that it
|
364
|
+
* appears centered to the reference element.
|
365
|
+
* @see https://floating-ui.com/docs/arrow
|
366
|
+
*/
|
367
|
+
const arrow$1 = options => ({
|
368
|
+
name: 'arrow',
|
369
|
+
options,
|
370
|
+
async fn(state) {
|
371
|
+
const {
|
372
|
+
x,
|
373
|
+
y,
|
374
|
+
placement,
|
375
|
+
rects,
|
376
|
+
platform,
|
377
|
+
elements,
|
378
|
+
middlewareData
|
379
|
+
} = state;
|
380
|
+
// Since `element` is required, we don't Partial<> the type.
|
381
|
+
const {
|
382
|
+
element,
|
383
|
+
padding = 0
|
384
|
+
} = evaluate(options, state) || {};
|
385
|
+
if (element == null) {
|
386
|
+
return {};
|
387
|
+
}
|
388
|
+
const paddingObject = getPaddingObject(padding);
|
389
|
+
const coords = {
|
390
|
+
x,
|
391
|
+
y
|
392
|
+
};
|
393
|
+
const axis = getAlignmentAxis(placement);
|
394
|
+
const length = getAxisLength(axis);
|
395
|
+
const arrowDimensions = await platform.getDimensions(element);
|
396
|
+
const isYAxis = axis === 'y';
|
397
|
+
const minProp = isYAxis ? 'top' : 'left';
|
398
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
399
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
400
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
401
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
402
|
+
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
403
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
404
|
+
|
405
|
+
// DOM platform can return `window` as the `offsetParent`.
|
406
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
407
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
408
|
+
}
|
409
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
410
|
+
|
411
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
412
|
+
// centered, modify the padding so that it is centered.
|
413
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
414
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
415
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
416
|
+
|
417
|
+
// Make sure the arrow doesn't overflow the floating element if the center
|
418
|
+
// point is outside the floating element's bounds.
|
419
|
+
const min$1 = minPadding;
|
420
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
421
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
422
|
+
const offset = clamp(min$1, center, max);
|
423
|
+
|
424
|
+
// If the reference is small enough that the arrow's padding causes it to
|
425
|
+
// to point to nothing for an aligned placement, adjust the offset of the
|
426
|
+
// floating element itself. To ensure `shift()` continues to take action,
|
427
|
+
// a single reset is performed when this is true.
|
428
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
429
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
430
|
+
return {
|
431
|
+
[axis]: coords[axis] + alignmentOffset,
|
432
|
+
data: {
|
433
|
+
[axis]: offset,
|
434
|
+
centerOffset: center - offset - alignmentOffset,
|
435
|
+
...(shouldAddOffset && {
|
436
|
+
alignmentOffset
|
437
|
+
})
|
438
|
+
},
|
439
|
+
reset: shouldAddOffset
|
440
|
+
};
|
441
|
+
}
|
442
|
+
});
|
443
|
+
|
444
|
+
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
445
|
+
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
446
|
+
return allowedPlacementsSortedByAlignment.filter(placement => {
|
447
|
+
if (alignment) {
|
448
|
+
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
449
|
+
}
|
450
|
+
return true;
|
451
|
+
});
|
452
|
+
}
|
453
|
+
/**
|
454
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
455
|
+
* that has the most space available automatically, without needing to specify a
|
456
|
+
* preferred placement. Alternative to `flip`.
|
457
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
458
|
+
*/
|
459
|
+
const autoPlacement$1 = function (options) {
|
460
|
+
if (options === void 0) {
|
461
|
+
options = {};
|
462
|
+
}
|
463
|
+
return {
|
464
|
+
name: 'autoPlacement',
|
465
|
+
options,
|
466
|
+
async fn(state) {
|
467
|
+
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
468
|
+
const {
|
469
|
+
rects,
|
470
|
+
middlewareData,
|
471
|
+
placement,
|
472
|
+
platform,
|
473
|
+
elements
|
474
|
+
} = state;
|
475
|
+
const {
|
476
|
+
crossAxis = false,
|
477
|
+
alignment,
|
478
|
+
allowedPlacements = placements,
|
479
|
+
autoAlignment = true,
|
480
|
+
...detectOverflowOptions
|
481
|
+
} = evaluate(options, state);
|
482
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
483
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
484
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
485
|
+
const currentPlacement = placements$1[currentIndex];
|
486
|
+
if (currentPlacement == null) {
|
487
|
+
return {};
|
488
|
+
}
|
489
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
490
|
+
|
491
|
+
// Make `computeCoords` start from the right place.
|
492
|
+
if (placement !== currentPlacement) {
|
493
|
+
return {
|
494
|
+
reset: {
|
495
|
+
placement: placements$1[0]
|
496
|
+
}
|
497
|
+
};
|
498
|
+
}
|
499
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
500
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
501
|
+
placement: currentPlacement,
|
502
|
+
overflows: currentOverflows
|
503
|
+
}];
|
504
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
505
|
+
|
506
|
+
// There are more placements to check.
|
507
|
+
if (nextPlacement) {
|
508
|
+
return {
|
509
|
+
data: {
|
510
|
+
index: currentIndex + 1,
|
511
|
+
overflows: allOverflows
|
512
|
+
},
|
513
|
+
reset: {
|
514
|
+
placement: nextPlacement
|
515
|
+
}
|
516
|
+
};
|
517
|
+
}
|
518
|
+
const placementsSortedByMostSpace = allOverflows.map(d => {
|
519
|
+
const alignment = getAlignment(d.placement);
|
520
|
+
return [d.placement, alignment && crossAxis ?
|
521
|
+
// Check along the mainAxis and main crossAxis side.
|
522
|
+
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
523
|
+
// Check only the mainAxis.
|
524
|
+
d.overflows[0], d.overflows];
|
525
|
+
}).sort((a, b) => a[1] - b[1]);
|
526
|
+
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
527
|
+
// Aligned placements should not check their opposite crossAxis
|
528
|
+
// side.
|
529
|
+
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
530
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
531
|
+
if (resetPlacement !== placement) {
|
532
|
+
return {
|
533
|
+
data: {
|
534
|
+
index: currentIndex + 1,
|
535
|
+
overflows: allOverflows
|
536
|
+
},
|
537
|
+
reset: {
|
538
|
+
placement: resetPlacement
|
539
|
+
}
|
540
|
+
};
|
541
|
+
}
|
542
|
+
return {};
|
543
|
+
}
|
544
|
+
};
|
545
|
+
};
|
546
|
+
|
547
|
+
/**
|
548
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
549
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
550
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
551
|
+
* @see https://floating-ui.com/docs/flip
|
552
|
+
*/
|
553
|
+
const flip$1 = function (options) {
|
554
|
+
if (options === void 0) {
|
555
|
+
options = {};
|
556
|
+
}
|
557
|
+
return {
|
558
|
+
name: 'flip',
|
559
|
+
options,
|
560
|
+
async fn(state) {
|
561
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
562
|
+
const {
|
563
|
+
placement,
|
564
|
+
middlewareData,
|
565
|
+
rects,
|
566
|
+
initialPlacement,
|
567
|
+
platform,
|
568
|
+
elements
|
569
|
+
} = state;
|
570
|
+
const {
|
571
|
+
mainAxis: checkMainAxis = true,
|
572
|
+
crossAxis: checkCrossAxis = true,
|
573
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
574
|
+
fallbackStrategy = 'bestFit',
|
575
|
+
fallbackAxisSideDirection = 'none',
|
576
|
+
flipAlignment = true,
|
577
|
+
...detectOverflowOptions
|
578
|
+
} = evaluate(options, state);
|
579
|
+
|
580
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
581
|
+
// added, we should skip any logic now since `flip()` has already done its
|
582
|
+
// work.
|
583
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
584
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
585
|
+
return {};
|
586
|
+
}
|
587
|
+
const side = getSide(placement);
|
588
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
589
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
590
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
591
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
592
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
593
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
594
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
595
|
+
}
|
596
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
597
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
598
|
+
const overflows = [];
|
599
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
600
|
+
if (checkMainAxis) {
|
601
|
+
overflows.push(overflow[side]);
|
602
|
+
}
|
603
|
+
if (checkCrossAxis) {
|
604
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
605
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
606
|
+
}
|
607
|
+
overflowsData = [...overflowsData, {
|
608
|
+
placement,
|
609
|
+
overflows
|
610
|
+
}];
|
611
|
+
|
612
|
+
// One or more sides is overflowing.
|
613
|
+
if (!overflows.every(side => side <= 0)) {
|
614
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
615
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
616
|
+
const nextPlacement = placements[nextIndex];
|
617
|
+
if (nextPlacement) {
|
618
|
+
// Try next placement and re-run the lifecycle.
|
619
|
+
return {
|
620
|
+
data: {
|
621
|
+
index: nextIndex,
|
622
|
+
overflows: overflowsData
|
623
|
+
},
|
624
|
+
reset: {
|
625
|
+
placement: nextPlacement
|
626
|
+
}
|
627
|
+
};
|
628
|
+
}
|
629
|
+
|
630
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
631
|
+
// then find the placement that fits the best on the main crossAxis side.
|
632
|
+
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;
|
633
|
+
|
634
|
+
// Otherwise fallback.
|
635
|
+
if (!resetPlacement) {
|
636
|
+
switch (fallbackStrategy) {
|
637
|
+
case 'bestFit':
|
638
|
+
{
|
639
|
+
var _overflowsData$filter2;
|
640
|
+
const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
|
641
|
+
if (hasFallbackAxisSideDirection) {
|
642
|
+
const currentSideAxis = getSideAxis(d.placement);
|
643
|
+
return currentSideAxis === initialSideAxis ||
|
644
|
+
// Create a bias to the `y` side axis due to horizontal
|
645
|
+
// reading directions favoring greater width.
|
646
|
+
currentSideAxis === 'y';
|
647
|
+
}
|
648
|
+
return true;
|
649
|
+
}).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$filter2[0];
|
650
|
+
if (placement) {
|
651
|
+
resetPlacement = placement;
|
652
|
+
}
|
653
|
+
break;
|
654
|
+
}
|
655
|
+
case 'initialPlacement':
|
656
|
+
resetPlacement = initialPlacement;
|
657
|
+
break;
|
658
|
+
}
|
659
|
+
}
|
660
|
+
if (placement !== resetPlacement) {
|
661
|
+
return {
|
662
|
+
reset: {
|
663
|
+
placement: resetPlacement
|
664
|
+
}
|
665
|
+
};
|
666
|
+
}
|
667
|
+
}
|
668
|
+
return {};
|
669
|
+
}
|
670
|
+
};
|
671
|
+
};
|
672
|
+
|
673
|
+
function getSideOffsets(overflow, rect) {
|
674
|
+
return {
|
675
|
+
top: overflow.top - rect.height,
|
676
|
+
right: overflow.right - rect.width,
|
677
|
+
bottom: overflow.bottom - rect.height,
|
678
|
+
left: overflow.left - rect.width
|
679
|
+
};
|
680
|
+
}
|
681
|
+
function isAnySideFullyClipped(overflow) {
|
682
|
+
return sides.some(side => overflow[side] >= 0);
|
683
|
+
}
|
684
|
+
/**
|
685
|
+
* Provides data to hide the floating element in applicable situations, such as
|
686
|
+
* when it is not in the same clipping context as the reference element.
|
687
|
+
* @see https://floating-ui.com/docs/hide
|
688
|
+
*/
|
689
|
+
const hide$1 = function (options) {
|
690
|
+
if (options === void 0) {
|
691
|
+
options = {};
|
692
|
+
}
|
693
|
+
return {
|
694
|
+
name: 'hide',
|
695
|
+
options,
|
696
|
+
async fn(state) {
|
697
|
+
const {
|
698
|
+
rects
|
699
|
+
} = state;
|
700
|
+
const {
|
701
|
+
strategy = 'referenceHidden',
|
702
|
+
...detectOverflowOptions
|
703
|
+
} = evaluate(options, state);
|
704
|
+
switch (strategy) {
|
705
|
+
case 'referenceHidden':
|
706
|
+
{
|
707
|
+
const overflow = await detectOverflow(state, {
|
708
|
+
...detectOverflowOptions,
|
709
|
+
elementContext: 'reference'
|
710
|
+
});
|
711
|
+
const offsets = getSideOffsets(overflow, rects.reference);
|
712
|
+
return {
|
713
|
+
data: {
|
714
|
+
referenceHiddenOffsets: offsets,
|
715
|
+
referenceHidden: isAnySideFullyClipped(offsets)
|
716
|
+
}
|
717
|
+
};
|
718
|
+
}
|
719
|
+
case 'escaped':
|
720
|
+
{
|
721
|
+
const overflow = await detectOverflow(state, {
|
722
|
+
...detectOverflowOptions,
|
723
|
+
altBoundary: true
|
724
|
+
});
|
725
|
+
const offsets = getSideOffsets(overflow, rects.floating);
|
726
|
+
return {
|
727
|
+
data: {
|
728
|
+
escapedOffsets: offsets,
|
729
|
+
escaped: isAnySideFullyClipped(offsets)
|
730
|
+
}
|
731
|
+
};
|
732
|
+
}
|
733
|
+
default:
|
734
|
+
{
|
735
|
+
return {};
|
736
|
+
}
|
737
|
+
}
|
738
|
+
}
|
739
|
+
};
|
740
|
+
};
|
741
|
+
|
742
|
+
function getBoundingRect(rects) {
|
743
|
+
const minX = min(...rects.map(rect => rect.left));
|
744
|
+
const minY = min(...rects.map(rect => rect.top));
|
745
|
+
const maxX = max(...rects.map(rect => rect.right));
|
746
|
+
const maxY = max(...rects.map(rect => rect.bottom));
|
747
|
+
return {
|
748
|
+
x: minX,
|
749
|
+
y: minY,
|
750
|
+
width: maxX - minX,
|
751
|
+
height: maxY - minY
|
752
|
+
};
|
753
|
+
}
|
754
|
+
function getRectsByLine(rects) {
|
755
|
+
const sortedRects = rects.slice().sort((a, b) => a.y - b.y);
|
756
|
+
const groups = [];
|
757
|
+
let prevRect = null;
|
758
|
+
for (let i = 0; i < sortedRects.length; i++) {
|
759
|
+
const rect = sortedRects[i];
|
760
|
+
if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {
|
761
|
+
groups.push([rect]);
|
762
|
+
} else {
|
763
|
+
groups[groups.length - 1].push(rect);
|
764
|
+
}
|
765
|
+
prevRect = rect;
|
766
|
+
}
|
767
|
+
return groups.map(rect => rectToClientRect(getBoundingRect(rect)));
|
768
|
+
}
|
769
|
+
/**
|
770
|
+
* Provides improved positioning for inline reference elements that can span
|
771
|
+
* over multiple lines, such as hyperlinks or range selections.
|
772
|
+
* @see https://floating-ui.com/docs/inline
|
773
|
+
*/
|
774
|
+
const inline = function (options) {
|
775
|
+
if (options === void 0) {
|
776
|
+
options = {};
|
777
|
+
}
|
778
|
+
return {
|
779
|
+
name: 'inline',
|
780
|
+
options,
|
781
|
+
async fn(state) {
|
782
|
+
const {
|
783
|
+
placement,
|
784
|
+
elements,
|
785
|
+
rects,
|
786
|
+
platform,
|
787
|
+
strategy
|
788
|
+
} = state;
|
789
|
+
// A MouseEvent's client{X,Y} coords can be up to 2 pixels off a
|
790
|
+
// ClientRect's bounds, despite the event listener being triggered. A
|
791
|
+
// padding of 2 seems to handle this issue.
|
792
|
+
const {
|
793
|
+
padding = 2,
|
794
|
+
x,
|
795
|
+
y
|
796
|
+
} = evaluate(options, state);
|
797
|
+
const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);
|
798
|
+
const clientRects = getRectsByLine(nativeClientRects);
|
799
|
+
const fallback = rectToClientRect(getBoundingRect(nativeClientRects));
|
800
|
+
const paddingObject = getPaddingObject(padding);
|
801
|
+
function getBoundingClientRect() {
|
802
|
+
// There are two rects and they are disjoined.
|
803
|
+
if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {
|
804
|
+
// Find the first rect in which the point is fully inside.
|
805
|
+
return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
|
806
|
+
}
|
807
|
+
|
808
|
+
// There are 2 or more connected rects.
|
809
|
+
if (clientRects.length >= 2) {
|
810
|
+
if (getSideAxis(placement) === 'y') {
|
811
|
+
const firstRect = clientRects[0];
|
812
|
+
const lastRect = clientRects[clientRects.length - 1];
|
813
|
+
const isTop = getSide(placement) === 'top';
|
814
|
+
const top = firstRect.top;
|
815
|
+
const bottom = lastRect.bottom;
|
816
|
+
const left = isTop ? firstRect.left : lastRect.left;
|
817
|
+
const right = isTop ? firstRect.right : lastRect.right;
|
818
|
+
const width = right - left;
|
819
|
+
const height = bottom - top;
|
820
|
+
return {
|
821
|
+
top,
|
822
|
+
bottom,
|
823
|
+
left,
|
824
|
+
right,
|
825
|
+
width,
|
826
|
+
height,
|
827
|
+
x: left,
|
828
|
+
y: top
|
829
|
+
};
|
830
|
+
}
|
831
|
+
const isLeftSide = getSide(placement) === 'left';
|
832
|
+
const maxRight = max(...clientRects.map(rect => rect.right));
|
833
|
+
const minLeft = min(...clientRects.map(rect => rect.left));
|
834
|
+
const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
|
835
|
+
const top = measureRects[0].top;
|
836
|
+
const bottom = measureRects[measureRects.length - 1].bottom;
|
837
|
+
const left = minLeft;
|
838
|
+
const right = maxRight;
|
839
|
+
const width = right - left;
|
840
|
+
const height = bottom - top;
|
841
|
+
return {
|
842
|
+
top,
|
843
|
+
bottom,
|
844
|
+
left,
|
845
|
+
right,
|
846
|
+
width,
|
847
|
+
height,
|
848
|
+
x: left,
|
849
|
+
y: top
|
850
|
+
};
|
851
|
+
}
|
852
|
+
return fallback;
|
853
|
+
}
|
854
|
+
const resetRects = await platform.getElementRects({
|
855
|
+
reference: {
|
856
|
+
getBoundingClientRect
|
857
|
+
},
|
858
|
+
floating: elements.floating,
|
859
|
+
strategy
|
860
|
+
});
|
861
|
+
if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {
|
862
|
+
return {
|
863
|
+
reset: {
|
864
|
+
rects: resetRects
|
865
|
+
}
|
866
|
+
};
|
867
|
+
}
|
868
|
+
return {};
|
869
|
+
}
|
870
|
+
};
|
871
|
+
};
|
872
|
+
|
873
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
874
|
+
// Derivable.
|
875
|
+
|
876
|
+
async function convertValueToCoords(state, options) {
|
877
|
+
const {
|
878
|
+
placement,
|
879
|
+
platform,
|
880
|
+
elements
|
881
|
+
} = state;
|
882
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
883
|
+
const side = getSide(placement);
|
884
|
+
const alignment = getAlignment(placement);
|
885
|
+
const isVertical = getSideAxis(placement) === 'y';
|
886
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
887
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
888
|
+
const rawValue = evaluate(options, state);
|
889
|
+
|
890
|
+
// eslint-disable-next-line prefer-const
|
891
|
+
let {
|
892
|
+
mainAxis,
|
893
|
+
crossAxis,
|
894
|
+
alignmentAxis
|
895
|
+
} = typeof rawValue === 'number' ? {
|
896
|
+
mainAxis: rawValue,
|
897
|
+
crossAxis: 0,
|
898
|
+
alignmentAxis: null
|
899
|
+
} : {
|
900
|
+
mainAxis: 0,
|
901
|
+
crossAxis: 0,
|
902
|
+
alignmentAxis: null,
|
903
|
+
...rawValue
|
904
|
+
};
|
905
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
906
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
907
|
+
}
|
908
|
+
return isVertical ? {
|
909
|
+
x: crossAxis * crossAxisMulti,
|
910
|
+
y: mainAxis * mainAxisMulti
|
911
|
+
} : {
|
912
|
+
x: mainAxis * mainAxisMulti,
|
913
|
+
y: crossAxis * crossAxisMulti
|
914
|
+
};
|
915
|
+
}
|
916
|
+
|
917
|
+
/**
|
918
|
+
* Modifies the placement by translating the floating element along the
|
919
|
+
* specified axes.
|
920
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
921
|
+
* object may be passed.
|
922
|
+
* @see https://floating-ui.com/docs/offset
|
923
|
+
*/
|
924
|
+
const offset$1 = function (options) {
|
925
|
+
if (options === void 0) {
|
926
|
+
options = 0;
|
927
|
+
}
|
928
|
+
return {
|
929
|
+
name: 'offset',
|
930
|
+
options,
|
931
|
+
async fn(state) {
|
932
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
933
|
+
const {
|
934
|
+
x,
|
935
|
+
y,
|
936
|
+
placement,
|
937
|
+
middlewareData
|
938
|
+
} = state;
|
939
|
+
const diffCoords = await convertValueToCoords(state, options);
|
940
|
+
|
941
|
+
// If the placement is the same and the arrow caused an alignment offset
|
942
|
+
// then we don't need to change the positioning coordinates.
|
943
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
944
|
+
return {};
|
945
|
+
}
|
946
|
+
return {
|
947
|
+
x: x + diffCoords.x,
|
948
|
+
y: y + diffCoords.y,
|
949
|
+
data: {
|
950
|
+
...diffCoords,
|
951
|
+
placement
|
952
|
+
}
|
953
|
+
};
|
954
|
+
}
|
955
|
+
};
|
956
|
+
};
|
957
|
+
|
958
|
+
/**
|
959
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
960
|
+
* keep it in view when it will overflow the clipping boundary.
|
961
|
+
* @see https://floating-ui.com/docs/shift
|
962
|
+
*/
|
963
|
+
const shift$1 = function (options) {
|
964
|
+
if (options === void 0) {
|
965
|
+
options = {};
|
966
|
+
}
|
967
|
+
return {
|
968
|
+
name: 'shift',
|
969
|
+
options,
|
970
|
+
async fn(state) {
|
971
|
+
const {
|
972
|
+
x,
|
973
|
+
y,
|
974
|
+
placement
|
975
|
+
} = state;
|
976
|
+
const {
|
977
|
+
mainAxis: checkMainAxis = true,
|
978
|
+
crossAxis: checkCrossAxis = false,
|
979
|
+
limiter = {
|
980
|
+
fn: _ref => {
|
981
|
+
let {
|
982
|
+
x,
|
983
|
+
y
|
984
|
+
} = _ref;
|
985
|
+
return {
|
986
|
+
x,
|
987
|
+
y
|
988
|
+
};
|
989
|
+
}
|
990
|
+
},
|
991
|
+
...detectOverflowOptions
|
992
|
+
} = evaluate(options, state);
|
993
|
+
const coords = {
|
994
|
+
x,
|
995
|
+
y
|
996
|
+
};
|
997
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
998
|
+
const crossAxis = getSideAxis(getSide(placement));
|
999
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
1000
|
+
let mainAxisCoord = coords[mainAxis];
|
1001
|
+
let crossAxisCoord = coords[crossAxis];
|
1002
|
+
if (checkMainAxis) {
|
1003
|
+
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
1004
|
+
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
1005
|
+
const min = mainAxisCoord + overflow[minSide];
|
1006
|
+
const max = mainAxisCoord - overflow[maxSide];
|
1007
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
1008
|
+
}
|
1009
|
+
if (checkCrossAxis) {
|
1010
|
+
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
1011
|
+
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
1012
|
+
const min = crossAxisCoord + overflow[minSide];
|
1013
|
+
const max = crossAxisCoord - overflow[maxSide];
|
1014
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
1015
|
+
}
|
1016
|
+
const limitedCoords = limiter.fn({
|
1017
|
+
...state,
|
1018
|
+
[mainAxis]: mainAxisCoord,
|
1019
|
+
[crossAxis]: crossAxisCoord
|
1020
|
+
});
|
1021
|
+
return {
|
1022
|
+
...limitedCoords,
|
1023
|
+
data: {
|
1024
|
+
x: limitedCoords.x - x,
|
1025
|
+
y: limitedCoords.y - y
|
1026
|
+
}
|
1027
|
+
};
|
1028
|
+
}
|
1029
|
+
};
|
1030
|
+
};
|
1031
|
+
/**
|
1032
|
+
* Built-in `limiter` that will stop `shift()` at a certain point.
|
1033
|
+
*/
|
1034
|
+
const limitShift = function (options) {
|
1035
|
+
if (options === void 0) {
|
1036
|
+
options = {};
|
1037
|
+
}
|
1038
|
+
return {
|
1039
|
+
options,
|
1040
|
+
fn(state) {
|
1041
|
+
const {
|
1042
|
+
x,
|
1043
|
+
y,
|
1044
|
+
placement,
|
1045
|
+
rects,
|
1046
|
+
middlewareData
|
1047
|
+
} = state;
|
1048
|
+
const {
|
1049
|
+
offset = 0,
|
1050
|
+
mainAxis: checkMainAxis = true,
|
1051
|
+
crossAxis: checkCrossAxis = true
|
1052
|
+
} = evaluate(options, state);
|
1053
|
+
const coords = {
|
1054
|
+
x,
|
1055
|
+
y
|
1056
|
+
};
|
1057
|
+
const crossAxis = getSideAxis(placement);
|
1058
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
1059
|
+
let mainAxisCoord = coords[mainAxis];
|
1060
|
+
let crossAxisCoord = coords[crossAxis];
|
1061
|
+
const rawOffset = evaluate(offset, state);
|
1062
|
+
const computedOffset = typeof rawOffset === 'number' ? {
|
1063
|
+
mainAxis: rawOffset,
|
1064
|
+
crossAxis: 0
|
1065
|
+
} : {
|
1066
|
+
mainAxis: 0,
|
1067
|
+
crossAxis: 0,
|
1068
|
+
...rawOffset
|
1069
|
+
};
|
1070
|
+
if (checkMainAxis) {
|
1071
|
+
const len = mainAxis === 'y' ? 'height' : 'width';
|
1072
|
+
const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
|
1073
|
+
const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
|
1074
|
+
if (mainAxisCoord < limitMin) {
|
1075
|
+
mainAxisCoord = limitMin;
|
1076
|
+
} else if (mainAxisCoord > limitMax) {
|
1077
|
+
mainAxisCoord = limitMax;
|
1078
|
+
}
|
1079
|
+
}
|
1080
|
+
if (checkCrossAxis) {
|
1081
|
+
var _middlewareData$offse, _middlewareData$offse2;
|
1082
|
+
const len = mainAxis === 'y' ? 'width' : 'height';
|
1083
|
+
const isOriginSide = ['top', 'left'].includes(getSide(placement));
|
1084
|
+
const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
|
1085
|
+
const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
|
1086
|
+
if (crossAxisCoord < limitMin) {
|
1087
|
+
crossAxisCoord = limitMin;
|
1088
|
+
} else if (crossAxisCoord > limitMax) {
|
1089
|
+
crossAxisCoord = limitMax;
|
1090
|
+
}
|
1091
|
+
}
|
1092
|
+
return {
|
1093
|
+
[mainAxis]: mainAxisCoord,
|
1094
|
+
[crossAxis]: crossAxisCoord
|
1095
|
+
};
|
1096
|
+
}
|
1097
|
+
};
|
1098
|
+
};
|
1099
|
+
|
1100
|
+
/**
|
1101
|
+
* Provides data that allows you to change the size of the floating element —
|
1102
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
1103
|
+
* width of the reference element.
|
1104
|
+
* @see https://floating-ui.com/docs/size
|
1105
|
+
*/
|
1106
|
+
const size = function (options) {
|
1107
|
+
if (options === void 0) {
|
1108
|
+
options = {};
|
1109
|
+
}
|
1110
|
+
return {
|
1111
|
+
name: 'size',
|
1112
|
+
options,
|
1113
|
+
async fn(state) {
|
1114
|
+
const {
|
1115
|
+
placement,
|
1116
|
+
rects,
|
1117
|
+
platform,
|
1118
|
+
elements
|
1119
|
+
} = state;
|
1120
|
+
const {
|
1121
|
+
apply = () => {},
|
1122
|
+
...detectOverflowOptions
|
1123
|
+
} = evaluate(options, state);
|
1124
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
1125
|
+
const side = getSide(placement);
|
1126
|
+
const alignment = getAlignment(placement);
|
1127
|
+
const isYAxis = getSideAxis(placement) === 'y';
|
1128
|
+
const {
|
1129
|
+
width,
|
1130
|
+
height
|
1131
|
+
} = rects.floating;
|
1132
|
+
let heightSide;
|
1133
|
+
let widthSide;
|
1134
|
+
if (side === 'top' || side === 'bottom') {
|
1135
|
+
heightSide = side;
|
1136
|
+
widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
|
1137
|
+
} else {
|
1138
|
+
widthSide = side;
|
1139
|
+
heightSide = alignment === 'end' ? 'top' : 'bottom';
|
1140
|
+
}
|
1141
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
1142
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
1143
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
1144
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
1145
|
+
const noShift = !state.middlewareData.shift;
|
1146
|
+
let availableHeight = overflowAvailableHeight;
|
1147
|
+
let availableWidth = overflowAvailableWidth;
|
1148
|
+
if (isYAxis) {
|
1149
|
+
availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
1150
|
+
} else {
|
1151
|
+
availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
1152
|
+
}
|
1153
|
+
if (noShift && !alignment) {
|
1154
|
+
const xMin = max(overflow.left, 0);
|
1155
|
+
const xMax = max(overflow.right, 0);
|
1156
|
+
const yMin = max(overflow.top, 0);
|
1157
|
+
const yMax = max(overflow.bottom, 0);
|
1158
|
+
if (isYAxis) {
|
1159
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
1160
|
+
} else {
|
1161
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
1162
|
+
}
|
1163
|
+
}
|
1164
|
+
await apply({
|
1165
|
+
...state,
|
1166
|
+
availableWidth,
|
1167
|
+
availableHeight
|
1168
|
+
});
|
1169
|
+
const nextDimensions = await platform.getDimensions(elements.floating);
|
1170
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
1171
|
+
return {
|
1172
|
+
reset: {
|
1173
|
+
rects: true
|
1174
|
+
}
|
1175
|
+
};
|
1176
|
+
}
|
1177
|
+
return {};
|
1178
|
+
}
|
1179
|
+
};
|
1180
|
+
};
|
1181
|
+
|
1182
|
+
function hasWindow() {
|
1183
|
+
return typeof window !== 'undefined';
|
1184
|
+
}
|
1185
|
+
function getNodeName(node) {
|
1186
|
+
if (isNode(node)) {
|
1187
|
+
return (node.nodeName || '').toLowerCase();
|
1188
|
+
}
|
1189
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
1190
|
+
// returning `#document` an infinite loop won't occur.
|
1191
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
1192
|
+
return '#document';
|
1193
|
+
}
|
1194
|
+
function getWindow(node) {
|
1195
|
+
var _node$ownerDocument;
|
1196
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
1197
|
+
}
|
1198
|
+
function getDocumentElement(node) {
|
1199
|
+
var _ref;
|
1200
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
1201
|
+
}
|
1202
|
+
function isNode(value) {
|
1203
|
+
if (!hasWindow()) {
|
1204
|
+
return false;
|
1205
|
+
}
|
1206
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
1207
|
+
}
|
1208
|
+
function isElement(value) {
|
1209
|
+
if (!hasWindow()) {
|
1210
|
+
return false;
|
1211
|
+
}
|
1212
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
1213
|
+
}
|
1214
|
+
function isHTMLElement(value) {
|
1215
|
+
if (!hasWindow()) {
|
1216
|
+
return false;
|
1217
|
+
}
|
1218
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
1219
|
+
}
|
1220
|
+
function isShadowRoot(value) {
|
1221
|
+
if (!hasWindow() || typeof ShadowRoot === 'undefined') {
|
1222
|
+
return false;
|
1223
|
+
}
|
1224
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
1225
|
+
}
|
1226
|
+
function isOverflowElement(element) {
|
1227
|
+
const {
|
1228
|
+
overflow,
|
1229
|
+
overflowX,
|
1230
|
+
overflowY,
|
1231
|
+
display
|
1232
|
+
} = getComputedStyle$1(element);
|
1233
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
1234
|
+
}
|
1235
|
+
function isTableElement(element) {
|
1236
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
1237
|
+
}
|
1238
|
+
function isTopLayer(element) {
|
1239
|
+
return [':popover-open', ':modal'].some(selector => {
|
1240
|
+
try {
|
1241
|
+
return element.matches(selector);
|
1242
|
+
} catch (e) {
|
1243
|
+
return false;
|
1244
|
+
}
|
1245
|
+
});
|
1246
|
+
}
|
1247
|
+
function isContainingBlock(elementOrCss) {
|
1248
|
+
const webkit = isWebKit();
|
1249
|
+
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
1250
|
+
|
1251
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
1252
|
+
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));
|
1253
|
+
}
|
1254
|
+
function getContainingBlock(element) {
|
1255
|
+
let currentNode = getParentNode(element);
|
1256
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
1257
|
+
if (isContainingBlock(currentNode)) {
|
1258
|
+
return currentNode;
|
1259
|
+
} else if (isTopLayer(currentNode)) {
|
1260
|
+
return null;
|
1261
|
+
}
|
1262
|
+
currentNode = getParentNode(currentNode);
|
1263
|
+
}
|
1264
|
+
return null;
|
1265
|
+
}
|
1266
|
+
function isWebKit() {
|
1267
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
1268
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
1269
|
+
}
|
1270
|
+
function isLastTraversableNode(node) {
|
1271
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
1272
|
+
}
|
1273
|
+
function getComputedStyle$1(element) {
|
1274
|
+
return getWindow(element).getComputedStyle(element);
|
1275
|
+
}
|
1276
|
+
function getNodeScroll(element) {
|
1277
|
+
if (isElement(element)) {
|
1278
|
+
return {
|
1279
|
+
scrollLeft: element.scrollLeft,
|
1280
|
+
scrollTop: element.scrollTop
|
1281
|
+
};
|
1282
|
+
}
|
1283
|
+
return {
|
1284
|
+
scrollLeft: element.scrollX,
|
1285
|
+
scrollTop: element.scrollY
|
1286
|
+
};
|
1287
|
+
}
|
1288
|
+
function getParentNode(node) {
|
1289
|
+
if (getNodeName(node) === 'html') {
|
1290
|
+
return node;
|
1291
|
+
}
|
1292
|
+
const result =
|
1293
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
1294
|
+
node.assignedSlot ||
|
1295
|
+
// DOM Element detected.
|
1296
|
+
node.parentNode ||
|
1297
|
+
// ShadowRoot detected.
|
1298
|
+
isShadowRoot(node) && node.host ||
|
1299
|
+
// Fallback.
|
1300
|
+
getDocumentElement(node);
|
1301
|
+
return isShadowRoot(result) ? result.host : result;
|
1302
|
+
}
|
1303
|
+
function getNearestOverflowAncestor(node) {
|
1304
|
+
const parentNode = getParentNode(node);
|
1305
|
+
if (isLastTraversableNode(parentNode)) {
|
1306
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
1307
|
+
}
|
1308
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
1309
|
+
return parentNode;
|
1310
|
+
}
|
1311
|
+
return getNearestOverflowAncestor(parentNode);
|
1312
|
+
}
|
1313
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
1314
|
+
var _node$ownerDocument2;
|
1315
|
+
if (list === void 0) {
|
1316
|
+
list = [];
|
1317
|
+
}
|
1318
|
+
if (traverseIframes === void 0) {
|
1319
|
+
traverseIframes = true;
|
1320
|
+
}
|
1321
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
1322
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
1323
|
+
const win = getWindow(scrollableAncestor);
|
1324
|
+
if (isBody) {
|
1325
|
+
const frameElement = getFrameElement(win);
|
1326
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
1327
|
+
}
|
1328
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
1329
|
+
}
|
1330
|
+
function getFrameElement(win) {
|
1331
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
1332
|
+
}
|
1333
|
+
|
1334
|
+
function getCssDimensions(element) {
|
1335
|
+
const css = getComputedStyle$1(element);
|
1336
|
+
// In testing environments, the `width` and `height` properties are empty
|
1337
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
1338
|
+
let width = parseFloat(css.width) || 0;
|
1339
|
+
let height = parseFloat(css.height) || 0;
|
1340
|
+
const hasOffset = isHTMLElement(element);
|
1341
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
1342
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
1343
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
1344
|
+
if (shouldFallback) {
|
1345
|
+
width = offsetWidth;
|
1346
|
+
height = offsetHeight;
|
1347
|
+
}
|
1348
|
+
return {
|
1349
|
+
width,
|
1350
|
+
height,
|
1351
|
+
$: shouldFallback
|
1352
|
+
};
|
1353
|
+
}
|
1354
|
+
|
1355
|
+
function unwrapElement(element) {
|
1356
|
+
return !isElement(element) ? element.contextElement : element;
|
1357
|
+
}
|
1358
|
+
|
1359
|
+
function getScale(element) {
|
1360
|
+
const domElement = unwrapElement(element);
|
1361
|
+
if (!isHTMLElement(domElement)) {
|
1362
|
+
return createCoords(1);
|
1363
|
+
}
|
1364
|
+
const rect = domElement.getBoundingClientRect();
|
1365
|
+
const {
|
1366
|
+
width,
|
1367
|
+
height,
|
1368
|
+
$
|
1369
|
+
} = getCssDimensions(domElement);
|
1370
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
1371
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
1372
|
+
|
1373
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
1374
|
+
|
1375
|
+
if (!x || !Number.isFinite(x)) {
|
1376
|
+
x = 1;
|
1377
|
+
}
|
1378
|
+
if (!y || !Number.isFinite(y)) {
|
1379
|
+
y = 1;
|
1380
|
+
}
|
1381
|
+
return {
|
1382
|
+
x,
|
1383
|
+
y
|
1384
|
+
};
|
1385
|
+
}
|
1386
|
+
|
1387
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
1388
|
+
function getVisualOffsets(element) {
|
1389
|
+
const win = getWindow(element);
|
1390
|
+
if (!isWebKit() || !win.visualViewport) {
|
1391
|
+
return noOffsets;
|
1392
|
+
}
|
1393
|
+
return {
|
1394
|
+
x: win.visualViewport.offsetLeft,
|
1395
|
+
y: win.visualViewport.offsetTop
|
1396
|
+
};
|
1397
|
+
}
|
1398
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
1399
|
+
if (isFixed === void 0) {
|
1400
|
+
isFixed = false;
|
1401
|
+
}
|
1402
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
1403
|
+
return false;
|
1404
|
+
}
|
1405
|
+
return isFixed;
|
1406
|
+
}
|
1407
|
+
|
1408
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
1409
|
+
if (includeScale === void 0) {
|
1410
|
+
includeScale = false;
|
1411
|
+
}
|
1412
|
+
if (isFixedStrategy === void 0) {
|
1413
|
+
isFixedStrategy = false;
|
1414
|
+
}
|
1415
|
+
const clientRect = element.getBoundingClientRect();
|
1416
|
+
const domElement = unwrapElement(element);
|
1417
|
+
let scale = createCoords(1);
|
1418
|
+
if (includeScale) {
|
1419
|
+
if (offsetParent) {
|
1420
|
+
if (isElement(offsetParent)) {
|
1421
|
+
scale = getScale(offsetParent);
|
1422
|
+
}
|
1423
|
+
} else {
|
1424
|
+
scale = getScale(element);
|
1425
|
+
}
|
1426
|
+
}
|
1427
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
1428
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
1429
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
1430
|
+
let width = clientRect.width / scale.x;
|
1431
|
+
let height = clientRect.height / scale.y;
|
1432
|
+
if (domElement) {
|
1433
|
+
const win = getWindow(domElement);
|
1434
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
1435
|
+
let currentWin = win;
|
1436
|
+
let currentIFrame = getFrameElement(currentWin);
|
1437
|
+
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
1438
|
+
const iframeScale = getScale(currentIFrame);
|
1439
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
1440
|
+
const css = getComputedStyle$1(currentIFrame);
|
1441
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
1442
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
1443
|
+
x *= iframeScale.x;
|
1444
|
+
y *= iframeScale.y;
|
1445
|
+
width *= iframeScale.x;
|
1446
|
+
height *= iframeScale.y;
|
1447
|
+
x += left;
|
1448
|
+
y += top;
|
1449
|
+
currentWin = getWindow(currentIFrame);
|
1450
|
+
currentIFrame = getFrameElement(currentWin);
|
1451
|
+
}
|
1452
|
+
}
|
1453
|
+
return rectToClientRect({
|
1454
|
+
width,
|
1455
|
+
height,
|
1456
|
+
x,
|
1457
|
+
y
|
1458
|
+
});
|
1459
|
+
}
|
1460
|
+
|
1461
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
1462
|
+
let {
|
1463
|
+
elements,
|
1464
|
+
rect,
|
1465
|
+
offsetParent,
|
1466
|
+
strategy
|
1467
|
+
} = _ref;
|
1468
|
+
const isFixed = strategy === 'fixed';
|
1469
|
+
const documentElement = getDocumentElement(offsetParent);
|
1470
|
+
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
1471
|
+
if (offsetParent === documentElement || topLayer && isFixed) {
|
1472
|
+
return rect;
|
1473
|
+
}
|
1474
|
+
let scroll = {
|
1475
|
+
scrollLeft: 0,
|
1476
|
+
scrollTop: 0
|
1477
|
+
};
|
1478
|
+
let scale = createCoords(1);
|
1479
|
+
const offsets = createCoords(0);
|
1480
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
1481
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
1482
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
1483
|
+
scroll = getNodeScroll(offsetParent);
|
1484
|
+
}
|
1485
|
+
if (isHTMLElement(offsetParent)) {
|
1486
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
1487
|
+
scale = getScale(offsetParent);
|
1488
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
1489
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
1490
|
+
}
|
1491
|
+
}
|
1492
|
+
return {
|
1493
|
+
width: rect.width * scale.x,
|
1494
|
+
height: rect.height * scale.y,
|
1495
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
1496
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
1497
|
+
};
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
function getClientRects(element) {
|
1501
|
+
return Array.from(element.getClientRects());
|
1502
|
+
}
|
1503
|
+
|
1504
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
1505
|
+
// incorrect for RTL.
|
1506
|
+
function getWindowScrollBarX(element, rect) {
|
1507
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
1508
|
+
if (!rect) {
|
1509
|
+
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
1510
|
+
}
|
1511
|
+
return rect.left + leftScroll;
|
1512
|
+
}
|
1513
|
+
|
1514
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
1515
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
1516
|
+
function getDocumentRect(element) {
|
1517
|
+
const html = getDocumentElement(element);
|
1518
|
+
const scroll = getNodeScroll(element);
|
1519
|
+
const body = element.ownerDocument.body;
|
1520
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
1521
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
1522
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
1523
|
+
const y = -scroll.scrollTop;
|
1524
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
1525
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
1526
|
+
}
|
1527
|
+
return {
|
1528
|
+
width,
|
1529
|
+
height,
|
1530
|
+
x,
|
1531
|
+
y
|
1532
|
+
};
|
1533
|
+
}
|
1534
|
+
|
1535
|
+
function getViewportRect(element, strategy) {
|
1536
|
+
const win = getWindow(element);
|
1537
|
+
const html = getDocumentElement(element);
|
1538
|
+
const visualViewport = win.visualViewport;
|
1539
|
+
let width = html.clientWidth;
|
1540
|
+
let height = html.clientHeight;
|
1541
|
+
let x = 0;
|
1542
|
+
let y = 0;
|
1543
|
+
if (visualViewport) {
|
1544
|
+
width = visualViewport.width;
|
1545
|
+
height = visualViewport.height;
|
1546
|
+
const visualViewportBased = isWebKit();
|
1547
|
+
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
1548
|
+
x = visualViewport.offsetLeft;
|
1549
|
+
y = visualViewport.offsetTop;
|
1550
|
+
}
|
1551
|
+
}
|
1552
|
+
return {
|
1553
|
+
width,
|
1554
|
+
height,
|
1555
|
+
x,
|
1556
|
+
y
|
1557
|
+
};
|
1558
|
+
}
|
1559
|
+
|
1560
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
1561
|
+
function getInnerBoundingClientRect(element, strategy) {
|
1562
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
1563
|
+
const top = clientRect.top + element.clientTop;
|
1564
|
+
const left = clientRect.left + element.clientLeft;
|
1565
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
1566
|
+
const width = element.clientWidth * scale.x;
|
1567
|
+
const height = element.clientHeight * scale.y;
|
1568
|
+
const x = left * scale.x;
|
1569
|
+
const y = top * scale.y;
|
1570
|
+
return {
|
1571
|
+
width,
|
1572
|
+
height,
|
1573
|
+
x,
|
1574
|
+
y
|
1575
|
+
};
|
1576
|
+
}
|
1577
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
1578
|
+
let rect;
|
1579
|
+
if (clippingAncestor === 'viewport') {
|
1580
|
+
rect = getViewportRect(element, strategy);
|
1581
|
+
} else if (clippingAncestor === 'document') {
|
1582
|
+
rect = getDocumentRect(getDocumentElement(element));
|
1583
|
+
} else if (isElement(clippingAncestor)) {
|
1584
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
1585
|
+
} else {
|
1586
|
+
const visualOffsets = getVisualOffsets(element);
|
1587
|
+
rect = {
|
1588
|
+
...clippingAncestor,
|
1589
|
+
x: clippingAncestor.x - visualOffsets.x,
|
1590
|
+
y: clippingAncestor.y - visualOffsets.y
|
1591
|
+
};
|
1592
|
+
}
|
1593
|
+
return rectToClientRect(rect);
|
1594
|
+
}
|
1595
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
1596
|
+
const parentNode = getParentNode(element);
|
1597
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
1598
|
+
return false;
|
1599
|
+
}
|
1600
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
1601
|
+
}
|
1602
|
+
|
1603
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
1604
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
1605
|
+
// of the given element up the tree.
|
1606
|
+
function getClippingElementAncestors(element, cache) {
|
1607
|
+
const cachedResult = cache.get(element);
|
1608
|
+
if (cachedResult) {
|
1609
|
+
return cachedResult;
|
1610
|
+
}
|
1611
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
1612
|
+
let currentContainingBlockComputedStyle = null;
|
1613
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
1614
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
1615
|
+
|
1616
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
1617
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
1618
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
1619
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
1620
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
1621
|
+
currentContainingBlockComputedStyle = null;
|
1622
|
+
}
|
1623
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
1624
|
+
if (shouldDropCurrentNode) {
|
1625
|
+
// Drop non-containing blocks.
|
1626
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
1627
|
+
} else {
|
1628
|
+
// Record last containing block for next iteration.
|
1629
|
+
currentContainingBlockComputedStyle = computedStyle;
|
1630
|
+
}
|
1631
|
+
currentNode = getParentNode(currentNode);
|
1632
|
+
}
|
1633
|
+
cache.set(element, result);
|
1634
|
+
return result;
|
1635
|
+
}
|
1636
|
+
|
1637
|
+
// Gets the maximum area that the element is visible in due to any number of
|
1638
|
+
// clipping ancestors.
|
1639
|
+
function getClippingRect(_ref) {
|
1640
|
+
let {
|
1641
|
+
element,
|
1642
|
+
boundary,
|
1643
|
+
rootBoundary,
|
1644
|
+
strategy
|
1645
|
+
} = _ref;
|
1646
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
1647
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
1648
|
+
const firstClippingAncestor = clippingAncestors[0];
|
1649
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
1650
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
1651
|
+
accRect.top = max(rect.top, accRect.top);
|
1652
|
+
accRect.right = min(rect.right, accRect.right);
|
1653
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
1654
|
+
accRect.left = max(rect.left, accRect.left);
|
1655
|
+
return accRect;
|
1656
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
1657
|
+
return {
|
1658
|
+
width: clippingRect.right - clippingRect.left,
|
1659
|
+
height: clippingRect.bottom - clippingRect.top,
|
1660
|
+
x: clippingRect.left,
|
1661
|
+
y: clippingRect.top
|
1662
|
+
};
|
1663
|
+
}
|
1664
|
+
|
1665
|
+
function getDimensions(element) {
|
1666
|
+
const {
|
1667
|
+
width,
|
1668
|
+
height
|
1669
|
+
} = getCssDimensions(element);
|
1670
|
+
return {
|
1671
|
+
width,
|
1672
|
+
height
|
1673
|
+
};
|
1674
|
+
}
|
1675
|
+
|
1676
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
1677
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
1678
|
+
const documentElement = getDocumentElement(offsetParent);
|
1679
|
+
const isFixed = strategy === 'fixed';
|
1680
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
1681
|
+
let scroll = {
|
1682
|
+
scrollLeft: 0,
|
1683
|
+
scrollTop: 0
|
1684
|
+
};
|
1685
|
+
const offsets = createCoords(0);
|
1686
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
1687
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
1688
|
+
scroll = getNodeScroll(offsetParent);
|
1689
|
+
}
|
1690
|
+
if (isOffsetParentAnElement) {
|
1691
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
1692
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
1693
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
1694
|
+
} else if (documentElement) {
|
1695
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
1696
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
1697
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
1698
|
+
}
|
1699
|
+
}
|
1700
|
+
let htmlX = 0;
|
1701
|
+
let htmlY = 0;
|
1702
|
+
if (documentElement && !isOffsetParentAnElement && !isFixed) {
|
1703
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
1704
|
+
htmlY = htmlRect.top + scroll.scrollTop;
|
1705
|
+
htmlX = htmlRect.left + scroll.scrollLeft -
|
1706
|
+
// RTL <body> scrollbar.
|
1707
|
+
getWindowScrollBarX(documentElement, htmlRect);
|
1708
|
+
}
|
1709
|
+
const x = rect.left + scroll.scrollLeft - offsets.x - htmlX;
|
1710
|
+
const y = rect.top + scroll.scrollTop - offsets.y - htmlY;
|
1711
|
+
return {
|
1712
|
+
x,
|
1713
|
+
y,
|
1714
|
+
width: rect.width,
|
1715
|
+
height: rect.height
|
1716
|
+
};
|
1717
|
+
}
|
1718
|
+
|
1719
|
+
function isStaticPositioned(element) {
|
1720
|
+
return getComputedStyle$1(element).position === 'static';
|
1721
|
+
}
|
1722
|
+
|
1723
|
+
function getTrueOffsetParent(element, polyfill) {
|
1724
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
1725
|
+
return null;
|
1726
|
+
}
|
1727
|
+
if (polyfill) {
|
1728
|
+
return polyfill(element);
|
1729
|
+
}
|
1730
|
+
let rawOffsetParent = element.offsetParent;
|
1731
|
+
|
1732
|
+
// Firefox returns the <html> element as the offsetParent if it's non-static,
|
1733
|
+
// while Chrome and Safari return the <body> element. The <body> element must
|
1734
|
+
// be used to perform the correct calculations even if the <html> element is
|
1735
|
+
// non-static.
|
1736
|
+
if (getDocumentElement(element) === rawOffsetParent) {
|
1737
|
+
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
1738
|
+
}
|
1739
|
+
return rawOffsetParent;
|
1740
|
+
}
|
1741
|
+
|
1742
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
1743
|
+
// such as table ancestors and cross browser bugs.
|
1744
|
+
function getOffsetParent(element, polyfill) {
|
1745
|
+
const win = getWindow(element);
|
1746
|
+
if (isTopLayer(element)) {
|
1747
|
+
return win;
|
1748
|
+
}
|
1749
|
+
if (!isHTMLElement(element)) {
|
1750
|
+
let svgOffsetParent = getParentNode(element);
|
1751
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
1752
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
1753
|
+
return svgOffsetParent;
|
1754
|
+
}
|
1755
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
1756
|
+
}
|
1757
|
+
return win;
|
1758
|
+
}
|
1759
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
1760
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
1761
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
1762
|
+
}
|
1763
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
1764
|
+
return win;
|
1765
|
+
}
|
1766
|
+
return offsetParent || getContainingBlock(element) || win;
|
1767
|
+
}
|
1768
|
+
|
1769
|
+
const getElementRects = async function (data) {
|
1770
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
1771
|
+
const getDimensionsFn = this.getDimensions;
|
1772
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
1773
|
+
return {
|
1774
|
+
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
1775
|
+
floating: {
|
1776
|
+
x: 0,
|
1777
|
+
y: 0,
|
1778
|
+
width: floatingDimensions.width,
|
1779
|
+
height: floatingDimensions.height
|
1780
|
+
}
|
1781
|
+
};
|
1782
|
+
};
|
1783
|
+
|
1784
|
+
function isRTL(element) {
|
1785
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
1786
|
+
}
|
1787
|
+
|
1788
|
+
const platform = {
|
1789
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
1790
|
+
getDocumentElement,
|
1791
|
+
getClippingRect,
|
1792
|
+
getOffsetParent,
|
1793
|
+
getElementRects,
|
1794
|
+
getClientRects,
|
1795
|
+
getDimensions,
|
1796
|
+
getScale,
|
1797
|
+
isElement,
|
1798
|
+
isRTL
|
1799
|
+
};
|
1800
|
+
|
1801
|
+
// https://samthor.au/2021/observing-dom/
|
1802
|
+
function observeMove(element, onMove) {
|
1803
|
+
let io = null;
|
1804
|
+
let timeoutId;
|
1805
|
+
const root = getDocumentElement(element);
|
1806
|
+
function cleanup() {
|
1807
|
+
var _io;
|
1808
|
+
clearTimeout(timeoutId);
|
1809
|
+
(_io = io) == null || _io.disconnect();
|
1810
|
+
io = null;
|
1811
|
+
}
|
1812
|
+
function refresh(skip, threshold) {
|
1813
|
+
if (skip === void 0) {
|
1814
|
+
skip = false;
|
1815
|
+
}
|
1816
|
+
if (threshold === void 0) {
|
1817
|
+
threshold = 1;
|
1818
|
+
}
|
1819
|
+
cleanup();
|
1820
|
+
const {
|
1821
|
+
left,
|
1822
|
+
top,
|
1823
|
+
width,
|
1824
|
+
height
|
1825
|
+
} = element.getBoundingClientRect();
|
1826
|
+
if (!skip) {
|
1827
|
+
onMove();
|
1828
|
+
}
|
1829
|
+
if (!width || !height) {
|
1830
|
+
return;
|
1831
|
+
}
|
1832
|
+
const insetTop = floor(top);
|
1833
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
1834
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
1835
|
+
const insetLeft = floor(left);
|
1836
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
1837
|
+
const options = {
|
1838
|
+
rootMargin,
|
1839
|
+
threshold: max(0, min(1, threshold)) || 1
|
1840
|
+
};
|
1841
|
+
let isFirstUpdate = true;
|
1842
|
+
function handleObserve(entries) {
|
1843
|
+
const ratio = entries[0].intersectionRatio;
|
1844
|
+
if (ratio !== threshold) {
|
1845
|
+
if (!isFirstUpdate) {
|
1846
|
+
return refresh();
|
1847
|
+
}
|
1848
|
+
if (!ratio) {
|
1849
|
+
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
1850
|
+
// to prevent an infinite loop of updates.
|
1851
|
+
timeoutId = setTimeout(() => {
|
1852
|
+
refresh(false, 1e-7);
|
1853
|
+
}, 1000);
|
1854
|
+
} else {
|
1855
|
+
refresh(false, ratio);
|
1856
|
+
}
|
1857
|
+
}
|
1858
|
+
isFirstUpdate = false;
|
1859
|
+
}
|
1860
|
+
|
1861
|
+
// Older browsers don't support a `document` as the root and will throw an
|
1862
|
+
// error.
|
1863
|
+
try {
|
1864
|
+
io = new IntersectionObserver(handleObserve, {
|
1865
|
+
...options,
|
1866
|
+
// Handle <iframe>s
|
1867
|
+
root: root.ownerDocument
|
1868
|
+
});
|
1869
|
+
} catch (e) {
|
1870
|
+
io = new IntersectionObserver(handleObserve, options);
|
1871
|
+
}
|
1872
|
+
io.observe(element);
|
1873
|
+
}
|
1874
|
+
refresh(true);
|
1875
|
+
return cleanup;
|
1876
|
+
}
|
1877
|
+
|
1878
|
+
/**
|
1879
|
+
* Automatically updates the position of the floating element when necessary.
|
1880
|
+
* Should only be called when the floating element is mounted on the DOM or
|
1881
|
+
* visible on the screen.
|
1882
|
+
* @returns cleanup function that should be invoked when the floating element is
|
1883
|
+
* removed from the DOM or hidden from the screen.
|
1884
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
1885
|
+
*/
|
1886
|
+
function autoUpdate(reference, floating, update, options) {
|
1887
|
+
if (options === void 0) {
|
1888
|
+
options = {};
|
1889
|
+
}
|
1890
|
+
const {
|
1891
|
+
ancestorScroll = true,
|
1892
|
+
ancestorResize = true,
|
1893
|
+
elementResize = typeof ResizeObserver === 'function',
|
1894
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
1895
|
+
animationFrame = false
|
1896
|
+
} = options;
|
1897
|
+
const referenceEl = unwrapElement(reference);
|
1898
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
1899
|
+
ancestors.forEach(ancestor => {
|
1900
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
1901
|
+
passive: true
|
1902
|
+
});
|
1903
|
+
ancestorResize && ancestor.addEventListener('resize', update);
|
1904
|
+
});
|
1905
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
1906
|
+
let reobserveFrame = -1;
|
1907
|
+
let resizeObserver = null;
|
1908
|
+
if (elementResize) {
|
1909
|
+
resizeObserver = new ResizeObserver(_ref => {
|
1910
|
+
let [firstEntry] = _ref;
|
1911
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
1912
|
+
// Prevent update loops when using the `size` middleware.
|
1913
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
1914
|
+
resizeObserver.unobserve(floating);
|
1915
|
+
cancelAnimationFrame(reobserveFrame);
|
1916
|
+
reobserveFrame = requestAnimationFrame(() => {
|
1917
|
+
var _resizeObserver;
|
1918
|
+
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
1919
|
+
});
|
1920
|
+
}
|
1921
|
+
update();
|
1922
|
+
});
|
1923
|
+
if (referenceEl && !animationFrame) {
|
1924
|
+
resizeObserver.observe(referenceEl);
|
1925
|
+
}
|
1926
|
+
resizeObserver.observe(floating);
|
1927
|
+
}
|
1928
|
+
let frameId;
|
1929
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
1930
|
+
if (animationFrame) {
|
1931
|
+
frameLoop();
|
1932
|
+
}
|
1933
|
+
function frameLoop() {
|
1934
|
+
const nextRefRect = getBoundingClientRect(reference);
|
1935
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
1936
|
+
update();
|
1937
|
+
}
|
1938
|
+
prevRefRect = nextRefRect;
|
1939
|
+
frameId = requestAnimationFrame(frameLoop);
|
1940
|
+
}
|
1941
|
+
update();
|
1942
|
+
return () => {
|
1943
|
+
var _resizeObserver2;
|
1944
|
+
ancestors.forEach(ancestor => {
|
1945
|
+
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
1946
|
+
ancestorResize && ancestor.removeEventListener('resize', update);
|
1947
|
+
});
|
1948
|
+
cleanupIo == null || cleanupIo();
|
1949
|
+
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
1950
|
+
resizeObserver = null;
|
1951
|
+
if (animationFrame) {
|
1952
|
+
cancelAnimationFrame(frameId);
|
1953
|
+
}
|
1954
|
+
};
|
1955
|
+
}
|
1956
|
+
|
1957
|
+
/**
|
1958
|
+
* Modifies the placement by translating the floating element along the
|
1959
|
+
* specified axes.
|
1960
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
1961
|
+
* object may be passed.
|
1962
|
+
* @see https://floating-ui.com/docs/offset
|
1963
|
+
*/
|
1964
|
+
const offset = offset$1;
|
1965
|
+
|
1966
|
+
/**
|
1967
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
1968
|
+
* that has the most space available automatically, without needing to specify a
|
1969
|
+
* preferred placement. Alternative to `flip`.
|
1970
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
1971
|
+
*/
|
1972
|
+
const autoPlacement = autoPlacement$1;
|
1973
|
+
|
1974
|
+
/**
|
1975
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
1976
|
+
* keep it in view when it will overflow the clipping boundary.
|
1977
|
+
* @see https://floating-ui.com/docs/shift
|
1978
|
+
*/
|
1979
|
+
const shift = shift$1;
|
1980
|
+
|
1981
|
+
/**
|
1982
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
1983
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
1984
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
1985
|
+
* @see https://floating-ui.com/docs/flip
|
1986
|
+
*/
|
1987
|
+
const flip = flip$1;
|
1988
|
+
|
1989
|
+
/**
|
1990
|
+
* Provides data that allows you to change the size of the floating element —
|
1991
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
1992
|
+
* width of the reference element.
|
1993
|
+
* @see https://floating-ui.com/docs/size
|
1994
|
+
*/
|
1995
|
+
size;
|
1996
|
+
|
1997
|
+
/**
|
1998
|
+
* Provides data to hide the floating element in applicable situations, such as
|
1999
|
+
* when it is not in the same clipping context as the reference element.
|
2000
|
+
* @see https://floating-ui.com/docs/hide
|
2001
|
+
*/
|
2002
|
+
const hide = hide$1;
|
2003
|
+
|
2004
|
+
/**
|
2005
|
+
* Provides data to position an inner element of the floating element so that it
|
2006
|
+
* appears centered to the reference element.
|
2007
|
+
* @see https://floating-ui.com/docs/arrow
|
2008
|
+
*/
|
2009
|
+
const arrow = arrow$1;
|
2010
|
+
|
2011
|
+
/**
|
2012
|
+
* Provides improved positioning for inline reference elements that can span
|
2013
|
+
* over multiple lines, such as hyperlinks or range selections.
|
2014
|
+
* @see https://floating-ui.com/docs/inline
|
2015
|
+
*/
|
2016
|
+
inline;
|
2017
|
+
|
2018
|
+
/**
|
2019
|
+
* Built-in `limiter` that will stop `shift()` at a certain point.
|
2020
|
+
*/
|
2021
|
+
limitShift;
|
2022
|
+
|
2023
|
+
/**
|
2024
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
2025
|
+
* next to a given reference element.
|
2026
|
+
*/
|
2027
|
+
const computePosition = (reference, floating, options) => {
|
2028
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
2029
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
2030
|
+
// single call. If other functions become expensive, we can add them as well.
|
2031
|
+
const cache = new Map();
|
2032
|
+
const mergedOptions = {
|
2033
|
+
platform,
|
2034
|
+
...options
|
2035
|
+
};
|
2036
|
+
const platformWithCache = {
|
2037
|
+
...mergedOptions.platform,
|
2038
|
+
_c: cache
|
2039
|
+
};
|
2040
|
+
return computePosition$1(reference, floating, {
|
2041
|
+
...mergedOptions,
|
2042
|
+
platform: platformWithCache
|
2043
|
+
});
|
2044
|
+
};
|
2045
|
+
|
2046
|
+
function offsetParent(element) {
|
2047
|
+
return offsetParentPolyfill(element);
|
2048
|
+
}
|
2049
|
+
function flatTreeParent(element) {
|
2050
|
+
if (element.assignedSlot) {
|
2051
|
+
return element.assignedSlot;
|
2052
|
+
}
|
2053
|
+
if (element.parentNode instanceof ShadowRoot) {
|
2054
|
+
return element.parentNode.host;
|
2055
|
+
}
|
2056
|
+
return element.parentNode;
|
2057
|
+
}
|
2058
|
+
function offsetParentPolyfill(element) {
|
2059
|
+
// Do an initial walk to check for display:none ancestors.
|
2060
|
+
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
2061
|
+
if (!(ancestor instanceof Element)) {
|
2062
|
+
continue;
|
2063
|
+
}
|
2064
|
+
if (getComputedStyle(ancestor).display === 'none') {
|
2065
|
+
return null;
|
2066
|
+
}
|
2067
|
+
}
|
2068
|
+
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
2069
|
+
if (!(ancestor instanceof Element)) {
|
2070
|
+
continue;
|
2071
|
+
}
|
2072
|
+
const style = getComputedStyle(ancestor);
|
2073
|
+
// Display:contents nodes aren't in the layout tree, so they should be skipped.
|
2074
|
+
if (style.display === 'contents') {
|
2075
|
+
continue;
|
2076
|
+
}
|
2077
|
+
if (style.position !== 'static' || isContainingBlock(style)) {
|
2078
|
+
return ancestor;
|
2079
|
+
}
|
2080
|
+
if (ancestor.tagName === 'BODY') {
|
2081
|
+
return ancestor;
|
2082
|
+
}
|
2083
|
+
}
|
2084
|
+
return null;
|
2085
|
+
}
|
2086
|
+
|
2087
|
+
/*!
|
2088
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2089
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
2090
|
+
* v2.13.0
|
2091
|
+
*/
|
2092
|
+
(function setUpFloatingUiForShadowDomPositioning() {
|
2093
|
+
if (browser.isBrowser()) {
|
2094
|
+
const originalGetOffsetParent = platform.getOffsetParent;
|
2095
|
+
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
2096
|
+
}
|
2097
|
+
})();
|
2098
|
+
function roundByDPR(value) {
|
2099
|
+
const dpr = window.devicePixelRatio || 1;
|
2100
|
+
return Math.round(value * dpr) / dpr;
|
2101
|
+
}
|
2102
|
+
/**
|
2103
|
+
* Positions the floating element relative to the reference element.
|
2104
|
+
*
|
2105
|
+
* **Note:** exported for testing purposes only
|
2106
|
+
*
|
2107
|
+
* @param root0
|
2108
|
+
* @param root0.referenceEl
|
2109
|
+
* @param root0.floatingEl
|
2110
|
+
* @param root0.overlayPositioning
|
2111
|
+
* @param root0.placement
|
2112
|
+
* @param root0.flipDisabled
|
2113
|
+
* @param root0.flipPlacements
|
2114
|
+
* @param root0.offsetDistance
|
2115
|
+
* @param root0.offsetSkidding
|
2116
|
+
* @param root0.arrowEl
|
2117
|
+
* @param root0.type
|
2118
|
+
* @param component
|
2119
|
+
* @param root0.referenceEl.referenceEl
|
2120
|
+
* @param root0.referenceEl.floatingEl
|
2121
|
+
* @param root0.referenceEl.overlayPositioning
|
2122
|
+
* @param root0.referenceEl.placement
|
2123
|
+
* @param root0.referenceEl.flipDisabled
|
2124
|
+
* @param root0.referenceEl.flipPlacements
|
2125
|
+
* @param root0.referenceEl.offsetDistance
|
2126
|
+
* @param root0.referenceEl.offsetSkidding
|
2127
|
+
* @param root0.referenceEl.arrowEl
|
2128
|
+
* @param root0.referenceEl.type
|
2129
|
+
* @param component.referenceEl
|
2130
|
+
* @param component.floatingEl
|
2131
|
+
* @param component.overlayPositioning
|
2132
|
+
* @param component.placement
|
2133
|
+
* @param component.flipDisabled
|
2134
|
+
* @param component.flipPlacements
|
2135
|
+
* @param component.offsetDistance
|
2136
|
+
* @param component.offsetSkidding
|
2137
|
+
* @param component.arrowEl
|
2138
|
+
* @param component.type
|
2139
|
+
*/
|
2140
|
+
const positionFloatingUI =
|
2141
|
+
/* we export arrow function to allow us to spy on it during testing */
|
2142
|
+
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
|
2143
|
+
if (!referenceEl || !floatingEl) {
|
2144
|
+
return null;
|
2145
|
+
}
|
2146
|
+
const isRTL = dom.getElementDir(floatingEl) === "rtl";
|
2147
|
+
const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
|
2148
|
+
strategy: overlayPositioning,
|
2149
|
+
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
2150
|
+
? undefined
|
2151
|
+
: getEffectivePlacement(placement, isRTL),
|
2152
|
+
middleware: getMiddleware({
|
2153
|
+
placement,
|
2154
|
+
flipDisabled,
|
2155
|
+
flipPlacements: flipPlacements?.map((placement) => getEffectivePlacement(placement, isRTL)),
|
2156
|
+
offsetDistance,
|
2157
|
+
offsetSkidding,
|
2158
|
+
arrowEl,
|
2159
|
+
type,
|
2160
|
+
}),
|
2161
|
+
});
|
2162
|
+
if (arrowEl && middlewareData.arrow) {
|
2163
|
+
const { x, y } = middlewareData.arrow;
|
2164
|
+
const side = effectivePlacement.split("-")[0];
|
2165
|
+
const alignment = x != null ? "left" : "top";
|
2166
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
2167
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
2168
|
+
if ("floatingLayout" in component) {
|
2169
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
2170
|
+
}
|
2171
|
+
Object.assign(arrowEl.style, {
|
2172
|
+
...reset,
|
2173
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
2174
|
+
[side]: "100%",
|
2175
|
+
transform,
|
2176
|
+
});
|
2177
|
+
}
|
2178
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
2179
|
+
const visibility = referenceHidden ? "hidden" : null;
|
2180
|
+
const pointerEvents = visibility ? "none" : null;
|
2181
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
2182
|
+
const { open } = component;
|
2183
|
+
Object.assign(floatingEl.style, {
|
2184
|
+
visibility,
|
2185
|
+
pointerEvents,
|
2186
|
+
position,
|
2187
|
+
transform: open ? `translate(${roundByDPR(x)}px,${roundByDPR(y)}px)` : "",
|
2188
|
+
top: 0,
|
2189
|
+
left: 0,
|
2190
|
+
});
|
2191
|
+
};
|
2192
|
+
/**
|
2193
|
+
* Exported for testing purposes only
|
2194
|
+
*/
|
2195
|
+
const placementDataAttribute = "data-placement";
|
2196
|
+
const flipPlacements = [
|
2197
|
+
"top",
|
2198
|
+
"bottom",
|
2199
|
+
"right",
|
2200
|
+
"left",
|
2201
|
+
"top-start",
|
2202
|
+
"top-end",
|
2203
|
+
"bottom-start",
|
2204
|
+
"bottom-end",
|
2205
|
+
"right-start",
|
2206
|
+
"right-end",
|
2207
|
+
"left-start",
|
2208
|
+
"left-end",
|
2209
|
+
"leading",
|
2210
|
+
"trailing",
|
2211
|
+
"leading-start",
|
2212
|
+
"leading-end",
|
2213
|
+
"trailing-start",
|
2214
|
+
"trailing-end",
|
2215
|
+
];
|
2216
|
+
const defaultMenuPlacement = "bottom-start";
|
2217
|
+
const defaultEndMenuPlacement = "bottom-end";
|
2218
|
+
const FloatingCSS = {
|
2219
|
+
animation: "calcite-floating-ui-anim",
|
2220
|
+
animationActive: "calcite-floating-ui-anim--active",
|
2221
|
+
arrow: "calcite-floating-ui-arrow",
|
2222
|
+
arrowStroke: "calcite-floating-ui-arrow__stroke",
|
2223
|
+
};
|
2224
|
+
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
|
2225
|
+
const defaultMiddleware = [shift(), hide()];
|
2226
|
+
if (type === "menu") {
|
2227
|
+
return [
|
2228
|
+
...defaultMiddleware,
|
2229
|
+
flip({
|
2230
|
+
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
|
2231
|
+
}),
|
2232
|
+
];
|
2233
|
+
}
|
2234
|
+
if (type === "popover" || type === "tooltip") {
|
2235
|
+
const middleware = [
|
2236
|
+
...defaultMiddleware,
|
2237
|
+
offset({
|
2238
|
+
mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
|
2239
|
+
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
|
2240
|
+
}),
|
2241
|
+
];
|
2242
|
+
if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
|
2243
|
+
middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
|
2244
|
+
}
|
2245
|
+
else if (!flipDisabled) {
|
2246
|
+
middleware.push(flip(flipPlacements ? { fallbackPlacements: flipPlacements } : {}));
|
2247
|
+
}
|
2248
|
+
if (arrowEl) {
|
2249
|
+
middleware.push(arrow({
|
2250
|
+
element: arrowEl,
|
2251
|
+
}));
|
2252
|
+
}
|
2253
|
+
return middleware;
|
2254
|
+
}
|
2255
|
+
return [];
|
2256
|
+
}
|
2257
|
+
function filterValidFlipPlacements(placements, el) {
|
2258
|
+
const filteredPlacements = placements.filter((placement) => flipPlacements.includes(placement));
|
2259
|
+
if (filteredPlacements.length !== placements.length) {
|
2260
|
+
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${flipPlacements
|
2261
|
+
.map((placement) => `"${placement}"`)
|
2262
|
+
.join(", ")
|
2263
|
+
.trim()}`, { el });
|
2264
|
+
}
|
2265
|
+
return filteredPlacements;
|
2266
|
+
}
|
2267
|
+
function getEffectivePlacement(placement, isRTL = false) {
|
2268
|
+
const placements = ["left", "right"];
|
2269
|
+
if (isRTL) {
|
2270
|
+
placements.reverse();
|
2271
|
+
}
|
2272
|
+
return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
|
2273
|
+
}
|
2274
|
+
/**
|
2275
|
+
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
2276
|
+
*
|
2277
|
+
* Note: this is not needed for components that use `calcite-popover`.
|
2278
|
+
*
|
2279
|
+
* @param component - A floating-ui component.
|
2280
|
+
* @param options - Reposition parameters.
|
2281
|
+
* @param options.referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
2282
|
+
* @param options.floatingEl - The `floatingElement` containing the floating ui.
|
2283
|
+
* @param options.overlayPositioning - type of positioning to use for the overlaid content.
|
2284
|
+
* @param options.placement - Determines where the component will be positioned relative to the `referenceElement`.
|
2285
|
+
* @param options.flipDisabled - Prevents flipping the component's placement when overlapping its `referenceElement`.
|
2286
|
+
* @param options.flipPlacements - Defines the available placements that can be used when a flip occurs.
|
2287
|
+
* @param options.offsetDistance - Offsets the position of the popover away from the `referenceElement`.
|
2288
|
+
* @param options.offsetSkidding - Offsets the position of the component along the `referenceElement`.
|
2289
|
+
* @param options.arrowEl - A customizable arrow element.
|
2290
|
+
* @param options.type - The type of floating UI.
|
2291
|
+
* @param delayed - Reposition the component after a delay.
|
2292
|
+
* @returns {Promise<void>}
|
2293
|
+
*/
|
2294
|
+
async function reposition(component, options, delayed = false) {
|
2295
|
+
if (!component.open || !options.floatingEl || !options.referenceEl) {
|
2296
|
+
return;
|
2297
|
+
}
|
2298
|
+
const trackedState = autoUpdatingComponentMap.get(component);
|
2299
|
+
if (!trackedState) {
|
2300
|
+
return runAutoUpdate(component, options.referenceEl, options.floatingEl);
|
2301
|
+
}
|
2302
|
+
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
2303
|
+
await positionFunction(component, options);
|
2304
|
+
}
|
2305
|
+
function getDebouncedReposition(component) {
|
2306
|
+
let debounced = componentToDebouncedRepositionMap.get(component);
|
2307
|
+
if (debounced) {
|
2308
|
+
return debounced;
|
2309
|
+
}
|
2310
|
+
debounced = debounce.debounce(positionFloatingUI, resources.DEBOUNCE.reposition, {
|
2311
|
+
leading: true,
|
2312
|
+
maxWait: resources.DEBOUNCE.reposition,
|
2313
|
+
});
|
2314
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
2315
|
+
return debounced;
|
2316
|
+
}
|
2317
|
+
const ARROW_CSS_TRANSFORM = {
|
2318
|
+
top: "",
|
2319
|
+
left: "rotate(-90deg)",
|
2320
|
+
bottom: "rotate(180deg)",
|
2321
|
+
right: "rotate(90deg)",
|
2322
|
+
};
|
2323
|
+
/**
|
2324
|
+
* Exported for testing purposes only
|
2325
|
+
*
|
2326
|
+
* @internal
|
2327
|
+
*/
|
2328
|
+
const autoUpdatingComponentMap = new WeakMap();
|
2329
|
+
const componentToDebouncedRepositionMap = new WeakMap();
|
2330
|
+
async function runAutoUpdate(component, referenceEl, floatingEl) {
|
2331
|
+
if (!floatingEl.isConnected) {
|
2332
|
+
return;
|
2333
|
+
}
|
2334
|
+
const effectiveAutoUpdate = browser.isBrowser()
|
2335
|
+
? autoUpdate
|
2336
|
+
: (_refEl, _floatingEl, updateCallback) => {
|
2337
|
+
updateCallback();
|
2338
|
+
return () => {
|
2339
|
+
/* noop */
|
2340
|
+
};
|
2341
|
+
};
|
2342
|
+
// we set initial state here to make it available for `reposition` calls
|
2343
|
+
autoUpdatingComponentMap.set(component, { state: "pending" });
|
2344
|
+
let repositionPromise;
|
2345
|
+
const cleanUp = effectiveAutoUpdate(referenceEl, floatingEl,
|
2346
|
+
// callback is invoked immediately
|
2347
|
+
() => {
|
2348
|
+
const promise = component.reposition();
|
2349
|
+
if (!repositionPromise) {
|
2350
|
+
repositionPromise = promise;
|
2351
|
+
}
|
2352
|
+
});
|
2353
|
+
autoUpdatingComponentMap.set(component, { state: "active", cleanUp });
|
2354
|
+
return repositionPromise;
|
2355
|
+
}
|
2356
|
+
/**
|
2357
|
+
* Helper to set up floating element interactions on connectedCallback.
|
2358
|
+
*
|
2359
|
+
* @param component - A floating-ui component.
|
2360
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
2361
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
2362
|
+
*/
|
2363
|
+
async function connectFloatingUI(component, referenceEl, floatingEl) {
|
2364
|
+
if (!floatingEl || !referenceEl) {
|
2365
|
+
return;
|
2366
|
+
}
|
2367
|
+
disconnectFloatingUI(component, referenceEl, floatingEl);
|
2368
|
+
Object.assign(floatingEl.style, {
|
2369
|
+
visibility: "hidden",
|
2370
|
+
pointerEvents: "none",
|
2371
|
+
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
2372
|
+
position: component.overlayPositioning,
|
2373
|
+
});
|
2374
|
+
if (!component.open) {
|
2375
|
+
return;
|
2376
|
+
}
|
2377
|
+
return runAutoUpdate(component, referenceEl, floatingEl);
|
2378
|
+
}
|
2379
|
+
/**
|
2380
|
+
* Helper to tear down floating element interactions on disconnectedCallback.
|
2381
|
+
*
|
2382
|
+
* @param component - A floating-ui component.
|
2383
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
2384
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
2385
|
+
*/
|
2386
|
+
function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
2387
|
+
if (!floatingEl || !referenceEl) {
|
2388
|
+
return;
|
2389
|
+
}
|
2390
|
+
const trackedState = autoUpdatingComponentMap.get(component);
|
2391
|
+
if (trackedState?.state === "active") {
|
2392
|
+
trackedState.cleanUp();
|
2393
|
+
}
|
2394
|
+
autoUpdatingComponentMap.delete(component);
|
2395
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
2396
|
+
componentToDebouncedRepositionMap.delete(component);
|
2397
|
+
}
|
2398
|
+
const visiblePointerSize = 4;
|
2399
|
+
/**
|
2400
|
+
* Default offset the position of the floating element away from the reference element.
|
2401
|
+
*
|
2402
|
+
* @default 6
|
2403
|
+
*/
|
2404
|
+
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
2405
|
+
|
2406
|
+
exports.FloatingCSS = FloatingCSS;
|
2407
|
+
exports.connectFloatingUI = connectFloatingUI;
|
2408
|
+
exports.defaultEndMenuPlacement = defaultEndMenuPlacement;
|
2409
|
+
exports.defaultMenuPlacement = defaultMenuPlacement;
|
2410
|
+
exports.defaultOffsetDistance = defaultOffsetDistance;
|
2411
|
+
exports.disconnectFloatingUI = disconnectFloatingUI;
|
2412
|
+
exports.filterValidFlipPlacements = filterValidFlipPlacements;
|
2413
|
+
exports.reposition = reposition;
|