@agrotools1/at-components1 1.1.0 → 1.1.2-beta.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 (236) hide show
  1. package/README.md +71 -71
  2. package/dist/Accordion/Accordion.vue.js +81 -0
  3. package/dist/Accordion/Accordion.vue2.js +72 -0
  4. package/dist/Avatar/Avatar.vue.js +26 -0
  5. package/dist/Avatar/Avatar.vue2.js +58 -0
  6. package/dist/Button/Button.vue.js +30 -0
  7. package/dist/Button/Button.vue2.js +43 -0
  8. package/dist/CardWithInsights/CardWithInsights.vue.js +60 -0
  9. package/dist/CardWithInsights/CardWithInsights.vue2.js +32 -0
  10. package/dist/Checkbox/Checkbox.vue.js +38 -0
  11. package/dist/Checkbox/Checkbox.vue2.js +73 -0
  12. package/dist/Checkbox/img/checkmarck.svg.js +4 -0
  13. package/dist/ColorPicker/ColorPicker.Saturation.vue.js +30 -0
  14. package/dist/ColorPicker/ColorPicker.Saturation.vue2.js +82 -0
  15. package/dist/ColorPicker/ColorPicker.vue.js +88 -0
  16. package/dist/ColorPicker/ColorPicker.vue2.js +180 -0
  17. package/dist/DataTable/Column/Column.vue.js +37 -0
  18. package/dist/DataTable/Column/Column.vue2.js +40 -0
  19. package/dist/DataTable/Column/imgs/filter.svg.js +4 -0
  20. package/dist/DataTable/Counters/Counters.vue.js +44 -0
  21. package/dist/DataTable/Counters/Counters.vue2.js +70 -0
  22. package/dist/DataTable/Counters/imgs/close.svg.js +4 -0
  23. package/dist/DataTable/DataTable.vue.js +130 -0
  24. package/dist/DataTable/DataTable.vue2.js +189 -0
  25. package/dist/DataTable/index.js +11 -0
  26. package/dist/DatePicker/DatePicker.helper.js +99 -0
  27. package/dist/DatePicker/DatePicker.vue.js +123 -0
  28. package/dist/DatePicker/DatePicker.vue2.js +237 -0
  29. package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.helper.js +58 -0
  30. package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.vue.js +34 -0
  31. package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.vue2.js +59 -0
  32. package/dist/DatePicker/DatePickerHeader/DatePickerHeader.vue.js +50 -0
  33. package/dist/DatePicker/DatePickerHeader/DatePickerHeader.vue2.js +47 -0
  34. package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.vue.js +20 -0
  35. package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.vue2.js +89 -0
  36. package/dist/DatePicker/DatePickerTime/DatePickerTime.vue.d.ts +2 -0
  37. package/dist/DatePicker/DatePickerTime/DatePickerTime.vue.d.ts.map +1 -1
  38. package/dist/DatePicker/DatePickerTime/DatePickerTime.vue.js +73 -0
  39. package/dist/DatePicker/DatePickerTime/DatePickerTime.vue2.js +71 -0
  40. package/dist/Dropdown/Checklist/Dropdown.Checklist.vue.d.ts +16 -16
  41. package/dist/Dropdown/Checklist/Dropdown.Checklist.vue.js +151 -0
  42. package/dist/Dropdown/Checklist/Dropdown.Checklist.vue2.js +84 -0
  43. package/dist/Dropdown/Checklist/draggable.js +68 -0
  44. package/dist/Dropdown/Dropdown.core.vue.js +47 -0
  45. package/dist/Dropdown/Dropdown.core.vue2.js +112 -0
  46. package/dist/Dropdown/DropdownContent/DropdownContent.vue.js +10 -0
  47. package/dist/Dropdown/DropdownContent/DropdownContent.vue2.js +9 -0
  48. package/dist/Faq/Faq.vue.js +41 -0
  49. package/dist/Faq/Faq.vue2.js +41 -0
  50. package/dist/Faq/FaqItem/FaqItem.vue.js +56 -0
  51. package/dist/Faq/FaqItem/FaqItem.vue2.js +32 -0
  52. package/dist/Filter/Filter.vue.js +222 -0
  53. package/dist/Filter/Filter.vue2.js +129 -0
  54. package/dist/Icons/icons.d.ts +2 -0
  55. package/dist/Icons/icons.d.ts.map +1 -1
  56. package/dist/Icons/icons.js +26 -0
  57. package/dist/Illustration/Illustration.js +127 -0
  58. package/dist/Illustration/Illustration.vue.js +17 -0
  59. package/dist/Illustration/Illustration.vue2.js +32 -0
  60. package/dist/Input/Input.core.vue.d.ts +2 -0
  61. package/dist/Input/Input.core.vue.d.ts.map +1 -1
  62. package/dist/Input/Input.core.vue.js +120 -0
  63. package/dist/Input/Input.core.vue2.js +239 -0
  64. package/dist/Input/Text-area.vue.d.ts +2 -0
  65. package/dist/Input/Text-area.vue.d.ts.map +1 -1
  66. package/dist/Input/Text-area.vue.js +16 -0
  67. package/dist/Input/Text-area.vue2.js +14 -0
  68. package/dist/Input/imgs/error.svg.js +4 -0
  69. package/dist/Input/index.d.ts +4 -0
  70. package/dist/Input/index.d.ts.map +1 -1
  71. package/dist/Input/index.js +9 -0
  72. package/dist/Legend/Legend.vue.js +60 -0
  73. package/dist/Legend/Legend.vue2.js +51 -0
  74. package/dist/List/components/List.vue.d.ts +4 -4
  75. package/dist/List/components/List.vue.js +86 -0
  76. package/dist/List/components/List.vue2.js +92 -0
  77. package/dist/Loading/Loading.vue.js +21 -0
  78. package/dist/Loading/Loading.vue2.js +16 -0
  79. package/dist/Menu/Menu.vue.d.ts +8 -4
  80. package/dist/Menu/Menu.vue.d.ts.map +1 -1
  81. package/dist/Menu/Menu.vue.js +185 -0
  82. package/dist/Menu/Menu.vue2.js +85 -0
  83. package/dist/Menu/assets/agrotools.svg.js +4 -0
  84. package/dist/Menu/assets/at.svg.js +4 -0
  85. package/dist/Modal/Modal.vue.js +127 -0
  86. package/dist/Modal/Modal.vue2.js +77 -0
  87. package/dist/Modal/images/cross.svg.js +4 -0
  88. package/dist/Notifications/Notification/Notification.vue.js +59 -0
  89. package/dist/Notifications/Notification/Notification.vue2.js +78 -0
  90. package/dist/Notifications/Notifications.vue.js +55 -0
  91. package/dist/Notifications/Notifications.vue2.js +56 -0
  92. package/dist/Paginator/Paginator.vue.js +119 -0
  93. package/dist/Paginator/Paginator.vue2.js +110 -0
  94. package/dist/Paginator/imgs/double-left-arrow.svg.js +4 -0
  95. package/dist/Paginator/imgs/double-right-arrow.svg.js +4 -0
  96. package/dist/Paginator/imgs/left-arrow.svg.js +4 -0
  97. package/dist/Paginator/imgs/right-arrow.svg.js +4 -0
  98. package/dist/ProgressBar/ProgressBar.vue.js +84 -0
  99. package/dist/ProgressBar/ProgressBar.vue2.js +83 -0
  100. package/dist/RadioButton/RadioButton.vue.js +46 -0
  101. package/dist/RadioButton/RadioButton.vue2.js +57 -0
  102. package/dist/Search/Search.vue.d.ts +6 -4
  103. package/dist/Search/Search.vue.d.ts.map +1 -1
  104. package/dist/Search/Search.vue.js +53 -0
  105. package/dist/Search/Search.vue2.js +144 -0
  106. package/dist/Select/Item/Item.vue.js +52 -0
  107. package/dist/Select/Item/Item.vue2.js +62 -0
  108. package/dist/Select/Multiple/Select.multiple.vue.d.ts +2 -0
  109. package/dist/Select/Multiple/Select.multiple.vue.d.ts.map +1 -1
  110. package/dist/Select/Multiple/Select.multiple.vue.js +59 -0
  111. package/dist/Select/Multiple/Select.multiple.vue2.js +137 -0
  112. package/dist/Select/Select.core.vue.d.ts +2 -0
  113. package/dist/Select/Select.core.vue.d.ts.map +1 -1
  114. package/dist/Select/Select.core.vue.js +52 -0
  115. package/dist/Select/Select.core.vue2.js +140 -0
  116. package/dist/Select/Single/Select.single.vue.d.ts +2 -0
  117. package/dist/Select/Single/Select.single.vue.d.ts.map +1 -1
  118. package/dist/Select/Single/Select.single.vue.js +74 -0
  119. package/dist/Select/Single/Select.single.vue2.js +160 -0
  120. package/dist/Select/imgs/indicator.svg.js +4 -0
  121. package/dist/Select/index.d.ts +4 -0
  122. package/dist/Select/index.d.ts.map +1 -1
  123. package/dist/Select/index.js +9 -0
  124. package/dist/Skeleton/Skeleton.vue.js +16 -0
  125. package/dist/Skeleton/Skeleton.vue2.js +19 -0
  126. package/dist/Stepper/Stepper.vue.js +110 -0
  127. package/dist/Stepper/Stepper.vue2.js +109 -0
  128. package/dist/TableConfig/TableConfig.vue.d.ts +20 -20
  129. package/dist/TableConfig/TableConfig.vue.js +72 -0
  130. package/dist/TableConfig/TableConfig.vue2.js +108 -0
  131. package/dist/Tabs/Tab/Tab.vue.d.ts +1 -1
  132. package/dist/Tabs/Tab/Tab.vue.js +7 -0
  133. package/dist/Tabs/Tab/Tab.vue2.js +62 -0
  134. package/dist/Tabs/Tabs.vue.d.ts +1 -1
  135. package/dist/Tabs/Tabs.vue.js +44 -0
  136. package/dist/Tabs/Tabs.vue2.js +63 -0
  137. package/dist/Tag/Tag.vue.js +37 -0
  138. package/dist/Tag/Tag.vue2.js +86 -0
  139. package/dist/Tipograph/Paragraph/Paragraph.vue.js +18 -0
  140. package/dist/Tipograph/Paragraph/Paragraph.vue2.js +21 -0
  141. package/dist/Tipograph/Title/Title.vue.js +18 -0
  142. package/dist/Tipograph/Title/Title.vue2.js +21 -0
  143. package/dist/Tipograph/index.js +9 -0
  144. package/dist/Toggle/Toggle.vue.js +30 -0
  145. package/dist/Toggle/Toggle.vue2.js +53 -0
  146. package/dist/Tooltip/Tooltip.vue.js +66 -0
  147. package/dist/Tooltip/Tooltip.vue2.js +234 -0
  148. package/dist/Upload/MultipleUpload/MultipleUpload.vue.d.ts.map +1 -1
  149. package/dist/Upload/MultipleUpload/MultipleUpload.vue.js +58 -0
  150. package/dist/Upload/MultipleUpload/MultipleUpload.vue2.js +198 -0
  151. package/dist/Upload/SingleUpload/SingleUpload.vue.d.ts.map +1 -1
  152. package/dist/Upload/SingleUpload/SingleUpload.vue.js +51 -0
  153. package/dist/Upload/SingleUpload/SingleUpload.vue2.js +156 -0
  154. package/dist/Upload/Upload.vue.d.ts.map +1 -1
  155. package/dist/Upload/Upload.vue.js +57 -0
  156. package/dist/Upload/Upload.vue2.js +118 -0
  157. package/dist/Upload/UploaderHeader/UploaderHeader.vue.js +30 -0
  158. package/dist/Upload/UploaderHeader/UploaderHeader.vue2.js +51 -0
  159. package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.vue.js +31 -0
  160. package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.vue2.js +34 -0
  161. package/dist/Upload/UploaderInput/UploaderInput.vue.js +63 -0
  162. package/dist/Upload/UploaderInput/UploaderInput.vue2.js +63 -0
  163. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  164. package/dist/assets/illustrations/renovabio/biomass.svg.js +4 -0
  165. package/dist/assets/illustrations/renovabio/volume.svg.js +4 -0
  166. package/dist/assets/illustrations/system/add-file.svg.js +4 -0
  167. package/dist/assets/illustrations/system/cloud-connection.svg.js +4 -0
  168. package/dist/assets/illustrations/system/cloud-download.svg.js +4 -0
  169. package/dist/assets/illustrations/system/cloud-upload.svg.js +4 -0
  170. package/dist/assets/illustrations/system/corrupted-file.svg.js +4 -0
  171. package/dist/assets/illustrations/system/dynamic-production.svg.js +4 -0
  172. package/dist/assets/illustrations/system/empty-box.svg.js +4 -0
  173. package/dist/assets/illustrations/system/empty-folder-2.svg.js +4 -0
  174. package/dist/assets/illustrations/system/empty-folder.svg.js +4 -0
  175. package/dist/assets/illustrations/system/empty.svg.js +4 -0
  176. package/dist/assets/illustrations/system/error-illustration.svg.js +4 -0
  177. package/dist/assets/illustrations/system/error.svg.js +4 -0
  178. package/dist/assets/illustrations/system/file-backup-2.svg.js +4 -0
  179. package/dist/assets/illustrations/system/file-backup.svg.js +4 -0
  180. package/dist/assets/illustrations/system/filtering-upload.svg.js +4 -0
  181. package/dist/assets/illustrations/system/flight.svg.js +4 -0
  182. package/dist/assets/illustrations/system/fly.svg.js +4 -0
  183. package/dist/assets/illustrations/system/movies.svg.js +4 -0
  184. package/dist/assets/illustrations/system/multimedia.svg.js +4 -0
  185. package/dist/assets/illustrations/system/notification-bell.svg.js +4 -0
  186. package/dist/assets/illustrations/system/page-2.svg.js +4 -0
  187. package/dist/assets/illustrations/system/page.svg.js +4 -0
  188. package/dist/assets/illustrations/system/photos.svg.js +4 -0
  189. package/dist/assets/illustrations/system/recycle-bin.svg.js +4 -0
  190. package/dist/assets/illustrations/system/rocket-launch.svg.js +4 -0
  191. package/dist/assets/illustrations/system/search-territory.svg.js +4 -0
  192. package/dist/assets/illustrations/system/signal.svg.js +4 -0
  193. package/dist/assets/illustrations/system/siren.svg.js +4 -0
  194. package/dist/assets/illustrations/system/wrong.svg.js +4 -0
  195. package/dist/assets/illustrations/tools/advanced-analysis.svg.js +4 -0
  196. package/dist/assets/illustrations/tools/agriculture.svg.js +4 -0
  197. package/dist/assets/illustrations/tools/alert-center.svg.js +4 -0
  198. package/dist/assets/illustrations/tools/area.svg.js +4 -0
  199. package/dist/assets/illustrations/tools/at-insights.svg.js +4 -0
  200. package/dist/assets/illustrations/tools/conservation-unit.svg.js +4 -0
  201. package/dist/assets/illustrations/tools/credit.svg.js +4 -0
  202. package/dist/assets/illustrations/tools/deforestation.svg.js +4 -0
  203. package/dist/assets/illustrations/tools/distance-proximity-rivers.svg.js +4 -0
  204. package/dist/assets/illustrations/tools/estimated-productivity-penalty.svg.js +4 -0
  205. package/dist/assets/illustrations/tools/extract.svg.js +4 -0
  206. package/dist/assets/illustrations/tools/farm.svg.js +4 -0
  207. package/dist/assets/illustrations/tools/geographical-consultation-municipalities.svg.js +4 -0
  208. package/dist/assets/illustrations/tools/gix.svg.js +4 -0
  209. package/dist/assets/illustrations/tools/inapto.svg.js +4 -0
  210. package/dist/assets/illustrations/tools/insurance.svg.js +4 -0
  211. package/dist/assets/illustrations/tools/land-appreciation.svg.js +4 -0
  212. package/dist/assets/illustrations/tools/lockdown.svg.js +4 -0
  213. package/dist/assets/illustrations/tools/map.svg.js +4 -0
  214. package/dist/assets/illustrations/tools/pasture.svg.js +4 -0
  215. package/dist/assets/illustrations/tools/rating-2.svg.js +4 -0
  216. package/dist/assets/illustrations/tools/rating.svg.js +4 -0
  217. package/dist/assets/illustrations/tools/recurrence.svg.js +4 -0
  218. package/dist/assets/illustrations/tools/refrigerators.svg.js +4 -0
  219. package/dist/assets/illustrations/tools/settings.svg.js +4 -0
  220. package/dist/assets/illustrations/tools/socio-environmental-analysis.svg.js +4 -0
  221. package/dist/assets/illustrations/tools/soil-use.svg.js +4 -0
  222. package/dist/assets/illustrations/tools/storm.svg.js +4 -0
  223. package/dist/assets/illustrations/tools/territory-details.svg.js +4 -0
  224. package/dist/assets/illustrations/tools/timeline.svg.js +4 -0
  225. package/dist/at-components1.css +1 -0
  226. package/dist/{bootstrap-encapsulated.css → bootstrap.css} +2 -2
  227. package/dist/bootstrap.css.map +1 -0
  228. package/dist/composables/useBootstrapWrapper.js +7 -0
  229. package/dist/index.css +3 -1
  230. package/dist/index.js +68 -16654
  231. package/dist/theme.css +1 -0
  232. package/dist/theme.css.map +1 -0
  233. package/package.json +14 -7
  234. package/dist/agrotools-theme.css +0 -5
  235. package/dist/agrotools-theme.css.map +0 -1
  236. package/dist/bootstrap-encapsulated.css.map +0 -1
