@agrotools1/at-components 0.6.13 → 0.6.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/Accordion/Accordion.d.ts +4 -4
- package/dist/Accordion/Accordion.vue.js +4 -4
- package/dist/Accordion/Accordion.vue3.js +2 -2
- package/dist/Avatar/Avatar.d.ts +4 -4
- package/dist/Avatar/Avatar.vue.js +1 -1
- package/dist/Avatar/Avatar.vue3.js +2 -2
- package/dist/Button/Button.d.ts +4 -4
- package/dist/Button/Button.vue.js +1 -1
- package/dist/Button/Button.vue3.js +2 -2
- package/dist/CardWithInsights/CardWithInsights.vue.js +6 -6
- package/dist/CardWithInsights/CardWithInsights.vue4.js +2 -2
- package/dist/Checkbox/Checkbox.d.ts +9 -8
- package/dist/Checkbox/Checkbox.vue.js +1 -1
- package/dist/Checkbox/img/checkmarck.svg.js +1 -1
- package/dist/ColorPicker/ColorPicker.Saturation.d.ts +8 -8
- package/dist/ColorPicker/ColorPicker.Saturation.vue.js +10 -10
- package/dist/ColorPicker/ColorPicker.Saturation.vue3.js +2 -2
- package/dist/ColorPicker/ColorPicker.vue.js +4 -4
- package/dist/DataTable/Column/Column.d.ts +4 -3
- package/dist/DataTable/Column/Column.vue.js +6 -6
- package/dist/DataTable/Column/Column.vue3.js +2 -2
- package/dist/DataTable/Column/imgs/filter.svg.js +1 -1
- package/dist/DataTable/Counters/Counters.d.ts +6 -6
- package/dist/DataTable/Counters/Counters.vue.js +1 -1
- package/dist/DataTable/Counters/imgs/close.svg.js +1 -1
- package/dist/DataTable/DataTable.d.ts +9 -8
- package/dist/DataTable/DataTable.vue.js +5 -5
- package/dist/DataTable/index.d.ts +37 -37
- package/dist/DatePicker/DatePicker.d.ts +22 -21
- package/dist/DatePicker/DatePicker.scss.js +2 -2
- package/dist/DatePicker/DatePicker.vue.js +4 -4
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.d.ts +6 -6
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.helper.d.ts +2 -1
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.vue.js +3 -3
- package/dist/DatePicker/DatePickerHeader/DatePickerHeader.d.ts +2 -2
- package/dist/DatePicker/DatePickerHeader/DatePickerHeader.scss.js +2 -2
- package/dist/DatePicker/DatePickerHeader/DatePickerHeader.vue.js +4 -4
- package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.d.ts +5 -5
- package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.vue.js +5 -5
- package/dist/DatePicker/DatePickerTime/DatePickerTime.d.ts +7 -6
- package/dist/DatePicker/DatePickerTime/DatePickerTime.scss.js +2 -2
- package/dist/DatePicker/DatePickerTime/DatePickerTime.vue.js +8 -8
- package/dist/DatePicker/index.d.ts +1 -1
- package/dist/Dropdown/Checklist/Dropdown.Checklist.d.ts +13 -12
- package/dist/Dropdown/Checklist/Dropdown.Checklist.vue.js +20 -20
- package/dist/Dropdown/Checklist/draggable.d.ts +2 -1
- package/dist/Dropdown/Dropdown.core.d.ts +9 -8
- package/dist/Dropdown/Dropdown.core.vue.js +2 -2
- package/dist/Dropdown/Dropdown.types.d.ts +1 -1
- package/dist/Dropdown/DropdownContent/DropdownContent.d.ts +1 -1
- package/dist/Faq/Faq.vue.js +5 -5
- package/dist/Faq/FaqItem/FaqItem.d.ts +5 -4
- package/dist/Faq/FaqItem/FaqItem.vue.js +1 -1
- package/dist/Filter/components/Filter.types.d.ts +2 -1
- package/dist/Filter/components/Filter.vue.js +14 -14
- package/dist/Filter/index.d.ts +3 -2
- package/dist/Filter/tests/mocks.d.ts +3 -2
- package/dist/Icons/icons.d.ts +1860 -1860
- package/dist/Illustration/Illustration.vue.js +5 -5
- package/dist/Illustration/images/renovabio-illustrations/biomass.svg.js +1 -1
- package/dist/Illustration/images/renovabio-illustrations/volume.svg.js +1 -1
- package/dist/Illustration/images/system-images/add-file.svg.js +1 -1
- package/dist/Illustration/images/system-images/cloud-connection.svg.js +1 -1
- package/dist/Illustration/images/system-images/cloud-download.svg.js +1 -1
- package/dist/Illustration/images/system-images/cloud-upload.svg.js +1 -1
- package/dist/Illustration/images/system-images/corrupted-file.svg.js +1 -1
- package/dist/Illustration/images/system-images/empty-box.svg.js +1 -1
- package/dist/Illustration/images/system-images/empty-folder-2.svg.js +1 -1
- package/dist/Illustration/images/system-images/empty-folder.svg.js +1 -1
- package/dist/Illustration/images/system-images/empty.svg.js +1 -1
- package/dist/Illustration/images/system-images/error-illustration.svg.js +1 -1
- package/dist/Illustration/images/system-images/file-backup-2.svg.js +1 -1
- package/dist/Illustration/images/system-images/file-backup.svg.js +1 -1
- package/dist/Illustration/images/system-images/filtering-upload.svg.js +1 -1
- package/dist/Illustration/images/system-images/flight.svg.js +1 -1
- package/dist/Illustration/images/system-images/fly.svg.js +1 -1
- package/dist/Illustration/images/system-images/movies.svg.js +1 -1
- package/dist/Illustration/images/system-images/multimedia.svg.js +1 -1
- package/dist/Illustration/images/system-images/notification-bell.svg.js +1 -1
- package/dist/Illustration/images/system-images/page-2.svg.js +1 -1
- package/dist/Illustration/images/system-images/page.svg.js +1 -1
- package/dist/Illustration/images/system-images/photos.svg.js +1 -1
- package/dist/Illustration/images/system-images/recycle-bin.svg.js +1 -1
- package/dist/Illustration/images/system-images/rocket-launch.svg.js +1 -1
- package/dist/Illustration/images/system-images/signal.svg.js +1 -1
- package/dist/Illustration/images/system-images/wrong.svg.js +1 -1
- package/dist/Illustration/images/tools-images/advanced-analysis.svg.js +1 -1
- package/dist/Illustration/images/tools-images/agriculture.svg.js +1 -1
- package/dist/Illustration/images/tools-images/alert-center.svg.js +1 -1
- package/dist/Illustration/images/tools-images/area.svg.js +1 -1
- package/dist/Illustration/images/tools-images/at-insights.svg.js +1 -1
- package/dist/Illustration/images/tools-images/conservation-unit.svg.js +1 -1
- package/dist/Illustration/images/tools-images/credit.svg.js +2 -2
- package/dist/Illustration/images/tools-images/deforestation.svg.js +1 -1
- package/dist/Illustration/images/tools-images/distance-proximity-rivers.svg.js +1 -1
- package/dist/Illustration/images/tools-images/estimated-productivity-penalty.svg.js +1 -1
- package/dist/Illustration/images/tools-images/extract.svg.js +1 -1
- package/dist/Illustration/images/tools-images/farm.svg.js +1 -1
- package/dist/Illustration/images/tools-images/geographical-consultation-municipalities.svg.js +1 -1
- package/dist/Illustration/images/tools-images/gix.svg.js +1 -1
- package/dist/Illustration/images/tools-images/insurance.svg.js +1 -1
- package/dist/Illustration/images/tools-images/land-appreciation.svg.js +1 -1
- package/dist/Illustration/images/tools-images/lockdown.svg.js +1 -1
- package/dist/Illustration/images/tools-images/map.svg.js +1 -1
- package/dist/Illustration/images/tools-images/pasture.svg.js +1 -1
- package/dist/Illustration/images/tools-images/rating-2.svg.js +1 -1
- package/dist/Illustration/images/tools-images/rating.svg.js +1 -1
- package/dist/Illustration/images/tools-images/recurrence.svg.js +1 -1
- package/dist/Illustration/images/tools-images/refrigerators.svg.js +1 -1
- package/dist/Illustration/images/tools-images/settings.svg.js +1 -1
- package/dist/Illustration/images/tools-images/socio-environmental-analysis.svg.js +1 -1
- package/dist/Illustration/images/tools-images/soil-use.svg.js +1 -1
- package/dist/Illustration/images/tools-images/storm.svg.js +1 -1
- package/dist/Illustration/images/tools-images/territory-details.svg.js +1 -1
- package/dist/Illustration/images/tools-images/timeline.svg.js +1 -1
- package/dist/Input/Input.core.d.ts +352 -351
- package/dist/Input/Input.core.vue.js +10 -10
- package/dist/Input/imgs/error.svg.js +2 -2
- package/dist/Input/index.d.ts +1689 -1688
- package/dist/Legend/Legend.d.ts +3 -3
- package/dist/Legend/Legend.vue.js +1 -1
- package/dist/List/components/List.d.ts +9 -9
- package/dist/List/components/List.types.d.ts +2 -1
- package/dist/List/components/List.vue.js +6 -6
- package/dist/List/components/List.vue3.js +2 -2
- package/dist/List/index.d.ts +3 -2
- package/dist/List/tests/mocks.d.ts +2 -1
- package/dist/Loading/Loading.d.ts +2 -2
- package/dist/Map/Map.d.ts +10 -9
- package/dist/Map/utils/index.d.ts +2 -1
- package/dist/Modal/Modal.d.ts +9 -8
- package/dist/Modal/Modal.vue.js +102 -100
- package/dist/Modal/Modal.vue3.js +2 -2
- package/dist/Modal/images/cross.svg.js +1 -1
- package/dist/Notifications/Notification/Notification.d.ts +50 -50
- package/dist/Notifications/Notification/Notification.vue.js +4 -4
- package/dist/Notifications/Notifications.d.ts +10 -10
- package/dist/Notifications/Notifications.vue.js +6 -6
- package/dist/Notifications/Notifications.vue2.js +24 -20
- package/dist/Notifications/Notifications.vue3.js +2 -2
- package/dist/Paginator/Paginator.d.ts +7 -7
- package/dist/Paginator/Paginator.vue.js +2 -2
- package/dist/Paginator/imgs/double-left-arrow.svg.js +1 -1
- package/dist/Paginator/imgs/double-right-arrow.svg.js +1 -1
- package/dist/Paginator/imgs/left-arrow.svg.js +1 -1
- package/dist/Paginator/imgs/right-arrow.svg.js +1 -1
- package/dist/ProgressBar/ProgressBar.d.ts +4 -3
- package/dist/ProgressBar/ProgressBar.vue.js +2 -2
- package/dist/RadioButton/RadioButton.d.ts +3 -3
- package/dist/RadioButton/RadioButton.vue.js +1 -1
- package/dist/RadioButton/RadioButton.vue3.js +2 -2
- package/dist/Search/Search.d.ts +7 -6
- package/dist/Search/Search.vue.js +1 -1
- package/dist/Search/test.mocks.d.ts +2 -1
- package/dist/Search/utils.d.ts +2 -1
- package/dist/Select/Item/Item.d.ts +3 -3
- package/dist/Select/Item/Item.vue.js +16 -16
- package/dist/Select/Multiple/Select.multiple.d.ts +12 -11
- package/dist/Select/Multiple/Select.multiple.vue.js +1 -1
- package/dist/Select/Select.core.d.ts +8 -7
- package/dist/Select/Single/Select.single.d.ts +11 -10
- package/dist/Select/Single/Select.single.vue.js +6 -6
- package/dist/Select/imgs/indicator.svg.js +1 -1
- package/dist/Select/index.d.ts +22 -21
- package/dist/Skeleton/Skeleton.d.ts +2 -2
- package/dist/Stepper/Stepper.vue.js +11 -11
- package/dist/TableConfig/TableConfig.d.ts +11 -10
- package/dist/TableConfig/TableConfig.vue.js +2 -2
- package/dist/TableConfig/test/mocks.d.ts +2 -1
- package/dist/Tabs/Tab/Tab.d.ts +4 -4
- package/dist/Tabs/Tab/Tab.vue.js +1 -1
- package/dist/Tabs/Tab/Tab.vue3.js +2 -2
- package/dist/Tabs/Tabs.d.ts +9 -8
- package/dist/Tabs/Tabs.vue.js +7 -7
- package/dist/Tabs/Tabs.vue2.js +22 -17
- package/dist/Tabs/Tabs.vue3.js +2 -2
- package/dist/Tag/Tag.d.ts +7 -6
- package/dist/Tag/Tag.vue.js +1 -1
- package/dist/Tipograph/Paragraph/Paragraph.d.ts +2 -2
- package/dist/Tipograph/Paragraph/Paragraph.vue.js +2 -2
- package/dist/Tipograph/Paragraph/Paragraph.vue3.js +2 -2
- package/dist/Tipograph/Title/Title.d.ts +2 -2
- package/dist/Tipograph/Title/Title.vue.js +2 -2
- package/dist/Tipograph/index.d.ts +4 -4
- package/dist/Toggle/Toggle.d.ts +5 -5
- package/dist/Toggle/Toggle.vue.js +2 -2
- package/dist/Tooltip/Tooltip.d.ts +12 -11
- package/dist/Tooltip/Tooltip.vue.js +2 -2
- package/dist/Upload/MultipleUpload/MultipleUpload.d.ts +8 -7
- package/dist/Upload/MultipleUpload/MultipleUpload.vue.js +5 -5
- package/dist/Upload/SingleUpload/SingleUpload.d.ts +6 -5
- package/dist/Upload/SingleUpload/SingleUpload.vue.js +1 -1
- package/dist/Upload/Upload.d.ts +4 -3
- package/dist/Upload/Upload.vue.js +1 -1
- package/dist/Upload/UploaderHeader/UploaderHeader.d.ts +2 -2
- package/dist/Upload/UploaderHeader/UploaderHeader.vue.js +1 -1
- package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.d.ts +2 -2
- package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.vue.js +1 -1
- package/dist/Upload/UploaderInput/UploaderInput.d.ts +6 -5
- package/dist/Upload/UploaderInput/UploaderInput.vue.js +1 -1
- package/dist/index.d.ts +32 -32
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/identity/IdentityModal.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/support/zipjs-wrapper.js +3 -3
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Attachments.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/BasemapToggle.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Compass.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Feature/FeatureMedia.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Feature/FeatureRelationship.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Feature.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Features/FeaturesRelatedRecords.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Features.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/NavigationToggle.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Zoom.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/MeasurementWidgetContent.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/UnitSelect.js +1 -1
- package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/componentsUtils.js +2 -2
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/ExpandToggle.js +3 -12
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/FloatingArrow.js +3 -12
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/Heading.js +2 -2
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/Validation.js +2 -2
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/action-group.js +25 -25
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/action-menu.js +25 -34
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/action.js +46 -57
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/array.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/button.js +18 -36
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-action-bar.js +21 -32
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-action-group.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-action.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-button.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-flow-item.js +33 -62
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-flow.js +22 -22
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-icon.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-input.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-label.js +1 -1
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/calcite-list-item-group.js +68 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/calcite-list-item.js +348 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-list.js +92 -102
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-loader.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-modal.js +23 -39
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-notice.js +19 -29
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-option.js +12 -12
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-scrim.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/calcite-select.js +52 -43
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/component.js +23 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/conditionalSlot.js +24 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/debounce.js +129 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/dom.js +15 -15
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/filter.js +164 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/filter2.js +26 -40
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/floating-ui.js +347 -305
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/focusTrapComponent.js +2 -2
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/form.js +151 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/guid.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/handle.js +29 -28
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/icon.js +48 -41
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/index.js +2 -2
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/input-message.js +80 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/input.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/input2.js +104 -135
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/interactive.js +2 -2
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/key.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/label.js +8 -8
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/label2.js +2 -2
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/loadable.js +21 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/loader.js +12 -12
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/locale.js +2 -2
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/observers.js +2 -2
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/openCloseComponent.js +38 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/panel.js +77 -75
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/popover.js +63 -81
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/progress.js +10 -10
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/resources.js +1 -1
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/resources2.js +15 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/utils3.js → @esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/resources4.js} +13 -31
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/scrim.js +16 -20
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/sortableComponent.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/stack.js +16 -16
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.7.1 → @esri_calcite-components@2.9.0}/node_modules/@esri/calcite-components/dist/components/t9n.js +20 -18
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/utils3.js +29 -0
- package/dist/node_modules/.pnpm/{@stencil_core@4.9.0 → @stencil_core@4.18.2}/node_modules/@stencil/core/internal/app-data/index.js +2 -1
- package/dist/node_modules/.pnpm/@stencil_core@4.18.2/node_modules/@stencil/core/internal/client/index.js +675 -0
- package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.45/node_modules/@zip.js/zip.js/lib/core/zip-reader.js +401 -0
- package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.45/node_modules/@zip.js/zip.js/lib/z-worker-inline.js +8 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-list-item-group.js +0 -70
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-list-item.js +0 -391
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/component.js +0 -18
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/conditionalSlot.js +0 -27
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/debounce.js +0 -121
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/filter.js +0 -154
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/form.js +0 -138
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/input-message.js +0 -80
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/loadable.js +0 -25
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/openCloseComponent.js +0 -37
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/resources2.js +0 -12
- package/dist/node_modules/.pnpm/@stencil_core@4.9.0/node_modules/@stencil/core/internal/client/index.js +0 -560
- package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.40/node_modules/@zip.js/zip.js/lib/core/zip-reader.js +0 -402
- package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.40/node_modules/@zip.js/zip.js/lib/z-worker-inline.js +0 -8
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/index.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/codec-pool.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/codec-worker.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/configuration.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/constants.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/io.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/aes-crypto-stream.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/codec-stream.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/codecs/crc32.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/codecs/deflate.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/codecs/inflate.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/codecs/sjcl.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/common-crypto.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/crc32-stream.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/stream-adapter.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/zip-crypto-stream.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/streams/zip-entry-stream.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/util/cp437-decode.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/util/decode-text.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/util/encode-text.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/util/mime-type.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/core/zip-entry.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.40 → @zip.js_zip.js@2.7.45}/node_modules/@zip.js/zip.js/lib/zip-fs.js +0 -0
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import "../../../../../../@stencil_core@4.
|
|
2
|
-
import { a as
|
|
3
|
-
import { d as
|
|
1
|
+
import "../../../../../../@stencil_core@4.18.2/node_modules/@stencil/core/internal/client/index.js";
|
|
2
|
+
import { a as jt } from "./dom.js";
|
|
3
|
+
import { d as Yt } from "./debounce.js";
|
|
4
4
|
/*!
|
|
5
5
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
7
|
-
* v2.
|
|
7
|
+
* v2.9.0
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const Dt = ["top", "right", "bottom", "left"], yt = ["start", "end"], xt = /* @__PURE__ */ Dt.reduce((t, e) => t.concat(e, e + "-" + yt[0], e + "-" + yt[1]), []), X = Math.min, z = Math.max, et = Math.round, tt = Math.floor, V = (t) => ({
|
|
10
10
|
x: t,
|
|
11
11
|
y: t
|
|
12
|
-
}),
|
|
12
|
+
}), Xt = {
|
|
13
13
|
left: "right",
|
|
14
14
|
right: "left",
|
|
15
15
|
bottom: "top",
|
|
16
16
|
top: "bottom"
|
|
17
|
-
},
|
|
17
|
+
}, qt = {
|
|
18
18
|
start: "end",
|
|
19
19
|
end: "start"
|
|
20
20
|
};
|
|
21
|
-
function
|
|
21
|
+
function ft(t, e, n) {
|
|
22
22
|
return z(t, X(e, n));
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function j(t, e) {
|
|
25
25
|
return typeof t == "function" ? t(e) : t;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function W(t) {
|
|
28
28
|
return t.split("-")[0];
|
|
29
29
|
}
|
|
30
30
|
function k(t) {
|
|
31
31
|
return t.split("-")[1];
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Ft(t) {
|
|
34
34
|
return t === "x" ? "y" : "x";
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function dt(t) {
|
|
37
37
|
return t === "y" ? "height" : "width";
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
return ["top", "bottom"].includes(
|
|
39
|
+
function st(t) {
|
|
40
|
+
return ["top", "bottom"].includes(W(t)) ? "y" : "x";
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
return
|
|
42
|
+
function mt(t) {
|
|
43
|
+
return Ft(st(t));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Mt(t, e, n) {
|
|
46
46
|
n === void 0 && (n = !1);
|
|
47
|
-
const o = k(t), i =
|
|
47
|
+
const o = k(t), i = mt(t), s = dt(i);
|
|
48
48
|
let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
49
|
-
return e.reference[s] > e.floating[s] && (r =
|
|
49
|
+
return e.reference[s] > e.floating[s] && (r = ot(r)), [r, ot(r)];
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
const e =
|
|
53
|
-
return [
|
|
51
|
+
function Gt(t) {
|
|
52
|
+
const e = ot(t);
|
|
53
|
+
return [nt(t), e, nt(e)];
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
return t.replace(/start|end/g, (e) =>
|
|
55
|
+
function nt(t) {
|
|
56
|
+
return t.replace(/start|end/g, (e) => qt[e]);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Kt(t, e, n) {
|
|
59
59
|
const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
|
|
60
60
|
switch (t) {
|
|
61
61
|
case "top":
|
|
@@ -68,15 +68,15 @@ function qt(t, e, n) {
|
|
|
68
68
|
return [];
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Jt(t, e, n, o) {
|
|
72
72
|
const i = k(t);
|
|
73
|
-
let s =
|
|
74
|
-
return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(
|
|
73
|
+
let s = Kt(W(t), n === "start", o);
|
|
74
|
+
return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(nt)))), s;
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return t.replace(/left|right|bottom|top/g, (e) =>
|
|
76
|
+
function ot(t) {
|
|
77
|
+
return t.replace(/left|right|bottom|top/g, (e) => Xt[e]);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Qt(t) {
|
|
80
80
|
return {
|
|
81
81
|
top: 0,
|
|
82
82
|
right: 0,
|
|
@@ -85,29 +85,38 @@ function Kt(t) {
|
|
|
85
85
|
...t
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
return typeof t != "number" ?
|
|
88
|
+
function kt(t) {
|
|
89
|
+
return typeof t != "number" ? Qt(t) : {
|
|
90
90
|
top: t,
|
|
91
91
|
right: t,
|
|
92
92
|
bottom: t,
|
|
93
93
|
left: t
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function it(t) {
|
|
97
|
+
const {
|
|
98
|
+
x: e,
|
|
99
|
+
y: n,
|
|
100
|
+
width: o,
|
|
101
|
+
height: i
|
|
102
|
+
} = t;
|
|
97
103
|
return {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
width: o,
|
|
105
|
+
height: i,
|
|
106
|
+
top: n,
|
|
107
|
+
left: e,
|
|
108
|
+
right: e + o,
|
|
109
|
+
bottom: n + i,
|
|
110
|
+
x: e,
|
|
111
|
+
y: n
|
|
103
112
|
};
|
|
104
113
|
}
|
|
105
|
-
function
|
|
114
|
+
function vt(t, e, n) {
|
|
106
115
|
let {
|
|
107
116
|
reference: o,
|
|
108
117
|
floating: i
|
|
109
118
|
} = t;
|
|
110
|
-
const s =
|
|
119
|
+
const s = st(e), r = mt(e), c = dt(r), l = W(e), a = s === "y", d = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, h = o[c] / 2 - i[c] / 2;
|
|
111
120
|
let f;
|
|
112
121
|
switch (l) {
|
|
113
122
|
case "top":
|
|
@@ -150,7 +159,7 @@ function yt(t, e, n) {
|
|
|
150
159
|
}
|
|
151
160
|
return f;
|
|
152
161
|
}
|
|
153
|
-
const
|
|
162
|
+
const Zt = async (t, e, n) => {
|
|
154
163
|
const {
|
|
155
164
|
placement: o = "bottom",
|
|
156
165
|
strategy: i = "absolute",
|
|
@@ -164,7 +173,7 @@ const Jt = async (t, e, n) => {
|
|
|
164
173
|
}), {
|
|
165
174
|
x: d,
|
|
166
175
|
y: u
|
|
167
|
-
} =
|
|
176
|
+
} = vt(a, o, l), h = o, f = {}, m = 0;
|
|
168
177
|
for (let g = 0; g < c.length; g++) {
|
|
169
178
|
const {
|
|
170
179
|
name: w,
|
|
@@ -188,23 +197,20 @@ const Jt = async (t, e, n) => {
|
|
|
188
197
|
floating: e
|
|
189
198
|
}
|
|
190
199
|
});
|
|
191
|
-
|
|
200
|
+
d = y ?? d, u = x ?? u, f = {
|
|
192
201
|
...f,
|
|
193
202
|
[w]: {
|
|
194
203
|
...f[w],
|
|
195
204
|
...b
|
|
196
205
|
}
|
|
197
|
-
}, v && m <= 50) {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
} = yt(a, h, l)), g = -1;
|
|
206
|
-
continue;
|
|
207
|
-
}
|
|
206
|
+
}, v && m <= 50 && (m++, typeof v == "object" && (v.placement && (h = v.placement), v.rects && (a = v.rects === !0 ? await r.getElementRects({
|
|
207
|
+
reference: t,
|
|
208
|
+
floating: e,
|
|
209
|
+
strategy: i
|
|
210
|
+
}) : v.rects), {
|
|
211
|
+
x: d,
|
|
212
|
+
y: u
|
|
213
|
+
} = vt(a, h, l)), g = -1);
|
|
208
214
|
}
|
|
209
215
|
return {
|
|
210
216
|
x: d,
|
|
@@ -214,7 +220,7 @@ const Jt = async (t, e, n) => {
|
|
|
214
220
|
middlewareData: f
|
|
215
221
|
};
|
|
216
222
|
};
|
|
217
|
-
async function
|
|
223
|
+
async function K(t, e) {
|
|
218
224
|
var n;
|
|
219
225
|
e === void 0 && (e = {});
|
|
220
226
|
const {
|
|
@@ -230,22 +236,24 @@ async function G(t, e) {
|
|
|
230
236
|
elementContext: u = "floating",
|
|
231
237
|
altBoundary: h = !1,
|
|
232
238
|
padding: f = 0
|
|
233
|
-
} =
|
|
239
|
+
} = j(e, t), m = kt(f), w = c[h ? u === "floating" ? "reference" : "floating" : u], p = it(await s.getClippingRect({
|
|
234
240
|
element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)),
|
|
235
241
|
boundary: a,
|
|
236
242
|
rootBoundary: d,
|
|
237
243
|
strategy: l
|
|
238
244
|
})), y = u === "floating" ? {
|
|
239
|
-
...r.floating,
|
|
240
245
|
x: o,
|
|
241
|
-
y: i
|
|
246
|
+
y: i,
|
|
247
|
+
width: r.floating.width,
|
|
248
|
+
height: r.floating.height
|
|
242
249
|
} : r.reference, x = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), b = await (s.isElement == null ? void 0 : s.isElement(x)) ? await (s.getScale == null ? void 0 : s.getScale(x)) || {
|
|
243
250
|
x: 1,
|
|
244
251
|
y: 1
|
|
245
252
|
} : {
|
|
246
253
|
x: 1,
|
|
247
254
|
y: 1
|
|
248
|
-
}, v =
|
|
255
|
+
}, v = it(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
256
|
+
elements: c,
|
|
249
257
|
rect: y,
|
|
250
258
|
offsetParent: x,
|
|
251
259
|
strategy: l
|
|
@@ -257,7 +265,7 @@ async function G(t, e) {
|
|
|
257
265
|
right: (v.right - p.right + m.right) / b.x
|
|
258
266
|
};
|
|
259
267
|
}
|
|
260
|
-
const
|
|
268
|
+
const te = (t) => ({
|
|
261
269
|
name: "arrow",
|
|
262
270
|
options: t,
|
|
263
271
|
async fn(e) {
|
|
@@ -272,33 +280,33 @@ const Qt = (t) => ({
|
|
|
272
280
|
} = e, {
|
|
273
281
|
element: a,
|
|
274
282
|
padding: d = 0
|
|
275
|
-
} =
|
|
283
|
+
} = j(t, e) || {};
|
|
276
284
|
if (a == null)
|
|
277
285
|
return {};
|
|
278
|
-
const u =
|
|
286
|
+
const u = kt(d), h = {
|
|
279
287
|
x: n,
|
|
280
288
|
y: o
|
|
281
|
-
}, f =
|
|
289
|
+
}, f = mt(i), m = dt(f), g = await r.getDimensions(a), w = f === "y", p = w ? "top" : "left", y = w ? "bottom" : "right", x = w ? "clientHeight" : "clientWidth", b = s.reference[m] + s.reference[f] - h[f] - s.floating[m], v = h[f] - s.reference[f], R = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(a));
|
|
282
290
|
let O = R ? R[x] : 0;
|
|
283
291
|
(!O || !await (r.isElement == null ? void 0 : r.isElement(R))) && (O = c.floating[x] || s.floating[m]);
|
|
284
|
-
const
|
|
292
|
+
const T = b / 2 - v / 2, D = O / 2 - g[m] / 2 - 1, A = X(u[p], D), L = X(u[y], D), P = A, I = O - g[m] - L, C = O / 2 - g[m] / 2 + T, F = ft(P, C, I), M = !l.arrow && k(i) != null && C !== F && s.reference[m] / 2 - (C < P ? A : L) - g[m] / 2 < 0, $ = M ? C < P ? C - P : C - I : 0;
|
|
285
293
|
return {
|
|
286
|
-
[f]: h[f] +
|
|
294
|
+
[f]: h[f] + $,
|
|
287
295
|
data: {
|
|
288
296
|
[f]: F,
|
|
289
|
-
centerOffset: C - F -
|
|
297
|
+
centerOffset: C - F - $,
|
|
290
298
|
...M && {
|
|
291
|
-
alignmentOffset:
|
|
299
|
+
alignmentOffset: $
|
|
292
300
|
}
|
|
293
301
|
},
|
|
294
302
|
reset: M
|
|
295
303
|
};
|
|
296
304
|
}
|
|
297
305
|
});
|
|
298
|
-
function
|
|
299
|
-
return (t ? [...n.filter((i) => k(i) === t), ...n.filter((i) => k(i) !== t)] : n.filter((i) =>
|
|
306
|
+
function ee(t, e, n) {
|
|
307
|
+
return (t ? [...n.filter((i) => k(i) === t), ...n.filter((i) => k(i) !== t)] : n.filter((i) => W(i) === i)).filter((i) => t ? k(i) === t || (e ? nt(i) !== i : !1) : !0);
|
|
300
308
|
}
|
|
301
|
-
const
|
|
309
|
+
const ne = function(t) {
|
|
302
310
|
return t === void 0 && (t = {}), {
|
|
303
311
|
name: "autoPlacement",
|
|
304
312
|
options: t,
|
|
@@ -313,20 +321,20 @@ const te = function(t) {
|
|
|
313
321
|
} = e, {
|
|
314
322
|
crossAxis: d = !1,
|
|
315
323
|
alignment: u,
|
|
316
|
-
allowedPlacements: h =
|
|
324
|
+
allowedPlacements: h = xt,
|
|
317
325
|
autoAlignment: f = !0,
|
|
318
326
|
...m
|
|
319
|
-
} =
|
|
327
|
+
} = j(t, e), g = u !== void 0 || h === xt ? ee(u || null, f, h) : h, w = await K(e, m), p = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, y = g[p];
|
|
320
328
|
if (y == null)
|
|
321
329
|
return {};
|
|
322
|
-
const x =
|
|
330
|
+
const x = Mt(y, s, await (l.isRTL == null ? void 0 : l.isRTL(a.floating)));
|
|
323
331
|
if (c !== y)
|
|
324
332
|
return {
|
|
325
333
|
reset: {
|
|
326
334
|
placement: g[0]
|
|
327
335
|
}
|
|
328
336
|
};
|
|
329
|
-
const b = [w[
|
|
337
|
+
const b = [w[W(y)], w[x[0]], w[x[1]]], v = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
|
|
330
338
|
placement: y,
|
|
331
339
|
overflows: b
|
|
332
340
|
}], R = g[p + 1];
|
|
@@ -341,32 +349,32 @@ const te = function(t) {
|
|
|
341
349
|
}
|
|
342
350
|
};
|
|
343
351
|
const O = v.map((A) => {
|
|
344
|
-
const
|
|
345
|
-
return [A.placement,
|
|
352
|
+
const L = k(A.placement);
|
|
353
|
+
return [A.placement, L && d ? (
|
|
346
354
|
// Check along the mainAxis and main crossAxis side.
|
|
347
355
|
A.overflows.slice(0, 2).reduce((P, I) => P + I, 0)
|
|
348
356
|
) : (
|
|
349
357
|
// Check only the mainAxis.
|
|
350
358
|
A.overflows[0]
|
|
351
359
|
), A.overflows];
|
|
352
|
-
}).sort((A,
|
|
360
|
+
}).sort((A, L) => A[1] - L[1]), D = ((i = O.filter((A) => A[2].slice(
|
|
353
361
|
0,
|
|
354
362
|
// Aligned placements should not check their opposite crossAxis
|
|
355
363
|
// side.
|
|
356
364
|
k(A[0]) ? 2 : 3
|
|
357
|
-
).every((
|
|
358
|
-
return
|
|
365
|
+
).every((L) => L <= 0))[0]) == null ? void 0 : i[0]) || O[0][0];
|
|
366
|
+
return D !== c ? {
|
|
359
367
|
data: {
|
|
360
368
|
index: p + 1,
|
|
361
369
|
overflows: v
|
|
362
370
|
},
|
|
363
371
|
reset: {
|
|
364
|
-
placement:
|
|
372
|
+
placement: D
|
|
365
373
|
}
|
|
366
374
|
} : {};
|
|
367
375
|
}
|
|
368
376
|
};
|
|
369
|
-
},
|
|
377
|
+
}, oe = function(t) {
|
|
370
378
|
return t === void 0 && (t = {}), {
|
|
371
379
|
name: "flip",
|
|
372
380
|
options: t,
|
|
@@ -387,39 +395,39 @@ const te = function(t) {
|
|
|
387
395
|
fallbackAxisSideDirection: m = "none",
|
|
388
396
|
flipAlignment: g = !0,
|
|
389
397
|
...w
|
|
390
|
-
} =
|
|
398
|
+
} = j(t, e);
|
|
391
399
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
392
400
|
return {};
|
|
393
|
-
const p =
|
|
394
|
-
!h && m !== "none" && b.push(...
|
|
395
|
-
const v = [c, ...b], R = await
|
|
396
|
-
let
|
|
401
|
+
const p = W(i), y = W(c) === c, x = await (l.isRTL == null ? void 0 : l.isRTL(a.floating)), b = h || (y || !g ? [ot(c)] : Gt(c));
|
|
402
|
+
!h && m !== "none" && b.push(...Jt(c, g, m, x));
|
|
403
|
+
const v = [c, ...b], R = await K(e, w), O = [];
|
|
404
|
+
let T = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
397
405
|
if (d && O.push(R[p]), u) {
|
|
398
|
-
const P =
|
|
406
|
+
const P = Mt(i, r, x);
|
|
399
407
|
O.push(R[P[0]], R[P[1]]);
|
|
400
408
|
}
|
|
401
|
-
if (
|
|
409
|
+
if (T = [...T, {
|
|
402
410
|
placement: i,
|
|
403
411
|
overflows: O
|
|
404
412
|
}], !O.every((P) => P <= 0)) {
|
|
405
|
-
var
|
|
406
|
-
const P = (((
|
|
413
|
+
var D, A;
|
|
414
|
+
const P = (((D = s.flip) == null ? void 0 : D.index) || 0) + 1, I = v[P];
|
|
407
415
|
if (I)
|
|
408
416
|
return {
|
|
409
417
|
data: {
|
|
410
418
|
index: P,
|
|
411
|
-
overflows:
|
|
419
|
+
overflows: T
|
|
412
420
|
},
|
|
413
421
|
reset: {
|
|
414
422
|
placement: I
|
|
415
423
|
}
|
|
416
424
|
};
|
|
417
|
-
let C = (A =
|
|
425
|
+
let C = (A = T.filter((F) => F.overflows[0] <= 0).sort((F, M) => F.overflows[1] - M.overflows[1])[0]) == null ? void 0 : A.placement;
|
|
418
426
|
if (!C)
|
|
419
427
|
switch (f) {
|
|
420
428
|
case "bestFit": {
|
|
421
|
-
var
|
|
422
|
-
const F = (
|
|
429
|
+
var L;
|
|
430
|
+
const F = (L = T.map((M) => [M.placement, M.overflows.filter(($) => $ > 0).reduce(($, Ut) => $ + Ut, 0)]).sort((M, $) => M[1] - $[1])[0]) == null ? void 0 : L[0];
|
|
423
431
|
F && (C = F);
|
|
424
432
|
break;
|
|
425
433
|
}
|
|
@@ -438,7 +446,7 @@ const te = function(t) {
|
|
|
438
446
|
}
|
|
439
447
|
};
|
|
440
448
|
};
|
|
441
|
-
function
|
|
449
|
+
function bt(t, e) {
|
|
442
450
|
return {
|
|
443
451
|
top: t.top - e.height,
|
|
444
452
|
right: t.right - e.width,
|
|
@@ -446,10 +454,10 @@ function xt(t, e) {
|
|
|
446
454
|
left: t.left - e.width
|
|
447
455
|
};
|
|
448
456
|
}
|
|
449
|
-
function
|
|
450
|
-
return
|
|
457
|
+
function Ot(t) {
|
|
458
|
+
return Dt.some((e) => t[e] >= 0);
|
|
451
459
|
}
|
|
452
|
-
const
|
|
460
|
+
const ie = function(t) {
|
|
453
461
|
return t === void 0 && (t = {}), {
|
|
454
462
|
name: "hide",
|
|
455
463
|
options: t,
|
|
@@ -459,29 +467,29 @@ const ne = function(t) {
|
|
|
459
467
|
} = e, {
|
|
460
468
|
strategy: o = "referenceHidden",
|
|
461
469
|
...i
|
|
462
|
-
} =
|
|
470
|
+
} = j(t, e);
|
|
463
471
|
switch (o) {
|
|
464
472
|
case "referenceHidden": {
|
|
465
|
-
const s = await
|
|
473
|
+
const s = await K(e, {
|
|
466
474
|
...i,
|
|
467
475
|
elementContext: "reference"
|
|
468
|
-
}), r =
|
|
476
|
+
}), r = bt(s, n.reference);
|
|
469
477
|
return {
|
|
470
478
|
data: {
|
|
471
479
|
referenceHiddenOffsets: r,
|
|
472
|
-
referenceHidden:
|
|
480
|
+
referenceHidden: Ot(r)
|
|
473
481
|
}
|
|
474
482
|
};
|
|
475
483
|
}
|
|
476
484
|
case "escaped": {
|
|
477
|
-
const s = await
|
|
485
|
+
const s = await K(e, {
|
|
478
486
|
...i,
|
|
479
487
|
altBoundary: !0
|
|
480
|
-
}), r =
|
|
488
|
+
}), r = bt(s, n.floating);
|
|
481
489
|
return {
|
|
482
490
|
data: {
|
|
483
491
|
escapedOffsets: r,
|
|
484
|
-
escaped:
|
|
492
|
+
escaped: Ot(r)
|
|
485
493
|
}
|
|
486
494
|
};
|
|
487
495
|
}
|
|
@@ -491,12 +499,12 @@ const ne = function(t) {
|
|
|
491
499
|
}
|
|
492
500
|
};
|
|
493
501
|
};
|
|
494
|
-
async function
|
|
502
|
+
async function re(t, e) {
|
|
495
503
|
const {
|
|
496
504
|
placement: n,
|
|
497
505
|
platform: o,
|
|
498
506
|
elements: i
|
|
499
|
-
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r =
|
|
507
|
+
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = W(n), c = k(n), l = st(n) === "y", a = ["left", "top"].includes(r) ? -1 : 1, d = s && l ? -1 : 1, u = j(e, t);
|
|
500
508
|
let {
|
|
501
509
|
mainAxis: h,
|
|
502
510
|
crossAxis: f,
|
|
@@ -519,7 +527,7 @@ async function oe(t, e) {
|
|
|
519
527
|
y: f * d
|
|
520
528
|
};
|
|
521
529
|
}
|
|
522
|
-
const
|
|
530
|
+
const se = function(t) {
|
|
523
531
|
return t === void 0 && (t = 0), {
|
|
524
532
|
name: "offset",
|
|
525
533
|
options: t,
|
|
@@ -530,7 +538,7 @@ const ie = function(t) {
|
|
|
530
538
|
y: s,
|
|
531
539
|
placement: r,
|
|
532
540
|
middlewareData: c
|
|
533
|
-
} = e, l = await
|
|
541
|
+
} = e, l = await re(e, t);
|
|
534
542
|
return r === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
|
|
535
543
|
x: i + l.x,
|
|
536
544
|
y: s + l.y,
|
|
@@ -541,7 +549,7 @@ const ie = function(t) {
|
|
|
541
549
|
};
|
|
542
550
|
}
|
|
543
551
|
};
|
|
544
|
-
},
|
|
552
|
+
}, ce = function(t) {
|
|
545
553
|
return t === void 0 && (t = {}), {
|
|
546
554
|
name: "shift",
|
|
547
555
|
options: t,
|
|
@@ -566,18 +574,18 @@ const ie = function(t) {
|
|
|
566
574
|
}
|
|
567
575
|
},
|
|
568
576
|
...l
|
|
569
|
-
} =
|
|
577
|
+
} = j(t, e), a = {
|
|
570
578
|
x: n,
|
|
571
579
|
y: o
|
|
572
|
-
}, d = await
|
|
580
|
+
}, d = await K(e, l), u = st(W(i)), h = Ft(u);
|
|
573
581
|
let f = a[h], m = a[u];
|
|
574
582
|
if (s) {
|
|
575
583
|
const w = h === "y" ? "top" : "left", p = h === "y" ? "bottom" : "right", y = f + d[w], x = f - d[p];
|
|
576
|
-
f =
|
|
584
|
+
f = ft(y, f, x);
|
|
577
585
|
}
|
|
578
586
|
if (r) {
|
|
579
587
|
const w = u === "y" ? "top" : "left", p = u === "y" ? "bottom" : "right", y = m + d[w], x = m - d[p];
|
|
580
|
-
m =
|
|
588
|
+
m = ft(y, m, x);
|
|
581
589
|
}
|
|
582
590
|
const g = c.fn({
|
|
583
591
|
...e,
|
|
@@ -594,8 +602,8 @@ const ie = function(t) {
|
|
|
594
602
|
}
|
|
595
603
|
};
|
|
596
604
|
};
|
|
597
|
-
function
|
|
598
|
-
return
|
|
605
|
+
function G(t) {
|
|
606
|
+
return Nt(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
599
607
|
}
|
|
600
608
|
function S(t) {
|
|
601
609
|
var e;
|
|
@@ -603,56 +611,56 @@ function S(t) {
|
|
|
603
611
|
}
|
|
604
612
|
function H(t) {
|
|
605
613
|
var e;
|
|
606
|
-
return (e = (
|
|
614
|
+
return (e = (Nt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
607
615
|
}
|
|
608
|
-
function
|
|
616
|
+
function Nt(t) {
|
|
609
617
|
return t instanceof Node || t instanceof S(t).Node;
|
|
610
618
|
}
|
|
611
|
-
function
|
|
619
|
+
function N(t) {
|
|
612
620
|
return t instanceof Element || t instanceof S(t).Element;
|
|
613
621
|
}
|
|
614
|
-
function
|
|
622
|
+
function B(t) {
|
|
615
623
|
return t instanceof HTMLElement || t instanceof S(t).HTMLElement;
|
|
616
624
|
}
|
|
617
|
-
function
|
|
625
|
+
function At(t) {
|
|
618
626
|
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof S(t).ShadowRoot;
|
|
619
627
|
}
|
|
620
|
-
function
|
|
628
|
+
function Z(t) {
|
|
621
629
|
const {
|
|
622
630
|
overflow: e,
|
|
623
631
|
overflowX: n,
|
|
624
632
|
overflowY: o,
|
|
625
633
|
display: i
|
|
626
|
-
} =
|
|
634
|
+
} = E(t);
|
|
627
635
|
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
|
|
628
636
|
}
|
|
629
|
-
function
|
|
630
|
-
return ["table", "td", "th"].includes(
|
|
637
|
+
function le(t) {
|
|
638
|
+
return ["table", "td", "th"].includes(G(t));
|
|
631
639
|
}
|
|
632
|
-
function
|
|
633
|
-
const e =
|
|
640
|
+
function gt(t) {
|
|
641
|
+
const e = pt(), n = E(t);
|
|
634
642
|
return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
|
|
635
643
|
}
|
|
636
|
-
function
|
|
637
|
-
let e =
|
|
638
|
-
for (;
|
|
639
|
-
if (
|
|
644
|
+
function ae(t) {
|
|
645
|
+
let e = _(t);
|
|
646
|
+
for (; B(e) && !q(e); ) {
|
|
647
|
+
if (gt(e))
|
|
640
648
|
return e;
|
|
641
|
-
e =
|
|
649
|
+
e = _(e);
|
|
642
650
|
}
|
|
643
651
|
return null;
|
|
644
652
|
}
|
|
645
|
-
function
|
|
653
|
+
function pt() {
|
|
646
654
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
647
655
|
}
|
|
648
|
-
function
|
|
649
|
-
return ["html", "body", "#document"].includes(
|
|
656
|
+
function q(t) {
|
|
657
|
+
return ["html", "body", "#document"].includes(G(t));
|
|
650
658
|
}
|
|
651
|
-
function
|
|
659
|
+
function E(t) {
|
|
652
660
|
return S(t).getComputedStyle(t);
|
|
653
661
|
}
|
|
654
|
-
function
|
|
655
|
-
return
|
|
662
|
+
function ct(t) {
|
|
663
|
+
return N(t) ? {
|
|
656
664
|
scrollLeft: t.scrollLeft,
|
|
657
665
|
scrollTop: t.scrollTop
|
|
658
666
|
} : {
|
|
@@ -660,92 +668,92 @@ function st(t) {
|
|
|
660
668
|
scrollTop: t.pageYOffset
|
|
661
669
|
};
|
|
662
670
|
}
|
|
663
|
-
function
|
|
664
|
-
if (
|
|
671
|
+
function _(t) {
|
|
672
|
+
if (G(t) === "html")
|
|
665
673
|
return t;
|
|
666
674
|
const e = (
|
|
667
675
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
668
676
|
t.assignedSlot || // DOM Element detected.
|
|
669
677
|
t.parentNode || // ShadowRoot detected.
|
|
670
|
-
|
|
678
|
+
At(t) && t.host || // Fallback.
|
|
671
679
|
H(t)
|
|
672
680
|
);
|
|
673
|
-
return
|
|
681
|
+
return At(e) ? e.host : e;
|
|
674
682
|
}
|
|
675
|
-
function
|
|
676
|
-
const e =
|
|
677
|
-
return
|
|
683
|
+
function Bt(t) {
|
|
684
|
+
const e = _(t);
|
|
685
|
+
return q(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : B(e) && Z(e) ? e : Bt(e);
|
|
678
686
|
}
|
|
679
|
-
function
|
|
687
|
+
function J(t, e, n) {
|
|
680
688
|
var o;
|
|
681
689
|
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
682
|
-
const i =
|
|
683
|
-
return s ? e.concat(r, r.visualViewport || [],
|
|
690
|
+
const i = Bt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = S(i);
|
|
691
|
+
return s ? e.concat(r, r.visualViewport || [], Z(i) ? i : [], r.frameElement && n ? J(r.frameElement) : []) : e.concat(i, J(i, [], n));
|
|
684
692
|
}
|
|
685
|
-
function
|
|
686
|
-
const e =
|
|
693
|
+
function $t(t) {
|
|
694
|
+
const e = E(t);
|
|
687
695
|
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
688
|
-
const i =
|
|
696
|
+
const i = B(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, c = et(n) !== s || et(o) !== r;
|
|
689
697
|
return c && (n = s, o = r), {
|
|
690
698
|
width: n,
|
|
691
699
|
height: o,
|
|
692
700
|
$: c
|
|
693
701
|
};
|
|
694
702
|
}
|
|
695
|
-
function
|
|
696
|
-
return
|
|
703
|
+
function ht(t) {
|
|
704
|
+
return N(t) ? t : t.contextElement;
|
|
697
705
|
}
|
|
698
706
|
function Y(t) {
|
|
699
|
-
const e =
|
|
700
|
-
if (!
|
|
707
|
+
const e = ht(t);
|
|
708
|
+
if (!B(e))
|
|
701
709
|
return V(1);
|
|
702
710
|
const n = e.getBoundingClientRect(), {
|
|
703
711
|
width: o,
|
|
704
712
|
height: i,
|
|
705
713
|
$: s
|
|
706
|
-
} =
|
|
707
|
-
let r = (s ?
|
|
714
|
+
} = $t(e);
|
|
715
|
+
let r = (s ? et(n.width) : n.width) / o, c = (s ? et(n.height) : n.height) / i;
|
|
708
716
|
return (!r || !Number.isFinite(r)) && (r = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
709
717
|
x: r,
|
|
710
718
|
y: c
|
|
711
719
|
};
|
|
712
720
|
}
|
|
713
|
-
const
|
|
714
|
-
function
|
|
721
|
+
const fe = /* @__PURE__ */ V(0);
|
|
722
|
+
function Wt(t) {
|
|
715
723
|
const e = S(t);
|
|
716
|
-
return !
|
|
724
|
+
return !pt() || !e.visualViewport ? fe : {
|
|
717
725
|
x: e.visualViewport.offsetLeft,
|
|
718
726
|
y: e.visualViewport.offsetTop
|
|
719
727
|
};
|
|
720
728
|
}
|
|
721
|
-
function
|
|
729
|
+
function ue(t, e, n) {
|
|
722
730
|
return e === void 0 && (e = !1), !n || e && n !== S(t) ? !1 : e;
|
|
723
731
|
}
|
|
724
|
-
function
|
|
732
|
+
function U(t, e, n, o) {
|
|
725
733
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
726
|
-
const i = t.getBoundingClientRect(), s =
|
|
734
|
+
const i = t.getBoundingClientRect(), s = ht(t);
|
|
727
735
|
let r = V(1);
|
|
728
|
-
e && (o ?
|
|
729
|
-
const c =
|
|
736
|
+
e && (o ? N(o) && (r = Y(o)) : r = Y(t));
|
|
737
|
+
const c = ue(s, n, o) ? Wt(s) : V(0);
|
|
730
738
|
let l = (i.left + c.x) / r.x, a = (i.top + c.y) / r.y, d = i.width / r.x, u = i.height / r.y;
|
|
731
739
|
if (s) {
|
|
732
|
-
const h = S(s), f = o &&
|
|
740
|
+
const h = S(s), f = o && N(o) ? S(o) : o;
|
|
733
741
|
let m = h, g = m.frameElement;
|
|
734
742
|
for (; g && o && f !== m; ) {
|
|
735
|
-
const w = Y(g), p = g.getBoundingClientRect(), y =
|
|
743
|
+
const w = Y(g), p = g.getBoundingClientRect(), y = E(g), x = p.left + (g.clientLeft + parseFloat(y.paddingLeft)) * w.x, b = p.top + (g.clientTop + parseFloat(y.paddingTop)) * w.y;
|
|
736
744
|
l *= w.x, a *= w.y, d *= w.x, u *= w.y, l += x, a += b, m = S(g), g = m.frameElement;
|
|
737
745
|
}
|
|
738
746
|
}
|
|
739
|
-
return
|
|
747
|
+
return it({
|
|
740
748
|
width: d,
|
|
741
749
|
height: u,
|
|
742
750
|
x: l,
|
|
743
751
|
y: a
|
|
744
752
|
});
|
|
745
753
|
}
|
|
746
|
-
const
|
|
747
|
-
function
|
|
748
|
-
return
|
|
754
|
+
const de = [":popover-open", ":modal"];
|
|
755
|
+
function wt(t) {
|
|
756
|
+
return de.some((e) => {
|
|
749
757
|
try {
|
|
750
758
|
return t.matches(e);
|
|
751
759
|
} catch {
|
|
@@ -753,23 +761,23 @@ function $t(t) {
|
|
|
753
761
|
}
|
|
754
762
|
});
|
|
755
763
|
}
|
|
756
|
-
function
|
|
764
|
+
function me(t) {
|
|
757
765
|
let {
|
|
758
766
|
elements: e,
|
|
759
767
|
rect: n,
|
|
760
768
|
offsetParent: o,
|
|
761
769
|
strategy: i
|
|
762
770
|
} = t;
|
|
763
|
-
const s = i === "fixed", r = H(o), c = e ?
|
|
771
|
+
const s = i === "fixed", r = H(o), c = e ? wt(e.floating) : !1;
|
|
764
772
|
if (o === r || c && s)
|
|
765
773
|
return n;
|
|
766
774
|
let l = {
|
|
767
775
|
scrollLeft: 0,
|
|
768
776
|
scrollTop: 0
|
|
769
777
|
}, a = V(1);
|
|
770
|
-
const d = V(0), u =
|
|
771
|
-
if ((u || !u && !s) && ((
|
|
772
|
-
const h =
|
|
778
|
+
const d = V(0), u = B(o);
|
|
779
|
+
if ((u || !u && !s) && ((G(o) !== "body" || Z(r)) && (l = ct(o)), B(o))) {
|
|
780
|
+
const h = U(o);
|
|
773
781
|
a = Y(o), d.x = h.x + o.clientLeft, d.y = h.y + o.clientTop;
|
|
774
782
|
}
|
|
775
783
|
return {
|
|
@@ -779,29 +787,29 @@ function ue(t) {
|
|
|
779
787
|
y: n.y * a.y - l.scrollTop * a.y + d.y
|
|
780
788
|
};
|
|
781
789
|
}
|
|
782
|
-
function
|
|
790
|
+
function ge(t) {
|
|
783
791
|
return Array.from(t.getClientRects());
|
|
784
792
|
}
|
|
785
|
-
function
|
|
786
|
-
return
|
|
793
|
+
function Ht(t) {
|
|
794
|
+
return U(H(t)).left + ct(t).scrollLeft;
|
|
787
795
|
}
|
|
788
|
-
function
|
|
789
|
-
const e = H(t), n =
|
|
790
|
-
let r = -n.scrollLeft +
|
|
796
|
+
function pe(t) {
|
|
797
|
+
const e = H(t), n = ct(t), o = t.ownerDocument.body, i = z(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = z(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
798
|
+
let r = -n.scrollLeft + Ht(t);
|
|
791
799
|
const c = -n.scrollTop;
|
|
792
|
-
return
|
|
800
|
+
return E(o).direction === "rtl" && (r += z(e.clientWidth, o.clientWidth) - i), {
|
|
793
801
|
width: i,
|
|
794
802
|
height: s,
|
|
795
803
|
x: r,
|
|
796
804
|
y: c
|
|
797
805
|
};
|
|
798
806
|
}
|
|
799
|
-
function
|
|
807
|
+
function he(t, e) {
|
|
800
808
|
const n = S(t), o = H(t), i = n.visualViewport;
|
|
801
809
|
let s = o.clientWidth, r = o.clientHeight, c = 0, l = 0;
|
|
802
810
|
if (i) {
|
|
803
811
|
s = i.width, r = i.height;
|
|
804
|
-
const a =
|
|
812
|
+
const a = pt();
|
|
805
813
|
(!a || a && e === "fixed") && (c = i.offsetLeft, l = i.offsetTop);
|
|
806
814
|
}
|
|
807
815
|
return {
|
|
@@ -811,8 +819,8 @@ function ge(t, e) {
|
|
|
811
819
|
y: l
|
|
812
820
|
};
|
|
813
821
|
}
|
|
814
|
-
function
|
|
815
|
-
const n =
|
|
822
|
+
function we(t, e) {
|
|
823
|
+
const n = U(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = B(t) ? Y(t) : V(1), r = t.clientWidth * s.x, c = t.clientHeight * s.y, l = i * s.x, a = o * s.y;
|
|
816
824
|
return {
|
|
817
825
|
width: r,
|
|
818
826
|
height: c,
|
|
@@ -820,52 +828,52 @@ function pe(t, e) {
|
|
|
820
828
|
y: a
|
|
821
829
|
};
|
|
822
830
|
}
|
|
823
|
-
function
|
|
831
|
+
function Rt(t, e, n) {
|
|
824
832
|
let o;
|
|
825
833
|
if (e === "viewport")
|
|
826
|
-
o =
|
|
834
|
+
o = he(t, n);
|
|
827
835
|
else if (e === "document")
|
|
828
|
-
o =
|
|
829
|
-
else if (
|
|
830
|
-
o =
|
|
836
|
+
o = pe(H(t));
|
|
837
|
+
else if (N(e))
|
|
838
|
+
o = we(e, n);
|
|
831
839
|
else {
|
|
832
|
-
const i =
|
|
840
|
+
const i = Wt(t);
|
|
833
841
|
o = {
|
|
834
842
|
...e,
|
|
835
843
|
x: e.x - i.x,
|
|
836
844
|
y: e.y - i.y
|
|
837
845
|
};
|
|
838
846
|
}
|
|
839
|
-
return
|
|
847
|
+
return it(o);
|
|
840
848
|
}
|
|
841
|
-
function
|
|
842
|
-
const n =
|
|
843
|
-
return n === e || !
|
|
849
|
+
function Vt(t, e) {
|
|
850
|
+
const n = _(t);
|
|
851
|
+
return n === e || !N(n) || q(n) ? !1 : E(n).position === "fixed" || Vt(n, e);
|
|
844
852
|
}
|
|
845
|
-
function
|
|
853
|
+
function ye(t, e) {
|
|
846
854
|
const n = e.get(t);
|
|
847
855
|
if (n)
|
|
848
856
|
return n;
|
|
849
|
-
let o =
|
|
850
|
-
const s =
|
|
851
|
-
let r = s ?
|
|
852
|
-
for (;
|
|
853
|
-
const c =
|
|
854
|
-
!l && c.position === "fixed" && (i = null), (s ? !l && !i : !l && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) ||
|
|
857
|
+
let o = J(t, [], !1).filter((c) => N(c) && G(c) !== "body"), i = null;
|
|
858
|
+
const s = E(t).position === "fixed";
|
|
859
|
+
let r = s ? _(t) : t;
|
|
860
|
+
for (; N(r) && !q(r); ) {
|
|
861
|
+
const c = E(r), l = gt(r);
|
|
862
|
+
!l && c.position === "fixed" && (i = null), (s ? !l && !i : !l && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || Z(r) && !l && Vt(t, r)) ? o = o.filter((d) => d !== r) : i = c, r = _(r);
|
|
855
863
|
}
|
|
856
864
|
return e.set(t, o), o;
|
|
857
865
|
}
|
|
858
|
-
function
|
|
866
|
+
function xe(t) {
|
|
859
867
|
let {
|
|
860
868
|
element: e,
|
|
861
869
|
boundary: n,
|
|
862
870
|
rootBoundary: o,
|
|
863
871
|
strategy: i
|
|
864
872
|
} = t;
|
|
865
|
-
const r = [...n === "clippingAncestors" ?
|
|
866
|
-
const u =
|
|
873
|
+
const r = [...n === "clippingAncestors" ? wt(e) ? [] : ye(e, this._c) : [].concat(n), o], c = r[0], l = r.reduce((a, d) => {
|
|
874
|
+
const u = Rt(e, d, i);
|
|
867
875
|
return a.top = z(u.top, a.top), a.right = X(u.right, a.right), a.bottom = X(u.bottom, a.bottom), a.left = z(u.left, a.left), a;
|
|
868
|
-
},
|
|
876
|
+
}, Rt(e, c, i));
|
|
869
877
|
return {
|
|
870
878
|
width: l.right - l.left,
|
|
871
879
|
height: l.bottom - l.top,
|
|
@@ -873,29 +881,29 @@ function we(t) {
|
|
|
873
881
|
y: l.top
|
|
874
882
|
};
|
|
875
883
|
}
|
|
876
|
-
function
|
|
884
|
+
function ve(t) {
|
|
877
885
|
const {
|
|
878
886
|
width: e,
|
|
879
887
|
height: n
|
|
880
|
-
} =
|
|
888
|
+
} = $t(t);
|
|
881
889
|
return {
|
|
882
890
|
width: e,
|
|
883
891
|
height: n
|
|
884
892
|
};
|
|
885
893
|
}
|
|
886
|
-
function
|
|
887
|
-
const o =
|
|
894
|
+
function be(t, e, n) {
|
|
895
|
+
const o = B(e), i = H(e), s = n === "fixed", r = U(t, !0, s, e);
|
|
888
896
|
let c = {
|
|
889
897
|
scrollLeft: 0,
|
|
890
898
|
scrollTop: 0
|
|
891
899
|
};
|
|
892
900
|
const l = V(0);
|
|
893
901
|
if (o || !o && !s)
|
|
894
|
-
if ((
|
|
895
|
-
const u =
|
|
902
|
+
if ((G(e) !== "body" || Z(i)) && (c = ct(e)), o) {
|
|
903
|
+
const u = U(e, !0, s, e);
|
|
896
904
|
l.x = u.x + e.clientLeft, l.y = u.y + e.clientTop;
|
|
897
905
|
} else
|
|
898
|
-
i && (l.x =
|
|
906
|
+
i && (l.x = Ht(i));
|
|
899
907
|
const a = r.left + c.scrollLeft - l.x, d = r.top + c.scrollTop - l.y;
|
|
900
908
|
return {
|
|
901
909
|
x: a,
|
|
@@ -904,45 +912,58 @@ function xe(t, e, n) {
|
|
|
904
912
|
height: r.height
|
|
905
913
|
};
|
|
906
914
|
}
|
|
907
|
-
function
|
|
908
|
-
return
|
|
915
|
+
function lt(t) {
|
|
916
|
+
return E(t).position === "static";
|
|
909
917
|
}
|
|
910
|
-
function
|
|
918
|
+
function Pt(t, e) {
|
|
919
|
+
return !B(t) || E(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
920
|
+
}
|
|
921
|
+
function _t(t, e) {
|
|
911
922
|
const n = S(t);
|
|
912
|
-
if (
|
|
923
|
+
if (wt(t))
|
|
913
924
|
return n;
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
925
|
+
if (!B(t)) {
|
|
926
|
+
let i = _(t);
|
|
927
|
+
for (; i && !q(i); ) {
|
|
928
|
+
if (N(i) && !lt(i))
|
|
929
|
+
return i;
|
|
930
|
+
i = _(i);
|
|
931
|
+
}
|
|
932
|
+
return n;
|
|
933
|
+
}
|
|
934
|
+
let o = Pt(t, e);
|
|
935
|
+
for (; o && le(o) && lt(o); )
|
|
936
|
+
o = Pt(o, e);
|
|
937
|
+
return o && q(o) && lt(o) && !gt(o) ? n : o || ae(t) || n;
|
|
918
938
|
}
|
|
919
|
-
const
|
|
920
|
-
const e = this.getOffsetParent ||
|
|
939
|
+
const Oe = async function(t) {
|
|
940
|
+
const e = this.getOffsetParent || _t, n = this.getDimensions, o = await n(t.floating);
|
|
921
941
|
return {
|
|
922
|
-
reference:
|
|
942
|
+
reference: be(t.reference, await e(t.floating), t.strategy),
|
|
923
943
|
floating: {
|
|
924
944
|
x: 0,
|
|
925
945
|
y: 0,
|
|
926
|
-
|
|
946
|
+
width: o.width,
|
|
947
|
+
height: o.height
|
|
927
948
|
}
|
|
928
949
|
};
|
|
929
950
|
};
|
|
930
|
-
function
|
|
931
|
-
return
|
|
951
|
+
function Ae(t) {
|
|
952
|
+
return E(t).direction === "rtl";
|
|
932
953
|
}
|
|
933
|
-
const
|
|
934
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
954
|
+
const ut = {
|
|
955
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: me,
|
|
935
956
|
getDocumentElement: H,
|
|
936
|
-
getClippingRect:
|
|
937
|
-
getOffsetParent:
|
|
938
|
-
getElementRects:
|
|
939
|
-
getClientRects:
|
|
940
|
-
getDimensions:
|
|
957
|
+
getClippingRect: xe,
|
|
958
|
+
getOffsetParent: _t,
|
|
959
|
+
getElementRects: Oe,
|
|
960
|
+
getClientRects: ge,
|
|
961
|
+
getDimensions: ve,
|
|
941
962
|
getScale: Y,
|
|
942
|
-
isElement:
|
|
943
|
-
isRTL:
|
|
963
|
+
isElement: N,
|
|
964
|
+
isRTL: Ae
|
|
944
965
|
};
|
|
945
|
-
function
|
|
966
|
+
function Re(t, e) {
|
|
946
967
|
let n = null, o;
|
|
947
968
|
const i = H(t);
|
|
948
969
|
function s() {
|
|
@@ -959,7 +980,7 @@ function Oe(t, e) {
|
|
|
959
980
|
} = t.getBoundingClientRect();
|
|
960
981
|
if (c || e(), !u || !h)
|
|
961
982
|
return;
|
|
962
|
-
const f =
|
|
983
|
+
const f = tt(d), m = tt(i.clientWidth - (a + u)), g = tt(i.clientHeight - (d + h)), w = tt(a), y = {
|
|
963
984
|
rootMargin: -f + "px " + -m + "px " + -g + "px " + -w + "px",
|
|
964
985
|
threshold: z(0, X(1, l)) || 1
|
|
965
986
|
};
|
|
@@ -971,7 +992,7 @@ function Oe(t, e) {
|
|
|
971
992
|
return r();
|
|
972
993
|
R ? r(!1, R) : o = setTimeout(() => {
|
|
973
994
|
r(!1, 1e-7);
|
|
974
|
-
},
|
|
995
|
+
}, 1e3);
|
|
975
996
|
}
|
|
976
997
|
x = !1;
|
|
977
998
|
}
|
|
@@ -988,7 +1009,7 @@ function Oe(t, e) {
|
|
|
988
1009
|
}
|
|
989
1010
|
return r(!0), s;
|
|
990
1011
|
}
|
|
991
|
-
function
|
|
1012
|
+
function Pe(t, e, n, o) {
|
|
992
1013
|
o === void 0 && (o = {});
|
|
993
1014
|
const {
|
|
994
1015
|
ancestorScroll: i = !0,
|
|
@@ -996,13 +1017,13 @@ function Ae(t, e, n, o) {
|
|
|
996
1017
|
elementResize: r = typeof ResizeObserver == "function",
|
|
997
1018
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
998
1019
|
animationFrame: l = !1
|
|
999
|
-
} = o, a =
|
|
1020
|
+
} = o, a = ht(t), d = i || s ? [...a ? J(a) : [], ...J(e)] : [];
|
|
1000
1021
|
d.forEach((p) => {
|
|
1001
1022
|
i && p.addEventListener("scroll", n, {
|
|
1002
1023
|
passive: !0
|
|
1003
1024
|
}), s && p.addEventListener("resize", n);
|
|
1004
1025
|
});
|
|
1005
|
-
const u = a && c ?
|
|
1026
|
+
const u = a && c ? Re(a, n) : null;
|
|
1006
1027
|
let h = -1, f = null;
|
|
1007
1028
|
r && (f = new ResizeObserver((p) => {
|
|
1008
1029
|
let [y] = p;
|
|
@@ -1011,10 +1032,10 @@ function Ae(t, e, n, o) {
|
|
|
1011
1032
|
(x = f) == null || x.observe(e);
|
|
1012
1033
|
})), n();
|
|
1013
1034
|
}), a && !l && f.observe(a), f.observe(e));
|
|
1014
|
-
let m, g = l ?
|
|
1035
|
+
let m, g = l ? U(t) : null;
|
|
1015
1036
|
l && w();
|
|
1016
1037
|
function w() {
|
|
1017
|
-
const p =
|
|
1038
|
+
const p = U(t);
|
|
1018
1039
|
g && (p.x !== g.x || p.y !== g.y || p.width !== g.width || p.height !== g.height) && n(), g = p, m = requestAnimationFrame(w);
|
|
1019
1040
|
}
|
|
1020
1041
|
return n(), () => {
|
|
@@ -1024,30 +1045,30 @@ function Ae(t, e, n, o) {
|
|
|
1024
1045
|
}), u == null || u(), (p = f) == null || p.disconnect(), f = null, l && cancelAnimationFrame(m);
|
|
1025
1046
|
};
|
|
1026
1047
|
}
|
|
1027
|
-
const
|
|
1048
|
+
const Ce = se, Se = ne, Te = ce, Ct = oe, Le = ie, Ee = te, De = (t, e, n) => {
|
|
1028
1049
|
const o = /* @__PURE__ */ new Map(), i = {
|
|
1029
|
-
platform:
|
|
1050
|
+
platform: ut,
|
|
1030
1051
|
...n
|
|
1031
1052
|
}, s = {
|
|
1032
1053
|
...i.platform,
|
|
1033
1054
|
_c: o
|
|
1034
1055
|
};
|
|
1035
|
-
return
|
|
1056
|
+
return Zt(t, e, {
|
|
1036
1057
|
...i,
|
|
1037
1058
|
platform: s
|
|
1038
1059
|
});
|
|
1039
1060
|
};
|
|
1040
|
-
function
|
|
1041
|
-
return
|
|
1061
|
+
function Fe(t) {
|
|
1062
|
+
return Me(t);
|
|
1042
1063
|
}
|
|
1043
|
-
function
|
|
1064
|
+
function at(t) {
|
|
1044
1065
|
return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
|
|
1045
1066
|
}
|
|
1046
|
-
function
|
|
1047
|
-
for (let e = t; e; e =
|
|
1067
|
+
function Me(t) {
|
|
1068
|
+
for (let e = t; e; e = at(e))
|
|
1048
1069
|
if (e instanceof Element && getComputedStyle(e).display === "none")
|
|
1049
1070
|
return null;
|
|
1050
|
-
for (let e =
|
|
1071
|
+
for (let e = at(t); e; e = at(e)) {
|
|
1051
1072
|
if (!(e instanceof Element))
|
|
1052
1073
|
continue;
|
|
1053
1074
|
const n = getComputedStyle(e);
|
|
@@ -1058,24 +1079,24 @@ function De(t) {
|
|
|
1058
1079
|
}
|
|
1059
1080
|
(function() {
|
|
1060
1081
|
{
|
|
1061
|
-
const e =
|
|
1062
|
-
|
|
1082
|
+
const e = ut.getOffsetParent;
|
|
1083
|
+
ut.getOffsetParent = (n) => e(n, Fe);
|
|
1063
1084
|
}
|
|
1064
1085
|
})();
|
|
1065
|
-
function
|
|
1086
|
+
function St(t) {
|
|
1066
1087
|
const e = window.devicePixelRatio || 1;
|
|
1067
1088
|
return Math.round(t * e) / e;
|
|
1068
1089
|
}
|
|
1069
|
-
const
|
|
1090
|
+
const It = (
|
|
1070
1091
|
/* we export arrow function to allow us to spy on it during testing */
|
|
1071
1092
|
async (t, { referenceEl: e, floatingEl: n, overlayPositioning: o = "absolute", placement: i, flipDisabled: s, flipPlacements: r, offsetDistance: c, offsetSkidding: l, arrowEl: a, type: d }) => {
|
|
1072
1093
|
var b;
|
|
1073
1094
|
if (!e || !n)
|
|
1074
1095
|
return null;
|
|
1075
|
-
const { x: u, y: h, placement: f, strategy: m, middlewareData: g } = await
|
|
1096
|
+
const { x: u, y: h, placement: f, strategy: m, middlewareData: g } = await De(e, n, {
|
|
1076
1097
|
strategy: o,
|
|
1077
|
-
placement: i === "auto" || i === "auto-start" || i === "auto-end" ? void 0 :
|
|
1078
|
-
middleware:
|
|
1098
|
+
placement: i === "auto" || i === "auto-start" || i === "auto-end" ? void 0 : Be(n, i),
|
|
1099
|
+
middleware: Ne({
|
|
1079
1100
|
placement: i,
|
|
1080
1101
|
flipDisabled: s,
|
|
1081
1102
|
flipPlacements: r,
|
|
@@ -1086,27 +1107,27 @@ const _t = (
|
|
|
1086
1107
|
})
|
|
1087
1108
|
});
|
|
1088
1109
|
if (a && g.arrow) {
|
|
1089
|
-
const { x: v, y: R } = g.arrow, O = f.split("-")[0],
|
|
1110
|
+
const { x: v, y: R } = g.arrow, O = f.split("-")[0], T = v != null ? "left" : "top", D = We[O], A = { left: "", top: "", bottom: "", right: "" };
|
|
1090
1111
|
"floatingLayout" in t && (t.floatingLayout = O === "left" || O === "right" ? "horizontal" : "vertical"), Object.assign(a.style, {
|
|
1091
1112
|
...A,
|
|
1092
|
-
[
|
|
1113
|
+
[T]: `${T == "left" ? v : R}px`,
|
|
1093
1114
|
[O]: "100%",
|
|
1094
|
-
transform:
|
|
1115
|
+
transform: D
|
|
1095
1116
|
});
|
|
1096
1117
|
}
|
|
1097
1118
|
const p = ((b = g.hide) == null ? void 0 : b.referenceHidden) ? "hidden" : null, y = p ? "none" : null;
|
|
1098
|
-
n.setAttribute(
|
|
1119
|
+
n.setAttribute(ke, f);
|
|
1099
1120
|
const { open: x } = t;
|
|
1100
1121
|
Object.assign(n.style, {
|
|
1101
1122
|
visibility: p,
|
|
1102
1123
|
pointerEvents: y,
|
|
1103
1124
|
position: m,
|
|
1104
|
-
transform: x ? `translate(${
|
|
1125
|
+
transform: x ? `translate(${St(u)}px,${St(h)}px)` : "",
|
|
1105
1126
|
top: 0,
|
|
1106
1127
|
left: 0
|
|
1107
1128
|
});
|
|
1108
1129
|
}
|
|
1109
|
-
),
|
|
1130
|
+
), ke = "data-placement", Tt = 100, Lt = [
|
|
1110
1131
|
"top",
|
|
1111
1132
|
"bottom",
|
|
1112
1133
|
"right",
|
|
@@ -1119,79 +1140,100 @@ const _t = (
|
|
|
1119
1140
|
"right-end",
|
|
1120
1141
|
"left-start",
|
|
1121
1142
|
"left-end"
|
|
1122
|
-
],
|
|
1143
|
+
], ze = {
|
|
1123
1144
|
animation: "calcite-floating-ui-anim",
|
|
1124
1145
|
animationActive: "calcite-floating-ui-anim--active"
|
|
1125
1146
|
};
|
|
1126
|
-
function
|
|
1127
|
-
const c = [
|
|
1147
|
+
function Ne({ placement: t, flipDisabled: e, flipPlacements: n, offsetDistance: o, offsetSkidding: i, arrowEl: s, type: r }) {
|
|
1148
|
+
const c = [Te(), Le()];
|
|
1128
1149
|
if (r === "menu")
|
|
1129
1150
|
return [
|
|
1130
1151
|
...c,
|
|
1131
|
-
|
|
1152
|
+
Ct({
|
|
1132
1153
|
fallbackPlacements: n || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"]
|
|
1133
1154
|
})
|
|
1134
1155
|
];
|
|
1135
1156
|
if (r === "popover" || r === "tooltip") {
|
|
1136
1157
|
const l = [
|
|
1137
1158
|
...c,
|
|
1138
|
-
|
|
1159
|
+
Ce({
|
|
1139
1160
|
mainAxis: typeof o == "number" ? o : 0,
|
|
1140
1161
|
crossAxis: typeof i == "number" ? i : 0
|
|
1141
1162
|
})
|
|
1142
1163
|
];
|
|
1143
|
-
return t === "auto" || t === "auto-start" || t === "auto-end" ? l.push(
|
|
1164
|
+
return t === "auto" || t === "auto-start" || t === "auto-end" ? l.push(Se({ alignment: t === "auto-start" ? "start" : t === "auto-end" ? "end" : null })) : e || l.push(Ct(n ? { fallbackPlacements: n } : {})), s && l.push(Ee({
|
|
1144
1165
|
element: s
|
|
1145
1166
|
})), l;
|
|
1146
1167
|
}
|
|
1147
1168
|
return [];
|
|
1148
1169
|
}
|
|
1149
|
-
function
|
|
1150
|
-
const n = t.filter((o) =>
|
|
1151
|
-
return n.length !== t.length && console.warn(`${e.tagName}: Invalid value found in: flipPlacements. Try any of these: ${
|
|
1170
|
+
function Ue(t, e) {
|
|
1171
|
+
const n = t.filter((o) => Lt.includes(o));
|
|
1172
|
+
return n.length !== t.length && console.warn(`${e.tagName}: Invalid value found in: flipPlacements. Try any of these: ${Lt.map((o) => `"${o}"`).join(", ").trim()}`, { el: e }), n;
|
|
1152
1173
|
}
|
|
1153
|
-
function
|
|
1174
|
+
function Be(t, e) {
|
|
1154
1175
|
const n = ["left", "right"];
|
|
1155
|
-
return
|
|
1176
|
+
return jt(t) === "rtl" && n.reverse(), e.replace(/leading/gi, n[0]).replace(/trailing/gi, n[1]);
|
|
1156
1177
|
}
|
|
1157
|
-
async function
|
|
1158
|
-
|
|
1178
|
+
async function je(t, e, n = !1) {
|
|
1179
|
+
if (!t.open || !e.floatingEl || !e.referenceEl)
|
|
1180
|
+
return;
|
|
1181
|
+
if (!Q.get(t))
|
|
1182
|
+
return zt(t, e.referenceEl, e.floatingEl);
|
|
1183
|
+
await (n ? $e(t) : It)(t, e);
|
|
1159
1184
|
}
|
|
1160
|
-
function
|
|
1161
|
-
let e =
|
|
1162
|
-
return e || (e =
|
|
1185
|
+
function $e(t) {
|
|
1186
|
+
let e = rt.get(t);
|
|
1187
|
+
return e || (e = Yt(It, Tt, {
|
|
1163
1188
|
leading: !0,
|
|
1164
|
-
maxWait:
|
|
1165
|
-
}),
|
|
1189
|
+
maxWait: Tt
|
|
1190
|
+
}), rt.set(t, e), e);
|
|
1166
1191
|
}
|
|
1167
|
-
const
|
|
1192
|
+
const We = {
|
|
1168
1193
|
top: "",
|
|
1169
1194
|
left: "rotate(-90deg)",
|
|
1170
1195
|
bottom: "rotate(180deg)",
|
|
1171
1196
|
right: "rotate(90deg)"
|
|
1172
|
-
},
|
|
1173
|
-
function
|
|
1174
|
-
if (!n
|
|
1197
|
+
}, Q = /* @__PURE__ */ new WeakMap(), rt = /* @__PURE__ */ new WeakMap();
|
|
1198
|
+
async function zt(t, e, n) {
|
|
1199
|
+
if (!n.isConnected)
|
|
1175
1200
|
return;
|
|
1176
|
-
|
|
1201
|
+
const o = Pe;
|
|
1202
|
+
Q.set(t, { state: "pending" });
|
|
1203
|
+
let i;
|
|
1204
|
+
const s = o(
|
|
1205
|
+
e,
|
|
1206
|
+
n,
|
|
1207
|
+
// callback is invoked immediately
|
|
1208
|
+
() => {
|
|
1209
|
+
const r = t.reposition();
|
|
1210
|
+
i || (i = r);
|
|
1211
|
+
}
|
|
1212
|
+
);
|
|
1213
|
+
return Q.set(t, { state: "active", cleanUp: s }), i;
|
|
1214
|
+
}
|
|
1215
|
+
async function Ye(t, e, n) {
|
|
1216
|
+
if (!(!n || !e) && (He(t, e, n), Object.assign(n.style, {
|
|
1177
1217
|
visibility: "hidden",
|
|
1178
1218
|
pointerEvents: "none",
|
|
1179
1219
|
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
|
1180
1220
|
position: t.overlayPositioning
|
|
1181
|
-
})
|
|
1182
|
-
|
|
1183
|
-
ft.set(t, o(e, n, () => t.reposition()));
|
|
1221
|
+
}), !!t.open))
|
|
1222
|
+
return zt(t, e, n);
|
|
1184
1223
|
}
|
|
1185
|
-
function
|
|
1186
|
-
var
|
|
1187
|
-
!n || !e
|
|
1224
|
+
function He(t, e, n) {
|
|
1225
|
+
var i;
|
|
1226
|
+
if (!n || !e)
|
|
1227
|
+
return;
|
|
1228
|
+
const o = Q.get(t);
|
|
1229
|
+
(o == null ? void 0 : o.state) === "active" && o.cleanUp(), Q.delete(t), (i = rt.get(t)) == null || i.cancel(), rt.delete(t);
|
|
1188
1230
|
}
|
|
1189
|
-
const
|
|
1231
|
+
const Et = 4, Xe = Math.ceil(Math.hypot(Et, Et));
|
|
1190
1232
|
export {
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1233
|
+
ze as F,
|
|
1234
|
+
He as a,
|
|
1235
|
+
Ye as c,
|
|
1236
|
+
Xe as d,
|
|
1237
|
+
Ue as f,
|
|
1238
|
+
je as r
|
|
1197
1239
|
};
|