@opengis/admin 0.1.57 → 0.1.59

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/README.md +29 -29
  2. package/config.js +4 -4
  3. package/dist/{add-page-ChIfqEIA.js → add-page-BOXd-uV_.js} +1 -1
  4. package/dist/{admin-interface-DjKoGiLz.js → admin-interface-DbfKIAnw.js} +216 -212
  5. package/dist/{admin-view-CoSA8JYC.js → admin-view-DDDd_P1v.js} +32 -44
  6. package/dist/admin.js +2 -2
  7. package/dist/admin.umd.cjs +47 -47
  8. package/dist/card-page-Bq7fUm5C.js +230 -0
  9. package/dist/{card-view-g2LiFVJC.js → card-view-NLu0N8TA.js} +1 -1
  10. package/dist/{edit-page-CnDwsZCs.js → edit-page-z7ozrw2C.js} +1 -1
  11. package/dist/{import-file-BRMqCIEX.js → import-file-BBA7riUK.js} +2425 -2424
  12. package/dist/style.css +1 -1
  13. package/module/settings/card/admin.roles.table/access.hbs +27 -27
  14. package/module/settings/card/admin.roles.table/general_info.hbs +16 -16
  15. package/module/settings/card/admin.roles.table/index.yml +14 -14
  16. package/module/settings/card/admin.roles.table/users.hbs +27 -27
  17. package/module/settings/card/admin.routes.table/general_info.hbs +40 -40
  18. package/module/settings/card/admin.routes.table/index.yml +8 -8
  19. package/module/settings/card/admin.routes.table/users.hbs +33 -33
  20. package/module/settings/card/admin.users.table/general_info.hbs +25 -25
  21. package/module/settings/card/admin.users.table/index.yml +12 -12
  22. package/module/settings/card/admin.users.table/logs.hbs +30 -30
  23. package/module/settings/card/admin.users.table/user_roles.hbs +24 -24
  24. package/module/settings/cls/core.actions.json +13 -13
  25. package/module/settings/cls/core.scope.json +13 -13
  26. package/module/settings/cls/properties.site_status.json +13 -13
  27. package/module/settings/cls/properties.widget_status.json +13 -13
  28. package/module/settings/cls/users.user_type.json +13 -13
  29. package/module/settings/form/admin.access.form.json +36 -36
  30. package/module/settings/form/admin.custom_column.form.json +71 -71
  31. package/module/settings/form/admin.properties.form.json +15 -15
  32. package/module/settings/form/admin.roles.form.json +19 -19
  33. package/module/settings/form/admin.routes.form.json +25 -25
  34. package/module/settings/form/admin.user_properties.form.json +15 -15
  35. package/module/settings/form/admin.user_roles.form.json +21 -21
  36. package/module/settings/form/admin.users.form.json +150 -150
  37. package/module/settings/form/user.user_roles.form.json +13 -13
  38. package/module/settings/interface/admin.properties.json +4 -4
  39. package/module/settings/interface/admin.roles.json +4 -4
  40. package/module/settings/interface/admin.routes.json +4 -4
  41. package/module/settings/interface/admin.users.json +4 -4
  42. package/module/settings/menu.json +50 -50
  43. package/module/settings/select/core.roles.json +2 -2
  44. package/module/settings/select/core.routes.sql +1 -1
  45. package/module/settings/select/core.user_uid.sql +1 -1
  46. package/module/settings/table/admin.access.table.json +77 -77
  47. package/module/settings/table/admin.custom_column.table.json +94 -94
  48. package/module/settings/table/admin.properties.table.json +33 -33
  49. package/module/settings/table/admin.roles.table.json +58 -58
  50. package/module/settings/table/admin.routes.table.json +67 -67
  51. package/module/settings/table/admin.user_properties.table.json +28 -28
  52. package/module/settings/table/admin.user_roles.table.json +66 -66
  53. package/module/settings/table/admin.users.table.json +119 -119
  54. package/package.json +79 -81
  55. package/plugin.js +164 -162
  56. package/server/helpers/controllers/badge.js +11 -11
  57. package/server/helpers/controllers/hb.js +2 -2
  58. package/server/helpers/controllers/map.js +2 -2
  59. package/server/helpers/controllers/mls.js +2 -2
  60. package/server/helpers/controllers/vue.js +2 -2
  61. package/server/helpers/index.mjs +13 -13
  62. package/server/plugins/docs.js +28 -28
  63. package/server/plugins/hook.js +228 -228
  64. package/server/plugins/vite.js +69 -69
  65. package/server/routes/calendar/controllers/calendar.data.js +88 -88
  66. package/server/routes/calendar/index.mjs +17 -17
  67. package/server/routes/data/controllers/cardData.js +56 -56
  68. package/server/routes/data/controllers/cardTabData.js +49 -49
  69. package/server/routes/data/controllers/funcs/getFilterSQL/index.js +92 -92
  70. package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +170 -170
  71. package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
  72. package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +64 -64
  73. package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
  74. package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
  75. package/server/routes/data/controllers/tableData.js +145 -145
  76. package/server/routes/data/controllers/tableDataId.js +27 -27
  77. package/server/routes/data/controllers/tableFilter.js +63 -63
  78. package/server/routes/data/controllers/utils/assignTokens.js +30 -30
  79. package/server/routes/data/controllers/utils/getColumns.js +21 -21
  80. package/server/routes/data/index.mjs +15 -15
  81. package/server/routes/data/schema.js +7 -7
  82. package/server/routes/menu/controllers/getMenu.js +34 -34
  83. package/server/routes/menu/index.mjs +5 -5
  84. package/server/routes/notifications/controllers/readNotifications.js +30 -30
  85. package/server/routes/notifications/controllers/userNotifications.js +64 -64
  86. package/server/routes/notifications/hook/onWidgetSet.js +63 -63
  87. package/server/routes/notifications/index.mjs +40 -40
  88. package/server/routes/properties/controllers/admin.properties.get.js +29 -29
  89. package/server/routes/properties/controllers/user.properties.get.js +34 -34
  90. package/server/routes/properties/controllers/user.properties.post.js +30 -30
  91. package/server/routes/properties/funcs/getSettings.js +56 -56
  92. package/server/routes/properties/funcs/setSettings.js +44 -44
  93. package/server/routes/properties/funcs/utils/dataInsert.js +26 -26
  94. package/server/routes/properties/index.mjs +26 -26
  95. package/server/routes/root.mjs +3 -3
  96. package/server/routes/templates/controllers/getTemplate.js +16 -16
  97. package/server/routes/templates/index.mjs +14 -14
  98. package/server/templates/cls/itree.recrzone_category.json +73 -73
  99. package/server/templates/cls/test.json +9 -9
  100. package/server/templates/form/admin.user_cls.data.form.json +49 -49
  101. package/server/templates/form/admin.user_group_rel.form.json +21 -21
  102. package/server/templates/form/cp_building.form.json +32 -32
  103. package/server/templates/form/form-user-pass.json +10 -10
  104. package/server/templates/form/form-user_group.json +39 -39
  105. package/server/templates/form/form-users.json +156 -156
  106. package/server/templates/form/user_group_access.form.json +22 -22
  107. package/server/templates/select/account_id.json +2 -2
  108. package/server/templates/table/gis.dataset.table.json +43 -43
  109. package/server/templates/table/management.user_group.table.json +112 -112
  110. package/server/templates/table/management.users.table.json +126 -126
  111. package/utils.js +21 -21
  112. package/dist/card-page-mrDH9Sn9.js +0 -200
