@opengis/admin 0.2.35 → 0.2.37

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.
Files changed (164) hide show
  1. package/README.md +97 -97
  2. package/config.js +4 -4
  3. package/dist/{add-page-CDRfGrCm.js → add-page-RShqVZ6U.js} +1 -1
  4. package/dist/{admin-interface-feOzAhmJ.js → admin-interface-CdZNYZko.js} +87 -83
  5. package/dist/{admin-view-CZpiylUZ.js → admin-view-B4RkRWfj.js} +2 -2
  6. package/dist/admin.js +1 -1
  7. package/dist/admin.umd.cjs +49 -49
  8. package/dist/assets/logo.svg +41 -41
  9. package/dist/{card-view-B8ElAPj_.js → card-view-wiQEWExD.js} +1 -1
  10. package/dist/{edit-page-97V1yQGY.js → edit-page-DZ3bue02.js} +1 -1
  11. package/dist/{import-file-CznvbugR.js → import-file-CspxNIvZ.js} +6688 -6735
  12. package/dist/style.css +1 -1
  13. package/module/settings/card/admin.accounts.table/index.yml +7 -7
  14. package/module/settings/card/admin.accounts.table/rules.hbs +18 -18
  15. package/module/settings/card/admin.accounts.table/users.hbs +13 -13
  16. package/module/settings/card/admin.roles.table/access.hbs +3 -3
  17. package/module/settings/card/admin.roles.table/general_info.hbs +1 -1
  18. package/module/settings/card/admin.roles.table/index.yml +21 -21
  19. package/module/settings/card/admin.roles.table/users.hbs +6 -6
  20. package/module/settings/card/admin.routes.table/general_info.hbs +13 -13
  21. package/module/settings/card/admin.routes.table/groups.hbs +11 -11
  22. package/module/settings/card/admin.routes.table/index.yml +11 -11
  23. package/module/settings/card/admin.routes.table/users.hbs +16 -16
  24. package/module/settings/card/admin.users.table/context.hbs +14 -14
  25. package/module/settings/card/admin.users.table/general_info.hbs +12 -12
  26. package/module/settings/card/admin.users.table/index.yml +22 -22
  27. package/module/settings/card/admin.users.table/last_login.hbs +9 -9
  28. package/module/settings/card/admin.users.table/logs.hbs +10 -10
  29. package/module/settings/card/admin.users.table/routes.hbs +7 -7
  30. package/module/settings/card/admin.users.table/user_roles.hbs +12 -12
  31. package/module/settings/cls/core.actions.json +17 -17
  32. package/module/settings/cls/core.scope.json +13 -13
  33. package/module/settings/cls/properties.site_status.json +13 -13
  34. package/module/settings/cls/properties.widget_status.json +13 -13
  35. package/module/settings/cls/users.user_type.json +13 -13
  36. package/module/settings/cls/yes_no.json +11 -11
  37. package/module/settings/form/admin.accounts.form.json +13 -13
  38. package/module/settings/form/admin.custom_column.form.json +71 -71
  39. package/module/settings/form/admin.properties.form.json +15 -15
  40. package/module/settings/form/admin.roles.form.json +21 -21
  41. package/module/settings/form/admin.routes.form.json +25 -25
  42. package/module/settings/form/admin.rules.form.json +30 -30
  43. package/module/settings/form/admin.user_properties.form.json +15 -15
  44. package/module/settings/form/admin.user_roles.form.json +13 -13
  45. package/module/settings/form/admin.user_roles_card.form.json +13 -13
  46. package/module/settings/form/admin.users.form.json +153 -153
  47. package/module/settings/form/context.account_grants.form.json +23 -23
  48. package/module/settings/form/context.account_users.form.json +12 -12
  49. package/module/settings/form/user.user_roles.form.json +13 -13
  50. package/module/settings/interface/admin.properties.json +4 -4
  51. package/module/settings/interface/admin.roles.json +4 -4
  52. package/module/settings/interface/admin.routes.json +4 -4
  53. package/module/settings/interface/admin.users.json +4 -4
  54. package/module/settings/menu.json +84 -84
  55. package/module/settings/select/core.routes.sql +1 -1
  56. package/module/settings/select/core.user_mentioned.sql +1 -1
  57. package/module/settings/select/core.user_uid.sql +1 -1
  58. package/module/settings/table/admin.accounts.table.json +42 -42
  59. package/module/settings/table/admin.custom_column.table.json +99 -99
  60. package/module/settings/table/admin.properties.table.json +39 -39
  61. package/module/settings/table/admin.roles.table.json +64 -64
  62. package/module/settings/table/admin.routes.table.json +73 -73
  63. package/module/settings/table/admin.rules.table.json +76 -76
  64. package/module/settings/table/admin.user_properties.table.json +34 -34
  65. package/module/settings/table/admin.user_roles.table.json +72 -72
  66. package/module/settings/table/admin.users.table.json +132 -132
  67. package/module/settings/table/context.account_grants.table.json +67 -67
  68. package/module/settings/table/context.account_users.table.json +37 -37
  69. package/package.json +91 -91
  70. package/plugin.js +29 -29
  71. package/server/helpers/core/badge.js +16 -16
  72. package/server/helpers/core/buttonHelper.js +21 -21
  73. package/server/helpers/core/select.js +48 -48
  74. package/server/helpers/core/token.js +18 -18
  75. package/server/helpers/index.js +29 -29
  76. package/server/helpers/list/buttonHelper.js +21 -21
  77. package/server/helpers/list/descriptionList.js +43 -43
  78. package/server/helpers/list/tableList.js +81 -81
  79. package/server/helpers/list/utils/button.js +5 -5
  80. package/server/helpers/temp/contentList.js +58 -58
  81. package/server/helpers/temp/ifCond.js +101 -101
  82. package/server/helpers/utils/button.js +5 -5
  83. package/server/helpers/utils/buttonAdd.js +5 -5
  84. package/server/helpers/utils/buttonDel.js +5 -5
  85. package/server/helpers/utils/buttonEdit.js +5 -5
  86. package/server/plugins/access/funcs/getAdminAccess.js +12 -12
  87. package/server/plugins/access/index.mjs +6 -6
  88. package/server/plugins/adminHook.js +81 -81
  89. package/server/plugins/cron.js +10 -10
  90. package/server/plugins/docs.js +28 -28
  91. package/server/plugins/hook.js +236 -236
  92. package/server/plugins/vite.js +71 -71
  93. package/server/routes/access/controllers/access.group.js +29 -29
  94. package/server/routes/access/controllers/access.group.post.js +49 -49
  95. package/server/routes/access/index.mjs +8 -8
  96. package/server/routes/access/schema.mjs +57 -57
  97. package/server/routes/calendar/controllers/calendar.data.js +87 -87
  98. package/server/routes/calendar/index.mjs +7 -7
  99. package/server/routes/calendar/schema.js +21 -21
  100. package/server/routes/data/controllers/cardData.js +106 -106
  101. package/server/routes/data/controllers/cardTabData.js +49 -49
  102. package/server/routes/data/controllers/funcs/getFilterSQL/index.js +92 -92
  103. package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +170 -170
  104. package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
  105. package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +64 -64
  106. package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
  107. package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
  108. package/server/routes/data/controllers/tableData.js +29 -29
  109. package/server/routes/data/controllers/tableDataId.js +27 -27
  110. package/server/routes/data/controllers/tableFilter.js +68 -68
  111. package/server/routes/data/controllers/tokenInfo.js +9 -9
  112. package/server/routes/data/controllers/utils/assignTokens.js +30 -30
  113. package/server/routes/data/controllers/utils/conditions.js +20 -20
  114. package/server/routes/data/controllers/utils/getColumns.js +8 -8
  115. package/server/routes/data/index.mjs +17 -17
  116. package/server/routes/data/schema.js +54 -54
  117. package/server/routes/menu/controllers/getMenu.js +58 -58
  118. package/server/routes/menu/index.mjs +5 -5
  119. package/server/routes/notifications/controllers/readNotifications.js +27 -27
  120. package/server/routes/notifications/controllers/testEmail.js +35 -35
  121. package/server/routes/notifications/controllers/userNotifications.js +53 -53
  122. package/server/routes/notifications/funcs/addNotification.js +21 -21
  123. package/server/routes/notifications/funcs/sendNotification.js +92 -92
  124. package/server/routes/notifications/hook/onWidgetSet.js +57 -57
  125. package/server/routes/notifications/index.mjs +27 -27
  126. package/server/routes/notifications/schema.js +16 -16
  127. package/server/routes/properties/controllers/admin.properties.get.js +29 -29
  128. package/server/routes/properties/controllers/user.properties.get.js +30 -30
  129. package/server/routes/properties/controllers/user.properties.post.js +30 -30
  130. package/server/routes/properties/funcs/getSettings.js +56 -56
  131. package/server/routes/properties/funcs/setSettings.js +44 -44
  132. package/server/routes/properties/funcs/utils/dataInsert.js +26 -26
  133. package/server/routes/properties/index.mjs +14 -14
  134. package/server/routes/properties/schema.js +10 -10
  135. package/server/routes/root.mjs +3 -3
  136. package/server/routes/templates/controllers/getTemplate.js +49 -49
  137. package/server/routes/templates/index.mjs +16 -16
  138. package/server/routes/templates/schema.js +8 -8
  139. package/server/routes/user/controllers/user.cls.id.js +14 -14
  140. package/server/routes/user/controllers/user.cls.js +71 -71
  141. package/server/routes/user/controllers/user.cls.post.js +52 -52
  142. package/server/routes/user/controllers/user.info.js +17 -17
  143. package/server/routes/user/schema.js +14 -14
  144. package/server/routes/widget/controllers/utils/historyFormat.js +75 -75
  145. package/server/routes/widget/controllers/utils/obj2db.js +13 -13
  146. package/server/routes/widget/controllers/widget.del.js +41 -41
  147. package/server/routes/widget/controllers/widget.get.js +96 -96
  148. package/server/routes/widget/controllers/widget.set.js +76 -76
  149. package/server/routes/widget/index.mjs +11 -11
  150. package/server/routes/widget/schema.js +12 -12
  151. package/server/templates/cls/itree.recrzone_category.json +73 -73
  152. package/server/templates/cls/test.json +9 -9
  153. package/server/templates/form/admin.user_cls.data.form.json +49 -49
  154. package/server/templates/form/admin.user_group_rel.form.json +21 -21
  155. package/server/templates/form/cp_building.form.json +32 -32
  156. package/server/templates/form/form-user-pass.json +10 -10
  157. package/server/templates/form/form-user_group.json +39 -39
  158. package/server/templates/form/form-users.json +156 -156
  159. package/server/templates/form/user_group_access.form.json +22 -22
  160. package/server/templates/select/account_id.json +2 -2
  161. package/server/templates/table/gis.dataset.table.json +43 -43
  162. package/server/templates/table/management.user_group.table.json +112 -112
  163. package/server/templates/table/management.users.table.json +126 -126
  164. package/utils.js +29 -29
