@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,59 +0,0 @@
1
- import { defineComponent as o, ref as i } from "vue";
2
- import { AtInput as c } from "../Input/index.js";
3
- import "./Item/Item.vue2.js";
4
- import "./Item/Item.vue3.js";
5
- const v = o({
6
- name: "AtSelect",
7
- components: {
8
- AtInput: c.Text
9
- },
10
- props: {
11
- defaultValue: {
12
- type: Object
13
- },
14
- label: {
15
- type: String,
16
- default: ""
17
- },
18
- items: {
19
- type: Array
20
- },
21
- forceValue: {
22
- type: Boolean,
23
- default: !1
24
- },
25
- separator: {
26
- type: String,
27
- default: void 0
28
- },
29
- selectedItems: {
30
- type: Array,
31
- default: () => []
32
- },
33
- onSelectedItemClick: {
34
- type: Function,
35
- required: !1
36
- }
37
- },
38
- setup(e) {
39
- const r = i(null), d = () => {
40
- var t, a, l, u;
41
- return e.forceValue ? (t = e.defaultValue) == null ? void 0 : t.value : ((a = e.items) == null ? void 0 : a.find(
42
- (f) => {
43
- var n;
44
- return f.value === ((n = e.defaultValue) == null ? void 0 : n.value);
45
- }
46
- )) ? (u = e.defaultValue) == null ? void 0 : u.value : (console.warn(
47
- `The default value "${(l = e.defaultValue) == null ? void 0 : l.value}" is not included in the items array.`
48
- ), e.label || "Sem valor");
49
- };
50
- return {
51
- id: `at-select-${Math.random().toString(36).substr(2, 9)}`,
52
- handleDefaultValue: d,
53
- atInput: r
54
- };
55
- }
56
- });
57
- export {
58
- v as default
59
- };
@@ -1,60 +0,0 @@
1
- import p from "./Select.multiple.vue2.js";
2
- import { resolveComponent as r, openBlock as a, createElementBlock as l, createVNode as u, Fragment as m, renderList as k, createBlock as v, createCommentVNode as f, createElementVNode as c } from "vue";
3
- import "./Select.multiple.vue3.js";
4
- import C from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const h = {
6
- key: 0,
7
- role: "group",
8
- "aria-orientation": "vertical",
9
- tabindex: "-1",
10
- class: "AT-SELECT_items-container"
11
- }, S = ["aria-expanded"], g = ["src"];
12
- function b(e, n, A, E, I, y) {
13
- const i = r("AtSingleCore"), d = r("AtItem");
14
- return a(), l("div", {
15
- ref: "containerRef",
16
- class: "AT-SELECT_wrapper",
17
- onClick: n[0] || (n[0] = (t) => e.isOpen = !e.isOpen)
18
- }, [
19
- u(i, {
20
- "default-value": { value: e.values, text: e.values },
21
- "selected-items": e.selectedValues,
22
- label: e.label,
23
- "on-selected-item-click": e.onSelectedItemClick,
24
- items: e.myItems,
25
- "force-value": !0,
26
- separator: e.separator
27
- }, null, 8, ["default-value", "selected-items", "label", "on-selected-item-click", "items", "separator"]),
28
- e.isOpen ? (a(), l("div", h, [
29
- (a(!0), l(m, null, k(e.myItems, (t) => (a(), v(d, {
30
- key: t.value,
31
- text: t.text,
32
- value: t.value,
33
- icon: t.icon,
34
- "data-text": t.text,
35
- "checkbox-value": t.isSelected,
36
- "on-click": (o) => {
37
- o.stopPropagation();
38
- },
39
- type: "multiple",
40
- "on-checkbox-change": (o) => {
41
- var s;
42
- (s = t.onCheckboxChange) == null || s.call(t, { ...o, item: t }), e.onSelectedValueChange({ ...t }, o.isChecked), o.isChecked ? t.isSelected = !0 : t.isSelected = !1, e.$emit("update:items", e.myItems);
43
- }
44
- }, null, 8, ["text", "value", "icon", "data-text", "checkbox-value", "on-click", "on-checkbox-change"]))), 128))
45
- ])) : f("", !0),
46
- c("div", {
47
- class: "AT-SELECT_indicator",
48
- "aria-expanded": e.isOpen
49
- }, [
50
- c("img", {
51
- src: e.icons.indicatorSvg,
52
- alt: "Indicador de estado"
53
- }, null, 8, g)
54
- ], 8, S)
55
- ], 512);
56
- }
57
- const L = /* @__PURE__ */ C(p, [["render", b], ["__scopeId", "data-v-8f897b33"]]);
58
- export {
59
- L as default
60
- };
@@ -1,97 +0,0 @@
1
- import { defineComponent as I, ref as p, reactive as v, computed as h, onMounted as V, onUnmounted as A } from "vue";
2
- import w from "./Select.core.vue.js";
3
- import C from "./Item/Item.vue.js";
4
- import k from "./imgs/indicator.svg.js";
5
- const j = I({
6
- name: "AtMultipleSelect",
7
- components: {
8
- AtSingleCore: w,
9
- AtItem: C
10
- },
11
- props: {
12
- defaultValues: {
13
- type: Array,
14
- default: () => []
15
- },
16
- label: {
17
- type: String,
18
- default: ""
19
- },
20
- items: {
21
- type: Array,
22
- default: () => [],
23
- validator: (n) => Array.isArray(n) && n.every((u) => typeof u == "object")
24
- },
25
- separator: {
26
- type: String,
27
- default: ","
28
- }
29
- },
30
- emits: ["update:items", "update:selectedItems"],
31
- setup(n, u) {
32
- const d = p(!1), f = p(null), o = v(n.items), i = v(
33
- n.defaultValues || []
34
- ), y = h(
35
- () => [...i].map((t) => t.value).join(n.separator)
36
- ), r = (t, l) => {
37
- const a = o.find((e) => e.value === t.value);
38
- if (l) {
39
- if (i.find(
40
- (s) => s.value === t.value
41
- ))
42
- return;
43
- i.push(t), a && (a.isSelected = !0);
44
- } else {
45
- const e = i.findIndex(
46
- (s) => s.value === t.value
47
- );
48
- if (e === -1)
49
- return;
50
- i.splice(e, 1), a && (a.isSelected = !1);
51
- }
52
- u.emit("update:selectedItems", i);
53
- }, S = (t, l = !0) => {
54
- const a = n.items.find((e) => e.value === t);
55
- a && (r(a, !1), d.value = l);
56
- }, g = () => {
57
- var a;
58
- const t = new Map(
59
- (a = n.defaultValues) == null ? void 0 : a.map((e) => [e.value, e])
60
- ), l = [];
61
- if (n.defaultValues) {
62
- for (let e = 0; e < o.length; e++) {
63
- const s = o[e], c = t.get(s.value);
64
- c && l.push(c), s.isSelected = t.has(s.value);
65
- }
66
- for (let e = 0; e < l.length; e++) {
67
- const c = { ...l[e], isSelected: !0 };
68
- r(c, !0);
69
- }
70
- u.emit("update:items", o);
71
- }
72
- }, m = (t) => {
73
- var a;
74
- const l = t.target;
75
- (a = f.value) != null && a.contains(l) || (d.value = !1);
76
- };
77
- return V(() => {
78
- g(), window.addEventListener("click", m);
79
- }), A(() => {
80
- window.removeEventListener("click", m);
81
- }), {
82
- onSelectedValueChange: r,
83
- onSelectedItemClick: S,
84
- myItems: o,
85
- values: y,
86
- selectedValues: i,
87
- isOpen: d,
88
- containerRef: f,
89
- icons: {
90
- indicatorSvg: k
91
- }
92
- };
93
- }
94
- });
95
- export {
96
- j as default
97
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,47 +0,0 @@
1
- import c from "./Select.single.vue2.js";
2
- import { resolveComponent as s, openBlock as l, createElementBlock as n, createVNode as d, withModifiers as v, Fragment as f, renderList as k, createBlock as m, createCommentVNode as C } from "vue";
3
- import "./Select.single.vue3.js";
4
- import A from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- function S(o, t, g, V, $, y) {
6
- const u = s("AtSingleCore"), p = s("AtItem");
7
- return l(), n("div", {
8
- class: "AT-SELECT_wrapper",
9
- onClick: t[1] || (t[1] = (e) => o.open = !o.open)
10
- }, [
11
- d(u, {
12
- "default-value": o.selectedValue,
13
- label: o.label,
14
- items: o.items,
15
- "force-value": o.forceValue
16
- }, null, 8, ["default-value", "label", "items", "force-value"]),
17
- o.open ? (l(), n("div", {
18
- key: 0,
19
- role: "group",
20
- "aria-orientation": "vertical",
21
- tabindex: "-1",
22
- class: "AT-SELECT_items-container",
23
- onClick: t[0] || (t[0] = v((e) => o.open = !1, ["stop"]))
24
- }, [
25
- (l(!0), n(f, null, k(o.items, (e) => {
26
- var a;
27
- return l(), m(p, {
28
- key: e.value,
29
- text: e.text,
30
- value: e.value,
31
- type: e.type,
32
- icon: e.icon,
33
- "aria-selected": e.value === ((a = o.selectedValue) == null ? void 0 : a.value),
34
- "data-text": e.text,
35
- "on-click": (i) => {
36
- var r;
37
- o.onSelectedValueChange(e), (r = e.onClick) == null || r.call(e, i);
38
- }
39
- }, null, 8, ["text", "value", "type", "icon", "aria-selected", "data-text", "on-click"]);
40
- }), 128))
41
- ])) : C("", !0)
42
- ]);
43
- }
44
- const I = /* @__PURE__ */ A(c, [["render", S], ["__scopeId", "data-v-fa7d0463"]]);
45
- export {
46
- I as default
47
- };
@@ -1,41 +0,0 @@
1
- import { defineComponent as n, ref as o } from "vue";
2
- import r from "./Select.core.vue.js";
3
- import f from "./Item/Item.vue.js";
4
- const m = n({
5
- name: "AtSingleSelect",
6
- components: {
7
- AtSingleCore: r,
8
- AtItem: f
9
- },
10
- props: {
11
- defaultValue: {
12
- type: Object
13
- },
14
- label: {
15
- type: String,
16
- default: ""
17
- },
18
- items: {
19
- type: Array,
20
- default: () => [],
21
- validator: (e) => Array.isArray(e) && e.every((t) => typeof t == "object")
22
- },
23
- forceValue: {
24
- type: Boolean,
25
- default: !1
26
- }
27
- },
28
- setup(e) {
29
- const t = o(!1), a = o(e.defaultValue);
30
- return {
31
- onSelectedValueChange: (l) => {
32
- a.value = l, t.value = !1;
33
- },
34
- selectedValue: a,
35
- open: t
36
- };
37
- }
38
- });
39
- export {
40
- m as default
41
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const M = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNSIgdmlld0JveD0iMCAwIDEwIDUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQo8cGF0aCBkPSJNOC45MTQxNiAwLjc4OTE4N0M4Ljg1OTkzIDAuNzM0NTEyIDguNzk1NDIgMC42OTExMTUgOC43MjQz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jM5IDkuMDgzNzkgMS4zNTQ1NSA5LjA4Mzc5IDEuMjAwNDRDOS4wODM3OSAxLjA0NjMzIDkuMDIyODEgMC44OTg0ODIgOC45MTQxNiAwLjc4OTE4N1oiIGZpbGw9IiNBMEEwQTAiLz4NCjwvc3ZnPg0K";
2
- export {
3
- M as default
4
- };
@@ -1,9 +0,0 @@
1
- import t from "./Select.single.vue.js";
2
- import e from "./Select.multiple.vue.js";
3
- const o = {
4
- Single: t,
5
- Multiple: e
6
- };
7
- export {
8
- o as AtSelect
9
- };
@@ -1,30 +0,0 @@
1
- import r from "./Tab.vue2.js";
2
- import { openBlock as t, createElementBlock as e, createCommentVNode as i, createElementVNode as c, toDisplayString as s } from "vue";
3
- import "./Tab.vue3.js";
4
- import l from "../../../../../_virtual/_plugin-vue_export-helper.js";
5
- const d = ["aria-selected"], p = ["src", "alt"], m = { class: "Tab_title" }, f = {
6
- key: 1,
7
- class: "Tab_notifications"
8
- };
9
- function u(o, n, _, b, k, y) {
10
- return t(), e("button", {
11
- type: "button",
12
- role: "tab",
13
- tabindex: "-1",
14
- "aria-selected": o.isSelected,
15
- onClick: n[0] || (n[0] = (...a) => o.onClick && o.onClick(...a))
16
- }, [
17
- o.icon ? (t(), e("img", {
18
- key: 0,
19
- class: "Tab_icon",
20
- src: o.icons[o.icon],
21
- alt: o.icon
22
- }, null, 8, p)) : i("", !0),
23
- c("span", m, s(o.title), 1),
24
- o.notifications > 0 ? (t(), e("span", f, s(o.notifications), 1)) : i("", !0)
25
- ], 8, d);
26
- }
27
- const B = /* @__PURE__ */ l(r, [["render", u], ["__scopeId", "data-v-50140532"]]);
28
- export {
29
- B as default
30
- };
@@ -1,40 +0,0 @@
1
- import { defineComponent as t } from "vue";
2
- import e from "../imgs/warning.svg.js";
3
- import n from "../imgs/check.svg.js";
4
- const r = t({
5
- name: "AtTab",
6
- props: {
7
- title: {
8
- type: String,
9
- default: ""
10
- },
11
- isSelected: {
12
- type: Boolean,
13
- default: !1
14
- },
15
- notifications: {
16
- type: Number,
17
- default: 0
18
- },
19
- icon: {
20
- type: String,
21
- default: void 0
22
- },
23
- onClick: {
24
- type: Function,
25
- default: () => {
26
- }
27
- }
28
- },
29
- setup() {
30
- return {
31
- icons: {
32
- warning: e,
33
- check: n
34
- }
35
- };
36
- }
37
- });
38
- export {
39
- r as default
40
- };
@@ -1,4 +0,0 @@
1
- const _ = "";
2
- export {
3
- _ as default
4
- };
@@ -1,37 +0,0 @@
1
- import _ from "./Tabs.vue2.js";
2
- import { resolveComponent as m, openBlock as n, createElementBlock as c, createElementVNode as a, Fragment as p, renderList as f, createBlock as r, resolveDynamicComponent as u } from "vue";
3
- import "./Tabs.vue3.js";
4
- import T from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const b = { class: "Tabs_container" }, k = {
6
- class: "Tabs_tablist",
7
- role: "tablist",
8
- "aria-orientation": "horizontal",
9
- "tab-index": "0"
10
- }, h = { class: "Tabs_content" };
11
- function B(t, v, $, C, I, y) {
12
- var s;
13
- const l = m("TabButton");
14
- return n(), c("section", b, [
15
- a("div", k, [
16
- (n(!0), c(p, null, f(t.tabsList, (e, o) => (n(), r(l, {
17
- key: o,
18
- "is-selected": o === t.selectedTabIndeRef,
19
- title: e.title,
20
- notifications: e.notifications,
21
- icon: e.icon,
22
- "data-index": o,
23
- "on-click": (d) => {
24
- var i;
25
- (i = e.onClick) == null || i.call(e, d), t.selectedTabIndeRef = o;
26
- }
27
- }, null, 8, ["is-selected", "title", "notifications", "icon", "data-index", "on-click"]))), 128))
28
- ]),
29
- a("main", h, [
30
- (n(), r(u((s = t.selectedTab) == null ? void 0 : s.slot)))
31
- ])
32
- ]);
33
- }
34
- const z = /* @__PURE__ */ T(_, [["render", B], ["__scopeId", "data-v-f576be6b"]]);
35
- export {
36
- z as default
37
- };
@@ -1,33 +0,0 @@
1
- import { defineComponent as c, ref as b, computed as a, onMounted as f } from "vue";
2
- import i from "./Tab/Tab.vue.js";
3
- const p = c({
4
- name: "AtTabs",
5
- components: {
6
- TabButton: i
7
- },
8
- props: {
9
- tabs: {
10
- type: Array,
11
- default: () => [],
12
- required: !0
13
- },
14
- selectedTabIndex: {
15
- type: Number,
16
- default: 0
17
- }
18
- },
19
- setup(e) {
20
- const t = b(e.selectedTabIndex), n = window.history.state, o = a(() => e.tabs), d = a(() => e.tabs[t.value]);
21
- return f(() => {
22
- const r = n == null ? void 0 : n.current, s = o.value.findIndex((u) => u.routeName === r);
23
- s !== -1 && (t.value = s);
24
- }), {
25
- tabsList: o,
26
- selectedTab: d,
27
- selectedTabIndeRef: t
28
- };
29
- }
30
- });
31
- export {
32
- p as default
33
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- const I = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9InJnYmEoODUsIDAsIDExNSwgMSkiIHdpZHRoPSIxM3B4IiBoZWlnaHQ9IjEzcHgiDQogICAgYWx0PSJjaGVjayINCiAgICB2aWV3Qm94PSIwIDAgMTAuMjgxIDcuNjY3Ij4NCiAgICA8cGF0aA0KICAgICAgICBpZD0iSWNvbl9hd2Vzb21lLWNoZWNrIg0KICAgICAgICBkYXRhLW5hbWU9Ikljb24gYXdlc29tZS1jaGVjayINCiAgICAgICAgZD0iTTMuNDkyLDEyLjA5My4xNTEsOC43NTJhLjUxNC41MTQsMCwwLDEsMC0uNzI3TC44NzgsNy4zYS41MTQuNTE0LDAsMCwxLC43MjcsMEwzLjg1NSw5LjU0OSw4LjY3Nyw0LjcyOGEuNTE0LjUxNCwwLDAsMSwuNzI3LDBsLjcyNy43MjdhLjUxNC41MTQsMCwwLDEsMCwuNzI3TDQuMjE5LDEyLjA5M0EuNTE0LjUxNCwwLDAsMSwzLjQ5MiwxMi4wOTNaIg0KICAgICAgICB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIC00LjU3NykiDQogICAgLz4NCjwvc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Q5NjEgMTIuNUMwLjA4MzQ5NjEgMTMuMDA2MyAwLjQ5MzkwMiAxMy40MTY3IDEuMDAwMTYgMTMuNDE2N0MxLjUwNjQyIDEzLjQxNjcgMS45MTY4MyAxMy4wMDYzIDEuOTE2ODMgMTIuNVoiDQogICAgICAgIGZpbGw9InJnYmEoODUsIDAsIDExNSwgMSkiIC8+DQo8L3N2Zz4=";
2
- export {
3
- M as default
4
- };
@@ -1,18 +0,0 @@
1
- import t from "./Paragraph.vue2.js";
2
- import { openBlock as a, createElementBlock as o, renderSlot as r } from "vue";
3
- import "./Paragraph.vue3.js";
4
- import s from "../../../../../_virtual/_plugin-vue_export-helper.js";
5
- const i = ["data-size", "data-weight"];
6
- function d(e, p, n, c, m, f) {
7
- return a(), o("p", {
8
- "data-size": e.size,
9
- "data-weight": e.weight,
10
- class: "element"
11
- }, [
12
- r(e.$slots, "default", {}, void 0, !0)
13
- ], 8, i);
14
- }
15
- const $ = /* @__PURE__ */ s(t, [["render", d], ["__scopeId", "data-v-13a5e878"]]);
16
- export {
17
- $ as default
18
- };
@@ -1,21 +0,0 @@
1
- import { defineComponent as e } from "vue";
2
- const r = e({
3
- name: "AtParagraph",
4
- props: {
5
- weight: {
6
- type: String,
7
- default: "regular"
8
- },
9
- size: {
10
- type: String,
11
- required: !0,
12
- default: "p1"
13
- }
14
- },
15
- setup() {
16
- return {};
17
- }
18
- });
19
- export {
20
- r as default
21
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,18 +0,0 @@
1
- import e from "./Title.vue2.js";
2
- import { openBlock as t, createBlock as r, resolveDynamicComponent as s, normalizeClass as a, withCtx as l, renderSlot as n } from "vue";
3
- import "./Title.vue3.js";
4
- import p from "../../../../../_virtual/_plugin-vue_export-helper.js";
5
- function c(o, d, i, m, f, _) {
6
- return t(), r(s(o.as), {
7
- class: a(["element", { "font-bold": o.bold }])
8
- }, {
9
- default: l(() => [
10
- n(o.$slots, "default", {}, void 0, !0)
11
- ]),
12
- _: 3
13
- }, 8, ["class"]);
14
- }
15
- const C = /* @__PURE__ */ p(e, [["render", c], ["__scopeId", "data-v-97a66b12"]]);
16
- export {
17
- C as default
18
- };
@@ -1,21 +0,0 @@
1
- import { defineComponent as e } from "vue";
2
- const o = e({
3
- name: "AtTitle",
4
- props: {
5
- bold: {
6
- type: Boolean,
7
- default: !1
8
- },
9
- as: {
10
- type: String,
11
- required: !0,
12
- default: "h1"
13
- }
14
- },
15
- setup() {
16
- return {};
17
- }
18
- });
19
- export {
20
- o as default
21
- };
@@ -1,4 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
@@ -1,9 +0,0 @@
1
- import r from "./Title/Title.vue.js";
2
- import t from "./Paragraph/Paragraph.vue.js";
3
- const p = {
4
- Title: r,
5
- Paragraph: t
6
- };
7
- export {
8
- p as AtTipograph
9
- };
@@ -1,30 +0,0 @@
1
- import a from "./Toggle.vue2.js";
2
- import { openBlock as r, createElementBlock as t, normalizeClass as d, normalizeStyle as o, createElementVNode as l } from "vue";
3
- import "./Toggle.vue3.js";
4
- import n from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const p = ["data-state", "aria-pressed", "disabled"];
6
- function f(e, s, m, b, u, z) {
7
- return r(), t("button", {
8
- ref: "buttonRef",
9
- type: "button",
10
- "data-state": e.isChecked ? "on" : "off",
11
- "aria-pressed": e.isChecked,
12
- class: d(e.size),
13
- disabled: e.isDisabled,
14
- style: o({
15
- borderRadius: e.borderSizeMap[e.size]
16
- }),
17
- onClick: s[0] || (s[0] = (...i) => e.onClick && e.onClick(...i))
18
- }, [
19
- l("span", {
20
- style: o({
21
- width: e.circleSizeMap[e.size],
22
- height: e.circleSizeMap[e.size]
23
- })
24
- }, null, 4)
25
- ], 14, p);
26
- }
27
- const y = /* @__PURE__ */ n(a, [["render", f], ["__scopeId", "data-v-aff8d1b1"]]);
28
- export {
29
- y as default
30
- };