@agrotools1/at-components 0.1.8 → 0.2.0

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 (174) hide show
  1. package/dist/Button/Button.d.ts +7 -93
  2. package/dist/Legend/Legend.d.ts +73 -0
  3. package/dist/Legend/index.d.ts +1 -0
  4. package/dist/RadioButton/RadioButton.d.ts +87 -0
  5. package/dist/RadioButton/index.d.ts +1 -0
  6. package/dist/Stepper/index.d.ts +1 -0
  7. package/dist/Tabs/Tab/Tab.d.ts +21 -9
  8. package/dist/index.d.ts +11 -8
  9. package/dist/index.js +10179 -0
  10. package/dist/style.css +1 -1
  11. package/package.json +1 -1
  12. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  13. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtAngleDownSolidIcon/AtAngleDownSolidIcon.vue.js +0 -33
  14. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtAngleDownSolidIcon/index.js +0 -5
  15. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtAngleUpSolidIcon/AtAngleUpSolidIcon.vue.js +0 -33
  16. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtAngleUpSolidIcon/index.js +0 -5
  17. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtCheckCircleSolidIcon/AtCheckCircleSolidIcon.vue.js +0 -45
  18. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtCheckCircleSolidIcon/index.js +0 -5
  19. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtCircleMinusSolidIcon/AtCircleMinusSolidIcon.vue.js +0 -45
  20. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtCircleMinusSolidIcon/index.js +0 -5
  21. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtCircleXMarkSolidIcon/AtCircleXMarkSolidIcon.vue.js +0 -45
  22. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtCircleXMarkSolidIcon/index.js +0 -5
  23. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtWarningSolidIcon/AtWarningSolidIcon.vue.js +0 -33
  24. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtWarningSolidIcon/index.js +0 -5
  25. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  26. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/components/IconWrapper/IconWrapper.vue.js +0 -6
  27. package/dist/node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/components/IconWrapper/IconWrapper.vue2.js +0 -27
  28. package/dist/packages/at-components/src/Accordion/Accordion.vue.js +0 -77
  29. package/dist/packages/at-components/src/Accordion/Accordion.vue2.js +0 -51
  30. package/dist/packages/at-components/src/Accordion/Accordion.vue3.js +0 -4
  31. package/dist/packages/at-components/src/Avatar/Avatar.vue.js +0 -26
  32. package/dist/packages/at-components/src/Avatar/Avatar.vue2.js +0 -58
  33. package/dist/packages/at-components/src/Avatar/Avatar.vue3.js +0 -4
  34. package/dist/packages/at-components/src/Button/Button.vue.js +0 -35
  35. package/dist/packages/at-components/src/Button/Button.vue2.js +0 -86
  36. package/dist/packages/at-components/src/Button/Button.vue3.js +0 -4
  37. package/dist/packages/at-components/src/CardWithInsights/CardWithInsights.vue.js +0 -52
  38. package/dist/packages/at-components/src/CardWithInsights/CardWithInsights.vue2.js +0 -36
  39. package/dist/packages/at-components/src/CardWithInsights/CardWithInsights.vue3.js +0 -4
  40. package/dist/packages/at-components/src/CardWithInsights/CardWithInsights.vue4.js +0 -4
  41. package/dist/packages/at-components/src/Checkbox/Checkbox.vue.js +0 -38
  42. package/dist/packages/at-components/src/Checkbox/Checkbox.vue2.js +0 -73
  43. package/dist/packages/at-components/src/Checkbox/Checkbox.vue3.js +0 -4
  44. package/dist/packages/at-components/src/Checkbox/img/checkmarck.svg.js +0 -4
  45. package/dist/packages/at-components/src/DataTable/Column/Column.vue.js +0 -35
  46. package/dist/packages/at-components/src/DataTable/Column/Column.vue2.js +0 -67
  47. package/dist/packages/at-components/src/DataTable/Column/Column.vue3.js +0 -4
  48. package/dist/packages/at-components/src/DataTable/Column/imgs/filter.svg.js +0 -4
  49. package/dist/packages/at-components/src/DataTable/Counters/Counters.vue.js +0 -44
  50. package/dist/packages/at-components/src/DataTable/Counters/Counters.vue2.js +0 -71
  51. package/dist/packages/at-components/src/DataTable/Counters/Counters.vue3.js +0 -4
  52. package/dist/packages/at-components/src/DataTable/Counters/imgs/close.svg.js +0 -4
  53. package/dist/packages/at-components/src/DataTable/DataTable.vue.js +0 -94
  54. package/dist/packages/at-components/src/DataTable/DataTable.vue2.js +0 -125
  55. package/dist/packages/at-components/src/DataTable/DataTable.vue3.js +0 -4
  56. package/dist/packages/at-components/src/DataTable/index.js +0 -11
  57. package/dist/packages/at-components/src/Faq/Faq.vue.js +0 -46
  58. package/dist/packages/at-components/src/Faq/Faq.vue2.js +0 -40
  59. package/dist/packages/at-components/src/Faq/Faq.vue3.js +0 -4
  60. package/dist/packages/at-components/src/Faq/Faq.vue4.js +0 -4
  61. package/dist/packages/at-components/src/Illustration/Illustration.js +0 -117
  62. package/dist/packages/at-components/src/Illustration/Illustration.vue.js +0 -17
  63. package/dist/packages/at-components/src/Illustration/Illustration.vue2.js +0 -32
  64. package/dist/packages/at-components/src/Illustration/Illustration.vue3.js +0 -4
  65. package/dist/packages/at-components/src/Illustration/images/renovabio-illustrations/biomass.svg.js +0 -4
  66. package/dist/packages/at-components/src/Illustration/images/renovabio-illustrations/volume.svg.js +0 -4
  67. package/dist/packages/at-components/src/Illustration/images/system-images/add-file.svg.js +0 -4
  68. package/dist/packages/at-components/src/Illustration/images/system-images/cloud-connection.svg.js +0 -4
  69. package/dist/packages/at-components/src/Illustration/images/system-images/cloud-download.svg.js +0 -4
  70. package/dist/packages/at-components/src/Illustration/images/system-images/cloud-upload.svg.js +0 -4
  71. package/dist/packages/at-components/src/Illustration/images/system-images/corrupted-file.svg.js +0 -4
  72. package/dist/packages/at-components/src/Illustration/images/system-images/empty-box.svg.js +0 -4
  73. package/dist/packages/at-components/src/Illustration/images/system-images/empty-folder-2.svg.js +0 -4
  74. package/dist/packages/at-components/src/Illustration/images/system-images/empty-folder.svg.js +0 -4
  75. package/dist/packages/at-components/src/Illustration/images/system-images/empty.svg.js +0 -4
  76. package/dist/packages/at-components/src/Illustration/images/system-images/error-illustration.svg.js +0 -4
  77. package/dist/packages/at-components/src/Illustration/images/system-images/file-backup-2.svg.js +0 -4
  78. package/dist/packages/at-components/src/Illustration/images/system-images/file-backup.svg.js +0 -4
  79. package/dist/packages/at-components/src/Illustration/images/system-images/filtering-upload.svg.js +0 -4
  80. package/dist/packages/at-components/src/Illustration/images/system-images/flight.svg.js +0 -4
  81. package/dist/packages/at-components/src/Illustration/images/system-images/fly.svg.js +0 -4
  82. package/dist/packages/at-components/src/Illustration/images/system-images/movies.svg.js +0 -4
  83. package/dist/packages/at-components/src/Illustration/images/system-images/multimedia.svg.js +0 -4
  84. package/dist/packages/at-components/src/Illustration/images/system-images/notification-bell.svg.js +0 -4
  85. package/dist/packages/at-components/src/Illustration/images/system-images/page-2.svg.js +0 -4
  86. package/dist/packages/at-components/src/Illustration/images/system-images/page.svg.js +0 -4
  87. package/dist/packages/at-components/src/Illustration/images/system-images/photos.svg.js +0 -4
  88. package/dist/packages/at-components/src/Illustration/images/system-images/recycle-bin.svg.js +0 -4
  89. package/dist/packages/at-components/src/Illustration/images/system-images/rocket-launch.svg.js +0 -4
  90. package/dist/packages/at-components/src/Illustration/images/system-images/signal.svg.js +0 -4
  91. package/dist/packages/at-components/src/Illustration/images/system-images/wrong.svg.js +0 -4
  92. package/dist/packages/at-components/src/Illustration/images/tools-images/advanced-analysis.svg.js +0 -4
  93. package/dist/packages/at-components/src/Illustration/images/tools-images/agriculture.svg.js +0 -4
  94. package/dist/packages/at-components/src/Illustration/images/tools-images/alert-center.svg.js +0 -4
  95. package/dist/packages/at-components/src/Illustration/images/tools-images/area.svg.js +0 -4
  96. package/dist/packages/at-components/src/Illustration/images/tools-images/at-insights.svg.js +0 -4
  97. package/dist/packages/at-components/src/Illustration/images/tools-images/conservation-unit.svg.js +0 -4
  98. package/dist/packages/at-components/src/Illustration/images/tools-images/credit.svg.js +0 -4
  99. package/dist/packages/at-components/src/Illustration/images/tools-images/deforestation.svg.js +0 -4
  100. package/dist/packages/at-components/src/Illustration/images/tools-images/distance-proximity-rivers.svg.js +0 -4
  101. package/dist/packages/at-components/src/Illustration/images/tools-images/estimated-productivity-penalty.svg.js +0 -4
  102. package/dist/packages/at-components/src/Illustration/images/tools-images/extract.svg.js +0 -4
  103. package/dist/packages/at-components/src/Illustration/images/tools-images/farm.svg.js +0 -4
  104. package/dist/packages/at-components/src/Illustration/images/tools-images/geographical-consultation-municipalities.svg.js +0 -4
  105. package/dist/packages/at-components/src/Illustration/images/tools-images/gix.svg.js +0 -4
  106. package/dist/packages/at-components/src/Illustration/images/tools-images/insurance.svg.js +0 -4
  107. package/dist/packages/at-components/src/Illustration/images/tools-images/land-appreciation.svg.js +0 -4
  108. package/dist/packages/at-components/src/Illustration/images/tools-images/lockdown.svg.js +0 -4
  109. package/dist/packages/at-components/src/Illustration/images/tools-images/map.svg.js +0 -4
  110. package/dist/packages/at-components/src/Illustration/images/tools-images/pasture.svg.js +0 -4
  111. package/dist/packages/at-components/src/Illustration/images/tools-images/rating-2.svg.js +0 -4
  112. package/dist/packages/at-components/src/Illustration/images/tools-images/rating.svg.js +0 -4
  113. package/dist/packages/at-components/src/Illustration/images/tools-images/recurrence.svg.js +0 -4
  114. package/dist/packages/at-components/src/Illustration/images/tools-images/refrigerators.svg.js +0 -4
  115. package/dist/packages/at-components/src/Illustration/images/tools-images/settings.svg.js +0 -4
  116. package/dist/packages/at-components/src/Illustration/images/tools-images/socio-environmental-analysis.svg.js +0 -4
  117. package/dist/packages/at-components/src/Illustration/images/tools-images/soil-use.svg.js +0 -4
  118. package/dist/packages/at-components/src/Illustration/images/tools-images/storm.svg.js +0 -4
  119. package/dist/packages/at-components/src/Illustration/images/tools-images/territory-details.svg.js +0 -4
  120. package/dist/packages/at-components/src/Illustration/images/tools-images/timeline.svg.js +0 -4
  121. package/dist/packages/at-components/src/Input/Input.core.vue.js +0 -67
  122. package/dist/packages/at-components/src/Input/Input.core.vue2.js +0 -107
  123. package/dist/packages/at-components/src/Input/Input.core.vue3.js +0 -4
  124. package/dist/packages/at-components/src/Input/imgs/error.svg.js +0 -4
  125. package/dist/packages/at-components/src/Input/index.js +0 -7
  126. package/dist/packages/at-components/src/Modal/Modal.vue.js +0 -88
  127. package/dist/packages/at-components/src/Modal/Modal.vue2.js +0 -92
  128. package/dist/packages/at-components/src/Modal/Modal.vue3.js +0 -4
  129. package/dist/packages/at-components/src/Modal/images/cross.svg.js +0 -4
  130. package/dist/packages/at-components/src/Paginator/Paginator.vue.js +0 -102
  131. package/dist/packages/at-components/src/Paginator/Paginator.vue2.js +0 -74
  132. package/dist/packages/at-components/src/Paginator/Paginator.vue3.js +0 -4
  133. package/dist/packages/at-components/src/Paginator/imgs/double-left-arrow.svg.js +0 -4
  134. package/dist/packages/at-components/src/Paginator/imgs/double-right-arrow.svg.js +0 -4
  135. package/dist/packages/at-components/src/Paginator/imgs/left-arrow.svg.js +0 -4
  136. package/dist/packages/at-components/src/Paginator/imgs/right-arrow.svg.js +0 -4
  137. package/dist/packages/at-components/src/ProgressBar/ProgressBar.vue.js +0 -69
  138. package/dist/packages/at-components/src/ProgressBar/ProgressBar.vue2.js +0 -72
  139. package/dist/packages/at-components/src/ProgressBar/ProgressBar.vue3.js +0 -4
  140. package/dist/packages/at-components/src/Select/Item/Item.vue.js +0 -52
  141. package/dist/packages/at-components/src/Select/Item/Item.vue2.js +0 -57
  142. package/dist/packages/at-components/src/Select/Item/Item.vue3.js +0 -4
  143. package/dist/packages/at-components/src/Select/Select.core.vue.js +0 -25
  144. package/dist/packages/at-components/src/Select/Select.core.vue2.js +0 -59
  145. package/dist/packages/at-components/src/Select/Select.multiple.vue.js +0 -60
  146. package/dist/packages/at-components/src/Select/Select.multiple.vue2.js +0 -97
  147. package/dist/packages/at-components/src/Select/Select.multiple.vue3.js +0 -4
  148. package/dist/packages/at-components/src/Select/Select.single.vue.js +0 -47
  149. package/dist/packages/at-components/src/Select/Select.single.vue2.js +0 -41
  150. package/dist/packages/at-components/src/Select/Select.single.vue3.js +0 -4
  151. package/dist/packages/at-components/src/Select/imgs/indicator.svg.js +0 -4
  152. package/dist/packages/at-components/src/Select/index.js +0 -9
  153. package/dist/packages/at-components/src/Tabs/Tab/Tab.vue.js +0 -30
  154. package/dist/packages/at-components/src/Tabs/Tab/Tab.vue2.js +0 -40
  155. package/dist/packages/at-components/src/Tabs/Tab/Tab.vue3.js +0 -4
  156. package/dist/packages/at-components/src/Tabs/Tabs.vue.js +0 -37
  157. package/dist/packages/at-components/src/Tabs/Tabs.vue2.js +0 -33
  158. package/dist/packages/at-components/src/Tabs/Tabs.vue3.js +0 -4
  159. package/dist/packages/at-components/src/Tabs/imgs/check.svg.js +0 -4
  160. package/dist/packages/at-components/src/Tabs/imgs/warning.svg.js +0 -4
  161. package/dist/packages/at-components/src/Tipograph/Paragraph/Paragraph.vue.js +0 -18
  162. package/dist/packages/at-components/src/Tipograph/Paragraph/Paragraph.vue2.js +0 -21
  163. package/dist/packages/at-components/src/Tipograph/Paragraph/Paragraph.vue3.js +0 -4
  164. package/dist/packages/at-components/src/Tipograph/Title/Title.vue.js +0 -18
  165. package/dist/packages/at-components/src/Tipograph/Title/Title.vue2.js +0 -21
  166. package/dist/packages/at-components/src/Tipograph/Title/Title.vue3.js +0 -4
  167. package/dist/packages/at-components/src/Tipograph/index.js +0 -9
  168. package/dist/packages/at-components/src/Toggle/Toggle.vue.js +0 -30
  169. package/dist/packages/at-components/src/Toggle/Toggle.vue2.js +0 -40
  170. package/dist/packages/at-components/src/Toggle/Toggle.vue3.js +0 -4
  171. package/dist/packages/at-components/src/Upload/Upload.vue.js +0 -91
  172. package/dist/packages/at-components/src/Upload/Upload.vue2.js +0 -96
  173. package/dist/packages/at-components/src/Upload/Upload.vue3.js +0 -4
  174. package/dist/packages/at-components/src/index.js +0 -34
