@opengis/admin 0.2.38 → 0.2.39
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-CjMMJXor.js → add-page-CSciXoil.js} +1 -1
- package/dist/{admin-interface-r4MQgd-a.js → admin-interface-o5XJ84gu.js} +8 -8
- package/dist/{admin-view-Bp-O1jIb.js → admin-view-fpCdC0Gl.js} +1 -1
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +44 -44
- package/dist/{card-view-Dgslt2cJ.js → card-view-DHWIHzs7.js} +1 -1
- package/dist/{edit-page-B2ILwwSz.js → edit-page-DG7HECIG.js} +1 -1
- package/dist/{import-file-Ke8VjJ_M.js → import-file-BZ7qGNkx.js} +7045 -6983
- package/dist/style.css +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as g, u as f, d as u } from "./import-file-
|
1
|
+
import { _ as g, u as f, d as u } from "./import-file-BZ7qGNkx.js";
|
2
2
|
import { resolveComponent as x, openBlock as d, createElementBlock as w, createElementVNode as n, createBlock as k, createCommentVNode as y } from "vue";
|
3
3
|
const v = {
|
4
4
|
data() {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as C, e as qe, f as Pe, g as Be, d as F, I as Le, V as ze, h as Oe, i as Ue, j as Ne, A as Ee, a as He, u as Ce, s as Re } from "./import-file-
|
1
|
+
import { _ as C, e as qe, f as Pe, g as Be, d as F, I as Le, V as ze, h as Oe, i as Ue, j as Ne, A as Ee, a as He, u as Ce, s as Re } from "./import-file-BZ7qGNkx.js";
|
2
2
|
import { openBlock as o, createElementBlock as c, createTextVNode as j, toDisplayString as I, createCommentVNode as w, resolveComponent as p, Fragment as T, createElementVNode as l, createVNode as y, withCtx as $, createBlock as _, renderList as D, withModifiers as We, normalizeClass as V, createStaticVNode as Ae, withDirectives as z, vModelCheckbox as Je, resolveDynamicComponent as q, Transition as O, renderSlot as Ze, vShow as Te, getCurrentInstance as Ie, ref as L, normalizeStyle as $e } from "vue";
|
3
3
|
const Ge = {
|
4
4
|
data() {
|
@@ -145,20 +145,20 @@ const nt = /* @__PURE__ */ C(Ge, [["render", tt]]), st = {
|
|
145
145
|
this.formVisible = !1;
|
146
146
|
},
|
147
147
|
async deleteElement() {
|
148
|
-
var t;
|
148
|
+
var t, e;
|
149
149
|
try {
|
150
|
-
const { data:
|
150
|
+
const { data: n } = await F.get(
|
151
151
|
`/api/table/${this.table}/${(t = this.item) == null ? void 0 : t.id}`
|
152
152
|
);
|
153
|
-
await F.delete(`/api/table/${
|
153
|
+
await F.delete(`/api/table/${n == null ? void 0 : n.token}`), await this.$notify({
|
154
154
|
title: "Успішно!",
|
155
155
|
message: "Об`єкт успішно видалeно",
|
156
156
|
type: "success"
|
157
157
|
}), await this.$emit("update-table");
|
158
|
-
} catch {
|
158
|
+
} catch (n) {
|
159
159
|
this.$notify({
|
160
160
|
title: "Помилка!",
|
161
|
-
message:
|
161
|
+
message: (e = n == null ? void 0 : n.response) == null ? void 0 : e.data,
|
162
162
|
type: "error"
|
163
163
|
});
|
164
164
|
} finally {
|
@@ -181,7 +181,7 @@ const nt = /* @__PURE__ */ C(Ge, [["render", tt]]), st = {
|
|
181
181
|
});
|
182
182
|
}
|
183
183
|
}
|
184
|
-
}, lt = { class: "
|
184
|
+
}, lt = { class: "inline-flex" }, ot = { class: "inline-flex items-center justify-center bg-white border rounded-lg shadow-sm size-7 gap-x-2 border-stone-200 text-stone-800 hover:bg-stone-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-50" }, rt = { class: "flex flex-col items-start" }, at = ["onClick"], it = { class: "text-gray-800" }, ct = {
|
185
185
|
key: 1,
|
186
186
|
class: "h-[1px] w-[80%] bg-gray-200 ml-auto mr-auto"
|
187
187
|
}, ut = { class: "p-4" }, dt = { class: "flex justify-end mt-4 gap-x-3" };
|
@@ -258,7 +258,7 @@ function bt(t, e, n, a, s, r) {
|
|
258
258
|
type: "button",
|
259
259
|
class: "inline-flex items-center px-3 py-2 text-sm font-semibold text-white bg-red-500 border border-transparent rounded-lg gap-x-2 hover:bg-red-600 disabled:opacity-50 disabled:pointer-events-none",
|
260
260
|
onClick: e[2] || (e[2] = (...g) => r.deleteElement && r.deleteElement(...g))
|
261
|
-
}, " Так, я
|
261
|
+
}, " Так, я впевнена(ий) ")
|
262
262
|
])
|
263
263
|
])
|
264
264
|
]),
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _, I as R, a as q, u as Z, s as T, b as G, c as J, d as S } from "./import-file-
|
1
|
+
import { _, I as R, a as q, u as Z, s as T, b as G, c as J, d as S } from "./import-file-BZ7qGNkx.js";
|
2
2
|
import { openBlock as l, createElementBlock as a, createElementVNode as n, createStaticVNode as B, resolveComponent as p, normalizeClass as L, createTextVNode as U, toDisplayString as A, createVNode as c, Transition as K, withCtx as Q, withDirectives as P, Fragment as E, renderList as F, vShow as W, createCommentVNode as D, withModifiers as X, createBlock as Y, resolveDynamicComponent as e1 } from "vue";
|
3
3
|
const t1 = {}, o1 = {
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
package/dist/admin.js
CHANGED