@morghulis/core 1.0.62 → 1.0.64
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { hasInjectionContext as qr, inject as xt, getCurrentInstance as Hr, effectScope as Ia, ref as x, markRaw as it, reactive as Kt, isRef as ie, isReactive as wo, toRef as Yn, toRaw as Yt, nextTick as Ve, computed as O, getCurrentScope as Kr, onScopeDispose as Yr, watch as X, toRefs as tl, unref as h, onUnmounted as Fa, defineComponent as I, onMounted as Vt, onBeforeUnmount as Pa, createElementBlock as z, openBlock as b, normalizeStyle as je, useSlots as Tn, normalizeClass as Tt, createBlock as k, createCommentVNode as K, renderSlot as Q, resolveComponent as w, withCtx as f, createVNode as m, createElementVNode as te, createTextVNode as S, resolveDirective as At, withKeys as Le, createSlots as ko, withDirectives as We, toDisplayString as M, Fragment as H, defineAsyncComponent as Wt, shallowRef as Wr, renderList as se, resolveDynamicComponent as An, mergeProps as ke, vShow as Gr } from "vue";
|
|
2
2
|
import { library as Jr } from "@fortawesome/fontawesome-svg-core";
|
|
3
|
-
import { faUser as Xr, faPaperPlane as Zr, faRefresh as Qr, faExchangeAlt as ei, faCalculator as ti, faDatabase as ni, faClose as oi, faPlus as li, faSave as ai, faMinusSquare as si, faSearch as ri, faBan as ii, faEdit as ui, faTrash as ci, faPaste as di, faPlusSquare as pi, faLeaf as fi, faFolder as mi, faTable as _i, faUpload as gi, faClone as hi, faDownload as vi, faFolderOpen as yi, faExpand as bi, faCode as wi, faCheckCircle as ki, faInfoCircle as Ei, faClipboard as xi, faFileExcel as Ci, faXmark as Oi, faXmarkCircle as Si, faXmarkSquare as $i, faWarning as Vi, faFileText as Ti, faBookOpen as Ai, faFileImport as Di, faCloudUploadAlt as Ri, faCloudUpload as Ii, faCheckSquare as Fi, faSort as Pi, faLayerGroup as Ni, faFile as Ui, faA as Bi, faCheck as Li, faSortDesc as
|
|
3
|
+
import { faUser as Xr, faPaperPlane as Zr, faRefresh as Qr, faExchangeAlt as ei, faCalculator as ti, faDatabase as ni, faClose as oi, faPlus as li, faSave as ai, faMinusSquare as si, faSearch as ri, faBan as ii, faEdit as ui, faTrash as ci, faPaste as di, faPlusSquare as pi, faLeaf as fi, faFolder as mi, faTable as _i, faUpload as gi, faClone as hi, faDownload as vi, faFolderOpen as yi, faExpand as bi, faCode as wi, faCheckCircle as ki, faInfoCircle as Ei, faClipboard as xi, faFileExcel as Ci, faXmark as Oi, faXmarkCircle as Si, faXmarkSquare as $i, faWarning as Vi, faFileText as Ti, faBookOpen as Ai, faFileImport as Di, faCloudUploadAlt as Ri, faCloudUpload as Ii, faCheckSquare as Fi, faSort as Pi, faLayerGroup as Ni, faFile as Ui, faA as Bi, faCheck as Li, faSortDesc as Mi, faSearchMinus as zi, faSortAsc as ji, faCaretSquareUp as qi, faTableCells as Hi, faTableList as Ki, faRobot as Yi, faLock as Wi, faQuoteLeftAlt as Gi, faScroll as Ji, faSlidersH as Xi, faCalendarDay as Zi, faListUl as Qi, faCalendarWeek as eu, faCalendarAlt as tu, faLink as nu, faUnlink as ou, faBox as lu, faBoxes as au, faFolderTree as su, faBolt as ru, faCheckToSlot as iu, faCircleDot as uu, faCircle as cu, faCopy as du, faCogs as pu, faListAlt as fu, faUnlock as mu, faPen as _u, faSpinner as gu, faRightToBracket as hu, faRightFromBracket as vu, faEnvelope as yu, faKey as bu, faCodeBranch as wu, faAddressCard as ku, faHome as Eu, faCircleUser as xu, faUsers as Cu, faList as Ou, faUserLock as Su, faRotateLeft as $u, faBars as Vu, faEye as Tu, faAt as Au, faUserTag as Du, faLockOpen as Ru, faCalendar as Iu, faStar as Fu, faCog as Pu, faSquare as Nu, faBoxOpen as Uu, faUserGroup as Bu, faHourglass as Lu, faUserGraduate as Mu, faAsterisk as zu, faUserPlus as ju } from "@fortawesome/free-solid-svg-icons";
|
|
4
4
|
import { pick as ve, isEqual as Ie, isEmpty as qe, isBoolean as Dn, isNumber as no, isArray as oo, cloneDeep as et, keyBy as Eo, merge as xo, range as Na, intersection as pn, union as lo, difference as qu, omit as Rn, get as Hu, mapValues as Ku } from "lodash";
|
|
5
5
|
import { useWebSocket as Yu, useClipboard as _t, useElementSize as wt, useWindowSize as Wu, useInterval as Ua } from "@vueuse/core";
|
|
6
6
|
import tt from "moment";
|
|
@@ -54,8 +54,8 @@ function nc(e = []) {
|
|
|
54
54
|
Ui,
|
|
55
55
|
Bi,
|
|
56
56
|
Li,
|
|
57
|
-
zi,
|
|
58
57
|
Mi,
|
|
58
|
+
zi,
|
|
59
59
|
ji,
|
|
60
60
|
qi,
|
|
61
61
|
Hi,
|
|
@@ -108,8 +108,8 @@ function nc(e = []) {
|
|
|
108
108
|
Uu,
|
|
109
109
|
Bu,
|
|
110
110
|
Lu,
|
|
111
|
-
zu,
|
|
112
111
|
Mu,
|
|
112
|
+
zu,
|
|
113
113
|
ju
|
|
114
114
|
];
|
|
115
115
|
Jr.add(...t, ...e);
|
|
@@ -256,9 +256,9 @@ var oc = Object.create, La = Object.defineProperty, lc = Object.getOwnPropertyDe
|
|
|
256
256
|
tn();
|
|
257
257
|
tn();
|
|
258
258
|
tn();
|
|
259
|
-
var
|
|
259
|
+
var Ma = typeof navigator < "u", Y = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
|
|
260
260
|
typeof Y.chrome < "u" && Y.chrome.devtools;
|
|
261
|
-
|
|
261
|
+
Ma && (Y.self, Y.top);
|
|
262
262
|
var nl;
|
|
263
263
|
typeof navigator < "u" && ((nl = navigator.userAgent) == null || nl.toLowerCase().includes("electron"));
|
|
264
264
|
tn();
|
|
@@ -315,16 +315,16 @@ function ao(e, t = {}, n) {
|
|
|
315
315
|
}
|
|
316
316
|
return t;
|
|
317
317
|
}
|
|
318
|
-
const yc = { run: (e) => e() }, bc = () => yc,
|
|
318
|
+
const yc = { run: (e) => e() }, bc = () => yc, za = typeof console.createTask < "u" ? console.createTask : bc;
|
|
319
319
|
function wc(e, t) {
|
|
320
|
-
const n = t.shift(), o =
|
|
320
|
+
const n = t.shift(), o = za(n);
|
|
321
321
|
return e.reduce(
|
|
322
322
|
(l, s) => l.then(() => o.run(() => s(...t))),
|
|
323
323
|
Promise.resolve()
|
|
324
324
|
);
|
|
325
325
|
}
|
|
326
326
|
function kc(e, t) {
|
|
327
|
-
const n = t.shift(), o =
|
|
327
|
+
const n = t.shift(), o = za(n);
|
|
328
328
|
return Promise.all(e.map((l) => o.run(() => l(...t))));
|
|
329
329
|
}
|
|
330
330
|
function Wn(e, t) {
|
|
@@ -1972,7 +1972,7 @@ var Ya = "__vue-devtools-component-inspector__", Wa = "__vue-devtools-component-
|
|
|
1972
1972
|
borderRadius: "5px",
|
|
1973
1973
|
transition: "all 0.1s ease-in",
|
|
1974
1974
|
pointerEvents: "none"
|
|
1975
|
-
},
|
|
1975
|
+
}, Mc = {
|
|
1976
1976
|
fontFamily: "Arial, Helvetica, sans-serif",
|
|
1977
1977
|
padding: "5px 8px",
|
|
1978
1978
|
borderRadius: "4px",
|
|
@@ -1985,7 +1985,7 @@ var Ya = "__vue-devtools-component-inspector__", Wa = "__vue-devtools-component-
|
|
|
1985
1985
|
lineHeight: "24px",
|
|
1986
1986
|
backgroundColor: "#42b883",
|
|
1987
1987
|
boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"
|
|
1988
|
-
},
|
|
1988
|
+
}, zc = {
|
|
1989
1989
|
display: "inline-block",
|
|
1990
1990
|
fontWeight: 400,
|
|
1991
1991
|
fontStyle: "normal",
|
|
@@ -2022,13 +2022,13 @@ function To(e) {
|
|
|
2022
2022
|
});
|
|
2023
2023
|
const o = document.createElement("span");
|
|
2024
2024
|
o.id = Wa, Object.assign(o.style, {
|
|
2025
|
-
...
|
|
2025
|
+
...Mc,
|
|
2026
2026
|
top: e.bounds.top < 35 ? 0 : "-35px"
|
|
2027
2027
|
});
|
|
2028
2028
|
const l = document.createElement("span");
|
|
2029
2029
|
l.id = Ga, l.innerHTML = `<${e.name}> `;
|
|
2030
2030
|
const s = document.createElement("i");
|
|
2031
|
-
return s.id = Ja, s.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(s.style,
|
|
2031
|
+
return s.id = Ja, s.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(s.style, zc), o.appendChild(l), o.appendChild(s), n.appendChild(o), document.body.appendChild(n), n;
|
|
2032
2032
|
}
|
|
2033
2033
|
function Ao(e) {
|
|
2034
2034
|
const t = Dt(), n = jc(), o = Hc(), l = qc();
|
|
@@ -2227,7 +2227,7 @@ L();
|
|
|
2227
2227
|
L();
|
|
2228
2228
|
var od = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
|
|
2229
2229
|
function ld() {
|
|
2230
|
-
if (!
|
|
2230
|
+
if (!Ma || typeof localStorage > "u" || localStorage === null)
|
|
2231
2231
|
return {
|
|
2232
2232
|
recordingState: !1,
|
|
2233
2233
|
mouseEventEnabled: !1,
|
|
@@ -2971,8 +2971,8 @@ function Ad(e) {
|
|
|
2971
2971
|
const t = Object.values(fe.devtoolsClientDetected).some(Boolean);
|
|
2972
2972
|
Td(!t);
|
|
2973
2973
|
}
|
|
2974
|
-
var
|
|
2975
|
-
(
|
|
2974
|
+
var Ml, zl;
|
|
2975
|
+
(zl = (Ml = Y).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null || (Ml.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = Ad);
|
|
2976
2976
|
L();
|
|
2977
2977
|
L();
|
|
2978
2978
|
L();
|
|
@@ -3073,7 +3073,7 @@ var Pd = class {
|
|
|
3073
3073
|
};
|
|
3074
3074
|
L();
|
|
3075
3075
|
L();
|
|
3076
|
-
var Nd = (e) => Object.prototype.toString.call(e).slice(8, -1), is = (e) => typeof e > "u", Ud = (e) => e === null, Jt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, co = (e) => Jt(e) && Object.keys(e).length === 0, nt = (e) => Array.isArray(e), Bd = (e) => typeof e == "string", Ld = (e) => typeof e == "number" && !isNaN(e),
|
|
3076
|
+
var Nd = (e) => Object.prototype.toString.call(e).slice(8, -1), is = (e) => typeof e > "u", Ud = (e) => e === null, Jt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, co = (e) => Jt(e) && Object.keys(e).length === 0, nt = (e) => Array.isArray(e), Bd = (e) => typeof e == "string", Ld = (e) => typeof e == "number" && !isNaN(e), Md = (e) => typeof e == "boolean", zd = (e) => e instanceof RegExp, Xt = (e) => e instanceof Map, Zt = (e) => e instanceof Set, us = (e) => Nd(e) === "Symbol", jd = (e) => e instanceof Date && !isNaN(e.valueOf()), qd = (e) => e instanceof Error, ql = (e) => typeof e == "number" && isNaN(e), Hd = (e) => Md(e) || Ud(e) || is(e) || Ld(e) || Bd(e) || us(e), Kd = (e) => typeof e == "bigint", Yd = (e) => e === 1 / 0 || e === -1 / 0, Wd = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Gd = (e) => e instanceof URL;
|
|
3077
3077
|
L();
|
|
3078
3078
|
var cs = (e) => e.replace(/\./g, "\\."), Jn = (e) => e.map(String).map(cs).join("."), Ht = (e) => {
|
|
3079
3079
|
const t = [];
|
|
@@ -3121,7 +3121,7 @@ var ds = [
|
|
|
3121
3121
|
n[o] = e[o];
|
|
3122
3122
|
}), n;
|
|
3123
3123
|
}),
|
|
3124
|
-
Ue(
|
|
3124
|
+
Ue(zd, "regexp", (e) => "" + e, (e) => {
|
|
3125
3125
|
const t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
|
|
3126
3126
|
return new RegExp(t, n);
|
|
3127
3127
|
}),
|
|
@@ -3554,10 +3554,10 @@ const Qt = (e) => qt = e, ws = process.env.NODE_ENV !== "production" ? Symbol("p
|
|
|
3554
3554
|
function ft(e) {
|
|
3555
3555
|
return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
|
|
3556
3556
|
}
|
|
3557
|
-
var
|
|
3557
|
+
var Me;
|
|
3558
3558
|
(function(e) {
|
|
3559
3559
|
e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
|
|
3560
|
-
})(
|
|
3560
|
+
})(Me || (Me = {}));
|
|
3561
3561
|
const Ze = typeof window < "u", aa = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
|
|
3562
3562
|
function rp(e, { autoBom: t = !1 } = {}) {
|
|
3563
3563
|
return t && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
|
|
@@ -3797,11 +3797,11 @@ function vp(e) {
|
|
|
3797
3797
|
}
|
|
3798
3798
|
function yp(e) {
|
|
3799
3799
|
switch (e) {
|
|
3800
|
-
case
|
|
3800
|
+
case Me.direct:
|
|
3801
3801
|
return "mutation";
|
|
3802
|
-
case
|
|
3802
|
+
case Me.patchFunction:
|
|
3803
3803
|
return "$patch";
|
|
3804
|
-
case
|
|
3804
|
+
case Me.patchObject:
|
|
3805
3805
|
return "$patch";
|
|
3806
3806
|
default:
|
|
3807
3807
|
return "unknown";
|
|
@@ -4039,7 +4039,7 @@ function kp(e, t) {
|
|
|
4039
4039
|
data: bp({ store: Re(t.$id) }, vp(a)),
|
|
4040
4040
|
groupId: Qe
|
|
4041
4041
|
};
|
|
4042
|
-
r ===
|
|
4042
|
+
r === Me.patchFunction ? u.subtitle = "⤵️" : r === Me.patchObject ? u.subtitle = "🧩" : a && !Array.isArray(a) && (u.subtitle = a.type), a && (u.data["rawEvent(s)"] = {
|
|
4043
4043
|
_custom: {
|
|
4044
4044
|
display: "DebuggerEvent",
|
|
4045
4045
|
type: "object",
|
|
@@ -4207,11 +4207,11 @@ function go(e, t, n = {}, o, l, s) {
|
|
|
4207
4207
|
function E(A) {
|
|
4208
4208
|
let R;
|
|
4209
4209
|
u = c = !1, process.env.NODE_ENV !== "production" && (g = []), typeof A == "function" ? (A(o.state.value[e]), R = {
|
|
4210
|
-
type:
|
|
4210
|
+
type: Me.patchFunction,
|
|
4211
4211
|
storeId: e,
|
|
4212
4212
|
events: g
|
|
4213
4213
|
}) : (_o(o.state.value[e], A), R = {
|
|
4214
|
-
type:
|
|
4214
|
+
type: Me.patchObject,
|
|
4215
4215
|
payload: A,
|
|
4216
4216
|
storeId: e,
|
|
4217
4217
|
events: g
|
|
@@ -4279,7 +4279,7 @@ function go(e, t, n = {}, o, l, s) {
|
|
|
4279
4279
|
const B = ra(p, A, R.detached, () => q()), q = a.run(() => X(() => o.state.value[e], (J) => {
|
|
4280
4280
|
(R.flush === "sync" ? c : u) && A({
|
|
4281
4281
|
storeId: e,
|
|
4282
|
-
type:
|
|
4282
|
+
type: Me.direct,
|
|
4283
4283
|
events: g
|
|
4284
4284
|
}, J);
|
|
4285
4285
|
}, $e({}, i, R)));
|
|
@@ -4690,7 +4690,7 @@ function Lp(e) {
|
|
|
4690
4690
|
});
|
|
4691
4691
|
return { data: l, open: s, status: o };
|
|
4692
4692
|
}
|
|
4693
|
-
function
|
|
4693
|
+
function Mp(e) {
|
|
4694
4694
|
const {
|
|
4695
4695
|
container: t,
|
|
4696
4696
|
invoke: n,
|
|
@@ -4716,8 +4716,8 @@ function Ps(e, t) {
|
|
|
4716
4716
|
return e.apply(t, arguments);
|
|
4717
4717
|
};
|
|
4718
4718
|
}
|
|
4719
|
-
const { toString:
|
|
4720
|
-
const n =
|
|
4719
|
+
const { toString: zp } = Object.prototype, { getPrototypeOf: Bo } = Object, { iterator: Nn, toStringTag: Ns } = Symbol, Un = /* @__PURE__ */ ((e) => (t) => {
|
|
4720
|
+
const n = zp.call(t);
|
|
4721
4721
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
4722
4722
|
})(/* @__PURE__ */ Object.create(null)), Pe = (e) => (e = e.toLowerCase(), (t) => Un(t) === e), Bn = (e) => (t) => typeof t === e, { isArray: It } = Array, $t = Bn("undefined");
|
|
4723
4723
|
function nn(e) {
|
|
@@ -4773,9 +4773,9 @@ function Ls(e, t) {
|
|
|
4773
4773
|
return l;
|
|
4774
4774
|
return null;
|
|
4775
4775
|
}
|
|
4776
|
-
const ct = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
4776
|
+
const ct = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ms = (e) => !$t(e) && e !== ct;
|
|
4777
4777
|
function ho() {
|
|
4778
|
-
const { caseless: e, skipUndefined: t } =
|
|
4778
|
+
const { caseless: e, skipUndefined: t } = Ms(this) && this || {}, n = {}, o = (l, s) => {
|
|
4779
4779
|
const a = e && Ls(n, s) || s;
|
|
4780
4780
|
yn(n[a]) && yn(l) ? n[a] = ho(n[a], l) : yn(l) ? n[a] = ho({}, l) : It(l) ? n[a] = l.slice() : (!t || !$t(l)) && (n[a] = l);
|
|
4781
4781
|
};
|
|
@@ -4830,14 +4830,14 @@ const af = (e, t, n, { allOwnKeys: o } = {}) => (ln(t, (l, s) => {
|
|
|
4830
4830
|
function(n, o, l) {
|
|
4831
4831
|
return o.toUpperCase() + l;
|
|
4832
4832
|
}
|
|
4833
|
-
), fa = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), hf = Pe("RegExp"),
|
|
4833
|
+
), fa = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), hf = Pe("RegExp"), zs = (e, t) => {
|
|
4834
4834
|
const n = Object.getOwnPropertyDescriptors(e), o = {};
|
|
4835
4835
|
ln(n, (l, s) => {
|
|
4836
4836
|
let a;
|
|
4837
4837
|
(a = t(l, s, e)) !== !1 && (o[s] = a || l);
|
|
4838
4838
|
}), Object.defineProperties(e, o);
|
|
4839
4839
|
}, vf = (e) => {
|
|
4840
|
-
|
|
4840
|
+
zs(e, (t, n) => {
|
|
4841
4841
|
if (xe(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
4842
4842
|
return !1;
|
|
4843
4843
|
const o = e[n];
|
|
@@ -4932,7 +4932,7 @@ const Ef = (e) => {
|
|
|
4932
4932
|
hasOwnProperty: fa,
|
|
4933
4933
|
hasOwnProp: fa,
|
|
4934
4934
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
4935
|
-
reduceDescriptors:
|
|
4935
|
+
reduceDescriptors: zs,
|
|
4936
4936
|
freezeMethods: vf,
|
|
4937
4937
|
toObjectSet: yf,
|
|
4938
4938
|
toCamelCase: gf,
|
|
@@ -4940,7 +4940,7 @@ const Ef = (e) => {
|
|
|
4940
4940
|
toFiniteNumber: wf,
|
|
4941
4941
|
findKey: Ls,
|
|
4942
4942
|
global: ct,
|
|
4943
|
-
isContextDefined:
|
|
4943
|
+
isContextDefined: Ms,
|
|
4944
4944
|
isSpecCompliantForm: kf,
|
|
4945
4945
|
toJSONObject: Ef,
|
|
4946
4946
|
isAsyncFn: xf,
|
|
@@ -5195,10 +5195,10 @@ const Gs = {
|
|
|
5195
5195
|
Blob: If
|
|
5196
5196
|
},
|
|
5197
5197
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
5198
|
-
},
|
|
5199
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Uf =
|
|
5198
|
+
}, Mo = typeof window < "u" && typeof document < "u", yo = typeof navigator == "object" && navigator || void 0, Pf = Mo && (!yo || ["ReactNative", "NativeScript", "NS"].indexOf(yo.product) < 0), Nf = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
5199
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Uf = Mo && window.location.href || "http://localhost", Bf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5200
5200
|
__proto__: null,
|
|
5201
|
-
hasBrowserEnv:
|
|
5201
|
+
hasBrowserEnv: Mo,
|
|
5202
5202
|
hasStandardBrowserEnv: Pf,
|
|
5203
5203
|
hasStandardBrowserWebWorkerEnv: Nf,
|
|
5204
5204
|
navigator: yo,
|
|
@@ -5215,10 +5215,10 @@ function Lf(e, t) {
|
|
|
5215
5215
|
...t
|
|
5216
5216
|
});
|
|
5217
5217
|
}
|
|
5218
|
-
function
|
|
5218
|
+
function Mf(e) {
|
|
5219
5219
|
return N.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
5220
5220
|
}
|
|
5221
|
-
function
|
|
5221
|
+
function zf(e) {
|
|
5222
5222
|
const t = {}, n = Object.keys(e);
|
|
5223
5223
|
let o;
|
|
5224
5224
|
const l = n.length;
|
|
@@ -5232,12 +5232,12 @@ function Js(e) {
|
|
|
5232
5232
|
let a = n[s++];
|
|
5233
5233
|
if (a === "__proto__") return !0;
|
|
5234
5234
|
const r = Number.isFinite(+a), i = s >= n.length;
|
|
5235
|
-
return a = !a && N.isArray(l) ? l.length : a, i ? (N.hasOwnProp(l, a) ? l[a] = [l[a], o] : l[a] = o, !r) : ((!l[a] || !N.isObject(l[a])) && (l[a] = []), t(n, o, l[a], s) && N.isArray(l[a]) && (l[a] =
|
|
5235
|
+
return a = !a && N.isArray(l) ? l.length : a, i ? (N.hasOwnProp(l, a) ? l[a] = [l[a], o] : l[a] = o, !r) : ((!l[a] || !N.isObject(l[a])) && (l[a] = []), t(n, o, l[a], s) && N.isArray(l[a]) && (l[a] = zf(l[a])), !r);
|
|
5236
5236
|
}
|
|
5237
5237
|
if (N.isFormData(e) && N.isFunction(e.entries)) {
|
|
5238
5238
|
const n = {};
|
|
5239
5239
|
return N.forEachEntry(e, (o, l) => {
|
|
5240
|
-
t(
|
|
5240
|
+
t(Mf(o), l, n, 0);
|
|
5241
5241
|
}), n;
|
|
5242
5242
|
}
|
|
5243
5243
|
return null;
|
|
@@ -5347,7 +5347,7 @@ const qf = N.toObjectSet([
|
|
|
5347
5347
|
l = a.indexOf(":"), n = a.substring(0, l).trim().toLowerCase(), o = a.substring(l + 1).trim(), !(!n || t[n] && qf[n]) && (n === "set-cookie" ? t[n] ? t[n].push(o) : t[n] = [o] : t[n] = t[n] ? t[n] + ", " + o : o);
|
|
5348
5348
|
}), t;
|
|
5349
5349
|
}, ha = Symbol("internals");
|
|
5350
|
-
function
|
|
5350
|
+
function zt(e) {
|
|
5351
5351
|
return e && String(e).trim().toLowerCase();
|
|
5352
5352
|
}
|
|
5353
5353
|
function bn(e) {
|
|
@@ -5392,7 +5392,7 @@ let Ce = class {
|
|
|
5392
5392
|
set(t, n, o) {
|
|
5393
5393
|
const l = this;
|
|
5394
5394
|
function s(r, i, u) {
|
|
5395
|
-
const c =
|
|
5395
|
+
const c = zt(i);
|
|
5396
5396
|
if (!c)
|
|
5397
5397
|
throw new Error("header name must be a non-empty string");
|
|
5398
5398
|
const p = N.findKey(l, c);
|
|
@@ -5416,7 +5416,7 @@ let Ce = class {
|
|
|
5416
5416
|
return this;
|
|
5417
5417
|
}
|
|
5418
5418
|
get(t, n) {
|
|
5419
|
-
if (t =
|
|
5419
|
+
if (t = zt(t), t) {
|
|
5420
5420
|
const o = N.findKey(this, t);
|
|
5421
5421
|
if (o) {
|
|
5422
5422
|
const l = this[o];
|
|
@@ -5433,7 +5433,7 @@ let Ce = class {
|
|
|
5433
5433
|
}
|
|
5434
5434
|
}
|
|
5435
5435
|
has(t, n) {
|
|
5436
|
-
if (t =
|
|
5436
|
+
if (t = zt(t), t) {
|
|
5437
5437
|
const o = N.findKey(this, t);
|
|
5438
5438
|
return !!(o && this[o] !== void 0 && (!n || Zn(this, this[o], o, n)));
|
|
5439
5439
|
}
|
|
@@ -5443,7 +5443,7 @@ let Ce = class {
|
|
|
5443
5443
|
const o = this;
|
|
5444
5444
|
let l = !1;
|
|
5445
5445
|
function s(a) {
|
|
5446
|
-
if (a =
|
|
5446
|
+
if (a = zt(a), a) {
|
|
5447
5447
|
const r = N.findKey(o, a);
|
|
5448
5448
|
r && (!n || Zn(o, o[r], r, n)) && (delete o[r], l = !0);
|
|
5449
5449
|
}
|
|
@@ -5505,7 +5505,7 @@ let Ce = class {
|
|
|
5505
5505
|
accessors: {}
|
|
5506
5506
|
}).accessors, l = this.prototype;
|
|
5507
5507
|
function s(a) {
|
|
5508
|
-
const r =
|
|
5508
|
+
const r = zt(a);
|
|
5509
5509
|
o[r] || (Gf(l, a), o[r] = !0);
|
|
5510
5510
|
}
|
|
5511
5511
|
return N.isArray(t) ? t.forEach(s) : s(t), this;
|
|
@@ -6029,14 +6029,14 @@ const er = (e) => {
|
|
|
6029
6029
|
return u;
|
|
6030
6030
|
};
|
|
6031
6031
|
tr();
|
|
6032
|
-
const
|
|
6032
|
+
const zo = {
|
|
6033
6033
|
http: $f,
|
|
6034
6034
|
xhr: lm,
|
|
6035
6035
|
fetch: {
|
|
6036
6036
|
get: tr
|
|
6037
6037
|
}
|
|
6038
6038
|
};
|
|
6039
|
-
N.forEach(
|
|
6039
|
+
N.forEach(zo, (e, t) => {
|
|
6040
6040
|
if (e) {
|
|
6041
6041
|
try {
|
|
6042
6042
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -6054,7 +6054,7 @@ function fm(e, t) {
|
|
|
6054
6054
|
for (let a = 0; a < n; a++) {
|
|
6055
6055
|
o = e[a];
|
|
6056
6056
|
let r;
|
|
6057
|
-
if (l = o, !pm(o) && (l =
|
|
6057
|
+
if (l = o, !pm(o) && (l = zo[(r = String(o)).toLowerCase()], l === void 0))
|
|
6058
6058
|
throw new ee(`Unknown adapter '${r}'`);
|
|
6059
6059
|
if (l && (N.isFunction(l) || (l = l.get(t))))
|
|
6060
6060
|
break;
|
|
@@ -6084,7 +6084,7 @@ const nr = {
|
|
|
6084
6084
|
* Exposes all known adapters
|
|
6085
6085
|
* @type {Object<string, Function|Object>}
|
|
6086
6086
|
*/
|
|
6087
|
-
adapters:
|
|
6087
|
+
adapters: zo
|
|
6088
6088
|
};
|
|
6089
6089
|
function eo(e) {
|
|
6090
6090
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
@@ -6108,14 +6108,14 @@ function Sa(e) {
|
|
|
6108
6108
|
), o.response.headers = Ce.from(o.response.headers))), Promise.reject(o);
|
|
6109
6109
|
});
|
|
6110
6110
|
}
|
|
6111
|
-
const or = "1.13.2",
|
|
6111
|
+
const or = "1.13.2", Mn = {};
|
|
6112
6112
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
6113
|
-
|
|
6113
|
+
Mn[e] = function(o) {
|
|
6114
6114
|
return typeof o === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
6115
6115
|
};
|
|
6116
6116
|
});
|
|
6117
6117
|
const $a = {};
|
|
6118
|
-
|
|
6118
|
+
Mn.transitional = function(t, n, o) {
|
|
6119
6119
|
function l(s, a) {
|
|
6120
6120
|
return "[Axios v" + or + "] Transitional option '" + s + "'" + a + (o ? ". " + o : "");
|
|
6121
6121
|
}
|
|
@@ -6133,7 +6133,7 @@ zn.transitional = function(t, n, o) {
|
|
|
6133
6133
|
)), t ? t(s, a, r) : !0;
|
|
6134
6134
|
};
|
|
6135
6135
|
};
|
|
6136
|
-
|
|
6136
|
+
Mn.spelling = function(t) {
|
|
6137
6137
|
return (n, o) => (console.warn(`${o} is likely a misspelling of ${t}`), !0);
|
|
6138
6138
|
};
|
|
6139
6139
|
function mm(e, t, n) {
|
|
@@ -6155,7 +6155,7 @@ function mm(e, t, n) {
|
|
|
6155
6155
|
}
|
|
6156
6156
|
const wn = {
|
|
6157
6157
|
assertOptions: mm,
|
|
6158
|
-
validators:
|
|
6158
|
+
validators: Mn
|
|
6159
6159
|
}, Be = wn.validators;
|
|
6160
6160
|
let dt = class {
|
|
6161
6161
|
constructor(t) {
|
|
@@ -6651,7 +6651,7 @@ const to = /* @__PURE__ */ vm(wm), Ta = {
|
|
|
6651
6651
|
404: "查无此页",
|
|
6652
6652
|
408: "请求超时"
|
|
6653
6653
|
};
|
|
6654
|
-
function
|
|
6654
|
+
function zn() {
|
|
6655
6655
|
const e = xt("baseURL"), t = xt(
|
|
6656
6656
|
"message",
|
|
6657
6657
|
((a, r) => console.log(r, a))
|
|
@@ -6694,7 +6694,7 @@ function ir(e) {
|
|
|
6694
6694
|
X(t, (u, c) => {
|
|
6695
6695
|
c && o(c), l.value = n(u);
|
|
6696
6696
|
}, { deep: !0, immediate: !0 }), Fa(() => o(t.value));
|
|
6697
|
-
const { getAxiosInstance: s } =
|
|
6697
|
+
const { getAxiosInstance: s } = zn(), a = O(() => l.value?.status.loading), r = O(() => l.value?.status.payload);
|
|
6698
6698
|
function i(u) {
|
|
6699
6699
|
const c = s(t.value.auth), p = t.value.token || "default";
|
|
6700
6700
|
if (l.value) {
|
|
@@ -6942,7 +6942,7 @@ class me {
|
|
|
6942
6942
|
]
|
|
6943
6943
|
};
|
|
6944
6944
|
}
|
|
6945
|
-
class
|
|
6945
|
+
class ze {
|
|
6946
6946
|
$$validator;
|
|
6947
6947
|
$db;
|
|
6948
6948
|
$entity;
|
|
@@ -7113,7 +7113,7 @@ const Aa = {
|
|
|
7113
7113
|
JSONField: { tool: "object", column_width: 80, align: "center" }
|
|
7114
7114
|
};
|
|
7115
7115
|
function Ae(e) {
|
|
7116
|
-
const t = ie(e) ? e : x(e || new
|
|
7116
|
+
const t = ie(e) ? e : x(e || new ze());
|
|
7117
7117
|
function n(u) {
|
|
7118
7118
|
const c = t.value.$source || {};
|
|
7119
7119
|
t.value.enable = u, t.value.allow_download = !!c.allow_download && u, t.value.allow_insert = !!c.allow_insert && u, t.value.allow_remove = !!c.allow_remove && u, t.value.allow_upload = !!c.allow_upload && u, t.value.allow_edit = !!c.allow_edit && u, t.value.allow_edit_on_form = !!c.allow_edit_on_form && t.value.allow_edit, t.value.allow_edit_on_cell = !!c.allow_edit_on_cell && t.value.allow_edit, t.value.allow_edit_on_sort = !!c.allow_edit_on_sort && t.value.allow_edit;
|
|
@@ -7253,7 +7253,7 @@ function he(e, t) {
|
|
|
7253
7253
|
});
|
|
7254
7254
|
}),
|
|
7255
7255
|
meta_view: (c) => new Promise((p, _) => {
|
|
7256
|
-
a("meta_view", { code: c || o.value }).then((g) => p(new
|
|
7256
|
+
a("meta_view", { code: c || o.value }).then((g) => p(new ze(g)));
|
|
7257
7257
|
})
|
|
7258
7258
|
}, loading: r, payload: i };
|
|
7259
7259
|
}
|
|
@@ -7302,7 +7302,7 @@ function Cm(e) {
|
|
|
7302
7302
|
};
|
|
7303
7303
|
}
|
|
7304
7304
|
function Om(e) {
|
|
7305
|
-
const { getAxiosInstance: t, loading: n } =
|
|
7305
|
+
const { getAxiosInstance: t, loading: n } = zn();
|
|
7306
7306
|
function o(l, s) {
|
|
7307
7307
|
const a = t(e.value.auth), r = [
|
|
7308
7308
|
"valar",
|
|
@@ -7503,7 +7503,7 @@ function qo(e = {}) {
|
|
|
7503
7503
|
}
|
|
7504
7504
|
const gr = ["iexact", "icontains", "istartswith", "iendswith"], hr = ["gte", "lte"], vr = ["exact", "contains", "startswith", "endswith", "gt", "lt", "isnull", "in", "range"], $m = [...gr, ...hr, ...vr];
|
|
7505
7505
|
function Ho(e, t, n) {
|
|
7506
|
-
const o = x(new
|
|
7506
|
+
const o = x(new ze()), l = x(new ot()), s = x(null), a = x(r());
|
|
7507
7507
|
function r() {
|
|
7508
7508
|
return {
|
|
7509
7509
|
db: e.value.db,
|
|
@@ -7774,7 +7774,7 @@ const br = (e) => {
|
|
|
7774
7774
|
const t = "/api/", n = e?.wssURL || t;
|
|
7775
7775
|
return {
|
|
7776
7776
|
install(o) {
|
|
7777
|
-
const { hub: l, connection: s } =
|
|
7777
|
+
const { hub: l, connection: s } = Mp(n);
|
|
7778
7778
|
o.provide("baseURL", t), o.provide("channel-hub", l), o.provide("connection", s);
|
|
7779
7779
|
}
|
|
7780
7780
|
};
|
|
@@ -10514,7 +10514,7 @@ const br = (e) => {
|
|
|
10514
10514
|
}, 8, ["disabled", "content"]);
|
|
10515
10515
|
};
|
|
10516
10516
|
}
|
|
10517
|
-
}), Lm = { class: "full justified" },
|
|
10517
|
+
}), Lm = { class: "full justified" }, Mm = { style: { "margin-left": "30px", "font-size": "10px", color: "#999999" } }, we = /* @__PURE__ */ I({
|
|
10518
10518
|
__name: "MOption",
|
|
10519
10519
|
props: {
|
|
10520
10520
|
icon: {},
|
|
@@ -10545,7 +10545,7 @@ const br = (e) => {
|
|
|
10545
10545
|
])
|
|
10546
10546
|
], 4)
|
|
10547
10547
|
]),
|
|
10548
|
-
te("b",
|
|
10548
|
+
te("b", Mm, [
|
|
10549
10549
|
Q(o.$slots, "right", {}, () => [
|
|
10550
10550
|
S(M(e.right), 1)
|
|
10551
10551
|
])
|
|
@@ -10553,7 +10553,7 @@ const br = (e) => {
|
|
|
10553
10553
|
]));
|
|
10554
10554
|
}
|
|
10555
10555
|
});
|
|
10556
|
-
function
|
|
10556
|
+
function zm(e) {
|
|
10557
10557
|
const t = ie(e) ? e : x(e), n = O(
|
|
10558
10558
|
() => Object.values(t.value.view.$fields).filter((_) => qm(_, t.value))
|
|
10559
10559
|
), o = (_) => {
|
|
@@ -13377,7 +13377,7 @@ const Or = /* @__PURE__ */ I({
|
|
|
13377
13377
|
_: 1
|
|
13378
13378
|
}, 512));
|
|
13379
13379
|
}
|
|
13380
|
-
}),
|
|
13380
|
+
}), M_ = /* @__PURE__ */ I({
|
|
13381
13381
|
__name: "UploadControl",
|
|
13382
13382
|
props: {
|
|
13383
13383
|
param: {},
|
|
@@ -13466,7 +13466,7 @@ const Or = /* @__PURE__ */ I({
|
|
|
13466
13466
|
});
|
|
13467
13467
|
};
|
|
13468
13468
|
}
|
|
13469
|
-
}),
|
|
13469
|
+
}), z_ = /* @__PURE__ */ I({
|
|
13470
13470
|
__name: "UploadButtons",
|
|
13471
13471
|
props: {
|
|
13472
13472
|
notEmpty: { type: Boolean }
|
|
@@ -13830,7 +13830,7 @@ const Or = /* @__PURE__ */ I({
|
|
|
13830
13830
|
header: f(() => [
|
|
13831
13831
|
m(P, null, {
|
|
13832
13832
|
content: f(() => [
|
|
13833
|
-
S(M(A.prop) + " // " + M(A.tool), 1)
|
|
13833
|
+
S(M(A.prop) + " // " + M(A.tool) + " // " + M(A.format), 1)
|
|
13834
13834
|
]),
|
|
13835
13835
|
default: f(() => [
|
|
13836
13836
|
m(C, {
|
|
@@ -13940,7 +13940,7 @@ const Or = /* @__PURE__ */ I({
|
|
|
13940
13940
|
});
|
|
13941
13941
|
};
|
|
13942
13942
|
}
|
|
13943
|
-
}), Y_ = /* @__PURE__ */ at(K_, [["__scopeId", "data-v-
|
|
13943
|
+
}), Y_ = /* @__PURE__ */ at(K_, [["__scopeId", "data-v-2cd20709"]]);
|
|
13944
13944
|
function W_(e) {
|
|
13945
13945
|
const t = ie(e) ? e : x(e), n = x({
|
|
13946
13946
|
hasId: !1,
|
|
@@ -13967,13 +13967,15 @@ function W_(e) {
|
|
|
13967
13967
|
const A = me.DOMAINS.multiple.includes(C), R = n.value.useKey ? "value" : "label", B = (s.value[V] || []).map((J) => [J[R], J[R]]), q = Object.fromEntries(B);
|
|
13968
13968
|
T.push(a({ prop: V, label: P, domain: C, not_null: $, multiple: A, set: q }));
|
|
13969
13969
|
} else {
|
|
13970
|
-
|
|
13970
|
+
let { set: A, multiple: R } = F;
|
|
13971
|
+
C === "CharField" && ["select"].includes(U) && (s.value[V] || []).forEach((J) => A[J.value] = J.label);
|
|
13972
|
+
const B = a({ prop: V, label: P, domain: C, not_null: $, multiple: R, set: A });
|
|
13971
13973
|
["date"].includes(U) && (B.tool = U), T.push(B);
|
|
13972
13974
|
}
|
|
13973
13975
|
}), T;
|
|
13974
13976
|
}), i = O(() => {
|
|
13975
13977
|
const y = Object.fromEntries(r.value.map((E) => [E.prop, E]));
|
|
13976
|
-
return new
|
|
13978
|
+
return new ze({ $fields: y, $$validator: t.value.validator });
|
|
13977
13979
|
}), { parseRow: u } = Ae(i), c = x([]), p = x([]), _ = O(() => !!c.value.length);
|
|
13978
13980
|
function g(y) {
|
|
13979
13981
|
c.value = y, p.value = c.value.map((E, T) => u(E, T));
|
|
@@ -14331,7 +14333,7 @@ const G_ = /* @__PURE__ */ I({
|
|
|
14331
14333
|
default: f(() => [
|
|
14332
14334
|
m(B, null, {
|
|
14333
14335
|
default: f(() => [
|
|
14334
|
-
m(h(
|
|
14336
|
+
m(h(M_), {
|
|
14335
14337
|
param: h(p),
|
|
14336
14338
|
"onUpdate:param": R[0] || (R[0] = (ne) => ie(p) ? p.value = ne : null),
|
|
14337
14339
|
"not-empty": h(c),
|
|
@@ -14342,7 +14344,7 @@ const G_ = /* @__PURE__ */ I({
|
|
|
14342
14344
|
}),
|
|
14343
14345
|
m(B, null, {
|
|
14344
14346
|
default: f(() => [
|
|
14345
|
-
m(h(
|
|
14347
|
+
m(h(z_), {
|
|
14346
14348
|
"not-empty": h(c),
|
|
14347
14349
|
onClear: C,
|
|
14348
14350
|
onConfirm: U,
|
|
@@ -14879,7 +14881,10 @@ const G_ = /* @__PURE__ */ I({
|
|
|
14879
14881
|
const t = e;
|
|
14880
14882
|
let n = x(0);
|
|
14881
14883
|
const o = x();
|
|
14882
|
-
X(o, () =>
|
|
14884
|
+
X(o, () => {
|
|
14885
|
+
const s = o.value?.offsetWidth + 30;
|
|
14886
|
+
n.value = Math.max(s, 50);
|
|
14887
|
+
});
|
|
14883
14888
|
function l(s) {
|
|
14884
14889
|
const a = s.id;
|
|
14885
14890
|
return () => t.setCollection([a]);
|
|
@@ -16763,7 +16768,7 @@ const Eg = /* @__PURE__ */ I({
|
|
|
16763
16768
|
}
|
|
16764
16769
|
});
|
|
16765
16770
|
function Ge(e = !1) {
|
|
16766
|
-
const { getAxiosInstance: t, loading: n } =
|
|
16771
|
+
const { getAxiosInstance: t, loading: n } = zn(), o = Bt(), l = lt();
|
|
16767
16772
|
function s(a, r) {
|
|
16768
16773
|
const i = t(e);
|
|
16769
16774
|
return console.log(a), new Promise((u, c) => {
|
|
@@ -17062,7 +17067,7 @@ const Rr = /* @__PURE__ */ I({
|
|
|
17062
17067
|
};
|
|
17063
17068
|
}
|
|
17064
17069
|
});
|
|
17065
|
-
function
|
|
17070
|
+
function Mg(e) {
|
|
17066
17071
|
const t = ie(e) ? e : x(e), n = O(() => !t.value.disabled && !t.value.field.disabled), o = O(() => {
|
|
17067
17072
|
const { tool: l, format: s } = t.value.field;
|
|
17068
17073
|
switch (l) {
|
|
@@ -17122,7 +17127,7 @@ const Vn = /* @__PURE__ */ I({
|
|
|
17122
17127
|
},
|
|
17123
17128
|
emits: ["confirm"],
|
|
17124
17129
|
setup(e, { expose: t, emit: n }) {
|
|
17125
|
-
const o = n, l = e, { enable: s, component: a } =
|
|
17130
|
+
const o = n, l = e, { enable: s, component: a } = Mg(l), r = O(() => {
|
|
17126
17131
|
const { row: c, bean: p, field: _ } = l, g = _.prop, d = p[g];
|
|
17127
17132
|
if (Ie(c[g], d))
|
|
17128
17133
|
return null;
|
|
@@ -17291,7 +17296,7 @@ const Vn = /* @__PURE__ */ I({
|
|
|
17291
17296
|
});
|
|
17292
17297
|
};
|
|
17293
17298
|
}
|
|
17294
|
-
}),
|
|
17299
|
+
}), zg = /* @__PURE__ */ I({
|
|
17295
17300
|
__name: "MFormLabel",
|
|
17296
17301
|
props: {
|
|
17297
17302
|
field: {},
|
|
@@ -17334,7 +17339,7 @@ const Vn = /* @__PURE__ */ I({
|
|
|
17334
17339
|
});
|
|
17335
17340
|
};
|
|
17336
17341
|
}
|
|
17337
|
-
}), Ra = /* @__PURE__ */ at(
|
|
17342
|
+
}), Ra = /* @__PURE__ */ at(zg, [["__scopeId", "data-v-21849760"]]), Hn = /* @__PURE__ */ I({
|
|
17338
17343
|
__name: "MForm",
|
|
17339
17344
|
props: {
|
|
17340
17345
|
temp: {},
|
|
@@ -17356,7 +17361,7 @@ const Vn = /* @__PURE__ */ I({
|
|
|
17356
17361
|
mapping: p,
|
|
17357
17362
|
reset: _,
|
|
17358
17363
|
invalid: g
|
|
17359
|
-
} =
|
|
17364
|
+
} = zm(l);
|
|
17360
17365
|
X(c, () => {
|
|
17361
17366
|
const v = Object.values(p.value).map((y) => [y.prop, y.value]);
|
|
17362
17367
|
o("change", Object.fromEntries(v), g.value);
|
|
@@ -17442,7 +17447,7 @@ const Vn = /* @__PURE__ */ I({
|
|
|
17442
17447
|
}
|
|
17443
17448
|
});
|
|
17444
17449
|
function jg(e) {
|
|
17445
|
-
const t = x(et(e.item)), n = x(e.codes.length ? e.codes[0].value : "default"), o = x(new
|
|
17450
|
+
const t = x(et(e.item)), n = x(e.codes.length ? e.codes[0].value : "default"), o = x(new ze()), { manager: l } = he({
|
|
17446
17451
|
entity: e.entity
|
|
17447
17452
|
});
|
|
17448
17453
|
return X(n, () => {
|
|
@@ -18102,7 +18107,7 @@ const Yg = /* @__PURE__ */ I({
|
|
|
18102
18107
|
}
|
|
18103
18108
|
return (u, c) => {
|
|
18104
18109
|
const p = w("el-checkbox");
|
|
18105
|
-
return b(), k(h(
|
|
18110
|
+
return b(), k(h(Mt), {
|
|
18106
18111
|
results: r.value,
|
|
18107
18112
|
modes: s,
|
|
18108
18113
|
admin: "",
|
|
@@ -18343,7 +18348,7 @@ const Yg = /* @__PURE__ */ I({
|
|
|
18343
18348
|
field: {}
|
|
18344
18349
|
},
|
|
18345
18350
|
setup(e, { expose: t }) {
|
|
18346
|
-
const n = e, o = x(n.field.refer), l = x(new
|
|
18351
|
+
const n = e, o = x(n.field.refer), l = x(new ze()), { condition: s } = dr(o), a = x(new ot()), { options: r } = Nt(a), { manager: i } = he(O(() => ({
|
|
18347
18352
|
db: o.value.db,
|
|
18348
18353
|
entity: o.value.entity || ""
|
|
18349
18354
|
})));
|
|
@@ -18358,7 +18363,7 @@ const Yg = /* @__PURE__ */ I({
|
|
|
18358
18363
|
const D = Object.assign({ isLeaf: !1 }, s.value.includes), C = [new Te(D)];
|
|
18359
18364
|
i.search({ type: "tree", root: 0 }, C).then((V) => a.value = V);
|
|
18360
18365
|
}
|
|
18361
|
-
}) : l.value = new
|
|
18366
|
+
}) : l.value = new ze();
|
|
18362
18367
|
}, { immediate: !0, deep: !0 }), t({ getData: () => ({
|
|
18363
18368
|
id: n.field.id,
|
|
18364
18369
|
refer: o.value
|
|
@@ -18687,7 +18692,7 @@ const Yg = /* @__PURE__ */ I({
|
|
|
18687
18692
|
confirm: p
|
|
18688
18693
|
}, {
|
|
18689
18694
|
default: f(({ data: d }) => [
|
|
18690
|
-
m(h(
|
|
18695
|
+
m(h(Mt), {
|
|
18691
18696
|
ref_key: "table",
|
|
18692
18697
|
ref: a,
|
|
18693
18698
|
results: d,
|
|
@@ -19044,7 +19049,7 @@ const Yg = /* @__PURE__ */ I({
|
|
|
19044
19049
|
return (p, _) => {
|
|
19045
19050
|
const g = w("el-button");
|
|
19046
19051
|
return b(), z(H, null, [
|
|
19047
|
-
m(h(
|
|
19052
|
+
m(h(zr), {
|
|
19048
19053
|
ref_key: "table",
|
|
19049
19054
|
ref: n,
|
|
19050
19055
|
entity: "valar.MetaField",
|
|
@@ -19235,7 +19240,7 @@ const Yg = /* @__PURE__ */ I({
|
|
|
19235
19240
|
onClick: l
|
|
19236
19241
|
}, null, 8, ["icon", "type"]));
|
|
19237
19242
|
}
|
|
19238
|
-
}),
|
|
19243
|
+
}), Mr = /* @__PURE__ */ I({
|
|
19239
19244
|
__name: "ViewPanel",
|
|
19240
19245
|
props: {
|
|
19241
19246
|
view: {}
|
|
@@ -19267,7 +19272,7 @@ const Yg = /* @__PURE__ */ I({
|
|
|
19267
19272
|
] : []), p = O(() => ({
|
|
19268
19273
|
db: r.value.db,
|
|
19269
19274
|
entity: r.value.entity || ""
|
|
19270
|
-
})), { manager: _ } = he(p), g = x(new
|
|
19275
|
+
})), { manager: _ } = he(p), g = x(new ze()), d = [
|
|
19271
19276
|
{
|
|
19272
19277
|
label: "字段",
|
|
19273
19278
|
icon: "table-cells",
|
|
@@ -19398,7 +19403,7 @@ const Yg = /* @__PURE__ */ I({
|
|
|
19398
19403
|
})
|
|
19399
19404
|
]),
|
|
19400
19405
|
default: f(() => [
|
|
19401
|
-
m(
|
|
19406
|
+
m(Mr, {
|
|
19402
19407
|
view: e.view,
|
|
19403
19408
|
onSwitch: i[0] || (i[0] = (p) => o("switch", p))
|
|
19404
19409
|
}, null, 8, ["view"])
|
|
@@ -19543,6 +19548,8 @@ const Yg = /* @__PURE__ */ I({
|
|
|
19543
19548
|
rest: D,
|
|
19544
19549
|
view: () => u.value,
|
|
19545
19550
|
controller: i,
|
|
19551
|
+
total: y,
|
|
19552
|
+
options: T,
|
|
19546
19553
|
getSelection: () => o.value?.getSelection() || []
|
|
19547
19554
|
}), (P, $) => (b(), z(H, null, [
|
|
19548
19555
|
m(h(Tr), {
|
|
@@ -19628,7 +19635,7 @@ function hh(e) {
|
|
|
19628
19635
|
return a.forEach((r) => {
|
|
19629
19636
|
const i = t(r);
|
|
19630
19637
|
s[i.prop] = i;
|
|
19631
|
-
}), new
|
|
19638
|
+
}), new ze({ $fields: s, $$validator: e.value.validator }, e.value.admin);
|
|
19632
19639
|
}
|
|
19633
19640
|
return { view: o, init: l };
|
|
19634
19641
|
}
|
|
@@ -19706,7 +19713,7 @@ function vh(e, t) {
|
|
|
19706
19713
|
orders: r
|
|
19707
19714
|
};
|
|
19708
19715
|
}
|
|
19709
|
-
const
|
|
19716
|
+
const Mt = /* @__PURE__ */ I({
|
|
19710
19717
|
__name: "PTable",
|
|
19711
19718
|
props: {
|
|
19712
19719
|
results: {},
|
|
@@ -19770,7 +19777,7 @@ const zt = /* @__PURE__ */ I({
|
|
|
19770
19777
|
_: 3
|
|
19771
19778
|
}, 8, ["view", "rest", "results", "mapping", "total", "search", "finder", "core", "error", "admin", "title", "single", "height", "buttons", "columns"]));
|
|
19772
19779
|
}
|
|
19773
|
-
}),
|
|
19780
|
+
}), zr = /* @__PURE__ */ I({
|
|
19774
19781
|
__name: "CodesTable",
|
|
19775
19782
|
props: {
|
|
19776
19783
|
buttons: {},
|
|
@@ -20234,7 +20241,7 @@ const bh = /* @__PURE__ */ I({
|
|
|
20234
20241
|
}
|
|
20235
20242
|
return (i, u) => {
|
|
20236
20243
|
const c = w("el-checkbox");
|
|
20237
|
-
return b(), k(h(
|
|
20244
|
+
return b(), k(h(Mt), {
|
|
20238
20245
|
modes: a.value.columns,
|
|
20239
20246
|
results: a.value.data
|
|
20240
20247
|
}, {
|
|
@@ -20274,7 +20281,7 @@ const bh = /* @__PURE__ */ I({
|
|
|
20274
20281
|
});
|
|
20275
20282
|
}, { deep: !0, immediate: !0 }), (c, p) => {
|
|
20276
20283
|
const _ = w("el-checkbox"), g = w("el-divider"), d = w("el-select"), v = w("el-space");
|
|
20277
|
-
return b(), k(h(
|
|
20284
|
+
return b(), k(h(Mt), {
|
|
20278
20285
|
modes: r.value.columns,
|
|
20279
20286
|
results: r.value.data
|
|
20280
20287
|
}, {
|
|
@@ -20868,7 +20875,7 @@ const Rh = /* @__PURE__ */ I({
|
|
|
20868
20875
|
confirm: i
|
|
20869
20876
|
}, {
|
|
20870
20877
|
default: f(({ data: p }) => [
|
|
20871
|
-
m(h(
|
|
20878
|
+
m(h(Mt), {
|
|
20872
20879
|
ref_key: "table",
|
|
20873
20880
|
ref: a,
|
|
20874
20881
|
results: p
|
|
@@ -21114,7 +21121,7 @@ const Rh = /* @__PURE__ */ I({
|
|
|
21114
21121
|
}, 512);
|
|
21115
21122
|
};
|
|
21116
21123
|
}
|
|
21117
|
-
}),
|
|
21124
|
+
}), Mh = /* @__PURE__ */ I({
|
|
21118
21125
|
__name: "MAccount",
|
|
21119
21126
|
setup(e) {
|
|
21120
21127
|
const t = x(), n = x(), o = x(), l = x(), { copy: s } = _t(), { userStore: a, handler: r } = Oe(), { post: i } = Ge(), u = [
|
|
@@ -21186,7 +21193,7 @@ const Rh = /* @__PURE__ */ I({
|
|
|
21186
21193
|
], 64);
|
|
21187
21194
|
};
|
|
21188
21195
|
}
|
|
21189
|
-
}),
|
|
21196
|
+
}), zh = /* @__PURE__ */ I({
|
|
21190
21197
|
__name: "MRole",
|
|
21191
21198
|
setup(e) {
|
|
21192
21199
|
x();
|
|
@@ -21505,7 +21512,7 @@ const Rh = /* @__PURE__ */ I({
|
|
|
21505
21512
|
})
|
|
21506
21513
|
]),
|
|
21507
21514
|
default: f(() => [
|
|
21508
|
-
n.value === "account" ? (b(), k(
|
|
21515
|
+
n.value === "account" ? (b(), k(Mh, { key: 0 })) : K("", !0)
|
|
21509
21516
|
]),
|
|
21510
21517
|
_: 1
|
|
21511
21518
|
}),
|
|
@@ -21540,7 +21547,7 @@ const Rh = /* @__PURE__ */ I({
|
|
|
21540
21547
|
})
|
|
21541
21548
|
]),
|
|
21542
21549
|
default: f(() => [
|
|
21543
|
-
n.value === "role" ? (b(), k(
|
|
21550
|
+
n.value === "role" ? (b(), k(zh, { key: 0 })) : K("", !0)
|
|
21544
21551
|
]),
|
|
21545
21552
|
_: 1
|
|
21546
21553
|
}),
|
|
@@ -21574,7 +21581,7 @@ const Rh = /* @__PURE__ */ I({
|
|
|
21574
21581
|
})
|
|
21575
21582
|
]),
|
|
21576
21583
|
default: f(() => [
|
|
21577
|
-
m(
|
|
21584
|
+
m(Mr)
|
|
21578
21585
|
]),
|
|
21579
21586
|
_: 1
|
|
21580
21587
|
})
|
|
@@ -21756,7 +21763,7 @@ const Zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21756
21763
|
$confirm: De,
|
|
21757
21764
|
$message: Z,
|
|
21758
21765
|
CodesForm: Jo,
|
|
21759
|
-
CodesTable:
|
|
21766
|
+
CodesTable: zr,
|
|
21760
21767
|
Condition: Te,
|
|
21761
21768
|
CtrlButton: W,
|
|
21762
21769
|
CustomForm: Nr,
|
|
@@ -21782,9 +21789,9 @@ const Zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21782
21789
|
MetaFormat: Fe,
|
|
21783
21790
|
MetaPopover: Qo,
|
|
21784
21791
|
MetaRefer: ur,
|
|
21785
|
-
MetaView:
|
|
21792
|
+
MetaView: ze,
|
|
21786
21793
|
Model: ot,
|
|
21787
|
-
PTable:
|
|
21794
|
+
PTable: Mt,
|
|
21788
21795
|
ReferForm: Zo,
|
|
21789
21796
|
Search: Pt,
|
|
21790
21797
|
ViewForm: Ur,
|
|
@@ -21800,7 +21807,7 @@ const Zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21800
21807
|
useData: Ho,
|
|
21801
21808
|
useEditableTableModel: fr,
|
|
21802
21809
|
useFinder: qo,
|
|
21803
|
-
useHttp:
|
|
21810
|
+
useHttp: zn,
|
|
21804
21811
|
useMetaField: Em,
|
|
21805
21812
|
useMetaRefer: dr,
|
|
21806
21813
|
useMetaView: Ae,
|
|
@@ -21826,7 +21833,7 @@ export {
|
|
|
21826
21833
|
De as $confirm,
|
|
21827
21834
|
Z as $message,
|
|
21828
21835
|
Jo as CodesForm,
|
|
21829
|
-
|
|
21836
|
+
zr as CodesTable,
|
|
21830
21837
|
Te as Condition,
|
|
21831
21838
|
W as CtrlButton,
|
|
21832
21839
|
Nr as CustomForm,
|
|
@@ -21852,9 +21859,9 @@ export {
|
|
|
21852
21859
|
Fe as MetaFormat,
|
|
21853
21860
|
Qo as MetaPopover,
|
|
21854
21861
|
ur as MetaRefer,
|
|
21855
|
-
|
|
21862
|
+
ze as MetaView,
|
|
21856
21863
|
ot as Model,
|
|
21857
|
-
|
|
21864
|
+
Mt as PTable,
|
|
21858
21865
|
Zo as ReferForm,
|
|
21859
21866
|
Pt as Search,
|
|
21860
21867
|
Ur as ViewForm,
|
|
@@ -21871,7 +21878,7 @@ export {
|
|
|
21871
21878
|
Ho as useData,
|
|
21872
21879
|
fr as useEditableTableModel,
|
|
21873
21880
|
qo as useFinder,
|
|
21874
|
-
|
|
21881
|
+
zn as useHttp,
|
|
21875
21882
|
Em as useMetaField,
|
|
21876
21883
|
dr as useMetaRefer,
|
|
21877
21884
|
Ae as useMetaView,
|