@opengis/admin 0.1.26 → 0.1.27

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 (101) hide show
  1. package/README.md +29 -29
  2. package/config.js +4 -4
  3. package/dist/{IconSearch-Dzh7isDo.js → IconSearch-CTjruqP_.js} +1 -1
  4. package/dist/{add-page-Bqo89ZhV.js → add-page-_f-u6pKm.js} +1 -1
  5. package/dist/{admin-interface-_aBJ2Q5B.js → admin-interface-BEGo6Nou.js} +288 -285
  6. package/dist/{admin-view-oqNsQ8Yh.js → admin-view-KQUUMduA.js} +3 -3
  7. package/dist/admin.js +1 -1
  8. package/dist/admin.umd.cjs +53 -53
  9. package/dist/{card-page-DtL44Dyl.js → card-page-aj2AtGvv.js} +3 -3
  10. package/dist/{card-view-CJXpyOcM.js → card-view-jKx2Oevk.js} +1 -1
  11. package/dist/{edit-page-Rw4844su.js → edit-page-BuolDXZx.js} +1 -1
  12. package/dist/{import-file-De3lGFop.js → import-file-BB530Z8E.js} +8250 -8615
  13. package/dist/style.css +1 -1
  14. package/module/settings/card/admin.roles.table/access.hbs +27 -27
  15. package/module/settings/card/admin.roles.table/general_info.hbs +16 -16
  16. package/module/settings/card/admin.roles.table/index.yml +12 -12
  17. package/module/settings/card/admin.roles.table/users.hbs +27 -27
  18. package/module/settings/card/admin.routes.table/general_info.hbs +40 -40
  19. package/module/settings/card/admin.routes.table/index.yml +8 -8
  20. package/module/settings/card/admin.routes.table/users.hbs +33 -33
  21. package/module/settings/card/admin.users.table/general_info.hbs +25 -25
  22. package/module/settings/card/admin.users.table/index.yml +12 -12
  23. package/module/settings/card/admin.users.table/logs.hbs +30 -30
  24. package/module/settings/card/admin.users.table/user_roles.hbs +24 -24
  25. package/module/settings/cls/core.actions.json +13 -13
  26. package/module/settings/cls/core.scope.json +13 -13
  27. package/module/settings/cls/properties.site_status.json +13 -13
  28. package/module/settings/cls/properties.widget_status.json +13 -13
  29. package/module/settings/cls/users.user_type.json +13 -13
  30. package/module/settings/form/admin.access.form.json +36 -36
  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 +164 -164
  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 +39 -39
  43. package/module/settings/select/core.roles.json +2 -2
  44. package/module/settings/select/core.user_uid.sql +1 -1
  45. package/module/settings/table/admin.access.table.json +77 -77
  46. package/module/settings/table/admin.properties.table.json +33 -33
  47. package/module/settings/table/admin.roles.table.json +58 -58
  48. package/module/settings/table/admin.routes.table.json +55 -55
  49. package/module/settings/table/admin.user_properties.table.json +28 -28
  50. package/module/settings/table/admin.user_roles.table.json +66 -66
  51. package/module/settings/table/admin.users.table.json +125 -125
  52. package/package.json +66 -66
  53. package/plugin.js +25 -25
  54. package/server/helpers/controllers/badge.js +11 -11
  55. package/server/helpers/controllers/hb.js +2 -2
  56. package/server/helpers/controllers/map.js +2 -2
  57. package/server/helpers/controllers/mls.js +2 -2
  58. package/server/helpers/controllers/vue.js +2 -2
  59. package/server/helpers/index.mjs +13 -13
  60. package/server/plugins/docs.js +28 -28
  61. package/server/plugins/hook.js +161 -161
  62. package/server/plugins/vite.js +69 -69
  63. package/server/routes/data/controllers/cardData.js +31 -31
  64. package/server/routes/data/controllers/funcs/getFilterSQL/index.js +85 -82
  65. package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +142 -142
  66. package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
  67. package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +67 -67
  68. package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
  69. package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
  70. package/server/routes/data/controllers/tableData.js +121 -121
  71. package/server/routes/data/controllers/tableDataId.js +27 -27
  72. package/server/routes/data/controllers/tableFilter.js +54 -54
  73. package/server/routes/data/controllers/utils/assignTokens.js +30 -30
  74. package/server/routes/data/controllers/utils/getColumns.js +21 -21
  75. package/server/routes/data/index.mjs +10 -10
  76. package/server/routes/menu/controllers/getMenu.js +33 -33
  77. package/server/routes/menu/index.mjs +5 -5
  78. package/server/routes/properties/controllers/admin.properties.get.js +29 -29
  79. package/server/routes/properties/controllers/user.properties.get.js +34 -34
  80. package/server/routes/properties/controllers/user.properties.post.js +30 -30
  81. package/server/routes/properties/funcs/getSettings.js +56 -56
  82. package/server/routes/properties/funcs/setSettings.js +44 -44
  83. package/server/routes/properties/funcs/utils/dataInsert.js +26 -26
  84. package/server/routes/properties/index.mjs +26 -26
  85. package/server/routes/root.mjs +3 -3
  86. package/server/routes/templates/controllers/getTemplate.js +14 -14
  87. package/server/routes/templates/index.mjs +14 -14
  88. package/server/templates/cls/itree.recrzone_category.json +73 -73
  89. package/server/templates/cls/test.json +9 -9
  90. package/server/templates/form/admin.user_cls.data.form.json +49 -49
  91. package/server/templates/form/admin.user_group_rel.form.json +21 -21
  92. package/server/templates/form/cp_building.form.json +32 -32
  93. package/server/templates/form/form-user-pass.json +10 -10
  94. package/server/templates/form/form-user_group.json +39 -39
  95. package/server/templates/form/form-users.json +156 -156
  96. package/server/templates/form/user_group_access.form.json +22 -22
  97. package/server/templates/select/account_id.json +2 -2
  98. package/server/templates/table/gis.dataset.table.json +43 -43
  99. package/server/templates/table/management.user_group.table.json +112 -112
  100. package/server/templates/table/management.users.table.json +126 -126
  101. package/utils.js +8 -8
@@ -1,8 +1,8 @@
1
- import { _ as m, a as C } from "./import-file-De3lGFop.js";
1
+ import { _ as b, a as v } from "./import-file-BB530Z8E.js";
2
2
  import { u as B } from "./userMenu-CT1xO2Pt.js";
