@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,36 +1,25 @@
|
|
|
1
|
-
import { proxyCustomElement as k, H as
|
|
2
|
-
import { f as
|
|
3
|
-
import { d as
|
|
4
|
-
import { t as
|
|
1
|
+
import { proxyCustomElement as k, H as P, createEvent as l, forceUpdate as C, h as n, Host as x } from "../../../../../../@stencil_core@4.18.2/node_modules/@stencil/core/internal/client/index.js";
|
|
2
|
+
import { f as H, c as D, d as L, a as R, r as A, F as m } from "./floating-ui.js";
|
|
3
|
+
import { d as h, a as u, c as F, u as O } from "./focusTrapComponent.js";
|
|
4
|
+
import { t as g, f as z, q as T, i as B } from "./dom.js";
|
|
5
5
|
import { g as S } from "./guid.js";
|
|
6
|
-
import { o as
|
|
6
|
+
import { o as v } from "./openCloseComponent.js";
|
|
7
7
|
import { H as M } from "./Heading.js";
|
|
8
|
-
import { c as
|
|
8
|
+
import { c as I, d as U } from "./locale.js";
|
|
9
9
|
import { u as _, c as $, s as q, d as X } from "./t9n.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { d as
|
|
16
|
-
import { d as
|
|
17
|
-
import { d as
|
|
10
|
+
import { s as K, a as Y, c as j } from "./loadable.js";
|
|
11
|
+
import { c as W } from "./observers.js";
|
|
12
|
+
import { F as G } from "./FloatingArrow.js";
|
|
13
|
+
import { a as J, g as N } from "./component.js";
|
|
14
|
+
import { i as Q } from "./key.js";
|
|
15
|
+
import { d as V } from "./action.js";
|
|
16
|
+
import { d as Z } from "./icon.js";
|
|
17
|
+
import { d as ee } from "./loader.js";
|
|
18
18
|
/*!
|
|
19
19
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
20
20
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
21
|
-
* v2.
|
|
21
|
+
* v2.9.0
|
|
22
22
|
*/
|
|
23
|
-
const o = {
|
|
24
|
-
container: "container",
|
|
25
|
-
imageContainer: "image-container",
|
|
26
|
-
closeButtonContainer: "close-button-container",
|
|
27
|
-
closeButton: "close-button",
|
|
28
|
-
content: "content",
|
|
29
|
-
hasHeader: "has-header",
|
|
30
|
-
header: "header",
|
|
31
|
-
headerContent: "header-content",
|
|
32
|
-
heading: "heading"
|
|
33
|
-
}, ee = "auto", E = "aria-controls", y = "aria-expanded";
|
|
34
23
|
class te {
|
|
35
24
|
constructor() {
|
|
36
25
|
this.registeredElements = /* @__PURE__ */ new Map(), this.registeredElementCount = 0, this.queryPopover = (e) => {
|
|
@@ -40,7 +29,7 @@ class te {
|
|
|
40
29
|
const t = e.composedPath(), i = this.queryPopover(t);
|
|
41
30
|
i && !i.triggerDisabled && (i.open = !i.open), Array.from(this.registeredElements.values()).filter((s) => s !== i && s.autoClose && s.open && !t.includes(s)).forEach((s) => s.open = !1);
|
|
42
31
|
}, this.keyDownHandler = (e) => {
|
|
43
|
-
e.defaultPrevented || (e.key === "Escape" ? this.closeAllPopovers() :
|
|
32
|
+
e.defaultPrevented || (e.key === "Escape" ? this.closeAllPopovers() : Q(e.key) && this.togglePopovers(e));
|
|
44
33
|
}, this.clickHandler = (e) => {
|
|
45
34
|
B(e) || this.togglePopovers(e);
|
|
46
35
|
};
|
|
@@ -66,39 +55,49 @@ class te {
|
|
|
66
55
|
window.removeEventListener("click", this.clickHandler), window.removeEventListener("keydown", this.keyDownHandler);
|
|
67
56
|
}
|
|
68
57
|
}
|
|
69
|
-
const
|
|
58
|
+
const o = {
|
|
59
|
+
container: "container",
|
|
60
|
+
imageContainer: "image-container",
|
|
61
|
+
closeButtonContainer: "close-button-container",
|
|
62
|
+
closeButton: "close-button",
|
|
63
|
+
content: "content",
|
|
64
|
+
hasHeader: "has-header",
|
|
65
|
+
header: "header",
|
|
66
|
+
headerContent: "header-content",
|
|
67
|
+
heading: "heading"
|
|
68
|
+
}, ie = "auto", b = "aria-controls", E = "aria-expanded", se = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1)}.arrow::before{outline:1px solid var(--calcite-color-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-color-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-color-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}:host([hidden]){display:none}[hidden]{display:none}", ne = se, y = new te(), oe = /* @__PURE__ */ k(class extends P {
|
|
70
69
|
constructor() {
|
|
71
|
-
super(), this.__registerHost(), this.__attachShadow(), this.calcitePopoverBeforeClose = l(this, "calcitePopoverBeforeClose", 6), this.calcitePopoverClose = l(this, "calcitePopoverClose", 6), this.calcitePopoverBeforeOpen = l(this, "calcitePopoverBeforeOpen", 6), this.calcitePopoverOpen = l(this, "calcitePopoverOpen", 6), this.mutationObserver =
|
|
70
|
+
super(), this.__registerHost(), this.__attachShadow(), this.calcitePopoverBeforeClose = l(this, "calcitePopoverBeforeClose", 6), this.calcitePopoverClose = l(this, "calcitePopoverClose", 6), this.calcitePopoverBeforeOpen = l(this, "calcitePopoverBeforeOpen", 6), this.calcitePopoverOpen = l(this, "calcitePopoverOpen", 6), this.mutationObserver = W("mutation", () => this.updateFocusTrapElements()), this.guid = `calcite-popover-${S()}`, this.openTransitionProp = "opacity", this.setTransitionEl = (e) => {
|
|
72
71
|
this.transitionEl = e;
|
|
73
72
|
}, this.setFilteredPlacements = () => {
|
|
74
73
|
const { el: e, flipPlacements: t } = this;
|
|
75
|
-
this.filteredFlipPlacements = t ?
|
|
74
|
+
this.filteredFlipPlacements = t ? H(t, e) : null;
|
|
76
75
|
}, this.setUpReferenceElement = (e = !0) => {
|
|
77
|
-
this.removeReferences(), this.effectiveReferenceElement = this.getReferenceElement(),
|
|
76
|
+
this.removeReferences(), this.effectiveReferenceElement = this.getReferenceElement(), D(this, this.effectiveReferenceElement, this.el);
|
|
78
77
|
const { el: t, referenceElement: i, effectiveReferenceElement: s } = this;
|
|
79
78
|
e && i && !s && console.warn(`${t.tagName}: reference-element id "${i}" was not found.`, {
|
|
80
79
|
el: t
|
|
81
80
|
}), this.addReferences();
|
|
82
81
|
}, this.getId = () => this.el.id || this.guid, this.setExpandedAttr = () => {
|
|
83
82
|
const { effectiveReferenceElement: e, open: t } = this;
|
|
84
|
-
e && "setAttribute" in e && e.setAttribute(
|
|
83
|
+
e && "setAttribute" in e && e.setAttribute(E, g(t));
|
|
85
84
|
}, this.addReferences = () => {
|
|
86
85
|
const { effectiveReferenceElement: e } = this;
|
|
87
86
|
if (!e)
|
|
88
87
|
return;
|
|
89
88
|
const t = this.getId();
|
|
90
|
-
"setAttribute" in e && e.setAttribute(
|
|
89
|
+
"setAttribute" in e && e.setAttribute(b, t), y.registerElement(e, this.el), this.setExpandedAttr();
|
|
91
90
|
}, this.removeReferences = () => {
|
|
92
91
|
const { effectiveReferenceElement: e } = this;
|
|
93
|
-
e && ("removeAttribute" in e && (e.removeAttribute(
|
|
92
|
+
e && ("removeAttribute" in e && (e.removeAttribute(b), e.removeAttribute(E)), y.unregisterElement(e));
|
|
94
93
|
}, this.hide = () => {
|
|
95
94
|
this.open = !1;
|
|
96
95
|
}, this.storeArrowEl = (e) => {
|
|
97
96
|
this.arrowEl = e, this.reposition(!0);
|
|
98
|
-
}, this.autoClose = !1, this.closable = !1, this.flipDisabled = !1, this.focusTrapDisabled = !1, this.pointerDisabled = !1, this.flipPlacements = void 0, this.heading = void 0, this.headingLevel = void 0, this.label = void 0, this.messageOverrides = void 0, this.messages = void 0, this.offsetDistance =
|
|
97
|
+
}, this.autoClose = !1, this.closable = !1, this.flipDisabled = !1, this.focusTrapDisabled = !1, this.pointerDisabled = !1, this.flipPlacements = void 0, this.heading = void 0, this.headingLevel = void 0, this.label = void 0, this.messageOverrides = void 0, this.messages = void 0, this.offsetDistance = L, this.offsetSkidding = 0, this.open = !1, this.overlayPositioning = "absolute", this.placement = ie, this.referenceElement = void 0, this.scale = "m", this.triggerDisabled = !1, this.effectiveLocale = "", this.floatingLayout = "vertical", this.effectiveReferenceElement = void 0, this.defaultMessages = void 0;
|
|
99
98
|
}
|
|
100
99
|
handleFocusTrapDisabled(e) {
|
|
101
|
-
this.open && (e ?
|
|
100
|
+
this.open && (e ? h(this) : u(this));
|
|
102
101
|
}
|
|
103
102
|
flipPlacementsHandler() {
|
|
104
103
|
this.setFilteredPlacements(), this.reposition(!0);
|
|
@@ -112,7 +111,7 @@ const ie = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, v
|
|
|
112
111
|
this.reposition(!0);
|
|
113
112
|
}
|
|
114
113
|
openHandler() {
|
|
115
|
-
|
|
114
|
+
v(this), this.reposition(!0), this.setExpandedAttr();
|
|
116
115
|
}
|
|
117
116
|
overlayPositioningHandler() {
|
|
118
117
|
this.reposition(!0);
|
|
@@ -131,17 +130,17 @@ const ie = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, v
|
|
|
131
130
|
// Lifecycle
|
|
132
131
|
//
|
|
133
132
|
// --------------------------------------------------------------------------
|
|
134
|
-
connectedCallback() {
|
|
135
|
-
this.setFilteredPlacements(),
|
|
133
|
+
async connectedCallback() {
|
|
134
|
+
this.setFilteredPlacements(), I(this), $(this), await J(this.el), this.setUpReferenceElement(), F(this), this.open && v(this);
|
|
136
135
|
}
|
|
137
136
|
async componentWillLoad() {
|
|
138
|
-
await q(this),
|
|
137
|
+
await q(this), K(this);
|
|
139
138
|
}
|
|
140
139
|
componentDidLoad() {
|
|
141
|
-
|
|
140
|
+
Y(this);
|
|
142
141
|
}
|
|
143
142
|
disconnectedCallback() {
|
|
144
|
-
this.removeReferences(),
|
|
143
|
+
this.removeReferences(), U(this), X(this), R(this, this.effectiveReferenceElement, this.el), h(this);
|
|
145
144
|
}
|
|
146
145
|
// --------------------------------------------------------------------------
|
|
147
146
|
//
|
|
@@ -154,7 +153,7 @@ const ie = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, v
|
|
|
154
153
|
* @param delayed
|
|
155
154
|
*/
|
|
156
155
|
async reposition(e = !1) {
|
|
157
|
-
const { el: t, effectiveReferenceElement: i, placement: s, overlayPositioning: c, flipDisabled: d, filteredFlipPlacements: a, offsetDistance: r, offsetSkidding: f, arrowEl:
|
|
156
|
+
const { el: t, effectiveReferenceElement: i, placement: s, overlayPositioning: c, flipDisabled: d, filteredFlipPlacements: a, offsetDistance: r, offsetSkidding: f, arrowEl: w } = this;
|
|
158
157
|
return A(this, {
|
|
159
158
|
floatingEl: t,
|
|
160
159
|
referenceEl: i,
|
|
@@ -164,7 +163,7 @@ const ie = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, v
|
|
|
164
163
|
flipPlacements: a,
|
|
165
164
|
offsetDistance: r,
|
|
166
165
|
offsetSkidding: f,
|
|
167
|
-
arrowEl:
|
|
166
|
+
arrowEl: w,
|
|
168
167
|
type: "popover"
|
|
169
168
|
}, e);
|
|
170
169
|
}
|
|
@@ -172,13 +171,13 @@ const ie = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, v
|
|
|
172
171
|
* Sets focus on the component's first focusable element.
|
|
173
172
|
*/
|
|
174
173
|
async setFocus() {
|
|
175
|
-
await
|
|
174
|
+
await j(this), C(this.el), z(this.el);
|
|
176
175
|
}
|
|
177
176
|
/**
|
|
178
177
|
* Updates the element(s) that are used within the focus-trap of the component.
|
|
179
178
|
*/
|
|
180
179
|
async updateFocusTrapElements() {
|
|
181
|
-
|
|
180
|
+
O(this);
|
|
182
181
|
}
|
|
183
182
|
getReferenceElement() {
|
|
184
183
|
const { referenceElement: e, el: t } = this;
|
|
@@ -188,13 +187,13 @@ const ie = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, v
|
|
|
188
187
|
this.calcitePopoverBeforeOpen.emit();
|
|
189
188
|
}
|
|
190
189
|
onOpen() {
|
|
191
|
-
this.calcitePopoverOpen.emit(),
|
|
190
|
+
this.calcitePopoverOpen.emit(), u(this);
|
|
192
191
|
}
|
|
193
192
|
onBeforeClose() {
|
|
194
193
|
this.calcitePopoverBeforeClose.emit();
|
|
195
194
|
}
|
|
196
195
|
onClose() {
|
|
197
|
-
this.calcitePopoverClose.emit(),
|
|
196
|
+
this.calcitePopoverClose.emit(), h(this);
|
|
198
197
|
}
|
|
199
198
|
// --------------------------------------------------------------------------
|
|
200
199
|
//
|
|
@@ -203,38 +202,21 @@ const ie = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, v
|
|
|
203
202
|
// --------------------------------------------------------------------------
|
|
204
203
|
renderCloseButton() {
|
|
205
204
|
const { messages: e, closable: t } = this;
|
|
206
|
-
return t ? n("div", { class: o.closeButtonContainer, key: o.closeButtonContainer }, n("calcite-action", {
|
|
207
|
-
appearance: "transparent",
|
|
208
|
-
class: o.closeButton,
|
|
209
|
-
onClick: this.hide,
|
|
210
|
-
scale: this.scale,
|
|
211
|
-
text: e.close,
|
|
212
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
213
|
-
ref: (i) => this.closeButtonEl = i
|
|
214
|
-
}, n("calcite-icon", { icon: "x", scale: N(this.scale) }))) : null;
|
|
205
|
+
return t ? n("div", { class: o.closeButtonContainer, key: o.closeButtonContainer }, n("calcite-action", { appearance: "transparent", class: o.closeButton, onClick: this.hide, ref: (i) => this.closeButtonEl = i, scale: this.scale, text: e.close }, n("calcite-icon", { icon: "x", scale: N(this.scale) }))) : null;
|
|
215
206
|
}
|
|
216
207
|
renderHeader() {
|
|
217
208
|
const { heading: e, headingLevel: t } = this, i = e ? n(M, { class: o.heading, level: t }, e) : null;
|
|
218
209
|
return i ? n("div", { class: o.header, key: o.header }, i, this.renderCloseButton()) : null;
|
|
219
210
|
}
|
|
220
211
|
render() {
|
|
221
|
-
const { effectiveReferenceElement: e, heading: t, label: i, open: s, pointerDisabled: c, floatingLayout: d } = this, a = e && s, r = !a, f = c ? null : n(
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
});
|
|
227
|
-
return n(H, { "aria-hidden": v(r), "aria-label": i, "aria-live": "polite", "calcite-hydrated-hidden": r, id: this.getId(), role: "dialog" }, n("div", {
|
|
228
|
-
class: {
|
|
229
|
-
[u.animation]: !0,
|
|
230
|
-
[u.animationActive]: a
|
|
231
|
-
},
|
|
232
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
233
|
-
ref: this.setTransitionEl
|
|
234
|
-
}, f, n("div", { class: {
|
|
212
|
+
const { effectiveReferenceElement: e, heading: t, label: i, open: s, pointerDisabled: c, floatingLayout: d } = this, a = e && s, r = !a, f = c ? null : n(G, { floatingLayout: d, key: "floating-arrow", ref: this.storeArrowEl });
|
|
213
|
+
return n(x, { key: "e8506c9d3ebc8207a1f247c7b170223c490b1e60", "aria-hidden": g(r), "aria-label": i, "aria-live": "polite", "calcite-hydrated-hidden": r, id: this.getId(), role: "dialog" }, n("div", { key: "ebf86df978ed5f949fccd65d7b20816b0ae1e444", class: {
|
|
214
|
+
[m.animation]: !0,
|
|
215
|
+
[m.animationActive]: a
|
|
216
|
+
}, ref: this.setTransitionEl }, f, n("div", { key: "3470845888172fdf0e0c6fbe3b0f514ef1d0a231", class: {
|
|
235
217
|
[o.hasHeader]: !!t,
|
|
236
218
|
[o.container]: !0
|
|
237
|
-
} }, this.renderHeader(), n("div", { class: o.content }, n("slot",
|
|
219
|
+
} }, this.renderHeader(), n("div", { key: "7db1c2b89d88ba5641e232e7ef16e1f8edc00c7b", class: o.content }, n("slot", { key: "f559c29d7b0d90140c05baed67e7c43b50b9a401" })), t ? null : this.renderCloseButton())));
|
|
238
220
|
}
|
|
239
221
|
static get assetsDirs() {
|
|
240
222
|
return ["assets"];
|
|
@@ -257,7 +239,7 @@ const ie = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, v
|
|
|
257
239
|
};
|
|
258
240
|
}
|
|
259
241
|
static get style() {
|
|
260
|
-
return
|
|
242
|
+
return ne;
|
|
261
243
|
}
|
|
262
244
|
}, [1, "calcite-popover", {
|
|
263
245
|
autoClose: [516, "auto-close"],
|
|
@@ -298,28 +280,28 @@ const ie = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, v
|
|
|
298
280
|
referenceElement: ["referenceElementHandler"],
|
|
299
281
|
effectiveLocale: ["effectiveLocaleChange"]
|
|
300
282
|
}]);
|
|
301
|
-
function
|
|
283
|
+
function ae() {
|
|
302
284
|
if (typeof customElements > "u")
|
|
303
285
|
return;
|
|
304
286
|
["calcite-popover", "calcite-action", "calcite-icon", "calcite-loader"].forEach((e) => {
|
|
305
287
|
switch (e) {
|
|
306
288
|
case "calcite-popover":
|
|
307
|
-
customElements.get(e) || customElements.define(e,
|
|
289
|
+
customElements.get(e) || customElements.define(e, oe);
|
|
308
290
|
break;
|
|
309
291
|
case "calcite-action":
|
|
310
|
-
customElements.get(e) ||
|
|
292
|
+
customElements.get(e) || V();
|
|
311
293
|
break;
|
|
312
294
|
case "calcite-icon":
|
|
313
|
-
customElements.get(e) ||
|
|
295
|
+
customElements.get(e) || Z();
|
|
314
296
|
break;
|
|
315
297
|
case "calcite-loader":
|
|
316
|
-
customElements.get(e) ||
|
|
298
|
+
customElements.get(e) || ee();
|
|
317
299
|
break;
|
|
318
300
|
}
|
|
319
301
|
});
|
|
320
302
|
}
|
|
321
|
-
|
|
303
|
+
ae();
|
|
322
304
|
export {
|
|
323
|
-
|
|
324
|
-
|
|
305
|
+
oe as P,
|
|
306
|
+
ae as d
|
|
325
307
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { proxyCustomElement as n, H as s, h as t } from "../../../../../../@stencil_core@4.
|
|
1
|
+
import { proxyCustomElement as n, H as s, h as t } from "../../../../../../@stencil_core@4.18.2/node_modules/@stencil/core/internal/client/index.js";
|
|
2
2
|
import { a as o } from "./dom.js";
|
|
3
3
|
import { C as l } from "./resources.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 c = ":host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:var(--calcite-z-index);inline-size:100%;overflow:hidden;background:var(--calcite-color-border-3)}.bar{z-index:var(--calcite-z-index);background-color:var(--calcite-color-brand)}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.indeterminate.calcite--rtl{animation-name:looping-progress-bar-ani-rtl}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(600%, 0, 0)}}@keyframes looping-progress-bar-ani-rtl{0%{transform:translate3d(100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(-600%, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}", d = /* @__PURE__ */ n(class extends s {
|
|
9
|
+
const c = ":host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:var(--calcite-z-index);inline-size:100%;overflow:hidden;background:var(--calcite-color-border-3)}.bar{z-index:var(--calcite-z-index);background-color:var(--calcite-color-brand)}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.indeterminate.calcite--rtl{animation-name:looping-progress-bar-ani-rtl}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(600%, 0, 0)}}@keyframes looping-progress-bar-ani-rtl{0%{transform:translate3d(100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(-600%, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}", d = c, m = /* @__PURE__ */ n(class extends s {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(), this.__registerHost(), this.__attachShadow(), this.type = "determinate", this.value = 0, this.label = void 0, this.text = void 0, this.reversed = !1;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const r = this.type === "determinate" ? { width: `${this.value * 100}%` } : {}, a = o(this.el);
|
|
15
|
-
return t("div", { "aria-label": this.label || this.text, "aria-valuemax": 1, "aria-valuemin": 0, "aria-valuenow": this.value, role: "progressbar" }, t("div", { class: "track" }, t("div", { class: {
|
|
15
|
+
return t("div", { key: "c86314688985d7c85e033a0115d0a074f7a6107b", "aria-label": this.label || this.text, "aria-valuemax": 1, "aria-valuemin": 0, "aria-valuenow": this.value, role: "progressbar" }, t("div", { key: "67cbdc62121dcc98469f4f087b0875bb81b205a1", class: "track" }, t("div", { key: "e2a222f91f461296ce3909cf4b1c711452258d91", class: {
|
|
16
16
|
bar: !0,
|
|
17
17
|
indeterminate: this.type === "indeterminate",
|
|
18
18
|
[l.rtl]: a === "rtl",
|
|
@@ -23,7 +23,7 @@ const c = ":host{position:relative;display:block;inline-size:100%}.track,.bar{po
|
|
|
23
23
|
return this;
|
|
24
24
|
}
|
|
25
25
|
static get style() {
|
|
26
|
-
return
|
|
26
|
+
return d;
|
|
27
27
|
}
|
|
28
28
|
}, [1, "calcite-progress", {
|
|
29
29
|
type: [513],
|
|
@@ -32,19 +32,19 @@ const c = ":host{position:relative;display:block;inline-size:100%}.track,.bar{po
|
|
|
32
32
|
text: [1],
|
|
33
33
|
reversed: [516]
|
|
34
34
|
}]);
|
|
35
|
-
function
|
|
35
|
+
function p() {
|
|
36
36
|
if (typeof customElements > "u")
|
|
37
37
|
return;
|
|
38
38
|
["calcite-progress"].forEach((e) => {
|
|
39
39
|
switch (e) {
|
|
40
40
|
case "calcite-progress":
|
|
41
|
-
customElements.get(e) || customElements.define(e,
|
|
41
|
+
customElements.get(e) || customElements.define(e, m);
|
|
42
42
|
break;
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
p();
|
|
47
47
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
m as P,
|
|
49
|
+
p as d
|
|
50
50
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.
|
|
4
|
+
* v2.9.0
|
|
5
5
|
*/
|
|
6
6
|
const a = "calcite-mode-auto", t = "calcite-mode-dark", e = "calcite-mode-light", c = {
|
|
7
7
|
autoMode: a,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0
|
|
5
|
+
*/
|
|
6
|
+
const n = {
|
|
7
|
+
brand: "lightbulb",
|
|
8
|
+
danger: "exclamationMarkTriangle",
|
|
9
|
+
info: "information",
|
|
10
|
+
success: "checkCircle",
|
|
11
|
+
warning: "exclamationMarkTriangle"
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
n as K
|
|
15
|
+
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import "../../../../../../@stencil_core@4.9.0/node_modules/@stencil/core/internal/client/index.js";
|
|
2
1
|
/*!
|
|
3
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
5
|
-
* v2.
|
|
4
|
+
* v2.9.0
|
|
6
5
|
*/
|
|
7
|
-
const
|
|
6
|
+
const n = {
|
|
7
|
+
wrapper: "wrapper",
|
|
8
|
+
wrapperBordered: "wrapper--bordered",
|
|
8
9
|
container: "container",
|
|
10
|
+
indent: "indent",
|
|
9
11
|
containerHover: "container--hover",
|
|
10
12
|
containerBorder: "container--border",
|
|
11
13
|
containerBorderSelected: "container--border-selected",
|
|
@@ -28,14 +30,14 @@ const u = {
|
|
|
28
30
|
selectionContainerSingle: "selection-container--single",
|
|
29
31
|
openContainer: "open-container",
|
|
30
32
|
dragContainer: "drag-container"
|
|
31
|
-
},
|
|
33
|
+
}, e = {
|
|
32
34
|
actionsStart: "actions-start",
|
|
33
35
|
contentStart: "content-start",
|
|
34
36
|
content: "content",
|
|
35
37
|
contentBottom: "content-bottom",
|
|
36
38
|
contentEnd: "content-end",
|
|
37
39
|
actionsEnd: "actions-end"
|
|
38
|
-
},
|
|
40
|
+
}, t = 0, o = {
|
|
39
41
|
selectedMultiple: "check-square-f",
|
|
40
42
|
selectedSingle: "bullet-point-large",
|
|
41
43
|
unselectedMultiple: "square",
|
|
@@ -45,31 +47,11 @@ const u = {
|
|
|
45
47
|
open: "chevron-down",
|
|
46
48
|
blank: "blank",
|
|
47
49
|
close: "x"
|
|
48
|
-
},
|
|
49
|
-
function p(n) {
|
|
50
|
-
return Array.from(n.assignedElements({ flatten: !0 }).filter((e) => e.matches(i)));
|
|
51
|
-
}
|
|
52
|
-
function g(n) {
|
|
53
|
-
const e = n.assignedElements({ flatten: !0 }), o = e.filter((t) => t == null ? void 0 : t.matches(a)).map((t) => Array.from(t.querySelectorAll(r))).reduce((t, c) => [...t, ...c], []), s = e.filter((t) => t == null ? void 0 : t.matches(r));
|
|
54
|
-
return [...e.filter((t) => t == null ? void 0 : t.matches(i)).map((t) => Array.from(t.querySelectorAll(r))).reduce((t, c) => [...t, ...c], []), ...o, ...s];
|
|
55
|
-
}
|
|
56
|
-
function f(n) {
|
|
57
|
-
n.forEach((e) => {
|
|
58
|
-
e.setPosition = n.indexOf(e) + 1, e.setSize = n.length;
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
function b(n, e = !1) {
|
|
62
|
-
const o = e ? "ancestor::calcite-list-item | ancestor::calcite-list-item-group" : "ancestor::calcite-list-item";
|
|
63
|
-
return document.evaluate(o, n, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null).snapshotLength;
|
|
64
|
-
}
|
|
50
|
+
}, c = "data-test-active";
|
|
65
51
|
export {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
b,
|
|
72
|
-
p as c,
|
|
73
|
-
g,
|
|
74
|
-
f as u
|
|
52
|
+
n as C,
|
|
53
|
+
o as I,
|
|
54
|
+
t as M,
|
|
55
|
+
e as S,
|
|
56
|
+
c as a
|
|
75
57
|
};
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { proxyCustomElement as o, H as r, h as t } from "../../../../../../@stencil_core@4.
|
|
1
|
+
import { proxyCustomElement as o, H as r, h as t } from "../../../../../../@stencil_core@4.18.2/node_modules/@stencil/core/internal/client/index.js";
|
|
2
2
|
import { c as l, d } from "./locale.js";
|
|
3
|
-
import { u as h, c as
|
|
3
|
+
import { u as h, c as f, s as m, d as g } from "./t9n.js";
|
|
4
4
|
import { c as u } from "./observers.js";
|
|
5
5
|
import { r as p } from "./dom.js";
|
|
6
6
|
import { d as v } from "./loader.js";
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
10
|
-
* v2.
|
|
10
|
+
* v2.9.0
|
|
11
11
|
*/
|
|
12
12
|
const i = {
|
|
13
13
|
scrim: "scrim",
|
|
14
14
|
content: "content"
|
|
15
|
-
},
|
|
15
|
+
}, a = {
|
|
16
16
|
s: 72,
|
|
17
|
+
// Less than 72px.
|
|
17
18
|
// medium is assumed default.
|
|
18
19
|
l: 480
|
|
19
20
|
// Greater than or equal to 480px.
|
|
20
|
-
}, C = ":host{--calcite-scrim-background:var(--calcite-color-transparent-scrim);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-color-transparent-scrim))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}", b = /* @__PURE__ */ o(class extends r {
|
|
21
|
+
}, C = ":host{--calcite-scrim-background:var(--calcite-color-transparent-scrim);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-color-transparent-scrim))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}", b = C, S = /* @__PURE__ */ o(class extends r {
|
|
21
22
|
constructor() {
|
|
22
23
|
super(), this.__registerHost(), this.__attachShadow(), this.resizeObserver = u("resize", () => this.handleResize()), this.handleDefaultSlotChange = (e) => {
|
|
23
24
|
this.hasContent = p(e);
|
|
@@ -37,10 +38,10 @@ const i = {
|
|
|
37
38
|
//--------------------------------------------------------------------------
|
|
38
39
|
connectedCallback() {
|
|
39
40
|
var e;
|
|
40
|
-
l(this),
|
|
41
|
+
l(this), f(this), (e = this.resizeObserver) == null || e.observe(this.el);
|
|
41
42
|
}
|
|
42
43
|
async componentWillLoad() {
|
|
43
|
-
await
|
|
44
|
+
await m(this);
|
|
44
45
|
}
|
|
45
46
|
disconnectedCallback() {
|
|
46
47
|
var e;
|
|
@@ -53,15 +54,10 @@ const i = {
|
|
|
53
54
|
// --------------------------------------------------------------------------
|
|
54
55
|
render() {
|
|
55
56
|
const { hasContent: e, loading: s, messages: c } = this;
|
|
56
|
-
return t("div", { class: i.scrim }, s ? t("calcite-loader", {
|
|
57
|
-
label: c.loading,
|
|
58
|
-
scale: this.loaderScale,
|
|
59
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
60
|
-
ref: this.storeLoaderEl
|
|
61
|
-
}) : null, t("div", { class: i.content, hidden: !e }, t("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
57
|
+
return t("div", { key: "8da71202fdcfc4d149c91d99870c2be6254baecd", class: i.scrim }, s ? t("calcite-loader", { label: c.loading, ref: this.storeLoaderEl, scale: this.loaderScale }) : null, t("div", { key: "893fff6ab8f12415f79cc1a51831029a25215523", class: i.content, hidden: !e }, t("slot", { key: "08f17320892c630d53a80f5853299f4d7cc72a7e", onSlotchange: this.handleDefaultSlotChange })));
|
|
62
58
|
}
|
|
63
59
|
getScale(e) {
|
|
64
|
-
return e <
|
|
60
|
+
return e < a.s ? "s" : e >= a.l ? "l" : "m";
|
|
65
61
|
}
|
|
66
62
|
handleResize() {
|
|
67
63
|
const { loaderEl: e, el: s } = this;
|
|
@@ -80,7 +76,7 @@ const i = {
|
|
|
80
76
|
};
|
|
81
77
|
}
|
|
82
78
|
static get style() {
|
|
83
|
-
return
|
|
79
|
+
return b;
|
|
84
80
|
}
|
|
85
81
|
}, [1, "calcite-scrim", {
|
|
86
82
|
loading: [516],
|
|
@@ -94,13 +90,13 @@ const i = {
|
|
|
94
90
|
messageOverrides: ["onMessagesChange"],
|
|
95
91
|
effectiveLocale: ["effectiveLocaleChange"]
|
|
96
92
|
}]);
|
|
97
|
-
function
|
|
93
|
+
function y() {
|
|
98
94
|
if (typeof customElements > "u")
|
|
99
95
|
return;
|
|
100
96
|
["calcite-scrim", "calcite-loader"].forEach((e) => {
|
|
101
97
|
switch (e) {
|
|
102
98
|
case "calcite-scrim":
|
|
103
|
-
customElements.get(e) || customElements.define(e,
|
|
99
|
+
customElements.get(e) || customElements.define(e, S);
|
|
104
100
|
break;
|
|
105
101
|
case "calcite-loader":
|
|
106
102
|
customElements.get(e) || v();
|
|
@@ -108,8 +104,8 @@ function S() {
|
|
|
108
104
|
}
|
|
109
105
|
});
|
|
110
106
|
}
|
|
111
|
-
|
|
107
|
+
y();
|
|
112
108
|
export {
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
S,
|
|
110
|
+
y as d
|
|
115
111
|
};
|