@agrotools1/at-components 0.4.0 → 0.4.2
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.vue.js +8 -8
- package/dist/Accordion/Accordion.vue3.js +2 -2
- package/dist/Avatar/Avatar.vue.js +1 -1
- package/dist/Avatar/Avatar.vue3.js +2 -2
- 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.vue.js +4 -4
- package/dist/Checkbox/img/checkmarck.svg.js +1 -1
- 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.vue.js +6 -6
- package/dist/DataTable/Column/imgs/filter.svg.js +1 -1
- package/dist/DataTable/Counters/Counters.vue.js +1 -1
- package/dist/DataTable/Counters/imgs/close.svg.js +1 -1
- package/dist/DataTable/DataTable.vue.js +27 -27
- package/dist/DataTable/DataTable.vue2.js +45 -40
- package/dist/DatePicker/DatePicker.d.ts +2 -0
- package/dist/DatePicker/DatePicker.scss.js +2 -2
- package/dist/DatePicker/DatePicker.vue.js +39 -33
- package/dist/DatePicker/DatePicker.vue2.js +79 -65
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.vue.js +3 -3
- package/dist/DatePicker/DatePickerHeader/DatePickerHeader.scss.js +2 -2
- package/dist/DatePicker/DatePickerHeader/DatePickerHeader.vue.js +4 -4
- package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.vue.js +5 -5
- package/dist/DatePicker/DatePickerTime/DatePickerTime.scss.js +2 -2
- package/dist/DatePicker/DatePickerTime/DatePickerTime.vue.js +8 -8
- package/dist/Dropdown/Checklist/Dropdown.Checklist.vue.js +35 -33
- package/dist/Dropdown/Checklist/Dropdown.Checklist.vue3.js +2 -2
- package/dist/Dropdown/Dropdown.core.d.ts +16 -2
- package/dist/Dropdown/Dropdown.core.vue.js +26 -13
- package/dist/Dropdown/Dropdown.core.vue2.js +28 -20
- package/dist/Dropdown/Dropdown.core.vue3.js +2 -2
- package/dist/Dropdown/Dropdown.types.d.ts +1 -0
- package/dist/Faq/Faq.vue.js +2 -2
- package/dist/Filter/components/Filter.types.d.ts +2 -0
- package/dist/Filter/components/Filter.vue.js +100 -93
- 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 +24 -1
- package/dist/Input/Input.core.vue.js +32 -26
- package/dist/Input/Input.core.vue2.js +98 -63
- package/dist/Input/Input.core.vue3.js +2 -2
- package/dist/Input/imgs/error.svg.js +2 -2
- package/dist/Input/index.d.ts +24 -1
- package/dist/Legend/Legend.vue.js +6 -6
- package/dist/List/components/List.d.ts +21 -3
- package/dist/List/components/List.types.d.ts +2 -1
- package/dist/List/components/List.vue.js +30 -26
- package/dist/List/components/List.vue2.js +34 -23
- package/dist/Modal/Modal.vue.js +6 -6
- package/dist/Modal/images/cross.svg.js +1 -1
- package/dist/Notifications/Notification/Notification.vue.js +4 -4
- package/dist/Notifications/Notifications.vue.js +4 -4
- 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.vue.js +3 -3
- package/dist/RadioButton/RadioButton.vue.js +1 -1
- package/dist/RadioButton/RadioButton.vue3.js +2 -2
- package/dist/Search/Search.d.ts +1 -1
- package/dist/Search/Search.vue.js +18 -37
- package/dist/Search/Search.vue2.js +23 -21
- package/dist/Select/Item/Item.vue.js +4 -4
- package/dist/Select/Multiple/Select.multiple.vue.js +3 -3
- package/dist/Select/Single/Select.single.vue.js +6 -6
- package/dist/Select/imgs/indicator.svg.js +1 -1
- package/dist/Stepper/Stepper.vue.js +10 -10
- package/dist/TableConfig/TableConfig.d.ts +20 -0
- package/dist/TableConfig/TableConfig.vue.js +33 -33
- package/dist/TableConfig/TableConfig.vue2.js +20 -12
- package/dist/Tabs/Tab/Tab.vue.js +2 -2
- package/dist/Tabs/Tab/Tab.vue2.js +2 -2
- package/dist/Tabs/Tabs.d.ts +10 -2
- package/dist/Tabs/Tabs.vue.js +8 -8
- package/dist/Tabs/Tabs.vue2.js +40 -14
- package/dist/Tag/Tag.vue.js +1 -1
- package/dist/Tipograph/Paragraph/Paragraph.vue.js +2 -2
- package/dist/Tipograph/Paragraph/Paragraph.vue3.js +2 -2
- package/dist/Tipograph/Title/Title.vue.js +2 -2
- package/dist/Toggle/Toggle.d.ts +9 -0
- package/dist/Toggle/Toggle.vue.js +2 -2
- package/dist/Toggle/Toggle.vue2.js +14 -7
- package/dist/Tooltip/Tooltip.vue.js +5 -5
- package/dist/Tooltip/Tooltip.vue3.js +2 -2
- package/dist/Upload/Upload.vue.js +10 -10
- package/dist/node_modules/.pnpm/vue-router@4.3.2_vue@3.3.4/node_modules/vue-router/dist/vue-router.js +32 -0
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/storybook-static/185.127ee245.iframe.bundle.js +0 -1
- package/storybook-static/264.d0301f51.iframe.bundle.js +0 -1
- package/storybook-static/288.bada5911.iframe.bundle.js +0 -1
- package/storybook-static/352.57fdec72.iframe.bundle.js +0 -1
- package/storybook-static/364.f6abf738.iframe.bundle.js +0 -1
- package/storybook-static/433.55c6c988.iframe.bundle.js +0 -1
- package/storybook-static/503.919a9c54.iframe.bundle.js +0 -411
- package/storybook-static/503.919a9c54.iframe.bundle.js.LICENSE.txt +0 -35
- package/storybook-static/503.919a9c54.iframe.bundle.js.map +0 -1
- package/storybook-static/647.c5d3c77d.iframe.bundle.js +0 -1
- package/storybook-static/648.40aae8ac.iframe.bundle.js +0 -1
- package/storybook-static/71.c5a7a895.iframe.bundle.js +0 -44
- package/storybook-static/71.c5a7a895.iframe.bundle.js.map +0 -1
- package/storybook-static/745.bdba4336.iframe.bundle.js +0 -1
- package/storybook-static/774.56edb488.iframe.bundle.js +0 -1
- package/storybook-static/799.527c0f8d.iframe.bundle.js +0 -1
- package/storybook-static/857.73d94321.iframe.bundle.js +0 -1
- package/storybook-static/878.a47a30a1.iframe.bundle.js +0 -1
- package/storybook-static/895.3432937c.iframe.bundle.js +0 -1
- package/storybook-static/897.7292af5c.iframe.bundle.js +0 -2
- package/storybook-static/897.7292af5c.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/930.b16e5e72.iframe.bundle.js +0 -1
- package/storybook-static/956.a6b327a7.iframe.bundle.js +0 -134
- package/storybook-static/956.a6b327a7.iframe.bundle.js.LICENSE.txt +0 -46
- package/storybook-static/956.a6b327a7.iframe.bundle.js.map +0 -1
- package/storybook-static/957.530b49b4.iframe.bundle.js +0 -1
- package/storybook-static/Avatar-Avatar-stories.4909423c.iframe.bundle.js +0 -1
- package/storybook-static/Button-Button-stories.c13172d3.iframe.bundle.js +0 -1
- package/storybook-static/CardWithInsights-CardWithInsights-stories.041a882c.iframe.bundle.js +0 -1
- package/storybook-static/Checkbox-Checkbox-stories.f1b62236.iframe.bundle.js +0 -2
- package/storybook-static/Checkbox-Checkbox-stories.f1b62236.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/DataTable-DataTable-stories.c2b51ae8.iframe.bundle.js +0 -2
- package/storybook-static/DataTable-DataTable-stories.c2b51ae8.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/DataTable-Tag-Tag-stories.22616950.iframe.bundle.js +0 -2
- package/storybook-static/DataTable-Tag-Tag-stories.22616950.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/Faq-Faq-stories.1ffafc5b.iframe.bundle.js +0 -1
- package/storybook-static/Icons-Icons-stories.ca14907d.iframe.bundle.js +0 -1
- package/storybook-static/Illustration-Illustration-stories.48222f1d.iframe.bundle.js +0 -1
- package/storybook-static/IllustrationGallery-IllustrationGallery-stories.a08315fd.iframe.bundle.js +0 -1
- package/storybook-static/Input-Input-stories.6a435e63.iframe.bundle.js +0 -2
- package/storybook-static/Input-Input-stories.6a435e63.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/Modal-Modal-stories.69bf2ead.iframe.bundle.js +0 -1
- package/storybook-static/Paginator-Paginator-stories.57ccb98b.iframe.bundle.js +0 -2
- package/storybook-static/Paginator-Paginator-stories.57ccb98b.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/ProgressBar-ProgressBar-stories.ebcb7961.iframe.bundle.js +0 -1
- package/storybook-static/Select-Select-multiple-stories.97b8ae08.iframe.bundle.js +0 -2
- package/storybook-static/Select-Select-multiple-stories.97b8ae08.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/Select-Select-single-stories.06662de7.iframe.bundle.js +0 -2
- package/storybook-static/Select-Select-single-stories.06662de7.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/Tabs-Tab-Tab-stories.4f79eca2.iframe.bundle.js +0 -2
- package/storybook-static/Tabs-Tab-Tab-stories.4f79eca2.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/Tabs-Tabs-stories.729e0e73.iframe.bundle.js +0 -2
- package/storybook-static/Tabs-Tabs-stories.729e0e73.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/Tipograph-Paragraph-Paragraph-stories.27ab9302.iframe.bundle.js +0 -1
- package/storybook-static/Tipograph-Title-Title-stories.46d54c19.iframe.bundle.js +0 -1
- package/storybook-static/Toggle-Toggle-stories.734f39e5.iframe.bundle.js +0 -1
- package/storybook-static/Upload-Upload-stories.4e22beef.iframe.bundle.js +0 -1
- package/storybook-static/favicon.svg +0 -7
- package/storybook-static/iframe.html +0 -355
- package/storybook-static/index.html +0 -127
- package/storybook-static/index.json +0 -1
- package/storybook-static/main.fb4e53db.iframe.bundle.js +0 -1
- package/storybook-static/project.json +0 -1
- package/storybook-static/runtime~main.4fa4124a.iframe.bundle.js +0 -1
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -63
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -18
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/fonts.css +0 -31
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/WithTooltip-V3YHNWJZ-TRLNWEGW.js +0 -1
- package/storybook-static/sb-manager/chunk-4IYAVH3S.js +0 -348
- package/storybook-static/sb-manager/chunk-CXYKRFSY.js +0 -9
- package/storybook-static/sb-manager/chunk-LVLAH4SI.js +0 -7
- package/storybook-static/sb-manager/chunk-VFHDXWEA.js +0 -406
- package/storybook-static/sb-manager/chunk-ZEU7PDD3.js +0 -1
- package/storybook-static/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +0 -156
- package/storybook-static/sb-manager/globals-module-info.js +0 -1
- package/storybook-static/sb-manager/globals.js +0 -1
- package/storybook-static/sb-manager/index.js +0 -1
- package/storybook-static/sb-manager/runtime.js +0 -1
- package/storybook-static/sb-manager/syntaxhighlighter-B5GMVT5T-EA5ASEYD.js +0 -1
- package/storybook-static/sb-preview/globals.js +0 -1
- package/storybook-static/sb-preview/runtime.js +0 -112
- package/storybook-static/static/media/src/Checkbox/img/checkmarck.svg +0 -5
- package/storybook-static/static/media/src/DataTable/Column/imgs/filter.svg +0 -12
- package/storybook-static/static/media/src/DataTable/Counters/imgs/close.svg +0 -3
- package/storybook-static/static/media/src/DataTable/Tag/imgs/disabled.svg +0 -12
- package/storybook-static/static/media/src/DataTable/Tag/imgs/error.svg +0 -12
- package/storybook-static/static/media/src/DataTable/Tag/imgs/info.svg +0 -18
- package/storybook-static/static/media/src/DataTable/Tag/imgs/success.svg +0 -12
- package/storybook-static/static/media/src/DataTable/Tag/imgs/warning.svg +0 -5
- package/storybook-static/static/media/src/Illustration/images/renovabio-illustrations/biomass.svg +0 -36
- package/storybook-static/static/media/src/Illustration/images/renovabio-illustrations/volume.svg +0 -10
- package/storybook-static/static/media/src/Illustration/images/system-images/add-file.svg +0 -12
- package/storybook-static/static/media/src/Illustration/images/system-images/cloud-connection.svg +0 -14
- package/storybook-static/static/media/src/Illustration/images/system-images/cloud-download.svg +0 -19
- package/storybook-static/static/media/src/Illustration/images/system-images/cloud-upload.svg +0 -16
- package/storybook-static/static/media/src/Illustration/images/system-images/corrupted-file.svg +0 -16
- package/storybook-static/static/media/src/Illustration/images/system-images/empty-box.svg +0 -22
- package/storybook-static/static/media/src/Illustration/images/system-images/empty-folder-2.svg +0 -10
- package/storybook-static/static/media/src/Illustration/images/system-images/empty-folder.svg +0 -18
- package/storybook-static/static/media/src/Illustration/images/system-images/empty.svg +0 -14
- package/storybook-static/static/media/src/Illustration/images/system-images/error-illustration.svg +0 -13
- package/storybook-static/static/media/src/Illustration/images/system-images/file-backup-2.svg +0 -18
- package/storybook-static/static/media/src/Illustration/images/system-images/file-backup.svg +0 -13
- package/storybook-static/static/media/src/Illustration/images/system-images/filtering-upload.svg +0 -42
- package/storybook-static/static/media/src/Illustration/images/system-images/flight.svg +0 -14
- package/storybook-static/static/media/src/Illustration/images/system-images/fly.svg +0 -9
- package/storybook-static/static/media/src/Illustration/images/system-images/movies.svg +0 -26
- package/storybook-static/static/media/src/Illustration/images/system-images/multimedia.svg +0 -9
- package/storybook-static/static/media/src/Illustration/images/system-images/notification-bell.svg +0 -15
- package/storybook-static/static/media/src/Illustration/images/system-images/page-2.svg +0 -18
- package/storybook-static/static/media/src/Illustration/images/system-images/page.svg +0 -12
- package/storybook-static/static/media/src/Illustration/images/system-images/photos.svg +0 -15
- package/storybook-static/static/media/src/Illustration/images/system-images/recycle-bin.svg +0 -14
- package/storybook-static/static/media/src/Illustration/images/system-images/rocket-launch.svg +0 -22
- package/storybook-static/static/media/src/Illustration/images/system-images/signal.svg +0 -24
- package/storybook-static/static/media/src/Illustration/images/system-images/wrong.svg +0 -14
- package/storybook-static/static/media/src/Illustration/images/tools-images/advanced-analysis.svg +0 -62
- package/storybook-static/static/media/src/Illustration/images/tools-images/agriculture.svg +0 -19
- package/storybook-static/static/media/src/Illustration/images/tools-images/alert-center.svg +0 -17
- package/storybook-static/static/media/src/Illustration/images/tools-images/area.svg +0 -15
- package/storybook-static/static/media/src/Illustration/images/tools-images/at-insights.svg +0 -24
- package/storybook-static/static/media/src/Illustration/images/tools-images/conservation-unit.svg +0 -12
- package/storybook-static/static/media/src/Illustration/images/tools-images/credit.svg +0 -18
- package/storybook-static/static/media/src/Illustration/images/tools-images/deforestation.svg +0 -15
- package/storybook-static/static/media/src/Illustration/images/tools-images/distance-proximity-rivers.svg +0 -37
- package/storybook-static/static/media/src/Illustration/images/tools-images/estimated-productivity-penalty.svg +0 -12
- package/storybook-static/static/media/src/Illustration/images/tools-images/extract.svg +0 -33
- package/storybook-static/static/media/src/Illustration/images/tools-images/farm.svg +0 -18
- package/storybook-static/static/media/src/Illustration/images/tools-images/geographical-consultation-municipalities.svg +0 -31
- package/storybook-static/static/media/src/Illustration/images/tools-images/gix.svg +0 -21
- package/storybook-static/static/media/src/Illustration/images/tools-images/insurance.svg +0 -16
- package/storybook-static/static/media/src/Illustration/images/tools-images/land-appreciation.svg +0 -26
- package/storybook-static/static/media/src/Illustration/images/tools-images/lockdown.svg +0 -14
- package/storybook-static/static/media/src/Illustration/images/tools-images/map.svg +0 -5
- package/storybook-static/static/media/src/Illustration/images/tools-images/pasture.svg +0 -19
- package/storybook-static/static/media/src/Illustration/images/tools-images/rating-2.svg +0 -16
- package/storybook-static/static/media/src/Illustration/images/tools-images/rating.svg +0 -21
- package/storybook-static/static/media/src/Illustration/images/tools-images/recurrence.svg +0 -17
- package/storybook-static/static/media/src/Illustration/images/tools-images/refrigerators.svg +0 -14
- package/storybook-static/static/media/src/Illustration/images/tools-images/settings.svg +0 -23
- package/storybook-static/static/media/src/Illustration/images/tools-images/socio-environmental-analysis.svg +0 -18
- package/storybook-static/static/media/src/Illustration/images/tools-images/soil-use.svg +0 -52
- package/storybook-static/static/media/src/Illustration/images/tools-images/storm.svg +0 -25
- package/storybook-static/static/media/src/Illustration/images/tools-images/territory-details.svg +0 -17
- package/storybook-static/static/media/src/Illustration/images/tools-images/timeline.svg +0 -42
- package/storybook-static/static/media/src/Input/imgs/error.svg +0 -5
- package/storybook-static/static/media/src/Modal/images/cross.svg +0 -5
- package/storybook-static/static/media/src/Paginator/imgs/double-left-arrow.svg +0 -15
- package/storybook-static/static/media/src/Paginator/imgs/double-right-arrow.svg +0 -15
- package/storybook-static/static/media/src/Paginator/imgs/left-arrow.svg +0 -5
- package/storybook-static/static/media/src/Paginator/imgs/right-arrow.svg +0 -5
- package/storybook-static/static/media/src/Select/imgs/indicator.svg +0 -3
- package/storybook-static/static/media/src/Tabs/imgs/check.svg +0 -10
- package/storybook-static/static/media/src/Tabs/imgs/warning.svg +0 -9
- package/storybook-static/stories.json +0 -1
|
@@ -1,45 +1,43 @@
|
|
|
1
1
|
import p from "./Input.core.vue2.js";
|
|
2
|
-
import { openBlock as n, createElementBlock as l, createElementVNode as r, toDisplayString as
|
|
2
|
+
import { resolveComponent as m, openBlock as n, createElementBlock as l, createElementVNode as r, toDisplayString as i, Fragment as I, renderList as v, createCommentVNode as d, mergeProps as C, normalizeClass as k, createBlock as a, resolveDynamicComponent as y, createTextVNode as T } from "vue";
|
|
3
3
|
import "./Input.core.vue3.js";
|
|
4
4
|
import f from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const h = ["data-mode", "disabled"], F = ["for"], O = ["title"], $ = { class: "AT-INPUT_item_slot" }, A = ["onClick"], N = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "AT-INPUT_items_length"
|
|
8
|
-
},
|
|
9
|
-
key: 2,
|
|
10
|
-
class: "AT_INPUT_icon_slot"
|
|
11
|
-
}, g = {
|
|
8
|
+
}, b = ["id", "disabled", "readonly", "type", "placeholder", "name", "value"], g = {
|
|
12
9
|
key: 0,
|
|
13
10
|
class: "AT-INPUT_error-message"
|
|
14
|
-
},
|
|
15
|
-
function
|
|
11
|
+
}, M = ["src"];
|
|
12
|
+
function P(e, s, U, B, E, z) {
|
|
13
|
+
const u = m("AtCircleXMarkSolidIcon");
|
|
16
14
|
return n(), l("div", null, [
|
|
17
15
|
r("div", {
|
|
18
16
|
ref: "wrapperEl",
|
|
19
17
|
"data-mode": e.currentMode,
|
|
20
18
|
disabled: e.$props.disabled || void 0,
|
|
21
19
|
class: "AT-INPUT_core",
|
|
22
|
-
onMouseover: s[
|
|
23
|
-
onMouseleave: s[
|
|
20
|
+
onMouseover: s[6] || (s[6] = (...o) => e.handleMouseOver && e.handleMouseOver(...o)),
|
|
21
|
+
onMouseleave: s[7] || (s[7] = (...o) => e.handleMouseLeave && e.handleMouseLeave(...o))
|
|
24
22
|
}, [
|
|
25
23
|
r("label", {
|
|
26
24
|
for: e.id,
|
|
27
25
|
onClick: s[0] || (s[0] = (...o) => e.handleOnFocus && e.handleOnFocus(...o))
|
|
28
|
-
},
|
|
26
|
+
}, i(e.label), 9, F),
|
|
29
27
|
e.separator ? (n(), l("div", {
|
|
30
28
|
key: 0,
|
|
31
29
|
ref: "containerItemsEl",
|
|
32
30
|
class: "AT-INPUT_items",
|
|
33
31
|
onClick: s[1] || (s[1] = (...o) => e.handleOnFocus && e.handleOnFocus(...o))
|
|
34
32
|
}, [
|
|
35
|
-
(n(!0), l(
|
|
33
|
+
(n(!0), l(I, null, v(e.selectedItemsController.itemsToRender, (o) => (n(), l("span", {
|
|
36
34
|
key: o.value,
|
|
37
35
|
ref_for: !0,
|
|
38
36
|
ref: "selectedItemsEl",
|
|
39
37
|
title: o.text,
|
|
40
38
|
class: "AT-INPUT_item"
|
|
41
39
|
}, [
|
|
42
|
-
r("span",
|
|
40
|
+
r("span", $, i(o.text), 1),
|
|
43
41
|
r("span", {
|
|
44
42
|
class: "AT-INPUT_item_slot_x",
|
|
45
43
|
style: { padding: "1px 5px" },
|
|
@@ -47,10 +45,10 @@ function A(e, s, P, U, M, E) {
|
|
|
47
45
|
var t;
|
|
48
46
|
(t = e.onSelectedItemClick) == null || t.call(e, o == null ? void 0 : o.value);
|
|
49
47
|
}
|
|
50
|
-
}, "x", 8,
|
|
51
|
-
], 8,
|
|
52
|
-
e.selectedItems.length > e.selectedItemsController.supportedItems ? (n(), l("span",
|
|
53
|
-
], 512)) : (n(), l("input",
|
|
48
|
+
}, "x", 8, A)
|
|
49
|
+
], 8, O))), 128)),
|
|
50
|
+
e.selectedItems.length > e.selectedItemsController.supportedItems ? (n(), l("span", N, "+ " + i(e.selectedItems.length - e.selectedItemsController.supportedItems), 1)) : d("", !0)
|
|
51
|
+
], 512)) : (n(), l("input", C({ key: 1 }, e.$attrs, {
|
|
54
52
|
id: e.id,
|
|
55
53
|
ref: "inputEl",
|
|
56
54
|
style: { cursor: e.cursor },
|
|
@@ -63,24 +61,32 @@ function A(e, s, P, U, M, E) {
|
|
|
63
61
|
onInput: s[2] || (s[2] = (...o) => e.onInput && e.onInput(...o)),
|
|
64
62
|
onFocus: s[3] || (s[3] = (...o) => e.handleOnFocus && e.handleOnFocus(...o)),
|
|
65
63
|
onFocusout: s[4] || (s[4] = (...o) => e.handleOnFocusOut && e.handleOnFocusOut(...o))
|
|
66
|
-
}), null, 16,
|
|
67
|
-
e.$props.icon ? (n(), l("div",
|
|
68
|
-
|
|
64
|
+
}), null, 16, b)),
|
|
65
|
+
e.$props.icon ? (n(), l("div", {
|
|
66
|
+
key: 2,
|
|
67
|
+
class: k(["AT_INPUT_icon_slot", { clickable: e.useClearButton && e.isFocused }]),
|
|
68
|
+
onClick: s[5] || (s[5] = (o) => e.showClearButton ? e.clearInput() : null)
|
|
69
|
+
}, [
|
|
70
|
+
e.showClearButton ? (n(), a(u, {
|
|
71
|
+
key: 0,
|
|
72
|
+
size: "20"
|
|
73
|
+
})) : (n(), a(y(e.icons[e.$props.icon.name]), {
|
|
74
|
+
key: 1,
|
|
69
75
|
size: e.$props.icon.size || "20",
|
|
70
76
|
color: e.iconColor
|
|
71
77
|
}, null, 8, ["size", "color"]))
|
|
72
|
-
])) :
|
|
73
|
-
], 40,
|
|
78
|
+
], 2)) : d("", !0)
|
|
79
|
+
], 40, h),
|
|
74
80
|
e.error.value ? (n(), l("span", g, [
|
|
75
81
|
r("img", {
|
|
76
82
|
src: e.icons.error,
|
|
77
83
|
alt: "error icon"
|
|
78
|
-
}, null, 8,
|
|
79
|
-
T(" " +
|
|
80
|
-
])) :
|
|
84
|
+
}, null, 8, M),
|
|
85
|
+
T(" " + i(e.error.message), 1)
|
|
86
|
+
])) : d("", !0)
|
|
81
87
|
]);
|
|
82
88
|
}
|
|
83
|
-
const D = /* @__PURE__ */ f(p, [["render",
|
|
89
|
+
const D = /* @__PURE__ */ f(p, [["render", P], ["__scopeId", "data-v-f3d953a9"]]);
|
|
84
90
|
export {
|
|
85
91
|
D as default
|
|
86
92
|
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { defineComponent as j, ref as a, computed as s, onMounted as z, onBeforeUnmount as N, watchEffect as U, watch as S, nextTick as D } from "vue";
|
|
2
|
+
import { AtCircleXMarkSolidIcon as P } from "../node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtCircleXMarkSolidIcon/index.js";
|
|
3
|
+
import X from "../Icons/icons.js";
|
|
4
|
+
import H from "./imgs/error.svg.js";
|
|
5
|
+
const Y = j({
|
|
5
6
|
name: "AtCoreInput",
|
|
7
|
+
components: {
|
|
8
|
+
AtCircleXMarkSolidIcon: P
|
|
9
|
+
},
|
|
6
10
|
props: {
|
|
7
11
|
modelValue: {
|
|
8
12
|
type: String,
|
|
@@ -72,106 +76,137 @@ const G = B({
|
|
|
72
76
|
},
|
|
73
77
|
onSelectedItemClick: {
|
|
74
78
|
type: Function
|
|
79
|
+
},
|
|
80
|
+
useClearButton: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: !1
|
|
83
|
+
},
|
|
84
|
+
forceEventClearButton: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: !1
|
|
75
87
|
}
|
|
76
88
|
},
|
|
77
|
-
emits: [
|
|
78
|
-
|
|
79
|
-
|
|
89
|
+
emits: [
|
|
90
|
+
"update:modelValue",
|
|
91
|
+
"input",
|
|
92
|
+
"clickOutside",
|
|
93
|
+
"clearInput",
|
|
94
|
+
"mouseover"
|
|
95
|
+
],
|
|
96
|
+
setup(e, { emit: d }) {
|
|
97
|
+
const T = { ...X }, b = a(null), V = a(null), c = a(null), E = a(null), A = s(() => e.error), u = a(!1), i = a(""), f = a(!1), O = s(
|
|
98
|
+
() => e.useClearButton && u.value && e.modelValue && !f.value
|
|
99
|
+
), y = a({
|
|
80
100
|
supportedItems: e.selectedItems.length,
|
|
81
101
|
isCounterActive: !1,
|
|
82
102
|
itemsToRender: e.selectedItems
|
|
83
|
-
}),
|
|
84
|
-
i.value = !0;
|
|
85
|
-
}, F = () => {
|
|
86
|
-
i.value = !1;
|
|
87
|
-
}, g = () => {
|
|
103
|
+
}), F = Math.random().toString(36).substring(2), o = a(!1), M = () => {
|
|
88
104
|
o.value = !0;
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
},
|
|
105
|
+
}, q = () => {
|
|
106
|
+
o.value = !1;
|
|
107
|
+
}, g = () => {
|
|
108
|
+
u.value = !0;
|
|
109
|
+
}, m = () => {
|
|
110
|
+
e.forceFocus || (e.forceEventClearButton ? u.value = !1 : B(() => {
|
|
111
|
+
u.value = !1;
|
|
112
|
+
}, 100)());
|
|
113
|
+
}, v = async () => {
|
|
92
114
|
var w;
|
|
93
|
-
|
|
94
|
-
const t = (w =
|
|
115
|
+
y.value.itemsToRender = e.selectedItems, await D();
|
|
116
|
+
const t = (w = c.value) == null ? void 0 : w.clientWidth;
|
|
95
117
|
if (t === void 0)
|
|
96
118
|
return;
|
|
97
119
|
let l = 50, n = 0;
|
|
98
|
-
const
|
|
99
|
-
if (
|
|
100
|
-
for (let
|
|
101
|
-
l +=
|
|
102
|
-
let
|
|
103
|
-
l >= t ?
|
|
120
|
+
const r = E.value;
|
|
121
|
+
if (r)
|
|
122
|
+
for (let I = 0; I < r.length; I++)
|
|
123
|
+
l += r[I].clientWidth + 10, l <= t && (n = I + 1);
|
|
124
|
+
let C;
|
|
125
|
+
l >= t ? C = {
|
|
104
126
|
isCounterActive: l > (t || 0),
|
|
105
127
|
supportedItems: n,
|
|
106
128
|
itemsToRender: e.selectedItems.slice(0, n)
|
|
107
|
-
} :
|
|
129
|
+
} : C = {
|
|
108
130
|
isCounterActive: l > (t || 0),
|
|
109
131
|
supportedItems: e.selectedItems.length,
|
|
110
132
|
itemsToRender: e.selectedItems
|
|
111
|
-
},
|
|
112
|
-
},
|
|
133
|
+
}, y.value = C;
|
|
134
|
+
}, k = (t) => {
|
|
113
135
|
var l, n;
|
|
114
|
-
!((l =
|
|
136
|
+
!((l = b.value) != null && l.contains(t.target)) && !((n = V.value) != null && n.contains(t.target)) && (m(), d("clickOutside"));
|
|
115
137
|
};
|
|
116
|
-
|
|
138
|
+
z(() => {
|
|
117
139
|
var t;
|
|
118
|
-
(e.modelValue !== void 0 && ((t = e.modelValue) != null && t.length) || e.forceFocus) && g(), document.addEventListener("click",
|
|
119
|
-
}),
|
|
120
|
-
document.removeEventListener("click",
|
|
140
|
+
(e.modelValue !== void 0 && ((t = e.modelValue) != null && t.length) || e.forceFocus) && g(), document.addEventListener("click", k), window.addEventListener("resize", v);
|
|
141
|
+
}), N(() => {
|
|
142
|
+
document.removeEventListener("click", k), window.removeEventListener("resize", v);
|
|
121
143
|
});
|
|
122
|
-
const
|
|
144
|
+
const L = (t) => {
|
|
123
145
|
e.preventInputEvent && t.preventDefault();
|
|
124
146
|
const l = t.target.value;
|
|
125
|
-
|
|
126
|
-
},
|
|
127
|
-
|
|
147
|
+
d("input", t), e.debounce > 0 ? B(() => h(l), e.debounce)() : h(l);
|
|
148
|
+
}, h = (t) => {
|
|
149
|
+
d("update:modelValue", t), e.modelValue === void 0 && (i.value = t);
|
|
128
150
|
};
|
|
129
|
-
function
|
|
151
|
+
function B(t, l) {
|
|
130
152
|
let n;
|
|
131
153
|
return function() {
|
|
132
154
|
clearTimeout(n), n = setTimeout(t, l);
|
|
133
155
|
};
|
|
134
156
|
}
|
|
135
|
-
|
|
157
|
+
const _ = () => {
|
|
158
|
+
f.value = !0, u.value = !1, d("clearInput"), setTimeout(() => {
|
|
159
|
+
e.forceEventClearButton || h(""), f.value = !1;
|
|
160
|
+
}, 100);
|
|
161
|
+
};
|
|
162
|
+
U(() => {
|
|
136
163
|
var t, l;
|
|
137
|
-
e.separator && ((e.modelValue !== void 0 ? e.modelValue.split(e.separator).filter((
|
|
138
|
-
}),
|
|
164
|
+
e.separator && ((e.modelValue !== void 0 ? e.modelValue.split(e.separator).filter((r) => r.length > 1) : i.value.split(e.separator).filter((r) => r.length > 1)).length ? (t = c.value) == null || t.classList.remove("AT-INPUT_items_empty") : ((l = c.value) == null || l.classList.add("AT-INPUT_items_empty"), m())), e.forceFocus ? g() : m();
|
|
165
|
+
}), S(
|
|
139
166
|
() => e.selectedItems,
|
|
140
167
|
async () => {
|
|
141
|
-
await
|
|
168
|
+
await v();
|
|
142
169
|
},
|
|
143
170
|
{ deep: !0 }
|
|
171
|
+
), S(
|
|
172
|
+
() => o.value,
|
|
173
|
+
() => {
|
|
174
|
+
d("mouseover", o.value);
|
|
175
|
+
}
|
|
144
176
|
);
|
|
145
|
-
const
|
|
177
|
+
const x = s(() => {
|
|
146
178
|
var t;
|
|
147
|
-
return e.disabled ? "var(--at-medium-grey)" : e.selectedItems.length > 0 ? "var(--at-black)" :
|
|
148
|
-
}),
|
|
179
|
+
return e.disabled ? "var(--at-medium-grey)" : e.selectedItems.length > 0 ? "var(--at-black)" : u.value ? "var(--at-primary-color-2)" : e.error.value ? "var(--at-error)" : o.value || (t = e.icon) != null && t.color || e.modelValue !== void 0 && e.modelValue.length > 0 || i.value.length > 0 ? "var(--at-black)" : "var(--at-dark-grey)";
|
|
180
|
+
}), R = s(() => e.disabled ? "disabled" : e.selectedItems.length > 0 ? "filled" : u.value ? "focused" : e.error.value ? "error" : o.value ? "hover" : e.modelValue !== void 0 && e.modelValue.length > 0 || i.value.length > 0 ? "filled" : "default"), W = s(() => e.modelValue !== void 0 ? e.modelValue : i.value ? i.value : null);
|
|
149
181
|
return {
|
|
150
|
-
wrapperEl:
|
|
151
|
-
inputEl:
|
|
152
|
-
inputError:
|
|
153
|
-
inputId: e.id ??
|
|
182
|
+
wrapperEl: b,
|
|
183
|
+
inputEl: V,
|
|
184
|
+
inputError: A,
|
|
185
|
+
inputId: e.id ?? F,
|
|
154
186
|
handleOnFocus: g,
|
|
155
|
-
handleOnFocusOut:
|
|
187
|
+
handleOnFocusOut: m,
|
|
156
188
|
icons: {
|
|
157
|
-
error:
|
|
158
|
-
...
|
|
189
|
+
error: H,
|
|
190
|
+
...T
|
|
159
191
|
},
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
192
|
+
clickedClear: f,
|
|
193
|
+
showClearButton: O,
|
|
194
|
+
clearInput: _,
|
|
195
|
+
containerItemsEl: c,
|
|
196
|
+
onInput: L,
|
|
197
|
+
iconColor: x,
|
|
198
|
+
isFocused: u,
|
|
199
|
+
handleMouseOver: M,
|
|
200
|
+
handleMouseLeave: q,
|
|
201
|
+
isHovered: o,
|
|
202
|
+
inputComputedValue: W,
|
|
203
|
+
currentMode: R,
|
|
204
|
+
selectedItemsEl: E,
|
|
205
|
+
selectedItemsController: y,
|
|
206
|
+
resizeSelectedItems: v
|
|
172
207
|
};
|
|
173
208
|
}
|
|
174
209
|
});
|
|
175
210
|
export {
|
|
176
|
-
|
|
211
|
+
Y as default
|
|
177
212
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const N = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoCiAgICAgICAgZD0iTTYuNTQ0NTggNC41NDQ1OEw1LjU4OTE3IDUuNUw2LjU0NDU4IDYuNDU1NDJDNi43MDc1IDYuNjE4MzMgNi43MDc1IDYuODgxNjcgNi41NDQ1OCA3LjA0NDU4QzYuNDYzMzMgNy4xMjU4MyA2LjM1NjY3IDcuMTY2NjcgNi4yNSA3LjE2NjY3QzYuMTQzMzMgNy4xNjY2NyA2LjAzNjY3IDcuMTI1ODMgNS45NTU0MiA3LjA0NDU4TDUgNi4wODkxN0w0LjA0NDU4IDcuMDQ0NThDMy45NjMzMyA3LjEyNTgzIDMuODU2NjcgNy4xNjY2NyAzLjc1IDcuMTY2NjdDMy42NDMzMyA3LjE2NjY3IDMuNTM2NjcgNy4xMjU4MyAzLjQ1NTQyIDcuMDQ0NThDMy4yOTI1IDYuODgxNjcgMy4yOTI1IDYuNjE4MzMgMy40NTU0MiA2LjQ1NTQyTDQuNDEwODMgNS41TDMuNDU1NDIgNC41NDQ1OEMzLjI5MjUgNC4zODE2NyAzLjI5MjUgNC4xMTgzMyAzLjQ1NTQyIDMuOTU1NDJDMy42MTgzMyAzLjc5MjUgMy44ODE2NyAzLjc5MjUgNC4wNDQ1OCAzLjk1NTQyTDUgNC45MTA4M0w1Ljk1NTQyIDMuOTU1NDJDNi4xMTgzMyAzLjc5MjUgNi4zODE2NyAzLjc5MjUgNi41NDQ1OCAzLjk1NTQyQzYuNzA3NSA0LjExODMzIDYuNzA3NSA0LjM4MTY3IDYuNTQ0NTggNC41NDQ1OFpNMTAgNS41QzEwIDguMjU3MDggNy43NTcwOCAxMC41IDUgMTAuNUMyLjI0MjkyIDEwLjUgMCA4LjI1NzA4IDAgNS41QzAgMi43NDI5MiAyLjI0MjkyIDAuNSA1IDAuNUM3Ljc1NzA4IDAuNSAxMCAyLjc0MjkyIDEwIDUuNVpNOS4xNjY2NyA1LjVDOS4xNjY2NyAzLjIwMjUgNy4yOTc1IDEuMzMzMzMgNSAxLjMzMzMzQzIuNzAyNSAxLjMzMzMzIDAuODMzMzMzIDMuMjAyNSAwLjgzMzMzMyA1LjVDMC44MzMzMzMgNy43OTc1IDIuNzAyNSA5LjY2NjY3IDUgOS42NjY2N0M3LjI5NzUgOS42NjY2NyA5LjE2NjY3IDcuNzk3NSA5LjE2NjY3IDUuNVoiCiAgICAgICAgZmlsbD0iI0NCNEE1MCIgLz4KPC9zdmc+";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
N as default
|
|
4
4
|
};
|
package/dist/Input/index.d.ts
CHANGED
|
@@ -81,6 +81,14 @@ export declare const AtInput: {
|
|
|
81
81
|
onSelectedItemClick: {
|
|
82
82
|
type: () => (separatedValue: string) => void;
|
|
83
83
|
};
|
|
84
|
+
useClearButton: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
forceEventClearButton: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
84
92
|
}, {
|
|
85
93
|
wrapperEl: import("vue").Ref<HTMLDivElement | null>;
|
|
86
94
|
inputEl: import("vue").Ref<HTMLInputElement | null>;
|
|
@@ -4603,6 +4611,9 @@ export declare const AtInput: {
|
|
|
4603
4611
|
}>>, {}, {}>;
|
|
4604
4612
|
error: string;
|
|
4605
4613
|
};
|
|
4614
|
+
clickedClear: import("vue").Ref<boolean>;
|
|
4615
|
+
showClearButton: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
4616
|
+
clearInput: () => void;
|
|
4606
4617
|
containerItemsEl: import("vue").Ref<HTMLDivElement | null>;
|
|
4607
4618
|
onInput: (event: InputEvent) => void;
|
|
4608
4619
|
iconColor: import("vue").ComputedRef<"var(--at-dark-grey)" | "var(--at-medium-grey)" | "var(--at-black)" | "var(--at-primary-color-2)" | "var(--at-error)">;
|
|
@@ -4628,7 +4639,7 @@ export declare const AtInput: {
|
|
|
4628
4639
|
}[];
|
|
4629
4640
|
}>;
|
|
4630
4641
|
resizeSelectedItems: () => Promise<void>;
|
|
4631
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "clickOutside")[], "input" | "update:modelValue" | "clickOutside", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4642
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "mouseover" | "clickOutside" | "clearInput")[], "input" | "update:modelValue" | "mouseover" | "clickOutside" | "clearInput", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4632
4643
|
modelValue: {
|
|
4633
4644
|
type: StringConstructor;
|
|
4634
4645
|
required: false;
|
|
@@ -4708,10 +4719,20 @@ export declare const AtInput: {
|
|
|
4708
4719
|
onSelectedItemClick: {
|
|
4709
4720
|
type: () => (separatedValue: string) => void;
|
|
4710
4721
|
};
|
|
4722
|
+
useClearButton: {
|
|
4723
|
+
type: BooleanConstructor;
|
|
4724
|
+
default: boolean;
|
|
4725
|
+
};
|
|
4726
|
+
forceEventClearButton: {
|
|
4727
|
+
type: BooleanConstructor;
|
|
4728
|
+
default: boolean;
|
|
4729
|
+
};
|
|
4711
4730
|
}>> & {
|
|
4712
4731
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
4732
|
+
onMouseover?: ((...args: any[]) => any) | undefined;
|
|
4713
4733
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
4714
4734
|
onClickOutside?: ((...args: any[]) => any) | undefined;
|
|
4735
|
+
onClearInput?: ((...args: any[]) => any) | undefined;
|
|
4715
4736
|
}, {
|
|
4716
4737
|
type: string;
|
|
4717
4738
|
label: string;
|
|
@@ -4733,5 +4754,7 @@ export declare const AtInput: {
|
|
|
4733
4754
|
readonly: boolean;
|
|
4734
4755
|
cursor: string;
|
|
4735
4756
|
selectedItems: import("../Select/Item/Item").SelectItemProps[];
|
|
4757
|
+
useClearButton: boolean;
|
|
4758
|
+
forceEventClearButton: boolean;
|
|
4736
4759
|
}, {}>;
|
|
4737
4760
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _ from "./Legend.vue2.js";
|
|
2
|
-
import { resolveComponent as l, openBlock as t, createElementBlock as s, createElementVNode as o, Fragment as m, renderList as g, normalizeStyle as k, toDisplayString as
|
|
2
|
+
import { resolveComponent as l, openBlock as t, createElementBlock as s, createElementVNode as o, Fragment as m, renderList as g, normalizeStyle as k, toDisplayString as i, createBlock as r, createCommentVNode as c, withCtx as v, createTextVNode as f } from "vue";
|
|
3
3
|
import "./Legend.vue3.js";
|
|
4
4
|
import y from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const b = { class: "legend-block" }, h = { class: "d-block" }, C = { class: "d-flex justify-content-start align-items-center" }, I = { class: "d-flex flex-grow-1" }, $ = ["onClick"], A = { class: "d-flex legend-button pr-elm" };
|
|
6
6
|
function x(n, a, B, E, w, R) {
|
|
7
|
-
const
|
|
7
|
+
const d = l("AtEyeAtivoRegularIcon"), u = l("AtEyeInativoRegularIcon"), p = l("AtButton");
|
|
8
8
|
return t(), s("div", b, [
|
|
9
9
|
o("ul", null, [
|
|
10
10
|
(t(!0), s(m, null, g(n.legendItems, (e) => (t(), s("li", {
|
|
@@ -19,12 +19,12 @@ function x(n, a, B, E, w, R) {
|
|
|
19
19
|
backgroundColor: `${e.hexColor}66`
|
|
20
20
|
})
|
|
21
21
|
}, null, 4),
|
|
22
|
-
o("span", I,
|
|
22
|
+
o("span", I, i(e.name), 1),
|
|
23
23
|
o("div", {
|
|
24
24
|
class: "pointer pr-elm",
|
|
25
25
|
onClick: (z) => n.toggleItem(e)
|
|
26
26
|
}, [
|
|
27
|
-
e.show ? (t(), r(
|
|
27
|
+
e.show ? (t(), r(d, {
|
|
28
28
|
key: 0,
|
|
29
29
|
size: "20",
|
|
30
30
|
color: "black",
|
|
@@ -47,14 +47,14 @@ function x(n, a, B, E, w, R) {
|
|
|
47
47
|
onClick: a[0] || (a[0] = (e) => n.$emit("legendbuttonclick"))
|
|
48
48
|
}, {
|
|
49
49
|
default: v(() => [
|
|
50
|
-
f(
|
|
50
|
+
f(i(n.legendButtonText), 1)
|
|
51
51
|
]),
|
|
52
52
|
_: 1
|
|
53
53
|
}))
|
|
54
54
|
])
|
|
55
55
|
]);
|
|
56
56
|
}
|
|
57
|
-
const T = /* @__PURE__ */ y(_, [["render", x], ["__scopeId", "data-v-
|
|
57
|
+
const T = /* @__PURE__ */ y(_, [["render", x], ["__scopeId", "data-v-789c7f87"]]);
|
|
58
58
|
export {
|
|
59
59
|
T as default
|
|
60
60
|
};
|
|
@@ -16,9 +16,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
18
|
position: {
|
|
19
|
-
type: PropType<"left" | "right" |
|
|
19
|
+
type: PropType<"left" | "right" | undefined>;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
|
+
showNoResultMessage: {
|
|
23
|
+
type: PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
trigger: {
|
|
27
|
+
type: ObjectConstructor;
|
|
28
|
+
default: () => void;
|
|
29
|
+
};
|
|
22
30
|
}, {
|
|
23
31
|
listItems: import("vue").Ref<{
|
|
24
32
|
value: boolean | string[];
|
|
@@ -58,17 +66,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
66
|
default: boolean;
|
|
59
67
|
};
|
|
60
68
|
position: {
|
|
61
|
-
type: PropType<"left" | "right" |
|
|
69
|
+
type: PropType<"left" | "right" | undefined>;
|
|
62
70
|
default: string;
|
|
63
71
|
};
|
|
72
|
+
showNoResultMessage: {
|
|
73
|
+
type: PropType<boolean>;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
trigger: {
|
|
77
|
+
type: ObjectConstructor;
|
|
78
|
+
default: () => void;
|
|
79
|
+
};
|
|
64
80
|
}>> & {
|
|
65
81
|
"onUpdate:isOpen"?: ((...args: any[]) => any) | undefined;
|
|
66
82
|
onOnSave?: ((...args: any[]) => any) | undefined;
|
|
67
83
|
onItemClicked?: ((...args: any[]) => any) | undefined;
|
|
68
84
|
}, {
|
|
69
85
|
isOpen: boolean;
|
|
70
|
-
position: "left" | "right" |
|
|
86
|
+
position: "left" | "right" | undefined;
|
|
87
|
+
trigger: Record<string, any>;
|
|
71
88
|
dropDownList: DropdownListItem[];
|
|
72
89
|
isMultiple: boolean | undefined;
|
|
90
|
+
showNoResultMessage: boolean;
|
|
73
91
|
}, {}>;
|
|
74
92
|
export default _default;
|
|
@@ -1,61 +1,65 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as
|
|
1
|
+
import h from "./List.vue2.js";
|
|
2
|
+
import { resolveComponent as i, openBlock as t, createBlock as n, withCtx as s, resolveDynamicComponent as a, createElementBlock as l, createVNode as d, createTextVNode as u, createCommentVNode as r, Fragment as k, renderList as y, normalizeStyle as m, createElementVNode as C, toDisplayString as _ } from "vue";
|
|
3
3
|
import "./List.vue3.js";
|
|
4
4
|
import V from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const v = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "noResult"
|
|
8
8
|
}, I = ["onClick"], A = ["for"];
|
|
9
|
-
function N(e,
|
|
10
|
-
const c =
|
|
11
|
-
return t(), n(
|
|
9
|
+
function N(e, z, b, D, L, R) {
|
|
10
|
+
const c = i("AtParagraph"), f = i("AtCheckbox"), g = i("AtDropdown");
|
|
11
|
+
return t(), n(g, {
|
|
12
12
|
"is-open": e.isOpen,
|
|
13
|
+
position: e.position,
|
|
13
14
|
"onUpdate:isOpen": e.handleIsOpen
|
|
14
15
|
}, {
|
|
15
|
-
|
|
16
|
-
(t(),
|
|
16
|
+
trigger: s(() => [
|
|
17
|
+
(t(), n(a(e.trigger)))
|
|
18
|
+
]),
|
|
19
|
+
default: s(() => [
|
|
20
|
+
(t(), l("div", {
|
|
17
21
|
key: e.keyValue,
|
|
18
22
|
class: "list"
|
|
19
23
|
}, [
|
|
20
|
-
e.showNoResult ? (t(),
|
|
21
|
-
|
|
22
|
-
default:
|
|
23
|
-
|
|
24
|
+
e.showNoResult ? (t(), l("section", v, [
|
|
25
|
+
d(c, { size: "p2" }, {
|
|
26
|
+
default: s(() => [
|
|
27
|
+
u(" Dado não encontrado ")
|
|
24
28
|
]),
|
|
25
29
|
_: 1
|
|
26
30
|
})
|
|
27
|
-
])) :
|
|
28
|
-
(t(!0),
|
|
31
|
+
])) : r("", !0),
|
|
32
|
+
(t(!0), l(k, null, y(e.listItems, (o) => (t(), l("div", {
|
|
29
33
|
key: o.text,
|
|
30
34
|
class: "item",
|
|
31
|
-
onClick: (
|
|
35
|
+
onClick: (p) => e.selectItem(o)
|
|
32
36
|
}, [
|
|
33
37
|
e.isMultiple ? (t(), n(f, {
|
|
34
38
|
key: 0,
|
|
35
39
|
id: o.text,
|
|
36
40
|
modelValue: o.value,
|
|
37
|
-
"onUpdate:modelValue": (
|
|
41
|
+
"onUpdate:modelValue": (p) => o.value = p,
|
|
38
42
|
class: "item-check",
|
|
39
43
|
size: "12"
|
|
40
|
-
}, null, 8, ["id", "modelValue", "onUpdate:modelValue"])) :
|
|
41
|
-
o.iconLeft ? (t(), n(
|
|
44
|
+
}, null, 8, ["id", "modelValue", "onUpdate:modelValue"])) : r("", !0),
|
|
45
|
+
o.iconLeft ? (t(), n(a(e.icons[e.getIconName(o.iconLeft)]), {
|
|
42
46
|
key: 1,
|
|
43
47
|
size: "16",
|
|
44
48
|
class: "icon-left",
|
|
45
49
|
style: m({ color: e.getIconColor(o.iconLeft) })
|
|
46
|
-
}, null, 8, ["style"])) :
|
|
47
|
-
|
|
50
|
+
}, null, 8, ["style"])) : r("", !0),
|
|
51
|
+
C("label", {
|
|
48
52
|
for: o.text,
|
|
49
53
|
class: "item-label"
|
|
50
54
|
}, [
|
|
51
|
-
|
|
52
|
-
default:
|
|
53
|
-
|
|
55
|
+
d(c, { size: "p2" }, {
|
|
56
|
+
default: s(() => [
|
|
57
|
+
u(_(o.text), 1)
|
|
54
58
|
]),
|
|
55
59
|
_: 2
|
|
56
60
|
}, 1024)
|
|
57
61
|
], 8, A),
|
|
58
|
-
o.iconRight ? (t(), n(
|
|
62
|
+
o.iconRight ? (t(), n(a(e.icons[e.getIconName(o.iconRight)]), {
|
|
59
63
|
key: 2,
|
|
60
64
|
class: "icon-right",
|
|
61
65
|
style: m({
|
|
@@ -64,14 +68,14 @@ function N(e, b, z, D, L, R) {
|
|
|
64
68
|
right: "16px"
|
|
65
69
|
}),
|
|
66
70
|
size: "16"
|
|
67
|
-
}, null, 8, ["style"])) :
|
|
71
|
+
}, null, 8, ["style"])) : r("", !0)
|
|
68
72
|
], 8, I))), 128))
|
|
69
73
|
]))
|
|
70
74
|
]),
|
|
71
75
|
_: 1
|
|
72
|
-
}, 8, ["is-open", "onUpdate:isOpen"]);
|
|
76
|
+
}, 8, ["is-open", "position", "onUpdate:isOpen"]);
|
|
73
77
|
}
|
|
74
|
-
const B = /* @__PURE__ */ V(
|
|
78
|
+
const B = /* @__PURE__ */ V(h, [["render", N], ["__scopeId", "data-v-01658f6d"]]);
|
|
75
79
|
export {
|
|
76
80
|
B as default
|
|
77
81
|
};
|