@agrotools1/at-components 0.6.69 → 0.6.71

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 (150) hide show
  1. package/README.md +7 -7
  2. package/dist/Accordion/Accordion.vue.js +5 -5
  3. package/dist/Avatar/Avatar.vue.js +1 -1
  4. package/dist/Avatar/Avatar.vue3.js +2 -2
  5. package/dist/Button/Button.vue.js +1 -1
  6. package/dist/Button/Button.vue3.js +2 -2
  7. package/dist/CardWithInsights/CardWithInsights.vue.js +8 -8
  8. package/dist/CardWithInsights/CardWithInsights.vue4.js +2 -2
  9. package/dist/Checkbox/Checkbox.vue.js +1 -1
  10. package/dist/Checkbox/img/checkmarck.svg.js +1 -1
  11. package/dist/ColorPicker/ColorPicker.Saturation.vue.js +10 -10
  12. package/dist/ColorPicker/ColorPicker.Saturation.vue3.js +2 -2
  13. package/dist/ColorPicker/ColorPicker.vue.js +4 -4
  14. package/dist/DataTable/Column/Column.vue.js +6 -6
  15. package/dist/DataTable/Column/Column.vue3.js +2 -2
  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 +2 -2
  20. package/dist/DatePicker/DatePicker.scss.js +2 -2
  21. package/dist/DatePicker/DatePicker.vue.js +4 -4
  22. package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.vue.js +3 -3
  23. package/dist/DatePicker/DatePickerHeader/DatePickerHeader.vue.js +7 -7
  24. package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.vue.js +7 -7
  25. package/dist/DatePicker/DatePickerTime/DatePickerTime.vue.js +4 -4
  26. package/dist/Dropdown/Checklist/Dropdown.Checklist.vue.js +20 -20
  27. package/dist/Dropdown/Checklist/Dropdown.Checklist.vue3.js +2 -2
  28. package/dist/Dropdown/Dropdown.core.vue.js +1 -1
  29. package/dist/Dropdown/Dropdown.core.vue3.js +2 -2
  30. package/dist/Faq/Faq.vue.js +5 -5
  31. package/dist/Faq/FaqItem/FaqItem.vue.js +1 -1
  32. package/dist/Filter/components/Filter.vue.js +14 -14
  33. package/dist/Illustration/Illustration.vue.js +5 -5
  34. package/dist/Illustration/images/renovabio-illustrations/biomass.svg.js +1 -1
  35. package/dist/Illustration/images/renovabio-illustrations/volume.svg.js +1 -1
  36. package/dist/Illustration/images/system-images/add-file.svg.js +1 -1
  37. package/dist/Illustration/images/system-images/cloud-connection.svg.js +1 -1
  38. package/dist/Illustration/images/system-images/cloud-download.svg.js +1 -1
  39. package/dist/Illustration/images/system-images/cloud-upload.svg.js +1 -1
  40. package/dist/Illustration/images/system-images/corrupted-file.svg.js +1 -1
  41. package/dist/Illustration/images/system-images/empty-box.svg.js +1 -1
  42. package/dist/Illustration/images/system-images/empty-folder-2.svg.js +1 -1
  43. package/dist/Illustration/images/system-images/empty-folder.svg.js +1 -1
  44. package/dist/Illustration/images/system-images/empty.svg.js +1 -1
  45. package/dist/Illustration/images/system-images/error-illustration.svg.js +1 -1
  46. package/dist/Illustration/images/system-images/file-backup-2.svg.js +1 -1
  47. package/dist/Illustration/images/system-images/file-backup.svg.js +1 -1
  48. package/dist/Illustration/images/system-images/filtering-upload.svg.js +1 -1
  49. package/dist/Illustration/images/system-images/flight.svg.js +1 -1
  50. package/dist/Illustration/images/system-images/fly.svg.js +1 -1
  51. package/dist/Illustration/images/system-images/movies.svg.js +1 -1
  52. package/dist/Illustration/images/system-images/multimedia.svg.js +1 -1
  53. package/dist/Illustration/images/system-images/notification-bell.svg.js +1 -1
  54. package/dist/Illustration/images/system-images/page-2.svg.js +1 -1
  55. package/dist/Illustration/images/system-images/page.svg.js +1 -1
  56. package/dist/Illustration/images/system-images/photos.svg.js +1 -1
  57. package/dist/Illustration/images/system-images/recycle-bin.svg.js +1 -1
  58. package/dist/Illustration/images/system-images/rocket-launch.svg.js +1 -1
  59. package/dist/Illustration/images/system-images/signal.svg.js +1 -1
  60. package/dist/Illustration/images/system-images/wrong.svg.js +1 -1
  61. package/dist/Illustration/images/tools-images/advanced-analysis.svg.js +1 -1
  62. package/dist/Illustration/images/tools-images/agriculture.svg.js +1 -1
  63. package/dist/Illustration/images/tools-images/alert-center.svg.js +1 -1
  64. package/dist/Illustration/images/tools-images/area.svg.js +1 -1
  65. package/dist/Illustration/images/tools-images/at-insights.svg.js +1 -1
  66. package/dist/Illustration/images/tools-images/conservation-unit.svg.js +1 -1
  67. package/dist/Illustration/images/tools-images/credit.svg.js +2 -2
  68. package/dist/Illustration/images/tools-images/deforestation.svg.js +1 -1
  69. package/dist/Illustration/images/tools-images/distance-proximity-rivers.svg.js +1 -1
  70. package/dist/Illustration/images/tools-images/estimated-productivity-penalty.svg.js +1 -1
  71. package/dist/Illustration/images/tools-images/extract.svg.js +1 -1
  72. package/dist/Illustration/images/tools-images/farm.svg.js +1 -1
  73. package/dist/Illustration/images/tools-images/geographical-consultation-municipalities.svg.js +1 -1
  74. package/dist/Illustration/images/tools-images/gix.svg.js +1 -1
  75. package/dist/Illustration/images/tools-images/insurance.svg.js +1 -1
  76. package/dist/Illustration/images/tools-images/land-appreciation.svg.js +1 -1
  77. package/dist/Illustration/images/tools-images/lockdown.svg.js +1 -1
  78. package/dist/Illustration/images/tools-images/map.svg.js +1 -1
  79. package/dist/Illustration/images/tools-images/pasture.svg.js +1 -1
  80. package/dist/Illustration/images/tools-images/rating-2.svg.js +1 -1
  81. package/dist/Illustration/images/tools-images/rating.svg.js +1 -1
  82. package/dist/Illustration/images/tools-images/recurrence.svg.js +1 -1
  83. package/dist/Illustration/images/tools-images/refrigerators.svg.js +1 -1
  84. package/dist/Illustration/images/tools-images/settings.svg.js +1 -1
  85. package/dist/Illustration/images/tools-images/socio-environmental-analysis.svg.js +1 -1
  86. package/dist/Illustration/images/tools-images/soil-use.svg.js +1 -1
  87. package/dist/Illustration/images/tools-images/storm.svg.js +1 -1
  88. package/dist/Illustration/images/tools-images/territory-details.svg.js +1 -1
  89. package/dist/Illustration/images/tools-images/timeline.svg.js +1 -1
  90. package/dist/Input/Input.core.d.ts +10 -0
  91. package/dist/Input/Input.core.vue.js +46 -35
  92. package/dist/Input/Input.core.vue2.js +63 -56
  93. package/dist/Input/imgs/error.svg.js +2 -2
  94. package/dist/Input/index.d.ts +10 -0
  95. package/dist/Legend/Legend.vue.js +4 -4
  96. package/dist/List/components/List.vue.js +1 -1
  97. package/dist/List/components/List.vue3.js +2 -2
  98. package/dist/Menu/Menu.vue.js +4 -4
  99. package/dist/Menu/assets/agrotools.svg.js +1 -1
  100. package/dist/Menu/assets/at.svg.js +1 -1
  101. package/dist/Modal/Modal.vue.js +16 -16
  102. package/dist/Modal/Modal.vue3.js +2 -2
  103. package/dist/Modal/images/cross.svg.js +1 -1
  104. package/dist/Notifications/Notification/Notification.vue.js +4 -4
  105. package/dist/Notifications/Notifications.vue.js +6 -6
  106. package/dist/Notifications/Notifications.vue3.js +2 -2
  107. package/dist/Paginator/Paginator.vue.js +4 -4
  108. package/dist/Paginator/Paginator.vue3.js +2 -2
  109. package/dist/Paginator/imgs/double-left-arrow.svg.js +1 -1
  110. package/dist/Paginator/imgs/double-right-arrow.svg.js +1 -1
  111. package/dist/Paginator/imgs/left-arrow.svg.js +1 -1
  112. package/dist/Paginator/imgs/right-arrow.svg.js +1 -1
  113. package/dist/ProgressBar/ProgressBar.vue.js +1 -1
  114. package/dist/RadioButton/RadioButton.vue.js +1 -1
  115. package/dist/RadioButton/RadioButton.vue3.js +2 -2
  116. package/dist/Search/Search.d.ts +1 -1
  117. package/dist/Search/Search.vue.js +1 -1
  118. package/dist/Search/Search.vue2.js +46 -44
  119. package/dist/Select/Item/Item.vue.js +16 -16
  120. package/dist/Select/Multiple/Select.multiple.vue.js +13 -13
  121. package/dist/Select/Select.core.d.ts +46 -2
  122. package/dist/Select/Select.core.vue.js +17 -11
  123. package/dist/Select/Select.core.vue2.js +49 -18
  124. package/dist/Select/Single/Select.single.d.ts +43 -1
  125. package/dist/Select/Single/Select.single.vue.js +33 -17
  126. package/dist/Select/Single/Select.single.vue2.js +86 -39
  127. package/dist/Select/imgs/indicator.svg.js +1 -1
  128. package/dist/Select/index.d.ts +43 -1
  129. package/dist/Stepper/Stepper.vue.js +1 -1
  130. package/dist/TableConfig/TableConfig.vue.js +8 -8
  131. package/dist/Tabs/Tab/Tab.vue.js +1 -1
  132. package/dist/Tabs/Tab/Tab.vue3.js +2 -2
  133. package/dist/Tabs/Tabs.vue.js +7 -7
  134. package/dist/Tabs/Tabs.vue3.js +2 -2
  135. package/dist/Tag/Tag.vue.js +2 -2
  136. package/dist/Tipograph/Paragraph/Paragraph.vue.js +2 -2
  137. package/dist/Tipograph/Paragraph/Paragraph.vue3.js +2 -2
  138. package/dist/Tipograph/Title/Title.vue.js +2 -2
  139. package/dist/Toggle/Toggle.vue.js +4 -4
  140. package/dist/Tooltip/Tooltip.vue.js +3 -3
  141. package/dist/Upload/MultipleUpload/MultipleUpload.vue.js +4 -4
  142. package/dist/Upload/SingleUpload/SingleUpload.vue.js +1 -1
  143. package/dist/Upload/Upload.vue.js +1 -1
  144. package/dist/Upload/UploaderHeader/UploaderHeader.vue.js +4 -4
  145. package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.vue.js +1 -1
  146. package/dist/Upload/UploaderInput/UploaderInput.vue.js +2 -2
  147. package/dist/agrotools-theme.css +1 -1
  148. package/dist/agrotools-theme.css.map +1 -1
  149. package/dist/style.css +1 -1
  150. package/package.json +1 -1