@@ -1,5 +1,5 @@
1
- import { _ as f, b as de, a as A, V as ue, c as he, d as pe, e as be, I as fe, u as te } from "./import-file-BRMqCIEX.js";
2
- import { openBlock as o, createElementBlock as i, createTextVNode as F, toDisplayString as I, createCommentVNode as v, createStaticVNode as j, Fragment as C, createElementVNode as l, resolveComponent as c, createVNode as b, withCtx as y, createBlock as x, withModifiers as me, renderList as T, withDirectives as z, vModelCheckbox as ge, resolveDynamicComponent as xe, Transition as P, renderSlot as ye, vShow as re, normalizeClass as V, normalizeStyle as _e } from "vue";
1
+ import { _ as m, b as ue, a as A, V as he, c as pe, d as be, e as fe, I as me, u as te } from "./import-file-BBA7riUK.js";
2
+ import { openBlock as s, createElementBlock as i, createTextVNode as F, toDisplayString as I, createCommentVNode as v, createStaticVNode as j, Fragment as C, createElementVNode as l, resolveComponent as d, createVNode as b, withCtx as y, createBlock as x, withModifiers as ge, renderList as T, withDirectives as z, vModelCheckbox as xe, resolveDynamicComponent as ye, Transition as P, renderSlot as _e, vShow as ne, normalizeClass as V, normalizeStyle as re } from "vue";
3
3
  const ke = {
4
4
  data() {
5
5
  return {
@@ -60,7 +60,7 @@ const ke = {
60
60
  }
61
61
  }, we = {
62
62
  scope: "col",
63
- class: "text-start whitespace-nowrap px-2 py-1"
63
+ class: "text-start px-2 py-1"
64
64
  }, ve = {
65
65
  class: "flex-shrink-0 size-3.5",
66
66
  xmlns: "http://www.w3.org/2000/svg",
@@ -82,23 +82,23 @@ const ke = {
82
82
  key: 1,
83
83
  class: "text-sm text-stone-500 px-[4px] py-2.5 text-start font-normal text-gray-500"
84
84
  };
85
- function Te(t, e, r, a, n, s) {
86
- return o(), i("th", we, [
87
- s.getVisibleIcon ? (o(), i("button", {
85
+ function Te(t, e, r, a, n, o) {
86
+ return s(), i("th", we, [
87
+ o.getVisibleIcon ? (s(), i("button", {
88
88
  key: 0,
89
89
  type: "button",
90
90
  class: "text-sm text-stone-500 px-[4px] py-2.5 text-start font-normal text-gray-500 flex items-center gap-[6px]",
91
- onClick: e[0] || (e[0] = (d) => s.handleClickSortBtn(n.currentSort))
91
+ onClick: e[0] || (e[0] = (c) => o.handleClickSortBtn(n.currentSort))
92
92
  }, [
93
- F(I(s.label) + " ", 1),
94
- (o(), i("svg", ve, [
95
- n.currentSort === "asc" || n.currentSort === "" ? (o(), i("path", Ce)) : v("", !0),
96
- n.currentSort === "desc" || n.currentSort === "" ? (o(), i("path", $e)) : v("", !0)
93
+ F(I(o.label) + " ", 1),
94
+ (s(), i("svg", ve, [
95
+ n.currentSort === "asc" || n.currentSort === "" ? (s(), i("path", Ce)) : v("", !0),
96
+ n.currentSort === "desc" || n.currentSort === "" ? (s(), i("path", $e)) : v("", !0)
97
97
  ]))
98
- ])) : (o(), i("p", Ie, I(s.label), 1))
98
+ ])) : (s(), i("p", Ie, I(o.label), 1))
99
99
  ]);
100
100
  }
101
- const Ve = /* @__PURE__ */ f(ke, [["render", Te]]), Se = {}, Ae = {
101
+ const Ve = /* @__PURE__ */ m(ke, [["render", Te]]), Se = {}, Ae = {
102
102
  class: "flex-shrink-0 size-3.5",
103
103
  xmlns: "http://www.w3.org/2000/svg",
104
104
  viewBox: "0 0 24 24",
@@ -108,21 +108,21 @@ const Ve = /* @__PURE__ */ f(ke, [["render", Te]]), Se = {}, Ae = {
108
108
  "stroke-linecap": "round",
109
109
  "stroke-linejoin": "round"
110
110
  };
111
- function Fe(t, e, r, a, n, s) {
112
- return o(), i("svg", Ae, e[0] || (e[0] = [
111
+ function Fe(t, e, r, a, n, o) {
112
+ return s(), i("svg", Ae, e[0] || (e[0] = [
113
113
  j('<path d="M3 6h18"></path><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"></path><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"></path><line x1="10" x2="10" y1="11" y2="17"></line><line x1="14" x2="14" y1="11" y2="17"></line>', 5)
114
114
  ]));
115
115
  }
116
- const De = /* @__PURE__ */ f(Se, [["render", Fe]]), Me = {
116
+ const De = /* @__PURE__ */ m(Se, [["render", Fe]]), Me = {
117
117
  props: {
118
118
  height: { type: String, default: "16" },
119
119
  width: { type: String, default: "12" },
120
120
  color: { type: String, default: "black" }
121
121
  }
122
122
  }, je = { style: { display: "none" } }, ze = ["height", "width", "fill"];
123
- function Pe(t, e, r, a, n, s) {
124
- return o(), i(C, null, [
125
- (o(), i("svg", je, e[0] || (e[0] = [
123
+ function Pe(t, e, r, a, n, o) {
124
+ return s(), i(C, null, [
125
+ (s(), i("svg", je, e[0] || (e[0] = [
126
126
  l("symbol", {
127
127
  id: "icon-pencil",
128
128
  viewBox: "0 0 32 32"
@@ -130,7 +130,7 @@ function Pe(t, e, r, a, n, s) {
130
130
  l("path", { d: "M27 0c2.761 0 5 2.239 5 5 0 1.126-0.372 2.164-1 3l-2 2-7-7 2-2c0.836-0.628 1.874-1 3-1zM2 23l-2 9 9-2 18.5-18.5-7-7-18.5 18.5zM22.362 11.362l-14 14-1.724-1.724 14-14 1.724 1.724z" })
131
131
  ], -1)
132
132
  ]))),
133
- (o(), i("svg", {
133
+ (s(), i("svg", {
134
134
  height: r.height,
135
135
  width: r.width,
136
136
  fill: r.color
@@ -139,9 +139,9 @@ function Pe(t, e, r, a, n, s) {
139
139
  ]), 8, ze))
140
140
  ], 64);
141
141
  }
142
- const qe = /* @__PURE__ */ f(Me, [["render", Pe]]), Be = {
142
+ const qe = /* @__PURE__ */ m(Me, [["render", Pe]]), Be = {
143
143
  components: {
144
- IconMore: de,
144
+ IconMore: ue,
145
145
  IconDelete: De,
146
146
  IconEdit: qe
147
147
  },
@@ -201,9 +201,9 @@ const qe = /* @__PURE__ */ f(Me, [["render", Pe]]), Be = {
201
201
  key: 1,
202
202
  class: "h-[1px] w-[80%] bg-gray-200 ml-auto mr-auto"
203
203
  }, Ne = { class: "p-4" }, He = { class: "flex justify-end mt-4 gap-x-3" };
204
- function We(t, e, r, a, n, s) {
205
- const d = c("IconMore"), p = c("IconEdit"), h = c("router-link"), u = c("IconDelete"), _ = c("VsPopover"), w = c("VsDialog");
206
- return o(), i(C, null, [
204
+ function We(t, e, r, a, n, o) {
205
+ const c = d("IconMore"), p = d("IconEdit"), h = d("router-link"), u = d("IconDelete"), _ = d("VsPopover"), w = d("VsDialog");
206
+ return s(), i(C, null, [
207
207
  l("div", Le, [
208
208
  b(_, {
209
209
  trigger: "click",
@@ -211,19 +211,19 @@ function We(t, e, r, a, n, s) {
211
211
  }, {
212
212
  reference: y(() => [
213
213
  l("button", Ue, [
214
- b(d, {
214
+ b(c, {
215
215
  height: "16",
216
216
  width: "16"
217
217
  })
218
218
  ])
219
219
  ]),
220
220
  default: y(() => {
221
- var k, $, m, S, D;
221
+ var k, $, g, S, D;
222
222
  return [
223
223
  l("div", Oe, [
224
- (k = r.actions) != null && k.includes("edit") && r.isForm ? (o(), x(h, {
224
+ (k = r.actions) != null && k.includes("edit") && r.isForm ? (s(), x(h, {
225
225
  key: 0,
226
- to: `/edit?table=${(m = ($ = t.$route) == null ? void 0 : $.params) == null ? void 0 : m.catchAll}&id=${(S = r.item) == null ? void 0 : S.id}`,
226
+ to: `/edit?table=${(g = ($ = t.$route) == null ? void 0 : $.params) == null ? void 0 : g.catchAll}&id=${(S = r.item) == null ? void 0 : S.id}`,
227
227
  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"
228
228
  }, {
229
229
  default: y(() => [
@@ -232,10 +232,10 @@ function We(t, e, r, a, n, s) {
232
232
  ]),
233
233
  _: 1
234
234
  }, 8, ["to"])) : v("", !0),
235
- r.isForm ? (o(), i("div", Ee)) : v("", !0),
236
- (D = r.actions) != null && D.includes("del") ? (o(), i("button", {
235
+ r.isForm ? (s(), i("div", Ee)) : v("", !0),
236
+ (D = r.actions) != null && D.includes("del") ? (s(), i("button", {
237
237
  key: 2,
238
- onClick: e[0] || (e[0] = me((...M) => s.openConfirm && s.openConfirm(...M), ["stop"])),
238
+ onClick: e[0] || (e[0] = ge((...M) => o.openConfirm && o.openConfirm(...M), ["stop"])),
239
239
  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"
240
240
  }, [
241
241
  b(u),
@@ -264,7 +264,7 @@ function We(t, e, r, a, n, s) {
264
264
  l("button", {
265
265
  type: "button",
266
266
  class: "inline-flex items-center px-3 py-2 text-sm font-semibold text-white bg-red-500 border border-transparent rounded-lg gap-x-2 hover:bg-red-600 disabled:opacity-50 disabled:pointer-events-none",
267
- onClick: e[2] || (e[2] = (...k) => s.deleteElement && s.deleteElement(...k))
267
+ onClick: e[2] || (e[2] = (...k) => o.deleteElement && o.deleteElement(...k))
268
268
  }, " Так, я впевнена/ий ")
269
269
  ])
270
270
  ])
@@ -273,7 +273,7 @@ function We(t, e, r, a, n, s) {
273
273
  }, 8, ["visible"])
274
274
  ], 64);
275
275
  }
276
- const Re = /* @__PURE__ */ f(Be, [["render", We]]), Ge = {}, Ze = {
276
+ const Re = /* @__PURE__ */ m(Be, [["render", We]]), Ge = {}, Ze = {
277
277
  class: "flex-shrink-0 mt-0.5 size-3.5",
278
278
  xmlns: "http://www.w3.org/2000/svg",
279
279
  viewBox: "0 0 24 24",
@@ -283,15 +283,15 @@ const Re = /* @__PURE__ */ f(Be, [["render", We]]), Ge = {}, Ze = {
283
283
  "stroke-linecap": "round",
284
284
  "stroke-linejoin": "round"
285
285
  };
286
- function Je(t, e, r, a, n, s) {
287
- return o(), i("svg", Ze, e[0] || (e[0] = [
286
+ function Je(t, e, r, a, n, o) {
287
+ return s(), i("svg", Ze, e[0] || (e[0] = [
288
288
  l("path", { d: "m3 16 4 4 4-4" }, null, -1),
289
289
  l("path", { d: "M7 20V4" }, null, -1),
290
290
  l("path", { d: "m21 8-4-4-4 4" }, null, -1),
291
291
  l("path", { d: "M17 4v16" }, null, -1)
292
292
  ]));
293
293
  }
294
- const Ke = /* @__PURE__ */ f(Ge, [["render", Je]]), Qe = {
294
+ const Ke = /* @__PURE__ */ m(Ge, [["render", Je]]), Qe = {
295
295
  components: { IconExport: Ke },
296
296
  props: { table: String, columns: Array },
297
297
  data() {
@@ -335,15 +335,15 @@ const Ke = /* @__PURE__ */ f(Ge, [["render", Je]]), Qe = {
335
335
  this.format = t;
336
336
  }
337
337
  }
338
- }, Xe = { class: "p-4" }, Ye = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, et = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, tt = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, rt = { class: "mt-2 space-y-2" }, nt = ["id", "onChange"], lt = ["for"], ot = { class: "flex w-full justify-end p-[20px] gap-[6px] border-t" };
339
- function st(t, e, r, a, n, s) {
340
- const d = c("IconExport"), p = c("VsCheckbox"), h = c("VsDialog");
341
- return o(), i(C, null, [
338
+ }, Xe = { class: "p-4" }, Ye = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, et = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, tt = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, rt = { class: "mt-2 space-y-2" }, nt = ["id", "onChange"], lt = ["for"], st = { class: "flex w-full justify-end p-[20px] gap-[6px] border-t" };
339
+ function ot(t, e, r, a, n, o) {
340
+ const c = d("IconExport"), p = d("VsCheckbox"), h = d("VsDialog");
341
+ return s(), i(C, null, [
342
342
  l("button", {
343
343
  onClick: e[0] || (e[0] = (u) => n.isOpen = !0),
344
344
  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"
345
345
  }, [
346
- b(d, {
346
+ b(c, {
347
347
  height: "16",
348
348
  width: "16"
349
349
  }),
@@ -370,7 +370,7 @@ function st(t, e, r, a, n, s) {
370
370
  size: "small"
371
371
  }, {
372
372
  footer: y(() => [
373
- l("div", ot, [
373
+ l("div", st, [
374
374
  e[8] || (e[8] = l("button", {
375
375
  type: "button",
376
376
  class: "py-2 px-3 text-nowrap inline-flex justify-center items-center text-start bg-white border border-gray-200 text-gray-800 text-sm font-medium rounded-lg shadow-sm align-middle 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",
@@ -379,7 +379,7 @@ function st(t, e, r, a, n, s) {
379
379
  l("button", {
380
380
  type: "button",
381
381
  class: "py-2 px-3 text-nowrap inline-flex justify-center items-center gap-x-2 text-start bg-blue-600 border border-blue-600 text-white text-sm font-medium rounded-lg shadow-sm align-middle 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",
382
- onClick: e[2] || (e[2] = (...u) => s.exportTable && s.exportTable(...u))
382
+ onClick: e[2] || (e[2] = (...u) => o.exportTable && o.exportTable(...u))
383
383
  }, " Завантажити таблицю ")
384
384
  ])
385
385
  ]),
@@ -389,7 +389,7 @@ function st(t, e, r, a, n, s) {
389
389
  l("div", Ye, [
390
390
  e[6] || (e[6] = l("h2", { class: "text-sm text-gray-500" }, " Виберіть стовпці таблиці для експорту: ", -1)),
391
391
  l("div", et, [
392
- (o(!0), i(C, null, T(r.columns, (u, _) => (o(), i("div", {
392
+ (s(!0), i(C, null, T(r.columns, (u, _) => (s(), i("div", {
393
393
  class: "flex items-center",
394
394
  key: _,
395
395
  style: { width: "calc((100% - 10px) / 2)" }
@@ -407,7 +407,7 @@ function st(t, e, r, a, n, s) {
407
407
  l("div", tt, [
408
408
  e[7] || (e[7] = l("h2", { class: "text-sm text-gray-500" }, "Виберіть формат таблиці:", -1)),
409
409
  l("div", rt, [
410
- (o(!0), i(C, null, T(n.tableFormats, (u, _) => (o(), i("div", {
410
+ (s(!0), i(C, null, T(n.tableFormats, (u, _) => (s(), i("div", {
411
411
  class: "flex items-center",
412
412
  key: _
413
413
  }, [
@@ -416,7 +416,7 @@ function st(t, e, r, a, n, s) {
416
416
  name: "hs-pro-duecmfm",
417
417
  class: "shrink-0 border-gray-300 rounded-full text-blue-600 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",
418
418
  id: u,
419
- onChange: (w) => s.selectFormat(u)
419
+ onChange: (w) => o.selectFormat(u)
420
420
  }, null, 40, nt),
421
421
  l("label", {
422
422
  for: u,
@@ -431,7 +431,7 @@ function st(t, e, r, a, n, s) {
431
431
  }, 8, ["visible"])
432
432
  ], 64);
433
433
  }
434
- const at = /* @__PURE__ */ f(Qe, [["render", st]]), it = {}, ct = {
434
+ const at = /* @__PURE__ */ m(Qe, [["render", ot]]), it = {}, dt = {
435
435
  xmlns: "http://www.w3.org/2000/svg",
436
436
  viewBox: "0 0 24 24",
437
437
  fill: "none",
@@ -441,12 +441,12 @@ const at = /* @__PURE__ */ f(Qe, [["render", st]]), it = {}, ct = {
441
441
  "stroke-linejoin": "round",
442
442
  class: "icon icon-tabler icons-tabler-outline icon-tabler-columns"
443
443
  };
444
- function dt(t, e, r, a, n, s) {
445
- return o(), i("svg", ct, e[0] || (e[0] = [
444
+ function ct(t, e, r, a, n, o) {
445
+ return s(), i("svg", dt, e[0] || (e[0] = [
446
446
  j('<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)
447
447
  ]));
448
448
  }
449
- const ut = /* @__PURE__ */ f(it, [["render", dt]]), ht = {
449
+ const ut = /* @__PURE__ */ m(it, [["render", ct]]), ht = {
450
450
  props: { column: Object },
451
451
  emits: ["update-column"],
452
452
  data() {
@@ -464,19 +464,19 @@ const ut = /* @__PURE__ */ f(it, [["render", dt]]), ht = {
464
464
  ((t = this.column) == null ? void 0 : t.hidden) !== !0 && (this.value = !0);
465
465
  }
466
466
  }, pt = { class: "flex w-full gap-[8px] items-centr" };
467
- function bt(t, e, r, a, n, s) {
468
- var d, p;
469
- return o(), i("label", pt, [
467
+ function bt(t, e, r, a, n, o) {
468
+ var c, p;
469
+ return s(), i("label", pt, [
470
470
  z(l("input", {
471
471
  "onUpdate:modelValue": e[0] || (e[0] = (h) => n.value = h),
472
472
  type: "checkbox"
473
473
  }, null, 512), [
474
- [ge, n.value]
474
+ [xe, n.value]
475
475
  ]),
476
- F(" " + I(((d = r.column) == null ? void 0 : d.ua) || ((p = r.column) == null ? void 0 : p.title)), 1)
476
+ F(" " + I(((c = r.column) == null ? void 0 : c.ua) || ((p = r.column) == null ? void 0 : p.title)), 1)
477
477
  ]);
478
478
  }
479
- const ft = /* @__PURE__ */ f(ht, [["render", bt]]), mt = {
479
+ const ft = /* @__PURE__ */ m(ht, [["render", bt]]), mt = {
480
480
  components: { IconColumns: ut, AdminTableColumnsHiddenItem: ft },
481
481
  emits: ["update-columns"],
482
482
  props: { columns: Array },
@@ -487,15 +487,15 @@ const ft = /* @__PURE__ */ f(ht, [["render", bt]]), mt = {
487
487
  }
488
488
  }
489
489
  }, gt = { 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" }, xt = { class: "py-[10px] px-[10px] w-[260px]" }, yt = { 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" };
490
- function _t(t, e, r, a, n, s) {
491
- const d = c("IconColumns"), p = c("AdminTableColumnsHiddenItem"), h = c("VsPopover");
492
- return o(), x(h, {
490
+ function _t(t, e, r, a, n, o) {
491
+ const c = d("IconColumns"), p = d("AdminTableColumnsHiddenItem"), h = d("VsPopover");
492
+ return s(), x(h, {
493
493
  trigger: "click",
494
494
  placement: "bottom"
495
495
  }, {
496
496
  reference: y(() => [
497
497
  l("button", gt, [
498
- b(d, {
498
+ b(c, {
499
499
  height: "20",
500
500
  width: "16"
501
501
  })
@@ -505,10 +505,10 @@ function _t(t, e, r, a, n, s) {
505
505
  l("div", xt, [
506
506
  e[0] || (e[0] = l("h2", { class: "text-sm mb-[8px]" }, "Оберіть колонки, щоб приховати", -1)),
507
507
  l("ul", yt, [
508
- (o(!0), i(C, null, T(r.columns, (u, _) => (o(), i("li", { key: _ }, [
508
+ (s(!0), i(C, null, T(r.columns, (u, _) => (s(), i("li", { key: _ }, [
509
509
  b(p, {
510
510
  column: u,
511
- onUpdateColumn: s.updateColumn
511
+ onUpdateColumn: o.updateColumn
512
512
  }, null, 8, ["column", "onUpdateColumn"])
513
513
  ]))), 128))
514
514
  ])
@@ -517,14 +517,14 @@ function _t(t, e, r, a, n, s) {
517
517
  _: 1
518
518
  });
519
519
  }
520
- const kt = /* @__PURE__ */ f(mt, [["render", _t]]), wt = {}, vt = {
520
+ const kt = /* @__PURE__ */ m(mt, [["render", _t]]), wt = {}, vt = {
521
521
  class: "hidden sm:block shrink-0 size-3",
522
522
  xmlns: "http://www.w3.org/2000/svg",
523
523
  fill: "currentColor",
524
524
  viewBox: "0 0 16 16"
525
525
  };
526
- function Ct(t, e, r, a, n, s) {
527
- return o(), i("svg", vt, e[0] || (e[0] = [
526
+ function Ct(t, e, r, a, n, o) {
527
+ return s(), i("svg", vt, e[0] || (e[0] = [
528
528
  l("path", {
529
529
  "fill-rule": "evenodd",
530
530
  "clip-rule": "evenodd",
@@ -532,21 +532,21 @@ function Ct(t, e, r, a, n, s) {
532
532
  }, null, -1)
533
533
  ]));
534
534
  }
535
- const ne = /* @__PURE__ */ f(wt, [["render", Ct]]), $t = {}, It = { class: "vs-table-interface__table-wrp w-full rounded h-fit overflow-hidden" };
536
- function Tt(t, e, r, a, n, s) {
537
- return o(), i("div", It, e[0] || (e[0] = [
535
+ const le = /* @__PURE__ */ m(wt, [["render", Ct]]), $t = {}, It = { class: "vs-table-interface__table-wrp w-full rounded h-fit overflow-hidden" };
536
+ function Tt(t, e, r, a, n, o) {
537
+ return s(), i("div", It, e[0] || (e[0] = [
538
538
  j('<div><div class="p-5 min-h-[500px] flex flex-col justify-center items-center text-center"><svg class="w-48 mx-auto" viewBox="0 0 178 90" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="27" y="50.5" width="124" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="27" y="50.5" width="124" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-50 dark:stroke-neutral-700/10"></rect><rect x="34.5" y="58" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="61" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="73" width="77" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/30"></rect><rect x="27" y="36" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="39" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="51" width="92" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><g filter="url(#filter1)"><rect x="12" y="6" width="154" height="40" rx="8" fill="currentColor" class="fill-white dark:fill-neutral-800" shape-rendering="crispEdges"></rect><rect x="12.5" y="6.5" width="153" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/60" shape-rendering="crispEdges"></rect><rect x="20" y="14" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="17" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="29" width="106" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect></g><defs><filter id="filter1" x="0" y="0" width="178" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="6"></feOffset><feGaussianBlur stdDeviation="6"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1187_14810"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1187_14810" result="shape"></feBlend></filter></defs></svg><div class="max-w-sm mx-auto mt-6"><p class="font-medium text-gray-800 dark:text-neutral-200"> Дані для відображення відсутні </p><p class="mt-2 text-sm text-gray-500 dark:text-neutral-500"> Змініть параметри пошуку або спробуйте пізніше </p></div></div></div>', 1)
539
539
  ]));
540
540
  }
541
- const Vt = /* @__PURE__ */ f($t, [["render", Tt]]), St = {
541
+ const Vt = /* @__PURE__ */ m($t, [["render", Tt]]), St = {
542
542
  props: { row: Object, column: Object, table: String }
543
543
  };
544
- function At(t, e, r, a, n, s) {
545
- var d, p, h, u, _, w, k, $;
546
- return o(), x(xe(
547
- ((d = r.column) == null ? void 0 : d.format) === "custom" ? (p = r.column) == null ? void 0 : p.component : t.$componentsConfig[`table-format-${((u = (h = r.column) == null ? void 0 : h.format) == null ? void 0 : u.toLowerCase()) || "text"}`]
544
+ function At(t, e, r, a, n, o) {
545
+ var c, p, h, u, _, w, k, $;
546
+ return s(), x(ye(
547
+ ((c = r.column) == null ? void 0 : c.format) === "custom" ? (p = r.column) == null ? void 0 : p.component : t.$componentsConfig[`table-format-${((u = (h = r.column) == null ? void 0 : h.format) == null ? void 0 : u.toLowerCase()) || "text"}`]
548
548
  ), {
549
- onUpdateTable: e[0] || (e[0] = (m) => t.$emit("update-table")),
549
+ onUpdateTable: e[0] || (e[0] = (g) => t.$emit("update-table")),
550
550
  name: (_ = r.column) == null ? void 0 : _.name,
551
551
  data: r.row,
552
552
  value: (k = r.row) == null ? void 0 : k[(w = r.column) == null ? void 0 : w.name],
@@ -554,7 +554,7 @@ function At(t, e, r, a, n, s) {
554
554
  edit: ($ = r.column) == null ? void 0 : $.edit
555
555
  }, null, 40, ["name", "data", "value", "table", "edit"]);
556
556
  }
557
- const le = /* @__PURE__ */ f(St, [["render", At]]), Ft = {}, Dt = {
557
+ const se = /* @__PURE__ */ m(St, [["render", At]]), Ft = {}, Dt = {
558
558
  xmlns: "http://www.w3.org/2000/svg",
559
559
  viewBox: "0 0 24 24",
560
560
  fill: "none",
@@ -564,8 +564,8 @@ const le = /* @__PURE__ */ f(St, [["render", At]]), Ft = {}, Dt = {
564
564
  "stroke-linejoin": "round",
565
565
  class: "icon icon-tabler icons-tabler-outline icon-tabler-minus"
566
566
  };
567
- function Mt(t, e, r, a, n, s) {
568
- return o(), i("svg", Dt, e[0] || (e[0] = [
567
+ function Mt(t, e, r, a, n, o) {
568
+ return s(), i("svg", Dt, e[0] || (e[0] = [
569
569
  l("path", {
570
570
  stroke: "none",
571
571
  d: "M0 0h24v24H0z",
@@ -574,16 +574,16 @@ function Mt(t, e, r, a, n, s) {
574
574
  l("path", { d: "M5 12l14 0" }, null, -1)
575
575
  ]));
576
576
  }
577
- const jt = /* @__PURE__ */ f(Ft, [["render", Mt]]), zt = {
578
- components: { IconPlus: ne, IconMinus: jt },
577
+ const jt = /* @__PURE__ */ m(Ft, [["render", Mt]]), zt = {
578
+ components: { IconPlus: le, IconMinus: jt },
579
579
  props: { title: String },
580
580
  data() {
581
581
  return { expanded: !1 };
582
582
  }
583
583
  }, Pt = { class: "hs-accordion" }, qt = { class: "py-0.5 flex items-center gap-x-0.5 w-full" }, Bt = { class: "text-sm font-medium" }, Lt = { class: "w-full duration-150 before:block before:absolute relative inline-block b cursor-pointer" };
584
- function Ut(t, e, r, a, n, s) {
585
- const d = c("IconPlus"), p = c("IconMinus");
586
- return o(), i("div", null, [
584
+ function Ut(t, e, r, a, n, o) {
585
+ const c = d("IconPlus"), p = d("IconMinus");
586
+ return s(), i("div", null, [
587
587
  l("div", null, [
588
588
  l("div", Pt, [
589
589
  l("div", qt, [
@@ -597,18 +597,18 @@ function Ut(t, e, r, a, n, s) {
597
597
  class: "size-6 flex justify-center items-center hover:bg-gray-100 rounded-md",
598
598
  onClick: e[1] || (e[1] = (h) => n.expanded = !n.expanded)
599
599
  }, [
600
- n.expanded ? (o(), x(p, {
600
+ n.expanded ? (s(), x(p, {
601
601
  key: 1,
602
602
  width: "14"
603
- })) : (o(), x(d, { key: 0 }))
603
+ })) : (s(), x(c, { key: 0 }))
604
604
  ])
605
605
  ]),
606
606
  b(P, { name: "fade" }, {
607
607
  default: y(() => [
608
608
  z(l("div", Lt, [
609
- ye(t.$slots, "default", {}, void 0, !0)
609
+ _e(t.$slots, "default", {}, void 0, !0)
610
610
  ], 512), [
611
- [re, n.expanded]
611
+ [ne, n.expanded]
612
612
  ])
613
613
  ]),
614
614
  _: 3
@@ -617,14 +617,14 @@ function Ut(t, e, r, a, n, s) {
617
617
  ])
618
618
  ]);
619
619
  }
620
- const Ot = /* @__PURE__ */ f(zt, [["render", Ut], ["__scopeId", "data-v-f5ecdb9a"]]), Et = {
620
+ const Ot = /* @__PURE__ */ m(zt, [["render", Ut], ["__scopeId", "data-v-4139bc00"]]), Et = {
621
621
  components: {
622
- AdminComponentIs: le,
622
+ AdminComponentIs: se,
623
623
  AdminTree: Ot,
624
- VsNoData: ue,
625
- VsWidgetComments: he,
626
- VsWidgetMap: pe,
627
- VsWidgetFileList: be
624
+ VsNoData: he,
625
+ VsWidgetComments: pe,
626
+ VsWidgetMap: be,
627
+ VsWidgetFileList: fe
628
628
  },
629
629
  props: { table: String, columns: Array, row: Object }
630
630
  }, Nt = {
@@ -633,31 +633,31 @@ const Ot = /* @__PURE__ */ f(zt, [["render", Ut], ["__scopeId", "data-v-f5ecdb9a
633
633
  }, Ht = {
634
634
  class: "border-l",
635
635
  style: { height: "calc(100vh - 360px)" }
636
- }, Wt = { class: "py-1 flex justify-between items-center gap-x-4" }, Rt = { class: "col-span-1" }, Gt = { class: "inline-flex items-center gap-x-2 text-[13px] text-gray-500 dark:text-neutral-500" }, Zt = { class: "col-span-2" }, Jt = { class: "font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, Kt = { class: "table-info-card" }, Qt = { class: "table-info-card" };
637
- function Xt(t, e, r, a, n, s) {
636
+ }, Wt = { class: "flex items-center justify-between py-1 gap-x-4" }, Rt = { class: "col-span-1" }, Gt = { class: "inline-flex items-center gap-x-2 text-[13px] text-gray-500 dark:text-neutral-500" }, Zt = { class: "col-span-2" }, Jt = { class: "font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, Kt = { class: "table-info-card" }, Qt = { class: "table-info-card" };
637
+ function Xt(t, e, r, a, n, o) {
638
638
  var k, $;
639
- const d = c("AdminComponentIs"), p = c("AdminTree"), h = c("VsWidgetMap"), u = c("VsNoData"), _ = c("VsWidgetComments"), w = c("VsWidgetFileList");
640
- return o(), i("div", Nt, [
639
+ const c = d("AdminComponentIs"), p = d("AdminTree"), h = d("VsWidgetMap"), u = d("VsNoData"), _ = d("VsWidgetComments"), w = d("VsWidgetFileList");
640
+ return s(), i("div", Nt, [
641
641
  e[0] || (e[0] = l("div", { class: "p-[10px] pl-[18px] pb-[18px] border-b" }, [
642
642
  l("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
643
643
  ], -1)),
644
644
  l("div", Ht, [
645
- ($ = (k = t.$route) == null ? void 0 : k.query) != null && $.card ? (o(), i(C, { key: 0 }, [
646
- r.row ? (o(), x(p, {
645
+ ($ = (k = t.$route) == null ? void 0 : k.query) != null && $.card ? (s(), i(C, { key: 0 }, [
646
+ r.row ? (s(), x(p, {
647
647
  key: 0,
648
648
  title: "Основна інформація",
649
- class: "border-b p-[10px] py-[16px] w-[280px]"
649
+ class: "border-b p-[10px] py-[16px]"
650
650
  }, {
651
651
  default: y(() => [
652
- (o(!0), i(C, null, T(r.columns, (m) => (o(), i("dl", Wt, [
652
+ (s(!0), i(C, null, T(r.columns, (g) => (s(), i("dl", Wt, [
653
653
  l("dt", Rt, [
654
- l("p", Gt, I((m == null ? void 0 : m.ua) || (m == null ? void 0 : m.title)) + ": ", 1)
654
+ l("p", Gt, I((g == null ? void 0 : g.ua) || (g == null ? void 0 : g.title)) + ": ", 1)
655
655
  ]),
656
656
  l("dd", Zt, [
657
657
  l("p", Jt, [
658
- b(d, {
658
+ b(c, {
659
659
  row: r.row,
660
- column: m,
660
+ column: g,
661
661
  table: r.table
662
662
  }, null, 8, ["row", "column", "table"])
663
663
  ])
@@ -668,16 +668,16 @@ function Xt(t, e, r, a, n, s) {
668
668
  })) : v("", !0),
669
669
  b(p, {
670
670
  title: "Карта",
671
- class: "border-b p-[10px] py-[16px] w-[280px]"
671
+ class: "border-b p-[10px] py-[16px]"
672
672
  }, {
673
673
  default: y(() => {
674
- var m, S;
674
+ var g, S;
675
675
  return [
676
- (m = r.row) != null && m.geom ? (o(), x(h, {
676
+ (g = r.row) != null && g.geom ? (s(), x(h, {
677
677
  key: 0,
678
678
  geometry: (S = r.row) == null ? void 0 : S.geom,
679
679
  zoom: 14
680
- }, null, 8, ["geometry"])) : (o(), x(u, {
680
+ }, null, 8, ["geometry"])) : (s(), x(u, {
681
681
  key: 1,
682
682
  title: "У об'єкта відсутня геометрія",
683
683
  text: "",
@@ -689,14 +689,14 @@ function Xt(t, e, r, a, n, s) {
689
689
  }),
690
690
  b(p, {
691
691
  title: "Коментарі",
692
- class: "border-b p-[10px] py-[16px] w-[280px]"
692
+ class: "border-b p-[10px] py-[16px]"
693
693
  }, {
694
694
  default: y(() => {
695
- var m;
695
+ var g;
696
696
  return [
697
697
  l("div", Kt, [
698
698
  b(_, {
699
- id: (m = r.row) == null ? void 0 : m.id
699
+ id: (g = r.row) == null ? void 0 : g.id
700
700
  }, null, 8, ["id"])
701
701
  ])
702
702
  ];
@@ -705,28 +705,28 @@ function Xt(t, e, r, a, n, s) {
705
705
  }),
706
706
  b(p, {
707
707
  title: "Файли",
708
- class: "border-b p-[10px] py-[16px] w-[280px]"
708
+ class: "border-b p-[10px] py-[16px]"
709
709
  }, {
710
710
  default: y(() => {
711
- var m;
711
+ var g;
712
712
  return [
713
713
  l("div", Qt, [
714
714
  b(w, {
715
- id: (m = r.row) == null ? void 0 : m.id
715
+ id: (g = r.row) == null ? void 0 : g.id
716
716
  }, null, 8, ["id"])
717
717
  ])
718
718
  ];
719
719
  }),
720
720
  _: 1
721
721
  })
722
- ], 64)) : (o(), x(u, {
722
+ ], 64)) : (s(), x(u, {
723
723
  key: 1,
724
724
  text: "Оберіть один з об'єктів в таблиці для відображення інформаціі про нього"
725
725
  }))
726
726
  ])
727
727
  ]);
728
728
  }
729
- const Yt = /* @__PURE__ */ f(Et, [["render", Xt]]), er = {}, tr = {
729
+ const Yt = /* @__PURE__ */ m(Et, [["render", Xt]]), er = {}, tr = {
730
730
  class: "hidden xl:block shrink-0 size-4",
731
731
  xmlns: "http://www.w3.org/2000/svg",
732
732
  viewBox: "0 0 24 24",
@@ -736,8 +736,8 @@ const Yt = /* @__PURE__ */ f(Et, [["render", Xt]]), er = {}, tr = {
736
736
  "stroke-linecap": "round",
737
737
  "stroke-linejoin": "round"
738
738
  };
739
- function rr(t, e, r, a, n, s) {
740
- return o(), i("svg", tr, e[0] || (e[0] = [
739
+ function rr(t, e, r, a, n, o) {
740
+ return s(), i("svg", tr, e[0] || (e[0] = [
741
741
  l("rect", {
742
742
  width: "18",
743
743
  height: "18",
@@ -749,7 +749,7 @@ function rr(t, e, r, a, n, s) {
749
749
  l("path", { d: "m8 9 3 3-3 3" }, null, -1)
750
750
  ]));
751
751
  }
752
- const nr = /* @__PURE__ */ f(er, [["render", rr]]), lr = {}, or = {
752
+ const nr = /* @__PURE__ */ m(er, [["render", rr]]), lr = {}, sr = {
753
753
  class: "h21yx vs0hq",
754
754
  xmlns: "http://www.w3.org/2000/svg",
755
755
  width: "24",
@@ -761,12 +761,12 @@ const nr = /* @__PURE__ */ f(er, [["render", rr]]), lr = {}, or = {
761
761
  "stroke-linecap": "round",
762
762
  "stroke-linejoin": "round"
763
763
  };
764
- function sr(t, e, r, a, n, s) {
765
- return o(), i("svg", or, e[0] || (e[0] = [
764
+ function or(t, e, r, a, n, o) {
765
+ return s(), i("svg", sr, e[0] || (e[0] = [
766
766
  j('<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)
767
767
  ]));
768
768
  }
769
- const ar = /* @__PURE__ */ f(lr, [["render", sr]]), ir = {
769
+ const ar = /* @__PURE__ */ m(lr, [["render", or]]), ir = {
770
770
  props: { scheme: { type: Object }, onFilters: { type: Number } },
771
771
  components: { IconFilter: ar },
772
772
  data() {
@@ -779,35 +779,35 @@ const ar = /* @__PURE__ */ f(lr, [["render", sr]]), ir = {
779
779
  this.isFilters && t.classList.contains("filter-container") && (this.isFilters = !1);
780
780
  }
781
781
  }
782
- }, cr = {
782
+ }, dr = {
783
783
  key: 0,
784
784
  class: "font-medium text-[10px] py-0.5 px-[5px] bg-gray-800 text-white leading-3 rounded-full dark:bg-neutral-500"
785
- }, dr = { 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" };
786
- function ur(t, e, r, a, n, s) {
787
- const d = c("IconFilter"), p = c("VsFilter");
788
- return o(), i(C, null, [
785
+ }, cr = { 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" };
786
+ function ur(t, e, r, a, n, o) {
787
+ const c = d("IconFilter"), p = d("VsFilter");
788
+ return s(), i(C, null, [
789
789
  l("button", {
790
790
  onClick: e[0] || (e[0] = (h) => n.isFilters = !n.isFilters),
791
791
  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"
792
792
  }, [
793
- b(d, {
793
+ b(c, {
794
794
  height: "16",
795
795
  width: "16"
796
796
  }),
797
797
  e[4] || (e[4] = F(" Фільтри ")),
798
- r.onFilters ? (o(), i("span", cr, I(r.onFilters), 1)) : v("", !0)
798
+ r.onFilters ? (s(), i("span", dr, I(r.onFilters), 1)) : v("", !0)
799
799
  ]),
800
800
  b(P, { name: "fade" }, {
801
801
  default: y(() => {
802
802
  var h;
803
803
  return [
804
804
  z(l("div", {
805
- onClick: e[3] || (e[3] = (...u) => s.closeFilter && s.closeFilter(...u)),
805
+ onClick: e[3] || (e[3] = (...u) => o.closeFilter && o.closeFilter(...u)),
806
806
  style: { height: "100vh" },
807
807
  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)]"
808
808
  }, [
809
- l("div", dr, [
810
- (h = r.scheme) != null && h.length ? (o(), x(p, {
809
+ l("div", cr, [
810
+ (h = r.scheme) != null && h.length ? (s(), x(p, {
811
811
  key: 0,
812
812
  ref: "filter",
813
813
  scheme: r.scheme,
@@ -821,7 +821,7 @@ function ur(t, e, r, a, n, s) {
821
821
  }, null, 8, ["scheme"])) : v("", !0)
822
822
  ])
823
823
  ], 512), [
824
- [re, n.isFilters]
824
+ [ne, n.isFilters]
825
825
  ])
826
826
  ];
827
827
  }),
@@ -829,7 +829,7 @@ function ur(t, e, r, a, n, s) {
829
829
  })
830
830
  ], 64);
831
831
  }
832
- const hr = /* @__PURE__ */ f(ir, [["render", ur]]), pr = {
832
+ const hr = /* @__PURE__ */ m(ir, [["render", ur]]), pr = {
833
833
  props: { tabsList: { type: Array, default: () => [] }, filterState: String }
834
834
  }, br = {
835
835
  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",
@@ -837,17 +837,17 @@ const hr = /* @__PURE__ */ f(ir, [["render", ur]]), pr = {
837
837
  role: "tablist",
838
838
  "aria-orientation": "horizontal"
839
839
  }, fr = ["onClick"];
840
- function mr(t, e, r, a, n, s) {
841
- return o(), i("nav", br, [
842
- (o(!0), i(C, null, T(r.tabsList, (d) => (o(), i("button", {
843
- onClick: (p) => t.$emit("update:filterState", d == null ? void 0 : d.name),
840
+ function mr(t, e, r, a, n, o) {
841
+ return s(), i("nav", br, [
842
+ (s(!0), i(C, null, T(r.tabsList, (c) => (s(), i("button", {
843
+ onClick: (p) => t.$emit("update:filterState", c == null ? void 0 : c.name),
844
844
  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", {
845
- " 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": (d == null ? void 0 : d.name) === r.filterState
845
+ " 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": (c == null ? void 0 : c.name) === r.filterState
846
846
  }])
847
- }, I(d == null ? void 0 : d.label), 11, fr))), 256))
847
+ }, I(c == null ? void 0 : c.label), 11, fr))), 256))
848
848
  ]);
849
849
  }
850
- const gr = /* @__PURE__ */ f(pr, [["render", mr]]), xr = {}, yr = {
850
+ const gr = /* @__PURE__ */ m(pr, [["render", mr]]), xr = {}, yr = {
851
851
  xmlns: "http://www.w3.org/2000/svg",
852
852
  viewBox: "0 0 24 24",
853
853
  fill: "none",
@@ -857,8 +857,8 @@ const gr = /* @__PURE__ */ f(pr, [["render", mr]]), xr = {}, yr = {
857
857
  "stroke-linejoin": "round",
858
858
  class: "icon icon-tabler icons-tabler-outline icon-tabler-filter"
859
859
  };
860
- function _r(t, e, r, a, n, s) {
861
- return o(), i("svg", yr, e[0] || (e[0] = [
860
+ function _r(t, e, r, a, n, o) {
861
+ return s(), i("svg", yr, e[0] || (e[0] = [
862
862
  l("path", {
863
863
  stroke: "none",
864
864
  d: "M0 0h24v24H0z",
@@ -867,19 +867,19 @@ function _r(t, e, r, a, n, s) {
867
867
  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)
868
868
  ]));
869
869
  }
870
- const kr = /* @__PURE__ */ f(xr, [["render", _r]]), wr = {
870
+ const kr = /* @__PURE__ */ m(xr, [["render", _r]]), wr = {
871
871
  components: { IconFilter2: kr },
872
872
  props: { filterCustom: String, customList: Array }
873
873
  }, vr = { 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" }, Cr = { class: "flex flex-col gap-[4px]" }, $r = ["onClick"];
874
- function Ir(t, e, r, a, n, s) {
875
- const d = c("IconFilter2"), p = c("VsPopover");
876
- return o(), x(p, {
874
+ function Ir(t, e, r, a, n, o) {
875
+ const c = d("IconFilter2"), p = d("VsPopover");
876
+ return s(), x(p, {
877
877
  ref: "popover",
878
878
  placement: "bottom"
879
879
  }, {
880
880
  reference: y(() => [
881
881
  l("button", vr, [
882
- b(d, {
882
+ b(c, {
883
883
  height: "20",
884
884
  width: "20"
885
885
  })
@@ -887,7 +887,7 @@ function Ir(t, e, r, a, n, s) {
887
887
  ]),
888
888
  default: y(() => [
889
889
  l("div", Cr, [
890
- (o(!0), i(C, null, T(r.customList, (h, u) => (o(), i("button", {
890
+ (s(!0), i(C, null, T(r.customList, (h, u) => (s(), i("button", {
891
891
  onClick: (_) => {
892
892
  var w;
893
893
  t.$emit("update:filterCustom", h == null ? void 0 : h.name), (w = t.$refs) == null || w.popover.togglePopover();
@@ -907,7 +907,7 @@ function Ir(t, e, r, a, n, s) {
907
907
  _: 1
908
908
  }, 512);
909
909
  }
910
- const Tr = /* @__PURE__ */ f(wr, [["render", Ir]]), Vr = {
910
+ const Tr = /* @__PURE__ */ m(wr, [["render", Ir]]), Vr = {
911
911
  props: { table: String, title: String },
912
912
  components: {
913
913
  AdminTableControl: Re,
@@ -915,11 +915,11 @@ const Tr = /* @__PURE__ */ f(wr, [["render", Ir]]), Vr = {
915
915
  AdminTableColumnsHidden: kt,
916
916
  AdminTableColumn: Ve,
917
917
  AdminNodata: Vt,
918
- IconPlus: ne,
919
- IconSearch: fe,
918
+ IconPlus: le,
919
+ IconSearch: me,
920
920
  AdminTableCardInfo: Yt,
921
921
  IconOpenCard: nr,
922
- AdminComponentIs: le,
922
+ AdminComponentIs: se,
923
923
  AdminTableFilters: hr,
924
924
  AdminTableTabs: gr,
925
925
  AdminTableCustomFilters: Tr
@@ -959,10 +959,6 @@ const Tr = /* @__PURE__ */ f(wr, [["render", Ir]]), Vr = {
959
959
  var t, e;
960
960
  return !((t = this.tableData) != null && t.rows) || !((e = this.columns) != null && e.length);
961
961
  },
962
- rowWidth() {
963
- var t;
964
- return ((t = this.tableData) == null ? void 0 : t.width) || "100px";
965
- },
966
962
  activeCardRow() {
967
963
  var t, e;
968
964
  return ((e = (t = this.tableData) == null ? void 0 : t.rows) == null ? void 0 : e.find((r) => {
@@ -1010,8 +1006,13 @@ const Tr = /* @__PURE__ */ f(wr, [["render", Ir]]), Vr = {
1010
1006
  },
1011
1007
  methods: {
1012
1008
  async checkUrlMounted() {
1013
- var t, e, r, a, n, s, d, p, h;
1014
- this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (r = this.$route) == null ? void 0 : r.query) == null ? void 0 : a.limit) || 20, this.filterState = ((s = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : s.filterState) || null, this.filterCustom = ((p = (d = this.$route) == null ? void 0 : d.query) == null ? void 0 : p.filterCustom) || null, (h = this.$route) != null && h.query.card && (this.isVisibleCardInfo = !0);
1009
+ var t, e, r, a, n, o, c, p, h;
1010
+ this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (r = this.$route) == null ? void 0 : r.query) == null ? void 0 : a.limit) || 20, this.filterState = ((o = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : o.filterState) || null, this.filterCustom = ((p = (c = this.$route) == null ? void 0 : c.query) == null ? void 0 : p.filterCustom) || null, (h = this.$route) != null && h.query.card && (this.isVisibleCardInfo = !0);
1011
+ },
1012
+ rowWidth(t) {
1013
+ var r, a;
1014
+ const e = (a = (r = this.tableData) == null ? void 0 : r.columns) == null ? void 0 : a.find((n) => n.name === t);
1015
+ if (e) return e == null ? void 0 : e.width;
1015
1016
  },
1016
1017
  unmountedData() {
1017
1018
  this.page = 1, this.filterCustom = null, this.filterState = null, this.isVisibleCardInfo = !1, this.filterScheme = null, this.filters = null, this.onFilters = 0;
@@ -1087,23 +1088,23 @@ const Tr = /* @__PURE__ */ f(wr, [["render", Ir]]), Vr = {
1087
1088
  }, Mr = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, jr = { class: "flex" }, zr = { class: "flex gap-[6px] ml-auto" }, Pr = { class: "inline-block w-full align-middle" }, qr = {
1088
1089
  key: 0,
1089
1090
  class: "relative min-w-full divide-y divide-gray-200 table-fixed dark:divide-neutral-700"
1090
- }, Br = { class: "sticky top-0 bg-white w-full after:absolute after:content-[''] z-[1] after:block after:w-full after:h-px after:bg-stone-200" }, Lr = { class: "right-0 border-t border-stone-200" }, Ur = { class: "divide-y divide-gray-200" }, Or = { class: "text-sm text-gray-600 px-4 py-3 whitespace-nowrap" }, Er = ["onClick"], Nr = ["onClick"], Hr = {
1091
+ }, Br = { class: "sticky top-0 bg-white w-full after:absolute after:content-[''] z-[1] after:block after:w-full after:h-px after:bg-stone-200" }, Lr = { class: "right-0 border-t border-stone-200" }, Ur = { class: "divide-y divide-gray-200" }, Or = { class: "text-sm text-gray-600 px-4 py-3" }, Er = ["onClick"], Nr = ["onClick"], Hr = {
1091
1092
  key: 0,
1092
1093
  class: "text-center sticky right-0 bg-white w-[80px] px-[10px]"
1093
1094
  }, Wr = { class: "p-[20px] flex justify-end w-full" };
1094
- function Rr(t, e, r, a, n, s) {
1095
+ function Rr(t, e, r, a, n, o) {
1095
1096
  var q, B, L, U, O, E, N, H, W, R, G, Z, J, K;
1096
- const d = c("IconPlus"), p = c("router-link"), h = c("AdminTableTabs"), u = c("IconSearch"), _ = c("VsText"), w = c("AdminTableCustomFilters"), k = c("AdminTableColumnsHidden"), $ = c("AdminTableExport"), m = c("AdminTableFilters"), S = c("IconOpenCard"), D = c("AdminTableColumn"), M = c("AdminComponentIs"), oe = c("AdminTableControl"), se = c("AdminNodata"), ae = c("VsPagination"), ie = c("AdminTableCardInfo");
1097
- return o(), i("div", Sr, [
1097
+ const c = d("IconPlus"), p = d("router-link"), h = d("AdminTableTabs"), u = d("IconSearch"), _ = d("VsText"), w = d("AdminTableCustomFilters"), k = d("AdminTableColumnsHidden"), $ = d("AdminTableExport"), g = d("AdminTableFilters"), S = d("IconOpenCard"), D = d("AdminTableColumn"), M = d("AdminComponentIs"), oe = d("AdminTableControl"), ae = d("AdminNodata"), ie = d("VsPagination"), de = d("AdminTableCardInfo");
1098
+ return s(), i("div", Sr, [
1098
1099
  l("div", Ar, [
1099
1100
  l("h2", Fr, I(r.title), 1),
1100
- s.isForm ? (o(), x(p, {
1101
+ o.isForm ? (s(), x(p, {
1101
1102
  key: 0,
1102
1103
  to: `/add?table=${(B = (q = t.$route) == null ? void 0 : q.params) == null ? void 0 : B.catchAll}`,
1103
1104
  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"
1104
1105
  }, {
1105
1106
  default: y(() => [
1106
- b(d, {
1107
+ b(c, {
1107
1108
  height: "16",
1108
1109
  width: "16"
1109
1110
  }),
@@ -1114,11 +1115,11 @@ function Rr(t, e, r, a, n, s) {
1114
1115
  ]),
1115
1116
  l("div", Dr, [
1116
1117
  l("div", Mr, [
1117
- (U = (L = n.tableData) == null ? void 0 : L.filterState) != null && U.length ? (o(), x(h, {
1118
+ (U = (L = n.tableData) == null ? void 0 : L.filterState) != null && U.length ? (s(), x(h, {
1118
1119
  key: 0,
1119
1120
  tabsList: (O = n.tableData) == null ? void 0 : O.filterState,
1120
1121
  filterState: n.filterState,
1121
- "onUpdate:filterState": e[0] || (e[0] = (g) => n.filterState = g)
1122
+ "onUpdate:filterState": e[0] || (e[0] = (f) => n.filterState = f)
1122
1123
  }, null, 8, ["tabsList", "filterState"])) : v("", !0),
1123
1124
  l("div", jr, [
1124
1125
  l("div", {
@@ -1134,33 +1135,33 @@ function Rr(t, e, r, a, n, s) {
1134
1135
  }),
1135
1136
  b(_, {
1136
1137
  modelValue: n.searchValue,
1137
- "onUpdate:modelValue": e[1] || (e[1] = (g) => n.searchValue = g),
1138
+ "onUpdate:modelValue": e[1] || (e[1] = (f) => n.searchValue = f),
1138
1139
  placeholder: "Пошук...",
1139
1140
  clearable: !0,
1140
1141
  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"
1141
1142
  }, null, 8, ["modelValue"]),
1142
1143
  l("div", zr, [
1143
- (N = (E = n.tableData) == null ? void 0 : E.filterCustom) != null && N.length ? (o(), x(w, {
1144
+ (N = (E = n.tableData) == null ? void 0 : E.filterCustom) != null && N.length ? (s(), x(w, {
1144
1145
  key: 0,
1145
1146
  customList: (H = n.tableData) == null ? void 0 : H.filterCustom,
1146
1147
  filterCustom: n.filterCustom,
1147
- "onUpdate:filterCustom": e[2] || (e[2] = (g) => n.filterCustom = g)
1148
+ "onUpdate:filterCustom": e[2] || (e[2] = (f) => n.filterCustom = f)
1148
1149
  }, null, 8, ["customList", "filterCustom"])) : v("", !0),
1149
1150
  b(k, {
1150
1151
  columns: (W = n.tableData) == null ? void 0 : W.columns,
1151
- onUpdateColumns: e[3] || (e[3] = (g) => n.tableData.columns = g)
1152
+ onUpdateColumns: e[3] || (e[3] = (f) => n.tableData.columns = f)
1152
1153
  }, null, 8, ["columns"]),
1153
1154
  b($, {
1154
1155
  table: r.table,
1155
1156
  columns: (R = n.tableData) == null ? void 0 : R.columns
1156
1157
  }, null, 8, ["table", "columns"]),
1157
- b(m, {
1158
+ b(g, {
1158
1159
  scheme: n.filterScheme,
1159
1160
  onFilters: n.onFilters,
1160
- onFilterChange: s.filterChange
1161
+ onFilterChange: o.filterChange
1161
1162
  }, null, 8, ["scheme", "onFilters", "onFilterChange"]),
1162
1163
  l("button", {
1163
- onClick: e[4] || (e[4] = (...g) => s.toggleCardInfo && s.toggleCardInfo(...g)),
1164
+ onClick: e[4] || (e[4] = (...f) => o.toggleCardInfo && o.toggleCardInfo(...f)),
1164
1165
  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"
1165
1166
  }, [
1166
1167
  b(S, {
@@ -1173,62 +1174,65 @@ function Rr(t, e, r, a, n, s) {
1173
1174
  class: V(["flex items-start justify-start w-full space-y-5", { "pr-[20px]": !n.isVisibleCardInfo }])
1174
1175
  }, [
1175
1176
  l("div", {
1176
- style: _e({
1177
+ style: re({
1177
1178
  height: (Z = (G = n.tableData) == null ? void 0 : G.filterState) != null && Z.length ? "calc(100vh - 370px)" : "calc(100vh - 315px)"
1178
1179
  }),
1179
1180
  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"
1180
1181
  }, [
1181
1182
  l("div", Pr, [
1182
- s.isNoData ? (o(), x(se, { key: 1 })) : (o(), i("table", qr, [
1183
+ o.isNoData ? (s(), x(ae, { key: 1 })) : (s(), i("table", qr, [
1183
1184
  l("thead", Br, [
1184
1185
  l("tr", Lr, [
1185
- (o(!0), i(C, null, T(s.columns, (g) => (o(), x(D, {
1186
- key: g.name,
1187
- data: g,
1186
+ (s(!0), i(C, null, T(o.columns, (f) => (s(), x(D, {
1187
+ key: f.name,
1188
+ style: re({
1189
+ width: o.rowWidth(f == null ? void 0 : f.name)
1190
+ }),
1191
+ data: f,
1188
1192
  activeColumn: n.activeColumn,
1189
- onChangeActive: s.changeActiveColumn
1190
- }, null, 8, ["data", "activeColumn", "onChangeActive"]))), 128)),
1193
+ onChangeActive: o.changeActiveColumn
1194
+ }, null, 8, ["style", "data", "activeColumn", "onChangeActive"]))), 128)),
1191
1195
  e[6] || (e[6] = l("th", { class: "w-[70px] sticky right-0 top-0 bg-white" }, null, -1))
1192
1196
  ])
1193
1197
  ]),
1194
1198
  l("tbody", Ur, [
1195
- (o(!0), i(C, null, T((J = n.tableData) == null ? void 0 : J.rows, (g, ce) => {
1199
+ (s(!0), i(C, null, T((J = n.tableData) == null ? void 0 : J.rows, (f, ce) => {
1196
1200
  var Q, X, Y;
1197
- return o(), i("tr", { key: ce }, [
1201
+ return s(), i("tr", { key: ce }, [
1198
1202
  l("td", Or, [
1199
1203
  l("button", {
1200
- onClick: () => s.pushToCard(g == null ? void 0 : g.id),
1204
+ onClick: () => o.pushToCard(f == null ? void 0 : f.id),
1201
1205
  class: V(["text-sm font-medium", [
1202
1206
  ((Q = n.tableData) == null ? void 0 : Q.card) === !1 ? "" : "text-blue-600 decoration-2 focus:outline-none focus:underline hover:text-blue-600 hover:underline"
1203
1207
  ]])
1204
1208
  }, [
1205
1209
  b(M, {
1206
- row: g,
1207
- column: s.columns[0],
1210
+ row: f,
1211
+ column: o.columns[0],
1208
1212
  table: r.table,
1209
- onUpdateTable: s.getTableData
1213
+ onUpdateTable: o.getTableData
1210
1214
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1211
1215
  ], 10, Er)
1212
1216
  ]),
1213
- (o(!0), i(C, null, T((X = s.columns) == null ? void 0 : X.slice(1), (ee) => (o(), i("td", {
1214
- onClick: (Qr) => s.changeActiveCardInfo(g == null ? void 0 : g.id),
1217
+ (s(!0), i(C, null, T((X = o.columns) == null ? void 0 : X.slice(1), (ee) => (s(), i("td", {
1218
+ onClick: (Qr) => o.changeActiveCardInfo(f == null ? void 0 : f.id),
1215
1219
  class: V(["text-start px-3 py-3 text-sm text-gray-600 whitespace-nowrap", { "cursor-pointer": n.isVisibleCardInfo }]),
1216
1220
  key: ee.name
1217
1221
  }, [
1218
1222
  b(M, {
1219
- row: g,
1223
+ row: f,
1220
1224
  column: ee,
1221
1225
  table: r.table,
1222
- onUpdateTable: s.getTableData
1226
+ onUpdateTable: o.getTableData
1223
1227
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1224
1228
  ], 10, Nr))), 128)),
1225
- (Y = s.getActions) != null && Y.length ? (o(), i("td", Hr, [
1229
+ (Y = o.getActions) != null && Y.length ? (s(), i("td", Hr, [
1226
1230
  b(oe, {
1227
- actions: s.getActions,
1228
- isForm: s.isForm,
1229
- item: g,
1231
+ actions: o.getActions,
1232
+ isForm: o.isForm,
1233
+ item: f,
1230
1234
  table: r.table,
1231
- onUpdateTable: s.getTableData
1235
+ onUpdateTable: o.getTableData
1232
1236
  }, null, 8, ["actions", "isForm", "item", "table", "onUpdateTable"])
1233
1237
  ])) : v("", !0)
1234
1238
  ]);
@@ -1239,26 +1243,26 @@ function Rr(t, e, r, a, n, s) {
1239
1243
  ], 4)
1240
1244
  ], 2),
1241
1245
  l("div", Wr, [
1242
- n.limit ? (o(), x(ae, {
1246
+ n.limit ? (s(), x(ie, {
1243
1247
  key: 0,
1244
1248
  goTo: !1,
1245
1249
  class: "justify-end",
1246
- "default-page": s.defaultPage,
1250
+ "default-page": o.defaultPage,
1247
1251
  total: ((K = n.tableData) == null ? void 0 : K.total) || 0,
1248
1252
  pageSize: parseInt(n.limit),
1249
- onPageChange: s.handlePageChange,
1253
+ onPageChange: o.handlePageChange,
1250
1254
  pageSizes: [10, 16, 20],
1251
- onPageSizeChange: s.changeLimit
1255
+ onPageSizeChange: o.changeLimit
1252
1256
  }, null, 8, ["default-page", "total", "pageSize", "onPageChange", "onPageSizeChange"])) : v("", !0)
1253
1257
  ])
1254
1258
  ], 2),
1255
1259
  b(P, { name: "slide-fade" }, {
1256
1260
  default: y(() => [
1257
- n.isVisibleCardInfo ? (o(), x(ie, {
1261
+ n.isVisibleCardInfo ? (s(), x(de, {
1258
1262
  key: 0,
1259
1263
  table: r.table,
1260
- columns: s.columns,
1261
- row: s.activeCardRow
1264
+ columns: o.columns,
1265
+ row: o.activeCardRow
1262
1266
  }, null, 8, ["table", "columns", "row"])) : v("", !0)
1263
1267
  ]),
1264
1268
  _: 1
@@ -1268,7 +1272,7 @@ function Rr(t, e, r, a, n, s) {
1268
1272
  ])
1269
1273
  ]);
1270
1274
  }
1271
- const Gr = /* @__PURE__ */ f(Vr, [["render", Rr], ["__scopeId", "data-v-f40661d7"]]), Zr = {
1275
+ const Gr = /* @__PURE__ */ m(Vr, [["render", Rr], ["__scopeId", "data-v-52abfa94"]]), Zr = {
1272
1276
  components: { AdminTable: Gr },
1273
1277
  data() {
1274
1278
  return {
@@ -1303,9 +1307,9 @@ const Gr = /* @__PURE__ */ f(Vr, [["render", Rr], ["__scopeId", "data-v-f40661d7
1303
1307
  var a, n;
1304
1308
  const t = this.flattenMenu(te.value);
1305
1309
  t != null && t.length || this.$router.replace("/404");
1306
- const e = t == null ? void 0 : t.find((s) => {
1307
- var d, p;
1308
- return (s == null ? void 0 : s.path) == ((p = (d = this.$route) == null ? void 0 : d.params) == null ? void 0 : p.catchAll);
1310
+ const e = t == null ? void 0 : t.find((o) => {
1311
+ var c, p;
1312
+ return (o == null ? void 0 : o.path) == ((p = (c = this.$route) == null ? void 0 : c.params) == null ? void 0 : p.catchAll);
1309
1313
  });
1310
1314
  this.title = e == null ? void 0 : e.ua, e || this.$router.replace("/404"), e != null && e.component && this.$router.replace((n = (a = this.$route) == null ? void 0 : a.params) == null ? void 0 : n.catchAll);
1311
1315
  const r = e == null ? void 0 : e.table;
@@ -1324,20 +1328,20 @@ const Gr = /* @__PURE__ */ f(Vr, [["render", Rr], ["__scopeId", "data-v-f40661d7
1324
1328
  }
1325
1329
  }
1326
1330
  }, Jr = ["innerHTML"];
1327
- function Kr(t, e, r, a, n, s) {
1328
- const d = c("AdminTable");
1329
- return n.table ? (o(), x(d, {
1331
+ function Kr(t, e, r, a, n, o) {
1332
+ const c = d("AdminTable");
1333
+ return n.table ? (s(), x(c, {
1330
1334
  key: 0,
1331
1335
  table: n.table,
1332
1336
  title: n.title
1333
- }, null, 8, ["table", "title"])) : (o(), i("div", {
1337
+ }, null, 8, ["table", "title"])) : (s(), i("div", {
1334
1338
  key: 1,
1335
1339
  class: "w-full bg-gray-50",
1336
1340
  style: { height: "calc(100vh - 120px)" },
1337
1341
  innerHTML: n.interface
1338
1342
  }, null, 8, Jr));
1339
1343
  }
1340
- const en = /* @__PURE__ */ f(Zr, [["render", Kr]]);
1344
+ const en = /* @__PURE__ */ m(Zr, [["render", Kr]]);
1341
1345
  export {
1342
1346
  en as default
1343
1347
  };