@opengis/admin 0.2.114 → 0.2.116

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. package/README.md +97 -97
  2. package/config.js +4 -4
  3. package/dist/{add-page-DBiLRC6C.js → add-page-Cw8du65u.js} +1 -1
  4. package/dist/{admin-interface-X48rcfn-.js → admin-interface-vWqlFsk0.js} +78 -78
  5. package/dist/{admin-view-CHDjJda8.js → admin-view-BBgd4w7j.js} +2 -2
  6. package/dist/admin.js +1 -1
  7. package/dist/admin.umd.cjs +75 -75
  8. package/dist/assets/logo.svg +41 -41
  9. package/dist/{card-view-ComFWFMM.js → card-view-6INGfYSE.js} +1 -1
  10. package/dist/{edit-page-C7lGT-fU.js → edit-page-BNXUpOAj.js} +1 -1
  11. package/dist/{import-file-CpEg7H-h.js → import-file-C9mMGOua.js} +10297 -10286
  12. package/dist/{profile-page-DQSOt1nm.js → profile-page-BJe4fPmp.js} +1 -1
  13. package/dist/style.css +1 -1
  14. package/module/settings/card/admin.accounts.table/index.yml +7 -7
  15. package/module/settings/card/admin.accounts.table/rules.hbs +18 -18
  16. package/module/settings/card/admin.accounts.table/users.hbs +13 -13
  17. package/module/settings/card/admin.routes.table/groups.hbs +11 -11
  18. package/module/settings/card/admin.routes.table/index.yml +11 -11
  19. package/module/settings/card/admin.routes.table/users.hbs +16 -16
  20. package/module/settings/card/admin.users.table/general_info.hbs +1 -1
  21. package/module/settings/cls/core.actions.json +17 -17
  22. package/module/settings/cls/core.scope.json +13 -13
  23. package/module/settings/cls/properties.site_status.json +13 -13
  24. package/module/settings/cls/properties.widget_status.json +13 -13
  25. package/module/settings/cls/users.user_type.json +13 -13
  26. package/module/settings/cls/yes_no.json +11 -11
  27. package/module/settings/form/admin.accounts.form.json +13 -13
  28. package/module/settings/form/admin.properties.form.json +15 -15
  29. package/module/settings/form/admin.roles.form.json +21 -21
  30. package/module/settings/form/admin.user_properties.form.json +15 -15
  31. package/module/settings/form/admin.user_roles_card.form.json +13 -13
  32. package/module/settings/form/admin.users_edit.form.json +145 -0
  33. package/module/settings/interface/admin.properties.json +4 -4
  34. package/module/settings/interface/admin.roles.json +4 -4
  35. package/module/settings/interface/admin.routes.json +4 -4
  36. package/module/settings/interface/admin.users.json +4 -4
  37. package/module/settings/select/core.routes.sql +1 -1
  38. package/module/settings/select/core.user_mentioned.sql +1 -1
  39. package/module/settings/select/core.user_uid.sql +1 -1
  40. package/module/settings/table/admin.properties.table.json +39 -39
  41. package/module/settings/table/admin.user_properties.table.json +34 -34
  42. package/package.json +6 -6
  43. package/plugin.js +29 -29
  44. package/server/helpers/core/badge.js +16 -16
  45. package/server/helpers/core/buttonHelper.js +21 -21
  46. package/server/helpers/core/select.js +48 -48
  47. package/server/helpers/core/token.js +18 -18
  48. package/server/helpers/index.js +31 -31
  49. package/server/helpers/list/buttonHelper.js +21 -21
  50. package/server/helpers/list/utils/button.js +5 -5
  51. package/server/helpers/temp/contentList.js +58 -58
  52. package/server/helpers/temp/ifCond.js +101 -101
  53. package/server/helpers/utils/button.js +5 -5
  54. package/server/plugins/access/index.mjs +6 -6
  55. package/server/plugins/adminHook.js +81 -81
  56. package/server/plugins/cron.js +10 -10
  57. package/server/plugins/docs.js +28 -28
  58. package/server/routes/access/controllers/access.group.js +29 -29
  59. package/server/routes/access/controllers/access.group.post.js +54 -54
  60. package/server/routes/access/index.mjs +11 -11
  61. package/server/routes/access/schema.mjs +67 -67
  62. package/server/routes/calendar/controllers/calendar.data.js +125 -125
  63. package/server/routes/calendar/index.mjs +7 -7
  64. package/server/routes/calendar/schema.js +21 -21
  65. package/server/routes/data/controllers/cardData.js +117 -117
  66. package/server/routes/data/controllers/cardTabData.js +49 -49
  67. package/server/routes/data/controllers/funcs/getFilterSQL/index.js +92 -92
  68. package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +170 -170
  69. package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
  70. package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +64 -64
  71. package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
  72. package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
  73. package/server/routes/data/controllers/tableData.js +31 -31
  74. package/server/routes/data/controllers/tableDataId.js +27 -27
  75. package/server/routes/data/controllers/tableFilter.js +101 -101
  76. package/server/routes/data/controllers/tokenInfo.js +9 -9
  77. package/server/routes/data/controllers/utils/assignTokens.js +30 -30
  78. package/server/routes/data/controllers/utils/conditions.js +20 -20
  79. package/server/routes/data/controllers/utils/getColumns.js +8 -8
  80. package/server/routes/data/index.mjs +20 -20
  81. package/server/routes/data/schema.js +54 -54
  82. package/server/routes/menu/index.mjs +5 -5
  83. package/server/routes/notifications/controllers/readNotifications.js +27 -27
  84. package/server/routes/notifications/controllers/testEmail.js +35 -35
  85. package/server/routes/notifications/controllers/userNotifications.js +53 -53
  86. package/server/routes/notifications/funcs/addNotification.js +21 -21
  87. package/server/routes/notifications/funcs/sendNotification.js +92 -92
  88. package/server/routes/notifications/hook/onWidgetSet.js +56 -56
  89. package/server/routes/notifications/index.mjs +26 -26
  90. package/server/routes/notifications/schema.js +16 -16
  91. package/server/routes/print/controllers/cardPrint.js +134 -134
  92. package/server/routes/properties/funcs/getSettings.js +56 -56
  93. package/server/routes/properties/schema.js +10 -10
  94. package/server/routes/root.mjs +3 -3
  95. package/server/routes/templates/controllers/getTemplate.js +49 -49
  96. package/server/routes/templates/index.mjs +16 -16
  97. package/server/routes/templates/schema.js +8 -8
  98. package/server/routes/user/controllers/user.cls.id.js +14 -14
  99. package/server/routes/user/controllers/user.cls.js +71 -71
  100. package/server/routes/user/controllers/user.info.js +17 -17
  101. package/server/routes/user/schema.js +14 -14
  102. package/server/routes/widget/controllers/widget.del.js +47 -47
  103. package/server/routes/widget/controllers/widget.set.js +84 -84
  104. package/server/routes/widget/hook/onWidgetSet.js +12 -12
  105. package/server/routes/widget/index.mjs +16 -16
  106. package/server/routes/widget/schema.js +12 -12
  107. package/server/templates/cls/itree.recrzone_category.json +73 -73
  108. package/server/templates/cls/test.json +9 -9
  109. package/server/templates/form/admin.user_cls.data.form.json +49 -49
  110. package/server/templates/form/admin.user_group_rel.form.json +21 -21
  111. package/server/templates/form/form-user-pass.json +10 -10
  112. package/server/templates/form/form-user_group.json +39 -39
  113. package/server/templates/form/form-users.json +156 -156
  114. package/server/templates/form/user_group_access.form.json +22 -22
  115. package/server/templates/select/account_id.json +2 -2
  116. package/server/templates/setting/test.json +5 -5
  117. package/server/templates/table/gis.dataset.table.json +43 -43
  118. package/server/templates/table/management.user_group.table.json +112 -112
  119. package/server/templates/table/management.users.table.json +126 -126
  120. package/utils.js +29 -29