@@ -1,60 +1,60 @@
1
- import m from "./Input.core.vue2.js";
2
- import { resolveComponent as I, openBlock as n, createElementBlock as l, createElementVNode as r, createTextVNode as u, toDisplayString as i, createCommentVNode as d, Fragment as v, renderList as k, mergeProps as C, normalizeClass as T, createBlock as p, resolveDynamicComponent as y } from "vue";
1
+ import I from "./Input.core.vue2.js";
2
+ import { resolveComponent as k, openBlock as n, createElementBlock as l, createElementVNode as i, createTextVNode as a, toDisplayString as t, createCommentVNode as r, Fragment as C, renderList as v, mergeProps as T, normalizeClass as m, createBlock as d, resolveDynamicComponent as y } from "vue";
3
3
  import "./Input.core.vue3.js";
4
4
  import f from "../_virtual/_plugin-vue_export-helper.js";
5
- const $ = ["data-mode", "disabled"], h = ["for"], A = {
5
+ const $ = ["data-mode", "disabled"], A = ["for"], N = {
6
6
  key: 0,
7
7
  class: "AT-INPUT_required"
8
- }, F = ["title"], N = { class: "AT-INPUT_item_slot" }, O = ["onClick"], b = {
8
+ }, b = ["title"], F = { class: "AT-INPUT_item_slot" }, O = ["onClick"], P = {
9
9
  key: 0,
10
10
  class: "AT-INPUT_items_length"
11
- }, g = ["id", "disabled", "readonly", "type", "placeholder", "name", "value"], P = {
11
+ }, g = ["id", "disabled", "readonly", "type", "placeholder", "name", "value"], h = {
12
12
  key: 0,
13
13
  class: "AT-INPUT_error-message"
14
- }, M = ["src"];
15
- function U(e, s, B, E, z, S) {
16
- const a = I("AtCircleXMarkSolidIcon");
14
+ }, U = ["src"];
15
+ function B(e, s, M, S, z, E) {
16
+ const u = k("AtCircleXMarkSolidIcon");
17
17
  return n(), l("div", null, [
18
- r("div", {
18
+ i("div", {
19
19
  ref: "wrapperEl",
20
20
  "data-mode": e.currentMode,
21
21
  disabled: e.$props.disabled || void 0,
22
22
  class: "AT-INPUT_core",
23
- onMouseover: s[7] || (s[7] = (...o) => e.handleMouseOver && e.handleMouseOver(...o)),
24
- onMouseleave: s[8] || (s[8] = (...o) => e.handleMouseLeave && e.handleMouseLeave(...o))
23
+ onMouseover: s[9] || (s[9] = (...o) => e.handleMouseOver && e.handleMouseOver(...o)),
24
+ onMouseleave: s[10] || (s[10] = (...o) => e.handleMouseLeave && e.handleMouseLeave(...o))
25
25
  }, [
26
- r("label", {
26
+ i("label", {
27
27
  for: e.id,
28
28
  onClick: s[0] || (s[0] = (...o) => e.handleOnFocus && e.handleOnFocus(...o))
29
29
  }, [
30
- u(i(e.label) + " ", 1),
31
- e.$props.required ? (n(), l("span", A, "*")) : d("", !0)
32
- ], 8, h),
30
+ a(t(e.label) + " ", 1),
31
+ e.$props.required ? (n(), l("span", N, "*")) : r("", !0)
32
+ ], 8, A),
33
33
  e.separator ? (n(), l("div", {
34
34
  key: 0,
35
35
  ref: "containerItemsEl",
36
36
  class: "AT-INPUT_items",
37
37
  onClick: s[1] || (s[1] = (...o) => e.handleOnFocus && e.handleOnFocus(...o))
38
38
  }, [
39
- (n(!0), l(v, null, k(e.selectedItemsController.itemsToRender, (o) => (n(), l("span", {
39
+ (n(!0), l(C, null, v(e.selectedItemsController.itemsToRender, (o) => (n(), l("span", {
40
40
  key: o.value,
41
41
  ref_for: !0,
42
42
  ref: "selectedItemsEl",
43
43
  title: o.text,
44
44
  class: "AT-INPUT_item"
45
45
  }, [
46
- r("span", N, i(o.text), 1),
47
- r("span", {
46
+ i("span", F, t(o.text), 1),
47
+ i("span", {
48
48
  class: "AT-INPUT_item_slot_x",
49
49
  style: { padding: "1px 5px" },
50
50
  onClick: () => {
51
- var t;
52
- (t = e.onSelectedItemClick) == null || t.call(e, o == null ? void 0 : o.value);
51
+ var p;
52
+ (p = e.onSelectedItemClick) == null || p.call(e, o == null ? void 0 : o.value);
53
53
  }
54
54
  }, "x", 8, O)
55
- ], 8, F))), 128)),
56
- e.selectedItems.length > e.selectedItemsController.supportedItems ? (n(), l("span", b, "+ " + i(e.selectedItems.length - e.selectedItemsController.supportedItems), 1)) : d("", !0)
57
- ], 512)) : (n(), l("input", C({ key: 1 }, e.$attrs, {
55
+ ], 8, b))), 128)),
56
+ e.selectedItems.length > e.selectedItemsController.supportedItems ? (n(), l("span", P, "+ " + t(e.selectedItems.length - e.selectedItemsController.supportedItems), 1)) : r("", !0)
57
+ ], 512)) : (n(), l("input", T({ key: 1 }, e.$attrs, {
58
58
  id: e.id,
59
59
  ref: "inputEl",
60
60
  style: { cursor: e.cursor },
@@ -70,30 +70,41 @@ function U(e, s, B, E, z, S) {
70
70
  }), null, 16, g)),
71
71
  e.$props.icon ? (n(), l("div", {
72
72
  key: 2,
73
- class: T(["AT_INPUT_icon_slot", { clickable: e.useClearButton && e.isFocused }]),
74
- onClick: s[6] || (s[6] = (o) => e.showClearButton ? e.clearInput() : null)
73
+ class: m(["AT_INPUT_side_icon_slot", { clickable: e.useSideClearButton }]),
74
+ onClick: s[6] || (s[6] = (o) => e.showSideClearButton ? e.clearInput() : null)
75
75
  }, [
76
- e.showClearButton ? (n(), p(a, {
76
+ e.showSideClearButton ? (n(), d(u, {
77
77
  key: 0,
78
78
  size: "20",
79
79
  onClick: s[5] || (s[5] = (o) => e.clearInput())
80
- })) : (n(), p(y(e.icons[e.$props.icon.name]), {
80
+ })) : r("", !0)
81
+ ], 2)) : r("", !0),
82
+ e.$props.icon ? (n(), l("div", {
83
+ key: 3,
84
+ class: m(["AT_INPUT_icon_slot", { clickable: e.useClearButton && e.isFocused }]),
85
+ onClick: s[8] || (s[8] = (o) => e.showClearButton ? e.clearInput() : null)
86
+ }, [
87
+ e.showClearButton ? (n(), d(u, {
88
+ key: 0,
89
+ size: "20",
90
+ onClick: s[7] || (s[7] = (o) => e.clearInput())
91
+ })) : (n(), d(y(e.icons[e.$props.icon.name]), {
81
92
  key: 1,
82
93
  size: e.$props.icon.size || "20",
83
94
  color: e.iconColor
84
95
  }, null, 8, ["size", "color"]))
85
- ], 2)) : d("", !0)
96
+ ], 2)) : r("", !0)
86
97
  ], 40, $),
87
- e.error.value ? (n(), l("span", P, [
88
- r("img", {
98
+ e.error.value ? (n(), l("span", h, [
99
+ i("img", {
89
100
  src: e.icons.error,
90
101
  alt: "error icon"
91
- }, null, 8, M),
92
- u(" " + i(e.error.message), 1)
93
- ])) : d("", !0)
102
+ }, null, 8, U),
103
+ a(" " + t(e.error.message), 1)
104
+ ])) : r("", !0)
94
105
  ]);
95
106
  }
96
- const D = /* @__PURE__ */ f(m, [["render", U], ["__scopeId", "data-v-e61ec0fd"]]);
107
+ const X = /* @__PURE__ */ f(I, [["render", B], ["__scopeId", "data-v-7185ef0b"]]);
97
108
  export {
98
- D as default
109
+ X as default
99
110
  };
@@ -1,11 +1,11 @@
1
- import { defineComponent as j, ref as u, computed as c, onMounted as z, onBeforeUnmount as N, watchEffect as U, watch as T, nextTick as D } from "vue";
2
- import { AtCircleXMarkSolidIcon as P } from "../node_modules/.pnpm/@agrotools1_at-icons@0.2.11/node_modules/@agrotools1/at-icons/dist/AtCircleXMarkSolidIcon/index.js";
3
- import X from "../Icons/icons.js";
4
- import H from "./imgs/error.svg.js";
5
- const Y = j({
1
+ import { defineComponent as z, ref as u, computed as s, onMounted as N, onBeforeUnmount as U, watchEffect as D, watch as T, nextTick as P } from "vue";
2
+ import { AtCircleXMarkSolidIcon as X } from "../node_modules/.pnpm/@agrotools1_at-icons@0.2.11/node_modules/@agrotools1/at-icons/dist/AtCircleXMarkSolidIcon/index.js";
3
+ import H from "../Icons/icons.js";
4
+ import G from "./imgs/error.svg.js";
5
+ const Z = z({
6
6
  name: "AtCoreInput",
7
7
  components: {
8
- AtCircleXMarkSolidIcon: P
8
+ AtCircleXMarkSolidIcon: X
9
9
  },
10
10
  props: {
11
11
  modelValue: {
@@ -85,6 +85,10 @@ const Y = j({
85
85
  type: Boolean,
86
86
  default: !1
87
87
  },
88
+ useSideClearButton: {
89
+ type: Boolean,
90
+ default: !1
91
+ },
88
92
  forceEventClearButton: {
89
93
  type: Boolean,
90
94
  default: !1
@@ -97,34 +101,36 @@ const Y = j({
97
101
  "clearInput",
98
102
  "mouseover"
99
103
  ],
100
- setup(e, { emit: d }) {
101
- const A = { ...X }, b = u(null), V = u(null), f = u(null), E = u(null), O = c(() => e.error), a = u(!1), i = u(""), s = u(!1), k = c(
102
- () => e.useClearButton && a.value && e.modelValue && !s.value
104
+ setup(e, { emit: c }) {
105
+ const A = { ...H }, B = u(null), V = u(null), f = u(null), b = u(null), O = s(() => e.error), a = u(!1), i = u(""), d = u(!1), E = s(
106
+ () => e.useClearButton && a.value && e.modelValue && !d.value
107
+ ), q = s(
108
+ () => e.useSideClearButton && !e.useClearButton && e.modelValue && !d.value
103
109
  ), y = u({
104
110
  supportedItems: e.selectedItems.length,
105
111
  isCounterActive: !1,
106
112
  itemsToRender: e.selectedItems
107
- }), q = Math.random().toString(36).substring(2), r = u(!1), F = () => {
108
- r.value = !0;
109
- }, M = () => {
110
- r.value = !1;
113
+ }), F = Math.random().toString(36).substring(2), o = u(!1), M = () => {
114
+ o.value = !0;
115
+ }, L = () => {
116
+ o.value = !1;
111
117
  }, g = () => {
112
118
  a.value = !0;
113
119
  }, v = () => {
114
- e.forceFocus || (e.forceEventClearButton ? a.value = !0 : w(() => {
120
+ e.forceFocus || (e.forceEventClearButton ? a.value = !0 : k(() => {
115
121
  a.value = !1;
116
122
  }, 100)());
117
123
  }, m = async () => {
118
- var S;
119
- y.value.itemsToRender = e.selectedItems, await D();
120
- const t = (S = f.value) == null ? void 0 : S.clientWidth;
124
+ var w;
125
+ y.value.itemsToRender = e.selectedItems, await P();
126
+ const t = (w = f.value) == null ? void 0 : w.clientWidth;
121
127
  if (t === void 0)
122
128
  return;
123
129
  let l = 50, n = 0;
124
- const o = E.value;
125
- if (o)
126
- for (let I = 0; I < o.length; I++)
127
- l += o[I].clientWidth + 10, l <= t && (n = I + 1);
130
+ const r = b.value;
131
+ if (r)
132
+ for (let I = 0; I < r.length; I++)
133
+ l += r[I].clientWidth + 10, l <= t && (n = I + 1);
128
134
  let C;
129
135
  l >= t ? C = {
130
136
  isCounterActive: l > (t || 0),
@@ -135,37 +141,37 @@ const Y = j({
135
141
  supportedItems: e.selectedItems.length,
136
142
  itemsToRender: e.selectedItems
137
143
  }, y.value = C;
138
- }, B = (t) => {
144
+ }, S = (t) => {
139
145
  var l, n;
140
- !((l = b.value) != null && l.contains(t.target)) && !((n = V.value) != null && n.contains(t.target)) && !k.value && !s.value && (v(), a.value = !1, d("clickOutside"));
146
+ !((l = B.value) != null && l.contains(t.target)) && !((n = V.value) != null && n.contains(t.target)) && !E.value && !d.value && (v(), a.value = !1, c("clickOutside"));
141
147
  };
142
- z(() => {
148
+ N(() => {
143
149
  var t;
144
- (e.modelValue !== void 0 && ((t = e.modelValue) != null && t.length) || e.forceFocus) && g(), document.addEventListener("click", B), window.addEventListener("resize", m);
145
- }), N(() => {
146
- document.removeEventListener("click", B), window.removeEventListener("resize", m);
150
+ (e.modelValue !== void 0 && ((t = e.modelValue) != null && t.length) || e.forceFocus) && g(), document.addEventListener("click", S), window.addEventListener("resize", m);
151
+ }), U(() => {
152
+ document.removeEventListener("click", S), window.removeEventListener("resize", m);
147
153
  });
148
- const L = (t) => {
154
+ const _ = (t) => {
149
155
  e.preventInputEvent && t.preventDefault();
150
156
  const l = t.target.value;
151
- d("input", t), e.debounce > 0 ? w(() => h(l), e.debounce)() : h(l);
157
+ c("input", t), e.debounce > 0 ? k(() => h(l), e.debounce)() : h(l);
152
158
  }, h = (t) => {
153
- d("update:modelValue", t), e.modelValue === void 0 && (i.value = t);
159
+ c("update:modelValue", t), e.modelValue === void 0 && (i.value = t);
154
160
  };
155
- function w(t, l) {
161
+ function k(t, l) {
156
162
  let n;
157
163
  return function() {
158
164
  clearTimeout(n), n = setTimeout(t, l);
159
165
  };
160
166
  }
161
- const _ = () => {
162
- s.value = !0, a.value = !1, d("clearInput"), setTimeout(() => {
163
- e.forceEventClearButton || h(""), s.value = !1;
167
+ const x = () => {
168
+ d.value = !0, a.value = !1, c("clearInput"), setTimeout(() => {
169
+ e.forceEventClearButton || h(""), d.value = !1;
164
170
  }, 100);
165
171
  };
166
- U(() => {
172
+ D(() => {
167
173
  var t, l;
168
- e.separator && ((e.modelValue !== void 0 ? e.modelValue.split(e.separator).filter((o) => o.length > 1) : i.value.split(e.separator).filter((o) => o.length > 1)).length ? (t = f.value) == null || t.classList.remove("AT-INPUT_items_empty") : ((l = f.value) == null || l.classList.add("AT-INPUT_items_empty"), v(), a.value = !1)), e.forceFocus ? g() : (v(), a.value = !1);
174
+ 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 = f.value) == null || t.classList.remove("AT-INPUT_items_empty") : ((l = f.value) == null || l.classList.add("AT-INPUT_items_empty"), v(), a.value = !1)), e.forceFocus ? g() : (v(), a.value = !1);
169
175
  }), T(
170
176
  () => e.selectedItems,
171
177
  async () => {
@@ -173,44 +179,45 @@ const Y = j({
173
179
  },
174
180
  { deep: !0 }
175
181
  ), T(
176
- () => r.value,
182
+ () => o.value,
177
183
  () => {
178
- d("mouseover", r.value);
184
+ c("mouseover", o.value);
179
185
  }
180
186
  );
181
- const x = c(() => {
187
+ const R = s(() => {
182
188
  var t;
183
- 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)" : r.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)";
184
- }), R = c(() => e.disabled ? "disabled" : e.selectedItems.length > 0 ? "filled" : a.value ? "focused" : e.error.value ? "error" : r.value ? "hover" : e.modelValue !== void 0 && e.modelValue.length > 0 || i.value.length > 0 ? "filled" : "default"), W = c(() => e.modelValue !== void 0 ? e.modelValue : i.value ? i.value : null);
189
+ 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 || i.value.length > 0 ? "var(--at-black)" : "var(--at-dark-grey)";
190
+ }), W = s(() => 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 || i.value.length > 0 ? "filled" : "default"), j = s(() => e.modelValue !== void 0 ? e.modelValue : i.value ? i.value : null);
185
191
  return {
186
- wrapperEl: b,
192
+ wrapperEl: B,
187
193
  inputEl: V,
188
194
  inputError: O,
189
- inputId: e.id ?? q,
195
+ inputId: e.id ?? F,
190
196
  handleOnFocus: g,
191
197
  handleOnFocusOut: v,
192
198
  icons: {
193
- error: H,
199
+ error: G,
194
200
  ...A
195
201
  },
196
- clickedClear: s,
197
- showClearButton: k,
198
- clearInput: _,
202
+ clickedClear: d,
203
+ showClearButton: E,
204
+ showSideClearButton: q,
205
+ clearInput: x,
199
206
  containerItemsEl: f,
200
- onInput: L,
201
- iconColor: x,
207
+ onInput: _,
208
+ iconColor: R,
202
209
  isFocused: a,
203
- handleMouseOver: F,
204
- handleMouseLeave: M,
205
- isHovered: r,
206
- inputComputedValue: W,
207
- currentMode: R,
208
- selectedItemsEl: E,
210
+ handleMouseOver: M,
211
+ handleMouseLeave: L,
212
+ isHovered: o,
213
+ inputComputedValue: j,
214
+ currentMode: W,
215
+ selectedItemsEl: b,
209
216
  selectedItemsController: y,
210
217
  resizeSelectedItems: m
211
218
  };
212
219
  }
213
220
  });
214
221
  export {
215
- Y as default
222
+ Z as default
216
223
  };
@@ -1,4 +1,4 @@
1
- const N = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoCiAgICAgICAgZD0iTTYuNTQ0NTggNC41NDQ1OEw1LjU4OTE3IDUuNUw2LjU0NDU4IDYuNDU1NDJDNi43MDc1IDYuNjE4MzMgNi43MDc1IDYuODgxNjcgNi41NDQ1OCA3LjA0NDU4QzYuNDYzMzMgNy4xMjU4MyA2LjM1NjY3IDcuMTY2NjcgNi4yNSA3LjE2NjY3QzYuMTQzMzMgNy4xNjY2NyA2LjAzNjY3IDcuMTI1ODMgNS45NTU0MiA3LjA0NDU4TDUgNi4wODkxN0w0LjA0NDU4IDcuMDQ0NThDMy45NjMzMy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5LjE2NjY3IDMuMjAyNSA3LjI5NzUgMS4zMzMzMyA1IDEuMzMzMzNDMi43MDI1IDEuMzMzMzMgMC44MzMzMzMgMy4yMDI1IDAuODMzMzMzIDUuNUMwLjgzMzMzMyA3Ljc5NzUgMi43MDI1IDkuNjY2NjcgNSA5LjY2NjY3QzcuMjk3NSA5LjY2NjY3IDkuMTY2NjcgNy43OTc1IDkuMTY2NjcgNS41WiINCiAgICAgICAgZmlsbD0iI0NCNEE1MCIgLz4NCjwvc3ZnPg==";
2
2
  export {
3
- N as default
3
+ M as default
4
4
  };
@@ -90,6 +90,10 @@ export declare const AtInput: {
90
90
  type: BooleanConstructor;
91
91
  default: boolean;
92
92
  };
93
+ useSideClearButton: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
93
97
  forceEventClearButton: {
94
98
  type: BooleanConstructor;
95
99
  default: boolean;
@@ -6214,6 +6218,7 @@ export declare const AtInput: {
6214
6218
  };
6215
6219
  clickedClear: import('vue').Ref<boolean>;
6216
6220
  showClearButton: import('vue').ComputedRef<boolean | "" | undefined>;
6221
+ showSideClearButton: import('vue').ComputedRef<boolean | "" | undefined>;
6217
6222
  clearInput: () => void;
6218
6223
  containerItemsEl: import('vue').Ref<HTMLDivElement | null>;
6219
6224
  onInput: (event: InputEvent) => void;
@@ -6328,6 +6333,10 @@ export declare const AtInput: {
6328
6333
  type: BooleanConstructor;
6329
6334
  default: boolean;
6330
6335
  };
6336
+ useSideClearButton: {
6337
+ type: BooleanConstructor;
6338
+ default: boolean;
6339
+ };
6331
6340
  forceEventClearButton: {
6332
6341
  type: BooleanConstructor;
6333
6342
  default: boolean;
@@ -6361,6 +6370,7 @@ export declare const AtInput: {
6361
6370
  cursor: string;
6362
6371
  selectedItems: import('../Select/Item/Item').SelectItemProps[];
6363
6372
  useClearButton: boolean;
6373
+ useSideClearButton: boolean;
6364
6374
  forceEventClearButton: boolean;
6365
6375
  }, {}>;
6366
6376
  };
@@ -2,15 +2,15 @@ import _ from "./Legend.vue2.js";
2
2
  import { resolveComponent as l, openBlock as t, createElementBlock as s, 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
3
  import "./Legend.vue3.js";
4
4
  import f from "../_virtual/_plugin-vue_export-helper.js";
5
- const b = { class: "legend-block" }, h = { 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" };
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
6
  function A(n, a, E, x, w, R) {
7
7
  const i = l("AtEyeAtivoRegularIcon"), u = l("AtEyeInativoRegularIcon"), p = l("AtButton");
8
- return t(), s("div", b, [
8
+ return t(), s("div", h, [
9
9
  o("ul", null, [
10
10
  (t(!0), s(g, null, m(n.legendItems, (e) => (t(), s("li", {
11
11
  key: e.name
12
12
  }, [
13
- o("div", h, [
13
+ o("div", b, [
14
14
  o("div", C, [
15
15
  o("div", {
16
16
  class: "color-bullet",
@@ -54,7 +54,7 @@ function A(n, a, E, x, w, R) {
54
54
  ])
55
55
  ]);
56
56
  }
57
- const T = /* @__PURE__ */ f(_, [["render", A], ["__scopeId", "data-v-6b0b4240"]]);
57
+ const T = /* @__PURE__ */ f(_, [["render", A], ["__scopeId", "data-v-a274a5cb"]]);
58
58
  export {
59
59
  T as default
60
60
  };
@@ -78,7 +78,7 @@ function b(e, R, L, _, w, D) {
78
78
  _: 3
79
79
  }, 8, ["id", "is-open", "position", "full-size", "onUpdate:isOpen"]);
80
80
  }
81
- const P = /* @__PURE__ */ I(k, [["render", b], ["__scopeId", "data-v-47dbe9f5"]]);
81
+ const P = /* @__PURE__ */ I(k, [["render", b], ["__scopeId", "data-v-72600db9"]]);
82
82
  export {
83
83
  P as default
84
84
  };
@@ -1,4 +1,4 @@
1
- const e = "";
1
+ const _ = "";
2
2
  export {
3
- e as default
3
+ _ as default
4
4
  };
@@ -1,10 +1,10 @@
1
- import I from "./Menu.vue2.js";
2
- import { openBlock as t, createElementBlock as o, createElementVNode as n, Fragment as l, renderList as i, normalizeClass as h, withModifiers as d, createBlock as p, resolveDynamicComponent as m, createCommentVNode as u, toDisplayString as r, createStaticVNode as b, pushScopeId as y, popScopeId as M } from "vue";
1
+ import b from "./Menu.vue2.js";
2
+ import { openBlock as t, createElementBlock as o, createElementVNode as n, Fragment as l, renderList as i, normalizeClass as h, withModifiers as d, createBlock as p, resolveDynamicComponent as m, createCommentVNode as u, toDisplayString as r, createStaticVNode as I, pushScopeId as y, popScopeId as M } from "vue";
3
3
  import g from "./assets/at.svg.js";
4
4
  import f from "./assets/agrotools.svg.js";
5
5
  import "./Menu.vue3.js";
6
6
  import $ from "../_virtual/_plugin-vue_export-helper.js";
7
- const q = (e) => (y("data-v-ec717841"), e = e(), M(), e), z = { class: "aside-container" }, E = /* @__PURE__ */ b('<div class="item" data-v-ec717841><div class="uniq logo" style="height:48px;" data-v-ec717841><span class="at-icon-logo" data-v-ec717841><img alt="at logo" src="' + g + '" data-v-ec717841></span><span class="at-logo" data-v-ec717841><img alt="agrotools" src="' + f + '" data-v-ec717841></span></div><div class="divider" data-v-ec717841></div></div>', 1), S = { class: "item menu-scroll-container" }, B = { class: "uniq menu-scroll" }, L = {
7
+ const q = (e) => (y("data-v-827cadb4"), e = e(), M(), e), z = { class: "aside-container" }, E = /* @__PURE__ */ I('<div class="item" data-v-827cadb4><div class="uniq logo" style="height:48px;" data-v-827cadb4><span class="at-icon-logo" data-v-827cadb4><img alt="at logo" src="' + g + '" data-v-827cadb4></span><span class="at-logo" data-v-827cadb4><img alt="agrotools" src="' + f + '" data-v-827cadb4></span></div><div class="divider" data-v-827cadb4></div></div>', 1), S = { class: "item menu-scroll-container" }, B = { class: "uniq menu-scroll" }, L = {
8
8
  class: "actions",
9
9
  "aria-label": "Site menu"
10
10
  }, N = { class: "menu" }, V = ["data-active", "disabled", "onClick"], w = ["onClick"], A = {
@@ -152,7 +152,7 @@ function _s(e, k, vs, hs, ks, ps) {
152
152
  ])
153
153
  ], 32);
154
154
  }
155
- const gs = /* @__PURE__ */ $(I, [["render", _s], ["__scopeId", "data-v-ec717841"]]);
155
+ const gs = /* @__PURE__ */ $(b, [["render", _s], ["__scopeId", "data-v-827cadb4"]]);
156
156
  export {
157
157
  gs as default
158
158
  };