@@ -1,6 +1,6 @@
1
- import { _ as C, e as qe, f as Pe, g as Be, d as F, I as Le, V as ze, h as Ue, i as Oe, j as Ne, A as Ee, a as He, u as Ce, s as Re } from "./import-file-CznvbugR.js";
2
- import { openBlock as o, createElementBlock as c, createTextVNode as j, toDisplayString as T, createCommentVNode as w, resolveComponent as p, Fragment as I, createElementVNode as l, createVNode as y, withCtx as $, createBlock as _, renderList as D, withModifiers as We, normalizeClass as V, createStaticVNode as Ae, withDirectives as z, vModelCheckbox as Ze, resolveDynamicComponent as q, Transition as U, renderSlot as Ge, vShow as Ie, getCurrentInstance as Te, ref as L, normalizeStyle as $e } from "vue";
3
- const Je = {
1
+ import { _ as C, e as qe, f as Pe, g as Be, d as F, I as Le, V as ze, h as Oe, i as Ue, j as Ne, A as Ee, a as He, u as Ce, s as Re } from "./import-file-CspxNIvZ.js";
2
+ import { openBlock as o, createElementBlock as c, createTextVNode as j, toDisplayString as I, createCommentVNode as w, resolveComponent as p, Fragment as T, createElementVNode as l, createVNode as y, withCtx as $, createBlock as _, renderList as D, withModifiers as We, normalizeClass as V, createStaticVNode as Ae, withDirectives as z, vModelCheckbox as Je, resolveDynamicComponent as q, Transition as O, renderSlot as Ze, vShow as Te, getCurrentInstance as Ie, ref as L, normalizeStyle as $e } from "vue";
3
+ const Ge = {
4
4
  data() {
5
5
  return {
6
6
  currentSort: ""
@@ -90,15 +90,15 @@ function tt(t, e, s, a, n, r) {
90
90
  class: "text-sm text-stone-500 px-[4px] py-2.5 text-start font-normal flex items-center gap-[6px]",
91
91
  onClick: e[0] || (e[0] = (u) => r.handleClickSortBtn(n.currentSort))
92
92
  }, [
93
- j(T(r.label) + " ", 1),
93
+ j(I(r.label) + " ", 1),
94
94
  (o(), c("svg", Qe, [
95
95
  n.currentSort === "asc" || n.currentSort === "" ? (o(), c("path", Xe)) : w("", !0),
96
96
  n.currentSort === "desc" || n.currentSort === "" ? (o(), c("path", Ye)) : w("", !0)
97
97
  ]))
98
- ])) : (o(), c("p", et, T(r.label), 1))
98
+ ])) : (o(), c("p", et, I(r.label), 1))
99
99
  ]);
