@unizhen/ui 0.1.98 → 0.1.99
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 +0 -1
- package/lib/ui.js +293 -300
- package/package.json +1 -1
package/lib/ui.js
CHANGED
|
@@ -3589,7 +3589,7 @@ function Pp(t, n, i, c, d, f) {
|
|
|
3589
3589
|
maxTagCount: "responsive",
|
|
3590
3590
|
"render-label": t.item.params.renderLabel,
|
|
3591
3591
|
"render-tag": t.item.params.renderTag,
|
|
3592
|
-
loading: t.item.params._fetch,
|
|
3592
|
+
loading: t.item.params._fetch || !1,
|
|
3593
3593
|
"on-focus": async () => {
|
|
3594
3594
|
t.item.params._async && (t.item.params._fetch = !0, t.item.params.options = await t.item.params._asyncFn(), t.item.params._async = !1, t.item.params._fetch = !1);
|
|
3595
3595
|
},
|
|
@@ -7178,13 +7178,13 @@ var uh = /*#__PURE__*/ W(rh, [["render", lh]]), dh = f({
|
|
|
7178
7178
|
},
|
|
7179
7179
|
emits: ["update:value"],
|
|
7180
7180
|
setup(e, { emit: t, expose: r }) {
|
|
7181
|
-
let i = m("emitSuffix"), a = m("modules"), o = m("mainFormValue"), s = m("childFormReload"), c = n(() => s ? s() : 0), { t: l } = Ze(), u = T(), d = T(), f = T(), h = T(!
|
|
7181
|
+
let i = m("emitSuffix"), a = m("modules"), o = m("mainFormValue"), s = m("childFormReload"), c = n(() => s ? s() : 0), { t: l } = Ze(), u = T(), d = T(), f = T(), h = T(!1), _ = T(!0), v = T([]), b = T({ child: [] }), x = T(""), S = T({}), C = T([]), w = T(void 0), E = async (t, n) => {
|
|
7182
7182
|
let { formDefaultValue: r, fillingDefaultArray: i } = await Wm(U(n ?? e.item.params.columns), t, void 0, !0);
|
|
7183
|
-
return
|
|
7184
|
-
},
|
|
7185
|
-
if (
|
|
7186
|
-
|
|
7187
|
-
let n = await
|
|
7183
|
+
return S.value = r, i;
|
|
7184
|
+
}, D = async (t) => {
|
|
7185
|
+
if (h.value) return;
|
|
7186
|
+
h.value = !0;
|
|
7187
|
+
let n = await E(t), r = U(t).map((e, t) => ({
|
|
7188
7188
|
...e,
|
|
7189
7189
|
...n[t]
|
|
7190
7190
|
}));
|
|
@@ -7196,21 +7196,21 @@ var uh = /*#__PURE__*/ W(rh, [["render", lh]]), dh = f({
|
|
|
7196
7196
|
t.forEach((t) => {
|
|
7197
7197
|
e[t] && typeof e[t] == "string" && (e[t] = JSON.parse(e[t]));
|
|
7198
7198
|
});
|
|
7199
|
-
}), e.item.params.init && r.length === 0 && e.status === 0 && (r = [
|
|
7199
|
+
}), e.item.params.init && r.length === 0 && e.status === 0 && (r = [S.value]), e.item.params.merge && typeof e.item.params.merge == "string") try {
|
|
7200
7200
|
let t = e.item.params.merge;
|
|
7201
7201
|
r = await Function("formValue", "mainFormValue", "POST", t)(r, o, Q);
|
|
7202
7202
|
} catch (e) {
|
|
7203
7203
|
J(e);
|
|
7204
7204
|
}
|
|
7205
|
-
|
|
7206
|
-
|
|
7205
|
+
b.value.child = r, h.value = !1, g(() => {
|
|
7206
|
+
P();
|
|
7207
7207
|
});
|
|
7208
7208
|
} else g(() => {
|
|
7209
|
-
|
|
7209
|
+
P();
|
|
7210
7210
|
});
|
|
7211
|
-
},
|
|
7212
|
-
|
|
7213
|
-
let { tableColumns: r, tableWidth: i } = await Gm(U(t ?? e.item.params.columns), !0, e.status, () =>
|
|
7211
|
+
}, O = (e) => e.delete ? "uz-table-child-delete" : "", k = async (t, n = !1) => {
|
|
7212
|
+
e.item._suffix && (C.value = e.item._suffix.filter((e) => e.sub)), await E(e.value, t);
|
|
7213
|
+
let { tableColumns: r, tableWidth: i } = await Gm(U(t ?? e.item.params.columns), !0, e.status, () => b.value.child, a, n), s = i;
|
|
7214
7214
|
r.unshift({
|
|
7215
7215
|
title: " ",
|
|
7216
7216
|
key: "index",
|
|
@@ -7245,7 +7245,7 @@ var uh = /*#__PURE__*/ W(rh, [["render", lh]]), dh = f({
|
|
|
7245
7245
|
let r = [];
|
|
7246
7246
|
return e.item.params.childActions && e.item.params.actions && Hf(e.item.params.actions).forEach((e) => {
|
|
7247
7247
|
e.disabled && typeof e.disabled == "string" && (e.disabled = Function("rowData", "rowIndex", e.disabled)(t, n)), r.push(e);
|
|
7248
|
-
}), e.item.params.showDelete && e.status !== 2 && (
|
|
7248
|
+
}), e.item.params.showDelete && e.status !== 2 && (b.value.child.length > 1 && e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly) && r.push({
|
|
7249
7249
|
type: "normal",
|
|
7250
7250
|
color: "error",
|
|
7251
7251
|
key: "delete",
|
|
@@ -7264,8 +7264,8 @@ var uh = /*#__PURE__*/ W(rh, [["render", lh]]), dh = f({
|
|
|
7264
7264
|
let c = [];
|
|
7265
7265
|
r.forEach((e) => {
|
|
7266
7266
|
e.show && c.push(e);
|
|
7267
|
-
}),
|
|
7268
|
-
},
|
|
7267
|
+
}), v.value = c, s += 60, w.value = s;
|
|
7268
|
+
}, ee = (t) => {
|
|
7269
7269
|
if (e.item.params.summary) {
|
|
7270
7270
|
if (typeof e.item.params.summary == "function") return e.item.params.summary(t);
|
|
7271
7271
|
try {
|
|
@@ -7276,12 +7276,12 @@ var uh = /*#__PURE__*/ W(rh, [["render", lh]]), dh = f({
|
|
|
7276
7276
|
}
|
|
7277
7277
|
}
|
|
7278
7278
|
return [];
|
|
7279
|
-
},
|
|
7280
|
-
|
|
7281
|
-
|
|
7279
|
+
}, A = async () => {
|
|
7280
|
+
x.value = "", b.value.child.push(U(S.value)), g(() => {
|
|
7281
|
+
P();
|
|
7282
7282
|
});
|
|
7283
|
-
},
|
|
7284
|
-
|
|
7283
|
+
}, te = async () => {
|
|
7284
|
+
x.value = "";
|
|
7285
7285
|
try {
|
|
7286
7286
|
let t = e.item.params.options;
|
|
7287
7287
|
if (t) {
|
|
@@ -7289,52 +7289,52 @@ var uh = /*#__PURE__*/ W(rh, [["render", lh]]), dh = f({
|
|
|
7289
7289
|
e.item.params.optionsType && i({
|
|
7290
7290
|
open: e.item.params.optionsType,
|
|
7291
7291
|
mainFormValue: o,
|
|
7292
|
-
children: () =>
|
|
7292
|
+
children: () => b.value.child,
|
|
7293
7293
|
callback: async (e) => {
|
|
7294
7294
|
let t = await n(e, o, Q);
|
|
7295
|
-
|
|
7296
|
-
|
|
7295
|
+
b.value.child = [...b.value.child, ...t], g(() => {
|
|
7296
|
+
P();
|
|
7297
7297
|
});
|
|
7298
7298
|
}
|
|
7299
7299
|
});
|
|
7300
7300
|
} else e.item.params.optionsType && i({
|
|
7301
7301
|
open: e.item.params.optionsType,
|
|
7302
7302
|
mainFormValue: o,
|
|
7303
|
-
children: () =>
|
|
7303
|
+
children: () => b.value.child,
|
|
7304
7304
|
callback: async (e) => {
|
|
7305
|
-
|
|
7306
|
-
|
|
7305
|
+
b.value.child = [...b.value.child, ...e], g(() => {
|
|
7306
|
+
P();
|
|
7307
7307
|
});
|
|
7308
7308
|
}
|
|
7309
7309
|
});
|
|
7310
7310
|
} catch (e) {
|
|
7311
7311
|
J(e);
|
|
7312
7312
|
}
|
|
7313
|
-
},
|
|
7313
|
+
}, j = () => {
|
|
7314
7314
|
f.value?.restoreValidation();
|
|
7315
|
-
},
|
|
7316
|
-
let r =
|
|
7315
|
+
}, N = () => (x.value = "", new Promise((t, n) => {
|
|
7316
|
+
let r = b.value.child.filter((e) => !e.delete).length;
|
|
7317
7317
|
if (e.item.form.rule.required && r === 0) {
|
|
7318
|
-
|
|
7318
|
+
x.value = e.item.form.rule.message, n();
|
|
7319
7319
|
return;
|
|
7320
7320
|
}
|
|
7321
7321
|
f.value?.validate((r) => {
|
|
7322
|
-
r ? (
|
|
7322
|
+
r ? (x.value = e.item.form.rule.message, n()) : t();
|
|
7323
7323
|
});
|
|
7324
|
-
})),
|
|
7324
|
+
})), P = () => {
|
|
7325
7325
|
if (e.item.params.draggable && e.status !== 2 && u.value && !d.value) {
|
|
7326
7326
|
let e = u.value.$el.querySelector(".n-data-table-tbody");
|
|
7327
7327
|
e && (d.value = ot.create(e, {
|
|
7328
7328
|
handle: ".uz-drag-handle",
|
|
7329
7329
|
onEnd: ({ oldIndex: e, newIndex: t }) => {
|
|
7330
|
-
d.value?.destroy(), d.value = null,
|
|
7331
|
-
let n = U(
|
|
7330
|
+
d.value?.destroy(), d.value = null, _.value = !1;
|
|
7331
|
+
let n = U(b.value.child), r = n.splice(e, 1)[0];
|
|
7332
7332
|
n.splice(t, 0, r), n = n.map((e, t) => ({
|
|
7333
7333
|
...e,
|
|
7334
7334
|
sort_index: t
|
|
7335
|
-
})),
|
|
7336
|
-
|
|
7337
|
-
|
|
7335
|
+
})), b.value.child = n, g(() => {
|
|
7336
|
+
_.value = !0, setTimeout(() => {
|
|
7337
|
+
P();
|
|
7338
7338
|
}, 0);
|
|
7339
7339
|
});
|
|
7340
7340
|
}
|
|
@@ -7344,165 +7344,158 @@ var uh = /*#__PURE__*/ W(rh, [["render", lh]]), dh = f({
|
|
|
7344
7344
|
return y(() => {
|
|
7345
7345
|
d.value?.destroy(), d.value = null;
|
|
7346
7346
|
}), r({
|
|
7347
|
-
validate:
|
|
7348
|
-
restoreValidation:
|
|
7347
|
+
validate: N,
|
|
7348
|
+
restoreValidation: j
|
|
7349
7349
|
}), M(() => e.item.params.columns, (e, t) => {
|
|
7350
|
-
JSON.stringify(e) !== JSON.stringify(t) &&
|
|
7350
|
+
JSON.stringify(e) !== JSON.stringify(t) && k(e);
|
|
7351
7351
|
}, {
|
|
7352
7352
|
deep: !0,
|
|
7353
7353
|
immediate: !0
|
|
7354
7354
|
}), M(() => e.value, (e) => {
|
|
7355
|
-
JSON.stringify(e) !== JSON.stringify(
|
|
7355
|
+
JSON.stringify(e) !== JSON.stringify(b.value.child) && D(e);
|
|
7356
7356
|
}, {
|
|
7357
7357
|
deep: !0,
|
|
7358
7358
|
immediate: !0
|
|
7359
|
-
}), M(() =>
|
|
7359
|
+
}), M(() => b.value.child, (n) => {
|
|
7360
7360
|
e.status !== 2 && t("update:value", n);
|
|
7361
7361
|
}, { deep: !0 }), M(() => c.value, async () => {
|
|
7362
|
-
await
|
|
7362
|
+
await k(void 0, !0);
|
|
7363
7363
|
}), {
|
|
7364
|
-
|
|
7365
|
-
loading: _,
|
|
7364
|
+
loading: h,
|
|
7366
7365
|
formRef: f,
|
|
7367
7366
|
tableRef: u,
|
|
7368
|
-
columns:
|
|
7369
|
-
tableData:
|
|
7370
|
-
summaryData:
|
|
7371
|
-
message:
|
|
7372
|
-
tableScrollX:
|
|
7373
|
-
tableShow:
|
|
7374
|
-
suffixes:
|
|
7375
|
-
onAdd:
|
|
7376
|
-
onAddFormData:
|
|
7377
|
-
rowClassName:
|
|
7367
|
+
columns: v,
|
|
7368
|
+
tableData: b,
|
|
7369
|
+
summaryData: ee,
|
|
7370
|
+
message: x,
|
|
7371
|
+
tableScrollX: w,
|
|
7372
|
+
tableShow: _,
|
|
7373
|
+
suffixes: C,
|
|
7374
|
+
onAdd: A,
|
|
7375
|
+
onAddFormData: te,
|
|
7376
|
+
rowClassName: O,
|
|
7378
7377
|
doSuffixClick: (e) => {
|
|
7379
7378
|
i({
|
|
7380
7379
|
open: e.optionsType,
|
|
7381
7380
|
mainFormValue: o,
|
|
7382
7381
|
onClick: e.onClick,
|
|
7383
7382
|
optionsSource: e.optionsSource,
|
|
7384
|
-
children: () =>
|
|
7383
|
+
children: () => b.value.child,
|
|
7385
7384
|
callback: () => null
|
|
7386
7385
|
});
|
|
7387
7386
|
}
|
|
7388
7387
|
};
|
|
7389
7388
|
}
|
|
7390
|
-
}), fh = { class: "uz-flex uz-justify-between" },
|
|
7389
|
+
}), fh = { class: "uz-flex-1 uz-w-full" }, ph = { class: "uz-flex uz-justify-between" }, mh = { class: "uz-com-title" }, hh = {
|
|
7391
7390
|
key: 0,
|
|
7392
7391
|
class: "uz-table-asterisk"
|
|
7393
|
-
},
|
|
7394
|
-
function
|
|
7395
|
-
let m = O("UzIcon"), h = O("NIcon"), g = O("NButton"), v = O("Plus"), y = O("NDataTable"), b = O("NForm")
|
|
7396
|
-
return S(),
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7392
|
+
}, gh = { class: "uz-flex uz-gap-2" }, _h = { class: "uz-flex uz-justify-end uz-gap-2" };
|
|
7393
|
+
function vh(t, n, c, d, f, p) {
|
|
7394
|
+
let m = O("UzIcon"), h = O("NIcon"), g = O("NButton"), v = O("Plus"), y = O("NDataTable"), b = O("NForm");
|
|
7395
|
+
return S(), a("div", fh, [
|
|
7396
|
+
o("div", ph, [o("div", mh, [l(A(t.item.label) + " ", 1), t.item.form.rule.required ? (S(), a("span", hh, " \xA0* ")) : i("", !0)]), o("div", gh, [
|
|
7397
|
+
t.status === 2 ? i("", !0) : (S(!0), a(e, { key: 0 }, E(t.suffixes, (e) => (S(), r(g, {
|
|
7398
|
+
key: e.key,
|
|
7399
|
+
type: e.color,
|
|
7400
|
+
secondary: "",
|
|
7401
|
+
onClick: (n) => t.doSuffixClick(e)
|
|
7402
|
+
}, s({
|
|
7403
|
+
default: P(() => [l(" " + A(e.buttonText), 1)]),
|
|
7404
|
+
_: 2
|
|
7405
|
+
}, [e.icon ? {
|
|
7406
|
+
name: "icon",
|
|
7407
|
+
fn: P(() => [u(h, null, {
|
|
7408
|
+
default: P(() => [u(m, { icon: e.icon }, null, 8, ["icon"])]),
|
|
7409
7409
|
_: 2
|
|
7410
|
-
},
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
secondary: "",
|
|
7422
|
-
onClick: t.onAddFormData
|
|
7423
|
-
}, {
|
|
7424
|
-
icon: P(() => [u(h, null, {
|
|
7425
|
-
default: P(() => [u(v)]),
|
|
7426
|
-
_: 1
|
|
7427
|
-
})]),
|
|
7428
|
-
default: P(() => [n[0] ||= l(" 从数据新增 ", -1)]),
|
|
7410
|
+
}, 1024)]),
|
|
7411
|
+
key: "0"
|
|
7412
|
+
} : void 0]), 1032, ["type", "onClick"]))), 128)),
|
|
7413
|
+
t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (S(), r(g, {
|
|
7414
|
+
key: 1,
|
|
7415
|
+
type: "success",
|
|
7416
|
+
secondary: "",
|
|
7417
|
+
onClick: t.onAddFormData
|
|
7418
|
+
}, {
|
|
7419
|
+
icon: P(() => [u(h, null, {
|
|
7420
|
+
default: P(() => [u(v)]),
|
|
7429
7421
|
_: 1
|
|
7430
|
-
}
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
default: P(() => [
|
|
7422
|
+
})]),
|
|
7423
|
+
default: P(() => [n[0] ||= l(" 从数据新增 ", -1)]),
|
|
7424
|
+
_: 1
|
|
7425
|
+
}, 8, ["onClick"])) : i("", !0),
|
|
7426
|
+
t.item.params.addButton && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (S(), r(g, {
|
|
7427
|
+
key: 2,
|
|
7428
|
+
type: "success",
|
|
7429
|
+
secondary: "",
|
|
7430
|
+
onClick: t.onAdd
|
|
7431
|
+
}, {
|
|
7432
|
+
icon: P(() => [u(h, null, {
|
|
7433
|
+
default: P(() => [u(v)]),
|
|
7442
7434
|
_: 1
|
|
7443
|
-
}
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7435
|
+
})]),
|
|
7436
|
+
default: P(() => [n[1] ||= l(" 新增 ", -1)]),
|
|
7437
|
+
_: 1
|
|
7438
|
+
}, 8, ["onClick"])) : i("", !0)
|
|
7439
|
+
])]),
|
|
7440
|
+
n[4] ||= o("div", { class: "uz-br" }, null, -1),
|
|
7441
|
+
u(b, {
|
|
7442
|
+
ref: "formRef",
|
|
7443
|
+
"label-width": 80,
|
|
7444
|
+
model: t.tableData,
|
|
7445
|
+
class: "uz-flex uz-flex-col uz-gap-2"
|
|
7446
|
+
}, {
|
|
7447
|
+
default: P(() => [t.tableShow ? (S(), r(y, {
|
|
7448
|
+
key: 0,
|
|
7449
|
+
ref: "tableRef",
|
|
7450
|
+
columns: t.columns,
|
|
7451
|
+
data: t.tableData.child,
|
|
7452
|
+
pagination: !1,
|
|
7453
|
+
loading: t.loading,
|
|
7454
|
+
summary: t.summaryData,
|
|
7455
|
+
"scroll-x": t.tableScrollX,
|
|
7456
|
+
class: _([t.message ? "error-border" : void 0, "uz-table-child"]),
|
|
7457
|
+
size: "small",
|
|
7458
|
+
"row-class-name": t.rowClassName,
|
|
7459
|
+
"scrollbar-props": { trigger: "none" },
|
|
7460
|
+
remote: ""
|
|
7461
|
+
}, null, 8, [
|
|
7462
|
+
"columns",
|
|
7463
|
+
"data",
|
|
7464
|
+
"loading",
|
|
7465
|
+
"summary",
|
|
7466
|
+
"scroll-x",
|
|
7467
|
+
"class",
|
|
7468
|
+
"row-class-name"
|
|
7469
|
+
])) : i("", !0), o("div", _h, [t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (S(), r(g, {
|
|
7470
|
+
key: 0,
|
|
7471
|
+
type: "success",
|
|
7472
|
+
secondary: "",
|
|
7473
|
+
onClick: t.onAddFormData
|
|
7451
7474
|
}, {
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
ref: "tableRef",
|
|
7455
|
-
columns: t.columns,
|
|
7456
|
-
data: t.tableData.child,
|
|
7457
|
-
pagination: !1,
|
|
7458
|
-
loading: t.loading,
|
|
7459
|
-
summary: t.summaryData,
|
|
7460
|
-
"scroll-x": t.tableScrollX,
|
|
7461
|
-
class: _([t.message ? "error-border" : void 0, "uz-table-child"]),
|
|
7462
|
-
size: "small",
|
|
7463
|
-
"row-class-name": t.rowClassName,
|
|
7464
|
-
"scrollbar-props": { trigger: "none" },
|
|
7465
|
-
remote: ""
|
|
7466
|
-
}, null, 8, [
|
|
7467
|
-
"columns",
|
|
7468
|
-
"data",
|
|
7469
|
-
"loading",
|
|
7470
|
-
"summary",
|
|
7471
|
-
"scroll-x",
|
|
7472
|
-
"class",
|
|
7473
|
-
"row-class-name"
|
|
7474
|
-
])) : i("", !0), o("div", gh, [t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (S(), r(g, {
|
|
7475
|
-
key: 0,
|
|
7476
|
-
type: "success",
|
|
7477
|
-
secondary: "",
|
|
7478
|
-
onClick: t.onAddFormData
|
|
7479
|
-
}, {
|
|
7480
|
-
icon: P(() => [u(h, null, {
|
|
7481
|
-
default: P(() => [u(v)]),
|
|
7482
|
-
_: 1
|
|
7483
|
-
})]),
|
|
7484
|
-
default: P(() => [n[2] ||= l(" 从数据新增 ", -1)]),
|
|
7475
|
+
icon: P(() => [u(h, null, {
|
|
7476
|
+
default: P(() => [u(v)]),
|
|
7485
7477
|
_: 1
|
|
7486
|
-
}
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
default: P(() => [
|
|
7478
|
+
})]),
|
|
7479
|
+
default: P(() => [n[2] ||= l(" 从数据新增 ", -1)]),
|
|
7480
|
+
_: 1
|
|
7481
|
+
}, 8, ["onClick"])) : i("", !0), t.item.params.addButton && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (S(), r(g, {
|
|
7482
|
+
key: 1,
|
|
7483
|
+
type: "success",
|
|
7484
|
+
secondary: "",
|
|
7485
|
+
onClick: t.onAdd
|
|
7486
|
+
}, {
|
|
7487
|
+
icon: P(() => [u(h, null, {
|
|
7488
|
+
default: P(() => [u(v)]),
|
|
7497
7489
|
_: 1
|
|
7498
|
-
}
|
|
7490
|
+
})]),
|
|
7491
|
+
default: P(() => [n[3] ||= l(" 新增 ", -1)]),
|
|
7499
7492
|
_: 1
|
|
7500
|
-
}, 8, ["
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7493
|
+
}, 8, ["onClick"])) : i("", !0)])]),
|
|
7494
|
+
_: 1
|
|
7495
|
+
}, 8, ["model"])
|
|
7496
|
+
]);
|
|
7504
7497
|
}
|
|
7505
|
-
var
|
|
7498
|
+
var yh = /*#__PURE__*/ W(dh, [["render", vh]]), bh = f({
|
|
7506
7499
|
name: "UzTableQuestChild",
|
|
7507
7500
|
components: { NDataTable: se },
|
|
7508
7501
|
props: {
|
|
@@ -7604,11 +7597,11 @@ var vh = /*#__PURE__*/ W(dh, [["render", _h]]), yh = f({
|
|
|
7604
7597
|
tableScrollX: s
|
|
7605
7598
|
};
|
|
7606
7599
|
}
|
|
7607
|
-
}),
|
|
7608
|
-
function
|
|
7600
|
+
}), xh = { class: "uz-flex-1 uz-w-full" }, Sh = { class: "uz-flex uz-justify-between" }, Ch = { class: "uz-com-title" };
|
|
7601
|
+
function wh(e, t, n, r, i, s) {
|
|
7609
7602
|
let c = O("NDataTable"), l = O("UzTableDrawer");
|
|
7610
|
-
return S(), a("div",
|
|
7611
|
-
o("div",
|
|
7603
|
+
return S(), a("div", xh, [
|
|
7604
|
+
o("div", Sh, [o("div", Ch, A(e.item.label), 1)]),
|
|
7612
7605
|
t[0] ||= o("div", { class: "uz-br" }, null, -1),
|
|
7613
7606
|
u(c, {
|
|
7614
7607
|
columns: e.columns,
|
|
@@ -7630,7 +7623,7 @@ function Ch(e, t, n, r, i, s) {
|
|
|
7630
7623
|
u(l, { ref: "drawerRef" }, null, 512)
|
|
7631
7624
|
]);
|
|
7632
7625
|
}
|
|
7633
|
-
var
|
|
7626
|
+
var Th = /*#__PURE__*/ W(bh, [["render", wh]]), Eh = f({
|
|
7634
7627
|
name: "UzTableDrawer",
|
|
7635
7628
|
components: {
|
|
7636
7629
|
NButton: R,
|
|
@@ -7799,11 +7792,11 @@ var wh = /*#__PURE__*/ W(yh, [["render", Ch]]), Th = f({
|
|
|
7799
7792
|
}
|
|
7800
7793
|
};
|
|
7801
7794
|
}
|
|
7802
|
-
}),
|
|
7795
|
+
}), Dh = { class: "uz-flex uz-flex-col uz-gap-2 uz-h-full" }, Oh = {
|
|
7803
7796
|
key: 0,
|
|
7804
7797
|
class: "uz-grid uz-grid-cols-2 uz-gap-2"
|
|
7805
|
-
},
|
|
7806
|
-
function
|
|
7798
|
+
}, kh = { class: "uz-flex uz-justify-between uz-gap-2 uz-w-full" }, Ah = { class: "uz-flex uz-gap-2" };
|
|
7799
|
+
function jh(t, n, c, d, f, p) {
|
|
7807
7800
|
let m = O("NSkeleton"), h = O("UzForm"), g = O("UzSpin"), _ = O("NSpin"), v = O("NButton"), y = O("NPopover"), b = O("NDrawerContent"), x = O("NDrawer"), C = O("UzOcr"), w = O("NModal");
|
|
7808
7801
|
return S(), a(e, null, [u(x, {
|
|
7809
7802
|
show: t.drawer,
|
|
@@ -7829,7 +7822,7 @@ function Ah(t, n, c, d, f, p) {
|
|
|
7829
7822
|
message: t.spinMsg,
|
|
7830
7823
|
status: t.spinStatus
|
|
7831
7824
|
}, {
|
|
7832
|
-
default: P(() => [o("div",
|
|
7825
|
+
default: P(() => [o("div", Dh, [t.skeletonShow ? (S(), a("div", Oh, [
|
|
7833
7826
|
u(m, {
|
|
7834
7827
|
size: "large",
|
|
7835
7828
|
style: { height: "156px" }
|
|
@@ -7892,7 +7885,7 @@ function Ah(t, n, c, d, f, p) {
|
|
|
7892
7885
|
_: 2
|
|
7893
7886
|
}, [t.formStatus === 2 ? void 0 : {
|
|
7894
7887
|
name: "footer",
|
|
7895
|
-
fn: P(() => [o("div",
|
|
7888
|
+
fn: P(() => [o("div", kh, [t.isMobile ? i("", !0) : (S(), r(v, {
|
|
7896
7889
|
key: 0,
|
|
7897
7890
|
loading: t.spinShow,
|
|
7898
7891
|
type: "success",
|
|
@@ -7901,7 +7894,7 @@ function Ah(t, n, c, d, f, p) {
|
|
|
7901
7894
|
}, {
|
|
7902
7895
|
default: P(() => [l(A(t.$t("OCR.ocr")), 1)]),
|
|
7903
7896
|
_: 1
|
|
7904
|
-
}, 8, ["loading"])), o("div",
|
|
7897
|
+
}, 8, ["loading"])), o("div", Ah, [
|
|
7905
7898
|
u(v, {
|
|
7906
7899
|
loading: t.spinShow,
|
|
7907
7900
|
class: "uz-drawer-button",
|
|
@@ -7969,7 +7962,7 @@ function Ah(t, n, c, d, f, p) {
|
|
|
7969
7962
|
_: 1
|
|
7970
7963
|
}, 8, ["show"])], 64);
|
|
7971
7964
|
}
|
|
7972
|
-
var
|
|
7965
|
+
var Mh = /*#__PURE__*/ W(Eh, [["render", jh]]), Nh = f({
|
|
7973
7966
|
name: "UzTableMobileList",
|
|
7974
7967
|
props: {
|
|
7975
7968
|
tableData: {
|
|
@@ -7987,12 +7980,12 @@ var jh = /*#__PURE__*/ W(Th, [["render", Ah]]), Mh = f({
|
|
|
7987
7980
|
},
|
|
7988
7981
|
emits: ["update:row-keys"],
|
|
7989
7982
|
setup() {}
|
|
7990
|
-
}),
|
|
7983
|
+
}), Ph = { class: "uz-grid uz-grid-cols-2 uz-gap-2" }, Fh = {
|
|
7991
7984
|
key: 1,
|
|
7992
7985
|
class: "uz-table-mobile-group-txt"
|
|
7993
7986
|
};
|
|
7994
|
-
function
|
|
7995
|
-
return S(), a("div",
|
|
7987
|
+
function Ih(t, n, s, c, l, u) {
|
|
7988
|
+
return S(), a("div", Ph, [(S(!0), a(e, null, E(t.tableColumns, (n) => (S(), a("div", {
|
|
7996
7989
|
key: n.key,
|
|
7997
7990
|
class: _(["uz-flex uz-overflow-hidden", n.lineBreak ? "uz-flex-col" : ""]),
|
|
7998
7991
|
style: v(`grid-column: span ${n.lineCol || 2} / span ${n.lineCol || 2}`)
|
|
@@ -8003,11 +7996,11 @@ function Fh(t, n, s, c, l, u) {
|
|
|
8003
7996
|
class: "mobile"
|
|
8004
7997
|
})) : i("", !0)], 64)) : (S(), a(e, { key: 1 }, [o("div", { class: _(["uz-table-mobile-group-title", n.lineBreak ? "line-break" : ""]) }, [o("div", null, A(typeof n.title == "string" ? n.title : n.title()), 1)], 2), o("div", { class: _(["uz-table-mobile-group-content", n.lineBreak ? "line-break" : ""]) }, [n.render ? (S(), r(ee(() => {
|
|
8005
7998
|
if (t.tableData) return n.render(t.tableData, t.tableIndex);
|
|
8006
|
-
}), { key: 0 })) : (S(), a("div",
|
|
7999
|
+
}), { key: 0 })) : (S(), a("div", Fh, A(t.tableData[n.key] || "-"), 1))], 2)], 64))], 6))), 128))]);
|
|
8007
8000
|
}
|
|
8008
8001
|
//#endregion
|
|
8009
8002
|
//#region components/table/mobile.vue?vue&type=script&lang.ts
|
|
8010
|
-
var
|
|
8003
|
+
var Lh = f({
|
|
8011
8004
|
name: "UzTableMobile",
|
|
8012
8005
|
components: {
|
|
8013
8006
|
NCheckbox: ie,
|
|
@@ -8015,7 +8008,7 @@ var Ih = f({
|
|
|
8015
8008
|
NPagination: Te,
|
|
8016
8009
|
NCheckboxGroup: z,
|
|
8017
8010
|
NRadioGroup: ke,
|
|
8018
|
-
UzTableMobileList: /* @__PURE__ */ W(
|
|
8011
|
+
UzTableMobileList: /* @__PURE__ */ W(Nh, [["render", Ih], ["__scopeId", "data-v-84c394fe"]])
|
|
8019
8012
|
},
|
|
8020
8013
|
props: {
|
|
8021
8014
|
tableData: {
|
|
@@ -8062,17 +8055,17 @@ var Ih = f({
|
|
|
8062
8055
|
}
|
|
8063
8056
|
};
|
|
8064
8057
|
}
|
|
8065
|
-
}),
|
|
8058
|
+
}), Rh = {
|
|
8066
8059
|
key: 0,
|
|
8067
8060
|
class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
|
|
8068
|
-
},
|
|
8061
|
+
}, zh = {
|
|
8069
8062
|
key: 0,
|
|
8070
8063
|
class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
|
|
8071
|
-
},
|
|
8064
|
+
}, Bh = {
|
|
8072
8065
|
key: 0,
|
|
8073
8066
|
class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
|
|
8074
8067
|
};
|
|
8075
|
-
function
|
|
8068
|
+
function Vh(t, n, o, s, c, l) {
|
|
8076
8069
|
let d = O("UzTableMobileList"), f = O("NCheckbox"), p = O("NPagination"), m = O("NCheckboxGroup"), h = O("NRadio"), g = O("NRadioGroup");
|
|
8077
8070
|
return t.selection === 2 ? (S(), r(m, {
|
|
8078
8071
|
key: 0,
|
|
@@ -8099,7 +8092,7 @@ function Bh(t, n, o, s, c, l) {
|
|
|
8099
8092
|
"tableColumns"
|
|
8100
8093
|
])]),
|
|
8101
8094
|
_: 2
|
|
8102
|
-
}, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (S(), a("div",
|
|
8095
|
+
}, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (S(), a("div", Rh, [u(p, {
|
|
8103
8096
|
page: t.tableQueries.query.page,
|
|
8104
8097
|
"onUpdate:page": [n[0] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
|
|
8105
8098
|
"item-count": t.tableQueries.query.itemCount,
|
|
@@ -8141,7 +8134,7 @@ function Bh(t, n, o, s, c, l) {
|
|
|
8141
8134
|
"tableColumns"
|
|
8142
8135
|
])]),
|
|
8143
8136
|
_: 2
|
|
8144
|
-
}, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (S(), a("div",
|
|
8137
|
+
}, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (S(), a("div", zh, [u(p, {
|
|
8145
8138
|
page: t.tableQueries.query.page,
|
|
8146
8139
|
"onUpdate:page": [n[2] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
|
|
8147
8140
|
"item-count": t.tableQueries.query.itemCount,
|
|
@@ -8176,7 +8169,7 @@ function Bh(t, n, o, s, c, l) {
|
|
|
8176
8169
|
"tableData",
|
|
8177
8170
|
"tableIndex",
|
|
8178
8171
|
"tableColumns"
|
|
8179
|
-
])]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (S(), a("div",
|
|
8172
|
+
])]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (S(), a("div", Bh, [u(p, {
|
|
8180
8173
|
page: t.tableQueries.query.page,
|
|
8181
8174
|
"onUpdate:page": [n[4] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
|
|
8182
8175
|
"item-count": t.tableQueries.query.itemCount,
|
|
@@ -8189,7 +8182,7 @@ function Bh(t, n, o, s, c, l) {
|
|
|
8189
8182
|
"onUpdate:page"
|
|
8190
8183
|
])])) : i("", !0)], 4));
|
|
8191
8184
|
}
|
|
8192
|
-
var
|
|
8185
|
+
var Hh = /*#__PURE__*/ W(Lh, [["render", Vh], ["__scopeId", "data-v-70b54e3b"]]), Uh = f({
|
|
8193
8186
|
name: "UzTableFile",
|
|
8194
8187
|
components: {
|
|
8195
8188
|
NDropdown: de,
|
|
@@ -8338,11 +8331,11 @@ var Vh = /*#__PURE__*/ W(Ih, [["render", Bh], ["__scopeId", "data-v-70b54e3b"]])
|
|
|
8338
8331
|
}
|
|
8339
8332
|
};
|
|
8340
8333
|
}
|
|
8341
|
-
}),
|
|
8334
|
+
}), Wh = { class: "uz-file-port-modal" }, Gh = {
|
|
8342
8335
|
key: 1,
|
|
8343
8336
|
class: "uz-file-port-panel"
|
|
8344
|
-
},
|
|
8345
|
-
function
|
|
8337
|
+
}, Kh = { class: "uz-flex uz-justify-between" };
|
|
8338
|
+
function qh(t, n, i, s, c, d) {
|
|
8346
8339
|
let f = O("FileText"), p = O("NIcon"), m = O("NButton"), h = O("NDropdown"), g = O("NUpload"), _ = O("NSpace"), v = O("NDataTable"), y = O("NModal");
|
|
8347
8340
|
return S(), a(e, null, [u(h, {
|
|
8348
8341
|
trigger: "hover",
|
|
@@ -8377,8 +8370,8 @@ function Kh(t, n, i, s, c, d) {
|
|
|
8377
8370
|
default: P(() => [...n[1] ||= [l(" 下载模板 ", -1)]]),
|
|
8378
8371
|
_: 1
|
|
8379
8372
|
}, 8, ["onClick"])]),
|
|
8380
|
-
default: P(() => [o("div",
|
|
8381
|
-
t.rawFile ? (S(), a("div",
|
|
8373
|
+
default: P(() => [o("div", Wh, [
|
|
8374
|
+
t.rawFile ? (S(), a("div", Gh, [
|
|
8382
8375
|
n[5] ||= o("div", { class: "uz-file-port-icon" }, [o("svg", {
|
|
8383
8376
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8384
8377
|
viewBox: "0 0 24 24",
|
|
@@ -8425,7 +8418,7 @@ function Kh(t, n, i, s, c, d) {
|
|
|
8425
8418
|
}, [o("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z" })])]), o("div", { class: "uz-file-port-subtitle" }, "拖拽或点击上传Excel文件")], -1)]]),
|
|
8426
8419
|
_: 1
|
|
8427
8420
|
}, 8, ["on-before-upload"])),
|
|
8428
|
-
o("div",
|
|
8421
|
+
o("div", Kh, [n[8] ||= o("div", { class: "uz-com-title" }, "导入历史", -1), u(m, {
|
|
8429
8422
|
onClick: t.init,
|
|
8430
8423
|
loading: t.loading,
|
|
8431
8424
|
secondary: ""
|
|
@@ -8448,7 +8441,7 @@ function Kh(t, n, i, s, c, d) {
|
|
|
8448
8441
|
_: 1
|
|
8449
8442
|
}, 8, ["show", "on-after-leave"])], 64);
|
|
8450
8443
|
}
|
|
8451
|
-
var
|
|
8444
|
+
var Jh = /*#__PURE__*/ W(Uh, [["render", qh], ["__scopeId", "data-v-669e3267"]]), $ = w({
|
|
8452
8445
|
page: {
|
|
8453
8446
|
label: "首页",
|
|
8454
8447
|
key: "/",
|
|
@@ -8459,7 +8452,7 @@ var qh = /*#__PURE__*/ W(Hh, [["render", Kh], ["__scopeId", "data-v-669e3267"]])
|
|
|
8459
8452
|
active: "/",
|
|
8460
8453
|
thumbnail: []
|
|
8461
8454
|
});
|
|
8462
|
-
function
|
|
8455
|
+
function Yh(e) {
|
|
8463
8456
|
$.cache = e.cache, $.page = {
|
|
8464
8457
|
label: e.label,
|
|
8465
8458
|
key: e.key,
|
|
@@ -8474,14 +8467,14 @@ function Jh(e) {
|
|
|
8474
8467
|
closable: !1
|
|
8475
8468
|
}];
|
|
8476
8469
|
}
|
|
8477
|
-
function
|
|
8470
|
+
function Xh(e) {
|
|
8478
8471
|
$.active = e, G.push(e), Y($.cache, $, 0);
|
|
8479
8472
|
}
|
|
8480
|
-
function
|
|
8473
|
+
function Zh(e, t) {
|
|
8481
8474
|
let n = $.thumbnail.find((t) => t.key === e);
|
|
8482
8475
|
n && (n.key = t, $.active = t, Y($.cache, $, 0));
|
|
8483
8476
|
}
|
|
8484
|
-
function
|
|
8477
|
+
function Qh(e) {
|
|
8485
8478
|
let t = $.thumbnail.find((t) => t.path === e.key);
|
|
8486
8479
|
t ? ($.active = t.key, Y($.cache, $, 0), G.push(t.key)) : ($.active = e.key, $.thumbnail.push({
|
|
8487
8480
|
...e,
|
|
@@ -8489,7 +8482,7 @@ function Zh(e) {
|
|
|
8489
8482
|
closable: !0
|
|
8490
8483
|
}), G.push(e.key));
|
|
8491
8484
|
}
|
|
8492
|
-
function
|
|
8485
|
+
function $h(e) {
|
|
8493
8486
|
let t = $.thumbnail.findIndex((t) => t.key === e);
|
|
8494
8487
|
if ($.thumbnail.splice(t, 1), $.active === e) {
|
|
8495
8488
|
let e = $.thumbnail[t - 1]?.key || "";
|
|
@@ -8497,12 +8490,12 @@ function Qh(e) {
|
|
|
8497
8490
|
}
|
|
8498
8491
|
Y($.cache, $, 0);
|
|
8499
8492
|
}
|
|
8500
|
-
function
|
|
8493
|
+
function eg() {
|
|
8501
8494
|
$.active = $.page.path, $.thumbnail = [$.page], G.push($.page.path), Y($.cache, $, 0);
|
|
8502
8495
|
}
|
|
8503
8496
|
//#endregion
|
|
8504
8497
|
//#region components/thumbnail/index.vue?vue&type=script&lang.ts
|
|
8505
|
-
var
|
|
8498
|
+
var tg = f({
|
|
8506
8499
|
name: "UzThumbnail",
|
|
8507
8500
|
components: {
|
|
8508
8501
|
NTabs: Ie,
|
|
@@ -8524,29 +8517,29 @@ var eg = f({
|
|
|
8524
8517
|
setup(e, { slots: t }) {
|
|
8525
8518
|
let n = T(!!t.prefix), r = Je();
|
|
8526
8519
|
return b(() => {
|
|
8527
|
-
|
|
8520
|
+
Yh(e.option), $.active !== r.path && Zh(r.path, r.fullPath);
|
|
8528
8521
|
}), M(() => r, (e) => {
|
|
8529
|
-
$.active === r.path &&
|
|
8522
|
+
$.active === r.path && Zh(e.path, e.fullPath);
|
|
8530
8523
|
}, { deep: !0 }), M(() => e.option, (e) => {
|
|
8531
|
-
|
|
8524
|
+
Yh(e);
|
|
8532
8525
|
}, { deep: !0 }), {
|
|
8533
8526
|
thumbnailStore: $,
|
|
8534
8527
|
isSlotPrefix: n,
|
|
8535
8528
|
handleClose: (e) => {
|
|
8536
|
-
|
|
8529
|
+
$h(e);
|
|
8537
8530
|
},
|
|
8538
8531
|
handleChange: (e) => {
|
|
8539
|
-
|
|
8532
|
+
Xh(e);
|
|
8540
8533
|
},
|
|
8541
8534
|
handleClear: () => {
|
|
8542
|
-
|
|
8535
|
+
eg();
|
|
8543
8536
|
}
|
|
8544
8537
|
};
|
|
8545
8538
|
}
|
|
8546
8539
|
});
|
|
8547
8540
|
//#endregion
|
|
8548
8541
|
//#region components/thumbnail/index.vue
|
|
8549
|
-
function
|
|
8542
|
+
function ng(t, n, i, o, c, d) {
|
|
8550
8543
|
let f = O("NTabPane"), p = O("Trash"), m = O("NIcon"), h = O("NButton"), g = O("NPopconfirm"), _ = O("NFlex"), v = O("NTabs");
|
|
8551
8544
|
return S(), r(v, {
|
|
8552
8545
|
value: t.thumbnailStore.active,
|
|
@@ -8595,33 +8588,33 @@ function tg(t, n, i, o, c, d) {
|
|
|
8595
8588
|
"on-update:value"
|
|
8596
8589
|
]);
|
|
8597
8590
|
}
|
|
8598
|
-
var
|
|
8599
|
-
H.common.cardColor = "#32323b", H.common.primaryColor = "#0A84FF", H.common.primaryColorHover =
|
|
8600
|
-
var
|
|
8591
|
+
var rg = /*#__PURE__*/ W(tg, [["render", ng]]), ig = "#007AFF", ag = "#0A84FF", og = "#FF9500", sg = "#FF9F0A", cg = "#28CD41", lg = "#32D74B", ug = "#FFCC00", dg = "#FFD60A", fg = "#FF3B30", pg = "#FF453A";
|
|
8592
|
+
H.common.cardColor = "#32323b", H.common.primaryColor = "#0A84FF", H.common.primaryColorHover = ag, H.common.infoColor = "#FF9F0A", H.common.infoColorHover = sg, H.common.successColor = "#32D74B", H.common.successColorHover = lg, H.common.warningColor = "#FFD60A", H.common.successColorHover = dg, H.common.errorColor = "#FF453A", H.common.errorColorHover = pg, H.common.borderRadius = "var(--borderRadius)", H.common.inputColor = "rgba(var(--input))", H.common.borderColor = "rgba(var(--border), 0.7)", H.DataTable.tdColor = "#2d2d31", H.Scrollbar.width = "8px", H.Scrollbar.height = "8px", H.Scrollbar.borderRadius = "8px", H.Scrollbar.color = "#686873";
|
|
8593
|
+
var mg = {
|
|
8601
8594
|
common: {
|
|
8602
8595
|
inputColor: "rgba(var(--input))",
|
|
8603
8596
|
borderColor: "rgba(var(--border), 0.7)",
|
|
8604
8597
|
borderRadius: "var(--borderRadius)",
|
|
8605
|
-
primaryColor:
|
|
8606
|
-
primaryColorHover:
|
|
8607
|
-
primaryColorPressed:
|
|
8608
|
-
primaryColorSuppl:
|
|
8609
|
-
infoColor:
|
|
8610
|
-
infoColorHover:
|
|
8611
|
-
infoColorPressed:
|
|
8612
|
-
infoColorSuppl:
|
|
8613
|
-
successColor:
|
|
8614
|
-
successColorHover:
|
|
8615
|
-
successColorPressed:
|
|
8616
|
-
successColorSuppl:
|
|
8617
|
-
warningColor:
|
|
8618
|
-
warningColorHover:
|
|
8619
|
-
warningColorPressed:
|
|
8620
|
-
warningColorSuppl:
|
|
8621
|
-
errorColor:
|
|
8622
|
-
errorColorHover:
|
|
8623
|
-
errorColorPressed:
|
|
8624
|
-
errorColorSuppl:
|
|
8598
|
+
primaryColor: ig,
|
|
8599
|
+
primaryColorHover: ag,
|
|
8600
|
+
primaryColorPressed: ig,
|
|
8601
|
+
primaryColorSuppl: ig,
|
|
8602
|
+
infoColor: og,
|
|
8603
|
+
infoColorHover: sg,
|
|
8604
|
+
infoColorPressed: og,
|
|
8605
|
+
infoColorSuppl: og,
|
|
8606
|
+
successColor: cg,
|
|
8607
|
+
successColorHover: lg,
|
|
8608
|
+
successColorPressed: cg,
|
|
8609
|
+
successColorSuppl: cg,
|
|
8610
|
+
warningColor: ug,
|
|
8611
|
+
warningColorHover: dg,
|
|
8612
|
+
warningColorPressed: ug,
|
|
8613
|
+
warningColorSuppl: ug,
|
|
8614
|
+
errorColor: fg,
|
|
8615
|
+
errorColorHover: pg,
|
|
8616
|
+
errorColorPressed: fg,
|
|
8617
|
+
errorColorSuppl: fg,
|
|
8625
8618
|
cardColor: "#fff"
|
|
8626
8619
|
},
|
|
8627
8620
|
Button: { textColor: "rgb(var(--font))" },
|
|
@@ -8635,7 +8628,7 @@ var pg = {
|
|
|
8635
8628
|
borderRadius: "8px",
|
|
8636
8629
|
color: "#c0c0c0"
|
|
8637
8630
|
}
|
|
8638
|
-
},
|
|
8631
|
+
}, hg = H, gg = f({
|
|
8639
8632
|
name: "UzWrap",
|
|
8640
8633
|
components: { NConfigProvider: oe },
|
|
8641
8634
|
setup() {
|
|
@@ -8643,14 +8636,14 @@ var pg = {
|
|
|
8643
8636
|
zhCN: We,
|
|
8644
8637
|
dateZhCN: He,
|
|
8645
8638
|
commonStore: q,
|
|
8646
|
-
lightTheme:
|
|
8647
|
-
darkTheme:
|
|
8639
|
+
lightTheme: mg,
|
|
8640
|
+
darkTheme: hg
|
|
8648
8641
|
};
|
|
8649
8642
|
}
|
|
8650
8643
|
});
|
|
8651
8644
|
//#endregion
|
|
8652
8645
|
//#region components/wrap/index.vue
|
|
8653
|
-
function
|
|
8646
|
+
function _g(e, t, n, i, a, o) {
|
|
8654
8647
|
let s = O("NConfigProvider");
|
|
8655
8648
|
return S(), r(s, {
|
|
8656
8649
|
theme: e.commonStore.theme ? { name: "darkTheme" } : null,
|
|
@@ -8669,10 +8662,10 @@ function gg(e, t, n, i, a, o) {
|
|
|
8669
8662
|
"date-locale"
|
|
8670
8663
|
]);
|
|
8671
8664
|
}
|
|
8672
|
-
var
|
|
8665
|
+
var vg = /*#__PURE__*/ W(gg, [["render", _g]]);
|
|
8673
8666
|
//#endregion
|
|
8674
8667
|
//#region components/ocr/preprocess.ts
|
|
8675
|
-
function
|
|
8668
|
+
function yg(e) {
|
|
8676
8669
|
let t = /* @__PURE__ */ new Int32Array(256), n = e.length;
|
|
8677
8670
|
for (let r = 0; r < n; r++) t[e[r]]++;
|
|
8678
8671
|
let r = 0;
|
|
@@ -8687,7 +8680,7 @@ function vg(e) {
|
|
|
8687
8680
|
}
|
|
8688
8681
|
return c;
|
|
8689
8682
|
}
|
|
8690
|
-
function
|
|
8683
|
+
function bg(e, t) {
|
|
8691
8684
|
return new Promise((n, r) => {
|
|
8692
8685
|
let i = new Image();
|
|
8693
8686
|
i.crossOrigin = "anonymous", i.onload = () => {
|
|
@@ -8720,7 +8713,7 @@ function yg(e, t) {
|
|
|
8720
8713
|
}
|
|
8721
8714
|
let u = t.threshold;
|
|
8722
8715
|
if (t.binarize) {
|
|
8723
|
-
t.autoThreshold && (u =
|
|
8716
|
+
t.autoThreshold && (u = yg(l));
|
|
8724
8717
|
for (let e = 0, t = 0; e < s.length; e += 4, t++) {
|
|
8725
8718
|
let n = l[t] < u ? 0 : 255;
|
|
8726
8719
|
s[e] = n, s[e + 1] = n, s[e + 2] = n;
|
|
@@ -8743,7 +8736,7 @@ function yg(e, t) {
|
|
|
8743
8736
|
}
|
|
8744
8737
|
//#endregion
|
|
8745
8738
|
//#region components/ocr/index.vue?vue&type=script&lang.ts
|
|
8746
|
-
var
|
|
8739
|
+
var xg = f({
|
|
8747
8740
|
name: "UzOcr",
|
|
8748
8741
|
components: {
|
|
8749
8742
|
NButton: R,
|
|
@@ -8780,7 +8773,7 @@ var bg = f({
|
|
|
8780
8773
|
tessedit_char_blacklist: "|"
|
|
8781
8774
|
}), a.value), v = async () => {
|
|
8782
8775
|
if (f.value) try {
|
|
8783
|
-
let e = await
|
|
8776
|
+
let e = await bg(f.value, {
|
|
8784
8777
|
enabled: o.value,
|
|
8785
8778
|
scale: s.value,
|
|
8786
8779
|
grayscale: !0,
|
|
@@ -8817,7 +8810,7 @@ var bg = f({
|
|
|
8817
8810
|
t.value = !0, r.value = e("OCR.analysis");
|
|
8818
8811
|
let a = n;
|
|
8819
8812
|
if (o.value || s.value > 1) try {
|
|
8820
|
-
let e = await
|
|
8813
|
+
let e = await bg(n, {
|
|
8821
8814
|
enabled: o.value,
|
|
8822
8815
|
scale: s.value,
|
|
8823
8816
|
grayscale: !0,
|
|
@@ -8879,25 +8872,25 @@ var bg = f({
|
|
|
8879
8872
|
t: e
|
|
8880
8873
|
};
|
|
8881
8874
|
}
|
|
8882
|
-
}),
|
|
8875
|
+
}), Sg = { class: "uz-ocr" }, Cg = { class: "uz-ocr-left-col" }, wg = { class: "uz-ocr-upload-card" }, Tg = { class: "uz-ocr-upload-title" }, Eg = {
|
|
8883
8876
|
key: 1,
|
|
8884
8877
|
class: "uz-ocr-preview-panel"
|
|
8885
|
-
},
|
|
8878
|
+
}, Dg = { class: "uz-ocr-preview-box" }, Og = ["src"], kg = {
|
|
8886
8879
|
key: 0,
|
|
8887
8880
|
class: "uz-ocr-threshold-badge"
|
|
8888
|
-
},
|
|
8881
|
+
}, Ag = { class: "uz-ocr-preview-box" }, jg = ["src"], Mg = { class: "uz-ocr-settings-form" }, Ng = { class: "uz-settings-row" }, Pg = { class: "uz-settings-label" }, Fg = {
|
|
8889
8882
|
key: 0,
|
|
8890
8883
|
class: "uz-ocr-nested-settings animate-fade-in"
|
|
8891
|
-
},
|
|
8884
|
+
}, Ig = { class: "uz-settings-row" }, Lg = { class: "uz-settings-label" }, Rg = { class: "uz-settings-row" }, zg = { class: "uz-settings-label" }, Bg = { class: "uz-ocr-right-col" }, Vg = { class: "uz-ocr-result-header" }, Hg = { class: "uz-result-title" }, Ug = {
|
|
8892
8885
|
key: 0,
|
|
8893
8886
|
class: "uz-ocr-empty-state"
|
|
8894
|
-
},
|
|
8887
|
+
}, Wg = { class: "uz-empty-text" }, Gg = {
|
|
8895
8888
|
key: 1,
|
|
8896
8889
|
class: "uz-ocr-result-tabs"
|
|
8897
8890
|
};
|
|
8898
|
-
function
|
|
8891
|
+
function Kg(e, t, n, s, c, d) {
|
|
8899
8892
|
let f = O("NUpload"), p = O("NTabPane"), m = O("NTabs"), h = O("NButton"), g = O("NSpace"), _ = O("NSwitch"), v = O("NSelect");
|
|
8900
|
-
return S(), a("div",
|
|
8893
|
+
return S(), a("div", Sg, [o("div", Cg, [e.rawImage ? (S(), a("div", Eg, [u(m, {
|
|
8901
8894
|
value: e.imagePreviewTab,
|
|
8902
8895
|
"onUpdate:value": t[0] ||= (t) => e.imagePreviewTab = t,
|
|
8903
8896
|
type: "segment",
|
|
@@ -8907,21 +8900,21 @@ function Gg(e, t, n, s, c, d) {
|
|
|
8907
8900
|
name: "processed",
|
|
8908
8901
|
tab: e.t("OCR.previewProcessed")
|
|
8909
8902
|
}, {
|
|
8910
|
-
default: P(() => [o("div",
|
|
8903
|
+
default: P(() => [o("div", Dg, [o("img", {
|
|
8911
8904
|
src: e.processedImage,
|
|
8912
8905
|
alt: "Processed Preview",
|
|
8913
8906
|
class: "uz-ocr-preview-img"
|
|
8914
|
-
}, null, 8,
|
|
8907
|
+
}, null, 8, Og), e.preEnabled && e.preBinarize ? (S(), a("div", kg, A(e.preAutoThreshold ? "大津自适应" : "手动") + "阈值: " + A(e.thresholdUsed), 1)) : i("", !0)])]),
|
|
8915
8908
|
_: 1
|
|
8916
8909
|
}, 8, ["tab"]), u(p, {
|
|
8917
8910
|
name: "raw",
|
|
8918
8911
|
tab: e.t("OCR.previewRaw")
|
|
8919
8912
|
}, {
|
|
8920
|
-
default: P(() => [o("div",
|
|
8913
|
+
default: P(() => [o("div", Ag, [o("img", {
|
|
8921
8914
|
src: e.rawImage,
|
|
8922
8915
|
alt: "Raw Preview",
|
|
8923
8916
|
class: "uz-ocr-preview-img"
|
|
8924
|
-
}, null, 8,
|
|
8917
|
+
}, null, 8, jg)])]),
|
|
8925
8918
|
_: 1
|
|
8926
8919
|
}, 8, ["tab"])]),
|
|
8927
8920
|
_: 1
|
|
@@ -8955,7 +8948,7 @@ function Gg(e, t, n, s, c, d) {
|
|
|
8955
8948
|
"directory-dnd": "",
|
|
8956
8949
|
class: "uz-w-full"
|
|
8957
8950
|
}, {
|
|
8958
|
-
default: P(() => [o("div",
|
|
8951
|
+
default: P(() => [o("div", wg, [
|
|
8959
8952
|
t[4] ||= o("div", { class: "uz-ocr-upload-icon" }, [o("svg", {
|
|
8960
8953
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8961
8954
|
viewBox: "0 0 24 24",
|
|
@@ -8963,27 +8956,27 @@ function Gg(e, t, n, s, c, d) {
|
|
|
8963
8956
|
height: "40",
|
|
8964
8957
|
fill: "currentColor"
|
|
8965
8958
|
}, [o("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z" })])], -1),
|
|
8966
|
-
o("div",
|
|
8959
|
+
o("div", Tg, A(e.t("OCR.scan")), 1),
|
|
8967
8960
|
t[5] ||= o("div", { class: "uz-ocr-upload-subtitle" }, "拖拽或点击上传图片", -1)
|
|
8968
8961
|
])]),
|
|
8969
8962
|
_: 1
|
|
8970
|
-
}, 8, ["on-before-upload"])), o("div",
|
|
8963
|
+
}, 8, ["on-before-upload"])), o("div", Mg, [o("div", Ng, [o("span", Pg, A(e.t("OCR.preprocess")), 1), u(_, {
|
|
8971
8964
|
value: e.preEnabled,
|
|
8972
8965
|
"onUpdate:value": t[1] ||= (t) => e.preEnabled = t,
|
|
8973
8966
|
size: "small"
|
|
8974
|
-
}, null, 8, ["value"])]), e.preEnabled ? (S(), a("div",
|
|
8967
|
+
}, null, 8, ["value"])]), e.preEnabled ? (S(), a("div", Fg, [o("div", Ig, [o("span", Lg, A(e.t("OCR.scale")), 1), u(v, {
|
|
8975
8968
|
value: e.preScale,
|
|
8976
8969
|
"onUpdate:value": t[2] ||= (t) => e.preScale = t,
|
|
8977
8970
|
options: e.scaleOptions,
|
|
8978
8971
|
size: "small",
|
|
8979
8972
|
class: "uz-settings-select"
|
|
8980
|
-
}, null, 8, ["value", "options"])]), o("div",
|
|
8973
|
+
}, null, 8, ["value", "options"])]), o("div", Rg, [o("span", zg, A(e.t("OCR.contrast")), 1), u(_, {
|
|
8981
8974
|
value: e.preContrast,
|
|
8982
8975
|
"onUpdate:value": t[3] ||= (t) => e.preContrast = t,
|
|
8983
8976
|
size: "small"
|
|
8984
|
-
}, null, 8, ["value"])])])) : i("", !0)])]), o("div",
|
|
8977
|
+
}, null, 8, ["value"])])])) : i("", !0)])]), o("div", Bg, [o("div", Vg, [o("span", Hg, "识别结果 (" + A(e.text.length) + " 行)", 1)]), e.text.length ? (S(), a("div", Gg, A(e.fullText), 1)) : (S(), a("div", Ug, [t[7] ||= o("div", { class: "uz-empty-icon" }, "📝", -1), o("div", Wg, A(e.ocrLoading ? "正在读取图像解析文字,请稍候..." : "暂无识别数据,请上传图像"), 1)]))])]);
|
|
8985
8978
|
}
|
|
8986
|
-
var
|
|
8979
|
+
var qg = /*#__PURE__*/ W(xg, [["render", Kg], ["__scopeId", "data-v-c7224ff5"]]), Jg = /* @__PURE__ */ dt({
|
|
8987
8980
|
AccessPoint: () => gt,
|
|
8988
8981
|
Activity: () => bt,
|
|
8989
8982
|
Adjustments: () => wt,
|
|
@@ -9122,25 +9115,25 @@ var Kg = /*#__PURE__*/ W(bg, [["render", Gg], ["__scopeId", "data-v-c7224ff5"]])
|
|
|
9122
9115
|
UzFormItemTimesPicker: () => im,
|
|
9123
9116
|
UzFormItemUpload: () => Xp,
|
|
9124
9117
|
UzIcon: () => Ru,
|
|
9125
|
-
UzOcr: () =>
|
|
9118
|
+
UzOcr: () => qg,
|
|
9126
9119
|
UzSearchBar: () => bm,
|
|
9127
9120
|
UzSearchMobileBar: () => Em,
|
|
9128
9121
|
UzSpin: () => Jm,
|
|
9129
9122
|
UzTable: () => uh,
|
|
9130
|
-
UzTableChild: () =>
|
|
9131
|
-
UzTableDrawer: () =>
|
|
9132
|
-
UzTableFile: () =>
|
|
9133
|
-
UzTableMobile: () =>
|
|
9134
|
-
UzTableQuestChild: () =>
|
|
9135
|
-
UzThumbnail: () =>
|
|
9136
|
-
UzWrap: () =>
|
|
9123
|
+
UzTableChild: () => yh,
|
|
9124
|
+
UzTableDrawer: () => Mh,
|
|
9125
|
+
UzTableFile: () => Jh,
|
|
9126
|
+
UzTableMobile: () => Hh,
|
|
9127
|
+
UzTableQuestChild: () => Th,
|
|
9128
|
+
UzThumbnail: () => rg,
|
|
9129
|
+
UzWrap: () => vg,
|
|
9137
9130
|
X: () => Hl,
|
|
9138
9131
|
commonStore: () => q,
|
|
9139
9132
|
fnActionReduction: () => Hf,
|
|
9140
9133
|
fnActionSimplify: () => Vf,
|
|
9141
|
-
fnAddThumbnail: () =>
|
|
9142
|
-
fnClearAllThumbnail: () =>
|
|
9143
|
-
fnDeleteThumbnail: () =>
|
|
9134
|
+
fnAddThumbnail: () => Qh,
|
|
9135
|
+
fnClearAllThumbnail: () => eg,
|
|
9136
|
+
fnDeleteThumbnail: () => $h,
|
|
9144
9137
|
fnGetTableData: () => Lm,
|
|
9145
9138
|
fnOptionReduction: () => Um,
|
|
9146
9139
|
fnOptionSimplify: () => Hm,
|
|
@@ -9149,18 +9142,18 @@ var Kg = /*#__PURE__*/ W(bg, [["render", Gg], ["__scopeId", "data-v-c7224ff5"]])
|
|
|
9149
9142
|
fnRenderAction: () => Pf,
|
|
9150
9143
|
fnSetLang: () => Hu,
|
|
9151
9144
|
fnSetTheme: () => Uu,
|
|
9152
|
-
fnSetThumbnail: () =>
|
|
9145
|
+
fnSetThumbnail: () => Xh,
|
|
9153
9146
|
fnTableReduction: () => zm,
|
|
9154
9147
|
fnTableSimplify: () => Rm,
|
|
9155
9148
|
fnTriggersReduction: () => Vm,
|
|
9156
9149
|
fnTriggersSimplify: () => Bm,
|
|
9157
9150
|
i18n: () => K
|
|
9158
|
-
}),
|
|
9159
|
-
function
|
|
9160
|
-
|
|
9151
|
+
}), Yg = 3840, Xg = 2160, Zg = w({ scale: 1 });
|
|
9152
|
+
function Qg(e, t) {
|
|
9153
|
+
Yg = e, Xg = t;
|
|
9161
9154
|
}
|
|
9162
|
-
function
|
|
9163
|
-
let e = 1, t = window.innerWidth, n = window.innerHeight, r =
|
|
9155
|
+
function $g() {
|
|
9156
|
+
let e = 1, t = window.innerWidth, n = window.innerHeight, r = Yg, i = Xg, a = parseFloat((r / i).toFixed(5));
|
|
9164
9157
|
if (parseFloat((t / n).toFixed(5)) > a) {
|
|
9165
9158
|
let t = parseFloat((n * a / r).toFixed(5));
|
|
9166
9159
|
e = t > 1 ? 1 : t;
|
|
@@ -9168,17 +9161,17 @@ function Qg() {
|
|
|
9168
9161
|
let n = parseFloat((t / a / i).toFixed(5));
|
|
9169
9162
|
e = n > 1 ? 1 : n;
|
|
9170
9163
|
}
|
|
9171
|
-
|
|
9164
|
+
Zg.scale = e;
|
|
9172
9165
|
}
|
|
9173
|
-
function
|
|
9174
|
-
let e = et(
|
|
9166
|
+
function e_() {
|
|
9167
|
+
let e = et($g, 200);
|
|
9175
9168
|
return e(), window.addEventListener("resize", e), () => {
|
|
9176
|
-
|
|
9169
|
+
Yg = 3840, Xg = 2160, window.removeEventListener("resize", e);
|
|
9177
9170
|
};
|
|
9178
9171
|
}
|
|
9179
9172
|
//#endregion
|
|
9180
9173
|
//#region components/hooks/useThrottleFn.ts
|
|
9181
|
-
function
|
|
9174
|
+
function t_(e, t = 1e3) {
|
|
9182
9175
|
let r = T(e), i = n(() => tt((...e) => r.value([...e]), t));
|
|
9183
9176
|
return x(() => {
|
|
9184
9177
|
i.value.cancel();
|
|
@@ -9190,14 +9183,14 @@ function e_(e, t = 1e3) {
|
|
|
9190
9183
|
}
|
|
9191
9184
|
//#endregion
|
|
9192
9185
|
//#region components/hooks/useLocalStorage.ts
|
|
9193
|
-
function
|
|
9186
|
+
function n_(e, t) {
|
|
9194
9187
|
return [T(X(e, t?.defaultValue)), (n) => {
|
|
9195
9188
|
n === void 0 ? sd(e) : Y(e, n, t?.expired || "1 Day");
|
|
9196
9189
|
}];
|
|
9197
9190
|
}
|
|
9198
9191
|
//#endregion
|
|
9199
9192
|
//#region components/hooks/useQuery.ts
|
|
9200
|
-
function
|
|
9193
|
+
function r_(e, t, n) {
|
|
9201
9194
|
let r = `useQuery-${e}`, i = T(), a = T(), o = T(), s = T(!1), c = T("idle"), l = T(), u = T(0), d = T(0), f = () => {
|
|
9202
9195
|
mf(), clearInterval(o.value), o.value = null;
|
|
9203
9196
|
}, p = async () => {
|
|
@@ -9263,26 +9256,26 @@ function n_(e, t, n) {
|
|
|
9263
9256
|
}
|
|
9264
9257
|
//#endregion
|
|
9265
9258
|
//#region package.json
|
|
9266
|
-
var
|
|
9267
|
-
async function
|
|
9259
|
+
var i_ = "0.1.99", a_;
|
|
9260
|
+
async function o_() {
|
|
9268
9261
|
let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
|
|
9269
9262
|
method: "HEAD",
|
|
9270
9263
|
cache: "no-cache"
|
|
9271
9264
|
});
|
|
9272
9265
|
return e.headers.get("etag") || e.headers.get("last-modified");
|
|
9273
9266
|
}
|
|
9274
|
-
async function o_() {
|
|
9275
|
-
let e = await a_();
|
|
9276
|
-
i_ !== e && Wu(!0);
|
|
9277
|
-
}
|
|
9278
9267
|
async function s_() {
|
|
9279
|
-
|
|
9280
|
-
|
|
9268
|
+
let e = await o_();
|
|
9269
|
+
a_ !== e && Wu(!0);
|
|
9270
|
+
}
|
|
9271
|
+
async function c_() {
|
|
9272
|
+
a_ = await o_(), window.versionMonitor && clearInterval(window.versionMonitor), window.versionMonitor = setInterval(() => {
|
|
9273
|
+
s_();
|
|
9281
9274
|
}, 6e4);
|
|
9282
9275
|
}
|
|
9283
9276
|
//#endregion
|
|
9284
9277
|
//#region components/create.ts
|
|
9285
|
-
function
|
|
9278
|
+
function l_({ components: e = [] } = {}) {
|
|
9286
9279
|
let t = [];
|
|
9287
9280
|
function n(e, t, n) {
|
|
9288
9281
|
e.component(t) || e.component(t, n);
|
|
@@ -9295,16 +9288,16 @@ function c_({ components: e = [] } = {}) {
|
|
|
9295
9288
|
});
|
|
9296
9289
|
}), i)) {
|
|
9297
9290
|
let { title: e = "杭州宇臻智能", monitor: t = !1, monitorInfo: n, version: a = !0, language: o = !1, local: s = "zh-CN" } = i, c = X("theme", !1), l = X("lang", s);
|
|
9298
|
-
Gu(e), Vu(o), Hu(l), Uu(c), K.global.locale.value = l, a &&
|
|
9291
|
+
Gu(e), Vu(o), Hu(l), Uu(c), K.global.locale.value = l, a && c_(), t && rf(r, t, n);
|
|
9299
9292
|
}
|
|
9300
9293
|
}
|
|
9301
9294
|
return {
|
|
9302
|
-
version:
|
|
9295
|
+
version: i_,
|
|
9303
9296
|
install: r
|
|
9304
9297
|
};
|
|
9305
9298
|
}
|
|
9306
9299
|
//#endregion
|
|
9307
9300
|
//#region components/preset.ts
|
|
9308
|
-
var
|
|
9301
|
+
var u_ = l_({ components: Object.keys(Jg).map((e) => Jg[e]) }), d_ = u_.install;
|
|
9309
9302
|
//#endregion
|
|
9310
|
-
export { gt as AccessPoint, bt as Activity, wt as Adjustments, Ot as AdjustmentsHorizontal, Mt as Affiliate, It as Alarm, Bt as AlertCircle, Wt as ApiApp, Qt as AppWindow, Jt as Apps, nn as Archive, sn as ArrowNarrowLeft, dn as AspectRatio, hn as Atom, yn as Atom2, Cn as Award, gf as BLOB, Dn as Barcode, jn as Basket, Fn as Bell, zn as Bluetooth, Un as Book2, wu as Books, qn as Box, Zn as BrandAsana, Iu as BrandStackoverflow, tr as Briefcase, ar as Building, lr as BuildingArch, cu as BuildingWarehouse, _f as CUSTOM, _r as Calculator, xr as Calendar, Tr as CalendarPlus, kr as CalendarStats, Nr as Camera, Lr as CaretDown, Vr as CaretUp, Gr as ChartArea, Yr as ChartBar, $r as ChartBubble, ri as ChartDonut, si as ChartLine, di as ChartPie, hi as ChartRadar, eu as CheckMark, yi as Checkbox, Ci as CheckupList, Xl as CircleMinus, Di as Clipboard, ji as ClipboardCheck, Fi as ClipboardList, zi as ClipboardPlus, Ui as Clock, qi as Cloud, Zi as CloudDownload, ta as CloudUpload, aa as Command, Ou as Confetti, gu as Container, la as Copy, pr as Cpu, pa as CreditCard, _a as Crosshair, xa as CurrencyYen, bu as Dashboard, Ta as Database, ka as DatabaseExport, Na as DatabaseImport, La as DeviceAnalytics, Va as DeviceDesktop, Ga as DeviceDesktopAnalytics, Ya as DeviceLaptop, $a as DeviceMobile, ro as Diamond, so as Dots, fo as DotsVertical, go as Edit, bo as Eraser, wo as Eye, vf as FILE, Oo as File, Mo as FileAlert, Io as FileAnalytics, Bo as FileText, Wo as Filter, hf as GET, Jo as GitCompare, Qo as GitPullRequest, ns as GridDots, os as Home, zu as IconList, us as Id, ms as LayoutSidebarLeftCollapse, vs as LayoutSidebarLeftExpand, Ss as Link, Es as List, As as ListCheck, Ps as ListDetails, Rs as Mail, Hs as Map, Ks as MapPin, fu as Menu2, iu as Message2, Mu as MinusRound, Xs as MoonStars, Q as POST, ec as Paperclip, ic as Photo, cc as PhotoOff, fc as Plus, gc as Presentation, bc as PresentationAnalytics, wc as Printer, Oc as Qrcode, Mc as Refresh, Ic as Report, Bc as ReportAnalytics, Wc as ReportMoney, Jc as ReportSearch, Qc as Search, nl as Settings, ol as SmartHome, ul as Sun, ml as TransferIn, vl as TransferOut, Sl as Trash, El as User, Kl as UserCircle, Al as UserMinus, Pl as UserPlus, Rl as Users, ft as UzActionButton, Gf as UzBack, dm as UzCamera, jp as UzCircle, Wp as UzDraggableForm, zp as UzForm, Fp as UzFormItem, em as UzFormItemImage, im as UzFormItemTimesPicker, Xp as UzFormItemUpload, Ru as UzIcon,
|
|
9303
|
+
export { gt as AccessPoint, bt as Activity, wt as Adjustments, Ot as AdjustmentsHorizontal, Mt as Affiliate, It as Alarm, Bt as AlertCircle, Wt as ApiApp, Qt as AppWindow, Jt as Apps, nn as Archive, sn as ArrowNarrowLeft, dn as AspectRatio, hn as Atom, yn as Atom2, Cn as Award, gf as BLOB, Dn as Barcode, jn as Basket, Fn as Bell, zn as Bluetooth, Un as Book2, wu as Books, qn as Box, Zn as BrandAsana, Iu as BrandStackoverflow, tr as Briefcase, ar as Building, lr as BuildingArch, cu as BuildingWarehouse, _f as CUSTOM, _r as Calculator, xr as Calendar, Tr as CalendarPlus, kr as CalendarStats, Nr as Camera, Lr as CaretDown, Vr as CaretUp, Gr as ChartArea, Yr as ChartBar, $r as ChartBubble, ri as ChartDonut, si as ChartLine, di as ChartPie, hi as ChartRadar, eu as CheckMark, yi as Checkbox, Ci as CheckupList, Xl as CircleMinus, Di as Clipboard, ji as ClipboardCheck, Fi as ClipboardList, zi as ClipboardPlus, Ui as Clock, qi as Cloud, Zi as CloudDownload, ta as CloudUpload, aa as Command, Ou as Confetti, gu as Container, la as Copy, pr as Cpu, pa as CreditCard, _a as Crosshair, xa as CurrencyYen, bu as Dashboard, Ta as Database, ka as DatabaseExport, Na as DatabaseImport, La as DeviceAnalytics, Va as DeviceDesktop, Ga as DeviceDesktopAnalytics, Ya as DeviceLaptop, $a as DeviceMobile, ro as Diamond, so as Dots, fo as DotsVertical, go as Edit, bo as Eraser, wo as Eye, vf as FILE, Oo as File, Mo as FileAlert, Io as FileAnalytics, Bo as FileText, Wo as Filter, hf as GET, Jo as GitCompare, Qo as GitPullRequest, ns as GridDots, os as Home, zu as IconList, us as Id, ms as LayoutSidebarLeftCollapse, vs as LayoutSidebarLeftExpand, Ss as Link, Es as List, As as ListCheck, Ps as ListDetails, Rs as Mail, Hs as Map, Ks as MapPin, fu as Menu2, iu as Message2, Mu as MinusRound, Xs as MoonStars, Q as POST, ec as Paperclip, ic as Photo, cc as PhotoOff, fc as Plus, gc as Presentation, bc as PresentationAnalytics, wc as Printer, Oc as Qrcode, Mc as Refresh, Ic as Report, Bc as ReportAnalytics, Wc as ReportMoney, Jc as ReportSearch, Qc as Search, nl as Settings, ol as SmartHome, ul as Sun, ml as TransferIn, vl as TransferOut, Sl as Trash, El as User, Kl as UserCircle, Al as UserMinus, Pl as UserPlus, Rl as Users, ft as UzActionButton, Gf as UzBack, dm as UzCamera, jp as UzCircle, Wp as UzDraggableForm, zp as UzForm, Fp as UzFormItem, em as UzFormItemImage, im as UzFormItemTimesPicker, Xp as UzFormItemUpload, Ru as UzIcon, qg as UzOcr, bm as UzSearchBar, Em as UzSearchMobileBar, Jm as UzSpin, uh as UzTable, yh as UzTableChild, Mh as UzTableDrawer, Jh as UzTableFile, Hh as UzTableMobile, Th as UzTableQuestChild, rg as UzThumbnail, vg as UzWrap, Hl as X, q as commonStore, l_ as create, hg as darkTheme, u_ as default, Hf as fnActionReduction, Vf as fnActionSimplify, Qh as fnAddThumbnail, mf as fnCancelFetch, eg as fnClearAllThumbnail, $g as fnComputedScale, Bu as fnCreateRouter, sd as fnDelStorage, ld as fnDelStorageAll, cd as fnDelStorageByPrefix, $h as fnDeleteThumbnail, od as fnDialog, J as fnErrorLog, yd as fnFilterByPinyinInitials, fd as fnFormatTime, gd as fnFormatUnits, hd as fnFullScreen, X as fnGetStorage, Lm as fnGetTableData, e_ as fnListenerScale, ad as fnNotification, Um as fnOptionReduction, Hm as fnOptionSimplify, dd as fnPageModel2Naive, Wm as fnPrepareFormData, Gm as fnPrepareTableData, Pf as fnRenderAction, ud as fnScrollTop, Hu as fnSetLang, Qg as fnSetNormalWidthAndHeight, Y as fnSetStorage, Uu as fnSetTheme, Xh as fnSetThumbnail, zm as fnTableReduction, Rm as fnTableSimplify, md as fnThrottle, pd as fnTitle, Vm as fnTriggersReduction, Bm as fnTriggersSimplify, K as i18n, d_ as install, mg as lightTheme, bd as mergeColumns, G as router, Zg as scaleStore, Dm as useDebounceFn, n_ as useLocalStorage, r_ as useQuery, t_ as useThrottleFn };
|