@opengis/admin 0.1.72 → 0.1.73
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{IconChevronDown-C5bX-n6U.js → IconChevronDown-Bo0VyMHX.js} +1 -1
- package/dist/{add-page-8jUr_Av6.js → add-page-CyIBxGV_.js} +1 -1
- package/dist/{admin-interface-Cmyvtr-X.js → admin-interface-Dwr6luwW.js} +44 -44
- package/dist/{admin-view-B0lU5eIG.js → admin-view-CFzoulzN.js} +2 -2
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +97 -97
- package/dist/{card-page-DMlxnOVF.js → card-page-GyqV7foK.js} +99 -96
- package/dist/{card-view-F0hQEiNz.js → card-view-DLrRTkKE.js} +1 -1
- package/dist/{edit-page-BJSs9RJU.js → edit-page-DUBOxKSi.js} +1 -1
- package/dist/{import-file-DsHdUJ7C.js → import-file-BvAgSmhY.js} +3863 -3898
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/plugin.js +2 -78
- package/server/plugins/adminHook.js +0 -72
- package/server/plugins/hook.js +99 -37
- package/server/routes/menu/controllers/getMenu.js +10 -6
@@ -1,5 +1,5 @@
|
|
1
1
|
import { openBlock as e, createElementBlock as t, createElementVNode as n } from "vue";
|
2
|
-
import { _ as r } from "./import-file-
|
2
|
+
import { _ as r } from "./import-file-BvAgSmhY.js";
|
3
3
|
const l = {}, s = {
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
5
5
|
viewBox: "0 0 24 24",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as m, u as d, a as i } from "./import-file-
|
1
|
+
import { _ as m, u as d, a as i } from "./import-file-BvAgSmhY.js";
|
2
2
|
import { resolveComponent as b, openBlock as u, createElementBlock as h, createElementVNode as n, createBlock as p, createCommentVNode as f } from "vue";
|
3
3
|
const x = {
|
4
4
|
data() {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { _, b as pe, a as T, c as be, d as fe, e as me, f as ge, I as xe, u as re } from "./import-file-
|
1
|
+
import { _, b as pe, a as T, c as be, d as fe, e as me, f as ge, I as xe, u as re } from "./import-file-BvAgSmhY.js";
|
2
2
|
import { openBlock as s, createElementBlock as a, createTextVNode as D, toDisplayString as S, createCommentVNode as C, createStaticVNode as j, Fragment as $, createElementVNode as l, resolveComponent as d, createVNode as f, withCtx as w, createBlock as v, withModifiers as ye, renderList as I, normalizeClass as A, withDirectives as q, vModelCheckbox as _e, resolveDynamicComponent as ke, Transition as z, renderSlot as ve, vShow as se, normalizeStyle as le } from "vue";
|
3
|
-
import { I as we } from "./IconChevronDown-
|
3
|
+
import { I as we } from "./IconChevronDown-Bo0VyMHX.js";
|
4
4
|
const Ce = {
|
5
5
|
data() {
|
6
6
|
return {
|
@@ -208,7 +208,7 @@ const Ue = /* @__PURE__ */ _(ze, [["render", Le]]), Oe = {
|
|
208
208
|
class: "h-[1px] w-[80%] bg-gray-200 ml-auto mr-auto"
|
209
209
|
}, Re = { class: "p-4" }, Ge = { class: "flex justify-end mt-4 gap-x-3" };
|
210
210
|
function Ze(t, e, n, i, r, o) {
|
211
|
-
const u = d("IconMore"), b = d("IconEdit"), p = d("router-link"),
|
211
|
+
const u = d("IconMore"), b = d("IconEdit"), p = d("router-link"), g = d("IconDelete"), k = d("VsPopover"), c = d("VsDialog");
|
212
212
|
return s(), a($, null, [
|
213
213
|
l("div", Ee, [
|
214
214
|
f(k, {
|
@@ -244,7 +244,7 @@ function Ze(t, e, n, i, r, o) {
|
|
244
244
|
onClick: e[0] || (e[0] = ye((...M) => o.openConfirm && o.openConfirm(...M), ["stop"])),
|
245
245
|
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"
|
246
246
|
}, [
|
247
|
-
f(
|
247
|
+
f(g),
|
248
248
|
e[5] || (e[5] = l("span", { class: "text-gray-800" }, "Видалити", -1))
|
249
249
|
])) : C("", !0)
|
250
250
|
])
|
@@ -437,7 +437,7 @@ const rt = /* @__PURE__ */ _(et, [["render", nt]]), lt = {
|
|
437
437
|
class: "flex w-full justify-end p-[20px] gap-[6px] border-t"
|
438
438
|
};
|
439
439
|
function yt(t, e, n, i, r, o) {
|
440
|
-
const u = d("IconExport"), b = d("IconChevronDown"), p = d("IconSuccess"),
|
440
|
+
const u = d("IconExport"), b = d("IconChevronDown"), p = d("IconSuccess"), g = d("VsCheckbox"), k = d("VsDialog");
|
441
441
|
return s(), a($, null, [
|
442
442
|
l("button", {
|
443
443
|
onClick: e[0] || (e[0] = (c) => r.isOpen = !0),
|
@@ -518,7 +518,7 @@ function yt(t, e, n, i, r, o) {
|
|
518
518
|
key: x,
|
519
519
|
style: { width: "calc((100% - 10px) / 2)" }
|
520
520
|
}, [
|
521
|
-
f(
|
521
|
+
f(g, {
|
522
522
|
class: "[&>label]:text-sm [&>label]:text-gray-800 [&>label]:ms-3 !gap-x-[1px] !p-0",
|
523
523
|
modelValue: r.cols,
|
524
524
|
"onUpdate:modelValue": e[1] || (e[1] = (h) => r.cols = h),
|
@@ -629,9 +629,9 @@ function Mt(t, e, n, i, r, o) {
|
|
629
629
|
l("div", Dt, [
|
630
630
|
e[0] || (e[0] = l("h2", { class: "text-sm mb-[8px]" }, "Оберіть колонки, щоб приховати", -1)),
|
631
631
|
l("ul", Ft, [
|
632
|
-
(s(!0), a($, null, I(n.columns, (
|
632
|
+
(s(!0), a($, null, I(n.columns, (g, k) => (s(), a("li", { key: k }, [
|
633
633
|
f(b, {
|
634
|
-
column:
|
634
|
+
column: g,
|
635
635
|
onUpdateColumn: o.updateColumn
|
636
636
|
}, null, 8, ["column", "onUpdateColumn"])
|
637
637
|
]))), 128))
|
@@ -666,9 +666,9 @@ const Ot = /* @__PURE__ */ _(Pt, [["render", Ut]]), Et = {
|
|
666
666
|
props: { row: Object, column: Object, table: String }
|
667
667
|
};
|
668
668
|
function Ht(t, e, n, i, r, o) {
|
669
|
-
var u, b, p,
|
669
|
+
var u, b, p, g, k, c, x, h;
|
670
670
|
return s(), v(ke(
|
671
|
-
((u = n.column) == null ? void 0 : u.format) === "custom" ? (b = n.column) == null ? void 0 : b.component : `table-format-${((
|
671
|
+
((u = n.column) == null ? void 0 : u.format) === "custom" ? (b = n.column) == null ? void 0 : b.component : `table-format-${((g = (p = n.column) == null ? void 0 : p.format) == null ? void 0 : g.toLowerCase()) || "text"}`
|
672
672
|
), {
|
673
673
|
onUpdateTable: e[0] || (e[0] = (y) => t.$emit("update-table")),
|
674
674
|
name: (k = n.column) == null ? void 0 : k.name,
|
@@ -761,7 +761,7 @@ const en = /* @__PURE__ */ _(Zt, [["render", Yt], ["__scopeId", "data-v-4139bc00
|
|
761
761
|
}, ln = { class: "flex items-center justify-between py-1 gap-x-4" }, sn = { class: "col-span-1" }, on = { class: "inline-flex items-center gap-x-2 text-[13px] text-gray-500 dark:text-neutral-500" }, an = { class: "col-span-2" }, cn = { class: "font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, un = { class: "table-info-card" }, dn = { class: "table-info-card" };
|
762
762
|
function hn(t, e, n, i, r, o) {
|
763
763
|
var x, h;
|
764
|
-
const u = d("AdminComponentIs"), b = d("AdminTree"), p = d("VsWidgetMap"),
|
764
|
+
const u = d("AdminComponentIs"), b = d("AdminTree"), p = d("VsWidgetMap"), g = d("VsNoData"), k = d("VsWidgetComments"), c = d("VsWidgetFileList");
|
765
765
|
return s(), a("div", nn, [
|
766
766
|
e[0] || (e[0] = l("div", { class: "p-[10px] pl-[18px] pb-[18px] border-b" }, [
|
767
767
|
l("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
|
@@ -802,7 +802,7 @@ function hn(t, e, n, i, r, o) {
|
|
802
802
|
key: 0,
|
803
803
|
geometry: (V = n.row) == null ? void 0 : V.geom,
|
804
804
|
zoom: 14
|
805
|
-
}, null, 8, ["geometry"])) : (s(), v(
|
805
|
+
}, null, 8, ["geometry"])) : (s(), v(g, {
|
806
806
|
key: 1,
|
807
807
|
title: "У об'єкта відсутня геометрія",
|
808
808
|
text: "",
|
@@ -844,7 +844,7 @@ function hn(t, e, n, i, r, o) {
|
|
844
844
|
}),
|
845
845
|
_: 1
|
846
846
|
})
|
847
|
-
], 64)) : (s(), v(
|
847
|
+
], 64)) : (s(), v(g, {
|
848
848
|
key: 1,
|
849
849
|
text: "Оберіть один з об'єктів в таблиці для відображення інформаціі про нього"
|
850
850
|
}))
|
@@ -928,7 +928,7 @@ function $n(t, e, n, i, r, o) {
|
|
928
928
|
var p;
|
929
929
|
return [
|
930
930
|
q(l("div", {
|
931
|
-
onClick: e[3] || (e[3] = (...
|
931
|
+
onClick: e[3] || (e[3] = (...g) => o.closeFilter && o.closeFilter(...g)),
|
932
932
|
style: { height: "100vh" },
|
933
933
|
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)]"
|
934
934
|
}, [
|
@@ -941,9 +941,9 @@ function $n(t, e, n, i, r, o) {
|
|
941
941
|
"apply-vue-router": "",
|
942
942
|
history: "",
|
943
943
|
name: "filter",
|
944
|
-
onFilterChange: e[1] || (e[1] = (
|
944
|
+
onFilterChange: e[1] || (e[1] = (g) => t.$emit("filterChange", g)),
|
945
945
|
closeFilterBtn: !0,
|
946
|
-
onFilterClose: e[2] || (e[2] = (
|
946
|
+
onFilterClose: e[2] || (e[2] = (g) => r.isFilters = !1)
|
947
947
|
}, null, 8, ["scheme"])) : C("", !0)
|
948
948
|
])
|
949
949
|
], 512), [
|
@@ -1013,19 +1013,19 @@ function Un(t, e, n, i, r, o) {
|
|
1013
1013
|
]),
|
1014
1014
|
default: w(() => [
|
1015
1015
|
l("div", Pn, [
|
1016
|
-
(s(!0), a($, null, I(n.customList, (p,
|
1016
|
+
(s(!0), a($, null, I(n.customList, (p, g) => (s(), a("button", {
|
1017
1017
|
onClick: (k) => {
|
1018
1018
|
var c;
|
1019
1019
|
t.$emit("update:filterCustom", p == null ? void 0 : p.name), (c = t.$refs) == null || c.popover.togglePopover();
|
1020
1020
|
},
|
1021
|
-
key:
|
1021
|
+
key: g,
|
1022
1022
|
class: A(["p-[8px] block rounded-lg w-[140px] text-start hover:bg-gray-100 !duration-300", { "bg-gray-100": n.filterCustom === (p == null ? void 0 : p.name) }])
|
1023
1023
|
}, S(p == null ? void 0 : p.label), 11, Ln))), 128)),
|
1024
1024
|
l("button", {
|
1025
1025
|
class: "p-[8px] block rounded-lg w-[140px] text-start hover:bg-gray-100 !duration-300",
|
1026
1026
|
onClick: e[0] || (e[0] = (p) => {
|
1027
|
-
var
|
1028
|
-
t.$emit("update:filterCustom", void 0), (
|
1027
|
+
var g;
|
1028
|
+
t.$emit("update:filterCustom", void 0), (g = t.$refs) == null || g.popover.togglePopover();
|
1029
1029
|
})
|
1030
1030
|
}, " Скинути фільтри ")
|
1031
1031
|
])
|
@@ -1158,8 +1158,8 @@ const On = /* @__PURE__ */ _(zn, [["render", Un]]), En = (t, e = 300) => {
|
|
1158
1158
|
},
|
1159
1159
|
methods: {
|
1160
1160
|
async checkUrlMounted() {
|
1161
|
-
var t, e, n, i, r, o, u, b, p,
|
1162
|
-
this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((i = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : i.limit) || 20, this.filterState = ((o = (r = this.$route) == null ? void 0 : r.query) == null ? void 0 : o.filterState) || null, this.filterCustom = ((b = (u = this.$route) == null ? void 0 : u.query) == null ? void 0 : b.filterCustom) || null, this.searchValue = ((
|
1161
|
+
var t, e, n, i, r, o, u, b, p, g, k, c, x, h;
|
1162
|
+
this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((i = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : i.limit) || 20, this.filterState = ((o = (r = this.$route) == null ? void 0 : r.query) == null ? void 0 : o.filterState) || null, this.filterCustom = ((b = (u = this.$route) == null ? void 0 : u.query) == null ? void 0 : b.filterCustom) || null, this.searchValue = ((g = (p = this.$route) == null ? void 0 : p.query) == null ? void 0 : g.search) || null, this.visibleColumns = ((x = (c = (k = this.$route) == null ? void 0 : k.query) == null ? void 0 : c.columns) == null ? void 0 : x.split(",")) || [], (h = this.$route) != null && h.query.card && (this.isVisibleCardInfo = !0);
|
1163
1163
|
},
|
1164
1164
|
rowWidth(t) {
|
1165
1165
|
var n, i;
|
@@ -1173,7 +1173,7 @@ const On = /* @__PURE__ */ _(zn, [["render", Un]]), En = (t, e = 300) => {
|
|
1173
1173
|
this.page = 1, this.visibleColumns = [], this.filterCustom = null, this.filterState = null, this.isVisibleCardInfo = !1, this.filterScheme = null, this.filters = null, this.onFilters = 0, this.searchValue = "";
|
1174
1174
|
},
|
1175
1175
|
async getTableData() {
|
1176
|
-
var t, e, n, i, r, o, u, b, p,
|
1176
|
+
var t, e, n, i, r, o, u, b, p, g, k;
|
1177
1177
|
try {
|
1178
1178
|
const { data: c } = await T.get(`/api/template/table/${this.table}`), x = await T.get(`/api/table-data/${this.table}`, {
|
1179
1179
|
params: {
|
@@ -1192,7 +1192,7 @@ const On = /* @__PURE__ */ _(zn, [["render", Un]]), En = (t, e = 300) => {
|
|
1192
1192
|
}, this.initialHiddenColumns = (o = (r = (i = (n = this.tableData) == null ? void 0 : n.columns) == null ? void 0 : i.filter((h) => (h == null ? void 0 : h.hidden) !== !0)) == null ? void 0 : r.map((h) => h == null ? void 0 : h.name)) == null ? void 0 : o.join(","), (u = this.visibleColumns) != null && u.length ? (b = this.tableData) == null || b.columns.forEach((h) => {
|
1193
1193
|
var y;
|
1194
1194
|
(y = this.visibleColumns) != null && y.includes(h == null ? void 0 : h.name) ? h.hidden = !1 : h.hidden = !0;
|
1195
|
-
}) : this.visibleColumns = (k = (
|
1195
|
+
}) : this.visibleColumns = (k = (g = (p = this.tableData) == null ? void 0 : p.columns) == null ? void 0 : g.filter((h) => (h == null ? void 0 : h.hidden) !== !0)) == null ? void 0 : k.map((h) => h == null ? void 0 : h.name);
|
1196
1196
|
} catch {
|
1197
1197
|
}
|
1198
1198
|
},
|
@@ -1252,7 +1252,7 @@ const On = /* @__PURE__ */ _(zn, [["render", Un]]), En = (t, e = 300) => {
|
|
1252
1252
|
}, or = { class: "p-[20px] flex justify-start items-center w-full" }, ar = { class: "w-[200px]" }, ir = { class: "text-sm text-gray-600 dark:text-neutral-400" }, cr = { class: "font-semibold text-gray-800 dark:text-neutral-200" }, ur = { class: "font-semibold text-gray-800 dark:text-neutral-200" };
|
1253
1253
|
function dr(t, e, n, i, r, o) {
|
1254
1254
|
var B, P, L, U, O, E, H, N, W, R, G, Z, J, K, Q, X;
|
1255
|
-
const u = d("IconPlus"), b = d("router-link"), p = d("AdminTableTabs"),
|
1255
|
+
const u = d("IconPlus"), b = d("router-link"), p = d("AdminTableTabs"), g = d("IconSearch"), k = d("VsText"), c = d("AdminTableCustomFilters"), x = d("AdminTableColumnsHidden"), h = d("AdminTableExport"), y = d("AdminTableFilters"), V = d("IconOpenCard"), F = d("AdminTableColumn"), M = d("AdminComponentIs"), ie = d("AdminTableControl"), ce = d("AdminNodata"), ue = d("VsPagination"), de = d("AdminTableCardInfo");
|
1256
1256
|
return s(), a("div", Nn, [
|
1257
1257
|
l("div", Wn, [
|
1258
1258
|
l("h2", Rn, S(n.title), 1),
|
@@ -1277,7 +1277,7 @@ function dr(t, e, n, i, r, o) {
|
|
1277
1277
|
key: 0,
|
1278
1278
|
tabsList: (O = r.tableData) == null ? void 0 : O.filterState,
|
1279
1279
|
filterState: r.filterState,
|
1280
|
-
"onUpdate:filterState": e[0] || (e[0] = (
|
1280
|
+
"onUpdate:filterState": e[0] || (e[0] = (m) => r.filterState = m)
|
1281
1281
|
}, null, 8, ["tabsList", "filterState"])) : C("", !0),
|
1282
1282
|
l("div", Jn, [
|
1283
1283
|
l("div", {
|
@@ -1286,14 +1286,14 @@ function dr(t, e, n, i, r, o) {
|
|
1286
1286
|
l("div", {
|
1287
1287
|
class: A(["flex sm:grid sm:grid-cols-2 gap-x-2 sm:gap-x-5 mb-[10px] relative", { "pr-[20px]": !r.isVisibleCardInfo }])
|
1288
1288
|
}, [
|
1289
|
-
f(
|
1289
|
+
f(g, {
|
1290
1290
|
height: "14",
|
1291
1291
|
width: "14",
|
1292
1292
|
class: "absolute top-[10px] left-[14px] text-gray-500 z-[1]"
|
1293
1293
|
}),
|
1294
1294
|
f(k, {
|
1295
1295
|
modelValue: r.searchValue,
|
1296
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
1296
|
+
"onUpdate:modelValue": e[1] || (e[1] = (m) => r.searchValue = m),
|
1297
1297
|
placeholder: "Пошук...",
|
1298
1298
|
clearable: !0,
|
1299
1299
|
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"
|
@@ -1303,11 +1303,11 @@ function dr(t, e, n, i, r, o) {
|
|
1303
1303
|
key: 0,
|
1304
1304
|
customList: (N = r.tableData) == null ? void 0 : N.filterCustom,
|
1305
1305
|
filterCustom: r.filterCustom,
|
1306
|
-
"onUpdate:filterCustom": e[2] || (e[2] = (
|
1306
|
+
"onUpdate:filterCustom": e[2] || (e[2] = (m) => r.filterCustom = m)
|
1307
1307
|
}, null, 8, ["customList", "filterCustom"])) : C("", !0),
|
1308
1308
|
f(x, {
|
1309
1309
|
columns: (W = r.tableData) == null ? void 0 : W.columns,
|
1310
|
-
onUpdateColumns: e[3] || (e[3] = (
|
1310
|
+
onUpdateColumns: e[3] || (e[3] = (m) => r.tableData.columns = m)
|
1311
1311
|
}, null, 8, ["columns"]),
|
1312
1312
|
f(h, {
|
1313
1313
|
table: n.table,
|
@@ -1323,7 +1323,7 @@ function dr(t, e, n, i, r, o) {
|
|
1323
1323
|
onFilterChange: o.filterChange
|
1324
1324
|
}, null, 8, ["scheme", "onFilters", "onFilterChange"]),
|
1325
1325
|
l("button", {
|
1326
|
-
onClick: e[4] || (e[4] = (...
|
1326
|
+
onClick: e[4] || (e[4] = (...m) => o.toggleCardInfo && o.toggleCardInfo(...m)),
|
1327
1327
|
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"
|
1328
1328
|
}, [
|
1329
1329
|
f(V, {
|
@@ -1345,14 +1345,14 @@ function dr(t, e, n, i, r, o) {
|
|
1345
1345
|
o.isNoData ? (s(), v(ce, { key: 1 })) : (s(), a("table", Xn, [
|
1346
1346
|
l("thead", Yn, [
|
1347
1347
|
l("tr", er, [
|
1348
|
-
(s(!0), a($, null, I(o.columns, (
|
1349
|
-
key:
|
1348
|
+
(s(!0), a($, null, I(o.columns, (m) => (s(), v(F, {
|
1349
|
+
key: m.name,
|
1350
1350
|
style: le({
|
1351
|
-
width: o.rowWidth(
|
1352
|
-
textAlign:
|
1353
|
-
wordBreak:
|
1351
|
+
width: o.rowWidth(m == null ? void 0 : m.name),
|
1352
|
+
textAlign: m == null ? void 0 : m.align,
|
1353
|
+
wordBreak: m == null ? void 0 : m.wrap
|
1354
1354
|
}),
|
1355
|
-
data:
|
1355
|
+
data: m,
|
1356
1356
|
activeColumn: r.activeColumn,
|
1357
1357
|
onChangeActive: o.changeActiveColumn
|
1358
1358
|
}, null, 8, ["style", "data", "activeColumn", "onChangeActive"]))), 128)),
|
@@ -1360,18 +1360,18 @@ function dr(t, e, n, i, r, o) {
|
|
1360
1360
|
])
|
1361
1361
|
]),
|
1362
1362
|
l("tbody", tr, [
|
1363
|
-
(s(!0), a($, null, I((J = r.tableData) == null ? void 0 : J.rows, (
|
1363
|
+
(s(!0), a($, null, I((J = r.tableData) == null ? void 0 : J.rows, (m, he) => {
|
1364
1364
|
var Y, ee, te;
|
1365
1365
|
return s(), a("tr", { key: he }, [
|
1366
1366
|
l("td", nr, [
|
1367
1367
|
l("button", {
|
1368
|
-
onClick: () => o.pushToCard(
|
1368
|
+
onClick: () => o.pushToCard(m == null ? void 0 : m.id),
|
1369
1369
|
class: A(["text-sm font-medium", [
|
1370
1370
|
((Y = r.tableData) == null ? void 0 : Y.card) === !1 ? "" : "text-blue-600 decoration-2 focus:outline-none focus:underline hover:text-blue-600 hover:underline"
|
1371
1371
|
]])
|
1372
1372
|
}, [
|
1373
1373
|
f(M, {
|
1374
|
-
row:
|
1374
|
+
row: m,
|
1375
1375
|
column: o.columns[0],
|
1376
1376
|
table: n.table,
|
1377
1377
|
onUpdateTable: o.getTableData
|
@@ -1379,12 +1379,12 @@ function dr(t, e, n, i, r, o) {
|
|
1379
1379
|
], 10, rr)
|
1380
1380
|
]),
|
1381
1381
|
(s(!0), a($, null, I((ee = o.columns) == null ? void 0 : ee.slice(1), (ne) => (s(), a("td", {
|
1382
|
-
onClick: (mr) => o.changeActiveCardInfo(
|
1382
|
+
onClick: (mr) => o.changeActiveCardInfo(m == null ? void 0 : m.id),
|
1383
1383
|
class: A(["px-3 py-3 text-sm text-gray-600 text-start whitespace-nowrap", { "cursor-pointer": r.isVisibleCardInfo }]),
|
1384
1384
|
key: ne.name
|
1385
1385
|
}, [
|
1386
1386
|
f(M, {
|
1387
|
-
row:
|
1387
|
+
row: m,
|
1388
1388
|
column: ne,
|
1389
1389
|
table: n.table,
|
1390
1390
|
onUpdateTable: o.getTableData
|
@@ -1394,7 +1394,7 @@ function dr(t, e, n, i, r, o) {
|
|
1394
1394
|
f(ie, {
|
1395
1395
|
actions: o.getActions,
|
1396
1396
|
isForm: o.isForm,
|
1397
|
-
item:
|
1397
|
+
item: m,
|
1398
1398
|
table: n.table,
|
1399
1399
|
onUpdateTable: o.getTableData
|
1400
1400
|
}, null, 8, ["actions", "isForm", "item", "table", "onUpdateTable"])
|
@@ -1442,7 +1442,7 @@ function dr(t, e, n, i, r, o) {
|
|
1442
1442
|
])
|
1443
1443
|
]);
|
1444
1444
|
}
|
1445
|
-
const hr = /* @__PURE__ */ _(Hn, [["render", dr], ["__scopeId", "data-v-
|
1445
|
+
const hr = /* @__PURE__ */ _(Hn, [["render", dr], ["__scopeId", "data-v-4fec8b49"]]), pr = {
|
1446
1446
|
components: { AdminTable: hr },
|
1447
1447
|
data() {
|
1448
1448
|
return {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { _ as w, I as Q, u as B, V as F, a as O } from "./import-file-
|
1
|
+
import { _ as w, I as Q, u as B, V as F, a as O } from "./import-file-BvAgSmhY.js";
|
2
2
|
import { openBlock as s, createElementBlock as r, createElementVNode as t, createStaticVNode as R, resolveComponent as _, normalizeClass as E, createTextVNode as L, toDisplayString as V, createVNode as c, Transition as T, withCtx as M, withDirectives as q, Fragment as N, renderList as S, vShow as G, ref as D, createCommentVNode as H, getCurrentInstance as J, watch as K, onBeforeUnmount as W, createBlock as X, withModifiers as Y } from "vue";
|
3
|
-
import { I as ee } from "./IconChevronDown-
|
3
|
+
import { I as ee } from "./IconChevronDown-Bo0VyMHX.js";
|
4
4
|
const te = {}, oe = {
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
6
6
|
viewBox: "0 0 24 24",
|
package/dist/admin.js
CHANGED