@opengis/admin 0.2.51 → 0.2.52

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,6 +1,6 @@
1
- import { _ as $, e as Be, f as Le, g as ze, d as F, I as Oe, h as O, A as U, V as Ue, i as Ne, j as Ee, k as He, l as Re, m as We, a as Je, u as Te, s as Ge } from "./import-file-BDLZazNq.js";
2
- import { openBlock as l, createElementBlock as i, createTextVNode as j, toDisplayString as I, createCommentVNode as v, resolveComponent as p, Fragment as A, createElementVNode as o, createVNode as x, withCtx as T, createBlock as _, renderList as V, withModifiers as Ke, normalizeClass as D, createStaticVNode as Ie, withDirectives as N, vModelCheckbox as Qe, Transition as E, renderSlot as Xe, vShow as Se, normalizeStyle as B, getCurrentInstance as Ve, ref as L, resolveDynamicComponent as z } from "vue";
3
- const Ye = {
1
+ import { _ as T, e as Pe, f as Be, g as Le, d as F, I as ze, h as O, A as U, V as Oe, i as Ue, j as Ne, k as Ee, l as He, m as Re, n as We, a as Je, u as Te, s as Ge } from "./import-file-wDumTumx.js";
2
+ import { openBlock as l, createElementBlock as i, createTextVNode as j, toDisplayString as I, createCommentVNode as v, resolveComponent as p, Fragment as $, createElementVNode as o, createVNode as x, withCtx as A, createBlock as _, renderList as V, withModifiers as Ke, normalizeClass as D, createStaticVNode as Qe, withDirectives as N, vModelCheckbox as Xe, Transition as E, renderSlot as Ye, vShow as Ie, normalizeStyle as B, getCurrentInstance as Se, ref as L, resolveDynamicComponent as z } from "vue";
3
+ const Ze = {
4
4
  data() {
5
5
  return {
6
6
  currentSort: ""
@@ -58,10 +58,10 @@ const Ye = {
58
58
  return `${this.data.name}-${t}` === this.selectedSortParam;
59
59
  }
60
60
  }
61
- }, Ze = {
61
+ }, et = {
62
62
  scope: "col",
63
63
  class: "px-2 py-1 text-start"
64
- }, et = {
64
+ }, tt = {
65
65
  class: "flex-shrink-0 size-3.5",
66
66
  xmlns: "http://www.w3.org/2000/svg",
67
67
  width: "24",
@@ -72,18 +72,18 @@ const Ye = {
72
72
  "stroke-width": "2",
73
73
  "stroke-linecap": "round",
74
74
  "stroke-linejoin": "round"
75
- }, tt = {
75
+ }, st = {
76
76
  key: 0,
77
77
  d: "m7 15 5 5 5-5"
78
- }, st = {
78
+ }, nt = {
79
79
  key: 1,
80
80
  d: "m7 9 5-5 5 5"
81
- }, nt = {
81
+ }, lt = {
82
82
  key: 1,
83
83
  class: "text-sm text-stone-500 px-[4px] py-2.5 text-start font-normal"
84
84
  };
85
- function lt(t, e, n, a, s, r) {
86
- return l(), i("th", Ze, [
85
+ function ot(t, e, n, a, s, r) {
86
+ return l(), i("th", et, [
87
87
  r.getVisibleIcon ? (l(), i("button", {
88
88
  key: 0,
89
89
  type: "button",
@@ -91,18 +91,18 @@ function lt(t, e, n, a, s, r) {
91
91
  onClick: e[0] || (e[0] = (u) => r.handleClickSortBtn(s.currentSort))
92
92
  }, [
93
93
  j(I(r.label) + " ", 1),
94
- (l(), i("svg", et, [
95
- s.currentSort === "asc" || s.currentSort === "" ? (l(), i("path", tt)) : v("", !0),
96
- s.currentSort === "desc" || s.currentSort === "" ? (l(), i("path", st)) : v("", !0)
94
+ (l(), i("svg", tt, [
95
+ s.currentSort === "asc" || s.currentSort === "" ? (l(), i("path", st)) : v("", !0),
96
+ s.currentSort === "desc" || s.currentSort === "" ? (l(), i("path", nt)) : v("", !0)
97
97
  ]))
98
- ])) : (l(), i("p", nt, I(r.label), 1))
98
+ ])) : (l(), i("p", lt, I(r.label), 1))
99
99
  ]);
100
100
  }
101
- const ot = /* @__PURE__ */ $(Ye, [["render", lt]]), rt = {
101
+ const rt = /* @__PURE__ */ T(Ze, [["render", ot]]), at = {
102
102
  components: {
103
- IconMore: Be,
104
- IconDelete: Le,
105
- IconEdit: ze
103
+ IconMore: Pe,
104
+ IconDelete: Be,
105
+ IconEdit: Le
106
106
  },
107
107
  emits: ["updateTable"],
108
108
  props: {
@@ -181,50 +181,50 @@ const ot = /* @__PURE__ */ $(Ye, [["render", lt]]), rt = {
181
181
  });
182
182
  }
183
183
  }
184
- }, at = { class: "inline-flex" }, it = { class: "inline-flex items-center justify-center bg-white border rounded-lg shadow-sm size-7 gap-x-2 border-stone-200 text-stone-800 hover:bg-stone-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-50" }, ct = { class: "flex flex-col items-start" }, ut = ["onClick"], dt = { class: "text-gray-800" }, pt = {
184
+ }, it = { class: "inline-flex" }, ct = { class: "inline-flex items-center justify-center bg-white border rounded-lg shadow-sm size-7 gap-x-2 border-stone-200 text-stone-800 hover:bg-stone-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-50" }, ut = { class: "flex flex-col items-start" }, dt = ["onClick"], pt = { class: "text-gray-800" }, bt = {
185
185
  key: 1,
186
186
  class: "h-[1px] w-[80%] bg-gray-200 ml-auto mr-auto"
187
- }, bt = { class: "p-4" }, ht = { class: "flex justify-end mt-4 gap-x-3" };
188
- function ft(t, e, n, a, s, r) {
187
+ }, ht = { class: "p-4" }, ft = { class: "flex justify-end mt-4 gap-x-3" };
188
+ function mt(t, e, n, a, s, r) {
189
189
  const u = p("IconMore"), f = p("IconEdit"), y = p("router-link"), h = p("IconDelete"), k = p("VsPopover"), c = p("VsDialog");
190
- return l(), i(A, null, [
191
- o("div", at, [
190
+ return l(), i($, null, [
191
+ o("div", it, [
192
192
  x(k, {
193
193
  trigger: "click",
194
194
  placement: "bottom-left"
195
195
  }, {
196
- reference: T(() => [
197
- o("button", it, [
196
+ reference: A(() => [
197
+ o("button", ct, [
198
198
  x(u, {
199
199
  height: "16",
200
200
  width: "16"
201
201
  })
202
202
  ])
203
203
  ]),
204
- default: T(() => {
204
+ default: A(() => {
205
205
  var m, d, w, g, C;
206
206
  return [
207
- o("div", ct, [
207
+ o("div", ut, [
208
208
  (m = n.actions) != null && m.includes("edit") && n.isForm ? (l(), _(y, {
209
209
  key: 0,
210
210
  to: `/edit?table=${(w = (d = t.$route) == null ? void 0 : d.params) == null ? void 0 : w.catchAll}&id=${(g = n.item) == null ? void 0 : g.id}`,
211
211
  class: "w-full flex items-center gap-x-3 py-1.5 px-2 rounded-lg text-[13px] text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"
212
212
  }, {
213
- default: T(() => [
213
+ default: A(() => [
214
214
  x(f, { color: "#000" }),
215
215
  e[4] || (e[4] = j(" Редагувати "))
216
216
  ]),
217
217
  _: 1
218
218
  }, 8, ["to"])) : v("", !0),
219
- (l(!0), i(A, null, V(r.getCustomActions, (S, q) => (l(), i("button", {
219
+ (l(!0), i($, null, V(r.getCustomActions, (S, q) => (l(), i("button", {
220
220
  key: q,
221
221
  onClick: (P) => r.customButtonAction(S),
222
222
  class: "w-full flex items-center gap-x-3 py-1.5 px-2 rounded-lg text-[13px] text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"
223
223
  }, [
224
224
  x(h, { class: "opacity-0" }),
225
- o("span", dt, I(S == null ? void 0 : S.label), 1)
226
- ], 8, ut))), 128)),
227
- n.isForm ? (l(), i("div", pt)) : v("", !0),
225
+ o("span", pt, I(S == null ? void 0 : S.label), 1)
226
+ ], 8, dt))), 128)),
227
+ n.isForm ? (l(), i("div", bt)) : v("", !0),
228
228
  (C = n.actions) != null && C.includes("del") ? (l(), i("button", {
229
229
  key: 2,
230
230
  onClick: e[0] || (e[0] = Ke((...S) => r.openConfirm && r.openConfirm(...S), ["stop"])),
@@ -245,10 +245,10 @@ function ft(t, e, n, a, s, r) {
245
245
  size: "small",
246
246
  title: "Ви впевнені?"
247
247
  }, {
248
- default: T(() => [
249
- o("div", bt, [
248
+ default: A(() => [
249
+ o("div", ht, [
250
250
  e[6] || (e[6] = o("p", { class: "mt-1 text-gray-500 dark:text-neutral-500" }, " Ви впевнені, що хочете видалити цей об'єкт? ", -1)),
251
- o("div", ht, [
251
+ o("div", ft, [
252
252
  o("button", {
253
253
  type: "button",
254
254
  class: "inline-flex items-center px-3 py-2 text-sm font-medium text-gray-800 bg-white border border-gray-200 rounded-lg shadow-sm gap-x-2 hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
@@ -266,7 +266,7 @@ function ft(t, e, n, a, s, r) {
266
266
  }, 8, ["visible"])
267
267
  ], 64);
268
268
  }
269
- const mt = /* @__PURE__ */ $(rt, [["render", ft]]), gt = {}, xt = {
269
+ const gt = /* @__PURE__ */ T(at, [["render", mt]]), xt = {}, yt = {
270
270
  class: "flex-shrink-0 mt-0.5 size-3.5",
271
271
  xmlns: "http://www.w3.org/2000/svg",
272
272
  viewBox: "0 0 24 24",
@@ -276,15 +276,15 @@ const mt = /* @__PURE__ */ $(rt, [["render", ft]]), gt = {}, xt = {
276
276
  "stroke-linecap": "round",
277
277
  "stroke-linejoin": "round"
278
278
  };
279
- function yt(t, e, n, a, s, r) {
280
- return l(), i("svg", xt, e[0] || (e[0] = [
279
+ function _t(t, e, n, a, s, r) {
280
+ return l(), i("svg", yt, e[0] || (e[0] = [
281
281
  o("path", { d: "m3 16 4 4 4-4" }, null, -1),
282
282
  o("path", { d: "M7 20V4" }, null, -1),
283
283
  o("path", { d: "m21 8-4-4-4 4" }, null, -1),
284
284
  o("path", { d: "M17 4v16" }, null, -1)
285
285
  ]));
286
286
  }
287
- const _t = /* @__PURE__ */ $(gt, [["render", yt]]), kt = {}, vt = {
287
+ const kt = /* @__PURE__ */ T(xt, [["render", _t]]), vt = {}, wt = {
288
288
  xmlns: "http://www.w3.org/2000/svg",
289
289
  width: "24",
290
290
  height: "24",
@@ -296,8 +296,8 @@ const _t = /* @__PURE__ */ $(gt, [["render", yt]]), kt = {}, vt = {
296
296
  "stroke-linejoin": "round",
297
297
  class: "icon icon-tabler icons-tabler-outline icon-tabler-rosette-discount-check"
298
298
  };
299
- function wt(t, e, n, a, s, r) {
300
- return l(), i("svg", vt, e[0] || (e[0] = [
299
+ function Ct(t, e, n, a, s, r) {
300
+ return l(), i("svg", wt, e[0] || (e[0] = [
301
301
  o("path", {
302
302
  stroke: "none",
303
303
  d: "M0 0h24v24H0z",
@@ -307,8 +307,8 @@ function wt(t, e, n, a, s, r) {
307
307
  o("path", { d: "M9 12l2 2l4 -4" }, null, -1)
308
308
  ]));
309
309
  }
310
- const Ct = /* @__PURE__ */ $(kt, [["render", wt]]), $t = {
311
- components: { IconExport: _t, IconChevronDown: Oe, IconSuccess: Ct },
310
+ const $t = /* @__PURE__ */ T(vt, [["render", Ct]]), At = {
311
+ components: { IconExport: kt, IconChevronDown: ze, IconSuccess: $t },
312
312
  props: {
313
313
  table: String,
314
314
  columns: Array,
@@ -410,25 +410,25 @@ const Ct = /* @__PURE__ */ $(kt, [["render", wt]]), $t = {
410
410
  this.cols = (e = (t = this.columns) == null ? void 0 : t.filter((n) => (n == null ? void 0 : n.hidden) !== !0)) == null ? void 0 : e.map((n) => n == null ? void 0 : n.name), this.activeAction = "choceVisible";
411
411
  }
412
412
  }
413
- }, At = {
413
+ }, Tt = {
414
414
  key: 0,
415
415
  class: "flex flex-col items-center"
416
- }, Tt = {
416
+ }, It = {
417
417
  key: 1,
418
418
  class: "p-4"
419
- }, It = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, St = { class: "flex items-center" }, Vt = { class: "flex items-center gap-[10px] ml-auto" }, Dt = ["onClick"], Ft = {
419
+ }, St = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, Vt = { class: "flex items-center" }, Dt = { class: "flex items-center gap-[10px] ml-auto" }, Ft = ["onClick"], jt = {
420
420
  key: 0,
421
421
  class: "block h-[8px] w-[8px] rounded-full bg-blue-500"
422
- }, jt = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, Mt = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, qt = { class: "mt-2 space-y-2" }, Pt = ["id", "onChange"], Bt = ["for"], Lt = {
422
+ }, Mt = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, qt = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, Pt = { class: "mt-2 space-y-2" }, Bt = ["id", "onChange"], Lt = ["for"], zt = {
423
423
  key: 0,
424
424
  class: "flex w-full justify-end p-[20px] gap-[6px] border-t"
425
- }, zt = {
425
+ }, Ot = {
426
426
  key: 1,
427
427
  class: "flex w-full justify-end p-[20px] gap-[6px] border-t"
428
428
  };
429
- function Ot(t, e, n, a, s, r) {
429
+ function Ut(t, e, n, a, s, r) {
430
430
  const u = p("IconExport"), f = p("IconChevronDown"), y = p("IconSuccess"), h = p("VsCheckbox"), k = p("VsDialog");
431
- return l(), i(A, null, [
431
+ return l(), i($, null, [
432
432
  o("button", {
433
433
  onClick: e[0] || (e[0] = (c) => s.isOpen = !0),
434
434
  class: "py-2 max-h-[34px] px-2.5 md:inline-flex hidden items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
@@ -450,8 +450,8 @@ function Ot(t, e, n, a, s, r) {
450
450
  size: "small",
451
451
  closeClickBack: !0
452
452
  }, {
453
- footer: T(() => [
454
- s.isSuccessTemplate ? (l(), i("div", Lt, [
453
+ footer: A(() => [
454
+ s.isSuccessTemplate ? (l(), i("div", zt, [
455
455
  o("button", {
456
456
  type: "button",
457
457
  class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border border-gray-200 rounded-lg shadow-sm text-nowrap text-start hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
@@ -462,7 +462,7 @@ function Ot(t, e, n, a, s, r) {
462
462
  class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-white align-middle bg-blue-600 border border-blue-600 rounded-lg shadow-sm text-nowrap gap-x-2 text-start hover:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:ring-1 focus:ring-blue-300 dark:focus:ring-blue-500",
463
463
  onClick: e[3] || (e[3] = (c) => s.isSuccessTemplate = !1)
464
464
  }, " Вигрузити ще ")
465
- ])) : (l(), i("div", zt, [
465
+ ])) : (l(), i("div", Ot, [
466
466
  o("button", {
467
467
  type: "button",
468
468
  class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border border-gray-200 rounded-lg shadow-sm text-nowrap text-start hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
@@ -475,20 +475,20 @@ function Ot(t, e, n, a, s, r) {
475
475
  }, " Завантажити таблицю ")
476
476
  ]))
477
477
  ]),
478
- default: T(() => [
479
- s.isSuccessTemplate ? (l(), i("div", At, [
478
+ default: A(() => [
479
+ s.isSuccessTemplate ? (l(), i("div", Tt, [
480
480
  x(y, {
481
481
  height: "100",
482
482
  width: "100",
483
483
  class: "text-green-200 mb-[20px]"
484
484
  }),
485
485
  e[8] || (e[8] = o("h2", null, "Звіт сформовано і збережено", -1))
486
- ])) : (l(), i("div", Tt, [
487
- o("div", It, [
488
- o("div", St, [
486
+ ])) : (l(), i("div", It, [
487
+ o("div", St, [
488
+ o("div", Vt, [
489
489
  e[9] || (e[9] = o("h2", { class: "text-sm text-gray-500" }, " Виберіть стовпці таблиці для експорту: ", -1)),
490
- o("div", Vt, [
491
- (l(!0), i(A, null, V(s.actions, (c) => (l(), i("button", {
490
+ o("div", Dt, [
491
+ (l(!0), i($, null, V(s.actions, (c) => (l(), i("button", {
492
492
  key: c == null ? void 0 : c.name,
493
493
  onClick: c == null ? void 0 : c.function,
494
494
  class: "inline-flex items-center gap-[8px] justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border-gray-200 text-nowrap text-start"
@@ -496,14 +496,14 @@ function Ot(t, e, n, a, s, r) {
496
496
  o("span", {
497
497
  class: D(["h-[14px] w-[14px] border rounded-full flex items-center justify-center", { "border-blue-500": (c == null ? void 0 : c.name) === s.activeAction }])
498
498
  }, [
499
- (c == null ? void 0 : c.name) === s.activeAction ? (l(), i("span", Ft)) : v("", !0)
499
+ (c == null ? void 0 : c.name) === s.activeAction ? (l(), i("span", jt)) : v("", !0)
500
500
  ], 2),
501
501
  j(" " + I(c == null ? void 0 : c.label), 1)
502
- ], 8, Dt))), 128))
502
+ ], 8, Ft))), 128))
503
503
  ])
504
504
  ]),
505
- o("div", jt, [
506
- (l(!0), i(A, null, V(n.columns, (c, m) => (l(), i("div", {
505
+ o("div", Mt, [
506
+ (l(!0), i($, null, V(n.columns, (c, m) => (l(), i("div", {
507
507
  class: "flex items-center",
508
508
  key: m,
509
509
  style: { width: "calc((100% - 10px) / 2)" }
@@ -518,10 +518,10 @@ function Ot(t, e, n, a, s, r) {
518
518
  ]))), 128))
519
519
  ])
520
520
  ]),
521
- o("div", Mt, [
521
+ o("div", qt, [
522
522
  e[10] || (e[10] = o("h2", { class: "text-sm text-gray-500" }, "Виберіть формат таблиці:", -1)),
523
- o("div", qt, [
524
- (l(!0), i(A, null, V(s.tableFormats, (c, m) => (l(), i("div", {
523
+ o("div", Pt, [
524
+ (l(!0), i($, null, V(s.tableFormats, (c, m) => (l(), i("div", {
525
525
  class: "flex items-center",
526
526
  key: m
527
527
  }, [
@@ -531,11 +531,11 @@ function Ot(t, e, n, a, s, r) {
531
531
  class: "text-blue-600 border-gray-300 rounded-full shrink-0 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-500 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800",
532
532
  id: c,
533
533
  onChange: (d) => r.selectFormat(c)
534
- }, null, 40, Pt),
534
+ }, null, 40, Bt),
535
535
  o("label", {
536
536
  for: c,
537
537
  class: "text-sm text-gray-800 ms-3 dark:text-neutral-400"
538
- }, " Формат " + I(c), 9, Bt)
538
+ }, " Формат " + I(c), 9, Lt)
539
539
  ]))), 128))
540
540
  ])
541
541
  ])
@@ -545,7 +545,7 @@ function Ot(t, e, n, a, s, r) {
545
545
  }, 8, ["visible"])
546
546
  ], 64);
547
547
  }
548
- const Ut = /* @__PURE__ */ $($t, [["render", Ot]]), Nt = {}, Et = {
548
+ const Nt = /* @__PURE__ */ T(At, [["render", Ut]]), Et = {}, Ht = {
549
549
  xmlns: "http://www.w3.org/2000/svg",
550
550
  viewBox: "0 0 24 24",
551
551
  fill: "none",
@@ -555,12 +555,12 @@ const Ut = /* @__PURE__ */ $($t, [["render", Ot]]), Nt = {}, Et = {
555
555
  "stroke-linejoin": "round",
556
556
  class: "icon icon-tabler icons-tabler-outline icon-tabler-columns"
557
557
  };
558
- function Ht(t, e, n, a, s, r) {
559
- return l(), i("svg", Et, e[0] || (e[0] = [
560
- Ie('<path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l5.5 0"></path><path d="M4 10l5.5 0"></path><path d="M4 14l5.5 0"></path><path d="M4 18l5.5 0"></path><path d="M14.5 6l5.5 0"></path><path d="M14.5 10l5.5 0"></path><path d="M14.5 14l5.5 0"></path><path d="M14.5 18l5.5 0"></path>', 9)
558
+ function Rt(t, e, n, a, s, r) {
559
+ return l(), i("svg", Ht, e[0] || (e[0] = [
560
+ Qe('<path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l5.5 0"></path><path d="M4 10l5.5 0"></path><path d="M4 14l5.5 0"></path><path d="M4 18l5.5 0"></path><path d="M14.5 6l5.5 0"></path><path d="M14.5 10l5.5 0"></path><path d="M14.5 14l5.5 0"></path><path d="M14.5 18l5.5 0"></path>', 9)
561
561
  ]));
562
562
  }
563
- const Rt = /* @__PURE__ */ $(Nt, [["render", Ht]]), Wt = {
563
+ const Wt = /* @__PURE__ */ T(Et, [["render", Rt]]), Jt = {
564
564
  props: { column: Object },
565
565
  emits: ["update-column"],
566
566
  data() {
@@ -577,21 +577,21 @@ const Rt = /* @__PURE__ */ $(Nt, [["render", Ht]]), Wt = {
577
577
  var t;
578
578
  ((t = this.column) == null ? void 0 : t.hidden) !== !0 && (this.value = !0);
579
579
  }
580
- }, Jt = { class: "flex w-full gap-[8px] items-centr" };
581
- function Gt(t, e, n, a, s, r) {
580
+ }, Gt = { class: "flex w-full gap-[8px] items-centr" };
581
+ function Kt(t, e, n, a, s, r) {
582
582
  var u, f;
583
- return l(), i("label", Jt, [
583
+ return l(), i("label", Gt, [
584
584
  N(o("input", {
585
585
  "onUpdate:modelValue": e[0] || (e[0] = (y) => s.value = y),
586
586
  type: "checkbox"
587
587
  }, null, 512), [
588
- [Qe, s.value]
588
+ [Xe, s.value]
589
589
  ]),
590
590
  j(" " + I(((u = n.column) == null ? void 0 : u.ua) || ((f = n.column) == null ? void 0 : f.title)), 1)
591
591
  ]);
592
592
  }
593
- const Kt = /* @__PURE__ */ $(Wt, [["render", Gt]]), Qt = {
594
- components: { IconColumns: Rt, AdminTableColumnsHiddenItem: Kt },
593
+ const Qt = /* @__PURE__ */ T(Jt, [["render", Kt]]), Xt = {
594
+ components: { IconColumns: Wt, AdminTableColumnsHiddenItem: Qt },
595
595
  emits: ["update-columns"],
596
596
  props: { columns: Array },
597
597
  methods: {
@@ -600,26 +600,26 @@ const Kt = /* @__PURE__ */ $(Wt, [["render", Gt]]), Qt = {
600
600
  n[e] = t, this.$emit("update-columns", [...n]);
601
601
  }
602
602
  }
603
- }, Xt = { class: "py-2 max-h-[34px] px-2.5 md:inline-flex hidden items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, Yt = { class: "py-[10px] px-[10px] w-[260px]" }, Zt = { class: "flex flex-col gap-[3px] max-h-[400px] w-full overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
604
- function es(t, e, n, a, s, r) {
603
+ }, Yt = { class: "py-2 max-h-[34px] px-2.5 md:inline-flex hidden items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, Zt = { class: "py-[10px] px-[10px] w-[260px]" }, es = { class: "flex flex-col gap-[3px] max-h-[400px] w-full overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
604
+ function ts(t, e, n, a, s, r) {
605
605
  const u = p("IconColumns"), f = p("AdminTableColumnsHiddenItem"), y = p("VsPopover");
606
606
  return l(), _(y, {
607
607
  trigger: "click",
608
608
  placement: "bottom"
609
609
  }, {
610
- reference: T(() => [
611
- o("button", Xt, [
610
+ reference: A(() => [
611
+ o("button", Yt, [
612
612
  x(u, {
613
613
  height: "20",
614
614
  width: "16"
615
615
  })
616
616
  ])
617
617
  ]),
618
- default: T(() => [
619
- o("div", Yt, [
618
+ default: A(() => [
619
+ o("div", Zt, [
620
620
  e[0] || (e[0] = o("h2", { class: "text-sm mb-[8px]" }, "Оберіть колонки, щоб приховати", -1)),
621
- o("ul", Zt, [
622
- (l(!0), i(A, null, V(n.columns, (h, k) => (l(), i("li", { key: k }, [
621
+ o("ul", es, [
622
+ (l(!0), i($, null, V(n.columns, (h, k) => (l(), i("li", { key: k }, [
623
623
  x(f, {
624
624
  column: h,
625
625
  onUpdateColumn: r.updateColumn
@@ -631,7 +631,7 @@ function es(t, e, n, a, s, r) {
631
631
  _: 1
632
632
  });
633
633
  }
634
- const ts = /* @__PURE__ */ $(Qt, [["render", es]]), ss = {}, ns = {
634
+ const ss = /* @__PURE__ */ T(Xt, [["render", ts]]), ns = {}, ls = {
635
635
  xmlns: "http://www.w3.org/2000/svg",
636
636
  viewBox: "0 0 24 24",
637
637
  fill: "none",
@@ -641,8 +641,8 @@ const ts = /* @__PURE__ */ $(Qt, [["render", es]]), ss = {}, ns = {
641
641
  "stroke-linejoin": "round",
642
642
  class: "icon icon-tabler icons-tabler-outline icon-tabler-minus"
643
643
  };
644
- function ls(t, e, n, a, s, r) {
645
- return l(), i("svg", ns, e[0] || (e[0] = [
644
+ function os(t, e, n, a, s, r) {
645
+ return l(), i("svg", ls, e[0] || (e[0] = [
646
646
  o("path", {
647
647
  stroke: "none",
648
648
  d: "M0 0h24v24H0z",
@@ -651,8 +651,8 @@ function ls(t, e, n, a, s, r) {
651
651
  o("path", { d: "M5 12l14 0" }, null, -1)
652
652
  ]));
653
653
  }
654
- const os = /* @__PURE__ */ $(ss, [["render", ls]]), rs = {
655
- components: { IconPlus: O, IconMinus: os },
654
+ const rs = /* @__PURE__ */ T(ns, [["render", os]]), as = {
655
+ components: { IconPlus: O, IconMinus: rs },
656
656
  props: {
657
657
  title: String,
658
658
  defaultValue: { type: Boolean, default: () => !1 }
@@ -660,18 +660,18 @@ const os = /* @__PURE__ */ $(ss, [["render", ls]]), rs = {
660
660
  data() {
661
661
  return { expanded: this.defaultValue };
662
662
  }
663
- }, as = { class: "hs-accordion" }, is = { class: "py-0.5 flex items-center gap-x-0.5 w-full" }, cs = { class: "text-sm font-medium" }, us = { class: "relative inline-block w-full duration-150 cursor-pointer before:block before:absolute b" };
664
- function ds(t, e, n, a, s, r) {
663
+ }, is = { class: "hs-accordion" }, cs = { class: "py-0.5 flex items-center gap-x-0.5 w-full" }, us = { class: "text-sm font-medium" }, ds = { class: "relative inline-block w-full duration-150 cursor-pointer before:block before:absolute b" };
664
+ function ps(t, e, n, a, s, r) {
665
665
  const u = p("IconPlus"), f = p("IconMinus");
666
666
  return l(), i("div", null, [
667
667
  o("div", null, [
668
- o("div", as, [
669
- o("div", is, [
668
+ o("div", is, [
669
+ o("div", cs, [
670
670
  o("div", {
671
671
  onClick: e[0] || (e[0] = (y) => s.expanded = !s.expanded),
672
672
  class: "rounded-md cursor-pointer grow"
673
673
  }, [
674
- o("span", cs, I(n.title), 1)
674
+ o("span", us, I(n.title), 1)
675
675
  ]),
676
676
  o("button", {
677
677
  class: "flex items-center justify-center rounded-md size-6 hover:bg-gray-100",
@@ -684,11 +684,11 @@ function ds(t, e, n, a, s, r) {
684
684
  ])
685
685
  ]),
686
686
  x(E, { name: "fade" }, {
687
- default: T(() => [
688
- N(o("div", us, [
689
- Xe(t.$slots, "default", {}, void 0, !0)
687
+ default: A(() => [
688
+ N(o("div", ds, [
689
+ Ye(t.$slots, "default", {}, void 0, !0)
690
690
  ], 512), [
691
- [Se, s.expanded]
691
+ [Ie, s.expanded]
692
692
  ])
693
693
  ]),
694
694
  _: 3
@@ -697,45 +697,45 @@ function ds(t, e, n, a, s, r) {
697
697
  ])
698
698
  ]);
699
699
  }
700
- const ps = /* @__PURE__ */ $(rs, [["render", ds], ["__scopeId", "data-v-c6318482"]]), bs = {
700
+ const bs = /* @__PURE__ */ T(as, [["render", ps], ["__scopeId", "data-v-c6318482"]]), hs = {
701
701
  components: {
702
702
  AdminComponentIs: U,
703
- AdminTree: ps,
704
- VsNoData: Ue,
705
- VsWidgetComments: Ne,
706
- VsWidgetMap: Ee,
707
- VsWidgetFileList: He
703
+ AdminTree: bs,
704
+ VsNoData: Oe,
705
+ VsWidgetComments: Ue,
706
+ VsWidgetMap: Ne,
707
+ VsWidgetFileList: Ee
708
708
  },
709
709
  props: { table: String, columns: Array, row: Object }
710
- }, hs = {
710
+ }, fs = {
711
711
  class: "hs-accordion border-gray-100 w-[360px] shrink-0 overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500",
712
712
  style: { height: "calc(100vh - 310px)" }
713
- }, fs = {
713
+ }, ms = {
714
714
  class: "border-l",
715
715
  style: { height: "calc(100vh - 360px)" }
716
- }, ms = { class: "flex items-center justify-between py-1 gap-x-4" }, gs = { class: "col-span-1 w-[50%]" }, xs = { class: "inline-flex items-center gap-x-2 text-[13px] text-gray-500 dark:text-neutral-500" }, ys = { class: "col-span-2 w-[50%]" }, _s = { class: "font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, ks = { class: "table-info-card" }, vs = { class: "table-info-card" };
717
- function ws(t, e, n, a, s, r) {
716
+ }, gs = { class: "flex items-center justify-between py-1 gap-x-4" }, xs = { class: "col-span-1 w-[50%]" }, ys = { class: "inline-flex items-center gap-x-2 text-[13px] text-gray-500 dark:text-neutral-500" }, _s = { class: "col-span-2 w-[50%]" }, ks = { class: "font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, vs = { class: "table-info-card" }, ws = { class: "table-info-card" };
717
+ function Cs(t, e, n, a, s, r) {
718
718
  var m, d, w;
719
719
  const u = p("AdminComponentIs"), f = p("AdminTree"), y = p("VsWidgetMap"), h = p("VsNoData"), k = p("VsWidgetComments"), c = p("VsWidgetFileList");
720
- return l(), i("div", hs, [
720
+ return l(), i("div", fs, [
721
721
  e[0] || (e[0] = o("div", { class: "p-[10px] pl-[18px] pb-[18px] border-b" }, [
722
722
  o("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
723
723
  ], -1)),
724
- o("div", fs, [
725
- (d = (m = t.$route) == null ? void 0 : m.query) != null && d.card ? (l(), i(A, { key: 0 }, [
724
+ o("div", ms, [
725
+ (d = (m = t.$route) == null ? void 0 : m.query) != null && d.card ? (l(), i($, { key: 0 }, [
726
726
  n.row ? (l(), _(f, {
727
727
  key: 0,
728
728
  defaultValue: !0,
729
729
  title: "Основна інформація",
730
730
  class: "border-b p-[10px] py-[16px]"
731
731
  }, {
732
- default: T(() => [
733
- (l(!0), i(A, null, V(n.columns, (g) => (l(), i("dl", ms, [
734
- o("dt", gs, [
735
- o("p", xs, I((g == null ? void 0 : g.ua) || (g == null ? void 0 : g.title)) + ": ", 1)
732
+ default: A(() => [
733
+ (l(!0), i($, null, V(n.columns, (g) => (l(), i("dl", gs, [
734
+ o("dt", xs, [
735
+ o("p", ys, I((g == null ? void 0 : g.ua) || (g == null ? void 0 : g.title)) + ": ", 1)
736
736
  ]),
737
- o("dd", ys, [
738
- o("p", _s, [
737
+ o("dd", _s, [
738
+ o("p", ks, [
739
739
  x(u, {
740
740
  row: n.row,
741
741
  column: g,
@@ -752,7 +752,7 @@ function ws(t, e, n, a, s, r) {
752
752
  title: "Карта",
753
753
  class: "border-b p-[10px] py-[16px]"
754
754
  }, {
755
- default: T(() => {
755
+ default: A(() => {
756
756
  var g, C;
757
757
  return [
758
758
  (g = n.row) != null && g.geom ? (l(), _(y, {
@@ -773,10 +773,10 @@ function ws(t, e, n, a, s, r) {
773
773
  title: "Коментарі",
774
774
  class: "border-b p-[10px] py-[16px]"
775
775
  }, {
776
- default: T(() => {
776
+ default: A(() => {
777
777
  var g;
778
778
  return [
779
- o("div", ks, [
779
+ o("div", vs, [
780
780
  x(k, {
781
781
  id: (g = n.row) == null ? void 0 : g.id
782
782
  }, null, 8, ["id"])
@@ -789,10 +789,10 @@ function ws(t, e, n, a, s, r) {
789
789
  title: "Файли",
790
790
  class: "border-b p-[10px] py-[16px]"
791
791
  }, {
792
- default: T(() => {
792
+ default: A(() => {
793
793
  var g, C;
794
794
  return [
795
- o("div", vs, [
795
+ o("div", ws, [
796
796
  (l(), _(c, {
797
797
  key: (g = n.row) == null ? void 0 : g.id,
798
798
  id: (C = n.row) == null ? void 0 : C.id
@@ -809,7 +809,7 @@ function ws(t, e, n, a, s, r) {
809
809
  ])
810
810
  ]);
811
811
  }
812
- const Cs = /* @__PURE__ */ $(bs, [["render", ws]]), $s = {}, As = {
812
+ const $s = /* @__PURE__ */ T(hs, [["render", Cs]]), As = {}, Ts = {
813
813
  class: "size-4",
814
814
  xmlns: "http://www.w3.org/2000/svg",
815
815
  viewBox: "0 0 24 24",
@@ -819,8 +819,8 @@ const Cs = /* @__PURE__ */ $(bs, [["render", ws]]), $s = {}, As = {
819
819
  "stroke-linecap": "round",
820
820
  "stroke-linejoin": "round"
821
821
  };
822
- function Ts(t, e, n, a, s, r) {
823
- return l(), i("svg", As, e[0] || (e[0] = [
822
+ function Is(t, e, n, a, s, r) {
823
+ return l(), i("svg", Ts, e[0] || (e[0] = [
824
824
  o("rect", {
825
825
  width: "18",
826
826
  height: "18",
@@ -832,31 +832,14 @@ function Ts(t, e, n, a, s, r) {
832
832
  o("path", { d: "m8 9 3 3-3 3" }, null, -1)
833
833
  ]));
834
834
  }
835
- const Is = /* @__PURE__ */ $($s, [["render", Ts]]), Ss = {}, Vs = {
836
- class: "h21yx vs0hq",
837
- xmlns: "http://www.w3.org/2000/svg",
838
- width: "24",
839
- height: "24",
840
- viewBox: "0 0 24 24",
841
- fill: "none",
842
- stroke: "currentColor",
843
- "stroke-width": "2",
844
- "stroke-linecap": "round",
845
- "stroke-linejoin": "round"
846
- };
847
- function Ds(t, e, n, a, s, r) {
848
- return l(), i("svg", Vs, e[0] || (e[0] = [
849
- Ie('<line x1="21" x2="14" y1="4" y2="4"></line><line x1="10" x2="3" y1="4" y2="4"></line><line x1="21" x2="12" y1="12" y2="12"></line><line x1="8" x2="3" y1="12" y2="12"></line><line x1="21" x2="16" y1="20" y2="20"></line><line x1="12" x2="3" y1="20" y2="20"></line><line x1="14" x2="14" y1="2" y2="6"></line><line x1="8" x2="8" y1="10" y2="14"></line><line x1="16" x2="16" y1="18" y2="22"></line>', 9)
850
- ]));
851
- }
852
- const Fs = /* @__PURE__ */ $(Ss, [["render", Ds]]), js = {
835
+ const Ss = /* @__PURE__ */ T(As, [["render", Is]]), Vs = {
853
836
  emits: ["filterChange"],
854
837
  props: {
855
838
  scheme: { type: Object },
856
839
  onFilters: { type: Number },
857
840
  table: { type: String }
858
841
  },
859
- components: { IconFilter: Fs },
842
+ components: { IconFilter: He },
860
843
  data() {
861
844
  return {
862
845
  isFilters: !1
@@ -867,10 +850,10 @@ const Fs = /* @__PURE__ */ $(Ss, [["render", Ds]]), js = {
867
850
  this.isFilters && t.classList.contains("filter-container") && (this.isFilters = !1);
868
851
  }
869
852
  }
870
- }, Ms = { key: 0 }, qs = { class: "filter-content h-screen bg-white w-[400px] p-[20px] pt-[10px] overflow-x-auto bg-white [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
871
- function Ps(t, e, n, a, s, r) {
853
+ }, Ds = { key: 0 }, Fs = { class: "filter-content h-screen bg-white w-[400px] p-[20px] pt-[10px] overflow-x-auto bg-white [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
854
+ function js(t, e, n, a, s, r) {
872
855
  const u = p("IconFilter"), f = p("VsFilter");
873
- return l(), i(A, null, [
856
+ return l(), i($, null, [
874
857
  o("button", {
875
858
  onClick: e[0] || (e[0] = (y) => s.isFilters = !s.isFilters),
876
859
  class: "py-2 px-2.5 max-h-[34px] inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none"
@@ -880,10 +863,10 @@ function Ps(t, e, n, a, s, r) {
880
863
  width: "16"
881
864
  }),
882
865
  e[4] || (e[4] = j(" Фільтри ")),
883
- n.onFilters ? (l(), i("span", Ms, I(n.onFilters), 1)) : v("", !0)
866
+ n.onFilters ? (l(), i("span", Ds, I(n.onFilters), 1)) : v("", !0)
884
867
  ]),
885
868
  x(E, { name: "fade" }, {
886
- default: T(() => {
869
+ default: A(() => {
887
870
  var y;
888
871
  return [
889
872
  N(o("div", {
@@ -891,7 +874,7 @@ function Ps(t, e, n, a, s, r) {
891
874
  style: { height: "100vh" },
892
875
  class: "fixed filter-container top-0 flex justify-end items-center z-[2] right-0 left-0 bottom-0 bg-[rgba(0,0,0,0.5)]"
893
876
  }, [
894
- o("div", qs, [
877
+ o("div", Fs, [
895
878
  (y = n.scheme) != null && y.length ? (l(), _(f, {
896
879
  key: 0,
897
880
  ref: "filter",
@@ -907,7 +890,7 @@ function Ps(t, e, n, a, s, r) {
907
890
  }, null, 8, ["scheme", "token"])) : v("", !0)
908
891
  ])
909
892
  ], 512), [
910
- [Se, s.isFilters]
893
+ [Ie, s.isFilters]
911
894
  ])
912
895
  ];
913
896
  }),
@@ -915,25 +898,25 @@ function Ps(t, e, n, a, s, r) {
915
898
  })
916
899
  ], 64);
917
900
  }
918
- const Bs = /* @__PURE__ */ $(js, [["render", Ps]]), Ls = {
901
+ const Ms = /* @__PURE__ */ T(Vs, [["render", js]]), qs = {
919
902
  props: { tabsList: { type: Array, default: () => [] }, filterState: String }
920
- }, zs = {
903
+ }, Ps = {
921
904
  class: "relative flex space-x-1 mb-[20px] after:absolute after:w-[99%] after:bottom-0 after:inset-x-0 after:border-b-2 after:border-gray-200 dark:after:border-neutral-700",
922
905
  "aria-label": "Tabs",
923
906
  role: "tablist",
924
907
  "aria-orientation": "horizontal"
925
- }, Os = ["onClick"];
926
- function Us(t, e, n, a, s, r) {
927
- return l(), i("nav", zs, [
928
- (l(!0), i(A, null, V(n.tabsList, (u) => (l(), i("button", {
908
+ }, Bs = ["onClick"];
909
+ function Ls(t, e, n, a, s, r) {
910
+ return l(), i("nav", Ps, [
911
+ (l(!0), i($, null, V(n.tabsList, (u) => (l(), i("button", {
929
912
  onClick: (f) => t.$emit("update:filterState", u == null ? void 0 : u.name),
930
913
  class: D(["hs-tab-active:after:bg-gray-800 hs-tab-active:text-gray-800 px-2.5 py-1.5 mb-2 relative inline-flex justify-center items-center gap-x-2 hover:bg-gray-100 text-gray-500 hover:text-gray-800 text-sm rounded-lg disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-100 after:absolute after:-bottom-2 after:inset-x-0 after:z-10 after:h-0.5 after:pointer-events-none dark:hs-tab-active:text-neutral-200 dark:hs-tab-active:after:bg-neutral-400 dark:text-neutral-500 dark:hover:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 active", {
931
914
  " font-semibold after:absolute after:bottom-[-8px] after:left-2.5 after:right-2.5 after:z-10 after:h-0.5 after:bg-gray-800": (u == null ? void 0 : u.name) === n.filterState
932
915
  }])
933
- }, I(u == null ? void 0 : u.label), 11, Os))), 256))
916
+ }, I(u == null ? void 0 : u.label), 11, Bs))), 256))
934
917
  ]);
935
918
  }
936
- const Ns = /* @__PURE__ */ $(Ls, [["render", Us]]), Es = {}, Hs = {
919
+ const zs = /* @__PURE__ */ T(qs, [["render", Ls]]), Os = {}, Us = {
937
920
  xmlns: "http://www.w3.org/2000/svg",
938
921
  viewBox: "0 0 24 24",
939
922
  fill: "none",
@@ -943,8 +926,8 @@ const Ns = /* @__PURE__ */ $(Ls, [["render", Us]]), Es = {}, Hs = {
943
926
  "stroke-linejoin": "round",
944
927
  class: "icon icon-tabler icons-tabler-outline icon-tabler-filter"
945
928
  };
946
- function Rs(t, e, n, a, s, r) {
947
- return l(), i("svg", Hs, e[0] || (e[0] = [
929
+ function Ns(t, e, n, a, s, r) {
930
+ return l(), i("svg", Us, e[0] || (e[0] = [
948
931
  o("path", {
949
932
  stroke: "none",
950
933
  d: "M0 0h24v24H0z",
@@ -953,27 +936,27 @@ function Rs(t, e, n, a, s, r) {
953
936
  o("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" }, null, -1)
954
937
  ]));
955
938
  }
956
- const Ws = /* @__PURE__ */ $(Es, [["render", Rs]]), Js = {
957
- components: { IconFilter2: Ws, IconCheck2: Re },
939
+ const Es = /* @__PURE__ */ T(Os, [["render", Ns]]), Hs = {
940
+ components: { IconFilter2: Es, IconCheck2: Re },
958
941
  props: { filterCustom: String, customList: Array }
959
- }, Gs = { class: "py-2 max-h-[34px] px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, Ks = { class: "flex flex-col p-[2px] gap-[2px] w-[170px]" }, Qs = ["onClick"], Xs = { class: "text-sm text-gray-800 ms-2" };
960
- function Ys(t, e, n, a, s, r) {
942
+ }, Rs = { class: "py-2 max-h-[34px] px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, Ws = { class: "flex flex-col p-[2px] gap-[2px] w-[170px]" }, Js = ["onClick"], Gs = { class: "text-sm text-gray-800 ms-2" };
943
+ function Ks(t, e, n, a, s, r) {
961
944
  const u = p("IconFilter2"), f = p("IconCheck2"), y = p("VsPopover");
962
945
  return l(), _(y, {
963
946
  ref: "popover",
964
947
  placement: "bottom"
965
948
  }, {
966
- reference: T(() => [
967
- o("button", Gs, [
949
+ reference: A(() => [
950
+ o("button", Rs, [
968
951
  x(u, {
969
952
  height: "20",
970
953
  width: "20"
971
954
  })
972
955
  ])
973
956
  ]),
974
- default: T(() => [
975
- o("div", Ks, [
976
- (l(!0), i(A, null, V(n.customList, (h, k) => {
957
+ default: A(() => [
958
+ o("div", Ws, [
959
+ (l(!0), i($, null, V(n.customList, (h, k) => {
977
960
  var c;
978
961
  return l(), i("button", {
979
962
  onClick: (m) => {
@@ -987,12 +970,12 @@ function Ys(t, e, n, a, s, r) {
987
970
  class: "block w-1 h-3 border-0 rounded-full appearance-none shrink-0 checked:bg-none",
988
971
  style: B({ backgroundColor: ((c = t.option) == null ? void 0 : c.color) || "#ffffff" })
989
972
  }, null, 4),
990
- o("span", Xs, I(h == null ? void 0 : h.label), 1),
973
+ o("span", Gs, I(h == null ? void 0 : h.label), 1),
991
974
  n.filterCustom === (h == null ? void 0 : h.name) ? (l(), _(f, {
992
975
  key: 0,
993
976
  class: "ml-auto size-3 shrink-0"
994
977
  })) : v("", !0)
995
- ], 10, Qs);
978
+ ], 10, Js);
996
979
  }), 128)),
997
980
  o("button", {
998
981
  class: "flex items-center px-3 py-1 rounded-md cursor-pointer group hover:bg-gray-100",
@@ -1006,14 +989,14 @@ function Ys(t, e, n, a, s, r) {
1006
989
  _: 1
1007
990
  }, 512);
1008
991
  }
1009
- const Zs = /* @__PURE__ */ $(Js, [["render", Ys]]), en = { class: "flex items-center gap-x-2" }, tn = {
992
+ const Qs = /* @__PURE__ */ T(Hs, [["render", Ks]]), Xs = { class: "flex items-center gap-x-2" }, Ys = {
1010
993
  __name: "admin-table-custom-buttons",
1011
994
  props: {
1012
995
  slots: Object
1013
996
  },
1014
997
  setup(t) {
1015
998
  var f, y, h, k, c;
1016
- const { asyncTemplateSlot: e } = (c = (k = (h = (y = (f = Ve()) == null ? void 0 : f.appContext) == null ? void 0 : y.app) == null ? void 0 : h.config) == null ? void 0 : k.globalProperties) == null ? void 0 : c.utils, n = L(""), a = L(""), s = t, r = () => {
999
+ const { asyncTemplateSlot: e } = (c = (k = (h = (y = (f = Se()) == null ? void 0 : f.appContext) == null ? void 0 : y.app) == null ? void 0 : h.config) == null ? void 0 : k.globalProperties) == null ? void 0 : c.utils, n = L(""), a = L(""), s = t, r = () => {
1017
1000
  var m, d, w, g, C;
1018
1001
  if ((m = s.slots) != null && m.panelLeft || (a.value = "div"), (w = (d = s.slots) == null ? void 0 : d.panelLeft) != null && w.includes("<")) {
1019
1002
  const S = e("PanelLeft", (g = s.slots) == null ? void 0 : g.panelLeft, [
@@ -1032,26 +1015,26 @@ const Zs = /* @__PURE__ */ $(Js, [["render", Ys]]), en = { class: "flex items-ce
1032
1015
  } else
1033
1016
  n.value = (C = s.slots) == null ? void 0 : C.panelRight;
1034
1017
  };
1035
- return r(), u(), (m, d) => (l(), i("div", en, [
1018
+ return r(), u(), (m, d) => (l(), i("div", Xs, [
1036
1019
  (l(), _(z(a.value))),
1037
1020
  (l(), _(z(n.value)))
1038
1021
  ]));
1039
1022
  }
1040
- }, sn = (t, e = 300) => {
1023
+ }, Zs = (t, e = 300) => {
1041
1024
  let n;
1042
1025
  return function(...a) {
1043
1026
  clearTimeout(n), n = setTimeout(() => {
1044
1027
  t.apply(this, a);
1045
1028
  }, e);
1046
1029
  };
1047
- }, nn = {
1030
+ }, en = {
1048
1031
  __name: "admin-custom-button-add",
1049
1032
  props: {
1050
1033
  slots: Object
1051
1034
  },
1052
1035
  setup(t) {
1053
1036
  var r, u, f, y, h;
1054
- const { asyncTemplateSlot: e } = (h = (y = (f = (u = (r = Ve()) == null ? void 0 : r.appContext) == null ? void 0 : u.app) == null ? void 0 : f.config) == null ? void 0 : y.globalProperties) == null ? void 0 : h.utils, n = L(""), a = t;
1037
+ const { asyncTemplateSlot: e } = (h = (y = (f = (u = (r = Se()) == null ? void 0 : r.appContext) == null ? void 0 : u.app) == null ? void 0 : f.config) == null ? void 0 : y.globalProperties) == null ? void 0 : h.utils, n = L(""), a = t;
1055
1038
  return (() => {
1056
1039
  var k, c, m, d, w;
1057
1040
  if ((k = a.slots) != null && k.addButton || (n.value = "div"), (m = (c = a.slots) == null ? void 0 : c.addButton) != null && m.includes("<")) {
@@ -1066,13 +1049,13 @@ const Zs = /* @__PURE__ */ $(Js, [["render", Ys]]), en = { class: "flex items-ce
1066
1049
  IconPlus: O
1067
1050
  })) : v("", !0);
1068
1051
  }
1069
- }, ln = {
1052
+ }, tn = {
1070
1053
  key: 0,
1071
1054
  class: "px-4 py-3 text-sm text-gray-800 font-[500]"
1072
- }, on = {
1055
+ }, sn = {
1073
1056
  key: 1,
1074
1057
  class: "px-4 py-3 text-sm text-gray-800 font-[700]"
1075
- }, rn = {
1058
+ }, nn = {
1076
1059
  __name: "admin-table-totals-list",
1077
1060
  props: {
1078
1061
  columns: { type: Array, default: () => [] },
@@ -1081,40 +1064,40 @@ const Zs = /* @__PURE__ */ $(Js, [["render", Ys]]), en = { class: "flex items-ce
1081
1064
  },
1082
1065
  setup(t) {
1083
1066
  return (e, n) => (l(), i("tr", null, [
1084
- (l(!0), i(A, null, V(t.columns, (a) => {
1067
+ (l(!0), i($, null, V(t.columns, (a) => {
1085
1068
  var s;
1086
- return l(), i(A, {
1069
+ return l(), i($, {
1087
1070
  key: a == null ? void 0 : a.name
1088
1071
  }, [
1089
- (s = t.agg) != null && s[a == null ? void 0 : a.name] ? (l(), i("td", ln, [
1072
+ (s = t.agg) != null && s[a == null ? void 0 : a.name] ? (l(), i("td", tn, [
1090
1073
  x(U, {
1091
1074
  column: a,
1092
1075
  row: t.agg
1093
1076
  }, null, 8, ["column", "row"])
1094
- ])) : (l(), i("td", on))
1077
+ ])) : (l(), i("td", sn))
1095
1078
  ], 64);
1096
1079
  }), 128))
1097
1080
  ]));
1098
1081
  }
1099
- }, an = {
1082
+ }, ln = {
1100
1083
  props: { table: String, title: String },
1101
1084
  components: {
1102
- AdminTableControl: mt,
1103
- AdminTableExport: Ut,
1104
- AdminTableColumnsHidden: ts,
1105
- AdminTableColumn: ot,
1085
+ AdminTableControl: gt,
1086
+ AdminTableExport: Nt,
1087
+ AdminTableColumnsHidden: ss,
1088
+ AdminTableColumn: rt,
1106
1089
  AdminNodata: We,
1107
1090
  IconPlus: O,
1108
1091
  IconSearch: Je,
1109
- AdminTableCardInfo: Cs,
1110
- IconOpenCard: Is,
1092
+ AdminTableCardInfo: $s,
1093
+ IconOpenCard: Ss,
1111
1094
  AdminComponentIs: U,
1112
- AdminTableFilters: Bs,
1113
- AdminTableTabs: Ns,
1114
- AdminTableCustomFilters: Zs,
1115
- AdminTableCustomButtons: tn,
1116
- AdminCustomButtonAdd: nn,
1117
- AdminTableTotalsList: rn
1095
+ AdminTableFilters: Ms,
1096
+ AdminTableTabs: zs,
1097
+ AdminTableCustomFilters: Qs,
1098
+ AdminTableCustomButtons: Ys,
1099
+ AdminCustomButtonAdd: en,
1100
+ AdminTableTotalsList: nn
1118
1101
  },
1119
1102
  data() {
1120
1103
  return {
@@ -1170,7 +1153,7 @@ const Zs = /* @__PURE__ */ $(Js, [["render", Ys]]), en = { class: "flex items-ce
1170
1153
  this.tableData = null, await this.getTableData();
1171
1154
  },
1172
1155
  searchValue: {
1173
- handler: sn(async function(t) {
1156
+ handler: Zs(async function(t) {
1174
1157
  var e;
1175
1158
  await this.getTableData(), this.$router.push({
1176
1159
  ...this.$route,
@@ -1298,26 +1281,26 @@ const Zs = /* @__PURE__ */ $(Js, [["render", Ys]]), en = { class: "flex items-ce
1298
1281
  });
1299
1282
  }
1300
1283
  }
1301
- }, cn = { class: "w-[calc(100vw - 320px)] bg-gray-50" }, un = { class: "h-[76px] mt-[15px] flex items-center justify-between mx-[20px] px-[20px] bg-white border rounded-xl" }, dn = { class: "text-xl font-medium" }, pn = {
1284
+ }, on = { class: "w-[calc(100vw - 320px)] bg-gray-50" }, rn = { class: "h-[76px] mt-[15px] flex items-center justify-between mx-[20px] px-[20px] bg-white border rounded-xl" }, an = { class: "text-xl font-medium" }, cn = {
1302
1285
  style: { height: "calc(100vh - 155px)" },
1303
1286
  class: "bg-gray-50 p-[20px] flex pt-[10px] lg:w-[calc(100vw-260px)] w-[100vw]"
1304
- }, bn = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, hn = { class: "flex" }, fn = { class: "flex gap-[6px] ml-auto" }, mn = { class: "inline-block w-full align-middle" }, gn = {
1287
+ }, un = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, dn = { class: "flex" }, pn = { class: "flex gap-[6px] ml-auto" }, bn = { class: "inline-block w-full align-middle" }, hn = {
1305
1288
  key: 0,
1306
1289
  class: "relative min-w-full divide-y divide-gray-200 table-fixed w-max dark:divide-neutral-700"
1307
- }, xn = { class: "sticky top-[-1px] bg-white w-full after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, yn = { class: "right-0 border-t border-stone-200" }, _n = {
1290
+ }, fn = { class: "sticky top-[-1px] bg-white w-full after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, mn = { class: "right-0 border-t border-stone-200" }, gn = {
1308
1291
  key: 0,
1309
1292
  class: "w-[70px] sticky right-0 top-0"
1310
- }, kn = { class: "divide-y divide-gray-200" }, vn = { class: "px-4 py-3 text-sm text-gray-600" }, wn = ["onClick"], Cn = ["onClick"], $n = { class: "p-[20px] flex justify-start items-center w-full" }, An = { class: "w-[200px] md:inline-flex hidden" }, Tn = { class: "text-sm text-gray-600 dark:text-neutral-400" }, In = { class: "font-semibold text-gray-800 dark:text-neutral-200" }, Sn = { key: 0 }, Vn = {
1293
+ }, xn = { class: "divide-y divide-gray-200" }, yn = { class: "px-4 py-3 text-sm text-gray-600" }, _n = ["onClick"], kn = ["onClick"], vn = { class: "p-[20px] flex justify-start items-center w-full" }, wn = { class: "w-[200px] md:inline-flex hidden" }, Cn = { class: "text-sm text-gray-600 dark:text-neutral-400" }, $n = { class: "font-semibold text-gray-800 dark:text-neutral-200" }, An = { key: 0 }, Tn = {
1311
1294
  key: 0,
1312
1295
  class: "font-semibold text-gray-800 dark:text-neutral-200"
1313
1296
  };
1314
- function Dn(t, e, n, a, s, r) {
1297
+ function In(t, e, n, a, s, r) {
1315
1298
  var H, R, W, J, G, K, Q, X, Y, Z, ee, te, se, ne, le, oe, re, ae, ie, ce, ue, de, pe, be, he, fe, me;
1316
- const u = p("AdminCustomButtonAdd"), f = p("IconPlus"), y = p("router-link"), h = p("AdminTableTabs"), k = p("IconSearch"), c = p("VsText"), m = p("AdminTableCustomButtons"), d = p("AdminTableCustomFilters"), w = p("AdminTableColumnsHidden"), g = p("AdminTableExport"), C = p("AdminTableFilters"), S = p("IconOpenCard"), q = p("AdminTableColumn"), P = p("AdminComponentIs"), De = p("AdminTableControl"), Fe = p("AdminTableTotalsList"), je = p("AdminNodata"), Me = p("VsPagination"), qe = p("AdminTableCardInfo");
1317
- return l(), i("div", cn, [
1318
- o("div", un, [
1319
- o("h2", dn, I(n.title), 1),
1320
- r.isForm ? (l(), i(A, { key: 0 }, [
1299
+ const u = p("AdminCustomButtonAdd"), f = p("IconPlus"), y = p("router-link"), h = p("AdminTableTabs"), k = p("IconSearch"), c = p("VsText"), m = p("AdminTableCustomButtons"), d = p("AdminTableCustomFilters"), w = p("AdminTableColumnsHidden"), g = p("AdminTableExport"), C = p("AdminTableFilters"), S = p("IconOpenCard"), q = p("AdminTableColumn"), P = p("AdminComponentIs"), Ve = p("AdminTableControl"), De = p("AdminTableTotalsList"), Fe = p("AdminNodata"), je = p("VsPagination"), Me = p("AdminTableCardInfo");
1300
+ return l(), i("div", on, [
1301
+ o("div", rn, [
1302
+ o("h2", an, I(n.title), 1),
1303
+ r.isForm ? (l(), i($, { key: 0 }, [
1321
1304
  (R = (H = s.tableData) == null ? void 0 : H.slots) != null && R.addButton ? (l(), _(u, {
1322
1305
  key: 0,
1323
1306
  slots: (W = s.tableData) == null ? void 0 : W.slots
@@ -1326,7 +1309,7 @@ function Dn(t, e, n, a, s, r) {
1326
1309
  to: `/add?table=${(G = (J = t.$route) == null ? void 0 : J.params) == null ? void 0 : G.catchAll}`,
1327
1310
  class: "inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white"
1328
1311
  }, {
1329
- default: T(() => [
1312
+ default: A(() => [
1330
1313
  x(f, {
1331
1314
  height: "16",
1332
1315
  width: "16"
@@ -1337,15 +1320,15 @@ function Dn(t, e, n, a, s, r) {
1337
1320
  }, 8, ["to"]))
1338
1321
  ], 64)) : v("", !0)
1339
1322
  ]),
1340
- o("div", pn, [
1341
- o("div", bn, [
1323
+ o("div", cn, [
1324
+ o("div", un, [
1342
1325
  (Q = (K = s.tableData) == null ? void 0 : K.filterState) != null && Q.length ? (l(), _(h, {
1343
1326
  key: 0,
1344
1327
  tabsList: (X = s.tableData) == null ? void 0 : X.filterState,
1345
1328
  filterState: s.filterState,
1346
1329
  "onUpdate:filterState": e[0] || (e[0] = (b) => s.filterState = b)
1347
1330
  }, null, 8, ["tabsList", "filterState"])) : v("", !0),
1348
- o("div", hn, [
1331
+ o("div", dn, [
1349
1332
  o("div", {
1350
1333
  class: D([s.isVisibleCardInfo ? "w-[calc(100%-360px)]" : "w-full"])
1351
1334
  }, [
@@ -1364,7 +1347,7 @@ function Dn(t, e, n, a, s, r) {
1364
1347
  clearable: !0,
1365
1348
  class: "[&>input]:py-[7px] [&>input]:ps-10 [&>input]:pe-8 [&>input]:block [&>input]:w-full [&>input]:bg-gray-100 [&>input]:border-transparent [&>input]:rounded-lg [&>input]:text-sm [&>input]:focus:bg-white [&>input]:focus:border-blue-500 [&>input]:focus:ring-blue-500 [&>input]:disabled:opacity-50 [&>input]:disabled:pointer-events-none [&>input]:dark:bg-neutral-700 [&>input]:dark:border-transparent [&>input]:dark:text-neutral-400 [&>input]:dark:placeholder:text-neutral-400 dark:focus:bg-neutral-800 dark:focus:ring-neutral-600"
1366
1349
  }, null, 8, ["modelValue"]),
1367
- o("div", fn, [
1350
+ o("div", pn, [
1368
1351
  (Y = s.tableData) != null && Y.slots ? (l(), _(m, {
1369
1352
  key: 0,
1370
1353
  slots: (Z = s.tableData) == null ? void 0 : Z.slots
@@ -1414,11 +1397,11 @@ function Dn(t, e, n, a, s, r) {
1414
1397
  }),
1415
1398
  class: "overflow-x-auto w-full [&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-stone-100 [&::-webkit-scrollbar-thumb]:bg-stone-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500"
1416
1399
  }, [
1417
- o("div", mn, [
1418
- r.isNoData ? (l(), _(je, { key: 1 })) : (l(), i("table", gn, [
1419
- o("thead", xn, [
1420
- o("tr", yn, [
1421
- (l(!0), i(A, null, V(r.columns, (b) => (l(), _(q, {
1400
+ o("div", bn, [
1401
+ r.isNoData ? (l(), _(Fe, { key: 1 })) : (l(), i("table", hn, [
1402
+ o("thead", fn, [
1403
+ o("tr", mn, [
1404
+ (l(!0), i($, null, V(r.columns, (b) => (l(), _(q, {
1422
1405
  key: b.name,
1423
1406
  style: B({
1424
1407
  width: r.rowWidth(b == null ? void 0 : b.name),
@@ -1431,19 +1414,19 @@ function Dn(t, e, n, a, s, r) {
1431
1414
  }, null, 8, ["style", "data", "activeColumn", "onChangeActive"]))), 128)),
1432
1415
  (ue = (ce = r.getActions) == null ? void 0 : ce.filter(
1433
1416
  (b) => b !== "add" && b !== "view"
1434
- )) != null && ue.length ? (l(), i("th", _n)) : v("", !0)
1417
+ )) != null && ue.length ? (l(), i("th", gn)) : v("", !0)
1435
1418
  ])
1436
1419
  ]),
1437
- o("tbody", kn, [
1438
- (l(!0), i(A, null, V((de = s.tableData) == null ? void 0 : de.rows, (b, Pe) => {
1420
+ o("tbody", xn, [
1421
+ (l(!0), i($, null, V((de = s.tableData) == null ? void 0 : de.rows, (b, qe) => {
1439
1422
  var ge, xe, ye, _e, ke, ve, we, Ce, $e, Ae;
1440
1423
  return l(), i("tr", {
1441
- key: Pe,
1424
+ key: qe,
1442
1425
  class: D({
1443
1426
  "bg-gray-50": ((xe = (ge = t.$route) == null ? void 0 : ge.query) == null ? void 0 : xe.card) === (b == null ? void 0 : b.id)
1444
1427
  })
1445
1428
  }, [
1446
- o("td", vn, [
1429
+ o("td", yn, [
1447
1430
  o("button", {
1448
1431
  onClick: () => r.pushToCard(b == null ? void 0 : b.id),
1449
1432
  class: D(["text-sm font-medium", [
@@ -1456,10 +1439,10 @@ function Dn(t, e, n, a, s, r) {
1456
1439
  table: n.table,
1457
1440
  onUpdateTable: r.getTableData
1458
1441
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1459
- ], 10, wn)
1442
+ ], 10, _n)
1460
1443
  ]),
1461
- (l(!0), i(A, null, V((_e = r.columns) == null ? void 0 : _e.slice(1), (M) => (l(), i("td", {
1462
- onClick: (Pn) => r.changeActiveCardInfo(b == null ? void 0 : b.id),
1444
+ (l(!0), i($, null, V((_e = r.columns) == null ? void 0 : _e.slice(1), (M) => (l(), i("td", {
1445
+ onClick: (jn) => r.changeActiveCardInfo(b == null ? void 0 : b.id),
1463
1446
  class: D(["px-3 py-3 text-sm text-gray-600 text-start", { "cursor-pointer": s.isVisibleCardInfo }]),
1464
1447
  key: M.name
1465
1448
  }, [
@@ -1469,7 +1452,7 @@ function Dn(t, e, n, a, s, r) {
1469
1452
  table: n.table,
1470
1453
  onUpdateTable: r.getTableData
1471
1454
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1472
- ], 10, Cn))), 128)),
1455
+ ], 10, kn))), 128)),
1473
1456
  (ve = (ke = r.getActions) == null ? void 0 : ke.filter(
1474
1457
  (M) => M !== "add" && M !== "view"
1475
1458
  )) != null && ve.length ? (l(), i("td", {
@@ -1479,7 +1462,7 @@ function Dn(t, e, n, a, s, r) {
1479
1462
  "bg-white": ((Ae = ($e = t.$route) == null ? void 0 : $e.query) == null ? void 0 : Ae.card) !== (b == null ? void 0 : b.id)
1480
1463
  }])
1481
1464
  }, [
1482
- x(De, {
1465
+ x(Ve, {
1483
1466
  actions: r.getActions,
1484
1467
  isForm: r.isForm,
1485
1468
  item: b,
@@ -1490,7 +1473,7 @@ function Dn(t, e, n, a, s, r) {
1490
1473
  ], 2);
1491
1474
  }), 128))
1492
1475
  ]),
1493
- x(Fe, {
1476
+ x(De, {
1494
1477
  columns: r.columns,
1495
1478
  agg: (pe = s.tableData) == null ? void 0 : pe.agg
1496
1479
  }, null, 8, ["columns", "agg"])
@@ -1498,17 +1481,17 @@ function Dn(t, e, n, a, s, r) {
1498
1481
  ])
1499
1482
  ], 4)
1500
1483
  ], 2),
1501
- o("div", $n, [
1502
- o("div", An, [
1503
- o("p", Tn, [
1504
- o("span", In, [
1484
+ o("div", vn, [
1485
+ o("div", wn, [
1486
+ o("p", Cn, [
1487
+ o("span", $n, [
1505
1488
  j(I(s.filters || s.searchValue ? "Знайдено" : "Об'єктів") + " " + I(((be = s.tableData) == null ? void 0 : be.count) || "0 ") + " ", 1),
1506
- s.filters || s.searchValue ? (l(), i("span", Sn, " з")) : v("", !0)
1489
+ s.filters || s.searchValue ? (l(), i("span", An, " з")) : v("", !0)
1507
1490
  ]),
1508
- s.filters || s.searchValue ? (l(), i("span", Vn, I(" " + ((he = s.tableData) == null ? void 0 : he.filtered) || 0), 1)) : v("", !0)
1491
+ s.filters || s.searchValue ? (l(), i("span", Tn, I(" " + ((he = s.tableData) == null ? void 0 : he.filtered) || 0), 1)) : v("", !0)
1509
1492
  ])
1510
1493
  ]),
1511
- Math.ceil(((fe = s.tableData) == null ? void 0 : fe.filtered) / s.limit) > 1 ? (l(), _(Me, {
1494
+ Math.ceil(((fe = s.tableData) == null ? void 0 : fe.filtered) / s.limit) > 1 ? (l(), _(je, {
1512
1495
  key: 0,
1513
1496
  goTo: !1,
1514
1497
  class: "justify-end",
@@ -1523,10 +1506,10 @@ function Dn(t, e, n, a, s, r) {
1523
1506
  ])
1524
1507
  ], 2),
1525
1508
  x(E, { name: "slide-fade" }, {
1526
- default: T(() => {
1509
+ default: A(() => {
1527
1510
  var b;
1528
1511
  return [
1529
- s.isVisibleCardInfo ? (l(), _(qe, {
1512
+ s.isVisibleCardInfo ? (l(), _(Me, {
1530
1513
  key: 0,
1531
1514
  table: n.table,
1532
1515
  columns: (b = s.tableData) == null ? void 0 : b.columns,
@@ -1541,8 +1524,8 @@ function Dn(t, e, n, a, s, r) {
1541
1524
  ])
1542
1525
  ]);
1543
1526
  }
1544
- const Fn = /* @__PURE__ */ $(an, [["render", Dn], ["__scopeId", "data-v-e94dc211"]]), jn = {
1545
- components: { AdminTable: Fn },
1527
+ const Sn = /* @__PURE__ */ T(ln, [["render", In], ["__scopeId", "data-v-e94dc211"]]), Vn = {
1528
+ components: { AdminTable: Sn },
1546
1529
  data() {
1547
1530
  return {
1548
1531
  table: !1,
@@ -1597,8 +1580,8 @@ const Fn = /* @__PURE__ */ $(an, [["render", Dn], ["__scopeId", "data-v-e94dc211
1597
1580
  }
1598
1581
  }
1599
1582
  }
1600
- }, Mn = ["innerHTML"];
1601
- function qn(t, e, n, a, s, r) {
1583
+ }, Dn = ["innerHTML"];
1584
+ function Fn(t, e, n, a, s, r) {
1602
1585
  const u = p("AdminTable");
1603
1586
  return s.table ? (l(), _(u, {
1604
1587
  key: 0,
@@ -1609,9 +1592,9 @@ function qn(t, e, n, a, s, r) {
1609
1592
  class: "w-full bg-gray-50",
1610
1593
  style: { height: "calc(100vh - 120px)" },
1611
1594
  innerHTML: s.interface
1612
- }, null, 8, Mn));
1595
+ }, null, 8, Dn));
1613
1596
  }
1614
- const zn = /* @__PURE__ */ $(jn, [["render", qn]]);
1597
+ const Pn = /* @__PURE__ */ T(Vn, [["render", Fn]]);
1615
1598
  export {
1616
- zn as default
1599
+ Pn as default
1617
1600
  };