@agrotools1/at-components 0.1.4 → 0.1.7
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/dist/Avatar/Avatar.d.ts +1 -1
- package/dist/Avatar/Avatar.vue.js +26 -0
- package/dist/Avatar/Avatar.vue2.js +58 -0
- package/dist/Avatar/Avatar.vue3.js +4 -0
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Button/Button.vue.js +35 -0
- package/dist/Button/Button.vue2.js +86 -0
- package/dist/Button/Button.vue3.js +4 -0
- package/dist/CardWithInsights/CardWithInsights.vue.js +52 -0
- package/dist/CardWithInsights/CardWithInsights.vue2.js +36 -0
- package/dist/CardWithInsights/CardWithInsights.vue3.js +4 -0
- package/dist/CardWithInsights/CardWithInsights.vue4.js +4 -0
- package/dist/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Checkbox/Checkbox.vue.js +38 -0
- package/dist/Checkbox/Checkbox.vue2.js +83 -0
- package/dist/Checkbox/Checkbox.vue3.js +4 -0
- package/dist/Checkbox/img/checkmarck.svg.js +4 -0
- package/dist/DataTable/Column/Column.d.ts +1 -1
- package/dist/DataTable/Column/Column.vue.js +35 -0
- package/dist/DataTable/Column/Column.vue2.js +67 -0
- package/dist/DataTable/Column/Column.vue3.js +4 -0
- package/dist/DataTable/Column/imgs/filter.svg.js +4 -0
- package/dist/DataTable/Counters/Counters.d.ts +1 -1
- package/dist/DataTable/Counters/Counters.vue.js +44 -0
- package/dist/DataTable/Counters/Counters.vue2.js +71 -0
- package/dist/DataTable/Counters/Counters.vue3.js +4 -0
- package/dist/DataTable/Counters/imgs/close.svg.js +4 -0
- package/dist/DataTable/DataTable.d.ts +1 -1
- package/dist/DataTable/DataTable.vue.js +93 -0
- package/dist/DataTable/DataTable.vue2.js +125 -0
- package/dist/DataTable/DataTable.vue3.js +4 -0
- package/dist/DataTable/Tag/Tag.d.ts +1 -1
- package/dist/DataTable/Tag/Tag.vue.js +24 -0
- package/dist/DataTable/Tag/Tag.vue2.js +34 -0
- package/dist/DataTable/Tag/Tag.vue3.js +4 -0
- package/dist/DataTable/Tag/imgs/disabled.svg.js +4 -0
- package/dist/DataTable/Tag/imgs/error.svg.js +4 -0
- package/dist/DataTable/Tag/imgs/info.svg.js +4 -0
- package/dist/DataTable/Tag/imgs/success.svg.js +4 -0
- package/dist/DataTable/Tag/imgs/warning.svg.js +4 -0
- package/dist/DataTable/index.d.ts +4 -4
- package/dist/DataTable/index.js +13 -0
- package/dist/Faq/Faq.vue.js +46 -0
- package/dist/Faq/Faq.vue2.js +40 -0
- package/dist/Faq/Faq.vue3.js +4 -0
- package/dist/Faq/Faq.vue4.js +4 -0
- package/dist/Illustration/Illustration.js +117 -0
- package/dist/Illustration/Illustration.vue.js +17 -0
- package/dist/Illustration/Illustration.vue2.js +32 -0
- package/dist/Illustration/Illustration.vue3.js +4 -0
- package/dist/Illustration/images/renovabio-illustrations/biomass.svg.js +4 -0
- package/dist/Illustration/images/renovabio-illustrations/volume.svg.js +4 -0
- package/dist/Illustration/images/system-images/add-file.svg.js +4 -0
- package/dist/Illustration/images/system-images/cloud-connection.svg.js +4 -0
- package/dist/Illustration/images/system-images/cloud-download.svg.js +4 -0
- package/dist/Illustration/images/system-images/cloud-upload.svg.js +4 -0
- package/dist/Illustration/images/system-images/corrupted-file.svg.js +4 -0
- package/dist/Illustration/images/system-images/empty-box.svg.js +4 -0
- package/dist/Illustration/images/system-images/empty-folder-2.svg.js +4 -0
- package/dist/Illustration/images/system-images/empty-folder.svg.js +4 -0
- package/dist/Illustration/images/system-images/empty.svg.js +4 -0
- package/dist/Illustration/images/system-images/error-illustration.svg.js +4 -0
- package/dist/Illustration/images/system-images/file-backup-2.svg.js +4 -0
- package/dist/Illustration/images/system-images/file-backup.svg.js +4 -0
- package/dist/Illustration/images/system-images/filtering-upload.svg.js +4 -0
- package/dist/Illustration/images/system-images/flight.svg.js +4 -0
- package/dist/Illustration/images/system-images/fly.svg.js +4 -0
- package/dist/Illustration/images/system-images/movies.svg.js +4 -0
- package/dist/Illustration/images/system-images/multimedia.svg.js +4 -0
- package/dist/Illustration/images/system-images/notification-bell.svg.js +4 -0
- package/dist/Illustration/images/system-images/page-2.svg.js +4 -0
- package/dist/Illustration/images/system-images/page.svg.js +4 -0
- package/dist/Illustration/images/system-images/photos.svg.js +4 -0
- package/dist/Illustration/images/system-images/recycle-bin.svg.js +4 -0
- package/dist/Illustration/images/system-images/rocket-launch.svg.js +4 -0
- package/dist/Illustration/images/system-images/signal.svg.js +4 -0
- package/dist/Illustration/images/system-images/wrong.svg.js +4 -0
- package/dist/Illustration/images/tools-images/advanced-analysis.svg.js +4 -0
- package/dist/Illustration/images/tools-images/agriculture.svg.js +4 -0
- package/dist/Illustration/images/tools-images/alert-center.svg.js +4 -0
- package/dist/Illustration/images/tools-images/area.svg.js +4 -0
- package/dist/Illustration/images/tools-images/at-insights.svg.js +4 -0
- package/dist/Illustration/images/tools-images/conservation-unit.svg.js +4 -0
- package/dist/Illustration/images/tools-images/credit.svg.js +4 -0
- package/dist/Illustration/images/tools-images/deforestation.svg.js +4 -0
- package/dist/Illustration/images/tools-images/distance-proximity-rivers.svg.js +4 -0
- package/dist/Illustration/images/tools-images/estimated-productivity-penalty.svg.js +4 -0
- package/dist/Illustration/images/tools-images/extract.svg.js +4 -0
- package/dist/Illustration/images/tools-images/farm.svg.js +4 -0
- package/dist/Illustration/images/tools-images/geographical-consultation-municipalities.svg.js +4 -0
- package/dist/Illustration/images/tools-images/gix.svg.js +4 -0
- package/dist/Illustration/images/tools-images/insurance.svg.js +4 -0
- package/dist/Illustration/images/tools-images/land-appreciation.svg.js +4 -0
- package/dist/Illustration/images/tools-images/lockdown.svg.js +4 -0
- package/dist/Illustration/images/tools-images/map.svg.js +4 -0
- package/dist/Illustration/images/tools-images/pasture.svg.js +4 -0
- package/dist/Illustration/images/tools-images/rating-2.svg.js +4 -0
- package/dist/Illustration/images/tools-images/rating.svg.js +4 -0
- package/dist/Illustration/images/tools-images/recurrence.svg.js +4 -0
- package/dist/Illustration/images/tools-images/refrigerators.svg.js +4 -0
- package/dist/Illustration/images/tools-images/settings.svg.js +4 -0
- package/dist/Illustration/images/tools-images/socio-environmental-analysis.svg.js +4 -0
- package/dist/Illustration/images/tools-images/soil-use.svg.js +4 -0
- package/dist/Illustration/images/tools-images/storm.svg.js +4 -0
- package/dist/Illustration/images/tools-images/territory-details.svg.js +4 -0
- package/dist/Illustration/images/tools-images/timeline.svg.js +4 -0
- package/dist/Input/Input.core.d.ts +3 -2
- package/dist/Input/Input.core.vue.js +67 -0
- package/dist/Input/Input.core.vue2.js +107 -0
- package/dist/Input/Input.core.vue3.js +4 -0
- package/dist/Input/imgs/error.svg.js +4 -0
- package/dist/Input/index.d.ts +3 -2
- package/dist/Input/index.js +7 -0
- package/dist/Modal/Modal.d.ts +2 -1
- package/dist/Modal/Modal.vue.js +88 -0
- package/dist/Modal/Modal.vue2.js +92 -0
- package/dist/Modal/Modal.vue3.js +4 -0
- package/dist/Modal/images/cross.svg.js +4 -0
- package/dist/Paginator/Paginator.d.ts +1 -1
- package/dist/Paginator/Paginator.vue.js +102 -0
- package/dist/Paginator/Paginator.vue2.js +74 -0
- package/dist/Paginator/Paginator.vue3.js +4 -0
- package/dist/Paginator/imgs/double-left-arrow.svg.js +4 -0
- package/dist/Paginator/imgs/double-right-arrow.svg.js +4 -0
- package/dist/Paginator/imgs/left-arrow.svg.js +4 -0
- package/dist/Paginator/imgs/right-arrow.svg.js +4 -0
- package/dist/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/ProgressBar/ProgressBar.vue.js +69 -0
- package/dist/ProgressBar/ProgressBar.vue2.js +72 -0
- package/dist/ProgressBar/ProgressBar.vue3.js +4 -0
- package/dist/Select/Item/Item.d.ts +1 -1
- package/dist/Select/Item/Item.vue.js +52 -0
- package/dist/Select/Item/Item.vue2.js +57 -0
- package/dist/Select/Item/Item.vue3.js +4 -0
- package/dist/Select/Select.core.d.ts +1 -1
- package/dist/Select/Select.core.vue.js +25 -0
- package/dist/Select/Select.core.vue2.js +57 -0
- package/dist/Select/Select.multiple.d.ts +1 -1
- package/dist/Select/Select.multiple.vue.js +60 -0
- package/dist/Select/Select.multiple.vue2.js +97 -0
- package/dist/Select/Select.multiple.vue3.js +4 -0
- package/dist/Select/Select.single.d.ts +1 -1
- package/dist/Select/Select.single.vue.js +47 -0
- package/dist/Select/Select.single.vue2.js +41 -0
- package/dist/Select/Select.single.vue3.js +4 -0
- package/dist/Select/imgs/indicator.svg.js +4 -0
- package/dist/Select/index.d.ts +2 -2
- package/dist/Select/index.js +9 -0
- package/dist/Tabs/Tab/Tab.d.ts +1 -1
- package/dist/Tabs/Tab/Tab.vue.js +30 -0
- package/dist/Tabs/Tab/Tab.vue2.js +40 -0
- package/dist/Tabs/Tab/Tab.vue3.js +4 -0
- package/dist/Tabs/Tabs.d.ts +1 -1
- package/dist/Tabs/Tabs.vue.js +37 -0
- package/dist/Tabs/Tabs.vue2.js +33 -0
- package/dist/Tabs/Tabs.vue3.js +4 -0
- package/dist/Tabs/imgs/check.svg.js +4 -0
- package/dist/Tabs/imgs/warning.svg.js +4 -0
- package/dist/Tipograph/Paragraph/Paragraph.d.ts +1 -1
- package/dist/Tipograph/Paragraph/Paragraph.vue.js +18 -0
- package/dist/Tipograph/Paragraph/Paragraph.vue2.js +21 -0
- package/dist/Tipograph/Paragraph/Paragraph.vue3.js +4 -0
- package/dist/Tipograph/Title/Title.d.ts +1 -1
- package/dist/Tipograph/Title/Title.vue.js +18 -0
- package/dist/Tipograph/Title/Title.vue2.js +21 -0
- package/dist/Tipograph/Title/Title.vue3.js +4 -0
- package/dist/Tipograph/index.d.ts +2 -2
- package/dist/Tipograph/index.js +9 -0
- package/dist/Toggle/Toggle.d.ts +1 -1
- package/dist/Toggle/Toggle.vue.js +29 -0
- package/dist/Toggle/Toggle.vue2.js +35 -0
- package/dist/Toggle/Toggle.vue3.js +4 -0
- package/dist/Upload/Upload.d.ts +1 -1
- package/dist/Upload/Upload.vue.js +91 -0
- package/dist/Upload/Upload.vue2.js +96 -0
- package/dist/Upload/Upload.vue3.js +4 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/agrotools-theme.css.map +1 -0
- package/dist/index.js +30 -2346
- package/dist/style.css +1 -0
- package/package.json +18 -28
- package/storybook-static/102.9ac9f0be.iframe.bundle.js +1 -0
- package/storybook-static/108.dad6e100.iframe.bundle.js +1 -0
- package/storybook-static/127.1402ec38.iframe.bundle.js +1 -0
- package/storybook-static/128.90fe14f7.iframe.bundle.js +1 -0
- package/storybook-static/20.d958576d.iframe.bundle.js +1 -0
- package/storybook-static/420.28054ca9.iframe.bundle.js +1 -0
- package/storybook-static/471.1b09f266.iframe.bundle.js +1 -0
- package/storybook-static/518.63007afe.iframe.bundle.js +1 -0
- package/storybook-static/{605.b24c7f17.iframe.bundle.js → 605.458f73a2.iframe.bundle.js} +2 -2
- package/storybook-static/605.458f73a2.iframe.bundle.js.map +1 -0
- package/storybook-static/{619.95069113.iframe.bundle.js → 619.fbf85f04.iframe.bundle.js} +3 -3
- package/storybook-static/619.fbf85f04.iframe.bundle.js.map +1 -0
- package/storybook-static/662.9228f06c.iframe.bundle.js +402 -0
- package/storybook-static/662.9228f06c.iframe.bundle.js.map +1 -0
- package/storybook-static/673.1811fe7b.iframe.bundle.js +1 -0
- package/storybook-static/674.0834b7e4.iframe.bundle.js +1 -0
- package/storybook-static/716.ae2cc9dc.iframe.bundle.js +1 -0
- package/storybook-static/73.7de0c878.iframe.bundle.js +1 -0
- package/storybook-static/749.294b564b.iframe.bundle.js +1 -0
- package/storybook-static/796.c14ffc95.iframe.bundle.js +1 -0
- package/storybook-static/814.81008212.iframe.bundle.js +1 -0
- package/storybook-static/998.2419ed7b.iframe.bundle.js +1 -0
- package/storybook-static/Avatar-Avatar-stories.b21d37b2.iframe.bundle.js +1 -0
- package/storybook-static/Button-Button-stories.07b0a669.iframe.bundle.js +1 -0
- package/storybook-static/CardWithInsights-CardWithInsights-stories.23654c7d.iframe.bundle.js +1 -0
- package/storybook-static/Checkbox-Checkbox-stories.d3860e9f.iframe.bundle.js +1 -0
- package/storybook-static/DataTable-DataTable-stories.39b0d899.iframe.bundle.js +1 -0
- package/storybook-static/DataTable-Tag-Tag-stories.e811f9f3.iframe.bundle.js +1 -0
- package/storybook-static/Faq-Faq-stories.4634ceba.iframe.bundle.js +1 -0
- package/storybook-static/Icons-Icons-stories.85725ca8.iframe.bundle.js +1 -0
- package/storybook-static/Illustration-Illustration-stories.c9d71835.iframe.bundle.js +1 -0
- package/storybook-static/IllustrationGallery-IllustrationGallery-stories.e3f79342.iframe.bundle.js +1 -0
- package/storybook-static/Input-Input-stories.45e0b6a1.iframe.bundle.js +1 -0
- package/storybook-static/Modal-Modal-stories.ae04830a.iframe.bundle.js +1 -0
- package/storybook-static/Paginator-Paginator-stories.87896c41.iframe.bundle.js +1 -0
- package/storybook-static/ProgressBar-ProgressBar-stories.d24e4b35.iframe.bundle.js +1 -0
- package/storybook-static/Select-Select-multiple-stories.3e084410.iframe.bundle.js +1 -0
- package/storybook-static/Select-Select-single-stories.dd753d85.iframe.bundle.js +1 -0
- package/storybook-static/Tabs-Tab-Tab-stories.1e52249f.iframe.bundle.js +1 -0
- package/storybook-static/Tabs-Tabs-stories.bb073f21.iframe.bundle.js +1 -0
- package/storybook-static/Tipograph-Paragraph-Paragraph-stories.bd3f9e7e.iframe.bundle.js +1 -0
- package/storybook-static/Tipograph-Title-Title-stories.98dbb979.iframe.bundle.js +1 -0
- package/storybook-static/Toggle-Toggle-stories.20a09b27.iframe.bundle.js +1 -0
- package/storybook-static/Upload-Upload-stories.b2a01d98.iframe.bundle.js +1 -0
- package/storybook-static/iframe.html +4 -4
- package/storybook-static/index.json +1 -1
- package/storybook-static/main.557e9315.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/runtime~main.4304985c.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +30 -30
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js +13 -13
- package/storybook-static/static/media/add-file.36431641.svg +12 -0
- package/storybook-static/static/media/advanced-analysis.543a3373.svg +62 -0
- package/storybook-static/static/media/agriculture.163ebccb.svg +19 -0
- package/storybook-static/static/media/alert-center.13bb8881.svg +17 -0
- package/storybook-static/static/media/area.9ac3e69d.svg +15 -0
- package/storybook-static/static/media/at-insights.70be24e9.svg +24 -0
- package/storybook-static/static/media/biomass.ba40f1f8.svg +36 -0
- package/storybook-static/static/media/close.74fb5e7c.svg +3 -0
- package/storybook-static/static/media/cloud-connection.fd1da3dc.svg +14 -0
- package/storybook-static/static/media/cloud-download.fbd37e78.svg +19 -0
- package/storybook-static/static/media/cloud-upload.78d9d692.svg +16 -0
- package/storybook-static/static/media/conservation-unit.c738b0d9.svg +12 -0
- package/storybook-static/static/media/corrupted-file.d3c44b90.svg +16 -0
- package/storybook-static/static/media/credit.4c4a9f23.svg +18 -0
- package/storybook-static/static/media/cross.3807b5ff.svg +5 -0
- package/storybook-static/static/media/deforestation.2429d1e3.svg +15 -0
- package/storybook-static/static/media/distance-proximity-rivers.15e21a6b.svg +37 -0
- package/storybook-static/static/media/empty-box.7e0e0a14.svg +22 -0
- package/storybook-static/static/media/empty-folder-2.8361a0e2.svg +10 -0
- package/storybook-static/static/media/empty-folder.1b301dc4.svg +18 -0
- package/storybook-static/static/media/empty.19d2d9c9.svg +14 -0
- package/storybook-static/static/media/error-illustration.f8b93fea.svg +13 -0
- package/storybook-static/static/media/estimated-productivity-penalty.5a2b723f.svg +12 -0
- package/storybook-static/static/media/extract.72c95f7f.svg +33 -0
- package/storybook-static/static/media/farm.b21569c4.svg +18 -0
- package/storybook-static/static/media/file-backup-2.d253f4ac.svg +18 -0
- package/storybook-static/static/media/file-backup.3be1d1d2.svg +13 -0
- package/storybook-static/static/media/filtering-upload.a02a1543.svg +42 -0
- package/storybook-static/static/media/flight.f6de9af3.svg +14 -0
- package/storybook-static/static/media/fly.6e02c68a.svg +9 -0
- package/storybook-static/static/media/geographical-consultation-municipalities.0a3d710e.svg +31 -0
- package/storybook-static/static/media/gix.bacd590c.svg +21 -0
- package/storybook-static/static/media/insurance.14f05495.svg +16 -0
- package/storybook-static/static/media/land-appreciation.885bc839.svg +26 -0
- package/storybook-static/static/media/lockdown.c6992804.svg +14 -0
- package/storybook-static/static/media/map.9e9abcd0.svg +5 -0
- package/storybook-static/static/media/movies.bedabbf3.svg +26 -0
- package/storybook-static/static/media/multimedia.324a6077.svg +9 -0
- package/storybook-static/static/media/notification-bell.1209a2b4.svg +15 -0
- package/storybook-static/static/media/page-2.01eec72d.svg +18 -0
- package/storybook-static/static/media/page.c59e2f3d.svg +12 -0
- package/storybook-static/static/media/pasture.39680219.svg +19 -0
- package/storybook-static/static/media/photos.0c7a09d3.svg +15 -0
- package/storybook-static/static/media/rating-2.a518ca8f.svg +16 -0
- package/storybook-static/static/media/rating.936b1b77.svg +21 -0
- package/storybook-static/static/media/recurrence.5371e92b.svg +17 -0
- package/storybook-static/static/media/recycle-bin.cc5f2e74.svg +14 -0
- package/storybook-static/static/media/refrigerators.c98b8833.svg +14 -0
- package/storybook-static/static/media/rocket-launch.1aad437e.svg +22 -0
- package/storybook-static/static/media/settings.c5b55264.svg +23 -0
- package/storybook-static/static/media/signal.e82c378c.svg +24 -0
- package/storybook-static/static/media/socio-environmental-analysis.b2653ac9.svg +18 -0
- package/storybook-static/static/media/soil-use.8b6db457.svg +52 -0
- package/storybook-static/static/media/storm.91e86899.svg +25 -0
- package/storybook-static/static/media/territory-details.1c8e1294.svg +17 -0
- package/storybook-static/static/media/timeline.fb362e8f.svg +42 -0
- package/storybook-static/static/media/volume.99352757.svg +10 -0
- package/storybook-static/static/media/wrong.9ae4f2e0.svg +14 -0
- package/storybook-static/stories.json +1 -1
- package/dist/Styles/agrotools-theme.css.map +0 -1
- package/dist/index.css +0 -1
- package/dist/index.umd.cjs +0 -1
- package/storybook-static/108.2ef3bb7a.iframe.bundle.js +0 -1
- package/storybook-static/241.26474039.iframe.bundle.js +0 -1
- package/storybook-static/430.f9c58945.iframe.bundle.js +0 -1
- package/storybook-static/471.4eb28a88.iframe.bundle.js +0 -1
- package/storybook-static/518.adfe500c.iframe.bundle.js +0 -1
- package/storybook-static/605.b24c7f17.iframe.bundle.js.map +0 -1
- package/storybook-static/619.95069113.iframe.bundle.js.map +0 -1
- package/storybook-static/673.32e74aeb.iframe.bundle.js +0 -1
- package/storybook-static/716.ab558bfb.iframe.bundle.js +0 -1
- package/storybook-static/841.bc9263f1.iframe.bundle.js +0 -402
- package/storybook-static/841.bc9263f1.iframe.bundle.js.map +0 -1
- package/storybook-static/878.29798927.iframe.bundle.js +0 -1
- package/storybook-static/895.cebd63e6.iframe.bundle.js +0 -1
- package/storybook-static/998.aaef9ce6.iframe.bundle.js +0 -1
- package/storybook-static/Avatar-Avatar-stories.2acc14df.iframe.bundle.js +0 -1
- package/storybook-static/Button-Button-stories.2aa969e5.iframe.bundle.js +0 -1
- package/storybook-static/Checkbox-Checkbox-stories.e3f98a9b.iframe.bundle.js +0 -1
- package/storybook-static/DataTable-Column-Column-stories.73eabb87.iframe.bundle.js +0 -1
- package/storybook-static/DataTable-DataTable-stories.43cf8dff.iframe.bundle.js +0 -1
- package/storybook-static/DataTable-Tag-Tag-stories.071dd437.iframe.bundle.js +0 -1
- package/storybook-static/Input-Input-stories.a40131b3.iframe.bundle.js +0 -1
- package/storybook-static/Paginator-Paginator-stories.f7d9f6f2.iframe.bundle.js +0 -1
- package/storybook-static/Select-Item-Item-stories.3a913cd9.iframe.bundle.js +0 -1
- package/storybook-static/Select-Select-multiple-stories.42e824d4.iframe.bundle.js +0 -1
- package/storybook-static/Select-Select-single-stories.d50460ac.iframe.bundle.js +0 -1
- package/storybook-static/Tabs-Tab-Tab-stories.b1a9fef9.iframe.bundle.js +0 -1
- package/storybook-static/Tabs-Tabs-stories.73847c74.iframe.bundle.js +0 -1
- package/storybook-static/Tipograph-Paragraph-Paragraph-stories.3f579be8.iframe.bundle.js +0 -1
- package/storybook-static/Tipograph-Title-Title-stories.c1949e52.iframe.bundle.js +0 -1
- package/storybook-static/Toggle-Toggle-stories.52194834.iframe.bundle.js +0 -1
- package/storybook-static/main.d9760f16.iframe.bundle.js +0 -1
- package/storybook-static/runtime~main.66427e0c.iframe.bundle.js +0 -1
- /package/dist/{Styles/agrotools-theme.css → agrotools-theme.css} +0 -0
- /package/storybook-static/{619.95069113.iframe.bundle.js.LICENSE.txt → 619.fbf85f04.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{841.bc9263f1.iframe.bundle.js.LICENSE.txt → 662.9228f06c.iframe.bundle.js.LICENSE.txt} +0 -0
package/dist/Avatar/Avatar.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
slotSize: import("vue").ComputedRef<string>;
|
|
33
33
|
fontSize: import("vue").ComputedRef<string>;
|
|
34
34
|
text: string;
|
|
35
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
imgBase64: {
|
|
37
37
|
required: false;
|
|
38
38
|
type: StringConstructor;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import a from "./Avatar.vue2.js";
|
|
2
|
+
import { openBlock as t, createElementBlock as o, normalizeStyle as s, renderSlot as i, toDisplayString as r } from "vue";
|
|
3
|
+
import "./Avatar.vue3.js";
|
|
4
|
+
import l from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const n = ["aria-label"], d = ["src"], m = ["data-size"];
|
|
6
|
+
function p(e, f, c, h, u, z) {
|
|
7
|
+
return t(), o("div", {
|
|
8
|
+
style: s({ width: e.slotSize, height: e.slotSize }),
|
|
9
|
+
"aria-label": e.text
|
|
10
|
+
}, [
|
|
11
|
+
e.imgBase64 ? (t(), o("img", {
|
|
12
|
+
key: 0,
|
|
13
|
+
src: e.imgBase64,
|
|
14
|
+
alt: "User image"
|
|
15
|
+
}, null, 8, d)) : e.withIcon ? i(e.$slots, "default", { key: 1 }, void 0, !0) : (t(), o("span", {
|
|
16
|
+
key: 2,
|
|
17
|
+
"data-size": e.size,
|
|
18
|
+
class: "username-slot",
|
|
19
|
+
style: s({ fontSize: e.fontSize })
|
|
20
|
+
}, r(e.text), 13, m))
|
|
21
|
+
], 12, n);
|
|
22
|
+
}
|
|
23
|
+
const k = /* @__PURE__ */ l(a, [["render", p], ["__scopeId", "data-v-fe77416e"]]);
|
|
24
|
+
export {
|
|
25
|
+
k as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as f, computed as n } from "vue";
|
|
2
|
+
const p = f({
|
|
3
|
+
name: "AtAvatar",
|
|
4
|
+
props: {
|
|
5
|
+
imgBase64: {
|
|
6
|
+
required: !1,
|
|
7
|
+
type: String,
|
|
8
|
+
default: null,
|
|
9
|
+
validator: (e) => typeof e == "string"
|
|
10
|
+
},
|
|
11
|
+
withIcon: {
|
|
12
|
+
required: !1,
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !1,
|
|
15
|
+
validator: (e) => typeof e == "boolean"
|
|
16
|
+
},
|
|
17
|
+
username: {
|
|
18
|
+
required: !0,
|
|
19
|
+
type: String,
|
|
20
|
+
default: null,
|
|
21
|
+
validator: (e) => typeof e == "string"
|
|
22
|
+
},
|
|
23
|
+
size: {
|
|
24
|
+
required: !1,
|
|
25
|
+
type: String,
|
|
26
|
+
default: "M",
|
|
27
|
+
validator: (e) => typeof e == "string" && ["P", "M", "G"].includes(e)
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
setup(e) {
|
|
31
|
+
const s = n(() => {
|
|
32
|
+
switch (e.size) {
|
|
33
|
+
case "P":
|
|
34
|
+
return 24;
|
|
35
|
+
case "M":
|
|
36
|
+
return 32;
|
|
37
|
+
case "G":
|
|
38
|
+
return 44;
|
|
39
|
+
default:
|
|
40
|
+
return 32;
|
|
41
|
+
}
|
|
42
|
+
}), a = n(() => `${s.value / 2}px`), i = () => {
|
|
43
|
+
if (e.username.length) {
|
|
44
|
+
const t = e.username.split(" "), o = t[0], r = t == null ? void 0 : t[1], l = o[0], u = (r == null ? void 0 : r[0]) || "";
|
|
45
|
+
return `${l}${u}`.toUpperCase();
|
|
46
|
+
}
|
|
47
|
+
return "";
|
|
48
|
+
};
|
|
49
|
+
return {
|
|
50
|
+
slotSize: n(() => `${s.value}px`),
|
|
51
|
+
fontSize: a,
|
|
52
|
+
text: i()
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
p as default
|
|
58
|
+
};
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
leftIconSlotEl: {
|
|
76
76
|
value: HTMLElement | null;
|
|
77
77
|
};
|
|
78
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
78
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
79
|
isToggle: {
|
|
80
80
|
type: BooleanConstructor;
|
|
81
81
|
default: boolean;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import a from "./Button.vue2.js";
|
|
2
|
+
import { openBlock as o, createElementBlock as t, normalizeStyle as n, normalizeClass as i, createCommentVNode as s, toDisplayString as l } from "vue";
|
|
3
|
+
import "./Button.vue3.js";
|
|
4
|
+
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const d = ["disabled", "aria-label", "aria-disabled"], c = {
|
|
6
|
+
key: 0,
|
|
7
|
+
ref: "leftIconSlotEl",
|
|
8
|
+
class: "icon-slot"
|
|
9
|
+
}, p = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "spinner"
|
|
12
|
+
}, f = { key: 2 }, m = {
|
|
13
|
+
key: 3,
|
|
14
|
+
ref: "iconSlotEl",
|
|
15
|
+
class: "icon-slot"
|
|
16
|
+
};
|
|
17
|
+
function b(e, u, _, h, y, k) {
|
|
18
|
+
return o(), t("button", {
|
|
19
|
+
ref: "buttonRef",
|
|
20
|
+
style: n({ width: e.size.width }),
|
|
21
|
+
class: i(e.variant),
|
|
22
|
+
disabled: e.disabled,
|
|
23
|
+
role: "button",
|
|
24
|
+
"aria-label": e.text,
|
|
25
|
+
"aria-disabled": e.disabled
|
|
26
|
+
}, [
|
|
27
|
+
e.iconLeft ? (o(), t("span", c, null, 512)) : s("", !0),
|
|
28
|
+
e.loading ? (o(), t("span", p)) : (o(), t("span", f, l(e.text), 1)),
|
|
29
|
+
e.icon ? (o(), t("span", m, null, 512)) : s("", !0)
|
|
30
|
+
], 14, d);
|
|
31
|
+
}
|
|
32
|
+
const E = /* @__PURE__ */ r(a, [["render", b], ["__scopeId", "data-v-55cfef3b"]]);
|
|
33
|
+
export {
|
|
34
|
+
E as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { defineComponent as m, ref as o, onMounted as E, onUnmounted as G } from "vue";
|
|
2
|
+
const b = m({
|
|
3
|
+
name: "AtButton",
|
|
4
|
+
props: {
|
|
5
|
+
isToggle: {
|
|
6
|
+
type: Boolean,
|
|
7
|
+
default: !1,
|
|
8
|
+
validator: (e) => typeof e == "boolean"
|
|
9
|
+
},
|
|
10
|
+
text: {
|
|
11
|
+
type: String,
|
|
12
|
+
required: !0,
|
|
13
|
+
default: "Clique aqui",
|
|
14
|
+
validator: (e) => typeof e == "string" && e.length > 0
|
|
15
|
+
},
|
|
16
|
+
variant: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: "primary",
|
|
19
|
+
validator: (e) => ["primary", "secondary", "danger", "header"].includes(e)
|
|
20
|
+
},
|
|
21
|
+
loading: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1,
|
|
24
|
+
validator: (e) => typeof e == "boolean"
|
|
25
|
+
},
|
|
26
|
+
disabled: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: !1,
|
|
29
|
+
validator: (e) => typeof e == "boolean"
|
|
30
|
+
},
|
|
31
|
+
size: {
|
|
32
|
+
type: Object,
|
|
33
|
+
default: () => ({
|
|
34
|
+
width: "max-content"
|
|
35
|
+
}),
|
|
36
|
+
validator: (e) => typeof e.width == "string"
|
|
37
|
+
},
|
|
38
|
+
icon: {
|
|
39
|
+
type: [SVGSVGElement, String],
|
|
40
|
+
default: "",
|
|
41
|
+
required: !1,
|
|
42
|
+
validator: (e) => e instanceof SVGSVGElement || typeof e == "string"
|
|
43
|
+
},
|
|
44
|
+
iconLeft: {
|
|
45
|
+
type: [SVGSVGElement, String],
|
|
46
|
+
default: "",
|
|
47
|
+
required: !1,
|
|
48
|
+
validator: (e) => e instanceof SVGSVGElement || typeof e == "string"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
setup(e) {
|
|
52
|
+
const t = o(), r = o(), s = o(), l = o(!1);
|
|
53
|
+
E(() => {
|
|
54
|
+
var n, f, u, c;
|
|
55
|
+
a(e.icon, r), a(e.iconLeft, s), (f = t.value) == null || f.style.setProperty(
|
|
56
|
+
"--ATHOST-initial-width",
|
|
57
|
+
`${(n = t.value) == null ? void 0 : n.offsetWidth}px`
|
|
58
|
+
), (u = t.value) == null || u.addEventListener("click", d), e.isToggle && ((c = t.value) == null || c.setAttribute("aria-pressed", "false"));
|
|
59
|
+
function a(i, p) {
|
|
60
|
+
var g, v;
|
|
61
|
+
if (i)
|
|
62
|
+
if (i instanceof SVGSVGElement)
|
|
63
|
+
(g = p.value) == null || g.appendChild(i);
|
|
64
|
+
else {
|
|
65
|
+
const S = i, y = document.createElement("img");
|
|
66
|
+
y.src = S, (v = p.value) == null || v.appendChild(y);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}), G(() => {
|
|
70
|
+
var a;
|
|
71
|
+
(a = t.value) == null || a.removeEventListener("click", d);
|
|
72
|
+
});
|
|
73
|
+
const d = (a) => {
|
|
74
|
+
var n;
|
|
75
|
+
a.preventDefault(), l.value = !l.value, e.isToggle && ((n = t.value) == null || n.setAttribute("aria-pressed", String(l.value)));
|
|
76
|
+
};
|
|
77
|
+
return {
|
|
78
|
+
buttonRef: t,
|
|
79
|
+
iconSlotEl: r,
|
|
80
|
+
leftIconSlotEl: s
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
export {
|
|
85
|
+
b as default
|
|
86
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import d from "./CardWithInsights.vue2.js";
|
|
2
|
+
import { resolveComponent as o, openBlock as n, createElementBlock as s, normalizeStyle as u, Fragment as p, renderList as h, createVNode as r, createElementVNode as i, toDisplayString as l, withCtx as _, createTextVNode as g } from "vue";
|
|
3
|
+
import "./CardWithInsights.vue3.js";
|
|
4
|
+
import "./CardWithInsights.vue4.js";
|
|
5
|
+
import m from "../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const f = { class: "insight-container" }, v = { class: "circle-question-container" }, $ = ["src", "onClick"], w = {
|
|
7
|
+
id: "insight-value",
|
|
8
|
+
class: "insight-value"
|
|
9
|
+
};
|
|
10
|
+
function y(t, C, k, I, A, V) {
|
|
11
|
+
const a = o("AtIllustration"), c = o("AtParagraph");
|
|
12
|
+
return n(), s("div", {
|
|
13
|
+
class: "card-with-insights-container",
|
|
14
|
+
style: u({
|
|
15
|
+
width: t.$props.fullWidth === !0 ? "100%" : "max-content",
|
|
16
|
+
justifyContent: t.$props.fullWidth === !0 ? "space-between" : "flex-start"
|
|
17
|
+
})
|
|
18
|
+
}, [
|
|
19
|
+
(n(!0), s(p, null, h(t.insightsList, (e) => (n(), s("div", {
|
|
20
|
+
key: e.index,
|
|
21
|
+
class: "card-with-insights-list"
|
|
22
|
+
}, [
|
|
23
|
+
r(a, {
|
|
24
|
+
illustration: e.image
|
|
25
|
+
}, null, 8, ["illustration"]),
|
|
26
|
+
i("div", f, [
|
|
27
|
+
i("div", v, [
|
|
28
|
+
i("img", {
|
|
29
|
+
alt: "circle-question",
|
|
30
|
+
src: t.$props.iconQuestion,
|
|
31
|
+
class: "circle-question-icon",
|
|
32
|
+
onClick: e.myFunction
|
|
33
|
+
}, null, 8, $)
|
|
34
|
+
]),
|
|
35
|
+
i("h3", w, l(t.renderInsightValue(e.value)), 1),
|
|
36
|
+
r(c, {
|
|
37
|
+
size: "p2",
|
|
38
|
+
weight: "light"
|
|
39
|
+
}, {
|
|
40
|
+
default: _(() => [
|
|
41
|
+
g(l(e.insightTitle), 1)
|
|
42
|
+
]),
|
|
43
|
+
_: 2
|
|
44
|
+
}, 1024)
|
|
45
|
+
])
|
|
46
|
+
]))), 128))
|
|
47
|
+
], 4);
|
|
48
|
+
}
|
|
49
|
+
const B = /* @__PURE__ */ m(d, [["render", y], ["__scopeId", "data-v-28800341"]]);
|
|
50
|
+
export {
|
|
51
|
+
B as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as i } from "vue";
|
|
2
|
+
import { AtTipograph as s } from "../Tipograph/index.js";
|
|
3
|
+
import l from "../Illustration/Illustration.vue.js";
|
|
4
|
+
const h = i({
|
|
5
|
+
name: "AtCardWithInsights",
|
|
6
|
+
components: {
|
|
7
|
+
AtParagraph: s.Paragraph,
|
|
8
|
+
AtIllustration: l
|
|
9
|
+
},
|
|
10
|
+
props: {
|
|
11
|
+
insightsList: {
|
|
12
|
+
type: Array,
|
|
13
|
+
required: !0,
|
|
14
|
+
validator: (r) => Array.isArray(r) && r.every((e) => typeof e == "object")
|
|
15
|
+
},
|
|
16
|
+
iconQuestion: {
|
|
17
|
+
type: String,
|
|
18
|
+
required: !1,
|
|
19
|
+
default: "",
|
|
20
|
+
validator: (r) => typeof r == "string"
|
|
21
|
+
},
|
|
22
|
+
fullWidth: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
required: !1,
|
|
25
|
+
default: !1,
|
|
26
|
+
validator: (r) => typeof r == "boolean"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
setup() {
|
|
30
|
+
const e = (t) => t % 1 !== 0, n = (t) => t.toFixed(2), a = (t) => t < 0 ? 0 : t, o = (t) => t > 1e9 ? 1e9 : t;
|
|
31
|
+
return { renderInsightValue: (t) => (t = o(t), e(t) ? n(t) : a(t)), handleFloatValue: n };
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
h as default
|
|
36
|
+
};
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
isChecked: import("vue").Ref<boolean | undefined>;
|
|
38
38
|
onClick: () => void;
|
|
39
39
|
borderRadius: import("vue").ComputedRef<string>;
|
|
40
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").
|
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
disabled: {
|
|
42
42
|
required: false;
|
|
43
43
|
type: () => CheckboxProps["disabled"];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import s from "./Checkbox.vue2.js";
|
|
2
|
+
import { openBlock as d, createElementBlock as o, Fragment as a, createElementVNode as t, mergeProps as n, createCommentVNode as c, normalizeStyle as l } from "vue";
|
|
3
|
+
import "./Checkbox.vue3.js";
|
|
4
|
+
import m from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const h = ["aria-checked", "disabled"], p = ["src"], u = ["disabled"];
|
|
6
|
+
function b(e, i, k, f, C, y) {
|
|
7
|
+
return d(), o(a, null, [
|
|
8
|
+
t("button", n({ ref: "buttonRef" }, e.$attrs, {
|
|
9
|
+
type: "button",
|
|
10
|
+
role: "checkbox",
|
|
11
|
+
"aria-checked": e.isChecked,
|
|
12
|
+
disabled: e.disabled,
|
|
13
|
+
style: {
|
|
14
|
+
width: e.computedSize,
|
|
15
|
+
height: e.computedSize,
|
|
16
|
+
borderRadius: e.borderRadius
|
|
17
|
+
},
|
|
18
|
+
onClick: i[0] || (i[0] = (r) => e.$emit("click", { ...r, isChecked: !e.isChecked }))
|
|
19
|
+
}), [
|
|
20
|
+
e.isChecked ? (d(), o("img", {
|
|
21
|
+
key: 0,
|
|
22
|
+
src: e.checkmarck
|
|
23
|
+
}, null, 8, p)) : c("", !0)
|
|
24
|
+
], 16, h),
|
|
25
|
+
t("input", {
|
|
26
|
+
ref: "inputRef",
|
|
27
|
+
tabindex: "-1",
|
|
28
|
+
"aria-hidden": "true",
|
|
29
|
+
type: "checkbox",
|
|
30
|
+
disabled: e.disabled,
|
|
31
|
+
style: l({ width: e.size, height: e.size })
|
|
32
|
+
}, null, 12, u)
|
|
33
|
+
], 64);
|
|
34
|
+
}
|
|
35
|
+
const S = /* @__PURE__ */ m(s, [["render", b], ["__scopeId", "data-v-bd3c7067"]]);
|
|
36
|
+
export {
|
|
37
|
+
S as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { defineComponent as v, ref as u, computed as c, onMounted as m, onBeforeUnmount as p, watch as r } from "vue";
|
|
2
|
+
import k from "./img/checkmarck.svg.js";
|
|
3
|
+
const x = v({
|
|
4
|
+
name: "AtCheckbox",
|
|
5
|
+
props: {
|
|
6
|
+
disabled: {
|
|
7
|
+
required: !1,
|
|
8
|
+
type: Boolean,
|
|
9
|
+
default: !1,
|
|
10
|
+
validator: (e) => typeof e == "boolean"
|
|
11
|
+
},
|
|
12
|
+
value: {
|
|
13
|
+
required: !1,
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !1,
|
|
16
|
+
validator: (e) => typeof e == "boolean"
|
|
17
|
+
},
|
|
18
|
+
size: {
|
|
19
|
+
required: !1,
|
|
20
|
+
type: String,
|
|
21
|
+
default: "24",
|
|
22
|
+
validator: (e) => ["12", "16", "20", "24", "28"].includes(e)
|
|
23
|
+
},
|
|
24
|
+
labelledby: {
|
|
25
|
+
required: !1,
|
|
26
|
+
type: String,
|
|
27
|
+
default: "",
|
|
28
|
+
validator: (e) => typeof e == "string"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
emits: ["click"],
|
|
32
|
+
setup(e) {
|
|
33
|
+
const a = u(null), o = u(null), l = u(e.value), s = c(() => `${e.size}px`), f = c(
|
|
34
|
+
() => ({
|
|
35
|
+
12: "3px",
|
|
36
|
+
16: "4px",
|
|
37
|
+
20: "6px",
|
|
38
|
+
24: "6px",
|
|
39
|
+
28: "8px"
|
|
40
|
+
})[e.size]
|
|
41
|
+
);
|
|
42
|
+
m(() => {
|
|
43
|
+
var t;
|
|
44
|
+
a.value && e.labelledby && a.value.setAttribute("aria-labelledby", e.labelledby), (t = a.value) == null || t.addEventListener("click", n);
|
|
45
|
+
}), p(() => {
|
|
46
|
+
var t;
|
|
47
|
+
(t = a.value) == null || t.removeEventListener("click", n);
|
|
48
|
+
}), r(
|
|
49
|
+
() => e.value,
|
|
50
|
+
(t) => {
|
|
51
|
+
l.value = t;
|
|
52
|
+
}
|
|
53
|
+
), r(
|
|
54
|
+
() => l.value,
|
|
55
|
+
(t) => {
|
|
56
|
+
b(t);
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
const b = (t) => {
|
|
60
|
+
var i, d;
|
|
61
|
+
t ? (i = o.value) == null || i.setAttribute("checked", "") : (d = o.value) == null || d.removeAttribute("checked");
|
|
62
|
+
}, n = () => {
|
|
63
|
+
l.value = !l.value, window.dispatchEvent(
|
|
64
|
+
new CustomEvent("checkbox:change", {
|
|
65
|
+
bubbles: !0,
|
|
66
|
+
detail: l
|
|
67
|
+
})
|
|
68
|
+
);
|
|
69
|
+
};
|
|
70
|
+
return {
|
|
71
|
+
checkmarck: k,
|
|
72
|
+
buttonRef: a,
|
|
73
|
+
inputRef: o,
|
|
74
|
+
computedSize: s,
|
|
75
|
+
isChecked: l,
|
|
76
|
+
onClick: n,
|
|
77
|
+
borderRadius: f
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
export {
|
|
82
|
+
x as default
|
|
83
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const M = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAxOCAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgICA8cGF0aA0KICAgICAgICBkPSJNMTYuNzM5MyAwLjMyMzI1Nkw2LjM3NSAxMC42ODY4QzYuMzA1MzIgMTAuNzU2NyA2LjIyMjUxIDEwLjgxMjIgNi4xMzEzMiAxMC44NTAxQzYuMDQwMTMgMTAuODg4IDUuOTQyMzcgMTAuOTA3NSA1Ljg0MzYzIDEwLjkwNzVDNS43NDQ4OCAxMC45MDc1IDUuNjQ3MTIgMTAuODg4IDUuNTU1OTMgMTAuODUwMUM1LjQ2NDc0IDEwLjgxMjIgNS4zODE5MyAxMC43NTY3IDUuMzEyMjUgMTAuNjg2OEwxLjMwNDI1IDYuNjc1MDFDMS4yMzQ1NyA2LjYwNTA1IDEuMTUxNzYgNi41NDk1NCAxLjA2MDU3IDYuNTExNjZDMC45NjkzODMgNi40NzM3OSAwLjg3MTYxNSA2LjQ1NDI5IDAuNzcyODc1IDYuNDU0MjlDMC42NzQxMzQgNi40NTQyOSAwLjU3NjM2NiA2LjQ3Mzc5IDAuNDg1MTc5IDYuNTExNjZDMC4zOTM5OTIgNi41NDk1NCAwLjMxMTE4MiA2LjYwNTA1IDAuMjQxNDk5IDYuNjc1MDFDMC4xNzE1NDIgNi43NDQ2OSAwLjExNjAzMiA2LjgyNzUgMC4wNzgxNTYyIDYuOTE4NjlDMC4wNDAyOCA3LjAwOTg3IDAuMDIwNzgyNSA3LjEwNzY0IDAuMDIwNzgyNSA3LjIwNjM4QzAuMDIwNzgyNSA3LjMwNTEyIDAuMDQwMjggNy40MDI4OSAwLjA3ODE1NjIgNy40OTQwOEMwLjExNjAzMiA3LjU4NTI2IDAuMTcxNTQyIDcuNjY4MDggMC4yNDE0OTkgNy43Mzc3Nkw0LjI1MSAxMS43NDY1QzQuNjczOTYgMTIuMTY4NyA1LjI0NzE1IDEyLjQwNTggNS44NDQ3NSAxMi40MDU4QzYuNDQyMzUgMTIuNDA1OCA3LjAxNTU0IDEyLjE2ODcgNy40Mzg1IDExLjc0NjVMMTcuODAyIDEuMzg1MjZDMTcuODcxOCAxLjMxNTU5IDE3LjkyNzMgMS4yMzI4MiAxNy45NjUxIDEuMTQxNzFDMTguMDAyOSAxLjA1MDU5IDE4LjAyMjMgMC45NTI5MDcgMTguMDIyMyAwLjg1NDI1NkMxOC4wMjIzIDAuNzU1NjA1IDE4LjAwMjkgMC42NTc5MjMgMTcuOTY1MSAwLjU2NjgwNkMxNy45MjczIDAuNDc1Njg4IDE3Ljg3MTggMC4zOTI5MjUgMTcuODAyIDAuMzIzMjU2QzE3LjczMjMgMC4yNTMyOTkgMTcuNjQ5NSAwLjE5Nzc4OSAxNy41NTgzIDAuMTU5OTEzQzE3LjQ2NzEgMC4xMjIwMzcgMTcuMzY5NCAwLjEwMjUzOSAxNy4yNzA2IDAuMTAyNTM5QzE3LjE3MTkgMC4xMDI1MzkgMTcuMDc0MSAwLjEyMjAzNyAxNi45ODI5IDAuMTU5OTEzQzE2Ljg5MTcgMC4xOTc3ODkgMTYuODA4OSAwLjI1MzI5OSAxNi43MzkzIDAuMzIzMjU2WiINCiAgICAgICAgZmlsbD0id2hpdGUiIC8+DQo8L3N2Zz4=";
|
|
2
|
+
export {
|
|
3
|
+
M as default
|
|
4
|
+
};
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
filterSvg: string;
|
|
18
18
|
orientation: Ref<"bottom" | "top">;
|
|
19
19
|
onClick: () => void;
|
|
20
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
20
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
field: {
|
|
22
22
|
type: StringConstructor;
|
|
23
23
|
required: true;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import n from "./Column.vue2.js";
|
|
2
|
+
import { openBlock as a, createElementBlock as l, createElementVNode as o, toDisplayString as r, createCommentVNode as s, renderSlot as d } from "vue";
|
|
3
|
+
import "./Column.vue3.js";
|
|
4
|
+
import m from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const c = ["data-align-columns", "data-filterable"], f = { class: "slot" }, u = ["data-orientation", "data-filterable"], p = ["src"];
|
|
6
|
+
function b(t, e, h, g, k, C) {
|
|
7
|
+
return a(), l("th", {
|
|
8
|
+
role: "columnheader",
|
|
9
|
+
class: "column",
|
|
10
|
+
"data-align-columns": t.alignColumns,
|
|
11
|
+
"data-filterable": t.withMaxMinFilter
|
|
12
|
+
}, [
|
|
13
|
+
o("div", f, [
|
|
14
|
+
o("span", null, r(t.label), 1),
|
|
15
|
+
t.withMaxMinFilter ? (a(), l("button", {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "filter-icon",
|
|
18
|
+
type: "button",
|
|
19
|
+
"data-orientation": t.orientation,
|
|
20
|
+
"data-filterable": t.withMaxMinFilter,
|
|
21
|
+
onClick: e[0] || (e[0] = (...i) => t.onClick && t.onClick(...i))
|
|
22
|
+
}, [
|
|
23
|
+
o("img", {
|
|
24
|
+
src: t.filterSvg,
|
|
25
|
+
alt: "Botão para filtrar valor"
|
|
26
|
+
}, null, 8, p)
|
|
27
|
+
], 8, u)) : s("", !0),
|
|
28
|
+
d(t.$slots, "default", {}, void 0, !0)
|
|
29
|
+
])
|
|
30
|
+
], 8, c);
|
|
31
|
+
}
|
|
32
|
+
const w = /* @__PURE__ */ m(n, [["render", b], ["__scopeId", "data-v-08f84b93"]]);
|
|
33
|
+
export {
|
|
34
|
+
w as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { defineComponent as C, ref as u, inject as f, onMounted as y } from "vue";
|
|
2
|
+
import F from "./imgs/filter.svg.js";
|
|
3
|
+
const M = C({
|
|
4
|
+
name: "AtColumn",
|
|
5
|
+
props: {
|
|
6
|
+
field: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: !0
|
|
9
|
+
},
|
|
10
|
+
label: {
|
|
11
|
+
type: String,
|
|
12
|
+
required: !0
|
|
13
|
+
},
|
|
14
|
+
withMaxMinFilter: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: void 0
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
setup(n) {
|
|
20
|
+
const o = u("bottom"), { updateColumn: c } = f("columns", {
|
|
21
|
+
updateColumn: () => {
|
|
22
|
+
}
|
|
23
|
+
}), d = u(
|
|
24
|
+
[]
|
|
25
|
+
), i = f("tableData", d), b = f("alignColumns", "left"), p = u(b), g = () => {
|
|
26
|
+
o.value = o.value === "top" ? "bottom" : "top", v();
|
|
27
|
+
};
|
|
28
|
+
/* istanbul ignore next -- @preserve */
|
|
29
|
+
const v = () => {
|
|
30
|
+
if (o.value === "bottom") {
|
|
31
|
+
const l = [...i.value].sort((r, a) => {
|
|
32
|
+
const t = r[n.field], e = a[n.field];
|
|
33
|
+
if (typeof t == "string" && typeof e == "string")
|
|
34
|
+
return t.localeCompare(e);
|
|
35
|
+
const s = Number(t), m = Number(e);
|
|
36
|
+
return s < m ? -1 : s > m ? 1 : 0;
|
|
37
|
+
});
|
|
38
|
+
i.value = l;
|
|
39
|
+
} else if (o.value === "top") {
|
|
40
|
+
const l = [...i.value].sort((r, a) => {
|
|
41
|
+
const t = r[n.field], e = a[n.field];
|
|
42
|
+
if (typeof t == "string" && typeof e == "string")
|
|
43
|
+
return e.localeCompare(t);
|
|
44
|
+
if (typeof t == "number" && typeof e == "number") {
|
|
45
|
+
if (t > e)
|
|
46
|
+
return -1;
|
|
47
|
+
if (t < e)
|
|
48
|
+
return 1;
|
|
49
|
+
}
|
|
50
|
+
return 0;
|
|
51
|
+
});
|
|
52
|
+
i.value = l;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
return y(() => {
|
|
56
|
+
c(n.field);
|
|
57
|
+
}), {
|
|
58
|
+
alignColumns: p,
|
|
59
|
+
filterSvg: F,
|
|
60
|
+
orientation: o,
|
|
61
|
+
onClick: g
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
export {
|
|
66
|
+
M as default
|
|
67
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const M = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgICA8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMjgzNF8xMjIyMSkiPg0KICAgICAgICA8cGF0aA0KICAgICAgICAgICAgZD0iTTE0LjAwMDcgMC41ODMzMzNDMTQuMDAwNyAwLjkwNTkxNyAxMy43Mzk0IDEuMTY2NjcgMTMuNDE3NCAxLjE2NjY3SDUuODM0MDNDNS41MTIwMyAxLjE2NjY3IDUuMjUwNjkgMC45MDU5MTcgNS4yNTA2OSAwLjU4MzMzM0M1LjI1MDY5IDAuMjYwNzUgNS41MTIwMyAwIDUuODM0MDMgMEgxMy40MTc0QzEzLjczOTQgMCAxNC4wMDA3IDAuMjYwNzUgMTQuMDAwNyAwLjU4MzMzM1pNMTEuNjY3NCAyLjkxNjY3SDUuODM0MDNDNS41MTIwMyAyLjkxNjY3IDUuMjUwNjkgMy4xNzc0MiA1LjI1MDY5IDMuNUM1LjI1MDY5IDMuODIyNTggNS41MTIwMyA0LjA4MzMzIDUuODM0MDMgNC4wODMzM0gxMS42Njc0QzExLjk4OTQgNC4wODMzMyAxMi4yNTA3IDMuODIyNTggMTIuMjUwNyAzLjVDMTIuMjUwNyAzLjE3NzQyIDExLjk4OTQgMi45MTY2NyAxMS42Njc0IDIuOTE2NjdaTTkuOTE3MzYgNS44MzMzM0g1LjgzNDAzQzUuNTEyMDMgNS44MzMzMyA1LjI1MDY5IDYuMDk0MDggNS4yNTA2OSA2LjQxNjY3QzUuMjUwNjkgNi43MzkyNSA1LjUxMjAzIDcgNS44MzQwMyA3SDkuOTE3MzZDMTAuMjM5NCA3IDEwLjUwMDcgNi43MzkyNSAxMC41MDA3IDYuNDE2NjdDMTAuNTAwNyA2LjA5NDA4IDEwLjIzOTQgNS44MzMzMyA5LjkxNzM2IDUuODMzMzNaTTguMTY3MzYgOC43NUg1LjgzNDAzQzUuNTEyMDMgOC43NSA1LjI1MDY5IDkuMDEwNzUgNS4yNTA2OSA5LjMzMzMzQzUuMjUwNjkgOS42NTU5MiA1LjUxMjAzIDkuOTE2NjcgNS44MzQwMyA5LjkxNjY3SDguMTY3MzZDOC40ODkzNiA5LjkxNjY3IDguNzUwNjkgOS42NTU5MiA4Ljc1MDY5IDkuMzMzMzNDOC43NTA2OSA5LjAxMDc1IDguNDg5MzYgOC43NSA4LjE2NzM2IDguNzVaTTQuNDk2NDQgMTEuMjU0M0wzLjUwMDY5IDEyLjI1VjAuNTgzMzMzQzMuNTAwNjkgMC4yNjA3NSAzLjIzOTM2IDAgMi45MTczNiAwQzIuNTk1MzYgMCAyLjMzNDAzIDAuMjYwNzUgMi4zMzQwMyAwLjU4MzMzM1YxMi4yNUwxLjMzNzY5IDExLjI1MzdDMS4xMDk2MSAxMS4wMjU2IDAuNzQwOTQzIDExLjAyNTYgMC41MTI4NTkgMTEuMjUzN0MwLjI4NDc3NiAxMS40ODE4IDAuMjg0Nzc2IDExLjg1MDQgMC41MTI4NTkgMTIuMDc4NUwyLjA5MTk0IDEzLjY1NzZDMi4zMTk0NCAxMy44ODUxIDIuNjE4MTEgMTMuOTk4OCAyLjkxNzM2IDEzLjk5ODhDMy4yMTY2MSAxMy45OTg4IDMuNTE0NjkgMTMuODg1MSAzLjc0MjE5IDEzLjY1NzZMNS4zMjEyOCAxMi4wNzg1QzUuNTQ5MzYgMTEuODUwNCA1LjU0OTM2IDExLjQ4MTggNS4zMjEyOCAxMS4yNTM3QzUuMDkzMTkgMTEuMDI1NiA0LjcyNDUzIDExLjAyNjIgNC40OTY0NCAxMS4yNTQzWiINCiAgICAgICAgICAgIGZpbGw9IndoaXRlIiAvPg0KICAgIDwvZz4NCiAgICA8ZGVmcz4NCiAgICAgICAgPGNsaXBQYXRoIGlkPSJjbGlwMF8yODM0XzEyMjIxIj4NCiAgICAgICAgICAgIDxyZWN0IHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgZmlsbD0id2hpdGUiIC8+DQogICAgICAgIDwvY2xpcFBhdGg+DQogICAgPC9kZWZzPg0KPC9zdmc+";
|
|
2
|
+
export {
|
|
3
|
+
M as default
|
|
4
|
+
};
|
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
closeIcon: string;
|
|
29
29
|
checkIfContainerIsWithinViewport: () => void;
|
|
30
30
|
onDispatchEvent: (event: any) => void;
|
|
31
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
32
|
columns: {
|
|
33
33
|
type: () => CountersProps["columns"];
|
|
34
34
|
required: true;
|