@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 { openBlock as o, createElementBlock as r, createElementVNode as t } from "vue";
|
|
2
|
-
import { _ as n } from "./import-file-
|
|
2
|
+
import { _ as n } from "./import-file-rpq4v06F.js";
|
|
3
3
|
const s = {}, c = {
|
|
4
4
|
class: "shrink-0 size-4 text-gray-400 dark:text-white/60",
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u } from "./userMenu-CT1xO2Pt.js";
|
|
2
|
-
import { _ as b, a as c } from "./import-file-
|
|
2
|
+
import { _ as b, a as c } from "./import-file-rpq4v06F.js";
|
|
3
3
|
import { resolveComponent as h, openBlock as i, createElementBlock as d, createElementVNode as a, createBlock as p, createCommentVNode as f } from "vue";
|
|
4
4
|
const g = {
|
|
5
5
|
data() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as m, a as C } from "./import-file-
|
|
1
|
+
import { _ as m, a as C } from "./import-file-rpq4v06F.js";
|
|
2
2
|
import { u as B } from "./userMenu-CT1xO2Pt.js";
|
|
3
3
|
import { openBlock as o, createElementBlock as i, createStaticVNode as A, createTextVNode as T, toDisplayString as V, createCommentVNode as v, createElementVNode as l, Fragment as x, resolveComponent as d, createVNode as h, withCtx as y, createBlock as g, withModifiers as te, renderList as S, withDirectives as X, vModelCheckbox as re, normalizeStyle as j, normalizeClass as le, resolveDynamicComponent as Q, Transition as ne, vShow as se } from "vue";
|
|
4
|
-
import { I as oe } from "./IconSearch-
|
|
4
|
+
import { I as oe } from "./IconSearch-B9h4uJrQ.js";
|
|
5
5
|
const ae = {}, ie = {
|
|
6
6
|
class: "h21yx vs0hq",
|
|
7
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -79,7 +79,7 @@ const ce = /* @__PURE__ */ m(ae, [["render", de]]), ue = {
|
|
|
79
79
|
}
|
|
80
80
|
}, he = {
|
|
81
81
|
scope: "col",
|
|
82
|
-
class: "
|
|
82
|
+
class: "text-start"
|
|
83
83
|
}, pe = {
|
|
84
84
|
class: "flex-shrink-0 size-3.5",
|
|
85
85
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -624,7 +624,7 @@ const vt = /* @__PURE__ */ m(kt, [["render", _t]]), Ct = {
|
|
|
624
624
|
},
|
|
625
625
|
rowWidth() {
|
|
626
626
|
var t;
|
|
627
|
-
return ((t = this.tableData) == null ? void 0 : t.width) || "
|
|
627
|
+
return ((t = this.tableData) == null ? void 0 : t.width) || "100px";
|
|
628
628
|
}
|
|
629
629
|
},
|
|
630
630
|
watch: {
|
|
@@ -711,8 +711,8 @@ const vt = /* @__PURE__ */ m(kt, [["render", _t]]), Ct = {
|
|
|
711
711
|
}, jt = { class: "inline-block w-full align-middle" }, zt = {
|
|
712
712
|
key: 0,
|
|
713
713
|
class: "divide-y divide-gray-200 min-w-full dark:divide-neutral-700 relative table-fixed"
|
|
714
|
-
}, Pt = { class: "sticky top-0 bg-white w-full relative after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, Et = { class: "divide-y divide-gray-200" },
|
|
715
|
-
function
|
|
714
|
+
}, Pt = { class: "sticky top-0 bg-white w-full relative after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, Et = { class: "border-stone-200 right-0 z-[1]" }, Lt = { class: "divide-y divide-gray-200" }, Ut = ["onClick"], qt = { class: "text-center sticky right-0 bg-white w-[80px] px-[10px]" }, Ot = { class: "p-[20px] flex justify-end w-full" }, Wt = { class: "filter-content h-screen bg-white w-[400px] p-[20px] pt-[10px] overflow-x-auto bg-white [&::-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" };
|
|
715
|
+
function Ht(t, e, r, a, n, s) {
|
|
716
716
|
var z, P, E, L, U, q;
|
|
717
717
|
const b = d("IconPlus"), f = d("router-link"), k = d("IconSearch"), u = d("VsText"), w = d("AdminTableColumnsHidden"), $ = d("AdminTableExport"), _ = d("IconFilter"), F = d("AdminTableColumn"), D = d("AdminTableControl"), I = d("AdminNodata"), Y = d("VsPagination"), ee = d("VsFilter");
|
|
718
718
|
return o(), i(x, null, [
|
|
@@ -776,31 +776,29 @@ function Wt(t, e, r, a, n, s) {
|
|
|
776
776
|
l("div", jt, [
|
|
777
777
|
s.isNoData ? (o(), g(I, { key: 1 })) : (o(), i("table", zt, [
|
|
778
778
|
l("thead", Pt, [
|
|
779
|
-
l("tr",
|
|
780
|
-
class: "border-stone-200 right-0 z-[1]",
|
|
781
|
-
style: j({ minWidth: s.rowWidth, maxWidth: s.rowWidth })
|
|
782
|
-
}, [
|
|
779
|
+
l("tr", Et, [
|
|
783
780
|
(o(!0), i(x, null, S(s.columns, (c) => (o(), g(F, {
|
|
784
781
|
key: c.name,
|
|
782
|
+
style: j({ minWidth: s.rowWidth, maxWidth: s.rowWidth }),
|
|
785
783
|
data: c,
|
|
786
784
|
activeColumn: n.activeColumn,
|
|
787
785
|
onChangeActive: s.changeActiveColumn
|
|
788
|
-
}, null, 8, ["data", "activeColumn", "onChangeActive"]))), 128)),
|
|
786
|
+
}, null, 8, ["style", "data", "activeColumn", "onChangeActive"]))), 128)),
|
|
789
787
|
e[7] || (e[7] = l("th", { class: "w-[70px] sticky right-0 top-0 bg-white" }, null, -1))
|
|
790
|
-
]
|
|
788
|
+
])
|
|
791
789
|
]),
|
|
792
|
-
l("tbody",
|
|
790
|
+
l("tbody", Lt, [
|
|
793
791
|
(o(!0), i(x, null, S((U = n.tableData) == null ? void 0 : U.rows, (c, M) => {
|
|
794
792
|
var O, W, H, N, R, G, Z, J;
|
|
795
793
|
return o(), i("tr", { key: M }, [
|
|
796
794
|
l("td", {
|
|
797
|
-
class: "text-
|
|
795
|
+
class: "text-sm text-gray-600",
|
|
798
796
|
style: j({ minWidth: s.rowWidth, maxWidth: s.rowWidth })
|
|
799
797
|
}, [
|
|
800
798
|
l("button", {
|
|
801
799
|
onClick: () => s.pushToCard(c == null ? void 0 : c.id),
|
|
802
800
|
class: le(["text-sm font-medium", [
|
|
803
|
-
((O = n.tableData) == null ? void 0 : O.card) === !1 ? "" : "text-blue-600 decoration-2
|
|
801
|
+
((O = n.tableData) == null ? void 0 : O.card) === !1 ? "" : "text-blue-600 decoration-2 focus:outline-none focus:underline hover:text-blue-600 hover:underline"
|
|
804
802
|
]])
|
|
805
803
|
}, [
|
|
806
804
|
(o(), g(Q(
|
|
@@ -810,7 +808,7 @@ function Wt(t, e, r, a, n, s) {
|
|
|
810
808
|
data: c,
|
|
811
809
|
value: c == null ? void 0 : c[(Z = s.columns[0]) == null ? void 0 : Z.name]
|
|
812
810
|
}, null, 8, ["name", "data", "value"]))
|
|
813
|
-
], 10,
|
|
811
|
+
], 10, Ut)
|
|
814
812
|
], 4),
|
|
815
813
|
(o(!0), i(x, null, S((J = s.columns) == null ? void 0 : J.slice(1), (p) => {
|
|
816
814
|
var K;
|
|
@@ -828,7 +826,7 @@ function Wt(t, e, r, a, n, s) {
|
|
|
828
826
|
}, null, 8, ["name", "data", "value"]))
|
|
829
827
|
], 4);
|
|
830
828
|
}), 128)),
|
|
831
|
-
l("td",
|
|
829
|
+
l("td", qt, [
|
|
832
830
|
h(D, {
|
|
833
831
|
isForm: s.isForm,
|
|
834
832
|
item: c,
|
|
@@ -843,7 +841,7 @@ function Wt(t, e, r, a, n, s) {
|
|
|
843
841
|
])
|
|
844
842
|
])
|
|
845
843
|
]),
|
|
846
|
-
l("div",
|
|
844
|
+
l("div", Ot, [
|
|
847
845
|
n.limit ? (o(), g(Y, {
|
|
848
846
|
key: 0,
|
|
849
847
|
goTo: !1,
|
|
@@ -868,7 +866,7 @@ function Wt(t, e, r, a, n, s) {
|
|
|
868
866
|
style: { height: "100vh" },
|
|
869
867
|
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)]"
|
|
870
868
|
}, [
|
|
871
|
-
l("div",
|
|
869
|
+
l("div", Wt, [
|
|
872
870
|
(c = n.filterScheme) != null && c.length ? (o(), g(ee, {
|
|
873
871
|
key: 0,
|
|
874
872
|
ref: "filter",
|
|
@@ -891,8 +889,8 @@ function Wt(t, e, r, a, n, s) {
|
|
|
891
889
|
})
|
|
892
890
|
], 64);
|
|
893
891
|
}
|
|
894
|
-
const
|
|
895
|
-
components: { AdminTable:
|
|
892
|
+
const Nt = /* @__PURE__ */ m(Ct, [["render", Ht]]), Rt = {
|
|
893
|
+
components: { AdminTable: Nt },
|
|
896
894
|
data() {
|
|
897
895
|
return {
|
|
898
896
|
table: !1,
|
|
@@ -952,8 +950,8 @@ const Ht = /* @__PURE__ */ m(Ct, [["render", Wt]]), Nt = {
|
|
|
952
950
|
}
|
|
953
951
|
}
|
|
954
952
|
}
|
|
955
|
-
},
|
|
956
|
-
function
|
|
953
|
+
}, Gt = ["innerHTML"];
|
|
954
|
+
function Zt(t, e, r, a, n, s) {
|
|
957
955
|
const b = d("AdminTable");
|
|
958
956
|
return n.table ? (o(), g(b, {
|
|
959
957
|
key: 0,
|
|
@@ -964,9 +962,9 @@ function Gt(t, e, r, a, n, s) {
|
|
|
964
962
|
class: "w-full bg-gray-50",
|
|
965
963
|
style: { height: "calc(100vh - 120px)" },
|
|
966
964
|
innerHTML: n.interface
|
|
967
|
-
}, null, 8,
|
|
965
|
+
}, null, 8, Gt));
|
|
968
966
|
}
|
|
969
|
-
const
|
|
967
|
+
const Yt = /* @__PURE__ */ m(Rt, [["render", Zt]]);
|
|
970
968
|
export {
|
|
971
|
-
|
|
969
|
+
Yt as default
|
|
972
970
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as h, a as D } from "./import-file-
|
|
1
|
+
import { _ as h, a as D } from "./import-file-rpq4v06F.js";
|
|
2
2
|
import { u as y } from "./userMenu-CT1xO2Pt.js";
|
|
3
3
|
import { openBlock as c, createElementBlock as u, createElementVNode as o, createStaticVNode as N, resolveComponent as d, normalizeClass as v, createTextVNode as $, toDisplayString as k, createVNode as p, Transition as O, withCtx as V, withDirectives as S, Fragment as M, renderList as B, vShow as T, createCommentVNode as Q } from "vue";
|
|
4
|
-
import { I as A } from "./IconSearch-
|
|
4
|
+
import { I as A } from "./IconSearch-B9h4uJrQ.js";
|
|
5
5
|
const G = {}, q = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
7
|
viewBox: "0 0 24 24",
|
package/dist/admin.js
CHANGED