v-sistec-features 1.10.3 → 1.10.5

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,7 +1,7 @@
1
- import { defineComponent as te, useSlots as Ve, inject as Te, onMounted as je, computed as S, watch as L, resolveComponent as Ne, createElementBlock as s, openBlock as n, createCommentVNode as h, createElementVNode as t, withDirectives as ie, withKeys as Ee, vModelText as de, Fragment as b, renderList as V, createBlock as ee, withCtx as O, createTextVNode as T, toDisplayString as m, normalizeClass as p, withModifiers as re, ref as g, provide as De, readonly as Ie, nextTick as Ae, renderSlot as E, createVNode as q, createStaticVNode as He, resolveDynamicComponent as oe, unref as f, TransitionGroup as Oe, mergeProps as Pe, Transition as qe, normalizeStyle as Le } from "vue";
2
- import { _ as ue, P as Ue } from "./Pagination-DtVDFQ07.js";
3
- import Fe from "vuedraggable";
4
- const ce = Symbol("v-datatable-key"), ra = /* @__PURE__ */ te({
1
+ import { defineComponent as ne, useSlots as Ne, inject as Ee, onMounted as De, computed as S, watch as U, resolveComponent as Ie, createElementBlock as s, openBlock as n, createCommentVNode as h, createElementVNode as t, withDirectives as ce, withKeys as Ae, vModelText as pe, Fragment as C, renderList as V, createBlock as ae, withCtx as H, createTextVNode as T, toDisplayString as v, normalizeClass as c, withModifiers as de, ref as g, provide as Pe, readonly as He, nextTick as Oe, renderSlot as E, createVNode as F, createStaticVNode as qe, resolveDynamicComponent as ue, unref as f, TransitionGroup as Le, mergeProps as Fe, Transition as Ue, normalizeStyle as Ke } from "vue";
2
+ import { _ as _e, P as Ye } from "./Pagination-DtVDFQ07.js";
3
+ import Xe from "vuedraggable";
4
+ const me = Symbol("v-datatable-key"), da = /* @__PURE__ */ ne({
5
5
  __name: "VColumn",
6
6
  props: {
7
7
  field: { default: null },
@@ -21,17 +21,17 @@ const ce = Symbol("v-datatable-key"), ra = /* @__PURE__ */ te({
21
21
  decreasing_value: { default: "" },
22
22
  increasing_value: { default: "" }
23
23
  },
24
- setup(x) {
25
- const i = x, y = Ve(), M = Te(ce);
26
- if (!M)
24
+ setup(M) {
25
+ const i = M, k = Ne(), y = Ee(me);
26
+ if (!y)
27
27
  throw new Error("VColumn deve ser usado dentro de um VDataTable.");
28
- const B = ["text", "img", "date", "html"];
29
- return je(() => {
28
+ const $ = ["text", "img", "date", "html"];
29
+ return De(() => {
30
30
  if (i.field !== null && !i.field)
31
31
  throw new Error('A propriedade "field" é obrigatória em VColumn.');
32
32
  if (!i.header)
33
33
  throw new Error('A propriedade "header" é obrigatória em VColumn.');
34
- if (i.field !== null && !B.includes(i.type))
34
+ if (i.field !== null && !$.includes(i.type))
35
35
  throw new Error(`O tipo "${i.type}" não é suportado em VColumn. Tipos suportados: text, img, date, html.`);
36
36
  if (i.limite_text) {
37
37
  if (i.type !== "text")
@@ -41,7 +41,7 @@ const ce = Symbol("v-datatable-key"), ra = /* @__PURE__ */ te({
41
41
  if (isNaN(Number(i.limite_text)) || Number(i.limite_text) <= 0)
42
42
  throw new Error('A propriedade "limite_text" deve ser um número maior que 0.');
43
43
  }
44
- M.addColumn({
44
+ y.addColumn({
45
45
  field: i.field,
46
46
  header: i.header,
47
47
  type: i.type,
@@ -55,26 +55,26 @@ const ce = Symbol("v-datatable-key"), ra = /* @__PURE__ */ te({
55
55
  param_ordering: i.param_ordering,
56
56
  decreasing_value: i.decreasing_value,
57
57
  increasing_value: i.increasing_value,
58
- bodySlot: y.body,
58
+ bodySlot: k.body,
59
59
  ...i.type === "text" && { limite_text: Number(i.limite_text) },
60
60
  ...i.type === "img" && { deactivate_img_preview: i.deactivate_img_preview },
61
61
  ...i.type === "date" && { format: i.format }
62
62
  });
63
- }), (z, I) => null;
63
+ }), (B, I) => null;
64
64
  }
65
- }), Ke = { class: "dropdown d-flex" }, Ye = {
65
+ }), Ge = { class: "dropdown d-flex" }, We = {
66
66
  key: 0,
67
67
  href: "#",
68
68
  class: "btn dropdown-toggle",
69
69
  "data-bs-toggle": "dropdown",
70
70
  title: "Pesquisas Prédefinidas"
71
- }, Xe = { class: "input-icon" }, Ge = ["placeholder"], We = {
71
+ }, Je = { class: "input-icon" }, Qe = ["placeholder"], Re = {
72
72
  key: 1,
73
73
  class: "input-icon-addon"
74
- }, Je = {
74
+ }, Ze = {
75
75
  key: 1,
76
76
  class: "dropdown-menu"
77
- }, Qe = ["onClick"], Re = ["onClick"], Ze = /* @__PURE__ */ te({
77
+ }, et = ["onClick"], tt = ["onClick"], at = /* @__PURE__ */ ne({
78
78
  __name: "SearchDatatable",
79
79
  props: {
80
80
  search: {},
@@ -85,42 +85,42 @@ const ce = Symbol("v-datatable-key"), ra = /* @__PURE__ */ te({
85
85
  deactivate_search_on_clear: { type: Boolean, default: !1 },
86
86
  deactivate_search_empty: { type: Boolean, default: !1 }
87
87
  },
88
- emits: ["update:search", "update:filter", "search"],
89
- setup(x, { emit: i }) {
90
- const y = x, M = i, B = S({
91
- get: () => y.search,
92
- set: (d) => M("update:search", d)
93
- }), z = S({
94
- get: () => y.filter,
95
- set: (d) => M("update:filter", d)
88
+ emits: ["update:search", "update:filter", "search", "clickedClearSearch"],
89
+ setup(M, { emit: i }) {
90
+ const k = M, y = i, $ = S({
91
+ get: () => k.search,
92
+ set: (p) => y("update:search", p)
93
+ }), B = S({
94
+ get: () => k.filter,
95
+ set: (p) => y("update:filter", p)
96
96
  });
97
- L(z, () => {
98
- M("search");
99
- }), L(
100
- () => y.list_filter,
101
- (d) => {
102
- Array.isArray(d) ? (d.forEach((_, k) => {
103
- _?.type === 1 && !_.to && console.error(`Filtro na posição ${k} é do tipo 'router-link' mas não possui a propriedade 'to'.`);
104
- }), y.item_use.includes(2) && d.length === 0 && console.error("Nenhum filtro foi passado. Certifique-se de que o array de filtros não está vazio.")) : console.error("list_filter deve ser um array.");
97
+ U(B, () => {
98
+ y("search");
99
+ }), U(
100
+ () => k.list_filter,
101
+ (p) => {
102
+ Array.isArray(p) ? (p.forEach((m, _) => {
103
+ m?.type === 1 && !m.to && console.error(`Filtro na posição ${_} é do tipo 'router-link' mas não possui a propriedade 'to'.`);
104
+ }), k.item_use.includes(2) && p.length === 0 && console.error("Nenhum filtro foi passado. Certifique-se de que o array de filtros não está vazio.")) : console.error("list_filter deve ser um array.");
105
105
  },
106
106
  { immediate: !0, deep: !0 }
107
107
  );
108
- function I(d) {
109
- z.value === d ? z.value = "" : z.value = d;
108
+ function I(p) {
109
+ B.value === p ? B.value = "" : B.value = p;
110
110
  }
111
- function P() {
112
- B.value = "", y.deactivate_search_on_clear || M("search");
111
+ function O() {
112
+ $.value = "", k.deactivate_search_on_clear || y("search"), y("clickedClearSearch");
113
113
  }
114
- function o(d) {
115
- d.click && typeof d.click == "function" ? d.click() : console.error("O filtro selecionado não possui uma função de clique válida.");
114
+ function q(p) {
115
+ p.click && typeof p.click == "function" ? p.click() : console.error("O filtro selecionado não possui uma função de clique válida.");
116
116
  }
117
- function $() {
118
- y.deactivate_search_empty && B.value.trim() === "" || M("search");
117
+ function o() {
118
+ k.deactivate_search_empty && $.value.trim() === "" || y("search");
119
119
  }
120
- return (d, _) => {
121
- const k = Ne("router-link");
122
- return n(), s("div", Ke, [
123
- x.item_use.includes(2) ? (n(), s("a", Ye, [..._[2] || (_[2] = [
120
+ return (p, m) => {
121
+ const _ = Ie("router-link");
122
+ return n(), s("div", Ge, [
123
+ M.item_use.includes(2) ? (n(), s("a", We, [...m[2] || (m[2] = [
124
124
  t("svg", {
125
125
  xmlns: "http://www.w3.org/2000/svg",
126
126
  class: "icon icon-tabler icon-tabler-filter",
@@ -141,23 +141,23 @@ const ce = Symbol("v-datatable-key"), ra = /* @__PURE__ */ te({
141
141
  t("path", { d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z" })
142
142
  ], -1)
143
143
  ])])) : h("", !0),
144
- t("div", Xe, [
145
- ie(t("input", {
144
+ t("div", Je, [
145
+ ce(t("input", {
146
146
  type: "text",
147
147
  class: "form-control ms-1",
148
148
  id: "inputSearchVDataTable",
149
- "onUpdate:modelValue": _[0] || (_[0] = (u) => B.value = u),
150
- onKeyup: Ee($, ["enter"]),
151
- placeholder: x.placeholder_search
152
- }, null, 40, Ge), [
153
- [de, B.value]
149
+ "onUpdate:modelValue": m[0] || (m[0] = (d) => $.value = d),
150
+ onKeyup: Ae(o, ["enter"]),
151
+ placeholder: M.placeholder_search
152
+ }, null, 40, Qe), [
153
+ [pe, $.value]
154
154
  ]),
155
- B.value ? (n(), s("span", {
155
+ $.value ? (n(), s("span", {
156
156
  key: 0,
157
- onClick: _[1] || (_[1] = (u) => P()),
157
+ onClick: m[1] || (m[1] = (d) => O()),
158
158
  class: "inputClose",
159
159
  title: "Limpar pesquisa"
160
- }, [..._[3] || (_[3] = [
160
+ }, [...m[3] || (m[3] = [
161
161
  t("svg", {
162
162
  xmlns: "http://www.w3.org/2000/svg",
163
163
  width: "24",
@@ -178,7 +178,7 @@ const ce = Symbol("v-datatable-key"), ra = /* @__PURE__ */ te({
178
178
  t("path", { d: "M18 6l-12 12" }),
179
179
  t("path", { d: "M6 6l12 12" })
180
180
  ], -1)
181
- ])])) : (n(), s("span", We, [..._[4] || (_[4] = [
181
+ ])])) : (n(), s("span", Re, [...m[4] || (m[4] = [
182
182
  t("svg", {
183
183
  xmlns: "http://www.w3.org/2000/svg",
184
184
  width: "24",
@@ -201,99 +201,99 @@ const ce = Symbol("v-datatable-key"), ra = /* @__PURE__ */ te({
201
201
  ], -1)
202
202
  ])]))
203
203
  ]),
204
- x.item_use.includes(2) ? (n(), s("div", Je, [
205
- (n(!0), s(b, null, V(y.list_filter, (u, v) => (n(), s(b, { key: v }, [
206
- "type" in u && u.type === 1 && (!("visible" in u) || u.visible) ? (n(), ee(k, {
204
+ M.item_use.includes(2) ? (n(), s("div", Ze, [
205
+ (n(!0), s(C, null, V(k.list_filter, (d, w) => (n(), s(C, { key: w }, [
206
+ "type" in d && d.type === 1 && (!("visible" in d) || d.visible) ? (n(), ae(_, {
207
207
  key: 0,
208
- to: u?.to,
208
+ to: d?.to,
209
209
  class: "dropdown-item cursor-pointer"
210
210
  }, {
211
- default: O(() => [
212
- T(m(u.text), 1)
211
+ default: H(() => [
212
+ T(v(d.text), 1)
213
213
  ]),
214
214
  _: 2
215
- }, 1032, ["to"])) : (!("type" in u) || u.type === 2) && (!("visible" in u) || u.visible) ? (n(), s("a", {
215
+ }, 1032, ["to"])) : (!("type" in d) || d.type === 2) && (!("visible" in d) || d.visible) ? (n(), s("a", {
216
216
  key: 1,
217
- onClick: re((C) => I(String(u.value)), ["prevent"]),
218
- class: p(["dropdown-item cursor-pointer", z.value === u?.value ? "bg-info text-dark selected" : ""])
219
- }, m(u.text), 11, Qe)) : (!("type" in u) || u.type === 3) && (!("visible" in u) || u.visible) ? (n(), s("a", {
217
+ onClick: de((z) => I(String(d.value)), ["prevent"]),
218
+ class: c(["dropdown-item cursor-pointer", B.value === d?.value ? "bg-info text-dark selected" : ""])
219
+ }, v(d.text), 11, et)) : (!("type" in d) || d.type === 3) && (!("visible" in d) || d.visible) ? (n(), s("a", {
220
220
  key: 2,
221
- onClick: re((C) => o(u), ["prevent"]),
222
- class: p(["dropdown-item cursor-pointer", u?.active ? "bg-info text-dark selected" : ""])
223
- }, m(u.text), 11, Re)) : h("", !0)
221
+ onClick: de((z) => q(d), ["prevent"]),
222
+ class: c(["dropdown-item cursor-pointer", d?.active ? "bg-info text-dark selected" : ""])
223
+ }, v(d.text), 11, tt)) : h("", !0)
224
224
  ], 64))), 128))
225
225
  ])) : h("", !0)
226
226
  ]);
227
227
  };
228
228
  }
229
- }), et = /* @__PURE__ */ ue(Ze, [["__scopeId", "data-v-1c9019e3"]]);
230
- function tt() {
231
- const x = g(!1), i = g(""), y = g(0), M = g(0), B = S(() => ({
229
+ }), nt = /* @__PURE__ */ _e(at, [["__scopeId", "data-v-ed591287"]]);
230
+ function st() {
231
+ const M = g(!1), i = g(""), k = g(0), y = g(0), $ = S(() => ({
232
232
  position: "fixed",
233
233
  zIndex: 9999,
234
234
  pointerEvents: "none",
235
- top: `${M.value + 15}px`,
236
- left: `${y.value + 15}px`
235
+ top: `${y.value + 15}px`,
236
+ left: `${k.value + 15}px`
237
237
  }));
238
- function z($) {
239
- const d = $.clientX, _ = $.clientY, k = window.innerHeight, u = 15, v = 300;
240
- let C = _ + u;
241
- C + v > k && (C = _ - v - u, C < 0 && (C = 0)), y.value = d, M.value = C;
238
+ function B(o) {
239
+ const p = o.clientX, m = o.clientY, _ = window.innerHeight, d = 15, w = 300;
240
+ let z = m + d;
241
+ z + w > _ && (z = m - w - d, z < 0 && (z = 0)), k.value = p, y.value = z;
242
242
  }
243
- function I($, d) {
244
- x.value = !0, i.value = d, z($);
243
+ function I(o, p) {
244
+ M.value = !0, i.value = p, B(o);
245
245
  }
246
- function P($) {
247
- x.value && z($);
246
+ function O(o) {
247
+ M.value && B(o);
248
248
  }
249
- function o() {
250
- x.value = !1;
249
+ function q() {
250
+ M.value = !1;
251
251
  }
252
252
  return {
253
- isHovering: x,
253
+ isHovering: M,
254
254
  previewSrc: i,
255
- previewStyle: B,
255
+ previewStyle: $,
256
256
  handleMouseOver: I,
257
- handleMouseMove: P,
258
- handleMouseLeave: o
257
+ handleMouseMove: O,
258
+ handleMouseLeave: q
259
259
  };
260
260
  }
261
- const at = { class: "mx-2 d-inline-block" }, nt = {
261
+ const lt = { class: "mx-2 d-inline-block" }, rt = {
262
262
  key: 0,
263
263
  class: "alert alert-cyan d-flex justify-content-center align-items-center py-2",
264
264
  role: "alert"
265
- }, st = { class: "alert-title m-0" }, lt = { class: "badge bg-azure text-azure-fg" }, rt = { key: 0 }, ot = { key: 2 }, it = {
265
+ }, ot = { class: "alert-title m-0" }, it = { class: "badge bg-azure text-azure-fg" }, dt = { key: 0 }, ut = { key: 2 }, ct = {
266
266
  key: 5,
267
267
  class: "text-danger erro-custom-container"
268
- }, dt = { class: "badge bg-orange text-white erro-custom-text" }, ut = { key: 0 }, ct = { key: 2 }, pt = {
268
+ }, pt = { class: "badge bg-orange text-white erro-custom-text" }, _t = { key: 0 }, mt = { key: 2 }, vt = {
269
269
  key: 5,
270
270
  class: "text-danger erro-custom-container"
271
- }, _t = { class: "badge bg-orange text-white erro-custom-text" }, mt = ["colspan"], vt = {
271
+ }, ht = { class: "badge bg-orange text-white erro-custom-text" }, ft = ["colspan"], gt = {
272
272
  key: 0,
273
273
  class: "d-flex flex-column justify-content-center align-items-center",
274
274
  style: { height: "6rem" }
275
- }, ht = {
275
+ }, kt = {
276
276
  key: 1,
277
277
  style: { height: "3rem" }
278
- }, ft = {
278
+ }, yt = {
279
279
  key: 2,
280
280
  class: "p-3 text-center text-secondary"
281
- }, gt = {
281
+ }, wt = {
282
282
  key: 1,
283
283
  class: "feedback-container text-center"
284
- }, kt = {
284
+ }, xt = {
285
285
  key: 0,
286
286
  class: "text-secondary"
287
- }, yt = {
287
+ }, bt = {
288
288
  key: 1,
289
289
  class: "text-secondary"
290
- }, wt = {
290
+ }, Ct = {
291
291
  key: 2,
292
292
  class: "table-responsive"
293
- }, bt = { key: 0 }, xt = { key: 0 }, Mt = {
293
+ }, Mt = { key: 0 }, St = { key: 0 }, $t = {
294
294
  key: 1,
295
295
  class: "w-1"
296
- }, Ct = { class: "header-ordering" }, St = ["onClick"], $t = {
296
+ }, Bt = { class: "header-ordering" }, zt = ["onClick"], Vt = {
297
297
  key: 0,
298
298
  xmlns: "http://www.w3.org/2000/svg",
299
299
  width: "16",
@@ -304,7 +304,7 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
304
304
  "stroke-width": "2",
305
305
  "stroke-linecap": "round",
306
306
  "stroke-linejoin": "round"
307
- }, Bt = {
307
+ }, Tt = {
308
308
  key: 1,
309
309
  xmlns: "http://www.w3.org/2000/svg",
310
310
  width: "16",
@@ -315,7 +315,7 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
315
315
  "stroke-width": "2",
316
316
  "stroke-linecap": "round",
317
317
  "stroke-linejoin": "round"
318
- }, zt = {
318
+ }, jt = {
319
319
  key: 2,
320
320
  xmlns: "http://www.w3.org/2000/svg",
321
321
  width: "16",
@@ -326,7 +326,7 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
326
326
  "stroke-width": "2",
327
327
  "stroke-linecap": "round",
328
328
  "stroke-linejoin": "round"
329
- }, Vt = { class: "header-ordering" }, Tt = ["onClick"], jt = {
329
+ }, Nt = { class: "header-ordering" }, Et = ["onClick"], Dt = {
330
330
  key: 0,
331
331
  xmlns: "http://www.w3.org/2000/svg",
332
332
  width: "16",
@@ -337,7 +337,7 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
337
337
  "stroke-width": "2",
338
338
  "stroke-linecap": "round",
339
339
  "stroke-linejoin": "round"
340
- }, Nt = {
340
+ }, It = {
341
341
  key: 1,
342
342
  xmlns: "http://www.w3.org/2000/svg",
343
343
  width: "16",
@@ -348,7 +348,7 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
348
348
  "stroke-width": "2",
349
349
  "stroke-linecap": "round",
350
350
  "stroke-linejoin": "round"
351
- }, Et = {
351
+ }, At = {
352
352
  key: 2,
353
353
  xmlns: "http://www.w3.org/2000/svg",
354
354
  width: "16",
@@ -359,10 +359,10 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
359
359
  "stroke-width": "2",
360
360
  "stroke-linecap": "round",
361
361
  "stroke-linejoin": "round"
362
- }, Dt = {
362
+ }, Pt = {
363
363
  key: 0,
364
364
  class: "w-1"
365
- }, It = ["onClick"], At = {
365
+ }, Ht = ["onClick"], Ot = {
366
366
  key: 0,
367
367
  xmlns: "http://www.w3.org/2000/svg",
368
368
  width: "24",
@@ -374,7 +374,7 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
374
374
  "stroke-linecap": "round",
375
375
  "stroke-linejoin": "round",
376
376
  class: "icon icon-tabler icons-tabler-outline icon-tabler-chevron-right icon-transition-arrow"
377
- }, Ht = {
377
+ }, qt = {
378
378
  key: 1,
379
379
  xmlns: "http://www.w3.org/2000/svg",
380
380
  width: "20",
@@ -386,19 +386,19 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
386
386
  "stroke-linecap": "round",
387
387
  "stroke-linejoin": "round",
388
388
  class: "icon icon-transition-plus"
389
- }, Ot = {
389
+ }, Lt = {
390
390
  key: 1,
391
391
  class: "w-1"
392
- }, Pt = ["checked", "onChange"], qt = ["onClick"], Lt = ["onClick"], Ut = { key: 0 }, Ft = { key: 1 }, Kt = ["onClick", "innerHTML"], Yt = ["onClick"], Xt = ["src"], Gt = ["src"], Wt = {
392
+ }, Ft = ["checked", "onChange"], Ut = ["onClick"], Kt = ["onClick"], Yt = { key: 0 }, Xt = { key: 1 }, Gt = ["onClick", "innerHTML"], Wt = ["onClick"], Jt = ["src"], Qt = ["src"], Rt = {
393
393
  key: 5,
394
394
  class: "text-danger erro-custom-container"
395
- }, Jt = { class: "badge bg-orange text-white erro-custom-text" }, Qt = {
395
+ }, Zt = { class: "badge bg-orange text-white erro-custom-text" }, ea = {
396
396
  key: 0,
397
397
  class: ""
398
- }, Rt = ["colspan"], Zt = { key: 1 }, ea = {
398
+ }, ta = ["colspan"], aa = { key: 1 }, na = {
399
399
  key: 2,
400
400
  class: "text-center p-4 text-secondary"
401
- }, ta = ["src"], aa = /* @__PURE__ */ te({
401
+ }, sa = ["src"], la = /* @__PURE__ */ ne({
402
402
  __name: "VDataTable",
403
403
  props: {
404
404
  fetch: {},
@@ -440,15 +440,16 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
440
440
  placeholder_search: { default: "Buscar..." },
441
441
  deactivate_search_on_clear: { type: Boolean, default: !1 }
442
442
  },
443
- setup(x, { expose: i }) {
443
+ emits: ["tradePage", "beforeFetch", "afterFetch", "clickedClearSearch"],
444
+ setup(M, { expose: i, emit: k }) {
444
445
  const {
445
446
  isHovering: y,
446
- previewSrc: M,
447
+ previewSrc: $,
447
448
  previewStyle: B,
448
- handleMouseOver: z,
449
- handleMouseMove: I,
450
- handleMouseLeave: P
451
- } = tt(), o = x, $ = g(!1), d = g({}), _ = g([]), k = g([]), u = g(0), v = g([]), C = g([]), D = g(null), K = g(!1), Y = g(null), c = g({
449
+ handleMouseOver: I,
450
+ handleMouseMove: O,
451
+ handleMouseLeave: q
452
+ } = st(), o = M, p = k, m = g(!1), _ = g({}), d = g([]), w = g([]), z = g(0), x = g([]), L = g([]), D = g(null), X = g(!1), G = g(null), u = g({
452
453
  current_page: o.page_starts_at,
453
454
  // pagina atual
454
455
  count: 0,
@@ -459,301 +460,305 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
459
460
  // termo de busca
460
461
  filter: ""
461
462
  // filtro selecionado
462
- }), pe = S(() => (c.value.current_page = o.page_starts_at, o.endpoint)), { data: _e, pending: me, error: X, execute: ve, attempt: A } = o.fetch(pe, {
463
+ }), ve = S(() => (u.value.current_page = o.page_starts_at, o.endpoint)), { data: he, pending: fe, error: W, execute: ge, attempt: A } = o.fetch(ve, {
463
464
  params: () => o.deactivate_default_params ? o.add_params && typeof o.add_params == "function" ? {
464
465
  ...o.add_params(),
465
- ...U.value
466
+ ...K.value
466
467
  } : {
467
468
  ...o.add_params,
468
- ...U.value
469
+ ...K.value
469
470
  } : o.add_params && typeof o.add_params == "function" ? {
470
- ...J.value,
471
+ ...R.value,
471
472
  ...o.add_params(),
472
- ...U.value
473
+ ...K.value
473
474
  } : {
474
- ...J.value,
475
+ ...R.value,
475
476
  ...o.add_params,
476
- ...U.value
477
+ ...K.value
477
478
  },
478
479
  retry: o.retry_attempts,
479
480
  retryDelay: o.retry_delay,
480
481
  paramsReactives: !1,
481
482
  immediate: !1
482
- }, o.fetch_name), G = S(
483
- () => _.value.filter((l) => l.locked)
484
- ), W = S({
483
+ }, o.fetch_name), J = S(
484
+ () => d.value.filter((l) => l.locked)
485
+ ), Q = S({
485
486
  get() {
486
- return _.value.filter((l) => !l.locked);
487
+ return d.value.filter((l) => !l.locked);
487
488
  },
488
489
  set(l) {
489
- const e = G.value;
490
- _.value = [...l, ...e];
490
+ const e = J.value;
491
+ d.value = [...l, ...e];
491
492
  }
492
- }), he = S(() => [...W.value, ...G.value]), fe = S(() => {
493
+ }), ke = S(() => [...Q.value, ...J.value]), ye = S(() => {
493
494
  let l = [1];
494
495
  return o.list_filter.length > 0 && l.push(2), l;
495
- }), U = S(() => {
496
+ }), K = S(() => {
496
497
  const l = {};
497
- for (const e of _.value)
498
+ for (const e of d.value)
498
499
  if (e.use_ordering)
499
- if (d.value[e.header] === "increasing")
500
+ if (_.value[e.header] === "increasing")
500
501
  l[e.param_ordering] = e.increasing_value || "increasing";
501
- else if (d.value[e.header] === "decreasing")
502
+ else if (_.value[e.header] === "decreasing")
502
503
  l[e.param_ordering] = e.decreasing_value || "decreasing";
503
504
  else
504
505
  continue;
505
506
  else
506
507
  continue;
507
508
  return l;
508
- }), J = S(() => ({
509
- [o.page_param_name]: c.value.current_page + 1,
510
- [o.page_size_param_name]: c.value.limit_per_page,
511
- [o.search_param_name]: c.value.search || "",
512
- [o.filter_param_name]: c.value.filter || ""
513
- })), ge = S(() => me.value || K.value), F = (l) => {
509
+ }), R = S(() => ({
510
+ [o.page_param_name]: u.value.current_page + 1,
511
+ [o.page_size_param_name]: u.value.limit_per_page,
512
+ [o.search_param_name]: u.value.search || "",
513
+ [o.filter_param_name]: u.value.filter || ""
514
+ })), we = S(() => fe.value || X.value), Y = (l) => {
514
515
  const e = o.item_key;
515
- return v.value.some((a) => a[e] === l[e]);
516
- }, ae = S(() => {
517
- if (!k.value.length) return !1;
518
- const l = k.value.filter((e) => F(e)).length;
519
- return l === 0 ? !1 : l === k.value.length ? !0 : "indeterminate";
520
- }), ke = S(() => v.value.length > 0);
521
- L([ae, D], ([l]) => {
516
+ return x.value.some((a) => a[e] === l[e]);
517
+ }, se = S(() => {
518
+ if (!w.value.length) return !1;
519
+ const l = w.value.filter((e) => Y(e)).length;
520
+ return l === 0 ? !1 : l === w.value.length ? !0 : "indeterminate";
521
+ }), xe = S(() => x.value.length > 0);
522
+ U([se, D], ([l]) => {
522
523
  D.value && (l === "indeterminate" ? (D.value.checked = !1, D.value.indeterminate = !0) : (D.value.checked = l, D.value.indeterminate = !1));
523
524
  }, {
524
525
  immediate: !0,
525
526
  flush: "post"
526
- }), L(_e, (l) => {
527
- l ? (k.value = l[o.data_key] || [], u.value = l[o.total_key] || 0, c.value.count = u.value) : (k.value = [], u.value = 0);
527
+ }), U(he, (l) => {
528
+ l ? (w.value = l[o.data_key] || [], z.value = l[o.total_key] || 0, u.value.count = z.value) : (w.value = [], z.value = 0);
528
529
  }, { immediate: !0 });
529
- function ye() {
530
- const l = k.value;
530
+ function be() {
531
+ const l = w.value;
531
532
  if (!l.length) return;
532
- const e = ae.value;
533
+ const e = se.value;
533
534
  if (e === !0 || e === "indeterminate") {
534
535
  const a = l.map((r) => r[o.item_key]);
535
- v.value = v.value.filter(
536
+ x.value = x.value.filter(
536
537
  (r) => !a.includes(r[o.item_key])
537
538
  );
538
539
  } else
539
540
  l.forEach((a) => {
540
- F(a) || v.value.push(a);
541
+ Y(a) || x.value.push(a);
541
542
  });
542
543
  }
543
- function we(l) {
544
- const e = o.item_key, a = v.value.findIndex((r) => r[e] === l[e]);
545
- a > -1 ? v.value.splice(a, 1) : v.value.push(l);
544
+ function Ce(l) {
545
+ const e = o.item_key, a = x.value.findIndex((r) => r[e] === l[e]);
546
+ a > -1 ? x.value.splice(a, 1) : x.value.push(l);
546
547
  }
547
- function be(l) {
548
- _.value.push(l);
548
+ function Me(l) {
549
+ d.value.push(l);
549
550
  }
550
- De(ce, { addColumn: be });
551
- function H() {
552
- $.value || ($.value = !0), Y.value && clearTimeout(Y.value), K.value = !0, Y.value = setTimeout(() => {
553
- K.value = !1;
554
- }, o.min_loading_delay), ve();
551
+ Pe(me, { addColumn: Me });
552
+ async function P() {
553
+ m.value || (m.value = !0), G.value && clearTimeout(G.value), X.value = !0, G.value = setTimeout(() => {
554
+ X.value = !1;
555
+ }, o.min_loading_delay), oe(), p("beforeFetch"), await ge(), p("afterFetch");
555
556
  }
556
557
  function j() {
557
- c.value.current_page = o.page_starts_at, H();
558
+ u.value.current_page = o.page_starts_at, P();
558
559
  }
559
- const ne = (l) => {
560
+ const le = (l) => {
560
561
  const e = l.target, a = parseInt(e.value, 10);
561
- a > 0 && (c.value.limit_per_page = a, c.value.limit_per_page = a, j());
562
+ a > 0 && (u.value.limit_per_page = a, u.value.limit_per_page = a, j());
562
563
  };
563
564
  function N(l, e, a = null) {
564
565
  if (!l) return e;
565
566
  const r = l.split(".");
566
- let w = e;
567
- for (const Z of r)
568
- w && typeof w == "object" && Z in w ? w = w[Z] : console.error(`Caminho inválido ou valor nulo em: ${l} na parte ${Z}`);
569
- return a && (w = a(w)), w;
567
+ let b = e;
568
+ for (const te of r)
569
+ b && typeof b == "object" && te in b ? b = b[te] : console.error(`Caminho inválido ou valor nulo em: ${l} na parte ${te}`);
570
+ return a && (b = a(b)), b;
570
571
  }
571
- function xe(l, e) {
572
+ function Se(l, e) {
572
573
  return e && typeof e == "number" && e > 0 && typeof l == "string" && l.length > e ? l.substring(0, e) + "..." : l;
573
574
  }
574
- function se(l) {
575
- for (const a in d.value)
576
- a !== l && (d.value[a] = "none");
577
- const e = d.value[l] || "none";
578
- e === "none" ? d.value[l] = "increasing" : e === "increasing" ? d.value[l] = "decreasing" : d.value[l] = "none", j();
575
+ function re(l) {
576
+ for (const a in _.value)
577
+ a !== l && (_.value[a] = "none");
578
+ const e = _.value[l] || "none";
579
+ e === "none" ? _.value[l] = "increasing" : e === "increasing" ? _.value[l] = "decreasing" : _.value[l] = "none", j();
579
580
  }
580
- function Me(l) {
581
- l > 0 ? (c.value.limit_per_page = l, j()) : console.warn("O limite deve ser um número maior que zero.");
581
+ function $e(l) {
582
+ l > 0 ? (u.value.limit_per_page = l, j()) : console.warn("O limite deve ser um número maior que zero.");
582
583
  }
583
- function Ce(l) {
584
- c.value.search = l, j();
584
+ function Be(l) {
585
+ u.value.search = l, j();
585
586
  }
586
- function Se(l) {
587
- c.value.filter = l, j();
587
+ function ze(l) {
588
+ u.value.filter = l, j();
588
589
  }
589
- function $e(l) {
590
- l >= 0 && l <= Math.ceil(c.value.count / c.value.limit_per_page) ? (c.value.current_page = l, H()) : console.warn("Número de página inválido.");
590
+ function Ve(l) {
591
+ l >= 0 && l <= Math.ceil(u.value.count / u.value.limit_per_page) ? (u.value.current_page = l, P()) : console.warn("Número de página inválido.");
591
592
  }
592
- function Q(l) {
593
- const e = l[o.item_key], a = C.value.findIndex((r) => r === e);
594
- a > -1 ? C.value.splice(a, 1) : C.value.push(e);
593
+ function Z(l) {
594
+ const e = l[o.item_key], a = L.value.findIndex((r) => r === e);
595
+ a > -1 ? L.value.splice(a, 1) : L.value.push(e);
595
596
  }
596
- function R(l) {
597
+ function ee(l) {
597
598
  const e = l[o.item_key];
598
- return C.value.some((a) => a === e);
599
+ return L.value.some((a) => a === e);
599
600
  }
600
- function Be() {
601
- C.value = [];
601
+ function oe() {
602
+ L.value = [];
602
603
  }
603
- function ze() {
604
- let l = _.value.length;
604
+ function Te() {
605
+ let l = d.value.length;
605
606
  return o.use_checkbox && (l += 1), o.use_expandable_items && (l += 1), l;
606
607
  }
608
+ function je() {
609
+ p("tradePage"), P();
610
+ }
607
611
  i({
608
- execute: H,
612
+ execute: P,
609
613
  reSearch: j,
610
- pagination: Ie(c),
611
- set_limit_per_page: Me,
612
- set_search: Ce,
613
- set_filter: Se,
614
- set_page: $e,
615
- default_params: J,
616
- selected_items: v,
617
- atLeastOneSelected: ke,
618
- expand_item_toggle: Q,
619
- close_all_expanded_items: Be
614
+ pagination: He(u),
615
+ set_limit_per_page: $e,
616
+ set_search: Be,
617
+ set_filter: ze,
618
+ set_page: Ve,
619
+ default_params: R,
620
+ selected_items: x,
621
+ atLeastOneSelected: xe,
622
+ expand_item_toggle: Z,
623
+ close_all_expanded_items: oe
620
624
  });
621
- const le = g(!1);
622
- return L(
625
+ const ie = g(!1);
626
+ return U(
623
627
  () => o.add_params,
624
628
  () => {
625
- le.value ? j() : (le.value = !0, Ae(() => {
629
+ ie.value ? j() : (ie.value = !0, Oe(() => {
626
630
  j();
627
631
  }));
628
632
  },
629
633
  { deep: !0, immediate: o.immediate }
630
634
  ), (l, e) => (n(), s("div", null, [
631
635
  t("div", {
632
- class: p(["", o.class_container])
636
+ class: c(["", o.class_container])
633
637
  }, [
634
638
  E(l.$slots, "default", {}, void 0, !0),
635
639
  t("div", {
636
- class: p(["", o.class_content])
640
+ class: c(["", o.class_content])
637
641
  }, [
638
642
  t("div", {
639
- class: p([o.class_filters, "d-flex justify-content-between align-items-start"])
643
+ class: c([o.class_filters, "d-flex justify-content-between align-items-start"])
640
644
  }, [
641
645
  E(l.$slots, "pageSize", {
642
- changePageSize: ne,
643
- limit_per_page: c.value.limit_per_page
646
+ changePageSize: le,
647
+ limit_per_page: u.value.limit_per_page
644
648
  }, () => [
645
649
  t("div", {
646
- class: p(["text-secondary", o.class_page_size])
650
+ class: c(["text-secondary", o.class_page_size])
647
651
  }, [
648
- T(m(o.first_text_page_size) + " ", 1),
649
- t("div", at, [
650
- ie(t("input", {
652
+ T(v(o.first_text_page_size) + " ", 1),
653
+ t("div", lt, [
654
+ ce(t("input", {
651
655
  class: "form-control form-control-sm",
652
- onChange: ne,
653
- "onUpdate:modelValue": e[0] || (e[0] = (a) => c.value.limit_per_page = a),
656
+ onChange: le,
657
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => u.value.limit_per_page = a),
654
658
  min: "1",
655
659
  size: "3",
656
660
  "aria-label": "Número de registros por página",
657
661
  type: "number"
658
662
  }, null, 544), [
659
663
  [
660
- de,
661
- c.value.limit_per_page,
664
+ pe,
665
+ u.value.limit_per_page,
662
666
  void 0,
663
667
  { lazy: !0 }
664
668
  ]
665
669
  ])
666
670
  ]),
667
- T(" " + m(o.second_text_page_size), 1)
671
+ T(" " + v(o.second_text_page_size), 1)
668
672
  ], 2)
669
673
  ], !0),
670
674
  E(l.$slots, "fieldMiddle", {}, void 0, !0),
671
- q(et, {
672
- search: c.value.search,
673
- "onUpdate:search": e[1] || (e[1] = (a) => c.value.search = a),
674
- filter: c.value.filter,
675
- "onUpdate:filter": e[2] || (e[2] = (a) => c.value.filter = a),
675
+ F(nt, {
676
+ search: u.value.search,
677
+ "onUpdate:search": e[1] || (e[1] = (a) => u.value.search = a),
678
+ filter: u.value.filter,
679
+ "onUpdate:filter": e[2] || (e[2] = (a) => u.value.filter = a),
676
680
  list_filter: o.list_filter,
677
- item_use: fe.value,
681
+ item_use: ye.value,
678
682
  onSearch: j,
679
683
  deactivate_search_on_clear: o.deactivate_search_on_clear,
680
684
  placeholder_search: o.placeholder_search,
681
- deactivate_search_empty: o.deactivate_search_empty
685
+ deactivate_search_empty: o.deactivate_search_empty,
686
+ onClickedClearSearch: e[3] || (e[3] = (a) => l.$emit("clickedClearSearch"))
682
687
  }, null, 8, ["search", "filter", "list_filter", "item_use", "deactivate_search_on_clear", "placeholder_search", "deactivate_search_empty"])
683
688
  ], 2),
684
689
  E(l.$slots, "item-selected-info", {
685
- selected_items: v.value,
686
- clearSelection: () => v.value = []
690
+ selected_items: x.value,
691
+ clearSelection: () => x.value = []
687
692
  }, () => [
688
- o.use_checkbox && v.value.length > 0 && !o.deactivate_selected_info ? (n(), s("div", nt, [
689
- t("h4", st, [
690
- e[5] || (e[5] = t("strong", null, "Itens Selecionados:", -1)),
691
- e[6] || (e[6] = T()),
692
- t("span", lt, m(v.value.length), 1)
693
+ o.use_checkbox && x.value.length > 0 && !o.deactivate_selected_info ? (n(), s("div", rt, [
694
+ t("h4", ot, [
695
+ e[6] || (e[6] = t("strong", null, "Itens Selecionados:", -1)),
696
+ e[7] || (e[7] = T()),
697
+ t("span", it, v(x.value.length), 1)
693
698
  ]),
694
699
  t("a", {
695
700
  class: "cursor-pointer",
696
- onClick: e[3] || (e[3] = (a) => v.value = [])
697
- }, [...e[7] || (e[7] = [
698
- He('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-trash" data-v-1bc09f9d><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-1bc09f9d></path><path d="M4 7l16 0" data-v-1bc09f9d></path><path d="M10 11l0 6" data-v-1bc09f9d></path><path d="M14 11l0 6" data-v-1bc09f9d></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" data-v-1bc09f9d></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" data-v-1bc09f9d></path></svg> Limpar Seleção', 2)
701
+ onClick: e[4] || (e[4] = (a) => x.value = [])
702
+ }, [...e[8] || (e[8] = [
703
+ qe('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-trash" data-v-8ec30dd4><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-8ec30dd4></path><path d="M4 7l16 0" data-v-8ec30dd4></path><path d="M10 11l0 6" data-v-8ec30dd4></path><path d="M14 11l0 6" data-v-8ec30dd4></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" data-v-8ec30dd4></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" data-v-8ec30dd4></path></svg> Limpar Seleção', 2)
699
704
  ])])
700
705
  ])) : h("", !0)
701
706
  ], !0),
702
- ge.value ? (n(), s(b, { key: 0 }, [
703
- o.custom_loading ? (n(), ee(oe(o.custom_loading), { key: 0 })) : (n(), s("table", {
707
+ we.value ? (n(), s(C, { key: 0 }, [
708
+ o.custom_loading ? (n(), ae(ue(o.custom_loading), { key: 0 })) : (n(), s("table", {
704
709
  key: 1,
705
- class: p(["table table-vcenter table-selectable", o.class_table])
710
+ class: c(["table table-vcenter table-selectable", o.class_table])
706
711
  }, [
707
712
  t("thead", null, [
708
713
  t("tr", null, [
709
- (n(!0), s(b, null, V(_.value, (a) => (n(), s("th", {
714
+ (n(!0), s(C, null, V(d.value, (a) => (n(), s("th", {
710
715
  key: a.field || a.header,
711
- class: p(a.class_column)
712
- }, m(a.header), 3))), 128))
716
+ class: c(a.class_column)
717
+ }, v(a.header), 3))), 128))
713
718
  ])
714
719
  ]),
715
720
  t("tbody", null, [
716
- o.type_loading === "placeholder" ? (n(!0), s(b, { key: 0 }, V(c.value.limit_per_page, (a) => (n(), s("tr", {
721
+ o.type_loading === "placeholder" ? (n(!0), s(C, { key: 0 }, V(u.value.limit_per_page, (a) => (n(), s("tr", {
717
722
  key: "placeholder-" + a,
718
723
  class: "placeholder-glow"
719
724
  }, [
720
- (n(!0), s(b, null, V(_.value, (r) => (n(), s("td", {
725
+ (n(!0), s(C, null, V(d.value, (r) => (n(), s("td", {
721
726
  key: r.field || r.header,
722
- class: p(r.class_row)
727
+ class: c(r.class_row)
723
728
  }, [
724
- r.bodySlot ? (n(), s("span", rt, [...e[8] || (e[8] = [
729
+ r.bodySlot ? (n(), s("span", dt, [...e[9] || (e[9] = [
725
730
  t("span", { class: "placeholder col-8" }, null, -1)
726
731
  ])])) : r.type === "text" ? (n(), s("span", {
727
732
  key: 1,
728
- class: p(r.class_item)
729
- }, [...e[9] || (e[9] = [
733
+ class: c(r.class_item)
734
+ }, [...e[10] || (e[10] = [
730
735
  t("span", { class: "placeholder col-8" }, null, -1)
731
- ])], 2)) : r.type === "date" ? (n(), s("span", ot, [...e[10] || (e[10] = [
736
+ ])], 2)) : r.type === "date" ? (n(), s("span", ut, [...e[11] || (e[11] = [
732
737
  t("span", { class: "placeholder col-9" }, null, -1)
733
738
  ])])) : r.type === "html" ? (n(), s("div", {
734
739
  key: 3,
735
- class: p(r.class_item)
736
- }, [...e[11] || (e[11] = [
740
+ class: c(r.class_item)
741
+ }, [...e[12] || (e[12] = [
737
742
  t("div", { class: "placeholder col-12" }, null, -1)
738
743
  ])], 2)) : r.type === "img" ? (n(), s("div", {
739
744
  key: 4,
740
- class: p(r.class_item)
741
- }, [...e[12] || (e[12] = [
745
+ class: c(r.class_item)
746
+ }, [...e[13] || (e[13] = [
742
747
  t("div", { class: "placeholder placeholder-img" }, null, -1)
743
- ])], 2)) : (n(), s("span", it, [
744
- e[13] || (e[13] = T("tipo ", -1)),
745
- t("span", dt, m(r.type), 1),
746
- e[14] || (e[14] = T(" não suportado ", -1))
748
+ ])], 2)) : (n(), s("span", ct, [
749
+ e[14] || (e[14] = T("tipo ", -1)),
750
+ t("span", pt, v(r.type), 1),
751
+ e[15] || (e[15] = T(" não suportado ", -1))
747
752
  ]))
748
753
  ], 2))), 128))
749
- ]))), 128)) : o.type_loading === "spiner-table" ? (n(!0), s(b, { key: 1 }, V(c.value.limit_per_page, (a) => (n(), s("tr", {
754
+ ]))), 128)) : o.type_loading === "spiner-table" ? (n(!0), s(C, { key: 1 }, V(u.value.limit_per_page, (a) => (n(), s("tr", {
750
755
  key: "placeholder-" + a
751
756
  }, [
752
- (n(!0), s(b, null, V(_.value, (r) => (n(), s("td", {
757
+ (n(!0), s(C, null, V(d.value, (r) => (n(), s("td", {
753
758
  key: r.field || r.header,
754
- class: p(r.class_row)
759
+ class: c(r.class_row)
755
760
  }, [
756
- r.bodySlot ? (n(), s("span", ut, [...e[15] || (e[15] = [
761
+ r.bodySlot ? (n(), s("span", _t, [...e[16] || (e[16] = [
757
762
  t("span", {
758
763
  class: "spinner-border spinner-border-sm",
759
764
  role: "status",
@@ -761,14 +766,14 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
761
766
  }, null, -1)
762
767
  ])])) : r.type === "text" ? (n(), s("span", {
763
768
  key: 1,
764
- class: p(r.class_item)
765
- }, [...e[16] || (e[16] = [
769
+ class: c(r.class_item)
770
+ }, [...e[17] || (e[17] = [
766
771
  t("span", {
767
772
  class: "spinner-border spinner-border-sm",
768
773
  role: "status",
769
774
  "aria-hidden": "true"
770
775
  }, null, -1)
771
- ])], 2)) : r.type === "date" ? (n(), s("span", ct, [...e[17] || (e[17] = [
776
+ ])], 2)) : r.type === "date" ? (n(), s("span", mt, [...e[18] || (e[18] = [
772
777
  t("span", {
773
778
  class: "spinner-border spinner-border-sm",
774
779
  role: "status",
@@ -776,8 +781,8 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
776
781
  }, null, -1)
777
782
  ])])) : r.type === "html" ? (n(), s("div", {
778
783
  key: 3,
779
- class: p(r.class_item)
780
- }, [...e[18] || (e[18] = [
784
+ class: c(r.class_item)
785
+ }, [...e[19] || (e[19] = [
781
786
  t("span", {
782
787
  class: "spinner-border spinner-border-sm",
783
788
  role: "status",
@@ -785,8 +790,8 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
785
790
  }, null, -1)
786
791
  ])], 2)) : r.type === "img" ? (n(), s("div", {
787
792
  key: 4,
788
- class: p(["", r.class_item])
789
- }, [...e[19] || (e[19] = [
793
+ class: c(["", r.class_item])
794
+ }, [...e[20] || (e[20] = [
790
795
  t("span", { class: "placeholder-img d-flex justify-content-center align-items-center" }, [
791
796
  t("span", {
792
797
  class: "spinner-border spinner-border-sm",
@@ -794,177 +799,177 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
794
799
  "aria-hidden": "true"
795
800
  })
796
801
  ], -1)
797
- ])], 2)) : (n(), s("span", pt, [
798
- e[20] || (e[20] = T("tipo ", -1)),
799
- t("span", _t, m(r.type), 1),
800
- e[21] || (e[21] = T(" não suportado ", -1))
802
+ ])], 2)) : (n(), s("span", vt, [
803
+ e[21] || (e[21] = T("tipo ", -1)),
804
+ t("span", ht, v(r.type), 1),
805
+ e[22] || (e[22] = T(" não suportado ", -1))
801
806
  ]))
802
807
  ], 2))), 128))
803
- ]))), 128)) : o.type_loading === "spiner" ? (n(!0), s(b, { key: 2 }, V(c.value.limit_per_page, (a) => (n(), s("tr", { key: a }, [
808
+ ]))), 128)) : o.type_loading === "spiner" ? (n(!0), s(C, { key: 2 }, V(u.value.limit_per_page, (a) => (n(), s("tr", { key: a }, [
804
809
  t("td", {
805
- colspan: _.value.length,
810
+ colspan: d.value.length,
806
811
  class: "text-center p-0",
807
812
  style: { "border-bottom": "none" }
808
813
  }, [
809
- a === Math.floor(c.value.limit_per_page / 2) + 1 ? (n(), s("div", vt, [...e[22] || (e[22] = [
814
+ a === Math.floor(u.value.limit_per_page / 2) + 1 ? (n(), s("div", gt, [...e[23] || (e[23] = [
810
815
  t("div", {
811
816
  class: "spinner-border",
812
817
  style: { width: "3rem", height: "3rem" },
813
818
  role: "status"
814
819
  }, null, -1),
815
820
  t("span", { class: "mt-2" }, "Carregando...", -1)
816
- ])])) : (n(), s("div", ht))
817
- ], 8, mt)
821
+ ])])) : (n(), s("div", kt))
822
+ ], 8, ft)
818
823
  ]))), 128)) : h("", !0)
819
824
  ])
820
825
  ], 2)),
821
- f(A) && f(A).current > 1 ? (n(), s("div", ft, " A conexão falhou. Tentando novamente... (Tentativa " + m(f(A).current) + " de " + m(f(A).total) + ") ", 1)) : h("", !0)
822
- ], 64)) : f(X) ? (n(), s("div", gt, [
823
- e[23] || (e[23] = t("h4", { class: "text-danger" }, "Ocorreu um Erro", -1)),
824
- f(A) ? (n(), s("p", kt, " Não foi possível carregar os dados após " + m(f(A).total) + " tentativa(s). ", 1)) : (n(), s("p", yt, " Não foi possível carregar os dados. Verifique sua conexão. ")),
826
+ f(A) && f(A).current > 1 ? (n(), s("div", yt, " A conexão falhou. Tentando novamente... (Tentativa " + v(f(A).current) + " de " + v(f(A).total) + ") ", 1)) : h("", !0)
827
+ ], 64)) : f(W) ? (n(), s("div", wt, [
828
+ e[24] || (e[24] = t("h4", { class: "text-danger" }, "Ocorreu um Erro", -1)),
829
+ f(A) ? (n(), s("p", xt, " Não foi possível carregar os dados após " + v(f(A).total) + " tentativa(s). ", 1)) : (n(), s("p", bt, " Não foi possível carregar os dados. Verifique sua conexão. ")),
825
830
  t("button", {
826
831
  class: "btn btn-primary mt-2",
827
- onClick: H
832
+ onClick: P
828
833
  }, " Tentar Novamente ")
829
- ])) : k.value ? (n(), s("div", wt, [
830
- k.value.length > 0 ? (n(), s("div", bt, [
834
+ ])) : w.value ? (n(), s("div", Ct, [
835
+ w.value.length > 0 ? (n(), s("div", Mt, [
831
836
  t("table", {
832
- class: p(["table table-vcenter table-selectable", o.class_table])
837
+ class: c(["table table-vcenter table-selectable", o.class_table])
833
838
  }, [
834
839
  t("thead", null, [
835
- q(f(Fe), {
836
- modelValue: W.value,
837
- "onUpdate:modelValue": e[4] || (e[4] = (a) => W.value = a),
840
+ F(f(Xe), {
841
+ modelValue: Q.value,
842
+ "onUpdate:modelValue": e[5] || (e[5] = (a) => Q.value = a),
838
843
  tag: "tr",
839
844
  "item-key": "header",
840
845
  animation: 400,
841
846
  "ghost-class": "ghost-item",
842
847
  "drag-class": "dragging-item"
843
848
  }, {
844
- header: O(() => [
845
- o.use_expandable_items ? (n(), s("th", xt)) : h("", !0),
846
- o.use_checkbox ? (n(), s("th", Mt, [
849
+ header: H(() => [
850
+ o.use_expandable_items ? (n(), s("th", St)) : h("", !0),
851
+ o.use_checkbox ? (n(), s("th", $t, [
847
852
  t("input", {
848
853
  class: "form-check-input m-0",
849
854
  type: "checkbox",
850
855
  ref_key: "selectAllCheckbox",
851
856
  ref: D,
852
- onChange: ye,
857
+ onChange: be,
853
858
  "aria-label": "Selecionar todos os itens na página"
854
859
  }, null, 544)
855
860
  ])) : h("", !0)
856
861
  ]),
857
- item: O(({ element: a }) => [
862
+ item: H(({ element: a }) => [
858
863
  a.use_ordering ? (n(), s("th", {
859
864
  key: 0,
860
- class: p(["header-draggable", a.class_column])
865
+ class: c(["header-draggable", a.class_column])
861
866
  }, [
862
- t("div", Ct, [
863
- t("span", null, m(a.header), 1),
867
+ t("div", Bt, [
868
+ t("span", null, v(a.header), 1),
864
869
  t("span", {
865
- onClick: () => se(a.header),
870
+ onClick: () => re(a.header),
866
871
  class: "ms-2 cursor-pointer"
867
872
  }, [
868
- !d.value[a.header] || d.value[a.header] === "none" ? (n(), s("svg", $t, [...e[24] || (e[24] = [
873
+ !_.value[a.header] || _.value[a.header] === "none" ? (n(), s("svg", Vt, [...e[25] || (e[25] = [
869
874
  t("path", { d: "m3 8 4-4 4 4" }, null, -1),
870
875
  t("path", { d: "m11 16-4 4-4-4" }, null, -1),
871
876
  t("path", { d: "M7 4v16" }, null, -1),
872
877
  t("path", { d: "M15 8h6" }, null, -1),
873
878
  t("path", { d: "M15 16h6" }, null, -1),
874
879
  t("path", { d: "M13 12h8" }, null, -1)
875
- ])])) : d.value[a.header] === "decreasing" ? (n(), s("svg", Bt, [...e[25] || (e[25] = [
880
+ ])])) : _.value[a.header] === "decreasing" ? (n(), s("svg", Tt, [...e[26] || (e[26] = [
876
881
  t("path", { d: "m3 16 4 4 4-4" }, null, -1),
877
882
  t("path", { d: "M7 20V4" }, null, -1),
878
883
  t("path", { d: "M11 4h10" }, null, -1),
879
884
  t("path", { d: "M11 8h7" }, null, -1),
880
885
  t("path", { d: "M11 12h4" }, null, -1)
881
- ])])) : d.value[a.header] === "increasing" ? (n(), s("svg", zt, [...e[26] || (e[26] = [
886
+ ])])) : _.value[a.header] === "increasing" ? (n(), s("svg", jt, [...e[27] || (e[27] = [
882
887
  t("path", { d: "m3 8 4-4 4 4" }, null, -1),
883
888
  t("path", { d: "M7 4v16" }, null, -1),
884
889
  t("path", { d: "M11 12h4" }, null, -1),
885
890
  t("path", { d: "M11 16h7" }, null, -1),
886
891
  t("path", { d: "M11 20h10" }, null, -1)
887
892
  ])])) : h("", !0)
888
- ], 8, St)
893
+ ], 8, zt)
889
894
  ])
890
895
  ], 2)) : (n(), s("th", {
891
896
  key: 1,
892
- class: p(["header-draggable", a.class_column])
893
- }, m(a.header), 3))
897
+ class: c(["header-draggable", a.class_column])
898
+ }, v(a.header), 3))
894
899
  ]),
895
- footer: O(() => [
896
- (n(!0), s(b, null, V(G.value, (a) => (n(), s(b, {
900
+ footer: H(() => [
901
+ (n(!0), s(C, null, V(J.value, (a) => (n(), s(C, {
897
902
  key: a.field || a.header
898
903
  }, [
899
904
  a.use_ordering ? (n(), s("th", {
900
905
  key: 0,
901
- class: p(["header-locked header-ordering", a.class_column])
906
+ class: c(["header-locked header-ordering", a.class_column])
902
907
  }, [
903
- t("div", Vt, [
904
- t("span", null, m(a.header), 1),
908
+ t("div", Nt, [
909
+ t("span", null, v(a.header), 1),
905
910
  t("span", {
906
- onClick: () => se(a.header),
911
+ onClick: () => re(a.header),
907
912
  class: "ms-2 cursor-pointer"
908
913
  }, [
909
- !d.value[a.header] || d.value[a.header] === "none" ? (n(), s("svg", jt, [...e[27] || (e[27] = [
914
+ !_.value[a.header] || _.value[a.header] === "none" ? (n(), s("svg", Dt, [...e[28] || (e[28] = [
910
915
  t("path", { d: "m3 8 4-4 4 4" }, null, -1),
911
916
  t("path", { d: "m11 16-4 4-4-4" }, null, -1),
912
917
  t("path", { d: "M7 4v16" }, null, -1),
913
918
  t("path", { d: "M15 8h6" }, null, -1),
914
919
  t("path", { d: "M15 16h6" }, null, -1),
915
920
  t("path", { d: "M13 12h8" }, null, -1)
916
- ])])) : d.value[a.header] === "decreasing" ? (n(), s("svg", Nt, [...e[28] || (e[28] = [
921
+ ])])) : _.value[a.header] === "decreasing" ? (n(), s("svg", It, [...e[29] || (e[29] = [
917
922
  t("path", { d: "m3 16 4 4 4-4" }, null, -1),
918
923
  t("path", { d: "M7 20V4" }, null, -1),
919
924
  t("path", { d: "M11 4h10" }, null, -1),
920
925
  t("path", { d: "M11 8h7" }, null, -1),
921
926
  t("path", { d: "M11 12h4" }, null, -1)
922
- ])])) : d.value[a.header] === "increasing" ? (n(), s("svg", Et, [...e[29] || (e[29] = [
927
+ ])])) : _.value[a.header] === "increasing" ? (n(), s("svg", At, [...e[30] || (e[30] = [
923
928
  t("path", { d: "m3 8 4-4 4 4" }, null, -1),
924
929
  t("path", { d: "M7 4v16" }, null, -1),
925
930
  t("path", { d: "M11 12h4" }, null, -1),
926
931
  t("path", { d: "M11 16h7" }, null, -1),
927
932
  t("path", { d: "M11 20h10" }, null, -1)
928
933
  ])])) : h("", !0)
929
- ], 8, Tt)
934
+ ], 8, Et)
930
935
  ])
931
936
  ], 2)) : (n(), s("th", {
932
937
  key: 1,
933
- class: p(["header-locked", a.class_column])
934
- }, m(a.header), 3))
938
+ class: c(["header-locked", a.class_column])
939
+ }, v(a.header), 3))
935
940
  ], 64))), 128))
936
941
  ]),
937
942
  _: 1
938
943
  }, 8, ["modelValue"])
939
944
  ]),
940
945
  t("tbody", null, [
941
- (n(!0), s(b, null, V(k.value, (a) => (n(), s(b, {
946
+ (n(!0), s(C, null, V(w.value, (a) => (n(), s(C, {
942
947
  key: a[o.item_key]
943
948
  }, [
944
- q(Oe, {
949
+ F(Le, {
945
950
  tag: "tr",
946
951
  name: "column-move"
947
952
  }, {
948
- default: O(() => [
949
- o.use_expandable_items ? (n(), s("td", Dt, [
953
+ default: H(() => [
954
+ o.use_expandable_items ? (n(), s("td", Pt, [
950
955
  E(l.$slots, "expand-button", {
951
956
  item: a,
952
- isExpanded: R(a),
953
- expand_item_toggle: Q
957
+ isExpanded: ee(a),
958
+ expand_item_toggle: Z
954
959
  }, () => [
955
960
  t("button", {
956
961
  type: "button",
957
- class: p(["btn-clean btn-icon-anim", { "is-expanded": R(a) }]),
958
- onClick: (r) => Q(a)
962
+ class: c(["btn-clean btn-icon-anim", { "is-expanded": ee(a) }]),
963
+ onClick: (r) => Z(a)
959
964
  }, [
960
- o.type_button_expand === "arrow" ? (n(), s("svg", At, [...e[30] || (e[30] = [
965
+ o.type_button_expand === "arrow" ? (n(), s("svg", Ot, [...e[31] || (e[31] = [
961
966
  t("path", {
962
967
  stroke: "none",
963
968
  d: "M0 0h24v24H0z",
964
969
  fill: "none"
965
970
  }, null, -1),
966
971
  t("path", { d: "M9 6l6 6l-6 6" }, null, -1)
967
- ])])) : (n(), s("svg", Ht, [...e[31] || (e[31] = [
972
+ ])])) : (n(), s("svg", qt, [...e[32] || (e[32] = [
968
973
  t("path", {
969
974
  stroke: "none",
970
975
  d: "M0 0h24v24H0z",
@@ -976,91 +981,91 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
976
981
  }, null, -1),
977
982
  t("path", { d: "M5 12l14 0" }, null, -1)
978
983
  ])]))
979
- ], 10, It)
984
+ ], 10, Ht)
980
985
  ], !0)
981
986
  ])) : h("", !0),
982
- o.use_checkbox ? (n(), s("td", Ot, [
987
+ o.use_checkbox ? (n(), s("td", Lt, [
983
988
  t("input", {
984
989
  class: "form-check-input m-0",
985
990
  type: "checkbox",
986
- checked: F(a),
987
- onChange: (r) => we(a),
991
+ checked: Y(a),
992
+ onChange: (r) => Ce(a),
988
993
  "aria-label": "Selecionar este item"
989
- }, null, 40, Pt)
994
+ }, null, 40, Ft)
990
995
  ])) : h("", !0),
991
- (n(!0), s(b, null, V(he.value, (r) => (n(), s("td", {
996
+ (n(!0), s(C, null, V(ke.value, (r) => (n(), s("td", {
992
997
  key: r.field || r.header,
993
- class: p(r.class_row)
998
+ class: c(r.class_row)
994
999
  }, [
995
- r.bodySlot ? (n(), ee(oe(r.bodySlot), {
1000
+ r.bodySlot ? (n(), ae(ue(r.bodySlot), {
996
1001
  key: 0,
997
1002
  item: a,
998
- "is-selected": F(a)
1003
+ "is-selected": Y(a)
999
1004
  }, null, 8, ["item", "is-selected"])) : r.type === "text" ? (n(), s("span", {
1000
1005
  key: 1,
1001
- onClick: (w) => r.click ? r.click(a) : null,
1002
- class: p(r.class_item + (r.click ? " cursor-pointer" : ""))
1003
- }, m(xe(N(r.field, a, r.transform_function), r.limite_text ?? null)), 11, qt)) : r.type === "date" ? (n(), s("span", {
1006
+ onClick: (b) => r.click ? r.click(a) : null,
1007
+ class: c(r.class_item + (r.click ? " cursor-pointer" : ""))
1008
+ }, v(Se(N(r.field, a, r.transform_function), r.limite_text ?? null)), 11, Ut)) : r.type === "date" ? (n(), s("span", {
1004
1009
  key: 2,
1005
- onClick: (w) => r.click ? r.click(a) : null,
1006
- class: p(r.class_item + (r.click ? " cursor-pointer" : ""))
1010
+ onClick: (b) => r.click ? r.click(a) : null,
1011
+ class: c(r.class_item + (r.click ? " cursor-pointer" : ""))
1007
1012
  }, [
1008
- r.format === "complete" ? (n(), s("span", Ut, m(new Date(N(r.field, a)).toLocaleString()), 1)) : h("", !0),
1009
- r.format === "simple" ? (n(), s("span", Ft, m(new Date(N(
1013
+ r.format === "complete" ? (n(), s("span", Yt, v(new Date(N(r.field, a)).toLocaleString()), 1)) : h("", !0),
1014
+ r.format === "simple" ? (n(), s("span", Xt, v(new Date(N(
1010
1015
  r.field,
1011
1016
  a
1012
1017
  )).toLocaleDateString()), 1)) : h("", !0)
1013
- ], 10, Lt)) : r.type === "html" ? (n(), s("div", {
1018
+ ], 10, Kt)) : r.type === "html" ? (n(), s("div", {
1014
1019
  key: 3,
1015
- onClick: (w) => r.click ? r.click(a) : null,
1016
- class: p(r.class_item + (r.click ? " cursor-pointer" : "")),
1020
+ onClick: (b) => r.click ? r.click(a) : null,
1021
+ class: c(r.class_item + (r.click ? " cursor-pointer" : "")),
1017
1022
  innerHTML: N(r.field, a)
1018
- }, null, 10, Kt)) : r.type === "img" ? (n(), s("div", {
1023
+ }, null, 10, Gt)) : r.type === "img" ? (n(), s("div", {
1019
1024
  key: 4,
1020
- onClick: (w) => r.click ? r.click(a) : null,
1021
- class: p(r.class_item + (r.click ? " cursor-pointer" : ""))
1025
+ onClick: (b) => r.click ? r.click(a) : null,
1026
+ class: c(r.class_item + (r.click ? " cursor-pointer" : ""))
1022
1027
  }, [
1023
- N(r.field, a) ? (n(), s("div", Pe({
1028
+ N(r.field, a) ? (n(), s("div", Fe({
1024
1029
  key: 0,
1025
1030
  ref_for: !0
1026
1031
  }, r.deactivate_img_preview ? {
1027
1032
  class: "container-img"
1028
1033
  } : {
1029
- onMouseover: (w) => f(z)(w, N(r.field, a)),
1030
- onMousemove: f(I),
1031
- onMouseleave: f(P),
1034
+ onMouseover: (b) => f(I)(b, N(r.field, a)),
1035
+ onMousemove: f(O),
1036
+ onMouseleave: f(q),
1032
1037
  class: "container-img container-img-preview"
1033
1038
  }), [
1034
1039
  t("img", {
1035
1040
  class: "img-tamanho",
1036
1041
  src: N(r.field, a)
1037
- }, null, 8, Xt),
1042
+ }, null, 8, Jt),
1038
1043
  t("img", {
1039
1044
  class: "img-tamanho-cover",
1040
1045
  src: N(r.field, a)
1041
- }, null, 8, Gt),
1042
- e[32] || (e[32] = t("div", { class: "bg-img" }, null, -1))
1046
+ }, null, 8, Qt),
1047
+ e[33] || (e[33] = t("div", { class: "bg-img" }, null, -1))
1043
1048
  ], 16)) : h("", !0)
1044
- ], 10, Yt)) : (n(), s("span", Wt, [
1045
- e[33] || (e[33] = T("tipo ", -1)),
1046
- t("span", Jt, m(r.type), 1),
1047
- e[34] || (e[34] = T(" não suportado", -1))
1049
+ ], 10, Wt)) : (n(), s("span", Rt, [
1050
+ e[34] || (e[34] = T("tipo ", -1)),
1051
+ t("span", Zt, v(r.type), 1),
1052
+ e[35] || (e[35] = T(" não suportado", -1))
1048
1053
  ]))
1049
1054
  ], 2))), 128))
1050
1055
  ]),
1051
1056
  _: 2
1052
1057
  }, 1024),
1053
- q(qe, {
1058
+ F(Ue, {
1054
1059
  name: "expand-item-" + o.type_animation_expand,
1055
1060
  css: !o.deactivate_animation_expand
1056
1061
  }, {
1057
- default: O(() => [
1058
- R(a) ? (n(), s("tr", Qt, [
1062
+ default: H(() => [
1063
+ ee(a) ? (n(), s("tr", ea, [
1059
1064
  t("td", {
1060
- colspan: ze()
1065
+ colspan: Te()
1061
1066
  }, [
1062
1067
  E(l.$slots, "after-row", { item: a }, void 0, !0)
1063
- ], 8, Rt)
1068
+ ], 8, ta)
1064
1069
  ])) : h("", !0)
1065
1070
  ]),
1066
1071
  _: 2
@@ -1068,46 +1073,46 @@ const at = { class: "mx-2 d-inline-block" }, nt = {
1068
1073
  ], 64))), 128))
1069
1074
  ])
1070
1075
  ], 2)
1071
- ])) : $.value === !1 ? (n(), s("div", Zt, [
1076
+ ])) : m.value === !1 ? (n(), s("div", aa, [
1072
1077
  E(l.$slots, "idle-state", {}, void 0, !0)
1073
- ])) : (n(), s("div", ea, [...e[35] || (e[35] = [
1078
+ ])) : (n(), s("div", na, [...e[36] || (e[36] = [
1074
1079
  t("p", { class: "m-0" }, "Nenhum item encontrado.", -1)
1075
1080
  ])]))
1076
1081
  ])) : h("", !0)
1077
1082
  ], 2)
1078
1083
  ], 2),
1079
1084
  E(l.$slots, "pagination", {
1080
- pagination: c.value,
1081
- tradePage: H,
1082
- error: f(X)
1085
+ pagination: u.value,
1086
+ tradePage: P,
1087
+ error: f(W)
1083
1088
  }, () => [
1084
- !f(X) && c.value.count > 0 ? (n(), s("div", {
1089
+ !f(W) && u.value.count > 0 ? (n(), s("div", {
1085
1090
  key: 0,
1086
- class: p(["px-3", o.class_pagination])
1091
+ class: c(["px-3", o.class_pagination])
1087
1092
  }, [
1088
- q(Ue, {
1093
+ F(Ye, {
1089
1094
  page_starts_at: o.page_starts_at,
1090
1095
  filtering: !0,
1091
- pagination: c.value,
1092
- onTradePage: H
1096
+ pagination: u.value,
1097
+ onTradePage: je
1093
1098
  }, null, 8, ["page_starts_at", "pagination"])
1094
1099
  ], 2)) : h("", !0)
1095
1100
  ], !0),
1096
1101
  f(y) ? (n(), s("div", {
1097
1102
  key: 0,
1098
1103
  class: "image-preview-container",
1099
- style: Le(f(B))
1104
+ style: Ke(f(B))
1100
1105
  }, [
1101
1106
  t("img", {
1102
- src: f(M),
1107
+ src: f($),
1103
1108
  alt: "Preview",
1104
1109
  class: "image-preview-large"
1105
- }, null, 8, ta)
1110
+ }, null, 8, sa)
1106
1111
  ], 4)) : h("", !0)
1107
1112
  ]));
1108
1113
  }
1109
- }), oa = /* @__PURE__ */ ue(aa, [["__scopeId", "data-v-1bc09f9d"]]);
1114
+ }), ua = /* @__PURE__ */ _e(la, [["__scopeId", "data-v-8ec30dd4"]]);
1110
1115
  export {
1111
- ra as VColumn,
1112
- oa as VDataTable
1116
+ da as VColumn,
1117
+ ua as VDataTable
1113
1118
  };