kouxiangtang 0.0.73 → 0.0.74
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/{AttachmentUploader-cAHfI5Yj.js → AttachmentUploader-DEqVy0BV.js} +2 -2
- package/dist/{AttachmentUploader-cAHfI5Yj.js.map → AttachmentUploader-DEqVy0BV.js.map} +1 -1
- package/dist/{ImageUploader-lk9N-Sni.js → ImageUploader-DDKdZvMz.js} +2 -2
- package/dist/{ImageUploader-lk9N-Sni.js.map → ImageUploader-DDKdZvMz.js.map} +1 -1
- package/dist/{ImagesUploader-9qOx2FfT.js → ImagesUploader-DdKVZz-O.js} +2 -2
- package/dist/{ImagesUploader-9qOx2FfT.js.map → ImagesUploader-DdKVZz-O.js.map} +1 -1
- package/dist/{RichTextEditor-4VJbZesz.js → RichTextEditor-BLcDFDAF.js} +2 -2
- package/dist/{RichTextEditor-4VJbZesz.js.map → RichTextEditor-BLcDFDAF.js.map} +1 -1
- package/dist/{config-CE86st16.js → config-4ds6yglo.js} +2 -2
- package/dist/{config-CE86st16.js.map → config-4ds6yglo.js.map} +1 -1
- package/dist/{config-BUi_68JX.js → config-BGSdcdzT.js} +2 -2
- package/dist/{config-BUi_68JX.js.map → config-BGSdcdzT.js.map} +1 -1
- package/dist/{config-vsqFsOM9.js → config-BYWEwL00.js} +2 -2
- package/dist/{config-vsqFsOM9.js.map → config-BYWEwL00.js.map} +1 -1
- package/dist/{config-BSD8uO2H.js → config-BZUYXt6Z.js} +2 -2
- package/dist/{config-BSD8uO2H.js.map → config-BZUYXt6Z.js.map} +1 -1
- package/dist/{config-sHhddDkQ.js → config-B_wZjj-h.js} +2 -2
- package/dist/{config-sHhddDkQ.js.map → config-B_wZjj-h.js.map} +1 -1
- package/dist/{config-BPInBpGk.js → config-Bba3xS49.js} +2 -2
- package/dist/{config-BPInBpGk.js.map → config-Bba3xS49.js.map} +1 -1
- package/dist/{config-Cd-l6zLr.js → config-BljoYPoP.js} +2 -2
- package/dist/{config-Cd-l6zLr.js.map → config-BljoYPoP.js.map} +1 -1
- package/dist/{config-zgnv_Y78.js → config-Bp_kyviv.js} +2 -2
- package/dist/{config-zgnv_Y78.js.map → config-Bp_kyviv.js.map} +1 -1
- package/dist/{config-CwVeOemE.js → config-CF-_NU64.js} +2 -2
- package/dist/{config-CwVeOemE.js.map → config-CF-_NU64.js.map} +1 -1
- package/dist/{config-BnQ5RNT5.js → config-CIVHkCUa.js} +2 -2
- package/dist/{config-BnQ5RNT5.js.map → config-CIVHkCUa.js.map} +1 -1
- package/dist/{config-pICAEHCe.js → config-CnDy4teA.js} +2 -2
- package/dist/{config-pICAEHCe.js.map → config-CnDy4teA.js.map} +1 -1
- package/dist/{config-C7aBNMoz.js → config-DG4klmx8.js} +2 -2
- package/dist/{config-C7aBNMoz.js.map → config-DG4klmx8.js.map} +1 -1
- package/dist/{config-DxnWEDaj.js → config-DX19pwaM.js} +2 -2
- package/dist/{config-DxnWEDaj.js.map → config-DX19pwaM.js.map} +1 -1
- package/dist/{config-BnHH9EEx.js → config-J6Vc0kpm.js} +2 -2
- package/dist/{config-BnHH9EEx.js.map → config-J6Vc0kpm.js.map} +1 -1
- package/dist/{config-Bo0Ejvao.js → config-JeHx3pnY.js} +3 -3
- package/dist/{config-Bo0Ejvao.js.map → config-JeHx3pnY.js.map} +1 -1
- package/dist/{config-CvalidFy.js → config-Krtl9QFi.js} +3 -3
- package/dist/{config-CvalidFy.js.map → config-Krtl9QFi.js.map} +1 -1
- package/dist/{config-CV0wJl5O.js → config-LLq5Cp6k.js} +2 -2
- package/dist/{config-CV0wJl5O.js.map → config-LLq5Cp6k.js.map} +1 -1
- package/dist/{config-BVaWa82F.js → config-TvA1qG2B.js} +2 -2
- package/dist/{config-BVaWa82F.js.map → config-TvA1qG2B.js.map} +1 -1
- package/dist/{config-KFcY3l3O.js → config-wR0cpENE.js} +3 -3
- package/dist/{config-KFcY3l3O.js.map → config-wR0cpENE.js.map} +1 -1
- package/dist/{index-B5R2-PIR.js → index-DWntuszc.js} +209 -189
- package/dist/{index-B5R2-PIR.js.map → index-DWntuszc.js.map} +1 -1
- package/dist/kouxiangtang.js +1 -1
- package/dist/kouxiangtang.umd.cjs +1 -1
- package/dist/kouxiangtang.umd.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { openBlock as u, createBlock as $, unref as m, createSlots as De, withCtx as w, renderSlot as J, createElementVNode as A, toDisplayString as
|
|
2
|
-
import { ElCard as mn, ElLink as
|
|
1
|
+
import { openBlock as u, createBlock as $, unref as m, createSlots as De, withCtx as w, renderSlot as J, createElementVNode as A, toDisplayString as j, resolveComponent as qe, withDirectives as _e, createElementBlock as S, normalizeStyle as Ke, createVNode as x, createTextVNode as N, computed as I, Fragment as L, renderList as H, ref as D, reactive as Oe, watch as P, resolveDynamicComponent as K, createCommentVNode as F, shallowRef as Z, defineAsyncComponent as Zn, normalizeClass as he, withModifiers as Rt, defineComponent as q, useSlots as Re, onMounted as dn, watchEffect as ht, pushScopeId as pn, popScopeId as fn, normalizeProps as Tt, guardReactiveProps as Ft, getCurrentScope as es, onScopeDispose as ts, getCurrentInstance as ns, nextTick as ss, useCssVars as os } from "vue";
|
|
2
|
+
import { ElCard as mn, ElLink as as, vLoading as ve, ElRow as xe, ElCol as $e, ElForm as hn, ElFormItem as st, ElAlert as rs, ElButton as ee, ElMessageBox as is, ElMessage as ke, ElDialog as ls, ElLoading as Be, ElInputNumber as Lt, ElSelect as Pt, ElOption as Ye, ElSelectV2 as us, ElDatePicker as jt, ElInput as cs, ElButtonGroup as pe, ElDropdown as ot, ElDropdownMenu as at, ElDropdownItem as ue, ElIcon as G, ElEmpty as ds, ElImage as gn, ElTable as ps, ElTableColumn as je, ElTooltip as yn, ElPagination as fs, ElText as Bt, ElTabs as _n, ElTabPane as vn, ElSubMenu as ms, ElMenuItem as hs, ElScrollbar as gs, ElMenu as ys, ElConfigProvider as _s, ElContainer as Nt, ElHeader as vs, ElAside as bs, ElMain as ws, ElCollapse as Es, ElCollapseItem as $s } from "element-plus";
|
|
3
3
|
import { useRoute as V, useRouter as fe } from "vue-router";
|
|
4
4
|
import { defineStore as gt, storeToRefs as ge } from "pinia";
|
|
5
|
-
function
|
|
5
|
+
function bn(t, e) {
|
|
6
6
|
return function() {
|
|
7
7
|
return t.apply(e, arguments);
|
|
8
8
|
};
|
|
@@ -14,12 +14,12 @@ const { toString: Ss } = Object.prototype, { getPrototypeOf: yt } = Object, We =
|
|
|
14
14
|
function Os(t) {
|
|
15
15
|
return t !== null && !Ae(t) && t.constructor !== null && !Ae(t.constructor) && Y(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
16
16
|
}
|
|
17
|
-
const
|
|
17
|
+
const wn = oe("ArrayBuffer");
|
|
18
18
|
function xs(t) {
|
|
19
19
|
let e;
|
|
20
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer &&
|
|
20
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && wn(t.buffer), e;
|
|
21
21
|
}
|
|
22
|
-
const ks = Qe("string"), Y = Qe("function"),
|
|
22
|
+
const ks = Qe("string"), Y = Qe("function"), En = Qe("number"), Je = (t) => t !== null && typeof t == "object", As = (t) => t === !0 || t === !1, Ne = (t) => {
|
|
23
23
|
if (We(t) !== "object")
|
|
24
24
|
return !1;
|
|
25
25
|
const e = yt(t);
|
|
@@ -43,7 +43,7 @@ function Te(t, e, { allOwnKeys: n = !1 } = {}) {
|
|
|
43
43
|
l = a[s], e.call(null, t[l], l, t);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function $n(t, e) {
|
|
47
47
|
e = e.toLowerCase();
|
|
48
48
|
const n = Object.keys(t);
|
|
49
49
|
let s = n.length, o;
|
|
@@ -52,10 +52,10 @@ function En(t, e) {
|
|
|
52
52
|
return o;
|
|
53
53
|
return null;
|
|
54
54
|
}
|
|
55
|
-
const
|
|
55
|
+
const Sn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, On = (t) => !Ae(t) && t !== Sn;
|
|
56
56
|
function rt() {
|
|
57
|
-
const { caseless: t } =
|
|
58
|
-
const a = t &&
|
|
57
|
+
const { caseless: t } = On(this) && this || {}, e = {}, n = (s, o) => {
|
|
58
|
+
const a = t && $n(e, o) || o;
|
|
59
59
|
Ne(e[a]) && Ne(s) ? e[a] = rt(e[a], s) : Ne(s) ? e[a] = rt({}, s) : be(s) ? e[a] = s.slice() : e[a] = s;
|
|
60
60
|
};
|
|
61
61
|
for (let s = 0, o = arguments.length; s < o; s++)
|
|
@@ -63,7 +63,7 @@ function rt() {
|
|
|
63
63
|
return e;
|
|
64
64
|
}
|
|
65
65
|
const Bs = (t, e, n, { allOwnKeys: s } = {}) => (Te(e, (o, a) => {
|
|
66
|
-
n && Y(o) ? t[a] =
|
|
66
|
+
n && Y(o) ? t[a] = bn(o, n) : t[a] = o;
|
|
67
67
|
}, { allOwnKeys: s }), t), Ns = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Is = (t, e, n, s) => {
|
|
68
68
|
t.prototype = Object.create(e.prototype, s), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
69
69
|
value: e.prototype
|
|
@@ -89,7 +89,7 @@ const Bs = (t, e, n, { allOwnKeys: s } = {}) => (Te(e, (o, a) => {
|
|
|
89
89
|
if (be(t))
|
|
90
90
|
return t;
|
|
91
91
|
let e = t.length;
|
|
92
|
-
if (!
|
|
92
|
+
if (!En(e))
|
|
93
93
|
return null;
|
|
94
94
|
const n = new Array(e);
|
|
95
95
|
for (; e-- > 0; )
|
|
@@ -113,14 +113,14 @@ const Bs = (t, e, n, { allOwnKeys: s } = {}) => (Te(e, (o, a) => {
|
|
|
113
113
|
function(n, s, o) {
|
|
114
114
|
return s.toUpperCase() + o;
|
|
115
115
|
}
|
|
116
|
-
), It = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Js = oe("RegExp"),
|
|
116
|
+
), It = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Js = oe("RegExp"), xn = (t, e) => {
|
|
117
117
|
const n = Object.getOwnPropertyDescriptors(t), s = {};
|
|
118
118
|
Te(n, (o, a) => {
|
|
119
119
|
let r;
|
|
120
120
|
(r = e(o, a, t)) !== !1 && (s[a] = r || o);
|
|
121
121
|
}), Object.defineProperties(t, s);
|
|
122
122
|
}, Gs = (t) => {
|
|
123
|
-
|
|
123
|
+
xn(t, (e, n) => {
|
|
124
124
|
if (Y(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
125
125
|
return !1;
|
|
126
126
|
const s = t[n];
|
|
@@ -142,11 +142,11 @@ const Bs = (t, e, n, { allOwnKeys: s } = {}) => (Te(e, (o, a) => {
|
|
|
142
142
|
};
|
|
143
143
|
return be(t) ? s(t) : s(String(t).split(e)), n;
|
|
144
144
|
}, Ys = () => {
|
|
145
|
-
}, Xs = (t, e) => (t = +t, Number.isFinite(t) ? t : e), Xe = "abcdefghijklmnopqrstuvwxyz", Vt = "0123456789",
|
|
145
|
+
}, Xs = (t, e) => (t = +t, Number.isFinite(t) ? t : e), Xe = "abcdefghijklmnopqrstuvwxyz", Vt = "0123456789", kn = {
|
|
146
146
|
DIGIT: Vt,
|
|
147
147
|
ALPHA: Xe,
|
|
148
148
|
ALPHA_DIGIT: Xe + Xe.toUpperCase() + Vt
|
|
149
|
-
}, Zs = (t = 16, e =
|
|
149
|
+
}, Zs = (t = 16, e = kn.ALPHA_DIGIT) => {
|
|
150
150
|
let n = "";
|
|
151
151
|
const { length: s } = e;
|
|
152
152
|
for (; t--; )
|
|
@@ -175,12 +175,12 @@ const to = (t) => {
|
|
|
175
175
|
return n(t, 0);
|
|
176
176
|
}, no = oe("AsyncFunction"), so = (t) => t && (Je(t) || Y(t)) && Y(t.then) && Y(t.catch), b = {
|
|
177
177
|
isArray: be,
|
|
178
|
-
isArrayBuffer:
|
|
178
|
+
isArrayBuffer: wn,
|
|
179
179
|
isBuffer: Os,
|
|
180
180
|
isFormData: Ls,
|
|
181
181
|
isArrayBufferView: xs,
|
|
182
182
|
isString: ks,
|
|
183
|
-
isNumber:
|
|
183
|
+
isNumber: En,
|
|
184
184
|
isBoolean: As,
|
|
185
185
|
isObject: Je,
|
|
186
186
|
isPlainObject: Ne,
|
|
@@ -211,16 +211,16 @@ const to = (t) => {
|
|
|
211
211
|
hasOwnProperty: It,
|
|
212
212
|
hasOwnProp: It,
|
|
213
213
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
214
|
-
reduceDescriptors:
|
|
214
|
+
reduceDescriptors: xn,
|
|
215
215
|
freezeMethods: Gs,
|
|
216
216
|
toObjectSet: Ks,
|
|
217
217
|
toCamelCase: Qs,
|
|
218
218
|
noop: Ys,
|
|
219
219
|
toFiniteNumber: Xs,
|
|
220
|
-
findKey:
|
|
221
|
-
global:
|
|
222
|
-
isContextDefined:
|
|
223
|
-
ALPHABET:
|
|
220
|
+
findKey: $n,
|
|
221
|
+
global: Sn,
|
|
222
|
+
isContextDefined: On,
|
|
223
|
+
ALPHABET: kn,
|
|
224
224
|
generateString: Zs,
|
|
225
225
|
isSpecCompliantForm: eo,
|
|
226
226
|
toJSONObject: to,
|
|
@@ -251,7 +251,7 @@ b.inherits(R, Error, {
|
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
|
-
const
|
|
254
|
+
const An = R.prototype, Cn = {};
|
|
255
255
|
[
|
|
256
256
|
"ERR_BAD_OPTION_VALUE",
|
|
257
257
|
"ERR_BAD_OPTION",
|
|
@@ -267,12 +267,12 @@ const kn = R.prototype, An = {};
|
|
|
267
267
|
"ERR_INVALID_URL"
|
|
268
268
|
// eslint-disable-next-line func-names
|
|
269
269
|
].forEach((t) => {
|
|
270
|
-
|
|
270
|
+
Cn[t] = { value: t };
|
|
271
271
|
});
|
|
272
|
-
Object.defineProperties(R,
|
|
273
|
-
Object.defineProperty(
|
|
272
|
+
Object.defineProperties(R, Cn);
|
|
273
|
+
Object.defineProperty(An, "isAxiosError", { value: !0 });
|
|
274
274
|
R.from = (t, e, n, s, o, a) => {
|
|
275
|
-
const r = Object.create(
|
|
275
|
+
const r = Object.create(An);
|
|
276
276
|
return b.toFlatObject(t, r, function(d) {
|
|
277
277
|
return d !== Error.prototype;
|
|
278
278
|
}, (l) => l !== "isAxiosError"), R.call(r, t.message, e, n, s, o), r.cause = t, r.name = t.name, a && Object.assign(r, a), r;
|
|
@@ -281,12 +281,12 @@ const oo = null;
|
|
|
281
281
|
function it(t) {
|
|
282
282
|
return b.isPlainObject(t) || b.isArray(t);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Dn(t) {
|
|
285
285
|
return b.endsWith(t, "[]") ? t.slice(0, -2) : t;
|
|
286
286
|
}
|
|
287
287
|
function Mt(t, e, n) {
|
|
288
288
|
return t ? t.concat(e).map(function(o, a) {
|
|
289
|
-
return o =
|
|
289
|
+
return o = Dn(o), !n && a ? "[" + o + "]" : o;
|
|
290
290
|
}).join(n ? "." : "") : e;
|
|
291
291
|
}
|
|
292
292
|
function ao(t) {
|
|
@@ -323,7 +323,7 @@ function Ge(t, e, n) {
|
|
|
323
323
|
if (b.endsWith(f, "{}"))
|
|
324
324
|
f = s ? f : f.slice(0, -2), _ = JSON.stringify(_);
|
|
325
325
|
else if (b.isArray(_) && ao(_) || (b.isFileList(_) || b.endsWith(f, "[]")) && (p = b.toArray(_)))
|
|
326
|
-
return f =
|
|
326
|
+
return f = Dn(f), p.forEach(function(y, O) {
|
|
327
327
|
!(b.isUndefined(y) || y === null) && e.append(
|
|
328
328
|
// eslint-disable-next-line no-nested-ternary
|
|
329
329
|
r === !0 ? Mt([f], O, a) : r === null ? f : f + "[]",
|
|
@@ -374,11 +374,11 @@ function Ut(t) {
|
|
|
374
374
|
function _t(t, e) {
|
|
375
375
|
this._pairs = [], t && Ge(t, this, e);
|
|
376
376
|
}
|
|
377
|
-
const
|
|
378
|
-
|
|
377
|
+
const Rn = _t.prototype;
|
|
378
|
+
Rn.append = function(e, n) {
|
|
379
379
|
this._pairs.push([e, n]);
|
|
380
380
|
};
|
|
381
|
-
|
|
381
|
+
Rn.toString = function(e) {
|
|
382
382
|
const n = e ? function(s) {
|
|
383
383
|
return e.call(this, s, Ut);
|
|
384
384
|
} : Ut;
|
|
@@ -389,7 +389,7 @@ Dn.toString = function(e) {
|
|
|
389
389
|
function io(t) {
|
|
390
390
|
return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function Tn(t, e, n) {
|
|
393
393
|
if (!e)
|
|
394
394
|
return t;
|
|
395
395
|
const s = n && n.encode || io, o = n && n.serialize;
|
|
@@ -454,7 +454,7 @@ class zt {
|
|
|
454
454
|
});
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
|
-
const
|
|
457
|
+
const Fn = {
|
|
458
458
|
silentJSONParsing: !0,
|
|
459
459
|
forcedJSONParsing: !0,
|
|
460
460
|
clarifyTimeoutError: !1
|
|
@@ -466,10 +466,10 @@ const Tn = {
|
|
|
466
466
|
Blob: co
|
|
467
467
|
},
|
|
468
468
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
469
|
-
},
|
|
469
|
+
}, Ln = typeof window < "u" && typeof document < "u", fo = ((t) => Ln && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), mo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
470
470
|
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
471
471
|
__proto__: null,
|
|
472
|
-
hasBrowserEnv:
|
|
472
|
+
hasBrowserEnv: Ln,
|
|
473
473
|
hasStandardBrowserEnv: fo,
|
|
474
474
|
hasStandardBrowserWebWorkerEnv: mo
|
|
475
475
|
}, Symbol.toStringTag, { value: "Module" })), se = {
|
|
@@ -495,7 +495,7 @@ function _o(t) {
|
|
|
495
495
|
a = n[s], e[a] = t[a];
|
|
496
496
|
return e;
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function Pn(t) {
|
|
499
499
|
function e(n, s, o, a) {
|
|
500
500
|
let r = n[a++];
|
|
501
501
|
if (r === "__proto__")
|
|
@@ -522,12 +522,12 @@ function vo(t, e, n) {
|
|
|
522
522
|
return (n || JSON.stringify)(t);
|
|
523
523
|
}
|
|
524
524
|
const Fe = {
|
|
525
|
-
transitional:
|
|
525
|
+
transitional: Fn,
|
|
526
526
|
adapter: ["xhr", "http"],
|
|
527
527
|
transformRequest: [function(e, n) {
|
|
528
528
|
const s = n.getContentType() || "", o = s.indexOf("application/json") > -1, a = b.isObject(e);
|
|
529
529
|
if (a && b.isHTMLForm(e) && (e = new FormData(e)), b.isFormData(e))
|
|
530
|
-
return o ? JSON.stringify(
|
|
530
|
+
return o ? JSON.stringify(Pn(e)) : e;
|
|
531
531
|
if (b.isArrayBuffer(e) || b.isBuffer(e) || b.isStream(e) || b.isFile(e) || b.isBlob(e))
|
|
532
532
|
return e;
|
|
533
533
|
if (b.isArrayBufferView(e))
|
|
@@ -779,7 +779,7 @@ function et(t, e) {
|
|
|
779
779
|
a = l.call(n, a, o.normalize(), e ? e.status : void 0);
|
|
780
780
|
}), o.normalize(), a;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function jn(t) {
|
|
783
783
|
return !!(t && t.__CANCEL__);
|
|
784
784
|
}
|
|
785
785
|
function Le(t, e, n) {
|
|
@@ -831,7 +831,7 @@ function Ao(t) {
|
|
|
831
831
|
function Co(t, e) {
|
|
832
832
|
return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
|
|
833
833
|
}
|
|
834
|
-
function
|
|
834
|
+
function Bn(t, e) {
|
|
835
835
|
return t && !Ao(e) ? Co(t, e) : e;
|
|
836
836
|
}
|
|
837
837
|
const Do = se.hasStandardBrowserEnv ? (
|
|
@@ -926,8 +926,8 @@ const Fo = typeof XMLHttpRequest < "u", Lo = Fo && function(t) {
|
|
|
926
926
|
const f = t.auth.username || "", v = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
|
|
927
927
|
a.set("Authorization", "Basic " + btoa(f + ":" + v));
|
|
928
928
|
}
|
|
929
|
-
const E =
|
|
930
|
-
i.open(t.method.toUpperCase(),
|
|
929
|
+
const E = Bn(t.baseURL, t.url);
|
|
930
|
+
i.open(t.method.toUpperCase(), Tn(E, t.params, t.paramsSerializer), !0), i.timeout = t.timeout;
|
|
931
931
|
function k() {
|
|
932
932
|
if (!i)
|
|
933
933
|
return;
|
|
@@ -955,7 +955,7 @@ const Fo = typeof XMLHttpRequest < "u", Lo = Fo && function(t) {
|
|
|
955
955
|
s(new R("Network Error", R.ERR_NETWORK, t, i)), i = null;
|
|
956
956
|
}, i.ontimeout = function() {
|
|
957
957
|
let v = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
|
|
958
|
-
const p = t.transitional ||
|
|
958
|
+
const p = t.transitional || Fn;
|
|
959
959
|
t.timeoutErrorMessage && (v = t.timeoutErrorMessage), s(new R(
|
|
960
960
|
v,
|
|
961
961
|
p.clarifyTimeoutError ? R.ETIMEDOUT : R.ECONNABORTED,
|
|
@@ -991,7 +991,7 @@ b.forEach(lt, (t, e) => {
|
|
|
991
991
|
Object.defineProperty(t, "adapterName", { value: e });
|
|
992
992
|
}
|
|
993
993
|
});
|
|
994
|
-
const Wt = (t) => `- ${t}`, Po = (t) => b.isFunction(t) || t === null || t === !1,
|
|
994
|
+
const Wt = (t) => `- ${t}`, Po = (t) => b.isFunction(t) || t === null || t === !1, Nn = {
|
|
995
995
|
getAdapter: (t) => {
|
|
996
996
|
t = b.isArray(t) ? t : [t];
|
|
997
997
|
const { length: e } = t;
|
|
@@ -1030,14 +1030,14 @@ function Qt(t) {
|
|
|
1030
1030
|
return tt(t), t.headers = X.from(t.headers), t.data = et.call(
|
|
1031
1031
|
t,
|
|
1032
1032
|
t.transformRequest
|
|
1033
|
-
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1033
|
+
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Nn.getAdapter(t.adapter || Fe.adapter)(t).then(function(s) {
|
|
1034
1034
|
return tt(t), s.data = et.call(
|
|
1035
1035
|
t,
|
|
1036
1036
|
t.transformResponse,
|
|
1037
1037
|
s
|
|
1038
1038
|
), s.headers = X.from(s.headers), s;
|
|
1039
1039
|
}, function(s) {
|
|
1040
|
-
return
|
|
1040
|
+
return jn(s) || (tt(t), s && s.response && (s.response.data = et.call(
|
|
1041
1041
|
t,
|
|
1042
1042
|
t.transformResponse,
|
|
1043
1043
|
s.response
|
|
@@ -1111,7 +1111,7 @@ function ye(t, e) {
|
|
|
1111
1111
|
b.isUndefined(E) && i !== l || (n[c] = E);
|
|
1112
1112
|
}), n;
|
|
1113
1113
|
}
|
|
1114
|
-
const
|
|
1114
|
+
const In = "1.6.8", vt = {};
|
|
1115
1115
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
|
|
1116
1116
|
vt[t] = function(s) {
|
|
1117
1117
|
return typeof s === t || "a" + (e < 1 ? "n " : " ") + t;
|
|
@@ -1120,7 +1120,7 @@ const Nn = "1.6.8", vt = {};
|
|
|
1120
1120
|
const Gt = {};
|
|
1121
1121
|
vt.transitional = function(e, n, s) {
|
|
1122
1122
|
function o(a, r) {
|
|
1123
|
-
return "[Axios v" +
|
|
1123
|
+
return "[Axios v" + In + "] Transitional option '" + a + "'" + r + (s ? ". " + s : "");
|
|
1124
1124
|
}
|
|
1125
1125
|
return (a, r, l) => {
|
|
1126
1126
|
if (e === !1)
|
|
@@ -1247,8 +1247,8 @@ class de {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
getUri(e) {
|
|
1249
1249
|
e = ye(this.defaults, e);
|
|
1250
|
-
const n =
|
|
1251
|
-
return
|
|
1250
|
+
const n = Bn(e.baseURL, e.url);
|
|
1251
|
+
return Tn(n, e.params, e.paramsSerializer);
|
|
1252
1252
|
}
|
|
1253
1253
|
}
|
|
1254
1254
|
b.forEach(["delete", "get", "head", "options"], function(e) {
|
|
@@ -1419,18 +1419,18 @@ const ct = {
|
|
|
1419
1419
|
Object.entries(ct).forEach(([t, e]) => {
|
|
1420
1420
|
ct[e] = t;
|
|
1421
1421
|
});
|
|
1422
|
-
function
|
|
1423
|
-
const e = new de(t), n =
|
|
1422
|
+
function Vn(t) {
|
|
1423
|
+
const e = new de(t), n = bn(de.prototype.request, e);
|
|
1424
1424
|
return b.extend(n, de.prototype, e, { allOwnKeys: !0 }), b.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
1425
|
-
return
|
|
1425
|
+
return Vn(ye(t, o));
|
|
1426
1426
|
}, n;
|
|
1427
1427
|
}
|
|
1428
|
-
const z =
|
|
1428
|
+
const z = Vn(Fe);
|
|
1429
1429
|
z.Axios = de;
|
|
1430
1430
|
z.CanceledError = Le;
|
|
1431
1431
|
z.CancelToken = bt;
|
|
1432
|
-
z.isCancel =
|
|
1433
|
-
z.VERSION =
|
|
1432
|
+
z.isCancel = jn;
|
|
1433
|
+
z.VERSION = In;
|
|
1434
1434
|
z.toFormData = Ge;
|
|
1435
1435
|
z.AxiosError = R;
|
|
1436
1436
|
z.Cancel = z.CanceledError;
|
|
@@ -1441,8 +1441,8 @@ z.spread = Bo;
|
|
|
1441
1441
|
z.isAxiosError = No;
|
|
1442
1442
|
z.mergeConfig = ye;
|
|
1443
1443
|
z.AxiosHeaders = X;
|
|
1444
|
-
z.formToJSON = (t) =>
|
|
1445
|
-
z.getAdapter =
|
|
1444
|
+
z.formToJSON = (t) => Pn(b.isHTMLForm(t) ? new FormData(t) : t);
|
|
1445
|
+
z.getAdapter = Nn.getAdapter;
|
|
1446
1446
|
z.HttpStatusCode = ct;
|
|
1447
1447
|
z.default = z;
|
|
1448
1448
|
let we = null;
|
|
@@ -1498,7 +1498,7 @@ async function Ho(t, e, n = {}) {
|
|
|
1498
1498
|
});
|
|
1499
1499
|
});
|
|
1500
1500
|
}
|
|
1501
|
-
const
|
|
1501
|
+
const te = {
|
|
1502
1502
|
get: Mo,
|
|
1503
1503
|
post: Uo,
|
|
1504
1504
|
put: Ho,
|
|
@@ -1513,7 +1513,7 @@ function Wo(t) {
|
|
|
1513
1513
|
function Qo(t) {
|
|
1514
1514
|
throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
1515
1515
|
}
|
|
1516
|
-
var
|
|
1516
|
+
var Mn = { exports: {} };
|
|
1517
1517
|
(function(t, e) {
|
|
1518
1518
|
(function(n, s) {
|
|
1519
1519
|
typeof Qo == "function" ? t.exports = s() : n.pluralize = s();
|
|
@@ -1811,13 +1811,13 @@ var Vn = { exports: {} };
|
|
|
1811
1811
|
/sheep$/i
|
|
1812
1812
|
].forEach(_.addUncountableRule), _;
|
|
1813
1813
|
});
|
|
1814
|
-
})(
|
|
1815
|
-
var Jo =
|
|
1816
|
-
const
|
|
1814
|
+
})(Mn);
|
|
1815
|
+
var Jo = Mn.exports;
|
|
1816
|
+
const Un = /* @__PURE__ */ Wo(Jo), zn = (t) => t.replace(/([-_][a-z])/gi, (e) => e.toUpperCase().replace("-", "").replace("_", "")), Ve = "GET_LIST", Me = "GET_ONE", Ue = "CREATE", ze = "UPDATE", me = "REMOVE", dt = "RESTORE", Hn = "ENABLE", Go = [Ve, Me, Ue, ze, me, Hn];
|
|
1817
1817
|
class Ko {
|
|
1818
1818
|
constructor(e, n, s = Go) {
|
|
1819
|
-
this.side = e == "platform" ? "admin" : e, this.domain = n, this.resources =
|
|
1820
|
-
const a =
|
|
1819
|
+
this.side = e == "platform" ? "admin" : e, this.domain = n, this.resources = Un(n), this.operations = s, this.operations.forEach((o) => {
|
|
1820
|
+
const a = zn(o.toLowerCase());
|
|
1821
1821
|
this[a] = this[`_${a}`];
|
|
1822
1822
|
});
|
|
1823
1823
|
}
|
|
@@ -1826,61 +1826,61 @@ class Ko {
|
|
|
1826
1826
|
console.log(`${this.side}/${this.domain} 不支持 ${Ve} 操作`);
|
|
1827
1827
|
return;
|
|
1828
1828
|
}
|
|
1829
|
-
return
|
|
1829
|
+
return te.get(`${this.side}/${this.resources}`, e);
|
|
1830
1830
|
}
|
|
1831
1831
|
_getOne(e) {
|
|
1832
1832
|
if (!this.operations.includes(Me)) {
|
|
1833
1833
|
console.log(`${this.side}/${this.domain} 不支持 ${Me} 操作`);
|
|
1834
1834
|
return;
|
|
1835
1835
|
}
|
|
1836
|
-
return
|
|
1836
|
+
return te.get(`${this.side}/${this.resources}/${e.id}`);
|
|
1837
1837
|
}
|
|
1838
1838
|
_create(e) {
|
|
1839
1839
|
if (!this.operations.includes(Ue)) {
|
|
1840
1840
|
console.log(`${this.side}/${this.domain} 不支持 ${Ue} 操作`);
|
|
1841
1841
|
return;
|
|
1842
1842
|
}
|
|
1843
|
-
return
|
|
1843
|
+
return te.post(`${this.side}/${this.resources}`, e);
|
|
1844
1844
|
}
|
|
1845
1845
|
_update(e) {
|
|
1846
1846
|
if (!this.operations.includes(ze)) {
|
|
1847
1847
|
console.log(`${this.side}/${this.domain} 不支持 ${ze} 操作`);
|
|
1848
1848
|
return;
|
|
1849
1849
|
}
|
|
1850
|
-
return
|
|
1850
|
+
return te.put(`${this.side}/${this.resources}/${e.id}`, e);
|
|
1851
1851
|
}
|
|
1852
1852
|
_remove(e) {
|
|
1853
1853
|
if (!this.operations.includes(me)) {
|
|
1854
1854
|
console.log(`${this.side}/${this.domain} 不支持 ${me} 操作`);
|
|
1855
1855
|
return;
|
|
1856
1856
|
}
|
|
1857
|
-
return
|
|
1857
|
+
return te.remove(`${this.side}/${this.resources}/${e.id}`, e);
|
|
1858
1858
|
}
|
|
1859
1859
|
_restore(e) {
|
|
1860
1860
|
if (!this.operations.includes(dt)) {
|
|
1861
1861
|
console.log(`${this.side}/${this.domain} 不支持 ${dt} 操作`);
|
|
1862
1862
|
return;
|
|
1863
1863
|
}
|
|
1864
|
-
return
|
|
1864
|
+
return te.put(`${this.side}/${this.resources}/${e.id}/restore`, e);
|
|
1865
1865
|
}
|
|
1866
1866
|
_enable(e) {
|
|
1867
1867
|
if (!this.operations.includes(me)) {
|
|
1868
1868
|
console.log(`${this.side}/${this.domain} 不支持 ${me} 操作`);
|
|
1869
1869
|
return;
|
|
1870
1870
|
}
|
|
1871
|
-
return
|
|
1871
|
+
return te.put(`${this.side}/${this.resources}/${e.id}/switch`, e);
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
1874
|
class Yo {
|
|
1875
1875
|
constructor(e, n, s) {
|
|
1876
|
-
this.side = e == "platform" ? "admin" : e, this.domain = n, this.resources =
|
|
1876
|
+
this.side = e == "platform" ? "admin" : e, this.domain = n, this.resources = Un(n), this.listQuerys = s;
|
|
1877
1877
|
}
|
|
1878
1878
|
getList(e) {
|
|
1879
1879
|
let n = e;
|
|
1880
|
-
return this.listQuerys && (n = { ...this.listQuerys, ...e }),
|
|
1880
|
+
return this.listQuerys && (n = { ...this.listQuerys, ...e }), te.get(`${this.side}/${this.resources}`, n);
|
|
1881
1881
|
}
|
|
1882
1882
|
getOne(e) {
|
|
1883
|
-
return
|
|
1883
|
+
return te.get(`${this.side}/${this.resources}/${e.id}`);
|
|
1884
1884
|
}
|
|
1885
1885
|
}
|
|
1886
1886
|
const ol = {
|
|
@@ -1892,7 +1892,7 @@ const ol = {
|
|
|
1892
1892
|
UPDATE: ze,
|
|
1893
1893
|
REMOVE: me,
|
|
1894
1894
|
RESTORE: dt,
|
|
1895
|
-
ENABLE:
|
|
1895
|
+
ENABLE: Hn
|
|
1896
1896
|
}, Xo = (t, e, n) => {
|
|
1897
1897
|
const s = t[e];
|
|
1898
1898
|
return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((o, a) => {
|
|
@@ -2008,7 +2008,7 @@ const nt = {
|
|
|
2008
2008
|
component: { config: "component" }
|
|
2009
2009
|
};
|
|
2010
2010
|
async function Kt(t, e, n) {
|
|
2011
|
-
const s = await Xo(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-
|
|
2011
|
+
const s = await Xo(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-JeHx3pnY.js"), "./field/belongs-to/config.js": () => import("./config-BZUYXt6Z.js"), "./field/boolean/config.js": () => import("./config-CF-_NU64.js"), "./field/cascader/config.js": () => import("./config-DX19pwaM.js"), "./field/component/config.js": () => import("./config-B_wZjj-h.js"), "./field/date/config.js": () => import("./config-BljoYPoP.js"), "./field/datetime/config.js": () => import("./config-BGSdcdzT.js"), "./field/image/config.js": () => import("./config-Krtl9QFi.js"), "./field/images/config.js": () => import("./config-TvA1qG2B.js"), "./field/json/config.js": () => import("./config-J6Vc0kpm.js"), "./field/radio-group/config.js": () => import("./config-Bba3xS49.js"), "./field/rich-text/config.js": () => import("./config-wR0cpENE.js"), "./field/row-id/config.js": () => import("./config-CnDy4teA.js"), "./field/select/config.js": () => import("./config-CIVHkCUa.js"), "./field/string/config.js": () => import("./config-DG4klmx8.js"), "./field/switch/config.js": () => import("./config-4ds6yglo.js"), "./field/text/config.js": () => import("./config-BYWEwL00.js"), "./field/time/config.js": () => import("./config-Bp_kyviv.js"), "./field/tree-select/config.js": () => import("./config-LLq5Cp6k.js") }), `./field/${t}/config.js`, 4);
|
|
2012
2012
|
return new s.default(e, n);
|
|
2013
2013
|
}
|
|
2014
2014
|
function Yt(t, e = "unknown") {
|
|
@@ -2158,7 +2158,7 @@ class na {
|
|
|
2158
2158
|
function sa(t, e) {
|
|
2159
2159
|
return new na(t, e);
|
|
2160
2160
|
}
|
|
2161
|
-
const
|
|
2161
|
+
const B = (t, e) => {
|
|
2162
2162
|
const n = t.__vccOpts || t;
|
|
2163
2163
|
for (const [s, o] of e)
|
|
2164
2164
|
n[s] = o;
|
|
@@ -2182,14 +2182,14 @@ const j = (t, e) => {
|
|
|
2182
2182
|
name: "header",
|
|
2183
2183
|
fn: w(() => [
|
|
2184
2184
|
A("div", oa, [
|
|
2185
|
-
A("span", aa,
|
|
2185
|
+
A("span", aa, j(e.title), 1)
|
|
2186
2186
|
])
|
|
2187
2187
|
]),
|
|
2188
2188
|
key: "0"
|
|
2189
2189
|
} : void 0
|
|
2190
2190
|
]), 1024));
|
|
2191
2191
|
}
|
|
2192
|
-
}, ia = /* @__PURE__ */
|
|
2192
|
+
}, ia = /* @__PURE__ */ B(ra, [["__scopeId", "data-v-c5513c07"]]), la = { key: 0 }, ua = { key: 1 }, ca = { key: 0 }, da = { key: 1 }, pa = {
|
|
2193
2193
|
__name: "Statistic",
|
|
2194
2194
|
props: {
|
|
2195
2195
|
title: {
|
|
@@ -2222,7 +2222,7 @@ const j = (t, e) => {
|
|
|
2222
2222
|
class: "item-box-data mono-data",
|
|
2223
2223
|
style: Ke(`text-align: ${e.align};`)
|
|
2224
2224
|
}, [
|
|
2225
|
-
e.value != null ? (u(), S("span", la,
|
|
2225
|
+
e.value != null ? (u(), S("span", la, j(e.value), 1)) : (u(), S("span", ua, "..."))
|
|
2226
2226
|
], 4),
|
|
2227
2227
|
A("div", {
|
|
2228
2228
|
class: "item-box-tip",
|
|
@@ -2233,23 +2233,23 @@ const j = (t, e) => {
|
|
|
2233
2233
|
to: e.link
|
|
2234
2234
|
}, {
|
|
2235
2235
|
default: w(() => [
|
|
2236
|
-
x(m(
|
|
2236
|
+
x(m(as), { type: "primary" }, {
|
|
2237
2237
|
default: w(() => [
|
|
2238
|
-
N(
|
|
2238
|
+
N(j(e.title), 1)
|
|
2239
2239
|
]),
|
|
2240
2240
|
_: 1
|
|
2241
2241
|
})
|
|
2242
2242
|
]),
|
|
2243
2243
|
_: 1
|
|
2244
2244
|
}, 8, ["to"])
|
|
2245
|
-
])) : (u(), S("span", da,
|
|
2245
|
+
])) : (u(), S("span", da, j(e.title), 1))
|
|
2246
2246
|
], 4)
|
|
2247
2247
|
], 4)), [
|
|
2248
2248
|
[m(ve), e.value == null]
|
|
2249
2249
|
]);
|
|
2250
2250
|
};
|
|
2251
2251
|
}
|
|
2252
|
-
}, fa = /* @__PURE__ */
|
|
2252
|
+
}, fa = /* @__PURE__ */ B(pa, [["__scopeId", "data-v-73228f1a"]]), ma = {
|
|
2253
2253
|
__name: "StatisticCard",
|
|
2254
2254
|
props: {
|
|
2255
2255
|
title: {
|
|
@@ -2287,13 +2287,13 @@ const j = (t, e) => {
|
|
|
2287
2287
|
_: 1
|
|
2288
2288
|
}));
|
|
2289
2289
|
}
|
|
2290
|
-
}, il = /* @__PURE__ */
|
|
2290
|
+
}, il = /* @__PURE__ */ B(ma, [["__scopeId", "data-v-f338c407"]]), ha = {}, ga = { style: { padding: "20px 0" } };
|
|
2291
2291
|
function ya(t, e) {
|
|
2292
2292
|
return u(), S("div", ga, [
|
|
2293
2293
|
J(t.$slots, "default")
|
|
2294
2294
|
]);
|
|
2295
2295
|
}
|
|
2296
|
-
const ll = /* @__PURE__ */
|
|
2296
|
+
const ll = /* @__PURE__ */ B(ha, [["render", ya]]), _a = {
|
|
2297
2297
|
__name: "DashboardRow",
|
|
2298
2298
|
setup(t) {
|
|
2299
2299
|
return (e, n) => (u(), $(m(xe), {
|
|
@@ -2306,11 +2306,11 @@ const ll = /* @__PURE__ */ j(ha, [["render", ya]]), _a = {
|
|
|
2306
2306
|
_: 3
|
|
2307
2307
|
}));
|
|
2308
2308
|
}
|
|
2309
|
-
}, ul = /* @__PURE__ */
|
|
2309
|
+
}, ul = /* @__PURE__ */ B(_a, [["__scopeId", "data-v-5b091760"]]);
|
|
2310
2310
|
function W(t) {
|
|
2311
2311
|
const e = { ...t.query, ...t.params };
|
|
2312
2312
|
if (t.params.domain && t.params.id) {
|
|
2313
|
-
const n =
|
|
2313
|
+
const n = zn(`${e.domain}-id`);
|
|
2314
2314
|
e[n] = e.id;
|
|
2315
2315
|
}
|
|
2316
2316
|
return delete e.domain, delete e.id, delete e.page, delete e.pageSize, e;
|
|
@@ -2417,7 +2417,7 @@ const ba = {
|
|
|
2417
2417
|
r.config.removeConfirm(d, v);
|
|
2418
2418
|
return;
|
|
2419
2419
|
}
|
|
2420
|
-
|
|
2420
|
+
is.confirm("确定要删除该条数据吗?", "提示", {
|
|
2421
2421
|
confirmButtonText: "确定",
|
|
2422
2422
|
cancelButtonText: "取消",
|
|
2423
2423
|
type: "warning",
|
|
@@ -2489,7 +2489,7 @@ const ba = {
|
|
|
2489
2489
|
"form-data": d,
|
|
2490
2490
|
"domain-config": r.config,
|
|
2491
2491
|
row: d
|
|
2492
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field", "disabled", "form-data", "domain-config", "row"])) : (u(), $(m(
|
|
2492
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field", "disabled", "form-data", "domain-config", "row"])) : (u(), $(m(rs), {
|
|
2493
2493
|
key: 1,
|
|
2494
2494
|
title: `未找到 ${C.code}(${C.type}) 的编辑器`,
|
|
2495
2495
|
type: "error",
|
|
@@ -2504,7 +2504,7 @@ const ba = {
|
|
|
2504
2504
|
_: 1
|
|
2505
2505
|
}, 8, ["layout", "fields"]),
|
|
2506
2506
|
A("div", Ea, [
|
|
2507
|
-
d.id && !d.deletedAt && r.removable ? (u(), $(m(
|
|
2507
|
+
d.id && !d.deletedAt && r.removable ? (u(), $(m(ee), {
|
|
2508
2508
|
key: 0,
|
|
2509
2509
|
size: "default",
|
|
2510
2510
|
type: "danger",
|
|
@@ -2515,7 +2515,7 @@ const ba = {
|
|
|
2515
2515
|
]),
|
|
2516
2516
|
_: 1
|
|
2517
2517
|
})) : (u(), S("div", $a)),
|
|
2518
|
-
i.value ? (u(), $(m(
|
|
2518
|
+
i.value ? (u(), $(m(ee), {
|
|
2519
2519
|
key: 2,
|
|
2520
2520
|
size: "default",
|
|
2521
2521
|
type: "primary",
|
|
@@ -2532,9 +2532,9 @@ const ba = {
|
|
|
2532
2532
|
_: 1
|
|
2533
2533
|
}, 8, ["model", "rules"]));
|
|
2534
2534
|
}
|
|
2535
|
-
}, Oa = /* @__PURE__ */
|
|
2535
|
+
}, Oa = /* @__PURE__ */ B(Sa, [["__scopeId", "data-v-e33a452e"]]);
|
|
2536
2536
|
function xa() {
|
|
2537
|
-
return He().idempotentUrl ?
|
|
2537
|
+
return He().idempotentUrl ? te.get(He().idempotentUrl).then((t) => t.data) : "";
|
|
2538
2538
|
}
|
|
2539
2539
|
const Se = {
|
|
2540
2540
|
getValue: xa
|
|
@@ -2584,7 +2584,7 @@ const Se = {
|
|
|
2584
2584
|
g.value = await Se.getValue();
|
|
2585
2585
|
},
|
|
2586
2586
|
{ immediate: !0 }
|
|
2587
|
-
), (_, f) => (u(), $(m(
|
|
2587
|
+
), (_, f) => (u(), $(m(ls), {
|
|
2588
2588
|
modelValue: c.value,
|
|
2589
2589
|
"onUpdate:modelValue": f[0] || (f[0] = (v) => c.value = v),
|
|
2590
2590
|
width: d.value,
|
|
@@ -2669,12 +2669,12 @@ const Se = {
|
|
|
2669
2669
|
console.log("请求失败"), i();
|
|
2670
2670
|
});
|
|
2671
2671
|
}
|
|
2672
|
-
return (c, i) => (u(), $(m(
|
|
2672
|
+
return (c, i) => (u(), $(m(ee), {
|
|
2673
2673
|
type: e.type,
|
|
2674
2674
|
onClick: d
|
|
2675
2675
|
}, {
|
|
2676
2676
|
default: w(() => [
|
|
2677
|
-
N(
|
|
2677
|
+
N(j(e.text) + " ", 1),
|
|
2678
2678
|
s.value ? (u(), $($t, {
|
|
2679
2679
|
key: 0,
|
|
2680
2680
|
modelValue: s.value,
|
|
@@ -2698,9 +2698,9 @@ const Se = {
|
|
|
2698
2698
|
},
|
|
2699
2699
|
setup(t) {
|
|
2700
2700
|
const e = t;
|
|
2701
|
-
return (n, s) => (u(), S("span", ka,
|
|
2701
|
+
return (n, s) => (u(), S("span", ka, j(e.text), 1));
|
|
2702
2702
|
}
|
|
2703
|
-
}, dl = /* @__PURE__ */
|
|
2703
|
+
}, dl = /* @__PURE__ */ B(Aa, [["__scopeId", "data-v-c97e855f"]]), pl = {
|
|
2704
2704
|
__name: "FieldEditor",
|
|
2705
2705
|
props: {
|
|
2706
2706
|
modelValue: {
|
|
@@ -2714,13 +2714,13 @@ const Se = {
|
|
|
2714
2714
|
},
|
|
2715
2715
|
emits: ["update:modelValue"],
|
|
2716
2716
|
setup(t, { emit: e }) {
|
|
2717
|
-
const n =
|
|
2717
|
+
const n = Zn(() => import("./ImagesUploader-DdKVZz-O.js")), s = He().fileUploadUrl, o = e, a = t, r = Oe({ value: a.modelValue }), l = a.field.converter;
|
|
2718
2718
|
function d(c) {
|
|
2719
2719
|
const i = r.value.findIndex((E) => E.id === c.id);
|
|
2720
2720
|
i >= 0 && (r.value.splice(i, 1), o("update:modelValue", r.value));
|
|
2721
2721
|
}
|
|
2722
2722
|
function g(c) {
|
|
2723
|
-
Be.service({ text: "上传中,请稍后", background: "rgba(0,0,0,0.3)" }),
|
|
2723
|
+
Be.service({ text: "上传中,请稍后", background: "rgba(0,0,0,0.3)" }), te.post(s, c).then((i) => {
|
|
2724
2724
|
Be.service().close(), ke({
|
|
2725
2725
|
message: "上传成功",
|
|
2726
2726
|
type: "success"
|
|
@@ -2866,7 +2866,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
|
|
|
2866
2866
|
class: "sorters-item",
|
|
2867
2867
|
onClick: (E) => l(i, "")
|
|
2868
2868
|
}, [
|
|
2869
|
-
A("div", La,
|
|
2869
|
+
A("div", La, j(c.name), 1),
|
|
2870
2870
|
A("div", Pa, [
|
|
2871
2871
|
A("i", {
|
|
2872
2872
|
class: he(["sort-caret ascending", c.order === "ASC" ? "ascending-active" : ""]),
|
|
@@ -2880,7 +2880,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
|
|
|
2880
2880
|
], 8, Fa))), 256))
|
|
2881
2881
|
]));
|
|
2882
2882
|
}
|
|
2883
|
-
}, Ia = /* @__PURE__ */
|
|
2883
|
+
}, Ia = /* @__PURE__ */ B(Na, [["__scopeId", "data-v-fa20b02a"]]), Va = { class: "ranges-box" }, Ma = { class: "range-item" }, Ua = { class: "range-label" }, za = { class: "range-input-box" }, Ha = {
|
|
2884
2884
|
__name: "FiltersRange",
|
|
2885
2885
|
props: {
|
|
2886
2886
|
ranges: {
|
|
@@ -2922,7 +2922,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
|
|
|
2922
2922
|
}
|
|
2923
2923
|
return a(), (l, d) => (u(), S("div", Va, [
|
|
2924
2924
|
(u(!0), S(L, null, H(o, (g) => (u(), S("div", Ma, [
|
|
2925
|
-
A("div", Ua,
|
|
2925
|
+
A("div", Ua, j(g.name), 1),
|
|
2926
2926
|
A("div", za, [
|
|
2927
2927
|
x(m(Lt), {
|
|
2928
2928
|
modelValue: g.min,
|
|
@@ -2947,7 +2947,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
|
|
|
2947
2947
|
]))), 256))
|
|
2948
2948
|
]));
|
|
2949
2949
|
}
|
|
2950
|
-
}, qa = /* @__PURE__ */
|
|
2950
|
+
}, qa = /* @__PURE__ */ B(Ha, [["__scopeId", "data-v-30f46526"]]), Wa = { key: 0 }, Qa = {
|
|
2951
2951
|
__name: "FiltersEditor",
|
|
2952
2952
|
props: {
|
|
2953
2953
|
settings: {
|
|
@@ -3124,7 +3124,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
|
|
|
3124
3124
|
}, null, 8, ["label", "value", "title"]))), 128))
|
|
3125
3125
|
]),
|
|
3126
3126
|
_: 2
|
|
3127
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "class", "multiple-limit", "remote-method"])) : y.type === "selectV2" ? (u(), $(m(
|
|
3127
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "class", "multiple-limit", "remote-method"])) : y.type === "selectV2" ? (u(), $(m(us), {
|
|
3128
3128
|
key: 2,
|
|
3129
3129
|
modelValue: a[y.code],
|
|
3130
3130
|
"onUpdate:modelValue": (O) => a[y.code] = O,
|
|
@@ -3164,7 +3164,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
|
|
|
3164
3164
|
"start-placeholder": y.name,
|
|
3165
3165
|
"end-placeholder": y.name,
|
|
3166
3166
|
placeholder: y.name
|
|
3167
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "format", "value-format", "start-placeholder", "end-placeholder", "placeholder"])) : (u(), $(m(
|
|
3167
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "format", "value-format", "start-placeholder", "end-placeholder", "placeholder"])) : (u(), $(m(cs), {
|
|
3168
3168
|
key: 7,
|
|
3169
3169
|
modelValue: a[y.code],
|
|
3170
3170
|
"onUpdate:modelValue": (O) => a[y.code] = O,
|
|
@@ -3178,7 +3178,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
|
|
|
3178
3178
|
}, 1024))), 256)),
|
|
3179
3179
|
o.value.length > 0 ? (u(), $(m(st), { key: 0 }, {
|
|
3180
3180
|
default: w(() => [
|
|
3181
|
-
x(m(
|
|
3181
|
+
x(m(ee), {
|
|
3182
3182
|
type: "primary",
|
|
3183
3183
|
onClick: f
|
|
3184
3184
|
}, {
|
|
@@ -3187,7 +3187,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
|
|
|
3187
3187
|
]),
|
|
3188
3188
|
_: 1
|
|
3189
3189
|
}),
|
|
3190
|
-
x(m(
|
|
3190
|
+
x(m(ee), { onClick: v }, {
|
|
3191
3191
|
default: w(() => [
|
|
3192
3192
|
N(" 重置 ")
|
|
3193
3193
|
]),
|
|
@@ -3201,7 +3201,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
|
|
|
3201
3201
|
}, 8, ["model"])
|
|
3202
3202
|
])) : F("", !0);
|
|
3203
3203
|
}
|
|
3204
|
-
}, Ja = /* @__PURE__ */
|
|
3204
|
+
}, Ja = /* @__PURE__ */ B(Qa, [["__scopeId", "data-v-951320d1"]]);
|
|
3205
3205
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
3206
3206
|
var Ga = /* @__PURE__ */ q({
|
|
3207
3207
|
name: "ArrowDown",
|
|
@@ -3491,7 +3491,7 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
|
|
|
3491
3491
|
}
|
|
3492
3492
|
return dn(c), (E, k) => (u(), S(L, null, [
|
|
3493
3493
|
A("div", br, [
|
|
3494
|
-
A("div", wr,
|
|
3494
|
+
A("div", wr, j(l.value ? `已删除的${m(n)}` : m(n)), 1),
|
|
3495
3495
|
A("div", Er, [
|
|
3496
3496
|
m(r).operations ? (u(), $(m(pe), {
|
|
3497
3497
|
key: 0,
|
|
@@ -3532,7 +3532,7 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
|
|
|
3532
3532
|
})
|
|
3533
3533
|
]),
|
|
3534
3534
|
default: w(() => [
|
|
3535
|
-
x(m(
|
|
3535
|
+
x(m(ee), null, {
|
|
3536
3536
|
default: w(() => [
|
|
3537
3537
|
x(m(G), null, {
|
|
3538
3538
|
default: w(() => [
|
|
@@ -3564,7 +3564,7 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
|
|
|
3564
3564
|
onClick: g
|
|
3565
3565
|
}, {
|
|
3566
3566
|
default: w(() => [
|
|
3567
|
-
A("div", null,
|
|
3567
|
+
A("div", null, j(l.value ? "未删除" : "已删除"), 1)
|
|
3568
3568
|
]),
|
|
3569
3569
|
_: 1
|
|
3570
3570
|
})
|
|
@@ -3573,7 +3573,7 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
|
|
|
3573
3573
|
})
|
|
3574
3574
|
]),
|
|
3575
3575
|
default: w(() => [
|
|
3576
|
-
x(m(
|
|
3576
|
+
x(m(ee), null, {
|
|
3577
3577
|
default: w(() => [
|
|
3578
3578
|
x(m(G), null, {
|
|
3579
3579
|
default: w(() => [
|
|
@@ -3594,7 +3594,7 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
|
|
|
3594
3594
|
}, null, 8, ["settings"])
|
|
3595
3595
|
], 64));
|
|
3596
3596
|
}
|
|
3597
|
-
}, Sr = /* @__PURE__ */
|
|
3597
|
+
}, Sr = /* @__PURE__ */ B($r, [["__scopeId", "data-v-898f42af"]]), Or = { class: "kst-field-row-id" }, xr = { key: 0 }, kr = {
|
|
3598
3598
|
key: 1,
|
|
3599
3599
|
class: "mono-data"
|
|
3600
3600
|
}, Ar = { key: 1 }, Cr = {
|
|
@@ -3630,25 +3630,25 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
|
|
|
3630
3630
|
default: w(() => [
|
|
3631
3631
|
m(e).name ? (u(), S(L, { key: 0 }, [
|
|
3632
3632
|
J(d.$slots, "name", {}, void 0, !0),
|
|
3633
|
-
N("(#" +
|
|
3633
|
+
N("(#" + j(a.value) + ") ", 1)
|
|
3634
3634
|
], 64)) : (u(), S(L, { key: 1 }, [
|
|
3635
|
-
N(" #" +
|
|
3635
|
+
N(" #" + j(a.value), 1)
|
|
3636
3636
|
], 64))
|
|
3637
3637
|
]),
|
|
3638
3638
|
_: 3
|
|
3639
3639
|
}, 8, ["to"])) : (u(), S("span", kr, [
|
|
3640
3640
|
m(e).name ? (u(), S(L, { key: 0 }, [
|
|
3641
3641
|
J(d.$slots, "name", {}, void 0, !0),
|
|
3642
|
-
N("(" +
|
|
3642
|
+
N("(" + j(a.value) + ") ", 1)
|
|
3643
3643
|
], 64)) : (u(), S(L, { key: 1 }, [
|
|
3644
|
-
N(
|
|
3644
|
+
N(j(a.value), 1)
|
|
3645
3645
|
], 64))
|
|
3646
3646
|
]))
|
|
3647
3647
|
])) : (u(), S("span", Ar, " NO ID "))
|
|
3648
3648
|
]);
|
|
3649
3649
|
};
|
|
3650
3650
|
}
|
|
3651
|
-
}, Dr = /* @__PURE__ */
|
|
3651
|
+
}, Dr = /* @__PURE__ */ B(Cr, [["__scopeId", "data-v-00021e61"]]);
|
|
3652
3652
|
function Rr(t) {
|
|
3653
3653
|
ke(t);
|
|
3654
3654
|
}
|
|
@@ -3731,7 +3731,7 @@ const Tr = {
|
|
|
3731
3731
|
v();
|
|
3732
3732
|
});
|
|
3733
3733
|
}
|
|
3734
|
-
return (f, v) => g.value ? (u(), $(m(
|
|
3734
|
+
return (f, v) => g.value ? (u(), $(m(ee), {
|
|
3735
3735
|
key: 0,
|
|
3736
3736
|
type: "primary",
|
|
3737
3737
|
onClick: i
|
|
@@ -3801,7 +3801,7 @@ const Tr = {
|
|
|
3801
3801
|
return P(r, (p) => {
|
|
3802
3802
|
l.value = p, f();
|
|
3803
3803
|
}), f(), (p, h) => (u(), S("div", Lr, [
|
|
3804
|
-
t.data.length === 0 ? (u(), $(m(
|
|
3804
|
+
t.data.length === 0 ? (u(), $(m(ds), {
|
|
3805
3805
|
key: 0,
|
|
3806
3806
|
description: "暂无数据"
|
|
3807
3807
|
})) : (u(), $(m(xe), {
|
|
@@ -3847,7 +3847,7 @@ const Tr = {
|
|
|
3847
3847
|
y[o.settings.nameField] ? {
|
|
3848
3848
|
name: "name",
|
|
3849
3849
|
fn: w(() => [
|
|
3850
|
-
N(
|
|
3850
|
+
N(j(v(y)), 1)
|
|
3851
3851
|
]),
|
|
3852
3852
|
key: "0"
|
|
3853
3853
|
} : void 0
|
|
@@ -3862,7 +3862,7 @@ const Tr = {
|
|
|
3862
3862
|
key: O.code,
|
|
3863
3863
|
class: "field mono-data"
|
|
3864
3864
|
}, [
|
|
3865
|
-
A("div", Ir,
|
|
3865
|
+
A("div", Ir, j(O.label) + " ", 1),
|
|
3866
3866
|
A("div", Vr, [
|
|
3867
3867
|
(u(), $(K(O.display), {
|
|
3868
3868
|
field: O,
|
|
@@ -3907,7 +3907,7 @@ const Tr = {
|
|
|
3907
3907
|
}))
|
|
3908
3908
|
]));
|
|
3909
3909
|
}
|
|
3910
|
-
}, zr = /* @__PURE__ */
|
|
3910
|
+
}, zr = /* @__PURE__ */ B(Ur, [["__scopeId", "data-v-0941be48"]]);
|
|
3911
3911
|
function Hr(t, e) {
|
|
3912
3912
|
const n = t.fields.map((o) => o.code), s = Object.keys(e);
|
|
3913
3913
|
n.forEach((o) => {
|
|
@@ -3980,7 +3980,7 @@ const qr = {
|
|
|
3980
3980
|
}
|
|
3981
3981
|
), P(d, (h) => {
|
|
3982
3982
|
g.value = h, v();
|
|
3983
|
-
}), (h, y) => (u(), $(m(
|
|
3983
|
+
}), (h, y) => (u(), $(m(ps), {
|
|
3984
3984
|
ref: "dataTable",
|
|
3985
3985
|
class: "table mono-data",
|
|
3986
3986
|
data: r.data,
|
|
@@ -4067,7 +4067,7 @@ const qr = {
|
|
|
4067
4067
|
_: 3
|
|
4068
4068
|
}, 8, ["data"]));
|
|
4069
4069
|
}
|
|
4070
|
-
}, tn = /* @__PURE__ */
|
|
4070
|
+
}, tn = /* @__PURE__ */ B(qr, [["__scopeId", "data-v-31b40ae5"]]), Wr = {
|
|
4071
4071
|
__name: "DataTable",
|
|
4072
4072
|
props: {
|
|
4073
4073
|
data: {
|
|
@@ -4138,7 +4138,7 @@ const qr = {
|
|
|
4138
4138
|
E();
|
|
4139
4139
|
});
|
|
4140
4140
|
}
|
|
4141
|
-
return (i, E) => l.value ? (u(), $(m(
|
|
4141
|
+
return (i, E) => l.value ? (u(), $(m(ee), {
|
|
4142
4142
|
key: 0,
|
|
4143
4143
|
type: "success",
|
|
4144
4144
|
onClick: g
|
|
@@ -4158,7 +4158,7 @@ const qr = {
|
|
|
4158
4158
|
_: 1
|
|
4159
4159
|
})) : F("", !0);
|
|
4160
4160
|
}
|
|
4161
|
-
},
|
|
4161
|
+
}, qn = {
|
|
4162
4162
|
__name: "RowActions",
|
|
4163
4163
|
props: {
|
|
4164
4164
|
row: {
|
|
@@ -4207,13 +4207,13 @@ const qr = {
|
|
|
4207
4207
|
c.component ? (u(), $(K(c.component), {
|
|
4208
4208
|
key: 0,
|
|
4209
4209
|
row: t.row
|
|
4210
|
-
}, null, 8, ["row"])) : (u(), $(m(
|
|
4210
|
+
}, null, 8, ["row"])) : (u(), $(m(ee), {
|
|
4211
4211
|
key: 1,
|
|
4212
4212
|
type: c.type ? c.type : "primary",
|
|
4213
4213
|
onClick: (i) => r(c, s.row)
|
|
4214
4214
|
}, {
|
|
4215
4215
|
default: w(() => [
|
|
4216
|
-
N(
|
|
4216
|
+
N(j(c.name), 1)
|
|
4217
4217
|
]),
|
|
4218
4218
|
_: 2
|
|
4219
4219
|
}, 1032, ["type", "onClick"]))
|
|
@@ -4280,15 +4280,35 @@ const qr = {
|
|
|
4280
4280
|
query: m(s),
|
|
4281
4281
|
"table-data-select": t.tableDataSelect,
|
|
4282
4282
|
"filter-form": t.filterForm
|
|
4283
|
-
}, null, 8, ["item", "settings", "query", "table-data-select", "filter-form"])) : (u(), $(m(
|
|
4283
|
+
}, null, 8, ["item", "settings", "query", "table-data-select", "filter-form"])) : E.tooltip && E.tooltip.content ? (u(), $(m(yn), {
|
|
4284
4284
|
key: 1,
|
|
4285
|
+
effect: E.tooltip.effect || "dark",
|
|
4286
|
+
content: E.tooltip.content || "default tip",
|
|
4287
|
+
placement: E.tooltip.placement || "top-start"
|
|
4288
|
+
}, {
|
|
4289
|
+
default: w(() => [
|
|
4290
|
+
x(m(ee), {
|
|
4291
|
+
type: E.type,
|
|
4292
|
+
loading: l.value,
|
|
4293
|
+
disabled: !E.enable && !r.value,
|
|
4294
|
+
onClick: (k) => d(E)
|
|
4295
|
+
}, {
|
|
4296
|
+
default: w(() => [
|
|
4297
|
+
N(j(E.name), 1)
|
|
4298
|
+
]),
|
|
4299
|
+
_: 2
|
|
4300
|
+
}, 1032, ["type", "loading", "disabled", "onClick"])
|
|
4301
|
+
]),
|
|
4302
|
+
_: 2
|
|
4303
|
+
}, 1032, ["effect", "content", "placement"])) : (u(), $(m(ee), {
|
|
4304
|
+
key: 2,
|
|
4285
4305
|
type: E.type,
|
|
4286
4306
|
loading: l.value,
|
|
4287
4307
|
disabled: !E.enable && !r.value,
|
|
4288
4308
|
onClick: (k) => d(E)
|
|
4289
4309
|
}, {
|
|
4290
4310
|
default: w(() => [
|
|
4291
|
-
N(
|
|
4311
|
+
N(j(E.name), 1)
|
|
4292
4312
|
]),
|
|
4293
4313
|
_: 2
|
|
4294
4314
|
}, 1032, ["type", "loading", "disabled", "onClick"]))
|
|
@@ -4349,7 +4369,7 @@ const qr = {
|
|
|
4349
4369
|
});
|
|
4350
4370
|
}
|
|
4351
4371
|
return (E, k) => (u(), S("div", Gr, [
|
|
4352
|
-
x(m(
|
|
4372
|
+
x(m(fs), {
|
|
4353
4373
|
background: "",
|
|
4354
4374
|
"page-size": l.value,
|
|
4355
4375
|
"page-sizes": g.value,
|
|
@@ -4361,10 +4381,10 @@ const qr = {
|
|
|
4361
4381
|
}, null, 8, ["page-size", "page-sizes", "total", "current-page"])
|
|
4362
4382
|
]));
|
|
4363
4383
|
}
|
|
4364
|
-
}, Yr = /* @__PURE__ */
|
|
4384
|
+
}, Yr = /* @__PURE__ */ B(Kr, [["__scopeId", "data-v-3c65f1a1"]]);
|
|
4365
4385
|
var nn;
|
|
4366
|
-
const
|
|
4367
|
-
|
|
4386
|
+
const Wn = typeof window < "u";
|
|
4387
|
+
Wn && ((nn = window == null ? void 0 : window.navigator) != null && nn.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
4368
4388
|
function Xr(t) {
|
|
4369
4389
|
return typeof t == "function" ? t() : m(t);
|
|
4370
4390
|
}
|
|
@@ -4372,17 +4392,17 @@ function Zr(t) {
|
|
|
4372
4392
|
return t;
|
|
4373
4393
|
}
|
|
4374
4394
|
function ei(t) {
|
|
4375
|
-
return
|
|
4395
|
+
return es() ? (ts(t), !0) : !1;
|
|
4376
4396
|
}
|
|
4377
4397
|
function ti(t, e = !0) {
|
|
4378
|
-
|
|
4398
|
+
ns() ? dn(t) : e ? t() : ss(t);
|
|
4379
4399
|
}
|
|
4380
4400
|
function ni(t) {
|
|
4381
4401
|
var e;
|
|
4382
4402
|
const n = Xr(t);
|
|
4383
4403
|
return (e = n == null ? void 0 : n.$el) != null ? e : n;
|
|
4384
4404
|
}
|
|
4385
|
-
const si =
|
|
4405
|
+
const si = Wn ? window : void 0;
|
|
4386
4406
|
function oi(t, e = !1) {
|
|
4387
4407
|
const n = D(), s = () => n.value = !!t();
|
|
4388
4408
|
return s(), ti(s, e), n;
|
|
@@ -4469,8 +4489,8 @@ const fi = {
|
|
|
4469
4489
|
},
|
|
4470
4490
|
setup(t) {
|
|
4471
4491
|
var Ct, Dt;
|
|
4472
|
-
|
|
4473
|
-
"1dc5ac10":
|
|
4492
|
+
os((T) => ({
|
|
4493
|
+
"1dc5ac10": Xn.value
|
|
4474
4494
|
}));
|
|
4475
4495
|
const e = V(), n = W(e), s = t, o = Pe(
|
|
4476
4496
|
s.settings.code,
|
|
@@ -4525,7 +4545,7 @@ const fi = {
|
|
|
4525
4545
|
M();
|
|
4526
4546
|
});
|
|
4527
4547
|
}
|
|
4528
|
-
function
|
|
4548
|
+
function Kn(T) {
|
|
4529
4549
|
if (T.enable) {
|
|
4530
4550
|
const U = T.label === "上架" ? "下架" : "停用";
|
|
4531
4551
|
ElMessageBox.confirm(`确定要${U}该条数据吗?`, "提示", {
|
|
@@ -4539,7 +4559,7 @@ const fi = {
|
|
|
4539
4559
|
} else
|
|
4540
4560
|
xt(T);
|
|
4541
4561
|
}
|
|
4542
|
-
function
|
|
4562
|
+
function Yn(T) {
|
|
4543
4563
|
_.value = T;
|
|
4544
4564
|
}
|
|
4545
4565
|
const kt = D(0), At = D(0);
|
|
@@ -4550,7 +4570,7 @@ const fi = {
|
|
|
4550
4570
|
var U;
|
|
4551
4571
|
At.value = ((U = T[0]) == null ? void 0 : U.contentRect.height) || 0;
|
|
4552
4572
|
});
|
|
4553
|
-
const
|
|
4573
|
+
const Xn = I(() => C && k.value > 0 ? `${C}px` : `calc(100% - ${kt.value + At.value}px)`);
|
|
4554
4574
|
return ne(), (T, U) => (u(), S("div", {
|
|
4555
4575
|
key: s.settings.code,
|
|
4556
4576
|
style: { height: "100%" }
|
|
@@ -4585,13 +4605,13 @@ const fi = {
|
|
|
4585
4605
|
settings: s.settings,
|
|
4586
4606
|
"actions-width": s.settings.actionsWidth,
|
|
4587
4607
|
onSortColumn: Q,
|
|
4588
|
-
onEnableItem:
|
|
4589
|
-
onSelectChange:
|
|
4608
|
+
onEnableItem: Kn,
|
|
4609
|
+
onSelectChange: Yn
|
|
4590
4610
|
}, De({ _: 2 }, [
|
|
4591
4611
|
s.settings.rowActions(m(n)).length > 0 ? {
|
|
4592
4612
|
name: "actions",
|
|
4593
4613
|
fn: w(({ row: re }) => [
|
|
4594
|
-
x(
|
|
4614
|
+
x(qn, {
|
|
4595
4615
|
mode: "list",
|
|
4596
4616
|
row: re,
|
|
4597
4617
|
settings: s.settings,
|
|
@@ -4616,7 +4636,7 @@ const fi = {
|
|
|
4616
4636
|
], 512)
|
|
4617
4637
|
]));
|
|
4618
4638
|
}
|
|
4619
|
-
},
|
|
4639
|
+
}, Qn = /* @__PURE__ */ B(fi, [["__scopeId", "data-v-8762261d"]]);
|
|
4620
4640
|
/*! Element Plus v2.7.2 */
|
|
4621
4641
|
var mi = {
|
|
4622
4642
|
name: "zh-cn",
|
|
@@ -4782,7 +4802,7 @@ const hi = {
|
|
|
4782
4802
|
setup(t) {
|
|
4783
4803
|
const e = t, n = I(() => e.content ? e.content.toString() : "");
|
|
4784
4804
|
return (s, o) => (u(), S("div", null, [
|
|
4785
|
-
n.value.length > e.tipShowLength ? (u(), $(m(
|
|
4805
|
+
n.value.length > e.tipShowLength ? (u(), $(m(yn), {
|
|
4786
4806
|
key: 0,
|
|
4787
4807
|
content: n.value,
|
|
4788
4808
|
effect: "light"
|
|
@@ -4794,7 +4814,7 @@ const hi = {
|
|
|
4794
4814
|
"line-clamp": e.lineClamp
|
|
4795
4815
|
}, {
|
|
4796
4816
|
default: w(() => [
|
|
4797
|
-
N(
|
|
4817
|
+
N(j(n.value), 1)
|
|
4798
4818
|
]),
|
|
4799
4819
|
_: 1
|
|
4800
4820
|
}, 8, ["class", "type", "line-clamp"])
|
|
@@ -4806,7 +4826,7 @@ const hi = {
|
|
|
4806
4826
|
class: he(e.className)
|
|
4807
4827
|
}, {
|
|
4808
4828
|
default: w(() => [
|
|
4809
|
-
N(
|
|
4829
|
+
N(j(n.value), 1)
|
|
4810
4830
|
]),
|
|
4811
4831
|
_: 1
|
|
4812
4832
|
}, 8, ["type", "class"]))
|
|
@@ -4893,11 +4913,11 @@ const hi = {
|
|
|
4893
4913
|
src: a.config.logo,
|
|
4894
4914
|
fit: "scale-down"
|
|
4895
4915
|
}, null, 8, ["src"]),
|
|
4896
|
-
A("div", _i,
|
|
4916
|
+
A("div", _i, j(a.config.name), 1)
|
|
4897
4917
|
])
|
|
4898
4918
|
]),
|
|
4899
4919
|
A("div", vi, [
|
|
4900
|
-
x(m(
|
|
4920
|
+
x(m(_n), {
|
|
4901
4921
|
modelValue: o.value,
|
|
4902
4922
|
"onUpdate:modelValue": f[0] || (f[0] = (v) => o.value = v),
|
|
4903
4923
|
type: "card",
|
|
@@ -4906,7 +4926,7 @@ const hi = {
|
|
|
4906
4926
|
onTabRemove: c
|
|
4907
4927
|
}, {
|
|
4908
4928
|
default: w(() => [
|
|
4909
|
-
(u(!0), S(L, null, H(m(s).history, (v, p) => (u(), $(m(
|
|
4929
|
+
(u(!0), S(L, null, H(m(s).history, (v, p) => (u(), $(m(vn), {
|
|
4910
4930
|
closable: v.title != "首页",
|
|
4911
4931
|
label: v.title,
|
|
4912
4932
|
name: v.code
|
|
@@ -5028,7 +5048,7 @@ const hi = {
|
|
|
5028
5048
|
])
|
|
5029
5049
|
]));
|
|
5030
5050
|
}
|
|
5031
|
-
}, Ei = /* @__PURE__ */
|
|
5051
|
+
}, Ei = /* @__PURE__ */ B(wi, [["__scopeId", "data-v-4c5cfc79"]]), $i = (t) => (pn("data-v-22a49b3f"), t = t(), fn(), t), Si = {
|
|
5032
5052
|
key: 2,
|
|
5033
5053
|
class: "dot-wrapper"
|
|
5034
5054
|
}, Oi = /* @__PURE__ */ $i(() => /* @__PURE__ */ A("span", { class: "dot" }, null, -1)), xi = [
|
|
@@ -5060,10 +5080,10 @@ const hi = {
|
|
|
5060
5080
|
]),
|
|
5061
5081
|
_: 1
|
|
5062
5082
|
})),
|
|
5063
|
-
A("span", null,
|
|
5083
|
+
A("span", null, j(t.data.title), 1)
|
|
5064
5084
|
]),
|
|
5065
5085
|
default: w(() => [
|
|
5066
|
-
(u(!0), S(L, null, H(t.data.children, (o) => (u(), $(
|
|
5086
|
+
(u(!0), S(L, null, H(t.data.children, (o) => (u(), $(Jn, {
|
|
5067
5087
|
data: o,
|
|
5068
5088
|
"has-parent": !0
|
|
5069
5089
|
}, null, 8, ["data"]))), 256))
|
|
@@ -5087,12 +5107,12 @@ const hi = {
|
|
|
5087
5107
|
]),
|
|
5088
5108
|
_: 1
|
|
5089
5109
|
})),
|
|
5090
|
-
A("span", null,
|
|
5110
|
+
A("span", null, j(t.data.title), 1)
|
|
5091
5111
|
]),
|
|
5092
5112
|
_: 1
|
|
5093
5113
|
}, 8, ["index", "route"]));
|
|
5094
5114
|
}
|
|
5095
|
-
},
|
|
5115
|
+
}, Jn = /* @__PURE__ */ B(ki, [["__scopeId", "data-v-22a49b3f"]]), Ai = {
|
|
5096
5116
|
__name: "SideBar",
|
|
5097
5117
|
props: {
|
|
5098
5118
|
sideMenus: {
|
|
@@ -5120,7 +5140,7 @@ const hi = {
|
|
|
5120
5140
|
"default-active": s.value
|
|
5121
5141
|
}, {
|
|
5122
5142
|
default: w(() => [
|
|
5123
|
-
(u(!0), S(L, null, H(m(r), (g) => (u(), $(
|
|
5143
|
+
(u(!0), S(L, null, H(m(r), (g) => (u(), $(Jn, { data: g }, null, 8, ["data"]))), 256))
|
|
5124
5144
|
]),
|
|
5125
5145
|
_: 1
|
|
5126
5146
|
}, 8, ["default-active"])
|
|
@@ -5128,7 +5148,7 @@ const hi = {
|
|
|
5128
5148
|
_: 1
|
|
5129
5149
|
}));
|
|
5130
5150
|
}
|
|
5131
|
-
}, Ci = /* @__PURE__ */
|
|
5151
|
+
}, Ci = /* @__PURE__ */ B(Ai, [["__scopeId", "data-v-e039032d"]]), Di = {
|
|
5132
5152
|
__name: "BaseLayout",
|
|
5133
5153
|
props: {
|
|
5134
5154
|
config: {
|
|
@@ -5182,7 +5202,7 @@ const hi = {
|
|
|
5182
5202
|
}, 8, ["locale"]);
|
|
5183
5203
|
};
|
|
5184
5204
|
}
|
|
5185
|
-
}, El = /* @__PURE__ */
|
|
5205
|
+
}, El = /* @__PURE__ */ B(Di, [["__scopeId", "data-v-ea73195f"]]), Ri = {
|
|
5186
5206
|
key: 1,
|
|
5187
5207
|
class: "loading-wrapper"
|
|
5188
5208
|
}, Ti = {
|
|
@@ -5196,14 +5216,14 @@ const hi = {
|
|
|
5196
5216
|
const e = t, n = V(), s = n.meta.side, o = e.domain || n.params.domain, a = Z(null);
|
|
5197
5217
|
return Et(s, o).then((r) => {
|
|
5198
5218
|
a.value = r;
|
|
5199
|
-
}), (r, l) => a.value ? (u(), $(
|
|
5219
|
+
}), (r, l) => a.value ? (u(), $(Qn, {
|
|
5200
5220
|
key: 0,
|
|
5201
5221
|
settings: a.value
|
|
5202
5222
|
}, null, 8, ["settings"])) : _e((u(), S("div", Ri, null, 512)), [
|
|
5203
5223
|
[m(ve), !0]
|
|
5204
5224
|
]);
|
|
5205
5225
|
}
|
|
5206
|
-
}, Fi = /* @__PURE__ */
|
|
5226
|
+
}, Fi = /* @__PURE__ */ B(Ti, [["__scopeId", "data-v-2d9c8e98"]]), Li = { key: 0 }, Pi = { class: "key" }, ji = { class: "value" }, Bi = {
|
|
5207
5227
|
key: 1,
|
|
5208
5228
|
class: "loading-wrapper"
|
|
5209
5229
|
}, Ni = {
|
|
@@ -5284,10 +5304,10 @@ const hi = {
|
|
|
5284
5304
|
style: { "margin-bottom": "20px" }
|
|
5285
5305
|
}, {
|
|
5286
5306
|
default: w(() => [
|
|
5287
|
-
A("div", Pi,
|
|
5307
|
+
A("div", Pi, j(h.label), 1),
|
|
5288
5308
|
A("div", ji, [
|
|
5289
5309
|
h.code === "id" ? (u(), S(L, { key: 0 }, [
|
|
5290
|
-
N(
|
|
5310
|
+
N(j(d.value.id), 1)
|
|
5291
5311
|
], 64)) : (u(), $(K(h.display), {
|
|
5292
5312
|
key: 1,
|
|
5293
5313
|
field: h,
|
|
@@ -5336,7 +5356,7 @@ const hi = {
|
|
|
5336
5356
|
])
|
|
5337
5357
|
]));
|
|
5338
5358
|
}
|
|
5339
|
-
},
|
|
5359
|
+
}, Gn = /* @__PURE__ */ B(Ni, [["__scopeId", "data-v-dbcf33d5"]]), Ii = { class: "data-page-title" }, Vi = { class: "title" }, Mi = {
|
|
5340
5360
|
__name: "DataDetailHeader",
|
|
5341
5361
|
props: {
|
|
5342
5362
|
data: {
|
|
@@ -5369,11 +5389,11 @@ const hi = {
|
|
|
5369
5389
|
},
|
|
5370
5390
|
{ immediate: !0 }
|
|
5371
5391
|
), (d, g) => (u(), S("div", Ii, [
|
|
5372
|
-
A("div", Vi,
|
|
5392
|
+
A("div", Vi, j(a.value), 1),
|
|
5373
5393
|
A("div", null, [
|
|
5374
5394
|
o.data ? (u(), $(m(pe), { key: 0 }, {
|
|
5375
5395
|
default: w(() => [
|
|
5376
|
-
x(
|
|
5396
|
+
x(qn, {
|
|
5377
5397
|
row: o.data,
|
|
5378
5398
|
settings: o.settings,
|
|
5379
5399
|
query: m(s),
|
|
@@ -5392,7 +5412,7 @@ const hi = {
|
|
|
5392
5412
|
])
|
|
5393
5413
|
]));
|
|
5394
5414
|
}
|
|
5395
|
-
}, Ui = /* @__PURE__ */
|
|
5415
|
+
}, Ui = /* @__PURE__ */ B(Mi, [["__scopeId", "data-v-0d04eb53"]]), zi = {
|
|
5396
5416
|
__name: "DetailPageTabs",
|
|
5397
5417
|
props: {
|
|
5398
5418
|
associations: {
|
|
@@ -5447,14 +5467,14 @@ const hi = {
|
|
|
5447
5467
|
), (g, c) => {
|
|
5448
5468
|
const i = qe("router-view");
|
|
5449
5469
|
return u(), S(L, null, [
|
|
5450
|
-
x(m(
|
|
5470
|
+
x(m(_n), {
|
|
5451
5471
|
modelValue: a.value,
|
|
5452
5472
|
"onUpdate:modelValue": c[0] || (c[0] = (E) => a.value = E),
|
|
5453
5473
|
class: "association-tabs",
|
|
5454
5474
|
onTabClick: l
|
|
5455
5475
|
}, {
|
|
5456
5476
|
default: w(() => [
|
|
5457
|
-
(u(!0), S(L, null, H(o.associations, (E) => (u(), $(m(
|
|
5477
|
+
(u(!0), S(L, null, H(o.associations, (E) => (u(), $(m(vn), {
|
|
5458
5478
|
label: E.name,
|
|
5459
5479
|
name: E.domain
|
|
5460
5480
|
}, null, 8, ["label", "name"]))), 256))
|
|
@@ -5468,7 +5488,7 @@ const hi = {
|
|
|
5468
5488
|
], 64);
|
|
5469
5489
|
};
|
|
5470
5490
|
}
|
|
5471
|
-
}, Hi = /* @__PURE__ */
|
|
5491
|
+
}, Hi = /* @__PURE__ */ B(zi, [["__scopeId", "data-v-0dc49aad"]]), qi = {
|
|
5472
5492
|
__name: "DetailPageList",
|
|
5473
5493
|
props: {
|
|
5474
5494
|
associations: {
|
|
@@ -5514,7 +5534,7 @@ const hi = {
|
|
|
5514
5534
|
settings: s.settings,
|
|
5515
5535
|
query: { ...m(e).params, ...m(n) }
|
|
5516
5536
|
}, null, 8, ["data", "settings", "query"]),
|
|
5517
|
-
x(
|
|
5537
|
+
x(Gn, {
|
|
5518
5538
|
query: { ...m(e).params, ...m(n) },
|
|
5519
5539
|
settings: s.settings,
|
|
5520
5540
|
onDone: a
|
|
@@ -5530,7 +5550,7 @@ const hi = {
|
|
|
5530
5550
|
}, null, 8, ["associations", "domain-data"]))
|
|
5531
5551
|
]));
|
|
5532
5552
|
}
|
|
5533
|
-
}, Qi = /* @__PURE__ */
|
|
5553
|
+
}, Qi = /* @__PURE__ */ B(Wi, [["__scopeId", "data-v-6e5c2d0f"]]), Ji = {
|
|
5534
5554
|
key: 1,
|
|
5535
5555
|
class: "loading-wrapper"
|
|
5536
5556
|
}, Gi = {
|
|
@@ -5569,7 +5589,7 @@ const hi = {
|
|
|
5569
5589
|
[m(ve), !0]
|
|
5570
5590
|
]);
|
|
5571
5591
|
}
|
|
5572
|
-
}, Ki = /* @__PURE__ */
|
|
5592
|
+
}, Ki = /* @__PURE__ */ B(Gi, [["__scopeId", "data-v-ecd5a448"]]), Yi = { key: 0 }, Xi = {
|
|
5573
5593
|
key: 1,
|
|
5574
5594
|
class: "loading-wrapper"
|
|
5575
5595
|
}, Zi = {
|
|
@@ -5590,12 +5610,12 @@ const hi = {
|
|
|
5590
5610
|
},
|
|
5591
5611
|
{ immediate: !0 }
|
|
5592
5612
|
), (r, l) => a.value && o.association.domainData ? (u(), S("div", Yi, [
|
|
5593
|
-
a.value.type === "has-many" ? (u(), $(
|
|
5613
|
+
a.value.type === "has-many" ? (u(), $(Qn, {
|
|
5594
5614
|
key: `has-many-${a.value.domain}`,
|
|
5595
5615
|
settings: a.value.settings,
|
|
5596
5616
|
"has-many": o.association,
|
|
5597
5617
|
query: a.value.query(o.association.domainData)
|
|
5598
|
-
}, null, 8, ["settings", "has-many", "query"])) : a.value.type === "has-one" ? (u(), $(
|
|
5618
|
+
}, null, 8, ["settings", "has-many", "query"])) : a.value.type === "has-one" ? (u(), $(Gn, {
|
|
5599
5619
|
key: `has-one-${a.value.domain}`,
|
|
5600
5620
|
style: { "padding-top": "20px" },
|
|
5601
5621
|
query: m(s),
|
|
@@ -5605,7 +5625,7 @@ const hi = {
|
|
|
5605
5625
|
[m(ve), !0]
|
|
5606
5626
|
]);
|
|
5607
5627
|
}
|
|
5608
|
-
}, $l = /* @__PURE__ */
|
|
5628
|
+
}, $l = /* @__PURE__ */ B(Zi, [["__scopeId", "data-v-79eac380"]]);
|
|
5609
5629
|
export {
|
|
5610
5630
|
cl as A,
|
|
5611
5631
|
ea as B,
|
|
@@ -5613,7 +5633,7 @@ export {
|
|
|
5613
5633
|
ll as D,
|
|
5614
5634
|
dl as E,
|
|
5615
5635
|
Dr as F,
|
|
5616
|
-
|
|
5636
|
+
Qn as G,
|
|
5617
5637
|
El as H,
|
|
5618
5638
|
Ki as I,
|
|
5619
5639
|
$l as J,
|
|
@@ -5622,9 +5642,9 @@ export {
|
|
|
5622
5642
|
St as M,
|
|
5623
5643
|
fa as S,
|
|
5624
5644
|
ia as W,
|
|
5625
|
-
|
|
5645
|
+
B as _,
|
|
5626
5646
|
gl as a,
|
|
5627
|
-
|
|
5647
|
+
zn as b,
|
|
5628
5648
|
ta as c,
|
|
5629
5649
|
hl as d,
|
|
5630
5650
|
bl as e,
|
|
@@ -5642,7 +5662,7 @@ export {
|
|
|
5642
5662
|
vl as q,
|
|
5643
5663
|
ol as r,
|
|
5644
5664
|
W as s,
|
|
5645
|
-
|
|
5665
|
+
te as t,
|
|
5646
5666
|
sa as u,
|
|
5647
5667
|
wl as v,
|
|
5648
5668
|
al as w,
|
|
@@ -5650,4 +5670,4 @@ export {
|
|
|
5650
5670
|
il as y,
|
|
5651
5671
|
ul as z
|
|
5652
5672
|
};
|
|
5653
|
-
//# sourceMappingURL=index-
|
|
5673
|
+
//# sourceMappingURL=index-DWntuszc.js.map
|