100
100
  }
101
- const nt = /* @__PURE__ */ C(Je, [["render", tt]]), st = {
101
+ const nt = /* @__PURE__ */ C(Ge, [["render", tt]]), st = {
102
102
  components: {
103
103
  IconMore: qe,
104
104
  IconDelete: Pe,
@@ -187,7 +187,7 @@ const nt = /* @__PURE__ */ C(Je, [["render", tt]]), st = {
187
187
  }, ut = { class: "p-4" }, dt = { class: "flex justify-end mt-4 gap-x-3" };
188
188
  function bt(t, e, s, a, n, r) {
189
189
  const u = p("IconMore"), f = p("IconEdit"), h = p("router-link"), m = p("IconDelete"), v = p("VsPopover"), i = p("VsDialog");
190
- return o(), c(I, null, [
190
+ return o(), c(T, null, [
191
191
  l("div", lt, [
192
192
  y(v, {
193
193
  trigger: "click",
@@ -216,13 +216,13 @@ function bt(t, e, s, a, n, r) {
216
216
  ]),
217
217
  _: 1
218
218
  }, 8, ["to"])) : w("", !0),
219
- (o(!0), c(I, null, D(r.getCustomActions, (S, P) => (o(), c("button", {
219
+ (o(!0), c(T, null, D(r.getCustomActions, (S, P) => (o(), c("button", {
220
220
  key: P,
221
221
  onClick: (B) => 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
  y(m, { class: "opacity-0" }),
225
- l("span", it, T(S == null ? void 0 : S.label), 1)
225
+ l("span", it, I(S == null ? void 0 : S.label), 1)
226
226
  ], 8, at))), 128)),
227
227
  s.isForm ? (o(), c("div", ct)) : w("", !0),
228
228
  (A = s.actions) != null && A.includes("del") ? (o(), c("button", {
@@ -372,19 +372,23 @@ const vt = /* @__PURE__ */ C(xt, [["render", _t]]), kt = {
372
372
  custom: this.filterCustom || null
373
373
  },
374
374
  responseType: "blob"
375
- }), s = new Blob([e.data], {
375
+ }), s = await e.data.text(), a = s != null && s.includes(";") ? null : JSON == null ? void 0 : JSON.parse(s), n = new Blob([e.data], {
376
376
  type: "application/octet-stream"
377
- }), a = window.URL.createObjectURL(s), n = document.createElement("a");
378
- n.href = a, n.setAttribute(
377
+ }), r = window.URL.createObjectURL(n), u = document.createElement("a");
378
+ if (u.href = r, u.setAttribute(
379
379
  "download",
380
380
  `${this.table.split(".")[0]}.${this.format}`
381
- ), document.body.appendChild(n), n.click(), document.body.removeChild(n), window.URL.revokeObjectURL(a), this.$notify({
381
+ ), document.body.appendChild(u), typeof a == "string") {
382
+ this.exportTable();
383
+ return;
384
+ }
385
+ u.click(), document.body.removeChild(u), window.URL.revokeObjectURL(r), this.$notify({
382
386
  type: "success",
383
387
  title: "Експорт",
384
388
  message: "Файл успішно експортовано!"
385
389
  }), this.isSuccessTemplate = !0;
386
390
  } catch (e) {
387
- console.error("Ошибка при экспорте файла:", e), this.$notify({
391
+ console.log(e), this.$notify({
388
392
  type: "error",
389
393
  title: "Помилка",
390
394
  message: "Не вдалося експортувати файл."
@@ -412,7 +416,7 @@ const vt = /* @__PURE__ */ C(xt, [["render", _t]]), kt = {
412
416
  }, Ct = {
413
417
  key: 1,
414
418
  class: "p-4"
415
- }, $t = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, At = { class: "flex items-center" }, It = { class: "flex items-center gap-[10px] ml-auto" }, Tt = ["onClick"], St = {
419
+ }, $t = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, At = { class: "flex items-center" }, Tt = { class: "flex items-center gap-[10px] ml-auto" }, It = ["onClick"], St = {
416
420
  key: 0,
417
421
  class: "block h-[8px] w-[8px] rounded-full bg-blue-500"
418
422
  }, Vt = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, Dt = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, Ft = { class: "mt-2 space-y-2" }, jt = ["id", "onChange"], Mt = ["for"], qt = {
@@ -424,7 +428,7 @@ const vt = /* @__PURE__ */ C(xt, [["render", _t]]), kt = {
424
428
  };
425
429
  function Bt(t, e, s, a, n, r) {
426
430
  const u = p("IconExport"), f = p("IconChevronDown"), h = p("IconSuccess"), m = p("VsCheckbox"), v = p("VsDialog");
427
- return o(), c(I, null, [
431
+ return o(), c(T, null, [
428
432
  l("button", {
429
433
  onClick: e[0] || (e[0] = (i) => n.isOpen = !0),
430
434
  class: "py-2 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"
@@ -483,8 +487,8 @@ function Bt(t, e, s, a, n, r) {
483
487
  l("div", $t, [
484
488
  l("div", At, [
485
489
  e[9] || (e[9] = l("h2", { class: "text-sm text-gray-500" }, " Виберіть стовпці таблиці для експорту: ", -1)),
486
- l("div", It, [
487
- (o(!0), c(I, null, D(n.actions, (i) => (o(), c("button", {
490
+ l("div", Tt, [
491
+ (o(!0), c(T, null, D(n.actions, (i) => (o(), c("button", {
488
492
  key: i == null ? void 0 : i.name,
489
493
  onClick: i == null ? void 0 : i.function,
490
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"
@@ -494,12 +498,12 @@ function Bt(t, e, s, a, n, r) {
494
498
  }, [
495
499
  (i == null ? void 0 : i.name) === n.activeAction ? (o(), c("span", St)) : w("", !0)
496
500
  ], 2),
497
- j(" " + T(i == null ? void 0 : i.label), 1)
498
- ], 8, Tt))), 128))
501
+ j(" " + I(i == null ? void 0 : i.label), 1)
502
+ ], 8, It))), 128))
499
503
  ])
500
504
  ]),
501
505
  l("div", Vt, [
502
- (o(!0), c(I, null, D(s.columns, (i, g) => (o(), c("div", {
506
+ (o(!0), c(T, null, D(s.columns, (i, g) => (o(), c("div", {
503
507
  class: "flex items-center",
504
508
  key: g,
505
509
  style: { width: "calc((100% - 10px) / 2)" }
@@ -517,7 +521,7 @@ function Bt(t, e, s, a, n, r) {
517
521
  l("div", Dt, [
518
522
  e[10] || (e[10] = l("h2", { class: "text-sm text-gray-500" }, "Виберіть формат таблиці:", -1)),
519
523
  l("div", Ft, [
520
- (o(!0), c(I, null, D(n.tableFormats, (i, g) => (o(), c("div", {
524
+ (o(!0), c(T, null, D(n.tableFormats, (i, g) => (o(), c("div", {
521
525
  class: "flex items-center",
522
526
  key: g
523
527
  }, [
@@ -531,7 +535,7 @@ function Bt(t, e, s, a, n, r) {
531
535
  l("label", {
532
536
  for: i,
533
537
  class: "text-sm text-gray-800 ms-3 dark:text-neutral-400"
534
- }, " Формат " + T(i), 9, Mt)
538
+ }, " Формат " + I(i), 9, Mt)
535
539
  ]))), 128))
536
540
  ])
537
541
  ])
@@ -541,7 +545,7 @@ function Bt(t, e, s, a, n, r) {
541
545
  }, 8, ["visible"])
542
546
  ], 64);
543
547
  }
544
- const Lt = /* @__PURE__ */ C(kt, [["render", Bt]]), zt = {}, Ut = {
548
+ const Lt = /* @__PURE__ */ C(kt, [["render", Bt]]), zt = {}, Ot = {
545
549
  xmlns: "http://www.w3.org/2000/svg",
546
550
  viewBox: "0 0 24 24",
547
551
  fill: "none",
@@ -551,12 +555,12 @@ const Lt = /* @__PURE__ */ C(kt, [["render", Bt]]), zt = {}, Ut = {
551
555
  "stroke-linejoin": "round",
552
556
  class: "icon icon-tabler icons-tabler-outline icon-tabler-columns"
553
557
  };
554
- function Ot(t, e, s, a, n, r) {
555
- return o(), c("svg", Ut, e[0] || (e[0] = [
558
+ function Ut(t, e, s, a, n, r) {
559
+ return o(), c("svg", Ot, e[0] || (e[0] = [
556
560
  Ae('<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)
557
561
  ]));
558
562
  }
559
- const Nt = /* @__PURE__ */ C(zt, [["render", Ot]]), Et = {
563
+ const Nt = /* @__PURE__ */ C(zt, [["render", Ut]]), Et = {
560
564
  props: { column: Object },
561
565
  emits: ["update-column"],
562
566
  data() {
@@ -581,12 +585,12 @@ function Rt(t, e, s, a, n, r) {
581
585
  "onUpdate:modelValue": e[0] || (e[0] = (h) => n.value = h),
582
586
  type: "checkbox"
583
587
  }, null, 512), [
584
- [Ze, n.value]
588
+ [Je, n.value]
585
589
  ]),
586
- j(" " + T(((u = s.column) == null ? void 0 : u.ua) || ((f = s.column) == null ? void 0 : f.title)), 1)
590
+ j(" " + I(((u = s.column) == null ? void 0 : u.ua) || ((f = s.column) == null ? void 0 : f.title)), 1)
587
591
  ]);
588
592
  }
589
- const Wt = /* @__PURE__ */ C(Et, [["render", Rt]]), Zt = {
593
+ const Wt = /* @__PURE__ */ C(Et, [["render", Rt]]), Jt = {
590
594
  components: { IconColumns: Nt, AdminTableColumnsHiddenItem: Wt },
591
595
  emits: ["update-columns"],
592
596
  props: { columns: Array },
@@ -596,7 +600,7 @@ const Wt = /* @__PURE__ */ C(Et, [["render", Rt]]), Zt = {
596
600
  s[e] = t, this.$emit("update-columns", [...s]);
597
601
  }
598
602
  }
599
- }, Gt = { class: "py-2 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" }, Jt = { class: "py-[10px] px-[10px] w-[260px]" }, Kt = { 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" };
603
+ }, Zt = { class: "py-2 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" }, Gt = { class: "py-[10px] px-[10px] w-[260px]" }, Kt = { 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" };
600
604
  function Qt(t, e, s, a, n, r) {
601
605
  const u = p("IconColumns"), f = p("AdminTableColumnsHiddenItem"), h = p("VsPopover");
602
606
  return o(), _(h, {
@@ -604,7 +608,7 @@ function Qt(t, e, s, a, n, r) {
604
608
  placement: "bottom"
605
609
  }, {
606
610
  reference: $(() => [
607
- l("button", Gt, [
611
+ l("button", Zt, [
608
612
  y(u, {
609
613
  height: "20",
610
614
  width: "16"
@@ -612,10 +616,10 @@ function Qt(t, e, s, a, n, r) {
612
616
  ])
613
617
  ]),
614
618
  default: $(() => [
615
- l("div", Jt, [
619
+ l("div", Gt, [
616
620
  e[0] || (e[0] = l("h2", { class: "text-sm mb-[8px]" }, "Оберіть колонки, щоб приховати", -1)),
617
621
  l("ul", Kt, [
618
- (o(!0), c(I, null, D(s.columns, (m, v) => (o(), c("li", { key: v }, [
622
+ (o(!0), c(T, null, D(s.columns, (m, v) => (o(), c("li", { key: v }, [
619
623
  y(f, {
620
624
  column: m,
621
625
  onUpdateColumn: r.updateColumn
@@ -627,7 +631,7 @@ function Qt(t, e, s, a, n, r) {
627
631
  _: 1
628
632
  });
629
633
  }
630
- const Xt = /* @__PURE__ */ C(Zt, [["render", Qt]]), Yt = {}, en = {
634
+ const Xt = /* @__PURE__ */ C(Jt, [["render", Qt]]), Yt = {}, en = {
631
635
  class: "hidden sm:block shrink-0 size-3",
632
636
  xmlns: "http://www.w3.org/2000/svg",
633
637
  fill: "currentColor",
@@ -642,7 +646,7 @@ function tn(t, e, s, a, n, r) {
642
646
  }, null, -1)
643
647
  ]));
644
648
  }
645
- const O = /* @__PURE__ */ C(Yt, [["render", tn]]), nn = {
649
+ const U = /* @__PURE__ */ C(Yt, [["render", tn]]), nn = {
646
650
  props: { row: Object, column: Object, table: String }
647
651
  };
648
652
  function sn(t, e, s, a, n, r) {
@@ -680,7 +684,7 @@ function rn(t, e, s, a, n, r) {
680
684
  ]));
681
685
  }
682
686
  const an = /* @__PURE__ */ C(ln, [["render", rn]]), cn = {
683
- components: { IconPlus: O, IconMinus: an },
687
+ components: { IconPlus: U, IconMinus: an },
684
688
  props: {
685
689
  title: String,
686
690
  defaultValue: { type: Boolean, default: () => !1 }
@@ -699,7 +703,7 @@ function hn(t, e, s, a, n, r) {
699
703
  onClick: e[0] || (e[0] = (h) => n.expanded = !n.expanded),
700
704
  class: "rounded-md cursor-pointer grow"
701
705
  }, [
702
- l("span", bn, T(s.title), 1)
706
+ l("span", bn, I(s.title), 1)
703
707
  ]),
704
708
  l("button", {
705
709
  class: "flex items-center justify-center rounded-md size-6 hover:bg-gray-100",
@@ -711,12 +715,12 @@ function hn(t, e, s, a, n, r) {
711
715
  })) : (o(), _(u, { key: 0 }))
712
716
  ])
713
717
  ]),
714
- y(U, { name: "fade" }, {
718
+ y(O, { name: "fade" }, {
715
719
  default: $(() => [
716
720
  z(l("div", pn, [
717
- Ge(t.$slots, "default", {}, void 0, !0)
721
+ Ze(t.$slots, "default", {}, void 0, !0)
718
722
  ], 512), [
719
- [Ie, n.expanded]
723
+ [Te, n.expanded]
720
724
  ])
721
725
  ]),
722
726
  _: 3
@@ -725,13 +729,13 @@ function hn(t, e, s, a, n, r) {
725
729
  ])
726
730
  ]);
727
731
  }
728
- const fn = /* @__PURE__ */ C(cn, [["render", hn], ["__scopeId", "data-v-e1f274c9"]]), mn = {
732
+ const fn = /* @__PURE__ */ C(cn, [["render", hn], ["__scopeId", "data-v-c6318482"]]), mn = {
729
733
  components: {
730
734
  AdminComponentIs: Se,
731
735
  AdminTree: fn,
732
736
  VsNoData: ze,
733
- VsWidgetComments: Ue,
734
- VsWidgetMap: Oe,
737
+ VsWidgetComments: Oe,
738
+ VsWidgetMap: Ue,
735
739
  VsWidgetFileList: Ne
736
740
  },
737
741
  props: { table: String, columns: Array, row: Object }
@@ -750,7 +754,7 @@ function An(t, e, s, a, n, r) {
750
754
  l("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
751
755
  ], -1)),
752
756
  l("div", xn, [
753
- (d = (g = t.$route) == null ? void 0 : g.query) != null && d.card ? (o(), c(I, { key: 0 }, [
757
+ (d = (g = t.$route) == null ? void 0 : g.query) != null && d.card ? (o(), c(T, { key: 0 }, [
754
758
  s.row ? (o(), _(f, {
755
759
  key: 0,
756
760
  defaultValue: !0,
@@ -758,9 +762,9 @@ function An(t, e, s, a, n, r) {
758
762
  class: "border-b p-[10px] py-[16px]"
759
763
  }, {
760
764
  default: $(() => [
761
- (o(!0), c(I, null, D(s.columns, (x) => (o(), c("dl", yn, [
765
+ (o(!0), c(T, null, D(s.columns, (x) => (o(), c("dl", yn, [
762
766
  l("dt", _n, [
763
- l("p", vn, T((x == null ? void 0 : x.ua) || (x == null ? void 0 : x.title)) + ": ", 1)
767
+ l("p", vn, I((x == null ? void 0 : x.ua) || (x == null ? void 0 : x.title)) + ": ", 1)
764
768
  ]),
765
769
  l("dd", kn, [
766
770
  l("p", wn, [
@@ -836,7 +840,7 @@ function An(t, e, s, a, n, r) {
836
840
  ])
837
841
  ]);
838
842
  }
839
- const In = /* @__PURE__ */ C(mn, [["render", An]]), Tn = {}, Sn = {
843
+ const Tn = /* @__PURE__ */ C(mn, [["render", An]]), In = {}, Sn = {
840
844
  class: "size-4",
841
845
  xmlns: "http://www.w3.org/2000/svg",
842
846
  viewBox: "0 0 24 24",
@@ -859,7 +863,7 @@ function Vn(t, e, s, a, n, r) {
859
863
  l("path", { d: "m8 9 3 3-3 3" }, null, -1)
860
864
  ]));
861
865
  }
862
- const Dn = /* @__PURE__ */ C(Tn, [["render", Vn]]), Fn = {}, jn = {
866
+ const Dn = /* @__PURE__ */ C(In, [["render", Vn]]), Fn = {}, jn = {
863
867
  class: "h21yx vs0hq",
864
868
  xmlns: "http://www.w3.org/2000/svg",
865
869
  width: "24",
@@ -896,7 +900,7 @@ const qn = /* @__PURE__ */ C(Fn, [["render", Mn]]), Pn = {
896
900
  }, Ln = { 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" };
897
901
  function zn(t, e, s, a, n, r) {
898
902
  const u = p("IconFilter"), f = p("VsFilter");
899
- return o(), c(I, null, [
903
+ return o(), c(T, null, [
900
904
  l("button", {
901
905
  onClick: e[0] || (e[0] = (h) => n.isFilters = !n.isFilters),
902
906
  class: "py-2 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"
@@ -906,9 +910,9 @@ function zn(t, e, s, a, n, r) {
906
910
  width: "16"
907
911
  }),
908
912
  e[4] || (e[4] = j(" Фільтри ")),
909
- s.onFilters ? (o(), c("span", Bn, T(s.onFilters), 1)) : w("", !0)
913
+ s.onFilters ? (o(), c("span", Bn, I(s.onFilters), 1)) : w("", !0)
910
914
  ]),
911
- y(U, { name: "fade" }, {
915
+ y(O, { name: "fade" }, {
912
916
  default: $(() => {
913
917
  var h;
914
918
  return [
@@ -932,7 +936,7 @@ function zn(t, e, s, a, n, r) {
932
936
  }, null, 8, ["scheme"])) : w("", !0)
933
937
  ])
934
938
  ], 512), [
935
- [Ie, n.isFilters]
939
+ [Te, n.isFilters]
936
940
  ])
937
941
  ];
938
942
  }),
@@ -940,7 +944,7 @@ function zn(t, e, s, a, n, r) {
940
944
  })
941
945
  ], 64);
942
946
  }
943
- const Un = /* @__PURE__ */ C(Pn, [["render", zn]]), On = {
947
+ const On = /* @__PURE__ */ C(Pn, [["render", zn]]), Un = {
944
948
  props: { tabsList: { type: Array, default: () => [] }, filterState: String }
945
949
  }, Nn = {
946
950
  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",
@@ -950,15 +954,15 @@ const Un = /* @__PURE__ */ C(Pn, [["render", zn]]), On = {
950
954
  }, En = ["onClick"];
951
955
  function Hn(t, e, s, a, n, r) {
952
956
  return o(), c("nav", Nn, [
953
- (o(!0), c(I, null, D(s.tabsList, (u) => (o(), c("button", {
957
+ (o(!0), c(T, null, D(s.tabsList, (u) => (o(), c("button", {
954
958
  onClick: (f) => t.$emit("update:filterState", u == null ? void 0 : u.name),
955
959
  class: V(["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", {
956
960
  " 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) === s.filterState
957
961
  }])
958
- }, T(u == null ? void 0 : u.label), 11, En))), 256))
962
+ }, I(u == null ? void 0 : u.label), 11, En))), 256))
959
963
  ]);
960
964
  }
961
- const Rn = /* @__PURE__ */ C(On, [["render", Hn]]), Wn = {}, Zn = {
965
+ const Rn = /* @__PURE__ */ C(Un, [["render", Hn]]), Wn = {}, Jn = {
962
966
  xmlns: "http://www.w3.org/2000/svg",
963
967
  viewBox: "0 0 24 24",
964
968
  fill: "none",
@@ -968,8 +972,8 @@ const Rn = /* @__PURE__ */ C(On, [["render", Hn]]), Wn = {}, Zn = {
968
972
  "stroke-linejoin": "round",
969
973
  class: "icon icon-tabler icons-tabler-outline icon-tabler-filter"
970
974
  };
971
- function Gn(t, e, s, a, n, r) {
972
- return o(), c("svg", Zn, e[0] || (e[0] = [
975
+ function Zn(t, e, s, a, n, r) {
976
+ return o(), c("svg", Jn, e[0] || (e[0] = [
973
977
  l("path", {
974
978
  stroke: "none",
975
979
  d: "M0 0h24v24H0z",
@@ -978,8 +982,8 @@ function Gn(t, e, s, a, n, r) {
978
982
  l("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)
979
983
  ]));
980
984
  }
981
- const Jn = /* @__PURE__ */ C(Wn, [["render", Gn]]), Kn = {
982
- components: { IconFilter2: Jn },
985
+ const Gn = /* @__PURE__ */ C(Wn, [["render", Zn]]), Kn = {
986
+ components: { IconFilter2: Gn },
983
987
  props: { filterCustom: String, customList: Array }
984
988
  }, Qn = { class: "py-2 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" }, Xn = { class: "flex flex-col gap-[4px]" }, Yn = ["onClick"];
985
989
  function es(t, e, s, a, n, r) {
@@ -998,14 +1002,14 @@ function es(t, e, s, a, n, r) {
998
1002
  ]),
999
1003
  default: $(() => [
1000
1004
  l("div", Xn, [
1001
- (o(!0), c(I, null, D(s.customList, (h, m) => (o(), c("button", {
1005
+ (o(!0), c(T, null, D(s.customList, (h, m) => (o(), c("button", {
1002
1006
  onClick: (v) => {
1003
1007
  var i;
1004
1008
  t.$emit("update:filterCustom", h == null ? void 0 : h.name), (i = t.$refs) == null || i.popover.togglePopover();
1005
1009
  },
1006
1010
  key: m,
1007
1011
  class: V(["p-[8px] block rounded-lg w-[140px] text-start hover:bg-gray-100 !duration-300", { "bg-gray-100": s.filterCustom === (h == null ? void 0 : h.name) }])
1008
- }, T(h == null ? void 0 : h.label), 11, Yn))), 128)),
1012
+ }, I(h == null ? void 0 : h.label), 11, Yn))), 128)),
1009
1013
  l("button", {
1010
1014
  class: "p-[8px] block rounded-lg w-[140px] text-start hover:bg-gray-100 !duration-300",
1011
1015
  onClick: e[0] || (e[0] = (h) => {
@@ -1025,7 +1029,7 @@ const ts = /* @__PURE__ */ C(Kn, [["render", es]]), ns = { class: "flex items-ce
1025
1029
  },
1026
1030
  setup(t) {
1027
1031
  var f, h, m, v, i;
1028
- const { asyncTemplateSlot: e } = (i = (v = (m = (h = (f = Te()) == null ? void 0 : f.appContext) == null ? void 0 : h.app) == null ? void 0 : m.config) == null ? void 0 : v.globalProperties) == null ? void 0 : i.utils, s = L(""), a = L(""), n = t, r = () => {
1032
+ const { asyncTemplateSlot: e } = (i = (v = (m = (h = (f = Ie()) == null ? void 0 : f.appContext) == null ? void 0 : h.app) == null ? void 0 : m.config) == null ? void 0 : v.globalProperties) == null ? void 0 : i.utils, s = L(""), a = L(""), n = t, r = () => {
1029
1033
  var g, d, k, x, A;
1030
1034
  if ((g = n.slots) != null && g.panelLeft || (a.value = "div"), (k = (d = n.slots) == null ? void 0 : d.panelLeft) != null && k.includes("<")) {
1031
1035
  const S = e("PanelLeft", (x = n.slots) == null ? void 0 : x.panelLeft, [
@@ -1063,7 +1067,7 @@ const ts = /* @__PURE__ */ C(Kn, [["render", es]]), ns = { class: "flex items-ce
1063
1067
  },
1064
1068
  setup(t) {
1065
1069
  var r, u, f, h, m;
1066
- const { asyncTemplateSlot: e } = (m = (h = (f = (u = (r = Te()) == null ? void 0 : r.appContext) == null ? void 0 : u.app) == null ? void 0 : f.config) == null ? void 0 : h.globalProperties) == null ? void 0 : m.utils, s = L(""), a = t;
1070
+ const { asyncTemplateSlot: e } = (m = (h = (f = (u = (r = Ie()) == null ? void 0 : r.appContext) == null ? void 0 : u.app) == null ? void 0 : f.config) == null ? void 0 : h.globalProperties) == null ? void 0 : m.utils, s = L(""), a = t;
1067
1071
  return (() => {
1068
1072
  var v, i, g, d, k;
1069
1073
  if ((v = a.slots) != null && v.addButton || (s.value = "div"), (g = (i = a.slots) == null ? void 0 : i.addButton) != null && g.includes("<")) {
@@ -1075,7 +1079,7 @@ const ts = /* @__PURE__ */ C(Kn, [["render", es]]), ns = { class: "flex items-ce
1075
1079
  s.value = (k = a.slots) == null ? void 0 : k.addButton;
1076
1080
  })(), (v, i) => s.value ? (o(), _(q(s.value), {
1077
1081
  key: 0,
1078
- IconPlus: O
1082
+ IconPlus: U
1079
1083
  })) : w("", !0);
1080
1084
  }
1081
1085
  }, rs = {
@@ -1086,12 +1090,12 @@ const ts = /* @__PURE__ */ C(Kn, [["render", es]]), ns = { class: "flex items-ce
1086
1090
  AdminTableColumnsHidden: Xt,
1087
1091
  AdminTableColumn: nt,
1088
1092
  AdminNodata: Ee,
1089
- IconPlus: O,
1093
+ IconPlus: U,
1090
1094
  IconSearch: He,
1091
- AdminTableCardInfo: In,
1095
+ AdminTableCardInfo: Tn,
1092
1096
  IconOpenCard: Dn,
1093
1097
  AdminComponentIs: Se,
1094
- AdminTableFilters: Un,
1098
+ AdminTableFilters: On,
1095
1099
  AdminTableTabs: Rn,
1096
1100
  AdminTableCustomFilters: ts,
1097
1101
  AdminTableCustomButtons: ss,
@@ -1288,17 +1292,17 @@ const ts = /* @__PURE__ */ C(Kn, [["render", es]]), ns = { class: "flex items-ce
1288
1292
  }, ms = { class: "sticky top-[-1px] bg-white w-full after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, gs = { class: "right-0 border-t border-stone-200" }, xs = {
1289
1293
  key: 0,
1290
1294
  class: "w-[70px] sticky right-0 top-0"
1291
- }, ys = { class: "divide-y divide-gray-200" }, _s = { class: "px-4 py-3 text-sm text-gray-600" }, vs = ["onClick"], ks = ["onClick"], ws = { class: "p-[20px] flex justify-start items-center w-full" }, Cs = { class: "w-[200px] md:inline-flex hidden" }, $s = { class: "text-sm text-gray-600 dark:text-neutral-400" }, As = { class: "font-semibold text-gray-800 dark:text-neutral-200" }, Is = { key: 0 }, Ts = {
1295
+ }, ys = { class: "divide-y divide-gray-200" }, _s = { class: "px-4 py-3 text-sm text-gray-600" }, vs = ["onClick"], ks = ["onClick"], ws = { class: "p-[20px] flex justify-start items-center w-full" }, Cs = { class: "w-[200px] md:inline-flex hidden" }, $s = { class: "text-sm text-gray-600 dark:text-neutral-400" }, As = { class: "font-semibold text-gray-800 dark:text-neutral-200" }, Ts = { key: 0 }, Is = {
1292
1296
  key: 0,
1293
1297
  class: "font-semibold text-gray-800 dark:text-neutral-200"
1294
1298
  };
1295
1299
  function Ss(t, e, s, a, n, r) {
1296
- var N, E, H, R, W, Z, G, J, K, Q, X, Y, ee, te, ne, se, le, oe, re, ae, ie, ce, ue, de, be, pe;
1300
+ var N, E, H, R, W, J, Z, G, K, Q, X, Y, ee, te, ne, se, le, oe, re, ae, ie, ce, ue, de, be, pe;
1297
1301
  const u = p("AdminCustomButtonAdd"), f = p("IconPlus"), h = p("router-link"), m = p("AdminTableTabs"), v = p("IconSearch"), i = p("VsText"), g = p("AdminTableCustomButtons"), d = p("AdminTableCustomFilters"), k = p("AdminTableColumnsHidden"), x = p("AdminTableExport"), A = p("AdminTableFilters"), S = p("IconOpenCard"), P = p("AdminTableColumn"), B = p("AdminComponentIs"), Ve = p("AdminTableControl"), De = p("AdminNodata"), Fe = p("VsPagination"), je = p("AdminTableCardInfo");
1298
1302
  return o(), c("div", as, [
1299
1303
  l("div", is, [
1300
- l("h2", cs, T(s.title), 1),
1301
- r.isForm ? (o(), c(I, { key: 0 }, [
1304
+ l("h2", cs, I(s.title), 1),
1305
+ r.isForm ? (o(), c(T, { key: 0 }, [
1302
1306
  (E = (N = n.tableData) == null ? void 0 : N.slots) != null && E.addButton ? (o(), _(u, {
1303
1307
  key: 0,
1304
1308
  slots: (H = n.tableData) == null ? void 0 : H.slots
@@ -1320,9 +1324,9 @@ function Ss(t, e, s, a, n, r) {
1320
1324
  ]),
1321
1325
  l("div", us, [
1322
1326
  l("div", ds, [
1323
- (G = (Z = n.tableData) == null ? void 0 : Z.filterState) != null && G.length ? (o(), _(m, {
1327
+ (Z = (J = n.tableData) == null ? void 0 : J.filterState) != null && Z.length ? (o(), _(m, {
1324
1328
  key: 0,
1325
- tabsList: (J = n.tableData) == null ? void 0 : J.filterState,
1329
+ tabsList: (G = n.tableData) == null ? void 0 : G.filterState,
1326
1330
  filterState: n.filterState,
1327
1331
  "onUpdate:filterState": e[0] || (e[0] = (b) => n.filterState = b)
1328
1332
  }, null, 8, ["tabsList", "filterState"])) : w("", !0),
@@ -1398,7 +1402,7 @@ function Ss(t, e, s, a, n, r) {
1398
1402
  r.isNoData ? (o(), _(De, { key: 1 })) : (o(), c("table", fs, [
1399
1403
  l("thead", ms, [
1400
1404
  l("tr", gs, [
1401
- (o(!0), c(I, null, D(r.columns, (b) => (o(), _(P, {
1405
+ (o(!0), c(T, null, D(r.columns, (b) => (o(), _(P, {
1402
1406
  key: b.name,
1403
1407
  style: $e({
1404
1408
  width: r.rowWidth(b == null ? void 0 : b.name),
@@ -1415,7 +1419,7 @@ function Ss(t, e, s, a, n, r) {
1415
1419
  ])
1416
1420
  ]),
1417
1421
  l("tbody", ys, [
1418
- (o(!0), c(I, null, D((ce = n.tableData) == null ? void 0 : ce.rows, (b, Me) => {
1422
+ (o(!0), c(T, null, D((ce = n.tableData) == null ? void 0 : ce.rows, (b, Me) => {
1419
1423
  var he, fe, me, ge, xe, ye, _e, ve, ke, we;
1420
1424
  return o(), c("tr", {
1421
1425
  key: Me,
@@ -1438,7 +1442,7 @@ function Ss(t, e, s, a, n, r) {
1438
1442
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1439
1443
  ], 10, vs)
1440
1444
  ]),
1441
- (o(!0), c(I, null, D((ge = r.columns) == null ? void 0 : ge.slice(1), (M) => (o(), c("td", {
1445
+ (o(!0), c(T, null, D((ge = r.columns) == null ? void 0 : ge.slice(1), (M) => (o(), c("td", {
1442
1446
  onClick: (Ms) => r.changeActiveCardInfo(b == null ? void 0 : b.id),
1443
1447
  class: V(["px-3 py-3 text-sm text-gray-600 text-start", { "cursor-pointer": n.isVisibleCardInfo }]),
1444
1448
  key: M.name
@@ -1478,10 +1482,10 @@ function Ss(t, e, s, a, n, r) {
1478
1482
  l("div", Cs, [
1479
1483
  l("p", $s, [
1480
1484
  l("span", As, [
1481
- j(T(n.filters || n.searchValue ? "Знайдено" : "Об'єктів") + " " + T(((ue = n.tableData) == null ? void 0 : ue.count) || "0 ") + " ", 1),
1482
- n.filters || n.searchValue ? (o(), c("span", Is, " з")) : w("", !0)
1485
+ j(I(n.filters || n.searchValue ? "Знайдено" : "Об'єктів") + " " + I(((ue = n.tableData) == null ? void 0 : ue.count) || "0 ") + " ", 1),
1486
+ n.filters || n.searchValue ? (o(), c("span", Ts, " з")) : w("", !0)
1483
1487
  ]),
1484
- n.filters || n.searchValue ? (o(), c("span", Ts, T(" " + ((de = n.tableData) == null ? void 0 : de.filtered) || 0), 1)) : w("", !0)
1488
+ n.filters || n.searchValue ? (o(), c("span", Is, I(" " + ((de = n.tableData) == null ? void 0 : de.filtered) || 0), 1)) : w("", !0)
1485
1489
  ])
1486
1490
  ]),
1487
1491
  Math.ceil(((be = n.tableData) == null ? void 0 : be.filtered) / n.limit) > 1 ? (o(), _(Fe, {
@@ -1498,7 +1502,7 @@ function Ss(t, e, s, a, n, r) {
1498
1502
  }, null, 8, ["default-page", "total", "pageSize", "onPageChange", "onPageSizeChange"])) : w("", !0)
1499
1503
  ])
1500
1504
  ], 2),
1501
- y(U, { name: "slide-fade" }, {
1505
+ y(O, { name: "slide-fade" }, {
1502
1506
  default: $(() => {
1503
1507
  var b;
1504
1508
  return [
@@ -1517,7 +1521,7 @@ function Ss(t, e, s, a, n, r) {
1517
1521
  ])
1518
1522
  ]);
1519
1523
  }
1520
- const Vs = /* @__PURE__ */ C(rs, [["render", Ss], ["__scopeId", "data-v-18e2f567"]]), Ds = {
1524
+ const Vs = /* @__PURE__ */ C(rs, [["render", Ss], ["__scopeId", "data-v-c086c7f4"]]), Ds = {
1521
1525
  components: { AdminTable: Vs },
1522
1526
  data() {
1523
1527
  return {
@@ -1,4 +1,4 @@
1
- import { _, I as R, a as q, u as Z, s as T, b as G, c as J, d as S } from "./import-file-CznvbugR.js";
1
+ import { _, I as R, a as q, u as Z, s as T, b as G, c as J, d as S } from "./import-file-CspxNIvZ.js";
2
2
  import { openBlock as l, createElementBlock as a, createElementVNode as n, createStaticVNode as B, resolveComponent as p, normalizeClass as L, createTextVNode as U, toDisplayString as A, createVNode as c, Transition as K, withCtx as Q, withDirectives as P, Fragment as E, renderList as F, vShow as W, createCommentVNode as D, withModifiers as X, createBlock as Y, resolveDynamicComponent as e1 } from "vue";
3
3
  const t1 = {}, o1 = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -391,7 +391,7 @@ function q1(e, t, r, i, o, s) {
391
391
  ])
392
392
  ]);
393
393
  }
394
- const K1 = /* @__PURE__ */ _(Q1, [["render", q1], ["__scopeId", "data-v-79c10cab"]]);
394
+ const K1 = /* @__PURE__ */ _(Q1, [["render", q1], ["__scopeId", "data-v-34da2042"]]);
395
395
  export {
396
396
  K1 as default
397
397
  };
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { k as f } from "./import-file-CznvbugR.js";
1
+ import { k as f } from "./import-file-CspxNIvZ.js";
2
2
  export {
3
3
  f as default
4
4
  };