@opengis/admin 0.1.61 → 0.1.62
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{add-page-C3Wh2-Ml.js → add-page-CFNh7Zxz.js} +11 -13
- package/dist/admin-interface-CniNlJEa.js +1351 -0
- package/dist/admin-view-Dw9tWMxP.js +41685 -0
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +398 -88
- package/dist/card-page-B16E7Q7m.js +230 -0
- package/dist/{card-view-BwtqUSFP.js → card-view-Fw8T0Ddm.js} +1 -1
- package/dist/edit-page-BCPO83LG.js +103 -0
- package/dist/import-file-D6JQHFSe.js +47523 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/admin-interface-C4m7uvG2.js +0 -896
- package/dist/admin-view-YtM2-LrW.js +0 -225
- package/dist/card-page-WrYs8chM.js +0 -133
- package/dist/edit-page-CMTqsvJf.js +0 -104
- package/dist/import-file-bdYAo8iW.js +0 -29759
- package/dist/userMenu-CT1xO2Pt.js +0 -5
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { resolveComponent as h, openBlock as i, createElementBlock as d, createElementVNode as a, createBlock as f, createCommentVNode as p } from "vue";
|
1
|
+
import { _ as m, u as b, a as c } from "./import-file-D6JQHFSe.js";
|
2
|
+
import { resolveComponent as h, openBlock as i, createElementBlock as d, createElementVNode as a, createBlock as p, createCommentVNode as f } from "vue";
|
4
3
|
const g = {
|
5
4
|
data() {
|
6
5
|
return {
|
@@ -20,7 +19,7 @@ const g = {
|
|
20
19
|
}), e;
|
21
20
|
},
|
22
21
|
async getFormScheme() {
|
23
|
-
const t = this.flattenMenu(
|
22
|
+
const t = this.flattenMenu(b.value);
|
24
23
|
t != null && t.length || this.$router.replace("/404");
|
25
24
|
const e = t == null ? void 0 : t.find((s) => {
|
26
25
|
var r, l;
|
@@ -38,9 +37,8 @@ const g = {
|
|
38
37
|
}
|
39
38
|
},
|
40
39
|
async createObject() {
|
41
|
-
var t, e;
|
42
40
|
try {
|
43
|
-
await this.$refs.form.doValidation(), await c.post(`/api/table/${this.table}`, this.formValues), await this.$router.
|
41
|
+
await this.$refs.form.doValidation(), await c.post(`/api/table/${this.table}`, this.formValues), await this.$router.back(), await this.$notify({
|
44
42
|
title: "Успішно!",
|
45
43
|
message: "Об'єкт успішно створено",
|
46
44
|
type: "success"
|
@@ -54,8 +52,8 @@ const g = {
|
|
54
52
|
}
|
55
53
|
}
|
56
54
|
}
|
57
|
-
}, x = { style: { width: "calc(100vw - 260px)" } }, w = { class: "h-[
|
58
|
-
style: { height: "calc(100vh -
|
55
|
+
}, x = { style: { width: "calc(100vw - 260px)" } }, w = { class: "h-[76px] bg-gray-50 flex items-center justify-between px-[30px]" }, y = { class: "flex items-center gap-[6px]" }, k = {
|
56
|
+
style: { height: "calc(100vh - 150px)", width: "calc(100vw - 260px)" },
|
59
57
|
class: "bg-gray-50 p-[20px] flex"
|
60
58
|
}, v = { class: "bg-white w-full rounded-xl border p-[20px] 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" };
|
61
59
|
function V(t, e, o, s, r, l) {
|
@@ -70,25 +68,25 @@ function V(t, e, o, s, r, l) {
|
|
70
68
|
}, " Скасувати "),
|
71
69
|
a("button", {
|
72
70
|
onClick: e[1] || (e[1] = (...n) => l.createObject && l.createObject(...n)),
|
73
|
-
class: "py-2 px-3 flex items-center gap-x-2 text-sm
|
71
|
+
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"
|
74
72
|
}, " Зберегти ")
|
75
73
|
])
|
76
74
|
]),
|
77
75
|
a("div", k, [
|
78
76
|
a("div", v, [
|
79
|
-
r.scheme ? (i(),
|
77
|
+
r.scheme ? (i(), p(u, {
|
80
78
|
key: 0,
|
81
79
|
ref: "form",
|
82
80
|
scheme: r.scheme,
|
83
81
|
modelValue: r.formValues,
|
84
82
|
"onUpdate:modelValue": e[2] || (e[2] = (n) => r.formValues = n),
|
85
83
|
class: "p-0 mt-[20px]"
|
86
|
-
}, null, 8, ["scheme", "modelValue"])) :
|
84
|
+
}, null, 8, ["scheme", "modelValue"])) : f("", !0)
|
87
85
|
])
|
88
86
|
])
|
89
87
|
]);
|
90
88
|
}
|
91
|
-
const
|
89
|
+
const j = /* @__PURE__ */ m(g, [["render", V]]);
|
92
90
|
export {
|
93
|
-
|
91
|
+
j as default
|
94
92
|
};
|