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