@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
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import { proxyCustomElement as M, H as F, createEvent as d, h as i, Host as B } from "../../../../../../@stencil_core@4.18.2/node_modules/@stencil/core/internal/client/index.js";
|
|
2
|
+
import { d as m, C as I, a as P, t as S } from "./dom.js";
|
|
3
|
+
import { c as z, u as O, d as T, I as G } from "./interactive.js";
|
|
4
|
+
import { c as K, d as $ } from "./locale.js";
|
|
5
|
+
import { u as R, c as U, s as _, d as j } from "./t9n.js";
|
|
6
|
+
import { s as W, a as q, c as J } from "./loadable.js";
|
|
7
|
+
import { a as Q, g as V, b as X, u as Y } from "./utils3.js";
|
|
8
|
+
import { a as v, I as f, C as s, S as C } from "./resources4.js";
|
|
9
|
+
import { d as Z } from "./action.js";
|
|
10
|
+
import { d as N } from "./handle.js";
|
|
11
|
+
import { d as ee } from "./icon.js";
|
|
12
|
+
import { d as te } from "./loader.js";
|
|
13
|
+
/*!
|
|
14
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
15
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
16
|
+
* v2.9.0
|
|
17
|
+
*/
|
|
18
|
+
const 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:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1);--calcite-list-item-icon-color:var(--calcite-color-brand)}:host([filter-hidden]),:host([closed]){display:none}.wrapper--bordered{border-block-end:1px solid var(--calcite-color-border-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.indent{display:flex;flex-direction:column;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);margin-inline-start:var(--calcite-list-item-spacing-indent, 1.5rem)}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-color-foreground-1)}.container *{box-sizing:border-box}.container--hover:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}.container:active{background-color:var(--calcite-color-foreground-1)}.container--border{border-inline-start-width:4px;border-inline-start-style:solid}.container--border-selected{border-inline-start-color:var(--calcite-color-brand)}.container--border-unselected{border-inline-start-color:transparent}.container:hover.container--border-unselected{border-color:var(--calcite-color-border-1)}.nested-container{display:flex;flex-direction:column}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;-webkit-user-select:none;user-select:none;align-items:stretch;padding:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(
|
|
19
|
+
-2px *
|
|
20
|
+
calc(
|
|
21
|
+
1 -
|
|
22
|
+
2 * clamp(
|
|
23
|
+
0,
|
|
24
|
+
var(--calcite-offset-invert-focus),
|
|
25
|
+
1
|
|
26
|
+
)
|
|
27
|
+
)
|
|
28
|
+
)}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description,.content-bottom{font-family:var(--calcite-font-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child,.content-bottom:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-color-text-1)}:host([selected]) .label{font-weight:var(--calcite-font-weight-medium)}.description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}:host([selected]) .description{color:var(--calcite-color-text-2)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.content-bottom{display:flex;flex-direction:column}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;padding-block:0px;color:var(--calcite-color-border-input)}.selection-container--single{color:transparent}:host(:not([disabled]):not([selected])) .container:hover .selection-container--single{color:var(--calcite-color-border-1)}:host([selected]:hover) .selection-container,:host([selected]:hover) .selection-container--single,:host([selected]) .selection-container{color:var(--calcite-list-item-icon-color)}.open-container{color:var(--calcite-color-text-3)}:host(:not([disabled])) .container:hover .open-container{color:var(--calcite-color-text-1)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.open-container{display:flex;align-items:center}.actions-start calcite-action,.actions-start calcite-handle,.actions-end calcite-action,.actions-end calcite-handle,.content-start calcite-action,.content-start calcite-handle,.content-end calcite-action,.content-end calcite-handle,.selection-container calcite-action,.selection-container calcite-handle,.drag-container calcite-action,.drag-container calcite-handle,.open-container calcite-action,.open-container calcite-handle{align-self:stretch}.open-container,.selection-container{cursor:pointer}.actions-start,.actions-end{padding:0px}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}::slotted(calcite-list:empty){border-block-start-width:0px}:host([hidden]){display:none}[hidden]{display:none}`, ie = ne, b = /* @__PURE__ */ new Map(), se = "calcite-list", L = /* @__PURE__ */ M(class extends F {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(), this.__registerHost(), this.__attachShadow(), this.calciteListItemSelect = d(this, "calciteListItemSelect", 6), this.calciteListItemClose = d(this, "calciteListItemClose", 6), this.calciteListItemDragHandleChange = d(this, "calciteListItemDragHandleChange", 6), this.calciteListItemToggle = d(this, "calciteListItemToggle", 6), this.calciteInternalListItemSelect = d(this, "calciteInternalListItemSelect", 6), this.calciteInternalListItemSelectMultiple = d(this, "calciteInternalListItemSelectMultiple", 6), this.calciteInternalListItemActive = d(this, "calciteInternalListItemActive", 6), this.calciteInternalFocusPreviousItem = d(this, "calciteInternalFocusPreviousItem", 6), this.calciteInternalListItemChange = d(this, "calciteInternalListItemChange", 6), this.calciteInternalListItemToggle = d(this, "calciteInternalListItemToggle", 6), this.dragHandleSelectedChangeHandler = (e) => {
|
|
31
|
+
this.dragSelected = e.target.selected, this.calciteListItemDragHandleChange.emit(), e.stopPropagation();
|
|
32
|
+
}, this.emitInternalListItemActive = () => {
|
|
33
|
+
this.calciteInternalListItemActive.emit();
|
|
34
|
+
}, this.focusCellHandle = () => {
|
|
35
|
+
this.handleCellFocusIn(this.handleGridEl);
|
|
36
|
+
}, this.focusCellActionsStart = () => {
|
|
37
|
+
this.handleCellFocusIn(this.actionsStartEl);
|
|
38
|
+
}, this.focusCellContent = () => {
|
|
39
|
+
this.handleCellFocusIn(this.contentEl);
|
|
40
|
+
}, this.focusCellActionsEnd = () => {
|
|
41
|
+
this.handleCellFocusIn(this.actionsEndEl);
|
|
42
|
+
}, this.handleCloseClick = () => {
|
|
43
|
+
this.closed = !0, this.calciteListItemClose.emit();
|
|
44
|
+
}, this.handleContentSlotChange = (e) => {
|
|
45
|
+
this.hasCustomContent = m(e);
|
|
46
|
+
}, this.handleActionsStartSlotChange = (e) => {
|
|
47
|
+
this.hasActionsStart = m(e);
|
|
48
|
+
}, this.handleActionsEndSlotChange = (e) => {
|
|
49
|
+
this.hasActionsEnd = m(e);
|
|
50
|
+
}, this.handleContentStartSlotChange = (e) => {
|
|
51
|
+
this.hasContentStart = m(e);
|
|
52
|
+
}, this.handleContentEndSlotChange = (e) => {
|
|
53
|
+
this.hasContentEnd = m(e);
|
|
54
|
+
}, this.handleContentBottomSlotChange = (e) => {
|
|
55
|
+
this.hasContentBottom = m(e);
|
|
56
|
+
}, this.handleDefaultSlotChange = (e) => {
|
|
57
|
+
this.handleOpenableChange(e.target);
|
|
58
|
+
}, this.handleToggleClick = () => {
|
|
59
|
+
this.toggle();
|
|
60
|
+
}, this.toggle = (e = !this.open) => {
|
|
61
|
+
this.open = e, this.calciteListItemToggle.emit();
|
|
62
|
+
}, this.handleItemClick = (e) => {
|
|
63
|
+
e.defaultPrevented || this.toggleSelected(e.shiftKey);
|
|
64
|
+
}, this.toggleSelected = (e) => {
|
|
65
|
+
const { selectionMode: t, selected: n } = this;
|
|
66
|
+
this.disabled || (t === "multiple" || t === "single" ? this.selected = !n : t === "single-persist" && (this.selected = !0), this.calciteInternalListItemSelectMultiple.emit({
|
|
67
|
+
selectMultiple: e && t === "multiple"
|
|
68
|
+
}), this.calciteListItemSelect.emit());
|
|
69
|
+
}, this.handleItemKeyDown = (e) => {
|
|
70
|
+
if (e.defaultPrevented)
|
|
71
|
+
return;
|
|
72
|
+
const { key: t } = e, n = e.composedPath(), { containerEl: l, actionsStartEl: o, actionsEndEl: a, open: r, openable: g } = this, c = this.getGridCells(), h = c.findIndex((u) => n.includes(u));
|
|
73
|
+
if (t === "Enter" && !n.includes(o) && !n.includes(a))
|
|
74
|
+
e.preventDefault(), this.toggleSelected(e.shiftKey);
|
|
75
|
+
else if (t === "ArrowRight") {
|
|
76
|
+
e.preventDefault();
|
|
77
|
+
const u = h + 1;
|
|
78
|
+
h === -1 ? !r && g ? (this.toggle(!0), this.focusCell(null)) : c[0] && this.focusCell(c[0]) : c[h] && c[u] && this.focusCell(c[u]);
|
|
79
|
+
} else if (t === "ArrowLeft") {
|
|
80
|
+
e.preventDefault();
|
|
81
|
+
const u = h - 1;
|
|
82
|
+
h === -1 ? (this.focusCell(null), r && g ? this.toggle(!1) : this.calciteInternalFocusPreviousItem.emit()) : h === 0 ? (this.focusCell(null), l.focus()) : c[h] && c[u] && this.focusCell(c[u]);
|
|
83
|
+
}
|
|
84
|
+
}, this.focusCellNull = () => {
|
|
85
|
+
this.focusCell(null);
|
|
86
|
+
}, this.handleCellFocusIn = (e) => {
|
|
87
|
+
this.setFocusCell(e, I(e), !0);
|
|
88
|
+
}, this.setFocusCell = (e, t, n) => {
|
|
89
|
+
const { parentListEl: l } = this;
|
|
90
|
+
n && b.set(l, null);
|
|
91
|
+
const o = this.getGridCells();
|
|
92
|
+
o.forEach((a) => {
|
|
93
|
+
a.tabIndex = -1, a.removeAttribute(v);
|
|
94
|
+
}), e && (e.tabIndex = e === t ? 0 : -1, e.setAttribute(v, ""), n && b.set(l, o.indexOf(e)));
|
|
95
|
+
}, this.focusCell = (e, t = !0) => {
|
|
96
|
+
const n = I(e);
|
|
97
|
+
this.setFocusCell(e, n, t), n == null || n.focus();
|
|
98
|
+
}, this.active = !1, this.bordered = !1, this.closable = !1, this.closed = !1, this.description = void 0, this.disabled = !1, this.dragDisabled = !1, this.dragHandle = !1, this.dragSelected = !1, this.filterHidden = !1, this.label = void 0, this.metadata = void 0, this.open = !1, this.setSize = null, this.setPosition = null, this.selected = !1, this.value = void 0, this.selectionMode = null, this.selectionAppearance = null, this.messageOverrides = void 0, this.messages = void 0, this.effectiveLocale = "", this.defaultMessages = void 0, this.level = null, this.parentListEl = void 0, this.openable = !1, this.hasActionsStart = !1, this.hasActionsEnd = !1, this.hasCustomContent = !1, this.hasContentStart = !1, this.hasContentEnd = !1, this.hasContentBottom = !1;
|
|
99
|
+
}
|
|
100
|
+
activeHandler(e) {
|
|
101
|
+
e || this.focusCell(null, !1);
|
|
102
|
+
}
|
|
103
|
+
handleClosedChange() {
|
|
104
|
+
this.emitCalciteInternalListItemChange();
|
|
105
|
+
}
|
|
106
|
+
handleDisabledChange() {
|
|
107
|
+
this.emitCalciteInternalListItemChange();
|
|
108
|
+
}
|
|
109
|
+
handleOpenChange() {
|
|
110
|
+
this.emitCalciteInternalListItemToggle();
|
|
111
|
+
}
|
|
112
|
+
handleSelectedChange() {
|
|
113
|
+
this.calciteInternalListItemSelect.emit();
|
|
114
|
+
}
|
|
115
|
+
onMessagesChange() {
|
|
116
|
+
}
|
|
117
|
+
handleCalciteInternalListDefaultSlotChanges(e) {
|
|
118
|
+
e.stopPropagation(), this.handleOpenableChange(this.defaultSlotEl);
|
|
119
|
+
}
|
|
120
|
+
effectiveLocaleChange() {
|
|
121
|
+
R(this, this.effectiveLocale);
|
|
122
|
+
}
|
|
123
|
+
// --------------------------------------------------------------------------
|
|
124
|
+
//
|
|
125
|
+
// Lifecycle
|
|
126
|
+
//
|
|
127
|
+
// --------------------------------------------------------------------------
|
|
128
|
+
connectedCallback() {
|
|
129
|
+
z(this), K(this), U(this);
|
|
130
|
+
const { el: e } = this;
|
|
131
|
+
this.parentListEl = e.closest(se), this.level = Q(e) + 1, this.setSelectionDefaults();
|
|
132
|
+
}
|
|
133
|
+
async componentWillLoad() {
|
|
134
|
+
W(this), await _(this);
|
|
135
|
+
}
|
|
136
|
+
componentDidLoad() {
|
|
137
|
+
q(this);
|
|
138
|
+
}
|
|
139
|
+
componentDidRender() {
|
|
140
|
+
O(this);
|
|
141
|
+
}
|
|
142
|
+
disconnectedCallback() {
|
|
143
|
+
T(this), $(this), j(this);
|
|
144
|
+
}
|
|
145
|
+
// --------------------------------------------------------------------------
|
|
146
|
+
//
|
|
147
|
+
// Public Methods
|
|
148
|
+
//
|
|
149
|
+
// --------------------------------------------------------------------------
|
|
150
|
+
/** Sets focus on the component. */
|
|
151
|
+
async setFocus() {
|
|
152
|
+
await J(this);
|
|
153
|
+
const { containerEl: e, parentListEl: t } = this, n = b.get(t);
|
|
154
|
+
if (typeof n == "number") {
|
|
155
|
+
const l = this.getGridCells();
|
|
156
|
+
l[n] ? this.focusCell(l[n]) : e == null || e.focus();
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
e == null || e.focus();
|
|
160
|
+
}
|
|
161
|
+
// --------------------------------------------------------------------------
|
|
162
|
+
//
|
|
163
|
+
// Render Methods
|
|
164
|
+
//
|
|
165
|
+
// --------------------------------------------------------------------------
|
|
166
|
+
renderSelected() {
|
|
167
|
+
const { selected: e, selectionMode: t, selectionAppearance: n } = this;
|
|
168
|
+
return t === "none" || n === "border" ? null : i("td", { class: {
|
|
169
|
+
[s.selectionContainer]: !0,
|
|
170
|
+
[s.selectionContainerSingle]: t === "single" || t === "single-persist"
|
|
171
|
+
}, key: "selection-container", onClick: this.handleItemClick }, i("calcite-icon", { icon: e ? t === "multiple" ? f.selectedMultiple : f.selectedSingle : t === "multiple" ? f.unselectedMultiple : f.unselectedSingle, scale: "s" }));
|
|
172
|
+
}
|
|
173
|
+
renderDragHandle() {
|
|
174
|
+
const { label: e, dragHandle: t, dragSelected: n, dragDisabled: l, setPosition: o, setSize: a } = this;
|
|
175
|
+
return t ? i("td", { "aria-label": e, class: s.dragContainer, key: "drag-handle-container", onFocusin: this.focusCellHandle, ref: (r) => this.handleGridEl = r, role: "gridcell" }, i("calcite-handle", { disabled: l, label: e, onCalciteHandleChange: this.dragHandleSelectedChangeHandler, selected: n, setPosition: o, setSize: a })) : null;
|
|
176
|
+
}
|
|
177
|
+
renderOpen() {
|
|
178
|
+
const { el: e, open: t, openable: n, messages: l } = this, o = P(e), a = t ? f.open : o === "rtl" ? f.closedRTL : f.closedLTR, r = t ? l.collapse : l.expand;
|
|
179
|
+
return n ? i("td", { class: s.openContainer, key: "open-container", onClick: this.handleToggleClick, title: r }, i("calcite-icon", { icon: a, key: a, scale: "s" })) : null;
|
|
180
|
+
}
|
|
181
|
+
renderActionsStart() {
|
|
182
|
+
const { label: e, hasActionsStart: t } = this;
|
|
183
|
+
return i("td", { "aria-label": e, class: s.actionsStart, hidden: !t, key: "actions-start-container", onFocusin: this.focusCellActionsStart, ref: (n) => this.actionsStartEl = n, role: "gridcell" }, i("slot", { name: C.actionsStart, onSlotchange: this.handleActionsStartSlotChange }));
|
|
184
|
+
}
|
|
185
|
+
renderActionsEnd() {
|
|
186
|
+
const { label: e, hasActionsEnd: t, closable: n, messages: l } = this;
|
|
187
|
+
return i("td", { "aria-label": e, class: s.actionsEnd, hidden: !(t || n), key: "actions-end-container", onFocusin: this.focusCellActionsEnd, ref: (o) => this.actionsEndEl = o, role: "gridcell" }, i("slot", { name: C.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), n ? i("calcite-action", { appearance: "transparent", icon: f.close, key: "close-action", label: l.close, onClick: this.handleCloseClick, text: l.close }) : null);
|
|
188
|
+
}
|
|
189
|
+
renderContentStart() {
|
|
190
|
+
const { hasContentStart: e } = this;
|
|
191
|
+
return i("div", { class: s.contentStart, hidden: !e }, i("slot", { name: C.contentStart, onSlotchange: this.handleContentStartSlotChange }));
|
|
192
|
+
}
|
|
193
|
+
renderCustomContent() {
|
|
194
|
+
const { hasCustomContent: e } = this;
|
|
195
|
+
return i("div", { class: s.customContent, hidden: !e }, i("slot", { name: C.content, onSlotchange: this.handleContentSlotChange }));
|
|
196
|
+
}
|
|
197
|
+
renderContentEnd() {
|
|
198
|
+
const { hasContentEnd: e } = this;
|
|
199
|
+
return i("div", { class: s.contentEnd, hidden: !e }, i("slot", { name: C.contentEnd, onSlotchange: this.handleContentEndSlotChange }));
|
|
200
|
+
}
|
|
201
|
+
renderContentBottom() {
|
|
202
|
+
const { hasContentBottom: e } = this;
|
|
203
|
+
return i("div", { class: s.contentBottom, hidden: !e }, i("slot", { name: C.contentBottom, onSlotchange: this.handleContentBottomSlotChange }));
|
|
204
|
+
}
|
|
205
|
+
renderDefaultContainer() {
|
|
206
|
+
return i("div", { class: {
|
|
207
|
+
[s.nestedContainer]: !0,
|
|
208
|
+
[s.nestedContainerHidden]: this.openable && !this.open
|
|
209
|
+
} }, i("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (e) => this.defaultSlotEl = e }));
|
|
210
|
+
}
|
|
211
|
+
renderContentProperties() {
|
|
212
|
+
const { label: e, description: t, hasCustomContent: n } = this;
|
|
213
|
+
return !n && (e || t) ? i("div", { class: s.content, key: "content" }, e ? i("div", { class: s.label, key: "label" }, e) : null, t ? i("div", { class: s.description, key: "description" }, t) : null) : null;
|
|
214
|
+
}
|
|
215
|
+
renderContentContainer() {
|
|
216
|
+
const { description: e, label: t, selectionMode: n, hasCustomContent: l } = this, o = l || !!t || !!e, a = [
|
|
217
|
+
this.renderContentStart(),
|
|
218
|
+
this.renderCustomContent(),
|
|
219
|
+
this.renderContentProperties(),
|
|
220
|
+
this.renderContentEnd()
|
|
221
|
+
];
|
|
222
|
+
return i("td", { "aria-label": t, class: {
|
|
223
|
+
[s.contentContainer]: !0,
|
|
224
|
+
[s.contentContainerSelectable]: n !== "none",
|
|
225
|
+
[s.contentContainerHasCenterContent]: o
|
|
226
|
+
}, key: "content-container", onClick: this.handleItemClick, onFocusin: this.focusCellContent, ref: (r) => this.contentEl = r, role: "gridcell" }, a);
|
|
227
|
+
}
|
|
228
|
+
render() {
|
|
229
|
+
const { openable: e, open: t, level: n, setPosition: l, setSize: o, active: a, label: r, selected: g, selectionAppearance: c, selectionMode: h, closed: u, filterHidden: x, bordered: k, disabled: A } = this, p = h !== "none" && c === "border", w = p && g, D = p && !g;
|
|
230
|
+
return i(B, { key: "16f6ec1a905814658f476cd1b1e267c789049c70" }, i(G, { key: "ee4cc1488a237e8cb25d30d3d4f3925972745fec", disabled: A }, i("div", { key: "f8a5f0520817d8243e9b6fbc5c8467c727b72d52", class: { [s.wrapper]: !0, [s.wrapperBordered]: k } }, i("tr", { key: "b2dd6b114bea5f5f10e7bfcfd1a9d40d9ee4b3b1", "aria-expanded": e ? S(t) : null, "aria-label": r, "aria-level": n, "aria-posinset": l, "aria-selected": S(g), "aria-setsize": o, class: {
|
|
231
|
+
[s.container]: !0,
|
|
232
|
+
[s.containerHover]: !0,
|
|
233
|
+
[s.containerBorder]: p,
|
|
234
|
+
[s.containerBorderSelected]: w,
|
|
235
|
+
[s.containerBorderUnselected]: D
|
|
236
|
+
}, hidden: u || x, onFocus: this.focusCellNull, onFocusin: this.emitInternalListItemActive, onKeyDown: this.handleItemKeyDown, ref: (H) => this.containerEl = H, role: "row", tabIndex: a ? 0 : -1 }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), this.renderContentBottom()), i("div", { key: "43f56fd461303153e1b6311c44a5597b930b118d", class: s.indent }, this.renderDefaultContainer())));
|
|
237
|
+
}
|
|
238
|
+
emitCalciteInternalListItemToggle() {
|
|
239
|
+
this.calciteInternalListItemToggle.emit();
|
|
240
|
+
}
|
|
241
|
+
emitCalciteInternalListItemChange() {
|
|
242
|
+
this.calciteInternalListItemChange.emit();
|
|
243
|
+
}
|
|
244
|
+
setSelectionDefaults() {
|
|
245
|
+
const { parentListEl: e, selectionMode: t, selectionAppearance: n } = this;
|
|
246
|
+
e && (t || (this.selectionMode = e.selectionMode), n || (this.selectionAppearance = e.selectionAppearance));
|
|
247
|
+
}
|
|
248
|
+
handleOpenableChange(e) {
|
|
249
|
+
if (!e)
|
|
250
|
+
return;
|
|
251
|
+
const t = V(e), n = X(e);
|
|
252
|
+
Y(t), this.openable = !!t.length || !!n.length;
|
|
253
|
+
}
|
|
254
|
+
getGridCells() {
|
|
255
|
+
return [this.handleGridEl, this.actionsStartEl, this.contentEl, this.actionsEndEl].filter((e) => e && !e.hidden);
|
|
256
|
+
}
|
|
257
|
+
static get assetsDirs() {
|
|
258
|
+
return ["assets"];
|
|
259
|
+
}
|
|
260
|
+
get el() {
|
|
261
|
+
return this;
|
|
262
|
+
}
|
|
263
|
+
static get watchers() {
|
|
264
|
+
return {
|
|
265
|
+
active: ["activeHandler"],
|
|
266
|
+
closed: ["handleClosedChange"],
|
|
267
|
+
disabled: ["handleDisabledChange"],
|
|
268
|
+
open: ["handleOpenChange"],
|
|
269
|
+
selected: ["handleSelectedChange"],
|
|
270
|
+
messageOverrides: ["onMessagesChange"],
|
|
271
|
+
effectiveLocale: ["effectiveLocaleChange"]
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
static get style() {
|
|
275
|
+
return ie;
|
|
276
|
+
}
|
|
277
|
+
}, [1, "calcite-list-item", {
|
|
278
|
+
active: [4],
|
|
279
|
+
bordered: [4],
|
|
280
|
+
closable: [516],
|
|
281
|
+
closed: [1540],
|
|
282
|
+
description: [1],
|
|
283
|
+
disabled: [516],
|
|
284
|
+
dragDisabled: [516, "drag-disabled"],
|
|
285
|
+
dragHandle: [4, "drag-handle"],
|
|
286
|
+
dragSelected: [1540, "drag-selected"],
|
|
287
|
+
filterHidden: [516, "filter-hidden"],
|
|
288
|
+
label: [1],
|
|
289
|
+
metadata: [16],
|
|
290
|
+
open: [1540],
|
|
291
|
+
setSize: [2, "set-size"],
|
|
292
|
+
setPosition: [2, "set-position"],
|
|
293
|
+
selected: [1540],
|
|
294
|
+
value: [8],
|
|
295
|
+
selectionMode: [1025, "selection-mode"],
|
|
296
|
+
selectionAppearance: [1025, "selection-appearance"],
|
|
297
|
+
messageOverrides: [1040],
|
|
298
|
+
messages: [1040],
|
|
299
|
+
effectiveLocale: [32],
|
|
300
|
+
defaultMessages: [32],
|
|
301
|
+
level: [32],
|
|
302
|
+
parentListEl: [32],
|
|
303
|
+
openable: [32],
|
|
304
|
+
hasActionsStart: [32],
|
|
305
|
+
hasActionsEnd: [32],
|
|
306
|
+
hasCustomContent: [32],
|
|
307
|
+
hasContentStart: [32],
|
|
308
|
+
hasContentEnd: [32],
|
|
309
|
+
hasContentBottom: [32],
|
|
310
|
+
setFocus: [64]
|
|
311
|
+
}, [[0, "calciteInternalListItemGroupDefaultSlotChange", "handleCalciteInternalListDefaultSlotChanges"], [0, "calciteInternalListDefaultSlotChange", "handleCalciteInternalListDefaultSlotChanges"]], {
|
|
312
|
+
active: ["activeHandler"],
|
|
313
|
+
closed: ["handleClosedChange"],
|
|
314
|
+
disabled: ["handleDisabledChange"],
|
|
315
|
+
open: ["handleOpenChange"],
|
|
316
|
+
selected: ["handleSelectedChange"],
|
|
317
|
+
messageOverrides: ["onMessagesChange"],
|
|
318
|
+
effectiveLocale: ["effectiveLocaleChange"]
|
|
319
|
+
}]);
|
|
320
|
+
function y() {
|
|
321
|
+
if (typeof customElements > "u")
|
|
322
|
+
return;
|
|
323
|
+
["calcite-list-item", "calcite-action", "calcite-handle", "calcite-icon", "calcite-loader"].forEach((e) => {
|
|
324
|
+
switch (e) {
|
|
325
|
+
case "calcite-list-item":
|
|
326
|
+
customElements.get(e) || customElements.define(e, L);
|
|
327
|
+
break;
|
|
328
|
+
case "calcite-action":
|
|
329
|
+
customElements.get(e) || Z();
|
|
330
|
+
break;
|
|
331
|
+
case "calcite-handle":
|
|
332
|
+
customElements.get(e) || N();
|
|
333
|
+
break;
|
|
334
|
+
case "calcite-icon":
|
|
335
|
+
customElements.get(e) || ee();
|
|
336
|
+
break;
|
|
337
|
+
case "calcite-loader":
|
|
338
|
+
customElements.get(e) || te();
|
|
339
|
+
break;
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
y();
|
|
344
|
+
const be = L, Ie = y;
|
|
345
|
+
export {
|
|
346
|
+
be as CalciteListItem,
|
|
347
|
+
Ie as defineCustomElement
|
|
348
|
+
};
|