@agrotools1/at-components 1.0.6 → 1.0.7

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,5 +1,5 @@
1
1
  import v from "./Accordion.vue2.js";
2
- import { resolveComponent as t, openBlock as o, createElementBlock as c, normalizeClass as l, createBlock as i, createCommentVNode as n, createVNode as C, withCtx as _, createTextVNode as S, toDisplayString as I, createElementVNode as r, normalizeStyle as g, withModifiers as h, renderSlot as a } from "vue";
2
+ import { resolveComponent as t, openBlock as o, createElementBlock as c, normalizeClass as a, createBlock as i, createCommentVNode as n, createVNode as C, withCtx as _, createTextVNode as S, toDisplayString as I, createElementVNode as r, normalizeStyle as g, withModifiers as h, renderSlot as l } from "vue";
3
3
  import "./Accordion.vue3.js";
4
4
  import $ from "../_virtual/_plugin-vue_export-helper.js";
5
5
  const T = { class: "d-block w-100 at-accordion" }, b = ["aria-expanded"], z = { class: "flex-grow-1" }, w = {
@@ -8,11 +8,11 @@ const T = { class: "d-block w-100 at-accordion" }, b = ["aria-expanded"], z = {
8
8
  class: "ms-2 at-accordion-button"
9
9
  }, M = ["data-state"];
10
10
  function N(e, s, O, V, B, D) {
11
- const d = t("AtCircleMinusSolidIcon"), p = t("AtCheckCircleSolidIcon"), m = t("AtWarningSolidIcon"), f = t("AtCircleXMarkSolidIcon"), u = t("AtTitle"), k = t("AtAngleUpSolidIcon"), y = t("AtAngleDownSolidIcon");
11
+ const d = t("AtCircleMinusSolidIcon"), p = t("AtCheckCircleSolidIcon"), m = t("AtWarningSolidIcon"), u = t("AtCircleXMarkSolidIcon"), f = t("AtTitle"), k = t("AtAngleUpSolidIcon"), y = t("AtAngleDownSolidIcon");
12
12
  return o(), c("div", T, [
13
13
  e.isInformative ? (o(), c("div", {
14
14
  key: 0,
15
- class: l(["d-flex align-items-center justify-content-center at-accordion-header", [`at-accordion-header-${e.$props.informativeType}`]])
15
+ class: a(["d-flex align-items-center justify-content-center at-accordion-header", [`at-accordion-header-${e.$props.informativeType}`]])
16
16
  }, [
17
17
  e.informativeType === "default" ? (o(), i(d, {
18
18
  key: 0,
@@ -29,12 +29,12 @@ function N(e, s, O, V, B, D) {
29
29
  size: "20",
30
30
  class: "me-2"
31
31
  })) : n("", !0),
32
- e.informativeType === "error" ? (o(), i(f, {
32
+ e.informativeType === "error" ? (o(), i(u, {
33
33
  key: 3,
34
34
  size: "20",
35
35
  class: "me-2"
36
36
  })) : n("", !0),
37
- C(u, {
37
+ C(f, {
38
38
  as: "h6",
39
39
  bold: !0,
40
40
  class: "m-0"
@@ -46,13 +46,13 @@ function N(e, s, O, V, B, D) {
46
46
  })
47
47
  ], 2)) : n("", !0),
48
48
  r("div", {
49
- class: l(["d-flex align-items-center px-3 py-2 at-accordion-title", [`at-accordion-title-${e.$props.titleType}`]]),
49
+ class: a(["d-flex align-items-center px-3 py-2 at-accordion-title", [`at-accordion-title-${e.$props.titleType}`]]),
50
50
  style: g({ backgroundColor: e.$props.titleColor ?? "", cursor: "pointer" }),
51
51
  "aria-expanded": e.isOpen,
52
52
  onClick: s[0] || (s[0] = h((...A) => e.onClick && e.onClick(...A), ["stop", "prevent"]))
53
53
  }, [
54
54
  r("div", z, [
55
- a(e.$slots, "title", {}, void 0, !0)
55
+ l(e.$slots, "title", {}, void 0, !0)
56
56
  ]),
57
57
  r("div", w, [
58
58
  e.isOpen ? (o(), i(k, {
@@ -71,11 +71,11 @@ function N(e, s, O, V, B, D) {
71
71
  "data-state": e.isOpen ? "open" : "close",
72
72
  class: "at-accordion-body"
73
73
  }, [
74
- a(e.$slots, "content", {}, void 0, !0)
74
+ l(e.$slots, "content", {}, void 0, !0)
75
75
  ], 8, M)
76
76
  ]);
77
77
  }
78
- const j = /* @__PURE__ */ $(v, [["render", N], ["__scopeId", "data-v-3be0ef43"]]);
78
+ const j = /* @__PURE__ */ $(v, [["render", N], ["__scopeId", "data-v-5bae2ccd"]]);
79
79
  export {
80
80
  j as default
81
81
  };
@@ -30,7 +30,7 @@ function u(e, f, b, h, y, g) {
30
30
  _: 3
31
31
  }, 8, ["href", "target", "style", "class", "disabled", "aria-disabled"]);
32
32
  }
33
- const $ = /* @__PURE__ */ p(a, [["render", u], ["__scopeId", "data-v-2f6438bd"]]);
33
+ const $ = /* @__PURE__ */ p(a, [["render", u], ["__scopeId", "data-v-e6d82d7e"]]);
34
34
  export {
35
35
  $ as default
36
36
  };
@@ -1,4 +1,4 @@
1
- const _ = "";
1
+ const e = "";
2
2
  export {
3
- _ as default
3
+ e as default
4
4
  };
@@ -1,37 +1,36 @@
1
1
  import A from "./DataTable.vue2.js";
2
- import { resolveComponent as c, openBlock as t, createElementBlock as o, Fragment as i, createElementVNode as l, mergeProps as P, createBlock as u, withCtx as $, createVNode as g, createCommentVNode as p, renderSlot as D, withDirectives as I, renderList as d, normalizeClass as f, withKeys as T, toDisplayString as w, resolveDynamicComponent as k, vShow as z, pushScopeId as E, popScopeId as K } from "vue";
2
+ import { resolveComponent as c, openBlock as t, createElementBlock as o, Fragment as r, createElementVNode as i, mergeProps as P, createBlock as u, withCtx as $, createVNode as g, createCommentVNode as p, renderSlot as D, withDirectives as I, renderList as d, normalizeClass as f, withKeys as T, toDisplayString as w, resolveDynamicComponent as k, vShow as z, pushScopeId as E, popScopeId as K } from "vue";
3
3
  import "./DataTable.vue3.js";
4
- import U from "../_virtual/_plugin-vue_export-helper.js";
5
- const b = (e) => (E("data-v-75cf85f4"), e = e(), K(), e), V = ["data-align-columns"], L = ["data-isStick"], B = {
4
+ import V from "../_virtual/_plugin-vue_export-helper.js";
5
+ const b = (e) => (E("data-v-1c0fda53"), e = e(), K(), e), L = ["data-align-columns"], U = ["data-isStick"], B = {
6
6
  role: "row",
7
7
  class: "thead-row"
8
8
  }, F = {
9
9
  key: 1,
10
10
  role: "rowgroup"
11
- }, N = /* @__PURE__ */ b(() => /* @__PURE__ */ l("tr", { class: "empty-space" }, null, -1)), H = ["onmouseenter"], R = ["data-key", "onClick"], W = { class: "td-container" }, j = ["id", "value", "onKeydown"], M = { key: 1 }, O = {
11
+ }, N = /* @__PURE__ */ b(() => /* @__PURE__ */ i("tr", { class: "empty-space" }, null, -1)), H = ["onmouseenter"], R = ["data-key", "onClick"], W = { class: "td-container" }, j = ["id", "value", "onKeydown"], M = { key: 1 }, O = {
12
12
  key: 2,
13
13
  class: "item-as-array"
14
- }, q = { key: 0 }, G = /* @__PURE__ */ b(() => /* @__PURE__ */ l("tr", { class: "empty-space" }, null, -1)), J = {
14
+ }, q = { key: 0 }, G = /* @__PURE__ */ b(() => /* @__PURE__ */ i("tr", { class: "empty-space" }, null, -1)), J = {
15
15
  key: 0,
16
16
  class: "d-flex flex-column gap-2 w-100"
17
17
  }, Q = { class: "table-skeleton" }, X = {
18
18
  key: 1,
19
19
  style: { display: "flex", "justify-content": "flex-end", "margin-top": "16px" }
20
20
  };
21
- function Y(e, Z, x, ee, te, oe) {
22
- var h;
23
- const v = c("AtCheckbox"), C = c("AtColumn"), _ = c("AtText"), S = c("AtPaginator");
24
- return t(), o(i, null, [
25
- l("table", P(e.$attrs, {
21
+ function Y(e, h, Z, x, ee, te) {
22
+ const v = c("AtCheckbox"), C = c("AtColumn"), S = c("AtText"), _ = c("AtPaginator");
23
+ return t(), o(r, null, [
24
+ i("table", P(e.$attrs, {
26
25
  role: "table",
27
26
  class: "table-content",
28
27
  "data-align-columns": e.alignColumns
29
28
  }), [
30
- l("thead", {
29
+ i("thead", {
31
30
  role: "rowgroup",
32
31
  "data-isStick": e.stickHeader
33
32
  }, [
34
- l("tr", B, [
33
+ i("tr", B, [
35
34
  e.withSelection ? (t(), u(C, {
36
35
  key: 0,
37
36
  field: "selection",
@@ -48,25 +47,25 @@ function Y(e, Z, x, ee, te, oe) {
48
47
  })) : p("", !0),
49
48
  D(e.$slots, "default", {}, void 0, !0)
50
49
  ])
51
- ], 8, L),
52
- !e.value || !e.value.length ? (t(), u(_, {
50
+ ], 8, U),
51
+ !e.value || !e.value.length ? (t(), u(S, {
53
52
  key: 0,
54
53
  as: "h6"
55
54
  })) : I((t(), o("tbody", F, [
56
55
  N,
57
- (t(!0), o(i, null, d(e.activeTableData, (r) => (t(), o("tr", {
58
- key: e.extractKey(r),
56
+ (t(!0), o(r, null, d(e.activeTableData, (l) => (t(), o("tr", {
57
+ key: e.extractKey(l),
59
58
  class: f([...e.columnsClasses, "tbody-tr"]),
60
59
  role: "row",
61
60
  tabindex: "-1",
62
61
  onmouseenter: (n) => {
63
62
  e.lastHoveredTr = {
64
63
  element: n.target,
65
- item: r
64
+ item: l
66
65
  };
67
66
  }
68
67
  }, [
69
- (t(!0), o(i, null, d(e.getEntries(r), ([n, a]) => {
68
+ (t(!0), o(r, null, d(e.getEntries(l), ([n, a]) => {
70
69
  var m, y;
71
70
  return t(), o("td", {
72
71
  key: n,
@@ -76,7 +75,7 @@ function Y(e, Z, x, ee, te, oe) {
76
75
  "aria-selected": "false",
77
76
  onClick: (s) => e.handleTrClick(s, n)
78
77
  }, [
79
- l("div", W, [
78
+ i("div", W, [
80
79
  (y = e.withEditableFields) != null && y.includes(n) ? (t(), o("input", {
81
80
  key: 0,
82
81
  id: n,
@@ -84,7 +83,7 @@ function Y(e, Z, x, ee, te, oe) {
84
83
  value: a,
85
84
  onKeydown: T((s) => e.updateOnKeyDown(s, n), ["enter"])
86
85
  }, null, 40, j)) : typeof a == "number" || typeof a == "string" ? (t(), o("span", M, w(a), 1)) : Array.isArray(a) ? (t(), o("div", O, [
87
- (t(!0), o(i, null, d(a, (s) => (t(), o("div", { key: s }, [
86
+ (t(!0), o(r, null, d(a, (s) => (t(), o("div", { key: s }, [
88
87
  typeof s == "number" || typeof s == "string" ? (t(), o("span", q, w(s), 1)) : (t(), u(k(typeof s == "function" ? s() : s), { key: 1 }))
89
88
  ]))), 128))
90
89
  ])) : (t(), u(k(typeof a == "function" ? a() : a), { key: 3 }))
@@ -96,14 +95,14 @@ function Y(e, Z, x, ee, te, oe) {
96
95
  ], 512)), [
97
96
  [z, !e.reactiveIsLoading]
98
97
  ])
99
- ], 16, V),
98
+ ], 16, L),
100
99
  e.reactiveIsLoading ? (t(), o("div", J, [
101
- l("div", Q, [
102
- (t(!0), o(i, null, d(e.loadingRowsLength, (r) => (t(), o("div", {
103
- key: r,
100
+ i("div", Q, [
101
+ (t(!0), o(r, null, d(e.loadingRowsLength, (l) => (t(), o("div", {
102
+ key: l,
104
103
  class: "skeleton-row"
105
104
  }, [
106
- (t(!0), o(i, null, d(e.columns, (n) => (t(), o("div", {
105
+ (t(!0), o(r, null, d(e.columns, (n) => (t(), o("div", {
107
106
  key: n,
108
107
  class: "skeleton-cell"
109
108
  }))), 128))
@@ -111,18 +110,21 @@ function Y(e, Z, x, ee, te, oe) {
111
110
  ])
112
111
  ])) : p("", !0),
113
112
  e.withPaginator ? (t(), o("div", X, [
114
- g(S, {
113
+ g(_, {
115
114
  ref: "paginatorRef",
116
115
  "page-size": e.withPaginator.pageSize,
117
116
  total: e.withPaginator.total,
118
117
  disable: e.disable,
119
118
  "disable-without-c-s-s": e.disableWithoutCSS,
120
- "onUpdate:activePage": (h = e.withPaginator) == null ? void 0 : h.onUpdatePage
121
- }, null, 8, ["page-size", "total", "disable", "disable-without-c-s-s", "onUpdate:activePage"])
119
+ "onUpdate:activePage": h[0] || (h[0] = (l) => {
120
+ var n;
121
+ (n = e.withPaginator) == null || n.onUpdatePage(l);
122
+ })
123
+ }, null, 8, ["page-size", "total", "disable", "disable-without-c-s-s"])
122
124
  ])) : p("", !0)
123
125
  ], 64);
124
126
  }
125
- const ie = /* @__PURE__ */ U(A, [["render", Y], ["__scopeId", "data-v-75cf85f4"]]);
127
+ const le = /* @__PURE__ */ V(A, [["render", Y], ["__scopeId", "data-v-1c0fda53"]]);
126
128
  export {
127
- ie as default
129
+ le as default
128
130
  };
@@ -1,15 +1,15 @@
1
- import { defineComponent as E, ref as f, reactive as O, provide as b, readonly as x, inject as B, watch as P, onMounted as R, watchEffect as w, h as q, computed as L } from "vue";
2
- import S from "../Checkbox/Checkbox.vue.js";
1
+ import { defineComponent as L, ref as f, reactive as O, provide as b, readonly as x, inject as B, watch as p, onMounted as P, watchEffect as C, h as R, computed as q } from "vue";
2
+ import D from "../Checkbox/Checkbox.vue.js";
3
3
  import N from "../Paginator/Paginator.vue.js";
4
4
  import { AtTipograph as V } from "../Tipograph/index.js";
5
5
  import F from "./Column/Column.vue.js";
6
- const W = E({
6
+ const W = L({
7
7
  name: "AtDataTable",
8
8
  components: {
9
9
  AtText: V.Title,
10
10
  AtColumn: F,
11
11
  AtPaginator: N,
12
- AtCheckbox: S
12
+ AtCheckbox: D
13
13
  },
14
14
  inheritAttrs: !1,
15
15
  props: {
@@ -73,8 +73,8 @@ const W = E({
73
73
  "update:table-data": (e) => Array.isArray(e),
74
74
  "update:table-cell": (e) => typeof e == "object"
75
75
  },
76
- setup(e, c) {
77
- const s = f(e.value), p = f([...s.value]), y = f(!1), u = f([]), C = f(), v = f(
76
+ setup(e, r) {
77
+ const i = f(e.value), A = f([...i.value]), m = f(!1), u = f([]), I = f(), v = f(
78
78
  null
79
79
  ), d = O([]), g = (t) => {
80
80
  d.includes(t) || d.push(t);
@@ -82,48 +82,48 @@ const W = E({
82
82
  b("columns", {
83
83
  columns: x(d),
84
84
  updateColumn: g
85
- }), b("alignColumns", e.alignColumns), b("tableData", s);
86
- const A = B("columns", {
85
+ }), b("alignColumns", e.alignColumns), b("tableData", i);
86
+ const w = B("columns", {
87
87
  columns: d,
88
88
  updateColumn: g
89
- }), D = (t) => Object.entries(t), i = (t) => {
89
+ }), k = (t) => Object.entries(t), s = (t) => {
90
90
  try {
91
91
  return e.keyExtractor(t);
92
92
  } catch (n) {
93
93
  console.warn("AtDataTable: Não foi possível extrair a key: ", n);
94
94
  }
95
- }, I = (t, n) => {
95
+ }, T = (t, n) => {
96
96
  var a;
97
97
  const o = t.target;
98
98
  if ((a = e.withEditableFields) != null && a.includes(n)) {
99
99
  const l = o.querySelector("input");
100
100
  l == null || l.focus();
101
101
  }
102
- }, m = (t) => {
102
+ }, y = (t) => {
103
103
  u.value = t;
104
- const n = s.value.length, o = [...e.value].filter((a) => {
105
- const l = i(a);
104
+ const n = i.value.length, o = [...e.value].filter((a) => {
105
+ const l = s(a);
106
106
  return [...u.value].includes(l);
107
107
  });
108
108
  if (v.value) {
109
- const { element: a, item: l } = v.value, r = o.find(
110
- (h) => i(h) === i(l)
109
+ const { element: a, item: l } = v.value, c = o.find(
110
+ (h) => s(h) === s(l)
111
111
  );
112
- a.setAttribute("aria-selected", JSON.stringify(!!r));
112
+ a.setAttribute("aria-selected", JSON.stringify(!!c));
113
113
  }
114
- n === u.value.length ? y.value = !0 : y.value = !1, c.emit("update:selected-items", Array.from(o));
115
- }, k = (t, n) => {
116
- var r;
117
- const o = t.target, { value: a } = o, l = (r = v.value) == null ? void 0 : r.item;
118
- l && (l[n] = a, s.value = s.value.map((h) => {
119
- const K = i(h), j = i(l);
120
- return K === j ? l : h;
121
- }), c.emit("update:table-data", s.value), c.emit("update:table-cell", {
114
+ n === u.value.length ? m.value = !0 : m.value = !1, r.emit("update:selected-items", Array.from(o));
115
+ }, K = (t, n) => {
116
+ var c;
117
+ const o = t.target, { value: a } = o, l = (c = v.value) == null ? void 0 : c.item;
118
+ l && (l[n] = a, i.value = i.value.map((h) => {
119
+ const j = s(h), E = s(l);
120
+ return j === E ? l : h;
121
+ }), r.emit("update:table-data", i.value), r.emit("update:table-cell", {
122
122
  field: n,
123
123
  value: a
124
124
  }));
125
- }, T = (t) => {
126
- y.value = t;
125
+ }, S = (t) => {
126
+ m.value = t;
127
127
  const n = Array.from(
128
128
  document.querySelectorAll(".table-content tbody tr")
129
129
  ), o = (a) => {
@@ -131,56 +131,64 @@ const W = E({
131
131
  l.setAttribute("aria-selected", JSON.stringify(a));
132
132
  };
133
133
  t ? (u.value = [...e.value].map(
134
- (a) => i(a)
135
- ), m(u.value), o(!0)) : (u.value = [], m(u.value), o(!1));
134
+ (a) => s(a)
135
+ ), y(u.value), o(!0)) : (u.value = [], y(u.value), o(!1));
136
136
  };
137
- return P(
137
+ return p(
138
138
  () => e.withDefaultSelectedItems,
139
139
  (t) => {
140
- t && m(e.withDefaultSelectedItems ?? []);
140
+ t && y(e.withDefaultSelectedItems ?? []);
141
141
  }
142
- ), R(() => {
143
- e.withDefaultSelectedItems && m([...e.withDefaultSelectedItems]);
144
- }), w(() => {
145
- e.withSelection ? s.value = [...e.value].map((t) => ({
146
- selection: () => q(S, {
142
+ ), P(() => {
143
+ e.withDefaultSelectedItems && y([...e.withDefaultSelectedItems]);
144
+ }), C(() => {
145
+ e.withSelection ? i.value = [...e.value].map((t) => ({
146
+ selection: () => R(D, {
147
147
  modelValue: u.value,
148
- "onUpdate:modelValue": (n) => m(n),
149
- val: i(t),
148
+ "onUpdate:modelValue": (n) => y(n),
149
+ val: s(t),
150
150
  size: "20"
151
151
  }),
152
152
  ...t
153
- })) : s.value = [...e.value];
154
- }), w(() => {
155
- const t = [...d], n = [...s.value].map((o) => {
153
+ })) : i.value = [...e.value];
154
+ }), C(() => {
155
+ const t = [...d], n = [...i.value].map((o) => {
156
156
  const a = {}, l = Object.keys({ ...o });
157
- for (const r of t)
158
- l.includes(r) && (a[r] = o[r]);
157
+ for (const c of t)
158
+ l.includes(c) && (a[c] = o[c]);
159
159
  return a;
160
160
  });
161
- p.value = n;
162
- }), {
163
- reactiveIsLoading: L(() => e.isLoading),
164
- withSelectionModel: y,
165
- handleWithSelectionChanges: T,
166
- tableData: s,
167
- activeTableData: p,
168
- columns: A.columns,
169
- updateColumn: A.updateColumn,
161
+ A.value = n;
162
+ }), p(
163
+ () => [e.isLoading, e.value],
164
+ () => {
165
+ !e.isLoading && e.value.length > 0 && S(m.value);
166
+ },
167
+ {
168
+ flush: "post"
169
+ }
170
+ ), {
171
+ reactiveIsLoading: q(() => e.isLoading),
172
+ withSelectionModel: m,
173
+ handleWithSelectionChanges: S,
174
+ tableData: i,
175
+ activeTableData: A,
176
+ columns: w.columns,
177
+ updateColumn: w.updateColumn,
170
178
  internalUpdateColumn: g,
171
179
  internalColumns: d,
172
180
  lastHoveredTr: v,
173
- getEntries: D,
174
- extractKey: i,
175
- updateOnKeyDown: k,
176
- handleTrClick: I,
177
- paginatorRef: C
181
+ getEntries: k,
182
+ extractKey: s,
183
+ updateOnKeyDown: K,
184
+ handleTrClick: T,
185
+ paginatorRef: I
178
186
  };
179
187
  },
180
188
  methods: {
181
189
  setPage(e) {
182
- var c;
183
- (c = this.paginatorRef) == null || c.setPage(e);
190
+ var r;
191
+ (r = this.paginatorRef) == null || r.setPage(e);
184
192
  }
185
193
  }
186
194
  });
@@ -1,8 +1,8 @@
1
1
  import S 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 D, Fragment as k, renderList as b, pushScopeId as T, popScopeId as $ } from "vue";
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 g, renderSlot as D, Fragment as k, renderList as I, pushScopeId as T, popScopeId as $ } from "vue";
3
3
  import "./Filter.vue3.js";
4
4
  import B from "../_virtual/_plugin-vue_export-helper.js";
5
- const C = (e) => (T("data-v-4d0535a3"), e = e(), $(), e), F = { class: "d-flex align-items-center gap-2" }, U = {
5
+ const C = (e) => (T("data-v-e92f6a51"), e = e(), $(), e), F = { class: "d-flex align-items-center gap-2" }, U = {
6
6
  key: 1,
7
7
  class: "badge"
8
8
  }, N = { class: "filter" }, O = { class: "at-dropdown-header" }, E = {
@@ -44,7 +44,7 @@ function J(e, r, K, Q, W, X) {
44
44
  size: "20",
45
45
  onClick: e.closeDialog
46
46
  }, null, 8, ["onClick"])
47
- ])) : I("", !0),
47
+ ])) : g("", !0),
48
48
  e.count > 0 ? (t(), s("span", U, [
49
49
  l(c, { size: "p3" }, {
50
50
  default: n(() => [
@@ -52,7 +52,7 @@ function J(e, r, K, Q, W, X) {
52
52
  ]),
53
53
  _: 1
54
54
  })
55
- ])) : I("", !0)
55
+ ])) : g("", !0)
56
56
  ];
57
57
  }),
58
58
  _: 1
@@ -112,9 +112,9 @@ function J(e, r, K, Q, W, X) {
112
112
  ], 8, P)
113
113
  ]),
114
114
  R
115
- ], 64)) : I("", !0),
116
- (t(!0), s(k, null, b(e.listSeparator, (o, g) => (t(), s("div", {
117
- key: `${g}`,
115
+ ], 64)) : g("", !0),
116
+ (t(!0), s(k, null, I(e.listSeparator, (o, b) => (t(), s("div", {
117
+ key: `${b}`,
118
118
  class: "item-separator"
119
119
  }, [
120
120
  l(c, {
@@ -127,14 +127,14 @@ function J(e, r, K, Q, W, X) {
127
127
  _: 2
128
128
  }, 1024),
129
129
  j,
130
- (t(!0), s(k, null, b(o.value, (p, _) => (t(), s("div", {
131
- key: `${_}`,
130
+ (t(!0), s(k, null, I(o.value, (p, z) => (t(), s("div", {
131
+ key: `${z}`,
132
132
  class: "item"
133
133
  }, [
134
134
  l(v, {
135
135
  id: e.getItemId(p),
136
136
  modelValue: p.value,
137
- "onUpdate:modelValue": (z) => p.value = z,
137
+ "onUpdate:modelValue": (_) => p.value = _,
138
138
  labelledby: e.getItemId(p),
139
139
  size: "12"
140
140
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "labelledby"]),
@@ -151,8 +151,8 @@ function J(e, r, K, Q, W, X) {
151
151
  ], 8, q)
152
152
  ]))), 128))
153
153
  ]))), 128)),
154
- (t(!0), s(k, null, b(e.listArray, (o, g) => (t(), s("div", {
155
- key: `${g}`,
154
+ (t(!0), s(k, null, I(e.listArray, (o, b) => (t(), s("div", {
155
+ key: `${b}`,
156
156
  class: "item"
157
157
  }, [
158
158
  l(v, {
@@ -191,6 +191,7 @@ function J(e, r, K, Q, W, X) {
191
191
  }, 8, ["onClick"]),
192
192
  l(f, {
193
193
  class: "save-button w-100",
194
+ disabled: e.disableSubmit,
194
195
  onClick: e.save
195
196
  }, {
196
197
  default: n(() => {
@@ -200,7 +201,7 @@ function J(e, r, K, Q, W, X) {
200
201
  ];
201
202
  }),
202
203
  _: 1
203
- }, 8, ["onClick"])
204
+ }, 8, ["disabled", "onClick"])
204
205
  ])
205
206
  ])
206
207
  ];
@@ -209,7 +210,7 @@ function J(e, r, K, Q, W, X) {
209
210
  }, 8, ["id", "is-open", "position", "prevent-click-outside"])
210
211
  ]);
211
212
  }
212
- const oe = /* @__PURE__ */ B(S, [["render", J], ["__scopeId", "data-v-4d0535a3"]]);
213
+ const oe = /* @__PURE__ */ B(S, [["render", J], ["__scopeId", "data-v-e92f6a51"]]);
213
214
  export {
214
215
  oe as default
215
216
  };