@unizhen/ui 0.1.31 → 0.1.32
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/lib/components/table/child.vue.d.ts +1 -0
- package/lib/components/table/factory.d.ts +1 -1
- package/lib/ui.js +328 -321
- package/package.json +1 -1
|
@@ -104,7 +104,7 @@ export declare function fnPrepareFormData(items: IUzFormItems, formData?: Object
|
|
|
104
104
|
fillingDefaultValue: ObjectKey;
|
|
105
105
|
fillingDefaultArray: ObjectKey[];
|
|
106
106
|
}>;
|
|
107
|
-
export declare function fnPrepareTableData(items: IUzFormItems, child?: boolean, status?: number, formValues?: () => void, modules?: {}): Promise<{
|
|
107
|
+
export declare function fnPrepareTableData(items: IUzFormItems, child?: boolean, status?: number, formValues?: () => void, modules?: {}, reFetch?: boolean): Promise<{
|
|
108
108
|
tableColumns: any[];
|
|
109
109
|
search: {
|
|
110
110
|
input: "number" | "color" | "group" | "input" | "select" | "time" | "date" | "auto" | "cascader" | "checkbox" | "timesPicker" | "filling";
|
package/lib/ui.js
CHANGED
|
@@ -5028,9 +5028,9 @@ var fp = () => new Promise((e) => {
|
|
|
5028
5028
|
function gp() {
|
|
5029
5029
|
hp.clear();
|
|
5030
5030
|
}
|
|
5031
|
-
async function _p(e, t = !
|
|
5031
|
+
async function _p(e, t = !1) {
|
|
5032
5032
|
let n = e.split("."), r = !1;
|
|
5033
|
-
return n.length > 1 && (hp.has(n[0]) && t ? r = H(hp.get(n[0])) : (r = await xd({ tableId: n[0] }), hp.set(n[0], r))), {
|
|
5033
|
+
return n.length > 1 && (hp.has(n[0]) && !t ? r = H(hp.get(n[0])) : (r = await xd({ tableId: n[0] }), hp.set(n[0], r))), {
|
|
5034
5034
|
sourceData: r,
|
|
5035
5035
|
n
|
|
5036
5036
|
};
|
|
@@ -5370,21 +5370,21 @@ function Tp(e, t, n, r) {
|
|
|
5370
5370
|
});
|
|
5371
5371
|
});
|
|
5372
5372
|
}
|
|
5373
|
-
async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
|
|
5374
|
-
let
|
|
5375
|
-
for (let e of
|
|
5373
|
+
async function Ep(e, t = !1, n = 0, r = () => {}, i = {}, a = !1) {
|
|
5374
|
+
let o = 0, s = [], c = [], l = [], u = H(e), d = [], p = [];
|
|
5375
|
+
for (let e of u) e.input === "group" ? (d.push(...e.params.children), p.push({
|
|
5376
5376
|
title: e.label,
|
|
5377
5377
|
key: e.key,
|
|
5378
5378
|
...e.table,
|
|
5379
5379
|
children: e.params.children.map((e) => e.key)
|
|
5380
|
-
})) : (
|
|
5381
|
-
for await (let e of
|
|
5380
|
+
})) : (d.push(e), p.push(e.key));
|
|
5381
|
+
for await (let e of d) {
|
|
5382
5382
|
if (e.source && !e.table.render && (e.input === "select" || e.input === "cascader")) if (e.table.render = (t) => t[`${e.key}Str`], t || e.params.immediately || e.search.defaultValue) {
|
|
5383
|
-
let { sourceData:
|
|
5384
|
-
if (
|
|
5385
|
-
let
|
|
5386
|
-
e.params.options = r(
|
|
5387
|
-
} else e.params.options = mp(e,
|
|
5383
|
+
let { sourceData: t, n } = await _p(e.source, a);
|
|
5384
|
+
if (t && Array.isArray(t)) if (e.sourceFn) {
|
|
5385
|
+
let n = e.sourceFn, r = Function("sourceData", n);
|
|
5386
|
+
e.params.options = r(t);
|
|
5387
|
+
} else e.params.options = mp(e, t, n);
|
|
5388
5388
|
} else e.params.options = [{
|
|
5389
5389
|
label: "加载中......",
|
|
5390
5390
|
value: "loading",
|
|
@@ -5401,8 +5401,8 @@ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
|
|
|
5401
5401
|
if (n) return n.label;
|
|
5402
5402
|
}), e.input === "upload" && !e.table.render && (e.table.render = function(t) {
|
|
5403
5403
|
return f(zf, { value: t[e.key] }, { default: () => null });
|
|
5404
|
-
}),
|
|
5405
|
-
let
|
|
5404
|
+
}), o += Number(e.table.width || 140);
|
|
5405
|
+
let u = {
|
|
5406
5406
|
input: e.input,
|
|
5407
5407
|
title: e.label,
|
|
5408
5408
|
key: e.key,
|
|
@@ -5420,14 +5420,14 @@ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
|
|
|
5420
5420
|
pin: !!e.table.fixed,
|
|
5421
5421
|
fixTemp: e.table.fixed
|
|
5422
5422
|
};
|
|
5423
|
-
if (t) if (!
|
|
5423
|
+
if (t) if (!u.form.edit.show) u = null;
|
|
5424
5424
|
else {
|
|
5425
|
-
if (
|
|
5425
|
+
if (u.ellipsis = !1, u.resizable = !0, K.isMobile && (u.show = e.table.mobile), e.table.show && (n === 0 && (u.show = e.form.create.show), n === 1 && (u.show = e.form.edit.show), n === 2 && (u.show = e.form.show)), e.form.rule?.required && typeof e.form.rule.validator == "string") {
|
|
5426
5426
|
delete e.form.rule.message;
|
|
5427
5427
|
let t = e.form.rule.validator, n = Function("rule", "value", "index", "formValues", t);
|
|
5428
5428
|
e.form.rule.validator === "" ? e.form.rule.validator = (t, n) => r()[t.index].delete || n ? !0 : Error(e.form.rule.message) : e.form.rule.validator = (e, t) => r()[e.index].delete ? !0 : n(e, t, e.index, () => r());
|
|
5429
5429
|
}
|
|
5430
|
-
|
|
5430
|
+
u.render = function(t, r) {
|
|
5431
5431
|
return f(me, {
|
|
5432
5432
|
showLabel: !1,
|
|
5433
5433
|
showFeedback: !1,
|
|
@@ -5444,7 +5444,7 @@ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
|
|
|
5444
5444
|
}) });
|
|
5445
5445
|
};
|
|
5446
5446
|
}
|
|
5447
|
-
if (
|
|
5447
|
+
if (u && e.input !== "divider" && e.input !== "subTable" && l.push(u), e.input !== "divider" && e.input !== "switch" && e.input !== "subTable" && e.input !== "upload" && e.search.show) {
|
|
5448
5448
|
if (e.search.title && (e.label = e.search.title), e.search.source) if (e.input = "select", e.params.type = e.search.type, e.params.valueKey = e.search.valueKey, e.params.valueKey = e.search.valueKey, e.search.source === "from-up") e.params.options = e.params.options;
|
|
5449
5449
|
else if (e.params.immediately || e.search.defaultValue) {
|
|
5450
5450
|
let { sourceData: t, n } = await _p(e.search.source);
|
|
@@ -5467,7 +5467,7 @@ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
|
|
|
5467
5467
|
let n = t.sourceFn;
|
|
5468
5468
|
return Function("sourceData", n)(e);
|
|
5469
5469
|
} else return mp(t, e, n);
|
|
5470
|
-
}),
|
|
5470
|
+
}), s.push({
|
|
5471
5471
|
input: t.input,
|
|
5472
5472
|
label: t.label,
|
|
5473
5473
|
key: t.key,
|
|
@@ -5483,31 +5483,31 @@ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
|
|
|
5483
5483
|
});
|
|
5484
5484
|
}
|
|
5485
5485
|
}
|
|
5486
|
-
e.input === "subTable" && e.params.link && !e.params.quest &&
|
|
5486
|
+
e.input === "subTable" && e.params.link && !e.params.quest && c.push(e.params.link);
|
|
5487
5487
|
}
|
|
5488
|
-
let
|
|
5489
|
-
if (
|
|
5490
|
-
for (let e of
|
|
5488
|
+
let m = [];
|
|
5489
|
+
if (p.length > 0) {
|
|
5490
|
+
for (let e of p) {
|
|
5491
5491
|
if (typeof e == "string") {
|
|
5492
|
-
let t =
|
|
5493
|
-
t &&
|
|
5492
|
+
let t = l.find((t) => t.key === e);
|
|
5493
|
+
t && m.push(t);
|
|
5494
5494
|
}
|
|
5495
5495
|
if (typeof e == "object") {
|
|
5496
5496
|
let t = e.children, n = [];
|
|
5497
5497
|
for (let e of t) {
|
|
5498
|
-
let t =
|
|
5498
|
+
let t = l.find((t) => t.key === e);
|
|
5499
5499
|
t && n.push(t);
|
|
5500
5500
|
}
|
|
5501
|
-
e.children = n,
|
|
5501
|
+
e.children = n, m.push(e);
|
|
5502
5502
|
}
|
|
5503
5503
|
}
|
|
5504
|
-
|
|
5504
|
+
l = m;
|
|
5505
5505
|
}
|
|
5506
5506
|
return {
|
|
5507
|
-
tableColumns:
|
|
5508
|
-
search:
|
|
5509
|
-
subTableIds:
|
|
5510
|
-
tableWidth:
|
|
5507
|
+
tableColumns: l,
|
|
5508
|
+
search: s,
|
|
5509
|
+
subTableIds: c,
|
|
5510
|
+
tableWidth: o
|
|
5511
5511
|
};
|
|
5512
5512
|
}
|
|
5513
5513
|
//#endregion
|
|
@@ -6511,13 +6511,13 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
|
|
|
6511
6511
|
},
|
|
6512
6512
|
emits: ["update:value"],
|
|
6513
6513
|
setup(e, { emit: n, expose: r }) {
|
|
6514
|
-
let i = p("emitSuffix"), a = p("modules"), o = p("mainFormValue"), s = p("childFormReload"), c = t(() => s()), { t: l } = Ye(), u = w(), d = w(), m = w(), g = w(!
|
|
6514
|
+
let i = p("emitSuffix"), a = p("modules"), o = p("mainFormValue"), s = p("childFormReload"), c = t(() => s()), { t: l } = Ye(), u = w(), d = w(), m = w(), g = w(!0), _ = w(!1), y = w(!0), b = w([]), x = w({ child: [] }), S = w(""), C = w({}), T = w([]), E = w(void 0), D = async (t, n) => {
|
|
6515
6515
|
let { formDefaultValue: r, fillingDefaultArray: i } = await Tp(H(n ?? e.item.params.columns), t, void 0, !0);
|
|
6516
|
-
return
|
|
6517
|
-
},
|
|
6518
|
-
if (
|
|
6519
|
-
|
|
6520
|
-
let n = await
|
|
6516
|
+
return C.value = r, i;
|
|
6517
|
+
}, ee = async (t) => {
|
|
6518
|
+
if (_.value) return;
|
|
6519
|
+
_.value = !0;
|
|
6520
|
+
let n = await D(t), r = H(t).map((e, t) => ({
|
|
6521
6521
|
...e,
|
|
6522
6522
|
...n[t]
|
|
6523
6523
|
}));
|
|
@@ -6529,29 +6529,29 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
|
|
|
6529
6529
|
t.forEach((t) => {
|
|
6530
6530
|
e[t] && typeof e[t] == "string" && (e[t] = JSON.parse(e[t]));
|
|
6531
6531
|
});
|
|
6532
|
-
}), e.item.params.init && r.length === 0 && e.status === 0 && (r = [
|
|
6532
|
+
}), e.item.params.init && r.length === 0 && e.status === 0 && (r = [C.value]), e.item.params.merge && typeof e.item.params.merge == "string") try {
|
|
6533
6533
|
let t = e.item.params.merge;
|
|
6534
6534
|
r = await Function("formValue", "mainFormValue", "POST", t)(r, o, Z);
|
|
6535
6535
|
} catch (e) {
|
|
6536
6536
|
q(e);
|
|
6537
6537
|
}
|
|
6538
|
-
|
|
6539
|
-
|
|
6538
|
+
x.value.child = r, _.value = !1, h(() => {
|
|
6539
|
+
I();
|
|
6540
6540
|
});
|
|
6541
6541
|
} else h(() => {
|
|
6542
|
-
|
|
6542
|
+
I();
|
|
6543
6543
|
});
|
|
6544
|
-
},
|
|
6545
|
-
e.item._suffix && (
|
|
6546
|
-
let { tableColumns:
|
|
6547
|
-
|
|
6544
|
+
}, O = (e) => e.delete ? "uz-table-child-delete" : "", k = async (t, n = !1) => {
|
|
6545
|
+
g.value = !0, e.item._suffix && (T.value = e.item._suffix.filter((e) => e.sub)), await D(e.value, t);
|
|
6546
|
+
let { tableColumns: r, tableWidth: i } = await Ep(H(t ?? e.item.params.columns), !0, e.status, () => x.value.child, a, n), s = i;
|
|
6547
|
+
r.unshift({
|
|
6548
6548
|
title: " ",
|
|
6549
6549
|
key: "index",
|
|
6550
6550
|
align: "center",
|
|
6551
6551
|
titleAlign: "center",
|
|
6552
6552
|
width: 10,
|
|
6553
6553
|
show: !0
|
|
6554
|
-
}),
|
|
6554
|
+
}), s += 60, e.item.params.draggable && e.status !== 2 && (r.unshift({
|
|
6555
6555
|
title: " ",
|
|
6556
6556
|
key: "draggable",
|
|
6557
6557
|
align: "center",
|
|
@@ -6564,7 +6564,7 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
|
|
|
6564
6564
|
render() {
|
|
6565
6565
|
return f("div", { class: "flex justify-center" }, f(B, {}, { default: () => f(Xo) }));
|
|
6566
6566
|
}
|
|
6567
|
-
}),
|
|
6567
|
+
}), s += 40), e.status !== 2 && e.item.params.showActions && r.push({
|
|
6568
6568
|
title: () => l("Common.action"),
|
|
6569
6569
|
key: "action",
|
|
6570
6570
|
align: "center",
|
|
@@ -6578,7 +6578,7 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
|
|
|
6578
6578
|
let r = [];
|
|
6579
6579
|
return e.item.params.childActions && e.item.params.actions && Rd(e.item.params.actions).forEach((e) => {
|
|
6580
6580
|
e.disabled && typeof e.disabled == "string" && (e.disabled = Function("rowData", "rowIndex", e.disabled)(t, n)), r.push(e);
|
|
6581
|
-
}), e.item.params.showDelete && e.status !== 2 && (
|
|
6581
|
+
}), e.item.params.showDelete && e.status !== 2 && (x.value.child.length > 1 && e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly) && r.push({
|
|
6582
6582
|
type: "normal",
|
|
6583
6583
|
color: "error",
|
|
6584
6584
|
key: "delete",
|
|
@@ -6594,11 +6594,11 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
|
|
|
6594
6594
|
});
|
|
6595
6595
|
}
|
|
6596
6596
|
});
|
|
6597
|
-
let
|
|
6598
|
-
|
|
6599
|
-
e.show &&
|
|
6600
|
-
}),
|
|
6601
|
-
},
|
|
6597
|
+
let c = [];
|
|
6598
|
+
r.forEach((e) => {
|
|
6599
|
+
e.show && c.push(e);
|
|
6600
|
+
}), b.value = c, s += 180, E.value = s, g.value = !1;
|
|
6601
|
+
}, A = (t) => {
|
|
6602
6602
|
if (e.item.params.summary) {
|
|
6603
6603
|
if (typeof e.item.params.summary == "function") return e.item.params.summary(t);
|
|
6604
6604
|
try {
|
|
@@ -6609,12 +6609,12 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
|
|
|
6609
6609
|
}
|
|
6610
6610
|
}
|
|
6611
6611
|
return [];
|
|
6612
|
-
}, A = async () => {
|
|
6613
|
-
x.value = "", b.value.child.push(H(S.value)), h(() => {
|
|
6614
|
-
F();
|
|
6615
|
-
});
|
|
6616
6612
|
}, M = async () => {
|
|
6617
|
-
|
|
6613
|
+
S.value = "", x.value.child.push(H(C.value)), h(() => {
|
|
6614
|
+
I();
|
|
6615
|
+
});
|
|
6616
|
+
}, N = async () => {
|
|
6617
|
+
S.value = "";
|
|
6618
6618
|
try {
|
|
6619
6619
|
let t = e.item.params.options;
|
|
6620
6620
|
if (t) {
|
|
@@ -6622,52 +6622,52 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
|
|
|
6622
6622
|
e.item.params.optionsType && i({
|
|
6623
6623
|
open: e.item.params.optionsType,
|
|
6624
6624
|
mainFormValue: o,
|
|
6625
|
-
children: () =>
|
|
6625
|
+
children: () => x.value.child,
|
|
6626
6626
|
callback: async (e) => {
|
|
6627
6627
|
let t = await n(e, o, Z);
|
|
6628
|
-
|
|
6629
|
-
|
|
6628
|
+
x.value.child = [...x.value.child, ...t], h(() => {
|
|
6629
|
+
I();
|
|
6630
6630
|
});
|
|
6631
6631
|
}
|
|
6632
6632
|
});
|
|
6633
6633
|
} else e.item.params.optionsType && i({
|
|
6634
6634
|
open: e.item.params.optionsType,
|
|
6635
6635
|
mainFormValue: o,
|
|
6636
|
-
children: () =>
|
|
6636
|
+
children: () => x.value.child,
|
|
6637
6637
|
callback: async (e) => {
|
|
6638
|
-
|
|
6639
|
-
|
|
6638
|
+
x.value.child = [...x.value.child, ...e], h(() => {
|
|
6639
|
+
I();
|
|
6640
6640
|
});
|
|
6641
6641
|
}
|
|
6642
6642
|
});
|
|
6643
6643
|
} catch (e) {
|
|
6644
6644
|
q(e);
|
|
6645
6645
|
}
|
|
6646
|
-
},
|
|
6646
|
+
}, P = () => {
|
|
6647
6647
|
m.value?.restoreValidation();
|
|
6648
|
-
},
|
|
6649
|
-
let r =
|
|
6648
|
+
}, F = () => (S.value = "", new Promise((t, n) => {
|
|
6649
|
+
let r = x.value.child.filter((e) => !e.delete).length;
|
|
6650
6650
|
if (e.item.form.rule.required && r === 0) {
|
|
6651
|
-
|
|
6651
|
+
S.value = e.item.form.rule.message, n();
|
|
6652
6652
|
return;
|
|
6653
6653
|
}
|
|
6654
6654
|
m.value?.validate((r) => {
|
|
6655
|
-
r ? (
|
|
6655
|
+
r ? (S.value = e.item.form.rule.message, n()) : t();
|
|
6656
6656
|
});
|
|
6657
|
-
})),
|
|
6657
|
+
})), I = () => {
|
|
6658
6658
|
if (e.item.params.draggable && e.status !== 2 && u.value && !d.value) {
|
|
6659
6659
|
let e = u.value.$el.querySelector(".n-data-table-tbody");
|
|
6660
6660
|
e && (d.value = rt.create(e, {
|
|
6661
6661
|
handle: ".uz-drag-handle",
|
|
6662
6662
|
onEnd: ({ oldIndex: e, newIndex: t }) => {
|
|
6663
|
-
d.value?.destroy(), d.value = null,
|
|
6664
|
-
let n = H(
|
|
6663
|
+
d.value?.destroy(), d.value = null, y.value = !1;
|
|
6664
|
+
let n = H(x.value.child), r = n.splice(e, 1)[0];
|
|
6665
6665
|
n.splice(t, 0, r), n = n.map((e, t) => ({
|
|
6666
6666
|
...e,
|
|
6667
6667
|
sort_index: t
|
|
6668
|
-
})),
|
|
6669
|
-
|
|
6670
|
-
|
|
6668
|
+
})), x.value.child = n, h(() => {
|
|
6669
|
+
y.value = !0, setTimeout(() => {
|
|
6670
|
+
I();
|
|
6671
6671
|
}, 0);
|
|
6672
6672
|
});
|
|
6673
6673
|
}
|
|
@@ -6677,161 +6677,168 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
|
|
|
6677
6677
|
return v(() => {
|
|
6678
6678
|
d.value?.destroy(), d.value = null;
|
|
6679
6679
|
}), r({
|
|
6680
|
-
validate:
|
|
6681
|
-
restoreValidation:
|
|
6680
|
+
validate: F,
|
|
6681
|
+
restoreValidation: P
|
|
6682
6682
|
}), j(() => e.item.params.columns, (e, t) => {
|
|
6683
|
-
JSON.stringify(e) !== JSON.stringify(t) &&
|
|
6683
|
+
JSON.stringify(e) !== JSON.stringify(t) && k(e);
|
|
6684
6684
|
}, {
|
|
6685
6685
|
deep: !0,
|
|
6686
6686
|
immediate: !0
|
|
6687
6687
|
}), j(() => e.value, (e) => {
|
|
6688
|
-
JSON.stringify(e) !== JSON.stringify(
|
|
6688
|
+
JSON.stringify(e) !== JSON.stringify(x.value.child) && ee(e);
|
|
6689
6689
|
}, {
|
|
6690
6690
|
deep: !0,
|
|
6691
6691
|
immediate: !0
|
|
6692
|
-
}), j(() =>
|
|
6692
|
+
}), j(() => x.value.child, (t) => {
|
|
6693
6693
|
e.status !== 2 && n("update:value", t);
|
|
6694
6694
|
}, { deep: !0 }), j(() => c.value, async () => {
|
|
6695
|
-
await
|
|
6695
|
+
await k(void 0, !0);
|
|
6696
6696
|
}), {
|
|
6697
|
-
|
|
6697
|
+
spin: g,
|
|
6698
|
+
loading: _,
|
|
6698
6699
|
formRef: m,
|
|
6699
6700
|
tableRef: u,
|
|
6700
|
-
columns:
|
|
6701
|
-
tableData:
|
|
6702
|
-
summaryData:
|
|
6703
|
-
message:
|
|
6704
|
-
tableScrollX:
|
|
6705
|
-
tableShow:
|
|
6706
|
-
suffixes:
|
|
6707
|
-
onAdd:
|
|
6708
|
-
onAddFormData:
|
|
6709
|
-
rowClassName:
|
|
6701
|
+
columns: b,
|
|
6702
|
+
tableData: x,
|
|
6703
|
+
summaryData: A,
|
|
6704
|
+
message: S,
|
|
6705
|
+
tableScrollX: E,
|
|
6706
|
+
tableShow: y,
|
|
6707
|
+
suffixes: T,
|
|
6708
|
+
onAdd: M,
|
|
6709
|
+
onAddFormData: N,
|
|
6710
|
+
rowClassName: O,
|
|
6710
6711
|
doSuffixClick: (e) => {
|
|
6711
6712
|
i({
|
|
6712
6713
|
open: e.optionsType,
|
|
6713
6714
|
mainFormValue: o,
|
|
6714
6715
|
onClick: e.onClick,
|
|
6715
6716
|
optionsSource: e.optionsSource,
|
|
6716
|
-
children: () =>
|
|
6717
|
+
children: () => x.value.child,
|
|
6717
6718
|
callback: () => null
|
|
6718
6719
|
});
|
|
6719
6720
|
}
|
|
6720
6721
|
};
|
|
6721
6722
|
}
|
|
6722
|
-
}), Vp = { class: "uz-flex
|
|
6723
|
+
}), Vp = { class: "uz-flex uz-justify-between" }, Hp = { class: "uz-com-title" }, Up = {
|
|
6723
6724
|
key: 0,
|
|
6724
6725
|
class: "uz-table-asterisk"
|
|
6725
|
-
},
|
|
6726
|
-
function
|
|
6727
|
-
let m = D("UzIcon"), h = D("NIcon"), _ = D("NButton"), v = D("Plus"), y = D("NDataTable"), b = D("NForm");
|
|
6728
|
-
return x(),
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
default: N(() => [l(m, { icon: e.icon }, null, 8, ["icon"])]),
|
|
6726
|
+
}, Wp = { class: "uz-flex uz-gap-2" }, Gp = { class: "uz-flex uz-justify-end uz-gap-2" };
|
|
6727
|
+
function Kp(t, s, u, d, f, p) {
|
|
6728
|
+
let m = D("UzIcon"), h = D("NIcon"), _ = D("NButton"), v = D("Plus"), y = D("NDataTable"), b = D("NForm"), S = D("n-spin");
|
|
6729
|
+
return x(), n(S, {
|
|
6730
|
+
show: t.spin,
|
|
6731
|
+
class: "uz-flex-1 uz-w-full"
|
|
6732
|
+
}, {
|
|
6733
|
+
default: N(() => [
|
|
6734
|
+
a("div", Vp, [a("div", Hp, [c(k(t.item.label) + " ", 1), t.item.form.rule.required ? (x(), i("span", Up, " \xA0* ")) : r("", !0)]), a("div", Wp, [
|
|
6735
|
+
t.status === 2 ? r("", !0) : (x(!0), i(e, { key: 0 }, T(t.suffixes, (e) => (x(), n(_, {
|
|
6736
|
+
key: e.key,
|
|
6737
|
+
type: e.color,
|
|
6738
|
+
secondary: "",
|
|
6739
|
+
onClick: (n) => t.doSuffixClick(e)
|
|
6740
|
+
}, o({
|
|
6741
|
+
default: N(() => [c(" " + k(e.buttonText), 1)]),
|
|
6742
6742
|
_: 2
|
|
6743
|
-
},
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6743
|
+
}, [e.icon ? {
|
|
6744
|
+
name: "icon",
|
|
6745
|
+
fn: N(() => [l(h, null, {
|
|
6746
|
+
default: N(() => [l(m, { icon: e.icon }, null, 8, ["icon"])]),
|
|
6747
|
+
_: 2
|
|
6748
|
+
}, 1024)]),
|
|
6749
|
+
key: "0"
|
|
6750
|
+
} : void 0]), 1032, ["type", "onClick"]))), 128)),
|
|
6751
|
+
t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
|
|
6752
|
+
key: 1,
|
|
6753
|
+
type: "success",
|
|
6754
|
+
secondary: "",
|
|
6755
|
+
onClick: t.onAddFormData
|
|
6756
|
+
}, {
|
|
6757
|
+
icon: N(() => [l(h, null, {
|
|
6758
|
+
default: N(() => [l(v)]),
|
|
6759
|
+
_: 1
|
|
6760
|
+
})]),
|
|
6761
|
+
default: N(() => [s[0] ||= c(" 从数据新增 ", -1)]),
|
|
6754
6762
|
_: 1
|
|
6755
|
-
}
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
default: N(() => [
|
|
6763
|
+
}, 8, ["onClick"])) : r("", !0),
|
|
6764
|
+
t.item.params.addButton && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
|
|
6765
|
+
key: 2,
|
|
6766
|
+
type: "success",
|
|
6767
|
+
secondary: "",
|
|
6768
|
+
onClick: t.onAdd
|
|
6769
|
+
}, {
|
|
6770
|
+
icon: N(() => [l(h, null, {
|
|
6771
|
+
default: N(() => [l(v)]),
|
|
6772
|
+
_: 1
|
|
6773
|
+
})]),
|
|
6774
|
+
default: N(() => [s[1] ||= c(" 新增 ", -1)]),
|
|
6767
6775
|
_: 1
|
|
6768
|
-
}
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
"label-width": 80,
|
|
6777
|
-
model: t.tableData,
|
|
6778
|
-
class: "uz-flex uz-flex-col uz-gap-2"
|
|
6779
|
-
}, {
|
|
6780
|
-
default: N(() => [t.tableShow ? (x(), n(y, {
|
|
6781
|
-
key: 0,
|
|
6782
|
-
ref: "tableRef",
|
|
6783
|
-
columns: t.columns,
|
|
6784
|
-
data: t.tableData.child,
|
|
6785
|
-
pagination: !1,
|
|
6786
|
-
loading: t.loading,
|
|
6787
|
-
summary: t.summaryData,
|
|
6788
|
-
"scroll-x": t.tableScrollX,
|
|
6789
|
-
class: g([t.message ? "error-border" : void 0, "uz-table-child"]),
|
|
6790
|
-
size: "small",
|
|
6791
|
-
"row-class-name": t.rowClassName,
|
|
6792
|
-
"scrollbar-props": {
|
|
6793
|
-
size: 8,
|
|
6794
|
-
trigger: "none"
|
|
6795
|
-
},
|
|
6796
|
-
remote: ""
|
|
6797
|
-
}, null, 8, [
|
|
6798
|
-
"columns",
|
|
6799
|
-
"data",
|
|
6800
|
-
"loading",
|
|
6801
|
-
"summary",
|
|
6802
|
-
"scroll-x",
|
|
6803
|
-
"class",
|
|
6804
|
-
"row-class-name"
|
|
6805
|
-
])) : r("", !0), a("div", Kp, [t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
|
|
6806
|
-
key: 0,
|
|
6807
|
-
type: "success",
|
|
6808
|
-
secondary: "",
|
|
6809
|
-
onClick: t.onAddFormData
|
|
6776
|
+
}, 8, ["onClick"])) : r("", !0)
|
|
6777
|
+
])]),
|
|
6778
|
+
s[4] ||= a("div", { class: "uz-br" }, null, -1),
|
|
6779
|
+
l(b, {
|
|
6780
|
+
ref: "formRef",
|
|
6781
|
+
"label-width": 80,
|
|
6782
|
+
model: t.tableData,
|
|
6783
|
+
class: "uz-flex uz-flex-col uz-gap-2"
|
|
6810
6784
|
}, {
|
|
6811
|
-
|
|
6812
|
-
|
|
6785
|
+
default: N(() => [t.tableShow ? (x(), n(y, {
|
|
6786
|
+
key: 0,
|
|
6787
|
+
ref: "tableRef",
|
|
6788
|
+
columns: t.columns,
|
|
6789
|
+
data: t.tableData.child,
|
|
6790
|
+
pagination: !1,
|
|
6791
|
+
loading: t.loading,
|
|
6792
|
+
summary: t.summaryData,
|
|
6793
|
+
"scroll-x": t.tableScrollX,
|
|
6794
|
+
class: g([t.message ? "error-border" : void 0, "uz-table-child"]),
|
|
6795
|
+
size: "small",
|
|
6796
|
+
"row-class-name": t.rowClassName,
|
|
6797
|
+
"scrollbar-props": {
|
|
6798
|
+
size: 8,
|
|
6799
|
+
trigger: "none"
|
|
6800
|
+
},
|
|
6801
|
+
remote: ""
|
|
6802
|
+
}, null, 8, [
|
|
6803
|
+
"columns",
|
|
6804
|
+
"data",
|
|
6805
|
+
"loading",
|
|
6806
|
+
"summary",
|
|
6807
|
+
"scroll-x",
|
|
6808
|
+
"class",
|
|
6809
|
+
"row-class-name"
|
|
6810
|
+
])) : r("", !0), a("div", Gp, [t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
|
|
6811
|
+
key: 0,
|
|
6812
|
+
type: "success",
|
|
6813
|
+
secondary: "",
|
|
6814
|
+
onClick: t.onAddFormData
|
|
6815
|
+
}, {
|
|
6816
|
+
icon: N(() => [l(h, null, {
|
|
6817
|
+
default: N(() => [l(v)]),
|
|
6818
|
+
_: 1
|
|
6819
|
+
})]),
|
|
6820
|
+
default: N(() => [s[2] ||= c(" 从数据新增 ", -1)]),
|
|
6813
6821
|
_: 1
|
|
6814
|
-
}
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
default: N(() => [
|
|
6822
|
+
}, 8, ["onClick"])) : r("", !0), t.item.params.addButton && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
|
|
6823
|
+
key: 1,
|
|
6824
|
+
type: "success",
|
|
6825
|
+
secondary: "",
|
|
6826
|
+
onClick: t.onAdd
|
|
6827
|
+
}, {
|
|
6828
|
+
icon: N(() => [l(h, null, {
|
|
6829
|
+
default: N(() => [l(v)]),
|
|
6830
|
+
_: 1
|
|
6831
|
+
})]),
|
|
6832
|
+
default: N(() => [s[3] ||= c(" 新增 ", -1)]),
|
|
6825
6833
|
_: 1
|
|
6826
|
-
})]),
|
|
6827
|
-
default: N(() => [s[3] ||= c(" 新增 ", -1)]),
|
|
6834
|
+
}, 8, ["onClick"])) : r("", !0)])]),
|
|
6828
6835
|
_: 1
|
|
6829
|
-
}, 8, ["
|
|
6830
|
-
|
|
6831
|
-
|
|
6832
|
-
]);
|
|
6836
|
+
}, 8, ["model"])
|
|
6837
|
+
]),
|
|
6838
|
+
_: 1
|
|
6839
|
+
}, 8, ["show"]);
|
|
6833
6840
|
}
|
|
6834
|
-
var
|
|
6841
|
+
var qp = /*#__PURE__*/ U(Bp, [["render", Kp]]), Jp = d({
|
|
6835
6842
|
name: "UzTableQuestChild",
|
|
6836
6843
|
components: { NDataTable: oe },
|
|
6837
6844
|
props: {
|
|
@@ -6930,11 +6937,11 @@ var Jp = /*#__PURE__*/ U(Bp, [["render", qp]]), Yp = d({
|
|
|
6930
6937
|
tableScrollX: s
|
|
6931
6938
|
};
|
|
6932
6939
|
}
|
|
6933
|
-
}),
|
|
6934
|
-
function
|
|
6940
|
+
}), Yp = { class: "uz-flex-1 uz-w-full" }, Xp = { class: "uz-flex uz-justify-between" }, Zp = { class: "uz-com-title" };
|
|
6941
|
+
function Qp(e, t, n, r, o, s) {
|
|
6935
6942
|
let c = D("NDataTable"), u = D("UzTableDrawer");
|
|
6936
|
-
return x(), i("div",
|
|
6937
|
-
a("div",
|
|
6943
|
+
return x(), i("div", Yp, [
|
|
6944
|
+
a("div", Xp, [a("div", Zp, k(e.item.label), 1)]),
|
|
6938
6945
|
t[0] ||= a("div", { class: "uz-br" }, null, -1),
|
|
6939
6946
|
l(c, {
|
|
6940
6947
|
columns: e.columns,
|
|
@@ -6959,7 +6966,7 @@ function $p(e, t, n, r, o, s) {
|
|
|
6959
6966
|
l(u, { ref: "drawerRef" }, null, 512)
|
|
6960
6967
|
]);
|
|
6961
6968
|
}
|
|
6962
|
-
var
|
|
6969
|
+
var $p = /*#__PURE__*/ U(Jp, [["render", Qp]]), em = d({
|
|
6963
6970
|
name: "UzTableDrawer",
|
|
6964
6971
|
components: {
|
|
6965
6972
|
NButton: L,
|
|
@@ -7123,11 +7130,11 @@ var em = /*#__PURE__*/ U(Yp, [["render", $p]]), tm = d({
|
|
|
7123
7130
|
}
|
|
7124
7131
|
};
|
|
7125
7132
|
}
|
|
7126
|
-
}),
|
|
7133
|
+
}), tm = { class: "uz-flex uz-flex-col uz-gap-2 uz-h-full" }, nm = {
|
|
7127
7134
|
key: 0,
|
|
7128
7135
|
class: "uz-grid uz-grid-cols-2 uz-gap-2"
|
|
7129
|
-
},
|
|
7130
|
-
function
|
|
7136
|
+
}, rm = { class: "uz-flex uz-gap-2" };
|
|
7137
|
+
function im(e, t, s, u, d, f) {
|
|
7131
7138
|
let p = D("NSkeleton"), m = D("UzForm"), h = D("UzSpin"), g = D("NSpin"), _ = D("NButton"), v = D("NDrawerContent"), y = D("NDrawer");
|
|
7132
7139
|
return x(), n(y, {
|
|
7133
7140
|
show: e.drawer,
|
|
@@ -7153,7 +7160,7 @@ function am(e, t, s, u, d, f) {
|
|
|
7153
7160
|
message: e.spinMsg,
|
|
7154
7161
|
status: e.spinStatus
|
|
7155
7162
|
}, {
|
|
7156
|
-
default: N(() => [a("div",
|
|
7163
|
+
default: N(() => [a("div", tm, [e.skeletonShow ? (x(), i("div", nm, [
|
|
7157
7164
|
l(p, {
|
|
7158
7165
|
size: "large",
|
|
7159
7166
|
style: { height: "156px" }
|
|
@@ -7216,7 +7223,7 @@ function am(e, t, s, u, d, f) {
|
|
|
7216
7223
|
_: 2
|
|
7217
7224
|
}, [e.formStatus === 2 ? void 0 : {
|
|
7218
7225
|
name: "footer",
|
|
7219
|
-
fn: N(() => [a("div",
|
|
7226
|
+
fn: N(() => [a("div", rm, [
|
|
7220
7227
|
l(_, {
|
|
7221
7228
|
loading: e.spinShow,
|
|
7222
7229
|
class: "uz-drawer-button",
|
|
@@ -7259,7 +7266,7 @@ function am(e, t, s, u, d, f) {
|
|
|
7259
7266
|
"on-after-leave"
|
|
7260
7267
|
]);
|
|
7261
7268
|
}
|
|
7262
|
-
var
|
|
7269
|
+
var am = /*#__PURE__*/ U(em, [["render", im]]), om = d({
|
|
7263
7270
|
name: "UzTableMobileList",
|
|
7264
7271
|
props: {
|
|
7265
7272
|
tableData: {
|
|
@@ -7277,12 +7284,12 @@ var om = /*#__PURE__*/ U(tm, [["render", am]]), sm = d({
|
|
|
7277
7284
|
},
|
|
7278
7285
|
emits: ["update:row-keys"],
|
|
7279
7286
|
setup() {}
|
|
7280
|
-
}),
|
|
7287
|
+
}), sm = { class: "uz-grid uz-grid-cols-2 uz-gap-2" }, cm = {
|
|
7281
7288
|
key: 1,
|
|
7282
7289
|
class: "uz-table-mobile-group-txt"
|
|
7283
7290
|
};
|
|
7284
|
-
function
|
|
7285
|
-
return x(), i("div",
|
|
7291
|
+
function lm(t, o, s, c, l, u) {
|
|
7292
|
+
return x(), i("div", sm, [(x(!0), i(e, null, T(t.tableColumns, (o) => (x(), i("div", {
|
|
7286
7293
|
key: o.key,
|
|
7287
7294
|
class: g(["uz-flex uz-overflow-hidden", o.lineBreak ? "uz-flex-col" : ""]),
|
|
7288
7295
|
style: _(`grid-column: span ${o.lineCol || 2} / span ${o.lineCol || 2}`)
|
|
@@ -7293,11 +7300,11 @@ function um(t, o, s, c, l, u) {
|
|
|
7293
7300
|
class: "mobile"
|
|
7294
7301
|
})) : r("", !0)], 64)) : (x(), i(e, { key: 1 }, [a("div", { class: g(["uz-table-mobile-group-title", o.lineBreak ? "line-break" : ""]) }, [a("div", null, k(typeof o.title == "string" ? o.title : o.title()), 1)], 2), a("div", { class: g(["uz-table-mobile-group-content", o.lineBreak ? "line-break" : ""]) }, [o.render ? (x(), n(O(() => {
|
|
7295
7302
|
if (t.tableData) return o.render(t.tableData, t.tableIndex);
|
|
7296
|
-
}), { key: 0 })) : (x(), i("div",
|
|
7303
|
+
}), { key: 0 })) : (x(), i("div", cm, k(t.tableData[o.key] || "-"), 1))], 2)], 64))], 6))), 128))]);
|
|
7297
7304
|
}
|
|
7298
7305
|
//#endregion
|
|
7299
7306
|
//#region components/table/mobile.vue?vue&type=script&lang.ts
|
|
7300
|
-
var
|
|
7307
|
+
var um = d({
|
|
7301
7308
|
name: "UzTableMobile",
|
|
7302
7309
|
components: {
|
|
7303
7310
|
NCheckbox: R,
|
|
@@ -7305,7 +7312,7 @@ var dm = d({
|
|
|
7305
7312
|
NPagination: we,
|
|
7306
7313
|
NCheckboxGroup: re,
|
|
7307
7314
|
NRadioGroup: Oe,
|
|
7308
|
-
UzTableMobileList: /* @__PURE__ */ U(
|
|
7315
|
+
UzTableMobileList: /* @__PURE__ */ U(om, [["render", lm], ["__scopeId", "data-v-84c394fe"]])
|
|
7309
7316
|
},
|
|
7310
7317
|
props: {
|
|
7311
7318
|
tableData: {
|
|
@@ -7352,17 +7359,17 @@ var dm = d({
|
|
|
7352
7359
|
}
|
|
7353
7360
|
};
|
|
7354
7361
|
}
|
|
7355
|
-
}),
|
|
7362
|
+
}), dm = {
|
|
7356
7363
|
key: 0,
|
|
7357
7364
|
class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
|
|
7358
|
-
},
|
|
7365
|
+
}, fm = {
|
|
7359
7366
|
key: 0,
|
|
7360
7367
|
class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
|
|
7361
|
-
},
|
|
7368
|
+
}, pm = {
|
|
7362
7369
|
key: 0,
|
|
7363
7370
|
class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
|
|
7364
7371
|
};
|
|
7365
|
-
function
|
|
7372
|
+
function mm(t, a, o, s, c, u) {
|
|
7366
7373
|
let d = D("UzTableMobileList"), f = D("NCheckbox"), p = D("NPagination"), m = D("NCheckboxGroup"), h = D("NRadio"), g = D("NRadioGroup");
|
|
7367
7374
|
return t.selection === 2 ? (x(), n(m, {
|
|
7368
7375
|
key: 0,
|
|
@@ -7389,7 +7396,7 @@ function hm(t, a, o, s, c, u) {
|
|
|
7389
7396
|
"tableColumns"
|
|
7390
7397
|
])]),
|
|
7391
7398
|
_: 2
|
|
7392
|
-
}, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div",
|
|
7399
|
+
}, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", dm, [l(p, {
|
|
7393
7400
|
page: t.tableQueries.query.page,
|
|
7394
7401
|
"onUpdate:page": [a[0] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
|
|
7395
7402
|
"item-count": t.tableQueries.query.itemCount,
|
|
@@ -7431,7 +7438,7 @@ function hm(t, a, o, s, c, u) {
|
|
|
7431
7438
|
"tableColumns"
|
|
7432
7439
|
])]),
|
|
7433
7440
|
_: 2
|
|
7434
|
-
}, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div",
|
|
7441
|
+
}, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", fm, [l(p, {
|
|
7435
7442
|
page: t.tableQueries.query.page,
|
|
7436
7443
|
"onUpdate:page": [a[2] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
|
|
7437
7444
|
"item-count": t.tableQueries.query.itemCount,
|
|
@@ -7466,7 +7473,7 @@ function hm(t, a, o, s, c, u) {
|
|
|
7466
7473
|
"tableData",
|
|
7467
7474
|
"tableIndex",
|
|
7468
7475
|
"tableColumns"
|
|
7469
|
-
])]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div",
|
|
7476
|
+
])]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", pm, [l(p, {
|
|
7470
7477
|
page: t.tableQueries.query.page,
|
|
7471
7478
|
"onUpdate:page": [a[4] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
|
|
7472
7479
|
"item-count": t.tableQueries.query.itemCount,
|
|
@@ -7479,7 +7486,7 @@ function hm(t, a, o, s, c, u) {
|
|
|
7479
7486
|
"onUpdate:page"
|
|
7480
7487
|
])])) : r("", !0)], 4));
|
|
7481
7488
|
}
|
|
7482
|
-
var
|
|
7489
|
+
var hm = /*#__PURE__*/ U(um, [["render", mm], ["__scopeId", "data-v-70b54e3b"]]), Q = C({
|
|
7483
7490
|
page: {
|
|
7484
7491
|
label: "首页",
|
|
7485
7492
|
key: "/",
|
|
@@ -7490,7 +7497,7 @@ var gm = /*#__PURE__*/ U(dm, [["render", hm], ["__scopeId", "data-v-70b54e3b"]])
|
|
|
7490
7497
|
active: "/",
|
|
7491
7498
|
thumbnail: []
|
|
7492
7499
|
});
|
|
7493
|
-
function
|
|
7500
|
+
function gm(e) {
|
|
7494
7501
|
Q.cache = e.cache, Q.page = {
|
|
7495
7502
|
label: e.label,
|
|
7496
7503
|
key: e.key,
|
|
@@ -7505,14 +7512,14 @@ function _m(e) {
|
|
|
7505
7512
|
closable: !1
|
|
7506
7513
|
}];
|
|
7507
7514
|
}
|
|
7508
|
-
function
|
|
7515
|
+
function _m(e) {
|
|
7509
7516
|
Q.active = e, W.push(e), J(Q.cache, Q, 0);
|
|
7510
7517
|
}
|
|
7511
|
-
function
|
|
7518
|
+
function vm(e, t) {
|
|
7512
7519
|
let n = Q.thumbnail.find((t) => t.key === e);
|
|
7513
7520
|
n && (n.key = t, Q.active = t, J(Q.cache, Q, 0));
|
|
7514
7521
|
}
|
|
7515
|
-
function
|
|
7522
|
+
function ym(e) {
|
|
7516
7523
|
let t = Q.thumbnail.find((t) => t.path === e.key);
|
|
7517
7524
|
t ? (Q.active = t.key, J(Q.cache, Q, 0), W.push(t.key)) : (Q.active = e.key, Q.thumbnail.push({
|
|
7518
7525
|
...e,
|
|
@@ -7520,7 +7527,7 @@ function bm(e) {
|
|
|
7520
7527
|
closable: !0
|
|
7521
7528
|
}), W.push(e.key));
|
|
7522
7529
|
}
|
|
7523
|
-
function
|
|
7530
|
+
function bm(e) {
|
|
7524
7531
|
let t = Q.thumbnail.findIndex((t) => t.key === e);
|
|
7525
7532
|
if (Q.thumbnail.splice(t, 1), Q.active === e) {
|
|
7526
7533
|
let e = Q.thumbnail[t - 1]?.key || "";
|
|
@@ -7528,12 +7535,12 @@ function xm(e) {
|
|
|
7528
7535
|
}
|
|
7529
7536
|
J(Q.cache, Q, 0);
|
|
7530
7537
|
}
|
|
7531
|
-
function
|
|
7538
|
+
function xm() {
|
|
7532
7539
|
Q.active = Q.page.path, Q.thumbnail = [Q.page], W.push(Q.page.path), J(Q.cache, Q, 0);
|
|
7533
7540
|
}
|
|
7534
7541
|
//#endregion
|
|
7535
7542
|
//#region components/thumbnail/index.vue?vue&type=script&lang.ts
|
|
7536
|
-
var
|
|
7543
|
+
var Sm = d({
|
|
7537
7544
|
name: "UzThumbnail",
|
|
7538
7545
|
components: {
|
|
7539
7546
|
NTabs: Pe,
|
|
@@ -7555,29 +7562,29 @@ var Cm = d({
|
|
|
7555
7562
|
setup(e, { slots: t }) {
|
|
7556
7563
|
let n = w(!!t.prefix), r = Ke();
|
|
7557
7564
|
return y(() => {
|
|
7558
|
-
|
|
7565
|
+
gm(e.option), Q.active !== r.path && vm(r.path, r.fullPath);
|
|
7559
7566
|
}), j(() => r, (e) => {
|
|
7560
|
-
Q.active === r.path &&
|
|
7567
|
+
Q.active === r.path && vm(e.path, e.fullPath);
|
|
7561
7568
|
}, { deep: !0 }), j(() => e.option, (e) => {
|
|
7562
|
-
|
|
7569
|
+
gm(e);
|
|
7563
7570
|
}, { deep: !0 }), {
|
|
7564
7571
|
thumbnailStore: Q,
|
|
7565
7572
|
isSlotPrefix: n,
|
|
7566
7573
|
handleClose: (e) => {
|
|
7567
|
-
|
|
7574
|
+
bm(e);
|
|
7568
7575
|
},
|
|
7569
7576
|
handleChange: (e) => {
|
|
7570
|
-
|
|
7577
|
+
_m(e);
|
|
7571
7578
|
},
|
|
7572
7579
|
handleClear: () => {
|
|
7573
|
-
|
|
7580
|
+
xm();
|
|
7574
7581
|
}
|
|
7575
7582
|
};
|
|
7576
7583
|
}
|
|
7577
7584
|
});
|
|
7578
7585
|
//#endregion
|
|
7579
7586
|
//#region components/thumbnail/index.vue
|
|
7580
|
-
function
|
|
7587
|
+
function Cm(t, r, a, s, u, d) {
|
|
7581
7588
|
let f = D("NTabPane"), p = D("Trash"), m = D("NIcon"), h = D("NButton"), g = D("NPopconfirm"), _ = D("NFlex"), v = D("NTabs");
|
|
7582
7589
|
return x(), n(v, {
|
|
7583
7590
|
value: t.thumbnailStore.active,
|
|
@@ -7623,33 +7630,33 @@ function wm(t, r, a, s, u, d) {
|
|
|
7623
7630
|
"on-update:value"
|
|
7624
7631
|
]);
|
|
7625
7632
|
}
|
|
7626
|
-
var
|
|
7627
|
-
V.common.cardColor = "#32323b", V.common.primaryColor = "#0A84FF", V.common.primaryColorHover =
|
|
7628
|
-
var
|
|
7633
|
+
var wm = /*#__PURE__*/ U(Sm, [["render", Cm]]), Tm = "#007AFF", Em = "#0A84FF", Dm = "#FF9500", Om = "#FF9F0A", km = "#28CD41", Am = "#32D74B", jm = "#FFCC00", Mm = "#FFD60A", Nm = "#FF3B30", Pm = "#FF453A";
|
|
7634
|
+
V.common.cardColor = "#32323b", V.common.primaryColor = "#0A84FF", V.common.primaryColorHover = Em, V.common.infoColor = "#FF9F0A", V.common.infoColorHover = Om, V.common.successColor = "#32D74B", V.common.successColorHover = Am, V.common.warningColor = "#FFD60A", V.common.successColorHover = Mm, V.common.errorColor = "#FF453A", V.common.errorColorHover = Pm, V.common.borderRadius = "var(--borderRadius)", V.common.inputColor = "rgba(var(--input))", V.common.borderColor = "rgba(var(--border), 0.7)", V.DataTable.tdColor = "#2d2d31";
|
|
7635
|
+
var Fm = {
|
|
7629
7636
|
common: {
|
|
7630
7637
|
inputColor: "rgba(var(--input))",
|
|
7631
7638
|
borderColor: "rgba(var(--border), 0.7)",
|
|
7632
7639
|
borderRadius: "var(--borderRadius)",
|
|
7633
|
-
primaryColor:
|
|
7634
|
-
primaryColorHover:
|
|
7635
|
-
primaryColorPressed:
|
|
7636
|
-
primaryColorSuppl:
|
|
7637
|
-
infoColor:
|
|
7638
|
-
infoColorHover:
|
|
7639
|
-
infoColorPressed:
|
|
7640
|
-
infoColorSuppl:
|
|
7641
|
-
successColor:
|
|
7642
|
-
successColorHover:
|
|
7643
|
-
successColorPressed:
|
|
7644
|
-
successColorSuppl:
|
|
7645
|
-
warningColor:
|
|
7646
|
-
warningColorHover:
|
|
7647
|
-
warningColorPressed:
|
|
7648
|
-
warningColorSuppl:
|
|
7649
|
-
errorColor:
|
|
7650
|
-
errorColorHover:
|
|
7651
|
-
errorColorPressed:
|
|
7652
|
-
errorColorSuppl:
|
|
7640
|
+
primaryColor: Tm,
|
|
7641
|
+
primaryColorHover: Em,
|
|
7642
|
+
primaryColorPressed: Tm,
|
|
7643
|
+
primaryColorSuppl: Tm,
|
|
7644
|
+
infoColor: Dm,
|
|
7645
|
+
infoColorHover: Om,
|
|
7646
|
+
infoColorPressed: Dm,
|
|
7647
|
+
infoColorSuppl: Dm,
|
|
7648
|
+
successColor: km,
|
|
7649
|
+
successColorHover: Am,
|
|
7650
|
+
successColorPressed: km,
|
|
7651
|
+
successColorSuppl: km,
|
|
7652
|
+
warningColor: jm,
|
|
7653
|
+
warningColorHover: Mm,
|
|
7654
|
+
warningColorPressed: jm,
|
|
7655
|
+
warningColorSuppl: jm,
|
|
7656
|
+
errorColor: Nm,
|
|
7657
|
+
errorColorHover: Pm,
|
|
7658
|
+
errorColorPressed: Nm,
|
|
7659
|
+
errorColorSuppl: Nm,
|
|
7653
7660
|
cardColor: "#fff"
|
|
7654
7661
|
},
|
|
7655
7662
|
Button: { textColor: "rgb(var(--font))" },
|
|
@@ -7657,7 +7664,7 @@ var Im = {
|
|
|
7657
7664
|
DatePicker: { itemBorderRadius: "var(--borderRadius)" },
|
|
7658
7665
|
Notification: { borderRadius: "var(--borderRadius)" },
|
|
7659
7666
|
Radio: { boxShadow: "inset 0 0 0 1px rgb(var(--primary))" }
|
|
7660
|
-
},
|
|
7667
|
+
}, Im = V, Lm = d({
|
|
7661
7668
|
name: "UzWrap",
|
|
7662
7669
|
components: { NConfigProvider: ae },
|
|
7663
7670
|
setup() {
|
|
@@ -7665,14 +7672,14 @@ var Im = {
|
|
|
7665
7672
|
zhCN: He,
|
|
7666
7673
|
dateZhCN: Be,
|
|
7667
7674
|
commonStore: K,
|
|
7668
|
-
lightTheme:
|
|
7669
|
-
darkTheme:
|
|
7675
|
+
lightTheme: Fm,
|
|
7676
|
+
darkTheme: Im
|
|
7670
7677
|
};
|
|
7671
7678
|
}
|
|
7672
7679
|
});
|
|
7673
7680
|
//#endregion
|
|
7674
7681
|
//#region components/wrap/index.vue
|
|
7675
|
-
function
|
|
7682
|
+
function Rm(e, t, r, i, a, o) {
|
|
7676
7683
|
let s = D("NConfigProvider");
|
|
7677
7684
|
return x(), n(s, {
|
|
7678
7685
|
theme: e.commonStore.theme ? { name: "darkTheme" } : null,
|
|
@@ -7691,7 +7698,7 @@ function zm(e, t, r, i, a, o) {
|
|
|
7691
7698
|
"date-locale"
|
|
7692
7699
|
]);
|
|
7693
7700
|
}
|
|
7694
|
-
var
|
|
7701
|
+
var zm = /*#__PURE__*/ U(Lm, [["render", Rm]]), Bm = /* @__PURE__ */ at({
|
|
7695
7702
|
AccessPoint: () => ut,
|
|
7696
7703
|
Activity: () => mt,
|
|
7697
7704
|
Adjustments: () => vt,
|
|
@@ -7834,19 +7841,19 @@ var Bm = /*#__PURE__*/ U(Rm, [["render", zm]]), Vm = /* @__PURE__ */ at({
|
|
|
7834
7841
|
UzSearchMobileBar: () => cp,
|
|
7835
7842
|
UzSpin: () => kp,
|
|
7836
7843
|
UzTable: () => zp,
|
|
7837
|
-
UzTableChild: () =>
|
|
7838
|
-
UzTableDrawer: () =>
|
|
7839
|
-
UzTableMobile: () =>
|
|
7840
|
-
UzTableQuestChild: () =>
|
|
7841
|
-
UzThumbnail: () =>
|
|
7842
|
-
UzWrap: () =>
|
|
7844
|
+
UzTableChild: () => qp,
|
|
7845
|
+
UzTableDrawer: () => am,
|
|
7846
|
+
UzTableMobile: () => hm,
|
|
7847
|
+
UzTableQuestChild: () => $p,
|
|
7848
|
+
UzThumbnail: () => wm,
|
|
7849
|
+
UzWrap: () => zm,
|
|
7843
7850
|
X: () => Il,
|
|
7844
7851
|
commonStore: () => K,
|
|
7845
7852
|
fnActionReduction: () => Rd,
|
|
7846
7853
|
fnActionSimplify: () => Ld,
|
|
7847
|
-
fnAddThumbnail: () =>
|
|
7848
|
-
fnClearAllThumbnail: () =>
|
|
7849
|
-
fnDeleteThumbnail: () =>
|
|
7854
|
+
fnAddThumbnail: () => ym,
|
|
7855
|
+
fnClearAllThumbnail: () => xm,
|
|
7856
|
+
fnDeleteThumbnail: () => bm,
|
|
7850
7857
|
fnGetTableData: () => vp,
|
|
7851
7858
|
fnOptionReduction: () => wp,
|
|
7852
7859
|
fnOptionSimplify: () => Cp,
|
|
@@ -7855,18 +7862,18 @@ var Bm = /*#__PURE__*/ U(Rm, [["render", zm]]), Vm = /* @__PURE__ */ at({
|
|
|
7855
7862
|
fnRenderAction: () => Ad,
|
|
7856
7863
|
fnSetLang: () => Iu,
|
|
7857
7864
|
fnSetTheme: () => Lu,
|
|
7858
|
-
fnSetThumbnail: () =>
|
|
7865
|
+
fnSetThumbnail: () => _m,
|
|
7859
7866
|
fnTableReduction: () => bp,
|
|
7860
7867
|
fnTableSimplify: () => yp,
|
|
7861
7868
|
fnTriggersReduction: () => Sp,
|
|
7862
7869
|
fnTriggersSimplify: () => xp,
|
|
7863
7870
|
i18n: () => G
|
|
7864
|
-
}),
|
|
7865
|
-
function
|
|
7866
|
-
|
|
7871
|
+
}), Vm = 3840, Hm = 2160, Um = C({ scale: 1 });
|
|
7872
|
+
function Wm(e, t) {
|
|
7873
|
+
Vm = e, Hm = t;
|
|
7867
7874
|
}
|
|
7868
|
-
function
|
|
7869
|
-
let e = 1, t = window.innerWidth, n = window.innerHeight, r =
|
|
7875
|
+
function Gm() {
|
|
7876
|
+
let e = 1, t = window.innerWidth, n = window.innerHeight, r = Vm, i = Hm, a = parseFloat((r / i).toFixed(5));
|
|
7870
7877
|
if (parseFloat((t / n).toFixed(5)) > a) {
|
|
7871
7878
|
let t = parseFloat((n * a / r).toFixed(5));
|
|
7872
7879
|
e = t > 1 ? 1 : t;
|
|
@@ -7874,17 +7881,17 @@ function Km() {
|
|
|
7874
7881
|
let n = parseFloat((t / a / i).toFixed(5));
|
|
7875
7882
|
e = n > 1 ? 1 : n;
|
|
7876
7883
|
}
|
|
7877
|
-
|
|
7884
|
+
Um.scale = e;
|
|
7878
7885
|
}
|
|
7879
|
-
function
|
|
7880
|
-
let e = Ze(
|
|
7886
|
+
function Km() {
|
|
7887
|
+
let e = Ze(Gm, 200);
|
|
7881
7888
|
return e(), window.addEventListener("resize", e), () => {
|
|
7882
|
-
|
|
7889
|
+
Vm = 3840, Hm = 2160, window.removeEventListener("resize", e);
|
|
7883
7890
|
};
|
|
7884
7891
|
}
|
|
7885
7892
|
//#endregion
|
|
7886
7893
|
//#region components/hooks/useDebounceFn.ts
|
|
7887
|
-
function
|
|
7894
|
+
function qm(e, t = 1e3) {
|
|
7888
7895
|
let n = Ze(e, t);
|
|
7889
7896
|
return {
|
|
7890
7897
|
run: n,
|
|
@@ -7894,7 +7901,7 @@ function Jm(e, t = 1e3) {
|
|
|
7894
7901
|
}
|
|
7895
7902
|
//#endregion
|
|
7896
7903
|
//#region components/hooks/useThrottleFn.ts
|
|
7897
|
-
function
|
|
7904
|
+
function Jm(e, n = 1e3) {
|
|
7898
7905
|
let r = w(e), i = t(() => Qe((...e) => r.value([...e]), n));
|
|
7899
7906
|
return b(() => {
|
|
7900
7907
|
i.value.cancel();
|
|
@@ -7906,14 +7913,14 @@ function Ym(e, n = 1e3) {
|
|
|
7906
7913
|
}
|
|
7907
7914
|
//#endregion
|
|
7908
7915
|
//#region components/hooks/useLocalStorage.ts
|
|
7909
|
-
function
|
|
7916
|
+
function Ym(e, t) {
|
|
7910
7917
|
return [w(Y(e, t?.defaultValue)), (n) => {
|
|
7911
7918
|
n === void 0 ? Qu(e) : J(e, n, t?.expired || "1 Day");
|
|
7912
7919
|
}];
|
|
7913
7920
|
}
|
|
7914
7921
|
//#endregion
|
|
7915
7922
|
//#region components/hooks/useQuery.ts
|
|
7916
|
-
function
|
|
7923
|
+
function Xm(e, t, n) {
|
|
7917
7924
|
let r = `useQuery-${e}`, i = w(), a = w(), o = w(), s = w(!1), c = w("idle"), l = w(), u = w(0), d = w(0), f = () => {
|
|
7918
7925
|
md(), clearInterval(o.value), o.value = null;
|
|
7919
7926
|
}, p = async () => {
|
|
@@ -7979,26 +7986,26 @@ function Zm(e, t, n) {
|
|
|
7979
7986
|
}
|
|
7980
7987
|
//#endregion
|
|
7981
7988
|
//#region package.json
|
|
7982
|
-
var
|
|
7983
|
-
async function
|
|
7989
|
+
var Zm = "0.1.32", Qm;
|
|
7990
|
+
async function $m() {
|
|
7984
7991
|
let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
|
|
7985
7992
|
method: "HEAD",
|
|
7986
7993
|
cache: "no-cache"
|
|
7987
7994
|
});
|
|
7988
7995
|
return e.headers.get("etag") || e.headers.get("last-modified");
|
|
7989
7996
|
}
|
|
7990
|
-
async function
|
|
7991
|
-
let e = await
|
|
7992
|
-
|
|
7997
|
+
async function eh() {
|
|
7998
|
+
let e = await $m();
|
|
7999
|
+
Qm !== e && Ru(!0);
|
|
7993
8000
|
}
|
|
7994
|
-
async function
|
|
7995
|
-
|
|
7996
|
-
|
|
8001
|
+
async function th() {
|
|
8002
|
+
Qm = await $m(), window.versionMonitor && clearInterval(window.versionMonitor), window.versionMonitor = setInterval(() => {
|
|
8003
|
+
eh();
|
|
7997
8004
|
}, 60 * 1e3);
|
|
7998
8005
|
}
|
|
7999
8006
|
//#endregion
|
|
8000
8007
|
//#region components/monitor.ts
|
|
8001
|
-
var
|
|
8008
|
+
var nh = "", rh, $ = navigator.userAgent.toLocaleUpperCase(), ih = () => {
|
|
8002
8009
|
let e = /WINDOWS NT 5.[\d]+/, t = /WINDOWS NT 6.[\d]+/, n = /WINDOWS NT 7.[\d]+/, r = /WINDOWS NT 10.[\d]+/, i = /WINDOWS NT 11.[\d]+/, a = /ANDROID [\d.]+/, o = /IPHONE/, s = /IPAD/, c = /MAC/;
|
|
8003
8010
|
if (e.test($)) return "Windows XP";
|
|
8004
8011
|
if (t.test($)) return "Windows 7";
|
|
@@ -8022,7 +8029,7 @@ var rh = "", ih, $ = navigator.userAgent.toLocaleUpperCase(), ah = () => {
|
|
|
8022
8029
|
return `MAC ${e ? e[0].replace(/_/g, ".").replace(/ /g, "") : ""}`;
|
|
8023
8030
|
}
|
|
8024
8031
|
return "Other Platform";
|
|
8025
|
-
},
|
|
8032
|
+
}, ah = () => {
|
|
8026
8033
|
let e = /MSIE [\d]+/, t = /EDG\/[\d.]+/, n = /FIREFOX\/[\d.]+/, r = /CHROME\/[\d.]+/, i = /SAFARI\/[\d.]+/, a = /OPR\/[\d.]+/, o = /SE \d/, s = /UCBROWSER/, c = /ANDROID [\d.]+/;
|
|
8027
8034
|
if (e.test($) && o.test($)) return "SogouIE";
|
|
8028
8035
|
if (o.test($)) return "SogouFast";
|
|
@@ -8051,64 +8058,64 @@ var rh = "", ih, $ = navigator.userAgent.toLocaleUpperCase(), ah = () => {
|
|
|
8051
8058
|
}
|
|
8052
8059
|
return "Others";
|
|
8053
8060
|
};
|
|
8054
|
-
function
|
|
8061
|
+
function oh(e, t, n, r = !1) {
|
|
8055
8062
|
if (e !== void 0 && (t in e || r)) {
|
|
8056
8063
|
let r = e[t], i = n(r);
|
|
8057
8064
|
typeof i == "function" && (e[t] = i);
|
|
8058
8065
|
}
|
|
8059
8066
|
}
|
|
8060
|
-
function
|
|
8067
|
+
function sh(e, t, n, r = !1) {
|
|
8061
8068
|
e.addEventListener(t, n, r);
|
|
8062
8069
|
}
|
|
8063
|
-
function
|
|
8070
|
+
function ch() {
|
|
8064
8071
|
if (!("XMLHttpRequest" in window)) return;
|
|
8065
8072
|
let e = XMLHttpRequest.prototype;
|
|
8066
|
-
|
|
8073
|
+
oh(e, "open", (e) => function(...t) {
|
|
8067
8074
|
this.xhr = {
|
|
8068
8075
|
method: t[0].toUpperCase(),
|
|
8069
8076
|
url: t[1],
|
|
8070
8077
|
startTime: Date.now(),
|
|
8071
8078
|
type: "xhr"
|
|
8072
|
-
},
|
|
8073
|
-
this.xhr.url.indexOf("log/submit") === -1 &&
|
|
8079
|
+
}, sh(this, "error", function() {
|
|
8080
|
+
this.xhr.url.indexOf("log/submit") === -1 && uh(3, this.xhr.url, `Request-${this.status}`);
|
|
8074
8081
|
}), e.apply(this, t);
|
|
8075
|
-
}),
|
|
8082
|
+
}), oh(e, "send", (e) => function(...t) {
|
|
8076
8083
|
let { url: n } = this.xhr;
|
|
8077
8084
|
this.ontimeout = function() {
|
|
8078
|
-
|
|
8079
|
-
},
|
|
8080
|
-
(this.status === 500 || this.status === 405) &&
|
|
8085
|
+
uh(3, n, "Network Timeout");
|
|
8086
|
+
}, sh(this, "loadend", function() {
|
|
8087
|
+
(this.status === 500 || this.status === 405) && uh(3, n, `${t[0]}-${this.status}-${this.response}`);
|
|
8081
8088
|
}), e.apply(this, t);
|
|
8082
8089
|
});
|
|
8083
8090
|
}
|
|
8084
|
-
function
|
|
8085
|
-
t && (
|
|
8086
|
-
|
|
8091
|
+
function lh(e, t, n) {
|
|
8092
|
+
t && (nh = t, rh = n, ch(), e.config.errorHandler = (e) => {
|
|
8093
|
+
uh(2, window.location.href, e.message);
|
|
8087
8094
|
}, window.addEventListener("unhandledrejection", function(e) {
|
|
8088
8095
|
e.preventDefault();
|
|
8089
8096
|
}));
|
|
8090
8097
|
}
|
|
8091
|
-
var
|
|
8092
|
-
let r =
|
|
8098
|
+
var uh = (e, t, n) => {
|
|
8099
|
+
let r = rh ? JSON.stringify(rh()) : "", i = {
|
|
8093
8100
|
type: e,
|
|
8094
8101
|
time: Date.now(),
|
|
8095
8102
|
url: encodeURIComponent(t || location.href),
|
|
8096
|
-
browser:
|
|
8097
|
-
platform:
|
|
8103
|
+
browser: ah(),
|
|
8104
|
+
platform: ih(),
|
|
8098
8105
|
message: n,
|
|
8099
8106
|
info: r
|
|
8100
8107
|
}, a = window.btoa(JSON.stringify(i));
|
|
8101
|
-
if (window.navigator.sendBeacon) window.navigator.sendBeacon(
|
|
8108
|
+
if (window.navigator.sendBeacon) window.navigator.sendBeacon(nh, a);
|
|
8102
8109
|
else {
|
|
8103
8110
|
let e = document.body, t = new Image();
|
|
8104
|
-
t.src =
|
|
8111
|
+
t.src = nh + "?data=" + a, t.onload = t.onerror = function() {
|
|
8105
8112
|
e.removeChild(t), t = null;
|
|
8106
8113
|
}, e.append(t);
|
|
8107
8114
|
}
|
|
8108
8115
|
};
|
|
8109
8116
|
//#endregion
|
|
8110
8117
|
//#region components/create.ts
|
|
8111
|
-
function
|
|
8118
|
+
function dh({ components: e = [] } = {}) {
|
|
8112
8119
|
let t = [];
|
|
8113
8120
|
function n(e, t, n) {
|
|
8114
8121
|
e.component(t) || e.component(t, n);
|
|
@@ -8121,16 +8128,16 @@ function fh({ components: e = [] } = {}) {
|
|
|
8121
8128
|
});
|
|
8122
8129
|
}), i)) {
|
|
8123
8130
|
let { title: e = "杭州宇臻智能", monitor: t = !1, monitorFn: n, version: a = !0, language: o = !1, local: s = "zh-CN" } = i, c = Y("theme", !1), l = Y("lang", s);
|
|
8124
|
-
zu(e), Fu(o), Iu(l), Lu(c), G.global.locale.value = l, a &&
|
|
8131
|
+
zu(e), Fu(o), Iu(l), Lu(c), G.global.locale.value = l, a && th(), t && lh(r, t, n);
|
|
8125
8132
|
}
|
|
8126
8133
|
}
|
|
8127
8134
|
return {
|
|
8128
|
-
version:
|
|
8135
|
+
version: Zm,
|
|
8129
8136
|
install: r
|
|
8130
8137
|
};
|
|
8131
8138
|
}
|
|
8132
8139
|
//#endregion
|
|
8133
8140
|
//#region components/preset.ts
|
|
8134
|
-
var
|
|
8141
|
+
var fh = dh({ components: Object.keys(Bm).map((e) => Bm[e]) }), ph = fh.install;
|
|
8135
8142
|
//#endregion
|
|
8136
|
-
export { ut as AccessPoint, mt as Activity, vt as Adjustments, St as AdjustmentsHorizontal, Et as Affiliate, At as Alarm, Pt as AlertCircle, Rt as ApiApp, Kt as AppWindow, Ht as Apps, Xt as Archive, en as ArrowNarrowLeft, an as AspectRatio, ln as Atom, pn as Atom2, _n as Award, gd as BLOB, xn as Barcode, Tn as Basket, kn as Bell, Nn as Bluetooth, Ln as Book2, vu as Books, Vn as Box, Gn as BrandAsana, Au as BrandStackoverflow, Yn as Briefcase, $n as Building, rr as BuildingArch, nu as BuildingWarehouse, _d as CUSTOM, dr as Calculator, hr as Calendar, yr as CalendarPlus, Cr as CalendarStats, Dr as Camera, jr as CaretDown, Fr as CaretUp, zr as ChartArea, Ur as ChartBar, qr as ChartBubble, Zr as ChartDonut, ti as ChartLine, ai as ChartPie, li as ChartRadar, Jl as CheckMark, pi as Checkbox, _i as CheckupList, Wl as CircleMinus, xi as Clipboard, Ti as ClipboardCheck, ki as ClipboardList, Ni as ClipboardPlus, Li as Clock, Vi as Cloud, Gi as CloudDownload, Yi as CloudUpload, $i as Command, Su as Confetti, uu as Container, ra as Copy, sr as Cpu, sa as CreditCard, da as Crosshair, ha as CurrencyYen, mu as Dashboard, ya as Database, Ca as DatabaseExport, Da as DatabaseImport, ja as DeviceAnalytics, Fa as DeviceDesktop, za as DeviceDesktopAnalytics, Ua as DeviceLaptop, qa as DeviceMobile, Za as Diamond, to as Dots, ao as DotsVertical, lo as Edit, mo as Eraser, vo as Eye, vd as FILE, So as File, Eo as FileAlert, Ao as FileAnalytics, Po as FileText, Ro as Filter, hd as GET, Ho as GitCompare, Ko as GitPullRequest, Xo as GridDots, es as Home, Nu as IconList, is as Id, cs as LayoutSidebarLeftCollapse, fs as LayoutSidebarLeftExpand, gs as Link, bs as List, ws as ListCheck, Os as ListDetails, Ms as Mail, Is as Map, Bs as MapPin, ou as Menu2, Ql as Message2, Eu as MinusRound, Ws as MoonStars, Z as POST, Js as Paperclip, Qs as Photo, nc as PhotoOff, oc as Plus, uc as Presentation, mc as PresentationAnalytics, vc as Printer, Sc as Qrcode, Ec as Refresh, Ac as Report, Pc as ReportAnalytics, Rc as ReportMoney, Hc as ReportSearch, Kc as Search, Xc as Settings, el as SmartHome, il as Sun, cl as TransferIn, fl as TransferOut, gl as Trash, bl as User, Bl as UserCircle, wl as UserMinus, Ol as UserPlus, Ml as Users, ot as UzActionButton, Vd as UzBack, Xf as UzCamera, gf as UzCircle, kf as UzDraggableForm, wf as UzForm, bf as UzFormItem, zf as UzFormItemImage, Uf as UzFormItemTimesPicker, Ff as UzFormItemUpload, Mu as UzIcon, np as UzSearchBar, cp as UzSearchMobileBar, kp as UzSpin, zp as UzTable,
|
|
8143
|
+
export { ut as AccessPoint, mt as Activity, vt as Adjustments, St as AdjustmentsHorizontal, Et as Affiliate, At as Alarm, Pt as AlertCircle, Rt as ApiApp, Kt as AppWindow, Ht as Apps, Xt as Archive, en as ArrowNarrowLeft, an as AspectRatio, ln as Atom, pn as Atom2, _n as Award, gd as BLOB, xn as Barcode, Tn as Basket, kn as Bell, Nn as Bluetooth, Ln as Book2, vu as Books, Vn as Box, Gn as BrandAsana, Au as BrandStackoverflow, Yn as Briefcase, $n as Building, rr as BuildingArch, nu as BuildingWarehouse, _d as CUSTOM, dr as Calculator, hr as Calendar, yr as CalendarPlus, Cr as CalendarStats, Dr as Camera, jr as CaretDown, Fr as CaretUp, zr as ChartArea, Ur as ChartBar, qr as ChartBubble, Zr as ChartDonut, ti as ChartLine, ai as ChartPie, li as ChartRadar, Jl as CheckMark, pi as Checkbox, _i as CheckupList, Wl as CircleMinus, xi as Clipboard, Ti as ClipboardCheck, ki as ClipboardList, Ni as ClipboardPlus, Li as Clock, Vi as Cloud, Gi as CloudDownload, Yi as CloudUpload, $i as Command, Su as Confetti, uu as Container, ra as Copy, sr as Cpu, sa as CreditCard, da as Crosshair, ha as CurrencyYen, mu as Dashboard, ya as Database, Ca as DatabaseExport, Da as DatabaseImport, ja as DeviceAnalytics, Fa as DeviceDesktop, za as DeviceDesktopAnalytics, Ua as DeviceLaptop, qa as DeviceMobile, Za as Diamond, to as Dots, ao as DotsVertical, lo as Edit, mo as Eraser, vo as Eye, vd as FILE, So as File, Eo as FileAlert, Ao as FileAnalytics, Po as FileText, Ro as Filter, hd as GET, Ho as GitCompare, Ko as GitPullRequest, Xo as GridDots, es as Home, Nu as IconList, is as Id, cs as LayoutSidebarLeftCollapse, fs as LayoutSidebarLeftExpand, gs as Link, bs as List, ws as ListCheck, Os as ListDetails, Ms as Mail, Is as Map, Bs as MapPin, ou as Menu2, Ql as Message2, Eu as MinusRound, Ws as MoonStars, Z as POST, Js as Paperclip, Qs as Photo, nc as PhotoOff, oc as Plus, uc as Presentation, mc as PresentationAnalytics, vc as Printer, Sc as Qrcode, Ec as Refresh, Ac as Report, Pc as ReportAnalytics, Rc as ReportMoney, Hc as ReportSearch, Kc as Search, Xc as Settings, el as SmartHome, il as Sun, cl as TransferIn, fl as TransferOut, gl as Trash, bl as User, Bl as UserCircle, wl as UserMinus, Ol as UserPlus, Ml as Users, ot as UzActionButton, Vd as UzBack, Xf as UzCamera, gf as UzCircle, kf as UzDraggableForm, wf as UzForm, bf as UzFormItem, zf as UzFormItemImage, Uf as UzFormItemTimesPicker, Ff as UzFormItemUpload, Mu as UzIcon, np as UzSearchBar, cp as UzSearchMobileBar, kp as UzSpin, zp as UzTable, qp as UzTableChild, am as UzTableDrawer, hm as UzTableMobile, $p as UzTableQuestChild, wm as UzThumbnail, zm as UzWrap, Il as X, K as commonStore, dh as create, Im as darkTheme, fh as default, Rd as fnActionReduction, Ld as fnActionSimplify, ym as fnAddThumbnail, md as fnCancelFetch, xm as fnClearAllThumbnail, Gm as fnComputedScale, Pu as fnCreateRouter, Qu as fnDelStorage, ed as fnDelStorageAll, $u as fnDelStorageByPrefix, bm as fnDeleteThumbnail, Zu as fnDialog, q as fnErrorLog, rd as fnFormatTime, sd as fnFormatUnits, od as fnFullScreen, Y as fnGetStorage, vp as fnGetTableData, Km as fnListenerScale, Xu as fnNotification, wp as fnOptionReduction, Cp as fnOptionSimplify, nd as fnPageModel2Naive, Tp as fnPrepareFormData, Ep as fnPrepareTableData, Ad as fnRenderAction, td as fnScrollTop, Iu as fnSetLang, Wm as fnSetNormalWidthAndHeight, J as fnSetStorage, Lu as fnSetTheme, _m as fnSetThumbnail, bp as fnTableReduction, yp as fnTableSimplify, ad as fnThrottle, id as fnTitle, Sp as fnTriggersReduction, xp as fnTriggersSimplify, G as i18n, ph as install, Fm as lightTheme, W as router, Um as scaleStore, qm as useDebounceFn, Ym as useLocalStorage, Xm as useQuery, Jm as useThrottleFn };
|