@@ -1,5 +1,5 @@
1
- import { _ as T, g as Re, h as Je, i as Ge, e as F, I as Le, j as Me, k as B, A as N, V as Ke, l as Qe, m as Xe, n as Ye, o as Ze, p as et, q as tt, a as st, r as nt, u as je, s as rt } from "./import-file-CpEg7H-h.js";
2
- import { openBlock as o, createElementBlock as i, createTextVNode as P, toDisplayString as $, createElementVNode as r, normalizeClass as S, createCommentVNode as v, resolveComponent as b, Fragment as C, createVNode as g, withCtx as I, createBlock as k, renderList as D, withModifiers as lt, withDirectives as M, vModelRadio as ot, createStaticVNode as at, vModelCheckbox as it, Transition as z, vModelText as dt, renderSlot as ut, vShow as U, Teleport as ct, getCurrentInstance as ze, ref as q, resolveDynamicComponent as O, defineComponent as pt, normalizeStyle as Fe } from "vue";
1
+ import { _ as T, g as Re, h as Je, i as Ge, e as F, I as Le, j as Me, k as B, A as N, V as Ke, l as Qe, m as Xe, n as Ye, o as Ze, p as et, q as tt, a as st, r as nt, u as je, s as rt } from "./import-file-C9mMGOua.js";
2
+ import { openBlock as o, createElementBlock as i, createTextVNode as P, toDisplayString as $, createElementVNode as r, normalizeClass as S, createCommentVNode as v, resolveComponent as b, Fragment as C, createVNode as m, withCtx as I, createBlock as k, renderList as D, withModifiers as lt, withDirectives as M, vModelRadio as ot, createStaticVNode as at, vModelCheckbox as it, Transition as z, vModelText as dt, renderSlot as ut, vShow as U, Teleport as ct, getCurrentInstance as ze, ref as q, resolveDynamicComponent as O, defineComponent as pt, normalizeStyle as Fe } from "vue";
3
3
  const bt = {
4
4
  data() {
5
5
  return {
@@ -61,11 +61,11 @@ const bt = {
61
61
  }, ht = {
62
62
  scope: "col",
63
63
  class: "pe-2 py-1 text-start"
64
- }, ft = { class: "w-[24px]" }, mt = {
64
+ }, ft = { class: "w-[24px]" }, gt = {
65
65
  key: 1,
66
66
  class: "flex items-center px-1 py-3 font-medium text-gray-800 text-start gap-x-1 dark:text-neutral-200"
67
67
  };
68
- function gt(t, e, n, a, s, l) {
68
+ function mt(t, e, n, a, s, l) {
69
69
  return o(), i("th", ht, [
70
70
  l.getVisibleIcon ? (o(), i("button", {
71
71
  key: 0,
@@ -92,10 +92,10 @@ function gt(t, e, n, a, s, l) {
92
92
  r("path", { d: "M12 19V5" }, null, -1)
93
93
  ]), 2)) : v("", !0)
94
94
  ])
95
- ])) : (o(), i("p", mt, $(l.label), 1))
95
+ ])) : (o(), i("p", gt, $(l.label), 1))
96
96
  ]);
97
97
  }