@@ -0,0 +1,120 @@
1
+ import v from "./Input.core.vue2.js";
2
+ import { resolveComponent as C, createElementBlock as n, openBlock as l, createElementVNode as t, createCommentVNode as r, createBlock as d, createTextVNode as p, toDisplayString as i, Fragment as k, renderList as T, resolveDynamicComponent as m, mergeProps as y, normalizeClass as I } from "vue";
3
+ /* empty css */
4
+ import h from "../_virtual/_plugin-vue_export-helper.js";
5
+ const $ = ["data-mode", "has-error", "disabled"], f = ["for"], A = {
6
+ key: 0,
7
+ class: "AT-INPUT_required"
8
+ }, N = ["title"], b = { class: "AT-INPUT_item_slot" }, P = ["onClick"], g = {
9
+ key: 0,
10
+ class: "AT-INPUT_items_length"
11
+ }, F = {
12
+ key: 1,
13
+ class: "AT_INPUT_button_placeholder"
14
+ }, U = ["data-mode"], c = ["src"];
15
+ function B(e, s, O, M, S, z) {
16
+ const a = C("AtCloseSolidIcon");
17
+ return l(), n("div", null, [
18
+ t("div", {
19
+ ref: "wrapperEl",
20
+ "data-mode": e.currentMode,
21
+ "has-error": e.error.value,
22
+ disabled: e.$props.disabled || void 0,
23
+ class: "AT-INPUT_core",
24
+ onMouseover: s[6] || (s[6] = (...o) => e.handleMouseOver && e.handleMouseOver(...o)),
25
+ onMouseleave: s[7] || (s[7] = (...o) => e.handleMouseLeave && e.handleMouseLeave(...o))
26
+ }, [
27
+ t("label", {
28
+ for: e.id,
29
+ style: { textAlign: "start" },
30
+ onClick: s[0] || (s[0] = (...o) => e.handleOnFocus && e.handleOnFocus(...o))
31
+ }, [
32
+ p(i(e.label) + " ", 1),
33
+ e.$props.required ? (l(), n("span", A, "*")) : r("", !0)
34
+ ], 8, f),
35
+ e.separator ? (l(), n("div", {
36
+ key: 0,
37
+ ref: "containerItemsEl",
38
+ class: "AT-INPUT_items",
39
+ onClick: s[1] || (s[1] = (...o) => e.handleOnFocus && e.handleOnFocus(...o))
40
+ }, [
41
+ (l(!0), n(k, null, T(e.selectedItemsController.itemsToRender, (o) => (l(), n("span", {
42
+ key: o.value,
43
+ ref_for: !0,
44
+ ref: "selectedItemsEl",
45
+ title: o.text,
46
+ class: "AT-INPUT_item"
47
+ }, [
48
+ t("span", b, i(o.text), 1),
49
+ t("span", {
50
+ class: "AT-INPUT_item_slot_x",
51
+ style: { padding: "1px 5px" },
52
+ onClick: () => {
53
+ var u;
54
+ (u = e.onSelectedItemClick) == null || u.call(e, o == null ? void 0 : o.value);
55
+ }
56
+ }, "x", 8, P)
57
+ ], 8, N))), 128)),
58
+ e.selectedItems.length > e.selectedItemsController.supportedItems ? (l(), n("span", g, "+ " + i(e.selectedItems.length - e.selectedItemsController.supportedItems), 1)) : r("", !0),
59
+ e.$props.type === "button" && e.selectedItems.length <= 0 ? (l(), n("div", F, [
60
+ t("span", null, i(e.placeholder), 1)
61
+ ])) : r("", !0)
62
+ ], 512)) : (l(), d(m(e.as), y({ key: 1 }, e.$attrs, {
63
+ id: e.id,
64
+ ref: "inputEl",
65
+ style: { cursor: e.cursor },
66
+ class: [e.inputClass, "AT-INPUT"],
67
+ disabled: e.$props.disabled || void 0,
68
+ readonly: e.$props.readonly || void 0,
69
+ type: e.type,
70
+ placeholder: e.placeholder,
71
+ name: e.id,
72
+ value: e.inputComputedValue,
73
+ onInput: e.onInput,
74
+ onFocus: e.handleOnFocus,
75
+ onFocusout: e.handleOnFocusOut
76
+ }), null, 16, ["id", "style", "class", "disabled", "readonly", "type", "placeholder", "name", "value", "onInput", "onFocus", "onFocusout"])),
77
+ e.$props.icon ? (l(), n("div", {
78
+ key: 2,
79
+ class: I(["AT_INPUT_side_icon_slot", { clickable: e.useSideClearButton }]),
80
+ onClick: s[3] || (s[3] = (o) => e.showSideClearButton ? e.clearInput() : null)
81
+ }, [
82
+ e.showSideClearButton ? (l(), d(a, {
83
+ key: 0,
84
+ size: "20",
85
+ onClick: s[2] || (s[2] = (o) => e.clearInput())
86
+ })) : r("", !0)
87
+ ], 2)) : r("", !0),
88
+ e.$props.icon ? (l(), n("div", {
89
+ key: 3,
90
+ class: I(["AT_INPUT_icon_slot", { clickable: e.useClearButton && e.isFocused }]),
91
+ onClick: s[5] || (s[5] = (o) => e.showClearButton ? e.clearInput() : null)
92
+ }, [
93
+ e.showClearButton ? (l(), d(a, {
94
+ key: 0,
95
+ size: "20",
96
+ onClick: s[4] || (s[4] = (o) => e.clearInput())
97
+ })) : (l(), d(m(e.icons[e.$props.icon.name]), {
98
+ key: 1,
99
+ size: e.$props.icon.size || "20",
100
+ color: e.iconColor
101
+ }, null, 8, ["size", "color"]))
102
+ ], 2)) : r("", !0)
103
+ ], 40, $),
104
+ e.error.value ? (l(), n("span", {
105
+ key: 0,
106
+ class: "AT-INPUT_error-message",
107
+ "data-mode": e.currentMode
108
+ }, [
109
+ t("img", {
110
+ src: e.icons.error,
111
+ alt: "error icon"
112
+ }, null, 8, c),
113
+ p(" " + i(e.error.message), 1)
114
+ ], 8, U)) : r("", !0)
115
+ ]);
116
+ }
117
+ const D = /* @__PURE__ */ h(v, [["render", B], ["__scopeId", "data-v-ef20ea0b"]]);
118
+ export {
119
+ D as default
120
+ };
@@ -0,0 +1,239 @@
1
+ import { AtCloseSolidIcon as P } from "@agrotools1/at-icons";
2
+ import { defineComponent as H, ref as n, computed as i, onMounted as G, onBeforeUnmount as J, watchEffect as K, watch as B, nextTick as b } from "vue";
3
+ import Q from "../Icons/icons.js";
4
+ import X from "./imgs/error.svg.js";
5
+ const ee = H({
6
+ name: "AtCoreInput",
7
+ components: {
8
+ AtCloseSolidIcon: P
9
+ },
10
+ props: {
11
+ modelValue: {
12
+ type: String,
13
+ required: !1,
14
+ default: void 0
15
+ },
16
+ icon: {
17
+ type: Object,
18
+ required: !1,
19
+ default: void 0
20
+ },
21
+ as: {
22
+ type: String,
23
+ default: "input",
24
+ required: !1
25
+ },
26
+ forceFocus: {
27
+ type: Boolean,
28
+ default: !1,
29
+ required: !1
30
+ },
31
+ debounce: {
32
+ type: Number,
33
+ required: !1,
34
+ default: 0
35
+ },
36
+ preventInputEvent: {
37
+ type: Boolean,
38
+ default: !1,
39
+ required: !1
40
+ },
41
+ disabled: {
42
+ type: Boolean,
43
+ default: !1
44
+ },
45
+ required: {
46
+ type: Boolean,
47
+ default: !1
48
+ },
49
+ readonly: {
50
+ type: Boolean,
51
+ default: !1
52
+ },
53
+ label: {
54
+ type: String,
55
+ default: "",
56
+ required: !0
57
+ },
58
+ cursor: {
59
+ type: String,
60
+ default: "default",
61
+ required: !1
62
+ },
63
+ id: {
64
+ type: String
65
+ },
66
+ type: {
67
+ type: String,
68
+ default: "text"
69
+ },
70
+ placeholder: {
71
+ type: String,
72
+ default: ""
73
+ },
74
+ error: {
75
+ type: Object,
76
+ default: () => ({
77
+ value: !1,
78
+ message: ""
79
+ }),
80
+ validator: (e) => typeof e == "object" && typeof e.value == "boolean" && typeof e.message == "string"
81
+ },
82
+ separator: {
83
+ type: String,
84
+ default: null
85
+ },
86
+ selectedItems: {
87
+ type: Array,
88
+ default: () => []
89
+ },
90
+ onSelectedItemClick: {
91
+ type: Function
92
+ },
93
+ useClearButton: {
94
+ type: Boolean,
95
+ default: !1
96
+ },
97
+ useSideClearButton: {
98
+ type: Boolean,
99
+ default: !1
100
+ },
101
+ forceEventClearButton: {
102
+ type: Boolean,
103
+ default: !1
104
+ }
105
+ },
106
+ emits: ["update:modelValue", "input", "clickOutside", "clearInput", "mouseover", "overflow"],
107
+ setup(e, { emit: s }) {
108
+ const F = { ...Q }, S = n(null), f = n(null), v = n(null), E = n(null), L = i(() => e.error), a = n(!1), d = n(""), c = n(!1), M = n(!1), T = i(
109
+ () => e.useClearButton && a.value && e.modelValue && !c.value
110
+ ), k = i(
111
+ () => e.useSideClearButton && !e.useClearButton && e.modelValue && !c.value
112
+ ), g = n({
113
+ supportedItems: e.selectedItems.length,
114
+ isCounterActive: !1,
115
+ itemsToRender: e.selectedItems
116
+ }), _ = Math.random().toString(36).substring(2), o = n(!1), W = () => {
117
+ o.value = !0;
118
+ }, x = () => {
119
+ o.value = !1;
120
+ }, h = () => {
121
+ a.value = !0;
122
+ }, m = () => {
123
+ e.forceFocus || (e.forceEventClearButton ? a.value = !0 : q(() => {
124
+ a.value = !1;
125
+ }, 100)());
126
+ }, I = async () => {
127
+ var A;
128
+ g.value.itemsToRender = e.selectedItems, await b();
129
+ const t = (A = v.value) == null ? void 0 : A.clientWidth;
130
+ if (t === void 0) return;
131
+ let l = 50, u = 0;
132
+ const r = E.value;
133
+ if (r)
134
+ for (let y = 0; y < r.length; y++)
135
+ l += r[y].clientWidth + 10, l <= t && (u = y + 1);
136
+ let w;
137
+ l >= t ? w = {
138
+ isCounterActive: l > (t || 0),
139
+ supportedItems: u,
140
+ itemsToRender: e.selectedItems.slice(0, u)
141
+ } : w = {
142
+ isCounterActive: l > (t || 0),
143
+ supportedItems: e.selectedItems.length,
144
+ itemsToRender: e.selectedItems
145
+ }, g.value = w;
146
+ }, O = (t) => {
147
+ var l, u;
148
+ !((l = S.value) != null && l.contains(t.target)) && !((u = f.value) != null && u.contains(t.target)) && !T.value && !c.value && (m(), a.value = !1, s("clickOutside"));
149
+ }, C = async () => {
150
+ if (await b(), f.value) {
151
+ const t = f.value.scrollWidth > f.value.clientWidth;
152
+ M.value = t, s("overflow", t);
153
+ }
154
+ };
155
+ G(() => {
156
+ var t;
157
+ (e.modelValue !== void 0 && ((t = e.modelValue) != null && t.length) || e.forceFocus) && h(), document.addEventListener("click", O), window.addEventListener("resize", I);
158
+ }), J(() => {
159
+ document.removeEventListener("click", O), window.removeEventListener("resize", I);
160
+ });
161
+ const R = (t) => {
162
+ e.preventInputEvent && t.preventDefault();
163
+ const l = t.target.value;
164
+ s("input", t), e.debounce > 0 ? q(() => V(l), e.debounce)() : V(l), b(() => {
165
+ C();
166
+ });
167
+ }, V = (t) => {
168
+ s("update:modelValue", t), e.modelValue === void 0 && (d.value = t);
169
+ };
170
+ function q(t, l) {
171
+ let u;
172
+ return function() {
173
+ clearTimeout(u), u = setTimeout(t, l);
174
+ };
175
+ }
176
+ const j = () => {
177
+ c.value = !0, a.value = !1, s("clearInput"), setTimeout(() => {
178
+ e.forceEventClearButton || V(""), c.value = !1;
179
+ }, 100);
180
+ };
181
+ K(() => {
182
+ var t, l;
183
+ e.separator && ((e.modelValue !== void 0 ? e.modelValue.split(e.separator).filter((r) => r.length > 1) : d.value.split(e.separator).filter((r) => r.length > 1)).length ? (t = v.value) == null || t.classList.remove("AT-INPUT_items_empty") : ((l = v.value) == null || l.classList.add("AT-INPUT_items_empty"), m(), a.value = !1)), e.forceFocus ? h() : (m(), a.value = !1);
184
+ }), B(
185
+ () => e.selectedItems,
186
+ async () => {
187
+ await I();
188
+ },
189
+ { deep: !0 }
190
+ ), B(
191
+ () => o.value,
192
+ () => {
193
+ s("mouseover", o.value);
194
+ }
195
+ ), B(
196
+ () => e.modelValue,
197
+ () => {
198
+ C();
199
+ }
200
+ );
201
+ const z = i(() => {
202
+ var t;
203
+ return e.disabled ? "var(--at-medium-grey)" : e.selectedItems.length > 0 ? "var(--at-black)" : a.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 || d.value.length > 0 ? "var(--at-black)" : "var(--at-dark-grey)";
204
+ }), N = i(() => e.disabled ? "disabled" : e.selectedItems.length > 0 ? "filled" : a.value ? "focused" : e.error.value ? "error" : o.value ? "hover" : e.modelValue !== void 0 && e.modelValue.length > 0 || d.value.length > 0 ? "filled" : "default"), U = i(() => e.modelValue !== void 0 ? e.modelValue : d.value ? d.value : null), D = i(() => k.value === !0 ? "AT-ITEMS_input" : "");
205
+ return {
206
+ wrapperEl: S,
207
+ inputEl: f,
208
+ inputError: L,
209
+ inputId: e.id ?? _,
210
+ handleOnFocus: h,
211
+ handleOnFocusOut: m,
212
+ icons: {
213
+ error: X,
214
+ ...F
215
+ },
216
+ clickedClear: c,
217
+ showClearButton: T,
218
+ showSideClearButton: k,
219
+ clearInput: j,
220
+ containerItemsEl: v,
221
+ onInput: R,
222
+ iconColor: z,
223
+ isFocused: a,
224
+ handleMouseOver: W,
225
+ handleMouseLeave: x,
226
+ isHovered: o,
227
+ inputComputedValue: U,
228
+ currentMode: N,
229
+ selectedItemsEl: E,
230
+ selectedItemsController: g,
231
+ resizeSelectedItems: I,
232
+ inputClass: D,
233
+ checkOverflow: C
234
+ };
235
+ }
236
+ });
237
+ export {
238
+ ee as default
239
+ };
@@ -148,6 +148,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
148
148
  AtCloundDownloadSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
