@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 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_agrotools1_at_components=self.webpackChunk_agrotools1_at_components||[]).push([[352],{"./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/CardWithInsights/CardWithInsights.vue?vue&type=style&index=0&id=4e6fb5ee&lang=css":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,"\n.icon-slot {\n height: 16px;\n}\n","",{version:3,sources:["webpack://./src/CardWithInsights/CardWithInsights.vue"],names:[],mappings:";AA0GA;EACE,YAAY;AACd",sourcesContent:['<script lang="ts">\r\nimport type { PropType } from "vue";\r\nimport { defineComponent } from "vue";\r\nimport { AtTipograph } from "../Tipograph/index";\r\nimport type { CardWithInsights } from "./CardWithInsights";\r\nimport AtIllustration from "../Illustration/Illustration.vue";\r\n\r\nexport interface AtCardWithInsightsProps {\r\n insightsList: Array<CardWithInsights[]>;\r\n}\r\n\r\nexport default defineComponent({\r\n name: "AtCardWithInsights",\r\n components: {\r\n AtParagraph: AtTipograph.Paragraph,\r\n AtIllustration,\r\n },\r\n props: {\r\n insightsList: {\r\n type: Array as PropType<CardWithInsights[]>,\r\n required: true,\r\n validator: (value: Array<CardWithInsights>) =>\r\n Array.isArray(value) && value.every((item) => typeof item === "object"),\r\n },\r\n iconQuestion: {\r\n type: String,\r\n required: false,\r\n default: "",\r\n validator: (value: string) => typeof value === "string",\r\n },\r\n fullWidth: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n validator: (value: boolean) => typeof value === "boolean",\r\n },\r\n },\r\n setup() {\r\n const maxInsightValue = 1000000000;\r\n const isFloat = (value: number) => value % 1 !== 0;\r\n\r\n const handleFloatValue = (value: number) => {\r\n return value.toFixed(2);\r\n };\r\n\r\n const handleIntegerValue = (value: number) => {\r\n return value < 0 ? 0 : value;\r\n };\r\n\r\n const checkMaxInsightsValue = (value: number) => {\r\n if (value > maxInsightValue) {\r\n return maxInsightValue;\r\n }\r\n return value;\r\n };\r\n\r\n const renderInsightValue = (value: number) => {\r\n value = checkMaxInsightsValue(value);\r\n return isFloat(value)\r\n ? handleFloatValue(value)\r\n : handleIntegerValue(value);\r\n };\r\n\r\n return { renderInsightValue, handleFloatValue };\r\n },\r\n});\r\n<\/script>\r\n\r\n<template>\r\n <div\r\n class="card-with-insights-container"\r\n :style="{\r\n width: $props.fullWidth === true ? \'100%\' : \'max-content\',\r\n justifyContent:\r\n $props.fullWidth === true ? \'space-between\' : \'flex-start\',\r\n }"\r\n >\r\n <div\r\n v-for="item in insightsList"\r\n :key="item.index"\r\n class="card-with-insights-list"\r\n >\r\n <AtIllustration :illustration="item.image"></AtIllustration>\r\n <div class="insight-container">\r\n <div class="circle-question-container">\r\n <img\r\n alt="circle-question"\r\n :src="$props.iconQuestion"\r\n class="circle-question-icon"\r\n @click="item.myFunction"\r\n />\r\n </div>\r\n\r\n <h3 id="insight-value" class="insight-value">\r\n {{ renderInsightValue(item.value) }}\r\n </h3>\r\n\r\n <AtParagraph size="p2" weight="light">\r\n {{ item.insightTitle }}\r\n </AtParagraph>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<style>\r\n.icon-slot {\r\n height: 16px;\r\n}\r\n</style>\r\n\r\n<style scoped>\r\n.card-with-insights-container {\r\n height: 116px;\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n gap: 24px;\r\n margin-bottom: 24px;\r\n justify-content: space-between;\r\n}\r\n\r\n.card {\r\n height: auto;\r\n border: 1px solid var(--neutras-cinza-claro, #f1f1f1);\r\n background: var(--neutras-branco, #fff);\r\n border-radius: 16px;\r\n padding: 24px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.card-header {\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.card-with-insights-list {\r\n display: flex;\r\n padding: 16px;\r\n background-color: var(--at-white);\r\n min-width: 302px;\r\n border: 1px solid var(--at-light-grey);\r\n gap: 4px;\r\n flex-direction: row;\r\n border-radius: 16px;\r\n width: max-content;\r\n}\r\n\r\n.insight-container {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: flex-start;\r\n padding: 8px 0px;\r\n justify-content: space-evenly;\r\n width: 100%;\r\n}\r\n\r\n.circle-question-container {\r\n display: flex;\r\n justify-content: flex-end;\r\n width: 100%;\r\n position: relative;\r\n}\r\n\r\n.insight-value {\r\n font-family: "Nunito", sans-serif;\r\n font-weight: 400;\r\n font-size: 32px;\r\n color: var(--at-primary-color-1);\r\n line-height: 44px;\r\n padding-right: 28px;\r\n margin: 0;\r\n}\r\n\r\n.circle-question-icon {\r\n position: absolute;\r\n cursor: pointer;\r\n}\r\n\r\n.insights-image {\r\n width: 84px;\r\n height: 84px;\r\n}\r\n</style>\r\n'],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/CardWithInsights/CardWithInsights.vue?vue&type=style&index=1&id=4e6fb5ee&scoped=true&lang=css":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,'\n.card-with-insights-container[data-v-4e6fb5ee] {\n height: 116px;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 24px;\n margin-bottom: 24px;\n justify-content: space-between;\n}\n.card[data-v-4e6fb5ee] {\n height: auto;\n border: 1px solid var(--neutras-cinza-claro, #f1f1f1);\n background: var(--neutras-branco, #fff);\n border-radius: 16px;\n padding: 24px;\n box-sizing: border-box;\n}\n.card-header[data-v-4e6fb5ee] {\n justify-content: space-between;\n align-items: center;\n}\n.card-with-insights-list[data-v-4e6fb5ee] {\n display: flex;\n padding: 16px;\n background-color: var(--at-white);\n min-width: 302px;\n border: 1px solid var(--at-light-grey);\n gap: 4px;\n flex-direction: row;\n border-radius: 16px;\n width: max-content;\n}\n.insight-container[data-v-4e6fb5ee] {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 8px 0px;\n justify-content: space-evenly;\n width: 100%;\n}\n.circle-question-container[data-v-4e6fb5ee] {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n position: relative;\n}\n.insight-value[data-v-4e6fb5ee] {\n font-family: "Nunito", sans-serif;\n font-weight: 400;\n font-size: 32px;\n color: var(--at-primary-color-1);\n line-height: 44px;\n padding-right: 28px;\n margin: 0;\n}\n.circle-question-icon[data-v-4e6fb5ee] {\n position: absolute;\n cursor: pointer;\n}\n.insights-image[data-v-4e6fb5ee] {\n width: 84px;\n height: 84px;\n}\n',"",{version:3,sources:["webpack://./src/CardWithInsights/CardWithInsights.vue"],names:[],mappings:";AAgHA;EACE,aAAa;EACb,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,SAAS;EACT,mBAAmB;EACnB,8BAA8B;AAChC;AAEA;EACE,YAAY;EACZ,qDAAqD;EACrD,uCAAuC;EACvC,mBAAmB;EACnB,aAAa;EACb,sBAAsB;AACxB;AAEA;EACE,8BAA8B;EAC9B,mBAAmB;AACrB;AAEA;EACE,aAAa;EACb,aAAa;EACb,iCAAiC;EACjC,gBAAgB;EAChB,sCAAsC;EACtC,QAAQ;EACR,mBAAmB;EACnB,mBAAmB;EACnB,kBAAkB;AACpB;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,uBAAuB;EACvB,gBAAgB;EAChB,6BAA6B;EAC7B,WAAW;AACb;AAEA;EACE,aAAa;EACb,yBAAyB;EACzB,WAAW;EACX,kBAAkB;AACpB;AAEA;EACE,iCAAiC;EACjC,gBAAgB;EAChB,eAAe;EACf,gCAAgC;EAChC,iBAAiB;EACjB,mBAAmB;EACnB,SAAS;AACX;AAEA;EACE,kBAAkB;EAClB,eAAe;AACjB;AAEA;EACE,WAAW;EACX,YAAY;AACd",sourcesContent:['<script lang="ts">\r\nimport type { PropType } from "vue";\r\nimport { defineComponent } from "vue";\r\nimport { AtTipograph } from "../Tipograph/index";\r\nimport type { CardWithInsights } from "./CardWithInsights";\r\nimport AtIllustration from "../Illustration/Illustration.vue";\r\n\r\nexport interface AtCardWithInsightsProps {\r\n insightsList: Array<CardWithInsights[]>;\r\n}\r\n\r\nexport default defineComponent({\r\n name: "AtCardWithInsights",\r\n components: {\r\n AtParagraph: AtTipograph.Paragraph,\r\n AtIllustration,\r\n },\r\n props: {\r\n insightsList: {\r\n type: Array as PropType<CardWithInsights[]>,\r\n required: true,\r\n validator: (value: Array<CardWithInsights>) =>\r\n Array.isArray(value) && value.every((item) => typeof item === "object"),\r\n },\r\n iconQuestion: {\r\n type: String,\r\n required: false,\r\n default: "",\r\n validator: (value: string) => typeof value === "string",\r\n },\r\n fullWidth: {\r\n type: Boolean,\r\n required: false,\r\n default: false,\r\n validator: (value: boolean) => typeof value === "boolean",\r\n },\r\n },\r\n setup() {\r\n const maxInsightValue = 1000000000;\r\n const isFloat = (value: number) => value % 1 !== 0;\r\n\r\n const handleFloatValue = (value: number) => {\r\n return value.toFixed(2);\r\n };\r\n\r\n const handleIntegerValue = (value: number) => {\r\n return value < 0 ? 0 : value;\r\n };\r\n\r\n const checkMaxInsightsValue = (value: number) => {\r\n if (value > maxInsightValue) {\r\n return maxInsightValue;\r\n }\r\n return value;\r\n };\r\n\r\n const renderInsightValue = (value: number) => {\r\n value = checkMaxInsightsValue(value);\r\n return isFloat(value)\r\n ? handleFloatValue(value)\r\n : handleIntegerValue(value);\r\n };\r\n\r\n return { renderInsightValue, handleFloatValue };\r\n },\r\n});\r\n<\/script>\r\n\r\n<template>\r\n <div\r\n class="card-with-insights-container"\r\n :style="{\r\n width: $props.fullWidth === true ? \'100%\' : \'max-content\',\r\n justifyContent:\r\n $props.fullWidth === true ? \'space-between\' : \'flex-start\',\r\n }"\r\n >\r\n <div\r\n v-for="item in insightsList"\r\n :key="item.index"\r\n class="card-with-insights-list"\r\n >\r\n <AtIllustration :illustration="item.image"></AtIllustration>\r\n <div class="insight-container">\r\n <div class="circle-question-container">\r\n <img\r\n alt="circle-question"\r\n :src="$props.iconQuestion"\r\n class="circle-question-icon"\r\n @click="item.myFunction"\r\n />\r\n </div>\r\n\r\n <h3 id="insight-value" class="insight-value">\r\n {{ renderInsightValue(item.value) }}\r\n </h3>\r\n\r\n <AtParagraph size="p2" weight="light">\r\n {{ item.insightTitle }}\r\n </AtParagraph>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<style>\r\n.icon-slot {\r\n height: 16px;\r\n}\r\n</style>\r\n\r\n<style scoped>\r\n.card-with-insights-container {\r\n height: 116px;\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n gap: 24px;\r\n margin-bottom: 24px;\r\n justify-content: space-between;\r\n}\r\n\r\n.card {\r\n height: auto;\r\n border: 1px solid var(--neutras-cinza-claro, #f1f1f1);\r\n background: var(--neutras-branco, #fff);\r\n border-radius: 16px;\r\n padding: 24px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.card-header {\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.card-with-insights-list {\r\n display: flex;\r\n padding: 16px;\r\n background-color: var(--at-white);\r\n min-width: 302px;\r\n border: 1px solid var(--at-light-grey);\r\n gap: 4px;\r\n flex-direction: row;\r\n border-radius: 16px;\r\n width: max-content;\r\n}\r\n\r\n.insight-container {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: flex-start;\r\n padding: 8px 0px;\r\n justify-content: space-evenly;\r\n width: 100%;\r\n}\r\n\r\n.circle-question-container {\r\n display: flex;\r\n justify-content: flex-end;\r\n width: 100%;\r\n position: relative;\r\n}\r\n\r\n.insight-value {\r\n font-family: "Nunito", sans-serif;\r\n font-weight: 400;\r\n font-size: 32px;\r\n color: var(--at-primary-color-1);\r\n line-height: 44px;\r\n padding-right: 28px;\r\n margin: 0;\r\n}\r\n\r\n.circle-question-icon {\r\n position: absolute;\r\n cursor: pointer;\r\n}\r\n\r\n.insights-image {\r\n width: 84px;\r\n height: 84px;\r\n}\r\n</style>\r\n'],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/vue-docgen-loader/lib/index.js??ruleSet[1].rules[37]!./node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/CardWithInsights/CardWithInsights.vue?vue&type=script&lang=ts":(__unused_webpack_module,exports,__webpack_require__)=>{Object.defineProperty(exports,"B",{value:!0});var vue_1=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),index_1=__webpack_require__("./src/Tipograph/index.ts"),Illustration_vue_1=__webpack_require__("./src/Illustration/Illustration.vue");exports.A=(0,vue_1.defineComponent)({name:"AtCardWithInsights",components:{AtParagraph:index_1.AtTipograph.Paragraph,AtIllustration:Illustration_vue_1.default},props:{insightsList:{type:Array,required:!0,validator:function(value){return Array.isArray(value)&&value.every((function(item){return"object"==typeof item}))}},iconQuestion:{type:String,required:!1,default:"",validator:function(value){return"string"==typeof value}},fullWidth:{type:Boolean,required:!1,default:!1,validator:function(value){return"boolean"==typeof value}}},setup:function(){var handleFloatValue=function(value){return value.toFixed(2)};return{renderInsightValue:function(value){return function(value){return value%1!=0}(value=function(value){return value>1e9?1e9:value}(value))?handleFloatValue(value):function(value){return value<0?0:value}(value)},handleFloatValue}}})},"./node_modules/vue-docgen-loader/lib/index.js??ruleSet[1].rules[37]!./node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[6]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/CardWithInsights/CardWithInsights.vue?vue&type=template&id=4e6fb5ee&scoped=true&ts=true":(__unused_webpack_module,exports,__webpack_require__)=>{exports.X=void 0;var vue_1=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),_hoisted_1={class:"insight-container"},_hoisted_2={class:"circle-question-container"},_hoisted_3=["src","onClick"],_hoisted_4={id:"insight-value",class:"insight-value"};exports.X=function render(_ctx,_cache,$props,$setup,$data,$options){var _component_AtIllustration=(0,vue_1.resolveComponent)("AtIllustration"),_component_AtParagraph=(0,vue_1.resolveComponent)("AtParagraph");return(0,vue_1.openBlock)(),(0,vue_1.createElementBlock)("div",{class:"card-with-insights-container",style:(0,vue_1.normalizeStyle)({width:!0===_ctx.$props.fullWidth?"100%":"max-content",justifyContent:!0===_ctx.$props.fullWidth?"space-between":"flex-start"})},[((0,vue_1.openBlock)(!0),(0,vue_1.createElementBlock)(vue_1.Fragment,null,(0,vue_1.renderList)(_ctx.insightsList,(function(item){return(0,vue_1.openBlock)(),(0,vue_1.createElementBlock)("div",{key:item.index,class:"card-with-insights-list"},[(0,vue_1.createVNode)(_component_AtIllustration,{illustration:item.image},null,8,["illustration"]),(0,vue_1.createElementVNode)("div",_hoisted_1,[(0,vue_1.createElementVNode)("div",_hoisted_2,[(0,vue_1.createElementVNode)("img",{alt:"circle-question",src:_ctx.$props.iconQuestion,class:"circle-question-icon",onClick:item.myFunction},null,8,_hoisted_3)]),(0,vue_1.createElementVNode)("h3",_hoisted_4,(0,vue_1.toDisplayString)(_ctx.renderInsightValue(item.value)),1),(0,vue_1.createVNode)(_component_AtParagraph,{size:"p2",weight:"light"},{default:(0,vue_1.withCtx)((function(){return[(0,vue_1.createTextVNode)((0,vue_1.toDisplayString)(item.insightTitle),1)]})),_:2},1024)])])})),128))],4)}},"./src/CardWithInsights/CardWithInsights.vue":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__esModule:()=>CardWithInsightsvue_type_script_lang_ts.B,default:()=>CardWithInsights});var CardWithInsightsvue_type_template_id_4e6fb5ee_scoped_true_ts_true=__webpack_require__("./node_modules/vue-docgen-loader/lib/index.js??ruleSet[1].rules[37]!./node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[6]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/CardWithInsights/CardWithInsights.vue?vue&type=template&id=4e6fb5ee&scoped=true&ts=true"),CardWithInsightsvue_type_script_lang_ts=__webpack_require__("./node_modules/vue-docgen-loader/lib/index.js??ruleSet[1].rules[37]!./node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/CardWithInsights/CardWithInsights.vue?vue&type=script&lang=ts"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),CardWithInsightsvue_type_style_index_0_id_4e6fb5ee_lang_css=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/CardWithInsights/CardWithInsights.vue?vue&type=style&index=0&id=4e6fb5ee&lang=css"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(CardWithInsightsvue_type_style_index_0_id_4e6fb5ee_lang_css.A,options);CardWithInsightsvue_type_style_index_0_id_4e6fb5ee_lang_css.A&&CardWithInsightsvue_type_style_index_0_id_4e6fb5ee_lang_css.A.locals&&CardWithInsightsvue_type_style_index_0_id_4e6fb5ee_lang_css.A.locals;var CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/CardWithInsights/CardWithInsights.vue?vue&type=style&index=1&id=4e6fb5ee&scoped=true&lang=css"),CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css_options={};CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css_options.styleTagTransform=styleTagTransform_default(),CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css_options.setAttributes=setAttributesWithoutAttributes_default(),CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css_options.insert=insertBySelector_default().bind(null,"head"),CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css_options.domAPI=styleDomAPI_default(),CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css_options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css.A,CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css_options);CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css.A&&CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css.A.locals&&CardWithInsightsvue_type_style_index_1_id_4e6fb5ee_scoped_true_lang_css.A.locals;const __exports__=(0,__webpack_require__("./node_modules/vue-loader/dist/exportHelper.js").A)(CardWithInsightsvue_type_script_lang_ts.A,[["render",CardWithInsightsvue_type_template_id_4e6fb5ee_scoped_true_ts_true.X],["__scopeId","data-v-4e6fb5ee"]]),CardWithInsights=__exports__;__exports__.__docgenInfo={displayName:"AtCardWithInsights",exportName:"default",description:"",tags:{},props:[{name:"insightsList",type:{name:"CardWithInsights[]"},required:!0},{name:"iconQuestion",type:{name:"string"},required:!1,defaultValue:{func:!1,value:'""'}},{name:"fullWidth",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}}],sourceFiles:["C:\\Users\\jnrpl\\Desktop\\Code\\at-components-ts\\packages\\at-components\\src\\CardWithInsights\\CardWithInsights.vue"]}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_agrotools1_at_components=self.webpackChunk_agrotools1_at_components||[]).push([[364],{"./src/Select/imgs/indicator.svg":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ReactComponent:()=>SvgIndicator,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}var SvgIndicator=function SvgIndicator(props){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:10,height:5,fill:"none"},props),_path||(_path=react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#A0A0A0",d:"M8.914.79a.583.583 0 0 0-.828 0L5.414 3.46a.583.583 0 0 1-.828 0L1.914.79a.583.583 0 1 0-.828.822l2.677 2.677a1.75 1.75 0 0 0 2.474 0l2.677-2.677a.583.583 0 0 0 0-.823"})))};const __WEBPACK_DEFAULT_EXPORT__=__webpack_require__.p+"static/media/src/Select/imgs/indicator.svg"},"./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/Select/Select.multiple.vue?vue&type=style&index=0&id=34f1a0de&scoped=true&lang=css":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,'\n*[data-v-34f1a0de] {\n font-family: var(--at-primary-font-family);\n}\n.AT-SELECT_wrapper[data-v-34f1a0de] {\n position: relative;\n}\n.AT-SELECT_indicator[data-v-34f1a0de] {\n position: absolute;\n top: 50%;\n right: 20px;\n transform: translateY(-50%);\n pointer-events: none;\n transition: var(--at-default-transition);\n}\n.AT-SELECT_indicator[aria-expanded="true"][data-v-34f1a0de] {\n transform: translateY(-50%) rotate(180deg);\n}\n.AT-SELECT_items-container[data-v-34f1a0de] {\n display: flex;\n flex-direction: column;\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n margin-top: 3px;\n padding: 4px 0px;\n border: 1px solid var(--at-line);\n border-radius: 7px;\n max-height: 200px;\n overflow-y: auto;\n}\n.AT-SELECT_items-container[data-v-34f1a0de]::-webkit-scrollbar {\n width: 4px;\n}\n.AT-SELECT_items-container[data-v-34f1a0de]::-webkit-scrollbar-track {\n margin-left: 20px;\n border-radius: 10px;\n -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);\n}\n.AT-SELECT_items-container[data-v-34f1a0de]::-webkit-scrollbar-thumb {\n border-radius: 10px;\n -webkit-box-shadow: inset 3px 3px 100px #5e0d7b;\n}\n[data-v-34f1a0de] .AT-SELECT_container {\n cursor: pointer;\n}\n[data-v-34f1a0de] .AT-SELECT_container input {\n caret-color: transparent;\n}\n',"",{version:3,sources:["webpack://./src/Select/Select.multiple.vue"],names:[],mappings:";AA4NA;EACE,0CAA0C;AAC5C;AACA;EACE,kBAAkB;AACpB;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,WAAW;EACX,2BAA2B;EAC3B,oBAAoB;EACpB,wCAAwC;AAC1C;AAEA;EACE,0CAA0C;AAC5C;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,kBAAkB;EAClB,SAAS;EACT,OAAO;EACP,WAAW;EACX,eAAe;EACf,gBAAgB;EAChB,gCAAgC;EAChC,kBAAkB;EAClB,iBAAiB;EACjB,gBAAgB;AAClB;AAEA;EACE,UAAU;AACZ;AAEA;EACE,iBAAiB;EACjB,mBAAmB;EACnB,oDAAoD;AACtD;AAEA;EACE,mBAAmB;EACnB,+CAA+C;AACjD;AAEA;EACE,eAAe;AACjB;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:['<script lang="ts">\r\nimport type { PropType } from "vue";\r\nimport {\r\n computed,\r\n defineComponent,\r\n onMounted,\r\n onUnmounted,\r\n reactive,\r\n ref,\r\n} from "vue";\r\nimport AtSingleCore from "./Select.core.vue";\r\nimport AtItem from "./Item/Item.vue";\r\nimport indicatorSvg from "./imgs/indicator.svg";\r\nimport type { SelectCoreProps } from "./Select.core.vue";\r\nimport type { SelectItemProps } from "./Item/Item.vue";\r\n\r\nexport interface SelectMultipleProps extends SelectCoreProps {}\r\n\r\nexport default defineComponent({\r\n name: "AtMultipleSelect",\r\n components: {\r\n AtSingleCore,\r\n AtItem,\r\n },\r\n props: {\r\n defaultValues: {\r\n type: Array as PropType<Array<SelectItemProps>>,\r\n default: () => [] as Array<SelectItemProps>,\r\n },\r\n label: {\r\n type: String,\r\n default: "",\r\n },\r\n items: {\r\n type: Array as unknown as () => Array<SelectItemProps>,\r\n default: () => [] as Array<SelectItemProps>,\r\n validator: (value: Array<SelectItemProps>) =>\r\n Array.isArray(value) && value.every((item) => typeof item === "object"),\r\n },\r\n separator: {\r\n type: String,\r\n default: ",",\r\n },\r\n },\r\n emits: ["update:items", "update:selectedItems"],\r\n setup(props, ctx) {\r\n const openRef = ref(false);\r\n const containerRef = ref(null as HTMLDivElement | null);\r\n const myItems = reactive(props.items);\r\n const selectedValues = reactive(\r\n props.defaultValues || ([] as Array<SelectItemProps>),\r\n );\r\n const values = computed(() =>\r\n [...selectedValues].map((item) => item.value).join(props.separator),\r\n );\r\n const onSelectedValueChange = (\r\n item: SelectItemProps,\r\n isChecked: boolean,\r\n ) => {\r\n const _item = myItems.find((myItem) => myItem.value === item.value) as\r\n | SelectItemProps\r\n | undefined;\r\n\r\n if (isChecked) {\r\n const hasItem = selectedValues.find(\r\n (selectedItem) => selectedItem.value === item.value,\r\n );\r\n\r\n if (hasItem) return;\r\n\r\n selectedValues.push(item);\r\n\r\n if (_item) {\r\n _item.isSelected = true;\r\n }\r\n } else {\r\n const index = selectedValues.findIndex(\r\n (selectedItem) => selectedItem.value === item.value,\r\n );\r\n\r\n if (index === -1) return;\r\n\r\n selectedValues.splice(index, 1);\r\n\r\n if (_item) {\r\n _item.isSelected = false;\r\n }\r\n }\r\n\r\n ctx.emit("update:selectedItems", selectedValues);\r\n };\r\n\r\n const onSelectedItemClick = (selectedValue: string, isOpen = true) => {\r\n const item = props.items.find((item) => item.value === selectedValue);\r\n\r\n if (item) {\r\n onSelectedValueChange(item, false);\r\n openRef.value = isOpen;\r\n }\r\n };\r\n\r\n const addDefaultValues = () => {\r\n const defaultItemsMap = new Map(\r\n props.defaultValues?.map((item) => [item.value, item]),\r\n );\r\n const defaultValues = [] as Array<SelectItemProps>;\r\n\r\n if (props.defaultValues) {\r\n for (let index = 0; index < myItems.length; index++) {\r\n const item = myItems[index];\r\n\r\n const defaultItem = defaultItemsMap.get(item.value);\r\n\r\n if (defaultItem) {\r\n defaultValues.push(defaultItem);\r\n }\r\n\r\n item.isSelected = defaultItemsMap.has(item.value);\r\n }\r\n\r\n for (let index = 0; index < defaultValues.length; index++) {\r\n const item = defaultValues[index];\r\n const _item = { ...item, isSelected: true };\r\n\r\n onSelectedValueChange(_item, true);\r\n }\r\n\r\n ctx.emit("update:items", myItems);\r\n }\r\n };\r\n\r\n const onDocumentClick = (event: MouseEvent) => {\r\n const target = event.target as HTMLElement;\r\n\r\n if (containerRef.value?.contains(target)) return;\r\n\r\n openRef.value = false;\r\n };\r\n\r\n onMounted(() => {\r\n addDefaultValues();\r\n\r\n window.addEventListener("click", onDocumentClick);\r\n });\r\n\r\n onUnmounted(() => {\r\n window.removeEventListener("click", onDocumentClick);\r\n });\r\n\r\n return {\r\n onSelectedValueChange,\r\n onSelectedItemClick,\r\n myItems,\r\n values,\r\n selectedValues,\r\n isOpen: openRef,\r\n containerRef,\r\n icons: {\r\n indicatorSvg,\r\n },\r\n };\r\n },\r\n});\r\n<\/script>\r\n\r\n<template>\r\n <div ref="containerRef" class="AT-SELECT_wrapper" @click="isOpen = !isOpen">\r\n <AtSingleCore\r\n :default-value="{ value: values, text: values }"\r\n :selected-items="selectedValues"\r\n :label="label"\r\n :on-selected-item-click="onSelectedItemClick"\r\n :items="myItems"\r\n :force-value="true"\r\n :separator="separator"\r\n />\r\n <div\r\n v-if="isOpen"\r\n role="group"\r\n aria-orientation="vertical"\r\n tabindex="-1"\r\n class="AT-SELECT_items-container"\r\n >\r\n <AtItem\r\n v-for="item in myItems"\r\n :key="item.value"\r\n :text="item.text"\r\n :value="item.value"\r\n :icon="item.icon"\r\n :data-text="item.text"\r\n :checkbox-value="item.isSelected"\r\n :on-click="\r\n (event) => {\r\n event.stopPropagation();\r\n }\r\n "\r\n type="multiple"\r\n :on-checkbox-change="\r\n (event) => {\r\n item.onCheckboxChange?.({ ...event, item });\r\n onSelectedValueChange({ ...item }, event.isChecked);\r\n\r\n if (event.isChecked) {\r\n item.isSelected = true;\r\n } else {\r\n item.isSelected = false;\r\n }\r\n\r\n $emit(\'update:items\', myItems);\r\n }\r\n "\r\n />\r\n </div>\r\n <div class="AT-SELECT_indicator" :aria-expanded="isOpen">\r\n <img :src="icons.indicatorSvg" alt="Indicador de estado" />\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<style scoped>\r\n* {\r\n font-family: var(--at-primary-font-family);\r\n}\r\n.AT-SELECT_wrapper {\r\n position: relative;\r\n}\r\n\r\n.AT-SELECT_indicator {\r\n position: absolute;\r\n top: 50%;\r\n right: 20px;\r\n transform: translateY(-50%);\r\n pointer-events: none;\r\n transition: var(--at-default-transition);\r\n}\r\n\r\n.AT-SELECT_indicator[aria-expanded="true"] {\r\n transform: translateY(-50%) rotate(180deg);\r\n}\r\n\r\n.AT-SELECT_items-container {\r\n display: flex;\r\n flex-direction: column;\r\n position: absolute;\r\n top: 100%;\r\n left: 0;\r\n width: 100%;\r\n margin-top: 3px;\r\n padding: 4px 0px;\r\n border: 1px solid var(--at-line);\r\n border-radius: 7px;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n}\r\n\r\n.AT-SELECT_items-container::-webkit-scrollbar {\r\n width: 4px;\r\n}\r\n\r\n.AT-SELECT_items-container::-webkit-scrollbar-track {\r\n margin-left: 20px;\r\n border-radius: 10px;\r\n -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);\r\n}\r\n\r\n.AT-SELECT_items-container::-webkit-scrollbar-thumb {\r\n border-radius: 10px;\r\n -webkit-box-shadow: inset 3px 3px 100px #5e0d7b;\r\n}\r\n\r\n:deep(.AT-SELECT_container) {\r\n cursor: pointer;\r\n}\r\n\r\n:deep(.AT-SELECT_container input) {\r\n caret-color: transparent;\r\n}\r\n</style>\r\n'],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/vue-docgen-loader/lib/index.js??ruleSet[1].rules[37]!./node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/Select/Select.multiple.vue?vue&type=script&lang=ts":function(__unused_webpack_module,exports,__webpack_require__){var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},__assign.apply(this,arguments)},__spreadArray=this&&this.__spreadArray||function(to,from,pack){if(pack||2===arguments.length)for(var ar,i=0,l=from.length;i<l;i++)!ar&&i in from||(ar||(ar=Array.prototype.slice.call(from,0,i)),ar[i]=from[i]);return to.concat(ar||Array.prototype.slice.call(from))};Object.defineProperty(exports,"__esModule",{value:!0});var vue_1=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),Select_core_vue_1=__webpack_require__("./src/Select/Select.core.vue"),Item_vue_1=__webpack_require__("./src/Select/Item/Item.vue"),indicator_svg_1=__webpack_require__("./src/Select/imgs/indicator.svg");exports.default=(0,vue_1.defineComponent)({name:"AtMultipleSelect",components:{AtSingleCore:Select_core_vue_1.default,AtItem:Item_vue_1.default},props:{defaultValues:{type:Array,default:function(){return[]}},label:{type:String,default:""},items:{type:Array,default:function(){return[]},validator:function(value){return Array.isArray(value)&&value.every((function(item){return"object"==typeof item}))}},separator:{type:String,default:","}},emits:["update:items","update:selectedItems"],setup:function(props,ctx){var openRef=(0,vue_1.ref)(!1),containerRef=(0,vue_1.ref)(null),myItems=(0,vue_1.reactive)(props.items),selectedValues=(0,vue_1.reactive)(props.defaultValues||[]),values=(0,vue_1.computed)((function(){return __spreadArray([],selectedValues,!0).map((function(item){return item.value})).join(props.separator)})),onSelectedValueChange=function(item,isChecked){var _item=myItems.find((function(myItem){return myItem.value===item.value}));if(isChecked){if(selectedValues.find((function(selectedItem){return selectedItem.value===item.value})))return;selectedValues.push(item),_item&&(_item.isSelected=!0)}else{var index=selectedValues.findIndex((function(selectedItem){return selectedItem.value===item.value}));if(-1===index)return;selectedValues.splice(index,1),_item&&(_item.isSelected=!1)}ctx.emit("update:selectedItems",selectedValues)},onDocumentClick=function(event){var _a,target=event.target;(null===(_a=containerRef.value)||void 0===_a?void 0:_a.contains(target))||(openRef.value=!1)};return(0,vue_1.onMounted)((function(){!function(){var _a,defaultItemsMap=new Map(null===(_a=props.defaultValues)||void 0===_a?void 0:_a.map((function(item){return[item.value,item]}))),defaultValues=[];if(props.defaultValues){for(var index=0;index<myItems.length;index++){var item=myItems[index],defaultItem=defaultItemsMap.get(item.value);defaultItem&&defaultValues.push(defaultItem),item.isSelected=defaultItemsMap.has(item.value)}for(index=0;index<defaultValues.length;index++){item=defaultValues[index];var _item=__assign(__assign({},item),{isSelected:!0});onSelectedValueChange(_item,!0)}ctx.emit("update:items",myItems)}}(),window.addEventListener("click",onDocumentClick)})),(0,vue_1.onUnmounted)((function(){window.removeEventListener("click",onDocumentClick)})),{onSelectedValueChange,onSelectedItemClick:function(selectedValue,isOpen){void 0===isOpen&&(isOpen=!0);var item=props.items.find((function(item){return item.value===selectedValue}));item&&(onSelectedValueChange(item,!1),openRef.value=isOpen)},myItems,values,selectedValues,isOpen:openRef,containerRef,icons:{indicatorSvg:indicator_svg_1.default}}}})},"./node_modules/vue-docgen-loader/lib/index.js??ruleSet[1].rules[37]!./node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[6]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/Select/Select.multiple.vue?vue&type=template&id=34f1a0de&scoped=true&ts=true":function(__unused_webpack_module,exports,__webpack_require__){var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},__assign.apply(this,arguments)};Object.defineProperty(exports,"__esModule",{value:!0}),exports.render=void 0;var vue_1=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),_hoisted_1={key:0,role:"group","aria-orientation":"vertical",tabindex:"-1",class:"AT-SELECT_items-container"},_hoisted_2=["aria-expanded"],_hoisted_3=["src"];exports.render=function render(_ctx,_cache,$props,$setup,$data,$options){var _component_AtSingleCore=(0,vue_1.resolveComponent)("AtSingleCore"),_component_AtItem=(0,vue_1.resolveComponent)("AtItem");return(0,vue_1.openBlock)(),(0,vue_1.createElementBlock)("div",{ref:"containerRef",class:"AT-SELECT_wrapper",onClick:_cache[0]||(_cache[0]=function($event){return _ctx.isOpen=!_ctx.isOpen})},[(0,vue_1.createVNode)(_component_AtSingleCore,{"default-value":{value:_ctx.values,text:_ctx.values},"selected-items":_ctx.selectedValues,label:_ctx.label,"on-selected-item-click":_ctx.onSelectedItemClick,items:_ctx.myItems,"force-value":!0,separator:_ctx.separator},null,8,["default-value","selected-items","label","on-selected-item-click","items","separator"]),_ctx.isOpen?((0,vue_1.openBlock)(),(0,vue_1.createElementBlock)("div",_hoisted_1,[((0,vue_1.openBlock)(!0),(0,vue_1.createElementBlock)(vue_1.Fragment,null,(0,vue_1.renderList)(_ctx.myItems,(function(item){return(0,vue_1.openBlock)(),(0,vue_1.createBlock)(_component_AtItem,{key:item.value,text:item.text,value:item.value,icon:item.icon,"data-text":item.text,"checkbox-value":item.isSelected,"on-click":function(event){event.stopPropagation()},type:"multiple","on-checkbox-change":function(event){var _a;null===(_a=item.onCheckboxChange)||void 0===_a||_a.call(item,__assign(__assign({},event),{item})),_ctx.onSelectedValueChange(__assign({},item),event.isChecked),event.isChecked?item.isSelected=!0:item.isSelected=!1,_ctx.$emit("update:items",_ctx.myItems)}},null,8,["text","value","icon","data-text","checkbox-value","on-click","on-checkbox-change"])})),128))])):(0,vue_1.createCommentVNode)("",!0),(0,vue_1.createElementVNode)("div",{class:"AT-SELECT_indicator","aria-expanded":_ctx.isOpen},[(0,vue_1.createElementVNode)("img",{src:_ctx.icons.indicatorSvg,alt:"Indicador de estado"},null,8,_hoisted_3)],8,_hoisted_2)],512)}},"./src/Select/Select.multiple.vue":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Select_multiple_vue_vue_type_template_id_34f1a0de_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/Select/Select.multiple.vue?vue&type=template&id=34f1a0de&scoped=true&ts=true"),_Select_multiple_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/Select/Select.multiple.vue?vue&type=script&lang=ts"),__WEBPACK_REEXPORT_OBJECT__={};for(const __WEBPACK_IMPORT_KEY__ in _Select_multiple_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__)"default"!==__WEBPACK_IMPORT_KEY__&&(__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__]=()=>_Select_multiple_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__[__WEBPACK_IMPORT_KEY__]);__webpack_require__.d(__webpack_exports__,__WEBPACK_REEXPORT_OBJECT__);__webpack_require__("./src/Select/Select.multiple.vue?vue&type=style&index=0&id=34f1a0de&scoped=true&lang=css");const __exports__=(0,__webpack_require__("./node_modules/vue-loader/dist/exportHelper.js").A)(_Select_multiple_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_1__.default,[["render",_Select_multiple_vue_vue_type_template_id_34f1a0de_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__.render],["__scopeId","data-v-34f1a0de"]]),__WEBPACK_DEFAULT_EXPORT__=__exports__;__exports__.__docgenInfo={displayName:"AtMultipleSelect",exportName:"default",description:"",tags:{},props:[{name:"defaultValues",type:{name:"Array<SelectItemProps>"},defaultValue:{func:!0,value:"() => [] as Array<SelectItemProps>"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:'""'}},{name:"items",type:{name:"Array as unknown as () => Array<SelectItemProps>"},defaultValue:{func:!0,value:"() => [] as Array<SelectItemProps>"}},{name:"separator",type:{name:"string"},defaultValue:{func:!1,value:'","'}}],events:[{name:"update:items"},{name:"update:selectedItems"}],sourceFiles:["C:\\Users\\jnrpl\\Desktop\\Code\\at-components-ts\\packages\\at-components\\src\\Select\\Select.multiple.vue"]}},"./src/Select/Select.multiple.vue?vue&type=style&index=0&id=34f1a0de&scoped=true&lang=css":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),Select_multiplevue_type_style_index_0_id_34f1a0de_scoped_true_lang_css=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/Select/Select.multiple.vue?vue&type=style&index=0&id=34f1a0de&scoped=true&lang=css"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(Select_multiplevue_type_style_index_0_id_34f1a0de_scoped_true_lang_css.A,options);Select_multiplevue_type_style_index_0_id_34f1a0de_scoped_true_lang_css.A&&Select_multiplevue_type_style_index_0_id_34f1a0de_scoped_true_lang_css.A.locals&&Select_multiplevue_type_style_index_0_id_34f1a0de_scoped_true_lang_css.A.locals},"./src/Select/Select.multiple.vue?vue&type=script&lang=ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>_node_modules_vue_docgen_loader_lib_index_js_ruleSet_1_rules_37_node_modules_ts_loader_index_js_clonedRuleSet_6_use_0_node_modules_vue_loader_dist_index_js_ruleSet_0_Select_multiple_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0___default.a});var _node_modules_vue_docgen_loader_lib_index_js_ruleSet_1_rules_37_node_modules_ts_loader_index_js_clonedRuleSet_6_use_0_node_modules_vue_loader_dist_index_js_ruleSet_0_Select_multiple_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/vue-docgen-loader/lib/index.js??ruleSet[1].rules[37]!./node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/Select/Select.multiple.vue?vue&type=script&lang=ts"),_node_modules_vue_docgen_loader_lib_index_js_ruleSet_1_rules_37_node_modules_ts_loader_index_js_clonedRuleSet_6_use_0_node_modules_vue_loader_dist_index_js_ruleSet_0_Select_multiple_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_vue_docgen_loader_lib_index_js_ruleSet_1_rules_37_node_modules_ts_loader_index_js_clonedRuleSet_6_use_0_node_modules_vue_loader_dist_index_js_ruleSet_0_Select_multiple_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__),__WEBPACK_REEXPORT_OBJECT__={};for(const __WEBPACK_IMPORT_KEY__ in _node_modules_vue_docgen_loader_lib_index_js_ruleSet_1_rules_37_node_modules_ts_loader_index_js_clonedRuleSet_6_use_0_node_modules_vue_loader_dist_index_js_ruleSet_0_Select_multiple_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__)"default"!==__WEBPACK_IMPORT_KEY__&&(__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__]=()=>_node_modules_vue_docgen_loader_lib_index_js_ruleSet_1_rules_37_node_modules_ts_loader_index_js_clonedRuleSet_6_use_0_node_modules_vue_loader_dist_index_js_ruleSet_0_Select_multiple_vue_vue_type_script_lang_ts__WEBPACK_IMPORTED_MODULE_0__[__WEBPACK_IMPORT_KEY__]);__webpack_require__.d(__webpack_exports__,__WEBPACK_REEXPORT_OBJECT__)},"./src/Select/Select.multiple.vue?vue&type=template&id=34f1a0de&scoped=true&ts=true":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{var _node_modules_vue_docgen_loader_lib_index_js_ruleSet_1_rules_37_node_modules_ts_loader_index_js_clonedRuleSet_6_use_0_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_6_node_modules_vue_loader_dist_index_js_ruleSet_0_Select_multiple_vue_vue_type_template_id_34f1a0de_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/vue-docgen-loader/lib/index.js??ruleSet[1].rules[37]!./node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[6]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/Select/Select.multiple.vue?vue&type=template&id=34f1a0de&scoped=true&ts=true");__webpack_require__.o(_node_modules_vue_docgen_loader_lib_index_js_ruleSet_1_rules_37_node_modules_ts_loader_index_js_clonedRuleSet_6_use_0_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_6_node_modules_vue_loader_dist_index_js_ruleSet_0_Select_multiple_vue_vue_type_template_id_34f1a0de_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__,"render")&&__webpack_require__.d(__webpack_exports__,{render:function(){return _node_modules_vue_docgen_loader_lib_index_js_ruleSet_1_rules_37_node_modules_ts_loader_index_js_clonedRuleSet_6_use_0_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_6_node_modules_vue_loader_dist_index_js_ruleSet_0_Select_multiple_vue_vue_type_template_id_34f1a0de_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__.render}})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_agrotools1_at_components=self.webpackChunk_agrotools1_at_components||[]).push([[433],{"./node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext}}]);
|