@opengis/admin 0.1.26 → 0.1.28
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/dist/{IconSearch-Dzh7isDo.js → IconSearch-B9h4uJrQ.js} +1 -1
- package/dist/{add-page-Bqo89ZhV.js → add-page-DT_V_-dX.js} +1 -1
- package/dist/{admin-interface-_aBJ2Q5B.js → admin-interface-CGDa_i8E.js} +24 -26
- package/dist/{admin-view-oqNsQ8Yh.js → admin-view-D_gnk37B.js} +2 -2
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +25 -25
- package/dist/{card-page-DtL44Dyl.js → card-page-B-KPpKLO.js} +18 -18
- package/dist/{card-view-CJXpyOcM.js → card-view-ChQ86dRT.js} +1 -1
- package/dist/{edit-page-Rw4844su.js → edit-page-ChpgKkhK.js} +1 -1
- package/dist/{import-file-De3lGFop.js → import-file-rpq4v06F.js} +5886 -5650
- package/dist/style.css +1 -1
- package/module/settings/card/admin.roles.table/index.yml +4 -2
- package/module/settings/form/admin.users.form.json +0 -14
- package/module/settings/table/admin.users.table.json +0 -6
- package/package.json +1 -1
- package/server/routes/data/controllers/cardData.js +28 -3
- package/server/routes/data/controllers/cardTabData.js +40 -0
- package/server/routes/data/controllers/funcs/getFilterSQL/index.js +6 -3
- package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +2 -2
- package/server/routes/data/index.mjs +2 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as $ } from "./userMenu-CT1xO2Pt.js";
|
|
2
|
-
import { _ as V, a as z } from "./import-file-
|
|
2
|
+
import { _ as V, a as z } from "./import-file-rpq4v06F.js";
|
|
3
3
|
import { resolveComponent as N, openBlock as n, createElementBlock as c, createElementVNode as u, toDisplayString as j, createVNode as q, withCtx as B, createTextVNode as E, normalizeClass as T, Fragment as k, renderList as M, createBlock as L, resolveDynamicComponent as H, createCommentVNode as v } from "vue";
|
|
4
4
|
const A = {
|
|
5
5
|
data() {
|
|
@@ -19,14 +19,14 @@ const A = {
|
|
|
19
19
|
return r || this.$router.replace("/404"), r == null ? void 0 : r.path;
|
|
20
20
|
},
|
|
21
21
|
getTitle() {
|
|
22
|
-
var t, r, a, l, s, h, i,
|
|
22
|
+
var t, r, a, l, s, h, i, x, g, d, o, C, w, e, y;
|
|
23
23
|
if ((a = (r = (t = this.objectData) == null ? void 0 : t.rows) == null ? void 0 : r[0]) != null && a.name)
|
|
24
|
-
return ((i = (h = (s = (l = this.objectData) == null ? void 0 : l.rows) == null ? void 0 : s[0]) == null ? void 0 : h.name) == null ? void 0 : i.length) < 35 ? (d = (g = (
|
|
24
|
+
return ((i = (h = (s = (l = this.objectData) == null ? void 0 : l.rows) == null ? void 0 : s[0]) == null ? void 0 : h.name) == null ? void 0 : i.length) < 35 ? (d = (g = (x = this.objectData) == null ? void 0 : x.rows) == null ? void 0 : g[0]) == null ? void 0 : d.name : ((e = (w = (C = (o = this.objectData) == null ? void 0 : o.rows) == null ? void 0 : C[0]) == null ? void 0 : w.name) == null ? void 0 : e.slice(0, 35)) + " ...";
|
|
25
25
|
{
|
|
26
26
|
const p = (y = this.flattenMenu($.value)) == null ? void 0 : y.find(
|
|
27
|
-
(
|
|
27
|
+
(b) => {
|
|
28
28
|
var f, _;
|
|
29
|
-
return (
|
|
29
|
+
return (b == null ? void 0 : b.table) === ((_ = (f = this.$route) == null ? void 0 : f.params) == null ? void 0 : _.table);
|
|
30
30
|
}
|
|
31
31
|
);
|
|
32
32
|
return p == null ? void 0 : p.ua;
|
|
@@ -60,12 +60,12 @@ const A = {
|
|
|
60
60
|
return "grid-cols-12";
|
|
61
61
|
},
|
|
62
62
|
checkActiveComponent() {
|
|
63
|
-
var t, r, a, l, s, h, i,
|
|
63
|
+
var t, r, a, l, s, h, i, x, g;
|
|
64
64
|
if ((r = (t = this.$route) == null ? void 0 : t.query) != null && r.tab)
|
|
65
65
|
this.component = (l = (a = this.$route) == null ? void 0 : a.query) == null ? void 0 : l.tab;
|
|
66
66
|
else {
|
|
67
67
|
const d = (h = (s = this.objectData) == null ? void 0 : s.panels) == null ? void 0 : h.find((o) => (o == null ? void 0 : o.type) === "tabs");
|
|
68
|
-
(i = d == null ? void 0 : d.items) != null && i.length && (this.component = ((
|
|
68
|
+
(i = d == null ? void 0 : d.items) != null && i.length && (this.component = ((x = d.items[0]) == null ? void 0 : x.component) || ((g = d.items[0]) == null ? void 0 : g.name));
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
flattenMenu(t) {
|
|
@@ -98,20 +98,20 @@ const A = {
|
|
|
98
98
|
class: "p-[20px] border-t"
|
|
99
99
|
}, re = ["innerHTML"];
|
|
100
100
|
function se(t, r, a, l, s, h) {
|
|
101
|
-
var
|
|
101
|
+
var x, g, d;
|
|
102
102
|
const i = N("router-link");
|
|
103
103
|
return n(), c("div", G, [
|
|
104
104
|
u("div", O, [
|
|
105
105
|
u("div", R, [
|
|
106
106
|
u("button", {
|
|
107
107
|
onClick: r[0] || (r[0] = (o) => t.$router.back()),
|
|
108
|
-
class: "text-sm text-blue-600
|
|
108
|
+
class: "text-sm h-[20px] text-blue-600 font-medium hover:border-b hover:border-b-2 hover:border-b-blue-500"
|
|
109
109
|
}, " До таблиці "),
|
|
110
110
|
u("h2", m, j(h.getTitle), 1)
|
|
111
111
|
]),
|
|
112
112
|
u("div", F, [
|
|
113
113
|
q(i, {
|
|
114
|
-
to: `/edit?table=${h.getRoute}&id=${(g = (
|
|
114
|
+
to: `/edit?table=${h.getRoute}&id=${(g = (x = t.$route) == null ? void 0 : x.params) == null ? void 0 : g.id}`,
|
|
115
115
|
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"
|
|
116
116
|
}, {
|
|
117
117
|
default: B(() => r[1] || (r[1] = [
|
|
@@ -138,7 +138,7 @@ function se(t, r, a, l, s, h) {
|
|
|
138
138
|
}, null, 8, S)
|
|
139
139
|
])) : o.type === "container" ? (n(), c("div", J, [
|
|
140
140
|
(n(!0), c(k, null, M(o.items, (e, y) => {
|
|
141
|
-
var p,
|
|
141
|
+
var p, b, f, _, D;
|
|
142
142
|
return n(), c("div", {
|
|
143
143
|
key: y,
|
|
144
144
|
class: "border rounded-xl bg-white mb-[20px]"
|
|
@@ -146,7 +146,7 @@ function se(t, r, a, l, s, h) {
|
|
|
146
146
|
u("h2", K, j((e == null ? void 0 : e.title) || "Панель"), 1),
|
|
147
147
|
e != null && e.component ? (n(), c("div", Q, [
|
|
148
148
|
(n(), L(H(e.component), {
|
|
149
|
-
geometry: (
|
|
149
|
+
geometry: (b = (p = s.objectData) == null ? void 0 : p.rows[0]) == null ? void 0 : b.geom,
|
|
150
150
|
zoom: 16,
|
|
151
151
|
id: (_ = (f = t.$route) == null ? void 0 : f.params) == null ? void 0 : _.id
|
|
152
152
|
}, null, 8, ["geometry", "id"]))
|
|
@@ -164,20 +164,20 @@ function se(t, r, a, l, s, h) {
|
|
|
164
164
|
(n(!0), c(k, null, M(o == null ? void 0 : o.items, (e) => (n(), c("button", {
|
|
165
165
|
key: (e == null ? void 0 : e.name) || (e == null ? void 0 : e.component),
|
|
166
166
|
onClick: (y) => s.component = (e == null ? void 0 : e.component) || (e == null ? void 0 : e.name),
|
|
167
|
-
class: T(["px-2.5 h-[30px] py-1.5 relative inline-flex items-center gap-x-2 text-gray-500 hover:text-gray-800 text-sm whitespace-nowrap rounded-lg focus:outline-none", {
|
|
168
|
-
"
|
|
169
|
-
"
|
|
167
|
+
class: T(["px-2.5 h-[30px] py-1.5 relative inline-flex items-center gap-x-2 text-gray-500 hover:bg-gray-100 focus:bg-gray-100 hover:text-gray-800 text-sm whitespace-nowrap rounded-lg focus:outline-none", {
|
|
168
|
+
" font-semibold after:absolute after:bottom-[-14px] after:left-2.5 after:right-2.5 after:z-10 after:h-0.5 after:bg-gray-800": s.component === (e == null ? void 0 : e.component) || s.component === (e == null ? void 0 : e.name),
|
|
169
|
+
"": s.component !== (e == null ? void 0 : e.component) && s.component !== (e == null ? void 0 : e.name)
|
|
170
170
|
}])
|
|
171
171
|
}, j(e == null ? void 0 : e.title), 11, Y))), 128))
|
|
172
172
|
]),
|
|
173
173
|
(n(!0), c(k, null, M(o.items, (e, y) => {
|
|
174
|
-
var p,
|
|
174
|
+
var p, b, f, _, D;
|
|
175
175
|
return n(), c(k, { key: y }, [
|
|
176
176
|
s.component === (e == null ? void 0 : e.component) || s.component === (e == null ? void 0 : e.name) ? (n(), c("div", Z, [
|
|
177
177
|
u("h2", ee, j((e == null ? void 0 : e.title) || "Панель"), 1),
|
|
178
178
|
e != null && e.component ? (n(), c("div", te, [
|
|
179
179
|
(n(), L(H(e.component), {
|
|
180
|
-
geometry: (
|
|
180
|
+
geometry: (b = (p = s.objectData) == null ? void 0 : p.rows[0]) == null ? void 0 : b.geom,
|
|
181
181
|
zoom: 16,
|
|
182
182
|
id: (_ = (f = t.$route) == null ? void 0 : f.params) == null ? void 0 : _.id
|
|
183
183
|
}, null, 8, ["geometry", "id"]))
|
|
@@ -196,7 +196,7 @@ function se(t, r, a, l, s, h) {
|
|
|
196
196
|
], 2)
|
|
197
197
|
]);
|
|
198
198
|
}
|
|
199
|
-
const le = /* @__PURE__ */ V(A, [["render", se], ["__scopeId", "data-v-
|
|
199
|
+
const le = /* @__PURE__ */ V(A, [["render", se], ["__scopeId", "data-v-e7d9ada1"]]);
|
|
200
200
|
export {
|
|
201
201
|
le as default
|
|
202
202
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as m } from "./userMenu-CT1xO2Pt.js";
|
|
2
|
-
import { _ as b, a as n } from "./import-file-
|
|
2
|
+
import { _ as b, a as n } from "./import-file-rpq4v06F.js";
|
|
3
3
|
import { resolveComponent as d, openBlock as u, createElementBlock as h, createElementVNode as i, createBlock as p, createCommentVNode as f } from "vue";
|
|
4
4
|
const g = {
|
|
5
5
|
data() {
|