149
149
  AtCofreDigitalRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
150
150
  AtCofreDigitalSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
151
+ AtConfigRefreshRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
151
152
  AtCopilotoRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
152
153
  AtCopilotoSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
153
154
  AtCopyRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
@@ -242,6 +243,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
242
243
  AtPinSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
243
244
  AtPlantRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
244
245
  AtPlantSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
246
+ AtPowerOffRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
245
247
  AtPrintSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
246
248
  AtRatingRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
247
249
  AtRatingSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"Text-area.vue.d.ts","sourceRoot":"","sources":["../../src/Input/Text-area.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,wBASC"}
1
+ {"version":3,"file":"Text-area.vue.d.ts","sourceRoot":"","sources":["../../src/Input/Text-area.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,wBASC"}
@@ -0,0 +1,16 @@
1
+ import o from "./Text-area.vue2.js";
2
+ import { resolveComponent as r, createBlock as n, openBlock as p, mergeProps as a } from "vue";
3
+ /* empty css */
4
+ import s from "../_virtual/_plugin-vue_export-helper.js";
5
+ function c(t, i, m, _, d, f) {
6
+ const e = r("AtCoreInput");
7
+ return p(), n(e, a({
8
+ type: "textarea",
9
+ as: "textarea",
10
+ rows: 8
11
+ }, t.$attrs, { style: { height: "initial" } }), null, 16);
12
+ }
13
+ const h = /* @__PURE__ */ s(o, [["render", c], ["__scopeId", "data-v-d1e0d550"]]);
14
+ export {
15
+ h as default
16
+ };
@@ -0,0 +1,14 @@
1
+ import { defineComponent as t } from "vue";
2
+ import e from "./Input.core.vue.js";
3
+ const r = t({
4
+ name: "AtTextArea",
5
+ components: {
6
+ AtCoreInput: e
7
+ },
8
+ setup() {
9
+ return {};
10
+ }
11
+ });
12
+ export {
13
+ r as default
14
+ };
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2713_25)'%3e%3cpath%20d='M8%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C15.9952%203.58369%2012.4163%200.00478125%208%200ZM10.6667%209.72466C10.9376%209.974%2010.9551%2010.3958%2010.7057%2010.6667C10.4564%2010.9376%2010.0346%2010.9551%209.76372%2010.7057C9.75016%2010.6933%209.73716%2010.6802%209.72466%2010.6667L8%208.94266L6.276%2010.6667C6.01116%2010.9224%205.58913%2010.9151%205.33334%2010.6503C5.08384%2010.3919%205.08384%209.98234%205.33334%209.724L7.05734%208L5.33334%206.276C5.07756%206.01116%205.08491%205.58913%205.34975%205.33334C5.60809%205.08384%206.01766%205.08384%206.276%205.33334L8%207.05734L9.72466%205.33334C9.974%205.06244%2010.3958%205.04494%2010.6667%205.29428C10.9376%205.54363%2010.9551%205.96538%2010.7057%206.23628C10.6933%206.24984%2010.6802%206.26284%2010.6667%206.27534L8.94266%208L10.6667%209.72466Z'%20fill='%23831511'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2713_25'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
@@ -150,6 +150,7 @@ declare const AtInput: {
150
150
  AtCloundDownloadSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
151
151
  AtCofreDigitalRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
152
152
  AtCofreDigitalSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
153
+ AtConfigRefreshRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
153
154
  AtCopilotoRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
154
155
  AtCopilotoSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
155
156
  AtCopyRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
@@ -244,6 +245,7 @@ declare const AtInput: {
244
245
  AtPinSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
245
246
  AtPlantRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
246
247
  AtPlantSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
248
+ AtPowerOffRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
247
249
  AtPrintSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
248
250
  AtRatingRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
249
251
  AtRatingSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
@@ -632,6 +634,7 @@ declare const AtInput: {
632
634
  AtCloundDownloadSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
633
635
  AtCofreDigitalRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
634
636
  AtCofreDigitalSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
637
+ AtConfigRefreshRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
635
638
  AtCopilotoRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
636
639
  AtCopilotoSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
637
640
  AtCopyRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
@@ -726,6 +729,7 @@ declare const AtInput: {
726
729
  AtPinSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
727
730
  AtPlantRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
728
731
  AtPlantSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
732
+ AtPowerOffRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
729
733
  AtPrintSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
730
734
  AtRatingRegularIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
731
735
  AtRatingSolidIcon: import('vue').DefineComponent<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@agrotools1/at-icons/dist/components/IconWrapper/IconWrapper.vue').IconWrapperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAItD,MAAM,MAAM,UAAU,GAAG,cAAc,CAAA;AAEvC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGZ,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAItD,MAAM,MAAM,UAAU,GAAG,cAAc,CAAA;AAEvC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGZ,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -0,0 +1,9 @@
1
+ import t from "./Input.core.vue.js";
2
+ import o from "./Text-area.vue.js";
3
+ const p = {
4
+ Text: t,
5
+ TextArea: o
6
+ };
7
+ export {
8
+ p as AtInput
9
+ };
@@ -0,0 +1,60 @@
1
+ import _ from "./Legend.vue2.js";
2
+ import { resolveComponent as l, createElementBlock as s, openBlock as t, createElementVNode as o, Fragment as g, renderList as m, normalizeStyle as k, toDisplayString as d, createBlock as r, createCommentVNode as c, withCtx as v, createTextVNode as y } from "vue";
3
+ /* empty css */
4
+ import f from "../_virtual/_plugin-vue_export-helper.js";
5
+ const h = { class: "legend-block" }, b = { class: "d-block" }, C = { class: "d-flex justify-content-start align-items-center" }, B = { class: "d-flex flex-grow-1" }, I = ["onClick"], $ = { class: "d-flex legend-button pr-elm" };
6
+ function A(n, a, E, x, w, R) {
7
+ const i = l("AtEyeAtivoRegularIcon"), u = l("AtEyeInativoRegularIcon"), p = l("AtButton");
8
+ return t(), s("div", h, [
9
+ o("ul", null, [
10
+ (t(!0), s(g, null, m(n.legendItems, (e) => (t(), s("li", {
11
+ key: e.name
12
+ }, [
13
+ o("div", b, [
14
+ o("div", C, [
15
+ o("div", {
16
+ class: "color-bullet",
17
+ style: k({
18
+ borderColor: e.hexColor,
19
+ backgroundColor: `${e.hexColor}66`
20
+ })
21
+ }, null, 4),
22
+ o("span", B, d(e.name), 1),
23
+ o("div", {
24
+ class: "pointer pr-elm",
25
+ onClick: (z) => n.toggleItem(e)
26
+ }, [
27
+ e.show && !e.hideEyeButton ? (t(), r(i, {
28
+ key: 0,
29
+ size: "20",
30
+ color: "black",
31
+ class: "eye-active-button"
32
+ })) : c("", !0),
33
+ !e.show && !e.hideEyeButton ? (t(), r(u, {
34
+ key: 1,
35
+ size: "20",
36
+ color: "black",
37
+ class: "eye-inactive-button"
38
+ })) : c("", !0)
39
+ ], 8, I)
40
+ ])
41
+ ])
42
+ ]))), 128))
43
+ ]),
44
+ o("div", $, [
45
+ n.$props.hideLegendButton ? c("", !0) : (t(), r(p, {
46
+ key: 0,
47
+ onClick: a[0] || (a[0] = (e) => n.$emit("legendbuttonclick"))
48
+ }, {
49
+ default: v(() => [
50
+ y(d(n.legendButtonText), 1)
51
+ ]),
52
+ _: 1
53
+ }))
54
+ ])
55
+ ]);
56
+ }
57
+ const T = /* @__PURE__ */ f(_, [["render", A], ["__scopeId", "data-v-bcde2ef8"]]);
58
+ export {
59
+ T as default
60
+ };
@@ -0,0 +1,51 @@
1
+ import { AtEyeInativoRegularIcon as r, AtEyeAtivoRegularIcon as i } from "@agrotools1/at-icons";
2
+ import { defineComponent as s, toRefs as l } from "vue";
3
+ import m from "../Button/Button.vue.js";
4
+ const f = s({
5
+ name: "AtLegend",
6
+ components: {
7
+ AtButton: m,
8
+ AtEyeAtivoRegularIcon: i,
9
+ AtEyeInativoRegularIcon: r
10
+ },
11
+ props: {
12
+ items: {
13
+ type: Array,
14
+ required: !0
15
+ },
16
+ hideLegendButton: {
17
+ type: Boolean,
18
+ required: !1,
19
+ default: !1
20
+ },
21
+ legendButtonText: {
22
+ type: String,
23
+ required: !1,
24
+ default: "Button Text"
25
+ }
26
+ },
27
+ emits: [
28
+ /**
29
+ * Clique do botão de olho
30
+ * @param item `LegendItem` associado ao elemento clicado
31
+ */
32
+ "itemclick",
33
+ /**
34
+ * Clique no botão da legenda
35
+ * @param items `Array<LegendItem>` associado à legenda
36
+ */
37
+ "legendbuttonclick"
38
+ ],
39
+ setup(t, { emit: o }) {
40
+ const { items: n } = l(t);
41
+ return {
42
+ toggleItem: (e) => {
43
+ e.show = !e.show, o("itemclick", e);
44
+ },
45
+ legendItems: n
46
+ };
47
+ }
48
+ });
49
+ export {
50
+ f as default
51
+ };