98
- const xt = /* @__PURE__ */ T(bt, [["render", gt]]), yt = {
98
+ const xt = /* @__PURE__ */ T(bt, [["render", mt]]), yt = {
99
99
  components: {
100
100
  IconMore: Re,
101
101
  IconDelete: Je,
@@ -186,29 +186,29 @@ function At(t, e, n, a, s, l) {
186
186
  const c = b("IconMore"), f = b("IconEdit"), d = b("router-link"), h = b("IconDelete"), u = b("VsPopover"), _ = b("VsConfirm");
187
187
  return o(), i(C, null, [
188
188
  r("div", kt, [
189
- g(u, {
189
+ m(u, {
190
190
  trigger: "click",
191
191
  placement: "bottom-left"
192
192
  }, {
193
193
  reference: I(() => [
194
194
  r("button", vt, [
195
- g(c, {
195
+ m(c, {
196
196
  height: "16",
197
197
  width: "16"
198
198
  })
199
199
  ])
200
200
  ]),
201
201
  default: I(() => {
202
- var x, m, w, y, A;
202
+ var x, g, w, y, A;
203
203
  return [
204
204
  r("div", _t, [
205
205
  (x = n.actions) != null && x.includes("edit") && n.isForm ? (o(), k(d, {
206
206
  key: 0,
207
- to: `/edit?table=${(w = (m = t.$route) == null ? void 0 : m.params) == null ? void 0 : w.catchAll}&id=${(y = n.item) == null ? void 0 : y.id}`,
207
+ to: `/edit?table=${(w = (g = t.$route) == null ? void 0 : g.params) == null ? void 0 : w.catchAll}&id=${(y = n.item) == null ? void 0 : y.id}`,
208
208
  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"
209
209
  }, {
210
210
  default: I(() => [
211
- g(f, { color: "#000" }),
211
+ m(f, { color: "#000" }),
212
212
  e[4] || (e[4] = P(" Редагувати "))
213
213
  ]),
214
214
  _: 1
@@ -218,7 +218,7 @@ function At(t, e, n, a, s, l) {
218
218
  onClick: (E) => l.customButtonAction(V),
219
219
  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"
220
220
  }, [
221
- g(h, { class: "opacity-0" }),
221
+ m(h, { class: "opacity-0" }),
222
222
  r("span", Ct, $(V == null ? void 0 : V.label), 1)
223
223
  ], 8, wt))), 128)),
224
224
  n.isForm ? (o(), i("div", $t)) : v("", !0),
@@ -227,7 +227,7 @@ function At(t, e, n, a, s, l) {
227
227
  onClick: e[0] || (e[0] = lt((...V) => l.openConfirm && l.openConfirm(...V), ["stop"])),
228
228
  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"
229
229
  }, [
230
- g(h),
230
+ m(h),
231
231
  e[5] || (e[5] = r("span", { class: "text-gray-800" }, "Видалити", -1))
232
232
  ])) : v("", !0)
233
233
  ])
@@ -236,7 +236,7 @@ function At(t, e, n, a, s, l) {
236
236
  _: 1
237
237
  })
238
238
  ]),
239
- g(_, {
239
+ m(_, {
240
240
  visible: s.isDeleteConfirm,
241
241
  "onUpdate:visible": e[3] || (e[3] = (x) => s.isDeleteConfirm = x),
242
242
  size: "small",
@@ -428,13 +428,13 @@ function Kt(t, e, n, a, s, l) {
428
428
  onClick: e[0] || (e[0] = (u) => s.isOpen = !0),
429
429
  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"
430
430
  }, [
431
- g(c, {
431
+ m(c, {
432
432
  height: "16",
433
433
  width: "16"
434
434
  }),
435
435
  e[7] || (e[7] = P(" Експорт "))
436
436
  ]),
437
- g(h, {
437
+ m(h, {
438
438
  visible: s.isOpen,
439
439
  "onUpdate:visible": e[6] || (e[6] = (u) => s.isOpen = u),
440
440
  title: "Експорт таблиці",
@@ -468,7 +468,7 @@ function Kt(t, e, n, a, s, l) {
468
468
  ]),
469
469
  default: I(() => [
470
470
  s.isSuccessTemplate ? (o(), i("div", Mt, [
471
- g(f, {
471
+ m(f, {
472
472
  height: "100",
473
473
  width: "100",
474
474
  class: "text-green-200 mb-[20px]"
@@ -497,7 +497,7 @@ function Kt(t, e, n, a, s, l) {
497
497
  key: _,
498
498
  style: { width: "calc((100% - 10px) / 2)" }
499
499
  }, [
500
- g(d, {
500
+ m(d, {
501
501
  class: "[&>label]:text-sm [&>label]:text-gray-800 [&>label]:ms-3 !gap-x-[1px] !p-0",
502
502
  modelValue: s.cols,
503
503
  "onUpdate:modelValue": e[1] || (e[1] = (x) => s.cols = x),
@@ -580,13 +580,13 @@ function as(t, e, n, a, s, l) {
580
580
  onClick: e[0] || (e[0] = (d) => s.isOpen = !0),
581
581
  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"
582
582
  }, [
583
- g(c, {
583
+ m(c, {
584
584
  height: "16",
585
585
  width: "16"
586
586
  }),
587
587
  e[9] || (e[9] = P(" Друк "))
588
588
  ]),
589
- g(f, {
589
+ m(f, {
590
590
  visible: s.isOpen,
591
591
  "onUpdate:visible": [
592
592
  e[8] || (e[8] = (d) => s.isOpen = d),
@@ -709,7 +709,7 @@ const ps = /* @__PURE__ */ T(ds, [["render", cs]]), bs = {
709
709
  ((t = this.column) == null ? void 0 : t.hidden) !== !0 && (this.value = !0);
710
710
  }
711
711
  }, hs = { class: "flex justify-between items-center py-1.5 px-3 cursor-pointer rounded-lg hover:bg-gray-100 has-[:disabled]:opacity-50 has-[:disabled]:pointer-events-none dark:hover:bg-neutral-800" }, fs = { class: "flex justify-between flex-1 items-center gap-x-2.5 cursor-pointer text-[13px] text-gray-800 dark:text-neutral-300" };
712
- function ms(t, e, n, a, s, l) {
712
+ function gs(t, e, n, a, s, l) {
713
713
  var f, d;
714
714
  const c = b("IconCheck2");
715
715
  return o(), i("div", hs, [
@@ -725,7 +725,7 @@ function ms(t, e, n, a, s, l) {
725
725
  r("span", {
726
726
  class: S(["flex items-center justify-center text-white border border-gray-300 rounded shrink-0 size-4 focus:ring-blue-500", [s.value ? "bg-blue-600 border-0" : "bg-white"]])
727
727
  }, [
728
- g(c, {
728
+ m(c, {
729
729
  height: "12",
730
730
  width: "12"
731
731
  })
@@ -733,8 +733,8 @@ function ms(t, e, n, a, s, l) {
733
733
  ])
734
734
  ]);
735
735
  }
736
- const gs = /* @__PURE__ */ T(bs, [["render", ms]]), xs = {
737
- components: { IconColumns: ps, AdminTableColumnsHiddenItem: gs },
736
+ const ms = /* @__PURE__ */ T(bs, [["render", gs]]), xs = {
737
+ components: { IconColumns: ps, AdminTableColumnsHiddenItem: ms },
738
738
  emits: ["update-columns"],
739
739
  props: { columns: Array },
740
740
  data() {
@@ -790,12 +790,12 @@ function Ts(t, e, n, a, s, l) {
790
790
  onClick: e[0] || (e[0] = (...d) => l.toggleVisible && l.toggleVisible(...d)),
791
791
  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"
792
792
  }, [
793
- g(c, {
793
+ m(c, {
794
794
  height: "20",
795
795
  width: "16"
796
796
  })
797
797
  ]),
798
- g(z, { name: "fade" }, {
798
+ m(z, { name: "fade" }, {
799
799
  default: I(() => {
800
800
  var d, h;
801
801
  return [
@@ -881,7 +881,7 @@ function zs(t, e, n, a, s, l) {
881
881
  })) : (o(), k(c, { key: 0 }))
882
882
  ])
883
883
  ]),
884
- g(z, { name: "fade" }, {
884
+ m(z, { name: "fade" }, {
885
885
  default: I(() => [
886
886
  M(r("div", Ms, [
887
887
  ut(t.$slots, "default", {}, void 0, !0)
@@ -895,7 +895,7 @@ function zs(t, e, n, a, s, l) {
895
895
  ])
896
896
  ]);
897
897
  }
898
- const qs = /* @__PURE__ */ T(Ps, [["render", zs], ["__scopeId", "data-v-e1f274c9"]]), Os = {
898
+ const qs = /* @__PURE__ */ T(Ps, [["render", zs], ["__scopeId", "data-v-c6318482"]]), Os = {
899
899
  components: {
900
900
  AdminComponentIs: N,
901
901
  AdminTree: qs,
@@ -913,14 +913,14 @@ const qs = /* @__PURE__ */ T(Ps, [["render", zs], ["__scopeId", "data-v-e1f274c9
913
913
  style: { height: "calc(100vh - 360px)" }
914
914
  }, Us = { class: "flow-root mt-[10px]" }, Es = { class: "-my-3 text-sm divide-y divide-gray-100" }, Hs = { class: "flex py-3 sm:grid-cols-3 sm:gap-4" }, Ws = { class: "font-medium text-black w-[50%]" }, Rs = { class: "text-gray-700 sm:col-span-2 w-[50%]" }, Js = { class: "table-info-card" }, Gs = { class: "table-info-card" };
915
915
  function Ks(t, e, n, a, s, l) {
916
- var x, m, w;
916
+ var x, g, w;
917
917
  const c = b("AdminComponentIs"), f = b("AdminTree"), d = b("VsWidgetMap"), h = b("VsNoData"), u = b("VsWidgetComments"), _ = b("VsWidgetFileList");
918
918
  return o(), i("div", Bs, [
919
919
  e[0] || (e[0] = r("div", { class: "p-[10px] pl-[18px] pb-[18px] border-b" }, [
920
920
  r("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
921
921
  ], -1)),
922
922
  r("div", Ns, [
923
- (m = (x = t.$route) == null ? void 0 : x.query) != null && m.card ? (o(), i(C, { key: 0 }, [
923
+ (g = (x = t.$route) == null ? void 0 : x.query) != null && g.card ? (o(), i(C, { key: 0 }, [
924
924
  n.row ? (o(), k(f, {
925
925
  key: 0,
926
926
  defaultValue: !0,
@@ -933,7 +933,7 @@ function Ks(t, e, n, a, s, l) {
933
933
  (o(!0), i(C, null, D(n.columns, (y) => (o(), i("div", Hs, [
934
934
  r("dt", Ws, $((y == null ? void 0 : y.ua) || (y == null ? void 0 : y.title)), 1),
935
935
  r("dd", Rs, [
936
- g(c, {
936
+ m(c, {
937
937
  row: n.row,
938
938
  column: y,
939
939
  table: n.table
@@ -967,7 +967,7 @@ function Ks(t, e, n, a, s, l) {
967
967
  }),
968
968
  _: 1
969
969
  })) : v("", !0),
970
- g(f, {
970
+ m(f, {
971
971
  title: "Коментарі",
972
972
  class: "border-b p-[10px] py-[16px]"
973
973
  }, {
@@ -975,7 +975,7 @@ function Ks(t, e, n, a, s, l) {
975
975
  var y;
976
976
  return [
977
977
  r("div", Js, [
978
- g(u, {
978
+ m(u, {
979
979
  id: (y = n.row) == null ? void 0 : y.id
980
980
  }, null, 8, ["id"])
981
981
  ])
@@ -983,7 +983,7 @@ function Ks(t, e, n, a, s, l) {
983
983
  }),
984
984
  _: 1
985
985
  }),
986
- g(f, {
986
+ m(f, {
987
987
  title: "Файли",
988
988
  class: "border-b p-[10px] py-[16px]"
989
989
  }, {
@@ -1036,14 +1036,14 @@ function en(t, e, n, a, s, l) {
1036
1036
  onClick: e[0] || (e[0] = (d) => s.isFilters = !s.isFilters),
1037
1037
  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"
1038
1038
  }, [
1039
- g(c, {
1039
+ m(c, {
1040
1040
  height: "16",
1041
1041
  width: "16"
1042
1042
  }),
1043
1043
  e[4] || (e[4] = P(" Фільтри ")),
1044
1044
  n.onFilters ? (o(), i("span", Ys, $(n.onFilters), 1)) : v("", !0)
1045
1045
  ]),
1046
- g(z, { name: "fade" }, {
1046
+ m(z, { name: "fade" }, {
1047
1047
  default: I(() => {
1048
1048
  var d;
1049
1049
  return [
@@ -1121,8 +1121,8 @@ function un(t, e, n, a, s, l) {
1121
1121
  const cn = /* @__PURE__ */ T(an, [["render", un]]), pn = {
1122
1122
  components: { IconFilter2: cn, IconCheck2: Me },
1123
1123
  props: { filterCustom: String, customList: Array }
1124
- }, bn = { 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" }, hn = { class: "flex flex-col p-[2px] gap-[2px] w-[170px]" }, fn = ["onClick"], mn = { class: "text-sm text-gray-800" };
1125
- function gn(t, e, n, a, s, l) {
1124
+ }, bn = { 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" }, hn = { class: "flex flex-col p-[2px] gap-[2px] w-[170px]" }, fn = ["onClick"], gn = { class: "text-sm text-gray-800" };
1125
+ function mn(t, e, n, a, s, l) {
1126
1126
  const c = b("IconFilter2"), f = b("IconCheck2"), d = b("VsPopover");
1127
1127
  return o(), k(d, {
1128
1128
  ref: "popover",
@@ -1130,7 +1130,7 @@ function gn(t, e, n, a, s, l) {
1130
1130
  }, {
1131
1131
  reference: I(() => [
1132
1132
  r("button", bn, [
1133
- g(c, {
1133
+ m(c, {
1134
1134
  height: "20",
1135
1135
  width: "20"
1136
1136
  })
@@ -1146,7 +1146,7 @@ function gn(t, e, n, a, s, l) {
1146
1146
  key: u,
1147
1147
  class: S(["flex items-center px-3 py-1 rounded-md cursor-pointer group hover:bg-gray-100", { "bg-gray-100": n.filterCustom === (h == null ? void 0 : h.name) }])
1148
1148
  }, [
1149
- r("span", mn, $(h == null ? void 0 : h.label), 1),
1149
+ r("span", gn, $(h == null ? void 0 : h.label), 1),
1150
1150
  n.filterCustom === (h == null ? void 0 : h.name) ? (o(), k(f, {
1151
1151
  key: 0,
1152
1152
  class: "ml-auto size-3 shrink-0"
@@ -1164,7 +1164,7 @@ function gn(t, e, n, a, s, l) {
1164
1164
  _: 1
1165
1165
  }, 512);
1166
1166
  }
1167
- const xn = /* @__PURE__ */ T(pn, [["render", gn]]), yn = { class: "flex items-center gap-x-2" }, kn = {
1167
+ const xn = /* @__PURE__ */ T(pn, [["render", mn]]), yn = { class: "flex items-center gap-x-2" }, kn = {
1168
1168
  __name: "admin-table-custom-buttons",
1169
1169
  props: {
1170
1170
  slots: Object
@@ -1172,8 +1172,8 @@ const xn = /* @__PURE__ */ T(pn, [["render", gn]]), yn = { class: "flex items-ce
1172
1172
  setup(t) {
1173
1173
  var f, d, h, u, _;
1174
1174
  const { asyncTemplateSlot: e } = (_ = (u = (h = (d = (f = ze()) == null ? void 0 : f.appContext) == null ? void 0 : d.app) == null ? void 0 : h.config) == null ? void 0 : u.globalProperties) == null ? void 0 : _.utils, n = q(""), a = q(""), s = t, l = () => {
1175
- var x, m, w, y, A;
1176
- if ((x = s.slots) != null && x.panelLeft || (a.value = "div"), (w = (m = s.slots) == null ? void 0 : m.panelLeft) != null && w.includes("<")) {
1175
+ var x, g, w, y, A;
1176
+ if ((x = s.slots) != null && x.panelLeft || (a.value = "div"), (w = (g = s.slots) == null ? void 0 : g.panelLeft) != null && w.includes("<")) {
1177
1177
  const V = e("PanelLeft", (y = s.slots) == null ? void 0 : y.panelLeft, [
1178
1178
  "name"
1179
1179
  ]);
@@ -1181,8 +1181,8 @@ const xn = /* @__PURE__ */ T(pn, [["render", gn]]), yn = { class: "flex items-ce
1181
1181
  } else
1182
1182
  a.value = (A = s.slots) == null ? void 0 : A.panelLeft;
1183
1183
  }, c = () => {
1184
- var x, m, w, y, A;
1185
- if ((x = s.slots) != null && x.panelRight || (n.value = "div"), (w = (m = s.slots) == null ? void 0 : m.panelRight) != null && w.includes("<")) {
1184
+ var x, g, w, y, A;
1185
+ if ((x = s.slots) != null && x.panelRight || (n.value = "div"), (w = (g = s.slots) == null ? void 0 : g.panelRight) != null && w.includes("<")) {
1186
1186
  const V = e("PanelRight", (y = s.slots) == null ? void 0 : y.panelRight, [
1187
1187
  "name"
1188
1188
  ]);
@@ -1190,7 +1190,7 @@ const xn = /* @__PURE__ */ T(pn, [["render", gn]]), yn = { class: "flex items-ce
1190
1190
  } else
1191
1191
  n.value = (A = s.slots) == null ? void 0 : A.panelRight;
1192
1192
  };
1193
- return l(), c(), (x, m) => (o(), i("div", yn, [
1193
+ return l(), c(), (x, g) => (o(), i("div", yn, [
1194
1194
  (o(), k(O(a.value))),
1195
1195
  (o(), k(O(n.value)))
1196
1196
  ]));
@@ -1211,9 +1211,9 @@ const xn = /* @__PURE__ */ T(pn, [["render", gn]]), yn = { class: "flex items-ce
1211
1211
  var l, c, f, d, h;
1212
1212
  const { asyncTemplateSlot: e } = (h = (d = (f = (c = (l = ze()) == null ? void 0 : l.appContext) == null ? void 0 : c.app) == null ? void 0 : f.config) == null ? void 0 : d.globalProperties) == null ? void 0 : h.utils, n = q(""), a = t;
1213
1213
  return (() => {
1214
- var u, _, x, m, w;
1214
+ var u, _, x, g, w;
1215
1215
  if ((u = a.slots) != null && u.addButton || (n.value = "div"), (x = (_ = a.slots) == null ? void 0 : _.addButton) != null && x.includes("<")) {
1216
- const y = e("addButton", (m = a.slots) == null ? void 0 : m.addButton, [
1216
+ const y = e("addButton", (g = a.slots) == null ? void 0 : g.addButton, [
1217
1217
  "IconPlus"
1218
1218
  ]);
1219
1219
  n.value = y;
@@ -1245,7 +1245,7 @@ const xn = /* @__PURE__ */ T(pn, [["render", gn]]), yn = { class: "flex items-ce
1245
1245
  key: a == null ? void 0 : a.name
1246
1246
  }, [
1247
1247
  (s = t.agg) != null && s[a == null ? void 0 : a.name] ? (o(), i("td", wn, [
1248
- g(N, {
1248
+ m(N, {
1249
1249
  column: a,
1250
1250
  row: t.agg
1251
1251
  }, null, 8, ["column", "row"])
@@ -1354,7 +1354,7 @@ const In = /* @__PURE__ */ T(Tn, [["render", Sn]]), Vn = pt({
1354
1354
  this.disableNextClick || (this.setCurrentPage(parseInt(this.page) + 1), this.updatePages(this.page), this.$emit("nextClick"));
1355
1355
  },
1356
1356
  setCurrentPage(t) {
1357
- t < 1 || t > this.pagesCount || this.page === t || (this.page = t, this.$emit("pageChange", this.page, this.pageSizeLocal), this.updatePages(t));
1357
+ this.page = t, this.$emit("pageChange", this.page, this.pageSizeLocal), this.updatePages(t);
1358
1358
  }
1359
1359
  }
1360
1360
  }), Dn = { class: "flex items-center w-full" }, Pn = { class: "flex items-center mx-[8px]" }, jn = { class: "min-h-[38px] flex justify-center items-center text-stone-500 py-2 px-1.5 text-sm" }, Fn = {
@@ -1369,7 +1369,7 @@ function qn(t, e, n, a, s, l) {
1369
1369
  onClick: e[0] || (e[0] = (...d) => t.handleClickPrev && t.handleClickPrev(...d)),
1370
1370
  class: S(["min-h-[38px] min-w-[38px] py-2 px-2.5 inline-flex justify-center items-center gap-x-2 text-sm rounded-lg text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100", { "opacity-50 pointer-events-none": t.disablePrevClick }])
1371
1371
  }, [
1372
- g(c, {
1372
+ m(c, {
1373
1373
  height: "16",
1374
1374
  width: "16",
1375
1375
  class: "rotate-90"
@@ -1390,7 +1390,7 @@ function qn(t, e, n, a, s, l) {
1390
1390
  onClick: e[2] || (e[2] = (...d) => t.handleClickNext && t.handleClickNext(...d)),
1391
1391
  class: S([{ "opacity-50 pointer-events-none": t.disableNextClick }, "min-h-[38px] min-w-[38px] py-2 px-2.5 inline-flex justify-center items-center gap-x-2 text-sm rounded-lg text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"])
1392
1392
  }, [
1393
- g(c, {
1393
+ m(c, {
1394
1394
  height: "16",
1395
1395
  width: "16",
1396
1396
  class: "-rotate-90"
@@ -1422,7 +1422,7 @@ function qn(t, e, n, a, s, l) {
1422
1422
  onClick: e[3] || (e[3] = (d) => t.isDropdownOpen = !t.isDropdownOpen)
1423
1423
  }, [
1424
1424
  P($(t.pageSizeLocal) + " ", 1),
1425
- g(c, {
1425
+ m(c, {
1426
1426
  height: "16",
1427
1427
  width: "16"
1428
1428
  })
@@ -1559,8 +1559,8 @@ const On = /* @__PURE__ */ T(Vn, [["render", qn]]), Bn = {
1559
1559
  },
1560
1560
  methods: {
1561
1561
  async checkUrlMounted() {
1562
- var t, e, n, a, s, l, c, f, d, h, u, _, x, m, w, y, A, V, L;
1563
- this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : a.limit) || 20, this.filters = ((c = decodeURI((l = (s = this.$route) == null ? void 0 : s.query) == null ? void 0 : l.filter)) == null ? void 0 : c.replaceAll("+", " ")) || null, this.filters && (this.onFilters = ((d = (f = this.filters) == null ? void 0 : f.split("=")) == null ? void 0 : d.length) - 1), this.filterState = ((u = (h = this.$route) == null ? void 0 : h.query) == null ? void 0 : u.filterState) || null, this.filterCustom = ((x = (_ = this.$route) == null ? void 0 : _.query) == null ? void 0 : x.custom) || null, this.searchValue = ((w = (m = this.$route) == null ? void 0 : m.query) == null ? void 0 : w.search) || "", this.visibleColumns = ((V = (A = (y = this.$route) == null ? void 0 : y.query) == null ? void 0 : A.columns) == null ? void 0 : V.split(",")) || [], (L = this.$route) != null && L.query.card && (this.isVisibleCardInfo = !0);
1562
+ var t, e, n, a, s, l, c, f, d, h, u, _, x, g, w, y, A, V, L;
1563
+ this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : a.limit) || 20, this.filters = ((c = decodeURI((l = (s = this.$route) == null ? void 0 : s.query) == null ? void 0 : l.filter)) == null ? void 0 : c.replaceAll("+", " ")) || null, this.filters && (this.onFilters = ((d = (f = this.filters) == null ? void 0 : f.split("=")) == null ? void 0 : d.length) - 1), this.filterState = ((u = (h = this.$route) == null ? void 0 : h.query) == null ? void 0 : u.filterState) || null, this.filterCustom = ((x = (_ = this.$route) == null ? void 0 : _.query) == null ? void 0 : x.custom) || null, this.searchValue = ((w = (g = this.$route) == null ? void 0 : g.query) == null ? void 0 : w.search) || "", this.visibleColumns = ((V = (A = (y = this.$route) == null ? void 0 : y.query) == null ? void 0 : A.columns) == null ? void 0 : V.split(",")) || [], (L = this.$route) != null && L.query.card && (this.isVisibleCardInfo = !0);
1564
1564
  },
1565
1565
  rowWidth(t) {
1566
1566
  var n, a;
@@ -1590,10 +1590,10 @@ const On = /* @__PURE__ */ T(Vn, [["render", qn]]), Bn = {
1590
1590
  this.tableData = {
1591
1591
  ..._,
1592
1592
  ...(x == null ? void 0 : x.data) || {}
1593
- }, this.initialHiddenColumns = (l = (s = (a = (n = this.tableData) == null ? void 0 : n.columns) == null ? void 0 : a.filter((m) => (m == null ? void 0 : m.hidden) !== !0)) == null ? void 0 : s.map((m) => m == null ? void 0 : m.name)) == null ? void 0 : l.join(","), (c = this.visibleColumns) != null && c.length ? (f = this.tableData) == null || f.columns.forEach((m) => {
1593
+ }, this.initialHiddenColumns = (l = (s = (a = (n = this.tableData) == null ? void 0 : n.columns) == null ? void 0 : a.filter((g) => (g == null ? void 0 : g.hidden) !== !0)) == null ? void 0 : s.map((g) => g == null ? void 0 : g.name)) == null ? void 0 : l.join(","), (c = this.visibleColumns) != null && c.length ? (f = this.tableData) == null || f.columns.forEach((g) => {
1594
1594
  var w;
1595
- (w = this.visibleColumns) != null && w.includes(m == null ? void 0 : m.name) ? m.hidden = !1 : m.hidden = !0;
1596
- }) : this.visibleColumns = (u = (h = (d = this.tableData) == null ? void 0 : d.columns) == null ? void 0 : h.filter((m) => (m == null ? void 0 : m.hidden) !== !0)) == null ? void 0 : u.map((m) => m == null ? void 0 : m.name);
1595
+ (w = this.visibleColumns) != null && w.includes(g == null ? void 0 : g.name) ? g.hidden = !1 : g.hidden = !0;
1596
+ }) : this.visibleColumns = (u = (h = (d = this.tableData) == null ? void 0 : d.columns) == null ? void 0 : h.filter((g) => (g == null ? void 0 : g.hidden) !== !0)) == null ? void 0 : u.map((g) => g == null ? void 0 : g.name);
1597
1597
  } catch {
1598
1598
  }
1599
1599
  },
@@ -1662,8 +1662,8 @@ const On = /* @__PURE__ */ T(Vn, [["render", qn]]), Bn = {
1662
1662
  class: "font-semibold text-gray-800 dark:text-neutral-200"
1663
1663
  };
1664
1664
  function ir(t, e, n, a, s, l) {
1665
- var W, R, J, G, K, Q, X, Y, Z, ee, te, se, ne, re, le, oe, ae, ie, de, ue, ce, pe, be, he, fe, me, ge, xe, ye, ke;
1666
- const c = b("AdminCustomButtonAdd"), f = b("IconPlus"), d = b("router-link"), h = b("AdminTableTabs"), u = b("IconSearch"), _ = b("VsText"), x = b("AdminTableCustomButtons"), m = b("AdminTableCustomFilters"), w = b("AdminTableColumnsHidden"), y = b("AdminTablePrint"), A = b("AdminTableExport"), V = b("AdminTableFilters"), L = b("IconOpenCard"), E = b("AdminTableColumn"), H = b("AdminComponentIs"), Be = b("AdminTableControl"), Ne = b("AdminTableTotalsList"), Ue = b("AdminNodata"), Ee = b("AdminTablePagination"), He = b("AdminTableCardInfo");
1665
+ var W, R, J, G, K, Q, X, Y, Z, ee, te, se, ne, re, le, oe, ae, ie, de, ue, ce, pe, be, he, fe, ge, me, xe, ye, ke;
1666
+ const c = b("AdminCustomButtonAdd"), f = b("IconPlus"), d = b("router-link"), h = b("AdminTableTabs"), u = b("IconSearch"), _ = b("VsText"), x = b("AdminTableCustomButtons"), g = b("AdminTableCustomFilters"), w = b("AdminTableColumnsHidden"), y = b("AdminTablePrint"), A = b("AdminTableExport"), V = b("AdminTableFilters"), L = b("IconOpenCard"), E = b("AdminTableColumn"), H = b("AdminComponentIs"), Be = b("AdminTableControl"), Ne = b("AdminTableTotalsList"), Ue = b("AdminNodata"), Ee = b("AdminTablePagination"), He = b("AdminTableCardInfo");
1667
1667
  return o(), i("div", Nn, [
1668
1668
  r("div", Un, [
1669
1669
  r("h2", En, $(n.title), 1),
@@ -1677,7 +1677,7 @@ function ir(t, e, n, a, s, l) {
1677
1677
  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"
1678
1678
  }, {
1679
1679
  default: I(() => [
1680
- g(f, {
1680
+ m(f, {
1681
1681
  height: "16",
1682
1682
  width: "16"
1683
1683
  }),
@@ -1702,12 +1702,12 @@ function ir(t, e, n, a, s, l) {
1702
1702
  r("div", {
1703
1703
  class: S(["flex sm:grid sm:grid-cols-2 gap-x-2 sm:gap-x-5 mb-[10px] relative", { "pr-[20px]": !s.isVisibleCardInfo }])
1704
1704
  }, [
1705
- g(u, {
1705
+ m(u, {
1706
1706
  height: "14",
1707
1707
  width: "14",
1708
1708
  class: "absolute top-[10px] left-[14px] text-gray-500 z-[1]"
1709
1709
  }),
1710
- g(_, {
1710
+ m(_, {
1711
1711
  modelValue: s.searchValue,
1712
1712
  "onUpdate:modelValue": e[1] || (e[1] = (p) => s.searchValue = p),
1713
1713
  placeholder: n.search || "Пошук...",
@@ -1719,17 +1719,17 @@ function ir(t, e, n, a, s, l) {
1719
1719
  key: 0,
1720
1720
  slots: (ee = s.tableData) == null ? void 0 : ee.slots
1721
1721
  }, null, 8, ["slots"])) : v("", !0),
1722
- (se = (te = s.tableData) == null ? void 0 : te.filterCustom) != null && se.length ? (o(), k(m, {
1722
+ (se = (te = s.tableData) == null ? void 0 : te.filterCustom) != null && se.length ? (o(), k(g, {
1723
1723
  key: 1,
1724
1724
  customList: (ne = s.tableData) == null ? void 0 : ne.filterCustom,
1725
1725
  filterCustom: s.filterCustom,
1726
1726
  "onUpdate:filterCustom": e[2] || (e[2] = (p) => s.filterCustom = p)
1727
1727
  }, null, 8, ["customList", "filterCustom"])) : v("", !0),
1728
- g(w, {
1728
+ m(w, {
1729
1729
  columns: (re = s.tableData) == null ? void 0 : re.columns,
1730
1730
  onUpdateColumns: e[3] || (e[3] = (p) => s.tableData.columns = p)
1731
1731
  }, null, 8, ["columns"]),
1732
- g(y, {
1732
+ m(y, {
1733
1733
  rows: (le = s.tableData) == null ? void 0 : le.rows,
1734
1734
  titleCol: (ae = (oe = l.columns) == null ? void 0 : oe[0]) == null ? void 0 : ae.name
1735
1735
  }, null, 8, ["rows", "titleCol"]),
@@ -1753,7 +1753,7 @@ function ir(t, e, n, a, s, l) {
1753
1753
  onClick: e[4] || (e[4] = (...p) => l.toggleCardInfo && l.toggleCardInfo(...p)),
1754
1754
  class: "py-2 px-2.5 max-h-[34px] 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"
1755
1755
  }, [
1756
- g(L, {
1756
+ m(L, {
1757
1757
  class: S({ "rotate-180 duration-300": !s.isVisibleCardInfo })
1758
1758
  }, null, 8, ["class"])
1759
1759
  ])
@@ -1764,7 +1764,7 @@ function ir(t, e, n, a, s, l) {
1764
1764
  }, [
1765
1765
  r("div", {
1766
1766
  style: Fe({
1767
- height: (pe = (ce = s.tableData) == null ? void 0 : ce.filterState) != null && pe.length ? "calc(100vh - 370px)" : "calc(100vh - 330px)"
1767
+ height: (pe = (ce = s.tableData) == null ? void 0 : ce.filterState) != null && pe.length ? "calc(100vh - 370px)" : "calc(100vh - 310px)"
1768
1768
  }),
1769
1769
  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"
1770
1770
  }, [
@@ -1811,7 +1811,7 @@ function ir(t, e, n, a, s, l) {
1811
1811
  (($e = this.tableData) == null ? void 0 : $e.card) === !1 ? "" : " text-blue-600 decoration-2 focus:outline-none focus:underline hover:text-blue-600 hover:underline"
1812
1812
  ]])
1813
1813
  }, [
1814
- g(H, {
1814
+ m(H, {
1815
1815
  row: p,
1816
1816
  column: l.columns[0],
1817
1817
  table: n.table,
@@ -1826,7 +1826,7 @@ function ir(t, e, n, a, s, l) {
1826
1826
  class: S(["px-1 py-3 text-gray-600 pe-3", l.getCustomStyles(j)]),
1827
1827
  key: j.name
1828
1828
  }, [
1829
- g(H, {
1829
+ m(H, {
1830
1830
  row: p,
1831
1831
  column: j,
1832
1832
  table: n.table,
@@ -1842,7 +1842,7 @@ function ir(t, e, n, a, s, l) {
1842
1842
  "bg-white": ((Pe = (De = t.$route) == null ? void 0 : De.query) == null ? void 0 : Pe.card) !== (p == null ? void 0 : p.id)
1843
1843
  }])
1844
1844
  }, [
1845
- g(Be, {
1845
+ m(Be, {
1846
1846
  actions: l.getActions,
1847
1847
  isForm: l.isForm,
1848
1848
  item: p,
@@ -1853,9 +1853,9 @@ function ir(t, e, n, a, s, l) {
1853
1853
  ], 2);
1854
1854
  }), 128))
1855
1855
  ]),
1856
- g(Ne, {
1856
+ m(Ne, {
1857
1857
  columns: l.columns,
1858
- agg: (me = s.tableData) == null ? void 0 : me.agg
1858
+ agg: (ge = s.tableData) == null ? void 0 : ge.agg
1859
1859
  }, null, 8, ["columns", "agg"])
1860
1860
  ]))
1861
1861
  ])
@@ -1865,7 +1865,7 @@ function ir(t, e, n, a, s, l) {
1865
1865
  r("div", nr, [
1866
1866
  r("p", rr, [
1867
1867
  r("span", lr, [
1868
- P($(s.filters || s.searchValue ? "Відображено" : "Об'єктів") + " " + $(((ge = s.tableData) == null ? void 0 : ge.count) || "0 ") + " ", 1),
1868
+ P($(s.filters || s.searchValue ? "Відображено" : "Об'єктів") + " " + $(((me = s.tableData) == null ? void 0 : me.count) || "0 ") + " ", 1),
1869
1869
  s.filters || s.searchValue ? (o(), i("span", or, " з")) : v("", !0)
1870
1870
  ]),
1871
1871
  s.filters || s.searchValue ? (o(), i("span", ar, $(" " + ((xe = s.tableData) == null ? void 0 : xe.filtered) || 0), 1)) : v("", !0)
@@ -1882,7 +1882,7 @@ function ir(t, e, n, a, s, l) {
1882
1882
  }, null, 8, ["default-page", "total", "onPageChange", "pageSize"])) : v("", !0)
1883
1883
  ])
1884
1884
  ], 2),
1885
- g(z, { name: "slide-fade" }, {
1885
+ m(z, { name: "slide-fade" }, {
1886
1886
  default: I(() => {
1887
1887
  var p;
1888
1888
  return [
@@ -1901,7 +1901,7 @@ function ir(t, e, n, a, s, l) {
1901
1901
  ])
1902
1902
  ]);
1903
1903
  }
1904
- const dr = /* @__PURE__ */ T(Bn, [["render", ir], ["__scopeId", "data-v-4cadd511"]]), ur = {
1904
+ const dr = /* @__PURE__ */ T(Bn, [["render", ir], ["__scopeId", "data-v-bd4be173"]]), ur = {
1905
1905
  components: { AdminTable: dr },
1906
1906
  data() {
1907
1907
  return {
@@ -1972,7 +1972,7 @@ function pr(t, e, n, a, s, l) {
1972
1972
  innerHTML: s.interface
1973
1973
  }, null, 8, cr));
1974
1974
  }
1975
- const mr = /* @__PURE__ */ T(ur, [["render", pr]]);
1975
+ const gr = /* @__PURE__ */ T(ur, [["render", pr]]);
1976
1976
  export {
1977
- mr as default
1977
+ gr as default
1978
1978
  };
@@ -1,4 +1,4 @@
1
- import { _ as C, I as J, s as v, a as K, u as A, b as W, c as X, d as Y, e as T, f as ee } from "./import-file-CpEg7H-h.js";
1
+ import { _ as C, I as J, s as v, a as K, u as A, b as W, c as X, d as Y, e as T, f as ee } from "./import-file-C9mMGOua.js";
2
2
  import { openBlock as s, createElementBlock as a, createElementVNode as o, createStaticVNode as P, resolveComponent as g, normalizeClass as p, createTextVNode as L, toDisplayString as V, createCommentVNode as _, createVNode as d, Transition as te, withCtx as k, withDirectives as re, Fragment as Z, renderList as F, vShow as le, createBlock as U, resolveDynamicComponent as S, withModifiers as oe } from "vue";
3
3
  import { u as ne } from "./user-B_2kh6ic.js";
4
4
  const se = {}, ae = {
@@ -712,7 +712,7 @@ function b1(e, t, l, u, n, r) {
712
712
  ])
713
713
  ]);
714
714
  }
715
- const v1 = /* @__PURE__ */ C(g1, [["render", b1], ["__scopeId", "data-v-79c10cab"]]);
715
+ const v1 = /* @__PURE__ */ C(g1, [["render", b1], ["__scopeId", "data-v-34da2042"]]);
716
716
  export {
717
717
  v1 as default
718
718
  };
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./import-file-CpEg7H-h.js";
1
+ import { t as e } from "./import-file-C9mMGOua.js";
2
2
  export {
3
3
  e as default
4
4
  };