@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,25 +1,26 @@
|
|
|
1
|
-
import { proxyCustomElement as
|
|
2
|
-
import { d as b, t as
|
|
3
|
-
import { c as
|
|
1
|
+
import { proxyCustomElement as k, H as A, createEvent as p, h as r } from "../../../../../../@stencil_core@4.18.2/node_modules/@stencil/core/internal/client/index.js";
|
|
2
|
+
import { d as b, t as D } from "./dom.js";
|
|
3
|
+
import { c as O, u as P, d as T, I as w } from "./interactive.js";
|
|
4
4
|
import { c as M } from "./observers.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { d as
|
|
8
|
-
import {
|
|
5
|
+
import { M as R } from "./resources4.js";
|
|
6
|
+
import { u as H, g as z } from "./utils3.js";
|
|
7
|
+
import { d as E, a as U, c as $ } from "./sortableComponent.js";
|
|
8
|
+
import { d as N, S as C } from "./stack.js";
|
|
9
|
+
import { s as G, a as _, c as q } from "./loadable.js";
|
|
9
10
|
import { c as K, s as B, d as W, u as X } from "./t9n.js";
|
|
10
|
-
import { n as
|
|
11
|
-
import { d as
|
|
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
|
|
11
|
+
import { c as j, d as J, n as v } from "./locale.js";
|
|
12
|
+
import { d as Q } from "./filter2.js";
|
|
13
|
+
import { d as V } from "./icon.js";
|
|
14
|
+
import { d as Y } from "./input2.js";
|
|
15
|
+
import { d as Z } from "./input-message.js";
|
|
16
|
+
import { d as ee } from "./loader.js";
|
|
17
|
+
import { d as te } from "./progress.js";
|
|
18
|
+
import { d as se } from "./scrim.js";
|
|
19
|
+
import { d as ie } from "./debounce.js";
|
|
19
20
|
/*!
|
|
20
21
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
21
22
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
22
|
-
* v2.
|
|
23
|
+
* v2.9.0
|
|
23
24
|
*/
|
|
24
25
|
const f = {
|
|
25
26
|
container: "container",
|
|
@@ -29,14 +30,14 @@ const f = {
|
|
|
29
30
|
tableContainer: "table-container",
|
|
30
31
|
sticky: "sticky-pos",
|
|
31
32
|
assistiveText: "assistive-text"
|
|
32
|
-
},
|
|
33
|
+
}, ae = 0, L = {
|
|
33
34
|
filterNoResults: "filter-no-results",
|
|
34
35
|
filterActionsStart: "filter-actions-start",
|
|
35
36
|
filterActionsEnd: "filter-actions-end"
|
|
36
|
-
},
|
|
37
|
+
}, ne = ":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}.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}", le = ne, I = "calcite-list-item", re = ":scope > calcite-list-item", ce = "calcite-list-item-group, calcite-list-item", S = /* @__PURE__ */ k(class extends A {
|
|
37
38
|
constructor() {
|
|
38
39
|
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) => {
|
|
39
|
-
|
|
40
|
+
H(z(e.target)), this.parentListEl && this.calciteInternalListDefaultSlotChange.emit();
|
|
40
41
|
}, this.handleFilterActionsStartSlotChange = (e) => {
|
|
41
42
|
this.hasFilterActionsStart = b(e);
|
|
42
43
|
}, this.handleFilterActionsEndSlotChange = (e) => {
|
|
@@ -48,9 +49,12 @@ const f = {
|
|
|
48
49
|
e.some((t) => t.active) || e[0] && (e[0].active = !0);
|
|
49
50
|
}, this.updateSelectedItems = (e = !1) => {
|
|
50
51
|
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]);
|
|
51
55
|
}, this.updateFilteredItems = (e = !1) => {
|
|
52
|
-
const { visibleItems: t, filteredData: s, filterText: i } = this,
|
|
53
|
-
a.forEach((o) => this.filterElements({ el: o, filteredItems:
|
|
56
|
+
const { visibleItems: t, filteredData: s, filterText: i } = this, n = s.map((o) => o.value), a = t == null ? void 0 : t.filter((o) => t.every((d) => d === o || !o.contains(d))), l = t.filter((o) => !i || n.includes(o.value)) || [], c = /* @__PURE__ */ new WeakSet();
|
|
57
|
+
a.forEach((o) => this.filterElements({ el: o, filteredItems: l, visibleParents: c })), this.filteredItems = l, e && this.calciteListFilter.emit();
|
|
54
58
|
}, this.setFilterEl = (e) => {
|
|
55
59
|
this.filterEl = e, this.performFilter();
|
|
56
60
|
}, this.handleFilterChange = (e) => {
|
|
@@ -62,21 +66,18 @@ const f = {
|
|
|
62
66
|
description: e.description,
|
|
63
67
|
metadata: e.metadata,
|
|
64
68
|
value: e.value
|
|
65
|
-
})), this.updateListItems =
|
|
66
|
-
const { selectionAppearance: t, selectionMode: s, dragEnabled: i } = this;
|
|
67
|
-
if (
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
})), this.updateListItems = ie((e = !1) => {
|
|
70
|
+
const { selectionAppearance: t, selectionMode: s, dragEnabled: i } = this, n = this.queryListItems();
|
|
71
|
+
if (n.forEach((l) => {
|
|
72
|
+
l.selectionAppearance = t, l.selectionMode = s;
|
|
73
|
+
}), this.queryListItems(!0).forEach((l) => {
|
|
74
|
+
l.dragHandle = i;
|
|
75
|
+
}), this.parentListEl) {
|
|
76
|
+
this.setUpSorting();
|
|
71
77
|
return;
|
|
72
78
|
}
|
|
73
|
-
|
|
74
|
-
|
|
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) => {
|
|
79
|
+
this.listItems = n, this.filterEnabled && (this.dataForFilter = this.getItemData(), this.filterEl && (this.filterEl.items = this.dataForFilter)), this.visibleItems = this.listItems.filter((l) => !l.closed && !l.hidden), this.updateFilteredItems(e), this.borderItems(), this.focusableItems = this.filteredItems.filter((l) => !l.disabled), this.setActiveListItem(), this.updateSelectedItems(e), this.setUpSorting();
|
|
80
|
+
}, ae), this.queryListItems = (e = !1) => Array.from(this.el.querySelectorAll(e ? re : I)), this.focusRow = (e) => {
|
|
80
81
|
const { focusableItems: t } = this;
|
|
81
82
|
e && (t.forEach((s) => s.active = s === e), e.setFocus());
|
|
82
83
|
}, this.isNavigable = (e) => {
|
|
@@ -84,7 +85,7 @@ const f = {
|
|
|
84
85
|
const t = (s = e.parentElement) == null ? void 0 : s.closest(I);
|
|
85
86
|
return t ? t.open && this.isNavigable(t) : !0;
|
|
86
87
|
}, this.handleListKeydown = (e) => {
|
|
87
|
-
var
|
|
88
|
+
var n;
|
|
88
89
|
if (e.defaultPrevented || this.parentListEl)
|
|
89
90
|
return;
|
|
90
91
|
const { key: t } = e, s = this.focusableItems.filter((a) => this.isNavigable(a)), i = s.findIndex((a) => a.active);
|
|
@@ -94,7 +95,7 @@ const f = {
|
|
|
94
95
|
s[a] && this.focusRow(s[a]);
|
|
95
96
|
} else if (t === "ArrowUp") {
|
|
96
97
|
if (e.preventDefault(), i === 0 && this.filterEnabled) {
|
|
97
|
-
(
|
|
98
|
+
(n = this.filterEl) == null || n.setFocus();
|
|
98
99
|
return;
|
|
99
100
|
}
|
|
100
101
|
const a = i - 1;
|
|
@@ -108,21 +109,6 @@ const f = {
|
|
|
108
109
|
const a = s[s.length - 1];
|
|
109
110
|
a && this.focusRow(a);
|
|
110
111
|
}
|
|
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;
|
|
126
112
|
}, 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;
|
|
127
113
|
}
|
|
128
114
|
async handleFilterTextChange() {
|
|
@@ -133,11 +119,14 @@ const f = {
|
|
|
133
119
|
handleListItemChange() {
|
|
134
120
|
this.updateListItems();
|
|
135
121
|
}
|
|
122
|
+
handleCalciteListItemToggle(e) {
|
|
123
|
+
this.parentListEl || (e.stopPropagation(), this.borderItems());
|
|
124
|
+
}
|
|
136
125
|
handleCalciteInternalFocusPreviousItem(e) {
|
|
137
126
|
if (this.parentListEl)
|
|
138
127
|
return;
|
|
139
128
|
e.stopPropagation();
|
|
140
|
-
const { focusableItems: t } = this, i = t.findIndex((
|
|
129
|
+
const { focusableItems: t } = this, i = t.findIndex((n) => n.active) - 1;
|
|
141
130
|
t[i] && this.focusRow(t[i]);
|
|
142
131
|
}
|
|
143
132
|
handleCalciteInternalListItemActive(e) {
|
|
@@ -163,16 +152,16 @@ const f = {
|
|
|
163
152
|
return;
|
|
164
153
|
e.stopPropagation();
|
|
165
154
|
const t = e.target, { listItems: s, selectionMode: i } = this;
|
|
166
|
-
t.selected && (i === "single" || i === "single-persist") && s.forEach((
|
|
155
|
+
t.selected && (i === "single" || i === "single-persist") && s.forEach((n) => n.selected = n === t), this.updateSelectedItems();
|
|
167
156
|
}
|
|
168
157
|
handleCalciteInternalListItemSelectMultiple(e) {
|
|
169
158
|
if (this.parentListEl)
|
|
170
159
|
return;
|
|
171
160
|
e.stopPropagation();
|
|
172
|
-
const { target: t, detail: s } = e, { focusableItems: i, lastSelectedInfo:
|
|
173
|
-
if (s.selectMultiple &&
|
|
174
|
-
const
|
|
175
|
-
i.slice(o, d + 1).forEach((m) => m.selected =
|
|
161
|
+
const { target: t, detail: s } = e, { focusableItems: i, lastSelectedInfo: n } = this, a = t;
|
|
162
|
+
if (s.selectMultiple && n) {
|
|
163
|
+
const l = i.indexOf(a), c = i.indexOf(n.selectedItem), o = Math.min(c, l), d = Math.max(c, l);
|
|
164
|
+
i.slice(o, d + 1).forEach((m) => m.selected = n.selected);
|
|
176
165
|
} else
|
|
177
166
|
this.lastSelectedInfo = { selectedItem: a, selected: a.selected };
|
|
178
167
|
}
|
|
@@ -188,19 +177,19 @@ const f = {
|
|
|
188
177
|
//
|
|
189
178
|
//--------------------------------------------------------------------------
|
|
190
179
|
connectedCallback() {
|
|
191
|
-
E(this) || (K(this), this.connectObserver(), this.updateListItems(), this.setUpSorting(),
|
|
180
|
+
E(this) || (j(this), K(this), this.connectObserver(), this.updateListItems(), this.setUpSorting(), O(this), this.setParentList());
|
|
192
181
|
}
|
|
193
182
|
async componentWillLoad() {
|
|
194
|
-
|
|
183
|
+
G(this), await B(this);
|
|
195
184
|
}
|
|
196
185
|
componentDidRender() {
|
|
197
|
-
|
|
186
|
+
P(this);
|
|
198
187
|
}
|
|
199
188
|
componentDidLoad() {
|
|
200
|
-
|
|
189
|
+
_(this);
|
|
201
190
|
}
|
|
202
191
|
disconnectedCallback() {
|
|
203
|
-
E(this) || (this.disconnectObserver(),
|
|
192
|
+
E(this) || (this.disconnectObserver(), U(this), T(this), J(this), W(this));
|
|
204
193
|
}
|
|
205
194
|
effectiveLocaleChange() {
|
|
206
195
|
X(this, this.effectiveLocale);
|
|
@@ -217,7 +206,7 @@ const f = {
|
|
|
217
206
|
*/
|
|
218
207
|
async setFocus() {
|
|
219
208
|
var e, t;
|
|
220
|
-
return await
|
|
209
|
+
return await q(this), this.filterEnabled ? (e = this.filterEl) == null ? void 0 : e.setFocus() : (t = this.focusableItems.find((s) => s.active)) == null ? void 0 : t.setFocus();
|
|
221
210
|
}
|
|
222
211
|
// --------------------------------------------------------------------------
|
|
223
212
|
//
|
|
@@ -225,17 +214,8 @@ const f = {
|
|
|
225
214
|
//
|
|
226
215
|
// --------------------------------------------------------------------------
|
|
227
216
|
render() {
|
|
228
|
-
const { loading: e, label: t, disabled: s, dataForFilter: i, filterEnabled:
|
|
229
|
-
return r(
|
|
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 }))));
|
|
217
|
+
const { loading: e, label: t, disabled: s, dataForFilter: i, filterEnabled: n, filterPlaceholder: a, filterText: l, filteredItems: c, hasFilterActionsStart: o, hasFilterActionsEnd: d, hasFilterNoResults: m } = this;
|
|
218
|
+
return r(w, { key: "b452cef2f749d331f569ca9a46af9c72017f2eed", disabled: this.disabled }, r("div", { key: "c43a5ce24d7954194c48f6220a3ac6589214671b", 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", { key: "d9d8e7472334bd7738b3252883947d0190071853", "aria-busy": D(e), "aria-label": t || "", class: f.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, n || o || d ? r("thead", { class: f.sticky }, r("tr", null, r("th", { colSpan: R }, r("calcite-stack", { class: f.stack }, r("slot", { name: L.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: C.actionsStart }), r("calcite-filter", { "aria-label": a, disabled: s, items: i, onCalciteFilterChange: this.handleFilterChange, placeholder: a, ref: this.setFilterEl, value: l }), r("slot", { name: L.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: C.actionsEnd }))))) : null, r("tbody", { key: "47c586b403bafc6e2c69515ea0648720ad492bc0", class: f.tableContainer }, r("slot", { key: "c504daf59190b78c94ec03898556ffffc5bd7ec5", onSlotchange: this.handleDefaultSlotChange }))), r("div", { key: "da507415d70da415e5c1f49dd305f0c77097b4cf", "aria-live": "polite", "data-test-id": "no-results-container", hidden: !(m && n && l && !c.length) }, r("slot", { key: "4ecb6dc9a2bc0b0dd26ee9bda042fcefa77ea75e", name: L.filterNoResults, onSlotchange: this.handleFilterNoResultsSlotChange }))));
|
|
239
219
|
}
|
|
240
220
|
// --------------------------------------------------------------------------
|
|
241
221
|
//
|
|
@@ -243,11 +223,11 @@ const f = {
|
|
|
243
223
|
//
|
|
244
224
|
// --------------------------------------------------------------------------
|
|
245
225
|
renderItemAriaLive() {
|
|
246
|
-
const { messages: e, filteredItems: t, parentListEl: s, effectiveLocale: i, numberingSystem:
|
|
247
|
-
return
|
|
226
|
+
const { messages: e, filteredItems: t, parentListEl: s, effectiveLocale: i, numberingSystem: n, filterEnabled: a, filterText: l, filteredData: c } = this;
|
|
227
|
+
return v.numberFormatOptions = {
|
|
248
228
|
locale: i,
|
|
249
|
-
numberingSystem:
|
|
250
|
-
}, s ? null : r("div", { "aria-live": "polite", class: f.assistiveText }, a &&
|
|
229
|
+
numberingSystem: n
|
|
230
|
+
}, s ? null : r("div", { "aria-live": "polite", class: f.assistiveText }, a && l && (c != null && c.length) ? r("div", { key: "aria-filter-enabled" }, e.filterEnabled) : null, r("div", { key: "aria-item-count" }, e.total.replace("{count}", v.localize(t.length.toString()))), t.length ? r("ol", { key: "aria-item-list" }, t.map((o) => r("li", null, o.label))) : null);
|
|
251
231
|
}
|
|
252
232
|
connectObserver() {
|
|
253
233
|
var e;
|
|
@@ -259,7 +239,7 @@ const f = {
|
|
|
259
239
|
}
|
|
260
240
|
setUpSorting() {
|
|
261
241
|
const { dragEnabled: e } = this;
|
|
262
|
-
e &&
|
|
242
|
+
e && $(this);
|
|
263
243
|
}
|
|
264
244
|
onGlobalDragStart() {
|
|
265
245
|
this.disconnectObserver();
|
|
@@ -283,13 +263,23 @@ const f = {
|
|
|
283
263
|
filterElements({ el: e, filteredItems: t, visibleParents: s }) {
|
|
284
264
|
const i = !s.has(e) && !t.includes(e);
|
|
285
265
|
e.filterHidden = i;
|
|
286
|
-
const
|
|
287
|
-
|
|
288
|
-
el:
|
|
266
|
+
const n = e.parentElement.closest(ce);
|
|
267
|
+
n && (i || s.add(n), this.filterElements({
|
|
268
|
+
el: n,
|
|
289
269
|
filteredItems: t,
|
|
290
270
|
visibleParents: s
|
|
291
271
|
}));
|
|
292
272
|
}
|
|
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
|
+
}
|
|
293
283
|
updateFilteredData(e = !1) {
|
|
294
284
|
const { filterEl: t } = this;
|
|
295
285
|
t && (t.filteredItems && (this.filteredData = t.filteredItems), this.updateListItems(e));
|
|
@@ -299,15 +289,15 @@ const f = {
|
|
|
299
289
|
e && (e.value = t, await e.filter(t), this.updateFilteredData());
|
|
300
290
|
}
|
|
301
291
|
handleNudgeEvent(e) {
|
|
302
|
-
const { handleSelector: t, dragSelector: s } = this, { direction: i } = e.detail,
|
|
292
|
+
const { handleSelector: t, dragSelector: s } = this, { direction: i } = e.detail, n = e.composedPath(), a = n.find((h) => (h == null ? void 0 : h.tagName) && h.matches(t)), l = n.find((h) => (h == null ? void 0 : h.tagName) && h.matches(s)), c = l == null ? void 0 : l.parentElement;
|
|
303
293
|
if (!c)
|
|
304
294
|
return;
|
|
305
|
-
const { filteredItems: o } = this, d = o.filter((h) => h.parentElement === c), m = d.length - 1, g = d.indexOf(
|
|
295
|
+
const { filteredItems: o } = this, d = o.filter((h) => h.parentElement === c), m = d.length - 1, g = d.indexOf(l);
|
|
306
296
|
let u;
|
|
307
297
|
i === "up" ? u = g === 0 ? m : g - 1 : u = g === m ? 0 : g + 1, this.disconnectObserver(), a.blurUnselectDisabled = !0;
|
|
308
|
-
const
|
|
309
|
-
c.insertBefore(
|
|
310
|
-
dragEl:
|
|
298
|
+
const y = i === "up" && u !== m || i === "down" && u === 0 ? d[u] : d[u].nextSibling;
|
|
299
|
+
c.insertBefore(l, y), this.updateListItems(), this.connectObserver(), this.calciteListOrderChange.emit({
|
|
300
|
+
dragEl: l,
|
|
311
301
|
fromEl: c,
|
|
312
302
|
toEl: c,
|
|
313
303
|
newIndex: u,
|
|
@@ -333,7 +323,7 @@ const f = {
|
|
|
333
323
|
};
|
|
334
324
|
}
|
|
335
325
|
static get style() {
|
|
336
|
-
return
|
|
326
|
+
return le;
|
|
337
327
|
}
|
|
338
328
|
}, [1, "calcite-list", {
|
|
339
329
|
disabled: [516],
|
|
@@ -363,7 +353,7 @@ const f = {
|
|
|
363
353
|
hasFilterActionsStart: [32],
|
|
364
354
|
hasFilterNoResults: [32],
|
|
365
355
|
setFocus: [64]
|
|
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"]], {
|
|
356
|
+
}, [[0, "calciteInternalListItemToggle", "handleCalciteListItemToggle"], [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"]], {
|
|
367
357
|
filterText: ["handleFilterTextChange"],
|
|
368
358
|
messageOverrides: ["onMessagesChange"],
|
|
369
359
|
filterEnabled: ["handleListItemChange"],
|
|
@@ -373,7 +363,7 @@ const f = {
|
|
|
373
363
|
selectionAppearance: ["handleListItemChange"],
|
|
374
364
|
effectiveLocale: ["effectiveLocaleChange"]
|
|
375
365
|
}]);
|
|
376
|
-
function
|
|
366
|
+
function x() {
|
|
377
367
|
if (typeof customElements > "u")
|
|
378
368
|
return;
|
|
379
369
|
["calcite-list", "calcite-filter", "calcite-icon", "calcite-input", "calcite-input-message", "calcite-loader", "calcite-progress", "calcite-scrim", "calcite-stack"].forEach((e) => {
|
|
@@ -382,25 +372,25 @@ function F() {
|
|
|
382
372
|
customElements.get(e) || customElements.define(e, S);
|
|
383
373
|
break;
|
|
384
374
|
case "calcite-filter":
|
|
385
|
-
customElements.get(e) ||
|
|
375
|
+
customElements.get(e) || Q();
|
|
386
376
|
break;
|
|
387
377
|
case "calcite-icon":
|
|
388
|
-
customElements.get(e) ||
|
|
378
|
+
customElements.get(e) || V();
|
|
389
379
|
break;
|
|
390
380
|
case "calcite-input":
|
|
391
|
-
customElements.get(e) ||
|
|
381
|
+
customElements.get(e) || Y();
|
|
392
382
|
break;
|
|
393
383
|
case "calcite-input-message":
|
|
394
|
-
customElements.get(e) ||
|
|
384
|
+
customElements.get(e) || Z();
|
|
395
385
|
break;
|
|
396
386
|
case "calcite-loader":
|
|
397
|
-
customElements.get(e) ||
|
|
387
|
+
customElements.get(e) || ee();
|
|
398
388
|
break;
|
|
399
389
|
case "calcite-progress":
|
|
400
|
-
customElements.get(e) ||
|
|
390
|
+
customElements.get(e) || te();
|
|
401
391
|
break;
|
|
402
392
|
case "calcite-scrim":
|
|
403
|
-
customElements.get(e) ||
|
|
393
|
+
customElements.get(e) || se();
|
|
404
394
|
break;
|
|
405
395
|
case "calcite-stack":
|
|
406
396
|
customElements.get(e) || N();
|
|
@@ -408,9 +398,9 @@ function F() {
|
|
|
408
398
|
}
|
|
409
399
|
});
|
|
410
400
|
}
|
|
411
|
-
|
|
412
|
-
const
|
|
401
|
+
x();
|
|
402
|
+
const De = S, Oe = x;
|
|
413
403
|
export {
|
|
414
|
-
|
|
415
|
-
|
|
404
|
+
De as CalciteList,
|
|
405
|
+
Oe as defineCustomElement
|
|
416
406
|
};
|
|
@@ -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.9.0
|
|
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.18.2/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 r, f as w, E 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 $, a 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.9.0
|
|
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
|
|
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(
|
|
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}`, j = _;
|
|
63
|
+
let c = 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
|
+
c--, 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 = r(e);
|
|
95
95
|
}, this.contentBottomSlotChangeHandler = (e) => {
|
|
96
|
-
this.hasContentBottom =
|
|
96
|
+
this.hasContentBottom = r(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,24 +121,16 @@ 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, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, o("div", { class: {
|
|
124
|
+
return o(x, { key: "d1e018c6bd88b964c4708d93d9a8206bd708873a", "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, o("div", { key: "9e49f29d18a2e73d8e27219fae8ce80a8aaa70a8", class: {
|
|
125
125
|
[t.container]: !0,
|
|
126
126
|
[t.containerOpen]: this.opened,
|
|
127
127
|
[t.slottedInShell]: this.slottedInShell
|
|
128
|
-
} }, o("calcite-scrim", { class: t.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), o("div", {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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())));
|
|
128
|
+
} }, o("calcite-scrim", { key: "16ad63350946bfdc9d93e1de099c35ec4085923f", class: t.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), o("div", { key: "6bc90f5591d025ab11b9e20460888a5c90079fc4", class: {
|
|
129
|
+
[t.modal]: !0
|
|
130
|
+
}, ref: this.setTransitionEl }, o("div", { key: "bb3c7cdcb9aeb984608faf5adc83aeecfb76236b", class: t.header }, this.renderCloseButton(), o("header", { key: "4c90d6d66e1dfeffb967d14c95b84568be92846d", class: t.title }, o("slot", { key: "547d39c10dd55af959d9c2595969ad205af4fdcc", name: t.header }))), this.renderContentTop(), o("div", { key: "fe344731d2dcde79ef625640f73b585ca278a158", class: {
|
|
131
|
+
[t.content]: !0,
|
|
132
|
+
[t.contentNoFooter]: !this.hasFooter
|
|
133
|
+
}, ref: (e) => this.modalContent = e }, o("slot", { key: "2fdbe6fa9a7c424e46db9bc00ad76e9cd8f1d242", name: n.content })), this.renderContentBottom(), this.renderFooter())));
|
|
142
134
|
}
|
|
143
135
|
renderFooter() {
|
|
144
136
|
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;
|
|
@@ -150,15 +142,7 @@ const b = /* @__PURE__ */ g(class extends v {
|
|
|
150
142
|
return o("div", { class: t.contentBottom, hidden: !this.hasContentBottom }, o("slot", { name: n.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler }));
|
|
151
143
|
}
|
|
152
144
|
renderCloseButton() {
|
|
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) }));
|
|
145
|
+
return this.closeButtonDisabled ? null : o("button", { "aria-label": this.messages.close, class: t.close, key: "button", onClick: this.handleCloseClick, ref: (e) => this.closeButtonEl = e, title: this.messages.close }, o("calcite-icon", { icon: P.close, scale: $(this.scale) }));
|
|
162
146
|
}
|
|
163
147
|
renderStyle() {
|
|
164
148
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight))
|
|
@@ -248,7 +232,7 @@ const b = /* @__PURE__ */ g(class extends v {
|
|
|
248
232
|
async openModal() {
|
|
249
233
|
await H(this.el), this.el.addEventListener("calciteModalOpen", this.openEnd), this.opened = !0;
|
|
250
234
|
const e = s(this.el, n.header), i = s(this.el, n.content);
|
|
251
|
-
this.titleId = d(e), this.contentId = d(i), this.slottedInShell || (
|
|
235
|
+
this.titleId = d(e), this.contentId = d(i), this.slottedInShell || (c === 0 && (p = document.documentElement.style.overflow), c++, document.documentElement.style.setProperty("overflow", "hidden"));
|
|
252
236
|
}
|
|
253
237
|
removeOverflowHiddenClass() {
|
|
254
238
|
document.documentElement.style.setProperty("overflow", p);
|
|
@@ -269,7 +253,7 @@ const b = /* @__PURE__ */ g(class extends v {
|
|
|
269
253
|
};
|
|
270
254
|
}
|
|
271
255
|
static get style() {
|
|
272
|
-
return
|
|
256
|
+
return j;
|
|
273
257
|
}
|
|
274
258
|
}, [1, "calcite-modal", {
|
|
275
259
|
open: [1540],
|
|
@@ -325,8 +309,8 @@ function u() {
|
|
|
325
309
|
});
|
|
326
310
|
}
|
|
327
311
|
u();
|
|
328
|
-
const
|
|
312
|
+
const ie = b, ne = u;
|
|
329
313
|
export {
|
|
330
|
-
|
|
331
|
-
|
|
314
|
+
ie as CalciteModal,
|
|
315
|
+
ne as defineCustomElement
|
|
332
316
|
};
|