@opengis/admin 0.1.62 → 0.1.64
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{add-page-CFNh7Zxz.js → add-page-LONm322L.js} +1 -1
- package/dist/{admin-interface-CniNlJEa.js → admin-interface-eocB4uF3.js} +44 -44
- package/dist/admin-view-CEePX3t5.js +640 -0
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +110 -308
- package/dist/{card-page-B16E7Q7m.js → card-page-CnQufGpK.js} +10 -10
- package/dist/{card-view-Fw8T0Ddm.js → card-view-MKU1ijjK.js} +1 -1
- package/dist/{edit-page-BCPO83LG.js → edit-page-C1wXXuPF.js} +1 -1
- package/dist/{import-file-D6JQHFSe.js → import-file-BkyTVz51.js} +14 -16
- package/package.json +1 -1
- package/server/plugins/hook.js +72 -29
- package/server/routes/data/controllers/tableData.js +2 -2
- package/server/routes/templates/controllers/getTemplate.js +5 -3
- package/dist/admin-view-Dw9tWMxP.js +0 -41685
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as m, u as b, a as c } from "./import-file-
|
1
|
+
import { _ as m, u as b, a as c } from "./import-file-BkyTVz51.js";
|
2
2
|
import { resolveComponent as h, openBlock as i, createElementBlock as d, createElementVNode as a, createBlock as p, createCommentVNode as f } from "vue";
|
3
3
|
const g = {
|
4
4
|
data() {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { _ as m, b as ue, a as A,
|
2
|
-
import { openBlock as s, createElementBlock as i, createTextVNode as F, toDisplayString as I, createCommentVNode as v, createStaticVNode as j, Fragment as C, createElementVNode as l, resolveComponent as
|
1
|
+
import { _ as m, b as ue, a as A, c as he, d as pe, e as be, f as fe, I as me, u as te } from "./import-file-BkyTVz51.js";
|
2
|
+
import { openBlock as s, createElementBlock as i, createTextVNode as F, toDisplayString as I, createCommentVNode as v, createStaticVNode as j, Fragment as C, createElementVNode as l, resolveComponent as c, createVNode as b, withCtx as y, createBlock as x, withModifiers as ge, renderList as T, withDirectives as z, vModelCheckbox as xe, resolveDynamicComponent as ye, Transition as P, renderSlot as _e, vShow as ne, normalizeClass as S, normalizeStyle as re } from "vue";
|
3
3
|
const ke = {
|
4
4
|
data() {
|
5
5
|
return {
|
@@ -88,7 +88,7 @@ function Te(t, e, r, a, n, o) {
|
|
88
88
|
key: 0,
|
89
89
|
type: "button",
|
90
90
|
class: "text-sm text-stone-500 px-[4px] py-2.5 text-start font-normal text-gray-500 flex items-center gap-[6px]",
|
91
|
-
onClick: e[0] || (e[0] = (
|
91
|
+
onClick: e[0] || (e[0] = (d) => o.handleClickSortBtn(n.currentSort))
|
92
92
|
}, [
|
93
93
|
F(I(o.label) + " ", 1),
|
94
94
|
(s(), i("svg", ve, [
|
@@ -202,7 +202,7 @@ const qe = /* @__PURE__ */ m(Me, [["render", Pe]]), Be = {
|
|
202
202
|
class: "h-[1px] w-[80%] bg-gray-200 ml-auto mr-auto"
|
203
203
|
}, Ne = { class: "p-4" }, He = { class: "flex justify-end mt-4 gap-x-3" };
|
204
204
|
function We(t, e, r, a, n, o) {
|
205
|
-
const
|
205
|
+
const d = c("IconMore"), p = c("IconEdit"), h = c("router-link"), u = c("IconDelete"), _ = c("VsPopover"), w = c("VsDialog");
|
206
206
|
return s(), i(C, null, [
|
207
207
|
l("div", Le, [
|
208
208
|
b(_, {
|
@@ -211,7 +211,7 @@ function We(t, e, r, a, n, o) {
|
|
211
211
|
}, {
|
212
212
|
reference: y(() => [
|
213
213
|
l("button", Ue, [
|
214
|
-
b(
|
214
|
+
b(d, {
|
215
215
|
height: "16",
|
216
216
|
width: "16"
|
217
217
|
})
|
@@ -337,13 +337,13 @@ const Ke = /* @__PURE__ */ m(Ge, [["render", Je]]), Qe = {
|
|
337
337
|
}
|
338
338
|
}, Xe = { class: "p-4" }, Ye = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, et = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, tt = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, rt = { class: "mt-2 space-y-2" }, nt = ["id", "onChange"], lt = ["for"], st = { class: "flex w-full justify-end p-[20px] gap-[6px] border-t" };
|
339
339
|
function ot(t, e, r, a, n, o) {
|
340
|
-
const
|
340
|
+
const d = c("IconExport"), p = c("VsCheckbox"), h = c("VsDialog");
|
341
341
|
return s(), i(C, null, [
|
342
342
|
l("button", {
|
343
343
|
onClick: e[0] || (e[0] = (u) => n.isOpen = !0),
|
344
344
|
class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
|
345
345
|
}, [
|
346
|
-
b(
|
346
|
+
b(d, {
|
347
347
|
height: "16",
|
348
348
|
width: "16"
|
349
349
|
}),
|
@@ -431,7 +431,7 @@ function ot(t, e, r, a, n, o) {
|
|
431
431
|
}, 8, ["visible"])
|
432
432
|
], 64);
|
433
433
|
}
|
434
|
-
const at = /* @__PURE__ */ m(Qe, [["render", ot]]), it = {},
|
434
|
+
const at = /* @__PURE__ */ m(Qe, [["render", ot]]), it = {}, ct = {
|
435
435
|
xmlns: "http://www.w3.org/2000/svg",
|
436
436
|
viewBox: "0 0 24 24",
|
437
437
|
fill: "none",
|
@@ -441,12 +441,12 @@ const at = /* @__PURE__ */ m(Qe, [["render", ot]]), it = {}, dt = {
|
|
441
441
|
"stroke-linejoin": "round",
|
442
442
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-columns"
|
443
443
|
};
|
444
|
-
function
|
445
|
-
return s(), i("svg",
|
444
|
+
function dt(t, e, r, a, n, o) {
|
445
|
+
return s(), i("svg", ct, e[0] || (e[0] = [
|
446
446
|
j('<path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l5.5 0"></path><path d="M4 10l5.5 0"></path><path d="M4 14l5.5 0"></path><path d="M4 18l5.5 0"></path><path d="M14.5 6l5.5 0"></path><path d="M14.5 10l5.5 0"></path><path d="M14.5 14l5.5 0"></path><path d="M14.5 18l5.5 0"></path>', 9)
|
447
447
|
]));
|
448
448
|
}
|
449
|
-
const ut = /* @__PURE__ */ m(it, [["render",
|
449
|
+
const ut = /* @__PURE__ */ m(it, [["render", dt]]), ht = {
|
450
450
|
props: { column: Object },
|
451
451
|
emits: ["update-column"],
|
452
452
|
data() {
|
@@ -465,7 +465,7 @@ const ut = /* @__PURE__ */ m(it, [["render", ct]]), ht = {
|
|
465
465
|
}
|
466
466
|
}, pt = { class: "flex w-full gap-[8px] items-centr" };
|
467
467
|
function bt(t, e, r, a, n, o) {
|
468
|
-
var
|
468
|
+
var d, p;
|
469
469
|
return s(), i("label", pt, [
|
470
470
|
z(l("input", {
|
471
471
|
"onUpdate:modelValue": e[0] || (e[0] = (h) => n.value = h),
|
@@ -473,7 +473,7 @@ function bt(t, e, r, a, n, o) {
|
|
473
473
|
}, null, 512), [
|
474
474
|
[xe, n.value]
|
475
475
|
]),
|
476
|
-
F(" " + I(((
|
476
|
+
F(" " + I(((d = r.column) == null ? void 0 : d.ua) || ((p = r.column) == null ? void 0 : p.title)), 1)
|
477
477
|
]);
|
478
478
|
}
|
479
479
|
const ft = /* @__PURE__ */ m(ht, [["render", bt]]), mt = {
|
@@ -488,14 +488,14 @@ const ft = /* @__PURE__ */ m(ht, [["render", bt]]), mt = {
|
|
488
488
|
}
|
489
489
|
}, gt = { class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, xt = { class: "py-[10px] px-[10px] w-[260px]" }, yt = { class: "flex flex-col gap-[3px] max-h-[400px] w-full overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
|
490
490
|
function _t(t, e, r, a, n, o) {
|
491
|
-
const
|
491
|
+
const d = c("IconColumns"), p = c("AdminTableColumnsHiddenItem"), h = c("VsPopover");
|
492
492
|
return s(), x(h, {
|
493
493
|
trigger: "click",
|
494
494
|
placement: "bottom"
|
495
495
|
}, {
|
496
496
|
reference: y(() => [
|
497
497
|
l("button", gt, [
|
498
|
-
b(
|
498
|
+
b(d, {
|
499
499
|
height: "20",
|
500
500
|
width: "16"
|
501
501
|
})
|
@@ -542,9 +542,9 @@ const St = /* @__PURE__ */ m($t, [["render", Tt]]), Vt = {
|
|
542
542
|
props: { row: Object, column: Object, table: String }
|
543
543
|
};
|
544
544
|
function At(t, e, r, a, n, o) {
|
545
|
-
var
|
545
|
+
var d, p, h, u, _, w, k, $;
|
546
546
|
return s(), x(ye(
|
547
|
-
((
|
547
|
+
((d = r.column) == null ? void 0 : d.format) === "custom" ? (p = r.column) == null ? void 0 : p.component : t.$componentsConfig[`table-format-${((u = (h = r.column) == null ? void 0 : h.format) == null ? void 0 : u.toLowerCase()) || "text"}`]
|
548
548
|
), {
|
549
549
|
onUpdateTable: e[0] || (e[0] = (g) => t.$emit("update-table")),
|
550
550
|
name: (_ = r.column) == null ? void 0 : _.name,
|
@@ -583,7 +583,7 @@ const jt = /* @__PURE__ */ m(Ft, [["render", Mt]]), zt = {
|
|
583
583
|
}
|
584
584
|
}, Pt = { class: "hs-accordion" }, qt = { class: "py-0.5 flex items-center gap-x-0.5 w-full" }, Bt = { class: "text-sm font-medium" }, Lt = { class: "w-full duration-150 before:block before:absolute relative inline-block b cursor-pointer" };
|
585
585
|
function Ut(t, e, r, a, n, o) {
|
586
|
-
const
|
586
|
+
const d = c("IconPlus"), p = c("IconMinus");
|
587
587
|
return s(), i("div", null, [
|
588
588
|
l("div", null, [
|
589
589
|
l("div", Pt, [
|
@@ -601,7 +601,7 @@ function Ut(t, e, r, a, n, o) {
|
|
601
601
|
n.expanded ? (s(), x(p, {
|
602
602
|
key: 1,
|
603
603
|
width: "14"
|
604
|
-
})) : (s(), x(
|
604
|
+
})) : (s(), x(d, { key: 0 }))
|
605
605
|
])
|
606
606
|
]),
|
607
607
|
b(P, { name: "fade" }, {
|
@@ -637,7 +637,7 @@ const Ot = /* @__PURE__ */ m(zt, [["render", Ut], ["__scopeId", "data-v-4139bc00
|
|
637
637
|
}, Wt = { class: "flex items-center justify-between py-1 gap-x-4" }, Rt = { class: "col-span-1" }, Gt = { class: "inline-flex items-center gap-x-2 text-[13px] text-gray-500 dark:text-neutral-500" }, Zt = { class: "col-span-2" }, Jt = { class: "font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, Kt = { class: "table-info-card" }, Qt = { class: "table-info-card" };
|
638
638
|
function Xt(t, e, r, a, n, o) {
|
639
639
|
var k, $;
|
640
|
-
const
|
640
|
+
const d = c("AdminComponentIs"), p = c("AdminTree"), h = c("VsWidgetMap"), u = c("VsNoData"), _ = c("VsWidgetComments"), w = c("VsWidgetFileList");
|
641
641
|
return s(), i("div", Nt, [
|
642
642
|
e[0] || (e[0] = l("div", { class: "p-[10px] pl-[18px] pb-[18px] border-b" }, [
|
643
643
|
l("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
|
@@ -656,7 +656,7 @@ function Xt(t, e, r, a, n, o) {
|
|
656
656
|
]),
|
657
657
|
l("dd", Zt, [
|
658
658
|
l("p", Jt, [
|
659
|
-
b(
|
659
|
+
b(d, {
|
660
660
|
row: r.row,
|
661
661
|
column: g,
|
662
662
|
table: r.table
|
@@ -780,23 +780,23 @@ const ar = /* @__PURE__ */ m(lr, [["render", or]]), ir = {
|
|
780
780
|
this.isFilters && t.classList.contains("filter-container") && (this.isFilters = !1);
|
781
781
|
}
|
782
782
|
}
|
783
|
-
},
|
783
|
+
}, cr = {
|
784
784
|
key: 0,
|
785
785
|
class: "font-medium text-[10px] py-0.5 px-[5px] bg-gray-800 text-white leading-3 rounded-full dark:bg-neutral-500"
|
786
|
-
},
|
786
|
+
}, dr = { class: "filter-content h-screen bg-white w-[400px] p-[20px] pt-[10px] overflow-x-auto bg-white [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
|
787
787
|
function ur(t, e, r, a, n, o) {
|
788
|
-
const
|
788
|
+
const d = c("IconFilter"), p = c("VsFilter");
|
789
789
|
return s(), i(C, null, [
|
790
790
|
l("button", {
|
791
791
|
onClick: e[0] || (e[0] = (h) => n.isFilters = !n.isFilters),
|
792
792
|
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"
|
793
793
|
}, [
|
794
|
-
b(
|
794
|
+
b(d, {
|
795
795
|
height: "16",
|
796
796
|
width: "16"
|
797
797
|
}),
|
798
798
|
e[4] || (e[4] = F(" Фільтри ")),
|
799
|
-
r.onFilters ? (s(), i("span",
|
799
|
+
r.onFilters ? (s(), i("span", cr, I(r.onFilters), 1)) : v("", !0)
|
800
800
|
]),
|
801
801
|
b(P, { name: "fade" }, {
|
802
802
|
default: y(() => {
|
@@ -807,7 +807,7 @@ function ur(t, e, r, a, n, o) {
|
|
807
807
|
style: { height: "100vh" },
|
808
808
|
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)]"
|
809
809
|
}, [
|
810
|
-
l("div",
|
810
|
+
l("div", dr, [
|
811
811
|
(h = r.scheme) != null && h.length ? (s(), x(p, {
|
812
812
|
key: 0,
|
813
813
|
ref: "filter",
|
@@ -840,12 +840,12 @@ const hr = /* @__PURE__ */ m(ir, [["render", ur]]), pr = {
|
|
840
840
|
}, fr = ["onClick"];
|
841
841
|
function mr(t, e, r, a, n, o) {
|
842
842
|
return s(), i("nav", br, [
|
843
|
-
(s(!0), i(C, null, T(r.tabsList, (
|
844
|
-
onClick: (p) => t.$emit("update:filterState",
|
843
|
+
(s(!0), i(C, null, T(r.tabsList, (d) => (s(), i("button", {
|
844
|
+
onClick: (p) => t.$emit("update:filterState", d == null ? void 0 : d.name),
|
845
845
|
class: S(["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", {
|
846
|
-
" 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": (
|
846
|
+
" font-semibold after:absolute after:bottom-[-8px] after:left-2.5 after:right-2.5 after:z-10 after:h-0.5 after:bg-gray-800": (d == null ? void 0 : d.name) === r.filterState
|
847
847
|
}])
|
848
|
-
}, I(
|
848
|
+
}, I(d == null ? void 0 : d.label), 11, fr))), 256))
|
849
849
|
]);
|
850
850
|
}
|
851
851
|
const gr = /* @__PURE__ */ m(pr, [["render", mr]]), xr = {}, yr = {
|
@@ -873,14 +873,14 @@ const kr = /* @__PURE__ */ m(xr, [["render", _r]]), wr = {
|
|
873
873
|
props: { filterCustom: String, customList: Array }
|
874
874
|
}, vr = { class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, Cr = { class: "flex flex-col gap-[4px]" }, $r = ["onClick"];
|
875
875
|
function Ir(t, e, r, a, n, o) {
|
876
|
-
const
|
876
|
+
const d = c("IconFilter2"), p = c("VsPopover");
|
877
877
|
return s(), x(p, {
|
878
878
|
ref: "popover",
|
879
879
|
placement: "bottom"
|
880
880
|
}, {
|
881
881
|
reference: y(() => [
|
882
882
|
l("button", vr, [
|
883
|
-
b(
|
883
|
+
b(d, {
|
884
884
|
height: "20",
|
885
885
|
width: "20"
|
886
886
|
})
|
@@ -1007,8 +1007,8 @@ const Tr = /* @__PURE__ */ m(wr, [["render", Ir]]), Sr = {
|
|
1007
1007
|
},
|
1008
1008
|
methods: {
|
1009
1009
|
async checkUrlMounted() {
|
1010
|
-
var t, e, r, a, n, o,
|
1011
|
-
this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (r = this.$route) == null ? void 0 : r.query) == null ? void 0 : a.limit) || 20, this.filterState = ((o = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : o.filterState) || null, this.filterCustom = ((p = (
|
1010
|
+
var t, e, r, a, n, o, d, p, h;
|
1011
|
+
this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (r = this.$route) == null ? void 0 : r.query) == null ? void 0 : a.limit) || 20, this.filterState = ((o = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : o.filterState) || null, this.filterCustom = ((p = (d = this.$route) == null ? void 0 : d.query) == null ? void 0 : p.filterCustom) || null, (h = this.$route) != null && h.query.card && (this.isVisibleCardInfo = !0);
|
1012
1012
|
},
|
1013
1013
|
rowWidth(t) {
|
1014
1014
|
var r, a;
|
@@ -1098,7 +1098,7 @@ const Tr = /* @__PURE__ */ m(wr, [["render", Ir]]), Sr = {
|
|
1098
1098
|
}, Wr = { class: "p-[20px] flex justify-end w-full" };
|
1099
1099
|
function Rr(t, e, r, a, n, o) {
|
1100
1100
|
var q, B, L, U, O, E, N, H, W, R, G, Z, J, K;
|
1101
|
-
const
|
1101
|
+
const d = c("IconPlus"), p = c("router-link"), h = c("AdminTableTabs"), u = c("IconSearch"), _ = c("VsText"), w = c("AdminTableCustomFilters"), k = c("AdminTableColumnsHidden"), $ = c("AdminTableExport"), g = c("AdminTableFilters"), V = c("IconOpenCard"), D = c("AdminTableColumn"), M = c("AdminComponentIs"), oe = c("AdminTableControl"), ae = c("AdminNodata"), ie = c("VsPagination"), ce = c("AdminTableCardInfo");
|
1102
1102
|
return s(), i("div", Vr, [
|
1103
1103
|
l("div", Ar, [
|
1104
1104
|
l("h2", Fr, I(r.title), 1),
|
@@ -1108,7 +1108,7 @@ function Rr(t, e, r, a, n, o) {
|
|
1108
1108
|
class: "inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white"
|
1109
1109
|
}, {
|
1110
1110
|
default: y(() => [
|
1111
|
-
b(
|
1111
|
+
b(d, {
|
1112
1112
|
height: "16",
|
1113
1113
|
width: "16"
|
1114
1114
|
}),
|
@@ -1200,9 +1200,9 @@ function Rr(t, e, r, a, n, o) {
|
|
1200
1200
|
])
|
1201
1201
|
]),
|
1202
1202
|
l("tbody", Ur, [
|
1203
|
-
(s(!0), i(C, null, T((J = n.tableData) == null ? void 0 : J.rows, (f,
|
1203
|
+
(s(!0), i(C, null, T((J = n.tableData) == null ? void 0 : J.rows, (f, de) => {
|
1204
1204
|
var Q, X, Y;
|
1205
|
-
return s(), i("tr", { key:
|
1205
|
+
return s(), i("tr", { key: de }, [
|
1206
1206
|
l("td", Or, [
|
1207
1207
|
l("button", {
|
1208
1208
|
onClick: () => o.pushToCard(f == null ? void 0 : f.id),
|
@@ -1262,7 +1262,7 @@ function Rr(t, e, r, a, n, o) {
|
|
1262
1262
|
], 2),
|
1263
1263
|
b(P, { name: "slide-fade" }, {
|
1264
1264
|
default: y(() => [
|
1265
|
-
n.isVisibleCardInfo ? (s(), x(
|
1265
|
+
n.isVisibleCardInfo ? (s(), x(ce, {
|
1266
1266
|
key: 0,
|
1267
1267
|
table: r.table,
|
1268
1268
|
columns: o.columns,
|
@@ -1312,8 +1312,8 @@ const Gr = /* @__PURE__ */ m(Sr, [["render", Rr], ["__scopeId", "data-v-9b255a47
|
|
1312
1312
|
const t = this.flattenMenu(te.value);
|
1313
1313
|
t != null && t.length || this.$router.replace("/404");
|
1314
1314
|
const e = t == null ? void 0 : t.find((o) => {
|
1315
|
-
var
|
1316
|
-
return (o == null ? void 0 : o.path) == ((p = (
|
1315
|
+
var d, p;
|
1316
|
+
return (o == null ? void 0 : o.path) == ((p = (d = this.$route) == null ? void 0 : d.params) == null ? void 0 : p.catchAll);
|
1317
1317
|
});
|
1318
1318
|
this.title = e == null ? void 0 : e.ua, e || this.$router.replace("/404"), e != null && e.component && this.$router.replace((n = (a = this.$route) == null ? void 0 : a.params) == null ? void 0 : n.catchAll);
|
1319
1319
|
const r = e == null ? void 0 : e.table;
|
@@ -1333,8 +1333,8 @@ const Gr = /* @__PURE__ */ m(Sr, [["render", Rr], ["__scopeId", "data-v-9b255a47
|
|
1333
1333
|
}
|
1334
1334
|
}, Jr = ["innerHTML"];
|
1335
1335
|
function Kr(t, e, r, a, n, o) {
|
1336
|
-
const
|
1337
|
-
return n.table ? (s(), x(
|
1336
|
+
const d = c("AdminTable");
|
1337
|
+
return n.table ? (s(), x(d, {
|
1338
1338
|
key: 0,
|
1339
1339
|
table: n.table,
|
1340
1340
|
title: n.title
|