@opengis/admin 0.3.78 → 0.3.80
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/{add-page-D6pPTqLL.js → add-page-Dt8lgbvx.js} +5 -5
- package/dist/{admin-interface-CLrHTrdO.js → admin-interface-CTf14Mox.js} +12 -12
- package/dist/{admin-view-DBnuzq6s.js → admin-view-CNfEVdPq.js} +7 -7
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +74 -74
- package/dist/{card-view-CwK2oJa-.js → card-view-aNoH4d5f.js} +3 -3
- package/dist/{edit-page-BKnbC8dl.js → edit-page-_DF3uoYz.js} +8 -8
- package/dist/{import-file-V7TgsOdE.js → import-file-Cro1RJWt.js} +16676 -16565
- package/dist/{profile-page-x-Jp-6xS.js → profile-page-BJf6JVWZ.js} +4 -4
- package/package.json +2 -2
@@ -1,5 +1,5 @@
|
|
1
|
-
import { _ as d,
|
2
|
-
import { resolveComponent as b,
|
1
|
+
import { _ as d, f as m, u as f, s as g } from "./import-file-Cro1RJWt.js";
|
2
|
+
import { resolveComponent as b, createElementBlock as x, openBlock as h, createElementVNode as i, normalizeClass as y, normalizeStyle as p, createBlock as w, createCommentVNode as v } from "vue";
|
3
3
|
const $ = {
|
4
4
|
data() {
|
5
5
|
return {
|
@@ -16,7 +16,7 @@ const $ = {
|
|
16
16
|
},
|
17
17
|
computed: {
|
18
18
|
color() {
|
19
|
-
return
|
19
|
+
return g.value.buttonColor || "blue";
|
20
20
|
}
|
21
21
|
},
|
22
22
|
methods: {
|
@@ -28,7 +28,7 @@ const $ = {
|
|
28
28
|
},
|
29
29
|
async getFormScheme() {
|
30
30
|
var l, o;
|
31
|
-
const t = this.flattenMenu(
|
31
|
+
const t = this.flattenMenu(f.value);
|
32
32
|
t != null && t.length || this.$router.replace("/404");
|
33
33
|
const e = t == null ? void 0 : t.find((s) => {
|
34
34
|
var r, n;
|
@@ -41,7 +41,7 @@ const $ = {
|
|
41
41
|
const s = await m.get(`/api/table-data/${a}`), { data: r } = await m.get(
|
42
42
|
`/api/template/form/${(l = s == null ? void 0 : s.data) == null ? void 0 : l.form}`
|
43
43
|
);
|
44
|
-
this.scheme = (r == null ? void 0 : r.schema) || r, this.style = (r == null ? void 0 : r.style) || null, this.api = (r == null ? void 0 : r.api) || "", this.token = (o = s == null ? void 0 : s.data) == null ? void 0 : o.addToken;
|
44
|
+
this.scheme = (r == null ? void 0 : r.schema) || r, this.style = (r == null ? void 0 : r.style) || null, this.api = (r == null ? void 0 : r.api) || "", this.token = ((o = s == null ? void 0 : s.data) == null ? void 0 : o.addToken) || "";
|
45
45
|
} catch {
|
46
46
|
}
|
47
47
|
},
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { _ as S, h as Je, i as Ge, j as Qe,
|
2
|
-
import {
|
1
|
+
import { _ as S, h as Je, i as Ge, j as Qe, f as M, I as Xe, s as E, k as Ue, l as Q, V as Ye, m as Ze, n as et, o as tt, A as X, p as st, b as nt, q as at, r as lt, a as rt, t as ot, u as Ee } from "./import-file-Cro1RJWt.js";
|
2
|
+
import { createElementBlock as i, openBlock as r, createTextVNode as P, createElementVNode as l, toDisplayString as A, createCommentVNode as k, normalizeClass as w, resolveComponent as f, Fragment as $, createVNode as x, withCtx as D, createBlock as v, renderList as V, withModifiers as it, createStaticVNode as dt, withDirectives as U, vModelCheckbox as ut, Transition as W, vModelText as ct, renderSlot as ht, vShow as Y, Teleport as pt, getCurrentInstance as Re, ref as J, resolveDynamicComponent as G, defineComponent as bt, withKeys as ft, normalizeStyle as K } from "vue";
|
3
3
|
const gt = {
|
4
4
|
data() {
|
5
5
|
return {
|
@@ -101,9 +101,9 @@ function vt(t, e, n, o, s, a) {
|
|
101
101
|
}
|
102
102
|
const kt = /* @__PURE__ */ S(gt, [["render", vt]]), _t = {
|
103
103
|
components: {
|
104
|
-
IconMore:
|
104
|
+
IconMore: Qe,
|
105
105
|
IconDelete: Ge,
|
106
|
-
IconEdit:
|
106
|
+
IconEdit: Je
|
107
107
|
},
|
108
108
|
emits: ["updateTable"],
|
109
109
|
props: {
|
@@ -774,10 +774,10 @@ const Vs = /* @__PURE__ */ S($s, [["render", Ds], ["__scopeId", "data-v-c6318482
|
|
774
774
|
components: {
|
775
775
|
AdminComponentIs: X,
|
776
776
|
AdminTree: Vs,
|
777
|
-
VsNoData:
|
778
|
-
VsWidgetComments:
|
779
|
-
VsWidgetMap:
|
780
|
-
VsWidgetFileList:
|
777
|
+
VsNoData: tt,
|
778
|
+
VsWidgetComments: et,
|
779
|
+
VsWidgetMap: Ze,
|
780
|
+
VsWidgetFileList: Ye
|
781
781
|
},
|
782
782
|
props: { table: String, columns: Array, row: Object }
|
783
783
|
}, Fs = {
|
@@ -1252,11 +1252,11 @@ const In = /* @__PURE__ */ S(vn, [["render", An]]), Dn = {
|
|
1252
1252
|
// AdminTablePrint,
|
1253
1253
|
AdminTableColumnsHidden: vs,
|
1254
1254
|
AdminTableColumn: kt,
|
1255
|
-
AdminNodata:
|
1255
|
+
AdminNodata: ot,
|
1256
1256
|
IconPlus: Q,
|
1257
|
-
IconSearch:
|
1257
|
+
IconSearch: rt,
|
1258
1258
|
AdminTableCardInfo: Ns,
|
1259
|
-
IconOpenCard:
|
1259
|
+
IconOpenCard: lt,
|
1260
1260
|
AdminComponentIs: X,
|
1261
1261
|
AdminTableFilters: Ws,
|
1262
1262
|
AdminTableTabs: Xs,
|
@@ -1330,7 +1330,7 @@ const In = /* @__PURE__ */ S(vn, [["render", An]]), Dn = {
|
|
1330
1330
|
this.tableData = null, this.columnsWidth = {}, await this.getTableData();
|
1331
1331
|
},
|
1332
1332
|
searchValue: {
|
1333
|
-
handler:
|
1333
|
+
handler: at(async function(t) {
|
1334
1334
|
var e;
|
1335
1335
|
this.page = 1, await this.getTableData(), this.$router.push({
|
1336
1336
|
...this.$route,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import { _ as y, I as K, s as g, a as X, u as A, b as se, c as Y, d as ue, e as ie, f as de, g as ce } from "./import-file-
|
1
|
+
import { createElementBlock as u, openBlock as n, createElementVNode as o, createStaticVNode as Q, resolveComponent as p, createCommentVNode as w, createVNode as h, normalizeClass as f, createTextVNode as V, toDisplayString as B, Transition as q, withCtx as _, withDirectives as W, Fragment as U, renderList as P, vShow as J, createBlock as T, resolveDynamicComponent as F, ref as le, onMounted as ae, computed as oe, withModifiers as ne } from "vue";
|
2
|
+
import { _ as y, I as K, s as g, a as X, u as A, b as se, c as Y, d as ue, e as ie, f as de, g as ce } from "./import-file-Cro1RJWt.js";
|
3
3
|
import "./user-B_2kh6ic.js";
|
4
4
|
const he = {}, ge = {
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -116,7 +116,7 @@ function ye(t, e, r, s, a, l) {
|
|
116
116
|
V(B((H = r.route) == null ? void 0 : H.ua) + " ", 1),
|
117
117
|
(E = r.route) != null && E.new ? (n(), u("span", ke, "Нове")) : w("", !0),
|
118
118
|
h(b, {
|
119
|
-
class: f([[a.isOpen && "-rotate-180"], "ml-auto duration-300"]),
|
119
|
+
class: f([[a.isOpen && "-rotate-180"], "ml-auto duration-300 flex-shrink-0"]),
|
120
120
|
width: "14",
|
121
121
|
height: "14"
|
122
122
|
}, null, 8, ["class"])
|
@@ -787,9 +787,9 @@ const wt = /* @__PURE__ */ y(ft, [["render", _t], ["__scopeId", "data-v-3cea82a7
|
|
787
787
|
}, Ct = {
|
788
788
|
components: {
|
789
789
|
IconQuestion: te,
|
790
|
-
IconUser:
|
790
|
+
IconUser: ie,
|
791
791
|
AdminNotification: Y,
|
792
|
-
IconUserOutline:
|
792
|
+
IconUserOutline: ue,
|
793
793
|
IconLogout: G
|
794
794
|
},
|
795
795
|
data() {
|
@@ -817,12 +817,12 @@ const wt = /* @__PURE__ */ y(ft, [["render", _t], ["__scopeId", "data-v-3cea82a7
|
|
817
817
|
}
|
818
818
|
},
|
819
819
|
created() {
|
820
|
-
this.userData = this.$user,
|
820
|
+
this.userData = this.$user, ce.value = this.$settings;
|
821
821
|
},
|
822
822
|
methods: {
|
823
823
|
async logout() {
|
824
824
|
try {
|
825
|
-
await
|
825
|
+
await de.get("/logout"), await window.history.pushState({}, "", "/login"), await location.reload(), localStorage.removeItem("user");
|
826
826
|
} catch {
|
827
827
|
}
|
828
828
|
},
|
package/dist/admin.js
CHANGED