@esri/solutions-components 0.7.34 → 0.7.35
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-da591f01.js +118 -0
- package/dist/cjs/FloatingArrow-a27ad9b2.js +50 -0
- package/dist/cjs/Heading-bd401e0a.js +25 -0
- package/dist/cjs/Validation-b02c6710.js +20 -0
- package/dist/cjs/app-globals-056e11bb.js +69 -0
- package/dist/cjs/ar-bec1adeb.js +105 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/array-6ea3edb8.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/bg-e1afda53.js +83 -0
- package/dist/cjs/browser-d08a5f99.js +23 -0
- package/dist/cjs/bs-d14ff0d3.js +52 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +12 -12
- package/dist/cjs/ca-10ee7960.js +72 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +25 -25
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +21 -20
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +112 -114
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-action_2.cjs.entry.js +28 -28
- package/dist/cjs/calcite-alert_4.cjs.entry.js +64 -50
- package/dist/cjs/calcite-avatar.cjs.entry.js +40 -40
- package/dist/cjs/calcite-block-section.cjs.entry.js +29 -29
- package/dist/cjs/calcite-block_2.cjs.entry.js +51 -50
- package/dist/cjs/calcite-button.cjs.entry.js +42 -38
- package/dist/cjs/calcite-card.cjs.entry.js +22 -22
- package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -14
- package/dist/cjs/calcite-chip-group.cjs.entry.js +11 -10
- package/dist/cjs/calcite-chip_2.cjs.entry.js +388 -0
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +19 -19
- package/dist/cjs/calcite-color-picker.cjs.entry.js +21 -17
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-combobox_5.cjs.entry.js +2120 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +25 -28
- package/dist/cjs/calcite-fab.cjs.entry.js +13 -13
- package/dist/cjs/calcite-filter_5.cjs.entry.js +257 -204
- package/dist/cjs/calcite-flow_5.cjs.entry.js +37 -36
- package/dist/cjs/calcite-graph_2.cjs.entry.js +233 -277
- package/dist/cjs/calcite-icon.cjs.entry.js +49 -49
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -24
- package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +90 -65
- package/dist/cjs/calcite-input-number.cjs.entry.js +73 -52
- package/dist/cjs/calcite-input-text.cjs.entry.js +36 -39
- package/dist/cjs/calcite-input-time-picker-bb2db82c.js +1850 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -19
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +118 -116
- package/dist/cjs/calcite-input_2.cjs.entry.js +80 -59
- package/dist/cjs/calcite-label.cjs.entry.js +9 -9
- package/dist/cjs/calcite-link.cjs.entry.js +13 -13
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +11 -10
- package/dist/cjs/calcite-menu-item.cjs.entry.js +51 -52
- package/dist/cjs/calcite-menu.cjs.entry.js +24 -17
- package/dist/cjs/calcite-meter.cjs.entry.js +24 -24
- package/dist/cjs/calcite-modal.cjs.entry.js +57 -55
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +10 -10
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation.cjs.entry.js +24 -24
- package/dist/cjs/calcite-notice.cjs.entry.js +23 -23
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +23 -18
- package/dist/cjs/calcite-pagination.cjs.entry.js +30 -30
- package/dist/cjs/calcite-panel_2.cjs.entry.js +58 -40
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +27 -10
- package/dist/cjs/calcite-radio-button.cjs.entry.js +27 -23
- package/dist/cjs/calcite-rating.cjs.entry.js +20 -20
- package/dist/cjs/calcite-scrim.cjs.entry.js +14 -14
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +29 -16
- package/dist/cjs/calcite-sheet.cjs.entry.js +15 -15
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +126 -114
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +23 -21
- package/dist/cjs/calcite-split-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +24 -24
- package/dist/cjs/calcite-stepper.cjs.entry.js +34 -34
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +41 -32
- package/dist/cjs/calcite-table-row.cjs.entry.js +23 -12
- package/dist/cjs/calcite-table.cjs.entry.js +29 -25
- package/dist/cjs/calcite-text-area.cjs.entry.js +39 -40
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile-select.cjs.entry.js +39 -28
- package/dist/cjs/calcite-tile.cjs.entry.js +16 -21
- package/dist/cjs/calcite-time-picker.cjs.entry.js +44 -44
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +24 -24
- package/dist/cjs/calcite-tip.cjs.entry.js +20 -20
- package/dist/cjs/calcite-tooltip.cjs.entry.js +212 -213
- package/dist/cjs/calcite-tree_2.cjs.entry.js +45 -46
- package/dist/cjs/card-manager_3.cjs.entry.js +5 -5
- package/dist/cjs/component-ac7c3bd8.js +33 -0
- package/dist/cjs/conditionalSlot-9d7b60d1.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +9 -9
- package/dist/cjs/cs-5d5113c9.js +148 -0
- package/dist/cjs/da-b9b48fb6.js +67 -0
- package/dist/cjs/date-9de4dd6f.js +261 -0
- package/dist/cjs/de-2e3205ac.js +92 -0
- package/dist/cjs/de-at-28bea0b1.js +91 -0
- package/dist/cjs/de-ch-376dd4c7.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-c9c2c835.js +1087 -0
- package/dist/cjs/downloadUtils-8ca56dfa.js +3136 -0
- package/dist/cjs/el-98aab056.js +67 -0
- package/dist/cjs/en-au-e3c99f1e.js +67 -0
- package/dist/cjs/en-ca-32f77575.js +66 -0
- package/dist/cjs/en-gb-7f5e80a9.js +70 -0
- package/dist/cjs/es-9899072a.js +67 -0
- package/dist/cjs/es-mx-e33cab75.js +66 -0
- package/dist/cjs/et-b55f74e1.js +93 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-aa10ef36.js +116 -0
- package/dist/cjs/filter-b524f88d.js +765 -0
- package/dist/cjs/floating-ui-984cc970.js +1966 -0
- package/dist/cjs/focusTrapComponent-faae7d7e.js +1028 -0
- package/dist/cjs/form-fed676d6.js +316 -0
- package/dist/cjs/fr-52b860d8.js +69 -0
- package/dist/cjs/fr-ch-665d488a.js +67 -0
- package/dist/cjs/guid-ae73cd27.js +26 -0
- package/dist/cjs/he-e572f72c.js +106 -0
- package/dist/cjs/helpers-981dd775.js +903 -0
- package/dist/cjs/hi-d1bf5a03.js +66 -0
- package/dist/cjs/hr-7dbc9a12.js +81 -0
- package/dist/cjs/hu-dcb326c9.js +89 -0
- package/dist/cjs/id-9ac473e6.js +67 -0
- package/dist/cjs/index-105cf2b9.js +2553 -0
- package/dist/cjs/index-ae65e42f.js +201 -0
- package/dist/cjs/index.es-3c36cde7.js +10811 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/interactive-3ab7044d.js +144 -0
- package/dist/cjs/it-5ee42edc.js +67 -0
- package/dist/cjs/it-ch-54981090.js +67 -0
- package/dist/cjs/ja-f090b8db.js +73 -0
- package/dist/cjs/key-c5504030.js +19 -0
- package/dist/cjs/ko-14650b28.js +73 -0
- package/dist/cjs/label-32573e1d.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-5a794992.js +94 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-8c42ba7a.js +161 -0
- package/dist/cjs/locale-d237c9d5.js +584 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-7d826627.js +98 -0
- package/dist/cjs/lv-397bf143.js +67 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/math-318a1646.js +60 -0
- package/dist/cjs/mk-112e247a.js +67 -0
- package/dist/cjs/nb-0a4d7d1f.js +68 -0
- package/dist/cjs/nl-cfcabe91.js +68 -0
- package/dist/cjs/observers-db4527e4.js +53 -0
- package/dist/cjs/openCloseComponent-19a769d0.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-c3e61022.js +115 -0
- package/dist/cjs/popupUtils-824d2f7c.js +96 -0
- package/dist/cjs/pt-6733c97d.js +68 -0
- package/dist/cjs/pt-br-6e06cf69.js +66 -0
- package/dist/cjs/public-notification.cjs.entry.js +6 -6
- package/dist/cjs/publicNotificationStore-ef379d11.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/resources-1d88e9d6.js +39 -0
- package/dist/cjs/resources-3e593312.js +52 -0
- package/dist/cjs/resources-555dae0e.js +29 -0
- package/dist/cjs/resources-7e540eac.js +26 -0
- package/dist/cjs/resources-9447c777.js +32 -0
- package/dist/cjs/resources-adfcb1ec.js +2062 -0
- package/dist/cjs/resources-baef554d.js +27 -0
- package/dist/cjs/resources-c4fe74a9.js +23 -0
- package/dist/cjs/resources-dd8ff1b4.js +20 -0
- package/dist/cjs/ro-60cdf606.js +67 -0
- package/dist/cjs/ru-bf392182.js +127 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-410f421e.js +365 -0
- package/dist/cjs/sk-cf9539a5.js +149 -0
- package/dist/cjs/sl-1d297b4f.js +169 -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-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-store-2f7fbcc5.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-c111c036.js +2742 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/sr-f0c4f00a.js +102 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/sv-620bebec.js +72 -0
- package/dist/cjs/t9n-993a84de.js +100 -0
- package/dist/cjs/th-07dd0e43.js +66 -0
- package/dist/cjs/time-ff8d50c7.js +289 -0
- package/dist/cjs/tr-42e14ef4.js +67 -0
- package/dist/cjs/uk-398a1806.js +105 -0
- package/dist/cjs/utils-3940c852.js +105 -0
- package/dist/cjs/utils-65d812ea.js +62 -0
- package/dist/cjs/utils-7bc7f595.js +64 -0
- package/dist/cjs/utils-a137dc1a.js +130 -0
- package/dist/cjs/utils-cca83dd0.js +221 -0
- package/dist/cjs/vi-860b42fc.js +71 -0
- package/dist/cjs/zh-cn-a89ecb38.js +95 -0
- package/dist/cjs/zh-hk-affe0bef.js +72 -0
- package/dist/cjs/zh-tw-ca333ffb.js +93 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +3 -2
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +7 -7
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +1 -1
- package/dist/collection/components/json-editor/json-editor.js +3 -5
- package/dist/collection/components/layer-list/layer-list.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +2 -2
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +3 -2
- package/dist/collection/components/pdf-download/pdf-download.js +27 -45
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +6 -10
- package/dist/collection/utils/downloadUtils.js +13 -8
- package/dist/collection/utils/downloadUtils.ts +16 -8
- package/dist/collection/utils/interfaces.ts +5 -0
- package/dist/components/ExpandToggle.js +65 -65
- package/dist/components/FloatingArrow.js +17 -17
- package/dist/components/Heading.js +5 -5
- package/dist/components/Validation.js +18 -0
- package/dist/components/action-bar.js +9 -7
- package/dist/components/action-group.js +5 -5
- package/dist/components/action-menu.js +18 -19
- package/dist/components/action-pad.js +8 -6
- package/dist/components/action.js +17 -17
- package/dist/components/alert.js +53 -37
- package/dist/components/array.js +2 -2
- package/dist/components/avatar.js +35 -35
- package/dist/components/block.js +35 -33
- package/dist/components/button.js +31 -27
- package/dist/components/calcite-accordion-item.js +18 -18
- package/dist/components/calcite-block-section.js +20 -20
- package/dist/components/calcite-card.js +13 -13
- package/dist/components/calcite-chip-group.js +4 -3
- package/dist/components/calcite-color-picker.js +8 -4
- package/dist/components/calcite-combobox-item-group.js +4 -4
- package/dist/components/calcite-fab.js +7 -7
- package/dist/components/calcite-inline-editable.js +12 -12
- package/dist/components/calcite-input-time-picker.js +15 -12
- package/dist/components/calcite-input-time-zone.js +107 -103
- package/dist/components/calcite-list-item-group.js +10 -8
- package/dist/components/calcite-menu-item.js +42 -43
- package/dist/components/calcite-meter.js +15 -15
- package/dist/components/calcite-navigation-logo.js +8 -8
- package/dist/components/calcite-navigation-user.js +5 -5
- package/dist/components/calcite-navigation.js +19 -19
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-radio-button-group.js +28 -9
- package/dist/components/calcite-radio-button.js +1 -340
- package/dist/components/calcite-rating.js +7 -7
- package/dist/components/calcite-sheet.js +7 -7
- package/dist/components/calcite-shell-center-row.js +4 -4
- package/dist/components/calcite-sortable-list.js +16 -14
- package/dist/components/calcite-split-button.js +10 -10
- package/dist/components/calcite-stepper-item.js +14 -14
- package/dist/components/calcite-stepper.js +26 -26
- package/dist/components/calcite-table-row.js +17 -5
- package/dist/components/calcite-table.js +20 -15
- package/dist/components/calcite-text-area.js +28 -28
- package/dist/components/calcite-tile-select-group.js +3 -3
- package/dist/components/calcite-tile-select.js +42 -32
- package/dist/components/calcite-tile.js +103 -1
- package/dist/components/calcite-tip-manager.js +15 -15
- package/dist/components/calcite-tip.js +10 -10
- package/dist/components/checkbox.js +4 -4
- package/dist/components/chip.js +28 -27
- package/dist/components/color-picker-hex-input.js +79 -79
- package/dist/components/color-picker-swatch.js +8 -8
- package/dist/components/combobox-item.js +18 -17
- package/dist/components/combobox.js +29 -13
- package/dist/components/component.js +6 -6
- package/dist/components/conditionalSlot.js +17 -17
- package/dist/components/crowdsource-reporter.js +7 -7
- package/dist/components/date-picker-day.js +4 -7
- package/dist/components/date-picker-month-header.js +10 -10
- package/dist/components/date-picker.js +19 -19
- package/dist/components/date.js +110 -110
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +165 -165
- package/dist/components/downloadUtils.js +13 -8
- package/dist/components/dropdown-item.js +14 -7
- package/dist/components/dropdown.js +20 -20
- package/dist/components/feature-list2.js +1 -1
- package/dist/components/filter.js +27 -27
- package/dist/components/filter2.js +13 -11
- package/dist/components/floating-ui.js +227 -167
- package/dist/components/flow-item.js +19 -17
- package/dist/components/flow.js +4 -4
- package/dist/components/focusTrapComponent.js +27 -27
- package/dist/components/form.js +192 -137
- package/dist/components/graph.js +60 -60
- package/dist/components/guid.js +10 -10
- package/dist/components/handle.js +45 -24
- package/dist/components/icon.js +44 -44
- package/dist/components/index.js +22 -22
- package/dist/components/input-date-picker.js +75 -48
- package/dist/components/input-message.js +5 -5
- package/dist/components/input-number.js +64 -42
- package/dist/components/input-text.js +26 -28
- package/dist/components/input.js +71 -49
- package/dist/components/interactive.js +83 -88
- package/dist/components/key.js +2 -2
- package/dist/components/label.js +109 -109
- package/dist/components/label2.js +3 -3
- package/dist/components/layer-list2.js +1 -1
- package/dist/components/layer-table2.js +2 -2
- package/dist/components/link.js +7 -7
- package/dist/components/list-item.js +98 -62
- package/dist/components/list.js +88 -90
- package/dist/components/loadable.js +10 -10
- package/dist/components/locale2.js +409 -409
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/math.js +16 -16
- package/dist/components/menu.js +17 -10
- package/dist/components/modal.js +45 -43
- package/dist/components/notice.js +10 -10
- package/dist/components/observers.js +31 -31
- package/dist/components/openCloseComponent.js +50 -50
- package/dist/components/pagination.js +20 -20
- package/dist/components/panel.js +39 -37
- package/dist/components/pick-list-item.js +23 -23
- package/dist/components/popover.js +84 -85
- package/dist/components/public-notification.js +1 -1
- package/dist/components/radio-button.js +350 -0
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +12 -12
- package/dist/components/resources2.js +6 -6
- package/dist/components/resources3.js +11 -11
- package/dist/components/resources4.js +6 -6
- package/dist/components/resources5.js +5 -5
- package/dist/components/scrim.js +6 -6
- package/dist/components/segmented-control-item.js +3 -3
- package/dist/components/segmented-control.js +19 -3
- package/dist/components/select.js +16 -9
- package/dist/components/shared-list-render.js +242 -241
- package/dist/components/shell-panel.js +16 -12
- package/dist/components/shell.js +41 -23
- package/dist/components/slider.js +160 -204
- package/dist/components/sortableComponent.js +548 -914
- package/dist/components/stack.js +11 -11
- package/dist/components/switch.js +4 -4
- package/dist/components/t9n.js +32 -32
- package/dist/components/tab-nav.js +7 -2
- package/dist/components/tab-title.js +38 -36
- package/dist/components/tab.js +4 -4
- package/dist/components/table-cell.js +14 -10
- package/dist/components/table-header.js +19 -11
- package/dist/components/tabs.js +2 -2
- package/dist/components/time-picker.js +246 -246
- package/dist/components/tooltip.js +205 -206
- package/dist/components/tree-item.js +23 -24
- package/dist/components/tree.js +14 -14
- package/dist/components/utils.js +142 -142
- package/dist/components/utils2.js +19 -19
- package/dist/components/utils3.js +64 -59
- package/dist/components/value-list-item.js +9 -9
- package/dist/components/value-list.js +32 -30
- package/dist/esm/ExpandToggle-b6eb575e.js +110 -0
- package/dist/esm/FloatingArrow-93d6d18b.js +48 -0
- package/dist/esm/Heading-94780f62.js +22 -0
- package/dist/esm/Validation-ea480265.js +18 -0
- package/dist/esm/app-globals-c4e206db.js +67 -0
- package/dist/esm/ar-7633f382.js +103 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/array-396bdf3c.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/bg-5ccf3b3b.js +81 -0
- package/dist/esm/browser-d60104bd.js +21 -0
- package/dist/esm/bs-59e59ad4.js +50 -0
- package/dist/esm/buffer-tools_3.entry.js +12 -12
- package/dist/esm/ca-d8d2bc89.js +70 -0
- package/dist/esm/calcite-accordion-item.entry.js +25 -25
- package/dist/esm/calcite-accordion.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +21 -20
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +112 -114
- package/dist/esm/calcite-action-pad_2.entry.js +20 -19
- package/dist/esm/calcite-action_2.entry.js +28 -28
- package/dist/esm/calcite-alert_4.entry.js +64 -50
- package/dist/esm/calcite-avatar.entry.js +40 -40
- package/dist/esm/calcite-block-section.entry.js +29 -29
- package/dist/esm/calcite-block_2.entry.js +51 -50
- package/dist/esm/calcite-button.entry.js +42 -38
- package/dist/esm/calcite-card.entry.js +22 -22
- package/dist/esm/calcite-checkbox.entry.js +14 -14
- package/dist/esm/calcite-chip-group.entry.js +11 -10
- package/dist/esm/calcite-chip_2.entry.js +383 -0
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +19 -19
- package/dist/esm/calcite-color-picker.entry.js +21 -17
- package/dist/esm/calcite-combobox-item-group.entry.js +9 -9
- package/dist/esm/calcite-combobox_5.entry.js +2112 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js +25 -28
- package/dist/esm/calcite-fab.entry.js +13 -13
- package/dist/esm/calcite-filter_5.entry.js +257 -204
- package/dist/esm/calcite-flow_5.entry.js +37 -36
- package/dist/esm/calcite-graph_2.entry.js +233 -277
- package/dist/esm/calcite-icon.entry.js +49 -49
- package/dist/esm/calcite-inline-editable.entry.js +24 -24
- package/dist/esm/calcite-input-date-picker_3.entry.js +90 -65
- package/dist/esm/calcite-input-number.entry.js +73 -52
- package/dist/esm/calcite-input-text.entry.js +36 -39
- package/dist/esm/calcite-input-time-picker-dbf2079e.js +1847 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -19
- package/dist/esm/calcite-input-time-zone.entry.js +118 -116
- package/dist/esm/calcite-input_2.entry.js +80 -59
- package/dist/esm/calcite-label.entry.js +9 -9
- package/dist/esm/calcite-link.entry.js +13 -13
- package/dist/esm/calcite-list-item-group.entry.js +11 -10
- package/dist/esm/calcite-menu-item.entry.js +51 -52
- package/dist/esm/calcite-menu.entry.js +24 -17
- package/dist/esm/calcite-meter.entry.js +24 -24
- package/dist/esm/calcite-modal.entry.js +57 -55
- package/dist/esm/calcite-navigation-logo.entry.js +10 -10
- package/dist/esm/calcite-navigation-user.entry.js +7 -7
- package/dist/esm/calcite-navigation.entry.js +24 -24
- package/dist/esm/calcite-notice.entry.js +23 -23
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +23 -18
- package/dist/esm/calcite-pagination.entry.js +30 -30
- package/dist/esm/calcite-panel_2.entry.js +58 -40
- package/dist/esm/calcite-pick-list-group.entry.js +8 -8
- package/dist/esm/calcite-pick-list-item.entry.js +17 -17
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +27 -10
- package/dist/esm/calcite-radio-button.entry.js +27 -23
- package/dist/esm/calcite-rating.entry.js +20 -20
- package/dist/esm/calcite-scrim.entry.js +14 -14
- package/dist/esm/calcite-segmented-control_2.entry.js +29 -16
- package/dist/esm/calcite-sheet.entry.js +15 -15
- package/dist/esm/calcite-shell-center-row.entry.js +10 -10
- package/dist/esm/calcite-shell-panel_14.entry.js +126 -114
- package/dist/esm/calcite-sortable-list.entry.js +23 -21
- package/dist/esm/calcite-split-button.entry.js +13 -13
- package/dist/esm/calcite-stepper-item.entry.js +24 -24
- package/dist/esm/calcite-stepper.entry.js +34 -34
- package/dist/esm/calcite-switch.entry.js +14 -14
- package/dist/esm/calcite-table-cell_2.entry.js +41 -32
- package/dist/esm/calcite-table-row.entry.js +23 -12
- package/dist/esm/calcite-table.entry.js +29 -25
- package/dist/esm/calcite-text-area.entry.js +39 -40
- package/dist/esm/calcite-tile-select-group.entry.js +5 -5
- package/dist/esm/calcite-tile-select.entry.js +39 -28
- package/dist/esm/calcite-tile.entry.js +16 -21
- package/dist/esm/calcite-time-picker.entry.js +44 -44
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +24 -24
- package/dist/esm/calcite-tip.entry.js +20 -20
- package/dist/esm/calcite-tooltip.entry.js +212 -213
- package/dist/esm/calcite-tree_2.entry.js +45 -46
- package/dist/esm/card-manager_3.entry.js +5 -5
- package/dist/esm/component-edd2c3cd.js +30 -0
- package/dist/esm/conditionalSlot-12c4fcfb.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +2 -2
- package/dist/esm/crowdsource-reporter.entry.js +9 -9
- package/dist/esm/cs-3d744598.js +146 -0
- package/dist/esm/da-ad0f6f82.js +65 -0
- package/dist/esm/date-5630530d.js +245 -0
- package/dist/esm/de-at-8de8843c.js +89 -0
- package/dist/esm/de-ch-03a1c027.js +89 -0
- package/dist/esm/de-d6966c3f.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-38c6f027.js +1056 -0
- package/dist/esm/downloadUtils-8b83a40c.js +3130 -0
- package/dist/esm/el-7130c722.js +65 -0
- package/dist/esm/en-au-005d4093.js +65 -0
- package/dist/esm/en-ca-1b54d10b.js +64 -0
- package/dist/esm/en-gb-ac1ad784.js +68 -0
- package/dist/esm/es-d6f91b06.js +65 -0
- package/dist/esm/es-mx-26a8411a.js +64 -0
- package/dist/esm/et-1f7ea62f.js +91 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-df7f8ad0.js +114 -0
- package/dist/esm/filter-ce763acf.js +763 -0
- package/dist/esm/floating-ui-41dfe3f1.js +1958 -0
- package/dist/esm/focusTrapComponent-47ddce58.js +1023 -0
- package/dist/esm/form-50dcd52e.js +307 -0
- package/dist/esm/fr-14ad3cd0.js +67 -0
- package/dist/esm/fr-ch-328d9a38.js +65 -0
- package/dist/esm/guid-b75a5f7b.js +24 -0
- package/dist/esm/he-a30ddc93.js +104 -0
- package/dist/esm/helpers-e8852b4a.js +877 -0
- package/dist/esm/hi-5d914f70.js +64 -0
- package/dist/esm/hr-232bce19.js +79 -0
- package/dist/esm/hu-cb9fa8dc.js +87 -0
- package/dist/esm/id-28662048.js +65 -0
- package/dist/esm/index-164d485a.js +2519 -0
- package/dist/esm/index-477ea182.js +199 -0
- package/dist/esm/index.es-33e2ee2d.js +10725 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +3 -3
- package/dist/esm/instant-apps-language-translator.entry.js +3 -3
- package/dist/esm/instant-apps-measurement.entry.js +1 -1
- package/dist/esm/instant-apps-popover.entry.js +1 -1
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/interactive-39bf5602.js +139 -0
- package/dist/esm/it-7fd85aa4.js +65 -0
- package/dist/esm/it-ch-ab98adcc.js +65 -0
- package/dist/esm/ja-eaf04e42.js +71 -0
- package/dist/esm/key-c83d835f.js +16 -0
- package/dist/esm/ko-d029100b.js +71 -0
- package/dist/esm/label-b4cea72e.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-37e7fbd6.js +89 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-25a5ae3e.js +156 -0
- package/dist/esm/locale-904407bf.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-4c10b6c4.js +96 -0
- package/dist/esm/lv-d2afd652.js +65 -0
- package/dist/esm/map-select-tools_3.entry.js +6 -6
- package/dist/esm/math-efada7a9.js +54 -0
- package/dist/esm/mk-ee9a3d11.js +65 -0
- package/dist/esm/nb-b9ec8eb4.js +66 -0
- package/dist/esm/nl-8e5bf9af.js +66 -0
- package/dist/esm/observers-d04d1da9.js +51 -0
- package/dist/esm/openCloseComponent-9f90f493.js +90 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-1379aa6d.js +113 -0
- package/dist/esm/popupUtils-23fe3c9f.js +94 -0
- package/dist/esm/pt-8494ce08.js +66 -0
- package/dist/esm/pt-br-54686d6b.js +64 -0
- package/dist/esm/public-notification.entry.js +6 -6
- package/dist/esm/publicNotificationStore-3bf4de75.js +45 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/resources-00983bd3.js +48 -0
- package/dist/esm/resources-20074cb1.js +24 -0
- package/dist/esm/resources-3709252d.js +35 -0
- package/dist/esm/resources-79914606.js +2051 -0
- package/dist/esm/resources-8834f920.js +28 -0
- package/dist/esm/resources-88a48c5c.js +20 -0
- package/dist/esm/resources-9b7e72d5.js +20 -0
- package/dist/esm/resources-abd87b42.js +24 -0
- package/dist/esm/resources-b0e2b809.js +22 -0
- package/dist/esm/ro-63586962.js +65 -0
- package/dist/esm/ru-ec1f486a.js +125 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-ede061c1.js +343 -0
- package/dist/esm/sk-d7d87eb9.js +147 -0
- package/dist/esm/sl-2a7d999b.js +167 -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-icon.entry.js +1 -1
- package/dist/esm/solution-store-01769bbf.js +1342 -0
- package/dist/esm/solutions-components.js +6 -6
- package/dist/esm/sortableComponent-d7cd11a3.js +2738 -0
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/sr-a3be308c.js +100 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/sv-890688fe.js +70 -0
- package/dist/esm/t9n-436fb2b1.js +95 -0
- package/dist/esm/th-ae3d67ae.js +64 -0
- package/dist/esm/time-29001694.js +274 -0
- package/dist/esm/tr-260f6f88.js +65 -0
- package/dist/esm/uk-d84b6056.js +103 -0
- package/dist/esm/utils-9fb4104a.js +61 -0
- package/dist/esm/utils-a15078af.js +203 -0
- package/dist/esm/utils-b46c535b.js +121 -0
- package/dist/esm/utils-d2b2562a.js +95 -0
- package/dist/esm/utils-ef0ff036.js +51 -0
- package/dist/esm/vi-f3eb25b9.js +69 -0
- package/dist/esm/zh-cn-d6fc0582.js +93 -0
- package/dist/esm/zh-hk-285977d0.js +70 -0
- package/dist/esm/zh-tw-d83c5c9d.js +91 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +13 -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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +9 -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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +9 -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 +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +9 -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 +9 -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/dropdown/dropdown.css +9 -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 +37 -43
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +9 -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 +9 -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 +10 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +27 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +10 -27
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +29 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +29 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +55 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +13 -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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +20 -16
- 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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +9 -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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +54 -18
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +9 -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 +35 -10
- 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 +40 -9
- 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 +14 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +17 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +9 -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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +42 -30
- 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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +12 -20
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +35 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +13 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +13 -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 +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +57 -29
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +90 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +9 -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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +9 -5
- package/dist/solutions-components/assets/combobox/t9n/messages_ar.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_bg.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_bs.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ca.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_cs.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_da.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_de.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_el.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_es.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_et.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_fi.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_fr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_he.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_hr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_hu.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_id.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_it.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ja.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ko.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_lt.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_lv.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_nl.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_no.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pl.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pt-BR.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pt-PT.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ro.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ru.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sk.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sl.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sv.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_th.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_tr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_uk.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_vi.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-CN.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-HK.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-TW.json +4 -1
- package/dist/solutions-components/assets/handle/t9n/index.d.ts +1 -0
- package/dist/solutions-components/assets/handle/t9n/messages.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_en.json +2 -1
- package/dist/solutions-components/assets/icon/absoluteDirection16.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteDirection24.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteDirection32.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/columnSettings16.json +1 -0
- package/dist/solutions-components/assets/icon/columnSettings24.json +1 -0
- package/dist/solutions-components/assets/icon/columnSettings32.json +1 -0
- package/dist/solutions-components/assets/icon/folderVideo16.json +1 -0
- package/dist/solutions-components/assets/icon/folderVideo24.json +1 -0
- package/dist/solutions-components/assets/icon/folderVideo32.json +1 -0
- package/dist/solutions-components/assets/icon/full1Column16.json +1 -0
- package/dist/solutions-components/assets/icon/full1Column24.json +1 -0
- package/dist/solutions-components/assets/icon/full1Column32.json +1 -0
- package/dist/solutions-components/assets/icon/fullMedium1Column16.json +1 -0
- package/dist/solutions-components/assets/icon/fullMedium1Column24.json +1 -0
- package/dist/solutions-components/assets/icon/fullMedium1Column32.json +1 -0
- package/dist/solutions-components/assets/icon/fullSmall1Column16.json +1 -0
- package/dist/solutions-components/assets/icon/fullSmall1Column24.json +1 -0
- package/dist/solutions-components/assets/icon/fullSmall1Column32.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon16.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon24.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon32.json +1 -0
- package/dist/solutions-components/assets/icon/large2Column16.json +1 -0
- package/dist/solutions-components/assets/icon/large2Column24.json +1 -0
- package/dist/solutions-components/assets/icon/large2Column32.json +1 -0
- package/dist/solutions-components/assets/icon/medium2Column16.json +1 -0
- package/dist/solutions-components/assets/icon/medium2Column24.json +1 -0
- package/dist/solutions-components/assets/icon/medium2Column32.json +1 -0
- package/dist/solutions-components/assets/icon/octagon16.json +1 -0
- package/dist/solutions-components/assets/icon/octagon24.json +1 -0
- package/dist/solutions-components/assets/icon/octagon32.json +1 -0
- package/dist/solutions-components/assets/icon/onTheGroundElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/onTheGroundElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/onTheGroundElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay16.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay24.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay32.json +1 -0
- package/dist/solutions-components/assets/icon/relativeDirection16.json +1 -0
- package/dist/solutions-components/assets/icon/relativeDirection24.json +1 -0
- package/dist/solutions-components/assets/icon/relativeDirection32.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToGroundElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToGroundElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToGroundElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToSceneElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToSceneElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToSceneElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/small2Column16.json +1 -0
- package/dist/solutions-components/assets/icon/small2Column24.json +1 -0
- package/dist/solutions-components/assets/icon/small2Column32.json +1 -0
- package/dist/solutions-components/assets/icon/surface16.json +1 -0
- package/dist/solutions-components/assets/icon/surface24.json +1 -0
- package/dist/solutions-components/assets/icon/surface32.json +1 -0
- package/dist/solutions-components/assets/icon/timeFilter16.json +1 -0
- package/dist/solutions-components/assets/icon/timeFilter24.json +1 -0
- package/dist/solutions-components/assets/icon/timeFilter32.json +1 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_fr.json +1 -1
- package/dist/solutions-components/assets/list/t9n/messages_ar.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_bg.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_bs.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ca.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_cs.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_da.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_de.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_el.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_es.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_et.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_fi.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_fr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_he.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_hr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_hu.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_id.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_it.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ja.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ko.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_lt.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_lv.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_nl.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_no.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_pl.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_pt-BR.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_pt-PT.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ro.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ru.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sk.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sl.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sv.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_th.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_tr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_uk.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_vi.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_zh-CN.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_zh-HK.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_zh-TW.json +4 -0
- package/dist/solutions-components/assets/list-item/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/list-item/t9n/messages.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_en.json +3 -1
- package/dist/solutions-components/assets/pagination/t9n/messages_ar.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_bg.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_bs.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ca.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_cs.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_da.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_de.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_el.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_es.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_et.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_fi.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_fr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_he.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_hr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_hu.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_id.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_it.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ja.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ko.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_lt.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_lv.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_nl.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_no.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_pl.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_pt-BR.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_pt-PT.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ro.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ru.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sk.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sl.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sv.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_th.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_tr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_uk.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_vi.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_zh-CN.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_zh-HK.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_zh-TW.json +2 -2
- package/dist/solutions-components/p-01f7f1a2.js +6 -0
- package/dist/solutions-components/p-028fba9d.js +6 -0
- package/dist/solutions-components/p-02fa1945.entry.js +11 -0
- package/dist/solutions-components/p-033522a7.entry.js +11 -0
- package/dist/solutions-components/p-038fcd93.entry.js +12 -0
- package/dist/solutions-components/p-04923112.entry.js +17 -0
- package/dist/solutions-components/p-04c37d69.entry.js +17 -0
- package/dist/solutions-components/p-05cb50f9.js +11 -0
- package/dist/solutions-components/p-070d486d.entry.js +17 -0
- package/dist/solutions-components/p-076673a8.js +6 -0
- package/dist/solutions-components/p-08651773.entry.js +11 -0
- package/dist/solutions-components/p-0883bc7b.js +6 -0
- package/dist/solutions-components/p-08cca1ba.entry.js +6 -0
- package/dist/solutions-components/p-0b92e4b1.entry.js +11 -0
- package/dist/solutions-components/p-0c6d2898.entry.js +6 -0
- package/dist/solutions-components/p-0cb5f2ee.js +6 -0
- package/dist/solutions-components/p-0d641d14.entry.js +11 -0
- package/dist/solutions-components/p-0f66fd89.js +145 -0
- package/dist/solutions-components/p-1065f4fa.js +11 -0
- package/dist/solutions-components/p-11c85508.entry.js +6 -0
- package/dist/solutions-components/p-13a02132.js +6 -0
- package/dist/solutions-components/p-13f2d901.js +16 -0
- package/dist/solutions-components/p-16a82c20.js +11 -0
- package/dist/solutions-components/p-18f1e8b5.js +6 -0
- package/dist/solutions-components/p-1b627c37.js +6 -0
- package/dist/solutions-components/p-1c19b946.js +6 -0
- package/dist/solutions-components/p-1c8cdfeb.entry.js +11 -0
- package/dist/solutions-components/p-1ee6220e.entry.js +17 -0
- package/dist/solutions-components/p-1f33a29d.js +11 -0
- package/dist/solutions-components/p-1f65ab1e.js +11 -0
- package/dist/solutions-components/p-1fbac542.js +6 -0
- package/dist/solutions-components/p-201a6ea3.js +11 -0
- package/dist/solutions-components/p-20320bf6.entry.js +11 -0
- package/dist/solutions-components/p-212c00e9.entry.js +6 -0
- package/dist/solutions-components/p-23d88af7.entry.js +17 -0
- package/dist/solutions-components/p-23de1b01.entry.js +11 -0
- package/dist/solutions-components/p-25894d7a.entry.js +6 -0
- package/dist/solutions-components/p-26461392.entry.js +11 -0
- package/dist/solutions-components/p-2917dae0.entry.js +6 -0
- package/dist/solutions-components/p-2a0f52c5.entry.js +6 -0
- package/dist/solutions-components/p-2a546c56.js +6 -0
- package/dist/solutions-components/p-2b0454a0.js +11 -0
- package/dist/solutions-components/p-2b6679d2.entry.js +6 -0
- package/dist/solutions-components/p-2ba240b9.entry.js +6 -0
- package/dist/solutions-components/p-2c6b8811.js +18 -0
- package/dist/solutions-components/p-2eeff59b.js +6 -0
- package/dist/solutions-components/p-30480847.entry.js +11 -0
- package/dist/solutions-components/p-30e7ecfa.js +6 -0
- package/dist/solutions-components/p-312c045a.entry.js +11 -0
- package/dist/solutions-components/p-32dc5007.entry.js +23 -0
- package/dist/solutions-components/p-32fed23c.entry.js +17 -0
- package/dist/solutions-components/p-36375749.js +6 -0
- package/dist/solutions-components/p-399d795d.js +6 -0
- package/dist/solutions-components/p-3bb79204.js +6 -0
- package/dist/solutions-components/p-3cb1de38.entry.js +6 -0
- package/dist/solutions-components/p-3cf84035.entry.js +6 -0
- package/dist/solutions-components/p-3d324690.entry.js +11 -0
- package/dist/solutions-components/p-3d7d78f3.entry.js +6 -0
- package/dist/solutions-components/p-3dd92f0d.js +17 -0
- package/dist/solutions-components/p-3e79d77b.entry.js +11 -0
- package/dist/solutions-components/p-3fbfe26a.entry.js +11 -0
- package/dist/solutions-components/p-4000a88a.js +6 -0
- package/dist/solutions-components/p-431d8154.entry.js +6 -0
- package/dist/solutions-components/p-449db954.entry.js +6 -0
- package/dist/solutions-components/p-45263007.entry.js +17 -0
- package/dist/solutions-components/p-463712ef.entry.js +36 -0
- package/dist/solutions-components/p-479d1e95.js +6 -0
- package/dist/solutions-components/p-47a97db7.entry.js +11 -0
- package/dist/solutions-components/p-48bef730.js +11 -0
- package/dist/solutions-components/p-495e7b9d.js +11 -0
- package/dist/solutions-components/p-4a030771.entry.js +11 -0
- package/dist/solutions-components/p-4b530f7b.entry.js +6 -0
- package/dist/solutions-components/p-4c5d243f.js +11 -0
- package/dist/solutions-components/p-4ce1ffd8.entry.js +11 -0
- package/dist/solutions-components/p-4d09aa4c.entry.js +6 -0
- package/dist/solutions-components/p-4f489e61.js +6 -0
- package/dist/solutions-components/p-52a6d2dc.entry.js +11 -0
- package/dist/solutions-components/p-531ccf84.entry.js +6 -0
- package/dist/solutions-components/p-547b4dba.entry.js +21 -0
- package/dist/solutions-components/p-563a0b20.js +11 -0
- package/dist/solutions-components/p-565e0f0d.entry.js +6 -0
- package/dist/solutions-components/p-5a9a971a.js +11 -0
- package/dist/solutions-components/p-5b228ed7.entry.js +11 -0
- package/dist/solutions-components/p-5f5de955.js +11 -0
- package/dist/solutions-components/p-5f814990.entry.js +6 -0
- package/dist/solutions-components/p-5fbfa5e4.entry.js +12 -0
- package/dist/solutions-components/p-5fd1ae46.entry.js +6 -0
- package/dist/solutions-components/p-602f3e72.js +16 -0
- package/dist/solutions-components/p-6068c1cf.entry.js +22 -0
- package/dist/solutions-components/p-62f2cea7.entry.js +6 -0
- package/dist/solutions-components/p-6332fd4e.entry.js +6 -0
- package/dist/solutions-components/p-63572270.entry.js +6 -0
- package/dist/solutions-components/p-66ff2c3f.js +11 -0
- package/dist/solutions-components/p-680b89db.js +16 -0
- package/dist/solutions-components/p-6a61c742.entry.js +6 -0
- package/dist/solutions-components/p-6aa16b3c.js +6 -0
- package/dist/solutions-components/p-6ce37201.js +11 -0
- package/dist/solutions-components/p-6d0203ed.entry.js +6 -0
- package/dist/solutions-components/p-6d520a58.js +12 -0
- package/dist/solutions-components/p-6d93bdfd.entry.js +11 -0
- package/dist/solutions-components/p-6f6deff1.js +6 -0
- package/dist/solutions-components/p-701568c2.entry.js +16 -0
- package/dist/solutions-components/p-701ed205.js +6 -0
- package/dist/solutions-components/p-7169fadf.js +6 -0
- package/dist/solutions-components/p-71964176.entry.js +11 -0
- package/dist/solutions-components/p-71b65d8a.entry.js +11 -0
- package/dist/solutions-components/p-72849648.js +6 -0
- package/dist/solutions-components/p-732ae6e8.entry.js +6 -0
- package/dist/solutions-components/p-75099601.js +6 -0
- package/dist/solutions-components/p-75a758c8.js +6 -0
- package/dist/solutions-components/p-76bd5032.js +11 -0
- package/dist/solutions-components/p-7878534f.entry.js +11 -0
- package/dist/solutions-components/p-792907e2.entry.js +11 -0
- package/dist/solutions-components/p-7b257e2e.js +6 -0
- package/dist/solutions-components/p-7c0fe27e.entry.js +11 -0
- package/dist/solutions-components/p-7c2be8cc.js +11 -0
- package/dist/solutions-components/p-7c2ef952.js +6 -0
- package/dist/solutions-components/p-7cfce9ee.entry.js +11 -0
- package/dist/solutions-components/p-7d04ff20.js +11 -0
- package/dist/solutions-components/p-7d280d8a.js +7 -0
- package/dist/solutions-components/p-8007ac36.js +11 -0
- package/dist/solutions-components/p-807900ac.js +6 -0
- package/dist/solutions-components/p-80fd6b2e.js +6 -0
- package/dist/solutions-components/p-84546f35.entry.js +6 -0
- package/dist/solutions-components/p-8571c89f.entry.js +6 -0
- package/dist/solutions-components/p-88cd4a24.entry.js +6 -0
- package/dist/solutions-components/p-8942f6fa.js +6 -0
- package/dist/solutions-components/p-8dbf3319.entry.js +6 -0
- package/dist/solutions-components/p-8dc26294.js +11 -0
- package/dist/solutions-components/p-905f7e81.entry.js +6 -0
- package/dist/solutions-components/p-906ad47a.entry.js +11 -0
- package/dist/solutions-components/p-91c49d95.entry.js +6 -0
- package/dist/solutions-components/p-928c0b29.entry.js +6 -0
- package/dist/solutions-components/p-93369c9f.entry.js +6 -0
- package/dist/solutions-components/p-94de9279.js +11 -0
- package/dist/solutions-components/p-96104375.entry.js +6 -0
- package/dist/solutions-components/p-97425481.entry.js +6 -0
- package/dist/solutions-components/p-9ae4f911.entry.js +6 -0
- package/dist/solutions-components/p-9d3b46e2.js +11 -0
- package/dist/solutions-components/p-9d53e0f2.js +11 -0
- package/dist/solutions-components/p-9dfe1301.entry.js +6 -0
- package/dist/solutions-components/p-9f895288.entry.js +6 -0
- package/dist/solutions-components/p-a17d0d80.entry.js +6 -0
- package/dist/solutions-components/p-a4149333.js +11 -0
- package/dist/solutions-components/p-a5088b70.js +6 -0
- package/dist/solutions-components/p-a55b766f.entry.js +6 -0
- package/dist/solutions-components/p-acb9b78e.js +6 -0
- package/dist/solutions-components/p-ae4c8b8c.entry.js +6 -0
- package/dist/solutions-components/p-aec06ce4.entry.js +18 -0
- package/dist/solutions-components/p-b04c9dc3.js +36 -0
- package/dist/solutions-components/p-b15fda15.js +6 -0
- package/dist/solutions-components/p-b3ad3ac1.entry.js +6 -0
- package/dist/solutions-components/p-b3eb3302.js +17 -0
- package/dist/solutions-components/p-b4103233.js +6 -0
- package/dist/solutions-components/p-b4d85b2c.js +6 -0
- package/dist/solutions-components/p-b7337228.entry.js +11 -0
- package/dist/solutions-components/p-ba7d55ea.js +11 -0
- package/dist/solutions-components/p-bb94c414.entry.js +6 -0
- package/dist/solutions-components/p-bc665a3a.js +6 -0
- package/dist/solutions-components/p-bd06bae0.entry.js +11 -0
- package/dist/solutions-components/p-bdbfe9f1.js +6 -0
- package/dist/solutions-components/p-bdea5320.js +11 -0
- package/dist/solutions-components/p-beba1804.entry.js +11 -0
- package/dist/solutions-components/p-bfdf89c2.js +11 -0
- package/dist/solutions-components/p-c51f2880.entry.js +11 -0
- package/dist/solutions-components/p-c85ce035.entry.js +11 -0
- package/dist/solutions-components/p-c8ca9b8c.entry.js +17 -0
- package/dist/solutions-components/p-c94d2cec.js +11 -0
- package/dist/solutions-components/p-c97eebe2.js +6 -0
- package/dist/solutions-components/p-caa7580c.js +6 -0
- package/dist/solutions-components/p-cc280aa1.js +21 -0
- package/dist/solutions-components/p-cc859d2b.entry.js +16 -0
- package/dist/solutions-components/p-ced067bd.entry.js +17 -0
- package/dist/solutions-components/p-cf24dd35.entry.js +23 -0
- package/dist/solutions-components/p-d36f2db6.entry.js +11 -0
- package/dist/solutions-components/p-d3ba36ce.entry.js +11 -0
- package/dist/solutions-components/p-d3da7497.entry.js +6 -0
- package/dist/solutions-components/p-d5ce0c2b.js +11 -0
- package/dist/solutions-components/p-d67f3b6e.entry.js +11 -0
- package/dist/solutions-components/p-d6c662dc.js +6 -0
- package/dist/solutions-components/p-d7b02d3a.js +22 -0
- package/dist/solutions-components/p-d9826b1d.entry.js +11 -0
- package/dist/solutions-components/p-db53bde3.js +11 -0
- package/dist/solutions-components/p-dc58d9ec.js +6 -0
- package/dist/solutions-components/p-dd45738e.entry.js +6 -0
- package/dist/solutions-components/p-dd67e38a.entry.js +6 -0
- package/dist/solutions-components/p-ddd1cc66.js +6 -0
- package/dist/solutions-components/p-de9522e9.js +11 -0
- package/dist/solutions-components/p-df468e80.entry.js +12 -0
- package/dist/solutions-components/p-e05b02c5.entry.js +47 -0
- package/dist/solutions-components/p-e10ca475.entry.js +11 -0
- package/dist/solutions-components/p-e14e6c12.entry.js +6 -0
- package/dist/solutions-components/p-e29a378e.entry.js +6 -0
- package/dist/solutions-components/p-e2eb93d3.js +6 -0
- package/dist/solutions-components/p-e46910c5.js +6 -0
- package/dist/solutions-components/p-e4e59f16.js +489 -0
- package/dist/solutions-components/p-e61c56fa.entry.js +11 -0
- package/dist/solutions-components/p-e7afc0a8.js +11 -0
- package/dist/solutions-components/p-e813faf8.entry.js +11 -0
- package/dist/solutions-components/p-e822a96b.js +6 -0
- package/dist/solutions-components/p-e9700988.entry.js +6 -0
- package/dist/solutions-components/p-e9788173.entry.js +11 -0
- package/dist/solutions-components/p-e9828fd0.js +6 -0
- package/dist/solutions-components/p-eb0f4ede.entry.js +6 -0
- package/dist/solutions-components/p-ebd6afea.entry.js +11 -0
- package/dist/solutions-components/p-ebdd6c63.js +6 -0
- package/dist/solutions-components/p-ede2a93f.js +6 -0
- package/dist/solutions-components/p-ee1e4df3.js +61 -0
- package/dist/solutions-components/p-ef1cf76c.entry.js +6 -0
- package/dist/solutions-components/p-efec6ba5.entry.js +11 -0
- package/dist/solutions-components/p-f0c7d964.js +11 -0
- package/dist/solutions-components/p-f232f765.js +6 -0
- package/dist/solutions-components/p-f23e6499.js +21 -0
- package/dist/solutions-components/p-f8015a1b.js +6 -0
- package/dist/solutions-components/p-f8a6785d.entry.js +6 -0
- package/dist/solutions-components/p-fc4df904.entry.js +6 -0
- package/dist/solutions-components/p-fc9fe5fb.js +11 -0
- package/dist/solutions-components/p-fdedce1c.entry.js +11 -0
- package/dist/solutions-components/p-fe74de01.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +16 -8
- package/dist/solutions-components/utils/interfaces.ts +5 -0
- package/dist/types/components/layer-table/layer-table.d.ts +2 -2
- package/dist/types/preact.d.ts +13 -5
- package/dist/types/utils/downloadUtils.d.ts +4 -4
- package/dist/types/utils/interfaces.d.ts +1 -0
- package/package.json +4 -4
- package/dist/cjs/ExpandToggle-f83d93f8.js +0 -118
- package/dist/cjs/FloatingArrow-7e1624ea.js +0 -50
- package/dist/cjs/Heading-fe70b3e6.js +0 -25
- package/dist/cjs/app-globals-b3f43c6b.js +0 -69
- package/dist/cjs/ar-5f98cd4b.js +0 -104
- package/dist/cjs/array-1d19377b.js +0 -17
- package/dist/cjs/bg-a55b554b.js +0 -82
- package/dist/cjs/browser-9a43b900.js +0 -23
- package/dist/cjs/bs-00e4d31b.js +0 -51
- package/dist/cjs/ca-cdd10d29.js +0 -71
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -261
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +0 -2232
- package/dist/cjs/calcite-input-time-picker-4f7e55b6.js +0 -1849
- package/dist/cjs/component-c270a500.js +0 -33
- package/dist/cjs/conditionalSlot-63e11cba.js +0 -63
- package/dist/cjs/cs-d08a7e91.js +0 -147
- package/dist/cjs/da-2fb40e38.js +0 -66
- package/dist/cjs/date-a0b274b2.js +0 -261
- package/dist/cjs/de-at-8cb4fc8d.js +0 -90
- package/dist/cjs/de-ch-98281a16.js +0 -90
- package/dist/cjs/de-f88ab56a.js +0 -91
- package/dist/cjs/dom-e111eaa6.js +0 -1087
- package/dist/cjs/downloadUtils-6b451886.js +0 -3131
- package/dist/cjs/el-42222f37.js +0 -66
- package/dist/cjs/en-au-ce99afe4.js +0 -66
- package/dist/cjs/en-ca-44a0c79e.js +0 -65
- package/dist/cjs/en-gb-9bd18cc2.js +0 -69
- package/dist/cjs/es-a630678a.js +0 -66
- package/dist/cjs/es-mx-cb026d16.js +0 -65
- package/dist/cjs/et-9801d7bf.js +0 -92
- package/dist/cjs/fi-99bb68b2.js +0 -115
- package/dist/cjs/filter-8f1bbfe6.js +0 -765
- package/dist/cjs/floating-ui-290f99dd.js +0 -1906
- package/dist/cjs/focusTrapComponent-3add574e.js +0 -1028
- package/dist/cjs/form-0291a707.js +0 -260
- package/dist/cjs/fr-047990d9.js +0 -68
- package/dist/cjs/fr-ch-eefff196.js +0 -66
- package/dist/cjs/globalAttributes-c973ec3a.js +0 -77
- package/dist/cjs/guid-1a466ca6.js +0 -26
- package/dist/cjs/he-3f50b1de.js +0 -105
- package/dist/cjs/helpers-a0719076.js +0 -903
- package/dist/cjs/hi-8fad23c8.js +0 -65
- package/dist/cjs/hr-85523ea5.js +0 -80
- package/dist/cjs/hu-133d6509.js +0 -88
- package/dist/cjs/id-cf31387c.js +0 -66
- package/dist/cjs/index-22bb61da.js +0 -201
- package/dist/cjs/index-b8a649fc.js +0 -2530
- package/dist/cjs/index.es-3eaba9ef.js +0 -10811
- package/dist/cjs/interactive-8aff886e.js +0 -147
- package/dist/cjs/it-87a2a88e.js +0 -66
- package/dist/cjs/it-ch-6197d836.js +0 -66
- package/dist/cjs/ja-1be83730.js +0 -72
- package/dist/cjs/key-b8c05387.js +0 -19
- package/dist/cjs/ko-ea4b0148.js +0 -72
- package/dist/cjs/label-bcad2894.js +0 -186
- package/dist/cjs/loadable-07a214c7.js +0 -94
- package/dist/cjs/locale-6a627639.js +0 -584
- package/dist/cjs/locale-a476e15d.js +0 -161
- package/dist/cjs/lt-4acaf0a6.js +0 -97
- package/dist/cjs/lv-251e08f1.js +0 -66
- package/dist/cjs/math-6c9027e3.js +0 -60
- package/dist/cjs/mk-8b1ae7dd.js +0 -66
- package/dist/cjs/nb-fa98c484.js +0 -67
- package/dist/cjs/nl-e71e8890.js +0 -67
- package/dist/cjs/observers-281a8c99.js +0 -53
- package/dist/cjs/openCloseComponent-8c9a1749.js +0 -92
- package/dist/cjs/pl-8527f540.js +0 -114
- package/dist/cjs/popupUtils-7755782a.js +0 -96
- package/dist/cjs/pt-a1c7a6ea.js +0 -67
- package/dist/cjs/pt-br-c5319e0c.js +0 -65
- package/dist/cjs/publicNotificationStore-3a17c2f4.js +0 -47
- package/dist/cjs/resources-0986c5c2.js +0 -2062
- package/dist/cjs/resources-222ad22c.js +0 -20
- package/dist/cjs/resources-228f9286.js +0 -39
- package/dist/cjs/resources-6c60363a.js +0 -32
- package/dist/cjs/resources-8e3763a4.js +0 -52
- package/dist/cjs/resources-9400a252.js +0 -23
- package/dist/cjs/resources-a825d7ae.js +0 -29
- package/dist/cjs/resources-d2d7b7c7.js +0 -27
- package/dist/cjs/resources-f3e0e822.js +0 -26
- package/dist/cjs/ro-df6f795a.js +0 -66
- package/dist/cjs/ru-7516a3ba.js +0 -126
- package/dist/cjs/shared-list-render-25bedff5.js +0 -364
- package/dist/cjs/sk-9d31fa10.js +0 -148
- package/dist/cjs/sl-abecca0d.js +0 -168
- package/dist/cjs/solution-store-ab6c980f.js +0 -1344
- package/dist/cjs/sortableComponent-188f3290.js +0 -3108
- package/dist/cjs/sr-334c5c73.js +0 -101
- package/dist/cjs/sv-832dd153.js +0 -71
- package/dist/cjs/t9n-0556abcb.js +0 -100
- package/dist/cjs/th-cca86754.js +0 -65
- package/dist/cjs/time-06aad495.js +0 -289
- package/dist/cjs/tr-fcef3dae.js +0 -66
- package/dist/cjs/uk-69eceeec.js +0 -104
- package/dist/cjs/utils-234879c7.js +0 -99
- package/dist/cjs/utils-3df24da4.js +0 -62
- package/dist/cjs/utils-6587cc34.js +0 -64
- package/dist/cjs/utils-6c713ba8.js +0 -130
- package/dist/cjs/utils-c735a41d.js +0 -221
- package/dist/cjs/vi-6afa69a0.js +0 -70
- package/dist/cjs/zh-cn-0513bc09.js +0 -94
- package/dist/cjs/zh-hk-73971e1d.js +0 -71
- package/dist/cjs/zh-tw-af0db947.js +0 -92
- package/dist/components/globalAttributes.js +0 -74
- package/dist/components/tile.js +0 -115
- package/dist/esm/ExpandToggle-96688cda.js +0 -110
- package/dist/esm/FloatingArrow-245804f3.js +0 -48
- package/dist/esm/Heading-c45d3f45.js +0 -22
- package/dist/esm/app-globals-e4f88f7e.js +0 -67
- package/dist/esm/ar-29711364.js +0 -102
- package/dist/esm/array-51c31356.js +0 -15
- package/dist/esm/bg-c0f5033b.js +0 -80
- package/dist/esm/browser-b4c16201.js +0 -21
- package/dist/esm/bs-60479ce5.js +0 -49
- package/dist/esm/ca-4317b986.js +0 -69
- package/dist/esm/calcite-chip.entry.js +0 -257
- package/dist/esm/calcite-combobox_6.entry.js +0 -2223
- package/dist/esm/calcite-input-time-picker-2e1b2157.js +0 -1846
- package/dist/esm/component-98bae46b.js +0 -30
- package/dist/esm/conditionalSlot-1149b5cb.js +0 -60
- package/dist/esm/cs-da404a04.js +0 -145
- package/dist/esm/da-1afac3fa.js +0 -64
- package/dist/esm/date-8b4a8f33.js +0 -245
- package/dist/esm/de-98f3129e.js +0 -89
- package/dist/esm/de-at-ed4817af.js +0 -88
- package/dist/esm/de-ch-556c82c8.js +0 -88
- package/dist/esm/dom-8f926f33.js +0 -1056
- package/dist/esm/downloadUtils-4577cf8b.js +0 -3125
- package/dist/esm/el-394dfd74.js +0 -64
- package/dist/esm/en-au-6dde1e7e.js +0 -64
- package/dist/esm/en-ca-420be416.js +0 -63
- package/dist/esm/en-gb-0a7caa85.js +0 -67
- package/dist/esm/es-2e1beb99.js +0 -64
- package/dist/esm/es-mx-ef132a24.js +0 -63
- package/dist/esm/et-83d139c1.js +0 -90
- package/dist/esm/fi-8b81ed94.js +0 -113
- package/dist/esm/filter-8b806ae6.js +0 -763
- package/dist/esm/floating-ui-c397f653.js +0 -1898
- package/dist/esm/focusTrapComponent-14368766.js +0 -1023
- package/dist/esm/form-133b00c7.js +0 -252
- package/dist/esm/fr-c47c114a.js +0 -66
- package/dist/esm/fr-ch-97635343.js +0 -64
- package/dist/esm/globalAttributes-03c9e433.js +0 -74
- package/dist/esm/guid-36c6c6a5.js +0 -24
- package/dist/esm/he-ed2a12b9.js +0 -103
- package/dist/esm/helpers-078591d2.js +0 -877
- package/dist/esm/hi-a05727ac.js +0 -63
- package/dist/esm/hr-d01671ca.js +0 -78
- package/dist/esm/hu-16506ca7.js +0 -86
- package/dist/esm/id-e9367e87.js +0 -64
- package/dist/esm/index-7183ce4a.js +0 -2496
- package/dist/esm/index-857df22e.js +0 -199
- package/dist/esm/index.es-a28dad8e.js +0 -10725
- package/dist/esm/interactive-20bb1dc4.js +0 -143
- package/dist/esm/it-14246b4a.js +0 -64
- package/dist/esm/it-ch-a877e111.js +0 -64
- package/dist/esm/ja-67a0cfa0.js +0 -70
- package/dist/esm/key-af303047.js +0 -16
- package/dist/esm/ko-35b0b83a.js +0 -70
- package/dist/esm/label-cd393c81.js +0 -179
- package/dist/esm/loadable-c3685e51.js +0 -89
- package/dist/esm/locale-6107ef11.js +0 -571
- package/dist/esm/locale-731e75a8.js +0 -156
- package/dist/esm/lt-71014faf.js +0 -95
- package/dist/esm/lv-def9df38.js +0 -64
- package/dist/esm/math-cdaf4dc0.js +0 -54
- package/dist/esm/mk-bfeac49e.js +0 -64
- package/dist/esm/nb-0723b461.js +0 -65
- package/dist/esm/nl-89663165.js +0 -65
- package/dist/esm/observers-8ce200f2.js +0 -51
- package/dist/esm/openCloseComponent-982c6b9e.js +0 -90
- package/dist/esm/pl-0157c37c.js +0 -112
- package/dist/esm/popupUtils-d75edf93.js +0 -94
- package/dist/esm/pt-80d1520c.js +0 -65
- package/dist/esm/pt-br-ee5003c7.js +0 -63
- package/dist/esm/publicNotificationStore-9362d7ae.js +0 -45
- package/dist/esm/resources-13098091.js +0 -35
- package/dist/esm/resources-1a8d4d77.js +0 -24
- package/dist/esm/resources-242fdf8d.js +0 -2051
- package/dist/esm/resources-4bcfc016.js +0 -22
- package/dist/esm/resources-649a0f91.js +0 -48
- package/dist/esm/resources-6772a50d.js +0 -24
- package/dist/esm/resources-6e00e0d1.js +0 -20
- package/dist/esm/resources-a0420cda.js +0 -20
- package/dist/esm/resources-cdc36705.js +0 -28
- package/dist/esm/ro-eff987f8.js +0 -64
- package/dist/esm/ru-62839398.js +0 -124
- package/dist/esm/shared-list-render-a2ab63e8.js +0 -342
- package/dist/esm/sk-c2f4bd58.js +0 -146
- package/dist/esm/sl-328ff1db.js +0 -166
- package/dist/esm/solution-store-19f7825b.js +0 -1342
- package/dist/esm/sortableComponent-65956286.js +0 -3104
- package/dist/esm/sr-75a3ad46.js +0 -99
- package/dist/esm/sv-10da5ef2.js +0 -69
- package/dist/esm/t9n-f16911e7.js +0 -95
- package/dist/esm/th-aa112042.js +0 -63
- package/dist/esm/time-855b3426.js +0 -274
- package/dist/esm/tr-5925a2f5.js +0 -64
- package/dist/esm/uk-c40eeb9f.js +0 -102
- package/dist/esm/utils-5ec65194.js +0 -121
- package/dist/esm/utils-86d242a6.js +0 -90
- package/dist/esm/utils-93fd55c4.js +0 -61
- package/dist/esm/utils-abdd879e.js +0 -203
- package/dist/esm/utils-c3509713.js +0 -51
- package/dist/esm/vi-27922b93.js +0 -68
- package/dist/esm/zh-cn-38a2e1d3.js +0 -92
- package/dist/esm/zh-hk-e0217bd1.js +0 -69
- package/dist/esm/zh-tw-31f0447c.js +0 -90
- package/dist/solutions-components/p-0392679d.js +0 -6
- package/dist/solutions-components/p-05f702ae.js +0 -6
- package/dist/solutions-components/p-0637dbc2.entry.js +0 -6
- package/dist/solutions-components/p-068f5a8c.entry.js +0 -11
- package/dist/solutions-components/p-08bde7db.entry.js +0 -6
- package/dist/solutions-components/p-0a0d0d3a.entry.js +0 -6
- package/dist/solutions-components/p-0b4f4b0e.entry.js +0 -6
- package/dist/solutions-components/p-0b65130f.entry.js +0 -6
- package/dist/solutions-components/p-0c07ad8a.js +0 -11
- package/dist/solutions-components/p-0c97de08.js +0 -12
- package/dist/solutions-components/p-0d774e41.js +0 -6
- package/dist/solutions-components/p-0f156577.entry.js +0 -6
- package/dist/solutions-components/p-0f6b58b2.js +0 -6
- package/dist/solutions-components/p-10410f92.entry.js +0 -6
- package/dist/solutions-components/p-10f2d6b0.entry.js +0 -11
- package/dist/solutions-components/p-13be5cf5.entry.js +0 -11
- package/dist/solutions-components/p-14548a83.js +0 -6
- package/dist/solutions-components/p-17668cb7.js +0 -16
- package/dist/solutions-components/p-1b9fb070.entry.js +0 -6
- package/dist/solutions-components/p-1be63b50.js +0 -11
- package/dist/solutions-components/p-1c75bb3d.js +0 -6
- package/dist/solutions-components/p-1e2ffee3.js +0 -11
- package/dist/solutions-components/p-1f7046e9.entry.js +0 -6
- package/dist/solutions-components/p-21c2d29c.entry.js +0 -6
- package/dist/solutions-components/p-21ccd955.entry.js +0 -6
- package/dist/solutions-components/p-225c4ca4.js +0 -6
- package/dist/solutions-components/p-234a8293.entry.js +0 -11
- package/dist/solutions-components/p-2447b332.js +0 -6
- package/dist/solutions-components/p-24c699b0.entry.js +0 -16
- package/dist/solutions-components/p-259f6f81.js +0 -11
- package/dist/solutions-components/p-25dd768d.js +0 -11
- package/dist/solutions-components/p-2656c6e4.entry.js +0 -47
- package/dist/solutions-components/p-284cc5cd.entry.js +0 -6
- package/dist/solutions-components/p-28b33708.js +0 -6
- package/dist/solutions-components/p-29d68474.js +0 -11
- package/dist/solutions-components/p-2d68a6fd.js +0 -6
- package/dist/solutions-components/p-2e2d01de.entry.js +0 -11
- package/dist/solutions-components/p-2f425700.entry.js +0 -11
- package/dist/solutions-components/p-324d71f4.entry.js +0 -11
- package/dist/solutions-components/p-32b6b6c9.js +0 -11
- package/dist/solutions-components/p-35c58364.js +0 -11
- package/dist/solutions-components/p-364486d1.entry.js +0 -6
- package/dist/solutions-components/p-368cbb2c.entry.js +0 -11
- package/dist/solutions-components/p-36f247db.entry.js +0 -6
- package/dist/solutions-components/p-38544b17.js +0 -6
- package/dist/solutions-components/p-3a73ee38.entry.js +0 -11
- package/dist/solutions-components/p-3ad4426b.entry.js +0 -11
- package/dist/solutions-components/p-3c10901a.entry.js +0 -11
- package/dist/solutions-components/p-3c7d0eb9.js +0 -6
- package/dist/solutions-components/p-3ca39d08.entry.js +0 -6
- package/dist/solutions-components/p-3d17ee9f.entry.js +0 -6
- package/dist/solutions-components/p-3f279568.js +0 -18
- package/dist/solutions-components/p-411b73a7.js +0 -6
- package/dist/solutions-components/p-428554b4.js +0 -11
- package/dist/solutions-components/p-429e1284.entry.js +0 -6
- package/dist/solutions-components/p-42f0e1fa.entry.js +0 -11
- package/dist/solutions-components/p-4416d288.js +0 -11
- package/dist/solutions-components/p-451b16b3.entry.js +0 -11
- package/dist/solutions-components/p-4647b2a6.js +0 -6
- package/dist/solutions-components/p-475ad635.js +0 -11
- package/dist/solutions-components/p-480d0789.js +0 -6
- package/dist/solutions-components/p-49b02dda.entry.js +0 -6
- package/dist/solutions-components/p-49fb1bfa.js +0 -11
- package/dist/solutions-components/p-4abf1c34.js +0 -6
- package/dist/solutions-components/p-4ae36626.js +0 -6
- package/dist/solutions-components/p-4bff69aa.entry.js +0 -11
- package/dist/solutions-components/p-4ccdac24.entry.js +0 -12
- package/dist/solutions-components/p-4d402bcf.entry.js +0 -11
- package/dist/solutions-components/p-4d8fc031.js +0 -6
- package/dist/solutions-components/p-4d99cb49.entry.js +0 -6
- package/dist/solutions-components/p-4fbadb84.entry.js +0 -6
- package/dist/solutions-components/p-515a319e.js +0 -21
- package/dist/solutions-components/p-5268d845.entry.js +0 -11
- package/dist/solutions-components/p-568822d4.js +0 -11
- package/dist/solutions-components/p-5a885617.entry.js +0 -6
- package/dist/solutions-components/p-5b566d55.js +0 -11
- package/dist/solutions-components/p-5e12026e.js +0 -6
- package/dist/solutions-components/p-5fe99315.entry.js +0 -11
- package/dist/solutions-components/p-60d212df.entry.js +0 -6
- package/dist/solutions-components/p-6105d57c.js +0 -6
- package/dist/solutions-components/p-613315a7.entry.js +0 -12
- package/dist/solutions-components/p-61a523a6.entry.js +0 -6
- package/dist/solutions-components/p-6268020e.entry.js +0 -6
- package/dist/solutions-components/p-627c19b5.entry.js +0 -6
- package/dist/solutions-components/p-62eba559.entry.js +0 -17
- package/dist/solutions-components/p-63fa7791.entry.js +0 -11
- package/dist/solutions-components/p-653af7e0.js +0 -11
- package/dist/solutions-components/p-6604ac77.js +0 -11
- package/dist/solutions-components/p-668c9fd9.entry.js +0 -6
- package/dist/solutions-components/p-674be06c.entry.js +0 -6
- package/dist/solutions-components/p-67b9b58f.entry.js +0 -6
- package/dist/solutions-components/p-67ff8e9a.entry.js +0 -17
- package/dist/solutions-components/p-68434a63.js +0 -6
- package/dist/solutions-components/p-68e0adcf.js +0 -6
- package/dist/solutions-components/p-68e84199.entry.js +0 -6
- package/dist/solutions-components/p-69763854.js +0 -6
- package/dist/solutions-components/p-6ae45648.js +0 -6
- package/dist/solutions-components/p-6b2b8b41.entry.js +0 -29
- package/dist/solutions-components/p-6c85b276.js +0 -489
- package/dist/solutions-components/p-6cce7009.entry.js +0 -11
- package/dist/solutions-components/p-6d511162.js +0 -6
- package/dist/solutions-components/p-708294ca.entry.js +0 -11
- package/dist/solutions-components/p-7116f96d.entry.js +0 -36
- package/dist/solutions-components/p-727596e6.js +0 -11
- package/dist/solutions-components/p-73100e79.js +0 -11
- package/dist/solutions-components/p-734bc1b0.entry.js +0 -11
- package/dist/solutions-components/p-752ece4a.entry.js +0 -11
- package/dist/solutions-components/p-758d94ea.entry.js +0 -6
- package/dist/solutions-components/p-75e2a322.entry.js +0 -17
- package/dist/solutions-components/p-775ad144.js +0 -11
- package/dist/solutions-components/p-77b43a94.js +0 -11
- package/dist/solutions-components/p-787203af.entry.js +0 -11
- package/dist/solutions-components/p-78780f63.js +0 -7
- package/dist/solutions-components/p-79110824.js +0 -6
- package/dist/solutions-components/p-793cad54.js +0 -6
- package/dist/solutions-components/p-797aa505.js +0 -6
- package/dist/solutions-components/p-7c13406e.entry.js +0 -6
- package/dist/solutions-components/p-7dbccc10.entry.js +0 -21
- package/dist/solutions-components/p-7ebd34df.entry.js +0 -11
- package/dist/solutions-components/p-802acc51.entry.js +0 -6
- package/dist/solutions-components/p-809b7e47.entry.js +0 -11
- package/dist/solutions-components/p-83fd31d5.js +0 -17
- package/dist/solutions-components/p-84378c8d.entry.js +0 -11
- package/dist/solutions-components/p-864b1d72.entry.js +0 -6
- package/dist/solutions-components/p-8684a905.js +0 -21
- package/dist/solutions-components/p-891682da.entry.js +0 -12
- package/dist/solutions-components/p-8953a9cc.entry.js +0 -6
- package/dist/solutions-components/p-8b47b607.entry.js +0 -11
- package/dist/solutions-components/p-8d49a084.js +0 -6
- package/dist/solutions-components/p-8fabb8a4.entry.js +0 -22
- package/dist/solutions-components/p-95aba86b.entry.js +0 -6
- package/dist/solutions-components/p-96c2ed64.entry.js +0 -11
- package/dist/solutions-components/p-978d936a.entry.js +0 -11
- package/dist/solutions-components/p-980cd015.entry.js +0 -11
- package/dist/solutions-components/p-981e9549.js +0 -11
- package/dist/solutions-components/p-98308b13.entry.js +0 -11
- package/dist/solutions-components/p-98fe7b5d.entry.js +0 -6
- package/dist/solutions-components/p-993e8bd0.js +0 -11
- package/dist/solutions-components/p-99c5701d.entry.js +0 -6
- package/dist/solutions-components/p-9cbfd8cd.js +0 -6
- package/dist/solutions-components/p-a09c8edf.entry.js +0 -6
- package/dist/solutions-components/p-a4755ea8.entry.js +0 -6
- package/dist/solutions-components/p-a5272d7e.js +0 -6
- package/dist/solutions-components/p-a5c5b24d.js +0 -6
- package/dist/solutions-components/p-a5e93c7e.entry.js +0 -18
- package/dist/solutions-components/p-a6bb4148.js +0 -6
- package/dist/solutions-components/p-a84acc82.entry.js +0 -6
- package/dist/solutions-components/p-a8c9ac0b.entry.js +0 -16
- package/dist/solutions-components/p-a9bd945b.entry.js +0 -11
- package/dist/solutions-components/p-a9c30842.entry.js +0 -11
- package/dist/solutions-components/p-abdd289e.js +0 -6
- package/dist/solutions-components/p-aca29f67.entry.js +0 -11
- package/dist/solutions-components/p-ad96cd8b.entry.js +0 -11
- package/dist/solutions-components/p-ada368a5.entry.js +0 -6
- package/dist/solutions-components/p-af1bb992.js +0 -6
- package/dist/solutions-components/p-b1a5f341.js +0 -61
- package/dist/solutions-components/p-b1b768f7.js +0 -145
- package/dist/solutions-components/p-b21a9b47.js +0 -11
- package/dist/solutions-components/p-b29677ca.js +0 -6
- package/dist/solutions-components/p-b2c5e62b.js +0 -6
- package/dist/solutions-components/p-b326b592.entry.js +0 -11
- package/dist/solutions-components/p-b3ebaa79.js +0 -11
- package/dist/solutions-components/p-b699637f.entry.js +0 -11
- package/dist/solutions-components/p-b6efec9a.entry.js +0 -6
- package/dist/solutions-components/p-b7285bd5.js +0 -6
- package/dist/solutions-components/p-b8959537.js +0 -6
- package/dist/solutions-components/p-baf4cb37.js +0 -6
- package/dist/solutions-components/p-baf82bab.entry.js +0 -6
- package/dist/solutions-components/p-bfebff0e.js +0 -6
- package/dist/solutions-components/p-c0f97ed2.entry.js +0 -6
- package/dist/solutions-components/p-c3190f85.js +0 -6
- package/dist/solutions-components/p-c4ebb5d1.js +0 -11
- package/dist/solutions-components/p-c504529e.entry.js +0 -6
- package/dist/solutions-components/p-c56fd16c.entry.js +0 -11
- package/dist/solutions-components/p-c6b9a129.js +0 -11
- package/dist/solutions-components/p-c77ff1b4.entry.js +0 -6
- package/dist/solutions-components/p-c7e7da9a.entry.js +0 -17
- package/dist/solutions-components/p-c8cf222b.entry.js +0 -6
- package/dist/solutions-components/p-c92fff33.js +0 -11
- package/dist/solutions-components/p-c9bd3666.js +0 -6
- package/dist/solutions-components/p-cb1d29d4.entry.js +0 -17
- package/dist/solutions-components/p-cbe7a79a.entry.js +0 -6
- package/dist/solutions-components/p-cdee3846.js +0 -6
- package/dist/solutions-components/p-cfb3d66a.js +0 -6
- package/dist/solutions-components/p-d2d7d6b4.entry.js +0 -11
- package/dist/solutions-components/p-d32e6900.js +0 -11
- package/dist/solutions-components/p-d44e2fd7.js +0 -6
- package/dist/solutions-components/p-d5263cb9.entry.js +0 -17
- package/dist/solutions-components/p-d9a59fcc.js +0 -22
- package/dist/solutions-components/p-db44593d.js +0 -16
- package/dist/solutions-components/p-dbacb910.js +0 -11
- package/dist/solutions-components/p-dd48cc25.entry.js +0 -6
- package/dist/solutions-components/p-de281b08.js +0 -16
- package/dist/solutions-components/p-df118036.js +0 -6
- package/dist/solutions-components/p-e01f576a.entry.js +0 -6
- package/dist/solutions-components/p-e22bce70.entry.js +0 -6
- package/dist/solutions-components/p-e274f3b0.entry.js +0 -23
- package/dist/solutions-components/p-e377cfb3.entry.js +0 -6
- package/dist/solutions-components/p-e6d4bdce.js +0 -6
- package/dist/solutions-components/p-e6dfc80f.js +0 -6
- package/dist/solutions-components/p-e834d132.js +0 -6
- package/dist/solutions-components/p-e83b1772.entry.js +0 -11
- package/dist/solutions-components/p-e902ba19.js +0 -36
- package/dist/solutions-components/p-ea17cefb.entry.js +0 -6
- package/dist/solutions-components/p-ea83d12d.js +0 -11
- package/dist/solutions-components/p-ee4e5212.js +0 -17
- package/dist/solutions-components/p-ef05dea5.js +0 -6
- package/dist/solutions-components/p-f0d68a3f.js +0 -11
- package/dist/solutions-components/p-f10944e6.js +0 -11
- package/dist/solutions-components/p-f17941f1.entry.js +0 -6
- package/dist/solutions-components/p-f1e6ce96.entry.js +0 -11
- package/dist/solutions-components/p-f6253a08.entry.js +0 -6
- package/dist/solutions-components/p-f9e3a93d.js +0 -11
- package/dist/solutions-components/p-f9ff6c29.entry.js +0 -6
- package/dist/solutions-components/p-fcefdfff.js +0 -11
- package/dist/solutions-components/p-ff460d05.entry.js +0 -17
- package/dist/solutions-components/p-ff7c9bc3.entry.js +0 -11
- package/dist/solutions-components/p-ffa2c430.js +0 -6
- package/dist/solutions-components/p-ffbed9b2.entry.js +0 -12
@@ -0,0 +1,1966 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
'use strict';
|
7
|
+
|
8
|
+
const dom = require('./dom-c9c2c835.js');
|
9
|
+
const debounce = require('./debounce-30afab47.js');
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Custom positioning reference element.
|
13
|
+
* @see https://floating-ui.com/docs/virtual-elements
|
14
|
+
*/
|
15
|
+
|
16
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
17
|
+
const alignments = ['start', 'end'];
|
18
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
19
|
+
const min = Math.min;
|
20
|
+
const max = Math.max;
|
21
|
+
const round = Math.round;
|
22
|
+
const floor = Math.floor;
|
23
|
+
const createCoords = v => ({
|
24
|
+
x: v,
|
25
|
+
y: v
|
26
|
+
});
|
27
|
+
const oppositeSideMap = {
|
28
|
+
left: 'right',
|
29
|
+
right: 'left',
|
30
|
+
bottom: 'top',
|
31
|
+
top: 'bottom'
|
32
|
+
};
|
33
|
+
const oppositeAlignmentMap = {
|
34
|
+
start: 'end',
|
35
|
+
end: 'start'
|
36
|
+
};
|
37
|
+
function clamp(start, value, end) {
|
38
|
+
return max(start, min(value, end));
|
39
|
+
}
|
40
|
+
function evaluate(value, param) {
|
41
|
+
return typeof value === 'function' ? value(param) : value;
|
42
|
+
}
|
43
|
+
function getSide(placement) {
|
44
|
+
return placement.split('-')[0];
|
45
|
+
}
|
46
|
+
function getAlignment(placement) {
|
47
|
+
return placement.split('-')[1];
|
48
|
+
}
|
49
|
+
function getOppositeAxis(axis) {
|
50
|
+
return axis === 'x' ? 'y' : 'x';
|
51
|
+
}
|
52
|
+
function getAxisLength(axis) {
|
53
|
+
return axis === 'y' ? 'height' : 'width';
|
54
|
+
}
|
55
|
+
function getSideAxis(placement) {
|
56
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
57
|
+
}
|
58
|
+
function getAlignmentAxis(placement) {
|
59
|
+
return getOppositeAxis(getSideAxis(placement));
|
60
|
+
}
|
61
|
+
function getAlignmentSides(placement, rects, rtl) {
|
62
|
+
if (rtl === void 0) {
|
63
|
+
rtl = false;
|
64
|
+
}
|
65
|
+
const alignment = getAlignment(placement);
|
66
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
67
|
+
const length = getAxisLength(alignmentAxis);
|
68
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
69
|
+
if (rects.reference[length] > rects.floating[length]) {
|
70
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
71
|
+
}
|
72
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
73
|
+
}
|
74
|
+
function getExpandedPlacements(placement) {
|
75
|
+
const oppositePlacement = getOppositePlacement(placement);
|
76
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
77
|
+
}
|
78
|
+
function getOppositeAlignmentPlacement(placement) {
|
79
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
80
|
+
}
|
81
|
+
function getSideList(side, isStart, rtl) {
|
82
|
+
const lr = ['left', 'right'];
|
83
|
+
const rl = ['right', 'left'];
|
84
|
+
const tb = ['top', 'bottom'];
|
85
|
+
const bt = ['bottom', 'top'];
|
86
|
+
switch (side) {
|
87
|
+
case 'top':
|
88
|
+
case 'bottom':
|
89
|
+
if (rtl) return isStart ? rl : lr;
|
90
|
+
return isStart ? lr : rl;
|
91
|
+
case 'left':
|
92
|
+
case 'right':
|
93
|
+
return isStart ? tb : bt;
|
94
|
+
default:
|
95
|
+
return [];
|
96
|
+
}
|
97
|
+
}
|
98
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
99
|
+
const alignment = getAlignment(placement);
|
100
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
101
|
+
if (alignment) {
|
102
|
+
list = list.map(side => side + "-" + alignment);
|
103
|
+
if (flipAlignment) {
|
104
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
105
|
+
}
|
106
|
+
}
|
107
|
+
return list;
|
108
|
+
}
|
109
|
+
function getOppositePlacement(placement) {
|
110
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
111
|
+
}
|
112
|
+
function expandPaddingObject(padding) {
|
113
|
+
return {
|
114
|
+
top: 0,
|
115
|
+
right: 0,
|
116
|
+
bottom: 0,
|
117
|
+
left: 0,
|
118
|
+
...padding
|
119
|
+
};
|
120
|
+
}
|
121
|
+
function getPaddingObject(padding) {
|
122
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
123
|
+
top: padding,
|
124
|
+
right: padding,
|
125
|
+
bottom: padding,
|
126
|
+
left: padding
|
127
|
+
};
|
128
|
+
}
|
129
|
+
function rectToClientRect(rect) {
|
130
|
+
return {
|
131
|
+
...rect,
|
132
|
+
top: rect.y,
|
133
|
+
left: rect.x,
|
134
|
+
right: rect.x + rect.width,
|
135
|
+
bottom: rect.y + rect.height
|
136
|
+
};
|
137
|
+
}
|
138
|
+
|
139
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
140
|
+
let {
|
141
|
+
reference,
|
142
|
+
floating
|
143
|
+
} = _ref;
|
144
|
+
const sideAxis = getSideAxis(placement);
|
145
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
146
|
+
const alignLength = getAxisLength(alignmentAxis);
|
147
|
+
const side = getSide(placement);
|
148
|
+
const isVertical = sideAxis === 'y';
|
149
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
150
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
151
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
152
|
+
let coords;
|
153
|
+
switch (side) {
|
154
|
+
case 'top':
|
155
|
+
coords = {
|
156
|
+
x: commonX,
|
157
|
+
y: reference.y - floating.height
|
158
|
+
};
|
159
|
+
break;
|
160
|
+
case 'bottom':
|
161
|
+
coords = {
|
162
|
+
x: commonX,
|
163
|
+
y: reference.y + reference.height
|
164
|
+
};
|
165
|
+
break;
|
166
|
+
case 'right':
|
167
|
+
coords = {
|
168
|
+
x: reference.x + reference.width,
|
169
|
+
y: commonY
|
170
|
+
};
|
171
|
+
break;
|
172
|
+
case 'left':
|
173
|
+
coords = {
|
174
|
+
x: reference.x - floating.width,
|
175
|
+
y: commonY
|
176
|
+
};
|
177
|
+
break;
|
178
|
+
default:
|
179
|
+
coords = {
|
180
|
+
x: reference.x,
|
181
|
+
y: reference.y
|
182
|
+
};
|
183
|
+
}
|
184
|
+
switch (getAlignment(placement)) {
|
185
|
+
case 'start':
|
186
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
187
|
+
break;
|
188
|
+
case 'end':
|
189
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
190
|
+
break;
|
191
|
+
}
|
192
|
+
return coords;
|
193
|
+
}
|
194
|
+
|
195
|
+
/**
|
196
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
197
|
+
* next to a given reference element.
|
198
|
+
*
|
199
|
+
* This export does not have any `platform` interface logic. You will need to
|
200
|
+
* write one for the platform you are using Floating UI with.
|
201
|
+
*/
|
202
|
+
const computePosition$1 = async (reference, floating, config) => {
|
203
|
+
const {
|
204
|
+
placement = 'bottom',
|
205
|
+
strategy = 'absolute',
|
206
|
+
middleware = [],
|
207
|
+
platform
|
208
|
+
} = config;
|
209
|
+
const validMiddleware = middleware.filter(Boolean);
|
210
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
211
|
+
let rects = await platform.getElementRects({
|
212
|
+
reference,
|
213
|
+
floating,
|
214
|
+
strategy
|
215
|
+
});
|
216
|
+
let {
|
217
|
+
x,
|
218
|
+
y
|
219
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
220
|
+
let statefulPlacement = placement;
|
221
|
+
let middlewareData = {};
|
222
|
+
let resetCount = 0;
|
223
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
224
|
+
const {
|
225
|
+
name,
|
226
|
+
fn
|
227
|
+
} = validMiddleware[i];
|
228
|
+
const {
|
229
|
+
x: nextX,
|
230
|
+
y: nextY,
|
231
|
+
data,
|
232
|
+
reset
|
233
|
+
} = await fn({
|
234
|
+
x,
|
235
|
+
y,
|
236
|
+
initialPlacement: placement,
|
237
|
+
placement: statefulPlacement,
|
238
|
+
strategy,
|
239
|
+
middlewareData,
|
240
|
+
rects,
|
241
|
+
platform,
|
242
|
+
elements: {
|
243
|
+
reference,
|
244
|
+
floating
|
245
|
+
}
|
246
|
+
});
|
247
|
+
x = nextX != null ? nextX : x;
|
248
|
+
y = nextY != null ? nextY : y;
|
249
|
+
middlewareData = {
|
250
|
+
...middlewareData,
|
251
|
+
[name]: {
|
252
|
+
...middlewareData[name],
|
253
|
+
...data
|
254
|
+
}
|
255
|
+
};
|
256
|
+
if (reset && resetCount <= 50) {
|
257
|
+
resetCount++;
|
258
|
+
if (typeof reset === 'object') {
|
259
|
+
if (reset.placement) {
|
260
|
+
statefulPlacement = reset.placement;
|
261
|
+
}
|
262
|
+
if (reset.rects) {
|
263
|
+
rects = reset.rects === true ? await platform.getElementRects({
|
264
|
+
reference,
|
265
|
+
floating,
|
266
|
+
strategy
|
267
|
+
}) : reset.rects;
|
268
|
+
}
|
269
|
+
({
|
270
|
+
x,
|
271
|
+
y
|
272
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
273
|
+
}
|
274
|
+
i = -1;
|
275
|
+
}
|
276
|
+
}
|
277
|
+
return {
|
278
|
+
x,
|
279
|
+
y,
|
280
|
+
placement: statefulPlacement,
|
281
|
+
strategy,
|
282
|
+
middlewareData
|
283
|
+
};
|
284
|
+
};
|
285
|
+
|
286
|
+
/**
|
287
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
288
|
+
* element is overflowing a given clipping boundary on each side.
|
289
|
+
* - positive = overflowing the boundary by that number of pixels
|
290
|
+
* - negative = how many pixels left before it will overflow
|
291
|
+
* - 0 = lies flush with the boundary
|
292
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
293
|
+
*/
|
294
|
+
async function detectOverflow(state, options) {
|
295
|
+
var _await$platform$isEle;
|
296
|
+
if (options === void 0) {
|
297
|
+
options = {};
|
298
|
+
}
|
299
|
+
const {
|
300
|
+
x,
|
301
|
+
y,
|
302
|
+
platform,
|
303
|
+
rects,
|
304
|
+
elements,
|
305
|
+
strategy
|
306
|
+
} = state;
|
307
|
+
const {
|
308
|
+
boundary = 'clippingAncestors',
|
309
|
+
rootBoundary = 'viewport',
|
310
|
+
elementContext = 'floating',
|
311
|
+
altBoundary = false,
|
312
|
+
padding = 0
|
313
|
+
} = evaluate(options, state);
|
314
|
+
const paddingObject = getPaddingObject(padding);
|
315
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
316
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
317
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
318
|
+
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))),
|
319
|
+
boundary,
|
320
|
+
rootBoundary,
|
321
|
+
strategy
|
322
|
+
}));
|
323
|
+
const rect = elementContext === 'floating' ? {
|
324
|
+
...rects.floating,
|
325
|
+
x,
|
326
|
+
y
|
327
|
+
} : rects.reference;
|
328
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
329
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
330
|
+
x: 1,
|
331
|
+
y: 1
|
332
|
+
} : {
|
333
|
+
x: 1,
|
334
|
+
y: 1
|
335
|
+
};
|
336
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
337
|
+
elements,
|
338
|
+
rect,
|
339
|
+
offsetParent,
|
340
|
+
strategy
|
341
|
+
}) : rect);
|
342
|
+
return {
|
343
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
344
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
345
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
346
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
347
|
+
};
|
348
|
+
}
|
349
|
+
|
350
|
+
/**
|
351
|
+
* Provides data to position an inner element of the floating element so that it
|
352
|
+
* appears centered to the reference element.
|
353
|
+
* @see https://floating-ui.com/docs/arrow
|
354
|
+
*/
|
355
|
+
const arrow$1 = options => ({
|
356
|
+
name: 'arrow',
|
357
|
+
options,
|
358
|
+
async fn(state) {
|
359
|
+
const {
|
360
|
+
x,
|
361
|
+
y,
|
362
|
+
placement,
|
363
|
+
rects,
|
364
|
+
platform,
|
365
|
+
elements,
|
366
|
+
middlewareData
|
367
|
+
} = state;
|
368
|
+
// Since `element` is required, we don't Partial<> the type.
|
369
|
+
const {
|
370
|
+
element,
|
371
|
+
padding = 0
|
372
|
+
} = evaluate(options, state) || {};
|
373
|
+
if (element == null) {
|
374
|
+
return {};
|
375
|
+
}
|
376
|
+
const paddingObject = getPaddingObject(padding);
|
377
|
+
const coords = {
|
378
|
+
x,
|
379
|
+
y
|
380
|
+
};
|
381
|
+
const axis = getAlignmentAxis(placement);
|
382
|
+
const length = getAxisLength(axis);
|
383
|
+
const arrowDimensions = await platform.getDimensions(element);
|
384
|
+
const isYAxis = axis === 'y';
|
385
|
+
const minProp = isYAxis ? 'top' : 'left';
|
386
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
387
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
388
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
389
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
390
|
+
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
391
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
392
|
+
|
393
|
+
// DOM platform can return `window` as the `offsetParent`.
|
394
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
395
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
396
|
+
}
|
397
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
398
|
+
|
399
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
400
|
+
// centered, modify the padding so that it is centered.
|
401
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
402
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
403
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
404
|
+
|
405
|
+
// Make sure the arrow doesn't overflow the floating element if the center
|
406
|
+
// point is outside the floating element's bounds.
|
407
|
+
const min$1 = minPadding;
|
408
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
409
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
410
|
+
const offset = clamp(min$1, center, max);
|
411
|
+
|
412
|
+
// If the reference is small enough that the arrow's padding causes it to
|
413
|
+
// to point to nothing for an aligned placement, adjust the offset of the
|
414
|
+
// floating element itself. To ensure `shift()` continues to take action,
|
415
|
+
// a single reset is performed when this is true.
|
416
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
417
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
418
|
+
return {
|
419
|
+
[axis]: coords[axis] + alignmentOffset,
|
420
|
+
data: {
|
421
|
+
[axis]: offset,
|
422
|
+
centerOffset: center - offset - alignmentOffset,
|
423
|
+
...(shouldAddOffset && {
|
424
|
+
alignmentOffset
|
425
|
+
})
|
426
|
+
},
|
427
|
+
reset: shouldAddOffset
|
428
|
+
};
|
429
|
+
}
|
430
|
+
});
|
431
|
+
|
432
|
+
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
433
|
+
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
434
|
+
return allowedPlacementsSortedByAlignment.filter(placement => {
|
435
|
+
if (alignment) {
|
436
|
+
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
437
|
+
}
|
438
|
+
return true;
|
439
|
+
});
|
440
|
+
}
|
441
|
+
/**
|
442
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
443
|
+
* that has the most space available automatically, without needing to specify a
|
444
|
+
* preferred placement. Alternative to `flip`.
|
445
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
446
|
+
*/
|
447
|
+
const autoPlacement$1 = function (options) {
|
448
|
+
if (options === void 0) {
|
449
|
+
options = {};
|
450
|
+
}
|
451
|
+
return {
|
452
|
+
name: 'autoPlacement',
|
453
|
+
options,
|
454
|
+
async fn(state) {
|
455
|
+
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
456
|
+
const {
|
457
|
+
rects,
|
458
|
+
middlewareData,
|
459
|
+
placement,
|
460
|
+
platform,
|
461
|
+
elements
|
462
|
+
} = state;
|
463
|
+
const {
|
464
|
+
crossAxis = false,
|
465
|
+
alignment,
|
466
|
+
allowedPlacements = placements,
|
467
|
+
autoAlignment = true,
|
468
|
+
...detectOverflowOptions
|
469
|
+
} = evaluate(options, state);
|
470
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
471
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
472
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
473
|
+
const currentPlacement = placements$1[currentIndex];
|
474
|
+
if (currentPlacement == null) {
|
475
|
+
return {};
|
476
|
+
}
|
477
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
478
|
+
|
479
|
+
// Make `computeCoords` start from the right place.
|
480
|
+
if (placement !== currentPlacement) {
|
481
|
+
return {
|
482
|
+
reset: {
|
483
|
+
placement: placements$1[0]
|
484
|
+
}
|
485
|
+
};
|
486
|
+
}
|
487
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
488
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
489
|
+
placement: currentPlacement,
|
490
|
+
overflows: currentOverflows
|
491
|
+
}];
|
492
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
493
|
+
|
494
|
+
// There are more placements to check.
|
495
|
+
if (nextPlacement) {
|
496
|
+
return {
|
497
|
+
data: {
|
498
|
+
index: currentIndex + 1,
|
499
|
+
overflows: allOverflows
|
500
|
+
},
|
501
|
+
reset: {
|
502
|
+
placement: nextPlacement
|
503
|
+
}
|
504
|
+
};
|
505
|
+
}
|
506
|
+
const placementsSortedByMostSpace = allOverflows.map(d => {
|
507
|
+
const alignment = getAlignment(d.placement);
|
508
|
+
return [d.placement, alignment && crossAxis ?
|
509
|
+
// Check along the mainAxis and main crossAxis side.
|
510
|
+
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
511
|
+
// Check only the mainAxis.
|
512
|
+
d.overflows[0], d.overflows];
|
513
|
+
}).sort((a, b) => a[1] - b[1]);
|
514
|
+
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
515
|
+
// Aligned placements should not check their opposite crossAxis
|
516
|
+
// side.
|
517
|
+
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
518
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
519
|
+
if (resetPlacement !== placement) {
|
520
|
+
return {
|
521
|
+
data: {
|
522
|
+
index: currentIndex + 1,
|
523
|
+
overflows: allOverflows
|
524
|
+
},
|
525
|
+
reset: {
|
526
|
+
placement: resetPlacement
|
527
|
+
}
|
528
|
+
};
|
529
|
+
}
|
530
|
+
return {};
|
531
|
+
}
|
532
|
+
};
|
533
|
+
};
|
534
|
+
|
535
|
+
/**
|
536
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
537
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
538
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
539
|
+
* @see https://floating-ui.com/docs/flip
|
540
|
+
*/
|
541
|
+
const flip$1 = function (options) {
|
542
|
+
if (options === void 0) {
|
543
|
+
options = {};
|
544
|
+
}
|
545
|
+
return {
|
546
|
+
name: 'flip',
|
547
|
+
options,
|
548
|
+
async fn(state) {
|
549
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
550
|
+
const {
|
551
|
+
placement,
|
552
|
+
middlewareData,
|
553
|
+
rects,
|
554
|
+
initialPlacement,
|
555
|
+
platform,
|
556
|
+
elements
|
557
|
+
} = state;
|
558
|
+
const {
|
559
|
+
mainAxis: checkMainAxis = true,
|
560
|
+
crossAxis: checkCrossAxis = true,
|
561
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
562
|
+
fallbackStrategy = 'bestFit',
|
563
|
+
fallbackAxisSideDirection = 'none',
|
564
|
+
flipAlignment = true,
|
565
|
+
...detectOverflowOptions
|
566
|
+
} = evaluate(options, state);
|
567
|
+
|
568
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
569
|
+
// added, we should skip any logic now since `flip()` has already done its
|
570
|
+
// work.
|
571
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
572
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
573
|
+
return {};
|
574
|
+
}
|
575
|
+
const side = getSide(placement);
|
576
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
577
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
578
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
579
|
+
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
580
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
581
|
+
}
|
582
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
583
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
584
|
+
const overflows = [];
|
585
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
586
|
+
if (checkMainAxis) {
|
587
|
+
overflows.push(overflow[side]);
|
588
|
+
}
|
589
|
+
if (checkCrossAxis) {
|
590
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
591
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
592
|
+
}
|
593
|
+
overflowsData = [...overflowsData, {
|
594
|
+
placement,
|
595
|
+
overflows
|
596
|
+
}];
|
597
|
+
|
598
|
+
// One or more sides is overflowing.
|
599
|
+
if (!overflows.every(side => side <= 0)) {
|
600
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
601
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
602
|
+
const nextPlacement = placements[nextIndex];
|
603
|
+
if (nextPlacement) {
|
604
|
+
// Try next placement and re-run the lifecycle.
|
605
|
+
return {
|
606
|
+
data: {
|
607
|
+
index: nextIndex,
|
608
|
+
overflows: overflowsData
|
609
|
+
},
|
610
|
+
reset: {
|
611
|
+
placement: nextPlacement
|
612
|
+
}
|
613
|
+
};
|
614
|
+
}
|
615
|
+
|
616
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
617
|
+
// then find the placement that fits the best on the main crossAxis side.
|
618
|
+
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;
|
619
|
+
|
620
|
+
// Otherwise fallback.
|
621
|
+
if (!resetPlacement) {
|
622
|
+
switch (fallbackStrategy) {
|
623
|
+
case 'bestFit':
|
624
|
+
{
|
625
|
+
var _overflowsData$map$so;
|
626
|
+
const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0];
|
627
|
+
if (placement) {
|
628
|
+
resetPlacement = placement;
|
629
|
+
}
|
630
|
+
break;
|
631
|
+
}
|
632
|
+
case 'initialPlacement':
|
633
|
+
resetPlacement = initialPlacement;
|
634
|
+
break;
|
635
|
+
}
|
636
|
+
}
|
637
|
+
if (placement !== resetPlacement) {
|
638
|
+
return {
|
639
|
+
reset: {
|
640
|
+
placement: resetPlacement
|
641
|
+
}
|
642
|
+
};
|
643
|
+
}
|
644
|
+
}
|
645
|
+
return {};
|
646
|
+
}
|
647
|
+
};
|
648
|
+
};
|
649
|
+
|
650
|
+
function getSideOffsets(overflow, rect) {
|
651
|
+
return {
|
652
|
+
top: overflow.top - rect.height,
|
653
|
+
right: overflow.right - rect.width,
|
654
|
+
bottom: overflow.bottom - rect.height,
|
655
|
+
left: overflow.left - rect.width
|
656
|
+
};
|
657
|
+
}
|
658
|
+
function isAnySideFullyClipped(overflow) {
|
659
|
+
return sides.some(side => overflow[side] >= 0);
|
660
|
+
}
|
661
|
+
/**
|
662
|
+
* Provides data to hide the floating element in applicable situations, such as
|
663
|
+
* when it is not in the same clipping context as the reference element.
|
664
|
+
* @see https://floating-ui.com/docs/hide
|
665
|
+
*/
|
666
|
+
const hide$1 = function (options) {
|
667
|
+
if (options === void 0) {
|
668
|
+
options = {};
|
669
|
+
}
|
670
|
+
return {
|
671
|
+
name: 'hide',
|
672
|
+
options,
|
673
|
+
async fn(state) {
|
674
|
+
const {
|
675
|
+
rects
|
676
|
+
} = state;
|
677
|
+
const {
|
678
|
+
strategy = 'referenceHidden',
|
679
|
+
...detectOverflowOptions
|
680
|
+
} = evaluate(options, state);
|
681
|
+
switch (strategy) {
|
682
|
+
case 'referenceHidden':
|
683
|
+
{
|
684
|
+
const overflow = await detectOverflow(state, {
|
685
|
+
...detectOverflowOptions,
|
686
|
+
elementContext: 'reference'
|
687
|
+
});
|
688
|
+
const offsets = getSideOffsets(overflow, rects.reference);
|
689
|
+
return {
|
690
|
+
data: {
|
691
|
+
referenceHiddenOffsets: offsets,
|
692
|
+
referenceHidden: isAnySideFullyClipped(offsets)
|
693
|
+
}
|
694
|
+
};
|
695
|
+
}
|
696
|
+
case 'escaped':
|
697
|
+
{
|
698
|
+
const overflow = await detectOverflow(state, {
|
699
|
+
...detectOverflowOptions,
|
700
|
+
altBoundary: true
|
701
|
+
});
|
702
|
+
const offsets = getSideOffsets(overflow, rects.floating);
|
703
|
+
return {
|
704
|
+
data: {
|
705
|
+
escapedOffsets: offsets,
|
706
|
+
escaped: isAnySideFullyClipped(offsets)
|
707
|
+
}
|
708
|
+
};
|
709
|
+
}
|
710
|
+
default:
|
711
|
+
{
|
712
|
+
return {};
|
713
|
+
}
|
714
|
+
}
|
715
|
+
}
|
716
|
+
};
|
717
|
+
};
|
718
|
+
|
719
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
720
|
+
// Derivable.
|
721
|
+
|
722
|
+
async function convertValueToCoords(state, options) {
|
723
|
+
const {
|
724
|
+
placement,
|
725
|
+
platform,
|
726
|
+
elements
|
727
|
+
} = state;
|
728
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
729
|
+
const side = getSide(placement);
|
730
|
+
const alignment = getAlignment(placement);
|
731
|
+
const isVertical = getSideAxis(placement) === 'y';
|
732
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
733
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
734
|
+
const rawValue = evaluate(options, state);
|
735
|
+
let {
|
736
|
+
mainAxis,
|
737
|
+
crossAxis,
|
738
|
+
alignmentAxis
|
739
|
+
} = typeof rawValue === 'number' ? {
|
740
|
+
mainAxis: rawValue,
|
741
|
+
crossAxis: 0,
|
742
|
+
alignmentAxis: null
|
743
|
+
} : {
|
744
|
+
mainAxis: 0,
|
745
|
+
crossAxis: 0,
|
746
|
+
alignmentAxis: null,
|
747
|
+
...rawValue
|
748
|
+
};
|
749
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
750
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
751
|
+
}
|
752
|
+
return isVertical ? {
|
753
|
+
x: crossAxis * crossAxisMulti,
|
754
|
+
y: mainAxis * mainAxisMulti
|
755
|
+
} : {
|
756
|
+
x: mainAxis * mainAxisMulti,
|
757
|
+
y: crossAxis * crossAxisMulti
|
758
|
+
};
|
759
|
+
}
|
760
|
+
|
761
|
+
/**
|
762
|
+
* Modifies the placement by translating the floating element along the
|
763
|
+
* specified axes.
|
764
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
765
|
+
* object may be passed.
|
766
|
+
* @see https://floating-ui.com/docs/offset
|
767
|
+
*/
|
768
|
+
const offset = function (options) {
|
769
|
+
if (options === void 0) {
|
770
|
+
options = 0;
|
771
|
+
}
|
772
|
+
return {
|
773
|
+
name: 'offset',
|
774
|
+
options,
|
775
|
+
async fn(state) {
|
776
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
777
|
+
const {
|
778
|
+
x,
|
779
|
+
y,
|
780
|
+
placement,
|
781
|
+
middlewareData
|
782
|
+
} = state;
|
783
|
+
const diffCoords = await convertValueToCoords(state, options);
|
784
|
+
|
785
|
+
// If the placement is the same and the arrow caused an alignment offset
|
786
|
+
// then we don't need to change the positioning coordinates.
|
787
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
788
|
+
return {};
|
789
|
+
}
|
790
|
+
return {
|
791
|
+
x: x + diffCoords.x,
|
792
|
+
y: y + diffCoords.y,
|
793
|
+
data: {
|
794
|
+
...diffCoords,
|
795
|
+
placement
|
796
|
+
}
|
797
|
+
};
|
798
|
+
}
|
799
|
+
};
|
800
|
+
};
|
801
|
+
|
802
|
+
/**
|
803
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
804
|
+
* keep it in view when it will overflow the clipping boundary.
|
805
|
+
* @see https://floating-ui.com/docs/shift
|
806
|
+
*/
|
807
|
+
const shift$1 = function (options) {
|
808
|
+
if (options === void 0) {
|
809
|
+
options = {};
|
810
|
+
}
|
811
|
+
return {
|
812
|
+
name: 'shift',
|
813
|
+
options,
|
814
|
+
async fn(state) {
|
815
|
+
const {
|
816
|
+
x,
|
817
|
+
y,
|
818
|
+
placement
|
819
|
+
} = state;
|
820
|
+
const {
|
821
|
+
mainAxis: checkMainAxis = true,
|
822
|
+
crossAxis: checkCrossAxis = false,
|
823
|
+
limiter = {
|
824
|
+
fn: _ref => {
|
825
|
+
let {
|
826
|
+
x,
|
827
|
+
y
|
828
|
+
} = _ref;
|
829
|
+
return {
|
830
|
+
x,
|
831
|
+
y
|
832
|
+
};
|
833
|
+
}
|
834
|
+
},
|
835
|
+
...detectOverflowOptions
|
836
|
+
} = evaluate(options, state);
|
837
|
+
const coords = {
|
838
|
+
x,
|
839
|
+
y
|
840
|
+
};
|
841
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
842
|
+
const crossAxis = getSideAxis(getSide(placement));
|
843
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
844
|
+
let mainAxisCoord = coords[mainAxis];
|
845
|
+
let crossAxisCoord = coords[crossAxis];
|
846
|
+
if (checkMainAxis) {
|
847
|
+
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
848
|
+
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
849
|
+
const min = mainAxisCoord + overflow[minSide];
|
850
|
+
const max = mainAxisCoord - overflow[maxSide];
|
851
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
852
|
+
}
|
853
|
+
if (checkCrossAxis) {
|
854
|
+
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
855
|
+
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
856
|
+
const min = crossAxisCoord + overflow[minSide];
|
857
|
+
const max = crossAxisCoord - overflow[maxSide];
|
858
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
859
|
+
}
|
860
|
+
const limitedCoords = limiter.fn({
|
861
|
+
...state,
|
862
|
+
[mainAxis]: mainAxisCoord,
|
863
|
+
[crossAxis]: crossAxisCoord
|
864
|
+
});
|
865
|
+
return {
|
866
|
+
...limitedCoords,
|
867
|
+
data: {
|
868
|
+
x: limitedCoords.x - x,
|
869
|
+
y: limitedCoords.y - y
|
870
|
+
}
|
871
|
+
};
|
872
|
+
}
|
873
|
+
};
|
874
|
+
};
|
875
|
+
|
876
|
+
function getNodeName(node) {
|
877
|
+
if (isNode(node)) {
|
878
|
+
return (node.nodeName || '').toLowerCase();
|
879
|
+
}
|
880
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
881
|
+
// returning `#document` an infinite loop won't occur.
|
882
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
883
|
+
return '#document';
|
884
|
+
}
|
885
|
+
function getWindow(node) {
|
886
|
+
var _node$ownerDocument;
|
887
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
888
|
+
}
|
889
|
+
function getDocumentElement(node) {
|
890
|
+
var _ref;
|
891
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
892
|
+
}
|
893
|
+
function isNode(value) {
|
894
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
895
|
+
}
|
896
|
+
function isElement(value) {
|
897
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
898
|
+
}
|
899
|
+
function isHTMLElement(value) {
|
900
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
901
|
+
}
|
902
|
+
function isShadowRoot(value) {
|
903
|
+
// Browsers without `ShadowRoot` support.
|
904
|
+
if (typeof ShadowRoot === 'undefined') {
|
905
|
+
return false;
|
906
|
+
}
|
907
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
908
|
+
}
|
909
|
+
function isOverflowElement(element) {
|
910
|
+
const {
|
911
|
+
overflow,
|
912
|
+
overflowX,
|
913
|
+
overflowY,
|
914
|
+
display
|
915
|
+
} = getComputedStyle$1(element);
|
916
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
917
|
+
}
|
918
|
+
function isTableElement(element) {
|
919
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
920
|
+
}
|
921
|
+
function isContainingBlock(element) {
|
922
|
+
const webkit = isWebKit();
|
923
|
+
const css = getComputedStyle$1(element);
|
924
|
+
|
925
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
926
|
+
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));
|
927
|
+
}
|
928
|
+
function getContainingBlock(element) {
|
929
|
+
let currentNode = getParentNode(element);
|
930
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
931
|
+
if (isContainingBlock(currentNode)) {
|
932
|
+
return currentNode;
|
933
|
+
} else {
|
934
|
+
currentNode = getParentNode(currentNode);
|
935
|
+
}
|
936
|
+
}
|
937
|
+
return null;
|
938
|
+
}
|
939
|
+
function isWebKit() {
|
940
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
941
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
942
|
+
}
|
943
|
+
function isLastTraversableNode(node) {
|
944
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
945
|
+
}
|
946
|
+
function getComputedStyle$1(element) {
|
947
|
+
return getWindow(element).getComputedStyle(element);
|
948
|
+
}
|
949
|
+
function getNodeScroll(element) {
|
950
|
+
if (isElement(element)) {
|
951
|
+
return {
|
952
|
+
scrollLeft: element.scrollLeft,
|
953
|
+
scrollTop: element.scrollTop
|
954
|
+
};
|
955
|
+
}
|
956
|
+
return {
|
957
|
+
scrollLeft: element.pageXOffset,
|
958
|
+
scrollTop: element.pageYOffset
|
959
|
+
};
|
960
|
+
}
|
961
|
+
function getParentNode(node) {
|
962
|
+
if (getNodeName(node) === 'html') {
|
963
|
+
return node;
|
964
|
+
}
|
965
|
+
const result =
|
966
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
967
|
+
node.assignedSlot ||
|
968
|
+
// DOM Element detected.
|
969
|
+
node.parentNode ||
|
970
|
+
// ShadowRoot detected.
|
971
|
+
isShadowRoot(node) && node.host ||
|
972
|
+
// Fallback.
|
973
|
+
getDocumentElement(node);
|
974
|
+
return isShadowRoot(result) ? result.host : result;
|
975
|
+
}
|
976
|
+
function getNearestOverflowAncestor(node) {
|
977
|
+
const parentNode = getParentNode(node);
|
978
|
+
if (isLastTraversableNode(parentNode)) {
|
979
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
980
|
+
}
|
981
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
982
|
+
return parentNode;
|
983
|
+
}
|
984
|
+
return getNearestOverflowAncestor(parentNode);
|
985
|
+
}
|
986
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
987
|
+
var _node$ownerDocument2;
|
988
|
+
if (list === void 0) {
|
989
|
+
list = [];
|
990
|
+
}
|
991
|
+
if (traverseIframes === void 0) {
|
992
|
+
traverseIframes = true;
|
993
|
+
}
|
994
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
995
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
996
|
+
const win = getWindow(scrollableAncestor);
|
997
|
+
if (isBody) {
|
998
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
999
|
+
}
|
1000
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
1001
|
+
}
|
1002
|
+
|
1003
|
+
function getCssDimensions(element) {
|
1004
|
+
const css = getComputedStyle$1(element);
|
1005
|
+
// In testing environments, the `width` and `height` properties are empty
|
1006
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
1007
|
+
let width = parseFloat(css.width) || 0;
|
1008
|
+
let height = parseFloat(css.height) || 0;
|
1009
|
+
const hasOffset = isHTMLElement(element);
|
1010
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
1011
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
1012
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
1013
|
+
if (shouldFallback) {
|
1014
|
+
width = offsetWidth;
|
1015
|
+
height = offsetHeight;
|
1016
|
+
}
|
1017
|
+
return {
|
1018
|
+
width,
|
1019
|
+
height,
|
1020
|
+
$: shouldFallback
|
1021
|
+
};
|
1022
|
+
}
|
1023
|
+
|
1024
|
+
function unwrapElement(element) {
|
1025
|
+
return !isElement(element) ? element.contextElement : element;
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
function getScale(element) {
|
1029
|
+
const domElement = unwrapElement(element);
|
1030
|
+
if (!isHTMLElement(domElement)) {
|
1031
|
+
return createCoords(1);
|
1032
|
+
}
|
1033
|
+
const rect = domElement.getBoundingClientRect();
|
1034
|
+
const {
|
1035
|
+
width,
|
1036
|
+
height,
|
1037
|
+
$
|
1038
|
+
} = getCssDimensions(domElement);
|
1039
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
1040
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
1041
|
+
|
1042
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
1043
|
+
|
1044
|
+
if (!x || !Number.isFinite(x)) {
|
1045
|
+
x = 1;
|
1046
|
+
}
|
1047
|
+
if (!y || !Number.isFinite(y)) {
|
1048
|
+
y = 1;
|
1049
|
+
}
|
1050
|
+
return {
|
1051
|
+
x,
|
1052
|
+
y
|
1053
|
+
};
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
1057
|
+
function getVisualOffsets(element) {
|
1058
|
+
const win = getWindow(element);
|
1059
|
+
if (!isWebKit() || !win.visualViewport) {
|
1060
|
+
return noOffsets;
|
1061
|
+
}
|
1062
|
+
return {
|
1063
|
+
x: win.visualViewport.offsetLeft,
|
1064
|
+
y: win.visualViewport.offsetTop
|
1065
|
+
};
|
1066
|
+
}
|
1067
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
1068
|
+
if (isFixed === void 0) {
|
1069
|
+
isFixed = false;
|
1070
|
+
}
|
1071
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
1072
|
+
return false;
|
1073
|
+
}
|
1074
|
+
return isFixed;
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
1078
|
+
if (includeScale === void 0) {
|
1079
|
+
includeScale = false;
|
1080
|
+
}
|
1081
|
+
if (isFixedStrategy === void 0) {
|
1082
|
+
isFixedStrategy = false;
|
1083
|
+
}
|
1084
|
+
const clientRect = element.getBoundingClientRect();
|
1085
|
+
const domElement = unwrapElement(element);
|
1086
|
+
let scale = createCoords(1);
|
1087
|
+
if (includeScale) {
|
1088
|
+
if (offsetParent) {
|
1089
|
+
if (isElement(offsetParent)) {
|
1090
|
+
scale = getScale(offsetParent);
|
1091
|
+
}
|
1092
|
+
} else {
|
1093
|
+
scale = getScale(element);
|
1094
|
+
}
|
1095
|
+
}
|
1096
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
1097
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
1098
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
1099
|
+
let width = clientRect.width / scale.x;
|
1100
|
+
let height = clientRect.height / scale.y;
|
1101
|
+
if (domElement) {
|
1102
|
+
const win = getWindow(domElement);
|
1103
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
1104
|
+
let currentIFrame = win.frameElement;
|
1105
|
+
while (currentIFrame && offsetParent && offsetWin !== win) {
|
1106
|
+
const iframeScale = getScale(currentIFrame);
|
1107
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
1108
|
+
const css = getComputedStyle$1(currentIFrame);
|
1109
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
1110
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
1111
|
+
x *= iframeScale.x;
|
1112
|
+
y *= iframeScale.y;
|
1113
|
+
width *= iframeScale.x;
|
1114
|
+
height *= iframeScale.y;
|
1115
|
+
x += left;
|
1116
|
+
y += top;
|
1117
|
+
currentIFrame = getWindow(currentIFrame).frameElement;
|
1118
|
+
}
|
1119
|
+
}
|
1120
|
+
return rectToClientRect({
|
1121
|
+
width,
|
1122
|
+
height,
|
1123
|
+
x,
|
1124
|
+
y
|
1125
|
+
});
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
1129
|
+
let {
|
1130
|
+
rect,
|
1131
|
+
offsetParent,
|
1132
|
+
strategy
|
1133
|
+
} = _ref;
|
1134
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
1135
|
+
const documentElement = getDocumentElement(offsetParent);
|
1136
|
+
if (offsetParent === documentElement) {
|
1137
|
+
return rect;
|
1138
|
+
}
|
1139
|
+
let scroll = {
|
1140
|
+
scrollLeft: 0,
|
1141
|
+
scrollTop: 0
|
1142
|
+
};
|
1143
|
+
let scale = createCoords(1);
|
1144
|
+
const offsets = createCoords(0);
|
1145
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
1146
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
1147
|
+
scroll = getNodeScroll(offsetParent);
|
1148
|
+
}
|
1149
|
+
if (isHTMLElement(offsetParent)) {
|
1150
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
1151
|
+
scale = getScale(offsetParent);
|
1152
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
1153
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
1154
|
+
}
|
1155
|
+
}
|
1156
|
+
return {
|
1157
|
+
width: rect.width * scale.x,
|
1158
|
+
height: rect.height * scale.y,
|
1159
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
1160
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
1161
|
+
};
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
function getClientRects(element) {
|
1165
|
+
return Array.from(element.getClientRects());
|
1166
|
+
}
|
1167
|
+
|
1168
|
+
function getWindowScrollBarX(element) {
|
1169
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
1170
|
+
// incorrect for RTL.
|
1171
|
+
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
1172
|
+
}
|
1173
|
+
|
1174
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
1175
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
1176
|
+
function getDocumentRect(element) {
|
1177
|
+
const html = getDocumentElement(element);
|
1178
|
+
const scroll = getNodeScroll(element);
|
1179
|
+
const body = element.ownerDocument.body;
|
1180
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
1181
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
1182
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
1183
|
+
const y = -scroll.scrollTop;
|
1184
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
1185
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
1186
|
+
}
|
1187
|
+
return {
|
1188
|
+
width,
|
1189
|
+
height,
|
1190
|
+
x,
|
1191
|
+
y
|
1192
|
+
};
|
1193
|
+
}
|
1194
|
+
|
1195
|
+
function getViewportRect(element, strategy) {
|
1196
|
+
const win = getWindow(element);
|
1197
|
+
const html = getDocumentElement(element);
|
1198
|
+
const visualViewport = win.visualViewport;
|
1199
|
+
let width = html.clientWidth;
|
1200
|
+
let height = html.clientHeight;
|
1201
|
+
let x = 0;
|
1202
|
+
let y = 0;
|
1203
|
+
if (visualViewport) {
|
1204
|
+
width = visualViewport.width;
|
1205
|
+
height = visualViewport.height;
|
1206
|
+
const visualViewportBased = isWebKit();
|
1207
|
+
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
1208
|
+
x = visualViewport.offsetLeft;
|
1209
|
+
y = visualViewport.offsetTop;
|
1210
|
+
}
|
1211
|
+
}
|
1212
|
+
return {
|
1213
|
+
width,
|
1214
|
+
height,
|
1215
|
+
x,
|
1216
|
+
y
|
1217
|
+
};
|
1218
|
+
}
|
1219
|
+
|
1220
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
1221
|
+
function getInnerBoundingClientRect(element, strategy) {
|
1222
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
1223
|
+
const top = clientRect.top + element.clientTop;
|
1224
|
+
const left = clientRect.left + element.clientLeft;
|
1225
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
1226
|
+
const width = element.clientWidth * scale.x;
|
1227
|
+
const height = element.clientHeight * scale.y;
|
1228
|
+
const x = left * scale.x;
|
1229
|
+
const y = top * scale.y;
|
1230
|
+
return {
|
1231
|
+
width,
|
1232
|
+
height,
|
1233
|
+
x,
|
1234
|
+
y
|
1235
|
+
};
|
1236
|
+
}
|
1237
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
1238
|
+
let rect;
|
1239
|
+
if (clippingAncestor === 'viewport') {
|
1240
|
+
rect = getViewportRect(element, strategy);
|
1241
|
+
} else if (clippingAncestor === 'document') {
|
1242
|
+
rect = getDocumentRect(getDocumentElement(element));
|
1243
|
+
} else if (isElement(clippingAncestor)) {
|
1244
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
1245
|
+
} else {
|
1246
|
+
const visualOffsets = getVisualOffsets(element);
|
1247
|
+
rect = {
|
1248
|
+
...clippingAncestor,
|
1249
|
+
x: clippingAncestor.x - visualOffsets.x,
|
1250
|
+
y: clippingAncestor.y - visualOffsets.y
|
1251
|
+
};
|
1252
|
+
}
|
1253
|
+
return rectToClientRect(rect);
|
1254
|
+
}
|
1255
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
1256
|
+
const parentNode = getParentNode(element);
|
1257
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
1258
|
+
return false;
|
1259
|
+
}
|
1260
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
1261
|
+
}
|
1262
|
+
|
1263
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
1264
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
1265
|
+
// of the given element up the tree.
|
1266
|
+
function getClippingElementAncestors(element, cache) {
|
1267
|
+
const cachedResult = cache.get(element);
|
1268
|
+
if (cachedResult) {
|
1269
|
+
return cachedResult;
|
1270
|
+
}
|
1271
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
1272
|
+
let currentContainingBlockComputedStyle = null;
|
1273
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
1274
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
1275
|
+
|
1276
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
1277
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
1278
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
1279
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
1280
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
1281
|
+
currentContainingBlockComputedStyle = null;
|
1282
|
+
}
|
1283
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
1284
|
+
if (shouldDropCurrentNode) {
|
1285
|
+
// Drop non-containing blocks.
|
1286
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
1287
|
+
} else {
|
1288
|
+
// Record last containing block for next iteration.
|
1289
|
+
currentContainingBlockComputedStyle = computedStyle;
|
1290
|
+
}
|
1291
|
+
currentNode = getParentNode(currentNode);
|
1292
|
+
}
|
1293
|
+
cache.set(element, result);
|
1294
|
+
return result;
|
1295
|
+
}
|
1296
|
+
|
1297
|
+
// Gets the maximum area that the element is visible in due to any number of
|
1298
|
+
// clipping ancestors.
|
1299
|
+
function getClippingRect(_ref) {
|
1300
|
+
let {
|
1301
|
+
element,
|
1302
|
+
boundary,
|
1303
|
+
rootBoundary,
|
1304
|
+
strategy
|
1305
|
+
} = _ref;
|
1306
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
1307
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
1308
|
+
const firstClippingAncestor = clippingAncestors[0];
|
1309
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
1310
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
1311
|
+
accRect.top = max(rect.top, accRect.top);
|
1312
|
+
accRect.right = min(rect.right, accRect.right);
|
1313
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
1314
|
+
accRect.left = max(rect.left, accRect.left);
|
1315
|
+
return accRect;
|
1316
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
1317
|
+
return {
|
1318
|
+
width: clippingRect.right - clippingRect.left,
|
1319
|
+
height: clippingRect.bottom - clippingRect.top,
|
1320
|
+
x: clippingRect.left,
|
1321
|
+
y: clippingRect.top
|
1322
|
+
};
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
function getDimensions(element) {
|
1326
|
+
const {
|
1327
|
+
width,
|
1328
|
+
height
|
1329
|
+
} = getCssDimensions(element);
|
1330
|
+
return {
|
1331
|
+
width,
|
1332
|
+
height
|
1333
|
+
};
|
1334
|
+
}
|
1335
|
+
|
1336
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
1337
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
1338
|
+
const documentElement = getDocumentElement(offsetParent);
|
1339
|
+
const isFixed = strategy === 'fixed';
|
1340
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
1341
|
+
let scroll = {
|
1342
|
+
scrollLeft: 0,
|
1343
|
+
scrollTop: 0
|
1344
|
+
};
|
1345
|
+
const offsets = createCoords(0);
|
1346
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
1347
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
1348
|
+
scroll = getNodeScroll(offsetParent);
|
1349
|
+
}
|
1350
|
+
if (isOffsetParentAnElement) {
|
1351
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
1352
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
1353
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
1354
|
+
} else if (documentElement) {
|
1355
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
1356
|
+
}
|
1357
|
+
}
|
1358
|
+
return {
|
1359
|
+
x: rect.left + scroll.scrollLeft - offsets.x,
|
1360
|
+
y: rect.top + scroll.scrollTop - offsets.y,
|
1361
|
+
width: rect.width,
|
1362
|
+
height: rect.height
|
1363
|
+
};
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
function getTrueOffsetParent(element, polyfill) {
|
1367
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
1368
|
+
return null;
|
1369
|
+
}
|
1370
|
+
if (polyfill) {
|
1371
|
+
return polyfill(element);
|
1372
|
+
}
|
1373
|
+
return element.offsetParent;
|
1374
|
+
}
|
1375
|
+
|
1376
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
1377
|
+
// such as table ancestors and cross browser bugs.
|
1378
|
+
function getOffsetParent(element, polyfill) {
|
1379
|
+
const window = getWindow(element);
|
1380
|
+
if (!isHTMLElement(element)) {
|
1381
|
+
return window;
|
1382
|
+
}
|
1383
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
1384
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
1385
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
1386
|
+
}
|
1387
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
1388
|
+
return window;
|
1389
|
+
}
|
1390
|
+
return offsetParent || getContainingBlock(element) || window;
|
1391
|
+
}
|
1392
|
+
|
1393
|
+
const getElementRects = async function (_ref) {
|
1394
|
+
let {
|
1395
|
+
reference,
|
1396
|
+
floating,
|
1397
|
+
strategy
|
1398
|
+
} = _ref;
|
1399
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
1400
|
+
const getDimensionsFn = this.getDimensions;
|
1401
|
+
return {
|
1402
|
+
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
1403
|
+
floating: {
|
1404
|
+
x: 0,
|
1405
|
+
y: 0,
|
1406
|
+
...(await getDimensionsFn(floating))
|
1407
|
+
}
|
1408
|
+
};
|
1409
|
+
};
|
1410
|
+
|
1411
|
+
function isRTL(element) {
|
1412
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
1413
|
+
}
|
1414
|
+
|
1415
|
+
const platform = {
|
1416
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
1417
|
+
getDocumentElement,
|
1418
|
+
getClippingRect,
|
1419
|
+
getOffsetParent,
|
1420
|
+
getElementRects,
|
1421
|
+
getClientRects,
|
1422
|
+
getDimensions,
|
1423
|
+
getScale,
|
1424
|
+
isElement,
|
1425
|
+
isRTL
|
1426
|
+
};
|
1427
|
+
|
1428
|
+
// https://samthor.au/2021/observing-dom/
|
1429
|
+
function observeMove(element, onMove) {
|
1430
|
+
let io = null;
|
1431
|
+
let timeoutId;
|
1432
|
+
const root = getDocumentElement(element);
|
1433
|
+
function cleanup() {
|
1434
|
+
clearTimeout(timeoutId);
|
1435
|
+
io && io.disconnect();
|
1436
|
+
io = null;
|
1437
|
+
}
|
1438
|
+
function refresh(skip, threshold) {
|
1439
|
+
if (skip === void 0) {
|
1440
|
+
skip = false;
|
1441
|
+
}
|
1442
|
+
if (threshold === void 0) {
|
1443
|
+
threshold = 1;
|
1444
|
+
}
|
1445
|
+
cleanup();
|
1446
|
+
const {
|
1447
|
+
left,
|
1448
|
+
top,
|
1449
|
+
width,
|
1450
|
+
height
|
1451
|
+
} = element.getBoundingClientRect();
|
1452
|
+
if (!skip) {
|
1453
|
+
onMove();
|
1454
|
+
}
|
1455
|
+
if (!width || !height) {
|
1456
|
+
return;
|
1457
|
+
}
|
1458
|
+
const insetTop = floor(top);
|
1459
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
1460
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
1461
|
+
const insetLeft = floor(left);
|
1462
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
1463
|
+
const options = {
|
1464
|
+
rootMargin,
|
1465
|
+
threshold: max(0, min(1, threshold)) || 1
|
1466
|
+
};
|
1467
|
+
let isFirstUpdate = true;
|
1468
|
+
function handleObserve(entries) {
|
1469
|
+
const ratio = entries[0].intersectionRatio;
|
1470
|
+
if (ratio !== threshold) {
|
1471
|
+
if (!isFirstUpdate) {
|
1472
|
+
return refresh();
|
1473
|
+
}
|
1474
|
+
if (!ratio) {
|
1475
|
+
timeoutId = setTimeout(() => {
|
1476
|
+
refresh(false, 1e-7);
|
1477
|
+
}, 100);
|
1478
|
+
} else {
|
1479
|
+
refresh(false, ratio);
|
1480
|
+
}
|
1481
|
+
}
|
1482
|
+
isFirstUpdate = false;
|
1483
|
+
}
|
1484
|
+
|
1485
|
+
// Older browsers don't support a `document` as the root and will throw an
|
1486
|
+
// error.
|
1487
|
+
try {
|
1488
|
+
io = new IntersectionObserver(handleObserve, {
|
1489
|
+
...options,
|
1490
|
+
// Handle <iframe>s
|
1491
|
+
root: root.ownerDocument
|
1492
|
+
});
|
1493
|
+
} catch (e) {
|
1494
|
+
io = new IntersectionObserver(handleObserve, options);
|
1495
|
+
}
|
1496
|
+
io.observe(element);
|
1497
|
+
}
|
1498
|
+
refresh(true);
|
1499
|
+
return cleanup;
|
1500
|
+
}
|
1501
|
+
|
1502
|
+
/**
|
1503
|
+
* Automatically updates the position of the floating element when necessary.
|
1504
|
+
* Should only be called when the floating element is mounted on the DOM or
|
1505
|
+
* visible on the screen.
|
1506
|
+
* @returns cleanup function that should be invoked when the floating element is
|
1507
|
+
* removed from the DOM or hidden from the screen.
|
1508
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
1509
|
+
*/
|
1510
|
+
function autoUpdate(reference, floating, update, options) {
|
1511
|
+
if (options === void 0) {
|
1512
|
+
options = {};
|
1513
|
+
}
|
1514
|
+
const {
|
1515
|
+
ancestorScroll = true,
|
1516
|
+
ancestorResize = true,
|
1517
|
+
elementResize = typeof ResizeObserver === 'function',
|
1518
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
1519
|
+
animationFrame = false
|
1520
|
+
} = options;
|
1521
|
+
const referenceEl = unwrapElement(reference);
|
1522
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
1523
|
+
ancestors.forEach(ancestor => {
|
1524
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
1525
|
+
passive: true
|
1526
|
+
});
|
1527
|
+
ancestorResize && ancestor.addEventListener('resize', update);
|
1528
|
+
});
|
1529
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
1530
|
+
let reobserveFrame = -1;
|
1531
|
+
let resizeObserver = null;
|
1532
|
+
if (elementResize) {
|
1533
|
+
resizeObserver = new ResizeObserver(_ref => {
|
1534
|
+
let [firstEntry] = _ref;
|
1535
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
1536
|
+
// Prevent update loops when using the `size` middleware.
|
1537
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
1538
|
+
resizeObserver.unobserve(floating);
|
1539
|
+
cancelAnimationFrame(reobserveFrame);
|
1540
|
+
reobserveFrame = requestAnimationFrame(() => {
|
1541
|
+
resizeObserver && resizeObserver.observe(floating);
|
1542
|
+
});
|
1543
|
+
}
|
1544
|
+
update();
|
1545
|
+
});
|
1546
|
+
if (referenceEl && !animationFrame) {
|
1547
|
+
resizeObserver.observe(referenceEl);
|
1548
|
+
}
|
1549
|
+
resizeObserver.observe(floating);
|
1550
|
+
}
|
1551
|
+
let frameId;
|
1552
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
1553
|
+
if (animationFrame) {
|
1554
|
+
frameLoop();
|
1555
|
+
}
|
1556
|
+
function frameLoop() {
|
1557
|
+
const nextRefRect = getBoundingClientRect(reference);
|
1558
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
1559
|
+
update();
|
1560
|
+
}
|
1561
|
+
prevRefRect = nextRefRect;
|
1562
|
+
frameId = requestAnimationFrame(frameLoop);
|
1563
|
+
}
|
1564
|
+
update();
|
1565
|
+
return () => {
|
1566
|
+
ancestors.forEach(ancestor => {
|
1567
|
+
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
1568
|
+
ancestorResize && ancestor.removeEventListener('resize', update);
|
1569
|
+
});
|
1570
|
+
cleanupIo && cleanupIo();
|
1571
|
+
resizeObserver && resizeObserver.disconnect();
|
1572
|
+
resizeObserver = null;
|
1573
|
+
if (animationFrame) {
|
1574
|
+
cancelAnimationFrame(frameId);
|
1575
|
+
}
|
1576
|
+
};
|
1577
|
+
}
|
1578
|
+
|
1579
|
+
/**
|
1580
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
1581
|
+
* that has the most space available automatically, without needing to specify a
|
1582
|
+
* preferred placement. Alternative to `flip`.
|
1583
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
1584
|
+
*/
|
1585
|
+
const autoPlacement = autoPlacement$1;
|
1586
|
+
|
1587
|
+
/**
|
1588
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
1589
|
+
* keep it in view when it will overflow the clipping boundary.
|
1590
|
+
* @see https://floating-ui.com/docs/shift
|
1591
|
+
*/
|
1592
|
+
const shift = shift$1;
|
1593
|
+
|
1594
|
+
/**
|
1595
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
1596
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
1597
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
1598
|
+
* @see https://floating-ui.com/docs/flip
|
1599
|
+
*/
|
1600
|
+
const flip = flip$1;
|
1601
|
+
|
1602
|
+
/**
|
1603
|
+
* Provides data to hide the floating element in applicable situations, such as
|
1604
|
+
* when it is not in the same clipping context as the reference element.
|
1605
|
+
* @see https://floating-ui.com/docs/hide
|
1606
|
+
*/
|
1607
|
+
const hide = hide$1;
|
1608
|
+
|
1609
|
+
/**
|
1610
|
+
* Provides data to position an inner element of the floating element so that it
|
1611
|
+
* appears centered to the reference element.
|
1612
|
+
* @see https://floating-ui.com/docs/arrow
|
1613
|
+
*/
|
1614
|
+
const arrow = arrow$1;
|
1615
|
+
|
1616
|
+
/**
|
1617
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
1618
|
+
* next to a given reference element.
|
1619
|
+
*/
|
1620
|
+
const computePosition = (reference, floating, options) => {
|
1621
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
1622
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
1623
|
+
// single call. If other functions become expensive, we can add them as well.
|
1624
|
+
const cache = new Map();
|
1625
|
+
const mergedOptions = {
|
1626
|
+
platform,
|
1627
|
+
...options
|
1628
|
+
};
|
1629
|
+
const platformWithCache = {
|
1630
|
+
...mergedOptions.platform,
|
1631
|
+
_c: cache
|
1632
|
+
};
|
1633
|
+
return computePosition$1(reference, floating, {
|
1634
|
+
...mergedOptions,
|
1635
|
+
platform: platformWithCache
|
1636
|
+
});
|
1637
|
+
};
|
1638
|
+
|
1639
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
1640
|
+
function offsetParent(element) {
|
1641
|
+
return offsetParentPolyfill(element);
|
1642
|
+
}
|
1643
|
+
function flatTreeParent(element) {
|
1644
|
+
if (element.assignedSlot) {
|
1645
|
+
return element.assignedSlot;
|
1646
|
+
}
|
1647
|
+
if (element.parentNode instanceof ShadowRoot) {
|
1648
|
+
return element.parentNode.host;
|
1649
|
+
}
|
1650
|
+
return element.parentNode;
|
1651
|
+
}
|
1652
|
+
function offsetParentPolyfill(element) {
|
1653
|
+
// Do an initial walk to check for display:none ancestors.
|
1654
|
+
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
1655
|
+
if (!(ancestor instanceof Element)) {
|
1656
|
+
continue;
|
1657
|
+
}
|
1658
|
+
if (getComputedStyle(ancestor).display === 'none') {
|
1659
|
+
return null;
|
1660
|
+
}
|
1661
|
+
}
|
1662
|
+
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
1663
|
+
if (!(ancestor instanceof Element)) {
|
1664
|
+
continue;
|
1665
|
+
}
|
1666
|
+
const style = getComputedStyle(ancestor);
|
1667
|
+
// Display:contents nodes aren't in the layout tree so they should be skipped.
|
1668
|
+
if (style.display === 'contents') {
|
1669
|
+
continue;
|
1670
|
+
}
|
1671
|
+
if (style.position !== 'static' || style.filter !== 'none') {
|
1672
|
+
return ancestor;
|
1673
|
+
}
|
1674
|
+
if (ancestor.tagName === 'BODY') {
|
1675
|
+
return ancestor;
|
1676
|
+
}
|
1677
|
+
}
|
1678
|
+
return null;
|
1679
|
+
}
|
1680
|
+
|
1681
|
+
/*!
|
1682
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
1683
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
1684
|
+
* v2.4.0
|
1685
|
+
*/
|
1686
|
+
(function setUpFloatingUiForShadowDomPositioning() {
|
1687
|
+
{
|
1688
|
+
const originalGetOffsetParent = platform.getOffsetParent;
|
1689
|
+
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
1690
|
+
}
|
1691
|
+
})();
|
1692
|
+
function roundByDPR(value) {
|
1693
|
+
const dpr = window.devicePixelRatio || 1;
|
1694
|
+
return Math.round(value * dpr) / dpr;
|
1695
|
+
}
|
1696
|
+
/**
|
1697
|
+
* Positions the floating element relative to the reference element.
|
1698
|
+
*
|
1699
|
+
* **Note:** exported for testing purposes only
|
1700
|
+
*
|
1701
|
+
* @param root0
|
1702
|
+
* @param root0.referenceEl
|
1703
|
+
* @param root0.floatingEl
|
1704
|
+
* @param root0.overlayPositioning
|
1705
|
+
* @param root0.placement
|
1706
|
+
* @param root0.flipDisabled
|
1707
|
+
* @param root0.flipPlacements
|
1708
|
+
* @param root0.offsetDistance
|
1709
|
+
* @param root0.offsetSkidding
|
1710
|
+
* @param root0.arrowEl
|
1711
|
+
* @param root0.type
|
1712
|
+
* @param component
|
1713
|
+
* @param root0.referenceEl.referenceEl
|
1714
|
+
* @param root0.referenceEl.floatingEl
|
1715
|
+
* @param root0.referenceEl.overlayPositioning
|
1716
|
+
* @param root0.referenceEl.placement
|
1717
|
+
* @param root0.referenceEl.flipDisabled
|
1718
|
+
* @param root0.referenceEl.flipPlacements
|
1719
|
+
* @param root0.referenceEl.offsetDistance
|
1720
|
+
* @param root0.referenceEl.offsetSkidding
|
1721
|
+
* @param root0.referenceEl.arrowEl
|
1722
|
+
* @param root0.referenceEl.type
|
1723
|
+
* @param component.referenceEl
|
1724
|
+
* @param component.floatingEl
|
1725
|
+
* @param component.overlayPositioning
|
1726
|
+
* @param component.placement
|
1727
|
+
* @param component.flipDisabled
|
1728
|
+
* @param component.flipPlacements
|
1729
|
+
* @param component.offsetDistance
|
1730
|
+
* @param component.offsetSkidding
|
1731
|
+
* @param component.arrowEl
|
1732
|
+
* @param component.type
|
1733
|
+
*/
|
1734
|
+
const positionFloatingUI =
|
1735
|
+
/* we export arrow function to allow us to spy on it during testing */
|
1736
|
+
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
|
1737
|
+
if (!referenceEl || !floatingEl) {
|
1738
|
+
return null;
|
1739
|
+
}
|
1740
|
+
const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
|
1741
|
+
strategy: overlayPositioning,
|
1742
|
+
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
1743
|
+
? undefined
|
1744
|
+
: getEffectivePlacement(floatingEl, placement),
|
1745
|
+
middleware: getMiddleware({
|
1746
|
+
placement,
|
1747
|
+
flipDisabled,
|
1748
|
+
flipPlacements,
|
1749
|
+
offsetDistance,
|
1750
|
+
offsetSkidding,
|
1751
|
+
arrowEl,
|
1752
|
+
type,
|
1753
|
+
}),
|
1754
|
+
});
|
1755
|
+
if (arrowEl && middlewareData.arrow) {
|
1756
|
+
const { x, y } = middlewareData.arrow;
|
1757
|
+
const side = effectivePlacement.split("-")[0];
|
1758
|
+
const alignment = x != null ? "left" : "top";
|
1759
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
1760
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
1761
|
+
if ("floatingLayout" in component) {
|
1762
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
1763
|
+
}
|
1764
|
+
Object.assign(arrowEl.style, {
|
1765
|
+
...reset,
|
1766
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
1767
|
+
[side]: "100%",
|
1768
|
+
transform,
|
1769
|
+
});
|
1770
|
+
}
|
1771
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
1772
|
+
const visibility = referenceHidden ? "hidden" : null;
|
1773
|
+
const pointerEvents = visibility ? "none" : null;
|
1774
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
1775
|
+
const { open } = component;
|
1776
|
+
Object.assign(floatingEl.style, {
|
1777
|
+
visibility,
|
1778
|
+
pointerEvents,
|
1779
|
+
position,
|
1780
|
+
transform: open ? `translate(${roundByDPR(x)}px,${roundByDPR(y)}px)` : "",
|
1781
|
+
top: 0,
|
1782
|
+
left: 0,
|
1783
|
+
});
|
1784
|
+
};
|
1785
|
+
/**
|
1786
|
+
* Exported for testing purposes only
|
1787
|
+
*/
|
1788
|
+
const placementDataAttribute = "data-placement";
|
1789
|
+
/**
|
1790
|
+
* Exported for testing purposes only
|
1791
|
+
*/
|
1792
|
+
const repositionDebounceTimeout = 100;
|
1793
|
+
const effectivePlacements = [
|
1794
|
+
"top",
|
1795
|
+
"bottom",
|
1796
|
+
"right",
|
1797
|
+
"left",
|
1798
|
+
"top-start",
|
1799
|
+
"top-end",
|
1800
|
+
"bottom-start",
|
1801
|
+
"bottom-end",
|
1802
|
+
"right-start",
|
1803
|
+
"right-end",
|
1804
|
+
"left-start",
|
1805
|
+
"left-end",
|
1806
|
+
];
|
1807
|
+
const defaultMenuPlacement = "bottom-start";
|
1808
|
+
const FloatingCSS = {
|
1809
|
+
animation: "calcite-floating-ui-anim",
|
1810
|
+
animationActive: "calcite-floating-ui-anim--active",
|
1811
|
+
};
|
1812
|
+
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
|
1813
|
+
const defaultMiddleware = [shift(), hide()];
|
1814
|
+
if (type === "menu") {
|
1815
|
+
return [
|
1816
|
+
...defaultMiddleware,
|
1817
|
+
flip({
|
1818
|
+
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
|
1819
|
+
}),
|
1820
|
+
];
|
1821
|
+
}
|
1822
|
+
if (type === "popover" || type === "tooltip") {
|
1823
|
+
const middleware = [
|
1824
|
+
...defaultMiddleware,
|
1825
|
+
offset({
|
1826
|
+
mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
|
1827
|
+
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
|
1828
|
+
}),
|
1829
|
+
];
|
1830
|
+
if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
|
1831
|
+
middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
|
1832
|
+
}
|
1833
|
+
else if (!flipDisabled) {
|
1834
|
+
middleware.push(flip(flipPlacements ? { fallbackPlacements: flipPlacements } : {}));
|
1835
|
+
}
|
1836
|
+
if (arrowEl) {
|
1837
|
+
middleware.push(arrow({
|
1838
|
+
element: arrowEl,
|
1839
|
+
}));
|
1840
|
+
}
|
1841
|
+
return middleware;
|
1842
|
+
}
|
1843
|
+
return [];
|
1844
|
+
}
|
1845
|
+
function filterComputedPlacements(placements, el) {
|
1846
|
+
const filteredPlacements = placements.filter((placement) => effectivePlacements.includes(placement));
|
1847
|
+
if (filteredPlacements.length !== placements.length) {
|
1848
|
+
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${effectivePlacements
|
1849
|
+
.map((placement) => `"${placement}"`)
|
1850
|
+
.join(", ")
|
1851
|
+
.trim()}`, { el });
|
1852
|
+
}
|
1853
|
+
return filteredPlacements;
|
1854
|
+
}
|
1855
|
+
function getEffectivePlacement(floatingEl, placement) {
|
1856
|
+
const placements = ["left", "right"];
|
1857
|
+
if (dom.getElementDir(floatingEl) === "rtl") {
|
1858
|
+
placements.reverse();
|
1859
|
+
}
|
1860
|
+
return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
|
1861
|
+
}
|
1862
|
+
/**
|
1863
|
+
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
1864
|
+
*
|
1865
|
+
* Note: this is not needed for components that use `calcite-popover`.
|
1866
|
+
*
|
1867
|
+
* @param component - A floating-ui component.
|
1868
|
+
* @param options - Reposition parameters.
|
1869
|
+
* @param options.referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
1870
|
+
* @param options.floatingEl - The `floatingElement` containing the floating ui.
|
1871
|
+
* @param options.overlayPositioning - type of positioning to use for the overlaid content.
|
1872
|
+
* @param options.placement - Determines where the component will be positioned relative to the `referenceElement`.
|
1873
|
+
* @param options.flipDisabled - Prevents flipping the component's placement when overlapping its `referenceElement`.
|
1874
|
+
* @param options.flipPlacements - Defines the available placements that can be used when a flip occurs.
|
1875
|
+
* @param options.offsetDistance - Offsets the position of the popover away from the `referenceElement`.
|
1876
|
+
* @param options.offsetSkidding - Offsets the position of the component along the `referenceElement`.
|
1877
|
+
* @param options.arrowEl - A customizable arrow element.
|
1878
|
+
* @param options.type - The type of floating UI.
|
1879
|
+
* @param delayed - Reposition the component after a delay.
|
1880
|
+
* @returns {Promise<void>}
|
1881
|
+
*/
|
1882
|
+
async function reposition(component, options, delayed = false) {
|
1883
|
+
if (!component.open) {
|
1884
|
+
return;
|
1885
|
+
}
|
1886
|
+
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
1887
|
+
return positionFunction(component, options);
|
1888
|
+
}
|
1889
|
+
function getDebouncedReposition(component) {
|
1890
|
+
let debounced = componentToDebouncedRepositionMap.get(component);
|
1891
|
+
if (debounced) {
|
1892
|
+
return debounced;
|
1893
|
+
}
|
1894
|
+
debounced = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
|
1895
|
+
leading: true,
|
1896
|
+
maxWait: repositionDebounceTimeout,
|
1897
|
+
});
|
1898
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
1899
|
+
return debounced;
|
1900
|
+
}
|
1901
|
+
const ARROW_CSS_TRANSFORM = {
|
1902
|
+
top: "",
|
1903
|
+
left: "rotate(-90deg)",
|
1904
|
+
bottom: "rotate(180deg)",
|
1905
|
+
right: "rotate(90deg)",
|
1906
|
+
};
|
1907
|
+
/**
|
1908
|
+
* Exported for testing purposes only
|
1909
|
+
*
|
1910
|
+
* @internal
|
1911
|
+
*/
|
1912
|
+
const cleanupMap = new WeakMap();
|
1913
|
+
const componentToDebouncedRepositionMap = new WeakMap();
|
1914
|
+
/**
|
1915
|
+
* Helper to set up floating element interactions on connectedCallback.
|
1916
|
+
*
|
1917
|
+
* @param component - A floating-ui component.
|
1918
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
1919
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
1920
|
+
*/
|
1921
|
+
function connectFloatingUI(component, referenceEl, floatingEl) {
|
1922
|
+
if (!floatingEl || !referenceEl) {
|
1923
|
+
return;
|
1924
|
+
}
|
1925
|
+
disconnectFloatingUI(component, referenceEl, floatingEl);
|
1926
|
+
Object.assign(floatingEl.style, {
|
1927
|
+
visibility: "hidden",
|
1928
|
+
pointerEvents: "none",
|
1929
|
+
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
1930
|
+
position: component.overlayPositioning,
|
1931
|
+
});
|
1932
|
+
const runAutoUpdate = autoUpdate
|
1933
|
+
;
|
1934
|
+
cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
|
1935
|
+
}
|
1936
|
+
/**
|
1937
|
+
* Helper to tear down floating element interactions on disconnectedCallback.
|
1938
|
+
*
|
1939
|
+
* @param component - A floating-ui component.
|
1940
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
1941
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
1942
|
+
*/
|
1943
|
+
function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
1944
|
+
if (!floatingEl || !referenceEl) {
|
1945
|
+
return;
|
1946
|
+
}
|
1947
|
+
cleanupMap.get(component)?.();
|
1948
|
+
cleanupMap.delete(component);
|
1949
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
1950
|
+
componentToDebouncedRepositionMap.delete(component);
|
1951
|
+
}
|
1952
|
+
const visiblePointerSize = 4;
|
1953
|
+
/**
|
1954
|
+
* Default offset the position of the floating element away from the reference element.
|
1955
|
+
*
|
1956
|
+
* @default 6
|
1957
|
+
*/
|
1958
|
+
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
1959
|
+
|
1960
|
+
exports.FloatingCSS = FloatingCSS;
|
1961
|
+
exports.connectFloatingUI = connectFloatingUI;
|
1962
|
+
exports.defaultMenuPlacement = defaultMenuPlacement;
|
1963
|
+
exports.defaultOffsetDistance = defaultOffsetDistance;
|
1964
|
+
exports.disconnectFloatingUI = disconnectFloatingUI;
|
1965
|
+
exports.filterComputedPlacements = filterComputedPlacements;
|
1966
|
+
exports.reposition = reposition;
|