@@ -1,40 +0,0 @@
1
- import { defineComponent as i, ref as a, computed as s } from "vue";
2
- const r = i({
3
- name: "AtToggle",
4
- props: {
5
- size: {
6
- type: String,
7
- default: "g",
8
- validator: (t) => ["p", "m", "g"].includes(t)
9
- },
10
- disabled: {
11
- type: Boolean,
12
- default: !1
13
- }
14
- },
15
- emits: ["update:modelValue"],
16
- setup(t, l) {
17
- const o = a(null), p = s(() => t.disabled), e = a(!1);
18
- return {
19
- isChecked: e,
20
- isDisabled: p,
21
- onClick: () => {
22
- e.value = !e.value, l.emit("update:modelValue", e.value);
23
- },
24
- circleSizeMap: {
25
- p: "9px",
26
- m: "9px",
27
- g: "13px"
28
- },
29
- borderSizeMap: {
30
- p: "33px",
31
- m: "66px",
32
- g: "100px"
33
- },
34
- buttonRef: o
35
- };
36
- }
37
- });
38
- export {
39
- r as default
40
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,91 +0,0 @@
1
- import s from "./Upload.vue2.js";
2
- import { resolveComponent as u, openBlock as e, createElementBlock as o, createElementVNode as g, createTextVNode as i, toDisplayString as j, createCommentVNode as T, withModifiers as a, createVNode as D, withCtx as n, pushScopeId as r, popScopeId as A } from "vue";
3
- import "./Upload.vue3.js";
4
- import E from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const y = (M) => (r("data-v-d2841fdc"), M = M(), A(), M), x = { class: "container" }, p = { class: "warning-upload" }, d = /* @__PURE__ */ y(() => /* @__PURE__ */ g("img", {
6
- alt: "circleExclamation",
7
- src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzIyNDRfMzEyKSI+CjxwYXRoIGQ9Ik0xMiAxQzkuODI0NDEgMSA3LjY5NzY3IDEuNjQ1MTQgNS44ODg3MyAyLjg1MzgzQzQuMDc5NzkgNC4wNjI1MyAyLjY2OTg5IDUuNzgwNSAxLjgzNzMzIDcuNzkwNDhDMS4wMDQ3NyA5LjgwMDQ3IDAuNzg2OTI5IDEyLjAxMjIgMS4yMTEzNyAxNC4xNDZDMS42MzU4IDE2LjI3OTggMi42ODM0NSAxOC4yMzk4IDQuMjIxODMgMTkuNzc4MkM1Ljc2MDIxIDIxLjMxNjYgNy43MjAyMiAyMi4zNjQyIDkuODU0MDEgMjIuNzg4NkMxMS45ODc4IDIzLjIxMzEgMTQuMTk5NSAyMi45OTUyIDE2LjIwOTUgMjIuMTYyN0MxOC4yMTk1IDIxLjMzMDEgMTkuOTM3NSAxOS45MjAyIDIxLjE0NjIgMTguMTExM0MyMi4zNTQ5IDE2LjMwMjMgMjMgMTQuMTc1NiAyMyAxMkMyMi45OTY4IDkuMDgzNTkgMjEuODM2OSA2LjI4NzUzIDE5Ljc3NDcgNC4yMjUzMUMxNy43MTI1IDIuMTYzMDkgMTQuOTE2NCAxLjAwMzE1IDEyIDFaTTEyIDIxLjE2NjdDMTAuMTg3IDIxLjE2NjcgOC40MTQ3MyAyMC42MjkxIDYuOTA3MjggMTkuNjIxOEM1LjM5OTgzIDE4LjYxNDYgNC4yMjQ5MSAxNy4xODI5IDMuNTMxMTEgMTUuNTA3OUMyLjgzNzMxIDEzLjgzMjkgMi42NTU3OCAxMS45ODk4IDMuMDA5NDcgMTAuMjExN0MzLjM2MzE3IDguNDMzNTEgNC4yMzYyMSA2LjgwMDE3IDUuNTE4MTkgNS41MTgxOUM2LjgwMDE3IDQuMjM2MjEgOC40MzM1MiAzLjM2MzE3IDEwLjIxMTcgMy4wMDk0N0MxMS45ODk4IDIuNjU1NzcgMTMuODMyOSAyLjgzNzMgMTUuNTA3OSAzLjUzMTFDMTcuMTgyOSA0LjIyNDkxIDE4LjYxNDYgNS4zOTk4MiAxOS42MjE4IDYuOTA3MjdDMjAuNjI5MSA4LjQxNDcyIDIxLjE2NjcgMTAuMTg3IDIxLjE2NjcgMTJDMjEuMTY0IDE0LjQzMDMgMjAuMTk3NCAxNi43NjA0IDE4LjQ3ODkgMTguNDc4OUMxNi43NjA0IDIwLjE5NzQgMTQuNDMwMyAyMS4xNjQgMTIgMjEuMTY2N1oiIGZpbGw9IiM1NTAwNzMiLz4KPHBhdGggZD0iTTEyIDUuNTgzMzdDMTEuNzU2OSA1LjU4MzM3IDExLjUyMzggNS42Nzk5NSAxMS4zNTE5IDUuODUxODZDMTEuMTggNi4wMjM3NyAxMS4wODM0IDYuMjU2OTMgMTEuMDgzNCA2LjUwMDA0VjEzLjgzMzRDMTEuMDgzNCAxNC4wNzY1IDExLjE4IDE0LjMwOTYgMTEuMzUxOSAxNC40ODE2QzExLjUyMzggMTQuNjUzNSAxMS43NTY5IDE0Ljc1IDEyIDE0Ljc1QzEyLjI0MzIgMTQuNzUgMTIuNDc2MyAxNC42NTM1IDEyLjY0ODIgMTQuNDgxNkMxMi44MjAxIDE0LjMwOTYgMTIuOTE2NyAxNC4wNzY1IDEyLjkxNjcgMTMuODMzNFY2LjUwMDA0QzEyLjkxNjcgNi4yNTY5MyAxMi44MjAxIDYuMDIzNzcgMTIuNjQ4MiA1Ljg1MTg2QzEyLjQ3NjMgNS42Nzk5NSAxMi4yNDMyIDUuNTgzMzcgMTIgNS41ODMzN1oiIGZpbGw9IiM1NTAwNzMiLz4KPHBhdGggZD0iTTEyLjkxNjcgMTcuNUMxMi45MTY3IDE2Ljk5MzggMTIuNTA2MyAxNi41ODM0IDEyIDE2LjU4MzRDMTEuNDkzOCAxNi41ODM0IDExLjA4MzQgMTYuOTkzOCAxMS4wODM0IDE3LjVDMTEuMDgzNCAxOC4wMDYzIDExLjQ5MzggMTguNDE2NyAxMiAxOC40MTY3QzEyLjUwNjMgMTguNDE2NyAxMi45MTY3IDE4LjAwNjMgMTIuOTE2NyAxNy41WiIgZmlsbD0iIzU1MDA3MyIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzIyNDRfMzEyIj4KPHJlY3Qgd2lkdGg9IjIyIiBoZWlnaHQ9IjIyIiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMSAxKSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",
8
- class: "circle-exclamation"
9
- }, null, -1)), c = { class: "warning-text-upload" }, L = ["multiple"], O = {
10
- for: "inputFile",
11
- class: "input-file-label"
12
- }, S = {
13
- key: 1,
14
- class: "input-container",
15
- style: { gap: "24px" }
16
- };
17
- function w(M, N, k, U, Q, m) {
18
- const l = u("AtIllustration"), t = u("AtParagraph"), z = u("AtProgressBar");
19
- return e(), o("div", x, [
20
- g("div", p, [
21
- d,
22
- g("p", c, [
23
- i(j(M.$props.warningTextUpload) + " ", 1),
24
- M.$props.interactiveTextButton !== "" ? (e(), o("strong", {
25
- key: 0,
26
- class: "interactive-text",
27
- onClick: N[0] || (N[0] = (...I) => M.$props.warningFunction && M.$props.warningFunction(...I))
28
- }, j(M.$props.interactiveTextButton), 1)) : T("", !0)
29
- ])
30
- ]),
31
- M.file === null ? (e(), o("div", {
32
- key: 0,
33
- class: "input-container",
34
- onDragover: N[2] || (N[2] = a(() => {
35
- }, ["prevent"])),
36
- onDrop: N[3] || (N[3] = (I) => M.handleDrop(I))
37
- }, [
38
- D(l, { illustration: "cloudUpload" }),
39
- g("input", {
40
- id: "inputFile",
41
- class: "input-file",
42
- multiple: M.$props.multipleSelect,
43
- type: "file",
44
- label: "",
45
- onChange: N[1] || (N[1] = (I) => M.handleFileUpload(I))
46
- }, null, 40, L),
47
- g("div", null, [
48
- g("label", O, [
49
- D(t, {
50
- size: "p1",
51
- weight: "bold",
52
- style: { color: "#550073" }
53
- }, {
54
- default: n(() => [
55
- i(j(M.$props.uploadText), 1)
56
- ]),
57
- _: 1
58
- }),
59
- D(t, { size: "p2" }, {
60
- default: n(() => [
61
- i(j(M.$props.uploadInteractionText), 1)
62
- ]),
63
- _: 1
64
- })
65
- ])
66
- ])
67
- ], 32)) : T("", !0),
68
- M.file ? (e(), o("div", S, [
69
- D(l, { illustration: "filteringUpload" }),
70
- D(t, {
71
- size: "p1",
72
- style: { "font-weight": "500" }
73
- }, {
74
- default: n(() => [
75
- i(" Estamos analisando o arquivo, em breve, retornaremos com os resultados. ")
76
- ]),
77
- _: 1
78
- }),
79
- D(z, {
80
- file: M.file,
81
- "handle-remove-file": M.handleRemove,
82
- "is-only-use": !1,
83
- onUpdateProgress: M.handleUpdateProgressOnParent
84
- }, null, 8, ["file", "handle-remove-file", "onUpdateProgress"])
85
- ])) : T("", !0)
86
- ]);
87
- }
88
- const v = /* @__PURE__ */ E(s, [["render", w], ["__scopeId", "data-v-d2841fdc"]]);
89
- export {
90
- v as default
91
- };
@@ -1,96 +0,0 @@
1
- import { defineComponent as d, ref as n } from "vue";
2
- import { AtTipograph as i } from "../Tipograph/index.js";
3
- import p from "../ProgressBar/ProgressBar.vue.js";
4
- import f from "../Illustration/Illustration.vue.js";
5
- const T = d({
6
- test: {
7
- globals: !0,
8
- environment: "jsdom"
9
- },
10
- name: "AtUpload",
11
- components: {
12
- AtParagraph: i.Paragraph,
13
- AtProgressBar: p,
14
- AtIllustration: f
15
- },
16
- props: {
17
- warningTextUpload: {
18
- type: String,
19
- required: !0,
20
- default: "Texto de aviso sobre o upload",
21
- validator: (e) => typeof e == "string"
22
- },
23
- uploadText: {
24
- type: String,
25
- required: !1,
26
- default: "Importe seu arquivo aqui",
27
- validator: (e) => typeof e == "string"
28
- },
29
- uploadInteractionText: {
30
- type: String,
31
- required: !0,
32
- default: "Arraste ou clique para fazer upload do arquivo",
33
- validator: (e) => typeof e == "string"
34
- },
35
- maxSize: {
36
- type: Number,
37
- required: !1,
38
- default: 100,
39
- validator: (e) => typeof e == "number"
40
- },
41
- multipleSelect: {
42
- type: Boolean,
43
- required: !1,
44
- default: !1,
45
- validator: (e) => typeof e == "boolean"
46
- },
47
- interactiveTextButton: {
48
- type: String,
49
- required: !1,
50
- default: "clique aqui",
51
- validator: (e) => typeof e == "string"
52
- },
53
- warningFunction: {
54
- type: Function,
55
- required: !1,
56
- default: () => {
57
- console.warn("This is a warning");
58
- }
59
- },
60
- uploadProgress: {
61
- type: Number,
62
- required: !1,
63
- default: 0,
64
- validator: (e) => typeof e == "number"
65
- }
66
- },
67
- emits: ["updateProgress", "updateFile"],
68
- setup(e, { emit: o }) {
69
- const r = n(null), l = n(e.uploadProgress), u = n(0), s = n(!1);
70
- return {
71
- file: r,
72
- progress: l,
73
- uploadBytes: u,
74
- goBack: s,
75
- handleFileUpload: async (t) => {
76
- const a = t.target.files;
77
- a != null && a.length && (r.value = a[0], o("updateFile", r.value));
78
- },
79
- handleDrop: (t) => {
80
- if (t.preventDefault(), t.dataTransfer) {
81
- const a = t.dataTransfer.files;
82
- a != null && a.length && (r.value = a[0], o("updateFile", r.value));
83
- }
84
- },
85
- handleRemove: () => {
86
- r.value = null, l.value = 0, o("updateFile", null), o("updateProgress", 0);
87
- },
88
- handleUpdateProgressOnParent: (t) => {
89
- l.value = t, o("updateProgress", l.value);
90
- }
91
- };
92
- }
93
- });
94
- export {
95
- T as default
96
- };
@@ -1,4 +0,0 @@
1
- const _ = "";
2
- export {
3
- _ as default
4
- };
@@ -1,34 +0,0 @@
1
- import { default as r } from "./Accordion/Accordion.vue.js";
2
- import { default as e } from "./Avatar/Avatar.vue.js";
3
- import { default as p } from "./Button/Button.vue.js";
4
- import { default as A } from "./Checkbox/Checkbox.vue.js";
5
- import { default as x } from "./Modal/Modal.vue.js";
6
- import { AtInput as m } from "./Input/index.js";
7
- import { default as g } from "./Toggle/Toggle.vue.js";
8
- import { AtSelect as n } from "./Select/index.js";
9
- import { AtTipograph as h } from "./Tipograph/index.js";
10
- import { default as b } from "./Tabs/Tabs.vue.js";
11
- import { AtDataTable as B } from "./DataTable/index.js";
12
- import { default as k } from "./Illustration/Illustration.vue.js";
13
- import { default as D } from "./CardWithInsights/CardWithInsights.vue.js";
14
- import { default as M } from "./Faq/Faq.vue.js";
15
- import { default as Q } from "./ProgressBar/ProgressBar.vue.js";
16
- import { default as U } from "./Upload/Upload.vue.js";
17
- export {
18
- r as AtAccordion,
19
- e as AtAvatar,
20
- p as AtButton,
21
- D as AtCardWithInsights,
22
- A as AtCheckbox,
23
- B as AtDataTable,
24
- M as AtFAQ,
25
- k as AtIllustration,
26
- m as AtInput,
27
- x as AtModal,
28
- Q as AtProgressBar,
29
- n as AtSelect,
30
- b as AtTabs,
31
- h as AtTipograph,
32
- g as AtToggle,
33
- U as AtUpload
34
- };