@agrotools1/at-components 0.6.15 → 0.6.16
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 +8 -9
- 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 +3 -4
- 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 +8 -9
- package/dist/DataTable/DataTable.vue.js +5 -5
- package/dist/DataTable/index.d.ts +37 -37
- package/dist/DatePicker/DatePicker.d.ts +21 -22
- 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 +1 -2
- 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 +6 -7
- 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 +12 -13
- package/dist/Dropdown/Checklist/Dropdown.Checklist.vue.js +20 -20
- package/dist/Dropdown/Checklist/draggable.d.ts +1 -2
- package/dist/Dropdown/Dropdown.core.d.ts +8 -9
- 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 +4 -5
- package/dist/Faq/FaqItem/FaqItem.vue.js +1 -1
- package/dist/Filter/components/Filter.types.d.ts +1 -2
- package/dist/Filter/components/Filter.vue.js +14 -14
- package/dist/Filter/index.d.ts +2 -3
- package/dist/Filter/tests/mocks.d.ts +2 -3
- 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 +351 -352
- package/dist/Input/Input.core.vue.js +9 -9
- package/dist/Input/imgs/error.svg.js +2 -2
- package/dist/Input/index.d.ts +1688 -1689
- 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 +1 -2
- package/dist/List/components/List.vue.js +6 -6
- package/dist/List/components/List.vue3.js +2 -2
- package/dist/List/index.d.ts +2 -3
- package/dist/List/tests/mocks.d.ts +1 -2
- package/dist/Loading/Loading.d.ts +2 -2
- package/dist/Map/Map.d.ts +9 -10
- package/dist/Map/utils/index.d.ts +1 -2
- package/dist/Modal/Modal.d.ts +8 -9
- package/dist/Modal/Modal.vue.js +16 -16
- 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 +9 -9
- package/dist/Notifications/Notifications.vue.js +6 -6
- 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 +3 -4
- 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 +6 -7
- package/dist/Search/Search.vue.js +1 -1
- package/dist/Search/test.mocks.d.ts +1 -2
- package/dist/Search/utils.d.ts +1 -2
- 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 +11 -12
- package/dist/Select/Multiple/Select.multiple.vue.js +1 -1
- package/dist/Select/Select.core.d.ts +7 -8
- package/dist/Select/Single/Select.single.d.ts +10 -11
- 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 +21 -22
- package/dist/Skeleton/Skeleton.d.ts +2 -2
- package/dist/Stepper/Stepper.vue.js +11 -11
- package/dist/TableConfig/TableConfig.d.ts +10 -11
- package/dist/TableConfig/TableConfig.vue.js +2 -2
- package/dist/TableConfig/test/mocks.d.ts +1 -2
- 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 +8 -9
- package/dist/Tabs/Tabs.vue.js +7 -7
- package/dist/Tabs/Tabs.vue3.js +2 -2
- package/dist/Tag/Tag.d.ts +6 -7
- 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 +11 -12
- package/dist/Tooltip/Tooltip.vue.js +2 -2
- package/dist/Upload/MultipleUpload/MultipleUpload.d.ts +7 -8
- package/dist/Upload/MultipleUpload/MultipleUpload.vue.js +5 -5
- package/dist/Upload/SingleUpload/SingleUpload.d.ts +5 -6
- package/dist/Upload/SingleUpload/SingleUpload.vue.js +1 -1
- package/dist/Upload/Upload.d.ts +3 -4
- 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 +5 -6
- 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.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/ExpandToggle.js +12 -3
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/FloatingArrow.js +12 -3
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/Heading.js +2 -2
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/Validation.js +2 -2
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/action-group.js +25 -25
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/action-menu.js +34 -25
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/action.js +57 -46
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/array.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/button.js +36 -18
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-action-bar.js +32 -21
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-action-group.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-action.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-button.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-flow-item.js +62 -33
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-flow.js +22 -22
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-icon.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-input.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-label.js +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 +70 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-list-item.js +391 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-list.js +102 -92
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-loader.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-modal.js +39 -23
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-notice.js +29 -19
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-option.js +12 -12
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-scrim.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/calcite-select.js +43 -52
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/component.js +18 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/conditionalSlot.js +27 -0
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/debounce.js +121 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/dom.js +15 -15
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/filter.js +154 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/filter2.js +40 -26
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/floating-ui.js +305 -347
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/focusTrapComponent.js +2 -2
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/form.js +138 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/guid.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/handle.js +28 -29
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/icon.js +41 -48
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/index.js +2 -2
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/input-message.js +80 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/input.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/input2.js +135 -104
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/interactive.js +2 -2
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/key.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/label.js +8 -8
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/label2.js +2 -2
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/loadable.js +25 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/loader.js +12 -12
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/locale.js +2 -2
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/observers.js +2 -2
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/openCloseComponent.js +37 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/panel.js +75 -77
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/popover.js +81 -63
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/progress.js +10 -10
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/resources.js +1 -1
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/resources2.js +12 -0
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/scrim.js +20 -16
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/sortableComponent.js +1 -1
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/stack.js +16 -16
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0 → @esri_calcite-components@2.7.1}/node_modules/@esri/calcite-components/dist/components/t9n.js +18 -20
- package/dist/node_modules/.pnpm/{@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/resources4.js → @esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/utils3.js} +31 -13
- package/dist/node_modules/.pnpm/{@stencil_core@4.18.2 → @stencil_core@4.9.0}/node_modules/@stencil/core/internal/app-data/index.js +1 -2
- package/dist/node_modules/.pnpm/@stencil_core@4.9.0/node_modules/@stencil/core/internal/client/index.js +560 -0
- package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.40/node_modules/@zip.js/zip.js/lib/core/zip-reader.js +402 -0
- package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.40/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.9.0/node_modules/@esri/calcite-components/dist/components/calcite-list-item-group.js +0 -68
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/calcite-list-item.js +0 -348
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/component.js +0 -23
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/conditionalSlot.js +0 -24
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/debounce.js +0 -129
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/filter.js +0 -164
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/form.js +0 -151
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/input-message.js +0 -80
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/loadable.js +0 -21
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/openCloseComponent.js +0 -38
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/resources2.js +0 -15
- package/dist/node_modules/.pnpm/@esri_calcite-components@2.9.0/node_modules/@esri/calcite-components/dist/components/utils3.js +0 -29
- package/dist/node_modules/.pnpm/@stencil_core@4.18.2/node_modules/@stencil/core/internal/client/index.js +0 -675
- package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.45/node_modules/@zip.js/zip.js/lib/core/zip-reader.js +0 -401
- package/dist/node_modules/.pnpm/@zip.js_zip.js@2.7.45/node_modules/@zip.js/zip.js/lib/z-worker-inline.js +0 -8
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.45 → @zip.js_zip.js@2.7.40}/node_modules/@zip.js/zip.js/index.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.45 → @zip.js_zip.js@2.7.40}/node_modules/@zip.js/zip.js/lib/core/codec-pool.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.45 → @zip.js_zip.js@2.7.40}/node_modules/@zip.js/zip.js/lib/core/codec-worker.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.45 → @zip.js_zip.js@2.7.40}/node_modules/@zip.js/zip.js/lib/core/configuration.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.45 → @zip.js_zip.js@2.7.40}/node_modules/@zip.js/zip.js/lib/core/constants.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.45 → @zip.js_zip.js@2.7.40}/node_modules/@zip.js/zip.js/lib/core/io.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/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.45 → @zip.js_zip.js@2.7.40}/node_modules/@zip.js/zip.js/lib/core/zip-entry.js +0 -0
- /package/dist/node_modules/.pnpm/{@zip.js_zip.js@2.7.45 → @zip.js_zip.js@2.7.40}/node_modules/@zip.js/zip.js/lib/zip-fs.js +0 -0
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { proxyCustomElement as
|
|
2
|
-
import { d as b, t as
|
|
3
|
-
import { c as
|
|
1
|
+
import { proxyCustomElement as A, H as y, createEvent as p, h as r } from "../../../../../../@stencil_core@4.9.0/node_modules/@stencil/core/internal/client/index.js";
|
|
2
|
+
import { d as b, t as k } from "./dom.js";
|
|
3
|
+
import { c as D, u as O, d as T, I as P } from "./interactive.js";
|
|
4
4
|
import { c as M } from "./observers.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { d as
|
|
8
|
-
import {
|
|
9
|
-
import { s as G, a as _, c as q } from "./loadable.js";
|
|
5
|
+
import { u as R, g as H, M as U } from "./utils3.js";
|
|
6
|
+
import { d as E, a as $, c as z } from "./sortableComponent.js";
|
|
7
|
+
import { d as N, S as v } from "./stack.js";
|
|
8
|
+
import { s as q, a as G, c as _ } from "./loadable.js";
|
|
10
9
|
import { c as K, s as B, d as W, u as X } from "./t9n.js";
|
|
11
|
-
import {
|
|
12
|
-
import { d as
|
|
13
|
-
import { d as
|
|
14
|
-
import { d as
|
|
15
|
-
import { d as
|
|
16
|
-
import { d as
|
|
17
|
-
import { d as
|
|
18
|
-
import { d as
|
|
19
|
-
import { d as
|
|
10
|
+
import { n as C } from "./locale.js";
|
|
11
|
+
import { d as j } from "./filter2.js";
|
|
12
|
+
import { d as J } from "./icon.js";
|
|
13
|
+
import { d as Q } from "./input2.js";
|
|
14
|
+
import { d as V } from "./input-message.js";
|
|
15
|
+
import { d as Y } from "./loader.js";
|
|
16
|
+
import { d as Z } from "./progress.js";
|
|
17
|
+
import { d as ee } from "./scrim.js";
|
|
18
|
+
import { d as te } from "./debounce.js";
|
|
20
19
|
/*!
|
|
21
20
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
22
21
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
23
|
-
* v2.
|
|
22
|
+
* v2.7.1
|
|
24
23
|
*/
|
|
25
24
|
const f = {
|
|
26
25
|
container: "container",
|
|
@@ -30,14 +29,14 @@ const f = {
|
|
|
30
29
|
tableContainer: "table-container",
|
|
31
30
|
sticky: "sticky-pos",
|
|
32
31
|
assistiveText: "assistive-text"
|
|
33
|
-
},
|
|
32
|
+
}, se = 0, L = {
|
|
34
33
|
filterNoResults: "filter-no-results",
|
|
35
34
|
filterActionsStart: "filter-actions-start",
|
|
36
35
|
filterActionsEnd: "filter-actions-end"
|
|
37
|
-
},
|
|
36
|
+
}, ie = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{position:relative}.table-container{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}.stack{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}::slotted(calcite-list-item){--tw-shadow:0 -1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 -1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);margin-block-start:1px}::slotted(calcite-list-item:first-of-type){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item[data-filter]){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);margin-block-start:0px}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-color-foreground-1)}.sticky-pos th{padding:0px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}", I = "calcite-list-item", ae = ":scope > calcite-list-item", ne = "calcite-list-item-group, calcite-list-item", S = /* @__PURE__ */ A(class extends y {
|
|
38
37
|
constructor() {
|
|
39
38
|
super(), this.__registerHost(), this.__attachShadow(), this.calciteListChange = p(this, "calciteListChange", 6), this.calciteListDragEnd = p(this, "calciteListDragEnd", 6), this.calciteListDragStart = p(this, "calciteListDragStart", 6), this.calciteListFilter = p(this, "calciteListFilter", 6), this.calciteListOrderChange = p(this, "calciteListOrderChange", 6), this.calciteInternalListDefaultSlotChange = p(this, "calciteInternalListDefaultSlotChange", 6), this.dragSelector = I, this.focusableItems = [], this.handleSelector = "calcite-handle", this.listItems = [], this.mutationObserver = M("mutation", () => this.updateListItems()), this.visibleItems = [], this.handleDefaultSlotChange = (e) => {
|
|
40
|
-
H(
|
|
39
|
+
R(H(e.target)), this.parentListEl && this.calciteInternalListDefaultSlotChange.emit();
|
|
41
40
|
}, this.handleFilterActionsStartSlotChange = (e) => {
|
|
42
41
|
this.hasFilterActionsStart = b(e);
|
|
43
42
|
}, this.handleFilterActionsEndSlotChange = (e) => {
|
|
@@ -49,12 +48,9 @@ const f = {
|
|
|
49
48
|
e.some((t) => t.active) || e[0] && (e[0].active = !0);
|
|
50
49
|
}, this.updateSelectedItems = (e = !1) => {
|
|
51
50
|
this.selectedItems = this.visibleItems.filter((t) => t.selected), e && this.calciteListChange.emit();
|
|
52
|
-
}, this.borderItems = () => {
|
|
53
|
-
const e = this.visibleItems.filter((t) => !t.filterHidden && this.allParentListItemsOpen(t));
|
|
54
|
-
e.forEach((t) => t.bordered = t !== e[e.length - 1]);
|
|
55
51
|
}, this.updateFilteredItems = (e = !1) => {
|
|
56
|
-
const { visibleItems: t, filteredData: s, filterText: i } = this,
|
|
57
|
-
a.forEach((o) => this.filterElements({ el: o, filteredItems:
|
|
52
|
+
const { visibleItems: t, filteredData: s, filterText: i } = this, l = s.map((o) => o.value), a = t == null ? void 0 : t.filter((o) => t.every((d) => d === o || !o.contains(d))), n = t.filter((o) => !i || l.includes(o.value)) || [], c = /* @__PURE__ */ new WeakSet();
|
|
53
|
+
a.forEach((o) => this.filterElements({ el: o, filteredItems: n, visibleParents: c })), n.length > 0 && this.findAncestorOfFirstFilteredItem(n), this.filteredItems = n, e && this.calciteListFilter.emit();
|
|
58
54
|
}, this.setFilterEl = (e) => {
|
|
59
55
|
this.filterEl = e, this.performFilter();
|
|
60
56
|
}, this.handleFilterChange = (e) => {
|
|
@@ -66,18 +62,21 @@ const f = {
|
|
|
66
62
|
description: e.description,
|
|
67
63
|
metadata: e.metadata,
|
|
68
64
|
value: e.value
|
|
69
|
-
})), this.updateListItems =
|
|
70
|
-
const { selectionAppearance: t, selectionMode: s, dragEnabled: i } = this
|
|
71
|
-
if (
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}), this.parentListEl) {
|
|
76
|
-
this.setUpSorting();
|
|
65
|
+
})), this.updateListItems = te((e = !1) => {
|
|
66
|
+
const { selectionAppearance: t, selectionMode: s, dragEnabled: i } = this;
|
|
67
|
+
if (this.parentListEl) {
|
|
68
|
+
this.queryListItems(!0).forEach((c) => {
|
|
69
|
+
c.dragHandle = i;
|
|
70
|
+
}), this.setUpSorting();
|
|
77
71
|
return;
|
|
78
72
|
}
|
|
79
|
-
|
|
80
|
-
|
|
73
|
+
const l = this.queryListItems();
|
|
74
|
+
l.forEach((n) => {
|
|
75
|
+
n.selectionAppearance = t, n.selectionMode = s;
|
|
76
|
+
}), this.queryListItems(!0).forEach((n) => {
|
|
77
|
+
n.dragHandle = i;
|
|
78
|
+
}), this.listItems = l, this.filterEnabled && (this.dataForFilter = this.getItemData(), this.filterEl && (this.filterEl.items = this.dataForFilter)), this.visibleItems = this.listItems.filter((n) => !n.closed && !n.hidden), this.updateFilteredItems(e), this.focusableItems = this.filteredItems.filter((n) => !n.disabled), this.setActiveListItem(), this.updateSelectedItems(e), this.setUpSorting();
|
|
79
|
+
}, se), this.queryListItems = (e = !1) => Array.from(this.el.querySelectorAll(e ? ae : I)), this.focusRow = (e) => {
|
|
81
80
|
const { focusableItems: t } = this;
|
|
82
81
|
e && (t.forEach((s) => s.active = s === e), e.setFocus());
|
|
83
82
|
}, this.isNavigable = (e) => {
|
|
@@ -85,7 +84,7 @@ const f = {
|
|
|
85
84
|
const t = (s = e.parentElement) == null ? void 0 : s.closest(I);
|
|
86
85
|
return t ? t.open && this.isNavigable(t) : !0;
|
|
87
86
|
}, this.handleListKeydown = (e) => {
|
|
88
|
-
var
|
|
87
|
+
var l;
|
|
89
88
|
if (e.defaultPrevented || this.parentListEl)
|
|
90
89
|
return;
|
|
91
90
|
const { key: t } = e, s = this.focusableItems.filter((a) => this.isNavigable(a)), i = s.findIndex((a) => a.active);
|
|
@@ -95,7 +94,7 @@ const f = {
|
|
|
95
94
|
s[a] && this.focusRow(s[a]);
|
|
96
95
|
} else if (t === "ArrowUp") {
|
|
97
96
|
if (e.preventDefault(), i === 0 && this.filterEnabled) {
|
|
98
|
-
(
|
|
97
|
+
(l = this.filterEl) == null || l.setFocus();
|
|
99
98
|
return;
|
|
100
99
|
}
|
|
101
100
|
const a = i - 1;
|
|
@@ -109,6 +108,21 @@ const f = {
|
|
|
109
108
|
const a = s[s.length - 1];
|
|
110
109
|
a && this.focusRow(a);
|
|
111
110
|
}
|
|
111
|
+
}, this.findAncestorOfFirstFilteredItem = (e) => {
|
|
112
|
+
var t, s;
|
|
113
|
+
(t = this.ancestorOfFirstFilteredItem) == null || t.removeAttribute("data-filter"), e.forEach((i) => {
|
|
114
|
+
i.removeAttribute("data-filter");
|
|
115
|
+
}), this.ancestorOfFirstFilteredItem = this.getTopLevelAncestorItemElement(e[0]), e[0].setAttribute("data-filter", "0"), (s = this.ancestorOfFirstFilteredItem) == null || s.setAttribute("data-filter", "0");
|
|
116
|
+
}, this.getTopLevelAncestorItemElement = (e) => {
|
|
117
|
+
let t = e.parentElement.closest(I);
|
|
118
|
+
for (; t; ) {
|
|
119
|
+
const s = t.parentElement.closest(I);
|
|
120
|
+
if (s)
|
|
121
|
+
t = s;
|
|
122
|
+
else
|
|
123
|
+
return t;
|
|
124
|
+
}
|
|
125
|
+
return null;
|
|
112
126
|
}, this.disabled = !1, this.canPull = void 0, this.canPut = void 0, this.dragEnabled = !1, this.group = void 0, this.filterEnabled = !1, this.filteredItems = [], this.filteredData = [], this.filterPlaceholder = void 0, this.filterText = void 0, this.label = void 0, this.loading = !1, this.messageOverrides = void 0, this.messages = void 0, this.numberingSystem = void 0, this.openable = !1, this.selectedItems = [], this.selectionMode = "none", this.selectionAppearance = "icon", this.effectiveLocale = "", this.defaultMessages = void 0, this.assistiveText = void 0, this.dataForFilter = [], this.hasFilterActionsEnd = !1, this.hasFilterActionsStart = !1, this.hasFilterNoResults = !1;
|
|
113
127
|
}
|
|
114
128
|
async handleFilterTextChange() {
|
|
@@ -119,14 +133,11 @@ const f = {
|
|
|
119
133
|
handleListItemChange() {
|
|
120
134
|
this.updateListItems();
|
|
121
135
|
}
|
|
122
|
-
handleCalciteListItemToggle(e) {
|
|
123
|
-
this.parentListEl || (e.stopPropagation(), this.borderItems());
|
|
124
|
-
}
|
|
125
136
|
handleCalciteInternalFocusPreviousItem(e) {
|
|
126
137
|
if (this.parentListEl)
|
|
127
138
|
return;
|
|
128
139
|
e.stopPropagation();
|
|
129
|
-
const { focusableItems: t } = this, i = t.findIndex((
|
|
140
|
+
const { focusableItems: t } = this, i = t.findIndex((l) => l.active) - 1;
|
|
130
141
|
t[i] && this.focusRow(t[i]);
|
|
131
142
|
}
|
|
132
143
|
handleCalciteInternalListItemActive(e) {
|
|
@@ -152,16 +163,16 @@ const f = {
|
|
|
152
163
|
return;
|
|
153
164
|
e.stopPropagation();
|
|
154
165
|
const t = e.target, { listItems: s, selectionMode: i } = this;
|
|
155
|
-
t.selected && (i === "single" || i === "single-persist") && s.forEach((
|
|
166
|
+
t.selected && (i === "single" || i === "single-persist") && s.forEach((l) => l.selected = l === t), this.updateSelectedItems();
|
|
156
167
|
}
|
|
157
168
|
handleCalciteInternalListItemSelectMultiple(e) {
|
|
158
169
|
if (this.parentListEl)
|
|
159
170
|
return;
|
|
160
171
|
e.stopPropagation();
|
|
161
|
-
const { target: t, detail: s } = e, { focusableItems: i, lastSelectedInfo:
|
|
162
|
-
if (s.selectMultiple &&
|
|
163
|
-
const
|
|
164
|
-
i.slice(o, d + 1).forEach((m) => m.selected =
|
|
172
|
+
const { target: t, detail: s } = e, { focusableItems: i, lastSelectedInfo: l } = this, a = t;
|
|
173
|
+
if (s.selectMultiple && l) {
|
|
174
|
+
const n = i.indexOf(a), c = i.indexOf(l.selectedItem), o = Math.min(c, n), d = Math.max(c, n);
|
|
175
|
+
i.slice(o, d + 1).forEach((m) => m.selected = l.selected);
|
|
165
176
|
} else
|
|
166
177
|
this.lastSelectedInfo = { selectedItem: a, selected: a.selected };
|
|
167
178
|
}
|
|
@@ -177,19 +188,19 @@ const f = {
|
|
|
177
188
|
//
|
|
178
189
|
//--------------------------------------------------------------------------
|
|
179
190
|
connectedCallback() {
|
|
180
|
-
E(this) || (
|
|
191
|
+
E(this) || (K(this), this.connectObserver(), this.updateListItems(), this.setUpSorting(), D(this), this.setParentList());
|
|
181
192
|
}
|
|
182
193
|
async componentWillLoad() {
|
|
183
|
-
|
|
194
|
+
q(this), await B(this);
|
|
184
195
|
}
|
|
185
196
|
componentDidRender() {
|
|
186
|
-
|
|
197
|
+
O(this);
|
|
187
198
|
}
|
|
188
199
|
componentDidLoad() {
|
|
189
|
-
|
|
200
|
+
G(this);
|
|
190
201
|
}
|
|
191
202
|
disconnectedCallback() {
|
|
192
|
-
E(this) || (this.disconnectObserver(),
|
|
203
|
+
E(this) || (this.disconnectObserver(), $(this), T(this), W(this));
|
|
193
204
|
}
|
|
194
205
|
effectiveLocaleChange() {
|
|
195
206
|
X(this, this.effectiveLocale);
|
|
@@ -206,7 +217,7 @@ const f = {
|
|
|
206
217
|
*/
|
|
207
218
|
async setFocus() {
|
|
208
219
|
var e, t;
|
|
209
|
-
return await
|
|
220
|
+
return await _(this), this.filterEnabled ? (e = this.filterEl) == null ? void 0 : e.setFocus() : (t = this.focusableItems.find((s) => s.active)) == null ? void 0 : t.setFocus();
|
|
210
221
|
}
|
|
211
222
|
// --------------------------------------------------------------------------
|
|
212
223
|
//
|
|
@@ -214,8 +225,17 @@ const f = {
|
|
|
214
225
|
//
|
|
215
226
|
// --------------------------------------------------------------------------
|
|
216
227
|
render() {
|
|
217
|
-
const { loading: e, label: t, disabled: s, dataForFilter: i, filterEnabled:
|
|
218
|
-
return r(
|
|
228
|
+
const { loading: e, label: t, disabled: s, dataForFilter: i, filterEnabled: l, filterPlaceholder: a, filterText: n, filteredItems: c, hasFilterActionsStart: o, hasFilterActionsEnd: d, hasFilterNoResults: m } = this;
|
|
229
|
+
return r(P, { disabled: this.disabled }, r("div", { class: f.container }, this.dragEnabled ? r("span", { "aria-live": "assertive", class: f.assistiveText }, this.assistiveText) : null, this.renderItemAriaLive(), e ? r("calcite-scrim", { class: f.scrim, loading: e }) : null, r("table", { "aria-busy": k(e), "aria-label": t || "", class: f.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, l || o || d ? r("thead", { class: f.sticky }, r("tr", null, r("th", { colSpan: U }, r("calcite-stack", { class: f.stack }, r("slot", { name: L.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: v.actionsStart }), r("calcite-filter", {
|
|
230
|
+
"aria-label": a,
|
|
231
|
+
disabled: s,
|
|
232
|
+
items: i,
|
|
233
|
+
onCalciteFilterChange: this.handleFilterChange,
|
|
234
|
+
placeholder: a,
|
|
235
|
+
value: n,
|
|
236
|
+
// 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)
|
|
237
|
+
ref: this.setFilterEl
|
|
238
|
+
}), r("slot", { name: L.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: v.actionsEnd }))))) : null, r("tbody", { class: f.tableContainer }, r("slot", { onSlotchange: this.handleDefaultSlotChange }))), r("div", { "aria-live": "polite", "data-test-id": "no-results-container", hidden: !(m && l && n && !c.length) }, r("slot", { name: L.filterNoResults, onSlotchange: this.handleFilterNoResultsSlotChange }))));
|
|
219
239
|
}
|
|
220
240
|
// --------------------------------------------------------------------------
|
|
221
241
|
//
|
|
@@ -223,11 +243,11 @@ const f = {
|
|
|
223
243
|
//
|
|
224
244
|
// --------------------------------------------------------------------------
|
|
225
245
|
renderItemAriaLive() {
|
|
226
|
-
const { messages: e, filteredItems: t, parentListEl: s, effectiveLocale: i, numberingSystem:
|
|
227
|
-
return
|
|
246
|
+
const { messages: e, filteredItems: t, parentListEl: s, effectiveLocale: i, numberingSystem: l, filterEnabled: a, filterText: n, filteredData: c } = this;
|
|
247
|
+
return C.numberFormatOptions = {
|
|
228
248
|
locale: i,
|
|
229
|
-
numberingSystem:
|
|
230
|
-
}, s ? null : r("div", { "aria-live": "polite", class: f.assistiveText }, a &&
|
|
249
|
+
numberingSystem: l
|
|
250
|
+
}, s ? null : r("div", { "aria-live": "polite", class: f.assistiveText }, a && n && (c != null && c.length) ? r("div", { key: "aria-filter-enabled" }, e.filterEnabled) : null, r("div", { key: "aria-item-count" }, e.total.replace("{count}", C.localize(t.length.toString()))), t.length ? r("ol", { key: "aria-item-list" }, t.map((o) => r("li", null, o.label))) : null);
|
|
231
251
|
}
|
|
232
252
|
connectObserver() {
|
|
233
253
|
var e;
|
|
@@ -239,7 +259,7 @@ const f = {
|
|
|
239
259
|
}
|
|
240
260
|
setUpSorting() {
|
|
241
261
|
const { dragEnabled: e } = this;
|
|
242
|
-
e &&
|
|
262
|
+
e && z(this);
|
|
243
263
|
}
|
|
244
264
|
onGlobalDragStart() {
|
|
245
265
|
this.disconnectObserver();
|
|
@@ -263,23 +283,13 @@ const f = {
|
|
|
263
283
|
filterElements({ el: e, filteredItems: t, visibleParents: s }) {
|
|
264
284
|
const i = !s.has(e) && !t.includes(e);
|
|
265
285
|
e.filterHidden = i;
|
|
266
|
-
const
|
|
267
|
-
|
|
268
|
-
el:
|
|
286
|
+
const l = e.parentElement.closest(ne);
|
|
287
|
+
l && (i || s.add(l), this.filterElements({
|
|
288
|
+
el: l,
|
|
269
289
|
filteredItems: t,
|
|
270
290
|
visibleParents: s
|
|
271
291
|
}));
|
|
272
292
|
}
|
|
273
|
-
allParentListItemsOpen(e) {
|
|
274
|
-
var s;
|
|
275
|
-
const t = (s = e.parentElement) == null ? void 0 : s.closest(I);
|
|
276
|
-
if (t) {
|
|
277
|
-
if (!t.open)
|
|
278
|
-
return !1;
|
|
279
|
-
} else
|
|
280
|
-
return !0;
|
|
281
|
-
return this.allParentListItemsOpen(t);
|
|
282
|
-
}
|
|
283
293
|
updateFilteredData(e = !1) {
|
|
284
294
|
const { filterEl: t } = this;
|
|
285
295
|
t && (t.filteredItems && (this.filteredData = t.filteredItems), this.updateListItems(e));
|
|
@@ -289,15 +299,15 @@ const f = {
|
|
|
289
299
|
e && (e.value = t, await e.filter(t), this.updateFilteredData());
|
|
290
300
|
}
|
|
291
301
|
handleNudgeEvent(e) {
|
|
292
|
-
const { handleSelector: t, dragSelector: s } = this, { direction: i } = e.detail,
|
|
302
|
+
const { handleSelector: t, dragSelector: s } = this, { direction: i } = e.detail, l = e.composedPath(), a = l.find((h) => (h == null ? void 0 : h.tagName) && h.matches(t)), n = l.find((h) => (h == null ? void 0 : h.tagName) && h.matches(s)), c = n == null ? void 0 : n.parentElement;
|
|
293
303
|
if (!c)
|
|
294
304
|
return;
|
|
295
|
-
const { filteredItems: o } = this, d = o.filter((h) => h.parentElement === c), m = d.length - 1, g = d.indexOf(
|
|
305
|
+
const { filteredItems: o } = this, d = o.filter((h) => h.parentElement === c), m = d.length - 1, g = d.indexOf(n);
|
|
296
306
|
let u;
|
|
297
307
|
i === "up" ? u = g === 0 ? m : g - 1 : u = g === m ? 0 : g + 1, this.disconnectObserver(), a.blurUnselectDisabled = !0;
|
|
298
|
-
const
|
|
299
|
-
c.insertBefore(
|
|
300
|
-
dragEl:
|
|
308
|
+
const w = i === "up" && u !== m || i === "down" && u === 0 ? d[u] : d[u].nextSibling;
|
|
309
|
+
c.insertBefore(n, w), this.updateListItems(), this.connectObserver(), this.calciteListOrderChange.emit({
|
|
310
|
+
dragEl: n,
|
|
301
311
|
fromEl: c,
|
|
302
312
|
toEl: c,
|
|
303
313
|
newIndex: u,
|
|
@@ -323,7 +333,7 @@ const f = {
|
|
|
323
333
|
};
|
|
324
334
|
}
|
|
325
335
|
static get style() {
|
|
326
|
-
return
|
|
336
|
+
return ie;
|
|
327
337
|
}
|
|
328
338
|
}, [1, "calcite-list", {
|
|
329
339
|
disabled: [516],
|
|
@@ -353,7 +363,7 @@ const f = {
|
|
|
353
363
|
hasFilterActionsStart: [32],
|
|
354
364
|
hasFilterNoResults: [32],
|
|
355
365
|
setFocus: [64]
|
|
356
|
-
}, [[0, "
|
|
366
|
+
}, [[0, "calciteInternalFocusPreviousItem", "handleCalciteInternalFocusPreviousItem"], [0, "calciteInternalListItemActive", "handleCalciteInternalListItemActive"], [0, "calciteListItemSelect", "handleCalciteListItemSelect"], [0, "calciteInternalAssistiveTextChange", "handleCalciteInternalAssistiveTextChange"], [0, "calciteHandleNudge", "handleCalciteHandleNudge"], [0, "calciteInternalListItemSelect", "handleCalciteInternalListItemSelect"], [0, "calciteInternalListItemSelectMultiple", "handleCalciteInternalListItemSelectMultiple"], [0, "calciteInternalListItemChange", "handleCalciteInternalListItemChange"], [0, "calciteInternalListItemGroupDefaultSlotChange", "handleCalciteInternalListItemGroupDefaultSlotChange"]], {
|
|
357
367
|
filterText: ["handleFilterTextChange"],
|
|
358
368
|
messageOverrides: ["onMessagesChange"],
|
|
359
369
|
filterEnabled: ["handleListItemChange"],
|
|
@@ -363,7 +373,7 @@ const f = {
|
|
|
363
373
|
selectionAppearance: ["handleListItemChange"],
|
|
364
374
|
effectiveLocale: ["effectiveLocaleChange"]
|
|
365
375
|
}]);
|
|
366
|
-
function
|
|
376
|
+
function F() {
|
|
367
377
|
if (typeof customElements > "u")
|
|
368
378
|
return;
|
|
369
379
|
["calcite-list", "calcite-filter", "calcite-icon", "calcite-input", "calcite-input-message", "calcite-loader", "calcite-progress", "calcite-scrim", "calcite-stack"].forEach((e) => {
|
|
@@ -372,25 +382,25 @@ function x() {
|
|
|
372
382
|
customElements.get(e) || customElements.define(e, S);
|
|
373
383
|
break;
|
|
374
384
|
case "calcite-filter":
|
|
375
|
-
customElements.get(e) ||
|
|
385
|
+
customElements.get(e) || j();
|
|
376
386
|
break;
|
|
377
387
|
case "calcite-icon":
|
|
378
|
-
customElements.get(e) ||
|
|
388
|
+
customElements.get(e) || J();
|
|
379
389
|
break;
|
|
380
390
|
case "calcite-input":
|
|
381
|
-
customElements.get(e) ||
|
|
391
|
+
customElements.get(e) || Q();
|
|
382
392
|
break;
|
|
383
393
|
case "calcite-input-message":
|
|
384
|
-
customElements.get(e) ||
|
|
394
|
+
customElements.get(e) || V();
|
|
385
395
|
break;
|
|
386
396
|
case "calcite-loader":
|
|
387
|
-
customElements.get(e) ||
|
|
397
|
+
customElements.get(e) || Y();
|
|
388
398
|
break;
|
|
389
399
|
case "calcite-progress":
|
|
390
|
-
customElements.get(e) ||
|
|
400
|
+
customElements.get(e) || Z();
|
|
391
401
|
break;
|
|
392
402
|
case "calcite-scrim":
|
|
393
|
-
customElements.get(e) ||
|
|
403
|
+
customElements.get(e) || ee();
|
|
394
404
|
break;
|
|
395
405
|
case "calcite-stack":
|
|
396
406
|
customElements.get(e) || N();
|
|
@@ -398,9 +408,9 @@ function x() {
|
|
|
398
408
|
}
|
|
399
409
|
});
|
|
400
410
|
}
|
|
401
|
-
|
|
402
|
-
const
|
|
411
|
+
F();
|
|
412
|
+
const xe = S, we = F;
|
|
403
413
|
export {
|
|
404
|
-
|
|
405
|
-
|
|
414
|
+
xe as CalciteList,
|
|
415
|
+
we as defineCustomElement
|
|
406
416
|
};
|
|
@@ -2,7 +2,7 @@ import { L as e, d as o } from "./loader.js";
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
5
|
-
* v2.
|
|
5
|
+
* v2.7.1
|
|
6
6
|
*/
|
|
7
7
|
const m = e, n = o;
|
|
8
8
|
export {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { proxyCustomElement as g, H as v, createEvent as a, h as o, Host as x } from "../../../../../../@stencil_core@4.
|
|
1
|
+
import { proxyCustomElement as g, H as v, createEvent as a, h as o, Host as x } from "../../../../../../@stencil_core@4.9.0/node_modules/@stencil/core/internal/client/index.js";
|
|
2
2
|
import { c as k, d as y } from "./conditionalSlot.js";
|
|
3
|
-
import { g as s, d as
|
|
3
|
+
import { g as s, d as c, f as w, D as d } from "./dom.js";
|
|
4
4
|
import { d as l, a as h, c as z, u as C } from "./focusTrapComponent.js";
|
|
5
5
|
import { s as O, a as E, c as M } from "./loadable.js";
|
|
6
6
|
import { c as m } from "./observers.js";
|
|
7
7
|
import { o as T } from "./openCloseComponent.js";
|
|
8
8
|
import { c as S, d as F } from "./locale.js";
|
|
9
9
|
import { s as B, c as L, d as D, u as I } from "./t9n.js";
|
|
10
|
-
import { g as $,
|
|
10
|
+
import { g as $, c as H } from "./component.js";
|
|
11
11
|
import { d as V } from "./icon.js";
|
|
12
12
|
import { d as W } from "./loader.js";
|
|
13
13
|
import { d as A } from "./scrim.js";
|
|
14
14
|
/*!
|
|
15
15
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
16
16
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
17
|
-
* v2.
|
|
17
|
+
* v2.7.1
|
|
18
18
|
*/
|
|
19
19
|
const t = {
|
|
20
20
|
modal: "modal",
|
|
@@ -49,7 +49,7 @@ const t = {
|
|
|
49
49
|
back: "back",
|
|
50
50
|
secondary: "secondary",
|
|
51
51
|
primary: "primary"
|
|
52
|
-
}, _ = `:host{--calcite-modal-scrim-background:rgba(0, 0, 0, 0.85);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(
|
|
52
|
+
}, _ = `:host{--calcite-modal-scrim-background:rgba(0, 0, 0, 0.85);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(
|
|
53
53
|
-2px *
|
|
54
54
|
calc(
|
|
55
55
|
1 -
|
|
@@ -59,8 +59,8 @@ const t = {
|
|
|
59
59
|
1
|
|
60
60
|
)
|
|
61
61
|
)
|
|
62
|
-
)}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}
|
|
63
|
-
let
|
|
62
|
+
)}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
63
|
+
let r = 0, p = "";
|
|
64
64
|
const b = /* @__PURE__ */ g(class extends v {
|
|
65
65
|
constructor() {
|
|
66
66
|
super(), this.__registerHost(), this.__attachShadow(), this.calciteModalBeforeClose = a(this, "calciteModalBeforeClose", 6), this.calciteModalClose = a(this, "calciteModalClose", 6), this.calciteModalBeforeOpen = a(this, "calciteModalBeforeOpen", 6), this.calciteModalOpen = a(this, "calciteModalOpen", 6), this.ignoreOpenChange = !1, this.mutationObserver = m("mutation", () => this.handleMutationObserver()), this.cssVarObserver = m("mutation", () => {
|
|
@@ -83,7 +83,7 @@ const b = /* @__PURE__ */ g(class extends v {
|
|
|
83
83
|
});
|
|
84
84
|
return;
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
r--, this.opened = !1, this.removeOverflowHiddenClass();
|
|
87
87
|
}, this.handleMutationObserver = () => {
|
|
88
88
|
this.updateFooterVisibility(), this.updateFocusTrapElements();
|
|
89
89
|
}, this.updateFooterVisibility = () => {
|
|
@@ -91,9 +91,9 @@ const b = /* @__PURE__ */ g(class extends v {
|
|
|
91
91
|
}, this.updateSizeCssVars = () => {
|
|
92
92
|
this.cssWidth = getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"), this.cssHeight = getComputedStyle(this.el).getPropertyValue("--calcite-modal-height");
|
|
93
93
|
}, this.contentTopSlotChangeHandler = (e) => {
|
|
94
|
-
this.hasContentTop =
|
|
94
|
+
this.hasContentTop = c(e);
|
|
95
95
|
}, this.contentBottomSlotChangeHandler = (e) => {
|
|
96
|
-
this.hasContentBottom =
|
|
96
|
+
this.hasContentBottom = c(e);
|
|
97
97
|
}, this.open = !1, this.opened = !1, this.beforeClose = void 0, this.closeButtonDisabled = !1, this.focusTrapDisabled = !1, this.outsideCloseDisabled = !1, this.docked = void 0, this.escapeDisabled = !1, this.scale = "m", this.widthScale = "m", this.fullscreen = void 0, this.kind = void 0, this.messages = void 0, this.messageOverrides = void 0, this.slottedInShell = void 0, this.cssWidth = void 0, this.cssHeight = void 0, this.hasFooter = !0, this.hasContentTop = !1, this.hasContentBottom = !1, this.effectiveLocale = void 0, this.defaultMessages = void 0;
|
|
98
98
|
}
|
|
99
99
|
handleFocusTrapDisabled(e) {
|
|
@@ -121,16 +121,24 @@ const b = /* @__PURE__ */ g(class extends v {
|
|
|
121
121
|
this.removeOverflowHiddenClass(), (e = this.mutationObserver) == null || e.disconnect(), (i = this.cssVarObserver) == null || i.disconnect(), y(this), l(this), F(this), D(this), this.slottedInShell = !1;
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return o(x, {
|
|
124
|
+
return o(x, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, o("div", { class: {
|
|
125
125
|
[t.container]: !0,
|
|
126
126
|
[t.containerOpen]: this.opened,
|
|
127
127
|
[t.slottedInShell]: this.slottedInShell
|
|
128
|
-
} }, o("calcite-scrim", {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
128
|
+
} }, o("calcite-scrim", { class: t.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), o("div", {
|
|
129
|
+
class: {
|
|
130
|
+
[t.modal]: !0
|
|
131
|
+
},
|
|
132
|
+
// 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)
|
|
133
|
+
ref: this.setTransitionEl
|
|
134
|
+
}, o("div", { class: t.header }, this.renderCloseButton(), o("header", { class: t.title }, o("slot", { name: t.header }))), this.renderContentTop(), o("div", {
|
|
135
|
+
class: {
|
|
136
|
+
[t.content]: !0,
|
|
137
|
+
[t.contentNoFooter]: !this.hasFooter
|
|
138
|
+
},
|
|
139
|
+
// 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)
|
|
140
|
+
ref: (e) => this.modalContent = e
|
|
141
|
+
}, o("slot", { name: n.content })), this.renderContentBottom(), this.renderFooter())));
|
|
134
142
|
}
|
|
135
143
|
renderFooter() {
|
|
136
144
|
return this.hasFooter ? o("div", { class: t.footer, key: "footer" }, o("span", { class: t.back }, o("slot", { name: n.back })), o("span", { class: t.secondary }, o("slot", { name: n.secondary })), o("span", { class: t.primary }, o("slot", { name: n.primary }))) : null;
|
|
@@ -142,7 +150,15 @@ const b = /* @__PURE__ */ g(class extends v {
|
|
|
142
150
|
return o("div", { class: t.contentBottom, hidden: !this.hasContentBottom }, o("slot", { name: n.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler }));
|
|
143
151
|
}
|
|
144
152
|
renderCloseButton() {
|
|
145
|
-
return this.closeButtonDisabled ? null : o("button", {
|
|
153
|
+
return this.closeButtonDisabled ? null : o("button", {
|
|
154
|
+
"aria-label": this.messages.close,
|
|
155
|
+
class: t.close,
|
|
156
|
+
key: "button",
|
|
157
|
+
onClick: this.handleCloseClick,
|
|
158
|
+
title: this.messages.close,
|
|
159
|
+
// 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)
|
|
160
|
+
ref: (e) => this.closeButtonEl = e
|
|
161
|
+
}, o("calcite-icon", { icon: P.close, scale: $(this.scale) }));
|
|
146
162
|
}
|
|
147
163
|
renderStyle() {
|
|
148
164
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight))
|
|
@@ -232,7 +248,7 @@ const b = /* @__PURE__ */ g(class extends v {
|
|
|
232
248
|
async openModal() {
|
|
233
249
|
await H(this.el), this.el.addEventListener("calciteModalOpen", this.openEnd), this.opened = !0;
|
|
234
250
|
const e = s(this.el, n.header), i = s(this.el, n.content);
|
|
235
|
-
this.titleId = d(e), this.contentId = d(i), this.slottedInShell || (
|
|
251
|
+
this.titleId = d(e), this.contentId = d(i), this.slottedInShell || (r === 0 && (p = document.documentElement.style.overflow), r++, document.documentElement.style.setProperty("overflow", "hidden"));
|
|
236
252
|
}
|
|
237
253
|
removeOverflowHiddenClass() {
|
|
238
254
|
document.documentElement.style.setProperty("overflow", p);
|
|
@@ -253,7 +269,7 @@ const b = /* @__PURE__ */ g(class extends v {
|
|
|
253
269
|
};
|
|
254
270
|
}
|
|
255
271
|
static get style() {
|
|
256
|
-
return
|
|
272
|
+
return _;
|
|
257
273
|
}
|
|
258
274
|
}, [1, "calcite-modal", {
|
|
259
275
|
open: [1540],
|
|
@@ -309,8 +325,8 @@ function u() {
|
|
|
309
325
|
});
|
|
310
326
|
}
|
|
311
327
|
u();
|
|
312
|
-
const
|
|
328
|
+
const oe = b, ie = u;
|
|
313
329
|
export {
|
|
314
|
-
|
|
315
|
-
|
|
330
|
+
oe as CalciteModal,
|
|
331
|
+
ie as defineCustomElement
|
|
316
332
|
};
|