3
- import { openBlock as o, createElementBlock as i, createStaticVNode as A, createTextVNode as T, toDisplayString as V, createCommentVNode as v, createElementVNode as l, Fragment as x, resolveComponent as d, createVNode as h, withCtx as y, createBlock as g, withModifiers as te, renderList as S, withDirectives as X, vModelCheckbox as re, normalizeStyle as j, normalizeClass as le, resolveDynamicComponent as Q, Transition as ne, vShow as se } from "vue";
4
- import { I as oe } from "./IconSearch-Dzh7isDo.js";
5
- const ae = {}, ie = {
3
+ import { openBlock as o, createElementBlock as i, createStaticVNode as A, createTextVNode as $, toDisplayString as S, createCommentVNode as w, createElementVNode as l, Fragment as x, resolveComponent as u, createVNode as h, withCtx as _, createBlock as y, withModifiers as ee, renderList as C, withDirectives as Q, vModelCheckbox as te, normalizeClass as re, resolveDynamicComponent as K, Transition as le, vShow as ne } from "vue";
4
+ import { I as se } from "./IconSearch-CTjruqP_.js";
5
+ const oe = {}, ae = {
6
6
  class: "h21yx vs0hq",
7
7
  xmlns: "http://www.w3.org/2000/svg",
8
8
  width: "24",
@@ -14,12 +14,12 @@ const ae = {}, ie = {
14
14
  "stroke-linecap": "round",
15
15
  "stroke-linejoin": "round"
16
16
  };
17
- function de(t, e, r, a, n, s) {
18
- return o(), i("svg", ie, e[0] || (e[0] = [
17
+ function ie(t, e, r, a, n, s) {
18
+ return o(), i("svg", ae, e[0] || (e[0] = [
19
19
  A('<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)
20
20
  ]));
21
21
  }
22
- const ce = /* @__PURE__ */ m(ae, [["render", de]]), ue = {
22
+ const ue = /* @__PURE__ */ b(oe, [["render", ie]]), ce = {
23
23
  data() {
24
24
  return {
25
25
  currentSort: ""
@@ -77,10 +77,10 @@ const ce = /* @__PURE__ */ m(ae, [["render", de]]), ue = {
77
77
  return `${this.data.name}-${t}` === this.selectedSortParam;
78
78
  }
79
79
  }
80
- }, he = {
80
+ }, de = {
81
81
  scope: "col",
82
82
  class: "min-w-[200px] max-w-[300px] text-start"
83
- }, pe = {
83
+ }, he = {
84
84
  class: "flex-shrink-0 size-3.5",
85
85
  xmlns: "http://www.w3.org/2000/svg",
86
86
  width: "24",
@@ -91,33 +91,33 @@ const ce = /* @__PURE__ */ m(ae, [["render", de]]), ue = {
91
91
  "stroke-width": "2",
92
92
  "stroke-linecap": "round",
93
93
  "stroke-linejoin": "round"
94
- }, me = {
94
+ }, pe = {
95
95
  key: 0,
96
96
  d: "m7 15 5 5 5-5"
97
97
  }, be = {
98
98
  key: 1,
99
99
  d: "m7 9 5-5 5 5"
100
- }, fe = {
100
+ }, me = {
101
101
  key: 1,
102
102
  class: "text-sm text-gray-800 px-[4px] py-2.5 text-start font-normal text-gray-500"
103
103
  };
104
- function ge(t, e, r, a, n, s) {
105
- return o(), i("th", he, [
104
+ function fe(t, e, r, a, n, s) {
105
+ return o(), i("th", de, [
106
106
  s.getVisibleIcon ? (o(), i("button", {
107
107
  key: 0,
108
108
  type: "button",
109
109
  class: "text-sm text-gray-800 px-[4px] py-2.5 text-start font-normal text-gray-500 flex items-center gap-[6px]",
110
- onClick: e[0] || (e[0] = (b) => s.handleClickSortBtn(n.currentSort))
110
+ onClick: e[0] || (e[0] = (m) => s.handleClickSortBtn(n.currentSort))
111
111
  }, [
112
- T(V(s.label) + " ", 1),
113
- (o(), i("svg", pe, [
114
- n.currentSort === "asc" || n.currentSort === "" ? (o(), i("path", me)) : v("", !0),
115
- n.currentSort === "desc" || n.currentSort === "" ? (o(), i("path", be)) : v("", !0)
112
+ $(S(s.label) + " ", 1),
113
+ (o(), i("svg", he, [
114
+ n.currentSort === "asc" || n.currentSort === "" ? (o(), i("path", pe)) : w("", !0),
115
+ n.currentSort === "desc" || n.currentSort === "" ? (o(), i("path", be)) : w("", !0)
116
116
  ]))
117
- ])) : (o(), i("p", fe, V(s.label), 1))
117
+ ])) : (o(), i("p", me, S(s.label), 1))
118
118
  ]);
119
119
  }
120
- const xe = /* @__PURE__ */ m(ue, [["render", ge]]), ye = {}, ke = {
120
+ const ge = /* @__PURE__ */ b(ce, [["render", fe]]), xe = {}, ye = {
121
121
  xmlns: "http://www.w3.org/2000/svg",
122
122
  viewBox: "0 0 24 24",
123
123
  fill: "none",
@@ -127,8 +127,8 @@ const xe = /* @__PURE__ */ m(ue, [["render", ge]]), ye = {}, ke = {
127
127
  "stroke-linejoin": "round",
128
128
  class: "icon icon-tabler icons-tabler-outline icon-tabler-dots-vertical"
129
129
  };
130
- function we(t, e, r, a, n, s) {
131
- return o(), i("svg", ke, e[0] || (e[0] = [
130
+ function ke(t, e, r, a, n, s) {
131
+ return o(), i("svg", ye, e[0] || (e[0] = [
132
132
  l("path", {
133
133
  stroke: "none",
134
134
  d: "M0 0h24v24H0z",
@@ -139,7 +139,7 @@ function we(t, e, r, a, n, s) {
139
139
  l("path", { d: "M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1)
140
140
  ]));
141
141
  }
142
- const _e = /* @__PURE__ */ m(ye, [["render", we]]), ve = {}, Ce = {
142
+ const _e = /* @__PURE__ */ b(xe, [["render", ke]]), we = {}, ve = {
143
143
  class: "flex-shrink-0 size-3.5",
144
144
  xmlns: "http://www.w3.org/2000/svg",
145
145
  viewBox: "0 0 24 24",
@@ -149,21 +149,21 @@ const _e = /* @__PURE__ */ m(ye, [["render", we]]), ve = {}, Ce = {
149
149
  "stroke-linecap": "round",
150
150
  "stroke-linejoin": "round"
151
151
  };
152
- function $e(t, e, r, a, n, s) {
153
- return o(), i("svg", Ce, e[0] || (e[0] = [
152
+ function Ce(t, e, r, a, n, s) {
153
+ return o(), i("svg", ve, e[0] || (e[0] = [
154
154
  A('<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)
155
155
  ]));
156
156
  }
157
- const Se = /* @__PURE__ */ m(ve, [["render", $e]]), Te = {
157
+ const $e = /* @__PURE__ */ b(we, [["render", Ce]]), Se = {
158
158
  props: {
159
159
  height: { type: String, default: "16" },
160
160
  width: { type: String, default: "12" },
161
161
  color: { type: String, default: "black" }
162
162
  }
163
- }, Ve = { style: { display: "none" } }, Fe = ["height", "width", "fill"];
164
- function De(t, e, r, a, n, s) {
163
+ }, Fe = { style: { display: "none" } }, Te = ["height", "width", "fill"];
164
+ function Ve(t, e, r, a, n, s) {
165
165
  return o(), i(x, null, [
166
- (o(), i("svg", Ve, e[0] || (e[0] = [
166
+ (o(), i("svg", Fe, e[0] || (e[0] = [
167
167
  l("symbol", {
168
168
  id: "icon-pencil",
169
169
  viewBox: "0 0 32 32"
@@ -177,14 +177,14 @@ function De(t, e, r, a, n, s) {
177
177
  fill: r.color
178
178
  }, e[1] || (e[1] = [
179
179
  l("use", { "xlink:href": "#icon-pencil" }, null, -1)
180
- ]), 8, Fe))
180
+ ]), 8, Te))
181
181
  ], 64);
182
182
  }
183
- const Me = /* @__PURE__ */ m(Te, [["render", De]]), Ae = {
183
+ const De = /* @__PURE__ */ b(Se, [["render", Ve]]), Ae = {
184
184
  components: {
185
185
  IconMore: _e,
186
- IconDelete: Se,
187
- IconEdit: Me
186
+ IconDelete: $e,
187
+ IconEdit: De
188
188
  },
189
189
  emits: ["updateTable"],
190
190
  props: { item: Object, table: String, isForm: null },
@@ -204,7 +204,7 @@ const Me = /* @__PURE__ */ m(Te, [["render", De]]), Ae = {
204
204
  async getData() {
205
205
  var t;
206
206
  try {
207
- const { data: e } = await C.get(
207
+ const { data: e } = await v.get(
208
208
  `/api/table/${this.table}/${(t = this.item) == null ? void 0 : t.id}`
209
209
  );
210
210
  this.formValue = e;
@@ -218,7 +218,7 @@ const Me = /* @__PURE__ */ m(Te, [["render", De]]), Ae = {
218
218
  async deleteElement() {
219
219
  var t;
220
220
  try {
221
- C.delete(`/api/table/${this.table}/${(t = this.item) == null ? void 0 : t.id}`), this.$notify({
221
+ v.delete(`/api/table/${this.table}/${(t = this.item) == null ? void 0 : t.id}`), this.$notify({
222
222
  title: "Успішно!",
223
223
  message: "Об`єкт успішно видалeно",
224
224
  type: "success"
@@ -232,47 +232,47 @@ const Me = /* @__PURE__ */ m(Te, [["render", De]]), Ae = {
232
232
  }
233
233
  }
234
234
  }
235
- }, Ie = { class: "hs-dropdown [--placement:bottom-right] inline-flex" }, Be = { class: "gap-x-2 p-[4px] rounded-lg shadow-sm hover:border-transparent border focus:outline-none text-black hover:bg-gray-50" }, je = { class: "flex flex-col items-start" }, ze = {
235
+ }, Me = { class: "hs-dropdown [--placement:bottom-right] inline-flex" }, Ie = { class: "gap-x-2 p-[4px] rounded-lg shadow-sm hover:border-transparent border focus:outline-none text-black hover:bg-gray-50" }, Be = { class: "flex flex-col items-start" }, Ee = {
236
236
  key: 1,
237
237
  class: "h-[1px] w-[80%] bg-gray-200 ml-auto mr-auto"
238
- }, Pe = { class: "p-4" }, Ee = { class: "mt-4 flex justify-end gap-x-3" };
239
- function Le(t, e, r, a, n, s) {
240
- const b = d("IconMore"), f = d("IconEdit"), k = d("router-link"), u = d("IconDelete"), w = d("VsPopover"), $ = d("VsDialog");
238
+ }, je = { class: "p-4" }, Pe = { class: "mt-4 flex justify-end gap-x-3" };
239
+ function ze(t, e, r, a, n, s) {
240
+ const m = u("IconMore"), c = u("IconEdit"), f = u("router-link"), g = u("IconDelete"), F = u("VsPopover"), M = u("VsDialog");
241
241
  return o(), i(x, null, [
242
- l("div", Ie, [
243
- h(w, {
242
+ l("div", Me, [
243
+ h(F, {
244
244
  trigger: "click",
245
245
  placement: "bottom-left"
246
246
  }, {
247
- reference: y(() => [
248
- l("button", Be, [
249
- h(b, {
247
+ reference: _(() => [
248
+ l("button", Ie, [
249
+ h(m, {
250
250
  height: "16",
251
251
  width: "16"
252
252
  })
253
253
  ])
254
254
  ]),
255
- default: y(() => {
256
- var _, F, D;
255
+ default: _(() => {
256
+ var k, T, V;
257
257
  return [
258
- l("div", je, [
259
- r.isForm ? (o(), g(k, {
258
+ l("div", Be, [
259
+ r.isForm ? (o(), y(f, {
260
260
  key: 0,
261
- to: `/edit?table=${(F = (_ = t.$route) == null ? void 0 : _.params) == null ? void 0 : F.catchAll}&id=${(D = r.item) == null ? void 0 : D.id}`,
261
+ to: `/edit?table=${(T = (k = t.$route) == null ? void 0 : k.params) == null ? void 0 : T.catchAll}&id=${(V = r.item) == null ? void 0 : V.id}`,
262
262
  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"
263
263
  }, {
264
- default: y(() => [
265
- h(f, { color: "#000" }),
266
- e[4] || (e[4] = T(" Редагувати "))
264
+ default: _(() => [
265
+ h(c, { color: "#000" }),
266
+ e[4] || (e[4] = $(" Редагувати "))
267
267
  ]),
268
268
  _: 1
269
- }, 8, ["to"])) : v("", !0),
270
- r.isForm ? (o(), i("div", ze)) : v("", !0),
269
+ }, 8, ["to"])) : w("", !0),
270
+ r.isForm ? (o(), i("div", Ee)) : w("", !0),
271
271
  l("button", {
272
- onClick: e[0] || (e[0] = te((...I) => s.openConfirm && s.openConfirm(...I), ["stop"])),
272
+ onClick: e[0] || (e[0] = ee((...I) => s.openConfirm && s.openConfirm(...I), ["stop"])),
273
273
  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"
274
274
  }, [
275
- h(u),
275
+ h(g),
276
276
  e[5] || (e[5] = l("span", { class: "text-gray-800" }, "Видалити", -1))
277
277
  ])
278
278
  ])
@@ -281,24 +281,24 @@ function Le(t, e, r, a, n, s) {
281
281
  _: 1
282
282
  })
283
283
  ]),
284
- h($, {
284
+ h(M, {
285
285
  visible: n.isDeleteConfirm,
286
- "onUpdate:visible": e[3] || (e[3] = (_) => n.isDeleteConfirm = _),
286
+ "onUpdate:visible": e[3] || (e[3] = (k) => n.isDeleteConfirm = k),
287
287
  title: "Ви впевнені?"
288
288
  }, {
289
- default: y(() => [
290
- l("div", Pe, [
289
+ default: _(() => [
290
+ l("div", je, [
291
291
  e[6] || (e[6] = l("p", { class: "mt-1 text-gray-500 dark:text-neutral-500" }, " Ви впевнені, що хочете видалити цей об'єкт? ", -1)),
292
- l("div", Ee, [
292
+ l("div", Pe, [
293
293
  l("button", {
294
294
  type: "button",
295
295
  class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm 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",
296
- onClick: e[1] || (e[1] = (_) => n.isDeleteConfirm = !1)
296
+ onClick: e[1] || (e[1] = (k) => n.isDeleteConfirm = !1)
297
297
  }, " Скасувати "),
298
298
  l("button", {
299
299
  type: "button",
300
300
  class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent bg-red-500 text-white hover:bg-red-600 disabled:opacity-50 disabled:pointer-events-none",
301
- onClick: e[2] || (e[2] = (..._) => s.deleteElement && s.deleteElement(..._))
301
+ onClick: e[2] || (e[2] = (...k) => s.deleteElement && s.deleteElement(...k))
302
302
  }, " Так, я впевнена/ий ")
303
303
  ])
304
304
  ])
@@ -307,7 +307,7 @@ function Le(t, e, r, a, n, s) {
307
307
  }, 8, ["visible"])
308
308
  ], 64);
309
309
  }
310
- const Ue = /* @__PURE__ */ m(Ae, [["render", Le]]), qe = {}, Oe = {
310
+ const Le = /* @__PURE__ */ b(Ae, [["render", ze]]), Ue = {}, qe = {
311
311
  class: "flex-shrink-0 mt-0.5 size-3.5",
312
312
  xmlns: "http://www.w3.org/2000/svg",
313
313
  viewBox: "0 0 24 24",
@@ -317,20 +317,22 @@ const Ue = /* @__PURE__ */ m(Ae, [["render", Le]]), qe = {}, Oe = {
317
317
  "stroke-linecap": "round",
318
318
  "stroke-linejoin": "round"
319
319
  };
320
- function We(t, e, r, a, n, s) {
321
- return o(), i("svg", Oe, e[0] || (e[0] = [
320
+ function Oe(t, e, r, a, n, s) {
321
+ return o(), i("svg", qe, e[0] || (e[0] = [
322
322
  l("path", { d: "m3 16 4 4 4-4" }, null, -1),
323
323
  l("path", { d: "M7 20V4" }, null, -1),
324
324
  l("path", { d: "m21 8-4-4-4 4" }, null, -1),
325
325
  l("path", { d: "M17 4v16" }, null, -1)
326
326
  ]));
327
327
  }
328
- const He = /* @__PURE__ */ m(qe, [["render", We]]), Ne = {
329
- components: { IconExport: He },
330
- props: { table: String, columns: Array },
328
+ const He = /* @__PURE__ */ b(Ue, [["render", Oe]]), Ne = {
329
+ props: {
330
+ columns: { type: Object, default: () => {
331
+ } },
332
+ table: { type: String, default: () => "" }
333
+ },
331
334
  data() {
332
335
  return {
333
- isOpen: !1,
334
336
  tableFormats: ["json", "csv", "xlsx"],
335
337
  format: "",
336
338
  cols: []
@@ -339,7 +341,7 @@ const He = /* @__PURE__ */ m(qe, [["render", We]]), Ne = {
339
341
  methods: {
340
342
  async exportTable() {
341
343
  try {
342
- const t = await C.get("/api/export", {
344
+ const t = await v.get("/api/export", {
343
345
  params: {
344
346
  table: this.table,
345
347
  format: this.format,
@@ -369,20 +371,85 @@ const He = /* @__PURE__ */ m(qe, [["render", We]]), Ne = {
369
371
  this.format = t;
370
372
  }
371
373
  }
372
- }, Re = { class: "p-4" }, Ge = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, Ze = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, Je = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, Ke = { class: "mt-2 space-y-2" }, Qe = ["id", "onChange"], Xe = ["for"], Ye = { class: "flex w-full justify-end p-[20px] gap-[6px] border-t" };
374
+ }, Re = { class: "p-4" }, Ge = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, We = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, Ze = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, Je = { class: "mt-2 space-y-2" }, Ke = ["id", "onChange"], Qe = ["for"], Xe = { class: "pb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, Ye = { class: "text-center" };
373
375
  function et(t, e, r, a, n, s) {
374
- const b = d("IconExport"), f = d("VsCheckbox"), k = d("VsDialog");
376
+ const m = u("VsCheckbox");
377
+ return o(), i(x, null, [
378
+ e[4] || (e[4] = l("div", { class: "dark:border-neutral-700" }, null, -1)),
379
+ l("div", Re, [
380
+ l("div", Ge, [
381
+ e[2] || (e[2] = l("label", { class: "text-sm text-gray-500 dark:text-neutral-500" }, " Виберіть стовпці таблиці для експорту: ", -1)),
382
+ l("div", We, [
383
+ (o(!0), i(x, null, C(r.columns, (c, f) => (o(), i("div", {
384
+ class: "flex items-center",
385
+ key: f,
386
+ style: { width: "calc((100% - 10px) / 2)" }
387
+ }, [
388
+ h(m, {
389
+ class: "py-0 shrink-0 border-gray-300 rounded 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",
390
+ modelValue: n.cols,
391
+ "onUpdate:modelValue": e[0] || (e[0] = (g) => n.cols = g),
392
+ value: c == null ? void 0 : c.name,
393
+ label: c == null ? void 0 : c.ua
394
+ }, null, 8, ["modelValue", "value", "label"])
395
+ ]))), 128))
396
+ ])
397
+ ]),
398
+ l("div", Ze, [
399
+ e[3] || (e[3] = l("label", { class: "text-sm text-gray-500 dark:text-neutral-500" }, " Виберіть формат таблиці: ", -1)),
400
+ l("div", Je, [
401
+ (o(!0), i(x, null, C(n.tableFormats, (c, f) => (o(), i("div", {
402
+ class: "flex items-center",
403
+ key: f
404
+ }, [
405
+ l("input", {
406
+ type: "radio",
407
+ name: "hs-pro-duecmfm",
408
+ 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",
409
+ id: c,
410
+ onChange: (g) => s.selectFormat(c)
411
+ }, null, 40, Ke),
412
+ l("label", {
413
+ for: c,
414
+ class: "text-sm text-gray-800 ms-3 dark:text-neutral-400"
415
+ }, " Формат " + S(c), 9, Qe)
416
+ ]))), 128))
417
+ ])
418
+ ]),
419
+ l("div", Xe, [
420
+ l("div", Ye, [
421
+ l("button", {
422
+ type: "button",
423
+ class: "p-2 inline-flex items-center gap-x-2 text-xs font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:ring-2 focus:ring-blue-500",
424
+ onClick: e[1] || (e[1] = (...c) => s.exportTable && s.exportTable(...c))
425
+ }, " Завантажити таблицю ")
426
+ ])
427
+ ])
428
+ ])
429
+ ], 64);
430
+ }
431
+ const tt = /* @__PURE__ */ b(Ne, [["render", et]]), rt = {
432
+ components: { IconExport: He, AdminTableExportForm: tt },
433
+ props: { table: String, columns: Array },
434
+ data() {
435
+ return {
436
+ isOpen: !1
437
+ };
438
+ }
439
+ };
440
+ function lt(t, e, r, a, n, s) {
441
+ const m = u("IconExport"), c = u("AdminTableExportForm"), f = u("VsDialog");
375
442
  return o(), i(x, null, [
376
443
  l("button", {
377
- onClick: e[0] || (e[0] = (u) => n.isOpen = !0),
444
+ onClick: e[0] || (e[0] = (g) => n.isOpen = !0),
378
445
  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"
379
446
  }, [
380
- h(b, {
447
+ h(m, {
381
448
  height: "16",
382
449
  width: "16"
383
450
  }),
384
- e[4] || (e[4] = T(" Експорт ")),
385
- e[5] || (e[5] = l("svg", {
451
+ e[2] || (e[2] = $(" Import / Export ")),
452
+ e[3] || (e[3] = l("svg", {
386
453
  class: "shrink-0 size-3.5",
387
454
  xmlns: "http://www.w3.org/2000/svg",
388
455
  width: "24",
@@ -397,75 +464,22 @@ function et(t, e, r, a, n, s) {
397
464
  l("path", { d: "m6 9 6 6 6-6" })
398
465
  ], -1))
399
466
  ]),
400
- h(k, {
467
+ h(f, {
401
468
  visible: n.isOpen,
402
- "onUpdate:visible": e[3] || (e[3] = (u) => n.isOpen = u),
403
- title: "Експорт таблиці",
404
- size: "small"
469
+ "onUpdate:visible": e[1] || (e[1] = (g) => n.isOpen = g),
470
+ title: "Експорт таблиці"
405
471
  }, {
406
- footer: y(() => [
407
- l("div", Ye, [
408
- e[8] || (e[8] = l("button", {
409
- type: "button",
410
- 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",
411
- "data-hs-overlay": "#hs-pro-decm"
412
- }, " Скасувати ", -1)),
413
- l("button", {
414
- type: "button",
415
- 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",
416
- onClick: e[2] || (e[2] = (...u) => s.exportTable && s.exportTable(...u))
417
- }, " Завантажити таблицю ")
418
- ])
419
- ]),
420
- default: y(() => [
421
- e[9] || (e[9] = l("div", { class: "dark:border-neutral-700" }, null, -1)),
422
- l("div", Re, [
423
- l("div", Ge, [
424
- e[6] || (e[6] = l("h2", { class: "text-sm text-gray-500" }, " Виберіть стовпці таблиці для експорту: ", -1)),
425
- l("div", Ze, [
426
- (o(!0), i(x, null, S(r.columns, (u, w) => (o(), i("div", {
427
- class: "flex items-center",
428
- key: w,
429
- style: { width: "calc((100% - 10px) / 2)" }
430
- }, [
431
- h(f, {
432
- class: "[&>label]:text-sm [&>label]:text-gray-800 [&>label]:ms-3 !gap-x-[1px] !p-0",
433
- modelValue: n.cols,
434
- "onUpdate:modelValue": e[1] || (e[1] = ($) => n.cols = $),
435
- value: u == null ? void 0 : u.name,
436
- label: u == null ? void 0 : u.ua
437
- }, null, 8, ["modelValue", "value", "label"])
438
- ]))), 128))
439
- ])
440
- ]),
441
- l("div", Je, [
442
- e[7] || (e[7] = l("h2", { class: "text-sm text-gray-500" }, "Виберіть формат таблиці:", -1)),
443
- l("div", Ke, [
444
- (o(!0), i(x, null, S(n.tableFormats, (u, w) => (o(), i("div", {
445
- class: "flex items-center",
446
- key: w
447
- }, [
448
- l("input", {
449
- type: "radio",
450
- name: "hs-pro-duecmfm",
451
- 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",
452
- id: u,
453
- onChange: ($) => s.selectFormat(u)
454
- }, null, 40, Qe),
455
- l("label", {
456
- for: u,
457
- class: "text-sm text-gray-800 ms-3 dark:text-neutral-400"
458
- }, " Формат " + V(u), 9, Xe)
459
- ]))), 128))
460
- ])
461
- ])
462
- ])
472
+ default: _(() => [
473
+ h(c, {
474
+ table: r.table,
475
+ columns: r.columns
476
+ }, null, 8, ["table", "columns"])
463
477
  ]),
464
478
  _: 1
465
479
  }, 8, ["visible"])
466
480
  ], 64);
467
481
  }
468
- const tt = /* @__PURE__ */ m(Ne, [["render", et]]), rt = {}, lt = {
482
+ const nt = /* @__PURE__ */ b(rt, [["render", lt]]), st = {}, ot = {
469
483
  xmlns: "http://www.w3.org/2000/svg",
470
484
  viewBox: "0 0 24 24",
471
485
  fill: "none",
@@ -475,12 +489,12 @@ const tt = /* @__PURE__ */ m(Ne, [["render", et]]), rt = {}, lt = {
475
489
  "stroke-linejoin": "round",
476
490
  class: "icon icon-tabler icons-tabler-outline icon-tabler-columns"
477
491
  };
478
- function nt(t, e, r, a, n, s) {
479
- return o(), i("svg", lt, e[0] || (e[0] = [
492
+ function at(t, e, r, a, n, s) {
493
+ return o(), i("svg", ot, e[0] || (e[0] = [
480
494
  A('<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)
481
495
  ]));
482
496
  }
483
- const st = /* @__PURE__ */ m(rt, [["render", nt]]), ot = {
497
+ const it = /* @__PURE__ */ b(st, [["render", at]]), ut = {
484
498
  props: { column: Object },
485
499
  emits: ["update-column"],
486
500
  data() {
@@ -497,21 +511,21 @@ const st = /* @__PURE__ */ m(rt, [["render", nt]]), ot = {
497
511
  var t;
498
512
  ((t = this.column) == null ? void 0 : t.hidden) !== !0 && (this.value = !0);
499
513
  }
500
- }, at = { class: "flex w-full gap-[8px] items-centr" };
501
- function it(t, e, r, a, n, s) {
502
- var b, f;
503
- return o(), i("label", at, [
504
- X(l("input", {
505
- "onUpdate:modelValue": e[0] || (e[0] = (k) => n.value = k),
514
+ }, ct = { class: "flex w-full gap-[8px] items-centr" };
515
+ function dt(t, e, r, a, n, s) {
516
+ var m, c;
517
+ return o(), i("label", ct, [
518
+ Q(l("input", {
519
+ "onUpdate:modelValue": e[0] || (e[0] = (f) => n.value = f),
506
520
  type: "checkbox"
507
521
  }, null, 512), [
508
- [re, n.value]
522
+ [te, n.value]
509
523
  ]),
510
- T(" " + V(((b = r.column) == null ? void 0 : b.ua) || ((f = r.column) == null ? void 0 : f.title)), 1)
524
+ $(" " + S(((m = r.column) == null ? void 0 : m.ua) || ((c = r.column) == null ? void 0 : c.title)), 1)
511
525
  ]);
512
526
  }
513
- const dt = /* @__PURE__ */ m(ot, [["render", it]]), ct = {
514
- components: { IconColumns: st, AdminTableColumnsHiddenItem: dt },
527
+ const ht = /* @__PURE__ */ b(ut, [["render", dt]]), pt = {
528
+ components: { IconColumns: it, AdminTableColumnsHiddenItem: ht },
515
529
  emits: ["update-columns"],
516
530
  props: { columns: Array },
517
531
  methods: {
@@ -520,28 +534,28 @@ const dt = /* @__PURE__ */ m(ot, [["render", it]]), ct = {
520
534
  r[e] = t, this.$emit("update-columns", [...r]);
521
535
  }
522
536
  }
523
- }, ut = { 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" }, ht = { class: "py-[10px] px-[10px] w-[260px]" }, pt = { 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" };
524
- function mt(t, e, r, a, n, s) {
525
- const b = d("IconColumns"), f = d("AdminTableColumnsHiddenItem"), k = d("VsPopover");
526
- return o(), g(k, {
537
+ }, bt = { 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" }, mt = { class: "flex flex-col gap-[3px] h-[400px] w-[300px] 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" };
538
+ function ft(t, e, r, a, n, s) {
539
+ const m = u("IconColumns"), c = u("AdminTableColumnsHiddenItem"), f = u("VsPopover");
540
+ return o(), y(f, {
527
541
  trigger: "click",
528
542
  placement: "bottom"
529
543
  }, {
530
- reference: y(() => [
531
- l("button", ut, [
532
- h(b, {
544
+ reference: _(() => [
545
+ l("button", bt, [
546
+ h(m, {
533
547
  height: "20",
534
548
  width: "16"
535
549
  })
536
550
  ])
537
551
  ]),
538
- default: y(() => [
539
- l("div", ht, [
552
+ default: _(() => [
553
+ l("div", null, [
540
554
  e[0] || (e[0] = l("h2", { class: "text-sm mb-[8px]" }, "Оберіть колонки, щоб приховати", -1)),
541
- l("ul", pt, [
542
- (o(!0), i(x, null, S(r.columns, (u, w) => (o(), i("li", { key: w }, [
543
- h(f, {
544
- column: u,
555
+ l("ul", mt, [
556
+ (o(!0), i(x, null, C(r.columns, (g, F) => (o(), i("li", { key: F }, [
557
+ h(c, {
558
+ column: g,
545
559
  onUpdateColumn: s.updateColumn
546
560
  }, null, 8, ["column", "onUpdateColumn"])
547
561
  ]))), 128))
@@ -551,14 +565,14 @@ function mt(t, e, r, a, n, s) {
551
565
  _: 1
552
566
  });
553
567
  }
554
- const bt = /* @__PURE__ */ m(ct, [["render", mt]]), ft = {}, gt = {
568
+ const gt = /* @__PURE__ */ b(pt, [["render", ft]]), xt = {}, yt = {
555
569
  class: "hidden sm:block shrink-0 size-3",
556
570
  xmlns: "http://www.w3.org/2000/svg",
557
571
  fill: "currentColor",
558
572
  viewBox: "0 0 16 16"
559
573
  };
560
- function xt(t, e, r, a, n, s) {
561
- return o(), i("svg", gt, e[0] || (e[0] = [
574
+ function kt(t, e, r, a, n, s) {
575
+ return o(), i("svg", yt, e[0] || (e[0] = [
562
576
  l("path", {
563
577
  "fill-rule": "evenodd",
564
578
  "clip-rule": "evenodd",
@@ -566,23 +580,23 @@ function xt(t, e, r, a, n, s) {
566
580
  }, null, -1)
567
581
  ]));
568
582
  }
569
- const yt = /* @__PURE__ */ m(ft, [["render", xt]]), kt = {}, wt = { class: "vs-table-interface__table-wrp w-full rounded h-fit overflow-hidden" };
570
- function _t(t, e, r, a, n, s) {
571
- return o(), i("div", wt, e[0] || (e[0] = [
583
+ const _t = /* @__PURE__ */ b(xt, [["render", kt]]), wt = {}, vt = { class: "vs-table-interface__table-wrp w-full rounded h-fit overflow-hidden" };
584
+ function Ct(t, e, r, a, n, s) {
585
+ return o(), i("div", vt, e[0] || (e[0] = [
572
586
  A('<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)
573
587
  ]));
574
588
  }
575
- const vt = /* @__PURE__ */ m(kt, [["render", _t]]), Ct = {
589
+ const $t = /* @__PURE__ */ b(wt, [["render", Ct]]), St = {
576
590
  props: { table: String, title: String },
577
591
  components: {
578
- IconFilter: ce,
579
- AdminTableControl: Ue,
580
- AdminTableExport: tt,
581
- AdminTableColumnsHidden: bt,
582
- AdminTableColumn: xe,
583
- AdminNodata: vt,
584
- IconPlus: yt,
585
- IconSearch: oe
592
+ IconFilter: ue,
593
+ AdminTableControl: Le,
594
+ AdminTableExport: nt,
595
+ AdminTableColumnsHidden: gt,
596
+ AdminTableColumn: ge,
597
+ AdminNodata: $t,
598
+ IconPlus: _t,
599
+ IconSearch: se
586
600
  },
587
601
  data() {
588
602
  return {
@@ -621,10 +635,6 @@ const vt = /* @__PURE__ */ m(kt, [["render", _t]]), Ct = {
621
635
  isNoData() {
622
636
  var t, e;
623
637
  return !((t = this.tableData) != null && t.rows) || !((e = this.columns) != null && e.length);
624
- },
625
- rowWidth() {
626
- var t;
627
- return ((t = this.tableData) == null ? void 0 : t.width) || "80px";
628
638
  }
629
639
  },
630
640
  watch: {
@@ -650,7 +660,7 @@ const vt = /* @__PURE__ */ m(kt, [["render", _t]]), Ct = {
650
660
  async getTableData() {
651
661
  var t, e;
652
662
  try {
653
- const { data: r } = await C.get(`/api/template/table/${this.table}`), a = await C.get(`/api/table-data/${this.table}`, {
663
+ const { data: r } = await v.get(`/api/template/table/${this.table}`), a = await v.get(`/api/table-data/${this.table}`, {
654
664
  params: {
655
665
  page: this.page,
656
666
  search: this.searchValue || null,
@@ -669,7 +679,7 @@ const vt = /* @__PURE__ */ m(kt, [["render", _t]]), Ct = {
669
679
  async getFilters() {
670
680
  var t;
671
681
  try {
672
- const { data: e } = await C.get(`/api/table-filter/${this.table}`);
682
+ const { data: e } = await v.get(`/api/table-filter/${this.table}`);
673
683
  this.filterScheme = (t = e == null ? void 0 : e.list) == null ? void 0 : t.map((r) => ({
674
684
  ...r,
675
685
  label: (r == null ? void 0 : r.label) || (r == null ? void 0 : r.ua)
@@ -699,139 +709,132 @@ const vt = /* @__PURE__ */ m(kt, [["render", _t]]), Ct = {
699
709
  ((e = this.tableData) == null ? void 0 : e.card) === !1 || this.$router.push(`/card/${this.table}/${t}`);
700
710
  }
701
711
  }
702
- }, $t = { class: "w-[calc(100vw - 320px)]" }, St = { class: "h-[76px] bg-gray-50 flex items-center justify-between px-[30px]" }, Tt = { class: "text-xl font-medium h-[20px]" }, Vt = {
712
+ }, Ft = { class: "w-[calc(100vw - 320px)]" }, Tt = { class: "h-[76px] bg-gray-50 flex items-center justify-between px-[30px]" }, Vt = { class: "text-xl font-medium h-[20px]" }, Dt = {
703
713
  style: { height: "calc(100vh - 140px)", width: "calc(100vw - 260px)" },
704
714
  class: "bg-gray-50 p-[20px] flex pt-[10px]"
705
- }, Ft = { class: "bg-white w-full rounded-xl border p-[20px]" }, Dt = { class: "flex sm:grid sm:grid-cols-2 gap-x-2 sm:gap-x-5 mb-[10px] relative" }, Mt = { class: "flex gap-[6px] ml-auto" }, At = {
715
+ }, At = { class: "bg-white w-full rounded-xl border p-[20px]" }, Mt = { class: "flex sm:grid sm:grid-cols-2 gap-x-2 sm:gap-x-5 mb-[10px] relative" }, It = { class: "flex gap-[6px] ml-auto" }, Bt = {
706
716
  key: 0,
707
717
  class: "font-medium text-[10px] py-0.5 px-[5px] bg-gray-800 text-white leading-3 rounded-full dark:bg-neutral-500"
708
- }, It = { class: "space-y-5 flex items-start w-full justify-start" }, Bt = {
718
+ }, Et = { class: "space-y-5 flex items-start w-full justify-start" }, jt = {
709
719
  style: { height: "calc(100vh - 310px)" },
710
720
  class: "overflow-x-auto w-full border-t [&::-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"
711
- }, jt = { class: "inline-block w-full align-middle" }, zt = {
721
+ }, Pt = { class: "inline-block w-full align-middle" }, zt = {
712
722
  key: 0,
713
723
  class: "divide-y divide-gray-200 min-w-full dark:divide-neutral-700 relative table-fixed"
714
- }, Pt = { class: "sticky top-0 bg-white w-full relative after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, Et = { class: "divide-y divide-gray-200" }, Lt = ["onClick"], Ut = { class: "text-center sticky right-0 bg-white w-[80px] px-[10px]" }, qt = { class: "p-[20px] flex justify-end w-full" }, Ot = { 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" };
724
+ }, Lt = { class: "sticky top-0 bg-white w-full relative after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, Ut = { class: "border-stone-200 right-0 z-[1]" }, qt = { class: "divide-y divide-gray-200" }, Ot = { class: "min-w-[200px] text-start pe-4 py-3 text-sm text-gray-600" }, Ht = ["onClick"], Nt = { class: "text-center sticky right-0 bg-white w-[80px] px-[10px]" }, Rt = { class: "p-[20px] flex justify-end w-full" }, Gt = { 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" };
715
725
  function Wt(t, e, r, a, n, s) {
716
- var z, P, E, L, U, q;
717
- const b = d("IconPlus"), f = d("router-link"), k = d("IconSearch"), u = d("VsText"), w = d("AdminTableColumnsHidden"), $ = d("AdminTableExport"), _ = d("IconFilter"), F = d("AdminTableColumn"), D = d("AdminTableControl"), I = d("AdminNodata"), Y = d("VsPagination"), ee = d("VsFilter");
726
+ var E, j, P, z, L, U;
727
+ const m = u("IconPlus"), c = u("router-link"), f = u("IconSearch"), g = u("VsText"), F = u("AdminTableColumnsHidden"), M = u("AdminTableExport"), k = u("IconFilter"), T = u("AdminTableColumn"), V = u("AdminTableControl"), I = u("AdminNodata"), X = u("VsPagination"), Y = u("VsFilter");
718
728
  return o(), i(x, null, [
719
- l("div", $t, [
720
- l("div", St, [
721
- l("h2", Tt, V(r.title), 1),
722
- s.isForm ? (o(), g(f, {
729
+ l("div", Ft, [
730
+ l("div", Tt, [
731
+ l("h2", Vt, S(r.title), 1),
732
+ s.isForm ? (o(), y(c, {
723
733
  key: 0,
724
- to: `/add?table=${(P = (z = t.$route) == null ? void 0 : z.params) == null ? void 0 : P.catchAll}`,
734
+ to: `/add?table=${(j = (E = t.$route) == null ? void 0 : E.params) == null ? void 0 : j.catchAll}`,
725
735
  class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 hover:text-white duration-300"
726
736
  }, {
727
- default: y(() => [
728
- h(b, {
737
+ default: _(() => [
738
+ h(m, {
729
739
  height: "16",
730
740
  width: "16"
731
741
  }),
732
- e[5] || (e[5] = T(" Додати "))
742
+ e[5] || (e[5] = $(" Додати "))
733
743
  ]),
734
744
  _: 1
735
- }, 8, ["to"])) : v("", !0)
745
+ }, 8, ["to"])) : w("", !0)
736
746
  ]),
737
- l("div", Vt, [
738
- l("div", Ft, [
739
- l("div", Dt, [
740
- h(k, {
747
+ l("div", Dt, [
748
+ l("div", At, [
749
+ l("div", Mt, [
750
+ h(f, {
741
751
  height: "14",
742
752
  width: "14",
743
753
  class: "absolute top-[10px] left-[14px] text-gray-500 z-[1]"
744
754
  }),
745
- h(u, {
755
+ h(g, {
746
756
  modelValue: n.searchValue,
747
- "onUpdate:modelValue": e[0] || (e[0] = (c) => n.searchValue = c),
757
+ "onUpdate:modelValue": e[0] || (e[0] = (d) => n.searchValue = d),
748
758
  placeholder: "Пошук...",
749
759
  clearable: !0,
750
760
  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"
751
761
  }, null, 8, ["modelValue"]),
752
- l("div", Mt, [
753
- h(w, {
754
- columns: (E = n.tableData) == null ? void 0 : E.columns,
755
- onUpdateColumns: e[1] || (e[1] = (c) => n.tableData.columns = c)
762
+ l("div", It, [
763
+ h(F, {
764
+ columns: (P = n.tableData) == null ? void 0 : P.columns,
765
+ onUpdateColumns: e[1] || (e[1] = (d) => n.tableData.columns = d)
756
766
  }, null, 8, ["columns"]),
757
- h($, {
767
+ h(M, {
758
768
  table: r.table,
759
- columns: (L = n.tableData) == null ? void 0 : L.columns
769
+ columns: (z = n.tableData) == null ? void 0 : z.columns
760
770
  }, null, 8, ["table", "columns"]),
761
771
  l("button", {
762
- onClick: e[2] || (e[2] = (c) => n.isFilters = !n.isFilters),
772
+ onClick: e[2] || (e[2] = (d) => n.isFilters = !n.isFilters),
763
773
  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"
764
774
  }, [
765
- h(_, {
775
+ h(k, {
766
776
  height: "16",
767
777
  width: "16"
768
778
  }),
769
- e[6] || (e[6] = T(" Фільтри ")),
770
- n.onFilters ? (o(), i("span", At, V(n.onFilters), 1)) : v("", !0)
779
+ e[6] || (e[6] = $(" Фільтри ")),
780
+ n.onFilters ? (o(), i("span", Bt, S(n.onFilters), 1)) : w("", !0)
771
781
  ])
772
782
  ])
773
783
  ]),
774
- l("div", It, [
775
- l("div", Bt, [
776
- l("div", jt, [
777
- s.isNoData ? (o(), g(I, { key: 1 })) : (o(), i("table", zt, [
778
- l("thead", Pt, [
779
- l("tr", {
780
- class: "border-stone-200 right-0 z-[1]",
781
- style: j({ minWidth: s.rowWidth, maxWidth: s.rowWidth })
782
- }, [
783
- (o(!0), i(x, null, S(s.columns, (c) => (o(), g(F, {
784
- key: c.name,
785
- data: c,
784
+ l("div", Et, [
785
+ l("div", jt, [
786
+ l("div", Pt, [
787
+ s.isNoData ? (o(), y(I, { key: 1 })) : (o(), i("table", zt, [
788
+ l("thead", Lt, [
789
+ l("tr", Ut, [
790
+ (o(!0), i(x, null, C(s.columns, (d) => (o(), y(T, {
791
+ key: d.name,
792
+ data: d,
786
793
  activeColumn: n.activeColumn,
787
794
  onChangeActive: s.changeActiveColumn
788
795
  }, null, 8, ["data", "activeColumn", "onChangeActive"]))), 128)),
789
796
  e[7] || (e[7] = l("th", { class: "w-[70px] sticky right-0 top-0 bg-white" }, null, -1))
790
- ], 4)
797
+ ])
791
798
  ]),
792
- l("tbody", Et, [
793
- (o(!0), i(x, null, S((U = n.tableData) == null ? void 0 : U.rows, (c, M) => {
794
- var O, W, H, N, R, G, Z, J;
795
- return o(), i("tr", { key: M }, [
796
- l("td", {
797
- class: "text-start pe-4 py-3 text-sm text-gray-600",
798
- style: j({ minWidth: s.rowWidth, maxWidth: s.rowWidth })
799
- }, [
799
+ l("tbody", qt, [
800
+ (o(!0), i(x, null, C((L = n.tableData) == null ? void 0 : L.rows, (d, D) => {
801
+ var q, O, H, N, R, G, W, Z;
802
+ return o(), i("tr", { key: D }, [
803
+ l("td", Ot, [
800
804
  l("button", {
801
- onClick: () => s.pushToCard(c == null ? void 0 : c.id),
802
- class: le(["text-sm font-medium", [
803
- ((O = n.tableData) == null ? void 0 : O.card) === !1 ? "" : "text-blue-600 decoration-2 focus:outline-none focus:underline hover:text-blue-600 hover:underline"
805
+ onClick: () => s.pushToCard(d == null ? void 0 : d.id),
806
+ class: re(["text-sm font-medium", [
807
+ ((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"
804
808
  ]])
805
809
  }, [
806
- (o(), g(Q(
807
- ((W = s.columns[0]) == null ? void 0 : W.format) === "custom" ? (H = s.columns[0]) == null ? void 0 : H.component : t.$componentsConfig[`table-format-${((R = (N = s.columns[0]) == null ? void 0 : N.format) == null ? void 0 : R.toLowerCase()) || "text"}`]
810
+ (o(), y(K(
811
+ ((O = s.columns[0]) == null ? void 0 : O.format) === "custom" ? (H = s.columns[0]) == null ? void 0 : H.component : t.$componentsConfig[`table-format-${((R = (N = s.columns[0]) == null ? void 0 : N.format) == null ? void 0 : R.toLowerCase()) || "text"}`]
808
812
  ), {
809
813
  name: (G = s.columns[0]) == null ? void 0 : G.name,
810
- data: c,
811
- value: c == null ? void 0 : c[(Z = s.columns[0]) == null ? void 0 : Z.name]
814
+ data: d,
815
+ value: d == null ? void 0 : d[(W = s.columns[0]) == null ? void 0 : W.name]
812
816
  }, null, 8, ["name", "data", "value"]))
813
- ], 10, Lt)
814
- ], 4),
815
- (o(!0), i(x, null, S((J = s.columns) == null ? void 0 : J.slice(1), (p) => {
816
- var K;
817
+ ], 10, Ht)
818
+ ]),
819
+ (o(!0), i(x, null, C((Z = s.columns) == null ? void 0 : Z.slice(1), (p) => {
820
+ var J;
817
821
  return o(), i("td", {
818
- class: "text-start px-[4px] py-3 text-sm text-gray-600",
819
- style: j({ minWidth: s.rowWidth, maxWidth: s.rowWidth }),
822
+ class: "min-w-[300px] w-full text-start px-[4px] py-3 text-sm text-gray-600",
820
823
  key: p.name
821
824
  }, [
822
- (o(), g(Q(
823
- (p == null ? void 0 : p.format) === "custom" ? p == null ? void 0 : p.component : t.$componentsConfig[`table-format-${((K = p == null ? void 0 : p.format) == null ? void 0 : K.toLowerCase()) || "text"}`]
825
+ (o(), y(K(
826
+ (p == null ? void 0 : p.format) === "custom" ? p == null ? void 0 : p.component : t.$componentsConfig[`table-format-${((J = p == null ? void 0 : p.format) == null ? void 0 : J.toLowerCase()) || "text"}`]
824
827
  ), {
825
828
  name: p == null ? void 0 : p.name,
826
- data: c,
827
- value: c == null ? void 0 : c[p == null ? void 0 : p.name]
829
+ data: d,
830
+ value: d == null ? void 0 : d[p == null ? void 0 : p.name]
828
831
  }, null, 8, ["name", "data", "value"]))
829
- ], 4);
832
+ ]);
830
833
  }), 128)),
831
- l("td", Ut, [
832
- h(D, {
834
+ l("td", Nt, [
835
+ h(V, {
833
836
  isForm: s.isForm,
834
- item: c,
837
+ item: d,
835
838
  table: r.table,
836
839
  onUpdateTable: s.getTableData
837
840
  }, null, 8, ["isForm", "item", "table", "onUpdateTable"])
@@ -843,33 +846,33 @@ function Wt(t, e, r, a, n, s) {
843
846
  ])
844
847
  ])
845
848
  ]),
846
- l("div", qt, [
847
- n.limit ? (o(), g(Y, {
849
+ l("div", Rt, [
850
+ n.limit ? (o(), y(X, {
848
851
  key: 0,
849
852
  goTo: !1,
850
853
  class: "justify-end",
851
854
  "default-page": s.defaultPage,
852
- total: ((q = n.tableData) == null ? void 0 : q.total) || 0,
855
+ total: ((U = n.tableData) == null ? void 0 : U.total) || 0,
853
856
  pageSize: n.limit,
854
857
  onPageChange: s.handlePageChange,
855
858
  pageSizes: [10, 16, 20],
856
859
  onPageSizeChange: s.changeLimit
857
- }, null, 8, ["default-page", "total", "pageSize", "onPageChange", "onPageSizeChange"])) : v("", !0)
860
+ }, null, 8, ["default-page", "total", "pageSize", "onPageChange", "onPageSizeChange"])) : w("", !0)
858
861
  ])
859
862
  ])
860
863
  ])
861
864
  ]),
862
- h(ne, { name: "fade" }, {
863
- default: y(() => {
864
- var c;
865
+ h(le, { name: "fade" }, {
866
+ default: _(() => {
867
+ var d;
865
868
  return [
866
- X(l("div", {
867
- onClick: e[4] || (e[4] = (...M) => s.closeFilter && s.closeFilter(...M)),
869
+ Q(l("div", {
870
+ onClick: e[4] || (e[4] = (...D) => s.closeFilter && s.closeFilter(...D)),
868
871
  style: { height: "100vh" },
869
872
  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)]"
870
873
  }, [
871
- l("div", Ot, [
872
- (c = n.filterScheme) != null && c.length ? (o(), g(ee, {
874
+ l("div", Gt, [
875
+ (d = n.filterScheme) != null && d.length ? (o(), y(Y, {
873
876
  key: 0,
874
877
  ref: "filter",
875
878
  scheme: n.filterScheme,
@@ -879,11 +882,11 @@ function Wt(t, e, r, a, n, s) {
879
882
  name: "filter",
880
883
  onFilterChange: s.filterChange,
881
884
  closeFilterBtn: !0,
882
- onFilterClose: e[3] || (e[3] = (M) => n.isFilters = !1)
883
- }, null, 8, ["scheme", "onFilterChange"])) : v("", !0)
885
+ onFilterClose: e[3] || (e[3] = (D) => n.isFilters = !1)
886
+ }, null, 8, ["scheme", "onFilterChange"])) : w("", !0)
884
887
  ])
885
888
  ], 512), [
886
- [se, n.isFilters]
889
+ [ne, n.isFilters]
887
890
  ])
888
891
  ];
889
892
  }),
@@ -891,8 +894,8 @@ function Wt(t, e, r, a, n, s) {
891
894
  })
892
895
  ], 64);
893
896
  }
894
- const Ht = /* @__PURE__ */ m(Ct, [["render", Wt]]), Nt = {
895
- components: { AdminTable: Ht },
897
+ const Zt = /* @__PURE__ */ b(St, [["render", Wt]]), Jt = {
898
+ components: { AdminTable: Zt },
896
899
  data() {
897
900
  return {
898
901
  table: !1,
@@ -924,7 +927,7 @@ const Ht = /* @__PURE__ */ m(Ct, [["render", Wt]]), Nt = {
924
927
  },
925
928
  async getMenu() {
926
929
  try {
927
- const { data: t } = await C.get("/api/user-menu");
930
+ const { data: t } = await v.get("/api/user-menu");
928
931
  B.value = t;
929
932
  } catch {
930
933
  }
@@ -943,7 +946,7 @@ const Ht = /* @__PURE__ */ m(Ct, [["render", Wt]]), Nt = {
943
946
  async getInterface() {
944
947
  var t, e;
945
948
  try {
946
- const { data: r } = await C.get(
949
+ const { data: r } = await v.get(
947
950
  `/api/template/interface/${((e = (t = this.$route) == null ? void 0 : t.params) == null ? void 0 : e.catchAll) || ""}`
948
951
  );
949
952
  this.interface = r || "";
@@ -952,10 +955,10 @@ const Ht = /* @__PURE__ */ m(Ct, [["render", Wt]]), Nt = {
952
955
  }
953
956
  }
954
957
  }
955
- }, Rt = ["innerHTML"];
956
- function Gt(t, e, r, a, n, s) {
957
- const b = d("AdminTable");
958
- return n.table ? (o(), g(b, {
958
+ }, Kt = ["innerHTML"];
959
+ function Qt(t, e, r, a, n, s) {
960
+ const m = u("AdminTable");
961
+ return n.table ? (o(), y(m, {
959
962
  key: 0,
960
963
  table: n.table,
961
964
  title: n.title
@@ -964,9 +967,9 @@ function Gt(t, e, r, a, n, s) {
964
967
  class: "w-full bg-gray-50",
965
968
  style: { height: "calc(100vh - 120px)" },
966
969
  innerHTML: n.interface
967
- }, null, 8, Rt));
970
+ }, null, 8, Kt));
968
971
  }
969
- const Xt = /* @__PURE__ */ m(Nt, [["render", Gt]]);
972
+ const rr = /* @__PURE__ */ b(Jt, [["render", Qt]]);
970
973
  export {
971
- Xt as default
974
+ rr as default
972
975
  };