@agrotools1/at-components 0.6.98-test-25 → 0.6.98-test-27

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.
@@ -1,24 +1,27 @@
1
- import t from "./Button.vue2.js";
2
- import { openBlock as a, createBlock as o, resolveDynamicComponent as r, normalizeStyle as i, normalizeClass as s, withCtx as l, renderSlot as d } from "vue";
1
+ import a from "./Button.vue2.js";
2
+ import { openBlock as t, createBlock as o, resolveDynamicComponent as r, normalizeStyle as i, normalizeClass as s, withCtx as d, renderSlot as l } from "vue";
3
3
  import "./Button.vue3.js";
4
4
  import n from "../_virtual/_plugin-vue_export-helper.js";
5
- function f(e, m, p, b, u, c) {
6
- return a(), o(r(e.tagName), {
5
+ function f(e, m, p, b, u, h) {
6
+ return t(), o(r(e.tagName), {
7
7
  href: e.href,
8
8
  target: e.targetAttribute,
9
9
  style: i({ width: e.size.width }),
10
- class: s(["at-button", [e.variant, { "is-disabled": e.disabled, "only-icon": e.onlyIcon, "link-button": e.link }]]),
10
+ class: s(["at-button", [
11
+ e.variant,
12
+ { "is-disabled": e.disabled, "only-icon": e.onlyIcon, "link-button": e.link }
13
+ ]]),
11
14
  disabled: e.disabled,
12
15
  role: "button",
13
16
  "aria-disabled": e.disabled
14
17
  }, {
15
- default: l(() => [
16
- d(e.$slots, "default", {}, void 0, !0)
18
+ default: d(() => [
19
+ l(e.$slots, "default", {}, void 0, !0)
17
20
  ]),
18
21
  _: 3
19
22
  }, 8, ["href", "target", "style", "class", "disabled", "aria-disabled"]);
20
23
  }
21
- const k = /* @__PURE__ */ n(t, [["render", f], ["__scopeId", "data-v-634ea4c9"]]);
24
+ const k = /* @__PURE__ */ n(a, [["render", f], ["__scopeId", "data-v-ed08a91a"]]);
22
25
  export {
23
26
  k as default
24
27
  };
@@ -30,7 +30,9 @@ const f = o({
30
30
  }
31
31
  },
32
32
  setup(t) {
33
- const a = e(() => t.href && !t.disabled ? "a" : "button"), n = e(() => t.href ? "_blank" : void 0);
33
+ const a = e(
34
+ () => t.href && !t.disabled ? "a" : "button"
35
+ ), n = e(() => t.href ? "_blank" : void 0);
34
36
  return { tagName: a, targetAttribute: n };
35
37
  }
36
38
  });
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a } from "vue";
2
2
  import { AtCircleQuestionSolidIcon as s } from "../node_modules/.pnpm/@agrotools1_at-icons@0.2.11/node_modules/@agrotools1/at-icons/dist/AtCircleQuestionSolidIcon/index.js";
3
- import l from "../Illustration/Illustration.vue3.js";
3
+ import l from "../Illustration/Illustration.vue.js";
4
4
  import { AtTipograph as p } from "../Tipograph/index.js";
5
5
  const m = a({
6
6
  name: "AtCardWithInsights",
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { DropdownList } from '../../Filter/components/Filter.types';
2
+ import { DropdownList } from '../../Filter';
3
3
  import { DropdownListItem } from '../Dropdown.types';
4
4
 
5
5
  export interface ChecklistProps {
@@ -2,7 +2,7 @@ import z from "./Dropdown.Checklist.vue2.js";
2
2
  import { resolveComponent as b, openBlock as a, createElementBlock as d, createElementVNode as o, createVNode as s, withCtx as n, createTextVNode as c, toDisplayString as i, Fragment as h, createCommentVNode as m, renderList as k, normalizeClass as g, createBlock as C, resolveDynamicComponent as I, normalizeStyle as $, pushScopeId as S, popScopeId as D } from "vue";
3
3
  import "./Dropdown.Checklist.vue3.js";
4
4
  import w from "../../_virtual/_plugin-vue_export-helper.js";
5
- const f = (l) => (S("data-v-a84a1cd8"), l = l(), D(), l), L = { class: "atCheckList" }, N = { class: "at-dropdown-header" }, T = { class: "at-dropdown-content" }, U = { class: "item checkall" }, B = {
5
+ const f = (l) => (S("data-v-376b6a6a"), l = l(), D(), l), L = { class: "atCheckList" }, N = { class: "at-dropdown-header" }, T = { class: "at-dropdown-content" }, U = { class: "item checkall" }, B = {
6
6
  for: "checkAll",
7
7
  class: "checkall-label"
8
8
  }, x = /* @__PURE__ */ f(() => /* @__PURE__ */ o("span", { class: "separator" }, null, -1)), E = /* @__PURE__ */ f(() => /* @__PURE__ */ o("span", { class: "separator" }, null, -1)), M = ["for"], O = {
@@ -140,7 +140,7 @@ function q(l, p, G, H, J, K) {
140
140
  ])
141
141
  ]);
142
142
  }
143
- const Z = /* @__PURE__ */ w(z, [["render", q], ["__scopeId", "data-v-a84a1cd8"]]);
143
+ const Z = /* @__PURE__ */ w(z, [["render", q], ["__scopeId", "data-v-376b6a6a"]]);
144
144
  export {
145
145
  Z as default
146
146
  };
@@ -4,6 +4,8 @@ import { AtDragOrderRegularIcon as x } from "../../node_modules/.pnpm/@agrotools
4
4
  import { AtLockRegularIcon as g } from "../../node_modules/.pnpm/@agrotools1_at-icons@0.2.11/node_modules/@agrotools1/at-icons/dist/AtLockRegularIcon/index.js";
5
5
  import { AtUnlockRegularIcon as A } from "../../node_modules/.pnpm/@agrotools1_at-icons@0.2.11/node_modules/@agrotools1/at-icons/dist/AtUnlockRegularIcon/index.js";
6
6
  import w from "../../Checkbox/Checkbox.vue.js";
7
+ import "../../Filter/Filter.vue2.js";
8
+ import "../../Filter/Filter.vue3.js";
7
9
  import R from "../../Tipograph/Paragraph/Paragraph.vue.js";
8
10
  import O from "./draggable.js";
9
11
  const M = {
@@ -11,7 +13,7 @@ const M = {
11
13
  AtDragOrderRegularIcon: x,
12
14
  AtLockRegularIcon: g,
13
15
  AtUnlockRegularIcon: A
14
- }, j = C({
16
+ }, F = C({
15
17
  name: "AtChecklist",
16
18
  components: { AtParagraph: R, AtCheckbox: w, ...M },
17
19
  props: {
@@ -36,7 +38,7 @@ const M = {
36
38
  }
37
39
  },
38
40
  emits: ["onClose", "onSorted"],
39
- setup(e, { emit: i }) {
41
+ setup(e, { emit: c }) {
40
42
  const b = s(), a = s([]), o = s([]), u = s(null), n = s(e.dropDownList), d = () => {
41
43
  a.value = [], o.value = [], n.value.some((t) => "key" in t) ? a.value = n.value : o.value = n.value;
42
44
  };
@@ -44,14 +46,14 @@ const M = {
44
46
  const v = (t) => {
45
47
  var r, m, f;
46
48
  (r = a.value) == null || r.map(
47
- (l) => l.value.filter((c) => !c.disabled).map((c) => c.value = t)
49
+ (l) => l.value.filter((i) => !i.disabled).map((i) => i.value = t)
48
50
  ), (f = (m = o.value) == null ? void 0 : m.filter((l) => !l.disabled)) == null || f.map((l) => l.value = t);
49
- }, h = (t) => t.text, k = () => i("onClose", !0), I = (t) => t.disabled ? g : A, L = (t) => ({ color: t.disabled ? "var(--at-disabled-text)" : "var(--at-primary-color-1)" }), p = () => {
51
+ }, h = (t) => t.text, k = () => c("onClose", !0), I = (t) => t.disabled ? g : A, L = (t) => ({ color: t.disabled ? "var(--at-disabled-text)" : "var(--at-primary-color-1)" }), p = () => {
50
52
  const t = new O(
51
53
  o.value.map((r) => structuredClone(D(r))),
52
54
  u.value
53
55
  );
54
- t.onDragIsEnd = () => i("onSorted", t.endList);
56
+ t.onDragIsEnd = () => c("onSorted", t.endList);
55
57
  };
56
58
  return y(() => {
57
59
  e.sortable && p();
@@ -83,5 +85,5 @@ const M = {
83
85
  }
84
86
  });
85
87
  export {
86
- j as default
88
+ F as default
87
89
  };
@@ -0,0 +1,214 @@
1
+ import z from "./Filter.vue2.js";
2
+ import { resolveComponent as m, openBlock as t, createElementBlock as s, createVNode as l, withCtx as n, createElementVNode as a, createTextVNode as d, toDisplayString as i, createCommentVNode as I, renderSlot as S, Fragment as f, renderList as b, pushScopeId as D, popScopeId as T } from "vue";
3
+ import "./Filter.vue3.js";
4
+ import $ from "../_virtual/_plugin-vue_export-helper.js";
5
+ const A = (e) => (D("data-v-d929a747"), e = e(), T(), e), B = { class: "d-flex align-items-center gap-2" }, F = {
6
+ key: 1,
7
+ class: "badge"
8
+ }, U = { class: "filter" }, N = { class: "at-dropdown-header" }, O = {
9
+ key: 0,
10
+ class: "at-dropdown-content"
11
+ }, E = {
12
+ key: 1,
13
+ class: "at-dropdown-content"
14
+ }, L = { class: "item" }, M = ["for"], P = /* @__PURE__ */ A(() => /* @__PURE__ */ a("span", { class: "separator" }, null, -1)), R = /* @__PURE__ */ A(() => /* @__PURE__ */ a("span", { class: "separator" }, null, -1)), j = ["for"], q = ["for"], G = { class: "at-dropdown-footer" };
15
+ function H(e, r, J, K, Q, W) {
16
+ var y;
17
+ const C = m("AtFilterRegularIcon"), h = m("AtCloseSolidIcon"), c = m("AtParagraph"), k = m("AtButton"), v = m("AtCheckbox"), V = m("AtDropDown");
18
+ return t(), s("div", { key: e.keyValue }, [
19
+ l(V, {
20
+ id: e.id,
21
+ "is-open": e.isOpen,
22
+ position: (y = e.options) == null ? void 0 : y.position,
23
+ "onUpdate:isOpen": r[3] || (r[3] = (u) => e.isOpen = u)
24
+ }, {
25
+ trigger: n(() => [
26
+ l(k, {
27
+ id: "dropdown-button",
28
+ variant: e.getButtonColor
29
+ }, {
30
+ default: n(() => {
31
+ var u;
32
+ return [
33
+ a("section", B, [
34
+ l(C, { size: "16" }),
35
+ d(" " + i(((u = e.options) == null ? void 0 : u.buttonText) ?? "Filtros"), 1)
36
+ ]),
37
+ e.count > 0 ? (t(), s("span", {
38
+ key: 0,
39
+ class: "clear-icon",
40
+ onClick: r[0] || (r[0] = () => e.clear())
41
+ }, [
42
+ l(h, {
43
+ size: "20",
44
+ onClick: e.closeDialog
45
+ }, null, 8, ["onClick"])
46
+ ])) : I("", !0),
47
+ e.count > 0 ? (t(), s("span", F, [
48
+ l(c, { size: "p3" }, {
49
+ default: n(() => [
50
+ d(i(e.count), 1)
51
+ ]),
52
+ _: 1
53
+ })
54
+ ])) : I("", !0)
55
+ ];
56
+ }),
57
+ _: 1
58
+ }, 8, ["variant"])
59
+ ]),
60
+ default: n(() => {
61
+ var u;
62
+ return [
63
+ a("div", U, [
64
+ a("div", N, [
65
+ l(c, {
66
+ size: "p1",
67
+ weight: "bold"
68
+ }, {
69
+ default: n(() => {
70
+ var o;
71
+ return [
72
+ d(i((o = e.options) == null ? void 0 : o.title), 1)
73
+ ];
74
+ }),
75
+ _: 1
76
+ }),
77
+ a("span", {
78
+ style: { cursor: "pointer" },
79
+ class: "closeIcon",
80
+ onClick: r[1] || (r[1] = (...o) => e.closeDialog && e.closeDialog(...o))
81
+ }, [
82
+ l(h, { size: "20" })
83
+ ])
84
+ ]),
85
+ e.withSlot ? (t(), s("div", O, [
86
+ S(e.$slots, "default", {}, void 0, !0)
87
+ ])) : (t(), s("div", E, [
88
+ (u = e.options) != null && u.checkAllText ? (t(), s(f, { key: 0 }, [
89
+ a("div", L, [
90
+ l(v, {
91
+ id: e.getItemId({ text: "checkAll", value: !1 }),
92
+ modelValue: e.checkAllModel,
93
+ "onUpdate:modelValue": r[2] || (r[2] = (o) => e.checkAllModel = o),
94
+ "prevent-default": !0,
95
+ size: "12",
96
+ labelledby: "checkAll"
97
+ }, null, 8, ["id", "modelValue"]),
98
+ a("label", {
99
+ for: e.getItemId({ text: "checkAll", value: !1 }),
100
+ class: "checkall-label"
101
+ }, [
102
+ l(c, { size: "p2" }, {
103
+ default: n(() => {
104
+ var o;
105
+ return [
106
+ d(i((o = e.options) == null ? void 0 : o.checkAllText), 1)
107
+ ];
108
+ }),
109
+ _: 1
110
+ })
111
+ ], 8, M)
112
+ ]),
113
+ P
114
+ ], 64)) : I("", !0),
115
+ (t(!0), s(f, null, b(e.listSeparator, (o, g) => (t(), s("div", {
116
+ key: `${g}`,
117
+ class: "item-separator"
118
+ }, [
119
+ l(c, {
120
+ size: "p2",
121
+ weight: "bold"
122
+ }, {
123
+ default: n(() => [
124
+ d(i(o.key), 1)
125
+ ]),
126
+ _: 2
127
+ }, 1024),
128
+ R,
129
+ (t(!0), s(f, null, b(o.value, (p, w) => (t(), s("div", {
130
+ key: `${w}`,
131
+ class: "item"
132
+ }, [
133
+ l(v, {
134
+ id: e.getItemId(p),
135
+ modelValue: p.value,
136
+ "onUpdate:modelValue": (_) => p.value = _,
137
+ labelledby: e.getItemId(p),
138
+ size: "12"
139
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "labelledby"]),
140
+ a("label", {
141
+ for: e.getItemId(p),
142
+ class: "item-label"
143
+ }, [
144
+ l(c, { size: "p2" }, {
145
+ default: n(() => [
146
+ d(i(e.getItemText(p)), 1)
147
+ ]),
148
+ _: 2
149
+ }, 1024)
150
+ ], 8, j)
151
+ ]))), 128))
152
+ ]))), 128)),
153
+ (t(!0), s(f, null, b(e.listArray, (o, g) => (t(), s("div", {
154
+ key: `${g}`,
155
+ class: "item"
156
+ }, [
157
+ l(v, {
158
+ id: e.getItemId(o),
159
+ modelValue: o.value,
160
+ "onUpdate:modelValue": (p) => o.value = p,
161
+ size: "12",
162
+ labelledby: e.getItemId(o)
163
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "labelledby"]),
164
+ a("label", {
165
+ for: e.getItemId(o),
166
+ class: "item-label"
167
+ }, [
168
+ l(c, { size: "p2" }, {
169
+ default: n(() => [
170
+ d(i(e.getItemText(o)), 1)
171
+ ]),
172
+ _: 2
173
+ }, 1024)
174
+ ], 8, q)
175
+ ]))), 128))
176
+ ])),
177
+ a("div", G, [
178
+ l(k, {
179
+ variant: "secondary",
180
+ class: "clear-button w-100",
181
+ onClick: e.clear
182
+ }, {
183
+ default: n(() => {
184
+ var o;
185
+ return [
186
+ d(i(((o = e.options) == null ? void 0 : o.cancelBtnText) ?? "Limpar"), 1)
187
+ ];
188
+ }),
189
+ _: 1
190
+ }, 8, ["onClick"]),
191
+ l(k, {
192
+ class: "save-button w-100",
193
+ onClick: e.save
194
+ }, {
195
+ default: n(() => {
196
+ var o;
197
+ return [
198
+ d(i(((o = e.options) == null ? void 0 : o.saveBtnText) ?? "Filtrar"), 1)
199
+ ];
200
+ }),
201
+ _: 1
202
+ }, 8, ["onClick"])
203
+ ])
204
+ ])
205
+ ];
206
+ }),
207
+ _: 3
208
+ }, 8, ["id", "is-open", "position"])
209
+ ]);
210
+ }
211
+ const ee = /* @__PURE__ */ $(z, [["render", H], ["__scopeId", "data-v-d929a747"]]);
212
+ export {
213
+ ee as default
214
+ };
@@ -1,27 +1,27 @@
1
- import { defineComponent as P, ref as n, computed as V, toRaw as q } from "vue";
2
- import { AtCloseSolidIcon as B } from "../../node_modules/.pnpm/@agrotools1_at-icons@0.2.11/node_modules/@agrotools1/at-icons/dist/AtCloseSolidIcon/index.js";
3
- import { AtFilterSolidIcon as T } from "../../node_modules/.pnpm/@agrotools1_at-icons@0.2.11/node_modules/@agrotools1/at-icons/dist/AtFilterSolidIcon/index.js";
4
- import E from "../../Button/Button.vue.js";
5
- import M from "../../Checkbox/Checkbox.vue.js";
6
- import R from "../../Dropdown/Dropdown.core.vue.js";
7
- import { AtTipograph as $ } from "../../Tipograph/index.js";
8
- const j = {
9
- AtCloseSolidIcon: B,
10
- AtFilterSolidIcon: T
11
- };
12
- P({
1
+ import { defineComponent as P, ref as n, computed as R, toRaw as V } from "vue";
2
+ import { AtCloseSolidIcon as q } from "../node_modules/.pnpm/@agrotools1_at-icons@0.2.11/node_modules/@agrotools1/at-icons/dist/AtCloseSolidIcon/index.js";
3
+ import { AtFilterRegularIcon as B } from "../node_modules/.pnpm/@agrotools1_at-icons@0.2.11/node_modules/@agrotools1/at-icons/dist/AtFilterRegularIcon/index.js";
4
+ import T from "../Button/Button.vue.js";
5
+ import E from "../Checkbox/Checkbox.vue.js";
6
+ import M from "../Dropdown/Dropdown.core.vue.js";
7
+ import { AtTipograph as _ } from "../Tipograph/index.js";
8
+ const $ = {
9
+ AtCloseSolidIcon: q,
10
+ AtFilterRegularIcon: B
11
+ }, U = P({
13
12
  name: "AtFilter",
14
13
  components: {
15
- AtDropDown: R,
16
- AtParagraph: $.Paragraph,
17
- AtButton: E,
18
- AtCheckbox: M,
19
- ...j
14
+ AtDropDown: M,
15
+ AtParagraph: _.Paragraph,
16
+ AtButton: T,
17
+ AtCheckbox: E,
18
+ ...$
20
19
  },
21
20
  props: {
22
21
  dropDownList: {
23
22
  type: Array,
24
- required: !0
23
+ required: !0,
24
+ default: () => []
25
25
  },
26
26
  options: {
27
27
  type: Object,
@@ -43,9 +43,9 @@ P({
43
43
  return e.text;
44
44
  }, c = n(!1), C = () => {
45
45
  c.value = !c.value;
46
- }, S = V(() => c.value || u.value > 0 ? "primary" : "secondary"), h = n(!1), p = n([]), g = () => {
46
+ }, D = R(() => c.value || u.value > 0 ? "primary" : "secondary"), h = n(!1), p = n([]), g = () => {
47
47
  p.value = i.dropDownList.map(
48
- (e) => structuredClone(q(e))
48
+ (e) => structuredClone(V(e))
49
49
  );
50
50
  };
51
51
  g();
@@ -56,19 +56,19 @@ P({
56
56
  const y = (e) => {
57
57
  var t, o;
58
58
  (t = s.value) == null || t.map(
59
- (r) => r.value.map((a) => a.value = e)
60
- ), (o = l.value) == null || o.map((r) => r.value = e);
61
- }, v = () => c.value = !1, D = (e = !0) => {
62
- h.value = !1, y(!1), I(), x(), e && setTimeout(v, 1);
63
- }, L = () => {
64
- var o, r;
59
+ (a) => a.value.map((r) => r.value = e)
60
+ ), (o = l.value) == null || o.map((a) => a.value = e);
61
+ }, f = () => c.value = !1, L = (e = !0) => {
62
+ h.value = !1, y(!1), I(), x(), e && setTimeout(f, 1);
63
+ }, S = () => {
64
+ var o, a;
65
65
  const e = (o = s.value) == null ? void 0 : o.reduce(
66
- (a, { key: F, value: f }) => {
67
- const O = f == null ? void 0 : f.filter((m) => m.value).map((m) => m.text);
68
- return a[F] = O, a;
66
+ (r, { key: F, value: v }) => {
67
+ const O = v == null ? void 0 : v.filter((m) => m.value).map((m) => m.text);
68
+ return r[F] = O, r;
69
69
  },
70
70
  {}
71
- ), t = (r = l.value) == null ? void 0 : r.filter((a) => a.value).map((a) => a.text);
71
+ ), t = (a = l.value) == null ? void 0 : a.filter((r) => r.value).map((r) => r.text);
72
72
  return t != null && t.length ? t : e;
73
73
  }, x = () => {
74
74
  var t, o;
@@ -76,15 +76,15 @@ P({
76
76
  // .filter((item) => item.value)
77
77
  s.value
78
78
  );
79
- I(), v(), k(
79
+ I(), f(), k(
80
80
  "onSave",
81
- (o = i.options) != null && o.returnOnlyChecked && (e != null && e.length) ? L() : e
81
+ (o = i.options) != null && o.returnOnlyChecked && (e != null && e.length) ? S() : e
82
82
  );
83
83
  }, u = n(0), I = () => {
84
84
  var e, t;
85
85
  u.value = 0, u.value += ((e = l.value) == null ? void 0 : e.filter((o) => o.value).length) ?? 0, (t = s.value) == null || t.forEach(
86
86
  (o) => o.value.forEach(
87
- (r) => r.value ? u.value++ : u
87
+ (a) => a.value ? u.value++ : u
88
88
  )
89
89
  );
90
90
  }, b = n(0);
@@ -95,7 +95,7 @@ P({
95
95
  listArray: l,
96
96
  checkAllModel: h,
97
97
  isOpen: c,
98
- getButtonColor: S,
98
+ getButtonColor: D,
99
99
  count: u,
100
100
  keyValue: b,
101
101
  getItemId: (e) => d.id ? `${d.id}-${e.text}` : e.text,
@@ -103,9 +103,9 @@ P({
103
103
  setListProps: A,
104
104
  toggleDropdown: C,
105
105
  setAllCheckboxValues: y,
106
- clear: D,
106
+ clear: L,
107
107
  getItemText: w,
108
- closeDialog: v,
108
+ closeDialog: f,
109
109
  save: x
110
110
  };
111
111
  },
@@ -118,3 +118,6 @@ P({
118
118
  }
119
119
  }
120
120
  });
121
+ export {
122
+ U as default
123
+ };
@@ -1,6 +1,25 @@
1
- import { DropdownConfigProps, DropdownList, FilterOptions } from './components/Filter.types';
2
1
  import { DropdownListItem } from '../Dropdown/Dropdown.types';
3
- import { default as AtFilter } from './components/Filter';
4
2
 
5
- export type { DropdownConfigProps, DropdownList, DropdownListItem, FilterOptions, };
6
- export default AtFilter;
3
+ export type DropdownList = {
4
+ key: string;
5
+ value: DropdownListItem[];
6
+ identifier?: string;
7
+ };
8
+ export type FilterOptions = {
9
+ listItemSeparator?: string;
10
+ title: string;
11
+ checkAllText?: string;
12
+ cancelBtnText?: string | "Limpar";
13
+ saveBtnText?: string;
14
+ buttonText?: string;
15
+ returnOnlyChecked?: boolean;
16
+ position?: "left" | "right";
17
+ };
18
+ export interface DropdownConfigProps {
19
+ dropDownList: DropdownListItem[] | DropdownList[];
20
+ options?: FilterOptions;
21
+ id?: string;
22
+ withSlot?: boolean;
23
+ }
24
+ export type { DropdownListItem };
25
+ export { default as AtFilter } from './Filter';
@@ -1,5 +1,5 @@
1
1
  import { DropdownListItem } from '../../Dropdown/Dropdown.types';
2
- import { DropdownList } from '../components/Filter.types';
2
+ import { DropdownList } from '../index';
3
3
 
4
4
  declare const dropdownFilter: DropdownListItem[];
5
5
  declare const dropdownFilterTextArray: DropdownListItem[];
@@ -1,32 +1,17 @@
1
- import { defineComponent as r, ref as a, computed as l } from "vue";
2
- import { allIllustrations as o } from "./Illustration.js";
3
- const s = r({
4
- name: "AtIllustration",
5
- props: {
6
- illustration: {
7
- type: String,
8
- required: !0,
9
- default: "",
10
- validator: (e) => typeof e == "string"
11
- },
12
- width: {
13
- type: Number,
14
- required: !1,
15
- default: 90,
16
- validator: (e) => typeof e == "number"
17
- },
18
- height: {
19
- type: Number,
20
- required: !1,
21
- default: 90,
22
- validator: (e) => typeof e == "number"
23
- }
24
- },
25
- setup(e) {
26
- const t = a(o);
27
- return { handleImageSrc: l(() => t.value[e.illustration]) };
28
- }
29
- });
1
+ import e from "./Illustration.vue2.js";
2
+ import { openBlock as o, createElementBlock as r, normalizeStyle as s } from "vue";
3
+ import "./Illustration.vue3.js";
4
+ import i from "../_virtual/_plugin-vue_export-helper.js";
5
+ const p = ["src"];
6
+ function a(t, l, n, c, m, d) {
7
+ return o(), r("img", {
8
+ alt: "illustration",
9
+ src: t.handleImageSrc,
10
+ class: "image",
11
+ style: s({ width: `${t.$props.width}px`, height: `${t.$props.height}px` })
12
+ }, null, 12, p);
13
+ }
14
+ const u = /* @__PURE__ */ i(e, [["render", a], ["__scopeId", "data-v-069e23c7"]]);
30
15
  export {
31
- s as default
16
+ u as default
32
17
  };
@@ -1,4 +1,32 @@
1
- const e = "";
1
+ import { defineComponent as r, ref as a, computed as l } from "vue";
2
+ import { allIllustrations as o } from "./Illustration.js";
3
+ const s = r({
4
+ name: "AtIllustration",
5
+ props: {
6
+ illustration: {
7
+ type: String,
8
+ required: !0,
9
+ default: "",
10
+ validator: (e) => typeof e == "string"
11
+ },
12
+ width: {
13
+ type: Number,
14
+ required: !1,
15
+ default: 90,
16
+ validator: (e) => typeof e == "number"
17
+ },
18
+ height: {
19
+ type: Number,
20
+ required: !1,
21
+ default: 90,
22
+ validator: (e) => typeof e == "number"
23
+ }
24
+ },
25
+ setup(e) {
26
+ const t = a(o);
27
+ return { handleImageSrc: l(() => t.value[e.illustration]) };
28
+ }
29
+ });
2
30
  export {
3
- e as default
31
+ s as default
4
32
  };
@@ -1,17 +1,4 @@
1
- import e from "./Illustration.vue.js";
2
- import { openBlock as o, createElementBlock as r, normalizeStyle as s } from "vue";
3
- import "./Illustration.vue2.js";
4
- import i from "../_virtual/_plugin-vue_export-helper.js";
5
- const p = ["src"];
6
- function a(t, l, n, c, m, d) {
7
- return o(), r("img", {
8
- alt: "illustration",
9
- src: t.handleImageSrc,
10
- class: "image",
11
- style: s({ width: `${t.$props.width}px`, height: `${t.$props.height}px` })
12
- }, null, 12, p);
13
- }
14
- const u = /* @__PURE__ */ i(e, [["render", a], ["__scopeId", "data-v-069e23c7"]]);
1
+ const e = "";
15
2
  export {
16
- u as default
3
+ e as default
17
4
  };
@@ -1,3 +1,3 @@
1
1
  import { default as AtIllustration } from './Illustration';
2
2
 
3
- export default AtIllustration;
3
+ export { AtIllustration };
@@ -23,10 +23,10 @@ import "../Faq/Faq.vue3.js";
23
23
  import "../Faq/Faq.vue4.js";
24
24
  import "../Faq/FaqItem/FaqItem.vue2.js";
25
25
  import "../Faq/FaqItem/FaqItem.vue3.js";
26
- import "../Filter/components/Filter.vue.js";
27
- import "../Filter/components/Filter.vue2.js";
28
- import "../Illustration/Illustration.vue.js";
26
+ import "../Filter/Filter.vue2.js";
27
+ import "../Filter/Filter.vue3.js";
29
28
  import "../Illustration/Illustration.vue2.js";
29
+ import "../Illustration/Illustration.vue3.js";
30
30
  import "../Input/Input.core.vue2.js";
31
31
  import "../Input/Input.core.vue3.js";
32
32
  import "../Legend/Legend.vue2.js";