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