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